fix: changed config file validation

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

Visual Studio Marketplace
GitHub release

Your semantic-release bot :package::rocket:


How to resize whole output

Hi,
I really like the new design of this branch. I have only one question: How can easily decrease the size of the whole visual? Is there a global option that only applies to this module?
Best,
jan

There is no global option. You have to tweak your custom.css.
Try this and add the following lines to your custom.css:
.mmm-pth-table {
  font-size: 1.5rem;
}

Thanks. That was the proper hint. I now use the zoom parameter, which also worked. Previously, I thought that I have to change the module's css file.

I'm glad it helped you :slightly_smiling_face:
It is advisable not to touch the modules code, otherwise you will have problems updating them later. That's what custum.css is for.


Updated  vm.dirty_ratio to 80, to better align with cloud best practi…

…ces.
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Updated vm.dirty_ratio from 60 to 80 to better align with cloud best practices.  See https://github.com/confluentinc/cp-ansible/issues/101
Fixes # (issue)
https://github.com/confluentinc/cp-ansible/issues/101
Type of change

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

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Ran rbac-mds-mtls-custom-kerberos-rhel and validated everything works as expected.
Test Configuration:
Checklist:

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

Question around where this should get merged into... I'd almost vote for 6.0.0-post or 6.0.x for the sake of ppl seeing this sooner. Although I guess you can make the case this is not much of a bug.
Also if the intention is to get this merged into 610, then the pr should be into 6.1.x not master.

Great question.  To me this is tuning and not a bug, as the system continues to run well with the current settings, and their is no perceptible degradation from the users perspective, thus I pushed it to master for inclusion for 6.1.


Update LCOVParserImpl.java

Remove dep on Guava

Coverage remained the same at 71.322% when pulling 19a1c5802cddc923eb15ac0b03c1f01abac8842e on sq6support-patch-6.1 into 981acfa7cd2f6066c7ae601c6be4000c454f58b8 on sq6support.

Coverage remained the same at 71.322% when pulling b94d9f70ad06856021afe4c3e3f5a02aa24b96e4 on sq6support-patch-6.1 into 981acfa7cd2f6066c7ae601c6be4000c454f58b8 on sq6support.

Coverage remained the same at 71.322% when pulling 438c8f47fb3b5b19df5d13cfb0e8c48a47dd70ae on sq6support-patch-6.1 into 981acfa7cd2f6066c7ae601c6be4000c454f58b8 on sq6support.

I think this'll work...

Re: #59 and #63

Ok, how do you get on with this?
sonar-typescript-plugin-0.94-SNAPSHOT.zip

This works für #63. Thank you very much @Pablissimo!


[Bug] [flink Jdbc Source]  field parsing error when there is a Complex SQL

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
flink jdbc source can't support sql like select t.* from tableName t or multiple table join，the regex can't work with complex sql，and the function extendPartitionQuerySql in JdbcSource just support a single table query.
SeaTunnel Version
2.1.1
dev
SeaTunnel Config
{
  "env" : {
    "execution.parallelism" : 1
  },
  "source" : [
    {
      "password" : "",
      "driver" : "com.mysql.jdbc.Driver",
      "query" : "select t.* from test_table t",
      "plugin_name" : "JdbcSource",
      "url" : "jdbc:mysql://<IP_ADDRESS>:3306/db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai",
      "username" : "root"
    }
  ],
  "transform" : [],
  "sink" : [
    {
      "plugin_name" : "ConsoleSink"
    }
  ]
}

Running Command
running with LocalFlinkExample demo

Error Exception

Flink or Spark Version
flink 1.13.0
Java or Scala Version
jdk 1.8
Screenshots
No response
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

#1781


Added fritzbox callforwarding switch

Description:
a new component to read out and switch on/off the call forwardings of an AVM Fritzbox
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#2989
Example entry for configuration.yaml (if applicable):

switch:
  platform: fritzbox_callforwarding
  password: YOUR_PASSWORD

Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
except for misplaced type annotation in  homeassistant/util/unit_system.py:108
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

I guess that the point about the fritzbox component is still valid.

Great job! Thanks a lot. A switch to mute/unmute phones would be nice, too.

I think we should focus to make a fritz component to handle the Connections in future

In the short term I would be glad if you would just merge it, in the long run I would also prefer having one single fritzbox platform. Not sure how to best approach this though. It would be part device tracker, part call monitor, part net monitor, part callforwarding switch. Where would it belong?  Do you know a good example for such a multi platform? Should all original authors be involved/included?

I think this is a good example of a platform:
https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/xiaomi.py
https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/sensor/xiaomi.py
https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/switch/xiaomi.py

Ok, I looked into making a fritzbox component a bit:
As opposed to the xiaomi one, all except one fritzbox devices wouldn't need listening on/managing shared sockets. Only the call monitor needs to listen on port 1012.  All other functionality is polling only right now and the request are quite lean. The only thing that would be shared are host, port & credentials. So I'm not really sure if going the component route is really a good idea or making everything more complex?

Creating a component would make it easier for the users to use their FRITZ!Box as it's not needed to provide auth details for every platform. It will reduce complexity as the component will handle the connection and the platforms will handle the rest. Maintenance will also become less work because the component contain the requirement and there is less duplicate code.

@jmtatsch any updates on this PR?

@andrey-git kind of swamped with work right now, will get to it eventually. If you want to go ahead with a fritz component, you could already start with the tracker, call monitor &  net monitor parts and I would just integrate the call forwarding stuff ...

@jmtatsch alright, in that case I'll close this PR. You can open a new one when you have time to finish it.


Add motif support on darwin

Motivation for this change
This is the first step for closing https://github.com/NixOS/nixpkgs/issues/17359 to deprecate lesstif in favor of motif.
Things done

Added darwin support for motif

Checked if motif works correctly by porting catclock and nedit to darwin.

[ ] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)

Built on platform(s)

[ ] NixOS
[x] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"

[x] Tested execution of all binary files (usually in ./result/bin/)

[x] Fits CONTRIBUTING.md.

ping @RamKromberg

I've tested the linux end and everything works fine.

@joachifm Thanks!
@knedlsepp Thanks and congrats :)


valueerror when install 0.7.1 in centos 7

[martin@localhost ~]$ sudo pip install ./tensorflow-0.7.1-cp27-none-linux_x86_64.whl
[sudo] password for martin:
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 139, in main
status = self.run(options, args)
File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 235, in run
InstallRequirement.from_line(name, None))
File "/usr/lib/python2.7/site-packages/pip/req.py", line 118, in from_line
return cls(req, comes_from, url=url)
File "/usr/lib/python2.7/site-packages/pip/req.py", line 43, in init
req = pkg_resources.Requirement.parse(req)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2914, in parse
reqs = list(parse_requirements(s))
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2839, in parse_requirements
line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2807, in scan_list
raise ValueError("Expected "+item_name+" in",line,"at",line[p:])
ValueError: ('Expected version spec in', './tensorflow-0.7.1-cp27-none-linux_x86_64.whl', 'at', '/tensorflow-0.7.1-cp27-none-linux_x86_64.whl')
Storing complete log in /root/.pip/pip.log
[martin@localhost ~]$
[martin@localhost ~]$ python -V
Python 2.7.5
[martin@localhost ~]$ uname -a
Linux localhost.localdomain 3.10.0-327.10.1.el7.x86_64 #1 SMP Tue Feb 16 17:03:50 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

@martinwicke: Looks like the wonderful world of wheel naming conventions?

Can you try with the 0.9 wheel? I have no idea what the problem can be and the message is useless, but maybe we get lucky.

Closing due to lack of activity. Please re-open if this is still a problem.


[ARM, Android 13] LiteGapps fails to initialize or install on aarch64

Currently attempting to install the Core package for Android 13, but the arm installers don't seem to work with any of my aarch64 devices (64-bit CPU, 32-bit kernel).
I've tried a few things to resolve the issues I'm facing. The first is from the Kopi Installer failing to make the /dev/kopi directory:
- failed make dir /tmp/kopi
Updater process ended with ERROR: 1
The installer produces no logs after install, but manages to break TWRP's terminal and access to all commands afterwards until reboot:
Child process exited.
Child process exited.
I can get my hands dirty to get the Kopi Installer to work by editing the install script to use /tmp/kopi and making the directory myself, but the architecture checks are in every addon and fail to recognize the kernel's architecture properly as arm.
Device 1: Samsung Galaxy Tab A 10.1 (2019)
CPU: Exynos 7904
ROM: TrebleDroid 13 GSI (arm32_binder64 variant)

Device 2: Samsung Galaxy A11
CPU: Qualcomm Snapdragon 450
ROM: Lineage 20 GSI (based on TrebleDroid, arm32_binder64 variant)

it looks like the installer can't read and write the partition,maybe because of wrong mounting,,can you provide log or at least screenshot

I can't provide a log right this moment, but I will later. It's been a few months since this issue was started, but I'm sure I'll have the same outcome regardless of time.
If I remember right, I also tried this with a Samsung Galaxy Tab A 10.1 (2019 model), which had similar issues unless I installed the arm package as a Magisk module on either device.

what version did you install?


DarkRawTheme: wrong color configurations

The colors of LeftNav, Dialog, Button, Card of DarkRawTheme don't look nice!

Update: I checked the code and the issue happens because many variables are constant instead of using values from rawTheme.

v0.11 has let cardColor = Colors.grey800;.  Should we add this value to rawTheme or use canvasColor instead? As soon as we agree on this, I can make a PR.

@quanglam2807 we're aware of this issue. There's many more component theme variables in theme-manager that use hard-coded values. @hai-cea and I are looking at all these values on a case-by-case basis and there should a PR up here in the next couple days.

@quanglam2807 see #1746. This has been merged and new minor version has been released with the fix!


pretrained model and sample dataset

@manucarbonell Thank you for your hard work

Upload a pretrained model so that we can test
documentation on prediction using the trained model
a sample dataset for training

Thanks man


vai_c_xirv compiler did not take any modified arch.json, but I need to modify fingerprint. KV260

