error installing from chrome web store

When clicking on "+add to chrome" button and confirming new extension the following error is shown:
Package is invalid. Details: 'Could not load background script 'backgroundPage/eventPage.js'.'.
OS: Fedora Linux 22
Chrome: Version 43.0.2357.81 (64-bit)
but the same happened on Fedora 21 past week, and Linux Mint on other box ...

can this be caused by 9fe18a4c848600fdb9d62d552108a5d49e221c03 ?
If I unpack Chrome_YouTweak.zip filename is still all lowercase ...


[BUG] Unable to flutter <command>

Before creating a bug report please make check the following

[x] You have read our FAQ
[x] If you have used flutter. Please install correctly, run pub cache repair. Close the terminal and try again.
[ ] If you are on Windows. Make sure you are running the terminal as administrator or with developer permissions.
[x] Run fvm doctor if possible and add the output to the issue.

fvm doctor:
No FVM config found:
/Users/brandontrautmann/src/mobile/flutter
Fvm will run the version in your PATH env: /Users/brandontrautmann/fvm/default/bin/flutter

Configured env paths:
___________________________________________________

Flutter:
/Users/brandontrautmann/fvm/default/bin/flutter

Dart:
/Users/brandontrautmann/fvm/default/bin/dart

FVM_HOME:
not set

Describe the bug
Running flutter <command> e.g flutter pub get fails with the following error:
Downloading Material fonts...                                      727ms
Downloading Material fonts...                                      500ms
Failed to download https://storage.googleapis.com/flutter_infra_release/flutter/fonts/bd151aa3c2f7231344411a01dba4ef61b3cd56b2/fonts.zip. Ensure you have network connectivity and then
try again.
Exception: Expected https://storage.googleapis.com/flutter_infra_release/flutter/fonts/bd151aa3c2f7231344411a01dba4ef61b3cd56b2/fonts.zip to have md5 checksum VF/LGEVR6qaggyU/Ekykeg==,
but was rAJgFN+kv13pjIw42PmKmQ==. This may indicate a problem with your connection to the Flutter backend servers. Please re-try the download after confirming that your network
connection is stable.

To Reproduce

Install fvm 2.2.4 via:

tap "leoafarias/fvm"
brew "fvm"

Attempt to flutter pub get

