set QT_QPA_PLATFORM env variable causes crash

phantomjs-2.1.1-linux-x86_64
QT_QPA_PLATFORM=xcb phantomjs                                                                                :(
This application failed to start because it could not find or load the Qt platform plugin "xcb".
Available platform plugins are: phantom.
Reinstalling the application may fix this problem.
PhantomJS has crashed. Please read the bug reporting guide at
http://phantomjs.org/bug-reporting.html and file a bug report.
[1]    6608 abort (core dumped)  QT_QPA_PLATFORM=xcb phantomjs

This is not supported. Don't setup environment variables. We static version of Qt, it contains only minimal plugins for PhantomJS functionality.

Maybe we should detect such environment variables before initializing Qt, and either arrange to ignore them, or fail to start with a message that makes clear that this is not a bug, or both.

@zackw Qt has a lot of environment variables. I know that in this case we should handle only QT_QPA_PLATFORM. But I don't like this idea. Sounds like a hack for me.
Another thing. I know that some users (and we) would like to move away from bundled QtBase to system provided. Perhaps we should just wait for it.

Exactly same issue, just tried unset QT_QPA_PLATFORM then phantomjs works...

Same here:

Archlinux latest
Frantic1048 solution works for me too

Thank you!

@Vitallium QT_QPA_PLATFORM is set by the system here, just installing phantomjs and running it fails.
npm test for whatever that is using phantomjs also fails.

@ChALkeR damn. Looks like we have to unset it.

@Vitallium I believe that qputenv("QT_QPA_PLATFORM", ""); before https://github.com/ariya/phantomjs/blob/master/src/main.cpp#L45 should work.

@ChALkeR qunsetenv will be better. Feel free to create a pull request for that.

@Vitallium Indeed.
Sorry, I don't want to file pull requests without testing things, and I don't have time to build PhantomJS myself atm =), so no pull request from me for now. I could do this later, though, if it would still be needed. No idea when, though.

I got the same issue.
Arch Linux here too.
Thx.

The same bug for me for phantomjs-2.1.1. Adding alias with unset environment variable works around.

I also have the issue. Thanks @JuHwon for the temporary fix.

Anyway, I just compiled new version of phantomjs from the source from master branch (with qt-5.6.1), works fine for me with QT_QPA_PLATFORM=xcb bin/phantomjs. No idea what actually could be changed... I can't try to build it from source from tag 2.1.1, because it requires qt-5.5, which is not installed in my computer).
@ariya when are you going to do next release, like 2.1.2 ?

@Vitallium After set QT_QPA_PLATFORM=offscreen, phantomjs 2.5.0-development can launch. Empty QT_QPA_PLATFORM not working.
$ env QT_QPA_PLATFORM='offscreen' bin/phantomjs -v
2.5.0-development

$ env QT_QPA_PLATFORM='' bin/phantomjs -v
QXcbConnection: Could not connect to display :0.0
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.
[1]    7715 abort      env QT_QPA_PLATFORM='' bin/phantomjs -v

@leeight Do you use a pre-compiled version of PhantomJS or a compiled one? I compiled it and still get the error with/without the QT_QPA_PLATFORM env variable.

Same issue is happening for me, the following command fixes it (as a workaround):
env QT_QPA_PLATFORM='offscreen' phantomjs -v

Same issue is happening for me, the following command fixes it (as a workaround):
env QT_QPA_PLATFORM='offscreen' phantomjs -v


⚠ Jenkins Plugins Artifactory has degraded performance

In 9aa1814, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1424 ms

Resolved: Jenkins Plugins Artifactory performance has improved in dd4bc12 after 1 hour, 1 minute.


RuntimeError: PytorchStreamReader failed reading zip archive

Hi I do get an error when running this scrip locally
python scripts/txt2img.py --prompt "a virus monster is playing guitar, oil on canvas" --ddim_eta 0.0 --n_samples 4 --n_iter 4 --scale 5.0  --ddim_steps 50
super(_open_zipfile_reader, self).__init__(torch._C.PyTorchFileReader(name_or_buffer)) RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

@Limbicnation Not sure what script that is txt2img.py isn't in my repo.

@afiaka87 Sorry I ran the following command python sample.py --model_path erlich.pt --batch_size 6 --num_batches 6 --text "a cyberpunk girl with a scifi neuralink device on her head"
and I got the above error with torch.

@Limbicnation the weights may not have finished downloading.

@afiaka87 Thanks! I re-downloaded the weights., but now I'm get another error:
RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1.

It works now! I reinstalled pytorch 1.9. Thanks very much!


Unable to login: TweetDeck (account with 2FA)

Description
Can't log in to TweetDeck - stuck in Twitter login page.
Steps to reproduce issue

Nativefy https://tweetdeck.twitter.com
Click on the blue button: "Log In"
A Twitter login page will load - enter your credentials and submit: nothing will happen visually.

After the steps above, if your account doesn't have 2FA, when you restart the nativefied app it will appear as logged in. If you do have 2FA, its impossible to log in because the page to enter the code will not load.
Details

Are you nativefying a public website?
Yes.
Feature request? Have you looked at nativefier --help to see if an existing option could fit your needs?
Yes. Maybe --internal-urls - not sure.
Full nativefier command used to build your app:

docker run \
    -v $(pwd):/app/ \
    nativefier \
    --icon /app/icon.png \
    --name TweetDeck \
    -p linux \
    -a x64 \
    "https://tweetdeck.twitter.com" /app/

Version of Nativefier (run nativefier --version):
7.4.0
Version of node.js (run node --version):
The current used by the docker image available in this repo.
OS:
Ubuntu 17.04 x64
Error message / stack trace (if any):
N/A

@vegbrasil thanks for the feedback. I doubt --internal-urls is the culprit, it only governs what opens in a tab of your default browser vs. as a nativefier window. Could you dig a little bit more using the bundled DevTools? Ctrl+Shift+I, then have a look at the Console (any error?) and Network (any failed requests?) tabs.

@ronjouch Console shows nothing. Network tab says the request was canceled.

Thanks!

I've been struggling with the same problem, but I found a workaround. Using the mobile site (you could navigate to the mobile site by using DevTools and entering window.location = "https://mobile.twitter.com"; in the console), you'll be able to fill in your 2FA code and log in. Afterwards, you can navigate back to Tweetdeck and you'll stay logged in.

Still an issue on 2017-12-15


Upgrade deps

Coverage remained the same at 100.0% when pulling 4eb76ef7095769be83ed08b22edac25d1b189e5c on upgrade-deps into 3bac6ffece94c2dab8fed9bc4f4148eb51046412 on master.


Thanks on version 0.0.14

Thankyou @tgrosinger  & @telmiger for the update!
Its a step on from the last version. I've was able to recreate an old large Word template for Shopping in TW using Checklist in under an hour. FYI, here is a clip of part of the printed output (I used "@ media print" to hide parts of the interface) ...

The strike-through works correctly now. And having the delete function on the right is a good functional change.
The explicit option to NOT change the order on ticking "complete" is a very GOOD enhancement that will really help users like me me who create Checklists in a very precise order they want to preserve.
I will comment separately with some suggestions for future versions.
This note may be closed once read.
Best wishes
Josiah

Thank you @TiddlyTweeter for the feedback and the nice example!
Happy shopping,
Thomas

Glad to hear the changes were improvements. Thanks to @telmiger for doing all the work.


Typo on Agent Installation popup

Click install on any agent and the pop up reads "Donwload Dockerfile" should read Download Dockerfile

@rkweekley I'll fix that thx


Security Group History Modal Pre-filled for New User Without Login ID/Password

Current behavior
The Security Group History modal is appearing pre-filled with data for the newly created user.
Expected behavior
For a newly created user, the Security Group History modal should be empty when no login ID or password is set.
Steps to reproduce the issue
Create a new user without setting the login ID or password.
View the Security Group History of the newly created user.
Observe that the Security Group History modal is pre-filled with data.
Environment details
App version : v1.11.1
App environment : UAT
Additional information
https://jam.dev/c/6b48e386-28e9-447e-9b95-06f7fbc6f5c6

Assigning this ticket to @priyanshee1604 for verification.
CC: @dt2patel

Verified the issue: The Security Group History modal for a newly created user is empty, as expected.


⚠ ClamAV has degraded performance

In ca1b7a9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 442 ms

Resolved: ClamAV performance has improved in ff76e49.


How to run R script from python

I am trying to run my Rscript in python but I get the following error.
"Traceback (most recent call last):
File "c:/Users/Surabhi/Desktop/SIM/MODEL/Openfast_py.py", line 486, in
pr = subprocess.Popen(file_run)
File "C:\Users\Surabhi\anaconda3\lib\subprocess.py", line 854, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Surabhi\anaconda3\lib\subprocess.py", line 1307, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified"
I am writing the code as follow:
_**R_path = 'Rscript.exe --vanilla   '
file_run = R_path+'   "'+ R_file_text+ '" '
print(file_run)
pr = subprocess.Popen(file_run)
pr.wait()
Please guide me to resolve this issue._**

@jsurabhi501 We support OpenFAST-specific questions here and this is primarily related to Python and R. For support on this, I suggest posting to StackOverflow with a specific description of your problem and use case.


Add mapping constructor expression

Description:
Refera; https://ballerina.io/spec/lang/2020R1/#mapping-constructor-expr

Added with #22406


Ignores hoisted modules

Hi!
I am happy user of your plugin. However I am trying to move a site using it to a package inside a monorepo that uses lerna + yarn workspaces.
With this setup all the dependencies are hoisted. This means the paths passded by parcel will be different from the ones calculated by this plugin and the external modules will not be externalized.
I've created a sample repo where you can see the issue in action: https://github.com/4lejandrito/parcel-plugin-externals-yarn-workspaces-issue-demo.
Run yarn && yarn start on it and you'll get a page that should have a dependency externalized (and therefore fail) but it will actually exist in the bundle and print a message on the screen.

Wonderful catch. Much appreciated (and the PR even more)!


Athena window doesn't hide on Windows

Describe the bug
Athena window doesn't hide on Windows
To Reproduce
Steps to reproduce the behavior:

Generate an Athena payload for Windows
Run on Windows

Expected behavior
The console window hides
Desktop (please complete the following information):

OS: Windows

Agent Config

All

Fix for this issue has been pushed to the winexetest branch, awaiting confirmation that it solved the users problem.

Update: this works, however if the default terminal window is set to the Terminal app, Athena won't hide.

Another update I think even though this is closed. I think I found a way to keep the window hidden even if Terminal is set as the default.


Problem with the calculation of the finger table

I think there is a problem with the calculation of the finger table.
If creating less than explorer.min-peers nodes, everything works as expected and the finger table only contains the first finger, linking to its successor.
Increasing the nodes yields a problem. Take a look at the following finger tables:
https://gist.github.com/areiter/3818428f92d99a9e3d6b
It seems like, the calculation of the IDs of the fingers is only based on the local peer ID, and does not take the IDs of other peers into account.
This works fine as long as the IDs start at zero and are increased by one for each peer. In the case of a hash value, with a few nodes in the large ID space, the fingers should consider the IDs of the other nodes: successor(successor(...n)) and so on.
Any ideas on that?
Thanks