Hi,
I encounter an error after many testing. I have a KV260 board. I know have to change the fingerprint for the compiler to get the correct xmodel file.
I tried:

Add a new arch.json under docker workspace. Error with: Unable to open file /workspace/arch.json
Add a new arch.json under a new arch folder workspace. Error with: Unable to open file /workspace/arch/arch.json
Modified the default kv260 json under /opt/vitis_ai/compiler/arch/DPUCZDX8G/KV260/arch.json with new fingerprint. After I modified this file, errored with: Unable to open file /opt/vitis_ai/compiler/arch/DPUCZDX8G/KV260/arch.json
Use the default kv260 arch.json in the /opt/vitis_ai/compiler/arch/DPUCZDX8G/KV260/arch.json without touching it. Compiled successfully!!! But when I put the xmodel to the board. This error shows up:
W0306 15:21:42.560640  8860 dpu_runner_base_imp.cpp:733] CHECK fingerprint fail! model_fingerprint 0x1000020f6014407 is un-matched with actual dpu_fingerprint 0x101000056010407. Please re-compile xmodel with dpu_fingerprint 0x101000056010407 and try again.

It's kinda like a loop. Without correct fingerprint arch.json file -> no correct xmodel file -> edit the arch.json file -> does not take the JSON to compile xmodel -> loop
I tried Docker Image Version: <IP_ADDRESS>0   (CPU) and Docker Image Version: <IP_ADDRESS>3   (CPU), both having the same problem
kv260 system image: xilinx-kv260-dpu-v2022.2-v3.0.0.img
Please let me know what to do.  Many thanks,

@mdrz7 can you post here "full command you ran for Compilation", so that we can see "if you have/not misplace JSON file, models name, location etc" while running compilation.
And your KV260 image is based on "Vitis AI 3.0" while your "Vitis AI CPU docker seems to be 2.5 or 2.0".

@mdrz7 can you post here "full command you ran for Compilation", so that we can see "if you have/not misplace JSON file, models name, location etc" while running compilation.
And your KV260 image is based on "Vitis AI 3.0" while your "Vitis AI CPU docker seems to be 2.5 or 2.0".

HI! Thank you for your reply. After testing my compilation cmd this is what I figure out:
Working cmd, generated CNN_KV260.xmodel immediately. Using the default /opt/.../KV260/arch.json came with docker image, but unable to run on the board. (CHECK fingerprint fail)
vai_c_xir --xmodel ./build/quant_model/cnn_int.xmodel --arch /opt/vitis_ai/compiler/arch/dpuczdx8g/kv260/arch.json --net_name cnn_kv260 --output_dir ./build/compiled_model

Compile failed cmd, the only difference is I point to another arch.json file that I modified the fingerprint in it.
vai_c_xir --xmodel ./build/quant_model/cnn_int.xmodel --arch ./build/arch.json --net_name cnn_kv260 --output_dir ./build/compiled_model

I managed to figure out the reason. That error basically means my arch.json is having the wrong "syntax".
I was using {fingerprint: "0x10000xxxxxxxx"} actuelly is {"fingerprint": "0x1010000xxxxxxx"}. I missed the "" for the fingerprint. Hope this helps someone...


Move equals() from Float[Sum|Min|Max]AggregatorFactory to SimpleFloatAggregatorFactory

See title. Fixes #4671

@gianm Hey Gian! Yup, that's me! I'm a returning contributor :)

@solimant great, thank you!


Set volumeSizeLimitMB to be larger than 30000?

I'm wondering if there is a way to make the volume size larger than 30GB?
Am I understanding it correctly that the largest an individual file can be that I store in seaweedfs is the size of the volume? So if I had a 50GB file, it would not fit? Or am I misunderstanding it?
Using docker, by the way.
This is the error I get when I try to set it larger than 30000,
F0309 05:43:17     1 master.go:105] volumeSizeLimitMB should be smaller than 30000
goroutine 1 [running]:
github.com/chrislusf/seaweedfs/weed/glog.stacks(0xc001269400, 0xc0007346e0, 0x53, 0xa4)
	/home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/glog/glog.go:767 +0xb9
github.com/chrislusf/seaweedfs/weed/glog.(*loggingT).output(0x363eb40, 0xc000000003, 0xc0001d25b0, 0x2b6ae78, 0x9, 0x69, 0x0)
	/home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/glog/glog.go:718 +0x37a
github.com/chrislusf/seaweedfs/weed/glog.(*loggingT).printf(0x363eb40, 0x3, 0x22fc77b, 0x2e, 0x0, 0x0, 0x0)
	/home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/glog/glog.go:656 +0x153
github.com/chrislusf/seaweedfs/weed/glog.Fatalf(...)
	/home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/glog/glog.go:1149
github.com/chrislusf/seaweedfs/weed/command.runMaster(0x361e900, 0xc00004c0f0, 0x0, 0x0, 0x0)
	/home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/command/master.go:105 +0x219
main.main()
	/home/travis/gopath/src/github.com/chrislusf/seaweedfs/weed/weed.go:66 +0x30f

Ok, I see that if the file is larger than the volume size it should chunk the file. Does webdav handle this automatically for the end user? Say I mount the file system on a Mac client through webdav, and upload a file that's 50GB, will it automatically chunk it for me without me as an end user worrying about the chunking? And when I access it, it will just appear like a normal file?
Also, is there large disk version for docker?

Ok, I see that if the file is larger than the volume size it should chunk the file. Does webdav handle this automatically for the end user? Say I mount the file system on a Mac client through webdav, and upload a file that's 50GB, will it automatically chunk it for me without me as an end user worrying about the chunking? And when I access it, it will just appear like a normal file?
Also, is there large disk version for docker?

yes.yes.yes.yes.

Hey @chrislusf Is this true also of the Filer and POSIX/Fuse client(s) and Docker Volume Plugin? Do I need to worry about file size limitations at all as an end user of SeaweedFS? yes, no? :D

Yes, no.


how to collect logs please describe in details

how to set an agent on windows  and other distro

I have a wiki for the agent configuration
https://github.com/V1D1AN/S1EM/wiki/Agent-guide

No response for ten days im closing this feel free to reopen with more details if you need


Changing regular functions to arrow functions

the 'this' keyword in the request callback doesn't refer to the return object, so I changed all 'request' callbacks to arrow functions.

I liked the changes that you made, they were appreciated


Add .editorconfig to the project.

We should add an .editorconfig (or equivalent) file to the project to ensure all code has the same formatting (such as using tabs vs spaces).

Resolved by #429


Ignore vscode cache directory

Reasons for making this change:
VSCode is widely used with Unity, but it generates a .vscode/ folder containing user-specific settings (e.g., extensions, debug configurations). Including this in version control can cause unnecessary conflicts and bloat. Ignoring it keeps the repository clean and avoids sharing editor preferences.

👋 Hello @N3VERS4YDIE, I don't think we want to ignore this folder.
We have too many examples of teams that commit this folder intentionally in order to share things like launch configurations. That folder is not meant to hold user configuration, but instead workspace configuration.


Support new webhook events and actions

Fixes: #1160

Adding new possible value for actions for several existing events (IssueEvent, OrganizationEvent, PullRequestEvent, ReleaseEvent, and RepositoryEvent).
Adding 3 new events (DeployKeyEvent, MetaEvent, and StarEvent).

Hey @gmlewis , I am really sorry that I had to close the previous PR and make another PR. I do not know why but I can not run the go generate./... command work on my previous machine so I made this PR from another machine. This PR should have already resolved the review that you commented earlier and also the result of running go generate command.
Thank you very much! :slightly_smiling_face:

Thanks for keeping us up-to-date with the new APIs :)

Thank you very much for the opportunity, @gmlewis and @gauntface ! The pleasure is all mine! :slightly_smiling_face:


Add lodash.debounce to Shopify provider package.json dependencies

Shopify provider requires lodash.debounce package. This package is installed in BigCommerce provider, but not in Shopify provider. After BigCommerce is removed, Shopfify provider can't be installed.
This PR fixes this error

It's been used by multiple providers. Can you add it to site, instead of just the shopify provider?

@okbel are you sure about that? It doesn't seem like a good way to manage dependencies. Its provider(s) that needs this dep, not client. I suggest adding it to every provider that explicitly needs it, instead of the client implicitly.

If it's not used in the UI (core and site) and it's specific for the provider then let's add it to all of those who are using it.

