Windows 10: panic during OpenGL initialization

Hi, dear sir.
I am looking forward to trying this tool. However, when I use strangepg, I encounter an error:
## example 1
$ strangepg -l pfr -t 8 03.232.gfa
[sapp][panic][id:48][line:11280]
ABORTING because of [panic]
Aborted (core dumped)

## example 2
$ strangepg  00.gfa
collectgfanodes: done
[sapp][panic][id:48][line:11280]
ABORTING because of [panic]
Aborted (core dumped)

I installed strangepg using conda.
strangepg version
$ strangepg -v
0.8.6

Linux system info
$ uname -a
Linux mn01 3.10.0-1062.el7.x86_64 #1 SMP Wed Aug 7 18:08:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

I am not familiar with C language. Could you please give me some advice on how to resolve this issue?
Thank you!

Hi, could you give a few more details about your setup?

Which linux distribution are you using?
Is this under WSL on Windows?
What kind of CPU and graphics chip does the machine you are running it on have?

The only such issue I know of is trying to run this on Ubuntu under WSL, with the exact same error.
OpenGL initialization fails but the logger doesn't provide more details.
It might have to do with sokol_gfx's minimum supported GL version (IIRC 4.1), or maybe the use of OpenGL itself.
Unfortunately I don't currently have access to a Windows machine to debug this.
Perhaps if it's the same issue it could give us some hints.

I'm not on a WSL system and  on a small server. I want to use a graphical interface tool to access the graphical interface of the remote server.
linux distribution information
Wed Oct 09 09:08:09 stu_zhangyixing mn01~
$ cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CPU information
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                64
On-line CPU(s) list:   0-63
Thread(s) per core:    2
Core(s) per socket:    16
Socket(s):             2
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 85
Model name:            Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz
Stepping:              7
CPU MHz:               2300.000
BogoMIPS:              4600.00
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              1024K
L3 cache:              22528K
NUMA node0 CPU(s):     0-15,32-47
NUMA node1 CPU(s):     16-31,48-63
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 cdp_l3 intel_ppin intel_pt ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts hwp_epp pku ospke avx512_vnni md_clear spec_ctrl intel_stibp flush_l1d arch_capabilities

graphics  information
$ lspci | grep -i vga
02:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200e [Pilot] ServerEngines (SEP1) (rev 42)

Thanks, though am I correct in assuming that these are the remote machine's specs and that you are sitting in front of a second machine connected to that remote server, and using something like X11 forwarding? If so, please post the specs of your local machine.
From what I understand, the GPU of the machine above is only a basic card capable of driving a small resolution display for diagnostics only, used in rack servers and similar, and the Xeon does not have an integrated graphics chip either, so I'd be surprised if this is the only machine in the setup.

I correct in assuming that these are the remote machine's specs and that you are sitting in front of a second machine connected to that remote server, and using something like X11 forwarding?

Yes, I  use tools like Xshell, SFTP, and X11 to access the remote server. This server is rack servers and does not have GPU computing capabilities. I checked both the compute nodes and the login node of this server using lspci | grep -E "VGA|NVIDIA", and the result both were : 02:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. MGA G200e [Pilot] ServerEngines (SEP1) (rev 42). Matrox MGA G200e is the only  GPU of the machine.

If so, please post the specs of your local machine.

Win 10
CPU : 11th Gen lntel Core i5-11400 @ 2.60GHz
GPU : intel UHD Graphics 730
ABORTING is likely not related to my local computer.

Ah! So you are indeed on a Windows computer, even though you are not using WSL on it? If that is the case, it would seem that strangepg is broken on Windows as a whole. I don't have access to a Windows computer to debug this right now, but I'll get one soon.

I ran strangepg on a remote server, but it returned an error In a few seconds. After checking the GPU, We found that it is too poor or outdated, I believe that  error with strangepg should not be related to my personal computer (win 10). My computer is just used to connect to the server. I apologize for my poor English; I may have caused you some trouble.

No worries, I think I understand. strangepg uses hardware acceleration and requires at least OpenGL 4.1, ideally 4.3, which date back from 2011-2012, so it makes sense that it wouldn't work on the server if it only has the Matrox card. On Windows, the problem is indeed not the machine, but some assumption that isn't met. I'm not sure anyone has really tried to run something built with that particular graphics framework in that way since it's mostly used for rendering in 3D games, there's no reason to do anything like X forwarding there. I'll investigate once I have some time with a Windows machine on hand.
Thanks for testing! I'll update the issue's title.

I look forward to your good news ！

I got access to two Windows 10 machines to test on, and unfortunately I don't believe this is solvable.

From what I understand, you are using Xshell with X11 forwarding. However this approach requires the remote machine to also support the same features (at least OpenGL 4.1), which is not the case. The fallback would be software rendering, which obviates any advantage of using strangepg, as its rendering performance is due to efficient use of features in newer OpenGL versions. It performs very well even on Intel graphics on laptops from 2014, but it needs those capabilities. Other applications such as Bandage use Qt rather than a light and game-oriented header-only library like sokol_gfx, and I suspect Qt has a lot of code for fallbacks for rendering with older versions of OpenGL and network protocols. I tested X11 forwarding between my laptop and a Windows machine on the same local network and that worked fine, but both machines have graphics cards supporting at least OpenGL 4.3.

I also tested using WSL2 on local Windows machines, which sounded more promising; however, with the same exact setup, it works on one machine but not on the other. We tried everything, but couldn't figure out why this would be the case. You could try WSL2 on your machine, and perhaps that would work. We tested specifically with Ubuntu 22.04 and 24.04, but 24.04 has some known bug which causes a huge drop in rendering performance. I recommend trying Ubuntu 22.04; you'd just need to install make, gcc (or clang), and run the apt command from the README to build strangepg. It might work, but again, I have no idea why it doesn't on some machines.

For Windows, the best solution would be just to port it natively, which wouldn't require that much code, but I currently have other tasks with much higher priority. A port might take me a few days or a few weeks, I don't know. Unfortunately, for the time being WSL2 or X11 forwarding to a different machine are the only possibilities for Windows. I know at least Bandage/BandageNG work reliably both with WSL and with X forwarding, so if it doesn't work with WSL, they remain the only option for now.

What a pity. I will try WSL2 on my  machine in my spare time.

strangepg can now build in MobaXterm, producing native Windows executables on at least Windows 10. Other Cygwin-based environments may also work, but it's untested. The downside is that strangepg has to be run inside of a MobaXterm terminal, ie. the .exe file cannot be copied and used outside of it (because it requires some Cygwin DLL files).
Depending on your usecase, this may already be a solution. strangepg can be built on MobaXterm's free version, and after connecting to the remote server in a manner similar to sshfs, you could view the files directly on your Windows computer with no performance penalty, as opposed to X11 forwarding in any scenario.
Please refer to the README for how to build and install strangepg in MobaXterm. There might be a few bugs related to mouse picking which I will fix shortly, but it should otherwise work just fine.

Cool ! I'll try.

There now is native Windows (DirectX 11) support, though a binary must be built on Linux (or WSL). There's no real GUI so it still has to be run from a terminal (cmd.exe, Powershell, etc.). I haven't figured out how to share binaries built directly with Github Actions yet, but they will be added for Releases. I tested the ones I've built on Windows 7 and 10, and also through Wine.
I'm closing this issue for now as this is an effective solution for running strangepg on Windows. The underlying issue here seems to be that with X11 forwarding, the server also needs a compatible GPU, which rack servers typically do not have. Even if it did work, the performance hit from network latency to a remote server would severely undermine any advantage of using strangepg to begin with. Importing files via sshfs or similar and visualizing them directly on the user's machine incurs no performance penalty whatsoever and takes full advantage of the graphics capabilities of the machine. Loading files has been optimized and should be fairly fast even over a slow network, but either way the rest of the application is unaffected by slow file loading. This applies to all platforms, including Linux and macOS.
Please feel free to open another issue if there are problems with this approach as well. While I'm fairly confident that it should work, I'm not a Windows user and there might still be breakages I haven't found.
Thanks!


Ontotools vm staging

@falquaddoomi I think we can merge this at your own discretion. I added phenio and vbo, let me know if this works. :) Maybe just deploy this for now, and we worry about how to streamline the redeploy process in a subsequent step.

Hey @matentzn, I was able to import vbo, but I'm seeing thousands of the following errors for phenio in the log, and the import never seems to complete:
22:04:19.720 [main] WARN  u.a.e.s.o.l.ELKOWLOntologyLoader fillAllRelatedParents - Cycle detected where http://purl.obolibrary.org/obo/CARO_0001008 is related to one of its decendants

Any idea what might be going on? Thanks, and sorry for the delay.


Is it possible to center a text?

Is it possible to center a text on the console.

Colorful.Console doesn't expose an easy way to do this (though support for text alignment is planned for the future), but if you only need to center regular text, and not Figlet text, this isn't too hard to implement yourself.  Try something like this:
https://stackoverflow.com/questions/12847960/centering-text-in-c-sharp-console-app-only-working-with-some-input
Basically, all you need to do is add sufficient padding to the beginning of the string you want to write.  Does that help?