explorer.min-peers is a way to make sure we don't start calculating the finger table until we have an interesting number of peers.
The calculation of fingers happens in two phases

Finding the ideal fingers, that is, in a DHT filled with every ID, what would be the ideal finger for that row
Finding the successors for the ideal fingers, which means, finding the peer that is responsible for that ID in the DHT

I noticed now that I didn't have the latest signalling server pushed, with configurable Finger table. Take a look at:

https://github.com/diasdavid/webrtc-explorer-signalling-server/blob/master/config/default.json#L13-L19

That array represents the rows on the finger table that should be filled.
Thank you for noticing this and apologies for the confusion.

I think your point 1 is exactly what I'm unsure about.
What is the added value that is provided by calculating the finger table based on an imaginary DHT filled with every possible node ID. Node IDs have 48bit, so there are 2^48 unique node IDs available, this is quite a huge number.
So, I propose that in practice you will never make advantages out of the finger table, and will always send requests to your direct successors.
In my opinion a better solution would be to calculate the finger table based on the actual connected nodes (on the structure of your actual network). The signalling server, which is currently doing the finger updates anyhow knows all the nodes.
What do you think?

What is the added value that is provided by calculating the finger table based on an imaginary DHT filled with every possible node ID. Node IDs have 48bit, so there are 2^48 unique node IDs available, this is quite a huge number.

The calculation is not done by bruteforcing, you calculate for each row, an ideal Node and for that ideal Node, you calculate the sucessor. This is described in the Chord paper[1], see Table 1 and Figure 3 for example. Let m know if you have any questions.
[1] - http://pdos.csail.mit.edu/papers/chord:sigcomm01/chord_sigcomm.pdf