@okbel done, added to all providers that use debounce (few of them don't)


feat(service-registry): add description flag for create command

Add --description flag to service-registry create command.
Verification Steps

Try creating a service registry instance with description flag.

rhoas service-registry create --name test-instance --description "random description"

Create a registry instance through interactive mode:

rhoas service-registry create

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation change
[ ] Other (please specify)

Checklist

[X] Documentation added for the feature
[X] CI and all relevant tests are passing
[ ] Code Review completed
[ ] Verified independently by reviewer

Also when doing edit we should always have description available as empty string:
rhoas service-registry artifact metadata-set --artifact-id=test
Does
{
 "labels": [],
 "properties": {}
}

It should
{
 "description": "",
 "labels": [],
 "properties": {}
}

I see this was approved, so I guess it should be merged?

I tend to leave PRs that were previously rejected by one team member for them to take look if they are happy with resolution. I'm certainly are so merging :D


Suppress the oauth_token as a url parameter while transforming it into an Authorization token header

This eliminates an error that the Github service emits about using their deprecated url token authentication mechanism.

@piotrmurach could we please have a review for this please? The authentication seems to have been stopped completely. Thanks!


Cherry pick for MM-43328

(cherry picked from commit 2e29e54)
Co-authored-by: Julien Tant<EMAIL_ADDRESS>none

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: cf2606b483a1ed484fcb64175392cace95014cc5


How to add a new custom font

Hi, The content on the site is well written. However, I need to add a new font to the list of available fonts. For example Roboto. How can I do it??
Thanks!

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

ID: 33ecdffd-f6c2-4fc2-2d74-94d16c18108c
Version Independent ID: cb939451-df9d-23b2-5e98-e2519c3b90db
Content: Use the rich text editor control in Power Apps - Power Apps
Content Source: powerapps-docs/maker/model-driven-apps/rich-text-editor-control.md
Service: powerapps
Sub-service: mda-maker
GitHub Login: @Mattp123
Microsoft Alias: craigm

Thanks for your comment, @bromero26. This issue has been assigned to the doc author for review.


Enable external delegate for benchmark_model/label_image for tflite

Hi @terryheo ,
Could you review this patch? Thanks

@terryheo Can you please review this PR ? Thanks!

Looks like the similar PR with https://github.com/tensorflow/tensorflow/pull/52866

@sunshinemyson Can you please resolve conflicts? Thanks!

@sunshinemyson Can you please resolve conflicts? Thanks!

updated.

@sunshinemyson Can you please check @terryheo's comments and keep us posted ? Thanks!


fix(uma): define block range for getLogs

Add a start block when query events for UMA execution

@bonustrack can this be merged?

Thank you


detect unused content

from:

values.yaml
partials

and from:

list views

Could be ran for each outputfile:

parse all css classes out of the css (inline AND from all imported css files - in the correct order)
parse all css classes out of the html
(sort &) compare them

-> Could detect unused css classes in the css AND in the html.
Potential additional flag for automatically cleaning it. But for starters, just fail, so the dev gets it done right.


Brave support for Flutter Web

Use case
I want to run my flutter web application in brave which is a chromium based browser

Proposal
Add brave support for flutter web

Brave browser is already supported by Flutter. We built our website & web app with Flutter Web and it works with Brave: https://sharezone.net. Debugging should also be possible by setting "Web Server" as target device.

“Web Server” is missing when I run “flutter devices”
can you tell me how to enable it?

“Web Server” is missing when I run “flutter devices”
can you tell me how to enable it?

Can you post the output of  flutter doctor -v ?

[✓] Flutter (Channel stable, 2.0.0, on Microsoft Windows [Version 10.0.19042.804], locale en-PH)
• Flutter version 2.0.0 at C:\flutter
• Framework revision 60bd88df91 (16 hours ago), 2021-03-03 09:13:17 -0800
• Engine revision 40441def69
• Dart version 2.12.0
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at C:\android_sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_SDK_ROOT = C:\android_sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at C:\Users\Brymer Meneses\AppData\Local\Google\Chrome\Application\chrome.exe
[✓] Android Studio (version 4.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 49.0.2
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
[✓] VS Code (version 1.53.2)
• VS Code at C:\Users\Brymer Meneses\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.20.0
[✓] Connected device (2 available)
• Chrome (web) • chrome • web-javascript • Google Chrome 89.0.4389.72
• Edge (web)   • edge   • web-javascript • Microsoft Edge 88.0.705.81
• No issues found!

Just to check:

Create a new flutter project
Run flutter run -d web-server
Click on the provided url, i.e. lib\main.dart is being served at http://localhost:63424
Select brave

What's the output after step 2? Can you work through all 4 steps?

Looks like the option for web-server is hidden by design but you should be able to access it via the command from above.
See https://github.com/flutter/flutter/pull/71491

I got it now, thank you @sebastianbuechler!


java-microprofile: make the default context root respond nicely

java-microprofile: make the default context root (localhost:9080) respond with something better than a 404
This change adds a simple Hello World resource to the MicroProfile starter and bind the application to the default context root so that it responds on localhost:9080. When accessed, the user will see "Hello from Appsody!"
Fixes: https://github.com/appsody/stacks/issues/30

 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.

@barecode  Welcome to Appsody! and thanks for your contribution.
We will review the PR shortly.
@Emily-Jiang would like to have your thoughts on this too.

@barecode Thanks for your contribution.
This looks like a good idea to keep all stacks consistent. Will get relevant people to review shortly.

@barecode Are you able to update this PR by:

remove mct references
update version numbers in stack.yaml

@Emily-Jiang One one hand I agree that we do not want to clutter the developer's workspace, but on the other hand we should provide some feedback / success message when hitting the default endpoint.
We are looking for a way to return something meaningful on the default endpoint to make user feel that they have the application up and running. Developers should be able to remove that single file or comment a couple of lines to remove this.

Node and Nodejs-express stacks use a simple plan text response - "Welcome from Appsody"
Spring stack uses an index.html with a welcome message, some links to Spring and a list of URLs.

Let me know what your thoughts are.

This has been resolved in 0.2.2 version. Thanks for your contribution.
Please feel free to reopen this if you believe the issue has not been completely resolved.


Areas encouraging the top prediction are not shown

I used the CIFAR10 dataset for a classification problem.
In some samples the explanations are plotted fine, like in the following case of a blur bird image:

In some other cases though, the boundaries are not shown at all. For example in the following airplane image:

The estimated probability of being a plane is very high (0.99) and for some reason the mask array is the following:
array([[1, 1, 1, ..., 1, 1, 1],
[1, 1, 1, ..., 1, 1, 1],
[1, 1, 1, ..., 1, 1, 1],
...,
[1, 1, 1, ..., 1, 1, 1],
[1, 1, 1, ..., 1, 1, 1],
[1, 1, 1, ..., 1, 1, 1]], dtype=int64)
Do you have any ideas what could be the issue?
Thank you very much for your time.

Ugh, sorry, I have no idea from the information you provided, other than maybe the segmentation function doesn't work for this kind of image. You should try the segmentation function out to make sure it produces reasonable segments.


[RPA-1296] Fixes error message for not activated user login

Description
Not activated user:

User activated and wrong credentials or user does not exsts:

Motivation and Context

Types of changes

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

I agree to the terms of the RunBotics Contributor License Agreement.

I think the message should be 'User  is inactive. Ask administrator for activation.' instead of 'User user2@locaIhost was not activated'


[0011] Clarify behavior of SpirvType parameters and add SpirvOpaqueType

SpirvType now takes size and alignment as parameters, and a new template SpirvOpaqueType is added that does not. Also lets users specify whether a parameter for the type-declaration instruction should take an id or an immediate literal value.
Fixes #128.

@s-perron

This is a pretty big change to the original proposal, but necessary to do what we need to do.

I'd considered using alignas, but it would require modifying the parser to have a different behavior than C++, which we were trying to avoid for the most part.
For example
typedef alignas(8) vk::SpirvType</* OpTypeInt */ 21, /* size */ 8, vk::ext_literal(8), vk::ext_literal(false)> uint8_t;

or
typedef vk::SpirvType</* OpTypeInt */ 21, /* size */ 8, vk::ext_literal(8), vk::ext_literal(false)> alignas(8) uint8_t;

would not be valid syntax.

Right... because alignas isn't valid for typedefs :(
That said, we might be able to implement this feature in terms of alignas in the future because this horrible thing is completely valid (with C23):
template<int Align, int Size>
struct alignas(Align) OpaqueType
{
  _BitInt(Size) V;
};


CASMINST-6257 remove check to make sure master nodes is in k8s cluster in management-nodes-rollout

Description
Remove check to make sure master nodes is in k8s cluster in management-nodes-rollout. This check creates a bug when a master node has been partially upgraded. For example, if a master node has been removed from the cluster and power cycled and the workflow has been stopped. Then, if the workflow is restarted, this check will fail because the node is not part of the cluster and it will prevent the workflow from continuing.

Checklist

[ ] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[ ] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[ ] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.4


Check for nil filename

As with the base_filename above, gracefully handle the case when the original filename is nil

Sorry this took so long to respond to.  Thanks for the fix!


Not able to Save/Add Analysys to database

First thing first, thank you all for helping me out with installation problems I had. It's all good now. I am digging into how the software actually works. I went through the manual, which showed how to add elements (boxes, cases etc.) After doing the simulation/analysys I wanted to save it so I could use it in further steps doing further simulations (like filling the truck with the load). After following the manual, I was suppose to click on the yellow light bulb and few options are missing as shown on the screenshot.
Many thanks for your help

Sorted. I was to quick with analysys. I watched a tutorial on you tube and it helped me out, answering above question and solving the mystery.
Best regrads

Using the loaded case as an input for pallet analysis is not possible in version 2. However, it is something that is available in version 3 arriving in the next months.
As a workaround, you can create a case/pallet analysis with a similar case to which you have applied the weight of the loaded case.

Thank you, its great to see that the software is being constantly developed.


Its return stdClass

I have face issue to fetch only LTP. When I tried to used getLTP Method it show below error
Fatal error: Uncaught TypeError: Return value of KiteConnect\KiteConnect::getLTP() must be an instance of KiteConnect\mixed, instance of stdClass returned in *\vendor\zerodha\phpkiteconnect\src\KiteConnect.php:791
Stack trace:
#0 *\test.php(28): KiteConnect\KiteConnect->getLTP(Array)
#1 {main}
thrown in *\vendor\zerodha\phpkiteconnect\src\KiteConnect.php on line 791
I solved this issue to change some code on KiteConnect.php

Old Code KiteConnect.php on line No 789

public function getLTP(array $instruments): mixed
{
return $this->get("market.quote.ltp", ["i" => $instruments]);
}

New Code To change

public function getLTP(array $instruments): stdClass
{
return $this->get("market.quote.ltp", ["i" => $instruments]);
}

You need to upgrade to PHP version > 8.0.0.


b2: Successful delete if file does not exist

What does this PR change? What problem does it solve?
When deleting a file, B2 sometimes returns a "500 Service Unavailable" error but nevertheless correctly deletes the file. Due to retries in the B2 library blazer, we sometimes also see a "400 File not present" error. The retries of restic for the delete request then fail with "404 File with such name does not exist.".
As we have to rely on request retries in a distributed system to handle temporary errors, also consider a delete request to be successful if the file is reported as not existing. This should be safe as B2 claims to provide a strongly consistent bucket listing and thus a missing file shouldn't mysteriously show up again later on.
This PR only makes the Remove operation of the B2 backend idempotent and not that of other backends. I'm not yet sure whether we could run into issues with reappearing files on other backends, which especially for index files could lead to data loss. To also include other backends we should probably finish #2839 first.
Was the change previously discussed in an issue or on the forum?
Fixes #3541.
Checklist

[x] I have read the contribution guidelines.
[x] I have enabled maintainer edits.
[ ] I have added tests for all code changes.
[ ] I have added documentation for relevant changes (in the manual).
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (see template).
[x] I have run gofmt on the code in all commits.
[x] All commit messages are formatted in the same style as the other commits in the repo.
[ ] I'm done! This pull request is ready for review.

Tested and this fixes unlock for me :+1: thank you for this! :bow:
But I still see the same 400 behavior on prune so I wonder if this might be needed there as well?

@mattkasa Judging from the comments in #3541 the problem on the B2 server-side has been resolved in the meantime.


Sourcemaps for TSX files lose original name when being passed through babel

We use TypeScript with React + Relay, which means we run our tsx files through babel as well as tsc. We have sourcemaps working through both TypeScript and Babel, and that works 👍
The only issue is that right now the hand-off process from TS -> Babel changes the file names inside the sourcemaps to refer to non-existent files.
I have an OSS example, https://github.com/artsy/reaction-force/tree/orta-sourcemaps ( specifically  https://github.com/artsy/reaction-force/commit/9f4b4ba8ff8f7ebb6ebc22f375f60b132e02d6b4 )
Which you can run via
git clone https://github.com/artsy/reaction-force
cd reaction-force
git checkout 9f4b4ba8ff8f7ebb6ebc22f375f60b132e02d6b4
yarn install
node fuse.js

It will generate a file reaction-force.js.map which looks like this:
{"version":3,"sources":["components/__stories__/artwork.jsx","components/artwork.jsx","relay/config.ts","relay/root_queries.ts","components/__stories__/artwork_grid.jsx","components/artwork_grid.jsx","packages/default"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+BA...

For it work correctly, it would need to look like:
{"version":3,"sources":["components/__stories__/artwork.tsx","components/artwork.tsx","relay/config.ts","relay/root_queries.ts","components/__stories__/artwork_grid.tsx","components/artwork_grid.tsx","packages/default"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+BA...

If I manually make these changes, everything hooks up perfectly

I've taken two attempts at making a work around:

A plugin/hook that changes the file directly. This is hard to do - I've looked at the source, and I can't find any callbacks that happen after this function. I explored using the HMR aspect of the dev server, but that also runs before the process of writing the file.

Looking into editing the concat instances directly inside a plugin, which I'm exploring right now.

Editing the concat objects doesn't really work very well:
const fs = require("fs")

const ArraySet = require("../../node_modules/source-map/lib/array-set").ArraySet

module.exports = function() {
  return {
    bundleEnd: function(context) {

      const concat = context.source.getResult();
      concat._sourceMap._sources = ArraySet.fromArray(concat._sourceMap._sources.toArray().map(f => f.replace(/\.jsx/g, ".tsx")))

      const contents = concat._sourceMap._sourcesContents
      for (let file in contents) {
        const code = contents[file]
        delete contents[file]
        contents[file.replace(/\.jsx/g, ".tsx")] = code
      }

      debugger
    }
  }
}

Think it's not worth trying to do a workaround, this is a bit too much digging into the guts.

Also:
This might help or this

I wonder if the fix is as simple as changing this line, https://github.com/fuse-box/fuse-box/blob/master/src/File.ts#L349 to include tsx :D

absolutely!


Prepare unit template for visual composer

Description
On the PLC side - added some mock classes for machine safety that are used in all controlled units.
On the .NET side - modified Unit.razor, which now has a new parameter for passing an array of additional items to visualize in VisualComposer.

to dev-2311 plz


semantic-ui: create a two layer footer

https://github.com/inveniosoftware/invenio-app-rdm/issues/256 details this more


allow cargo --profile debug for simpler Makefiles

Problem
cargo is great for simple projects, but for more complex (eg. multi-language) projects, it is often desirable to use cargo in addition to a more general build system, such as make.
however, the way cargo outputs build directories is often difficult to configure via make, usually resulting in people writing their makefiles in a way that only works with --release
Proposed Solution
if this was implemented, configuring builds would be as simple as:
profile = debug
bin = target/$(profile)/myprogram

$(bin): src/main.rs Cargo.toml
	cargo build --profile $(profile)

and then you could call either make profile=release or make profile=debug
Notes
this already works fine for profile=release, but it throws an error when you try to build it with less optimizations:
cargo build --profile debug
error: profile name `debug` is reserved
To configure the default development profile, use the name `dev` as in [profile.dev]
See https://doc.rust-lang.org/cargo/reference/profiles.html for more on configuring profiles.

If I understand, you are wanting debug to be an alias for dev so the profile name can be used for the directory name.
Likely another option is to define your own profile in a config and have it inherit dev.
#6790 would be another option for this.

i just want an elegant way to use rust in makefiles, as far as i can tell, there really isn't one right now

custom profiles and out-flag is not good enough?
https://stackoverflow.com/questions/38803760/how-to-get-a-release-build-with-debugging-information-when-using-cargo
cargo build --profile=myprofile --out myprofile


[Wsign-compare] warning resolutions, by directory, 7

Resolution affecting directories:
tensorflow/core/
set 1 of 3

@mihaimaruseac

All updates applied


$localStorage not setting value while redirecting

The given code is not working in Chrome and IE 10
        securitysvc.validate($scope.loginModel).then(function (d) {
            var usertoken = d.data.auth_token;

          $localStorage.authtoken = usertoken;

            window.location = applicationUrl.clientUrl + "index.html";  // I am redirecting
        }

// If i remove the redirection  code  it will work, any idea ?

It's because of digest cycles and timeouts. Please see https://github.com/gsklee/ngStorage/issues/124


test: add initial vault service mocking

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support for Pale Moon (based on Mozilla Firefox)

There's an Open Source project called Pale Moon which primary is based earlier versions of Mozilla Firefox, now independly developed over time. Project home page: https://www.palemoon.org/
The browser mainly available on Windows & Linux platforms, other platforms are still developed.
Linux UA (Pale Moon 28.5.0): Mozilla/5.0 (X11; Linux x86_64; rv:60.9) Gecko/20100101 Goanna/4.2 Firefox/60.9 PaleMoon/28.5.0

@juozaspo - this is coming soon; should have a PR later today or tomorrow morning.

available in 1.9.3 - closing!  thx @juozaspo


[iOS] App Crash when using Baidumap with FirebaseAnalytics

Step 0: Are you in the right place?

For issues or feature requests related to the code in this repository
file a Github issue.

If this is a feature request please use the Feature Request template.

For general technical questions, post a question on StackOverflow
with the firebase tag.
For general (non-iOS) Firebase discussion, use the firebase-talk
google group.
For backend issues, console issues, and other non-SDK help that does not fall under one
of the above categories, reach out to
Firebase Support.
Once you've read this section and determined that your issue is appropriate for
this repository, please delete this section.

[REQUIRED] Step 1: Describe your environment

Xcode version: 12.4
Firebase SDK version: 8.3.0
Installation method: [CocoaPods]
Firebase Component: Analytics

[REQUIRED] Step 2: Describe the problem
App crash

Steps to reproduce:

Install 'Firebase/Analytics', '8.3.0', 'BaiduMapKit/Map','6.2.0',  'BaiduMapKit/Utils','6.2.0'
Setup firebase
var options = FirebaseOptions.defaultOptions()
FirebaseApp.configure(options: options!)
I also reproduce crash from
Reproduce project:
https://drive.google.com/file/d/15p8F8kQxRfkKdC8Rdag4Od-Q1KQ85zEK/view?usp=sharing

Can you share the full stack trace? If you're able to reproduce it with Xcode's debugging tools attached, you should be able to get the full stack trace by typing bt all in console.

Full stack trace:
2021-08-10 03:34:03.180123+0700 Testcrashbaidumap[25253:5662345] 8.3.0 - [Firebase/Analytics][I-ACS023007] Analytics v.8.3.0 started
2021-08-10 03:34:03.180319+0700 Testcrashbaidumap[25253:5662345] 8.3.0 - [Firebase/Analytics][I-ACS023008] To enable debug logging set the following application argument: -FIRAnalyticsDebugEnabled (see http://goo.gl/RfcP7r)
2021-08-10 03:34:03.516330+0700 Testcrashbaidumap[25253:5662351] 8.3.0 - [Firebase/Analytics][I-ACS800023] No pending snapshot to activate. SDK name: app_measurement
(lldb) bt all
thread #1, queue = 'com.apple.main-thread'
frame #0: 0x00000001c2942644 libsystem_kernel.dylibmach_msg_trap + 8     frame #1: 0x00000001c2941a48 libsystem_kernel.dylibmach_msg + 72
frame #2: 0x0000000196a210fc CoreFoundation__CFRunLoopServiceMachPort + 376     frame #3: 0x0000000196a1b570 CoreFoundation__CFRunLoopRun + 1176
frame #4: 0x0000000196a1aba0 CoreFoundationCFRunLoopRunSpecific + 572     frame #5: 0x00000001ad783598 GraphicsServicesGSEventRunModal + 160
frame #6: 0x000000019930c2f4 UIKitCore-[UIApplication _run] + 1052     frame #7: 0x0000000199311874 UIKitCoreUIApplicationMain + 164
frame #8: 0x00000001aa19bb54 libswiftUIKit.dylibUIKit.UIApplicationMain(Swift.Int32, Swift.Optional<Swift.UnsafeMutablePointer<Swift.UnsafeMutablePointer<Swift.Int8>>>, Swift.Optional<Swift.String>, Swift.Optional<Swift.String>) -> Swift.Int32 + 100     frame #9: 0x0000000104e29ee4 Testcrashbaidumapstatic UIApplicationDelegate.main() at :0
frame #10: 0x0000000104e29e5c Testcrashbaidumapstatic AppDelegate.$main(self=Testcrashbaidumap.AppDelegate) at <compiler-generated>:0     frame #11: 0x0000000104e29f28 Testcrashbaidumapmain at :0
frame #12: 0x00000001966f9568 libdyld.dylibstart + 4   thread #2     frame #0: 0x00000001c296648c libsystem_kernel.dylib__workq_kernreturn + 8
thread #3, name = 'gputools.smt_poll.0x281cc2b20'
frame #0: 0x00000001c2965bf0 libsystem_kernel.dylib__semwait_signal + 8     frame #1: 0x000000019f7996d4 libsystem_c.dylibnanosleep + 212
frame #2: 0x000000019f7995ac libsystem_c.dylibusleep + 64     frame #3: 0x000000010627b7d0 GPUToolsCoresmt_poll_thread_entry(void*) + 144
frame #4: 0x00000001df22fc9c libsystem_pthread.dylib_pthread_start + 288   thread #4, name = 'gputools.smt_poll.0x281cfcc40'     frame #0: 0x00000001c2965bf0 libsystem_kernel.dylib__semwait_signal + 8
frame #1: 0x000000019f7996d4 libsystem_c.dylibnanosleep + 212     frame #2: 0x000000019f7995ac libsystem_c.dylibusleep + 64
frame #3: 0x0000000105a4838c libMTLCapture.dylib___lldb_unnamed_symbol2227$$libMTLCapture.dylib + 104     frame #4: 0x00000001df22fc9c libsystem_pthread.dylib_pthread_start + 288

thread #5, queue = 'com.google.fira.worker', stop reason = EXC_BAD_ACCESS (code=1, address=0xa9065ff8d1028407)

frame #0: 0x0000000104f5a448 Testcrashbaidumappb_encode + 68 frame #1: 0x000000010540679c Testcrashbaidumapnano_two_pass_encoding + 60
frame #2: 0x00000001053cd344 Testcrashbaidumapapmpb_encode_measurement_bundle + 80 frame #3: 0x00000001053d91cc Testcrashbaidumap-[APMPBMeasurementBundle protoBuffer] + 32
frame #4: 0x00000001053756ac Testcrashbaidumap-[APMDatabase insertIfNotExistsRawEventMetadata:error:] + 84 frame #5: 0x00000001053a80e4 Testcrashbaidumap-[APMMeasurement(Event) writeEvent:isPublicEvent:isRealtime:] + 1088
frame #6: 0x00000001053a57c4 Testcrashbaidumap__49-[APMMeasurement(Event) writeEventOnWorkerQueue:]_block_invoke + 604 frame #7: 0x0000000105401fd4 Testcrashbaidumap-[APMSqliteStore performTransactionWithError:block:] + 176
frame #8: 0x0000000105374698 Testcrashbaidumap-[APMDatabase performTransaction:] + 48 frame #9: 0x00000001053a5488 Testcrashbaidumap-[APMMeasurement(Event) writeEventOnWorkerQueue:] + 820
frame #10: 0x00000001053a4fe4 Testcrashbaidumap-[APMMeasurement(Event) handleEventOnWorkerQueue:] + 540 frame #11: 0x00000001053a4d9c Testcrashbaidumap-[APMMeasurement(Event) handleInternalEventOnWorkerQueue:] + 184
frame #12: 0x00000001053afbc0 Testcrashbaidumap-[APMMeasurement reportFirstOpenOnWorkerQueue] + 2100 frame #13: 0x00000001053aeac8 Testcrashbaidumap__47-[APMMeasurement startMeasurementOnWorkerQueue]_block_invoke + 2328
frame #14: 0x00000001053ae0a8 Testcrashbaidumap-[APMMeasurement startMeasurementOnWorkerQueue] + 168 frame #15: 0x00000001053ad8b4 Testcrashbaidumap-[APMMeasurement setEnabledOnWorkerQueue:] + 272
frame #16: 0x00000001053ad794 Testcrashbaidumap__29-[APMMeasurement setEnabled:]_block_invoke + 44 frame #17: 0x00000001053f7358 Testcrashbaidumap__51-[APMScheduler scheduleOnWorkerQueueBlockID:block:]_block_invoke + 44
frame #18: 0x00000001060cbce4 libdispatch.dylib_dispatch_call_block_and_release + 24 frame #19: 0x00000001060cd528 libdispatch.dylib_dispatch_client_callout + 16
frame #20: 0x00000001060d45ac libdispatch.dylib_dispatch_lane_serial_drain + 748 frame #21: 0x00000001060d5234 libdispatch.dylib_dispatch_lane_invoke + 452
frame #22: 0x00000001060e0a5c libdispatch.dylib_dispatch_workloop_worker_thread + 1456 frame #23: 0x00000001df2315a4 libsystem_pthread.dylib_pthread_wqthread + 272
thread #6
frame #0: 0x00000001c296648c libsystem_kernel.dylib__workq_kernreturn + 8 thread #7, name = 'NE-Map-DrawFPSController' frame #0: 0x00000001c296561c libsystem_kernel.dylib__psynch_cvwait + 8
frame #1: 0x00000001df22cdb4 libsystem_pthread.dylib_pthread_cond_wait$VARIANT$armv81 + 1180 frame #2: 0x00000001aaec3e0c libc++.1.dylibstd::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&) + 24
frame #3: 0x0000000105218840 Testcrashbaidumap_baidu_vi::EventLoop::runLoop() + 280 frame #4: 0x0000000105218e3c Testcrashbaidumapvoid* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_deletestd::__1::__thread_struct >, void (_baidu_vi::EventLoop::)(), _baidu_vi::EventLoop> >(void*) + 64
frame #5: 0x00000001df22fc9c libsystem_pthread.dylib_pthread_start + 288 thread #8 frame #0: 0x00000001c296648c libsystem_kernel.dylib__workq_kernreturn + 8
thread #9, name = 'com.apple.uikit.eventfetch-thread'
frame #0: 0x00000001c2942644 libsystem_kernel.dylibmach_msg_trap + 8 frame #1: 0x00000001c2941a48 libsystem_kernel.dylibmach_msg + 72
frame #2: 0x0000000196a210fc CoreFoundation__CFRunLoopServiceMachPort + 376 frame #3: 0x0000000196a1b570 CoreFoundation__CFRunLoopRun + 1176
frame #4: 0x0000000196a1aba0 CoreFoundationCFRunLoopRunSpecific + 572 frame #5: 0x0000000197c3a7f8 Foundation-[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 228
frame #6: 0x0000000197c3a6d8 Foundation-[NSRunLoop(NSRunLoop) runUntilDate:] + 88 frame #7: 0x00000001993b8054 UIKitCore-[UIEventFetcher threadMain] + 504
frame #8: 0x0000000197d974bc Foundation__NSThread__start__ + 848 frame #9: 0x00000001df22fc9c libsystem_pthread.dylib_pthread_start + 288
thread #10
frame #0: 0x00000001c296648c libsystem_kernel.dylib__workq_kernreturn + 8 thread #11 frame #0: 0x00000001df23486c libsystem_pthread.dylibstart_wqthread
thread #12
frame #0: 0x00000001df23486c libsystem_pthread.dylibstart_wqthread thread #13 frame #0: 0x00000001c296648c libsystem_kernel.dylib__workq_kernreturn + 8
thread #14
frame #0: 0x00000001c296648c libsystem_kernel.dylib`__workq_kernreturn + 8
(lldb)

Did you try to run my reproduce project?
I think you can easy to reproduce crash from my project.

This crash could be the result of BaiduMapKit embedding a version of nanopb that is incompatible with the version used by Firebase.

Hi @paulb777
Yes, I found some old ticket with the same issue with BaiduMapKit.
Any solution to fix it from firebase?
Thanks,

If BaiduMapKit is using nanopb via a CocoaPod without using the nanopb CocoaPod, there's not much we can do on the Firebase side.
They should either use the nanopb CocoaPod with matching preprocessor defines as Firebase or rename all the nanopb public symbols in their internal copy.

Yes, I see. But that difficult to request an update from BaiduMapKit.
They totally not working with GoogleAPI.

Closing since this seems to be a BaiduMapKit issue and not clear what we can do from Firebase.


Unable to add all cstor-pool recommendation jobs / testcases

What is the issue?

We have multiple cstor pool recommendation test cases that needs to be executed into the cluster3 but we are not adding that in the gitlab-ci.yml because of which test case coverage is very low.

What needs to be done

Cluster3 should be setup in the pipeline for Rancher with proper configuration.
Disk should be added to the cluster in rancher
And also we need to take this thing as priority to get coverage.

Let's target these into AWS for now. Since we have C3 cluster in AWS.
Rancher we can aim by early next week.

Some of the testplans are running in AWS. Few are remaining.

All the test cases are added in AWS .
https://github.com/mayadata-io/oep-e2e-aws/pull/14/files

@harshshekhar15 will add install testcases in rancher setup

There were issues with connectivity to Cluster 3 . Once this is resolved cstor pool testcases will be integrated.

blocked by https://github.com/mayadata-io/oep-e2e/issues/605

Now it is unblocked from https://github.com/mayadata-io/oep-e2e/issues/605

The following PR resolves the above issue - https://github.com/mayadata-io/oep-e2e-rancher/pull/41


PR: Add config manager stub

Description of Changes

[ ] Wrote at least one-line docstrings (for any new functions)
[ ] Added unit test(s) covering the changes (if testable)

[ ] Included a screenshot or animation (if affecting the UI, see Licecap)

Issue(s) Resolved

Fixes #
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @goanpeca

@ccordoba12 this could be a simple idea to replace the current CONF with a config manager that would provide and change the correct configuration depending on if the user has a specific project or not open.
Thoughts @ccordoba12 ?

We still have to think how to update spyder.ini when we change a default option

Hmmm I don't understand, could you expand a bit more on this?

and what to do with workspace.ini.

I will need to a add compatibility layer to handle this

Closing this one as https://github.com/spyder-ide/spyder/pull/9820 has all the work


Add checks for CFFs (and sanity check com.google.fonts/check/family_naming_recommendations)

In "Small general fixes" #1847 a change was made by Jens to Lib/fontbakery/specifications/name.py to remove this code,
if "CFF " in ttFont:
  field = "CFF Weight"
  weight_value = ttFont["CFF "].Weight

However, I think

[ ] we do need a "CFF" check file that checks values in the CFF table, such as
[ ] a check that the CFF.Weight value matches the OS/2.usWeightClass one

This seems tricky because the existing check for weight-and-naming stuff (com.google.fonts/check/071) has assumptions that are not valid for TTFs (weights should be divisible by 100s to avoid smearing) but only CFFs.

[ ] com.google.fonts/check/071 is huge and perhaps be broken down into smaller checks that are easier to comprehend?

@davelab6 I'm going to say that we don't need this (specifically you don't need this ;-) since GF is TTF-centric. I suggest that instead anyone who cares about CFF checks could contribute such checks, but at any rate this is not a P0 issue.


How to apply it to physical robots in real time?

I am currently exploring how to apply certain methods to physical robots in real time. In the gcbf+ code, I understand that just-in-time (JIT) compilation is utilized for acceleration, and all RolloutResults are computed at ones. However, I have encountered a challenge: in a physical system, it is necessary to re-acquire environmental information at each step to update the graph, recalculate the RolloutResult, and obtain the latest action control information.
In my practical applications, I found that this approach often leads to longer computation times. If possible, could you kindly share how you have addressed this issue? I would greatly appreciate your insights.
Here is my code and result:

Sorry, I misunderstood the meaning of the code. And I have solved this problem.

I solved this problem. Thanks!


Add [compat] bounds for all [deps]

To enable fast-track release of new versions.

Warms my heart

Looks like the Pull Request error is just a travis anomaly. The Branch passes fine.


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative/operations-wg-leads
/assign knative/operations-wg-leads
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/serving a794e1f...8f36565:
  > 8f36565 Simplify the HTTP Proxy test image a bit (# 12399)
  > 9c546a5 upgrade to latest dependencies (# 12398)
  > 580901b Avoid LRU in defaults configmap (# 12348)
  > 0cb0b81 Update net-gateway-api nightly (# 12396)
bumping knative.dev/eventing ab80d13...43aa796:
  > 43aa796 Fix channel template spec type for Sequence channel template field (# 5955)
bumping knative.dev/caching 50189aa...c29dc56:
  > c29dc56 Drop unnecessary dependencies on vegeta and licenseclassifier (# 582)
  > a2e8051 upgrade to latest dependencies (# 581)

/lgtm


Fix wrong format in 404 response

Description
In https://github.com/RedHatInsights/insights-results-smart-proxy/pull/1251 I was printing the whole struct, not the UUID.
Type of change

Bug fix (non-breaking change which fixes an issue)

Testing steps
Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

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

Project coverage is 71.36%.  Consider uploading reports for the commit 453585c to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1254   +/-   ##
=======================================
  Coverage   71.36%   71.36%
=======================================
  Files          25       25
  Lines        3964     3964
=======================================
  Hits         2829     2829
  Misses        855      855
  Partials      280      280

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


Version Updated

Version Updated to:
Confluence version 7.16.2 to 7.17.0

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

#sign-off


CTD on entering vehicle

I sometimes get a CTD when entering a vehicle.
I have IWN set for driving only.
I have changed the settings to double the distance between markers and generate half the markers.  (10/100)
It seems so far that it only happens if I have a destination set already when I go to enter the vehicle.
I believe it most likely to be a timing issue caused by the mod attempting to load the route at the same time the minimap is attempting to switch from on-foot to driving mode.
CTD Helper log attached
ctd_helper.log

Thanks for the log - it looks like it's crashing near this redscript line: https://github.com/jackhumbert/in_world_navigation/blob/main/src/redscript/in_world_navigation/InWorldNavigation.reds#L238

I just discovered that it sometimes CTDs also when sitting in a car and setting/changing missions. Again, it appears most likely to be an issue with the mod attempting to load the path at the same time it's being set/altered by the main game code.

Ignore this one.  Not caused by this mod.  It just happened to me again when I switched jobs and wasn't even near a car.  This one is caused by something else.
I'm still curious why three threads are in the UpdateNavPath method at the same time, though.

You ever figure out what was causing this?


Blocks can be instantiated with shorthand notation

Can i put one connection per line?

Can i put one connection per line?

Not yet, I'm working on it and the verification of the direction

No example given

Can i put one connection per line?

Yes, as of https://github.com/IObundle/py2hwsw/pull/47/commits/1f4261af6ee6291495ee389cfab41dcedf9b79ce

Checks need top be passing please

Please rewrite the iob_aoi to have all shorthand notations available


godotenv godot list doesn't work if you run a single installation with the -stable suffix

I tried to install Godot 4.3.0 stable via godotenv godot install 4.0.1-stable since godotenv godot list -r outputs versions with suffixes. After successful installation, godotenv godot list returns an NullReferenceException to output:
PS C:\Users\admin> godotenv godot list
ERROR
System.NullReferenceException: Object reference not set to an instance of an object.
  at Chickensoft.GodotEnv.Features.Godot.Domain.GodotRepository.<>c.<GetInstallationsList>b__48_0(GodotInstallation i) in \home\runner\work\GodotEnv\GodotEnv\GodotEnv\src\features\godot\domain\GodotRepository.cs:578
  at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
  at System.Linq.EnumerableSorter`1.ComputeMap(TElement[] elements, Int32 count)
  at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
  at System.Linq.OrderedEnumerable`1.GetEnumerator()+MoveNext()
  at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
  at Chickensoft.GodotEnv.Features.Godot.Domain.GodotRepository.GetInstallationsList() in \home\runner\work\GodotEnv\GodotEnv\GodotEnv\src\features\godot\domain\GodotRepository.cs:578
  at Chickensoft.GodotEnv.Features.Addons.Commands.GodotListCommand.ListLocalVersions(ILog log, IGodotRepository godotRepo) in \home\runner\work\GodotEnv\GodotEnv\GodotEnv\src\features\godot\commands\GodotListCommand.cs:25
  at Chickensoft.GodotEnv.Features.Addons.Commands.GodotListCommand.ExecuteAsync(IConsole console) in \home\runner\work\GodotEnv\GodotEnv\GodotEnv\src\features\godot\commands\GodotListCommand.cs:53
  at CliFx.CliApplication.RunAsync(ApplicationSchema applicationSchema, CommandInput commandInput) in \_\CliFx\CliApplication.cs:163
  at CliFx.CliApplication.RunAsync(IReadOnlyList`1 commandLineArguments, IReadOnlyDictionary`2 environmentVariables) in \_\CliFx\CliApplication.cs:204

After I tried installing 4.3.0 just without the suffix godotenv godot install 4.3.0, the godotenv godot list command worked, but started outputting two identical versions.
PS C:\Users\admin> godotenv godot list
4.3.0 dotnet *
4.3.0 dotnet *

Seems to be a bug due to the -stable suffix introduced for the version. I hope this repro will help to find the bug. This was a fresh installation of GodotEnv.

What do you mean by you were you installing 4.3.0 with 4.0.1-stable? Those are two totally different versions.

I'm sorry I made a mistake in my sentence. I was installing 4.3.0-stable and 4.3.0. :|


Remove satisfaction survey from application form

Context
A previous PR (https://github.com/DFE-Digital/apply-for-teacher-training/pull/3631) removed all references to the satisfaction survey. This PR removes the satisfaction_survey field on the application_form model.
Changes proposed in this pull request
Migration to remove field.
Guidance to review
This should only be merged once the other PR has been deployed to production.
Link to Trello card
https://trello.com/c/iOAu4fap/2689-remove-old-feedback-form-and-feature-flag
Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

The tests on this PR will fail until the other PR is merged


offer a ColorParser class capable of parsing common string input formats into an appropriate Color instance

@MichaelFenwick Are you open to pull requests for this library?  If so, I'd like to offer a ColorParser class to convert string representations => Color objects.

Still no rgba support...

is project alive?

@MichaelFenwick can we get 2.0.1 merged please?


Does not seem to handle negative percentage for letter spacing

Fixed & Published a new version, give it a try!


azure/logging: include default workbooks and alerts

We should consider including some default queries and alerts/dashboards (via Workbooks, e.g. the "Activity Logs Insights" https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log-insights)
I have no strong opinion whether we should deploy them via TF or leave this to ClickOps/manual exploration. But I think providing one or two useful alerts as starting points would be helpful

Monitoring Service Principal actions would be a good place for starting this.
More concretely: If the meshPlatform module is used, we can set up an alert if one of the service principals tries to access workload level Azure RM APIs (because meshStack does not touch workload by default, hence any activity there indicates a misuse of those service principals).


fix the build on OpenBSD

as per title, there isn't a <sys/timex.h> here.  (I suspect this is the case for other BSDs too, but can't check)
tested on OpenBSD-current with clang 11, but I used a similar patch to compile godot (which bundles basis_universal) for a while already.

Got it - thank you!

Thanks :)


Research on Kotlin and Java

This issue's goal is to research on kotlin and java, and to decide which one is the better option for our purpose.

We have decided to go with java for this android application.


Adding a choice not to make batches in timeseries_dataset_from_array

I made a change in timeseries_dataset_from_array so that users can have a choice to make batches or not do.
It solves #15645.

Thank you for your review. I added this in image_dataset_from_directory and text_dataset_from_directory.
Also, I added unit tests.
The shuffle method depends on batch_size. If batch_size is None, I think buffer_size should be len(dataset) or something.

should be len(dataset) or something.

In that case it should be a fixed constant, like 1024.

My pleasure.

There seems to be some failing tests -- please take a look.


Assignment

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
What did you learn from the changes you have made?
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[x] I can confirm that my changes are working as intended

coworker-changes branch not found in commit history: under git branch, there is a coworker-changes branch.
hyunh@user-Surface MINGW64 ~/user/OneDrive/UofT_DSI/assignments/assignment-1/shell (assignment)
$ git branch

assignment
assignment-1
coworker-changes
main
(dsi_participant)

You did a good job here!
You just need to work on the part 2 of the assignment. Step 7 is about this part of the assignment, double-check the code on that part and do the modifications. Thanks!


Add filter_map adaptor

Rust has it
It avoids code like this
        .map([&files_in_directory](const btu::Path &path) -> std::optional<btu::Path> {
            if (const auto it = files_in_directory.find(path); it != files_in_directory.end())
                return it->second;
            return {};
        })
        .filter([](const auto &path) { return path.has_value(); })
        .map([](const auto &path) { return path.value(); })

Please correct me if I missed an equivalent

So this would be an adaptor that takes a function of the form (T) -> optional<U>, and then yields those elements for which the optional is engaged, right?
I definitely think that that would be a nice thing to have.
We could re-use the optional_like concept for testing the return type of the mapping function:
template <typename O>
concept optional_like =
    std::default_initializable<O> &&
    std::movable<O> &&
    requires (O& o) {
        { static_cast<bool>(o) };
        { *o } -> flux::detail::can_reference;
    };

This would allow not just flux::optional and std::optional to be used, but also (for better or worse) raw pointers and smart pointers.
We could also think about adding a convenience function which does filter_map(std::identity) for the case where the sequence elements are already optional-like -- something like filter_deref?

So this would be an adaptor that takes a function of the form (T) -> optional, and then yields those elements for which the optional is engaged, right?

Indeed. Sorry for not describing it, I assumed it was known to you.
I've given some thought to your idea about optional_like. I don't like the idea of dereferencing pointers, as it could lead to dangerous behavior with smart pointers. Imagine this case (godbolt)
#include <vector>
#include <memory>
#include <iostream>

#include "https://raw.githubusercontent.com/tcbrindle/flux/main/single_include/flux.hpp"

// unique_ptr has compile error in map() and no time to investigate
// doesn't map() pass arguments as rvalue?
template <class T>
using Ptr = std::shared_ptr<T>;

int main() {
    std::vector<Ptr<int>> vec(100);

    flux::from(std::move(vec))
        .map([] (Ptr<int> ptr) { return *ptr; }) // oops
        // memory is freed...
        .for_each([](auto val) { std::cout << val; });
}

So I think we cannot reuse this concept. Maybe we could first look for .release() before dereferencing?

So this would be an adaptor that takes a function of the form (T) -> optional, and then yields those elements for which the optional is engaged, right?

Indeed. Sorry for not describing it, I assumed it was known to you.

Just making sure we're on the same page

I've given some thought to your idea about optional_like. I don't like the idea of dereferencing pointers, as it could lead to dangerous behavior with smart pointers. Imagine this case (godbolt)
#include <vector>
#include <memory>
#include <iostream>

#include "https://raw.githubusercontent.com/tcbrindle/flux/main/single_include/flux.hpp"

// unique_ptr has compile error in map() and no time to investigate
// doesn't map() pass arguments as rvalue?
template <class T>
using Ptr = std::shared_ptr<T>;

int main() {
    std::vector<Ptr<int>> vec(100);

    flux::from(std::move(vec))
        .map([] (Ptr<int> ptr) { return *ptr; }) // oops
        // memory is freed...
        .for_each([](auto val) { std::cout << val; });
}

The problem here is not that memory is freed too early: the vector is still alive for the whole duration of the for_each call. The problem is that std::vector<Ptr<int>> vec(100) creates 100 nullptrs, which map then dereferences without doing any checking. In other words, this example isn't doing the "filter" part of filter_deref :)
What I had in mind was more like this example, which seems to work okay.

(Also, the reason unique_ptr didn't work in your example is because the lambda passed to map was taking its argument by value, which was trying to copy a unique_ptr.
This is a point of difference between Flux and Rust iterators. In Rust, vec.iter() gives you an iterator over &T, whereas vec.into_iter() gives you an iterator over T.  In Flux, flux::ref(vec) gives you a sequence of T const& as you would expect; but flux::from(std::move(vec)) gives you a sequence of T&, not plain T, because we allow multipass iteration so we don't want to "use up" vector elements.)

The problem is that std::vector<Ptr<int> vec(100) creates 100 nullptrs

Oops haha. I expected it to crash and did not look further. Your second message explains my lack of understanding, I assumed the elements would be moved.
I haven't read the docs thoroughly, but I did not see this point at a first glance. Maybe it would be beneficial to add it somewhere in evidence? That is quite important in my opinion.
So, this is not the right place to ask that, but is there no way to consume the elements?

Anyway, with these info, I agree with you. We can reuse optional_like safely
Should I submit a PR?

The problem is that std::vector<Ptr<int> vec(100) creates 100 nullptrs

Oops haha. I expected it to crash and did not look further. Your second message explains my lack of understanding, I assumed the elements would be moved.
I haven't read the docs thoroughly, but I did not see this point at a first glance. Maybe it would be beneficial to add it somewhere in evidence? That is quite important in my opinion.

I don't think it's mentioned anywhere in the documentation at the moment. I was planning to write a "Flux for Rust users" document (along with "Flux for C++ Ranges users" and maybe others) but it's one of many things on the TODO list

So, this is not the right place to ask that, but is there no way to consume the elements?

There is no library-provided way to do this at the moment, although something like
auto as_rvalue = []<flux::adaptable_sequence Seq>(Seq&& seq)
{
    return flux::map(FLUX_FWD(seq), [](auto&& elem) -> flux::rvalue_element_t<Seq> {
        return static_cast<flux::rvalue_element_t<Seq>>(FLUX_FWD(elem));
    });
};

should work in 99% of cases. A proper solution would be an adaptor which replaces each call to read_at with a call to move_at. The reason we don't have that (yet) is because I need to carefully think through the safety implications -- specifically, should such an adaptor be single-pass only like in Rust (because we can only inspect each element once), or should we pass through the capabilities of the underlying sequence, like the map version above? I know @brevzin feels strongly that the latter option is the correct one, but I'd like to be sure.
Anyway, that's a bit off topic for this issue!

Anyway, with these info, I agree with you. We can reuse optional_like safely Should I submit a PR?

Please do, although I won't have a lot of time to work on Flux for the next month so apologies in advance if it takes a little while to review.


refactor(@schematics/angular): remove copyright header from universal schematic files

PR Checklist
Please check to confirm your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/angular/angular-cli/blob/main/CONTRIBUTING.md#-commit-message-guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

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

What is the current behavior?

Angular copyright headers are included in scaffolded files when adding Angular Universal support.
Issue Number: N/A
What is the new behavior?
The Angular copyright headers are no longer included in scaffolded files when adding Angular Universal support.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

@brandonroberts, thanks for this

@brandonroberts there was a CI issue with a recent update to lru-cache which should now be fixed. I think if you rebase CI should pass?

Thanks @brandonroberts, merged it in!

Thanks @dgp1130!


Implement Human

SpeciesNameGenerators -> GenerateName()
internal abstract class Human
RolesClasses.HumanFootballPlayer :
HumanAttacker
HumnaDefender
HumanMidfielder
HumanGoalkeeper

Fully implemented.


UNetLab-X-Integration open telnet sessions in one terminal window

Hello,
first of all, thank you for your UNetLab-X-Integration!
By your installation guide and "Known issues" (3-4), it's work for Google Chrome on my Debian GNU/Linux 8 (3.16.0-4-amd64). But, one question. Is it possible to open all telnet sessions in one x-terminal? Not in many x-terminals.

Yes, it is possible, but works with roxterm only (maybe somewhere else).
At first, update unetlab-x-integration to latest version.

Copy unetlab-x-integration.desktop to home directory:

cp -f /usr/share/applications/unetlab-x-integration.desktop ~/.local/share/applications

Open it for editing:

gedit ~/.local/share/applications/unetlab-x-integration.desktop

Add env OVERRIDE_TERMINAL_CMD="roxterm --tab -e"   to Exec line to get the following code:

[Desktop Entry]
Name=UNetLab-X-Integration
Exec=env OVERRIDE_TERMINAL_CMD="roxterm --tab -e" unetlab-x-integration %u
TryExec=unetlab-x-integration
Type=Application
Categories=Network;
MimeType=x-scheme-handler/telnet;x-scheme-handler/capture;x-scheme-handler/docker;
X-KDE-Protocols=telnet,capture,docker
NoDisplay=true

CC @jidckii

Hello, thanks for reply!

I install roxterm.
Install latest version of unetlab-x-integration.
Copy and correct unetlab-x-integration.desktop file.
But, browser by clicking the devices, still open every session in separated x-terminal
What changes I need to do, to open the browser as expected?

Does not work in Google Chrome only?
Try the command from #does-not-work-in-google-chrome-but-works-in-another-browser

Yes. Does not work in Google Chrome only. I  tried yet. But still in separated x-terminal, not in roxterm

Did you get this window after click by nodes?

Yes. When i click "Open...", open separated x-terminal console. I dont't know, why google chrome do not use roxterm

Could you run command xdg-open "telnet://route-server.he.net" multiple times to test it what works fine?

Yes. It works fine. It's opens in separated x-terminal consoles.
route-server>

Sorry, When I run "xdg-open...", I see error:

** (x-terminal-emulator:5888): WARNING **: Binding 'a' failed!
Unable to bind hide_window key, another instance/window has it.
<Window object at 0x7f68fa3399b0 (terminatorlib+window+Window at 0x280b040)> is not in registered window list

but, x-terminal console is opened and i see

route-server>

It's should open telnet session in new roxterm tab.
Try the next:
sudo update-desktop-database -q

xdg-mime default unetlab-x-integration.desktop x-scheme-handler/capture
xdg-mime default unetlab-x-integration.desktop x-scheme-handler/telnet
xdg-mime default unetlab-x-integration.desktop x-scheme-handler/docker

and test it again.

As before, don't work as expected

Please, run the next commands and paste result here
cat ~/.local/share/applications/mimeapps.list
cat ~/.local/share/applications/unetlab-x-integration.desktop

$ cat ~/.local/share/applications/mimeapps.list

[Default Applications]
image/gif=bl-image-viewer.desktop
image/jpeg=bl-image-viewer.desktop
image/png=bl-image-viewer.desktop
image/svg+xml=bl-image-viewer.desktop
text/plain=bl-text-editor.desktop
text/html=bl-text-editor.desktop
application/xml=bl-text-editor.desktop
application/javascript=bl-text-editor.desktop
x-directory/normal=bl-file-manager.desktop
x-directory/gnome-default-handler=bl-file-manager.desktop
inode/directory=bl-file-manager.desktop
audio/mpeg=bl-mediaplayer.desktop
audio/mp4=bl-mediaplayer.desktop
audio/x-wav=bl-mediaplayer.desktop
audio/aac=bl-mediaplayer.desktop
video/webm=bl-mediaplayer.desktop
video/x-ms-asf=bl-mediaplayer.desktop
video/x-theora+ogg=bl-mediaplayer.desktop
x-scheme-handler/capture=unetlab-x-integration.desktop
x-scheme-handler/telnet=unetlab-x-integration.desktop
x-scheme-handler/docker=unetlab-x-integration.desktop

$ cat ~/.local/share/applications/unetlab-x-integration.desktop

[Desktop Entry]
Name=UNetLab-X-Integration
Exec= env OVERRIDE_TERMINAL_CMD="roxterm --tab -e" unetlab-x-integration %u
TryExec=unetlab-x-integration
Type=Application
Categories=Network;
MimeType=x-scheme-handler/telnet;x-scheme-handler/capture;x-scheme-handler/docker;
X-KDE-Protocols=telnet,capture,docker
NoDisplay=true

Hmm, looks good.  I have no idea why it not working. Which desktop environment are you using?

Openbox

Oh, I try to install Openbox on a virtual machine and test it there.
Please, test this command too:
env OVERRIDE_TERMINAL_CMD="roxterm --tab -e" unetlab-x-integration "telnet://route-server.he.net"

and try to delete space after Exec= in your ~/.local/share/applications/unetlab-x-integration.desktop

env OVERRIDE_TERMINAL_CMD="roxterm --tab -e" unetlab-x-integration "telnet://route-server.he.net"

opened in roxterm.

and try to delete space after Exec=

not give effect

Do you have same output?

It is a bug in env (GNU coreutils) 8.23.
I found the workaround but it is ugly:

Delete double quotes, and replace spaces between arguments to the special characters (Ctrl-V + Enter in vi/vim), or just replace unetlab-x-integration.desktop with patched_unetlab-x-integration.desktop.zip

Amazing! It's work fine in google chrome now! Thank you very march!


net: getaddrinfo: Implement initial handling of host == NULL

If host is NULL and ai_flags are AI_PASSIVE in a call to
getaddrinfo(), need to return "any" address.
Signed-off-by: Paul Sokolovsky<EMAIL_ADDRESS>

@jukkar: Thanks for review, can this be merged then?


Add two functions that receive a lambda

Description
In many cases, we may use getResourceByUri() like this:
mediaStore.getResourceByUri(uri)?.let {
   // .. //
}

val mediaResource = mediaStore.getResourceByUri(uri)
if (mediaResource != null) {
  // .. //
 }

I think it could be a little bit more convenient with new functions instead of using scope functions every time.
What's the difference?
Added two functions that receive a lambda that has a MediaResource as a receiver.

withResourceByUri(uri: Uri, block: (MediaResource?) -> Unit)
withResourceByUriIfExist(uri: Uri, block: (MediaResource) -> Unit)

Before
mediaStore.getResourceByUri(uri)?.let {
    savedStateHandle.set("currentMediaUri", uri)
    _currentMedia.value = it
}

After
mediaStore.withResourceByUri(uri) {
    savedStateHandle.set("currentMediaUri", uri)
    _currentMedia.value = it
}

I think the function names are not the best choices. So If have any better ideas, hope to give me feedback.
Thank you! 😃

Thanks @skydoves for the PR. Sorry for the late answer, I should have pinged you earlier.
I'm now using the kotlin.Result type as return types for nearly all methods. It offers better result handling methods than what I've had so far. As of that change, I have to close your PR as it's not usable anymore with the new method signatures


Troubles with File("some.file", "r") and "rb" mode if file bigger then 50 Mb

tempdas reported this on 2021-10-06T04:19:15Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=22360
Description
Hello,

I faced with strange issue on MacOS, when I tried to open file more then 1 Gb:
It've got an error:
std.exception.ErrnoException@std/stdio.d(545): Cannot open file `DTM.NDS' in mode `rb' (No such file or directory)
----------------
??:?  _Dmain [0x108eb525c]

This troubles are present in many versions of DMD: 2.067-2.098.

I've tried to open this file via another languages (C++/Kotlin Native) using the same C runtime (File operations) and everything worked perfect.

I was surprised that this simple methods didn't work properly, this means we can't use DMD for serious project cause as I see current status of it is semi-working.

The same situation with Socket, it doesn't accept connection (all versions
after 2018), e.g. 2.066 working with socket well, but it has the same issue with opening big files...

tempdas commented on 2021-10-14T04:30:59Z
If tried to open file which size over 50Mb (on Windows) by using code:
	auto file = File();
	file.open(fileToTransfer, "r");

and I got error:
std.exception.ErrnoException@std\stdio.d(674): Cannot open file `myfilename.bin' in mode `r' (No such file or directory)
----------------
0x00007FF693BF5588
0x00007FF693C2D8D3
0x00007FF693C226F9
0x00007FF693C22641
0x00007FF693BF2FB0
0x00007FF693C2EC73
0x00007FF693C2EAEF
0x00007FF693C2EBDB
0x00007FF693C2EAEF
0x00007FF693C2EA16
0x00007FF693C24FE1
0x00007FF693BF3DD4
0x00007FF693C8CCCC
0x00007FF897537034 in BaseThreadInitThunk
0x00007FF898CC2651 in RtlUserThreadStart


[WIP] Add support for intel cloud hypervisor

Initial release of cloud hypervisor driver for kata-runtime
Related to issue 'Add support for cloud hypervisor 2046'
Signed-off-by: Johan Kuijpers<EMAIL_ADDRESS>

/cc @sameo

/test-ch

/test-ch

/test-ch

/test-ch

Hi @ericooper - thanks for updating. Given all the comments flying around, please could you post a comment here when you think the PR is generally ready for re-review.

Hi @ericooper - thanks for updating. Given all the comments flying around, please could you post a comment here when you think the PR is generally ready for re-review.

I think we have a misalignment of expectations here. This is a WIP for a hypervisor which itself is still in alfa stage and under heavy development. I've developed and published this driver to be able to start experimenting with cloud-hypervisor as soon as possible and to propell adoption of the cloud-hypervisor. I would like to focus first on the essentials and get it going and do the nitty gritty cosmetics at the end. This approach has proven to fail which is something I have to deal with.

Hi @ericooper - thanks for updating. Given all the comments flying around, please could you post a comment here when you think the PR is generally ready for re-review.

I think we have a misalignment of expectations here. This is a WIP for a hypervisor which itself is still in alfa stage and under heavy development. I've developed and published this driver to be able to start experimenting with cloud-hypervisor as soon as possible and to propell adoption of the cloud-hypervisor. I would like to focus first on the essentials and get it going and do the nitty gritty cosmetics at the end. This approach has proven to fail which is something I have to deal with.

I think @jodh-intel comment was very much aligned with that approach. He was saying that it's up to you to decide which comments you want to address and then decide when the PR is ready for a second round of reviews. I also agree with the approach of getting something that's acceptable and working merged first and then work on some of the nits/details from all the reviews that you got.
We only need to agree on what's acceptable as a mergeable PR, and I'm hoping that you can drive that discussion.

Hi @ericooper - this branch needs a rebase to resolve a conflict in rootless.go.

@jcvenegas

@ericooper changed the kernel to use kata virtiofs kernel build, feel free to drop or squash the commit

Thanks for fixing the PR. The change should not be dropped since it is expected that if we want CloudHypervisor working with Kata, Kata will have to use virtio-fs.

Thanks -- I'll fix the merge conflict, then let's merge!

/test

/test-ch

/test

/test


Trained Model

Hi!
First of all thank you for sharing the code and the trained model in a public repo. It was really helpful. I wonder if the models "model_optimized.tflite" and "model.tflite" has been trained with gray images.  During the inference you pass the faces cropped from the image in gray scale but que tensor input has 3 channels. Is there any reason? Thank you!

Im sorry for the late late reply since somehow missed the notification about this issues . It shouldn't be necessary to pass the grayscale image as 3 channel. In this case, i just forgot to properly preprocess the input of inference. Thank you for the feed back!


Fix setGroupsToDisplay's handling of array arguments

Fixes #624
Checklist

[x] I have made a material change to the repo (functionality, testing, spelling, grammar)
[x] I have read the [Contribution Guide] and my PR follows them.
[x] I updated my branch with the master branch.

Short description of what this PR does:
Fixes #624: Fix setGroupsToDisplay's handling of array arguments

 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.Mo Iz seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Hello @moismailzai,
It looks like the tests need to be updated. If you want to give that a go locally, I suggest you use our Docker solution.
Otherwise, I've added this to our backlog for review.
Thanks!
With Best Regards,
Elmer

hi @thinkingserious, thanks for pointing me in the right direction -- first PR with tests. Looks like the test's control object was catered to the broken behaviour (asm.groups_to_display was wrapped in a secondary array, which would cause a 400 error against the live API). I removed the wrapping array.

Hello @moismailzai,Thanks again for the PR! We want to show our appreciation by sending                                              you some swag. Could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX

Happy to contribute and excited for the the swag -- thank you @thinkingserious !


#7

Expect another PR from me that fixes these:

Remove useless if statements that check for aiohttp and requests installation. This is because both are installed with this module and the if statements are absolutely useless. Probably more useless than the second page of google search. Or more useless than a ropeless skipping rope, or a shoe umbrella or a noodle fan.

Btw join my server by clicking here

Also, I have

my own API which you visit here
my own discord bot which you can invite by clicking here
And the bot has its own documentation which is hosted here


first commit

This PR has been successfully rebase! Branch was deleted. | Thanks for your contribution!