Add rake update_dependencies to automatically update internal dependencies

We’ve spent enough time doing this manually, time for the bots to take over

Thanks, I updated the PR and resolved the merge conflicts after the xcpretty update 👍


chore(deps): bump minimatch to fixed version

[FX-NNNN]
Description
Remove vulnerability by updating minimatch to fixed version 3.0.5.
We need to use resolutions to fix this issue since there are no updates for parent dependencies. Minimatch is widely used and we need to affect only specific repo.
How to test

CI should be green

Screenshots

Before.
After.

Development checks

[x] Add changeset according to guidelines (if needed)
[x] Read CONTRIBUTING.md and Component API principles
[x] Make sure that additions and changes on design follow Toptal's BASE design, and it's been already discussed with designers at #-base-core
[x] Annotate all props in component with documentation
[x] Create examples for component
[x] Ensure that deployed demo has expected results and good examples
[x] Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.
[x] Self reviewed
[x] Covered with tests

All development checks should be done and set checked to pass the
GitHub Bot: TODOLess action

PR commands

List of available commands:

@toptal-bot run package:alpha-release - Release alpha version
@toptal-anvil ping reviewers - Ping FX team for review

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.
A PR owner must reply with ✅ when a comment is addressed.

@toptal-anvil ping reviewers


chef-automate config patch waits for healthy status

The chef-automate config patch command waits for up to 10 minutes for a healthy status.  We should either remove this check or make the timeout configurable to make it easier to use in automation.

For the a2-ha-backend stuff, a --no-wait flag on config patch would be ideal. Since we know we're temporarily putting it into a broken state. IE setting a new DB password on the frontend, just before we set it on the backend.

Could we please notify in #_a2_ha_backend once this change is complete? ❤
That way we can undo a temporary workaround in https://github.com/chef/a2-ha-backend/pull/249


Improve installation script

@SunsetTechuila I will merge this once i test this.
And all this scripts were enhanced and fixed by @windowz414 so it would be great if Beru has time to review this. It's alright if you're busy @windowz414

oops


Tags in YAML?

Hi! Thanks for great software. I've noticed that you´ve done some updates of the export functions recently. Do you plan to include tags in YAML when exporting notes as markdown together with time-information? That's a function I very much would like to see as a way to preserve future compatibility!

Hi, thank you for the suggestion.
I understand the exportability is important for your workflow.
It would be nice to support including tags and dates in exported YAML frontmatter.
The problem is that people have various preferences for the exported format.
Some people may not want to include tags. Some people may want to include tags in keyword: instead of tags: field. That depends on their preferences.
So, I would rather add more flexibility that allows you to customize the export format than just adding the tag support. But that would take some time to accomplish it. I think integrating with micromark to process markdown would be great.
Currently, I'm working on the current roadmap here.
Let me revisit this after finishing it!

Thanks for your answer! A future option to customize the export format, would of course, be very much appreciated. I understand that it will take some work/time, but great to hear that it´s something you will consider in the future. Take care!

live-export supports exporting notes while tweaking their YAML frontmatters programmatically. Check it out.


mesh shader culling

Description
Adding a mesh sample that demonstrates basic culling.  Include a tutorial to describe basic ideas and link to best practices.
General Checklist:
Please ensure the following points are checked:

[x] My code follows the coding style
[x] I have reviewed file licenses
[x] I have updated the header Copyright to reflect the current year (CI build will fail if Copyright is out of date)
[x] I have commented any added functions (in line with Doxygen)
[x] I have commented any code that could be hard to understand
[x] My changes do not add any new compiler warnings
[x] My changes do not add any new validation layer errors or warnings
[ ] I have used existing framework/helper functions where possible
[ ] My changes build on Windows, Linux, macOS and Android. Otherwise I have documented any exceptions
[ ] My changes do not add any regressions
[ ] I have tested every sample to ensure everything runs correctly
[ ] This PR describes the scope and expected impact of the changes I am making

Sample Checklist
If your PR contains a new or modified sample, these further checks must be carried out in addition to the General Checklist:

[x] I have tested the sample on at least one compliant Vulkan implementation
[ ] If the sample is vendor-specific, I have tagged it appropriately
[x] I have stated on what implementation the sample has been tested so that others can test on different implementations and platforms
[x] Any dependent assets have been merged and published in downstream modules
[ ] For new samples, I have added a paragraph with a summary to the appropriate chapter in the samples readme

This PR depends upon #541 being merged first.  It will not build correctly until changes in there are merged into here.

glslang was updated with a breaking change for us.  Given that #541 has one approval, I figured I'd do the required changes here and get glslang to the latest version. Thus we need to merge #541 and then this to capture the latest glslang required updates.
This PR is ready to review on its' own now.

The sample also need to be added to the samples listing readme.

TVM. This reads a lot better now! 👍

I would like to review this, but when I hit the "Start a review" button or the "Add single comment" button in the "Files changed" tab nothing happens.
Any ideas?

I'm not sure, it seems to work okay when I try to do it here.  If you have clion or Android studio you can do reviews through the GitHub plugin.

Hi @aurolou, can you test this one out on AMD?  This is a DT sample - would be good to make sure it's OK on your HW.  Also, please look at Sascha's descriptor buffer sample again (PR 600) - hopefully the TDR issues is fixe now.  Thanks for your help!

@asuessenbach: Did you do a clean checkout and cmake cache delete? I've been having similar troubles with other PRs in the past cause I'm usually just switching PR branches.

@SaschaWillems Indeed, deleting the caches and updating some submodules did help. Thanks for that hint.

Hi @aurolou, could you check this sample on AMD HW before we merge?  We think it's ready.   Also, if you could re-run the descriptor buffer sample ( PR 600:  ), that one is hopefuly working now too.  Thanks!

Sure,  I always accept help when it's offered :)

@gpx1000 I've sent you another version of a task/mesh shader that might show the "power of task shaders" a bit more...
After dispatching NN task shader workgroups with vkCmdDrawMeshTasksEXT, there are 22 task shader invocations per workgroup. Some culling is performed in that shader, and a variable number of mesh shader workgroups (0....4) is emitted from one invocation per task shader workgroup. There are 2*2 mesh shader invocations per workgroup, each emitting 2 triangular primitives with 4 vertices.
That is, the final drawing looks a bit different than before.
Again, feel free to use that approach to your liking.

asuessenbach

Thanks for the contribution; it is now part of the sample.


Settings and pokémon

@Aegyo all good on my part, I added a new alt setting so hopefully, it doesn't block everything


Return errors for a group’s dependant predicates if any have failed

Without this change, a schema with group rule would crash if any of those group’s dependant predicates failed (e.g. if you had a schema with confirmation(:password) that you called with either the password or password_confirmation keys missing or with empty values).
Previously, with a simple schema like this, using the new confirmation shortcut:
schema = Class.new(Dry::Validation::Schema) {
  confirmation(:password)
}.new

Calling with missing input values will result in a crash:
> schema.call({})

NoMethodError: undefined method `input' for nil:NilClass
from /Users/tim/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/dry-validation-cb895f62ba6c/lib/dry/validation/schema.rb:75:in `block (2 levels) in call'

The same thing happens if at least one of the input values is empty:
> schema.call(password: "hi", password_confirmation: "")
NoMethodError: undefined method `input' for nil:NilClass
from /Users/tim/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/bundler/gems/dry-validation-cb895f62ba6c/lib/dry/validation/schema.rb:75:in `block (2 levels) in call'

Now, it won't crash, and it'll actually return the error messages for the failed dependant predicates:
> schema.call(password: "hi", password_confirmation: "")
=> #<Dry::Validation::Schema::Result params={:password=>"hi", :password_confirmation=>""} errors=#<Dry::Validation::Error::Set:0x007fcab1288538 @errors=[#<Dry::Validation::Error:0x007fcab12884c0 @result=#<Dry::Validation::Result::Value success?=false input="" rule=#<Dry::Validation::Rule::Value name=:password_confirmation predicate=#<Dry::Validation::Predicate id=:filled?>>>>]>>

> schema.messages(password: "hi", password_confirmation: "")
=> #<Dry::Validation::Schema::Result params={:password=>"hi", :password_confirmation=>""} errors=[[:password_confirmation, ["password_confirmation must be filled"]]]>

Thanks man!


Asterisk does not start after 2.0.0

After updating to 2.0 I cannot connect anymore from the SipJS card, I've restored the backup from 1.3 for now and it is workin again. I also don't see any logs as why it is not working.

[cont-init.d] asterisk.sh: exited 0.
[cont-init.d] asterisk_mbox.sh: executing...
[cont-init.d] asterisk_mbox.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

I do not see any output from asterisk in the log.
However, when I run a shell in the container I can see that it seems to be running.
When trying to do a asterisk -rvvvvdddd it crashed with an illegal instruction.
Wrong architecture packaged?

That's it. It gets built automatically by this.

Apparently, it was trying to run an instruction for AVX2 architecture on a system which lacks support for AVX2 instruction set.

