tarfile: fails to extract con.reg (con.)

A variation of http://bugs.python.org/issue6609 (which is handled in applib) but for tarfile
  File "F:\as\pypm\pypm\external\applib\_compression.py", line 48, in extractall
_with_single_toplevel
    f.extractall()
  File "C:\Python27\Lib\tarfile.py", line 2046, in extractall
    self.extract(tarinfo, path)
  File "C:\Python27\Lib\tarfile.py", line 2083, in extract
    self._extract_member(tarinfo, os.path.join(path, tarinfo.name))
  File "C:\Python27\Lib\tarfile.py", line 2159, in _extract_member
    self.makefile(tarinfo, targetpath)
  File "C:\Python27\Lib\tarfile.py", line 2198, in makefile
    target = bltn_open(targetpath, "wb")
IOError: [Errno 2] No such file or directory: '.\\pyrisk-0.1\\templates\\earth\\
con.reg'

Re-assign or close.


run lint against the correct source folder

To account for scripts folder renaming

Oops. Thanks, much obliged!


Enable convert_text_resources_to_binary in project settings will cause many scenes/resources not to be loaded/display properly in exported game

Godot version
4.0.alpha(d435c51cd)
System information
Windows11, Nvidia RTX 2060, Vulkan
Issue description
Enable convert_text_resources_to_binary in project settings will cause many scenes/resources not to be loaded/display properly in exported game. For example, some fonts, some scenes will not display properly.
Steps to reproduce

Enable convert_text_resources_to_binary in project settings for a project with some Sprites/GUIs etc
Export the game
There is a good chance of noticing obvious resource/graphics errors in the exported game

Minimal reproduction project
No response

Related to https://github.com/godotengine/godot/issues/12452.
@Xwdit Can you reproduce this on 3.4.2?

Fixed by: https://github.com/godotengine/godot/pull/56185 On Reduz's review queue.

与#12452相关。
@Xwdit你能在 3.4.2 上重现这个吗？

Related to #12452.
@Xwdit Can you reproduce this on 3.4.2?

No, everything works fine in 3.4.2

Fixed by #56185.


[Build system] Remove unneeded dependencies

Context: LLVM's opt is no longer a dependency. Python's wheel package is also not a dependency.
Description of the Change: Remove them from the build wheel action.
Benefits: Less time spent on the action.
Note: Test the wheel before merging.

@erick-xanadu not related to this PR, but I found another issue with mlir/Makefile that'd be nice to fix as part of this PR (instead of creating a new one). Could you fix the all target at mlir/Makefile as follows?
 .PHONY: all
-all: llvm mhlo dialects enzyme
+all: llvm mhlo enzyme dialects

I'll approve the PR shortly.


[sdl2] update to 2.26.2

Features samplerate and vulkan are tested successfully in the following triplet:
x86-windows
x64-windows
x64-windows-static
Other features are tested successfully in the following triplet:
x64-linux


replaced random2 internals with std::random

https://github.com/votca/tools/issues/118  and https://github.com/votca/xtp/pull/293
Fix #118

2 questions: why aren’t we naming it “Random” without the “2”.  And why do we need this class at all?

Good questions. a) history, we can rename it, but I was to lazy. We should probably rename it. b) We could also not use it, I guess this gives it an even easier interface.

Then, I would say let's switch xtp to std::random and kill this class with fire.

If we delete the class here I would just move it to xtp, because I need exactly this interface. I do not care it is up to you.

Then, let's leave it here, but rename is to Random.

okay. I ll do that


Not all items are returned by insurance

SPT Version
3.10-BE
Project Type
Server
Expected Result
All items insured before the raid must be returned under insurance. At the moment, this is true for licensed PvE
Actual Result
Only a part of the items is returned, and each time randomly (checked by changing the system time in Windows).
Steps To Reproduce

Enter the raid
To die
To wait for the return of the items according to the starhovka

Server Log
Click and attach file. ↓
BepinEx Log
Click and attach file. ↓
Client Log
Click and attach file. ↓
Player Profile
No response
Screenshots
No response

Originally written by DenisZhmakin

Hi, you closed the issue before i could respond.
I agree there is a difference between live PvE and SPT in regards to insurance items being returned.
This is a deliberate choice by SPT to try and emulate items being taken by other players in a live raid.
I will ensure you have the ability to disable this functionality inside of a config file.

Originally written by chomp