Expected behavior
flutter pub get should complete normally.
Logs
[  +86 ms] executing: sysctl hw.optional.arm64
[  +18 ms] Exit code 1 from: sysctl hw.optional.arm64
[   +1 ms] sysctl: unknown oid 'hw.optional.arm64'
[   +8 ms] executing: [/Users/brandontrautmann/fvm/versions/2.5.3/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +10 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 18116933e77adc82f80866c928266a5b4f1ed645
[        ] executing: [/Users/brandontrautmann/fvm/versions/2.5.3/] git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645
[  +20 ms] Exit code 0 from: git tag --points-at 18116933e77adc82f80866c928266a5b4f1ed645
[        ] 2.5.3
[  +12 ms] executing: [/Users/brandontrautmann/fvm/versions/2.5.3/] git rev-parse --abbrev-ref --symbolic @{u}
[  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/Users/brandontrautmann/fvm/versions/2.5.3/] git ls-remote --get-url origin
[   +9 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[ +118 ms] executing: [/Users/brandontrautmann/fvm/versions/2.5.3/] git rev-parse --abbrev-ref HEAD
[  +13 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +6 ms] executing: sw_vers -productName
[  +17 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +17 ms] Exit code 0 from: sw_vers -productVersion
[        ] 11.6
[        ] executing: sw_vers -buildVersion
[  +17 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 20G165
[  +67 ms] Downloading Material fonts...
[ +441 ms] Content https://storage.googleapis.com/flutter_infra_release/flutter/fonts/bd151aa3c2f7231344411a01dba4ef61b3cd56b2/fonts.zip md5 hash: VF/LGEVR6qaggyU/Ekykeg==
[ +177 ms] Exception: Expected https://storage.googleapis.com/flutter_infra_release/flutter/fonts/bd151aa3c2f7231344411a01dba4ef61b3cd56b2/fonts.zip to have md5 checksum
VF/LGEVR6qaggyU/Ekykeg==, but was rAJgFN+kv13pjIw42PmKmQ==. This may indicate a problem with your connection to the Flutter backend servers. Please re-try the download after confirming
that your network connection is stable.
[  +14 ms] Downloading Material fonts... (completed in 622ms)
[        ] Downloading Material fonts...
[ +293 ms] Content https://storage.googleapis.com/flutter_infra_release/flutter/fonts/bd151aa3c2f7231344411a01dba4ef61b3cd56b2/fonts.zip md5 hash: VF/LGEVR6qaggyU/Ekykeg==
[ +142 ms] Exception: Expected https://storage.googleapis.com/flutter_infra_release/flutter/fonts/bd151aa3c2f7231344411a01dba4ef61b3cd56b2/fonts.zip to have md5 checksum
VF/LGEVR6qaggyU/Ekykeg==, but was rAJgFN+kv13pjIw42PmKmQ==. This may indicate a problem with your connection to the Flutter backend servers. Please re-try the download after confirming
that your network connection is stable.
[   +1 ms] Downloading Material fonts... (completed in 437ms)
[        ] "flutter get" took 1,107ms.
[  +17 ms] Failed to download https://storage.googleapis.com/flutter_infra_release/flutter/fonts/bd151aa3c2f7231344411a01dba4ef61b3cd56b2/fonts.zip. Ensure you have network connectivity
and then
           try again.
           Exception: Expected https://storage.googleapis.com/flutter_infra_release/flutter/fonts/bd151aa3c2f7231344411a01dba4ef61b3cd56b2/fonts.zip to have md5 checksum
VF/LGEVR6qaggyU/Ekykeg==,
           but was rAJgFN+kv13pjIw42PmKmQ==. This may indicate a problem with your connection to the Flutter backend servers. Please re-try the download after confirming that your
network
           connection is stable.
[   +3 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      ArtifactUpdater._downloadArchive (package:flutter_tools/src/cache.dart:931:11)
           <asynchronous suspension>
           #2      CachedArtifact.update (package:flutter_tools/src/cache.dart:688:5)
           <asynchronous suspension>
           #3      Cache.updateAll (package:flutter_tools/src/cache.dart:557:9)
           <asynchronous suspension>
           #4      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1227:7)
           <asynchronous suspension>
           #5      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1125:27)
           <asynchronous suspension>
           #6      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #7      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #8      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)
           <asynchronous suspension>
           #9      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #10     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
           <asynchronous suspension>
           #11     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #13     main (package:flutter_tools/executable.dart:92:3)
           <asynchronous suspension>

Desktop (please complete the following information):

OS: MacOS 11.6
FVM Version: 2.2.4

Additional context

To attempt to isolate this issue to fvm, I pulled down the latest stable flutter SDK and executed pub get doing ~/path/to/flutter/sdk/bin/flutter pub get on the same project. This completed successfully.
Additionally, I'm able to curl the URL in the error output just fine:

curl -I https://storage.googleapis.com/flutter_infra_release/flutter/fonts/bd151aa3c2f7231344411a01dba4ef61b3cd56b2/fonts.zip                                                            :
HTTP/1.1 200 OK
X-GUploader-UploadID: ADPycdtp_XeV9hDpLGvUkNoRwSnZcaDzteO7qg9M2vyILJY9cdWJseO5R1rABZc8GoBvmMVKCuIDIKGGQzmsyX6lgiY
Expires: Fri, 12 Nov 2021 17:51:02 GMT
Date: Fri, 12 Nov 2021 16:51:02 GMT
Last-Modified: Tue, 16 Mar 2021 10:09:53 GMT
ETag: "545fcb184551eaa6a083253f124ca47a"
x-goog-generation:<PHONE_NUMBER>432810
x-goog-metageneration: 1
x-goog-stored-content-encoding: identity
x-goog-stored-content-length: 2197282
Content-Type: application/octet-stream
x-goog-hash: crc32c=D0+64g==
x-goog-hash: md5=VF/LGEVR6qaggyU/Ekykeg==
x-goog-storage-class: STANDARD
Accept-Ranges: bytes
Content-Length: 2197282
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: Content-Type
Server: UploadServer
Age: 3517
Cache-Control: public, max-age=3600
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"

@btrautmann is this issue happening consistently? I saw another problem but seemed like it was google servers.

@leoafarias yeah it's been happening since yesterday (well that's when I noticed it), and another coworker is experiencing the same after doing the above. We have a setup script that installs fvm and we've asked other teammates not to run it in fear of running into this 🙃

I saw another issue this morning when pulling google data but seems like it was a flutter backend hick up.
Is the problem still happening for you? Fvm just proxies the commands so not sure if it's fvm related.

Yeah, I've been testing this all morning. I just tried moments ago with the same failure. flutter pub get in the standalone SDK completes without issue.

I figured I'd open this just in case something came to your mind, but if you're pretty confident it isn't fvm I have no problem closing this to debug further.

I suggest removing the cached version in fvm and installing it again.
Maybe during the install the error happened and something got corrupted.
Will look out for it though. Thanks.

I've tried completely getting rid of fvm via brew uninstall fvm and reinstalling, as well as installing it via dart pub global activate fvm and both have the same issue. I just now figured I should try doing a flutter create my-app in a different directory in case something about our project was the issue, but that also failed.

@btrautmann what I mentioned was the actual cached version of 2.5.3 cached by fvm and running again.
I will be on the lookout if there are any issues.

the actual cached version of 2.5.3 cached by fvm and running again.
@leoafarias where would that be?

If you installed stable fvm remove stable or if it was 2.5.3 directly just do fvm remove 2.5.3, and install it again with fvm install 2.5.3

🤔 Is this expected?
flutter [main] % fvm remove 2.5.3
Building flutter tool...
2.5.3 is current configured as "global". Do you still would like to remove? Y/n: Y
Removing 2.5.3...
2.5.3 removed.
flutter [main] % fvm install 2.5.3
/Users/brandontrautmann/.pub-cache/bin/fvm: line 8: dart: command not found

🤔 Is this expected?
flutter [main] % fvm remove 2.5.3
Building flutter tool...
2.5.3 is current configured as "global". Do you still would like to remove? Y/n: Y
Removing 2.5.3...
2.5.3 removed.
flutter [main] % fvm install 2.5.3
/Users/brandontrautmann/.pub-cache/bin/fvm: line 8: dart: command not found

No idea what is going on here... this seems very weird, can I take a look at this setup script that you are running to install fvm

I believe this is related to the issue you are seeing here #352
I am curious to see the Dart path configuration also, is that an alias?

FLUTTER_VERSION=2.5.3
COCOAPODS_VERSION=1.10.0

install_flutter() {
  set -e
  # we used to rely on a globally installed dart from homebrew in order to access fvm
  brew uninstall --force dart || true

  append_to_rcfile 'export PATH="$PATH:$HOME/fvm/default/bin"'
  export PATH="$PATH:$HOME/fvm/default/bin"

  # make sure that your shell can find global dart cli commands
  append_to_rcfile 'export PATH="$PATH:$HOME/.pub-cache/bin"'

  fvm install "$FLUTTER_VERSION"
  fvm global "$FLUTTER_VERSION"

  flutter config --enable-macos-desktop

  flutter doctor
  flutter precache --force --ios --android --macos
}

This is the interesting bit ☝

Oh ok.. so that makes sense the warning was correct. The global configured version was the one running the command that is why you had the command not found after.
Not 100% sure what is happening here but looking through your initial error, it did say that there might be an issue with your connection, and I believe was probably more visible because of the precache.
I think that during the initial install something went corrupt because of the connection. So when you were running the global you were having issues.

After chatting with a teammate, we are thinking this is likely related to an internal issue with our certs, and I'm going to close this until we discover otherwise.

@btrautmann how do you run the append_to_rcfile when I run it, it just says command not found: append_to_rcfile for me

@btrautmann how do you run the append_to_rcfile when I run it, it just says command not found: append_to_rcfile for me

Ah, sorry, that's just an internal helper that appends the content to the correct rc (bashrc or zshrc) file if not already present.
We've actually come to the conclusion that there's something going on with the flutter install itself, as installing via Github as detailed here fails for the same people. We've opened https://github.com/flutter/flutter/issues/93739 as a result.


Remove future annotations in Python 3.10

We use
from __future__ import annotations

at several places to allow forward references type annotations.
This behaviour will be the default in Python 3.10, as pointed out in this section :
https://docs.python.org/3/whatsnew/3.7.html#pep-563-postponed-evaluation-of-annotations
so we should remove these imports !

Note: the adoption of PEP 563 has been postponed to Python 3.11


We need to shuffle the humans in alphabetical order in the Participants list

You will hate me for this, but we need to shuffle the humans to make our lives easier and to be closer to our flat structure value

fixed in #48


CheckBox Artifact

Godot version:
v3.2.custom_build.055d7ace5
OS/device including version:
Ubuntu + Android
Issue description:
There is an outter bluish rectangle in my toggle button, when i press it

Steps to reproduce:
A simple checkbox with custom icons-> checked and unchecked only. toggle mode on

if clip content is on, the rectangle goes away

Does it go away if you override the focus style with a StyleBoxEmpty?

It does go away! That looks a bit strange for default focus style btw! thanks!


Fixed links of TOC at the beginning.

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

Thanks for the contribution. I've merged your changes and they should be live soon.


WIP: Strict integer coercing

fixes #31
tasks:

[x] add test that would fail against master
[ ] look into other types (e.g. URI) that would benefit from same treatment

@javierjulio WDYT?

This fixes #31 for @rhys-vdw. Looks good to me! We could do the same for URI as well by just rescuing a URI::InvalidURIError error but we can do that separately.


Error converting private key to Microsoft RSA SChannel Cryptographic Provider

I had set up some renewals on a Windows 2012 R2 machine with a CSR with elliptic curve. Until I found out that this version of Windows does not support elliptic curve that so the certiticates didn't work. So I cancelled the renewals and created new one with RSA.
But it seems that when I do that, an error always occurs converting the private key to Microsoft RSA SChannel Cryptographic Provider. Is this maybe related to the switch from Elliptic Curve to RSA ?
'''
[INFO] Authorize identifier: somedomain.nl
[INFO] Cached authorization result: valid
[INFO] Authorize identifier: www.somedomain.nl
[INFO] Cached authorization result: valid
[INFO] Requesting certificate [IISSite] www.somedomain.nl
[WARN] Error converting private key to Microsoft RSA SChannel Cryptographic Provider, which means it might not be usable for Exchange 2013.
[WARN] Private key conversion error.
[INFO] Store with CertificateStore...
[INFO] Installing certificate in the certificate store
[INFO] Adding certificate [IISSite] www.somedomain.nl 2019/11/30 10:48:03 to store WebHosting
[INFO] Installing with IIS...
[INFO] Updating existing https binding www.somedomain.nl:443
[INFO] Updating existing https binding somedomain.nl:443
[INFO] Committing 2 https binding changes to IIS
[INFO] Scheduled task looks healthy
'''

That might be the case, you can try to delete the cached certificates from %programdata%\win-acme\{uri}\certificates\ and see if that resolves the issue.

The next release improves the certificate cache logic so that changes in CSR (such as key type) immedately take effect.


Use consts::ARCH for reading the architecture of the CPU

Use std::env::consts::ARCH for reading the architecture of the CPU
Remove nix crate dependency

Just one question: on 64 bit ARM CPUs what nix used to return?


Import angular app

This PR begins the process of importing the Angular App with updated NDT test code, addressing the first item in the planned development for issue #92
This PR imports the speed.measurementlab.net Angular app into the directory piecewise_web/app and modifies a few key files necessary to serve this app statically.
Key files modified which should be reviewed in this PR:

.gitignore - adds the ansible hosts file to gitignore
conf/etc/nginx/sites-available/default - adds IP of my testing VM, a route for the Angular app, & standardizes the paths for ssl certificates to match those that were already in use by the Piecewise conf files.
conf/etc/uwsgi/piecewise.ini - adds a directive to serve the Angular app statically
All remaining files in this PR are a direct import of the Angular app files

Outside of formatting or other questions on code structure, a successful test of this PR will be that after following the steps below, an NDT test should run to completion at https://<VM IP>/app/

[ ] Fork the repo, checkout this branch
[ ] Add a hosts file to the repo with the contents: <VM IP> ansible_ssh_user=root
[ ] Set up a VM on Linode or elsewhere running Debian 8 (you can use mine or I can set one up for you)
[ ] Log into the VM as root and run ssh-keygen, then add your public SSH key to the root users' authorized_keys file in /root/.ssh/authorized_keys
[ ] Open the correct ports on your VM (the following were needed for a fresh Linode VM, ymmv):

root@debian:~# iptables -A INPUT -p tcp --dport 22 -j ACCEPT
root@debian:~# iptables -A INPUT -p tcp --dport 80 -j ACCEPT
root@debian:~# iptables -A INPUT -p tcp --dport 443 -j ACCEPT

[ ] Return to your local repo and update the IP address for your VM in /conf/etc/nginx/sites-available/default
[ ] Update the git repo and version (branch) in /system_tasks.yml with the url for your fork
[ ] Edit the file piecewise/piecewise/bigquery.py with a project ID that your google account has access to use. Your google account should also be subscribed to M-Lab Discuss
[ ] Commit your changes to the branch on your fork, then run ansible-playbook -i hosts playbook.yml
[ ] Assuming the above completed with no errors, load the Angular app at https://<VM IP>/app, and click past the security error for self-signed certs. You should see the https://speed.measurementlab.net test replicated exactly, and you should be able to run it successfully.

This change is

LGTM, Chris. The comments @georgiamoon made about parameters/variables are valid, and her comments via our VC to add TODOs to fix this make sense (that this shouldn't hold up the PR).


Get output value

Description of the new feature / enhancement
winget list -e --id $package --source winget  | Get-Member return string is not usefull, I want to get some filed value to do on my  script automatic work
Proposed technical implementation details
return a stronge type, so that can use some methd to get filed value

ok, I’ll subscribe #1753


Always require capabilites which we set on binary

What this PR does / why we need it:
We need to always require capabilities we set on virt-launcher
binary otherwise we encounter failure. The reason is that
process(virt-launcher) is always trying to acquire these
capabilities to effective set once we set the capabilities on binary.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

/cc @AlonaKaplan @maiqueb

/approve

Unit test adjusted.


API question/request for object.generateIdentifier()

I have a question about the API for interacting with unique identifiers.
There’s an object.identifier attribute which is meant to return an identifier only if one has been generated, and there’s an object.generateIdentifier() method that returns the identifier attribute if it already exists or generates and returns a new one.
Part of the design of FontParts seems to be that all objects have a unique identifier, when the reality is of course that they’re only built when requested.
From the perspecitive of a UFO reader/writer it makes sense that getting the attribute identifier shouldn’t create new data if it didn’t already exist, but from a user’s perspective it feels kind of funny to use generateIdentifier() to generate or get an ID. Effectively, this means that it would be a standard practice for a user to only interact with generateIdentifier() and a UFO reader/writer would only interact with identifier.
The name of the method gives the feeling that it’s generating a new replacement ID when one already exists (which it isn’t). Is it too late to make a proposal that generateIdentifier() be renamed to getIdentifier() or getID() to make it more clear what it’s doing in our code?

Nope, I don't think so. Can you make a pull request?
(@typemytype may disagree here, not sure)

I agree the naming of the method is maybe ambiguous :)
But its important to have to difference between the value that is available and the value that can be generated.
object.identfier returns either None or the , this is just the value that is been stored
object.generateIdentfier() generates an  if object.identifier is None otherwise it just returns object.identifier
That difference is important mainly for writing data back to disk, not all objects needs identifier but its been requested all the time by almost all pen fe.
I would not change the behavoir of object.identifier
object.generateIdentfier() can be renamed but keep it as a deprecated method, but the behavoir should be the same

Sounds great. Two questions:
It seems like you guys stay on the verbose side of things with attribute and method naming, so would getIdentifier() be preferred over getID()?
Is there an example for how I could leave generateIdentifier() in there as a deprecated method?

vote for getIdentifier()
and see https://github.com/robofab-developers/fontParts/blob/master/Lib/fontParts/base/deprecated.py for lots of deprecated warnings + keeping the behaviour

My vote is for getIdentifier().

One more question as I'm going through renaming things — I notice that objects already have a _get_identifier() method. Will it be confusing if there's now going to be one called _getIdentifier()?

Yes, I think that might be a bit confusing, though _get_identifer() is private, just for the identifier property. Not sure what the best thing to do here is.

And the deprecrated methods should return something, so existing code will not break...

@typemytype Pull request #86 is updated.

Ok, this has been merged into the dev branch with https://github.com/robofab-developers/fontParts/commit/73fb0110e972cdee59f7e738286014207ed9a7b4

Alright, I see where generateIdentifier comes from —after fixing that merge— it's from the defcon API. Are we alright using get for fontParts and generate for defcon?

pff I would not change it in defcon... I still understand the ambiguity
the old generateIdentifier api reflexed what happens in defcon, and that is maybe nice not to have to many differences between method and api names

leaving this as get, difference between the two is fine. Defcon shouldn't be changed.


Great!  This is what I urgently desire！

Awesome!
Next, study carefully...

Thanks for your interest! :)

Awesome! Next, study carefully...

Hi, bro. Met you again. Do you research in 3D representation/ 3D generative models?

@LaFeuilleMorte
Yes
You can see my progressing on my github.


Failing Unsafe Tests

Bug Description
pytest-ctl-external & external-saas-connectors are both failing CI checks currently.
This doesn't appear to be impacting production at this point but will be nice to get cleared up
Steps to Reproduce

open a PR against main
Add the label to run unsafe ci checks

Expected behavior
The checks to pass
Screenshots

Environment

Version:
OS:
Python Version:
Docker Version:

Additional context
In some cases it may be acceptable to simply remove tests if no longer valid/applicable - use best judgement 👍🏽

@Roger-Ethyca  can we confirm if this is still an issue?


LocalDocumentIndex: Add option to avoid saving text of local docs

The LocalDocumentIndex currently saves a copy of the text of any document added to the index to its index folder. That makes sense for text fetched from the web but not as much for local documents. There maybe times when you want to save a snapshot of the local document to the index but the default should be to reference local documents in-place...

For this, I wanted to confirm if it's the following line that needs to be replaced. If yes, do we just save the entire path to the original file in the index folder?
inside the file "LocalDocumentIndex.ts" line #232 -> vectra/src/LocalDocumentIndex.ts
// Save text file to disk await fs.writeFile(path.join(this.folderPath,${documentId}.txt), text);


Long Mace +3 dont have correct stats

I crafted Long Mace +3, and it dont have +3 to attack and +3 to dmg. Its just have normal Long Mace stats.
Screen below, for comparision Thundering Long Mae have correct stats.

share a save please.

Here is save,1st char have this weapon:
QuickSave_2.zip

fixed in dev. thanks


Update dependency quay.io/keycloak/keycloak to v17

This PR contains the following updates:

Package
Update
Change

quay.io/keycloak/keycloak
major
15.0.2 -> 17.0.0

Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

Close in favor of #119.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 17.x releases. However, if you upgrade to 17.x manually then Renovate will reenable minor and patch updates automatically.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


NNBD migration tool tech preview - blocking

This epic tracks the work that we must do prior to shipping the NNBD preview tool as part of the Null Safety tech preview, and should block shipment of the tech preview.
(For work that we would like to do before the tech preview ships, but shouldn't block it, see #41309).

The NNBD migration tool is now ready for tech preview.


Fix Log4net 2.0.3 dependency

Fixes https://github.com/sdl/dxa-web-application-dotnet/issues/50
Tested with DXA 1.7 (see https://github.com/jhorsman/dxa-web-application-dotnet/tree/feature/remove-log4net-dependency).
Not yet tested with the Application Insights appender.

Tested with the Application Insights appender, it works.

Fixed in DXA 2.2


Ref undefined

Hello there,
Nice library you have here, thank you for your time.
I'm having a problem with the refs not sticking for whatever reason.  when the component tries to obtain the owner document I get this error:
Cannot read property 'ownerDocument' of undefined
This occurs in both the InputRange.js and Slider.js files in the function getDocument.
Basically, the refs key of the passed component instance is an empty object.
Any ideas?
Thanks again

Which version of react are you using?

Apologies, forgot to close this issue, it has mysteriously gone away.
However, I was on ^0.14.7 if you are still curious.
Feel free to close if you like.


chore: remove additional cache in golangci-lint

Signed-off-by: Jason Liu<EMAIL_ADDRESS>Ⅰ. Describe what this PR does
According to https://github.com/golangci/golangci-lint-action#performance, this action has already included a caching step. Additional caching would result some errors occasionally.
Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews

total time consumption won't be affected.

Codecov Report

Merging #192 (55647e4) into main (0072d6b) will increase coverage by 1.90%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #192      +/-   ##
==========================================
+ Coverage   59.05%   60.96%   +1.90%
==========================================
  Files          97       97
  Lines        8793     8791       -2
==========================================
+ Hits         5193     5359     +166
+ Misses       3159     2983     -176
- Partials      441      449       +8

Flag
Coverage Δ

unittests
60.96% <ø> (+1.90%)
:arrow_up:

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

Impacted Files
Coverage Δ

...webhook/pod/mutating/cluster_colocation_profile.go
55.97% <0.00%> (+1.88%)
:arrow_up:

pkg/slo-controller/noderesource/noderesource.go
85.41% <0.00%> (+13.19%)
:arrow_up:

...controller/noderesource/noderesource_controller.go
44.64% <0.00%> (+44.64%)
:arrow_up:

pkg/webhook/pod/mutating/mutating_handler.go
75.00% <0.00%> (+75.00%)
:arrow_up:

...kg/slo-controller/nodemetric/node_event_handler.go
100.00% <0.00%> (+86.48%)
:arrow_up:

pkg/webhook/pod/validating/validating_handler.go
90.00% <0.00%> (+90.00%)
:arrow_up:

...ontroller/noderesource/nodemetric_event_handler.go
90.90% <0.00%> (+90.90%)
:arrow_up:

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 0072d6b...55647e4. Read the comment docs.

/lgtm
/approve


Increment operator breaks DFG

The increment operator breaks the DFG. Take for example the following code:
  1 #include<stdio.h>
  2
  3 int main() {
  4   int a=0;
  5
  6   a++;
  7
  8   printf("%d\n", a);
  9 }

This creates the following DFG

while replacing a++ with a=a+1 creates the right DFG:

I can't replicate this issue.

Indeed, this was only an issue in a branch. Fixed.


not clear what options we can use with event types

[It is not clear what options we can use with type,
there is no support for wild card or option to collect all log types ]

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

ID: feb112cc-e33b-49cb-ed4b-748e8e6c6cd4
Version Independent ID: 2deb1699-2d85-b083-c493-69731de2443d
Content: az monitor app-insights events
Content Source: latest/docs-ref-autogen/ext/application-insights/monitor/app-insights/events.yml
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

add to S172


Feature for ActivityNet

Thank you for sharing the feature of ActivityNet.
The feature of each video in "csv_mean_100.hdf5" is with the dim (100, 400).
May I ask how to get this dimension?
Really thank you!

100 represents the 100 snippets and how to get the 400?

100 represents the 100 snippets and how to get the 400?

400 is the feature dimension. Each snippet is represented by a 400d vector.


Keepalive ticker is not stop correctly

The "tickerCheckStream" ticker is not being stop. It call the Stop on "tickerSendKeepalive" ticker again
https://github.com/aler9/rtsp-simple-server/blob/master/streamer.go#L408

fixed, thanks


PLANNER-2559 Use bootstrap margin, padding, badge and card classes + remove trim()

@rsynek I hope your fine with these changes, they went much further than originally intended on the call center use case. The goal was to standardize the use of bootstrap.
BEFORE

AFTER

The (build) optaplanner-quickstarts check has failed. Please check the logs.


Errors with 2.05

Hi,
tried to install version 2.05 and getting the following errors:
Component error: sonoff - No module named 'Crypto.Util.Padding'
Component error: sonoff - cannot import name 'ConsumptionHelper' from 'custom_components.sonoff.sonoff_cloud' (/home/pi/hass_config/custom_components/sonoff/sonoff_cloud.py)
How to solve.
Regards
Mikael

Duplicate #129

Please show your /developer-tools/info System Health section.

Check v2.0.6


React 16

Updated react and react-dom to 16.0 as per #1
Also added eslint packages since the test script is dependent on them. You should probably add a project-level eslint config.

BTW I noticed that you have react and react-dom installed as dev-dependencies, might want to move them to production dependencies.


feat: enable surface Fedora 41 builds

Enable surface Fedora 41 builds now that linux-surface provides kernels.

Blocked by:

[ ] https://github.com/ublue-os/kernel-cache/pull/30 needing to build surface-kernel image

[ ] https://github.com/ublue-os/akmods needing to build images


Update testregistry.textproto

Updates is to include missing test RT-1.19 for 2-byte and 4-byte ASNs

Pull Request Functional Test Report for #3314 / c22bd342cc807d5c6c0ae6c58e4e16fcb1ee1770
No tests identified for validation.
Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>8
Details

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

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
1983

Relevant Lines:
3573

💛  - Coveralls

/gcbrun


FFImageLoading.Exceptions.DownloadHttpStatusCodeException

Description
So i have android project with RecyclerView displaying images in each item. i use latest nuget package of Xamarin.FFImageLoading.
ImageService.Instance.Config.AllowUpscale = false;
ImageService.Instance.Config.ClearMemoryCacheOnOutOfMemory = true;
ImageService.Instance.Config.FadeAnimationForCachedImages = false;
ImageService.Instance.Config.MaxMemoryCacheSize = 0;
ImageService.Instance.Config.FadeAnimationEnabled = false;

This is how i set config settings. and this is how i load image
ImageService.Instance
                .LoadUrl(imageView.Url)
                .WithCache(FFImageLoading.Cache.CacheType.Disk)
                .CacheKey(imageView.Url)
                .IntoAsync(imageView);

(imageView is my custom view which is inherited from ImageView and it has Url property.)
the problem is that while scrolling RecyclerView slowly it works fine, but on fastscroll it crashes and throws Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) exception. after that it is written that FFImageLoading.Exceptions.DownloadHttpStatusCodeException this exception happened in package. when i remove image initialization it works fine on fast scroll. do you guys have any suggestion?

The same issue for me, the crash appears when using Xamarin Forms listview, and also with native ImageService.Instance.Load.. when using with RecyclerView. Looks like it cancels a download of already scrolled items, and it causes a crash.

I can't figure it out why it is throwing this exception. i have used this package for 5 projects and this is the first one with this problem.

Crash occurred for me when upgraded to XF 4.0, maybe it will help.

Unfortunately i am not using XF :'(

i guess i have to stop production of app then :/ can't fix it with anything :/

Same problem here with my project

@NiccoloZaza
IntoAsync(imageView) should not be used. You should use Into(imageView). Docs clearly state that async version throws all exceptions (VS code hints)

@NiccoloZaza
IntoAsync(imageView) should not be used. You should use Into(imageView). Docs clearly state that async version throws all exceptions (VS code hints)

Hi Daniel,
I've the same problem but I'm actually using MVVMCross and the ImageUrl binding property. The binding with Mvvmcross use IntoAsync or Into for loading images? Because with the simple binding property (I've followed the documentation) I also have this crash

Any updates?

Any updates?

I decided to use Glide. Surprisingly, it is better in every way :)

Also seeing this on latest Xamarin Forms scrolling really fast in any collection view / list view.
We have an api that gets people with imageUrl properties, which are then bound to the ItemTemplate for the collection control.
Some high end devices don't experience the crash, but we get this on emulators + mid-range devices.

Any updates?


Migrate to mac

Purpose of this PR
Add the following features to the Project

Register User
Create bucketlists
Edit bucketlists
Delete bucketlists

Extra
Some work on authentication
To Note
The implementation is without user authentication currently

Changes Unknown when pulling 2db4ce0a12177e38eaf4a0dcf6837026a755bda3 on migrate_to_mac into ** on development**.


Not ready for review - Draft: Editing pass - Phase 1

 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.

I think if the READMEs for the products are generated during a quarto render from dev, I think we can eliminate the chart-doc action on PRs entirely.


fix: destructure "component" argument and pass it as prop

To avoid future bugs, the component parameter should be destructured and explicitly passed as a prop to <FocusHandlerImpl>.
It now works because it is carried by ...domProps, but I don't think that was the intention.
Alternatively, since all props are being destructured later anyway, <FocusHandler> could be changed to:
let FocusHandler = (props) => (
  <FocusContext.Consumer>
    {requestFocus => (
      <FocusHandlerImpl
        {...props}
        requestFocus={requestFocus}
      />
    )}
  </FocusContext.Consumer>
);

that's the intent, what future bugs?

Good point.


How to use styled-components replace with-style

Current at this time, it have not work when I try to use styled-component to style the component
import ...

const styles = {
  root: {
    ...
  }
};

function Component (props) {
  const { classes } = props;
  return (
    <div className={classes.root}>
      ...
    </div>
  );
}

To
import ...

const ComponentContainer = styled.div`
  ...
`

function Component (props) {
  const { classes } = props;
  return (
    <ComponentContainer>
      ...
    </ComponentContainer>
  );
}

@earthIsAPrisonIfYouNotAwareItCanNotOut Have you tried https://material-ui-next.com/guides/interoperability/#styled-components?

Yes, I have tried this and it have no problem. But this example uses styled-component through material-ui component, my case is only use styled-component directly.

Anything help?


color update domains

[Enter feedback here]
can you color update domain in the picture pls

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

ID: 7342d51a-4565-df38-ec28-03c140464e73
Version Independent ID: 78938f56-dc65-055c-a238-015f1de5b900
Content: Availability sets overview - Azure Virtual Machines
Content Source: articles/virtual-machines/availability-set-overview.md
Service: virtual-machines
GitHub Login: @mimckitt
Microsoft Alias: mimckitt

@soloturn
Thanks for your feedback! We will investigate and update as appropriate.

@soloturn
Thanks for your contribution. Please add your feedback in below link, so our production team can review it and update the same.
feedback · Community (azure.com)


NodeJS 10.0 incompatibility?

Expected Behavior
Homebridge should start
Current Behavior
Does not start, reports version incompatibility: "The module 'dns_sd_bindings.node'
was compiled against a different Node.js …"
Steps to Reproduce (for bugs)
Update Node with Brew or similar method.
Versions

Homebridge: 0.4.38 (because homebridge --version throws an error, so I found it with: cat /usr/local/lib/node_modules/homebridge/package.json | grep version
Node:       v10.0.0
OS:         macOS 10.13.4 (17E202)

Configuration
{
    "bridge": {
        "name": "Homebridge",
        "username": "[hidden]",
        "port": 51826,
        "pin": "[hidden]"
    },
    "description": "",
    "accessories": [
    ],
    "platforms": [
        {
            "platform": "BelkinWeMo",
            "name": "WeMo Platform",
            "expected_accessories": "4",
            "timeout": "25",
            "homekit_safe": "1"
        }
    ]
}

Homebridge Log / Command Output
Error: The module '/usr/local/lib/node_modules/homebridge/node_modules/mdns/build/Release/dns_sd_bindings.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 59. This version of Node.js requires
NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:707:18)
    at Module.load (internal/modules/cjs/loader.js:589:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
    at Function.Module._load (internal/modules/cjs/loader.js:520:3)
    at Module.require (internal/modules/cjs/loader.js:626:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/mdns/lib/dns_sd.js:24:20)
    at Module._compile (internal/modules/cjs/loader.js:678:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
    at Module.load (internal/modules/cjs/loader.js:589:32)

Same issue here.

Tried downgrading to a prior version of node via homebrew link/unlink and still hit the issue.

Some of homebridge's dependencies, such as mdns, themselves have dependencies that are incompatible with Node 10. You should be able to revert to Node 9.x and run npm rebuild

I reverted back to:
$ node -v && npm -v
v8.11.1
5.6.0
$ homebridge
/usr/local/lib/node_modules/homebridge/node_modules/mdns/lib/dns_sd.js:35
    throw ex;
    ^

Error: The module '/usr/local/lib/node_modules/homebridge/node_modules/mdns/build/Release/dns_sd_bindings.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 59. This version of Node.js requires
NODE_MODULE_VERSION 57. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
    at Object.Module._extensions..node (module.js:681:18)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/mdns/lib/dns_sd.js:24:20)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)

Homebridge still reports this error, though with still too late a version. I could have sworn I had it running on Node 9 previously.

Did you actually run npm rebuild?

I did that after downgrading with:

$ brew switch node 8.11.1
$ brew link --overwrite node

See gist: https://gist.github.com/NiklasBr/faf3ce4bdd9844bf1387f1dacefaf71c

Has someone Homebridge running with node.js 10?

@palasinio I don't think so, this issue suggests that Node.js version 10 is incompatible with the current version of the MDNS module.

@NiklasBr: Thx for this information.

It looks like the mdns module referenced above has been updated it is seen in the issue niklasBr posted.

I have Homebridge running happily on node 10, I blew it away from node_modules and was able to reinstall.
I had no luck with the rebuild command.
Make sure you are running npm 6.0 or higher.

@rposborne How did you get it to work?
I am running Node 10 and NPM 6, but still no luck after rebuilding: https://gist.github.com/NiklasBr/7af5c09c07f61e7c60a1642b9a37ef52

It looks like your error is more along the lines of running it twice.   Are you loading it with launchtl (it looks like you are running on a mac)
You might need to update the launch ctl script. But that would be surprising.

@NiklasBr it also looks like the issue you ran up against has been fixed.

I'll try to reinstall everything from scratch, anyway, here's the Launchctl info:
$ launchctl list | grep home
2459	1	com.homebridge.server

and
$ cat ~/Library/LaunchAgents/com.homebridge.server.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>RunAtLoad</key>
        <true/>
    <key>KeepAlive</key>
        <true/>
    <key>Label</key>
        <string>com.homebridge.server</string>
    <key>ProgramArguments</key>
        <array>
             <string>/usr/local/bin/homebridge</string>
             <string>-I</string>
        </array>
    <key>StandardOutPath</key>
        <string>/Users/niklas/.homebridge/logfile.log</string>
    <key>StandardErrorPath</key>
        <string>/Users/niklas/.homebridge/logfile.log</string>
    <key>EnvironmentVariables</key>
        <dict>
        <key>PATH</key>
            <string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin</string>
        <key>HOME</key>
            <string>/Users/niklas</string>
        </dict>
</dict>
</plist>

Things to check,  remove older versions of node, just to be sure you are not referencing an unexpected path.  I run brew cleanup pretty often just to clear the cruft but be careful with that command.
Make sure you unload launchctrl  if you are manually starting homebridge. (or change the config.json port)  < I suspect this is the issue from the last error. Seeing your launchctrl is identical as mine.

I blew it all away. Removed Node and NPM and Homebridge (except for the config file) and then re-installed everything and rebooted and now it is back working again with the following versions:
$ node -v && npm -v && homebridge --version
v10.0.0
5.6.0
0.4.42

Then I updated NPM to version 6 and it worked:
$ npm i npm -g
$ killall homebridge
$ node -v && npm -v && homebridge --version
v10.0.0
6.0.0
0.4.42

I'll close this issue now as the incompatibility is resolved. Thank you @rposborne

@NiklasBr Glad I gave you the hope that it could be done :)


Ruby 3.3.6 error: unitialized constant Pagy::Cursor

Starting a new rails app with ruby-3.3.6 and Rails 7.2.2, my Gemfile includes the following gems:
gem "slack-ruby-bot-server-events"
gem "otr-activerecord"
gem "pagy_cursor"

Spinning up the app generates the following error:
/Users/johnhutchinson/.gem/ruby/3.3.6/gems/slack-ruby-bot-server-2.1.1/lib/slack-ruby-bot-server/api/helpers/cursor_helpers.rb:28:in `<module:CursorHelpers>': uninitialized constant Pagy::Cursor (NameError)

          include Pagy::Cursor::Backend
                      ^^^^^^^^
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/slack-ruby-bot-server-2.1.1/lib/slack-ruby-bot-server/api/helpers/cursor_helpers.rb:4:in `<module:Helpers>'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/slack-ruby-bot-server-2.1.1/lib/slack-ruby-bot-server/api/helpers/cursor_helpers.rb:3:in `<module:Api>'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/slack-ruby-bot-server-2.1.1/lib/slack-ruby-bot-server/api/helpers/cursor_helpers.rb:2:in `<module:SlackRubyBotServer>'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/slack-ruby-bot-server-2.1.1/lib/slack-ruby-bot-server/api/helpers/cursor_helpers.rb:1:in `<main>'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/slack-ruby-bot-server-2.1.1/lib/slack-ruby-bot-server/api/helpers.rb:1:in `require_relative'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/slack-ruby-bot-server-2.1.1/lib/slack-ruby-bot-server/api/helpers.rb:1:in `<main>'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/slack-ruby-bot-server-2.1.1/lib/slack-ruby-bot-server/api.rb:6:in `require_relative'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/slack-ruby-bot-server-2.1.1/lib/slack-ruby-bot-server/api.rb:6:in `<main>'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/slack-ruby-bot-server-2.1.1/lib/slack-ruby-bot-server.rb:13:in `require_relative'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/slack-ruby-bot-server-2.1.1/lib/slack-ruby-bot-server.rb:13:in `<main>'
	from /Users/johnhutchinson/.rubies/ruby-3.3.6/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
	from /Users/johnhutchinson/.rubies/ruby-3.3.6/lib/ruby/3.3.0/bundled_gems.rb:69:in `block (2 levels) in replace_require'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/zeitwerk-2.7.1/lib/zeitwerk/core_ext/kernel.rb:34:in `require'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/slack-ruby-bot-server-events-0.3.2/lib/slack-ruby-bot-server-events.rb:3:in `<main>'
	from <internal:/Users/johnhutchinson/.rubies/ruby-3.3.6/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from <internal:/Users/johnhutchinson/.rubies/ruby-3.3.6/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from /Users/johnhutchinson/.rubies/ruby-3.3.6/lib/ruby/3.3.0/bundled_gems.rb:69:in `block (2 levels) in replace_require'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/zeitwerk-2.7.1/lib/zeitwerk/core_ext/kernel.rb:34:in `require'
	from /Users/johnhutchinson/.rubies/ruby-3.3.6/lib/ruby/3.3.0/bundler/runtime.rb:60:in `block (2 levels) in require'
	from /Users/johnhutchinson/.rubies/ruby-3.3.6/lib/ruby/3.3.0/bundler/runtime.rb:55:in `each'
	from /Users/johnhutchinson/.rubies/ruby-3.3.6/lib/ruby/3.3.0/bundler/runtime.rb:55:in `block in require'
	from /Users/johnhutchinson/.rubies/ruby-3.3.6/lib/ruby/3.3.0/bundler/runtime.rb:44:in `each'
	from /Users/johnhutchinson/.rubies/ruby-3.3.6/lib/ruby/3.3.0/bundler/runtime.rb:44:in `require'
	from /Users/johnhutchinson/.rubies/ruby-3.3.6/lib/ruby/3.3.0/bundler.rb:212:in `require'
	from /Users/johnhutchinson/Sites/slouch/config/application.rb:7:in `<main>'
	from /Users/johnhutchinson/.rubies/ruby-3.3.6/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
	from /Users/johnhutchinson/.rubies/ruby-3.3.6/lib/ruby/3.3.0/bundled_gems.rb:69:in `block (2 levels) in replace_require'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/railties-7.2.2/lib/rails/command/actions.rb:15:in `require_application!'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/railties-7.2.2/lib/rails/command/actions.rb:19:in `boot_application!'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/railties-7.2.2/lib/rails/commands/routes/routes_command.rb:25:in `perform'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/thor-1.3.2/lib/thor/command.rb:28:in `run'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/thor-1.3.2/lib/thor/invocation.rb:127:in `invoke_command'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/railties-7.2.2/lib/rails/command/base.rb:178:in `invoke_command'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/railties-7.2.2/lib/rails/commands/routes/routes_command.rb:18:in `invoke_command'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/thor-1.3.2/lib/thor.rb:538:in `dispatch'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/railties-7.2.2/lib/rails/command/base.rb:73:in `perform'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/railties-7.2.2/lib/rails/command.rb:71:in `block in invoke'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/railties-7.2.2/lib/rails/command.rb:149:in `with_argv'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/railties-7.2.2/lib/rails/command.rb:69:in `invoke'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/railties-7.2.2/lib/rails/commands.rb:18:in `<main>'
	from /Users/johnhutchinson/.rubies/ruby-3.3.6/lib/ruby/3.3.0/bundled_gems.rb:69:in `require'
	from /Users/johnhutchinson/.rubies/ruby-3.3.6/lib/ruby/3.3.0/bundled_gems.rb:69:in `block (2 levels) in replace_require'
	from /Users/johnhutchinson/.gem/ruby/3.3.6/gems/bootsnap-1.18.4/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require'
	from bin/rails:4:in `<main>'

I'm not sure if this is the most correct fix, but getting things working in my local environment was as simple as adding require pagy_cursor to /lib/slack-ruby-bot-server.rb
I can submit a PR if you'd like, or let me know if there's some missing config or something stupid I'm doing.
Thanks for all your efforts on this gem!

Profuse apologies, it was only shortly after reporting this that I noticed my app was, for some reason, pulling an older version of the gem.


Team City

I have TeamCity as CI framework and I want run the tests over it, is it possible?
Thanks.

Actually, I am having trouble with this too. The XUnitFormatter seems to create a root node called test-results, which xUnit does not seem to have in any documentation that I can find. Can you tell me which version of xUnit that would match the schema for?
In addition, the formatter also nests cases inside of  nodes, which I cannot seem to find in any xUnit documentation or samples.

Thanks for the link.


Ic 1448/enable pact tests for recording and submitting initial assessment feedback

What does this pull request do?
Required.
What is the intent behind these changes?
Required.

Old PR:
Created new PR with updated changes here: https://github.com/ministryofjustice/hmpps-interventions-ui/pull/844


Where should addAPIProvider be called in SvelteKit?

For the sake of performance, I'd like to host the API on the same server as the application. Downloading and running the API was quite trivial, luckily, but I'm not sure where I should call addAPIProvider.
I'm using SvelteKit with Vite, so my first attempt was the root __layout.svelte like so:
<script lang="ts">
	import "virtual:windi.css";
	import "virtual:windi-devtools";
	import { addAPIProvider } from "@iconify/svelte";

	addAPIProvider("", {
		resources: ["https://localhost:6499"]
	});
</script>

<slot />

But this didn't seem to work, as stopping the server did not hinder the icon retrieval (including icons I had not used before, so it's not just a cache thing either).
My second attempt was through vite.config.js, though I figured this would absolutely not work, seeing as it's just supposed to export a config object:
import { sveltekit } from "@sveltejs/kit/vite";
import WindiCSS from "vite-plugin-windicss";
import { addAPIProvider } from "@iconify/svelte";

addAPIProvider("", {
	resources: ["https://localhost:6499"]
});

/** @type {import('vite').UserConfig} */
const config = {
	plugins: [sveltekit(), WindiCSS()]
};

export default config;

Needless to say, this didn't work either. So, I've come here to ask with some embarrassment where I am supposed to call this function.
Thanks!

It needs to be used at run time, so second option won't work.
First code seems like a good solution. I suspect layout is rendered after rendering components used in it, so probably by the time that code was reached, icons were already loading. Try putting it in <script context="module"> in same file, which might run earlier.

One more thing: for server side rendering I recommend switching to iconify-icon package.
Problem with Svelte and other components is, when used in server side rendering with icons that use unique ids, it might end up messing up unique ids that will fail hydration. See https://docs.iconify.design/iconify-icon/#ssr

Thanks for the quick replies! I did some tests (which was surprisingly difficult due to the cache and having to disconnect my internet just to be 100% sure), and this is the only configuration that consistently works:
In my root __layout.svelte:
<script lang="ts">
	import "virtual:windi.css";
	import "virtual:windi-devtools";
	import "iconify-icon";
</script>

<script context="module">
	import { addAPIProvider } from 'iconify-icon';
	addAPIProvider('', {
		resources: ['http://localhost:6499'],
 	});
</script>

<slot />

For future reference: note the context="module" and empty string in the first argument of addAPIProvider. I can't find any issues with this implementation as of now, so this issue should be fully resolved.
Though I am a bit worried about browser compatibility with web components, but that's beyond the scope of this ticket I assume. SvelteKit has compatibility problems out of the box anyhow (if you still call not supporting Internet Explorer a "problem" nowadays), so perhaps I'll stumble upon some good polyfills once I get to optimising my application for compatibility.
Thanks!

Yes, compatibility might be an issue if you expect to support older versions of IE. Chromium based versions of Edge support it, but older versions don't and polyfills are rather sketchy.
@iconify/svelte works fine with old IE. So choice is either not supporting old IE or possibility of hydration issues.

Thanks for the help and advise!


fix: upgrade api docker image

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


Screen orientation lock implementation for Windows

BUG=XWALK-5002
[windows] App does not support orientation lock
This patch implements Screen orientation lock API for Windows.
Note: On Windows 8 and later, fullscreen is not mandatory to get application
prefered locking - so API works regardless if it is in fullscreen mode or not.

@pozdnyakov , @darktears
Could you please review?
I'm going to prepare also upstream patch later today.
Thanks.

code style issues, need to fix those before review.

lgtm

Let's not integrate it yet. New patch coming. Just verified on Windows7 - SetDisplayAutoRotationPreferences requires runtime symbol resolution from user32.dll as not available on Windows 7.

from irc:
[14:19]  https://github.com/crosswalk-project/chromium-crosswalk/pull/322 and https://github.com/crosswalk-project/crosswalk/pull/3588
[14:23]  astojilj: both are good
 one nit at https://github.com/crosswalk-project/crosswalk/pull/3588
That nit is fixed in in the latest.

Different patchsets for comparison are also available here
https://chromiumcodereview.appspot.com/1758823004/


Crash on runtime

App crashes when adding FlexboxLayout.
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/view/ViewCompat;
at com.google.android.flexbox.FlexboxLayout.onLayout(FlexboxLayout.java:564)

Which version of FlexboxLayout? Also what targetSdkVersion, compileSdkVersion and if you enable the jetifier?
It's great If you have an example project that I can reproduce the issue.

Please reopen the issue, with the update above.

Getting same crashing issue .. what would i do to fix it?

As what @thagikura have said, enabling the jetifier will solve the problem.


feat: Http Client for accessing OpenSauced API client

Description
Integrates using the opensauced api client for doing "bake" operations and sets the president for using the --beta and --endpoint global flags.
Example usage:
❯ pizza bake --beta https://github.com/jpmcb/gopherlogs
Using beta API endpoint - https://beta.api.opensauced.pizza/v1
Resp body:

(note that at the time of this PR, the prod API has not merged change to normalize the requests for the /bake route so only the beta API is working. Use the --beta global flag when testing 😄 )
What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents
Related to https://github.com/open-sauced/api/issues/218
Mobile & Desktop Screenshots/Recordings
N/a
Added tests?

[x] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[ ] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[x] 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

Tomorrow I'll also look at integrating this with the other commands that make calls to the OpenSauced APIs / tools

Force pushed:

resolve conflicts on main
adjusted the repo-query to use an API client (would be good to get @diivi eyes on this)

The flow of this is abit odd since the repo-query doesn't really use the default API endpoint. But, this is nice for someone to be able to set the --endpoint flag to a custom repo-query endpoint to do some testing and validation.


consume all offset msg when kafka start

Codecov Report

Merging #70 (66cbbc7) into main (6295622) will increase coverage by 0.51%.
The diff coverage is 84.61%.

@@            Coverage Diff             @@
##             main      #70      +/-   ##
==========================================
+ Coverage   60.49%   61.00%   +0.51%
==========================================
  Files          12       12
  Lines        1182     1213      +31
==========================================
+ Hits          715      740      +25
- Misses        374      379       +5
- Partials       93       94       +1

Impacted Files
Coverage Δ

pkg/kafsar/offset_manager_impl.go
75.71% <82.60%> (-0.87%)
:arrow_down:

pkg/kafsar/kafka_impl.go
49.29% <100.00%> (+0.71%)
:arrow_up:

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 6295622...66cbbc7. Read the comment docs.


How to use Google maps services like DirectionService with your plugin?

Hey,
Thank you so much for such a great plugin. I was wondering how to integrate other google maps services like DirectionService or DitanceMatrixService with your plugin. A short guide or tutorial will be a lot helpful.
Thank you.

This plugin does not implement Google Maps Web APIs at this time.
Please implement them by yourself.
For HTTP requests, you can use these plugins:
https://github.com/wf9a5m75/phonegap-http-request
https://github.com/wymsee/cordova-HTTP


Windows Defender detects a virus in winp-1.23

Windows 8.1 Pro 64-bit
Windows Defender | About
Antimalware Client Version: <IP_ADDRESS>
Engine Version: 1.1.11701.0
Antivirus definition: 1.199.2816.0
Antispyware definition: 1.199.2816.0
Network Inspection System Engine Version: 2.1.11502.0
Network Inspection System Definition Version: <IP_ADDRESS>

http://windows.microsoft.com/en-us/windows/using-defender#1TC=windows-8
Downloading https://github.com/kohsuke/winp/archive/winp-1.23.zip using Chrome 43.0.2357.124 results in
winp-winp-1.23.zip Anti-virus software detected a virus.
https://codeload.github.com/kohsuke/winp/zip/winp-1.23

Hmm... I'll try to rebuild it on another machine when I have some time

Is it reproducible for you?

Nope

At that point rebuild on another machine didn't also help (sorry for the missing update). I was able to reproduce the issue for the signed image at the PR builder. Maybe some code fits the the virus signatures.


Designer Session in repl

What if one could open a "designer session" inside the repl in ns strigui.core to add widgets from here. One could move those widgets around in a window opened by the session. As soon as the "designer session" is closed/exited, code that can create the exact same scene is returned.
I think this could make building simple guis very easy.

Widgets can now be loaded via edn files. So I just need something to write out widgets that are in the state map in widgets.clj
The designer session could just be an active strigui window with some menus on the side containing widgets that can be dragged and dropped into the main area. When the session closes, parts of the state map could be written to a edn file.
Since widgets can be implemented outside of strigui (custom widgets), the function to start the designer session could be initialized with an optional vector of namespaces/record, so that custom widgets can be shown in the menus.


Website not showing any image

In https://bing-photo-of-the-day.netlify.app/ there is only blank black screen. Can you check it. Thanks

It shows fine for me.

Here is the screenshot. I dont see any console error too.


tsc looses trailing comments in the produced js files

🔎 Search Terms
"missing comments", "missing comments in .js output", "trailing comments"
🕗 Version & Regression Information
Happens in every version available in the playground (3.3.3 to v5.8.0-dev.20241218)
⏯ Playground Link
https://www.typescriptlang.org/play/?ts=5.7.2#code/MYGwhgzhAECC0G8CwAoa7oHpPQNYFN8AHAWggHsAnAF3wBNoJqwbUNoBbfagC3LtgAKAJSI27DMHIA7CiHwA6EOQDmggEQUa9dcIDc49AF9DWHAWJkqtBvml1URoA
💻 Code
class A {
    // keep-sorted start
    methodA() {
        console.log("sorted");
    }
    // keep-sorted end
}

🙁 Actual behavior
// keep-sorted end is missing in the .js output.
🙂 Expected behavior
// keep-sorted end is retained in the .js output.
Additional information about the issue
No response

Related: https://github.com/microsoft/TypeScript/issues/56055#issuecomment-1756309123

FYI 100% comment preservation is not a goal of TS's emitter and you should try not to put yourself in a position where you need all comments in arbitrary positions to be maintained.


Dyed Pocket Computers

I noticed that even though turtles can have different colors, if you dye a pocket computer, it will revert back to its original texture.

Thanks for the report!
I added colored pocket computers in v0.5, which is live on Modrinth and under review on Curseforge!


WorldElevationCache service has display issues

@NatalieCampos I'm seeing elevation differences when loading this image service in ArcGIS Pro.

@Acueva I don't think we want to test this in Pro. Does it work in the Scene Viewer?

I am seeing issues at specific scales in the scene viewer. It appears that the units for the high resolution (lidar) data is incorrect. We need to try and fix this for the release.

I am currently working  on it.@conklinbd

@NatalieCampos Can you post an update on this issue?

The issue seems that the cache itself does not honor the unit conversion raster function.  I am trying to get a confirmatioon from core.  I am currently recooking the cache at the level of the lidar by excluding the the lidar from the mosaic dataset.  When the cache is recooked I will replace the tiles and see if that solves the issue.

@NatalieCampos is working on this issue and will be republishing the service. The service may need to have a new name in order for the cache changes to be recognized. Should be done by the end of the day.

This issue has been fixed.  The fix required a new Cached elevation mosaic to be made and a small cache over the Monterrey Area to be created.  Portal Item maintains the same description as the previous version.

verified as fixed.


use req.originalUrl instead of req.url

(this is a fix to resolve issue #7)
because req.url can be overwritten, e.g. in case of hierarchical
sub-routers in node express. When using sub-routers (delegating routes to
child routers mounted at a specific mount point in the express app), the
sub-router will only receive the "sub-URL" which is the req.originalUrl,
with the mount point of the sub-router stripped off. So, for
cas-authentication redirects to work properly, req.originalUrl has to be
used throughout.

I'm using req.originalUrl instead of req.url in the upcoming version of this package.

Has this been released yet?


Fiks update?

Do we need update? Or is upgrade enough?
Is it really necessary to ever do npm update vs npm-check-updates?
If not, maybe update should be npm-check-updates && npm install and remove upgrade?

Maybe it is a bit redundant to have fiks update and fiks upgrade.
According to my tests and research, these are my notes on npm update vs npm-check-updates:

npm update updates dependencies and installs the ones that are missing, avoiding an extra npm install step.
npm-check-updates simply checks which versions can be updated, requiring an extra npm install step.
Both have an option that updates package.json.
They seem to use a different logic to determine the new version of a package (npm update vs npm-check-updates):

For instance, running both commands on firmalisten-api results in different new versions:

npm update: waveorb ^0.42.4 >> ^0.42.7
npm-check-updates: waveorb ^0.42.4 >> ^0.43.0

What would your thoughts be on the above? I'm also failing to think of a scenario where we would want to update packages and install missing ones without upgrading (this is, updating package.json).

I never use npm update normally, only npm-check-updates, so just go for that I guess.


Adding 1-on-1 voice calling quick start sample

Purpose

...

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

Looks awesome! Thanks @ravithanneeru


true extends false

TypeScript Version:  3.2.0-dev.20181117
EDIT: I just tested with TS 3.2.0-rc and it has this bug

Search Terms: true extends false
Code
I feel like I'm losing my mind here. Or maybe I'm tired because it's 3.34am. Maybe I need to take a break. Am I missing something obvious?
//OK
//Expected: "n"
//Actual: "n"
type no = true extends false ? "y" : "n";

type G<DataT extends { b : boolean }> = (
    true extends DataT["b"]?
    ["Actual", "true extends", DataT["b"]] :
    "Expected"
)

//Wat?
//Expected: "Expected"
//Actual: ["Actual", "true extends", false]
type g = G<{ b : false }>;

Expected behavior:
g to be of type "Expected".
Intuitively,

DataT is of type { b : false }
DataT["b"] is of type false
true extends false should be... false

Actual behavior:
g is of type ["Actual", "true extends", false]
Playground Link: Here

EDIT: I just tested and this is not a problem in TS 3.0.1
I'm not crazy, phew.

This has no problems.
type G<B extends boolean> = (
    true extends B?
    ["Actual", "true extends", B] :
    "Expected"
)

//OK
//Expected: "Expected"
//Actual: "Expected"
type g = G<false>;

I think this is happening because of #27470
In G the constraint of DataT is being pulled down in the access expression DataT["b"]. So it is not that true extends false, rather it is eagerly using the base constraint in DataT so you get true extends boolean. This is not covered by the fix #27490 because "b" is not a generic type. You can see the correct behaviour if you defer the check using a parameter.
type G2<DataT extends { b : boolean }, B extends keyof DataT> = (
    true extends DataT[B]?
    ["Actual", "true extends", DataT[B]] :
    "Expected"
)
// g2: "Expected"
type g2 = G2<{ b: false }, "b">;

or even doing:
type G2<DataT extends { b : boolean }, B extends "b"> = (
    true extends DataT[B]?
    ["Actual", "true extends", DataT[B]] :
    "Expected"
)
// g2: "Expected"
type g2 = G2<{ b: false }, "b">;

Yikes. I hope this is fixed. This breaks a lot of my code that was working in 3.0.1.
Using your workaround would make the type declarations even more verbose and complex =(

This might be related to some problems I found while working on the React types; proving that 'x' extends keyof T is not sufficient to let you index T with 'x'.

Simplified repro with expected outcomes:
type Foo<T extends { b: boolean }> = true extends T["b"] ? "yes" : "no";

type T0 = Foo<{ b: never }>     // "no"
type T1 = Foo<{ b: false }>;    // "no"
type T2 = Foo<{ b: true }>;     // "yes"
type T3 = Foo<{ b: boolean }>;  // "yes"

Currently Foo is eagerly evaluated to "yes" so every outcome is "yes".

Thank you for fixing this so quickly!
I just updated from 3.0.1 to 3.3.0-dev.20181129 and nothing broke!


Consider supporting newer TLS cipher suites

https://github.com/lyft/envoy/blob/master/source/common/ssl/context_config_impl.cc specifies supported cipher suites for Envoy.
The recent Go 1.8 release included support for the CHACHA20_POLY1305 cipher suites.
The following modern cipher suites are recommended by the Mozilla SSL Configuration Generator
ECDHE-ECDSA-AES128-GCM-SHA256
ECDHE-ECDSA-AES128-SHA256
ECDHE-ECDSA-AES256-GCM-SHA384
ECDHE-ECDSA-AES256-SHA384
ECDHE-ECDSA-CHACHA20-POLY1305
ECDHE-RSA-CHACHA20-POLY1305

BoringSSL support all of these ciphers.

Have done some testing and the following ChaCha ciphers result in a  runtime failure
ECDHE-ECDSA-CHACHA20-POLY1305
ECDHE-RSA-CHACHA20-POLY1305

Error
[2017-04-06 09:28:00.296][17553][critical][main] error initializing configuration 'sync-front-envoy.json': Unknown cipher specified in cipher suites ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA:AES128-SHA

In theory BoringSSL supports these ciphers. Will do further testing.

Thanks for bringing this up, @moderation. I'll look into why it doesn't work and update defaults.
@mattklein123 what are you thoughts on keeping OpenSSL support around? I'm asking, because if we're adding CHACHA20-POLY1305, then it would be useful to do that using "equal-preference groups", which allow clients to chose between CHACHA20 & AES-GCM (depending on hardware support for AES-NI, etc.).
However, OpenSSL doesn't support this yet (see: https://github.com/openssl/openssl/issues/541), so it would require another #ifdef for BoringSSL vs OpenSSL, which as far as I recall, you're not the biggest fan of.
Also, feel free to assign this to me.

@PiotrSikora I'm not sure how much people care about openssl. Personally, I feel like if we tell people what SHA of boringssl to use it's probably fine for us to drop openssl support. Let me poll a few people.

@PiotrSikora as part of this, can you also advise on how best to handle TLS 1.3? Should we make it opt in on the context for now?

@PiotrSikora interesting that you mention equal preference groups as I just saw AGL on Twitter mention them. I was going to retest the ChaCha Poly ciphers with BoringSSL master but I can't see why they fail with the current SHA.  My current working config is:
const std::string ContextConfigImpl::DEFAULT_CIPHER_SUITES = "ECDHE-ECDSA-AES256-GCM-SHA384:"
                                                             "ECDHE-ECDSA-AES256-SHA384:"
                                                             "ECDHE-ECDSA-AES128-GCM-SHA256:"
                                                             "ECDHE-ECDSA-AES128-SHA256:"
                                                             "ECDHE-RSA-AES128-GCM-SHA256:"
                                                             "ECDHE-RSA-AES128-SHA256:"
                                                             "ECDHE-RSA-AES128-SHA:"
                                                             "ECDHE-RSA-AES256-GCM-SHA384:"
                                                             "ECDHE-RSA-AES256-SHA384:"
                                                             "ECDHE-RSA-AES256-SHA:"
                                                             "AES256-GCM-SHA384:"
                                                             "AES256-SHA:"
                                                             "AES128-GCM-SHA256:"
                                                             "AES128-SHA256:"
                                                             "AES128-SHA";

See: https://github.com/lyft/envoy/pull/750, https://github.com/lyft/envoy/pull/751 & https://github.com/lyft/envoy/pull/752.
@moderation For some reason, I was unable to cc you on those pull requests.

Looks great @PiotrSikora. Do you think we need to add the additional curves as per my edited comment at the top of this thread?

They are all included in #752.


Not Acceptable mit validator 1.2.0 and example 01.15a-INVOICE_ubl.xml

see also: https://github.com/itplr-kosit/validator/issues/43
After upgrade to validator 1.2.0 and configuration 1.2.2_2019-12-30; I ran all test-documents against the validator again:
For this example
/instances/01.15a-INVOICE_ubl.xml
I get an "Reject" State, but the Fehlerreport has only the expected "Warning" and the "positive" Information:
"Bewertung: Es wird empfohlen das Dokument anzunehmen und weiter zu verarbeiten."
The same with
02.01a-INVOICE_ubl.xml
Do I Miss anything?

we've fixed #43 and will publish this with the next release. Nevertheless we need to fix the xrechnung configuration as well, which should use the acceptMatch option
@renzok would you please fix this?

I upgraded to validator 1.2.1 but I see no fix of the configuration. The Standard 1.2.2 should be provided on 01.07.2020. That is tomorrow.  The actual 01.15a-INVOICE_ubl.xml in master-branch of the testsuite ist still the same than mine, but always the same result "rejected". Has the document format change or is that an issue of the validation? The same with 02_01a-Invoice_ubl-xml.
01.15a-INVOICE_ubl.xml

02.01a-INVOICE_ubl.xml

I fast solution for me could be to use the 1.3.3 validation-tool with the actual configuration 1.2.2 2019-12-30. This would work, till the issue is fixed. Would it be o.k. to combine this versions?

Hi @thomaspz
there is no version 1.3.3. of the validation tool.
Which exact target file do you use? If you used a recent version of 01.15a-INVOICE_ubl.xml (this one) and the xrechnung validator configuration 1.2.2 then you got a reject due to the fact, that the file is xrechnung version 2.0 and the configuration is looking for 1.2. E.g.
 <match>/invoice:Invoice[ starts-with(cbc:CustomizationID,
            'urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_1.2') ]</match>

does not match the file starting with
<?xml version="1.0" encoding="UTF-8"?>
<ubl:Invoice xmlns:ubl="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2"
             xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
             xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="urn:oasis:names:specification:ubl:schema:xsd:Invoice-2 http://docs.oasis-open.org/ubl/os-UBL-2.1/xsd/maindoc/UBL-Invoice-2.1.xsd">
    <cbc:CustomizationID>urn:cen.eu:en16931:2017#compliant#urn:xoev-de:kosit:standard:xrechnung_2.0</cbc:CustomizationID>

You got a reject, since no scenario matches your input!
If you used another file please provide a running sample.

xrechnung-1.2.2-testsuite-2019-12-30 does not have an acceptMatch-configuration as explained in #43.
The tool only evaluates technical validation results like schema an schematron. The configuration report contains business validation logic. Determination whether to accept the file  should be based on business validation. But you should update to the recent xrechnung configuration which contains the acceptMatch-configuration


fix(pure-cell): Typography.Title was replaced with Typography.TitleRe…

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
9521

Relevant Lines:
10418

💛  - Coveralls


AI bypasses CleverGirl

In some situations, the AI will by-pass CG logic and issue a charge command. This causes a lockup as CBTBE has no concept of why this happened or what's happening. CG/CBTBE should capture more of these cases and close this bug.

Example from logs:
2021-12-23T02:59:55 CombatLog.InvocationHandler [LOG] Invoking INVOCATION: ID = P1TDG.134, type = MechChargeInvocation, seed = 95737, netRouted = True, wasNetRouted = False @ Thu Dec 23 2021 10:59:55
2021-12-23T02:59:55  [WARNING] 10:59:55.850  Melee sequence 1018 has no pre-selected attack state, will have to autoselected. Let Frost know as this should not happen!
2021-12-23T02:59:55  [WARNING] 10:59:55.850  Could not select a valid attack for the selected sequence - this should NEVER happen!
2021-12-23T02:59:55 CombatLog.InvocationHandler [DEBUG] [InvocationStackSequenceCreated]
2021-12-23T02:59:55 GameInfo [ERROR] Attempted to set a melee target that we could not path to!
2021-12-23T02:59:55 MessageCenter [ERROR] CRITICAL ERROR, PLEASE REPORT:
Delegate AddStackSequence - Standard for message type AddSequenceToStackMessage failed with exception
Object reference not set to an instance of an object
at (wrapper dynamic-method) BattleTech.Pathing.UpdateMeleePath_Patch2(object,bool)


Api config

Dear TSE,
This is the 2nd Milestone of this project where I have implemented the following features:
-Create a new game with the name  by using the API.
-Implement the "Refresh" button (receiving data from the API and parsing the JSON).
-Add the form "Submit" button (sending data to the API).
-Use async and await JavaScript features to consume the API.

STATUS: APPROVED  ✔

Hi @angelacuahutle ,
Your project is complete! Great job for nailing it right on the first attempt 🥇. There is nothing else to say other than... it's time to merge it 🍾🚢 :shipit: . Congratulations!  🎉💯🌟

Cheers..Happy coding!..and keep soaring higher! 💻 🍷 🚀

As described in the Code reviews limits policy you have 2 more limited reviews per this project. If you think that the code review was not fair, you can request a second opinion using this form.


awesome package

Hi guys,
This package is golden! Just what I have been looking for!
I threw out all my node.js code and have written a single aws lambda in go that takes care of all my AWS API Gateway routes. Combined with the official AWS Go SDK, and you have an api backend that is blazing fast, yet ZERO maintenance ... just WOW!
I would suggest only minor changes to split the package in 2 parts:
I have created an api-package that will handle all incoming requests from the lambda handler, with no dependencies on aws-lambda-go itself, because I want it to be used in a test app on my mac, as well as in the final deployment package. Building the deployment on my mac and then submitting it to AWS is too slow for testing.
I have created the deployment package with aws-lambda-go & my api-package dependencies and forward all lambda handler calls to my api, with the event and context data. That works great (slow build, but that is ok for deployments)
I have created a mac test application with my api-package dependency and route all kinds of test calls to my api with dummy event & context data to quickly test my api.
The problem with this scenario is context.go. I need it in my api-package and mac application without all the other code (that won't compile in a mac environment -> I don't want to install all the needed dependencies that you use in the docker image)
Currently context.go is in:
github.com/eawsy/aws-lambda-go/service/lambda/runtime
If you would put it in:
github.com/eawsy/aws-lambda-go/service/lambda/context
.. then all would be perfect for me, I can add it to my api-package and mac test application without all the other code. The imports need to be updated of course, but that is not breaking I assume.
Hope it make sense?
Thanks!
Gerd
Ps. where do I send the keg of beer?

Hi @Zambiorix
First of all, let me thank you for your issue title "awesome package". It's an awesome title :+1:
I really appreciate your enthusiasm.
We will review the impact of the changes you need, and come back asap to support you in your developments.

I hardly ever use "awesome", because I hear it so often that is has lost it's meaning. But this time it is deserved! Hey, I'll say it again.. awesome package! :-)
Oh and by: my mac, i mean my development machine
I should hide my personal preferences better :-)
I'm also using my own adapted docker image to keep the tmp build files out of my source tree:

FROM golang:latest

ADD . /go/src/bitbucket.org/lambda-compiler

RUN \
  apt-get update \
  && apt-get install -y --no-install-recommends pkg-config python-dev zip \
  && rm -rf /var/lib/apt/lists/* \
  && go install bitbucket.org/lambda-compiler \
  && mv /go/bin/lambda-compiler ~

WORKDIR /tmp/lambda-compiler

ENTRYPOINT ~/lambda-compiler

and have separate build and run steps to speed up the final build process

docker build --rm -t "aws-lambda-go-compiler" .

... and build a deployment package

NAME="aws-lambda-go-compiler"
docker run --rm -a stdin -a stdout -i -t -v "$GOPATH:/go" -v "$PWD:/tmp/lambda-compiler" --name "$NAME" "$NAME"

Cheers
Gerd

@Zambiorix can you please fork the project, commit the changes and show me how refactoring the context package can help you?
I tried to overcome your problem but it seems that context.RemainingTimeInMillis will still be a problem. By working on your fork I can better understand your problem.

Hi @Zambiorix,
First of all, thank you for you awesome support :+1:
But let me ask you, do you use API Gateway with {Proxy+} and aws-lambda-go-net for your project ? If not it worth a try, it enable's you to use standard HTTP web frameworks (ServeMux, Gin, Gorilla, and more).

Hi @fsenart
I have forked your project and made it work in my project with a decoupled context object:
Zambiorix/aws-lambda-go
I solved the context.RemainingTimeInMillis issues by replacing it with a callback. You could also change the concept by not serving the context object itself but an interface. That way future changes are imho easier to implement. Especially if you add functions..
Cheers
Gerd

Hi @lsuss
I am aware of aws-lambda-go-net, but I am trying to avoid as much middleware as possible (especially an extra net server & mux). I currently using proxy+ and aws-lambda-go with my own layer in between.
Thank's for mentioning!!
Cheers
Gerd

@Zambiorix I found that the callback solution for RemainingTimeInMillis is a great idea and then retain it.
But in order to maintain compatibility with AWS Lambda official packages structure and naming (for example (https://github.com/aws/aws-lambda-java-libs) I don't think that it's a good idea to separate the Context into its own package. Its semantic is closely related and embedded into the runtime.
Your issue with testing can be resolved with go build tags and I've made the pull request in this sense. Please try this new solution and see if it can do the job.
The only thing you need when testing is to disable CGO by setting CGO_ENABLED environment variable to 0 (as described in the PR comment).

@Zambiorix I've resolved yesterday problem by using custom tags instead of official tags. Now you have the same benefit but without compromising packages wich still need cgo.
To build your project (in the meantime of merging the PR into the main repo and updating the Docker repo) you need to change the build by appending -tags proxy to the command line.
You can achieve this in two ways. Or you create a custom Docker image and change the entrypoint as follows:
cmd := exec.Command("go", "build", "-buildmode=c-shared", "-ldflags=-w -s", "-tags", "proxy", "-o", so)

or you log into the docker image directly and make your build manually:
docker run --rm -v $GOPATH:/go -v $PWD:/tmp -it --entrypoint bash eawsy/aws-lambda-go
go build -buildmode=c-shared -ldflags='-w -s' -tags proxy -o handler.so
zip handler.zip handler.go

After merging the PR and updating the Docker image there is nothing special todo.

@Zambiorix sorry for your awesome issue title but it has to be more relevant now :smiley:

No worries, despite the title, the package is STILL awesome :-)

@Zambiorix any news? Have you tried the PR? If it's ok for you please make a PR back to this repo, so that I can merge it in master.

@Zambiorix Great job ;) I will announce changes in the Gitter. You may do a docker pull so everything is updated as I refreshed the Docker hub image.

All is working now! Thanks again for such an "awesome" package :-)
Cheers!


UB/Crash in entt::insertion_sort

Currently, insertion_sort::operator() in core/algorithm.hpp is implemented like this:
template<typename It, typename Compare = std::less<>>
void operator()(It first, It last, Compare compare = Compare{}) const {
    auto it = first + 1;

    while(it != last) {
        auto value = *it;
        auto pre = it;

        while(pre != first && compare(value, *(pre-1))) {
            *pre = *(pre-1);
            --pre;
        }

        *pre = value;
        ++it;
    }
}

Notice that first is incremented at the very beginning. This is undefined behaviour if first is the past-the-end-iterator. Therefore, the following example crashes with VC++ 14.16:
#include <entt/core/algorithm.hpp>
#include <vector>

int main()
{
    std::vector<int> v{};
    entt::insertion_sort sort{};

    sort(v.begin(), v.end())
}

This can easily be fixed by comparing first and last at the beginning of the operator()-function (if first is past-the-end, last has to be past-the-end too).

Coverage remained the same at 100.0% when pulling f889679a80fcb8b35587c89fa02ceb92e62758c0 on BenediktConze:master into 530bbbe4c56f9d07e17451d32446e73fbee61d95 on skypjack:master.

Good point.  Do you mind if I modify your commit to follow the coding style of the library?

No, not at all

Ok, thanks. I'll merge it on a separate branch so that I can add a test and squash everything in a single commit.
Thanks for the contribution. Do not forget to star the project if you like it.


feat(rpc): Use default port for HTTP(S) URLs when there is no explicit port

Closes #1902

PR checklist

[x] Tests written/updated
[x] Changelog entry added in .changelog (we use unclog to manage our changelog)
[x] Updated relevant documentation (docs/ or spec/) and code comments

omg this will be such a big quality of life improvement, thank you so much
Literally fight this every single day


Cheap hardware

Hello,
I'm wondering what kind of cheap hardware would support this library. For example, would the Adafruit Pro Trinket, Arduino Pro Mini or Teensy LC work?

It will definitely work with a Pro Mini, see the wiki page for a board layout.
https://github.com/thotro/arduino-dw1000/wiki/Testbed-and-Adapter-board

Thanks!


New tooling etc

THAT'S DOPE

@paulcpederson s3 works now too
http://i422.photobucket.com/albums/pp309/npascare2/breakin.gif


opt version context

current version in the context of sphinx_deployment js.
current version in the context of view list rendered template.

:tada: This issue has been resolved in version 0.0.7 :tada:
The release is available on:

v0.0.7
GitHub release

Your semantic-release bot :package::rocket:


Dataset.from_generator doesn't play nice with feature_column.categorical_column_with_vocabulary_list

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux 4.4.0-98-generic #121~14.04.1-Ubuntu SMP Wed Oct 11 11:54:55 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): ('v1.4.0-rc1-11-g130a514', '1.4.0')
Python version: Python 2.7.6
Bazel version (if compiling from source): -
GCC/Compiler version (if compiling from source): -
CUDA/cuDNN version:  -
GPU model and memory: -
Exact command to reproduce: curl -L -o predict_not_working.py 'https://drive.google.com/uc?authuser=0&id=1KHCNOfJOpEFSLzzJqjtP6oy0EvuLvETE&export=download' && python predict_not_working.py

Describe the problem
I have the same code in two versions, one using Dataset.from_generator and one using Dataset.from_tensor_slices. To me it looks like the created Datasets have the exact same content, but feature_column.categorical_column_with_vocabulary_list doesn't work with the from_generator one, which ought to be a bug, right?
Source code / logs
Sources are in links above.

It looks like the problem stems from feature_column.categorical_column_with_vocabulary_list() requiring a defined rank for its input. By default Dataset.from_generator() does not know anything about the shapes of the tensors that it generates, but you can work around this by passing output_shapes when you create it. The following input function worked for me:
def input_fn():
    def gen():
        for i in range(100000):
            for j in range(10):
                yield {"in": str(j)}, j+1
    data = tf.data.Dataset.from_generator(gen, ({"in": tf.string}, tf.int32),
                                          output_shapes=({"in": []}, []))
    data = data.batch(10)
    iterator = data.make_one_shot_iterator()
    return iterator.get_next()

Ah, good workaround, thanks!

@ispirmustafa could you take a look?


make components essentially progressive (service workers) in anticipation of push messaging

meeting criteria: https://developers.google.com/web/fundamentals/app-install-banners/#criteria

[ ] The web app is not already installed.
and prefer_related_applications is not true.
[ ] Includes a web app manifest that includes:
short_name or name

[ ] icons must include a 192px and a 512px sized icons
[ ] start_url
[ ] display must be one of: fullscreen, standalone, or minimal-ui

[ ] Served over HTTPS (required for service workers)
[ ] Has registered a service worker with a fetch event handler

When these criteria are met, will fire a beforeinstallprompt event that you can use to prompt the user to install your Progressive Web App, and may show a mini-info bar. See Listen for beforeinstallprompt.
Helpers: https://github.com/GoogleChrome/workbox

@ReinsBrain  @pablolimo  @oreyes1991  Parcel is a pain in the ass .... it doesn't have a  good PWA support yet ....i just trying to connect the service worker with the build... the way parcel works with assets make really hard to pre-caches assets in the service worker( since the name  changes all the time... main.21haha122.js). i was able to set up push  notification but i think we should go back with webpack.... think parcel is good for smalls projects like the front-script

found something that can help to continue using parcel....

doesn't work .....  :angry:

have you seen this?
https://github.com/parcel-bundler/parcel/issues/303#issuecomment-352216876

yeah i see othe people having trouble, we should go back to webpack

Closed ... new ticket required to go back to webpack


Tabs + indent_size do not mix well

Out of my control, but a project I just started on has selected to use tabs as their indent style. We have the following in our .editorconfig:
indent_style = tab #using tabs
indent_size = 4 #tabs display in intellij with a width equivalent to 4 spaces

ktlint is failing for us because our lines are indented with 1 single tab where it is expecting 4 characters.
If tabs are set as the indent_style, indent_size should not be considered.

I just found on the README that indent_style from .editorconfig isn't supported. Although it would be helpful to me if it were supported I can't get myself to make that a request since my opinion is that spaces should be preferred.
I will close this.

@jmcdale .editorconfig below makes ktlint ignore indentation completely (allowing tabs)
[*.{kt,kts}]
indent_style=unset

(just in case)


Feature request: receive emails via a mock SES API

I know this is probably reaching a little, but I thought I'd bring it up anyway :)
I found myself trying to use mailpit with an app that sent emails via SES recently and felt sad that that prevented me from using it, and I had to look at inferior tools like https://github.com/askrella/aws-ses-mock

You are right @crdoconnor, it is reaching 😂 I'll explain why... what you're basically asking is for Mailpit to provide an SES-compatible server endpoint. Whilst I'm sure this is technically possible (ie: that other project you mentioned does it), it requires a full implementation and maintenance of that specific functionality in the Mailpit codebase, and integration with authentication etc. This is just for SES, but then what about the other 20 or so popular (similar) services like Mailgun? I would get flooded for requests for x y and z. It gets really complicated very quickly, adds a huge development load on me, increases the Mailpit binary size, and is a nightmare to maintain.
The alternative (and more feasible) option is to build yourself an "SES-to-SMTP proxy", that would be similar to that project, but which then delivers the emails to Mailpit via SMTP.

Yeah, I figured as much :)

Cool :) I'd encourage you to build your own SES-to-SMTP-proxy - I'm sure it's not that difficult as you appear to know python and I'm sure AWS have some python SDKs if needed. From what I could tell (based on the project you linked), it could be as simple as a HTTPD server which accepts a JSON post with some data - and then "forwarding" that email via SMTP.

Yeah, I could and I probably will next time. I think it's probably not quite as good a solution because it's another weighty service (on top of the 6-7 that are already running in parallel) which means those already CPU and RAM hungry tests become even more hungry. It would also be super nice for mailpit to be 100% a one stop shop for all mail testing needs after it's already 90% there.
I understand the desire to maintain the conceptual integrity of mailpit, though, and as you said, if you do SES why not mailgun as well.

I think you'd be surprised just how little overhead a single proxy httpd service uses in terms of resources. I understand your point about wanting Mailpit to do it all, but it's just not feasible to build and maintain such a variety of mail transfer protocols properly. I've also had requests to add POP3 and IMAP support too, but with the same result ultimately. There's no reason a pop service couldn't be integrated with the Mailpit API, and the same applies to IMAP. This way somebody else also gets to invest their time, knowledge and skills too.

And thanks for the sponsorship, I really appreciate it ❤