So, it seems that Asterisk isn't built in a portable way. It gets tied to the environment which first built it.
I suspect there is something in the Makefile to tweak this behavior.
For example, that BUILD_NATIVE.

I just verfied that my host CPU supports AVX and AVX2 instructions.
So maybe it is not related not it.
I wonder if BUILD_NATIVE was really set when compiling started.
When experimenting with it, I also realized that sometimes an enabled option was disabled again.
However, I verfied that the current source works with builing locally on HAOS and prebuilt with the builder provided by HA.
Strange....

However, I verfied that the current source works with builing locally on HAOS and prebuilt with the builder provided by HA.

Exactly, that's how we didn't catch it in our tests.

Let's try to isolate the issue at least. I'm using amd64 and I can replicate the issue. Is there anyone here who is using ARM?

I can confirm the issue happens when I build and push the image by myself, with or without Docker Buildkit.
docker build asterisk --push

From my PC, then HA downloads it and same issue happens.

Fix: https://github.com/TECH7Fox/asterisk-hass-addons/pull/128

@stefanschoemaker Just out of curiosity: What system do you have?
I am using a Synology DS1821+.
Home Assistant is installed in a Synology VMM virtual machine using HA OS.

I'm running a Proxmox host with a Ryzen 3700X and installed HassIO with the original VM image using the following script:
https://raw.githubusercontent.com/Kanga-Who/home-assistant/master/hassos_install.sh

I have an Intel J4125 Gemini Lake btw.

v2.0.1 is out, with a fix for this. Could someone other than me test and confirm?

Yes, I will test it right now.

I have removed the addon and reinstalled with everyhting clean.
Unfortunately, it does not seem to work properly during startup.

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
-----------------------------------------------------------
 Add-on: Asterisk
 PBX server for SIP devices like doorbells and phones
-----------------------------------------------------------
 Add-on version: 2.0.1
 You are running the latest version of this add-on.
 System: Home Assistant OS 7.5  (amd64 / qemux86-64)
 Home Assistant Core: 2022.3.5
 Home Assistant Supervisor: 2022.03.4
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
[cont-init.d] 00-banner.sh: exited 0.
[cont-init.d] 01-log-level.sh: executing...
Log level is set to DEBUG
[cont-init.d] 01-log-level.sh: exited 0.
[cont-init.d] asterisk.sh: executing...
[13:47:21] INFO: Configuring certificate...
[13:47:21] INFO: Using existing certificate as 'generate_ssl_certificate' is disabled...
[13:47:21] INFO: Configuring Asterisk...
sending incremental file list
./
sent 2,634 bytes  received 20 bytes  5,308.00 bytes/sec
total size is 693,679  speedup is 261.37
[cont-init.d] asterisk.sh: exited 0.
[cont-init.d] asterisk_mbox.sh: executing...
[cont-init.d] asterisk_mbox.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[13:47:22] INFO: Starting Asterisk...
[services.d] done.
[cmd] /bin/bash exited 0
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing...
/usr/lib/bashio/config.sh: line 56: printf: write error: Broken pipe
[cont-finish.d] 99-message.sh: exited 0.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

I have started the container manually with a shell.
I am able to start asterisk without any crash now.

So something seems to wrong with the init system.
Any new ideas?

This the command start the container starts:
/init /bin/bash -euxo pipefail -c '#(nop) ' 'ENV ASTERISK_VERSION=18.10.1'

Is this supposed to be like that?
Most other containers with S6 just do:
/init

Checking

This guy here had the same issue: https://community.home-assistant.io/t/help-figuring-out-why-my-addon-wont-start/326976
It seems he solved it by addig this in his addon docker file:
https://github.com/YoloDev/hass-addons/blob/main/enet/Dockerfile#L25-L26

Confirmed that it solves the issue:
❯ docker run --pull=always --rm -d ghcr.io/tech7fox/amd64-addon-asterisk:2.0.1 && docker ps | grep asterisk
fa8a0664d824   ghcr.io/tech7fox/amd64-addon-asterisk:2.0.1   "/init /bin/bash -eu…"   Less than a second ago   Up Less than a second             sweet_villani

❯ docker run --pull=always --rm -d ghcr.io/tech7fox/amd64-addon-asterisk:2.0.2 && docker ps | grep asterisk
df7969e82321   ghcr.io/tech7fox/amd64-addon-asterisk:2.0.2   "/init"   1 second ago    Up Less than a second             magical_nash

@felipecrs Could you please explain why enabling buildkit solves the issue? I would like to learn something new… 😉

Idk why, but buildkit produces different (more modern and less cluttered) image manifests. In the manifest, you can see the CMD being set. So, I had the idea to build with buildkit (which is the default nowadays, the addon-builder is probably lagging behind).
I can't explain why exactly the issue happened.

I just installed 2.0.2 in my HA and it's working. Can someone else confirm?

Confirmed. It is working now!
Good job!


order Book dimension

Hi Joao, greetings
Congratulations on your repository. I see that your project relied upon the MetaTrader5 python module, however, the same package lacked some flexibility. For example, with market_book_get() https://www.mql5.com/en/docs/integration/python_metatrader5/mt5marketbookget_py
we get 5 buy and 5 sell orders, as default.  How could we change the offer Book dimension?

Hi @excellentiam-prog,
Thank you for your kind words about the repository. As of now, there isn't a solution to change the offer Book dimension using the MetaTrader5 python module. It would indeed be amazing if such flexibility was available. I'll keep an eye on updates and possible workarounds. If I find anything, I'll surely update the repository.
Best regards


[AutoPR cognitiveservices/data-plane/ContentModerator] [Cognitive Services] Fix metadata types for Content Moderator.

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3681

This PR has been merged into https://github.com/Azure/azure-sdk-for-java/pull/2315


XLA decides to transpose huge parameter matrices

Description
I've encountered an interesting situation that I've described in more details here: https://github.com/google/jax/discussions/20284#discussioncomment-8815174
Basically, the problem is as follows:

I've written some code for running inference on a large model that does a lot of large matmuls.
The model is so large that only one copy of model parameters will fit into GPU memory.
Unfortunately, for some reason XLA decides to transpose all model parameters at the beginning of inference, thus effectively doubling memory consumption.

I've tried to produce a small repro for my problem, but, unfortunately, was unable to achieve the same behavior within a simplified example. I can however provide HLO for my inference code if that would be of any help.
Basically my main questions are these:

Is there any mechanism I can use to prevent XLA from transposing my parameter matrices? I'm happy with less efficient matmuls if I can avoid OOM.
XLA could have done transposes on-the-fly, allocating memory just before matmuls and deallocating after, which would also have been relatively fine. However it decided to do it once in advance for all parameters, presumably because parameters are being re-used in a scan loop multiple times. Perhaps there is a way to avoid this behavior, doing transposes only when they are needed and deallocating the memory right after?

Overall, it seems that in my case there might exist a tradeoff between memory consumption and efficiency, and XLA optimizes for efficiency, ignoring memory constraints of the device, which is not ideal. Perhaps it can somehow be made to respect device constraints when deciding on optimizations?
System info (python version, jaxlib version, accelerator, etc.)
jax:    0.4.25
jaxlib: 0.4.25
numpy:  1.24.3
python: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
jax.devices (8 total, 8 local): [cuda(id=0) cuda(id=1) ... cuda(id=6) cuda(id=7)]
process_count: 1
platform: uname_result(system='Linux', node='hr0nix-dev-8-gpu', release='5.4.0-155-generic', version='#172-Ubuntu SMP Fri Jul 7 16:10:02 UTC 2023', machine='x86_64')

$ nvidia-smi
Mon Mar 18 19:22:10 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.104.12             Driver Version: 535.104.12   CUDA Version: 12.3     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA H100 80GB HBM3          On  | 00000000:8D:00.0 Off |                    0 |
| N/A   35C    P0             116W / 700W |    539MiB / 81559MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   1  NVIDIA H100 80GB HBM3          On  | 00000000:91:00.0 Off |                    0 |
| N/A   31C    P0             114W / 700W |    539MiB / 81559MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   2  NVIDIA H100 80GB HBM3          On  | 00000000:95:00.0 Off |                    0 |
| N/A   34C    P0             114W / 700W |    539MiB / 81559MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   3  NVIDIA H100 80GB HBM3          On  | 00000000:99:00.0 Off |                    0 |
| N/A   30C    P0             112W / 700W |    539MiB / 81559MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   4  NVIDIA H100 80GB HBM3          On  | 00000000:AB:00.0 Off |                    0 |
| N/A   35C    P0             114W / 700W |    539MiB / 81559MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   5  NVIDIA H100 80GB HBM3          On  | 00000000:AF:00.0 Off |                    0 |
| N/A   31C    P0             115W / 700W |    539MiB / 81559MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   6  NVIDIA H100 80GB HBM3          On  | 00000000:B3:00.0 Off |                    0 |
| N/A   34C    P0             117W / 700W |    539MiB / 81559MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+
|   7  NVIDIA H100 80GB HBM3          On  | 00000000:B7:00.0 Off |                    0 |
| N/A   30C    P0             111W / 700W |    539MiB / 81559MiB |      0%      Default |
|                                         |                      |             Disabled |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
+---------------------------------------------------------------------------------------+

