Installing on windows throws configure error

I'm looking into unit test frameworks for JavaScript and tried jest out.  I've created a new package.json and run the command:
npm install jest-cli --save-dev
which outputs this error:
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data
/

><EMAIL_ADDRESS>install D:\dev\cgb14\code\trunk\jesttest\node_modules\jest-cli\node_modules\jsdom\node_modules\contextify
> node-gyp rebuild

D:\dev\cgb14\code\trunk\jesttest\node_modules\jest-cli\node_modules\jsdom\node_modules\contextify>node "D:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild

gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at failNoPython (D:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:103:14)
gyp ERR! stack     at D:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:64:11
gyp ERR! stack     at Object.oncomplete (evalmachine.<anonymous>:107:15)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "D:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd D:\dev\cgb14\code\trunk\jesttest\node_modules\jest-cli\node_modules\jsdom\node_modules\contextify
gyp ERR! node -v v0.10.32
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "D:\\Program Files\\nodejs\\\\node.exe" "D:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "jest-cli" "--save-dev"
npm ERR! cwd D:\dev\cgb14\code\trunk\jesttest
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

It looks like its an issue with a dependancy on node-gyp
does anyone know how to solve this or remove the dependancy for windows?

I have the same issues on Windows 8.1:
Q:\dev\project>npm install
|
><EMAIL_ADDRESS>install Q:\dev\project\node_modu
les\jest-cli\node_modules\jsdom\node_modules\contextify
> node-gyp rebuild

Q:\dev\project\node_modules\jest-cli\node_modules\js
dom\node_modules\contextify>node "C:\Users\Benny\AppData\Roaming\nvm\v0.10.33\no
de_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" re
build
Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parall
ele Erstellung zu ermöglichen, müssen Sie den Schalter "/m" hinzufügen.
  contextify.cc