Thanks for the reply. Yesterday I figured out the code of how your insurance works, and therefore I propose a new pull request (https://dev.sp-tarkov.com/SPT/Server/pulls/408) that implements the possibility of enabling insurance as in live pve.

Originally written by DenisZhmakin


Breath of the Wild HiResShadows Fix

fix from info from the megathread on reddit

I don't see any changes.


Update description and tests for step 34 of music player

this commit fixes #53701
Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

@oebelus
It looks like a few of the tests are failing.
Please take a look into this and resolve the issue.
If you need help, then you can reach out to the contributors channel on the forum or discord 👍

It looks like you have opened a duplicate PR here.
https://github.com/freeCodeCamp/freeCodeCamp/pull/53743
I am going to close this one.
But in the future, it is best to push up your changes to only one PR 👍
If you need help, you can always reach out on the forum or contributors channel on discord.


Connection leak?

I have swift and tiller running and make a request to swift every 3 seconds. If I let this run for like 30 minutes, the tiller and swift containers have their memory growing without bounds.
The reason for this seems to be that the number of connections between swift and tiller is continously growing.
Connection count already over 1800 and continously growing:
~ $ netstat | wc -l
1817
~ $ netstat | wc -l
1822
~ $ netstat | wc -l
1826

Excerpt from netstat connections (all target tiller:44134):
tcp        0      0 swift-7559bd6fcd-8qwwg:35734 tiller-deploy.kube-system.svc.cluster.local:44134 ESTABLISHED
tcp        0      0 swift-7559bd6fcd-8qwwg:58532 tiller-deploy.kube-system.svc.cluster.local:44134 ESTABLISHED
tcp        0      0 swift-7559bd6fcd-8qwwg:50310 tiller-deploy.kube-system.svc.cluster.local:44134 ESTABLISHED

I guess the connections are not properly closed?

@Nitrogenycs, can you try the image appscode/swift:close and see if that fixes this connection leak problem. I can cut a patch release, if #68 fixes the issue.

I can confirm that appscode/swift:close actually fixes the bug. There is no increase in memory anymore.
Thanks a lot for fixing this bug so quickly!

@Nitrogenycs , I have published appscode/swift:0.5.1 with this fix. https://github.com/appscode/swift/releases/tag/0.5.1
Please upgrade to that.

@tamalsaha Thank you for making a new release!
The swift chart at https://github.com/kubernetes/charts/tree/master/stable/swift is still at 0.5.0. For now I just used --set swift.tag=0.5.1 to use the new image.
Does one have to open a PR at the kubernetes chart repository every time there is a small change to any of the charts (e.g. just changing the image version)?

@naivenut, I have submitted a new pr to update the stable charts. https://github.com/kubernetes/charts/pull/2872


MAINT: Make formatting consistent

black: Code formatting
isort: Sort imports
Remove trailing spaces and end files with newline

All of this can be done automatically before each commit by
installing pre-commit:
$ pip install pre-commit
$ pre-commit install

This commit is purely about style. It should not have any effect on the code execution.
The changes were done by adding two files (.isort.cfg and .pre-commit-config.yaml) and running
pre-commit run --all-files

The black formatter is supported by the Python Software Foundation (psf). There are two reasons to use such an automatic code formatter:

The code will look familar to anybody who uses a similar formatter.
No more discussions about formatting.


RHEL-08-040126 - Grep command fails matching due to '-w' switch

Describe the Issue
The grep statement that populates register rhel8stig_040126_var_log_status does not match when the /var/log line has 1 trailing space followed by a word.  This is a standard syntax for /etc/fstab.
The grep command in question:
https://github.com/ansible-lockdown/RHEL8-STIG/blob/54f296f2eea55795efe654a5de9bfefc3ebc51a0/tasks/fix-cat2.yml#L6297
The -w switch is utilized on the grep command, so the regex will match when the search string is surrounded by non-word constituent characters.  But since a trailing space is included in the search string, this regex will only match when /var/log is followed by a space then another non-word character.  If there is only 1 space following /var/log, and then a word, this regex will not match.
When the grep statement does not match any lines, the rhel8stig_040126_var_log_status register is unpopulated, and the script does not add the nodev,nosuid,noexec options to the mountpoint.
Expected Behavior
Expected to match outputs of the mount command that contain /var/log, but not /var/log/audit.  Expected to change the /var/log mount options to include nodev,nosuid,noexec.
Actual Behavior
Does not match any lines in our current deployment.  The /var/log line output of mount on a test machine is:
/dev/mapper/VolGroup-lv_log on /var/log type xfs (rw,relatime)
After running the playbook, the options on /var/log are left the same.
Control(s) Affected
RHEL-08-040126, RHEL-08-040127, RHEL-08-040128
Possible Solution
Change grep statement in fix-cat2.yml, line 6297.  Either:

Remove the -w switch.  Change line to just:
ansible.builtin.shell: mount | grep "/var/log "
If desired to handle tabs as well, utilize whitespace matching in regex.  Something like:
ansible.builtin.shell: mount | grep '\s\+/var/log\s\+'

Merged to main
closing Issue
thanks
uk-bolly


2024-06-02 A Smart Maps presentation opportunity in Dhaka

I have given an opportunity to present in a seminar in Dhaka.
I appreciate if you have any suggestions because major part of my presention is about Smart Maps.
Below is my draft presentation, still a work in progress.
2024-06-02_smart_maps_wip.pdf

2024-06-02_smart_maps_wip_1.pdf

This will probably be the final.
2024-06-02_smart_maps.pdf

The presentation is delivered.
I have got a few friends who are kindly requested our community card! I am looking forward to further development. @albertkun @smellman @yuiseki.

I uploaded the deck to  the speakerdeck.
https://speakerdeck.com/hfu/smart-maps-for-the-prosperity-in-the-future

It was rather a formal seminar attended by 100+ government offcials.
A successful presentation. Thanks.


Fix for users unable to view servers when using PostgreSQL.

Hey guys, I've discovered a bug when creating a new user with only See all Servers, See Nodes, See Templates permissions added.
Issue is not present with a user with full admin permissions.
PostgreSQL Error log:
2021-01-09 09:57:07.610 UTC [1230114] pufferpanel@pufferpanel ERROR:  operator does not exist: boolean = integer at character 113
2021-01-09 09:57:07.610 UTC [1230114] pufferpanel@pufferpanel HINT:  No operator matches the given name and argument types. You might need to add explicit type casts.
2021-01-09 09:57:07.610 UTC [1230114] pufferpanel@pufferpanel STATEMENT:  SELECT count(*) FROM "servers" JOIN permissions p ON servers.identifier = p.server_identifier AND p.view_server = 1 JOIN users ON p.user_id = users.id WHERE (users.username = $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.

 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.

We need regression on the following to ensure it's still okay.
[ ] PostgresSQL (your PR handles this)
[ ] MySQL (latest)
[ ] MariaDB (latest)
[ ] Microsoft SQL Server
[ ] Sqlite

We need regression on the following to ensure it's still okay.
[ ] PostgresSQL (your PR handles this)
[ ] MySQL (latest)
[ ] MariaDB (latest)
[ ] Microsoft SQL Server
[ ] Sqlite

Tested on SQLite.
Tested on MySQL
`mysql> SELECT count() FROM servers JOIN permissions p ON servers.identifier = p.server_identifier AND p.view_server = '
1' JOIN users ON p.user_id = users.id WHERE (users.username = 'testuser2');
+----------+
| count() |
+----------+
|        1 |
+----------+
1 row in set (0.00 sec)
mysql> SELECT count() FROM servers JOIN permissions p ON servers.identifier = p.server_identifier AND p.view_server = 1
JOIN users ON p.user_id = users.id WHERE (users.username = 'testuser2');
+----------+
| count() |
+----------+
|        1 |
+----------+
1 row in set (0.00 sec)

Tested on SQLite.
Tested on MySQL
`mysql> SELECT count() FROM servers JOIN permissions p ON servers.identifier = p.server_identifier AND p.view_server = '
1' JOIN users ON p.user_id = users.id WHERE (users.username = 'testuser2');
+----------+
| count() |
+----------+
|        1 |
+----------+
1 row in set (0.00 sec)
mysql> SELECT count() FROM servers JOIN permissions p ON servers.identifier = p.server_identifier AND p.view_server = 1
JOIN users ON p.user_id = users.id WHERE (users.username = 'testuser2');
+----------+
| count() |
+----------+
|        1 |
+----------+
1 row in set (0.00 sec)


Provide gradle task to format sources

Situation
In many code reviews source formatting is mentioned and the eclipse auto formatter  must be applied manually to these files. This is necessary but very cumbersome
Wanted
Per command line there should be one call to format all source codes automatically - with our wanted setup.
Solution

We use a dedicated gradle plugin to format the code - e.g. spotless which can use eclipse formatter setup. see https://plugins.gradle.org/plugin/com.diffplug.spotless - if not suitable, there are others: see
https://plugins.gradle.org/search?term=format

We can use
./gradlew spotlessCheck to verify
but also
./gradlew spotlessApply to automatically format code (currently only Java)

We introduce also prepareGitPush task which dependsOn spotlessApply

Gradle config parts are described at https://github.com/diffplug/spotless/blob/main/plugin-gradle/README.md

Hmm... groovy formatting makes problems. Having always some eclipse :
Step 'eclipse groovy formatter' found problem in 'build.gradle':

WARNING: Formatting ignored a conflicting text edit
java.lang.IllegalArgumentException:
WARNING: Formatting ignored a conflicting text edit
        at com.diffplug.spotless.extra.eclipse.groovy.GrEclipseFormatterStepImpl.format(GrEclipseFormatterStepImpl.java:88)
        at jdk.internal.reflect.GeneratedMethodAccessor595.invoke(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at com.diffplug.spotless.extra.groovy.GrEclipseFormatterStep.lambda$apply$0(GrEclipseFormatterStep.java:57)
        at com.diffplug.spotless.FormatterFunc.apply(FormatterFunc.java:32)
...

Was not able to get rid of it, so decided to just turn off groovy inspection by spotless

Remark: It was necessary to execute spotlessApply in the final commit, otherwise the build would fail because gradle spotless plugin does now always check inside every build that there are no formatting issues...


Yes, can definitely elaborate:

          Yes, can definitely elaborate:

Say I want to use HF Trainer with an arbitrary PyTorch optimizer (AdamW here just as an example). Then I should intuitively extend Trainer like:
class CustomOptimizerTrainer(Trainer):
    @staticmethod
    def get_optimizer_cls_and_kwargs(args: HfTrainingArguments, model=None) -> tuple[type[torch.optim.Optimizer], dict[str, Any]]:
        optimizer = torch.optim.AdamW
        optimizer_kwargs = {
            "lr": 4e-3,
            "betas": (0.9, 0.999),
            "weight_decay": 0.05,
        }
        return optimizer, optimizer_kwargs

However, this won't take effect, because Trainer.create_optimizer hardcodes the Trainer class name when calling get_optimizer_cls_and_kwargs:
https://github.com/huggingface/transformers/blob/6c1d0b069de22d7ed8aa83f733c25045eea0585d/src/transformers/trainer.py#L1076
CustomOptimizerTrainer.get_optimizer_cls_and_kwargs will never be called.
So I could either:

also override the entire create_optimizer and rewrite Trainer.get_optimizer_cls_and_kwargs to self.get_optimizer_cls_and_kwargs (overkill)
or monkey-patch (not ideal):

class CustomOptimizerTrainer(Trainer):
    # def get_optimizer_cls_and_kwargs ...

    def create_optimizer(self):
        trainer_get_optimizer_fn = Trainer.get_optimizer_cls_and_kwargs
        Trainer.get_optimizer_cls_and_kwargs = self.get_optimizer_cls_and_kwargs
        optimizer = super().create_optimizer()
        Trainer.get_optimizer_cls_and_kwargs = trainer_get_optimizer_fn
        return optimizer

But I think the best fix is to change Trainer.get_optimizer_cls_and_kwargs to self.get_optimizer_cls_and_kwargs in the original source of Trainer.create_optimizer.
I also made get_optimizer_cls_and_kwargs an instance method instead of a static method, but that probably doesn't matter as much and can be reverted. It breaks the syntax of the tests.
Please let me know if that's clearer and if you agree! Thanks!
Originally posted by @apoorvkh in https://github.com/huggingface/transformers/issues/31875#issuecomment-2221491647

This is the datasets repository, and the issue should be opened in the transformers repo instead.


C++ port

This is really not an issue but rather an announcement for whom interested. I really didn't know where to put this but here it goes:
Here is a working c++ port for fingerprint.py file. You can run it on mobile OS (iOS, android)
https://github.com/salsowelim/dejavu_cpp_port
Regards,

This is very cool! It has always been on my wish list to port this lib to C++


Update sample org data

What did you expect to happen?
I expect to have sample org data better matching what real orgs might use.
What happened?
Current sample data is mostly placeholder data
Version
Pre-release (Development)
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

To add on Firebase

See latest deployments

How many samples should we shoot for?

We have some sample data now. Need to hook up real data in the future


Allow storage of Language country code in upper case

(Migrated from https://openrdf.atlassian.net/browse/SES-1659)
The LiteralImpl class in Sesame's model currently normalizes all language tags to lower case before passing them on to the rest of Sesame. This is strictly speaking according to the spec, as the RDF Concepts & Abstract syntax recommendation states that language tags should be normalized to lower case.
However, the issue reporter has stated a need for being allowed to store language tags 'as-is', that is, without Sesame normalizing them.

@ansell given the discussion we are currently having at #665: isn't this already currently implemented? Clearly SimpleLiteral itself doesn't normalize.

Yes, this is already implemented, the change was a removal of the explicit lowercasing in SimpleLiteral/LiteralImpl in Sesame-4. Not sure why the Jira ticket wasn't closed with a release version of 4.0.
2.8 behaviour:
https://bitbucket.org/openrdf/sesame/src/aa292b3bee427c1a549b89a099a58d7edbe22d5a/core/model/src/main/java/org/openrdf/model/impl/LiteralImpl.java?at=2.8.x&fileviewer=file-view-default#LiteralImpl.java-112
4.0 behaviour:
https://bitbucket.org/openrdf/sesame/src/dbf38a8928c7f68edde798e6c4d3943be6a4c7b5/core/model/src/main/java/org/openrdf/model/impl/SimpleLiteral.java?at=4.0.x&fileviewer=file-view-default#SimpleLiteral.java-94
Lowercasing is (and has been since Sesame-2.7 I think) still available as a parser setting, BasicParserSettings.NORMALIZE_LANGUAGE_TAGS, which is not set to enabled by default. Its implementation is in the RFC3066LanguageHandler.normalizeLanguage method. If someone wanted the old behaviour they should be able to do it just by switching that parser setting on.


Using TypeScript path aliases raises Code Smell in Sonar Qube

Hi,
In my TypeScript project I am using path aliases to my files as per the below from my tsconfig.json
{ 	... 	"paths" : { 		"@features/*" : "project/features/*" 	} 	... }
SonarQube is reporting the following Code Smell for each time I call an import using the alias
Module @features/ is not listed as dependency in package.json.
Is this the correct behaviour? I wouldn't expect a Code Smell here but rather for SonarQubeTS to be aware of my path aliases?
Many thanks
Stu

Closing issue as logged https://github.com/SonarSource/SonarTS/issues/677 here


Basic user auth with Firebase

This is the frontend code for https://github.com/FIT3170-FY-Project-7/RABIT-BACKEND/pull/4

Is this ready to be reviewed?


Write generic records with variable schema

Hello!
Is it possible to use this client to create a single method for writing to different tables?
I currently have a implementation for that using the legacy write API, with a function that writes data for different BigQuery tables like doing the following:
    const bigquery = require('@google-cloud/bigquery');
    await bigquery
      .dataset(datasetId)
      .table(tableId)
      .insert(data); // data is an array of JSON objects

I want to migrate that to the Storage Write API, as this is recommended in the docs for new projects, but I can't figure out how to work with this kind of write operation using protobuf. We work with a high number of different tables and schemas, which change a lot with time, so that's why we want to have a single method for inserting into different tables
Thanks!

Apologies on the lack of feedback here.  The key difference between the legacy streaming API (aka bigquery tabledata.insertall) and the write API is that the user needs to provide a reference schema.  There's also examples (via the managedwriter wrapper) that demonstrate json-based writing, and converting the table's schema automatically into a reference descriptor.  Given that, a single method is certainly possible but depending on your specific needs it's unclear how much state you may wish to maintain about a destination.
I'm going to close this issue due to its age and relative open-endedness, but if you have a more specific question please open a followup issue with the details.


feat: support absolute path for options that makes sense

resolves #1067
with this implementation,
we should be able to prevent gcl's stateDir from polluting the repo with
export GCL_STATE_DIR=$XDG_STATE_HOME/gitlab-ci-local

Breaking changes

--home now only supports absolute path
.gitlab-ci.local is no longer hard-coded into --home https://github.com/firecow/gitlab-ci-local/pull/1360/files#diff-fb0d62c1e19bd1befd6116026defbd560b8edf9e2cdf3cab5280519cd10c3927R50

@avoidik could you help to test out this changes to see if there's any bug ? in case i missed out something

possible to make a major release soon ?
This mr touches too much file.. don't really want to leave it lying around for too long haha


Uncaught Error: The specified module could not be found./?~\AppData\Local\atom\app-1.26.0\res...

[Enter steps to reproduce:]

...
...

Atom: 1.26.0 x64
Electron: 1.7.11
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught Error: The specified module could not be found.
\?\C:\Users\Administrator\AppData\Local\atom\app-1.26.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
At ELECTRON_ASAR.js:173

Error: The specified module could not be found.
\\?\C:\Users\Administrator\AppData\Local\atom\app-1.26.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
    at Object.Module._extensions..node (module.js:598:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:187:18)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (internal/module.js:20:19)
    at customRequire (~/AppData/Local/atom/app-1.26.0/resources/app/static/<embedded>:96:26)
    at get_KeyboardLayoutManager (~/AppData/Local/atom/app-1.26.0/resources/app/node_modules/keyboard-layout/lib/keyboard-layout.js:7:65)
    at get_manager (~/AppData/Local/atom/app-1.26.0/resources/app/node_modules/keyboard-layout/lib/keyboard-layout.js:16:42)
    at Object.getCurrentKeyboardLayout (~/AppData/Local/atom/app-1.26.0/resources/app/node_modules/keyboard-layout/lib/keyboard-layout.js:32:17)
    at exports.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.26.0/resources/app/node_modules/atom-keymap/lib/helpers.js:201:42)
    at KeymapManager.module.exports.KeymapManager.keystrokeForKeyboardEvent (~/AppData/Local/atom/app-1.26.0/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:467:20)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.26.0/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:347:30)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.26.0/resources/app/src/window-event-handler.js:110:40)

Commands

Non-Core Packages
file-icons 2.1.18
minimap 4.29.8

我可怜的Atom (。>︿<)_θ

I'm assuming that you're launching from a location including the \\? or have a system path set to include that in order to relax the file path length limit. It looks like Node's module resolution system is choking on that path, not anything specifically in Atom. Is it possible for you to remove the \\? from the path to see if this will work?

After deleting and reinstalling Atom the error stopped. I quess there was some sort of update error.

@caoxiemeihao are you getting the error from building atom from source? or you installing the execution file from release? i have a similar problem that i had solved last week is similar and the solution for that is i git clone the project to "/users/(name) /github"
translate:  你这个抛出错误是在安装exe文件出现的还是 源文件script/build 出现的，我之前从git clone之后，安装也出现过类似的问题。我当时的解决办法是直接clone在/users/(用户名) /github里面就解决了。

Thanks for taking the time to contribute!
We noticed that this is a duplicate of #14461. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Mobile device improvements ?

Hi thanks so much for this awesome game!
I’m playing on phone/tablet and it is impossible for me to use the gestures to lock tiles or to mark the walls (occasionally I will accidentally mark the walls but I can never seem to do it on purpose).
Perhaps there is some kind of gesture or double tap or mode or something to help with that?  Also, I think it would be nice to just be able to reset the board to the starting point somehow.

Could you share your device and browser info?
Locking tiles is done by longpress for me. What happens when you do this?
Maybe this is a zoom issue? I use pinch to zoom on my phone to make tiles and edges larger and easier to touch accurately.
As for start over button there's an issue for it #17 . I'll do it soon enough probably.

I’m having the problem on safari on both an iPhone 13 pro xl and on an early iPad Pro.
Pinch to zoom makes it possible for me to touch edges accurately, if I am willing to tolerate a ~50% error rate where instead I accidentally rotate a tile.  Unfortunately this means i must then go fix the misrotated tile, and the hole thing starts to seem more like work than a game.
I have never had long press work successfully on these devices.

Yeah, this doesn't sound fun at all.
I had some ideas about gesture based controls for touch devices. For example, touch and move back and forth along the edge a couple of times to make a wall mark. The same across the edge to make a connection mark. Maybe even a touch and draw an arc for rotating tiles (like a rotary phone).
My main concern is that touch and drag is the normal way to move around the page - especially when zoomed in. And gestures would have to interfere with this which could be the same kind of frustrating.
If you have any ideas about creating a comfortable touch experience for this game then please share them here. I may implement something once I have a better idea of requirements.


.Net Standard 2.0 Azure Function error referencing Microsoft.ApplicationInsights 2.7.2

If you are reporting bug/issue, please provide detailed Repro instructions.
Repro Steps

Create an Azure Function Project in Visual Studio 2017 as v2 (.NET Core) with a Timer Trigger set to occur ever 1 minute instead of 5.
Add the nuget package Microsoft.ApplicationInsights(2.7.2)
Create a new TelemetryClient instance in the Run method such as:
var telemetryClient = new TelemetryClient();
Add the using statement for Microsoft.ApplicationInsights
Press play and see the follow exception displayed in the console.

Actual Behavior
[9/20/2018 3:35:03 PM] Executing 'Function1' (Reason='Timer fired at 2018-09-20T10:35:03.9231283-05:00', Id=f4125c72-582e-436a-8a2e-27607e490005)
[9/20/2018 3:35:04 PM] Executed 'Function1' (Failed, Id=f4125c72-582e-436a-8a2e-27607e490005)
[9/20/2018 3:35:04 PM] System.Private.CoreLib: Exception while executing function: Function1. FunctionApp1: Could not load file or assembly 'Microsoft.ApplicationInsights, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621). System.Private.CoreLib: Could not load file or assembly 'Microsoft.ApplicationInsights, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Expected Behavior
A function would run successfully and a new instance of TelemetryClient could be created.
Version Info
SDK Version : Microsoft.NET.Sdk.Functions (1.0.21)
.NET Version :	.Net	Standard 2.0
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) :
OS : Windows 10
Hosting Info (IIS/Azure WebApps/ etc) : Locally ran Azure Function