Could you transpose the original weight directly?
That way, XLA won't do the transpose at all.
All other options XLA could do would be slower.
Otherwise, you could dump the HLO after each optimization pass. With that, find which pass does this, then use an XLA flag to disable it (and hope this doesn't cause other issues).
You can dump the HLO like this:
XLA_FLAGS="--xla_dump_to=A_DIRECTORY_NAME --xla_dump_hlo_as_text

How can I distinguish between different optimization passes?

Turned out in my case the undesired behavior can be turned off by using --xla_gpu_enable_dot_strength_reduction=false. It does come with significant performance reduction though.

The problem as I understand it was that I was running inference with batch size 1, which meant that some of my matmuls were matrix-vector products. One of the XLA transforms rewrites such matmuls to make them more efficient, but it might require transposing the matrix. xla_gpu_enable_dot_strength_reduction=false seems to disable this rewrite.


Can I use sumologic to send error logs like loggly?

I am looking for package or API call to send custom logs to loggly of my website.
expected input
post api/endpoint
{
 errorMsg: '",
 etc: ....
}

Is that possible? Right now only able to find how to monitor node.

You can find supported exporters here, please also see our documentation


Request: add more formatting options for MGRS

It would be useful to provide:

options to add spaces between UTM grid, MGRS grid, easting, and northing
ability to retrieve those into separate variables, similar to DMS::Encode()

For both this and DMS, personally I'd like to be able to fetch into (or have these returned as) a struct instead, but understand that's a style choice.
For context, I'm trying to use this library for a community open source tool for the game DCS World; it's pretty close to 'real', with the exception that it picks one UTM meridian per map, even when the maps expose multiple zones. The generated MGRS coordinates need to be in an easily readable format for entry - and different aircrafts/systems support different levels of detail. Spacing between northern/easting would be particularly useful.

For example, A-10C pilots are used to reading and inputting coordinates in the form 38T LM 36117 63595. Spaces between northing and easting helps when a particularly precise fix is not needed, as they can then enter LM 361636

This is doable as MGRS::Decode to split the any MGRS code into zone, block, easting, northing.  I would envision these all being strings.  There would be no need for an Encode function, since concatenating the strings together would do the trick.

Please verify the functionality of MGRS::Decode (on the devel branch).  This will be included in the next release.


chore: repo cleaning, remove unused code paths

Closes #82.

add circomlib in circuits. Fixes circom-lsp path issues.
silence logs in tests
refactor codebase to remove unused code paths (in progress)

work started, a lot of circom to clean up and de-duplicate.
There are several tests that fail to compile at the moment, most notably the aes-gcm circuit appears to be broken. @0xJepsen maybe we could fix this when we pair. repro: npx mocha -g aes-gcm

Why duplicate the circomlib code instead of importing?

what do you mean @devloper

This pull requests copies all of the circuits from circomlib into the repository.  With circom you can specify an include flag, such as circom -l ./node_modules to include the circomlib circuits from an import.  Circomkit itself does this by default. As a result there is no need to copy all the circuits.

removed circomlib, added to my gitignore until further discussion

@devloper What do you think about removing the client directory? Are we still using that?

-4000


Trouble Installing Ubuntu(Trusty Tahr):  'utmp' no such file or directory

I have tried twice to install ubuntu in the last couple of days, and both times while installing I have received errors relating to the existance of 'var/run/utmp/'
Command Used: sudo sh ~/Downloads/crouton -r trusty -t audio,core,chrome,cli-extra,extension,gtk-extra,keyboard,unity,unity-desktop,x11,xephyr,xiwi,xorg
Here is the first error I received:
Preparing to unpack .../libprocps3_1%3a3.3.9-1ubuntu2.2_amd64.deb ...
Unpacking libprocps3:amd64 (1:3.3.9-1ubuntu2.2) over (1:3.3.9-1ubuntu2) ...
Preparing to unpack .../procps_1%3a3.3.9-1ubuntu2.2_amd64.deb ...
runlevel:/var/run/utmp: No such file or directory
initctl: Unknown job: procps
Another Example:
Installing new version of config file /etc/init/udev-fallback-graphics.conf ...
runlevel:/var/run/utmp: No such file or directory
udev stop/waiting
udev start/running, process 2025
Removing 'diversion of /bin/udevadm to /bin/udevadm.upgrade by fake-udev'
(Many more occur, all of them mention no file/directory: /var/run/utmp)
Possibly an issue with the install script?
cat /etc/lsb-release:
CHROMEOS_AUSERVER=https://tools.google.com/service/update2
CHROMEOS_BOARD_APPID={9D137383-EB72-4BA9-A523-91AC0853F8AD}
CHROMEOS_CANARY_APPID={90F229CE-83E2-4FAF-8479-E368A34938B1}
CHROMEOS_DEVSERVER=
CHROMEOS_RELEASE_APPID={9D137383-EB72-4BA9-A523-91AC0853F8AD}
CHROMEOS_RELEASE_BOARD=parrot-signed-mp-v3keys
CHROMEOS_RELEASE_BRANCH_NUMBER=43
CHROMEOS_RELEASE_BUILD_NUMBER=6680
CHROMEOS_RELEASE_BUILD_TYPE=Official Build
CHROMEOS_RELEASE_CHROME_MILESTONE=41
CHROMEOS_RELEASE_DESCRIPTION=6680.43.0 (Official Build) beta-channel parrot
CHROMEOS_RELEASE_NAME=Chrome OS
CHROMEOS_RELEASE_PATCH_NUMBER=0
CHROMEOS_RELEASE_TRACK=beta-channel
CHROMEOS_RELEASE_VERSION=6680.43.0
GOOGLE_RELEASE=6680.43.0
I update the crouton file, still no change. Also if I use the chroot(which i deleted), i encounter many errors with configuring mysql and phpmyadmin

I forgot to add, the final, and most prominent error is this:
Processing triggers for libc-bin (2.19-0ubuntu6.5) ...
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
Installing target unity-desktop...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'network-manager' is not installed, so not removed
Package 'xorg' is not installed, so not removed
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 ubuntu-desktop : Depends: xorg but it is not going to be installed
                  Recommends: network-manager-gnome but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/ladon...

The udev errors are usually harmless, although in general you'll need to manually start mysqld and whatnot if you want to use them.
That last error is being tracked in #1408


Time to push a new version to crates.io?

Last one in crates.io is depending on rand 0.7

Ah ok. Sorry was just going down the list of most popular crates using the
old version.
On Thu, 7 Oct 2021 at 19:37, bjorn3 @.***> wrote:

Rand is a dev-dependency, so it won't be compiled when using ryu as
dependency. I think Cargo.lock also won't mention it, but I am not sure.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dtolnay/ryu/issues/36#issuecomment-938054271, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGEJCA3T5ON7IF2RQZ2QCDUFXSG3ANCNFSM5FR4BJBA
.


Cannot read property 'addWatcher' of undefined

I'm developing an ionic app with React and capacitor (v2).
Installed this plugin as Readme said. Imported like:
 import {Plugins} from "@capacitor/core";
const {BackgroundGeolocation} = Plugins;

and used as:
this.watcher_id = BackgroundGeolocation.addWatcher(
            {
                backgroundTitle: "Tracking...",
                requestPermissions: false,
                stale: false,
            },
            (location, geolocationError) => {
                if (geolocationError) {
                    console.log("getting geolocation error", geolocationError);
                    this.setState({
                        lastCoords: null,
                        errorMessage: geolocationError.message,
                    });
                } else {
                    console.log("getting geolocation", location);
                    this.setState(prevState => {
                        return {
                            isLocationFound: true,
                            points: [...prevState.points, location],
                            lastCoords: location,
                            errorMessage: null,
                        };
                    });
                }
            }
        );

But I get this in execution:
capacitor-runtime.js:358 TypeError: Cannot read property 'addWatcher' of undefined
at n.value (main.b2f4cf63.chunk.js:1)
at n. (main.b2f4cf63.chunk.js:1)
at fo (4.cef1bb18.chunk.js:2)
at ps (4.cef1bb18.chunk.js:2)
at Du (4.cef1bb18.chunk.js:2)
at t.unstable_runWithPriority (4.cef1bb18.chunk.js:2)
at Ui (4.cef1bb18.chunk.js:2)
at Tu (4.cef1bb18.chunk.js:2)
at mu (4.cef1bb18.chunk.js:2)
at 4.cef1bb18.chunk.js:2
I think is related with issue #17 but it was closed without answer...

I can only assume the plugin was not successfully registered. Maybe try running npx cap sync and rebuilding.
Note that the plugin is not available on the web platform.

It seems the problem was it's necessary to import the plugin in the MainActivity java class by hand, despite of using capacitor to build the android App. It's working now so I'm closing the issue.


Leaves newlines/spaces on the place of comment stripped

Note the green pluses (their number equals to the number of stripped comments):
-/**
- * Applies "grater-alike" tiled circles background pattern
- * @param {color=transparent}
- */
-/**
- * Enumerate asset used only in markup via fake selector and fake CSS property
- * Allows postcss-url to process its URL and copy asset
- * After that, fake selector is removed by css-byebye
- * @param {url} url-rule Accepts value in format: url(path/to/asset) for better IDE experience
- * @example
- *     .my-component {
- *         .markup-asset(url(images/mypic.png));
- *     }
- */
-/**
- * Hides text in element, moving it away from view zone
- * @uses text-indent
- * @uses overflow
- */
+
+
+

Also, if comment was indented, the tool keeps indent of the first line (this may be a feature, though):
-  /**
-     * @mixin Sets sizing for desktop gallery
-     * @param {number} item-width-unit-count Number of gallery width units (columns) per row
-     * @param {length} item-height Height of item
-     * @param {length} item-height Vertical and horizontal gaps/offsets between and around items
-     */
+  <-- note the two spaces here

See: https://github.com/sindresorhus/strip-css-comments/issues/14

Thanks, I think current ticket is invalid


Update ns-winscard-scard_readerstatea.md

SCARD_STATE_UNPOWERED was missing.

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


[OpenAI] Implement ModelManagementClient

- [ ] Protocol methods
- [ ] Convenience methods
- [ ] Models and model factory methods
- [ ] Architecture review

Complete the tasks above for each of the following features:

List models
Retrieve model
Delete a fine-tuned model

My initial thought here is that this is among the least used feature of the OpenAI client? Should this be a p1 from that perspective? That is we may choose to do it post our current release?


[PFS-37] Add an RPC Endpoint to PFS to Search for a File in Branch

Description
This PR implements the RPC endpoint described in the File Version History design document.
This endpoint takes a starting commit and a filepath and serially searches through the branch commit-by-commit. If a reference to the filepath, we add the commit to a list to return to the user. If the search request hits its deadline, it returns what it found so far as well as the last commit it searched. This allows a user to start a subsequent searching from that commit.
This endpoint is primarily designed to be used by Console to display a list of commits to a user that contain a modification to a specific file. The goal is to have elements in the user interface that allow a user to continue a search (or make it easy for Console to continue a search in the background as it updates the list.)

I'm going through the design doc we had for this again and making notes:
https://docs.google.com/document/d/1mQ941ZQxbrjjfBkXO_4fgfHO6HkoIieiBuA9QbqH4VA/edit#heading=h.9cbbj7wdvlvz

[x] No need to do distributed or concurrent processing for v0.  We can revisit if there are perf issues.
[x] Searching linearly is okay, we can return a stream of X items and the API can have a commit to start searching from
A deadline is okay
[ ] Design API as a stream
[x ] Diff fileset compaction will be done beforehand. (Done in another PR)
[x ] Path based searching is okay
[x] Also want to return the number of commits searched, ID of first searched commit and ID of last commit


Evaluation

Comparing Trajectory
[ ] #34

Change in Implementation
Conservative Approach for Placing Objects

Obstacle Placement Restrictions:

If the original scenario places obstacles in locations where they cannot be placed in Autoware due to type restrictions, the transformer will disallow transforming these scenarios.

Pedestrian Movement Restrictions:

If pedestrians move in diverse directions in the original scenario, the transformer will disallow transforming these scenarios. The transformer allows only scenarios with pedestrians moving in straight(delta of degree is less than 10) lines.

Coordinate Conversion Issues:

If exact routing of any objects cannot be determined based on coordinate conversion, the transformer will disallow transforming these scenarios.

Research Question 1 (RQ1)
How well does the transformed scenario preserve information from the original scenario?

Manually compare the original scenario and the transformed scenario in these three categories:

The routing trajectory of the ego car
The movement patterns of obstacles
Status changes of traffic signals

Case Study
Violation Reproduction
Future Work

Record-Based Analysis Approach: Employ a record-based analysis to ensure the transformer maintains the integrity of the original data. Specifically, compare: (1) The routing trajectory of the ego car (2) The movement patterns of obstacles (3) Status changes of traffic signals

Make multiple incorrect path for each object and create scenario one for each.


Create matchmaker with roles

Possibly account for how many times the player has played that role and their average performance. Put players on their best role whilst still letting them play the roles they want to.
Example: don't put 3 commander players on the same team

Initial role-based matchmaker is done. The algorithm could be improved to give better role assignments but it currently gives a range of different possibilities that work well.


Fix #966 - Load display string for error

Add call to getErrorString so we show the actual display text for the error.
Fixes #966

I made a cherry-pick of the one relevant commit instead of merging the complete pull request. Please stash your commits into a single commit in the future using a "git rebase -i HEAD~4" (in this case).


feat(mantine): enable table to have multiple layouts

Proposed Changes
Enabling the <Table> component to offer multiple layouts to the user.
In this PR, I extracted the existing logic to render rows into a RowLayout and exposed a new layouts prop on the Table component. The default value of this prop is an array containing only the row layout, so this change is not breaking.
When providing more than one layout, a layout toggle appears and let the user switch between layouts.
https://github.com/coveo/plasma/assets/35579930/97506783-989e-4901-8c0d-9c45f1697f85
Potential Breaking Changes
None
Acceptance Criteria

[ ] The proposed changes are covered by unit tests
[ ] The potential breaking changes are clearly identified
[ ] README.md is adjusted to reflect the proposed changes (if relevant)

:raised_hands: good game !


Takes a lot time to show dialog

Been trying to use it but it takes a lot of of time to load and show data
https://drive.google.com/file/d/1nDn3TAiOdYqR-EmYlvmawyOpMtlaVNP_/view?usp=sharing
I have implemented as follows:
                                                MultiSelectDialogField(                                                   initialValue:[],                                                   items: presenter                                                       .responseFilter                                                       .value                                                       .author                                                       .authorList                                                       .map((author) =>                                                           MultiSelectItem<                                                                   AuthorList>(                                                               author,                                                               author.name))                                                       .toList(),                                                   searchHint: "Search Author",                                                   decoration: BoxDecoration(                                                       border: Border.all(                                                           color: Colors.grey)),                                                   searchable: true,                                                   listType:                                                       MultiSelectListType.CHIP,                                                   onConfirm: (values) {                                                     _selectedAuthor = values;                                                   },                                                 )

Been trying to use it but it takes a lot of of time to load and show data
https://drive.google.com/file/d/1nDn3TAiOdYqR-EmYlvmawyOpMtlaVNP_/view?usp=sharing
I have implemented as follows:
 MultiSelectDialogField( initialValue:[], items: presenter .responseFilter .value .author .authorList .map((author) => MultiSelectItem< AuthorList>( author, author.name)) .toList(), searchHint: "Search Author", decoration: BoxDecoration( border: Border.all( color: Colors.grey)), searchable: true, listType: MultiSelectListType.CHIP, onConfirm: (values) { _selectedAuthor = values; }, )

I'm having the same issue with chips and started to use listType: MultiSelectListType.LIST instead. It performs a lot better for lengthy items.


add CA certs to the docker image

fixes #381. Although we fixed this in kubernetes with a config change to the controller.json, we shouldn't rely on a host directory in the long term. CA crts we need should be embedded in the image. cc @piosz @vishh

Can one of the admins verify this patch?

ok to test

LGTM, thanks!

@mikedanese have you had a change to run this through its paces btw?

I will look into test failures and ping you

The Jenkins setup is a bit broken right now, so feel free to ignore it and
test by hand.
On Mon, Jul 6, 2015 at 3:25 PM, Mike Danese<EMAIL_ADDRESS>wrote:

I will look into test failures and ping you
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/heapster/pull/382#issuecomment-119015528
.

Ok sounds good.

Ping @mikedanese had a chance to test btw?

Whoops forgot. Yes I tested and seems to work. Without change:
$ sudo docker run gcr.io/google_containers/heapster:v0.15.0 --sink=gcm --sink=gcl
I0714 00:53:05.419413       1 heapster.go:52] /heapster --sink=gcm --sink=gcl
I0714 00:53:05.419845       1 heapster.go:53] Heapster version 0.15.0
E0714 00:53:08.434191       1 driver.go:120] [GCM] list metrics failed Get https://www.googleapis.com/cloudmonitoring/v2beta2/projects/mikedanese-k8s/metricDescriptors: x509: failed to load system roots and no roots provided
I0714 00:53:08.434433       1 driver.go:524] created GCM sink
E0714 00:53:08.434537       1 heapster.go:59] Get https://www.googleapis.com/cloudmonitoring/v2beta2/projects/mikedanese-k8s/metricDescriptors: x509: failed to load system roots and no roots provided