C:\Users\Benny\.node-gyp\0.10.33\deps\v8\include\v8.h(209): warning C4506: no d
efinition for inline function 'v8::Persistent<v8::Object> v8::Persistent<v8::Ob
ject>::New(v8::Handle<v8::Object>)' [Q:\dev\project
\node_modules\jest-cli\node_modules\jsdom\node_modules\contextify\build\context
ify.vcxproj]
dules\contextify\build\contextify.vcxproj]include\v8.h(209): warning C4506: no d
LINK : fatal error LNK1104: cannot open file 'libcpmt.lib' [Q:\dev\project\wea
rezeta\node_modules\jest-cli\node_modules\jsdom\node_modules\c
ontextify\build\contextify.vcxproj]Handle<v8::FunctionTemplate>)' [Q:\dev\proje
gyp ERR! build error bapp-core\node_modules\jest-cli\node_modules\jsdom\node_mo
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe` fail
ed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\Benny\AppData\Roaming\nvm\v0
.10.33\node_modules\npm\node_modules\node-gyp\lib\build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:
12)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command "node" "C:\\Users\\Benny\\AppData\\Roaming\\nvm\\v0.10.33\\node
_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd Q:\dev\project\node_modules\jest-cli\no
de_modules\jsdom\node_modules\contextify
gyp ERR! node -v v0.10.33
gyp ERR! node-gyp -v v1.0.1
gyp ERR! not ok
npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.

npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd Q:\dev\project
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR! not ok code 0

@chris31389: Which version of Visual Studio do you have installed? Can you try running npm install contextify --msvs_version=2012? The issue might be related to the version of Visual Studio.
There are several open tickets on the contextify repo:

Contextify installation fails on Windows 8.1
Contextify fails to install on Windows 8.1

Hi @bennyn,
I Tried running your command and got a similar error message.
I've got Visual Studio 2013 Ultimate installed on my Windows 8.1 system.  Why do you think Visual Studio is the issue?
I found this article with a set of instructions on how to get it working https://www.robertkehoe.com/2015/03/fix-node-gyp-rebuild-error-on-windows/
If its possible I'd prefer to not touch anything other than the node modules themselves.

@chris31389: I have came across this issue https://github.com/brianmcd/contextify/issues/129 and there it's written that @blowsie could build contextify with npm install contextify --msvs_version=2012. So it looks like to me that Visual Studio 2012 is needed in order to build that module.

Hi @bennyn
Looking at the article I referenced it says that contextify isn't being "actively" developed on so I think i'm going to give this npm module a miss and look for an easier alternative.
Thanks for the help

Please let me know if you have luck with installing jest.

@chris31389 do you have multiple versions is Visual Studio installed? This is what the --msvs_version= argument is for.

It's a shame Jest don't run at all on Windows.

@blowsie I've only got one version of visual studio installed.  I don't think the --msvs_version= argument is my solution
@borisyankov totally agree.  It sounded pretty awesome.

It looks like jest fails on Windows because of contextify?
There is a Windows Installation Guide for contextify which might be helpful?

Followed several guides, each with conflicting information.
After 2 hours, I got fed up.

Same here. Contextify will not build on Windows. I have followed their Windows Installation Guide as well. Bummer.

+1. Even though I have heard of people getting it working, it's clearly much harder than most packages...is there anything we can do?

For windows 7 at least, downloading these binaries let me get jest-cli installed. Tests are throwing errors about tests I didn't write, but it's a step perhaps.
https://github.com/mihaifm/jsdom_binaries

So if contextify is considered a not-really-for-Windows library (despite the nine articles and 20,000 words of simple instructions available), the question is can/will the wonderful jest team consider doing away with that dependency to make jest a viable option for Windows teams?

I have tagged 0.5 which works on iojs 2 and up. Contextify is dead. Please try installing iojs + jest 0.5 and report back here :)

Thanks for the quick reply. Looks like I'm heading to iojs land...

I'll close this; feel free to reopen if you are still having issues. If yes, I will have to get a windows computer I'm afraid :)

did you guys found the solution? i same
have problem here


The terminal clear command should delete the entire buffer, not hide it

Maybe an option, will leave this for upstream to allow first.


Use tempfile for temporary test files

Currently, test_data_dir is used in two ways: to get test data (see fixtures in conftest.py) and to output temporary files which then are supposed to be deleted (see test_plotting.py). I believe that these two directories should be different and a new temporal directory should be created for each tests generating temporary files. Standard library module tempfile can be used for that.

If tests are writing temporary files, they can use the pytest-provided tmp_path fixture. test_data_dir should be used for input paths, where /tests/data contains some simple golden files.
The usage in test_plotting should be updated to use tmp_path for writing new plot files.

@delucchi-cmu you are right, tmp_path fits perfectly


Implements continue for queries in api.rb + Adds deep_merge gem to ge…

What this PR does
This PR solves the issue #31  by Improving the response handling logic by implementing continue for queries that exceed the size limit.
The original method fetch_revision_data directly called client.action to send a request to the Mediawiki API, retrieving revision data in one go. This approach didn't account for cases where the API response could be paginated, meaning not all revision data might be returned in a single response.
Refactored Logic Walkthrough:

First API Call:

The initial API request returns a subset of data, along with a continue parameter indicating there is more data to fetch.
response.data is merged into data.

Subsequent API Calls:

The loop continues, using the continue parameter to fetch additional data.
Each new response's data is merged into the data hash using deep_merge!.

Final Result:

The data hash contains all the response.data for all the revisions, structured and ready for parsing.

Notes:

I used the implementation of continue in this file as reference lib/wiki_api.rb
Added multiple helper methods as seen in the WikiEdu implementation:

The mediawiki_request method introduces a retry mechanism with a maximum of three attempts, including a short sleep if the error is due to rate limiting (HTTP 429 status code).
The too_many_requests? method checks for rate-limiting errors, and log_error is used to handle unexpected errors gracefully, instead of allowing exceptions to terminate the process.
A new api_client method creates the MediawikiApi::Client instance, making the code cleaner and potentially more reusable.

To use data.deep_merge!(response.data I had to install the deep_merge gem, so I modified the Gemfile. I tried simply using .merge but then it processed 17 instead of 25 like with .deep_merge.
I rewrote the test, and added the size expectations before testing the api.rb changes
The revision and page ids were only printed for the sake of debugging, and are not part of the actual code

Comparison
Before implementing 'continue':

The 2nd test passes because it returns a truncation warning ( I tested removing the else statement to make sure it was not just passing because the result was not nil)
After implementing 'continue':

Okay. Since the structure of the expected response is known, I think it might be better to just write our own code to merge the results rather than rely on either deep_merge implementation.

This works:
  def self.fetch_all_revisions(query)
    client = api_client
    data = {}
    continue_param = nil

    loop do
      query.merge!(continue_param) if continue_param
      response = mediawiki_request(client, 'query', query)
      break unless response

      response.data['pages'].each do |pageid, page_data|
        if data['pages'] && data['pages'][pageid]
          # If the page already exists, merge revisions and other properties
          existing_page_data = data['pages'][pageid]

          # Merge the properties at the top level
          existing_page_data.merge!(page_data) do |key, old_val, new_val|
            if key == 'revisions' && old_val.is_a?(Array) && new_val.is_a?(Array)
              old_val + new_val  # Append new revisions to the existing array
            else
              new_val  # Overwrite for other keys
            end
          end
        else
          # If the page does not exist, add it to the data
          data['pages'] ||= {}
          data['pages'][pageid] = page_data
        end
      end

      continue_param = response['continue']
      break if continue_param.nil?
    end

    data
  end

If it is okay, should I make a commit with all the changes discussed?

Okay. Since the structure of the expected response is known, I think it might be better to just write our own code to merge

This works:
def self.fetch_all_revisions(query)
    client = api_client
    data = {}
    continue_param = nil

    loop do
      query.merge!(continue_param) if continue_param
      response = mediawiki_request(client, 'query', query)
      break unless response

      response.data['pages'].each do |pageid, page_data|
        if data['pages'] && data['pages'][pageid]
          # If the page already exists, merge revisions and other properties
          existing_page_data = data['pages'][pageid]

          # Merge the properties at the top level
          existing_page_data.merge!(page_data) do |key, old_val, new_val|
            if key == 'revisions' && old_val.is_a?(Array) && new_val.is_a?(Array)
              old_val + new_val  # Append new revisions to the existing array
            else
              new_val  # Overwrite for other keys
            end
          end
        else
          # If the page does not exist, add it to the data
          data['pages'] ||= {}
          data['pages'][pageid] = page_data
        end
      end

      continue_param = response['continue']
      break if continue_param.nil?
    end

    data
  end

It uses the inbuilt Ruby .merge method however.
If this is okay, can I go ahead to make a commit with all the changes?

That's quite verbose. Is there any simplification you can do? Otherwise, perhaps you can extract the part that is specifically for merging?

That's quite verbose. Is there any simplification you can do? Otherwise, perhaps you can extract the part that is specifically for merging?

This works too
 def self.fetch_all_revisions(query)
    client = api_client
    data = {}
    continue_param = nil

    loop do
      query.merge!(continue_param) if continue_param
      response = mediawiki_request(client, 'query', query)
      break unless response

      response.data['pages'].each do |pageid, page_data|
        data['pages'] ||= {}

        if data['pages'][pageid]
          # Merge existing page data with the new page data
          data['pages'][pageid].merge!(page_data) do |key, old_val, new_val|
            key == 'revisions' && old_val.is_a?(Array) && new_val.is_a?(Array) ? old_val + new_val : new_val
          end
        else
          # Add new page data if it doesn't already exist
          data['pages'][pageid] = page_data
        end
      end

      continue_param = response['continue']
      break if continue_param.nil?
    end

    data
  end

Extracting the merge logic is definitely a good idea, in my opinion.

Extracting the merge logic is definitely a good idea, in my opinion.

  def self.fetch_all_revisions(query)
    client = api_client
    data = {}
    continue_param = nil

    loop do
      query.merge!(continue_param) if continue_param
      response = mediawiki_request(client, 'query', query)
      break unless response

      merge_page_data(data, response.data['pages'])

      continue_param = response['continue']
      break unless continue_param
    end

    data
  end

def self.merge_page_data(data, pages)
  pages.each do |pageid, page_data|
    if data['pages'] && data['pages'][pageid]
      existing_page_data = data['pages'][pageid]

      # Merge the properties at the top level
      existing_page_data.merge!(page_data) do |key, old_val, new_val|
        key == 'revisions' && old_val.is_a?(Array) && new_val.is_a?(Array) ? old_val + new_val : new_val
      end
    else
      data['pages'] ||= {}
      data['pages'][pageid] = page_data
    end
  end
end

This seems reasonable.

This seems reasonable.

Done!, Since we've found a better fix, should I close the PRs I opened in the dashboard and here for adding the guard statement?

Yes please.

Note the failing test here.

Note the failing test here.

I've determined the issue.
In this part of  analyzer_spec:
# testing with the first revisions (with parent id being zero) and create item
    it 'returns the correct result for a revision array' do
      revision_ids = [1_016_232_717, 1_596_231_784]

      analyzed_revisions = WikidataDiffAnalyzer.analyze(revision_ids)

the revisions here have 0 as their parent ids, When .analyze is called, it calls the handle_large_batches in LargeBatchesAnalyzer like so result = LargeBatchesAnalyzer.handle_large_batches(revision_ids, 50) who then calls, the get_revision_data method twice to get the parsed_contents then the parents_contents_batch which uses the parent ids of the parsed_contents:
revision_ids.each_slice(batch_size) do |batch|
      parent_ids = []
      parsed_contents = Api.get_revision_contents(batch) # first call
      next unless parsed_contents

      # I have to check if any of the revision ids in the parsed content has parentid == 0
      parsed_contents.each do |revid, data|
        if (data[:parentid]).zero?
          first_revisions << revid
          puts "Revision ID with parentid 0: #{revid}"  # Print the revision ID
        else
          parent_ids << data[:parentid]
        end
      end
      puts "Array of parent IDs: #{parent_ids.inspect}"
      revision_contents.merge!(parsed_contents)
      parent_contents_batch = Api.get_revision_contents(parent_ids) #second call
      parent_contents.merge!(parent_contents_batch) if parent_contents_batch
    end

so in the case of the spec, the 2 revision ids have parent ids that are 0, so according to the logic above, the id is skipped and not added to the array, resulting in an empty array:

which causes the error, because the code I wrote doesn't handle cases where the ids (although parent ids) are nil, which makes the page nil too.
The spec worked fine with the deep_merge because the logic there would just skip / overwrite if the response.data['pages'] was nil.
So simply adding a guard statement in the merge method works and does not affect the normal processing:
def self.merge_page_data(data, pages)
    return unless pages # exits early if pages is nil or false
    pages.each do |pageid, page_data|
      if data['pages'] && data['pages'][pageid]
        existing_page_data = data['pages'][pageid]


JAMES-3709 Concurrent message deletion can cause issue in POP3

cc @ottoka

I can also confirm that this test indeed reproduces the issue. I can also confirm that my fixes from https://github.com/apache/james-project/pull/861 lets it succeed, given the change from my comment above. How to proceed from here?

I can also confirm that this test indeed reproduces the issue. I can also confirm that my fixes from #861 lets it succeed, given the change from my comment above. How to proceed from here?

I would suggest you cherry-pick and adapt my commit, remove the @Disabled in your PR.
Also this would be a good opportunity IMO to handle Mailbox::getMessage nullity issue.

Fixed as part of https://github.com/apache/james-project/pull/861


[Feature Request]: Missing SslCaPem configuration

Is your request related to a problem you have?
We are trying to connect using SSL. We don't use file but pass ssl keys using an env variable. We need to set the SslCaPem. And it's not available on kafkaflow
Describe the solution you'd like
Add SslCaPem connection configuration
Are you able to help bring it to life and contribute with a Pull Request?
Yes
Additional context
No response

@kYann Great to see this come to life.  We also need this setting soon.


Add Cypher Phants by Untamed Elephants

First charity collection on Ordinals, genesis sub 15K!](https://github.com/ordinals-wallet/ordinals-collections/pull/237

Fixed some issues


iOS - not getting remote notifications at all

#Bug report
Current behavior:
First of all,  Thanks a lot for this awesome plugin, I am using this plugin witn Ionic 4.
I am on iPhone XS Max/iOS 13.4 and I've tried everything since last 2 days on this issue
Still no avail. To summarize:
I've Checked on multiple plugin versions i.e. 7.0.x till 9.0.1
I've checked my bundle identifier matches the one in provisioning profile/development portal
I've created a new development push APNS certificate
I've created a new development certificate
I've created a new provisioning profile for that development certificate
I've downloaded both the certificate and provisioning profile, and obviously, double clicked them to install
I've verified that everything is right on Developer Portal: all certificates and provisioning profiles valid, push enabled and configured with my new APNS certificate
I've uploaded my new APNS certificate to firebase console
I've also tried with .p8 key on firebase console
I've made sure that I'm using the correct certificate/provisioning profile pair at Xcode to codesign
I've checked Notifications settings in case my app is not allowed to receive pushes, it's not there
I've tried setting date manually to tomorrow and tried re-installing the app
I've deleted the app from my device
I've deleted any related provisioning profiles from my device
I've restarted my device multiple times
I've switched my device network to cellular from wifi & vice versa multiple times
Please Please any help would be highly appreciated
Expected behavior:
I should be able to receive push notifications when app is closed or in background
Steps to reproduce:

Screenshots

Environment information

Ionic Info
Ionic:
Ionic CLI                     : 5.4.4 (/usr/local/lib/node_modules/ionic)
Ionic Framework               : @ionic/angular 4.10.0
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics    : 8.1.3
@angular/cli                  : 8.1.3
@ionic/angular-toolkit        : 2.0.0

Cordova:
Cordova CLI       : 9.0.0<EMAIL_ADDRESS>Cordova Platforms : android 8.1.0, ios 5.1.1
Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.1, (and 41 other plugins)
Utility:
cordova-res : 0.8.0 (update available: 0.11.0)
native-run  : not installed
System:
ios-deploy : 1.9.2
ios-sim    : 8.0.2
NodeJS     : v11.12.0 (/usr/local/bin/node)
npm        : 6.7.0
OS         : macOS Catalina
Xcode      : Xcode 11.4 Build version 11E146

Cordova CLI version

9.0.0<EMAIL_ADDRESS>

Cordova platform version

ios 5.1.1

Plugins & versions installed in project (including this plugin)
com-badrit-base64 0.2.0 "Base64"
cordova-open-native-settings 1.5.2 "Native settings"
cordova-opentok-android-permissions 1.0.0 "Cordova Opentok/WebRTC Android Permissions"
cordova-plugin-actionsheet 2.3.3 "ActionSheet"
cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport"
cordova-plugin-android-permissions 1.0.2 "Permissions"
cordova-plugin-androidx 1.0.2 "cordova-plugin-androidx"
cordova-plugin-androidx-adapter 1.1.0 "cordova-plugin-androidx-adapter"
cordova-plugin-appavailability 0.4.2 "AppAvailability"
cordova-plugin-apprate 1.4.0 "AppRate"
cordova-plugin-background-geolocation 3.1.0 "CDVBackgroundGeolocation"
cordova-plugin-background-mode 0.7.3 "BackgroundMode"
cordova-plugin-badge 0.8.8 "Badge"
cordova-plugin-ble-central 1.2.4 "BLE"
cordova-plugin-calendar 5.1.5 "Calendar"
cordova-plugin-camera 4.1.0 "Camera"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-dialogs 2.0.2 "Notification"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-filechooser 1.2.0 "File Chooser"
cordova-plugin-filepath 1.5.6 "cordova-plugin-filepath"
cordova-plugin-filepicker 1.1.6 "File Picker"
cordova-plugin-fingerprint-aio 3.0.0 "FingerprintAllInOne"
cordova-plugin-firebasex 7.0.1 "Google Firebase Plugin"
cordova-plugin-globalization 1.11.0 "Globalization"
cordova-plugin-health 1.1.3 "Cordova Health"
cordova-plugin-inappbrowser 3.1.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.1.1 "cordova-plugin-ionic-webview"
cordova-plugin-local-notification 0.9.0-beta.2 "LocalNotification"
cordova-plugin-nativeaudio 3.0.9 "Cordova Native Audio"
cordova-plugin-nativestorage 2.3.2 "NativeStorage"
cordova-plugin-network-information 2.0.3-dev "Network Information"
cordova-plugin-opentok 3.4.3 "OpenTokCordovaPlugin"
cordova-plugin-screen-orientation 3.0.2 "Screen Orientation"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-themeablebrowser 0.2.17 "ThemeableBrowser"
cordova-plugin-voippush 0.0.1 "VoipPush"
cordova-plugin-whitelist 1.3.4 "Whitelist"
cordova-sqlite-storage 3.4.0 "Cordova sqlite storage plugin - cordova-sqlite-storage plugin version"
cordova-support-google-services 1.3.2 "cordova-support-google-services"
cordova.plugins.diagnostic 4.0.12 "Diagnostic"
es6-promise-plugin 4.1.0 "Promise"
phonegap-plugin-barcodescanner 8.1.0 "BarcodeScanner"
phonegap-plugin-mobile-accessibility 1.0.5-dev "Mobile Accessibility"
phonegap-plugin-multidex 1.0.0 "Multidex"
uk.co.workingedge.phonegap.plugin.launchnavigator 3.2.2 "Launch Navigator"
wifiwizard2 3.1.1 "WifiWizard2"
Dev machine OS and version, e.g.

OSX
ProductName:    Mac OS X
ProductVersion: 10.15.2
BuildVersion:   19C57

Runtime issue

Device details

iPhone XS Max

OS details

iOS 13.4
iOS build issue:

Node JS version

v11.12.0

XCode version
Version 11.4 (11E146)

Please re-test using the example project to rule out causes in 3rd party projects such as plugin conflicts. Follow the instructions exactly to ensure APNS has been set up correctly. If you do not receive background notifications on iOS using the example app, the cause is likely to be your APNS setup in Firebase.
Remote notifications functionality provided by this plugin has been regression tested in all scenarios on both platforms and is in production use in numerous apps including my own, so this is not a bug with the plugin.
Closing as I'm unable to offer free user support for issues when integrating into 3rd party codebases.

@dpa99c how much will you charge for integration support into our codebase?

@Haroon6138 sorry if I made it sound like I was offering paid support - I simply don't have the time right now to offer any kind of user support (paid or otherwise) as my time is fully committed at the moment.

@dpa99c right still thanks a lot for your timely responses brother.

@dpa99c the issue has been resolved, Basically it's working when i create an AdHoc build & install it on phone & check it. Basically my production aps-environment is working, Not the development, Very peculiar.


Implement rate limiter for GRPC server

Description
This PR introduce:

switch journal=WAL for SQLite connection string (to avoid lock database error)
implement rate limiter for Publish/Unpublish grpc server methods

How can this be tested?

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Please upload report for BASE (release-1.3@ab82fcd). Learn more about missing BASE report.
Report is 1 commits behind head on release-1.3.

Files with missing lines
Patch %
Lines

pkg/controllers/csi/driver/server.go
0.00%
19 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@              Coverage Diff               @@
##             release-1.3    #4018   +/-   ##
==============================================
  Coverage               ?   64.26%
==============================================
  Files                  ?      353
  Lines                  ?    23752
  Branches               ?        0
==============================================
  Hits                   ?    15265
  Misses                 ?     7234
  Partials               ?     1253

Flag
Coverage Δ

unittests
64.26% <0.00%> (?)

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

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


Hash Mixing

In the 1st edition you mention that you use XOR to mix hashes for Vector2d since the Python documentation recommended that approach at the time. This is no longer the case; __hash__ now states

"It is advised to mix together the hash values of the components of the object that also play a part in comparison of objects by packing them into a tuple and hashing the tuple"

So the following code snippet should be changed from:
def __hash__(self):
    return hash(self.x) ^ hash(self.y)

To:
def __hash__(self):
    return hash((self.x, self.y))

Thank you so much, Matt! I made the fix you suggest in the Vector2d examples in Chapter 11 ("A Pythonic Object"—was chapter 9 in 1st edition). I need to consider what to do with N-dimensional vector examples in later chapters. For them, I used a generator exepression and functools.reduce with operator.xor on the elements, which computes the hash lazily, so it is memory efficient:
def __hash__(self):
        hashes = (hash(x) for x in self)
        return functools.reduce(operator.xor, hashes, 0)

It seems wasteful to build a tuple to compute the hash for the N-dimensional Vector class. It may have many elements, which will be duplicated in the tuple, only to be immediately thrown away.
If you have a suggestion for those cases, I'd be glad to read it. Thank you!

I just had an idea: I consider using just the hash of the array that holds the elements. I don't know how the hash of an array is computed, but it is probably adequate to my needs. Thanks, @MattEding!

Glad to have provided helpful information! Fluent Python was my first computer science book and still holds the crown for being my favorite!
Regarding the N-dimensional Vector, below are some options I came up with:
# keeping it simple
def __hash__(self):
    return hash(tuple(self))

# this is the slowest variant, but best memory usage
def __hash__(self):
    return functools.reduce(operator.xor, (hash(x) for x in self), 0)

# this is significantly faster than the two above variants
def __hash__(self):
    return hash(memoryview(self._components).tobytes())

# since hash collisions are expected anyway, how about sampling
# the data if it is above a threshold length?
def __hash__(self):
    stride = (len(self) // self._maxhashlen) or 1
    return hash(tuple(self._components[::stride]))

# caching for future calls
def __hash__(self):
    try:
        return self._hash
    except AttribruteError:
        self._hash = hash(tuple(self))
        return hash(self)

Of course the last two versions can be mix and matched with the tuple / memoryview / xor variants. Of course these gymnastics to get hash to work properly could lead to a discussion about why using non-hashable objects under the hood is problematic.
To keep you from the same dead end, here was my failed attempt trying to utilize the underlying buffer:
>>> from array import array
>>> arr = array('d', range(3))
>>> mv = memoryview(arr)
>>> hash(mv)
ValueError: cannot hash writable memoryview object
>>> hash(mv.toreadonly()) # python 3.8
ValueError: memoryview: hashing is restricted to formats 'B', 'b' or 'c'
>>> hash(mv.cast('b').toreadonly())
TypeError: unhashable type: 'array.array'

Ok so here is an possible implementation for the N-dimensional Vector that can hash effectively without any compromises.
Additionally, as per your request in the Soapbox A safe format, with Enhanced Usability, I have included an implementation that limits output. I ended up using a private method in reprlib.aRepr to avoid headaches of reinventing the wheel. It looks like it has been unchanged in all version branches on CPython's github, and I assume it is safe (enough) to use.
As a side-note: math.hypot(*self) may be a worse choice than math.sqrt(sum(x * x for x in self)) due to it unpacking into a tuple rather than lazy evaluation. But it is faster from empirical evidence from trying large Vector sizes.
from array import array
from reprlib import aRepr
import itertools
import math
import numbers
import re
import sys

class Vector:
    typecode = 'd'

    def __init__(self, components):
        self._bytes = array(self.typecode, components).tobytes()
        self._memv = memoryview(self._bytes).cast(self.typecode)

    def __iter__(self):
        return iter(self._memv)

    def __repr__(self):
        components = aRepr.repr_list(self._memv, aRepr.maxlevel)
        # avoid hardcoded name
        class_name = type(self).__name__
        # f-string 3.6
        return f'{class_name}({components})'

    def __str__(self):
        return str(tuple(self))

    def __bytes__(self):
        return bytes([ord(self.typecode)]) + self._bytes

    def __eq__(self, other):
        return (len(self) == len(other) and
                all(a == b for a, b in zip(self, other)))

    def __hash__(self):
        # chose this over `hash(bytes(self))` since __bytes__
        # is very slow with concatenation
        return hash((self.typecode, self._bytes))

    def __abs__(self):
        # math.hypot 3.8
        return math.hypot(*self)

    def __bool__(self):
        return bool(abs(self))

    def __len__(self):
        return len(self._bytes) // array(self.typecode).itemsize

    def __getitem__(self, index):
        cls = type(self)
        if isinstance(index, slice):
            return cls(self._memv[index])
        elif isinstance(index, numbers.Integral):
            return self._memv[index]
        else:
            # f-string 3.6
            msg = f'{cls.__name__} indices must be integers'
            raise TypeError(msg)

    shortcut_names = 'xyzt'

    def __getattr__(self, name):
        cls = type(self)
        if len(name) == 1:
            pos = cls.shortcut_names.find(name)
            # delegate to self.__len__
            if 0 <= pos < len(self):
                # delegate to self.__getitem__
                return self[pos]
        # f-string 3.6
        msg = f'{cls.__name__!r} object has no attribute {name!r}'
        raise AttributeError(msg)

    def angle(self, n):
        # math.hypot 3.8
        r = math.hypot(*self[n:])
        a = math.atan2(r, self[n-1])
        if (n == len(self) - 1) and (self[-1] < 0):
            return math.pi * 2 - a
        else:
            return a

    def angles(self):
        return (self.angle(n) for n in range(1, len(self)))

    fmt_default_limit = 30

    # `format` ignores default values for `fmt_spec`
    # "The default format_spec is an empty string"
    # https://docs.python.org/3/library/functions.html#format
    def __format__(self, fmt_spec):
        endwith_star_digits = r'(?P<polar>h)?(?P<length>\*|\d*)$'
        regex = re.compile(endwith_star_digits)
        match = regex.search(fmt_spec)

        length = match.group('length') or self.fmt_default_limit
        maxiter = sys.maxsize if length == '*' else int(length)

        if match.group('polar'):
            left, right = '<>'
            it = itertools.chain([abs(self)], self.angles())
            it = itertools.islice(it, maxiter + 1)

            class SizedIteratorClosure:
                def __len__(_):
                    return len(self)

                def __iter__(_):
                    return it

            # can do `coords = tuple(it)` if copying data is acceptable
            coords = SizedIteratorClosure()
        else:
            left, right = '()'
            coords = self
        # a protected method, but "Python is a language for consenting adults."
        return aRepr._repr_iterable(coords, aRepr.maxlevel, left, right, maxiter)

    @classmethod
    def frombytes(cls, octets):
        typecode = chr(octets[0])
        memv = memoryview(octets[1:]).cast(typecode)
        return cls(memv)

To compare the memory usage of using bytes and memoryview instead of an array or other sequences:
def compare_sizeof(n, typecode='d'):
    arr = array(typecode, range(n))
    mv = memoryview(arr)
    byt = bytes(mv)
    tpl = tuple(mv)
    lst = list(mv)
    return {type(obj).__name__: sys.getsizeof(obj) for obj in [arr, mv, byt, tpl, lst]}

As Vector's size increases, this implementation actually uses less memory than the original.


Add method for Node

Now there are 2 methods available, setPosition and setRotation, I suggest adding 1 more method setPositionAndRotation.
public setPositionAndRotation(position: Readonly<pc.Vec3>, rotation: Readonly<pc.Quat>): void;

This will further optimize position and rotation manipulations

I think we have an equivalent, or at least it is similar:
entity.getWorldTransform().setTRS(position, rotation, pc.Vec3.ONE);

A much bigger optimization many miss is to use setLocalPosition instead of setPosition where possible.

@AlexAPPi So ive done some performance testing in #6625 and it doesn't seem like the performance gain is reasonable enough to warrant adding this method right now. If this issue was created for a personal project the chances of optimizing other areas would be much more successful that attempting to include this


[new chart type]: combined chart

Hello!
Can I build a combined chart like a screenshot?
https://tetis-capital.ru/upload/image/chart.png

IssueHunt Summary

Backers (Total: $50.00)

 issuehunt ($50.00)

Become a backer now!
Or submit a pull request to get the deposits!
Tips

Checkout the Issuehunt explorer to discover more funded issues.
Need some help from other developers? Add your repositories on IssueHunt to raise funds.

IssueHunt has been backed by the following sponsors. Become a sponsor

So, I'm planning to make a new Combined.js in the src and then build it as a separate new chart or you want me to re-use the Bar and Line code, is that possible in some way?

@gurrrung Thanks for the interest, I think we should re-use the Bar and Line code in some way, so we won't need to copy-paste code around when the charts changes(e.g. https://github.com/timqian/chart.xkcd/issues/27), but the current implementation of them is not easy to be reused, we may need to refactor the code a little
Suggestions on the refactoring are welcomed

Ref: How chart.js implement mixed type chart https://www.chartjs.org/docs/latest/charts/mixed.html


SetFloat in README.MD

In README.MD
you have
.SetFloat(3)
shouldn't it be
.SetFloat64(3)  ?

Thanks!


[DO NOT MERGE YET] Review memory limits

This change is aimed to fix #413. I still need to test it under load few times and adjust default instance type, but it looks like we can do away with 3 of t2.medium or t2.large.
@2opremio PTAL

So what I did here is allocate enough memory for most services, given the usage under load test (as reported by Scope), and I have rounded it up to the nearest power of two figure. I've also given higher limits to Mongo and Rabbit tasks, as with data services in general there is a great chance of usage growing over time, yet I only gave those 64MB.

Some more historic background on how we ended up with such high numbers.
I've started with 256MB for all the services (just like task-definitions/*.json still have it).
Once I noticed that some services get OOMed after some period (like 10-15min), I bumped Mongo and Rabbit to 512MB, and all services we wrote to 1024MB (to be safe, and this was prior to the time when some things got rewritten in Go).

We should switch to soft limits as soon as it's possible to do via CloudFormation (right now it doesn't support MemoryReservation attribute in taskdef).

We should switch to soft limits as soon as it's possible to do via CloudFormation (right now it doesn't support MemoryReservation attribute in taskdef).

I am tempted to add some extra headroom for the moment, although if some tasks get OOMed it's not too bad, as they get restarted... Any suggestions are welcome. Otherwise, if all goes well in couple of tests I'm about to do now, I'd be happy to merge this as is.

The memory limits right now accumulate to about 40% of 2x t2.medium (4GB each), and usage is at about 30%. I feel good about the 10% headroom.


Do not report wrapped targets as unused targets

Account for wrapped targets when determining if they are unused targets.
Related to issue: https://github.com/NLog/NLog/issues/2288

Anything pending here? Let me know.

Only failing builds, but it looks like that are unstable tests

Thanks for the changes! Looks good!

merged! Thx! will be released in NLog 4.5


How to use it for audio file from remote.

When i try to give a remote url below, i receive following error -  Cannot read property 'decodeAudioData' of null...
getAudioBuffer = async (path, context) => {
        console.log("get audio buffer", path);

  const response = await fetch(**remote url**);
  console.log('audio response', response);
  const audioData = await response.arrayBuffer();
  return new Promise((resolve, reject) => {
    context.decodeAudioData(audioData, buffer => {
      return resolve(buffer);
    });
  });
};

Sounds like your context is null.  Make sure that context is a reference to the window's audio context.  Here is an example function that gets the audio context.
export const getContext = () => {   window.AudioContext =     window.AudioContext ||     window.webkitAudioContext ||     window.mozAudioContext ||     window.oAudioContext;   const context = new AudioContext();   return context; };

ok.. Thanks i was able to get the audio buffer... but how to play that after setting the buffer?

This library is only for displaying the waveform, displaying a position,  and allowing the user to select a position in the waveform so there are no methods to actually play the buffer.  You should use another method for playing it.

ok thanks... "You should use another method for playing it." -- is it available with this plugin or you mean we need to use another plugin. if so how can we move the marker as the audio plays.

You would need to use another method to play the audio.  You could use another module, or an audio tag, or the WebAudioAPI, it's up to you.  To update the marker position just update the position prop.

ok.. thanks.. will give that a shot..


Rename overview perspective as "All cloud filtered by OpenShift"

Renamed the "All filtered by OpenShift" overview perspective as "All cloud filtered by OpenShift"

https://github.com/project-koku/koku-ui/issues/1404

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1405   +/-   ##
=======================================
  Coverage   77.04%   77.04%
=======================================
  Files         216      216
  Lines        3790     3790
  Branches      661      661
=======================================
  Hits         2920     2920
  Misses        779      779
  Partials       91       91

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 9165519...15319d4. Read the comment docs.


Release 0.8.1

Our regularly scheduled monthly release is coming on November 1st.
Looking at the current state of the CHANGELOG, there are no breaking changes so 0.8.1 seems appropriate.
I'll be traveling that day. Any takers for this?
@Theodus ?

Since there have been so may releases lately, should we delay the next one a while (to avoid extra administrative effort/fatigue)?
When we agreed to do monthly releases, I think the main goal was to make sure we didn't go too long without a release.  We've done 5-6 releases in the past month, so I think we're meeting this goal.
Maybe we should interpret the monthly release goal as meaning "don't let a month pass by without doing a release"?

I think saying that the first of every month we do a release if there hasn't been on in the last month would be good. That could result in something up to close to 2 months between releases but at our current rate, that seems unlikely. Thoughts @jemc @Praetonus? I'm good with the general idea.

If @Praetonus signs off on the above to go along with @jemc's thumbs up, I'll close this and we can operate under the updated plan.

I agree with that.


relax version requirement for networkx to be 1.9 or may be even lower?

I was looking into providing backports of Debian package Ghislain Antony Vaillant has prepared for Debian.  A culprit forbidding seamless backporting for debian stable/jessie is demand to have networkx >= 1.10 which was introduced in d916dbc1b292811d7fc1410059c4e8ab61293bbc .  Unfortunately commit message doesn't state why boosting version was required, so I have decided to ask, since package built and all tests passed with 1.9 version of networkx as present on debian jessie.
Or there is some feature which is just not tested which does require 1.10 for sure?
Thank you in advance for the clarification!

@yarikoptic: The networkx package is only used in this module.
I don't see a reason why a version higher than 1.10 is needed, hence the requirement is now relaxed.
Hope this helps.


Input.Date Adaptive card in IE-Adaptive card option Input.Date not populating in IE browser of Bot Framework

Hi Team,
We encountered an issue while developing through bot framework i.e. When we use Input.Date adaptive card form display issue occurs when the webchat window open in IE browser.
Client is looking for solution and the resolution is needed on high demand. Looking for help on this issue.
Thanks,

@LakshummaC FYI that Msft has officially deprecated support for IE11 as of Nov 2020 so very curious to understand their end-end scenario here ? @dandriscoll what is the "IE Browser of BotFramework" again?  @dclaux thoughts?

@LakshummaC FYI that Msft has officially deprecated support for IE11 as of Nov 2020 so very curious to understand their end-end scenario here ? @dandriscoll what is the "IE Browser of BotFramework" again?  @dclaux thoughts?


Linux: Handle export preset compat with 'Linux/X11' platform name

Fixes #89012.
I'm not changing the preset name itself as it doesn't matter, so I think it's better not to mess with the user's files.
This also doesn't save the changes out of the box, so as long as users don't modify the export preset's configuration further, it will stay compatible with 4.2.x and earlier. If they modify the preset in 4.3, then saving the project will save the platform name change.
I could also add a similar check in 4.2.2 and 4.1.4 for forward compatibility, WDYT?

I could also add a similar check in 4.2.2 and 4.1.4 for forward compatibility, WDYT?

I'm not sure what you mean. Do you mean that we would change the default name to Linux on there and do a similar check or that we would check for Linux and treat it as Linux/X11?

The latter:
// Forward compatibility with Linux platform after 4.3.
if (platform == "Linux") {
	platform = "Linux/X11";
}


Fixed VCR Helix participant didn't report http2 port issue.

VCR Helix participant didn't report http2 port because VCR_HELIX_CONFIG_READY is true.
So add the condition if http2 is added, we also update the Helix.
Tested with server node lva1-app31825.prod.linkedin.com and lva1-app31011.prod.linkedin.com_15098
Now it's reported
{
"id": "xxx",
"simpleFields": {
...
"http2Port": "15389",
"sslPort": "15289",
...
},
}

Codecov Report

Merging #2180 (d5b0869) into master (67da981) will decrease coverage by 58.18%.
The diff coverage is 0.00%.

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Lets merge this. Please make the logging change by conditionally logging and not overwhelming the log

@snalli I have another comment to address for this PR. Sorry for the slow response.

@snalli I have another comment to address for this PR. Sorry for the slow response.

ok lmk when done and i will merge

Are there any more comments to be addressed on this ?

Yes, I need address Justin's comment.
Add VcrInstanceConfig data structure. Using its comparison to replace vcrHelixConfigReady.

approved


Split into few charts

Describe the problem
Currently there's one chart that has postgres and redis dependencies.
Values for standalone installation with external databased are mixed up and from time to time cause upgrade problems.
Describe the solution you'd like
I'd suggest splitting the chart into two, like it's done in many apps like prometheus, grafana, etc.
The first chart would be standalone weblate, without any deps and with configuration that will look more or less the same to current with external databases.
The second one could be called weblate-stack with dependencies to the first "standalone" chart and database charts dependencies.
In this way it will be much easier to maintain main chart and will allow not to adjust it's config to some third-parties that may change their values structure (e.g. like it was with bitnami charts)
Describe alternatives you've considered
No response
Screenshots
No response
Additional context
No response

This sounds reasonable, but I'm not really an expert here, see https://github.com/WeblateOrg/helm/issues/348

Yeah. I've saw that. Maybe at some point I'll have a time, but I'm actually also not an expert in charts. Or maybe others will see that and will make a contribution.


Issues with Y Axis Values & Decimal Values Using Bar Chart

There's an issue with the scale return for the Y axis values when using decimal numbers.

When the scale is from 0-0.5, 0.3 on Y axis is rendered as 0.30000000000000004

When the scale is from 0-1, 0.6 is rendered as 0.6000000000000001 on the Y axis.

FYI - I've tracked this done to the usage of lodash's range method with floating point values in Axis.js. The difficulties we are dealing with here are documented in this issue from Oct 2015 in the lodash repo. Thinking about possible ways to deal with this. Open to ideas. Plenty of ideas here. My immediate reaction is to work with integers for the range values (and then convert back).

Ok, I'm looking for some design feedback before starting a PR on this one. I generally think the "Method 3" technique offered here is usable to solve the issue.
The only question in my mind is how do you determine what a suitable default for the number of decimal places to target (and therefore shift to the left of the decimal point to round before converting back to the target number of decimal places)?
Here's a jsfiddle to illustrate the issue - how does one specify the decimalPlaces parameter to pass to the fixFloats function in all of the example ranges? I assume we add another chart option for both the x and y axis for a target decimalPlaces that would take effect when you have floating point values in your data set but then what would be a suitable default for decimalPlaces if the chart creator didn't specify that configuration option (which maintains backward compatibility)? I see several possible options:

Set it to a static number of places (like 2)?
Use the number of decimal places on the first element of the data set?
Try to dynamically determine a suitable default by evaluating the number of decimal places in use in the data set? How?

Use the number of decimal places that are used by a majority of numbers?
Use the max number decimal places found smaller then some threshold like 10 decimal places?

A lot of this feels like a big hack and all of these approaches are problematic in various regards so I'm trying to pick the one that "sucks the least". Any thoughts? Any approaches I haven't considered here that are better?

The decimalPlaces parameter sounds nice, and I think the default for it is fine as a static number, 2 making the most sense since on mobile devices the required precision would very rarely exceed that. However, I believe it should take effect not only when you have floating point values in your data set, but all the time. This is because it doesn't really have much to do with what the number of decimal places are for the elements in the dataset, since my dataset could be something like (1, 50), (2, 85), and so even though my X axis datapoints don't have any decimal places, there will be numbers with decimal places in between them that will be displayed along the axis after those are calculated.

What about a format function that can be overridden?  Use a default with perhaps 2 decimal places, but otherwise allow a user to format however they like (such as with currency symbols). That would be the most robust.

The "format function" already exists here and is embodied in the labelFunction option (in the example app, the StockLineChartDynamicTickLabels example illustrates the use of this option).
While its true each user of this library could address the floating point problem in this issue by implementing their own rounding routine in that labelFunction function, I think this is a more universal problem that occurs often enough that we would want to address it for everyone.


Make o/p of ipam DumpDatabase() consistent

This fixes TestRetrieveFromStore which became flaky after recently ipam changes.
Signed-off-by: Alessandro Boch<EMAIL_ADDRESS>

LGTM


Class Plottable CrossHair

ScottPlot 4.1.41 et visual studio 2022 avec Windows 10
CrossHair renvoie un LegendItem Null (CrossHair returns a Null LegendItem)
public LegendItem[] GetLegendItems() => null;
Cela provoque une erreur dans (This causes an error in)
class FormsPlot
public void DefaultRightClickEvent(object sender, EventArgs e)
{
bool legendHasItems = Plot.GetPlottables()
.SelectMany(x => x.GetLegendItems())
.Where(x => !string.IsNullOrEmpty(x.label))
.Any();
var legend = Plot.Legend(enable: null, location: null);
bool legendIsNotDetachedAlready = legend.IsDetached == false;
detachLegendMenuItem.Visible = legendHasItems && legendIsNotDetachedAlready;
DefaultRightClickMenu.Show(System.Windows.Forms.Cursor.Position);
}
où x != null n'est pas tester avant son utilisation dans la clause Where de la requête (where x != null is not tested before it is used in the Where clause of the query)

Hi @FrancisMartin-VB ,
This bug has already been described in #1791.
The fix has already been made and is awaiting acceptance #1794.
It will take some time before it is released.

Thank you for reporting this @FrancisMartin-VB!
This bug has been fixed in version 4.1.42 which will be released today 👍


Setup M5STACK Atom Echo voice assistants

Requirements

[ ] Install Voice Assistant on Atom Echos.
[ ] Configure Atom Echos in Home Assistant.

Resources

$13 voice assistant for Home Assistant

Look into fine tuning [noise suppression for assist].


Proposition: two hard drive setup & systemd boot

First I want to say that easy-arch is the perfect script for my laptop.
Propositions I will be happy to see and test if you implement one ore both of them:

I have a 256GB SSD and 128 GB M.2 SSD and for the moment BTRFS using the both of the drives I used only in Fedora 34/35
Systemd boot

To the first question my answer is "I can think about it". Regarding the second question, that's a no for two reasons:

Systemd boot is nowhere near as featureful as GRUB (can we even consider it as a bootloader? cause it just launches EFI files).
It doesn't allow booting from snapshots. :D

Thanks for accepting the idea about the 2 disks and agree that without snapshots it's worthless to change GRUB for anything else. Time for Coffee :)

To the first question my answer is "I can think about it". Regarding the second question, that's a no for two reasons:
1. Systemd boot is nowhere near as featureful as GRUB (can we even consider it as a bootloader? cause it just launches EFI files).

2. It doesn't allow booting from snapshots. :D

Ad. 1 Yes systemd-boot is UEFI boot manager not bootloader but who really cares. The pros are simple configuration that is enough for many users.
Ad. 2 That's what I thought too but surprise: snapper-systemd-boot.sh ;)

Related to the second SSD it was enough to format it as BTRFS then
#sudo btrfs device add /dev/sdb1 /home -f  (in my case I increased the /home subvol)
It looks that I achieved my goal like this.

Related to the second SSD it was enough to format it as BTRFS then #sudo btrfs device add /dev/sdb1 /home -f (in my case I increased the /home subvol) It looks that I achieved my goal like this.

Great, that could help me with adding a multi-device setup to the script.

@pm4rcin Ok i've actually checked that project and yeah it looks promising, let's say that I'll keep my eyes on it and on similar projects (I myself prefer systemd-boot over GRUB, I actually use it on my own system so yeah, I'm keen to switch to it as soon as that project matures.

IMO We should just go ahead with the systemd script in a experimental branch (if possible).

I'm ngl to u guys, systemd-boot support for snapshots is still immature.Im not saying that's not gonna happen, just not anytime soon. 😐


null Exception when importing Tab Groups backup

I tried to import my current tab groups backup, but get no response of your add-on and the tabs don't show up anywhere.
When enabling the add-on debugger I can see an unhandled null exception:
11:12:07.263 TypeError: JSON.parse(...) is null
Stack-Trace:
StorageManager.File.importTabGroups@moz-extension://8ff6ce61-0f5b-4753-9365-3a1d24b72d2f/background/storage/filestorage.js:126:10
StorageManager.File.importGroups@moz-extension://8ff6ce61-0f5b-4753-9365-3a1d24b72d2f/background/storage/filestorage.js:55:14
onImportGroups@moz-extension://8ff6ce61-0f5b-4753-9365-3a1d24b72d2f/background/controller.js:175:20
optionMessenger@moz-extension://8ff6ce61-0f5b-4753-9365-3a1d24b72d2f/background/controller.js:267:7
1 controller.js:186:7
onImportGroups moz-extension://8ff6ce61-0f5b-4753-9365-3a1d24b72d2f/background/controller.js:186:7
optionMessenger moz-extension://8ff6ce61-0f5b-4753-9365-3a1d24b72d2f/background/controller.js:267:7

I exported tab groups from the menu of the extension. I have tried: 3 groups on 2 windows with and without session and all work.
Can you send me the content of all of this field: "tabview-tab" under "extData" from your JSON ? Normally, it is the groupID and sometimes if it is active.

It contains the value "null"
It looks like that the value is alsways "null" in "pinned tabs"... :)

Ok, I haven't tried with pinned tabs as in Tab Groups they were never synchronized.
I will try and fix it.
You can either wait or import Tab Groups session without pinned tabs. (Hopefully, it should work)

It's not an easy task to import such a file...
I did unpin my tabs in old FF and created a new backup file, but TabGroups still wrote the null values into the file. I had to open the file with Notepad++ and replace it with a new group name. Don't think this is something a standard user will do/be able to.

It was just an alternative solution for doing it right now. I will fix it for the next release.

Ok, sure. I did not know which intention you had regarding this issue. It could have been that you don't want to fix this as this was a too special usage maybe. Glad to hear that you want to fix it :)

Jajaja too many people could have pinned tabs in Tab Groups, it is really impacting.
Next version will rock:

Import pinned tabs in extra group: you can open them from the menu with the + on the tab; then delete the group
Import also icons, so imported tabs in closed groups are not naked any more


LXD 3.19: Common start logic: Failed to change ACLs

All right, this is weird one:
I can't start an instance on an ARM server, the following is displayed:
$> lxc start LF2c8fa74f-4b5d-4512-b564-18242c727be2
Error: Common start logic: Failed to change ACLs on /var/lib/lxd/storage-pools/remote/containers/LF2c8fa74f-4b5d-4512-b564-18242c727be2/rootfs/var/log/journal

A strace on the lxd daemon responsible for starting the instance shows:
$> strace -ff lxd --debug 2>&1 | grep -i acl
[...]
[pid  1826] setxattr("/var/lib/lxd/storage-pools/remote/containers/LF2c8fa74f-4b5d-4512-b564-18242c727be2/rootfs/var/log/journal", "system.posix_acl_access", "\2\0\0\0\1\0\7\0\377\377\377\377\4\0\5\0\377\377\377\377\10\0\5\0\377\377\377\377\10\0\5", 52, 0) = -1 EINVAL (Invalid argument)
t=2020-01-24T19:45:52+0000 lvl=dbug msg="Failure for task operation: a19fab5f-4d72-44dd-8260-97637ea60194: Common start logic: Failed to change ACLs on /var/lib/lxd/storage-pools/remote/containers/LF2c8fa74f-4b5d-4512-b564-18242c727be2/rootfs/var/log/journal"

(The EINVAL on the setxattr is very weird, this errno value is not even documented)
The call is at shared/idmap/shift_linux.go:290
It is worth noting that I'm running a custom-compiled kernel on this machine, but the following options are enabled, so I don't think that is the problem:
$> cat .config | grep -i ACL
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_REISERFS_FS_POSIX_ACL=y
CONFIG_JFS_POSIX_ACL=y
CONFIG_XFS_POSIX_ACL=y
CONFIG_BTRFS_FS_POSIX_ACL=y
CONFIG_F2FS_FS_POSIX_ACL=y
CONFIG_FS_POSIX_ACL=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_CEPH_FS_POSIX_ACL=y
CONFIG_CIFS_ACL=y
CONFIG_9P_FS_POSIX_ACL=y

Here's an ls of the concerned file:
$> ls -la /var/lib/lxd/storage-pools/remote/containers/LF2c8fa74f-4b5d-4512-b564-18242c727be2/rootfs/var/log/journal
total 0
drwxr-sr-x+ 4 1000000 1000984  60 Jan 24 18:35 .
drwxr-xr-x  6 1000000 1000000 117 Jan 24 04:47 ..
drwxr-sr-x+ 2 root        984  28 Jan 24 18:35 2d4a27927566406caa8b52476c40ee3e
drwxr-sr-x  2 root        982   6 Dec  3 03:41 remote

Filesystem is XFS, with ceph rbd.

@Ne02ptzero I've not had any luck reproducing this issue :(
Is it still affecting you?
If so, can you provide some more reproducing steps? Ideally starting from a commonly available image?
I have arm64 server hardware, so that part is covered.

Also could you show:
getfacl -R /var/lib/lxd/storage-pools/remote/containers/LF2c8fa74f-4b5d-4512-b564-18242c727be2/rootfs/var/log/journal

I believe we tracked this down and fixed it now

Hi @stgraber is the fix included in the stable 4.1 snap package? I'm hitting a similar issue when setting security.idmap.isolated true

cat test.yml

architecture: x86_64
config:
  user.user-data: |-
    #cloud-config
    hostname: test.domain
    fqdn: test.domain
    debug:
      verbose: true
  security.idmap.isolated: true
devices:
  mnt:
    path: /mnt
    source: /mnt/test
    type: disk
  root:
    path: /
    pool: lxd
    size: 20GB
    type: disk
ephemeral: false

lxc init  test-template test < test.yml

The test-template was created from vanilla ubuntu18.04 then installing some extra packages, the original container has   security.idmap.isolated: true set as well then lxc publish and
lxc image export

lxc start test

Error: Common start logic: Failed to change ACLs on /var/snap/lxd/common/lxd/storage-pools/lxd/containers/test/rootfs/var/log/journal
Try `lxc info --show-log test` for more info

lxc info --show-log test

Name: test
Location: none
Remote: unix://
Architecture: x86_64
Created: 2020/06/11 09:38 UTC
Status: Stopped
Type: container
Profiles: default

Log:

lxc info

config:
  images.auto_update_interval: "0"
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_stop_priority
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
- resources
- kernel_limits
- storage_api_volume_rename
- macaroon_authentication
- network_sriov
- console
- restrict_devlxd
- migration_pre_copy
- infiniband
- maas_network
- devlxd_events
- proxy
- network_dhcp_gateway
- file_get_symlink
- network_leases
- unix_device_hotplug
- storage_api_local_volume_handling
- operation_description
- clustering
- event_lifecycle
- storage_api_remote_volume_handling
- nvidia_runtime
- container_mount_propagation
- container_backup
- devlxd_images
- container_local_cross_pool_handling
- proxy_unix
- proxy_udp
- clustering_join
- proxy_tcp_udp_multi_port_handling
- network_state
- proxy_unix_dac_properties
- container_protection_delete
- unix_priv_drop
- pprof_http
- proxy_haproxy_protocol
- network_hwaddr
- proxy_nat
- network_nat_order
- container_full
- candid_authentication
- backup_compression
- candid_config
- nvidia_runtime_config
- storage_api_volume_snapshots
- storage_unmapped
- projects
- candid_config_key
- network_vxlan_ttl
- container_incremental_copy
- usb_optional_vendorid
- snapshot_scheduling
- container_copy_project
- clustering_server_address
- clustering_image_replication
- container_protection_shift
- snapshot_expiry
- container_backup_override_pool
- snapshot_expiry_creation
- network_leases_location
- resources_cpu_socket
- resources_gpu
- resources_numa
- kernel_features
- id_map_current
- event_location
- storage_api_remote_volume_snapshots
- network_nat_address
- container_nic_routes
- rbac
- cluster_internal_copy
- seccomp_notify
- lxc_features
- container_nic_ipvlan
- network_vlan_sriov
- storage_cephfs
- container_nic_ipfilter
- resources_v2
- container_exec_user_group_cwd
- container_syscall_intercept
- container_disk_shift
- storage_shifted
- resources_infiniband
- daemon_storage
- instances
- image_types
- resources_disk_sata
- clustering_roles
- images_expiry
- resources_network_firmware
- backup_compression_algorithm
- ceph_data_pool_name
- container_syscall_intercept_mount
- compression_squashfs
- container_raw_mount
- container_nic_routed
- container_syscall_intercept_mount_fuse
- container_disk_ceph
- virtual-machines
- image_profiles
- clustering_architecture
- resources_disk_id
- storage_lvm_stripes
- vm_boot_priority
- unix_hotplug_devices
- api_filtering
- instance_nic_network
- clustering_sizing
- firewall_driver
- projects_limits
- container_syscall_intercept_hugetlbfs
- limits_hugepages
- container_nic_routed_gateway
- projects_restrictions
- custom_volume_snapshot_expiry
- volume_snapshot_scheduling
- trust_ca_certificates
- snapshot_disk_usage
- clustering_edit_roles
- container_nic_routed_host_address
- container_nic_ipvlan_gateway
- resources_usb_pci
- resources_cpu_threads_numa
- resources_cpu_core_die
- api_os
- container_nic_routed_host_table
- container_nic_ipvlan_host_table
- container_nic_ipvlan_mode
- resources_system
- images_push_relay
api_status: stable
api_version: "1.0"
auth: trusted
public: false
auth_methods:
- tls
environment:
  addresses: []
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
    MIICdTCCAfqgAwIBAgIQBzAd20VxRS7Dj0jJ97hBZDAKBggqhkjOPQQDAzBZMRww

    hayT7OcsI7+f
    -----END CERTIFICATE-----
  certificate_fingerprint:
XXXXXXX
  driver: lxc
  driver_version: 4.0.2
  firewall: xtables
  kernel: Linux
  kernel_architecture: x86_64
  kernel_features:
    netnsid_getifaddrs: "true"
    seccomp_listener: "true"
    seccomp_listener_continue: "true"
    shiftfs: "false"
    uevent_injection: "true"
    unpriv_fscaps: "true"
  kernel_version: 5.0.0-1026-gcp
  lxc_features:
    cgroup2: "true"
    mount_injection_file: "true"
    network_gateway_device_route: "true"
    network_ipvlan: "true"
    network_l2proxy: "true"
    network_phys_macvlan_mtu: "true"
    network_veth_router: "true"
    pidfd: "true"
    seccomp_notify: "true"
  os_name: Ubuntu
  os_version: "18.04"
  project: default
  server: lxd
  server_clustered: false
  server_name: name.domain
  server_pid: 17967
  server_version: "4.1"
  storage: zfs
  storage_version: 0.8.4-1~18.04.york0

Doing some more search I found https://discuss.linuxcontainers.org/t/cannot-start-a-copied-container-failed-to-change-acls/7982/2 I'll remove /var/log/journal when creating the template to see if that solves the issue


[docs-infra] Support code tabs

Summary 💡
A quick placeholder issue for the need to support tabs in the demos. (I couldn't find another issue).
Examples 🌈

https://nivo.rocks/sunburst/

https://www.radix-ui.com/primitives/docs/components/avatar
Motivation 🔦
This could allow us to solve a few problems at once:

In the Base UI docs, isolate the source of the component and its uses.
In the Material UI Autocomplete demos, moving the long list of countries to a side tab to not clutter the view
In the MUI X Data Grid demos, in the cases where we can't use useDemoData because it's key to understand the demo but at the same time there is soo much data that it's hard to follow, we could move that to a side code tab.

A note on the copy button behavior. I would be in favor of having the main one:

to combine the files together when possible

Heya — how's this different from the one you opened (https://github.com/mui/material-ui/issues/38911) a while ago?
We're aware of this and may prioritize it very soon within the docs-infra roadmap!

Duplicate of #38911

@danilo-leal Great point. I think we can treat these two as different issues:

#39837 about the ability to have code tabs
#38911 about sharing the same source between demos, using code tabs


Jigsaw compatibility

I don't know whether is it a JDK 9 bug, but I get the following error while using ikonli.
java.lang.NoClassDefFoundError: Could not initialize class org.kordamp.ikonli.javafx.FontIcon$StyleableProperties
        at org.kordamp.ikonli.javafx.FontIcon.getClassCssMetaData(FontIcon.java:301)
        at org.kordamp.ikonli.javafx.FontIcon.getCssMetaData(FontIcon.java:305)
        at javafx.graphics/javafx.scene.CssStyleHelper$CacheContainer.<init>(CssStyleHelper.java:380)

Do you have any opinion for that?
Thanks.

The reason is converter classes in com.sun.** moved to javafx.css.converter, but still I couldn't build project with jdk 9. I used the following JVM paremeters:
-Dsun.reflect.debugModuleAccessChecks=true --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/sun.security.provider=ALL-UNNAMED

Have you ever try to build ikonli with Java 9 Jigsaw @aalmiray ? Thanks.

hint: consider using MJARs instead of multiple JARs with classifiers. See JEP 238.
Must figure out a way to build MJARs with Gradle.

This has turn out to be a major issue. FontIcon makes use of private APIs in Java8 that have been migrated to public in Java9. In order to maintain compatibility 2 versions of this class must be compiled, one with JDK8 and the other with JDK9. This means the build must have access to both JDKs and build each sourceset separately, then combine resources in a single MRJARs. Gradle can't do this and neither can Maven. Resorting to Makefiles or shell scripts is the only way, and that's too low level and troublesome.
Alternatives are if a single JAR is desired:

keep Ikonli compatible with Java8 until it's phased out.
upgrade all of Ikonli to Java9. Can't use Ikonli on Java8.

Ikonli 2.0.0 has been released. It works on JDK9 and automatic modules.

Thank you Andres!
27 Eyl 2017 16:46 tarihinde "Andres Almiray"<EMAIL_ADDRESS>yazdı:

Ikonli 2.0.0 has been released. It works on JDK9 and automatic modules.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/aalmiray/ikonli/issues/8#issuecomment-332526011, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABGulB_AEl3BtzDoBBavt2_s6TIm3GGsks5smlG-gaJpZM4Ljrh7
.


Ability to dismiss message

The message hinting users to import a dump can be annoying if you don't want to import the dump. It should be dismisseable.

Will be fixed by paginated/dismisseable system messages in Symphony.


how to add Multiple Values to same Tag

i was trying to add multiple values to one Tag key
ex: Region: APAC, LATAM, NA..
i have tried few ways and i am unable to see all those tag values in database , last one survives
meta:
database_tags:
region: APAC
region: LATAM
region: NA
can you please let me know if this is a bug or am i doing something  wrong

Hi @choudrybabu ,
Snowflake only supports assigning a single string value for each tag, so this isn't possible.

yeah, thanks for the clarification , we can close this


Increase Padding Above Cast Your Vote on Proposal Details Card

Feature
Proposal Details Card
App

[ ] Admin
[ ] Summon
[ ] Hub
[ ] Toolbox

Expected Behavior
Expect more space between the Cast Your Vote text and the No button
Actual Behavior
Cast Your Vote text is extremely close to the No button
Steps to Reproduce

Proposals
View a proposals details (while the proposal is still in voting period)
Look under the vote No button

Browser
Brave
Screenshots and Context

@7helles what is the distance we should add here?

I would say use the same padding as there is in this example between the voting bar and the "Proposal Passed/Failed" text, which is 1.2rem. (I think this is also the same distance between the Yes/No buttons and the voting bar.)


customViewer still opens small box over event

Hello! I have a CustomViewer component that takes event prop. The component uses Dialog within it and handles the state in the component. My dialog closes properly, but there is still a small box that opens and does not close with my CustomViewer.  I'm not sure if it's an issue with my code or if it's internal.

I have done a similar thing with the CustomEditor with no issue. I recognize that they function differently, but I'm not sure what I've done wrong.

Hi
customViewer uses Popover internally, Managing a Dialog on top of that is not recommended (2 layers on top of each other).
You should write your custom html, and it will automatically be managed to open/close within  the internal Popover.
something like:
  customViewer={(event) => {
          return (

{`My Custom Viewer of ${event.title}`}

{event.start.toISOString()}

{event.end.toISOString()}

          );
        }}

If you for some reason, still want to use your Dialog, then make sure to also close the internal Popover when you close your own Dialog.
Something like:
        customViewer={(event, closeViewer) => {
          return (
            <CustomViewer event={event} onClose={closeViewer}  />
          );
        }}

Feel free to re-open if you still have issues


Serve Images from CDN instead of locally

Description
Currently the images are being served locally which hinders on the performance of the website.
A proposed solution would be to serve the images from a CDN
Screenshots
No response
Additional information
Here are the links to add from the CDN:
https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532589/website-images/physical_meetup_fqkitv.jpg
https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532589/website-images/weekly_standups_lg3rth.jpg @isaack-mungui
https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532589/website-images/community_sessions_xsyd8d.jpg @remigathoni
https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/hero-image_dqpm0k.jpg
https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/no-image_nnaxwk.jpg @EstherWMaina
https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/mentorship-image_tz0mor.jpg
https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/learning-image_eylqwm.jpg @adamswonder
https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/community-image_pkeqwj.jpg @JamesMGithire
NOTE: Kindly just pick one image to implement and remember to follow our contribution guidelines before you commit a pull request
For the recaptcha key use this:
6LenksIiAAAAACrW2PQc1bWg_Kqj1HKh40q4tsjG
Acceptance Criteria

[ ] The images are loading correctly.

I'd like to add this image: https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532589/website-images/weekly_standups_lg3rth.jpg

Hello @isaack-mungui, feel free to contribute

I would like to implement this image https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/no-image_nnaxwk.jpg

Hello @EstherWMaina , feel free to contribute

I would like to add this image: https://res .cloudinary.com/reactjs-devs-ke/image/upload/v1678532589/website-images/community_sessions_xsyd8d.jpg

Picked to append this image: https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532589/website-images/community_sessions_xsyd8d.jpg

Hello @remigathoni, feel free to contribute

Hello @adamswonder, the image has been claimed by @remigathoni, please choose another one

Hello @JamesMGithire feel free to contribute

Picked to append this image: https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532589/website-images/community_sessions_xsyd8d.jpg
How about: https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/learning-image_eylqwm.jpg

Picked to append this image: https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532589/website-images/community_sessions_xsyd8d.jpg
How about: https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/learning-image_eylqwm.jpg

@adamswonder feel free to contribute

Il do this image:
https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/mentorship-image_tz0mor.jpg

Ill do:
https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/mentorship-image_tz0mor.jpg

Hi can I work on this https://res.cloudinary.com/reactjs-devs-ke/image/upload/v1678532588/website-images/mentorship-image_tz0mor.jpg

Hello @kabszac
The remaining images are currently under review on Pull #131 but feel free to be on the lookout for more issues on the project.


View controllers below the current view controller are receiving click events

Hi,
When I click a cell on my table view controller, it opens up a new screen using your a SlideLeftSegue. However on this new screen, when I click an empty spot, the cells underneath it receive the click and segues again.
Why does the screen below still get click events and how do I prevent this?
Many thanks,
Ivan

I am not very confident to handle this in all situations
so I make a bool removeFromView
When configuring the segue
class MyViewController: NSViewController {

  override func prepareForSegue(segue: NSStoryboardSegue, sender: AnyObject?)
      if segue.identifier == "myseguename" {
          if let segue = segue as? PresentWithAnimatorSegue, animator = segue.animator as? TransitionAnimator {
              animator.removeFromView = false
          }
      }
  }

This will remove temporary the source  controller from the view hierarchy (by replacing it with an empty view)
Sometimes in my code I override some view functions to stop mouse event to propagate
class MyView: NSView {
    override func mouseDown(theEvent: NSEvent) {
      // pass event only to wanted element, call preventDefault etc...
    }
    override func acceptsFirstMouse(theEvent: NSEvent?) -> Bool {
        return true
    }
}


Add ability for new users to specify folder locations.

Right now the code is hard coded to follow the structure of my project specifically. Should make it so new users can dynamically specify which folders you need to target.

Issue addressed in new PR #4


batchByTime should timeout when time limit reached

Current behaviour is to wait for a result, rather than timing out when batch max time reached for a batch.

A better solution is to fix the batching issue with EagerFutureStreams.
This is a list of operators that are batched for EFS's, only flatMap actually needs to be batched.
Batching occurs because for EFS we collect the Stream to a list of CompletableFutures at each stage, to do this with data from a Queue, we need to get all the data out of the queue first.
An alternative, is to take advantage of the finite size of the EFS. For an operator that currently requires batching - Create a Queue and have completed operations syncrhonously add to it, but also have the same future continue asynchronously read from that queue and apply the operation. E.g. to batch results, the batching operator first triggers synchronous population of the queue by the current list of CompletableFutures. Then for each of those Futures it triggers an asynchronous task that tries to read multiple entries from that Queue. This will result in less results than the available futures, futures with no results should be filtered out.

Fixed on 0.99 branch


Vickel: Watch zoig.com

Vickel requests the watch of the watch_keyword zoig\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

zoig\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ

https://chat.stackexchange.com/transcript/message/66067016#66067016


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3352

Questions ?
Please refer to the Backport tool documentation


[FEATURE REQUEST] Add a translation option in word blog

In translation hindi should be on top, search regarding this feature
the translate button should be just below image
https://akshitagupta15june.github.io/Moksh/Blogs/Words.html

Please assign me this issue

Hi @akshitagupta15june , I would like to fix this issue. Please assign me this issue.
Thank You,
Rudra Prasad
GSSOC'23 Contributor

Please assign it to me @akshitagupta15june  mam

@Vidip-Ghosh would u like to work on it?

ok


Comments not showing in text editor on new layout

Comments included in the challenge seed are no longer showing up in the new layout.

Never mind. I was mistaken.


Allow for EC2 Launch Type with Linux-based services.

This commit also fixes a small unreported bug where the onboarding
service is unable to delete the LinuxLaunchTemplate by adding that
permission to the onboarding service role.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

Looks like a small bug in the changes to Onboarding for the FSx file system types. Obviously provisioning a filesystem is optional, but the template has validation to only allow FSX_WINDOWS or FSX_ONTAP as values for the FSxFileSystemType parameter. We should default the fileSystemType variable to "FSX_WINDOWS" instead of a blank string to match the template default. Right now, if you don't provision a file system with your service, it will error out.


Add Action Route

I think the tile can be more specific like Suspended a Customer Account.

What you think adding
def test_deactivate_customer_not_found(self):
        """It should not Deactivate a Customer that doesn't exist"""
        response = self.client.put(f"{BASE_URL}/0/deactivate")
        self.assertEqual(response.status_code, status.HTTP_404_NOT_FOUND)

to the TestSadPaths?


update database pocs

I believe our tests doesn't verify audit actually reach the dsf hub. In case you haven't verified that already, you should.

I don't know how to test this, I've never actually set up sonar with data sources.

You should apply the examples/aws/poc/dsf_deployment example.
You can disable DAM, DRA, HADR, for faster deployment and making sure that simulation_db_types_for_agentless is set with the relevant postgres. After the deployment is up and running, it can take up to an hour for the audit to show up in the dsf hub dashboard.

Any news with Eytan's request?

I still don't really know how to do it, as I haven't actually interacted with the hub and have no idea how to check for audit data.

I will approve it. From my point of view Sonar team validated the fix


Upgrade to cyclops 8.2.0

Upgrade for micro-reactive.

Merged in https://github.com/aol/micro-server/pull/274


Add travis script to ensure quick-start functionality works

This is intended to demonstrate failing the travis build when something has broken the quick-start instructions.
Can be treated as a work in progress and merged when a fix to the issue that is currently causing errors - hoodiehq/hoodie-server#529 - has been merged.

fyi https://github.com/hoodiehq/hoodie-server/issues/529 is released and I restarted the builds, but they are still failing: https://travis-ci.org/hoodiehq/hoodie/builds/190235605#L589

My Bash-fu failed me - I've corrected which error code is now returned, checked the build passes, and then rebased against the latest master.

+1

reviewed the shell script, nicely done!


Path to copy Theme is wrong

This info is wrong

Per Rio's config.toml file

# Theme
#
# It makes Rio look for the specified theme in the themes folder
# (macos and linux: ~/.config/rio/themes/dracula.toml)
# (windows: C:\Users\USER\AppData\Local\rio\themes\dracula.toml)

#4 fixed it but the website still show the incorrect one.


AQAvit meeting Oct 28, 2020

AQAvit Meeting Oct 28, 2020
Wednesday, Oct 28th 11:30am – 12:00pm (GMT-04:00)
Description: Bi-weekly meeting to discuss AdoptOpenJDK Quality Assurance (AQA) topics.
Join with Google Meet
meet.google.com/ejp-yjon-vec
Join by phone
PIN: 754 815 097#
Proposed Agenda:

recent new TRSS features / Delete builds from DB - @OscarQQ
PR test workflow in openjdk-tests - @sophia-guo
release retrospective from test perspective - @smlambert (external test behaviour changes - #2031, new tests triggered correctly as part of a release build but surprised release team... need to add a 'weekly' build pipeline run, so the new test targets get triggered regularly)

Minutes:

Oscar gave a nice demo on new feature that allows admins to delete from TRSS DB  and control monitoring of a pipeline or not), if you currently have a local instance of TRSS running on your machine, you have to update the DB with a one-time step of setting "Monitoring" to "Yes" for each pipeline you are monitoring, since that is now a new field in the DB
Sophia could not attend the meeting, so Shelley gave a quick update on PR #1977 which will introduce PR testing to this openjdk-tests repo.  It is an initial version of PR testing which will trigger a small sample of openjdk and system tests on all 3 platform runners available to github workflows.  Future iterative improvements may include if changes to items in buildenv/jenkins folder, it will trigger an action to run a Jenkins Grinder job.  This will come as a later enhancement.
quick release retrospective to indicate the couple of items that revealed themselves during the release:

strange external test behaviour that needs further investigation (see #2031)

we may have been too optimistic about machine resources at the project in our plan to expand the set of tests that we run as part of a release.  (see https://github.com/AdoptOpenJDK/openjdk-build/pull/2171) which was merged mid-release to avoid adding too many test jobs to the queue in Jenkins, while its not an issue on xlinux where we have plenty of machines, there is still not enough capacity on a few other platforms, so we will have to rethink our approach here, though we most certainly want to include more testing... specifically extended.openjdk targets.  Relating to this, we need to add a weekly build pipeline trigger AND need to remove an override for jdk11 aarch64 that does not use the "weekly" test list, but has its own definitions that should get removed.

Recording link


Allow to pass connection object

Allow to pass connection object in configuration instead of connection string. For example Rakefile
require File.join(File.dirname(__FILE__), %w{config boot})
require File.join(File.dirname(__FILE__), %w{config initializers sequel})

require 'sequel/rake'
Sequel::Rake.configure do
  set :connection, App.db # App.db was initialized in sequel.rb
  set :migrations, "#{__dir__}/db/migrations"
  set :namespace, 'db'
end
Sequel::Rake.load!

Remove unnecessary changes

Looks good!


我的ubuntu 架构 x86_64下载打开，报错。

./notepad-plus-plus-8.6-x86_64.AppImage  --appimage-extract-and-run
This doesn't look like a squashfs image.
Failed to open squashfs image
Failed to extract AppImage

what you system shows of this command
unsquashfs --version

closing this no response from op.