@brettsam, @lmolkova are you aware of such issue in AF with AI SDK 2.7.2? Let's investigate in 2.8 milestone to check if it's a regression. If not - I'd suggest fixing in 2.9 milestone.

@ShawnCholeva
You could only use AppInsights 2.5.0 with function v1: https://github.com/Azure/azure-webjobs-sdk/issues/1695. This is by design.
Please consider updating to Function v2.
I'm closing the issue. Feel free to reopen if needed.


Crash after Birkin fight on train platform, Claire B

Version
3.1.7 (06d5680)
Seed
R720-L0L0-WXHH40M5Z9Y0007JZZZZZZZ5ZZZZZZZZZZZZZZZZZXZZZ
Scenario
RE 2 (Claire B)
Player Character
Alexia
What happened?
After the Birkin fight on the train platform, I jumped into the Lab hallway where you can only go through one of two doors. Opening the door crashed the game twice in a row.
Claire B_10_2023-11-11 18^27.42.zip

fixed


Update macro govukAttributes() to support boolean attributes

This PR was split out from https://github.com/alphagov/govuk-frontend/pull/4742 and partially closes https://github.com/alphagov/govuk-frontend/issues/2917
It adds govukAttributes() support for html-validate attribute-boolean-style via new options
{{ govukButton({
  attributes: {
    hidden: {
      type: "boolean",
      value: true
    }
  })
}}

This allows us to render a [hidden] button by default in Password input
Boolean attributes
The Nunjucks attribute loop can't add true/false boolean attributes without them being stringified:
<button hidden="hidden"> ❌
<button hidden="true"> ❌
<button hidden=""> ❌
<button hidden> ✅

See https://github.com/alphagov/govuk-frontend/pull/1665 for previous work on this
No breaking changes
This PR avoids any breaking changes by requiring an "opt in" using options.type only
This preserves values for non-boolean attributes like focusable="false" or aria-hidden="false"
I originally looked into an allow list of attributes like hidden and checked but common boolean data-* attributes such as data-nosnippet etc would not be supported:

  Exclude me from search engine result snippets

After: Attributes with false, null or undefined values are removed entirely

This gives me cause for concern, as there are many legitimate cases where one of these (though, particularly false) is a valid value to pass into an attribute.

Many ARIA attributes work using true/false values to indicate state. Though we usually inject these attributes via JavaScript than have them in our HTML, other people using the macros may be including them straight in their HTML.
The focusable attribute we include on SVGs is normally set to false.
Custom data-* attributes within a service may be both expected to exist and to have a value of false.

I imagine checking for undefined-ness rather than false-ness would cause too many issues with valueless attributes appearing.
Would it be more foolproof for it to check against a list of 'known good' boolean attributes (hidden, checked, etc.) and only coerce those into outputting no value?

@querkmachine Definitely an idea, here's the original comment
It's the always needing to be "type aware" that makes this a breaking change
Great example by the way, two attributes side-by-side but one would need replacing ~true~ → "true"
<svg {{- govukAttribute({
  "data-nosnippet": true
-  "aria-hidden": true
+  "aria-hidden": "true"
})>

Or similar to https://github.com/alphagov/govuk-frontend/issues/2917 we could opt-in to boolean attribute behaviour using configs:
<svg {{- govukAttribute({
- "data-nosnippet": true
+ "data-nosnippet": {
+   type: "boolean",
+   value: true
+ },
  "aria-hidden": true
})>

@colinrotherham Thanks for the context. If this is intending to be a breaking change, is there a workaround for using boolean attributes in the interim? Just not using them within govukAttributes? Repeating attribute name for the value, XHTML style?

@querkmachine We'd be safer making it opt-in (attribute config shown above) especially with your example
Caught up with @romaricpascal today since attribute configs were his idea originally, one for dev catch up and I'll get this PR updated so it's no longer a breaking change
In the meantime, go ahead with hidden="hidden" as it matches our use of disabled="disabled" before https://github.com/alphagov/govuk-frontend/commit/269634b78597bc31edb2e888b0c69811de9d128f. You should be able to use this with govukAttributes() but see b1bb9e81135cc5ff0d35c118d03d7d180c766e8a on ignoring the HTML validation rule

@querkmachine PR updated to avoid breaking changes

Thanks @querkmachine, glad the options idea is a good one
Would be good to handle optional non-boolean attributes too, like these:
{%- if params.maxlength %} data-maxlength="{{ params.maxlength }}"{% endif %}
{%- if params.threshold %} data-threshold="{{ params.threshold }}"{% endif %}
{%- if params.maxwords %} data-maxwords="{{ params.maxwords }}"{% endif %}

Will catch up with @romaricpascal and see if we can close https://github.com/alphagov/govuk-frontend/issues/2917 too

This is neat but I think we're going to struggle to effectively document how it works within the 'macro options' for the components that use it.
I'm wondering if we should add some generic guidance on 'passing attributes to components' with some examples to our 'Use Nunjucks' documentation that we could link to from the 'attributes' macro option rows?
May be able to close #1529 at the same time.

Thanks @36degrees, yeah I've wondered exactly how public to make these new options
Similarly we added support for string attributes in https://github.com/alphagov/govuk-frontend/pull/4742 but we're not using it yet until https://github.com/alphagov/govuk-frontend/pull/4566 or https://github.com/alphagov/govuk-frontend/pull/4442 are merged
Redundant options
Doing some more thinking about @querkmachine's thoughts in https://github.com/alphagov/govuk-frontend/pull/4743#pullrequestreview-1878515743 which says:

It feels like there's a little redundancy in requiring boolean attributes to provide both a type and a value…

How about we trust that true (boolean) and "true" (string) are separate without a type?
We could rename the option to optional: true and handle null, undefined in addition to false?
Before
<div class="govuk-character-count" data-module="govuk-character-count"
  {%- if params.maxlength %} data-maxlength="{{ params.maxlength }}"{% endif %}
  {%- if params.threshold %} data-threshold="{{ params.threshold }}"{% endif %}
  {%- if params.maxwords %} data-maxwords="{{ params.maxwords }}"{% endif %}

After
We can prevent empty maxlength="", maxwords="" etc by setting optional: true for each:
<div class="govuk-character-count" data-module="govuk-character-count"
  {{- govukAttributes({
    maxlength: {
      value: params.maxlength,
      optional: true
    },
    maxwords: {
      value: params.maxwords,
      optional: true
    },
    threshold: {
      value: params.threshold,
      optional: true
    }
  }) -}}

This would solve https://github.com/alphagov/govuk-frontend/issues/2917

For what we're trying to achieve right now, would having only the value be enough? If so, would the following be sufficient to unblock us:

limiting it to only value without type to limit the area for future breaking changes
keeping that API private for now, as it seems the initial need stemmed from internal use and that the existing behaviour of our attributes option is unchanged

Thinking we could have a later cycle to properly tighten the implementation, with proper time to discuss documentation, potential for breaking changes and deprecation. If a cycle feels too large for this, thinking there could be further thoughts to have around the attributes option in terms of how it interacts with the class attribute (and others, like id...) that the component may already set.

How about we trust that true (boolean) and "true" (string) are separate without a type?

I think that would be very fine for the value in that new object to take into account the type if it saves us adding an extra option.

Thanks @romaricpascal

How about we trust that true (boolean) and "true" (string) are separate without a type?

I think that would be very fine for the value in that new object to take into account whether it receives a string or boolean if it saves us adding an extra option.

We'd still need an option like optional: true in https://github.com/alphagov/govuk-frontend/pull/4743#issuecomment-1944019911 to distinguish between:

Attributes like focusable="false" where the false state is still rendered
Attributes like checked where only the true state is rendered, false is removed

I've pushed up again, what do you think?

To me, this makes sense after having it explained a bit. I wonder if it could use some documentation or code comments making each scenario explicit (maybe like above) could help some.

@querkmachine Perfect, thank you
Good thinking, I've pushed up five new examples in cc046ec1c74b31a8852a28eb7667613fdf5343a9


Upgrade to latest ionic4 version, tabs navigation not work

Bug Report
Ionic version:
[x] 4.x
Current behavior:

After I upgrade ionic4 latest version, there is a routing issuse:
when I have more than one page using tabs, and navigate from one tab to another, then clicking on the tab buttons changes the url but does not change the displayed page,  always the default page is displayed .  When I click browser refresh button with the changed url,  the correct page   will be displayed, but clicking tab still as the previous.
Expected behavior:

Should display the page;
Steps to reproduce:

Related code:
const routes: Routes = [
  {
    path: 'tabs',
    component: TabsPage,
    children: [
      {
        path: 'goods',
        children: [{
          path: '',
          loadChildren<EMAIL_ADDRESS>        }]
      },
      {
        path: 'order',
        children: [{
          path: '',
          loadChildren<EMAIL_ADDRESS>        }]
      },
      {
        path: 'mine',
        children: [{
          path: '',
          loadChildren<EMAIL_ADDRESS>        }]
      },
      {
        path: '',
        redirectTo: '/tabs/mine',
        pathMatch: 'full'
      }
    ]
  },
  {
    path: '',
    redirectTo: '/tabs/goods',
    pathMatch: 'full'
  }
];

Ionic info:

Ionic:
   ionic (Ionic CLI)             : 4.12.0 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.1.1
   @angular-devkit/build-angular : 0.13.5
   @angular-devkit/schematics    : 7.2.4
   @angular/cli                  : 7.3.5
   @ionic/angular-toolkit        : 1.4.0
Cordova:
   cordova (Cordova CLI) : 8.1.2<EMAIL_ADDRESS>   Cordova Platforms     : android 7.1.4, ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.2, cordova-plugin-ionic-webview 2.0.3, (and 10 other plugins)
System:
   Android SDK Tools : 26.1.1 (/Users/cundongzhang/Library/Android/sdk)
   ios-deploy        : 1.9.4
   NodeJS            : v8.12.0 (/usr/local/bin/node)
   npm               : 6.4.1
   OS                : macOS Mojave
   Xcode             : Xcode 10.1 Build version 10B61

Hi there,
Thanks for the issue! What version of Ionic were you upgrading from? Additionally, can you provide a repository with the code required to reproduce this issue?
Thanks!

my previous ionic version,  and the repository:
https://gitee.com/yigongli/bkmIonicApp.git
    "@angular/common": "~7.0.3",
    "@angular/core": "~7.0.3",
    "@angular/forms": "~7.0.3",
    "@angular/http": "~7.0.3",
    "@angular/platform-browser": "~7.0.3",
    "@angular/platform-browser-dynamic": "~7.0.3",
    "@angular/router": "~7.0.3",
    "@ionic-native/core": "5.0.0-beta.15",
    "@ionic-native/splash-screen": "5.0.0-beta.15",
    "@ionic-native/status-bar": "5.0.0-beta.15",
    "@ionic/angular": "^4.0.0-beta.16",
    "@ionic/angular-toolkit": "^1.2.0",
    "@ionic/pro": "2.0.3",
    "@ionic/storage": "^2.2.0",

Hi @zcd0000,
Were you upgrading from 4.1.0 to 4.1.1 as well?
4.1.1 was a hotfix to resolve a small issue with some CSS, but that should not have affected these components.
Thanks!

I found this caused by my global.scss file content,  I lost two lines: core.css and display.css in this file.  Previous version maybe don't need these files. After I add them, Tab navigation then works correctly.
@import<EMAIL_ADDRESS>@import<EMAIL_ADDRESS>


duplicate classes can not remove easily with current interfaces

duplicate classes can not remove easily with current interfaces while using vue or svelte plugin.

This issue has been solved by v2.0.0

This issue has been solved by v2.0.0


fix(deps): update module github.com/ibm/platform-services-go-sdk to v0.31.6

This PR contains the following updates:

Package
Type
Update
Change

github.com/IBM/platform-services-go-sdk
require
patch
v0.31.4 -> v0.31.6

Release Notes

IBM/platform-services-go-sdk
v0.31.6
Compare Source
Bug Fixes

IAM Identity: re-gen with latest API definition (#232) (922f9ad)

v0.31.5
Compare Source
Bug Fixes

IAM Policy Management: Add format query parameter to GET by ID (#233) (216a92c)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

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


Migration Guide

Thank you so much for this fork!
I have some trouble migration from the old package.
I couldn't find information about this in the changelog:
I used controller.onReady and controller.nextPage() and controller.previousPage() before but these methods aren't existing anymore.
How would I migrate this? Is there a Migration-Guide somewhere?
Thanks a lot!

Ohhh I think I created the wrong CarouselController....

Yes... Because my old code created a CarouselController() and this code still worked because of the new controller from flutter I didn't realize it. my bad.


Add support for VkLogicOp

MoltenVK currently does not support the VkLogicOp member of the VkPipelineColorBlendStateCreateInfo structure, for the understandable reason that Metal has no equivalent functionality.  However I make extensive use of AND, OR and XOR logical operations in my applications and the loss of this feature would be a very serious problem for me (currently I am using glLogicOp in OpenGL and hoping Apple doesn't drop OpenGL support in MacOS any time soon!).
It has been suggested that a workaround might be possible in MoltenVK by implementing the logical operations in a shader, is this something on the radar?

It would be possible; in fact, it would be really easy... on iOS. That's because you can read the old color value from the framebuffer there. You can't do that on Mac. You'd have to pass a texture containing the old contents of the framebuffer to the shader. And I think that also means you'd have to have two passes for this. I filed a radar asking for real logic op support, which was duped to rdar://34763016, so this is a known problem on Apple's end. Whether or not they're going to address this anytime soon is beyond me.
...Actually, I have a confession to make. I have a patch that implements this right now. There's just one major problem with it: to do this, it reaches deep into Metal's guts to expose functionality that Apple clearly deemed not ready yet. I'm uncertain of its correctness; because it's not public yet, I guessed at the values for the hypothetical MTLLogicOperation enumeration that this would use. I'm also only certain it will have any effect at all on 10.13; I don't know if this would work on any other version. In fact, I'm not even sure that it's even hooked up to anything yet. I can send you that patch if you wish; I don't want to upstream it since it would render any app using MoltenVK ineligible for the App Store.

@cdavis5e I also would be interested in having a try at this patch even if will not be merged.. you say only works on 10.13.. so this not public API has been removed in 10.14?
Thanks..

@cdavis5e
Very impressive! How on earth were you able to guess a potential LogicOp API?
But yes...MoltenVK definitely needs to be App Store friendly...and avoid unofficial API's. We had trouble with the IOSurface issue earlier this year.
However...we could discuss whether and for what purpose a hypothetical MoltenVK build option that allowed undocumented API calls to be included in a build would be useful (MVK_JAIL_BREAK?). It would have to be turned off by default.
The reason I am suggesting this is to avoid having separate MoltenVK forks that exist in order to include those unsupported API's...if such a capability is useful.

Here's the patch.


PowerToys compiled from source doesn't work correctly on Windows 10 N

Microsoft PowerToys version
0.0.1
Running as admin

[ ] Yes

Area(s) with issue?
General
Steps to reproduce
Build PowerToys from source, using the current master, and install it on a clean version running Windows N.
Try using any of the PowerToys or just opening the settings screen. It won't work.
From the Event viewer and the logs on some of the PowerToys, we can observe the following error:
System.BadImageFormatException: Could not load file or assembly 'PowerToysInterop, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'. An attempt was made to load a program with an incorrect format.

This seems to have been caused by the introduction of VCM to master in https://github.com/microsoft/PowerToys/commit/4e23832d527d4fbcd6323e0ebddf6e59cdd6a44d .
My theory is that it added the Media Foundation library (Mf.lib) dependency to PowerToysInterop and that this library is not available in the N editions of Windows 10.
Removing Mf.lib from https://github.com/microsoft/PowerToys/blob/37132c91e65f7e7f5d8e0d62bd81b8e8e2eab8bd/src/common/interop/PowerToysInterop.vcxproj#L58
and commenting this functionality https://github.com/microsoft/PowerToys/blob/37132c91e65f7e7f5d8e0d62bd81b8e8e2eab8bd/src/modules/videoconference/VideoConferenceShared/VideoCaptureDeviceList.cpp#L36-L74
allowed PowerToys to run correctly in my virtual machine running Windows 10 Home N.
✔ Expected Behavior
Should be able to open the settings window, or use any of the PowerToys.
❌ Actual Behavior
Can't open the settings window nor use any of the PowerToys.
From the Event viewer and the logs on some of the PowerToys, we can observe the following error:
System.BadImageFormatException: Could not load file or assembly 'PowerToysInterop, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'. An attempt was made to load a program with an incorrect format.

Other Software
No response

When testing some other PT Run feature on a clean VM install, I had to install the latest c++ redistribution (2019) and it worked, it was throwing some errors on loading the same dll.
https://support.microsoft.com/en-us/topic/the-latest-supported-visual-c-downloads-2647da03-1eea-4433-9aff-95f26a218cc0


Implementing a save file.

The bot accidentally crashed while playing a 2 hour game of Tic Tac Toe? Then if this gets implemented, you will be able to continue playing without losing everything.

should the save file be a binary file? (compact but cannot read) or a text file? (not compact but easily editable)

A text/json file would be nice for easy editing.

someone please check if it works now

Bot properly saves data when running g!ttt save

but does it load correctly?

Seems like it doesn't load correctly.


Can I add the dotted line to the map?

Like in the google map when I change travel mode to walking.

Thank you in advance

Hi @non335 ,
Can not draw "dotted line" because Native Google Maps API has only line-width and color.

Sorry if I'm not understanding, but does that link not imply this should be possible through the Stroke Pattern property?

Oh, Stroke  Pattern is newbie at February 15, 2017,
We can't use these properties yet.
Because Xamarin.Forms 2.3.3.x depends June 27, 2016 released library.
I hope we can use latest Google Maps API in Xamarin.Forms 2.3.4.x.

I can implementing this issue by #239 .
Wait a while.

Any news on this feature request?

Not yet. 🙏

Move to #470


Please cut a new release with the new group name

the 0.6.0 release points to liquidata-inc causing an issue with new projects attempting to use this project:
        github.com/dolthub/go-mysql-server<EMAIL_ADDRESS>parsing go.mod:
        module declares its path as: github.com/liquidata-inc/go-mysql-server
                but was required as: github.com/dolthub/go-mysql-server

Thanks for the heads up! We will do this very shortly.

Sorry about that, we didn't realize the redirects didn't work with new projects :(
New release is here:
https://github.com/dolthub/go-mysql-server/releases/tag/0.7.0

I still get the same error. It still find 0.6.0 instead of 0.7.0

I think the 0.7.0 version is incorrectly tagged, pulling from the commit works @zachmu


[i3] Add an option to only show workspaces of a specific output

What type of PR is this? (check all applicable)

[ ] Refactor
[x] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update
[ ] Other: Replace this with a description of the type of this PR

Description

Add the ability to specify the output for the i3 module. This enables you to create multiple i3 module blocks, one for each output you have so that you can easily see which workspace is on which output without needing a bar on each of them. This adds the option output to the i3 module, which allows you to only show workspaces that are displayed on said output. Example:
[bar/bar1]
separator = |
modules-left = i3-dp1 i3-dp2

[module/i3-dp1]
type = internal/i3
output = DisplayPort-1

[module/i3-dp2]
type = internal/i3
output = DisplayPort-2

Related Issues & Documents

Solves the same problem as #1779, but in a slightly different way. As the other PR was never merged nor declined, maybe this solution gets accepted instead.
Documentation (check all applicable)

[x] This PR requires changes to the Wiki documentation (describe the changes)
[ ] This PR requires changes to the documentation inside the git repo (please add them to the PR).
[ ] Does not require documentation changes

The new option needs to be added to the wiki.

I would love to see this, or a similar feature merged!

Basically that when pin-workspaces = true, we use the output key, otherwise the module behaves as before


fixed errors in javadocs

This patch only changes comments, no coding changes at all. It fixes some (not all) of the errors emitted during javadoc construction.
GearVRF DCO signed off by: Nola Donato<EMAIL_ADDRESS>

Looks good to me


Update Travis configuration to include latest combos

Includes all latest Ruby 2.x series, Rails and Mongoid versions to make sure the gem isn't broken by dependency updates.
Also set Rails 5 as the default Rails in the Gemfile.

Cool, thanks a lot!


Expected '\t', found '\n' in import section with comments

Hi,
When using gci with golangci-lint, gci will report an error if a comment is above a package, like so:
package main

import (
	"fmt"
                               <- gci: Expected '\t', Found '\n' at main.go[line 5,col 1]
	// Foobar
	"net/http"
)

func main() {
	fmt.Println("foobar")
	fmt.Println(http.MethodGet)
}

This issue has been reported on the golangci-lint repo
.golangci.yaml
linters:
  disable-all: true
  enable:
    - gci

Gci version
$ gci -v
gci version 0.3

Use the following to run unit tests.
with-above-comment-and-alias.in.go
package main
import (
	"fmt"

	// golang
	_ "github.com/golang"

 	// Comment here.
	_ "github.com/golang-migrate/migrate/v4/database/spanner"

	// Another comment here.
	_ "github.com/golang-migrate/migrate/v4/source/file"

	"github.com/daixiang0/gci"
)

with-above-comment-and-alias.out.go
package main
import (
	"fmt"

	// golang
	_ "github.com/golang"

	// Comment here.
	_ "github.com/golang-migrate/migrate/v4/database/spanner"

	// Another comment here.
	_ "github.com/golang-migrate/migrate/v4/source/file"

	"github.com/daixiang0/gci"
)

Run TestRun
--- FAIL: TestRun (0.00s)
    --- FAIL: TestRun/internal/testdata/with-above-comment-and-alias (0.00s)
        /gci/pkg/gci/gci_test.go:45:
            	Error Trace:	gci_test.go:45
            	Error:      	Not equal:
            	            	expected: "package main\nimport (\n\t\"fmt\"\n\n\t// golang\n\t_ \"github.com/golang\"\n\n\t// Comment here.\n\t_ \"github.com/golang-migrate/migrate/v4/database/spanner\"\n\n\t// Another comment here.\n\t_ \"github.com/golang-migrate/migrate/v4/source/file\"\n\t\n\t\"github.com/daixiang0/gci\"\n)\n"
            	            	actual  : "package main\nimport (\n\t\"fmt\"\n\n\t// golang\n\t_ \"github.com/golang\"\n\t// Comment here.\n\t_ \"github.com/golang-migrate/migrate/v4/database/spanner\"\n\t// Another comment here.\n\t_ \"github.com/golang-migrate/migrate/v4/source/file\"\n\n\t\"github.com/daixiang0/gci\"\n)\n"

            	            	Diff:
            	            	--- Expected
            	            	+++ Actual
            	            	@@ -6,9 +6,7 @@
            	            	 	_ "github.com/golang"
            	            	-
            	            	 	// Required to initialize migration destination.
            	            	 	_ "github.com/golang-migrate/migrate/v4/database/spanner"
            	            	-
            	            	 	// Required to initialize file migration.
            	            	 	_ "github.com/golang-migrate/migrate/v4/source/file"
            	            	-
            	            	+
            	            	 	"github.com/daixiang0/gci"
            	Test:       	TestRun/internal/testdata/with-above-comment-and-alias
            	Messages:   	output
FAIL
FAIL	github.com/daixiang0/gci/pkg/gci	0.113s
FAIL

Notice the difference
Expected: migrate/v4/source/file\"\n\t\n\t\"github.com/daixiang0/gci\"\n)\n"
Actual:      migrate/v4/source/file\"\n\n\t\"github.com/daixiang0/gci\"\n)\n"

@IDispose The error here is that gci expects your code to be formatted as follows:
package main

import (
	"fmt"

	// golang
	_ "github.com/golang"
	// Comment here.
	_ "github.com/golang-migrate/migrate/v4/database/spanner"
	// Another comment here.
	_ "github.com/golang-migrate/migrate/v4/source/file"

	"github.com/daixiang0/gci"
)

The reason why it does this is configured in the accompanying .cfg.yaml. Configured there is:
sections:
  - Standard
  - Default
  - Prefix(github.com/local)
  - Prefix(github.com/daixiang0)

This means that the imports that you expect to have a newline between them are all grouped into the same category: Prefix(github.com/local).
The reason why there are any whitespaces in the formatted output is that the default separator between imports in a category is a newline. Thus you need to configure gci differently to achieve the desired behavior. At the moment there is no support for having separators between entries of the same category.

I don't know what happened here and whether it was in golangcli-lint or gci, but our code was fine before and now throws cryptic error messages all over the place after updating both and having to switch from local-prefixes to sections, so something broke.

@Airblader now we need to add config in golangci-lint to make GCI works better.

Now output:
pilot/pkg/config/kube/crdclient/cache_handler.go:20: File is not `gci`-ed with --skip-generated -s standard,default,prefix(istio.io/) (gci)

pilot/pkg/config/kube/crdclient/cache_handler.go:25: File is not `gci`-ed with --skip-generated -s standard,default,prefix(istio.io/) (gci)

pilot/pkg/config/kube/crdclient/cache_handler.go:26: File is not `gci`-ed with --skip-generated -s standard,default,prefix(istio.io/) (gci)


How to glue elements together when they hit each other

Hi,
I'm looking for a solution to glue two objects together.
here is what I have got so far, I cheated and put the objects in static after the collision to avoid any physic problems before they stick to each other. But it doesn't work that well...
Another problem I can't solve, why when I add the rectangle to the 'compound' object, suddenly it doesn't collide with the rest of the elements?
 var compound = Body.create({
            parts: [ball1]
        })
        World.add(world, [compound, rect1])
        const Smash1 = setInterval(() => {
            collision = Matter.SAT.collides(ball1, rect1)
            if (collision.collided === true) {
                ball1.isStatic = true
                rect1.isStatic = true
                compound.parts.push(rect1)
                clearInterval(Smash1)
            }
        }, 100)

Thanks ✌
edits --
This is better, but I lost the impact move, I'm open to better suggestions :)
const Smash1 = setInterval(() => {
            collision = Matter.SAT.collides(ball1, rect1)
            if (collision.collided === true) {
                World.remove(engine.world, [rect1, ball1]);
                var compound = Body.create({
                    parts: [ball1, rect1]
                })
                World.add(world, compound)
                clearInterval(Smash1)
            }
        }, 100);

I'm sorry that I don't have an answer for you, but in similar experiments of my own, I've discovered that adding or removing parts to a compound body has a bunch of strange side effects that I haven't been able to debug. I think we may need advice from the maintainer (or a very experienced user) on the correct way to do parenting/unparenting with MatterJS... any advice welcome!

I found this solution, but still I can't know which objects are affected.
console.log(e.pairs) send an empty array...
Events.on(engine, 'collisionStart', e => {   ...   })

It looks like you found out, but you should use collision events instead of checking for collisions manually. Also parts are not considered to be reusable like this, see my response in #784 for how best to do this kind of thing.


Fix isinstance warning check test.

The isinstance warning is raised from an @overload, as a
result its appearance is stateful with respect to the use of
isinstance in a JIT function. This patch pushes the test into
a subprocess to guarantee the state, i.e. has not been used in
the subprocess so the warning will always appear.

Build numba_smoketest_cpu_yaml_112 has started


try again

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

Run '...'
See error

Expected behavior

A clear and concise description of what you expected to happen.

Details (please complete the following information):

Have you tested on the latest Flank snapshot?
Post the output of  flank --version.

Additional context

Add any other context about the problem here.

test

One more time

Here we go

Flank it


How do I get the original function in the dataset

Do you have any plans to expose the original C and C# functions in the dataset?

Hi, we do not plan to release C/C# data due to some license issues.

Thanks for your reply! Is it convenient to share scripts that extract C/C# functions from projects? There have been some unexpected errors in my script.


Refactor satisfiability to independent set reduction

@SciCodePhy I refactored the code a bit, please make sure all the changes are correct.

@SciCodePhy I refactored the code a bit, please make sure all the changes are correct.

@GiggleLiu  I implemented similar things on another branch and implemented the extract_multiple_solutions (not pushed yet), so I will integrate my code into this PR.
Besides, I think it might be better to assign random Bool values to missed literals in the assignment rather than assigning false to all the missed literals.
The "extract_multiple_solutions" will be moved to another PR.

Implemented:

Stable return for evaluate function of IndependentSet problem;
Modify the refactored extract_solution for "SAT => Independent Set" reduction;
Include "extract_multiple_solutions" function for "SAT => Independent Set" reduction;

Next Step:

"extract_multiple_solutions" function will be included for other reductions.


Improve PD connection issue's error log

fix #387

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4dc8769). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master     #388   +/-   ##
=========================================
  Coverage          ?   55.18%
=========================================
  Files             ?      127
  Lines             ?     5811
  Branches          ?      864
=========================================
  Hits              ?     3207
  Misses            ?     2312
  Partials          ?      292

Impacted Files
Coverage Δ

...lient/src/main/java/com/pingcap/tikv/PDClient.java
74.49% <0%> (ø)

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 4dc8769...7f69694. Read the comment docs.

@ilovesoup PTAL


Latest crates.io package dependency graph is broken

Describe the bug
TL;DR the latest published ipfs package on crates.io is broken/unusable.
The latest published ipfs crate on crates.io has aesni in its dependency graph (via a dependency on an old version of libp2p). aesni is a deprecated package, superseded by aes, and the version that libp2p formerly depended on is yanked. So, it's not possible to use the most recently published ipfs crate as a dependency.
To Reproduce

Add ipfs = "0.2.1" as a dependency in Cargo.toml
Run cargo check

Expected behavior
Cargo should be able to fetch the dependency and build it.
Environment (please complete the following information)

Operating system, kernel version where applicable: Pop!_OS 21.10 / 5.15.11-76051511-generic
Rust version:

stable-x86_64-unknown-linux-gnu (default)
rustc 1.57.0 (f1edd0429 2021-11-29)

Thanks for reporting this. I think this is applicable to the #477, so I could get automatic emails on the issue.


Touch drag fix

Dragging to resize the panes now works correctly on touch devices
Also added drag handle to the dictionary pane

Behaviour-wise, this looks great, once the above cache problem stopped.

Started Firefox, which I had used a long time ago (I think).  With this branch, the initial drag doesn't work -- again caching??

Looking into it in FF.

Didn't find anything useful, and a few page refreshes fixed it.  Well, LGTM I think.  :-)

Waiting to see if we get any other feedback in the discord post.

Actually, forget waiting, full speed ahead.  It'll go to beta anyway.

Launched in 3.2.3.


How to use ImageNet pretrain in your code?

Hello, I have achieved very good performance in my dataset using your code. Right now, I want to use ImageNet pretrain model to improve performance more. Could you tell me how can I use it based on your code? I have convert imagenet pretrain model based on caffe model at https://github.com/shicai/DenseNet-Caffe
You can download my convert pretrain model at https://drive.google.com/open?id=1nby_ZC7ELkqaVaipPc8eKrzoHb05BGx4

Hi there,
Since this implementation is a standalone implementation. The architecture is different from the literature, for example there's only 54 conv. layer instead of the 121 from the original paper.
So, there's no perfect way to convert a pre-trained model to this implementation.
However, I recommend you to star or fork another architecture of mine named nasnet-tensorflow .
Nasnet is the best architecture so far from my personal view, and thanks to google, their's pre-trained model from imagenet, I well documented that repo. and you can find much more easier to use than densenet.
I will no longer maintain this repo., so good luck~
Yours Yeephycho


Update README.md

Hi key generator problem??
31 Eki 2018 Çar 04:55 tarihinde NamakuRio<EMAIL_ADDRESS>şunu
yazdı:

You can view, comment on, or merge this pull request online at:
https://github.com/bachors/Insta-Downloader/pull/10
Commit Summary

Update README.md

File Changes

M README.md
https://github.com/bachors/Insta-Downloader/pull/10/files#diff-0 (2)

Patch Links:

https://github.com/bachors/Insta-Downloader/pull/10.patch
https://github.com/bachors/Insta-Downloader/pull/10.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/bachors/Insta-Downloader/pull/10, or mute the thread
https://github.com/notifications/unsubscribe-auth/Al6DgJcNoiorO8w4pmbU5_145Y-l3g-3ks5uqRE7gaJpZM4YDQFw
.


[ISSUE #981]🔥Optimize client clusting consume⚡

Which Issue(s) This PR Fixes(Closes)

Fixes #981
Brief Description

How Did You Test This Change?

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥


File -> New

Is your feature request related to a problem? Please describe.
There seems to be no in-app method of starting a new file. You have to close the app, then open it again. Not a big problem, but slightly irritating.
Describe the solution you'd like
Having a 'New' option under the 'File' menu would be the ideal solution. Clicking it would have the same effects as closing/reopening the app (including the 'Discard unsaved changes?' dialogue, when there are any).

I guess this shows that I’m too focused on the code and don’t do enough testing :) It’s such a basic feature I should’ve implemented that before. Thanks for the input!

This was fixed in 7b4745537cc9014ff6ba5bbd91d5940274fab419.
Thank you again for raising this issue!


added profile-card to projects

files missing

awesome , please delete extra demo folder

Deleted and ready to merge

awesome

Deleted and ready to merge


AutoRest.Sql issue link needs to be updated

When there's an error generating a project using autorest, the issue link is to the csharp repo, not the sql one.

closing as this has been deprioritized


Flapping wings. Add vertical impulse when flapping arms

This PR adds a new option to the movement_glide script. It adds a vertical impulse when flapping your arms. The impulse is relative to the downwards velocity of the controllers.
It has a boolean 'wings_impulse' to activate the feature (default is set to false)
It also has an exported 'wings_force' variable to multiply the vertical impulse.
Also added some floating rings to the glide scene to play fly through them.

I REALLY like it - it's definitely lots of fun, if not tiring on the arms - and I made a game last year where you could turn into a bird, but I only had the gliding ;)
I think you need to add a "flapped" signal which you fire when you detect the player flap their arms - a game would want to subscribe to it and play a bird-flap sound to go along with the arm movements. To do that without glitching, you'd need to improve the flap detection - possibly reporting when both hands are moving down quickly (greater than 0.3 m/s) and then require both hands to go up before re-arming.

ok, thats a good idea. I'll try.
Maybe i can activate the wings only when both controllers are above the head.
One question, where do i find the gdlint specification for this repo? Do you know if there is an eslint plugin for gdscript in visual studio?

The gdlint project is at https://github.com/Scony/godot-gdscript-toolkit and has the installation and running instructions.
It enforces the coding style from https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_styleguide.html
You can also see the issues list in this pull request page, although it's obviously better to fix them before pushing.

i have the logic working :)
need to check the lint stuff. Will do it in the next days.
Also, can update the docs for the glide movement in this same PR if you prefer.

@surreal6 docs are in a separate branch so it'll have to be a separate PR.

I need to do some additional checks on this. Originally glide only fired when you were "falling", so for example a jump-pad would throw you into the air, but you couldn't glide until you reached the maximum height and started falling back down.
You removed the falling check (because flapping involves moving the player up), however we may want to restore that condition if flapping is disabled.
I may need to add a jump-pad or two to the gliding demo scene to verify functionality. Also the gliding demo should probably prevent the player from flying too far (disable flapping if the player is above the top of the cliffs) otherwise the player will be able to fly/glide off the edge of the world.

Check it and tell me!
Please note I didn't remove the falling check, but split it in two different checks:
if player_body.on_ground:
		_set_gliding(false)
		return
var wings_impulse_velocity := 0.0

if wings_impulse:
		** here i calculate the wings impulse
		** and after that:

if vertical_velocity >= glide_min_fall_speed && wings_impulse_velocity == 0.0:
		_set_gliding(false)
		return

With this, if you jump and make a strong flap at the same time, you can take off, but if you are not flapping, it works the same as before (as i understand, maybe i'm wrong)
To put a limit to the flying altitude is a good idea.

There still might be some future enhancements that can be added - for example supporting roll-turning while flapping - currently the moment the player flaps, the player starts moving up and so the roll-turning shuts off.


How can i stop this?

What is your question?
How can i stop the feedback popping up when i hit a note (canceling the tween so it appears statically)

uhm

What kind of feedback is popping up?

You don't know?
Em qui, 20 de out de 2022 18:00, CopyDogOFC @.***>
escreveu:

uhm
—
Reply to this email directly, view it on GitHub
https://github.com/ShadowMario/FNF-PsychEngine/issues/10920#issuecomment-1286143935,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYFVJYBESVIWCW7F3E5N5VDWEGXFDANCNFSM6AAAAAARKQM7YY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hide the hardcoded ones and make them yourself

What kind of feedback is popping up?
Sick but with a different graphic

Ok but can you send the code for it?

No

Why not
Em qui, 20 de out de 2022 18:59, frantastic24 @.***>
escreveu:

Ok but can you send the code for it?
No
—
Reply to this email directly, view it on GitHub
https://github.com/ShadowMario/FNF-PsychEngine/issues/10920#issuecomment-1286204346,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYFVJYEX5LMTE7TRXZNEHDTWEG6FJANCNFSM6AAAAAARKQM7YY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Because you can do it yourself

Yea but idk how
Em qui, 20 de out de 2022 19:08, frantastic24 @.***>
escreveu:

Because you can do it yourself
—
Reply to this email directly, view it on GitHub
https://github.com/ShadowMario/FNF-PsychEngine/issues/10920#issuecomment-1286211888,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYFVJYCYRJAOUITDJNPMYOTWEG7GXANCNFSM6AAAAAARKQM7YY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Then learn


comprehensive & unified config file

As an operator, I want a unified way of representing my cluster, environment, and preferences across the gazette & run-consumer binaries and gazctl tools that:

Allows me to fully describe my hierarchical journal namespace to capture finer-grained policies of journal handling (Split from #29).

Is well documented with commented examples, so that I can discover the various knobs that exist and how to use them.

Allows me to represent my environment, such as Etcd or Broker endpoint.

Is handled consistently across the entire gazette ecosystem (eg, I don't want two gazette tools to have two different flavors of configuration).

Backlogging this for the moment: There's an interesting question as to whether a hierarchical journal namespace makes sense, vs defining an extendable "journal spec" which captures all the knobs we want (vis a vis #29), is fully specified for each journal, and is backed by Etcd (and integrates into the consensus allocator, vis a vis #43).
It appears we'll need to flatten elements of these hierarchy specs (like desired replication) down onto the individual journals (backed with Etcd) anyway. So why not do this for all journal configuration, make it source-of-truth (which also precludes the possibility of mismatched configs), and instead spend time on tooling which deduces and presents current hierarchy by aggregating / rolling up across runs of journal namespace?


feat: enable Prometheus HA mode by default

This patch deploys prometheus in HA mode by ...

Defaulting to 2 prometheus pods for each monitoring-stack.
Setting Pod Anti Affinity to run both pods on different nodes.
Adds a pod disruption budget with minAvailability set to 1

The number of replica to run is configurable through
monitoring-stack.Spec.prometheusConfig.Replicas
Fixes: https://issues.redhat.com/browse/MON-2105
Signed-off-by: Sunil Thaha<EMAIL_ADDRESS>

I had the impression that with only one replica, you shouldn't configure pod disruption budget (at least this is what we do in CMO) otherwise Kube would never be able to reschedule the pod in case of node drain.

I had the impression that with only one replica, you shouldn't configure pod disruption budget (at least this is what we do in CMO) otherwise Kube would never be able to reschedule the pod in case of node drain.

Thats the impression I had as well. Except when I tested, it worked.  Could it be because no PVC was configured?
To be on the safe-side, I will set the minAvailable to 0 if the replicas = 1.
@simonpasquier WDYT?

@simonpasquier @jan--f , I have modified the controller logic to remove existing resources (e.g. pdb) if the patcher.Patch returns nil.
This allows users to update replicas  monitoring stack and pdb will be automatically cleaned up / created.

Thanks @jan--f ,  @simonpasquier 🙇


Match composer license with LICENSE file

Changing the license configuration of the composer file to match the latest change of the LICENSE file.
I am targeting this branch, because the LICENSE change was introduce int this branch.
It need to be applied to both branch.
Changelog

### Changed
- Change composer license to MIT

Thanks


Added a Note to EXAMPLES.txt that tells users that google has differe…

…nt ip-adresses in different regions and that they might have to check the correct one for them.

@dtikhonov: @Kait0 and I were wondering if it'd be better if the client did DNS resolution of the hostname (say www.google.com) provided in the command line, since it's needed for the TLS SNI parameter? This would give away the need to supply the destination IP endpoint (for www.google.com) in addition to the hostname, unless we missed something. We can try a pull-request.

@vbajpai, resolving the hostname in http_client is a good idea.  We'd love a pull request!


:react-native-google-signin:prepareComAndroidSupportSupportMediaCompat2520Library

I created new React Native project and used react-native-google-signin package for that project.
When i run react-native run-android command, Cmd show error:
....
:react-native-google-signin:prepareComAndroidSupportSupportMediaCompat2520Library FAILED
Execution failed for task ':react-native-google-signin:prepareComAndroidSupportSupportMediaCompat2520Library'.

Could not expand ZIP 'C:\Users\Administrator\AppData\Local\Android\Sdk\extras\android\m2repository\com\android\support\support-media-compat\25.2.0\support-media-compat-25.2.0.aar'.

How can i fix it?

please check this example app. if issue persists make sure you send us a reproducible example with more details.
Example app


Slow to respond, No Respond

Describe the bug
Homebridge warns that this plugin is slowing performance.
Specifically I get these warning:
"This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info."
This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[USB] - [GET] Request failed with status code 504
Steps To Reproduce
This happens after running for a day or two
Plugin Version
@milo526/homebridge-tuya-web v1.0.1
Homebridge Config

{
   "name": "TuyaWebPlatform",
   "options": {
       "username": REDACTED,
       "password": REDACTED,
       "countryCode": REDACTED,
       "platform": "smart_life"
   },
   "defaults": [
       {
           "device_type": "form"
       }
   ],
   "scenes": false,
   "platform": "TuyaWebPlatform"
}

Device Config
Getting credentials
Got credentials
{   'access_token': 'AZhaz1616246896211p4sCbb6Hoj9kPvS',
'expires_in': 864000,
'refresh_token': 'AZhaz1616246896211p4sCbpswPljWQ8u',
'token_type': 'bearer'}
Getting devices
Got devices
{   'header': {'code': 'SUCCESS', 'payloadVersion': 1},
'payload': {   'devices': [   {   'data': {'online': True, 'state': True},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1504185916_0.png',
'id': '04200497dc4f22c2dfc7_1',
'name': 'Switch 1'},
{   'data': {'online': True, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1504185916_0.png',
'id': '04200497dc4f22c2dfc7_2',
'name': 'Switch 2'},
{   'data': {'online': True, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1504185916_0.png',
'id': '04200497dc4f22c2dfc7_3',
'name': 'Switch 3'},
{   'data': {'online': True, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1504185916_0.png',
'id': '04200497dc4f22c2dfc7_4',
'name': 'Switch 4'},
{   'data': {'online': True, 'state': False},
'dev_type': 'switch',
'ha_type': 'switch',
'icon': 'https://images.tuyaus.com/smart/icon/1504185916_0.png',
'id': '04200497dc4f22c2dfc7_7',
'name': 'USB'}],
'scenes': []}}
Additional Context
Homebridge version v1.3.4

Thanks for notifying me :)

I hope that the newest pre-release (v1.1.0-0) solves this issue.
If you can install the pre-release, please do so and let me know how it goes!
If you have other issues with the pre-release, please post them in the discussion https://github.com/milo526/homebridge-tuya-web/discussions/276

Will do. Thanks for follow up
John Biasi
@.***

On May 18, 2021, at 3:55 PM, Milo Cesar @.***> wrote:

I hope that the newest pre-release (v1.1.0-0) solves this issue.
If you can install the pre-release, please do so and let me know how it goes!
If you have other issues with the pre-release, please post them in the discussion #276
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

I see the same error.  I do not know how to upgrade to the pre-release using docker. When will the update be released?
Thanks,
L. Hall

I see the same error. I do not know how to upgrade to the pre-release using docker. When will the update be released?
Thanks,
L. Hall

Whenever I feel like enough people have tested it and I am confident that there are no big issues in the release.

Awesome! Thanks!
Would you mind telling me how to install the pre-release?

For homebridge please see here
For hoobs please follow this comment

Still seeing the same error. Any updates?

Still seeing the same issues on v1.0.2.

I have not seen any issues since updating to 1.1.xx (Next) version.

I'm getting these errors lately. I'll give the 1.1 version a go.

And the v1.1.0 branch worked for me.

I am having the same issue, plugins works but HomeBridge raporting slow down issue

I am having the same issue (on v 1.3.8).  One report for every Tuya device, repeating about every 90 seconds.  Interestingly, my PI 4 is showing CPU spikes each time it does this.   All of the Tuya devices are also show as "No Response" in the Home App, and then come back on within 30 seconds or so.   It wasn't doing this a couple of versions ago - but I also updated a number of plugins at the same time.

I am having the same issue (on v 1.3.8). One report for every Tuya device, repeating about every 90 seconds. Interestingly, my PI 4 is showing CPU spikes each time it does this. All of the Tuya devices are also show as "No Response" in the Home App, and then come back on within 30 seconds or so. It wasn't doing this a couple of versions ago - but I also updated a number of plugins at the same time.

Since you are reporting you are using v1.3.8 and this plugin is on version 1.1.1 I assume you are using another plugin. Probably tuya-lan or tuya/tuya-homebridge. Please report your problem there.

I've seen multiple reports of this problem being solved by the latest stable release.
Please let me know if this problem is still present for you on the latest version.
Please make sure to check that you are indeed using the homebridge-tuya-web plugin.

I have had no problems since updating.  Thank you for the fix!
John J Biasi
@.***
On Wed, Dec 22, 2021 at 8:48 AM Milo Cesar @.***> wrote:

I've seen multiple reports of this problem being solved by the latest
stable release.
Please let me know if this problem is still present for you on the latest
version.
Please make sure to check that you are indeed using the
homebridge-tuya-web plugin.
[image: Homebridge Tuya Web plugin installed]
https://user-images.githubusercontent.com/5261909/147102547-2befaf48-e3c4-4544-bd9b-5f93ac254662.png
—
Reply to this email directly, view it on GitHub
https://github.com/milo526/homebridge-tuya-web/issues/267#issuecomment-999589936,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACR4TQEG37OMOMETG4JXYY3USHJLNANCNFSM436LZ53A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


Backport: Use the Kubernetes RFC-1123 validation

This simplifies our code. Add tests while we're at it.
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>(cherry picked from commit 7a521c6c3087a6bdc660c23820b00b3dca323343)

I guess we need a rebase-type event to retrigger the CI that didn't run when GH was having infra issues last week.

Aargh GHAs are down again!


Workloadmeta-enabled Tagger Refactoring

What does this PR do?
After a lot of work in migrating all of the tagger to use workloadmeta, we can finally clean up the dangling bits we left around to support several collectors. There's more information in each of the individual commits, but the highlights are:

Removing the code supporting the usage of multiple collectors themselves
Remove parent-child relationships between entities, and ensuring each workloadmeta entity has exactly one tagger entity
Remove tagger entity merging, made possible by the change above
Remove sending on channels to update the tagstore, make it a simple method call, as there's only one single threaded collector now

Additional Notes
This is a large diff, but thankfully it's mostly deletions or moving code around. Each commit is fairly self-contained and could've been a PR each, but I'm combining them all into one because there's high cohesion, and to help QA'ers lives, as the QA for each commit would've been mostly the same, and having potentially several people doing it would be wasteful. Also, if you're not Container Integrations, feel free to filter by the files you own, the changes there are small and very minor.
Describe how to test/QA your changes
This is still a no-op from most perspectives, so from the outside the tagger still needs to work the same way it's worked before. Notable changes, or places to pay particular attention:

agent tagger-list still works, but now has a single list of tags for each entity it lists. There shouldn't be any duplicated entities listed either, nor any entities with no tags. You'll also use this command to QA the rest of this PR.
A container that belongs to a pod should have all of the pod's tags. Earlier, buggy versions of this PR sometimes missed those, and applied only the container specific k8s tags.
A container should always have image_* tags. If running on a containerd k8s cluster, those tags should match the image as specified in the pod spec. It's common for containerd to resolve images to docker.io/... if they're not fully qualified, and those should not appear in the tags unless that's how they're specified in the pod spec. Containers that belonged to a pod, but died, no longer belong to a pod (or at least we can't tell what the pod spec was anymore), so those are fine. If the above step was ok, you can tell them apart by the lack of k8s tags.
A container that belongs to an ECS task should have ECS tags applied. They're the task_* ones, among others.
Telemetry works. datadog.agent.tagger_entities should match the number of tags in the store. This should be checked after enough workloads lived and died to make sure there's no drift.
Entity pruning works. After a container has been deleted (actually deleted, containerd keeps them around after they've died for example), its entity in the tagger should be gone about 5 minutes afterwards. After a pod is gone (and presumably its containers have been deleted as well), check that the pod's containers are also gone from the tagger.
Check that there are no duplicated tags. It would be obvious from looking at the code that this is not possible, but it never hurts to double check.

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] The appropriate team/.. label has been applied, if known.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

Closed in favor of #11309


Incorrect Flag Pattern drops

When breaking the Insufferable Crypt Flag, the default pattern of King's Crest is dropped

570b44bb7d385d866d2cc733fa246739cc16bcff fixed


Fixes to allow the mesh feature to be tested, including alone

What type of PR is this?
/kind test
/area conformance

What this PR does / why we need it:
Some improvements to enable the conformance suite to run mesh tests and to allow the core gateway feature to be excluded from testing. This includes initializing RESTClient, needed to exec into pods for mesh tests.
With these changes, the mesh tests can be run by passing the following args:
"--supported-features", "Mesh", "--exempt-features", "Gateway"

Which issue(s) this PR fixes:

Fixes #
Does this PR introduce a user-facing change?:

NONE

I'll need to take a look at this one soon, please don't merge without me.
/hold

Thanks @frankbu! This LGTM, but do you mind also updating the docs to reflect this change? (https://gateway-api.sigs.k8s.io/concepts/conformance/#mesh-tests)
/ok-to-test

@robscott docs updated, PTAL

Thanks @frankbu!
/lgtm


Add response section for remaining commands in docs

A few months ago we introduced the Response section in our docs. Right now, the majority of all commands have this section in their docs.
Still, we're missing a few commands, let's add a Response section here so we have 100% coverage!
Commands:

[ ] setup
[ ] entra administrativeunit member add
[ ] file add
[ ] file list
[ ] file convert pdf
[ ] spo list webhook set (typo in header Response)

Can you assign me please?


Add example for enabling bundled features in Readme

I'm quite new to Rust, especially with using *-sys crates. Yesterday I spent way more time than necessary trying to link and compile rusqlite on Windows. I knew that the "bundled" features was the way to go, but I was not able to find how to enable it (as I said, noob here!)
I think that adding this 3 lines snippet in the README can help new rustaceans! Especially because the bundled feature is the only real reliable way to use rusqlite on Windows. :)

👍 Thanks!


"io.rancher.container.hostname_override" - ignore the flag when instance.name is longer than 64 chars

Don't override hostname on the backend if instance.name is longer than 64 chars

@vincent99 suggested we use following formula for resetting the name: ltrim(name,64-1-ceil(log(number))+"_"+number

Prachi is fixing, her first bug fix, woo hoo!

:+1:

Tested with server version - v0.37.0-rc1
Started a container with label - "io.rancher.container.hostname_override": "container_name" and the service name being - "test872302/testsangeetestsangeetestsangeetestsangeetestsangeetestsangee" ( > 64 chars).
I see the hostname being truncated to 64 chars.
In my case I also have domainName set to "abc.com"
"domainName": "abc.com",
"entryPoint": null,
"environment": { },
"expose": null,
"externalId": "a3000ef353f1355a07aa052881945cde4c1a7441906735b1c51771da108c8f4d",
"extraHosts": null,
"firstRunning": null,
"healthCheck": null,
"healthState": null,
"hostname": "test872302_testsangeetestsangeetestsangeetestsangeetestsangeet_2",
"imageUuid": "docker:cattle/test-agent:v7",
"kind": "container",
"labels": {
"io.rancher.project.name": "test872302",
"io.rancher.service.deployment.unit": "b4efacbb-7dae-43db-8553-770942884fb5",
"io.rancher.service.launch.config": "io.rancher.service.primary.launch.config",
"io.rancher.project_service.name": "test872302/testsangeetestsangeetestsangeetestsangeetestsangeetestsangee",
"io.rancher.scheduler.affinity:container_label_soft": "io.rancher.service.deployment.unit=b4efacbb-7dae-43db-8553-770942884fb5",
"io.rancher.stack.name": "test872302",
"io.rancher.stack_service.name": "test872302/testsangeetestsangeetestsangeetestsangeetestsangeetestsangee",
"io.rancher.container.hostname_override": "container_name",
},

When I tested without the domain name , containers come up with successfully and the host_name is truncated to exactly 64 characters long (along with the instance index).

This doesn't sound right... shouldn't the <= 64 char hostname be going into sethostname() and the domain into setdomainname()?  It sounds like we're doing sethostname(hostname+domainName).

Yes looks like thats what is happening. I am not sure though what is right, I just added a fix to consider domainName in truncation as well. Check https://github.com/rancher/cattle/pull/861

The fix is merged to master via PR https://github.com/rancher/cattle/pull/861

Tested with build from master - sep 14
Started a container with label - "io.rancher.container.hostname_override": "container_name" and the service name being > 64 chars and domainName set to "abc.com"
I see the hostname being truncated to less than 64 chars , so that hostname+"."+domainName is 64 chars.
Containers stay up in "running" state.


ENTESB-10899

This looks good for the initial effort.  A couple of thoughts.
What happens if the connection is in use when the delete is issued?  The syndesis ui won't let you remove an in use connection.
It's also probably a good time to talk about security implications.  This is assuming a non-authenticated connection over unsecured jdbc.  When are we looking to hook our virtualizations up to keycloak?  Currently once a virtualization is published it's making everything exposed effectively public within the namespace.
Once backed by keycloak do you expect there to be a built-in service account for development/syndesis usage and/or would you want certificate based authentication over mms like was discussed for pg?

As per the delete is concerned, yes the UI will prohibit from deleting it if there is an Integration. But if the user is "unpublishing" the virtualization, the connection is already broken, thus I took the liberty to remove it. We need to addon checks like if the Virtualization is used in Integration to prohibit the user from "unpublish", then they will sync up.
Coming to security, I think Keycloak integration is at least quater or couple quarters away, as it will be available in RHMI but not in with Syndesis. Right now Integrations are also suffering this same issue.
I would like to solve the certificate stuff ASAP(7.6), such that we have some default security starting with "DV on OpenShift", which will involve the Operator changes. In 7.6, I want to replace the "publish" mechanism with Operator in "teiid-syndesis", then that should back it here. Can you log an issue for certificate support in Operator?
You can also add one for Keycloak, there we need to invent some kind of discovery mechanism by Operator. Last I heard the Operator for Keycoak was not fully ready. Until that time we have to relie on the manual configuration with the help of documentation.

Can you log an issue for certificate support in Operator?

Logged https://issues.jboss.org/browse/ENTESB-11602

Good for merge then?


Hide Banner and Show Banner Again

On App level I am showing banner ad with
Admob.showBanner(options)
then on a page I am hiding banner with
Admob.hideBanner()
then on a page I am trying to show the banner again with same options.
Admob.showBanner(options)
But banner is not showing. Please guide if I am missing something.

Ok.
Admob.resumeBanner();
sorry.

I think this topic can be explained on the readme! I think it is important


Fix invalid expression

Fix #67

https://github.com/RRethy/vim-illuminate/issues/67#issuecomment-786086046

Please remove the spaces around the . concatenation operator and I'll merge.

Please remove the spaces around the . concatenation operator and I'll merge.

Removed the spaces.


Fix OP_SYS_CFLAGS and OP_SYS_CXXFLAGS on OSX

Checklist

[X] Used a fork of the feedstock to propose changes
[X] Bumped the build number (if the version is unchanged)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[X] Ensured the license file is being packaged.

To be able to use epics-base to compile modules,
CONDA_BUILD_SYSROOT and MACOSX_DEPLOYMENT_TARGET shall not be expanded.
Those variables could differ between the machine epics-base was compiled on and
where it's used.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

@conda-forge-admin, please rerender


Cleanup of OS X python build flags

The arch flag (with-universal-archs) should be 64-bit, 32-bit or all when building at least Python 2.6 (haven't checked the other versions) on OS X. It can probably be removed entirely since the configure script should detect that on it's own and macs only ship with 64-bit nowadays anyway.
Also i can't find any reason to include the enable-universalsdk either. That seems so only be used for building universal (both ppc and intel) binaries and i don't see any reason so continue to support ppc when even apple doesn't do that?

Can you provide a list of the flags that you set to build on OS X?

You mean which args i used to override the ones pythonbrew uses so i could build it successfully? This was a long time ago so i i'm sorry but i don't remember everything about it. My guess is that i used the default ones to build python and simply overrode the ones pythonbrew tried to use.


JT cores missing

Ordered as below

Name
Platform
Author
Version
Date

Ghosts'n Goblins

jtgng
Ghosts'n Goblins
Jotego
no version
October 4th, 2022

Pang!

jtpang
Pang!
Jotego
no version
October 14th, 2022

Both cores listed as early access with public access information still to come. Cores are both on Jotego's Patreon

Thanks! Those are added now. If JT adds more cores to his Patreon, please open up another issue with the same information, since we'll have to update these manually while they're behind the paywall.