With change:
$ sudo docker run  gcr.io/mikedanese-k8s/heapster:test --sink=gcm --sink=gcl
I0714 00:53:21.887427       1 heapster.go:53] /heapster --sink=gcm --sink=gcl
I0714 00:53:21.887679       1 heapster.go:54] Heapster version 0.16.0
E0714 00:53:24.934109       1 core.go:118] [GCM] list metrics failed request &{Method:GET URL:https://www.googleapis.com/cloudmonitoring/v2beta2/projects/mikedanese-k8s/metricDescriptors Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Authorization:[Bearer ya29.sAFs2CENSFl9c5IpDMoYGNcrJ6eDGHEsAH7GCgLJAPGuhXCSiM-n2zSOwgnTQ-KdChJP] Content-Type:[application/json]] Body:<nil> ContentLength:0 TransferEncoding:[] Close:false Host:www.googleapis.com Form:map[] PostForm:map[] MultipartForm:<nil> Trailer:map[] RemoteAddr: RequestURI: TLS:<nil>} failed with status "403 Forbidden" and response: &{Status:403 Forbidden StatusCode:403 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Alternate-Protocol:[443:quic,p=1] Vary:[Origin X-Origin] Content-Type:[application/json; charset=UTF-8] Date:[Tue, 14 Jul 2015 00:53:24 GMT] Expires:[Tue, 14 Jul 2015 00:53:24 GMT] Cache-Control:[private, max-age=0] X-Content-Type-Options:[nosniff] X-Frame-Options:[SAMEORIGIN] X-Xss-Protection:[1; mode=block] Server:[GSE]] Body:0xc208325d80 ContentLength:-1 TransferEncoding:[chunked] Close:false Trailer:map[] Request:0xc20811ad00 TLS:0xc208073680}, Body: "{\n \"error\": {\n  \"errors\": [\n   {\n    \"domain\": \"usageLimits\",\n    \"reason\": \"accessNotConfigured\",\n    \"message\": \"Access Not Configured. The API (Cloud Monitoring API) is not enabled for your project. Please use the Google Developers Console to update your configuration.\",\n    \"extendedHelp\": \"https://console.developers.google.com\"\n   }\n  ],\n  \"code\": 403,\n  \"message\": \"Access Not Configured. The API (Cloud Monitoring API) is not enabled for your project. Please use the Google Developers Console to update your configuration.\"\n }\n}\n"
I0714 00:53:24.934368       1 driver.go:93] created GCM sink
E0714 00:53:24.934484       1 heapster.go:60] request &{Method:GET URL:https://www.googleapis.com/cloudmonitoring/v2beta2/projects/mikedanese-k8s/metricDescriptors Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Authorization:[Bearer ya29.sAFs2CENSFl9c5IpDMoYGNcrJ6eDGHEsAH7GCgLJAPGuhXCSiM-n2zSOwgnTQ-KdChJP] Content-Type:[application/json]] Body:<nil> ContentLength:0 TransferEncoding:[] Close:false Host:www.googleapis.com Form:map[] PostForm:map[] MultipartForm:<nil> Trailer:map[] RemoteAddr: RequestURI: TLS:<nil>} failed with status "403 Forbidden" and response: &{Status:403 Forbidden StatusCode:403 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Alternate-Protocol:[443:quic,p=1] Vary:[Origin X-Origin] Content-Type:[application/json; charset=UTF-8] Date:[Tue, 14 Jul 2015 00:53:24 GMT] Expires:[Tue, 14 Jul 2015 00:53:24 GMT] Cache-Control:[private, max-age=0] X-Content-Type-Options:[nosniff] X-Frame-Options:[SAMEORIGIN] X-Xss-Protection:[1; mode=block] Server:[GSE]] Body:0xc208325d80 ContentLength:-1 TransferEncoding:[chunked] Close:false Trailer:map[] Request:0xc20811ad00 TLS:0xc208073680}, Body: "{\n \"error\": {\n  \"errors\": [\n   {\n    \"domain\": \"usageLimits\",\n    \"reason\": \"accessNotConfigured\",\n    \"message\": \"Access Not Configured. The API (Cloud Monitoring API) is not enabled for your project. Please use the Google Developers Console to update your configuration.\",\n    \"extendedHelp\": \"https://console.developers.google.com\"\n   }\n  ],\n  \"code\": 403,\n  \"message\": \"Access Not Configured. The API (Cloud Monitoring API) is not enabled for your project. Please use the Google Developers Console to update your configuration.\"\n }\n}\n"

Thanks @mikedanese! @mvdan also tested the changes and all looks good. LGTM, merging.


feat: Add color switch theme for logs

☀ 🌙 Add a color switch theme
Now, you can choose between light or dark color theme to display logs.
This information is saved inside your localstorage.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign florianorpeliere
You can assign the PR to them by writing /assign @florianorpeliere in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: vbehar
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [vbehar]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


server: apply rules when VR of Domain VPC is recreated

Description
After re-creating a VR from a domain VPC, ACS will not apply static nat, port forward and load balancer rules to IPs that are not associated to the account that owns the VPC.
An adjustment was made to make sure that these rules are applied for all IPs when performing the following procedures:

VR restart

VPC restart

VPC restart with cleanup

recreate VR when health-check fails

recreate VR on failover

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[X] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[x] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Bug Severity

[ ] BLOCKER
[ ] Critical
[X] Major
[ ] Minor
[ ] Trivial

How Has This Been Tested?
In a local lab, I performed the procedures listed in the description and verified that after applying the changes, the IPs owned by accounts different than the VPC owner were having their rules applied accordingly.

@blueorangutan package

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 8051

@blueorangutan test

@shwstppr a [SL] Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

[SF] Trillian test result (tid-8599)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 61614 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8354-t8599-kvm-centos7.zip
Smoke tests completed. 117 look OK, 4 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_08_migrate_vm
Error
46.09
test_vm_life_cycle.py

test_01_verify_ipv6_vpc
Error
603.86
test_vpc_ipv6.py

test_05_rvpc_multi_tiers
Failure
503.24
test_vpc_redundant.py

test_05_rvpc_multi_tiers
Error
503.26
test_vpc_redundant.py

test_01_redundant_vpc_site2site_vpn
Failure
579.31
test_vpc_vpn.py

@blueorangutan package

@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@blueorangutan test

[SF] Trillian test result (tid-9264)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 45943 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr8354-t9264-kvm-centos7.zip
Smoke tests completed. 128 look OK, 1 have errors, 0 did not run
Only failed and skipped tests results shown below:

Test
Result
Time (s)
Test File

test_02_upgrade_kubernetes_cluster
Failure
236.44
test_kubernetes_clusters.py

@DaanHoogland @GutoVeronezi @shwstppr @JoaoJandre
Is there any pending concern regarding this or can we proceed with the merge?

@DaanHoogland @GutoVeronezi @shwstppr @JoaoJandre
Is there any pending concern regarding this or can we proceed with the merge?

@GaOrtiga
can you ask someone to test it ?

@DaanHoogland @GutoVeronezi @shwstppr @JoaoJandre
Is there any pending concern regarding this or can we proceed with the merge?

@GaOrtiga can you ask someone to test it, share the test steps and results ?

Ping @GaOrtiga Any update on the testing and results?

@blueorangutan package

@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✖ el8 ✖ el9 ✖ debian ✖ suse15. SL-JID 10142

@blueorangutan package

@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 10146

Ping @GaOrtiga Any further update?

Ping @GaOrtiga Any further update?

No updates, just needs testing, I will check if someone can test and post results.

@GaOrtiga
I am trying to test this feature. However, I cannot find any UI/doc change for the domain VPC (#7153 ).
can you please add the UI changes and create a doc PR ?

tested ok. cc @sureshanaparti @GaOrtiga

@GaOrtiga I am trying to test this feature. However, I cannot find any UI/doc change for the domain VPC (#7153 ). can you please add the UI changes and create a doc PR ?

@weizhouapache Thank you for testing. Yes I will create the doc PR.

@GaOrtiga I am trying to test this feature. However, I cannot find any UI/doc change for the domain VPC (#7153 ). can you please add the UI changes and create a doc PR ?

@weizhouapache Thank you for testing. Yes I will create the doc PR.

Hi @GaOrtiga Please update the doc PR reference here once it is ready. Thanks.

@weizhouapache @sureshanaparti
Link for the doc PR:
https://github.com/apache/cloudstack-documentation/pull/410


Spanish localization for content/en/reliability.md

Creating glossary document Spanish localization for content/en/reliability.md related to https://github.com/cncf/glossary/issues/1399
Signed-off-by: Irina Calvo<EMAIL_ADDRESS>Describe your changes
Creating glossary document Spanish localization for content/en/reliability.md
Related issue number or link (ex: resolves #issue-number)
Resolves #1399
Checklist before opening this PR (put x in the checkboxes)

[x] This PR does not contain plagiarism

don’t copy other people’s work unless you are quoting and contributing it to them.

[x] I have signed off on all commits

signing off (ex: git commit -s) is to affirm that commits comply DCO. If you are working locally, you could add an alias to your gitconfig by running git config --global alias.ci "commit -s".

@anairinac un par de observaciones respecto a este cambio:

Tienes que recrear este PR usando como base el branch dev-es, de otra manera el PR mostrara cambios innecesarios
Los commits tienen que ser firmados, esto es necesario para pasar el CI de DCO.
Puedes limitar el número de reviewers a @raelga @krol3 y @92nqb

Cualquier cosa puedes contactarme por slack

Closed PR since I'm opening another one to fix the source branch issue.


Update install-unifi.sh

Bump to 6.1.71

Getting this error with 6.1.71 on PFsense 2.5.0-RELEASE:
2021-04-10 08:11:44,403 main ERROR Error processing element InMemoryAppender ([Appenders: null]): CLASS_NOT_FOUND
2021-04-10 08:11:45,313 main ERROR Unable to locate appender "InMemoryAppender" for logger config "root"
Exception in thread "main" java.lang.NoClassDefFoundError: org/xerial/snappy/OSInfo
	at com.ubnt.service.system.R.<clinit>(Unknown Source)
	at com.ubnt.ace.Launcher.<clinit>(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.xerial.snappy.OSInfo
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	... 2 more

Not sure if it's a 2.5 thing or a 6.1.71 thing

what I did was to remove the old version (making sure to make a copy of the settings first)
and re install, this is for one device I had
the other device I tested went on without a hitch, this is probably a conflict somewhere. in the old unifi software.
I was using opnsense firewall on both test units

I recommend against 6.1.71, it has memory leaks and quite a few other issues. There's already a new RC which I installed instead, and it installs without any issues and starts up just as fast - also was able to restore my backups. Now I'm finally running back again from PFSense 2.5.1 update.
https://dl.ui.com/unifi/6.2.17-ceb3ba714d/UniFi.unix.zip


Gatsby feed rss

9:47:05 PM: warning gatsby-plugin-feed was initialized in gatsby-config.js without a feeds option.
9:47:05 PM: This means that the plugin will use the internal RSS feed creation, which may not match your use case.
9:47:05 PM: This behavior will be removed in the next major release of gatsby-plugin-feed.
9:47:05 PM: For more info, check out: https://gatsby.dev/adding-rss-feed

don't wildly care about serving rss here, so think I'll remove this


An 356/eth nfts metadata

Allows addition of ethereum nft metadata to a new sink that is dedicated to holding nft metadata.
nft metadata can be added to the sink with a key that signifies the blockchain.
This PR updates ethereum_dbt__nft_metadata to union in records added to that sink
Potential duplicates are de-duped in silver_crosschain__nft_metadata
Ran:

dbt run -m +tag:ethereum__nft_metadata --full-refresh
dbt run -m +tag:ethereum__nft_metadata
dbt test -m +tag:ethereum__nft_metadata

Full refresh and incremental work
Tests fail but are outside the scope of the newly added records. Let me know if we need to comment out or remove tests. I am unable to adjust the underlying to get these tests to pass.
By merging this PR, @flipside-kellen  can add more records to prod_nft_metadata_uploads_1828572827 that will flow into Velocity exposed tables and can be fed to the nft deal score app

@James-Mission I've made some changes to....

Ensure all tests pass
Ensure block IDs do not include decimals
Ensure most recently uploaded records to bronze replace previously uploaded items matching unique key

Let me know if you have any questions!


Relax CI pin on Aer <0.13

Now that Aer 0.13.1 is released, we expect that all the bugs and issues we had Qiskit-side are resolved.  This releases the pin on the lower version of Aer to get us testing properly in CI again.

Summary
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

0 of 0   changed or added relevant lines in 0 files are covered.
33 unchanged lines in 6 files lost coverage.
Overall coverage decreased (-0.02%) to 86.42%

Files with Coverage Reduction
New Missed Lines
%

qiskit/providers/backend_compat.py
1
86.05%

qiskit/result/postprocess.py
2
73.56%

qiskit/utils/backend_utils.py
2
81.58%

crates/qasm2/src/lex.rs
6
91.41%

qiskit/utils/quantum_instance.py
10
43.64%

crates/qasm2/src/parse.rs
12
96.2%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
66265

Relevant Lines:
76678

💛  - Coveralls

@Mergifyio backport stable/0.46


Flag to set repository from command line

Override the repository key in experiment.json with experiment run -r [repo] or
experiment run --repository [repo].

This change is written on top of #8, to avoid rebasing as long as the changes are committed in sequence.


update release version to 0.7.1

That should be all that but RELEASE.md

LGTM. As we do this more often, we should perhaps write a script to do this automatically.


New Modules for TCP Syn Scanning with Options

Both for IPv4 and IPv6

I don't know how to scan ipv6 address with zmap, can you show some methods with us, I can't find the methods in the wiki.

@sunxinle I added additional information on IPv6 scanning to the README file. If you face additional challenges, please open a new issue on GitHub instead of commenting in this pull request.


extract_struct_from_enum_variant assist doesn't work with multiple files

After #6287 given the following files, running "Extract struct from enum variant" on A::One will do nothing:
// lib.rs
pub enum A {
    One(u32, u32)
}
pub fn func() {
    let _a = A::One(1, 2);
}

pub mod another;

// another.rs
use super::*;

pub fn func() {
    let _b = A::One(3, 4);
}

If you comment out pub mod another and try again, it will work as intended just for lib.rs.

I think this is the cause:
https://github.com/rust-analyzer/rust-analyzer/blob/060c8b2c96a0de4a131c4d780d2aac80afe13de8/crates/assists/src/handlers/extract_struct_from_enum_variant.rs#L84-L87
From my perusal of AssistBuilder, calling edit_file in a loop doesn't do much. The builder's file_id is only used later on when finishing the builder.
cc @Veykril

Note: This assist was also bugged before #6287, but in a different way. It would apply both files' changes to lib.rs and leave another.rs unchanged:

lib.rs
pub struct One(pub u32, pub u32);

pub enumOne(3, 4)
    One(One)
}
pub fn func() {
    let _a = A::One(One(1, 2));
}

pub mod another;

Hm, edit_file really doesn't do anything aside from setting the file id, so in this case it does indeed try to apply all changes to one file still, but it panics again now due to overlapping edits which causes this to fail overall instead of only editing one file incorrectly.
In general assists seem to be able to only edit one file only, another example that only edits one file is remove_unused_param.
So we should probably allow AssistBuilder to edits to different files, this is technically already supported but just not public api.
@matklad thoughts?

Yeah, assists should totally allow editing multiple files. I think We had this functionality, but maybe I am remembering things?
The API challenge here is to:

make the common case of editing one file simple
but make the rare case of editing multiple files possible

I think edit_file stateful API is the right one, but we probably should actually fix it to commit edits to previous files.

That is, I think edit_file  should call .commit automatically if the current edit is not empty.

I believe most if not all tests only edit one file in their fixtures which is why they all still pass, given you can only hand the expected output of one edited file in the assist checks. So multi-file testing isn't doable currently.


Include nanohttpd to avoid class not found error on stop

PR to enable Prometheus (#4227) support excluded the dependency on Nano HTTP server. This causes NoClassDefFoundError upon shutdown.
[2019-02-13T11:33:00.245Z] [INFO] [#tid_sid_unknown] [Invoker] Shutting down Kamon with coordinated shutdown
Exception in thread "kamon.prometheus.PrometheusReporter" java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: fi/iki/elonen/NanoHTTPD
	at kamon.prometheus.PrometheusReporter.stopEmbeddedServer(PrometheusReporter.scala:91)
	at kamon.prometheus.PrometheusReporter.stop(PrometheusReporter.scala:48)
	at kamon.ReporterRegistry$Default.$anonfun$stopMetricReporter$2(ReporterRegistry.scala:279)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
	at scala.util.Try$.apply(Try.scala:209)
	at kamon.ReporterRegistry$Default.$anonfun$stopMetricReporter$1(ReporterRegistry.scala:279)
	at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
	at scala.concurrent.Future$.$anonfun$apply$1(Future.scala:654)
	at scala.util.Success.$anonfun$map$1(Try.scala:251)
	at scala.util.Success.map(Try.scala:209)
	at scala.concurrent.Future.$anonfun$map$1(Future.scala:288)
	at scala.concurrent.impl.Promise.liftedTree1$1(Promise.scala:29)
	at scala.concurrent.impl.Promise.$anonfun$transform$1(Promise.scala:29)
	at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:60)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoClassDefFoundError: fi/iki/elonen/NanoHTTPD
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
	at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
	at java.security.AccessController.doPrivileged(Native Method)

As we are using Akka HTTP the thought was to avoid packaging the Nano HTTP server. However now as it causes error to be logged upon shutdown its better to include it and still not use it
Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[ ] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[ ] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[ ] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[ ] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[ ] I signed an Apache CLA.
[ ] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[ ] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

Codecov Report

Merging #4274 into master will increase coverage by 21.14%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #4274       +/-   ##
===========================================
+ Coverage   59.36%   80.51%   +21.14%
===========================================
  Files         162      162
  Lines        7585     7585
  Branches      500      500
===========================================
+ Hits         4503     6107     +1604
+ Misses       3082     1478     -1604

Impacted Files
Coverage Δ

.../org/apache/openwhisk/core/entity/EntityPath.scala
100% <0%> (+1.88%)
:arrow_up:

...a/org/apache/openwhisk/core/entity/Parameter.scala
95.45% <0%> (+2.27%)
:arrow_up:

.../org/apache/openwhisk/http/PoolingRestClient.scala
90% <0%> (+3.33%)
:arrow_up:

...hisk/core/controller/actions/SequenceActions.scala
92.1% <0%> (+3.5%)
:arrow_up:

...pache/openwhisk/core/containerpool/Container.scala
88.6% <0%> (+3.79%)
:arrow_up:

...abase/cosmosdb/CosmosDBArtifactStoreProvider.scala
4% <0%> (+4%)
:arrow_up:

...tainerpool/docker/DockerClientWithFileAccess.scala
96% <0%> (+4%)
:arrow_up:

...rg/apache/openwhisk/core/entity/ExecManifest.scala
97.87% <0%> (+4.25%)
:arrow_up:

...he/openwhisk/core/database/CouchDbRestClient.scala
87.23% <0%> (+4.25%)
:arrow_up:

...a/org/apache/openwhisk/core/entity/TimeLimit.scala
95.45% <0%> (+4.54%)
:arrow_up:

... and 91 more

Continue to review full report at Codecov.

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


Is there a description for the "category" field in IMDB ratings of Al Gore’s movie?

I opened Issue 35 in the fivethirtyeight R package repo asking for a clarification about the category variable in the ratings dataset; the one used for  "Al Gore's New Movie Exposes The Big Flaw In Online Movie Ratings". @rudeboybert advised to check here.
The available categories are as follows:
> library(fivethirtyeight)
> levels(ratings$category)
 [1] "Aged 18-29"         "Aged 30-44"         "Aged 45+"           "Aged under 18"      "Females"
 [6] "Females Aged 18-29" "Females Aged 30-44" "Females Aged 45+"   "Females under 18"   "IMDb staff"
[11] "IMDb users"         "Males"              "Males Aged 18-29"   "Males Aged 30-44"   "Males Aged 45+"
[16] "Males under 18"     "Non-US users"       "Top 1000 voters"    "US users"

However, it is not clear:

Is the Males under 18 a subset of all Males, and if not, how do the categories differ?
Is there any intersection between the categories?
If the number of respondents in 'Females Aged 18-29'+'Females Aged 30-44'+'Females Aged 45+'+'Females under 18' is less that the number of respondents in the Female category. Is the gap due to respondents with unknown age?

I believe the answer to all of your questions is "yes".


Add support for byte alignment of data within sections

(Continuing the discussion from #125)
@AntonioND: "An ALIGN keyword for any place inside a section would be really cool, but that's probably too much to ask right now. xD"

This isn't going to be that easy because would mean that the linker could resize sections...

Whilst that wouldn't be an easy hurdle to surmount, other advantages could potentially come out of allowing the linker to resize sections. For example, that could potentially enable the linker to replace ld instructions with ldh/ldio instructions when addressing memory in HRAM.

And jr/jp and maybe even call/rst. But that implies an almost complete rewrite of the linker. If that is actually done, I don't think it's worth modifying the current linker, it's probably easier to start from scratch.

Resizing sections when not explicitly requested can be problematic in a few cases. (ALIGN counts as "explicitly requested"; I'm referring to the instruction replacements here.)
Shouldn't such behavior only be enabled via a flag (either to rgblink itself or in the section declaration)?

Isn't that already happening with ld [$FF00],a? But maybe that's only because rgbasm knows if you are using a value higher than $FF00, I have never tested with a generic label.
Anyway, yes, that would need a flag to optimize or not. And it's not going to happen anytime soon.

That only happens with constants, not labels (as far as my reading of the (old?) documentation goes).
In fact, that's exactly why the Pokémon disassemblies define HRAM addresses like this.

At present, yes, but it'd be good to expand this to labels as well, hence why I brought it up in this discussion. But yeah, adding a flag to enable or disable optimisations may be a good idea, when we come around to doing this.


Allow ex_doc to process grisp dep

This is an hack because we do not support ExDoc in grisp

The markdown in the readme is not well presented in the overview dropdown menu, I will see if I can make it prettier.

@maehjam The CI run is misleading, rebar3 ex_doc is giving error only in CI. But locally I am able to build the ex_doc documentation.

Opened issue on teh CI problem https://github.com/grisp/grisp_connect/issues/44
Exdoc seams to build fine locally, I'm going to merge


Create a list of client business requirements based on brief

A dashboard to visualize the performance of batters, bowlers, and teams.
To evaluate and analyze a player's performance against another player.
A recommendation system to identify and recommend top players for batter line-up in a real-time match based on their performance and game situation.


Don't need to detect typeof io

if(typeof io === 'function') {

steal-socket.io stubs it in the server.  Can remove this from the guide.

Closed via 90dddd1712373d006288e941654bde4af53eefad


Update tests and fix solution for P20

Add an assert to the randomInt function to make sure division by 0 doesn't happen

Hey @eneko,
In regard to the Travis CI build failing, you'll notice that the osx build passes but the linux build fails. I tracked down the problem and found out its related to this random number function:
public func randomInt(under limit: Int) -> Int {
    #if os(Linux)
        assert(limit != 0)
        srandom(UInt32(time(nil)))
        return random() % limit
    #else
        return Int(arc4random_uniform(UInt32(limit)))
    #endif
}

I believe the linux build is failing in part because of the updates I made to the tests since they were commented out before. The build fails while testing your solution to problem 23. More specifically, the test involving a list length of 1. Your solution on a linux environment ends up doing a division by zero. I just wanted to give you a heads up on why it was failing on one environment and not the other. Thanks!

Thank you, will take a look!

Hello @amanketebo,
I've looked into the issue and it seems like it was an oversight on my end when I wrote the randomInt() method. Per definition, when limit is less than 2 (0 or 1, this is), the result should always be zero.
I've fixed this in https://github.com/eneko/Ninety-Nine-Swift-Solutions/pull/32. Please update your PR with those changes, tests should pass afterwards.
Thanks!
Eneko

Nice work 👍🏾It looks you also updated the branch, thanks!

Nice, thanks for the updates!


Store jest snapshots on the fs.

The package is quite useful but I find it somewhat annoying that it uses an archive format (and not a very common one). This makes it hard to review the snapshot changes. It would be great if the snapshots could actually be stored on the filesystem. This way it is easy to compare snapshots (probably using your VCS. This would quickly unlock a huge number of benefits.

Easier code reviews (as your review tool will probably diff the snapshot changes alongside the code changes).
Word diffs (or any sort of fancier diffs).
Rename detection.
Easily revert some changes (maybe I had one file with an intended change and one file with an unintended change).

This would be a breaking feature so would need to be behind a feature flag.

I think the original idea was to have binary stability. If you use the original format then a VCS like Git may modify the content (e.g., transform CRLF to LF), which may result in broken tests (the test target is usually not tracked by Git and thus will not be modified by Git).
We can still add this feature, but I would - as you suggested - put it behind a feature flag / options for the snapshot comparison.

I guess that could be an option depending on the system. But at least on Linux files in git are just blobs so it shouldn't be an issue. However I would actually be surprised if this caused more issues because your Windows suit would write \r\n and you would diff it against the Linux \n and vice-versa. So I guess sometimes you want conversion on checkout and sometimes you don't 😅 However at least for my use case the FS would be ideal.

What I meant was that you can set the line endings in .gitattributes (locally or globally) and this will be respected when committing / checking out.
Since the diff would be on expanded files directly the Git internal storage wouldn't matter - only what has been checked out.


QuantConnect.Securities.SecurityHolding and QuantConnect.Holding should be merged / inherited

These 2 types 'QuantConnect.Holding' and 'QuantConnect.Securities.SecurityHolding' right now are independent,  they should be merged into one, or one inherit from the other.

We will not merge them as one is a simple transport DTO the other is am API and portfolio concern which requires more information.


Feat/oauth migration

I'm able to login! But, I would like to be redirected to the Dashboard when login is complete. Currently, it returns me to homepage after auth.
Channels and Roles are missing. I also don't see any Polls in my servers.


Rename Service Type to Receipt/Delivery Type and Shipment Term to Car…

…go Movement Type
Change key type for transport document from UUID to varchar (100)

freightPayableAt needs to be changed to invoicePayableAt

Once this is merged - it will break EBL...

place_of_issue uuid NULL,
needs to be changed to varchar(100)

requested equipment entity:
shipmentID should REFERENCE shipment etity

entity shipment_transport needs a lot of REFERENCES


necessary Changes done for creating a navbar ,dropdown and mobile responsive sidebar

Issue #77 . This fixes the issues and design given in the figma link

Please accept My PR , Thank You

Could I at least know the reason please


Add FindMeetingQuery function

What's the difference between this an the other PR?

What's the difference between this an the other PR?

#12 should be closed, I incorporated the comments from it, but overall the algorithm is different.


Add approved state to translated resources

A translator's copy of a project needs to be reviewed and the api should not make them live otherwise.

this still needs to happen

This is being recorded via the project configuration object via the lab.


Update product-lifecycle-state-transactions.md

:x: Organization membership check failed
Members of the MicrosoftDocs organization should use the private repo. Please move your changes to https://github.com/MicrosoftDocs/Dynamics-365-Operations, and close this pull request.

Moving this to the private repo. Closing this PR.