You're right, according to the paper it is implemented correctly, but from a practical point-of-view it seems a bit inefficient. All of the ideal fingers will refer to the same actual node, because node IDs are spread through the whole ID space.
However, my initial concern was that the finger calculation is not implemented correctly because the routing was not working all the time on my side.
In my initial tests I spawned 10 nodes in a short period of time. After that, the routing information is broken. I wrongly suspected the finger calculation, but I think I have found the real reason for that (at least it's working now :smile: ).
It's located in the  fingerUpdate function. The channelManager operates asynchronously, once a peer connection is ready the finger table entry is populated.
If multiple finger updates (with the same rowIndex) arrive in a short period of time, the callbacks of the channelManager.connect might not be in the same order, and the finger table on the client diverges from the calculated finger table on the signalling server.
I made a quick fix by introducing a ready flag and writing the finger entry to the finger table immediatly. I guess the channelTo method will also need an adaption in the long run.
   self.fingerUpdate = function(data) {
        console.log('finger-update', data);
        // 1. Check if needs to perform a new connect or just update an entry on the table
        // 2. Connect if necessary
        // 3. Once connected, update the finger tableA

        if (table[data.rowIndex] &&
                table[data.rowIndex].fingerId === data.fingerId) {
            console.log('already had establish this channel with: ', data.fingerId);
            return;
        }

        if(!table[data.rowIndex]) {
            table[data.rowIndex] = {};
        }
        if(table[data.rowIndex].channel) {
            table[data.rowIndex].channel.destroy();
        }
        table[data.rowIndex].fingerId = data.fingerId;
        table[data.rowIndex].ready = false;

        channelManager.connect(data.fingerId, function(err, channel) {
            console.log('finger table row update: ',   data.rowIndex, data.fingerId);

            if(table[data.rowIndex].fingerId !==  data.fingerId){
                console.log('Finger %s at index %d changed while connection was established, closing channel', data.fingerId, data.rowIndex);
                channel.destroy();
                return;
            }

            if(!table[data.rowIndex]) {
                table[data.rowIndex] = {};
            }
            if(table[data.rowIndex].channel) {
                table[data.rowIndex].channel.destroy();
            }
            table[data.rowIndex].fingerId = data.fingerId;
            table[data.rowIndex].channel = channel;
            table[data.rowIndex].ready = true;
        });

    };


Fix test failures from using latest version of dependencies

Closes #182, closes #183, closes #184 by updating the Gemfile.lock
Problem
The latest CI build on master is failing with File does not exist: mocha/mini_test for ruby 2.3 to 2.5.  Ruby 2.1 and 2.2 were failing to install bundler.
Solution

I changed the 'mocha/mini_test' to 'mocha/minitest' to reflect the renamed file upstream
I added a require 'socket' to fix TCPServer constant not found errors
I removed end-of-life versions of ruby from CI (the next release will be a breaking change anyways) and added ruby 3.0
I removed a server error expectation that no longer gets an error, which seems like it is due to memcached server changes.  It doesn't seem like it is testing a different code path in the client anyways.

❤

thanks Dylan, i added you as a collaborator, go ahead and merge the other PRs ❤


Automaticly activate SteamGuard and use Titan as SteamGuard

Suggestion from Unknowncheats user "Noxiu":

if you want to do something REALLY useful, look at archi steam farm. Its open source project that involves some kind of system, that makes it able to use some kind of ".maFiles" so you are able to use it even with 2step on. Basically with this you can make bot generate steamguard for itself it it needs it.
Using accounts with steamguard turned off for reportbotting/comendbotting gets pretty annoing.

This looks like it will be easily implementable as we're already using SteamAuth as library because automatic generation from Shared Secrets (#7)


Updates to docs excluding event driven content

Additional context added around:

page numbering
command-line execution directories
verification steps

Review comments addressed in 87e2eef0033b250c65edf57488b55710feddb79c


chore(deps): update terraform github.com/terraform-ibm-modules/terraform-ibm-powervs-infrastructure to v4.0.1

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/terraform-ibm-powervs-infrastructure
module
patch
v4.0.0 -> v4.0.1

Release Notes

terraform-ibm-modules/terraform-ibm-powervs-infrastructure
v4.0.1
Compare Source
Bug Fixes

private key marked as sensitive in submodule + doc updates (#80) (ae9e11b)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

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

This PR has been generated by Renovate Bot.

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

GitHub release
v2.1.0

Your semantic-release bot :package::rocket:


docs: add more instructions for Pitr readme

Type of change:

[ ] Bugfix
[ ] New feature provided
[ ] Improve performance
[ ] Backport patches

What this PR does / why we need it:

fix #443 #442
Pre-submission checklist:

[ ] Did you explain what problem does this PR solve? Or what new features have been added?
[ ] Have you added corresponding test cases?
[ ] Have you modified the corresponding document?

Codecov Report

Merging #446 (ab5ce00) into main (3604a24) will decrease coverage by 3.40%.
Report is 179 commits behind head on main.
The diff coverage is 27.40%.

@@            Coverage Diff             @@
##             main     #446      +/-   ##
==========================================
- Coverage   39.71%   36.32%   -3.40%
==========================================
  Files          51       59       +8
  Lines        6083     6615     +532
==========================================
- Hits         2416     2403      -13
- Misses       3448     3985     +537
- Partials      219      227       +8

Files Changed
Coverage Δ

pitr/agent/internal/handler/restore.go
0.00% <0.00%> (ø)

pitr/cli/internal/cmd/restore.go
58.33% <0.00%> (-0.99%)
:arrow_down:

pitr/cli/internal/pkg/local-storage.go
40.65% <0.00%> (-2.09%)
:arrow_down:

...tor/cmd/shardingsphere-operator/manager/manager.go
0.00% <0.00%> (ø)

...operator/pkg/controllers/auto_scaler_controller.go
0.00% <0.00%> (ø)

...phere-operator/pkg/controllers/chaos_controller.go
0.00% <0.00%> (ø)

...perator/pkg/controllers/compute_node_controller.go
0.00% <0.00%> (ø)

...rdingsphere-operator/pkg/kubernetes/pod/builder.go
0.00% <0.00%> (ø)

...hardingsphere-operator/pkg/kubernetes/resources.go
0.00% <0.00%> (ø)

...gsphere-operator/pkg/kubernetes/service/builder.go
76.92% <0.00%> (ø)

... and 15 more

... and 2 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


ThermIQ mqtt messages in explorer but not in HA

Version of the custom_component
v2.2.7
Configuration

# Loads default set of integrations. Do not remove.
default_config:

# Load frontend themes from the themes folder
frontend:
  themes: !include_dir_merge_named themes

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

aio_energy_management:
    cheapest_hours:
      - nordpool_entity: sensor.nordpool_kwh_se3_sek_3_10_025
        unique_id: my_cheapest_hours
        name: My Cheapest Hours
        first_hour: 21
        last_hour: 12
        starting_today: true
        number_of_hours: 3
        sequential: false
        failsafe_starting_hour: 1
      - nordpool_entity: sensor.nordpool_kwh_se3_sek_3_10_025
        unique_id: my_expensive_hours
        name: Expensive Hours
        first_hour: 0
        last_hour: 22
        starting_today: false
        number_of_hours: input_number.my_input_number
        sequential: false
        failsafe_starting_hour: 1
        inversed: true

Describe the bug
The thermiq module is installed and seems to be working. All icons are as they should be.

Here is what I get in the Mqtt explorer:
{"Client_Name":"ThermIQ_4022D8EB1DC8","app_info":"ThermIQ-room2 2.58","reason":"T","rssi":-90,"d0":-2,"d1":21,"d2":1,"d3":20,"d4":0,"d5":36,"d6":31,"d7":53,"d8":0,"d9":2,"d10":-40,"d11":0,"d12":0,"d13":0,"d14":36,"d15":44,"d16":7,"d17":0,"d18":0,"d19":0,"d20":0,"d21":0,"d22":128,"d23":70,"d24":60,"d25":-71,"d26":0,"d27":0,"d28":12,"d29":12,"d30":50,"d31":100,"d32":0,"d33":0,"d34":0,"d35":0,"d36":0,"d37":0,"d38":0,"d39":0,"d40":0,"d41":0,"d42":0,"d43":0,"d44":0,"d45":0,"d46":0,"d47":0,"d48":0,"d49":0,"d50":20,"d51":1,"d52":35,"d53":25,"d54":55,"d55":3,"d56":3,"d57":2,"d58":20,"d59":2,"d60":3,"d61":40,"d62":10,"d63":55,"d64":20,"d65":2,"d66":20,"d67":140,"d68":40,"d69":20,"d70":20,"d71":14,"d72":60,"d73":60,"d74":7,"d75":55,"d76":20,"d77":-15,"d78":18,"d79":60,"d80":15,"d81":2,"d82":20,"d83":60,"d84":60,"d85":0,"d86":0,"d87":0,"d88":0,"d89":0,"d90":0,"d91":0,"d92":0,"d93":0,"d94":0,"d95":0,"d96":0,"d97":0,"d98":69,"d99":1,"d100":3,"d101":3,"d102":0,"d103":1,"d104":52734,"d105":24013,"d106":1373,"d107":65029,"d108":4094,"d109":15,"d110":0,"d111":0,"d112":0,"d113":9728,"d114":806,"d115":3,"d116":0,"d117":0,"d118":0,"d119":0,"d120":0,"d121":0,"d122":0,"d123":0,"d124":0,"d125":2,"d126":2,"d127":2,"INDR_T": 20.5, "EVU":0,"time": "2024-12-23 16:07:47 CET","timestamp":<PHONE_NUMBER> }

I deleted the integration, HACS component and all helpers and went through all the installation steps again to make sure it wasn't some weird bug.
There is nothing coming through from mqtt to HA regarding the module. Hence, nothing show up in the custom component:

I have noticed in other issues that people where showing some configuration entry string that I might be lacking but I can't find the instruction as to what to put in there from the documentation.
Usually, when I use zigbee to mqtt devices, I just add them through zigbee2mqtt. I believe I need somehow to allow the termIQ to send messages to HA.
Thank you for your help :)
Debug log
No logs sadly

Finally managed.
I needed to use the node: ThermIQ/ThermIQ-room2 and not the default one ThermIQ/ThermIQ-mqtt

I added the configuration in the configuration.yaml by hand. Was it supposed to be created by the integration?


Added Kali linux keyboard shortcuts key

Added Kali linux keyboard shortcuts keys

Hey @AnshSinghSonkhia  the PR was merged and now it's showing excluded.
Whats might be the reason can you explain.
Thanks

Your PR/MR was submitted to a repository that has been excluded from Hacktoberfest as it does not follow the values of the event. It will not count towards your participation.


Adjust the test passing colour in the status bar based on the theme

It's current hard to read on a light theme:

(Note: this might not be necessary if we implement #193 )

https://github.com/microsoft/vscode-python/issues/664

Duplicate of #664


making shaders work on the goos

Describe the feature you'd like to have added
just making shaders work with goos, as of the latest version of your new ftb modpack, shaders dont work with any of the goos. the only option for shaders is iris right now but it suck not having it look pretty and see oh i have about this much time left before the goo is done doing its thing.
Additional information
its not crazy important, but it would be good QOL thing to do. i was using complimentary reimaged just incase thats important to note. have a good dayyyy

I have no idea how to do this, sorry!


GitHub not loading

Extension version: 0.26.0
VSCode Version: 1.56.0
OS: 10 Dev (Build 21376.1)

Steps to Reproduce:

Install GitHub
2.Wait for the thing to load

The extension will not load, to finish setting up the extension and connecting with my GitHub respirometry's . It just sits there saying it is loading.

Closing as a duplicate of https://github.com/microsoft/vscode-pull-request-github/issues/2572


Error: duplicate value for resource attr/maxWidth

I'm getting the following error:
:generateDebugResources UP-TO-DATE
AGPBI: {"kind":"error","text":"error: duplicate value for resource \u0027attr/maxWidth\u0027 with config \u0027\u0027.","sources":[{"file":"/Users/erik/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/de16534766b25cf86037771b3f3fc3f7/res/values/values.xml","position":{"startLine":250,"startColumn":4,"startOffset":27058,"endColumn":68,"endOffset":27122}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"error: resource previously defined here.","sources":[{"file":"/Users/erik/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/de16534766b25cf86037771b3f3fc3f7/res/values/values.xml","position":{"startLine":250,"startColumn":4,"startOffset":27058,"endColumn":68,"endOffset":27122}}],"original":"","tool":"AAPT"}
:mergeDebugResources
Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details
:mergeDebugResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mergeDebugResources'.
> Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details

my build.gradle has all those android.support includes
    implementation "com.android.support:support-v4:27.1.1"
    implementation "com.android.support:support-v13:27.1.1"
    implementation "com.android.support:cardview-v7:27.1.1"
    implementation "com.android.support:appcompat-v7:27.1.1"
    implementation "com.android.support:design:27.1.1"
    // implementation "com.android.support:preference-v7:27.1.1"
    implementation 'com.takisoft.fix:preference-v7:<IP_ADDRESS>'

I will appreciate any help about this,
Regards!

This is not the lib's fault. You can try a few things to overcome this:

Clean and rebuild project, preferably with invalidating caches
Check if you have different versions of the support libs (or a lib that includes a different version of a support lib).
Maybe a different library uses its own maxWidth attribute.

Also, I don't see maxWidth as a declared attribute in any of the modules / dependencies. Are you sure this problem is related to this lib?

Thanks @gericop, If I comment the line:
implementation 'com.takisoft.fix:preference-v7:<IP_ADDRESS>'
The gradle build finish successfully.
Also I already tried your three suggestion points but with not luck.
Regards.

Since I cannot reproduce this issue with the sample app or any of my apps using this lib, there are a couple questions:

What other dependencies do you include?
What is the version of Android Studio?
What is the version of the gradle plugin?

Thanks @Gericop those are all dependencies that actually I'm using:
https://github.com/eriknyk/testapp/blob/master/app/build.gradle#L32
thats a empty project and i've got reproduced same error.
:app:generateDebugResources UP-TO-DATE
AGPBI: {"kind":"error","text":"error: duplicate value for resource \u0027attr/maxWidth\u0027 with config \u0027\u0027.","sources":[{"file":"/Users/erik/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/de16534766b25cf86037771b3f3fc3f7/res/values/values.xml","position":{"startLine":250,"startColumn":4,"startOffset":27058,"endColumn":68,"endOffset":27122}}],"original":"","tool":"AAPT"}
AGPBI: {"kind":"error","text":"error: resource previously defined here.","sources":[{"file":"/Users/erik/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/de16534766b25cf86037771b3f3fc3f7/res/values/values.xml","position":{"startLine":250,"startColumn":4,"startOffset":27058,"endColumn":68,"endOffset":27122}}],"original":"","tool":"AAPT"}
:app:mergeDebugResources
Error: java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: AAPT2 error: check logs for details
:app:mergeDebugResources FAILED

First of all, most of your dependencies are outdated (some are even deprecated, like the nineoldandroids or the ViewPagerIndicator ones).
However, the problem lies within the "signature pad" module. The version you use is 1.0.1 while the latest is 1.2.1. Using the latest version eliminates the error and the build completes without any errors.
This lib does not declare the "maxWidth" attribute per se anywhere but one of the dependencies does (I think it's one of the preferences) and that collides with the old version of that signature pad lib.

THANK YOU very very much!!!


TYPO3 extension advisories

https://github.com/smichaelsen/no-insecure-typo3-extensions
I've built an equivalent of roave/security-advisories for TYPO3 extensions, which is automatically updated based on the extension ratings of the TYPO3 security team.
Would it be of interest to incorporate that list into this project? Maybe my script could automatically open a PR when the TYPO3 security team publishes new advisories on extensions.

Thanks for the information. This repository is only about the security vulns DB and I don't want to add any opinionated features.

The source (TYPO3 security team) is the same as for the TYPO3 core advisories that you include in this project, so I'm not sure I understand the "opinionated" thing. But thanks anyway for the quick reply.

This repository is only about a database of vulnerabilities.
And I personally don't like the way roave avoids installing unsecure packages.

And I personally don't like the way roave avoids installing unsecure packages.

Well, it's a zero-dependencies, zero-sources approach, with the downside that it has to act during composer update. For me, that's already a big win, from an engineering PoV.
That said, I don't expect advertising from the upstream repository: this is just a database, and that's OK :+1:


Fix : Page not scrolled to top when clicking sidebar menu #3933

The page should scroll to top, issue #3933

Thanks!


Default Wildcard Cert

Checklist

[x] Keep pull requests small so they can be easily reviewed.
[x] Update the documentation.
[x] Update the ./CHANGELOG.md.
[x] Link this PR to related issues.

Closes https://ticket.vshn.net/browse/APPU-2746

I'll make use of the cert-manager lib, as soon as this PR is merged: https://git.vshn.net/syn/commodore-components/cert-manager/-/merge_requests/8


JMSServer/PersistentStore is not discovered.

With Online Discover domain, JMSServer/PersistentStore is not discovered.
####<Mar 8, 2021 3:48:47 PM> <INFO> <JmsResourcesDiscoverer> <get_jms_servers> <WLSDPLY-06471> <Adding JMS Server SOAJMSServer_auto_1>
####<Mar 8, 2021 3:48:48 PM> <INFO> <Discoverer> <_populate_model_parameters> <WLSDPLY-06154> <Attribute PersistentStore for model folder at location /JMSServer is not in the lsa map and is not defined with get to retrieve the attribute value>

As the PersistentStore is not discovered, it is defulted to FileStore instead of JDBCStore.
Adding manually PersistentStore in the model, did not set the PersistentStore in the created domain still defaults to FileStore.

Fixed by #850


[Feature]

Before every thing thanks, this program is very useful.
Please, like the input already working, for write texts, was possible create an select with multiple choices?

Hi. Thank you for the suggestion. It's not in the current plan, and having a pop-up that is not triggered by a global shortcut is not working well because, but It may be coming sometime in the future.


Rewrite Jewel theme system

The current implementation of the Jewel themes and components is not compatible with an IDE bridge implementation, because the components are not implemented the same way as the Swing ones and take different inputs.
This task is to rewrite the theme and components implementation to align with how the Swing components are drawn, as it is necessary to be able to inherit the styling from them. Another goal is to improve and streamline the developer experience with APIs that are more consistent and easier to use.

Done as of 7153ad2c95cc9a97fb3a608d77d43a92a9392873 — given the sheer size of the change, it was merged to main directly without a PR


Word Break / Hyphens in Containers

In the div style of the comments section of any torrent, rather than hyphenating or continuing on the next line with the whole word, words are separated at the end of the width by word-break break-all.
-webkit-hyphens: auto;
   -moz-hyphens: auto;
    -ms-hyphens: auto;
        hyphens: auto;

Let me test it.

Implemented but needs to get re-implemented on #658 with the browser specific.


Seems unable to use the "Dynamic High Resolution" feature of llava1.6 (aka llava-next)

https://llava-vl.github.io/blog/2024-01-30-llava-next/
Thanks for supporting llava1.6, but Ollama currently seems still unable to use the "Dynamic High Resolution"  feature, which is important for llava1.6 to achieve state-of-the-art OCR accuracy and hallucination rate. As mention in another issue(degraded OCR accuracy)
#2562
time=2024-02-29T00:24:54.520+08:00 level=INFO source=dyn_ext_server.go:161 msg="Starting llama main loop"
time=2024-02-29T00:24:54.521+08:00 level=INFO source=dyn_ext_server.go:171 msg="loaded 1 images"
encode_image_with_clip: image embedding created: 576 tokens

Note: for llava1.6 to operate with more patches, there should be using more than 1.1k tokens per image, not 576. Also it is a good idea to allow parameters in request json to have options to choose input resolution, for balancing quality and inference cost.

For anybody observing empty output while using LLaVA 1.6 34b and have replaced the mmproj model (sha256-83720bd8438ccdc910deba5efbdc3340820b29258d94a7a60d1addc9a1b5f095 in my ~/.ollama/models/blobs) with https://hf-mirror.com/cjpais/llava-v1.6-34B-gguf/blob/main/mmproj-model-f16.gguf, the reason is the default context window size is 2048, and the correct image embedding has 2880 tokens which is larger than the context window, the sign is a log line like this:
{"function":"update_slots","level":"ERR","line":1876,"msg":"failed processing images","slot_id":0,"task_id":8,"tid":"139989500841984","timestamp":1713321617}

The solution is to create a new model from the LLaVA 1.6 34b model, e.g. with this model file:
FROM llava:34b-v1.6-q8_0
TEMPLATE """<|im_start|>system
{{ .System }}<|im_end|>
<|im_start|>user
{{ .Prompt }}<|im_end|>
<|im_start|>assistant
"""
PARAMETER stop "<|im_start|>"
PARAMETER stop "<|im_end|>"
PARAMETER num_ctx 8192

I've put together a LLaVA 1.6 34b model with Q8_0 quantization according to my previous comment at https://ollama.com/highsunz/llava:34b-v1.6-q8_0-hires-ctx8k, it's projection model projects an input image to 2880 tokens.


context issues when rendering on server after upgrading to 0.13

Hi there,
I'm getting the following error when attempting to render on the server:
Warning: Failed Context Types: Required context routerwas not specified inMobileApp.
As far as I can tell there's nothing terribly special about my rendering approach and the render works just fine on the client-side. Here's what the server-side code looks like:
 Router.run(mobileRoutes, request.url.path, function (Handler) {
    const html = React.renderToString(<Handler initialStories={initialStories} />);

    //... we never make it down here it seems
});

Note, the server-side file is transpiled with Babel, hence the ability to use JSX like this, but am I missing something else? MobileApp in this case does also have contextTypes defined.
The eventual error that's thrown is this which I imagine is related to the router context stuff:
[TypeError: Cannot read property 'getRouteAtDepth' of undefined]

One more clue that may be relevant, I'm also seeing a parent/owner warning:
Warning: owner-based and parent-based contexts differ (values: undefinedvsfunction (props, context) {`

Seeing the same error with 0.13.3, after structuring my app exactly like the react-router-mega-demo:
Warning: Failed Context Types: Required context `routeDepth` was not specified in `RouteHandler`.
Warning: Failed Context Types: Required context `router` was not specified in `RouteHandler`.
Warning: owner-based and parent-based contexts differ (values: `undefined` vs `1`) for key (routeDepth) while mounting RouteHandler (see: http://fb.me/react-context-by-parent)
Warning: owner-based and parent-based contexts differ (values: `undefined` vs `function (props, conte...

I discovered the problem. I'm using webpack + babel, and somehow my app was ending up with multiple copies of React/React-router. I explicitly made it so my app.js uses the same reference to React that my routes file uses. Now it works.

Just wanted to chime in here with my solution to the above problem: I set react and react router to be externals in my webpack config, but only for my server prerender config. Worked like a charm.

@matthewoden Could you share your prerender config? I'm assuming you've got some Nginx/Apache config that detects a bot, and redirects to an express server with the server-side react. Something like that?

@jmdobry Ah. Yeah, it's an iso project. So, server rendering is all express.
{
  entry: {
    app: [ './app/Routes.js'],
  },
  target: 'node',
  module: {
    loaders:[
    { test: /\.jsx?$/,
      exclude: /node_modules/,
      loaders: ['babel']
    },
    {
      test:  /\.json$/,
      loader:'json-loader'
    },
    { test: /\.jpe?g$|\.gif$|\.png$|\.svg$|\.woff$|\.ttf$/,
      loader: 'file-loader?name=[path][name].[ext]',
    },
    {
      test: /\.scss$/,
      loader: 'null-loader'
    }
    ]
  },
  moduleDirectories: ['node_modules'],
  externals: [/^[a-z\/-0-9]$/],
  output: {
    path: './assets/prerender/',
    filename: '[name].js',
    libraryTarget: 'commonjs2'
   },
  resolve: {
    extensions: ['', '.js', '.jsx']
  },
  plugins: [
    //Uglify
    new webpack.optimize.UglifyJsPlugin({
      compress: { warnings: false  }
    }),
    new webpack.optimize.DedupePlugin(),
    //use smaller react library.
    new webpack.DefinePlugin(
      { 'process.env': { 'NODE_ENV': JSON.stringify('production') }
      }),
  ],
};

Thanks! I've got it working now :)

@jmdobry tried your approach by explicitly referencing the same React, same result. Could you share the workable settings?

@jimzhan Any luck on this?

I just messed around with this and can't reproduce, I imagine its a build issue. If you identify something wrong with the router, let us know and we'll reopen.

@ryanflorence I can confirm it's a build issue. The regex for webpack externals (provided in their docs) doesn't match react/addons (or anything with a slash such as alt/container) - it becomes bundled and one then has two versions of react which causes this error. I fixed my webpack config here.

In case anyone's still having trouble with this I can confirm @jarsbe nailed it. My solution was the same but slightly different, I added the following to my webpack config:
// `externals` built with a bunch of other stuff up here

externals['react/addons'] = 'commonjs react/addons';

// and later passed into the webpack config

I am trying to render react js file on express server. I am getting this following error
TypeError: this.context.router.history is undefined bundle.js file .
Please help me.


FluentUI Calendar datepicker dialog doesn't adjust itself according to orientation of device

Environment Information

Package version(s): Latest Version of FluentUI-Android
Android SDK version:

Please provide a reproduction of the bug:
Device: Pixel 5 Android API 29
OrientationIssue.webm
Actual behavior:
On orientation shift from horizontal to vertical, the datepicker dialog goes out of the viewport.
Expected behavior:
On orientation change, the dialog should adjust the size itself.
Priorities and help requested:
Are you willing to submit a PR to fix?
Requested priority: Normal
Products/applications affected: Excel Mobile Application

Hey @ManasGupta1310, I tried to test the same in fluent-ui Demo App on Pixel 5 sdk 29, but it seems to be working fine.
Uploading date-picker orientation.webm…

Well, it does not repro for the DateTimePicker but I had implemented the DateTimePickerDialog in the app. Can you try to repro the issue in that @Anubhvv
The last button in this screenshot

This issue has been addressed in https://github.com/microsoft/fluentui-android/pull/679


[Discussion] Header/footer: color contrast ratio is too low

Where to find the issue
The issue can be found in the header and footer on every site.
Describe the issue
The contrast ratio of foreground/background color is too low (1.77:1). This makes it hard for some people with visual impairment to read the text. According to WCAG 2.1, it should be at least 4.5:1 for normal text and 3:1 for large text.
See: https://webaim.org/resources/contrastchecker/?fcolor=FFFFFF&bcolor=80CDEC
The actual contrast ratio is hard to determine since there's a color gradient. The ratio of white text on red background would be fine (6.27:1), but almost all of the content area is in brighter colors.
Suggested change
Either background gradient or text should be in darker colors. Maybe it would be possible to use text shadow or a solid background color for some parts of the header/footer, e.g. main navigation.

Is this just about the Corona-Warn-App logo? Every other asset has a higher contrast as far as I can see.

It's about the other text as well. As I said before, the ratio is hard to determine since it's a color gradient. The ratios differ from 1.77:1 to 6:27:1 and depend on the viewport as well.

I think the is the most problematic part:

The colors for linear gradients were adjusted with the latest PR https://github.com/corona-warn-app/cwa-website/pull/2660
The team is currently actively working on resolving all found WCAG issues.


Encountered RuntimeError Event Loop is closed during development of Web UI

Task exception was never retrieved future: <Task finished name='Task-139' coro=<AsyncClient.aclose() done, defined at /usr/local/lib/python3.11/site-packages/httpx/_client.py:1978> exception=RuntimeError('Event loop is closed')> Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/httpx/_client.py", line 1985, in aclose await self._transport.aclose() File "/usr/local/lib/python3.11/site-packages/httpx/_transports/default.py", line 406, in aclose await self._pool.aclose() File "/usr/local/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 353, in aclose await self._close_connections(closing_connections) File "/usr/local/lib/python3.11/site-packages/httpcore/_async/connection_pool.py", line 345, in _close_connections await connection.aclose() File "/usr/local/lib/python3.11/site-packages/httpcore/_async/connection.py", line 173, in aclose await self._connection.aclose() File "/usr/local/lib/python3.11/site-packages/httpcore/_async/http11.py", line 258, in aclose await self._network_stream.aclose() File "/usr/local/lib/python3.11/site-packages/httpcore/_backends/anyio.py", line 53, in aclose await self._stream.aclose() File "/usr/local/lib/python3.11/site-packages/anyio/streams/tls.py", line 201, in aclose await self.transport_stream.aclose() File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 1349, in aclose self._transport.close() File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 860, in close self._loop.call_soon(self._call_connection_lost, None) File "/usr/local/lib/python3.11/asyncio/base_events.py", line 761, in call_soon self._check_closed() File "/usr/local/lib/python3.11/asyncio/base_events.py", line 519, in _check_closed raise RuntimeError('Event loop is closed') RuntimeError: Event loop is closed

anaylsis of error by GHCP:

The error you're encountering is due to the event loop being closed while there are still pending asynchronous tasks. This can happen when using asynchronous code with Flask, which is not natively designed to handle asynchronous routes.

To resolve this issue, you can use Quart, an asynchronous web framework compatible with Flask, which allows you to use async and await in your route handlers.

Here's how you can modify your [entry_app.py] to use Quart


Capslock warning on numbers

It should be detected when any key is pressed, currently numbers are not detected if state is unknown.

This is a known limitation. The state of capslock can only be detected on keys where there is a difference in output between having capslock on or off. ie there is no uppercase 7 so there is no way of knowing the state.
If you know a way around this a PR would be accepted.


Can't Upload files greater than 500 KB

I followed the installation and I can use OnlyOffice correctly.
However, when I upload a file relatively big it, like a Word with some images, it stills in the a few seconds loading bar.
Should I adjust any other settings? I see some other issues related with the number of workers but I don't find where I can modify it.
My machine has 6 CPU and 6GB RAM.
Thanks!

Solved modifying the Nginx reverse-proxy configuration (was 1M):
client_max_body_size 60M;


sparklyr kafka stream

Hi
Apologies. I know this can not be an issue,  I am using sparklyr  to run jobs on my spark clusters now i have large amount of data coming from kafka, but i do not know how can i handle it in sparklyr.
Thank you.

Yes, we are planning to add Spark Streaming support, we are tracking this work with https://github.com/rstudio/sparklyr/issues/1131.


fix NPE when fetch empty readHeatMap metrics.

Please answer these questions before submitting pull request

Why submit this pull request?

[x] Bug fix

[ ] New feature provided

[ ] Improve performance

Related issues

Bug fix

Bug description.
cause NPE when fetch read heat map metrics. In https://github.com/apache/skywalking/blob/master/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/type/HeatMap.java#L114 method.
How to fix?

New feature or improvement

Describe the details and related test reports.

Are you testing for release already?

Are you testing for release already?

Yes, still in testing.


ValueError: You are trying to load a weight file containing 6 layers into a model with 1 layers.

first.py file contains following code
from magpie import MagpieModel
magpie = MagpieModel()
magpie.train_word2vec('data/hep-categories', vec_dim=100)
magpie.fit_scaler('data/hep-categories')
labels = ['Gravitation and Cosmology', 'Experiment-HEP', 'Theory-HEP']
magpie.train('data/hep-categories', labels, test_ratio=0.2, nb_epochs=1)
print(magpie.predict_from_text('Stephen Hawking studies black holes'))
magpie.save_word2vec_model('save/my/embeddings/here')
magpie.save_scaler('save/my/scaler/here', overwrite=True)
magpie.save_model('save/my/model/here.h5')
and second.py file contains following code
from magpie import MagpieModel
from magpie import utils
from keras.models import load_model
w2v = utils.load_from_disk("save/my/embeddings/here")
scaler = utils.load_from_disk("save/my/scaler/here")
keras_model = load_model("save/my/model/here.h5")
labels = ['Gravitation and Cosmology', 'Experiment-HEP', 'Theory-HEP']
instance = MagpieModel(keras_model=keras_model, word2vec_model=w2v, scaler=scaler, labels=labels)
print(instance.predict_from_text('Stephen Hawking studies black holes'))
but it show following error

Using TensorFlow backend.
/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py:1242: UserWarning: The Merge layer is deprecated and will be removed after 08/2017. Use instead layers from keras.layers.merge, e.g. add, concatenate, etc.
return cls(**config)
Traceback (most recent call last):
File "/home/yogesh/l7Project/magpie-master/test.py", line 19, in
keras_model = load_model("save/my/model/here.h5")
File "/usr/local/lib/python3.5/dist-packages/keras/models.py", line 249, in load_model
topology.load_weights_from_hdf5_group(f['model_weights'], model.layers)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py", line 2981, in load_weights_from_hdf5_group
str(len(filtered_layers)) + ' layers.')
ValueError: You are trying to load a weight file containing 6 layers into a model with 1 layers.

If you're loading stuff from disk, just pass paths in the MagpieModel constructor e.g.
magpie = MagpieModel(
    keras_model='/save/my/model/here.h5',
    word2vec_model='/save/my/embeddings/here',
    scaler='/save/my/scaler/here',
    labels=['cat', 'dog', 'cow']
)

@jstypka I changed code as below
from magpie import MagpieModel
labels = ['Gravitation and Cosmology', 'Experiment-HEP', 'Theory-HEP']
magpie = MagpieModel(
keras_model='save/my/model/here.h5',
word2vec_model='save/my/embeddings/here',
scaler='save/my/scaler/here',
labels=labels
)
print(magpie.predict_from_text('Stephen Hawking studies black holes'))
but still got following error

/usr/bin/python3.5 /home/magpie-master/test.py
Using TensorFlow backend.
/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py:1242: UserWarning: The Merge layer is deprecated and will be removed after 08/2017. Use instead layers from keras.layers.merge, e.g. add, concatenate, etc.
return cls(**config)
Traceback (most recent call last):
File "/home/magpie-master/test.py", line 28, in
labels=labels
File "/home/magpie-master/magpie/main.py", line 24, in init
self.load_model(keras_model)
File "/home/magpie-master/magpie/main.py", line 276, in load_model
self.keras_model = keras.models.load_model(filepath)
File "/usr/local/lib/python3.5/dist-packages/keras/models.py", line 249, in load_model
topology.load_weights_from_hdf5_group(f['model_weights'], model.layers)
File "/usr/local/lib/python3.5/dist-packages/keras/engine/topology.py", line 2981, in load_weights_from_hdf5_group
str(len(filtered_layers)) + ' layers.')
ValueError: You are trying to load a weight file containing 6 layers into a model with 1 layers.

What's your Keras version in both cases? (Check with pip list). It seems like you're saving the model when the Keras version is 1.X.X, while loading in 2.X.X

In my case I used keras==2.0.5 for both save and load model but it show same issues. I downgrade kreas to keras==1.2.2 for save and load model then it work fine. It maybe issue in keras version 2.0.5

Yes, keras==2.X.X is not supported yet. I have a WIP branch supporting v2.X, but it's not really ready yet. It should work fine for version 1.X.X though.

@jstypka Thanks for your support I was continue with keras 1.2.2


Removed non-GAed  bot identifier APIs from ACS SDKs

Description
Removed non-GAed  bot identifier APIs from the following ACS SDKs :

azure-communication-chat
azure-communication-email
azure-communication-jobrouter
azure-communication-networktraversal
azure-communication-phonemuber
azure-communication-sms

Above mentioned SDKs were not released after the bot identifier changes merged to the main branch.
Accidently released MicrosoftBotIdentifier with GA version of the azure-communication-rooms or azure-communication-callautomation SDKs reverted back with a soft approach by hiding the APIs using a module level getattr. This approach was agreed with @annatisch
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-communication-chat


selectGroup is not working properly.

Dropdown list with groupby enabled shows checkboxes besides the group names, even when selectGroup is set to false in settings.

Is there any solution for this?

Is there any solution for this?

select group: true is not working for angular2-multiselect-dropdown V2.9.1


Cannot load file sass-rails

I am still getting Cannot load file sass-rails when precompiling assets. Only way I can get around this is by leaving in sass-rails:
gem 'sass-rails', require: false
gem "sassc-rails"

Do you have a better solution for this now?

FYI I'm maintaining dartsass-sprockets which is a fork of this gem. You can try it and see if your issue is resolved; it uses a different engine (Dart Sass) under-the-hood.


Use Throttle on speedtest update

Description:
Bringing back the short 1 minute Throttle for the speedtest update.  Without it I was seeing the component spawn simultaneous updates for each time listed in the configuration.yaml.
Example entry for configuration.yaml (if applicable):
sensor:
  platform: speedtest
  minute:
    - 0
    - 5
    - 10
    - 15
    - 20
    - 25
    - 30
    - 35
    - 40
    - 45
    - 50
    - 55
  monitored_conditions:
    - ping
    - download
    - upload

Checklist:
If code communicates with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass

Wait. I just merged this but actually your statement cannot be true.
The only piece of code that calls SpeedtestData.update is the time listener. The update method of individual sensors do not call it so they could not have spawned extra processes.

@balloob I did some more investigating and you are right.  It's not spawning processes for each time listed like I thought.  The problem is I didn't specify a second for the track_time_change and it would spawn a process for each second, 0-10.  I'll submit a fix, Thanks!


[flash_ctrl] Fixes for erase suspend

correctly generate eraes_done
update model to correctly absorb erase_suspend input
fixes #10748

Signed-off-by: Timothy Chen<EMAIL_ADDRESS>

@nikola-miladinovic as far as i can tell in the waves, the erase suspend is behaving correctly now.  However the test still fail, it might have something to do with updating expected value on the bit.

@tjaychen : Still bit Erase Suspend Req is stucked at 1 when there is not erase in progress. it should be immediately cleared.

let me check again, i thought it was cleared when i looked at it yesterday.

@nikola-miladinovic can you let me konw where it's stuck?
The first image is one where erase_suspend is called when there's no ongoing erase. You can see the reg value clearing very quickly.

The second image is one where erase_suspend is called when there's an ongoing erase.

So I'm not sure which case you're talking about is stuck. If you have a way to reproduce it (i don't see it when I grab your branch), let me know.

So I am able to write erase suspend request but it is just stucked without self returning to 0. Here is what I see in Xcelium:

After updating flash_ctrl_mp.sv I am also seeing good behaviour for 1. Scenario (without erase requests).

@tjaychen : When erase suspend request is issued when there is no erase ongoing and when bank erase is ongoing, RTL works as expected. However there are two main problems with suspend of page erase:

Since page erase is only 2 clk wide, it seems impossible that erase suspend can happen with controller write - in attachement there are two pictures with waiting time 2 clk and 3 clk, line 247 cfg.clk_rst_vif.wait_clks(2); One error suspend request is too early while the other is too late with arrival.
When 3clk is waiting for triggering erase suspend request, some strange MP error is happening which might be source of RTL bug since all regions are enabled. This case is commited and seed is fixed 1. If you want to change and see erase suspend request before start of page erase, please replace "3" with "2" in line 247 of the test.

hi Nikola,
I am still out today and may be for a few more days due to some personal issues. As you pointed out, the erase is cut short because there is a memory protection error. Can you triage that a bit to find out exactly what's wrong and perhaps file a memory protection error if that is the cause?
All regions enabled doesn't mean anything necessarily. As mentioned previously, it depends on whether every region enables erase and which one has precedence.

@nikola-miladinovic just to confirm, are there still additional issues? Or does this fix everything on your end?

@nikola-miladinovic just to confirm, are there still additional issues? Or does this fix everything on your end?

@tjaychen This fix everything.I can see clearly on waves erase bank and page suspend. I also fixed some address constraints in my test and soon PR will be raised. Thanks for support.


Moving directory_service(3) resources to v1beta1 version

directory_service

[ ]  aws_directory_service_radius_settings
[ ]  aws_directory_service_region
[ ]  aws_directory_service_shared_directory_accepter

aws_directory_service_radius_settings
needs investigation Connectivity issues detected: DNS unavailable (TCP port 53) for IP: <IP_ADDRESS>. Please ensure that the listed ports are available and retry the operation.
config.go.zip
serviceradiussettings.yaml.zip

aws_directory_service_region
create - (Default 180 minutes) Used for Region addition

aws_directory_service_shared_directory_accepter
shareddirectoryaccepter.yaml.zip
message: "apply failed: creating AWS DS (Directory Service) Shared Directory Accepter (d-916725f5a6): EntityDoesNotExistException: Directory: 'd-916725f5a6' does not exist. : RequestId: b5e9e79b-556b-46b0-afc5-e610dbe29a04\n{\n  RespMetadata: {\n    StatusCode: 400,\n    RequestID: \"b5e9e79b-556b-46b0-afc5-e610dbe29a04\"\n \ },\n  Message_: \"Directory: 'd-916725f5a6' does not exist. : RequestId: b5e9e79b-556b-46b0-afc5-e610dbe29a04\",\n \ RequestId: \"b5e9e79b-556b-46b0-afc5-e610dbe29a04\"\n}: "


how to run module A that should import module B in CLI

It is the example for module linking in Wasmtime-go:
https://github.com/bytecodealliance/wasmtime-go/blob/1b44fcb61fe2a7619b8c14908009794ee6115bf7/linker_test.go#L95
And I want to know how to run module linking in Wasmtime CLI, is there any example or document?

The wasmtime run command has a --preload option which can be used for this, but it's worth saying that the linking story between modules is still very young and there probably aren't that many real world modules which "simply work with --preload" today.


Replace TestedCell source and remove ExerciseCell

[x] add tested_cell from BrooklinJazz/tested_cell
[x] removed makeup and makeup_elixir  dependencies
[x] removed ExerciseCell from MadLibs livebook
[x] removed trace of ExerciseCell: exercise.ex, application.ex, main.css, main.js, string_concatenation_madlib.ex, tests
[x] removed trace of TestedCell: tested_cell.ex, application.ex, main.css, main.js

Done, I've added back all forgotten solutions

Awesome!


Ability to pass multiple values for one command line parameter

Changes in this PR:

allow passing multiple values to task's parameter task --param foo --param bar (@Option);

Syntax:
@Option(option = "param")
public Test paramSetter(List<String> params) {

Command line parameter --tests of Test task can accept multiple values:

gradle test --tests "Foo" --tests "*.bar.*"
Discussion in Google Groups: https://groups.google.com/forum/#!topic/gradle-dev/sYZ6p_e-LRs

@dkarpenko Please also add a section to the [test-selection design doc)[https://github.com/gradle/gradle/blob/master/design-docs/test-selection.md] for the specification of how this feature will work.

Actually, I think this change makes sense independently of the other change, and it's considerably lower-risk. I'm going to go ahead and see if I can patch it safely.

@dkarpenko Thanks for enhancing what we can do with command-line option parsing in Gradle.
Your contributions are making every happier,
Pepper


Attach a file

ie. something like cvcap add task_content -f [filename]

https://discuss.checkvist.com/t/file-attachments-via-post-checklists-checklist-id-import-json-xml/744


feature request: add url to external css

Issue description
Issue: The textbox for custom css truncates long inputs.
Instead of making it accept long inputs, I suggest adding an url.
The exported html code will then contain something like <link rel="stylesheet" href="https://example.com/resources/css/custom_md.css"> instead of the normal <style>...</style> element.
Environment

Notepad++ 8.14 (32bit)_
MarkdownViewer++ <IP_ADDRESS>25
Windows 10 (64bit)

Support for referenced css files would also be a nice feature in this context. For example:
@import url("referenced.css"); .header-placeholder {   height: 1px;   width: 100%;   margin-top: 160px; }


Fix kamra price catcher in the rye

closes #174

Codecov Report

Merging #175 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #175   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines          30     30
  Branches        4      4
=====================================
  Hits           30     30

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 b52c6c0...7f6476f. Read the comment docs.


a segfault?

No merge?

On Tue, Jan 19, 2016 at 9:24 AM, Ken Friis Larsen
<EMAIL_ADDRESS>wrote:

No merge?

I didn't intend to merge into your master, but the master on my fork,
which no longer exists. So that pull request was a mistake.
I was surprised to find that it worked, but disappointed to find that
eqc had to synthesize a mystical "Erlang wrapper" to get it to work.


Instagram Bridge failed with error 400

Error message: Invalid parameters value(s)
Query string: action=display&bridge=Instagram&format=Atom&u=m.facebook.comlogin.php?skip_api_login=1&api_key=124024574287414&signed_next=1&next=https%3A%2F%2Fm.facebook.com%2Fv1.0%2Fdialog%2Foauth%3Fredirect_uri%3Dhttps%253A%252F%252Fwww.instagram.com%252Faccounts%252Fsignup%252F%26scope%3Demail%26response_type%3Dtoken%252Cgranted_scopes%26client_id%3D124024574287414%26ret%3Dlogin%26logger_id%3D8709094f-7fa7-ccbc-a747-8c0ee0fefc57&cancel_url=https%3A%2F%2Fwww.instagram.com%2Faccounts%2Fsignup%2F%3Ferror%3Daccess_denied%26error_code%3D200%26error_description%3DPermissions%2Berror%26error_reason%3Duser_denied%23_%3D_&display=touch&locale=en_US&logger_id=8709094f-7fa7-ccbc-a747-8c0ee0fefc57&_rdr

Error message: Invalid parameters value(s)

Please check the username you provided to the bridge. It is some sort of Facebook login page which won't work. Try using just the username (don't copy-paste it)


drop used stubs

rebased so we get the go1.17 workflow

/assign @nak3 @ZhiminXiang

/lgtm
/approve


Unable to import alarm manager in Native android side

I imported android alarm manager plugin in dart and in dart side evrything is fine. But, when I tried application overrides for giving the AlarmService a callback to call in the application's onCreate method. I'm unable to import the required plugin in java side.
Here is my Application class in java from android app.
import io.flutter.app.FlutterApplication;
import io.flutter.plugin.common.PluginRegistry;
import io.flutter.plugin.common.PluginRegistry.PluginRegistrantCallback;
import io.flutter.plugins.GeneratedPluginRegistrant;
import io.flutter.plugins.androidalarmmanager.AlarmService;//Here lies the issue unable to import.

public class Application extends FlutterApplication implements PluginRegistrantCallback {
    @Override
    public void onCreate() {
        super.onCreate();
        AlarmService.setPluginRegistrant(this);
    }

    @Override
    public void registerWith(PluginRegistry registry) {
        GeneratedPluginRegistrant.registerWith(registry);
    }
}

The line import io.flutter.plugins.androidalarmmanager.AlarmService showing error as it doesn't have androidalarmmanager.AlarmService in plugins .Don't know what's the cause.

#23822, #22117, #17914 might be related

Application referencing plugins' Java code has been added in terms of support in 1.12.


Quotation marks aren't "TeX-style"

Yes, I'm that bored :)
Some of the quoted text in the TeX documentation uses "" rather than ``''. I've done a pass at changing this and will submit a PR.

Cool, thanks!
BTW, there's no need to submit an "issue" and then immediately a PR. Just the PR can serve both purposes. Mainly the "issue" is for when you have identified a problem but you don't have a solution for it. (Or, I guess, if you are working on a solution but it won't be complete for some time, so you want people to know you're already working on it so that nobody else does the same thing redundantly.)

Gotcha!

I'm going to close this old issue because we've switched the main docs from LaTeX to markdown/RTD anyway.


Allow multiple parents

I am using nova-ajax-select and I have a field that depends on two parent fields, another parent field can be added in some way. Currently it only allows me to do it for one, I already modified the route and it works correctly I send the data as the nova-ajax-select interprets the problem is in the field in the resource that is only taking the value of a parent.

JDiGregorio, Did you solve this?

@iHwy  I could not solve it, do you have any idea?

Is there anyone who can solve this problem? @iHwy @JDiGregorio @dillingham

I'm currently working on a fork of this package which supports multiple parents, dynamic field type (text or select depending on the route response format) and an additional selected key (added the current mandatory value and display keys) to preselect a select option. I'm currently testing different cases, but if you guys would like to beta test the package let me know !

@piljac1 maybe contribute some PRs and I can review?

Sure, but I have some more testing to do and documentation to write.

@piljac1 im saying if your package is just a fork with a feature I’m willing to add, maybe you don’t have to release a copy. Up to you

I'm currently working on a fork of this package which supports multiple parents, dynamic field type (text or select depending on the route response format) and an additional selected key (added the current mandatory value and display keys) to preselect a select option. I'm currently testing different cases, but if you guys would like to beta test the package let me know and I'll upload it as is !

@piljac1 can you share your version with us ? I'm also need multiple parents in some of my requests.

I'm currently working on a fork of this package which supports multiple parents, dynamic field type (text or select depending on the route response format) and an additional selected key (added the current mandatory value and display keys) to preselect a select option. I'm currently testing different cases, but if you guys would like to beta test the package let me know and I'll upload it as is !

@piljac1 can you share your version with us ? I'm also need multiple parents in some of my requests.

@rodrigoalexandrino I kinda put the project aside to take more time for myself and my girlfriend, but it was almost done. I will try to submit PRs in the beginning of next week because my weekend is full.

hello.. no one update on this? if not i will try to add this

hello.. no one update on this? if not i will try to add this


Dart Core/VM issue: cannot use dart migrate: waiting for isolate to check in ...

Steps to Reproduce

I am trying to migrate my package but  dart migrate keeps printing
Attempt:xxx waiting for isolate vm-isolate to check in
Attempt:xxx waiting for isolate dartdev to check in

and does not terminate. flutter doctor -v and logs attached below.
I also tried to use Dart SDK version: 2.13.0-93.0.dev (dev) (Mon Mar 1 19:18:22 2021 -0800) on "linux_x64" as suggested in https://github.com/dart-lang/sdk/issues/45047#issuecomment-791329613, but facing the same problem there too. I can use only dart --version  and facing this issue with all the other commands.
Logs

Logs

$ dart migrate .
.
Attempt:11 waiting for isolate vm-isolate to check in
Attempt:11 waiting for isolate dartdev to check in
Attempt:12 waiting for isolate vm-isolate to check in
Attempt:12 waiting for isolate dartdev to check in
Attempt:13 waiting for isolate vm-isolate to check in
Attempt:13 waiting for isolate dartdev to check in
Attempt:14 waiting for isolate vm-isolate to check in
Attempt:14 waiting for isolate dartdev to check in
Attempt:15 waiting for isolate vm-isolate to check in
Attempt:15 waiting for isolate dartdev to check in
Attempt:16 waiting for isolate vm-isolate to check in
Attempt:16 waiting for isolate dartdev to check in
Attempt:17 waiting for isolate vm-isolate to check in
Attempt:17 waiting for isolate dartdev to check in
Attempt:18 waiting for isolate vm-isolate to check in
Attempt:18 waiting for isolate dartdev to check in
Attempt:19 waiting for isolate vm-isolate to check in

$ flutter doctor -v
Running "flutter pub get" in flutter_tools...                      13.5s
[✓] Flutter (Channel stable, 2.0.5, on Linux, locale en_US.UTF-8)
    • Flutter version 2.0.5 at /home/amish/snap/flutter/common/flutter
    • Framework revision adc687823a (3 days ago), 2021-04-16 09:40:20 -0700
    • Engine revision b09f014e96
    • Dart version 2.12.3

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /home/amish/Android/Sdk
    • Platform android-30, build-tools 29.0.2
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_275-8u275-b01-0ubuntu1~18.04-b01)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 86.0.4240.111

! Doctor found issues in 1 category.

Normally I would classify this as a migration bug, but since the message is comming from deep within the VM (runtime/vm/dart.cc ) I suspect it's a VM issue.  @mkustermann any idea what might be going wrong here?

Update: I switched to windows and it's running fine on the Dart 2.12.3. Could it be due to some issue with my ubuntu settings?

I too am having this issue. Many dart commands do not work but for example dart --version does work. Funny enough, while things like dart -h or dart pub -h do not work, dart -x and dart pub -x for example to show the help because the flag -x is not found.
The exact output of running dart -h or other commands is:
.
Attempt:11 waiting for isolate vm-isolate to check in
Attempt:11 waiting for isolate dartdev to check in
Attempt:12 waiting for isolate vm-isolate to check in
Attempt:12 waiting for isolate dartdev to check in
Attempt:13 waiting for isolate vm-isolate to check in
Attempt:13 waiting for isolate dartdev to check in
Attempt:14 waiting for isolate vm-isolate to check in
Attempt:14 waiting for isolate dartdev to check in
Attempt:15 waiting for isolate vm-isolate to check in
Attempt:15 waiting for isolate dartdev to check in
Attempt:16 waiting for isolate vm-isolate to check in
Attempt:16 waiting for isolate dartdev to check in

and so on. (In case the leading . helps debugging)
All flutter commands seem to work.
dart --version outputs Dart SDK version: 2.14.0 (stable) (Mon Sep 6 13:47:59 2021 +0200) on "linux_x64"
I am also only having this issue on my Kubuntu PC, so yes, it could have something to do with ubuntu.
And here some system info of mine:
Operating System: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-84-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6300HQ CPU @ 2.30GHz
Memory: 7,7 GiB of RAM

@mraleph any thoughts?

This looks like a startup or shutdown race, we have seen such things before. /cc @a-siva @mkustermann

Is there any workaround I could try?

@Quijx @am15h  Does this reproduce with newest beta release for you? Do both of you see this on Kubuntu?
Attempt:11 waiting for isolate vm-isolate to check in
Attempt:11 waiting for isolate dartdev to check in

A VM shutdown happens in stages:
a) disallow isolate(group) creation
b) kill all user isolates & wait until they are dead
c) shutdown VM-internal  isolates & wait until they are dead
From the code it seems that we are in step c) above, i.e. shutting down VM-internal isolates (since we're printing vm-isolate). So it probably means that the dartdev isolate is considered a system isolate and isn't shutting down.
There were some changes recently (e.g. 3b1e83387fe7e1b03df9259d2dae3f6f8207abfa) that mark some isolates as system isolates, maybe that marks the dartdev isolate as system isolate (/cc @bkonyi) ?
From looking at the code, I can see that dartdev isn't specially handled - as we do with all other system isolates - during shutdown procedure, see runtime/vm/dart.cc:

  Isolate::KillAllIsolates(Isolate::kInternalKillMsg);  // <-- kills non-system isolates

  // Wait for all isolates, but the service and the vm isolate to shut down.
  if (ServiceIsolate::IsRunning() || KernelIsolate::IsRunning()) {
    ...
    WaitForApplicationIsolateShutdown();  // <-- waits for non-system isolates.
  }

  // Shutdown the kernel isolate.
  ...
  KernelIsolate::Shutdown();

  // Shutdown the service isolate.
  ...
  ServiceIsolate::Shutdown();

  // Wait for the remaining isolate (service isolate) to shutdown.
  WaitForIsolateShutdown();

@bkonyi Maybe the dartdev isolate has to be explicitly shutdown here?

Is there any workaround I could try?

Does passing --disable-dart-dev make this issue go away?

@mkustermann The --disable-dart-dev does seem to do something. For example dart --disable-dart-dev -h does work, but dart pub --disable-dart-dev get outputs
Running using Flutter version configured in path.

===== CRASH =====
si_signo=Segmentation fault(11), si_code=1, si_addr=(nil)
version=2.14.0 (stable) (Mon Sep 6 13:47:59 2021 +0200) on "linux_x64"
pid=3216, thread=3216, isolate_group=(nil)((nil)), isolate=(nil)((nil))
isolate_instructions=0, vm_instructions=556bf9fcc320
  pc 0x00007f24cb540675 fp 0x00007fff79580430 /lib/x86_64-linux-gnu/libc.so.6+0x18b675
  pc 0x0000556bfa0e8d09 fp 0x00007fff79580460 dart::bin::File::OpenUri(dart::bin::Namespace*, char const*, dart::bin::File::FileOpenMode)+0x19
  pc 0x0000556bf9fa7783 fp 0x00007fff795804f0 dart::bin::DFE::TryReadKernelFile(char const*, unsigned char**, long*)+0x33
  pc 0x0000556bf9fa76de fp 0x00007fff79580530 dart::bin::DFE::ReadScript(char const*, unsigned char**, long*) const+0x2e
  pc 0x0000556bf9fa897c fp 0x00007fff79580600 /home/quijx/.fvm/versions/stable/bin/cache/dart-sdk/bin/dart+0x1cce97c
  pc 0x0000556bf9fa8536 fp 0x00007fff79580680 dart::bin::RunMainIsolate(char const*, char const*, dart::bin::CommandLineOptions*)+0x76
  pc 0x0000556bf9fa9477 fp 0x00007fff795807b0 dart::bin::main(int, char**)+0x607
  pc 0x0000556bf9faa249 fp 0x00007fff795807c0 /home/quijx/.fvm/versions/stable/bin/cache/dart-sdk/bin/dart+0x1cd0249
-- End of DumpStackTrace
/home/quijx/.fvm/versions/stable/bin/internal/shared.sh: Zeile 225:  3216 Abgebrochen             (Speicherabzug geschrieben) "$DART" "$@"

On the dart beta channel (dart --version outputs Dart SDK version: 2.15.0-82.1.beta (beta) (Tue Sep 14 08:32:06 2021 +0200) on "linux_x64"), the problem is still present.

--disable-dart-dev will completely disable the unified CLI, so dart <command> won't work in those situations.
The dartdev isolate is one of three default system isolates in the standalone VM (the others are the kernel and service isolates). I'll take a look to see if we're missing something in the shutdown path for the dartdev isolate.

I'm unable to reproduce this on 2.14.0, 2.14.1 and main, both on Linux and OSX.
However, it does look like there's an error here in the shutdown logic. System isolates are generally safe to shutdown immediately alongside user/application isolates, with the exception of the kernel, service, and VM isolates. The shutdown logic should be updated to reflect that.

I've uploaded a speculative fix here.

I just randomly tried dart versions 2.10.5 and 2.7.2. The version 2.10.5 does have the problem already, but 2.7.2 works fine. So the problem started somewhere between those versions. Also could it only be in combination with some newer system libraries? Because I would have thought that I used newer versions than 2.10.5 in the past that worked.

I've landed 58c58af3e8b433715d3339b8ead5406ace482d69 which might resolve this issue. Once we get a dev build with this change, I'll post the version here for people to try.

In any of the error paths in DartDevIsolate::DartDevRunner::RunCallback we do not seem to shutdown the DartDev isolate, if for any reason one of the error paths is taken we could have the main thread start Dart_Cleanup and this would end up in the scenario above were Cleanup is waiting for the DartDev isolate to terminate.
Ensuring that a KillIsolate is done for the DartDev Isolate during Cleanup is not going to cause that isolate to shutdown.
The right fix is to ensure that we shutdown the isolate is all these error paths.


allow changing cache's compression ratio

hello !
for me most of the CI time is now the Run<EMAIL_ADDRESS>or Post Run<EMAIL_ADDRESS>its not a big time, so no big deal, but i would like to optimize this further.

i guess most of the time is the (un)archiving of the cache (1.7gb here):

github project have a 10gb cache limit, and most project will use only one or two caches. so a option to change the zstd compression ratio, to use more space but be faster, would be useful and be applicable for a lot of user
thanks

Hey there, unfortunately this might not be possible to implement as of now.
We use https://github.com/actions/cache under the hood to create and download the caches and I didn't see any options to configure the caching algorithm or its parameters.

thanks for the answer ! ill see to open a issue on their side
have a good day


Update livereload-js to 3x

@mklabs, @elwayman02 this would be a good idea by now I think. The main difference is the move away from coffeescript.
In addition, 3.x contains some important bugfixes and new options.
FWIW: livereload is using 3.x since the beginning of 2020 and there don't seem to be any (more) issues.


Add API to show resource usage for the current space

This PR adds a deployments-related API under /deployments/environments/spaces/:spaceID. This endpoint returns resource usage for each of the user's environments, divided into usage by the specified space and usage by all other spaces combined. Currently this only returns CPU and memory usage, and not objects such as pods or secrets.
There is an older /deployments/spaces/:spaceID/environments endpoint which has been left for backwards compatibility until the front-end is switched over completely.
Example usage:
Request: GET https://openshift.io/api/deployments/environments/spaces/$SPACE_ID
Response:

{
  "data": [
    {
      "attributes": {
        "name": "run",
        "other_usage": {
          "cpucores": {
            "quota": 2,
            "used": 0.488
          },
          "memory": {
            "quota":<PHONE_NUMBER>,
            "used": 262144000
          },
          "persistent_volume_claims": {
            "quota": 1,
            "used": 0
          },
          "replication_controllers": {
            "quota": 20,
            "used": 6
          },
          "secrets": {
            "quota": 20,
            "used": 9
          },
          "services": {
            "quota": 5,
            "used": 3
          }
        },
        "space_usage": {
          "cpucores": 1.488,
          "memory": 799014912
        }
      },
      "id": "run",
      "type": "environment"
    },
    {
      "attributes": {
        "name": "stage",
        "other_usage": {
          "cpucores": {
            "quota": 2,
            "used": 0.488
          },
          "memory": {
            "quota":<PHONE_NUMBER>,
            "used": 262144000
          },
          "persistent_volume_claims": {
            "quota": 1,
            "used": 0
          },
          "replication_controllers": {
            "quota": 20,
            "used": 7
          },
          "secrets": {
            "quota": 20,
            "used": 9
          },
          "services": {
            "quota": 5,
            "used": 3
          }
        },
        "space_usage": {
          "cpucores": 1.488,
          "memory": 799014912
        }
      },
      "id": "stage",
      "type": "environment"
    }
  ]
}

This work was started by @chrislessard, which I have put the finishing touches on and opened the PR on his behalf.
Fixes: https://github.com/openshiftio/openshift.io/issues/3129

That would be easy enough to do. Should we rename it though? I feel like leaving both a spaces/:spaceID/environments and a /environments/spaces/:spaceID will just be confusing.

Yea, that might make sense. We would have to make sure the deployments are co-ordinated so that both those changes happen at once, or else at least leave the old endpoint in place for a while first.


latest npm package 0.13.4 is not the same as code base of master

example left-nav.jsx

The next release will be in one or two weeks.


Get filewatcher from common repo.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: geeknoid
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 [geeknoid]

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

@geeknoid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-security-k8s-presubmit-tests.sh
2f8e44e62bd06c2b526c33cea5ffd2459d597786
link
/test integ-security-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@geeknoid: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-security-k8s-presubmit-tests.sh
fa955e02bc7f11619ed1afbe28da8420de57d702
link
/test integ-security-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


[DO NOT MERGE] Continuously propagate v1beta1 GKECluster connection secrets

Signed-off-by: hasheddan<EMAIL_ADDRESS>
Description of your changes

Adds continuous secret propagation controller for v1beta1 GKECluster
Note: DO NOT MERGE until I complete manual testing.
Checklist

I have:

[x] Run make reviewable to ensure this PR is ready for review.
[x] Ensured this PR contains a neat, self documenting set of commits.
[ ] Updated any relevant documentation, examples, or release notes.
[ ] Updated the dependencies in app.yaml to include any new role permissions.
[ ] Updated the stack resources documentation to include any new managed resources or classes.

@hasheddan Are we just doing this as a best practice, or is there some context around why this is needed?

@negz this was added because @soorena776 observed that the connection endpoint of a regional GKE cluster can change over time. I am going to try to repro this scenario in testing.

@negz I have completed manual testing successfully with the following steps:

Dynamically provisioned a GKECluster
Observed Secret creation in KubernetesCluster namespace
Manually edited endpoint on managed resource Secret in crossplane-system
Observed reconcile triggered for secret propagation controller
Observed updated Secret in KubernetesCluster namespace with my edited value
Observed both Secrets updated back to the correct endpoint on next reconcile of GKECluster managed reconciler


perf: make PD robotState.liquidState sparser for faster cloning

Overview
Acceptance criteria

[ ] Make a benchmark "do it all" test, if we still don't have one
[ ] See if you can improve perf by simplifying RobotState liquid state without breaking PD behavior.

In an experiment, this didn't notably improve performance. A while back we stopped many unnecessary timeline recomputations that were just from buggy code I wrote, so improvements to the speed of a single recomputation wouldn't have helped much. But making the state sparser wasn't even noticeable when I tried it. When running the benchmarks before vs after, the difference was smaller than the normal variance you get in benchmarks between runs.


Fix some minor issues in C# XML doc comments

Labeling as "bug" since these are typos but they're just documentation bugs.

Thanks!


(not important request) Is it possible to re-add #top-chrome-md non material flag?

The reason I switched to Firefox in 2020 is because many websites stopped working in the last version of Chrome that had non-material design. I've never seen a Chromium fork that restored this, will it be technically possible?

The Supermium shell is already currently undergoing a re-fit to replicate that look. Kindly read the release notes, and try the browser for that matter before opening tickets.

The Supermium shell is already currently undergoing a re-fit to replicate that look. Kindly read the release notes, and try the browser for that matter before opening tickets.

@docrR I've already tried the browser, and that replication is a replication of Chrome 53-68 style, which is still different from the non-material design (such as the find box, round tabs, toolbar icons)
Supermium with modified tabs:

Chrome 53-68: (Supermium is currently replicating this UI)

Non material (DIFFERENT look such as tabss are slightly round aand toolbar icons are thicker and cuter):

and also I asked this because non-material UI rarely sometimes appear in some dialog boxes when desktop compositing is off


removed jabbr link from CONTRIBUTING.md

RIP 💀

Sorry, Github on old Safari in old iOS wont let me merge :smile:


Multiple Node Pools not supported with Basic Load Balancer

[Enter feedback here]
I have multiple cases where customer created AKS Cluster with Basic Load Balancer which doesn't support Multiple Node Pools and sometimes due to which AKS Cluster goes into failed state.
Currently it doesn't give any warning when you try to add another Node Pool into an AKS Cluster created with Basic Load Balancer, but customer isn't very happy about it.
Can we please update AKS Creation documents with this note?

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

ID: 965a7faf-6684-1b1e-3570-ea0b38ce02db
Version Independent ID: 2efd8393-0b5b-e827-8762-fa58d6758d93
Content: Create an AKS cluster in the portal - Azure Kubernetes Service
Content Source: articles/aks/kubernetes-walkthrough-portal.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

Thanks for the feedback! We are currently investigating and will update you shortly.

Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

Thank you for the feedback @blessedwithsins
This limitation is called out in the article around using multiple node pools:

https://docs.microsoft.com/en-us/azure/aks/use-multiple-node-pools#limitations
https://docs.microsoft.com/en-us/azure/aks/use-multiple-node-pools#create-an-aks-cluster

#please-close

@zr-msft Can we have this information updated in below documents as sometimes customer doesn't pay heed to multiple node pool article and just go ahead and add multiple node pool in his/her AKS Cluster?
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough-powershell
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough-portal
https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough-rm-template


CheckboxList checkbox is not showing

No checkbox is showing in the checkboxlist. Only the label text is showing. How to resolve this issue?

The problem could be from various things, some maybe not even related to checklist-model. Please prepare an example on something like plunkr or jsfiddle so I can properly investigate.


Background color

This is more a question than an issue: I set the background color in a form to a light gray to get a better focus on the form elements.
All widgets now have a white input area - the django-prose-editor changes the text area to light grey as the forms background. I'm not real firm with css and am searching for the one value to change the text area to the bg color of the other widgets.

Btw: I like this editor, because it has just the things I need and therefore it is simple to use.

Hi @SaarWolf
Thank you! The intention was that the color of --prose-editor-background (which defaults to #fff) would automatically be applied to the editing area. I fixed the CSS so that this happens now. You have to update to 0.10.2 though.

Hi @matthiask
Thank your very much!

Ooops. Color is correct but the buttons are gone.

Hmm, that's sad. Do you get any JavaScript errors in the console?
If you're using the ProseEditor(Form)Field or the ProseEditorWidget things should "just" work. I did a complete rewrite (see https://406.ch/writing/rebuilding-django-prose-editor-from-the-ground-up/), so some breakage is expected when using undocumented API, but at least you should get errors somewhere, not silent failure.

Ok, I get the following errors:
VM532 de.js:3 Uncaught TypeError: Cannot read properties of undefined (reading 'define')
at VM532 de.js:3:106
at VM532 de.js:3:774
(anonym) @ VM532 de.js:3
(anonym) @ VM532 de.js:3
VM537 de.js:3 Uncaught TypeError: Cannot read properties of undefined (reading 'define')
at VM537 de.js:3:106
at VM537 de.js:3:774
(anonym) @ VM537 de.js:3
(anonym) @ VM537 de.js:3
de.js:3 Uncaught TypeError: Cannot read properties of undefined (reading 'define')
at de.js:3:106
at de.js:3:774
(anonym) @ de.js:3
(anonym) @ de.js:3
VM549 default.js:1 Uncaught TypeError: DjangoProseEditor.initializeEditors is not a function
at VM549 default.js:1:901
at VM549 default.js:1:933
(anonym) @ VM549 default.js:1
(anonym) @ VM549 default.js:1
VM551 default.js:1 Uncaught TypeError: DjangoProseEditor.initializeEditors is not a function
at VM551 default.js:1:901
at VM551 default.js:1:933
(anonym) @ VM551 default.js:1
(anonym) @ VM551 default.js:1
default.js:1 Uncaught TypeError: DjangoProseEditor.initializeEditors is not a function
at default.js:1:901
at default.js:1:933

Can you show me the contents of de.js? de.js seems to have a problem with define(), but define doesn't even exist in django-prose-editor's assets.
Also, which browser are you using? I avoid using ES modules for now even though I really want to because browser support for importmaps isn't there yet.

Where should I find the relevant de.js? In staticfiles I find this one for django-select2:
/*! Select2 4.0.13 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var e=jQuery.fn.select2.amd;e.define("select2/i18n/de",[],function(){return{errorLoading:function(){return"Die Ergebnisse konnten nicht geladen werden."},inputTooLong:function(e){return"Bitte "+(e.input.length-e.maximum)+" Zeichen weniger eingeben"},inputTooShort:function(e){return"Bitte "+(e.minimum-e.input.length)+" Zeichen mehr eingeben"},loadingMore:function(){return"Lade mehr Ergebnisse…"},maximumSelected:function(e){var n="Sie können nur "+e.maximum+" Element";return 1!=e.maximum&&(n+="e"),n+=" auswählen"},noResults:function(){return"Keine Übereinstimmungen gefunden"},searching:function(){return"Suche…"},removeAllItems:function(){return"Entferne alle Elemente"}}}),e.define,e.require}();


Review our Jetty xml files with respect to our context

Context class is at https://github.com/GoogleCloudPlatform/appengine-java-vm-runtime/blob/master/appengine-jetty-managed-runtime/src/main/java/com/google/apphosting/vmruntime/jetty9/VmRuntimeWebAppContext.java
Do we have duplicate settings in xml and this class?

setAggregationBufferSize code can (or should) be done in XML rather than in code.   I suspect that the instancecheck is not working anyway.

Fixed in PR #28


Rendering bug: magic select looking control appears

What are the circumstances under which this occurred?

I had selected polygon/way and shift-selected point and pressed Detach command. Was in process of detaching landuse from way.
Sorry for no steps, will try to repro

The selection code has changed a lot since April, so I'm thinking this was a bug that's been fixed.
@skfd Please do let us know if you see this happen again.


cannot open source file "filesystem" and "experimental/filesystem"

CMake fails with
CMake Error at external/parthenon/cmake/FindFilesystem.cmake:254 (message):
Cannot Compile simple program using std::filesystem
using Intel compilers/mpi 2021.2 with the config file
message(STATUS "Loading machine configuration for HLRN-IV supercomputer using Intel modules.")

# Kokkos settings
set(Kokkos_ARCH_SKX ON CACHE BOOL "Target Skylake")

# Intel compiler
set(CMAKE_CXX_COMPILER mpiicpc CACHE STRING "")
set(CMAKE_C_COMPILER mpiicc CACHE STRING "")

Complete output in build directory is attached.
build-mpi.tar.gz

Not sure why this fails. Following https://github.com/vector-of-bool/CMakeCM/blob/master/modules/FindFilesystem.cmake maybe adding a -lstdc++fs parameter, i.e., -DCMAKE_CXX_FLAGS=-lstdc++fs might help.
Alternatively, it may be worth to try the new Intel stack, i.e., icpx as compiler.

Seems that there is no stdc++fs library:
/sw/tools/oneapi/2022.2/mpi/2021.6.0/bin/mpiicpc  -qopenmp-simd -lstdc++fs  CMakeFiles/cmTC_7e8e2.dir/testCXXCompiler.cxx.o -o cmTC_7e8e2
    ld: cannot find -lstdc++fs
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

Something to request from the software admins?
Also tried icp and icpx, but that doesn't change anything.

Probably something to ask from the admins?
You could try looking for that library in the directory where you find your intel compiler.
find /usr/lib/ -name "*c++fs*"

Some ancient documentation suggests that library used to be called just c++fs for llvm8.0, so you could see if linking to that works
ld -lc++fs

Great. I'm happy to hear this is resolved.


Fix demo

While improving out tests, we broke our demo. We should fix this so it is easier to demo the secrets-provider.
Also, it is best no to use ./demo/pet-store-env.sh.yml | $cli create -f - and create a generated yml file instead. This is better for the demo as we can load the YAML file that is created by ourselves.

TODO:

[ ] look into when DAP_MASTER_CLUSTER should be false


fix: update strfmt dependency

This PR upgrades our dependency on the go-openapi/strfmt module to v0.20.1 to avoid a problem with a transitive dependency reported in this issue.

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