Jid and Arguments not displaying

our sidekiq.rb looks like this:
require 'sidekiq'
require 'sidekiq-status'
require 'resolv-replace' unless Rails.env.test?

redis = proc { Redis.new(url: RedisUtil.redis_url('', 'sidekiq_db')) }

Sidekiq.configure_server do |config|
  config.redis = ConnectionPool.new(size: 25, &redis)
  config.server_middleware do |chain|
    chain.add Sidekiq::Status::ServerMiddleware, expiration: 30.minutes # default
  end
  config.client_middleware do |chain|
    chain.add Sidekiq::Status::ClientMiddleware, expiration: 30.minutes # default
  end
end

Sidekiq.configure_client do |config|
  config.redis = ConnectionPool.new(size: 25, &redis)
  config.client_middleware do |chain|
    chain.add Sidekiq::Status::ClientMiddleware, expiration: 30.minutes # default
  end
end
Sidekiq.default_worker_options = { 'backtrace' => 5, 'retry' => 3 }

Also our routes for sidekiq looks like:
require 'sidekiq/web'
require 'sidekiq-status/web'
authenticate :admin do
  mount Sidekiq::Web => '/sidekiq'
end

We also added include Sidekiq::Status::Worker in job.rb

@Sayanc93 Can you add your job.rb/worker code & how you are invoking job that will help me to re-produce this issue?

I have same issue. on development mode args and jids was an empty but on production it works well.

@ajahongir  Can you provide me more details like your job.rb/worker code & how you are invoking job that will help me to re-produce this issue?

my bad, missed this on my emails.
The code is nothing unusual and is invoked as any other sidekiq job ClassName.perform_async()
and the code has a .each ruby loop and some ruby code.

I am forking the repo to see if i can figure this out on my own :)

I am having this issue on production too. as you can see I am running only single worker but with different args. But for some reasong sometimes jid and args not passing.
class FlightParserWorker
  include Sidekiq::Worker
  include Sidekiq::Status::Worker

  def expiration
    @expiration ||= 60*60*24*30 # 30 days
  end

  sidekiq_options queue: :flight_parser, backtrace: true, retry: 3

  def perform(args)
    #some code
  end
end

enqueue:
Sidekiq::Client.enqueue_to(queue, FlightParserWorker, args)

another behavior that I see. for some reasong "Recent job statuses" logging only when page is active. another time nothing is logging out. is this right behavior?

Anyone found the reason of unexpected behaviour?

@Sayanc93 Any updates on this?

I updated sidekiq from 3.4.1 to 4.2.1 and those fields started displaying for me.

@utgarda please can we note that somewhere in the readme?

@dmitry Why not, thanks for the hint.

same problem for me. no worker arguments displayed and also the percentage does not update until it's :complete. while :working the percentage is not displayed but if i get it with Sidekiq::Status::get_all the "at" value is reported correctly

It sounds like you don't have the rack middleware set up.

I had previously not configured the middleware and i was not getting even the status column and the 100% on completion, than i inserted the initialization in config/initializer/sidekiq.rb:
require 'sidekiq'
require 'sidekiq-status'

Sidekiq.configure_client do |config|
  config.client_middleware do |chain|
    # accepts :expiration (optional)
    chain.add Sidekiq::Status::ClientMiddleware, expiration: 30.minutes # default
  end
end

Sidekiq.configure_server do |config|
  config.server_middleware do |chain|
    # accepts :expiration (optional)
    chain.add Sidekiq::Status::ServerMiddleware, expiration: 30.minutes # default
  end
  config.client_middleware do |chain|
    # accepts :expiration (optional)
    chain.add Sidekiq::Status::ClientMiddleware, expiration: 30.minutes # default
  end
end

and now i get the status column and the 100% percentage but only at the end when the status is :complete. the other columns (as reported by others) are not shown and the progress seems to not update during :working status
my setup:
rails (<IP_ADDRESS>)
redis (3.3.1)
sidekiq (4.2.1)
sidekiq-status (0.6.0)
my worker is as simple as this:
class TestWorker
  include Sidekiq::Worker
  include Sidekiq::Status::Worker
  sidekiq_options retry: false

  def expiration
    @expiration ||= 60*60*24*30 # 30 days
  end

  def perform(*args)
    0.upto(100) do |i|
      at i
      sleep 1
    end
  end
end

and i execute it via irb like this:
2.3.0 :026 > id = TestWorker.perform_async()
 => "1098145bc776c6eb6ef68d1b"
2.3.0 :027 > Sidekiq::Status::get_all id
 => {"update_time"=>"1474663316", "status"=>"working", "total"=>"100", "at"=>"3", "message"=>""}

i think i found someghing...
in web.rb at:
        jids.each do |jid|
          status = Sidekiq::Status::get_all jid
          next if !status || status.count < 2
          status = add_details_to_status(status)
          @statuses << OpenStruct.new(status)
        end

the get_all does not return the jid in the status hash.
i can confirm that in redis the jid is not saved in the hash:
<IP_ADDRESS>:6379> hgetall sidekiq:status:3c77e50dfa0ba99d08df13b5
 1) "update_time"
 2) "1474722725"
 3) "status"
 4) "working"
 5) "total"
 6) "100"
 7) "at"
 8) "84"
 9) "message"
10) ""

and since add_details_to_status() will use status['jid'] the percentage is not displayed since it's nil until 'at' is 100.
i suppose even all the other issues derive from the status['jid'] missing.
i'm not keen to the project (started using it yesterday) so i don't know where this 'jid' should be saved in redis (if it has to) or since it's already in the name of the key it's sufficiend to store it in the status hash after the redis.hgetall
what do you think?

Also you didn't set the "total" value in your worker. It works with "at" to give the progress.

total should be 100 by default. you can omit it.

I investigated it with both sidekiq versions 3.4.1 and 4.2.1, With both version I could see all arguments and job info nothing is missing, Here is worker I used to cross-check.

class UserWorker
  include Sidekiq::Worker
  include Sidekiq::Status::Worker
  sidekiq_options backtrace: true, retry: 3

  def expiration
    @expiration ||= 60*60*24*30 # 30 days
  end

  def perform(args)
    #some code
  end
end

@IamNaN was you able to repro this issue with sidekiq 3.4.1, If yes can post detail steps to repros this I want double sure this is issue with 3.4.1 before adding it to readme.

@pramodshinde does your reproduction steps include showing a percentage that is not 100% (something in between)? That seems to be the crucial issue here.

I checked after adding some percentage updated my above template worker to have
def perform(args)
  0.upto(100) do |i|
    at i
    sleep 1
  end
end

I can see all arguments with sidekiq versions 3.4.1 and 4.2.1

FYI - I am used latest master & version 0.6.0

Looks like this issue could be closed then.

Great, thanks @pramodshinde. I will try with those versions.

@dmitry okay once @why-el confirms its working as expected at his end we will close this.

In my case it was because 'config/initializers/sidekiq' was not being loaded. Adding the example code and requiring that file worked after not working like shown here

@pramodshinde unfortunately we moved on with a custom solution, so I am not sure I have the time to review this.

I am seeing something similar now. I created a separated script that does not load and does not initialize the Rails app (to reduce RAM):
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
require 'bundler'
Bundler.setup(:default, :scheduler)

# Require only libs we need
require 'redis'
require 'sidekiq'
require 'sidekiq/web'
require 'sidekiq-status'
require 'sidekiq-status/web'
require 'sidekiq-unique-jobs'
require 'rufus-scheduler'
require 'rollbar'
require 'active_support'
require 'active_support/core_ext'
require 'app/workers/worker.rb'

# Does not show up args
Worker.perform_async

# Shows args just fine
Worker.perform_in(1.seconds)

If I initialize Rails both works as expected. But I am trying to avoid it so now I am doing the workaround with .perform_in(1.seconds).
Unfortunately I don't know what's the problem with perform_async.

I think we can close this issue?

@pramodshinde I think we can close this issue?

@strzibny I suspect that has something to do with sidekiq's mechanism to trigger background jobs.

I need check, will check soon
On Thu, 21 Sep 2017 at 11:39 AM, Sayan Chakraborty<EMAIL_ADDRESS>wrote:

@strzibny https://github.com/strzibny I suspect that has something to
do with sidekiq's mechanism to trigger background jobs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/utgarda/sidekiq-status/issues/85#issuecomment-331060791,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADDpB1BRtkXr5fChyJsEzBARp3I1WPrwks5skf2UgaJpZM4I7zk6
.

As far as I can tell, this now works on the upcoming 0.7.0 release, so I'm closing this issue for now.


Error after installation.

Hi there.
I saw this project today and wanted to try it.
Unfortunately, after installation, and yes, I entered an API key and the view is there, I never saw anything from the plugin. The view always stays empty for me.
Eclipse is version: 2023-09 (4.29.0).
Here you can see the log from eclipse: log.txt
Greetings.

Please try with Version: 2023-12 (4.30.0)

Oh, thanks and solved.


optimize fast summary

fix a bug in doSyncDirStat of redis engine
use inodes in dir stat of leaf dirs instead read them

Codecov Report
Patch coverage: 21.05% and project coverage change: -0.02 :warning:

Comparison is base (317267e) 55.37% compared to head (4ff1929) 55.35%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3317      +/-   ##
==========================================
- Coverage   55.37%   55.35%   -0.02%
==========================================
  Files         142      142
  Lines       33967    33973       +6
==========================================
- Hits        18808    18805       -3
- Misses      13159    13163       +4
- Partials     2000     2005       +5

Impacted Files
Coverage Δ

pkg/meta/utils.go
54.35% <0.00%> (-1.17%)
:arrow_down:

pkg/meta/redis.go
66.59% <100.00%> (ø)

... and 2 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


shell.openExternal causes Atom to freeze with Chromium as browser

When trying to open a link via shell.openExternal('https://www.google.com') it causes Atom to freeze in case the default browser is Chromium (chromium-browser).
After getting the prompt that Atom has freezed and hitting the kill button I get the following dump on my console on which I've invoked Atom
[9784:0416/151609:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
App load time: 224ms
...
The setuid sandbox is not running as root. Common causes:
  * An unprivileged process using ptrace on it, like a debugger.
  * A parent process set prctl(PR_SET_NO_NEW_PRIVS, ...)
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
The program 'atom' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 789 error_code 3 request_code 40 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

I'm running Xubuntu 14.10 (64bit) with the latest Chromium installed available via apt-get and Atom 0.192.0
Edit: See also discussion here https://discuss.atom.io/t/open-url-in-external-browser/16179/5

Sorry, I need to correct myself. I'm running Atom 0.191.0 at the moment.

This is a duplicate of #1348.


Added SearchMailboxes operation

@markjjo - for your review.

@mahage-msft PR merged; should be live later this morning or this afternoon


No such column false with SQLite

Select(from: t).where(false.notIn(Parameter(), Parameter()))

produces:
=======SELECT * FROM tableSubquery WHERE false NOT IN (?1, ?2)=======
Error in query:  no such column: false

This is the same problem as in #26 - no false/true in SQLite

Fixed


Update group id

🎉  @jiekang, @neugens et al. So the repo is here. Should it be announced anywhere?
Also, this is still using dev.morling.jmfrx as a Maven group id; any suggestions for what to use instead?
Another question: Is Apache license v2 ok? We can change it easily if needed, I'm the only contributor at this point.

Hey @gunnarmorling!
I think the license is technically fine. Our other projects have adopted the same license as JMC uses: UPL. If you'd like to be consistent, feel free to alter it to UPL as well.
For the maven group id, to be consistent com.redhat.rhjmc, e.g. com.redhat.rhjmc.jmfrx would be consistent with the other projects. However, for both situations I consider this project yours to lead, so they're up to your discretion! The existing maven id is technically fine as well.


Flatten buoyancy_gradients call

Attempt to close #2530.

I looked at the nsight report in https://buildkite.com/clima/climaatmos-target-gpu-simulations/builds/272, and buoyancy_gradients + the 3 hoisted ᶜgradᵥ-ᶠinterp calls are now 3.9 ms, so this PR cuts the time in half (xref: https://github.com/CliMA/ClimaAtmos.jl/issues/2950#issuecomment-2077307860).
What I suspect is the culprit for this slowdown, is both/either not using shared memory, or register spills, due to complexity.
We should probably make our FD use shared memory, but this is at least an improvement, so I'll merge.


able to add multiple image functionalities?

Hello @hafieyz .
For adding functionalities of multiple image you should change database scheme for the Post object, modify UI and logic for creating and updating Post and make it possible to display posts with multiple images.
For now we don't have plans to implement this feature.


allowing bypass of azure ad and disabling websudo sound insecure

To enable the default login form for admin login on login page when force azure login is enabled, add the query parameter in the browser URL. https://domain:port/login.jsp?force_azure_login=false

Do I understand correctly that anyone is able to bypass the azure login? This would be insecure as one of the reasons to use Azure AD is to enforce MFA. Even if it would only be allowed for admins, it would be insecure as admins have privileged access.

WebSudo is disabled in JIRA
Any plans on supporting this? There is a reason for websudo and we cannot disable this with regards to compliance rules.

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

ID: d38cad90-6574-38c2-3262-059a9f975064
Version Independent ID: dd08d5c5-65a4-c2cc-8b51-7a35268dde68
Content: Tutorial: Azure Active Directory single sign-on (SSO) integration with JIRA SAML SSO by Microsoft
Content Source: articles/active-directory/saas-apps/jiramicrosoft-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@valentijnscholten
Thanks for your feedback! I have assigned this issue to the author who will investigate and update as appropriate.

@valentijnscholten Why you feel this is insecure? If you know the people who are admin on JIRA then you should create a group for them in Azure AD and then assign that group to the application. After that create a Conditional Access Policy and apply MFA on that group so that when these users are login into the JIRA app they have to do the MFA. That way you can secure Admin accounts in JIRA.

#please-close

Websudo is there for a reason.
And the force_azure_login=false seems to skip any azure login, so conditional access policies are not applied, but there will be only a normal login to jira
That's what it sounds like. If it works differently, the docs should be updated to make it more clear what it does and doesn't do.


Make default POI value warning less confusing

... By not triggering it when the default physics model is used. I note that one might still be confused when running a method that doesn't generate any toys in the first place, but that's not a straightforward extension of this if statement, so probably still best to warn the user. And at least they'll know what a physics model is, since they didn't use the default one ;-)

Any objections to merging this one?

No objection here
On Thu, Oct 1, 2020 at 10:30 AM adewit<EMAIL_ADDRESS>wrote:

Any objections to merging this one?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cms-analysis/HiggsAnalysis-CombinedLimit/pull/622#issuecomment-702012352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMEVWYXA2TXVIEPWTZ5Q33SIRD4LANCNFSM4RM5N7GQ
.


Increase test coverage

Add the following tests to increase coverage:

Functional testing - making sure that all CLI flags are working as expected
(incl. checkpoint save/restore, tensorboard logging, dumping movies, human play etc)
End-to-end testing - Multi-node training
End-to-end testing - model training to model deployment

@galnov can we close this issue ?


Added 'that' for clarity.

line 160: '...but the HTTP request either fails or we get back a HTTP response that contains a page we don't expect.'

Good call. Thanks!


Adding Jai Nanavati

Jai - you link is not going to work (you need add a page for yourself)
Also you need to setup an AWS website and link to it, following Rahul's example + formatting


Use newer Jetty versions in SDK

Current Behavior
While the POM mentions Jetty 9.4.43, the SDK includes 9.4.19 (probably due to transitive dependencies from ES/Solr) in the lib folder and in the WAR-files, which have some known vulnerabilities
Expected Behavior
Newer versions of Jetty libraries are included in the SDK as well
Steps To Reproduce
No response
Version
4.0.0-M2
Are you interested in contributing a solution yourself?
Yes
Anything else?
No response

Correction: not distributed in 3.x, but as part of 4.0-M2 (regression ?)


Error [ERR_REQUIRE_ESM]: require() of ES Module

node version: v18.12.1
wdio version: 8.0.15
I recently upgraded the node and libraries on our CI and getting the following error (when using teamcity reporter):
[0-0] 2022-12-29T10:06:50.764Z ERROR @wdio/local-runner: Failed launching test session: Error: Couldn't initialise "wdio-teamcity-reporter".
[0-0] Error [ERR_REQUIRE_ESM]: require() of ES Module<EMAIL_ADDRESS>from /usr/lib/node_modules/wdio-teamcity-reporter/index.js not supported.
[0-0] Instead change the require of<EMAIL_ADDRESS>in /usr/lib/node_modules/wdio-teamcity-reporter/index.js to a dynamic import() which is available in all CommonJS modules.
[0-0]     at Object.<anonymous> (/usr/lib/node_modules/wdio-teamcity-reporter/index.js:1:22)
[0-0]     at async Promise.all (index 0)
[0-0]     at async safeImport (file:///usr/lib/node_modules/@wdio/local-runner/node_modules/@wdio/utils/build/utils.js:188:21)
[0-0]     at async initialisePlugin (file:///usr/lib/node_modules/@wdio/local-runner/node_modules/@wdio/utils/build/initialisePlugin.js:32:20)
[0-0]     at async BaseReporter._loadReporter (file:///usr/lib/node_modules/@wdio/local-runner/node_modules/@wdio/runner/build/reporter.js:178:30)
[0-0]     at async Promise.all (index 0)
[0-0]     at async BaseReporter.initReporters (file:///usr/lib/node_modules/@wdio/local-runner/node_modules/@wdio/runner/build/reporter.js:23:27)
[0-0]     at async Runner.run (file:///usr/lib/node_modules/@wdio/local-runner/node_modules/@wdio/runner/build/index.js:68:9)
[0-0]     at safeImport (file:///usr/lib/node_modules/@wdio/local-runner/node_modules/@wdio/utils/build/utils.js:210:15)
[0-0]     at async initialisePlugin (file:///usr/lib/node_modules/@wdio/local-runner/node_modules/@wdio/utils/build/initialisePlugin.js:32:20)
[0-0]     at async BaseReporter._loadReporter (file:///usr/lib/node_modules/@wdio/local-runner/node_modules/@wdio/runner/build/reporter.js:178:30)
[0-0]     at async Promise.all (index 0)
[0-0]     at async BaseReporter.initReporters (file:///usr/lib/node_modules/@wdio/local-runner/node_modules/@wdio/runner/build/reporter.js:23:27)
[0-0]     at async Runner.run (file:///usr/lib/node_modules/@wdio/local-runner/node_modules/@wdio/runner/build/index.js:68:9)
[0-0] FAILED

I tried replacing require with import statements and that giving not a module error..
Am I missing any other dependency here?

This is because @wdio/reporter is listed within dev dependencies while it should actually be a dependency. This way it would correctly require the v7 reporter package and doesn't fail because it tries to require the v8 ESM package.
Two things need to be done:

rewrite the package to ESM (optional but needs to be done eventually)
move @wdio/reporter to deps list

Any contributions are welcome!

I will try to rewrite package to ESM later

Thanks for the PR.

I will try to rewrite package to ESM later

Let's tackle this as part of #31


Investigate scrolling updates in Next 10.1

https://nextjs.org/blog/next-10-1#router-methods-scroll-to-top
This might trigger a scroll on query state updates, keep an eye on it and possibly pass more options to router.push/router.replace.

This was released in 1.5.0.


Feat specify config

I'm submitting a

[ ] bug fix
[x] feature
[ ] documentation addition

What is the current behaviour?
Currently the cli tool does not allow you to specify the path of your configuration file
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
What is the expected behavior?
Now you can use the -c flag for specifying a specific configuration file path
What is the motivation / use case for changing the behavior?
#195
Please tell us about your environment:
Version (comtrya --version): comtrya 0.9.0
Operating system: MacOS

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

Project coverage is 27.46%. Comparing base (b574682) to head (81338c4).
Report is 82 commits behind head on main.

Files with missing lines
Patch %
Lines

app/src/config/mod.rs
50.00%
21 Missing :warning:

app/src/main.rs
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #525      +/-   ##
==========================================
- Coverage   28.59%   27.46%   -1.13%
==========================================
  Files          85       92       +7
  Lines        2301     2614     +313
==========================================
+ Hits          658      718      +60
- Misses       1643     1896     +253

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

LGTM. If you want, I can document it in the mdbook, if you want to do it, go for it and let me know. I don't mind doing it though.

I can get that done for you later today no problem.


Added Native and Automatic HTTPS support to Rest, fixes #280

Fixes #280

Added HTTPS support selection to the wizard (Native(default) | Automatic | None)

Native HTTPS support selection will ask user to provide SSL key and certificate, file contents will be stored in the custom-preset file as base64 and encrypted(key), will be copied over the target/gateways folder during compose
Automatic HTTPS support selection will result in setting gateways[].httpsProxy(true|number) which will integrate Https-Portal into the docker-compose.yml file during compose, default inbound port will be 3001
None: continue to have an insecure protocol as it used to be, HTTP

HttpsProxies preset is added to the ConfigPreset with the help of this preset user will be able to have more control over the parameters.
Added unit tests

@yilmazbahadir @Wayonb @gimer , I have drafted how the community can eventually upgrade the nodes to HTTPs using Bootstrap.
https://hackmd.io/_F7gPWl2Td6WslNZRXeThA?view

@yilmazbahadir @Wayonb @gimer , I have drafted how the community can eventually upgrade the nodes to HTTPs using Bootstrap. Please have an initial look so then @segfaultxavi can do his magic
https://hackmd.io/_F7gPWl2Td6WslNZRXeThA?view

Yeah, ping me when you're done reviewing... and when you give me access to the file :)

Moved to syndicate HackMD https://hackmd.io/Cx1KQCOxRaaHrNNwuNI7CQ?view

I just realized that my comments were pending for the last 2 weeks. I just submitted the comments. Sorry guys.


feat(ac): breakout code into a module, still needs a lot of cleanup and tests

Description

Checklist

[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.
[ ] I have checked my code and corrected any misspellings.

This PR is included in version 1.0.0 :tada:


(RE-11578) Bump to ezbake 1.8.10

This commit bumps to the latest ezbake version. This version adds a Gemfile to
the resulting package build and makes use of the packaging gem, rather than
cloning the packaging repo.

Test FAILed

CLA signed by all contributors.

build: https://jenkins-master-prod-1.delivery.puppetlabs.net/job/platform_various-packaging-jobs_packaging-os-clj_lein-ezbake-generic/1168/

Jenkins, retest this please

maybe that was not the right invocation.. ¯_(ツ)_/¯

Test FAILed

Test PASSed


Initial vnd.error implementation

Documentation update is still coming.
The i18n support will be as a separate PR.

Coverage decreased (-0.3%) to 98.842% when pulling 67675e770d3ef678ac2aceb1a230d71217179b4f on vnd into 99a7097736c67b065f9d78e8882b36ffea52bd0e on master.


Why did created this repo?

@shellhub
I want to contribute to this repo. But first I should know How Can we create this different.
Why did you started this repo? Means there is already this type of repo like the TheAlgorithms\Python.  I am not saying You shouldn't created this but just that What to do you want to different than other. So, I could get a clear understanding how can I contribute.

This repository contains knowledge for learning python. e.g. python syntax. or other example. See https://github.com/examplehub/Python/tree/master/basics


update manifest protocol version

This was reported by our friends at Nightfall. Our registry manifest says we use protocol version 5.0 (which is what the TF SDK v2 uses), but we're using the plugin framework, which uses protocol version 6.0.

TFTR!


No input with latest ZMK update

I was trying to build a firmware with the update from yesterday but on macOS I wasn't getting any input till I reverted the change.
https://github.com/DDRBoxman/Adv360-Pro-ZMK/commits/V3.0

Was this over USB, BLE or both? With a minor update like that you might need to unpair and repair to the host

I ran into this with both USB and BLE, I also went through and cleared out the connection in the Bluetooth and flashed the setting reset firmware between updates.

I can't replicate this issue on my test computers, windows or an M1 MacBook Pro running MacOS Sonoma. Have you tried connecting it to a phone or other computer?

The only input I can get is from using the Adv360 Pro factory default firmware (v3.0 10-23-23). Otherwise both my custom keymap(created for the first time last night) and a pure clone of this repo give this error after flashing, on windows 11.

Bluetooth works fine with factory defaults as well. With the bad firmware I can tell my layers activate properly and can even clear bluetooth. But my pc cannot hear any of it

Hi all, many thanks for the reports. A commit that may be causing the issue has been identified and rolled back. Please try rebuilding your personal repos now and reflashing the boards. A settings-reset shouldn't be required but you will need to unpair, BT_CLR and repair to the computer

Thank you for the fix!

Has that solved your issue?

Yes, my custom keymap is inputting to my PC correctly

Cool, seems like that fixed it, thanks!


Feature: Filter by icon style

This was brought up by Mayank Dhawan on Slack: https://healthicons.slack.com/archives/C023E17F4AG/p1622824297253200
I think this would be worth trying. IMHO, it could work like:

show three options: Style: [both, outline, fill] with “both” the default
when you select a style, it changes the layout
it saves your selection as a cookie for future defaulting

Having a mockup by a designer would help. Probably a simple filter near the search or in the top-right corner or something. If we can make simple icons that mean "both", "fill", and "outline", that might be nice too.

See how https://fonts.google.com/icons?selected=Material+Icons:history does it (switch near the top for "Outline", "Fill", etc.)

See https://github.com/resolvetosavelives/healthicons/pull/103

First version:


Add ability to set 'swaggerignore' on embedded fields

Describe the PR
This PR adds ability to set swaggerignore:"true" on embedded fields.
Relation issue
https://github.com/swaggo/swag/issues/632
Additional context
Currently swaggerignore supports only ignoring named fields, while in some cases it is also useful to be able to ignore embedded fields.

It's OK

@ffenix113 Thanks for your contributions. 👍


Asynchronous shader compilation in Babylon Native

This code supports interfacing with a feature I wrote for Babylon Native allowing asynchronous shader compilation. It's intended to be reverse-compatible with Babylon Native as of commit 08cec4cacf4d187eb839b6318a7414860f8fde77 on master, but that version of Babylon Native doesn't have the asynchronous shader compilation yet; I will make another PR into Babylon Native with the necessary C++ code to support asynchronous shader compilation, and the shader compilation will be asynchronous only when both updates are used together.
Here's the issue on the Babylon Native side for this feature:
https://github.com/BabylonJS/BabylonNative/issues/402
The PR for the Babylon Native side has now been opened:
https://github.com/BabylonJS/BabylonNative/pull/1209

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/13587/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13587/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13587/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/13587/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/13587/merge
https://gui.babylonjs.com/?snapshot=refs/pull/13587/merge
https://nme.babylonjs.com/?snapshot=refs/pull/13587/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/13587/merge#BCU1XR#0


Support for Battlefield 1

I know the game is just out, but would be good to get it supported

Supported in the dev build, also duplicate #130


mongoose models?

Background: I saw in #179 that @blissi mentioned a mongoose template. Where can one find that? I don't see mongoose among the examples in the live demo, or among the plugins.
Mongoose is quite popular, so I'm surprised there's no generator for it. Do people use something else? There are a 6+ libraries trying to unify the definitions between TypeScript classes and mongoose models so it seems there would definitely be a need for a mongoose generator.

@dandv I understand if you were to add in typescript-mongodb under plugins, it will type your mongoose models
codegen.yml
overwrite: true
schema: "http://localhost:4000/graphql"
documents: null
generates:
  src/__generated__/types.ts:
    plugins:
      - "typescript"
      - "typescript-resolvers"
      - "typescript-mongodb"
  ./graphql.schema.json:
    plugins:
      - "introspection"

We currently don't have a Mongoose plugin, we have a plugin for generating model types for the basic mongodb NodeJS driver (to be used with generics). It allow you to define directives over your schema and get a models types according to those.


Update README.md

Classic-McEliece (and some other algorithms) uses a large stack when generating key pairs. The default 1M stack size for Java is not enough.

Thanks for the note!


test(rendererElement): add rendererElement tests

In fact, althoughrenderElement has been covered in other test cases,  I added some basic tests.

Thanks for the PR, but this is a runtime-core test and should be platform agnostic (using @vue/runtime-test instead.

Is it enough to replace it with @vue/runtime-test ? Should I add more tests ? actually, I do not know which kinds of tests need be added, since it is so basic and tested in other tests, such as rendererChildren.spec.ts

哈哈哈

Thanks again for the PR - see #699


Lab 1

@gitK2

Thanks! I've made the recommended changes.

Submitting this assignment. @hrzhao76


Update Firefox installation instructions?

The Firefox installation instructions currently say:

Make sure your version of Firefox supports web extensions. The installation is the same as Manual installation of Chrome.

The Chrome instructions, in turn, say:

Go to release page, find chrome.zip file, download and unpack it.

I'm currently running Firefox 57.  I've tried unzipping the chrome.zip file.  I then went to Firefox's Addons Manager screen and selected "Install Addon from File".  If I select the chrome.zip file directly, or select the unpacked manifest.json file, Firefox says "This addon could not be installed because it appears to be corrupt".  I also tried copying the unpacked folder to my profile's extensions folder and restarting Firefox, with no success.
I'd appreciate updated instructions for installing the addon in Firefox.

@markerikson I find this link:
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Temporary_Installation_in_Firefox
It seems that you should go to about:debugging instead of about:addons. I'll update README for Firefox installation, thanks!

Thanks. That seems to have gotten it to load and seem to work, although about:debugging does show this warning:

Reading manifest: Error processing options_page: An unexpected property was found in the WebExtension manifest.

@markerikson

Reading manifest: Error processing options_page: An unexpected property was found in the WebExtension manifest.

This is a legacy field for old version Chrome, see #13


Buttons on the bottom of calendar can be translated as well as Hint

Hello, I want to change text for bottom buttons (I called it action buttons).

Let me feedback, please and I will improve my PR as you expect it to see.

@n1k0 added new translations options.
If you can't work with me on this, I will wait a bit and then will continue work in fork then...
My plans are translate more, for example: new format(s) for string (right now it is from YYYY-MM-DD to YYYY-MM-DD only)

@n1k0 please take a look. Translations in one record now, and .idea files removed.

Thank you, @n1k0
What can we do now? We should wait someone from allo-media?

I don't have write access anymore, so I don't know really. @BeardedBear do you plan on maintaining this package anymore? Would you be open to give me write access so I can make a new release?

Could this be merged please?

@merwan if you folks don't plan to never maintain this repo anymore, maybe you're interested in transfering me back its ownership? Or do you prefer to archive it and I fork/rebrand it? 🤔

@merwan if you folks don't plan to never maintain this repo anymore, maybe you're interested in transfering me back its ownership? Or do you prefer to archive it and I fork/rebrand it? thinking

@n1k0 We are not maintaining this repository anymore. We would be happy to transfer the repository to the Elm community, let me know what suits you the best between a GitHub repository transfer or a fork/rebrand.

@merwan you can. transfer ownership to my github account (@n1k0) if you're okay with that :)

Repo has been transferred to you @n1k0.
Thanks for giving this project a new life!

@merwan thank you too! 👍

This feature is now published in the new package at https://package.elm-lang.org/packages/n1k0/elm-daterange-picker/latest/


Game crashes after a short time by triggering an invalid state

Hello,
I found out that after a short playtime of approximately 10 seconds the game decided to crash. Something that you must know is that I was in the train with a bad internet connection. This is also thanks to try the game with an instable connection that I found out that the game can establish a 2 player link without calling external services (a TRUN/STUN server somewhere?).

Haven't seen this kind of crash before... Matchbox currently doesn't try to restore broken connections, and generally treats disconnections both to the signalling server and to other peers poorly.
For the record, which browser was this?

(a TRUN/STUN server somewhere?).

There is no TURN server, but it does use a stun server. Currently one I'm hosting, because it turned out to be better at hole-punching than google's public server (at least with my setup).

For the record, which browser was this?

I was using Firefox 96.0.3 on a MacBook Pro M1.

There is no TURN server, but it does use a stun server. Currently one I'm hosting, because it turned out to be better at hole-punching than google's public server (at least with my setup).

Thank you, I read about this after posting, thank you very much!


:four_leaf_clover: Proposal: New Plugin Development: GitLab  CE

What would you like to add? Why is this needed?

To support local deployment of gitlab-ce
Helm chart is preferred
Please give a simple design before you start coding

/cc @devstream-io/pmc

Looks like a great idea, I'd like to work for it.

@iyear @IronCore864
I've spent most of the day researching how to deploy gitlab-ce, and have found some rather tricky issues.

gitlab-ce doesn't have an arm64 version or a darwin version of the image, so we can't run it locally. It only has the linux/amd64 version.

Related issues: Release arm64 docker images

If we use linux to test it, resource requirements:

I have done some tests and have some suggestions for you @iyear:

Deploy method: For simplicity, we start with docker support for the first version. Refer to the documentation here.
Docker container image: use docker pull gitlab/gitlab-ce:rc
OS support: linux only(we need to remind users in the documentation that the current plugin only supports linux deployment)
domain: We give a default value, such as gitlab.change.me, and preserve the ability for user-defined domain names in the configuration file. e.g. hostname=gitlab.devstream.io or domain=gitlab.devstream.io
https support: By default, this deploy method does not support https, but it doesn't matter, we can leave it to the next separate proposal to avoid making the first version too complicated. For more information on how to enable https, you can see here
plugin name: Considering that the deployment of gitlab is likely that we will have support for vm and helm in the future, I suggest that the current plugin be named gitlab-ce-docker

/cc @IronCore864 @aFlyBird0 Looking forward to your suggestions.

I have done some tests and have some suggestions for you @iyear:
1. `Deploy method`: For simplicity, we start with `docker` support for the first version. Refer to the [documentation here](https://docs.gitlab.com/ee/install/docker.html#install-gitlab-using-docker-engine).

2. `Docker container image`: use `docker pull gitlab/gitlab-ce:rc`

3. `OS support`: linux only(we need to remind users in the documentation that the current plugin only supports linux deployment)

4. `domain`: We give a default value, such as `gitlab.change.me`, and preserve the ability for user-defined domain names in the configuration file. e.g. `hostname=gitlab.devstream.io or domain=gitlab.devstream.io`

5. `https support`: By default, this deploy method does not support `https`, but it doesn't matter, we can leave it to the next separate proposal to avoid making the first version too complicated. For more information on how to enable https, you can see [here](https://docs.gitlab.com/omnibus/settings/nginx.html#enable-https)

6. `plugin name`: Considering that the deployment of gitlab is likely that we will have support for `vm` and `helm` in the future, I suggest that the current plugin be named `gitlab-ce-docker`

/cc @IronCore864 @aFlyBird0 Looking forward to your suggestions.

Great. Let's get started.

Iyear has been very busy recently so I will take over his task. Thank you for your previous exploratory efforts. @iyear


Config in rustfmt.toml completely ignored on macOS

Hi
I've had this issue for a while, but only on macOS. Using the formatter (cargo fmt --all) completely ignores any settings I have in rustfmt.toml. I do not have a global rustfmt.toml that interferes with my settings.
Details:

I'm on an M2 (aarch64)
I'm using the nightly toolchain, but this has been a persistent issue for me for over half a year

My rustfmt.toml:
reorder_imports = true
imports_granularity = "Crate"
use_small_heuristics = "Max"
comment_width = 100
wrap_comments = true
binop_separator = "Back"
trailing_comma = "Vertical"
trailing_semicolon = false
use_field_init_shorthand = true
format_code_in_doc_comments = true
doc_comment_code_block_width = 100

Querying any config value shows that it is not respected:
❯ cargo fmt -- --print-config current . | grep binop
binop_separator = "Front"
❯ cargo fmt -- --print-config current . | grep comment_width
comment_width = 80

My toolchain versions:
❯ cargo fmt -- --version
rustfmt 1.7.0-nightly (98aa3624 2024-02-08)
❯ rustfmt --version
rustfmt 1.7.0-nightly (98aa3624 2024-02-08)
❯ cargo --version
cargo 1.78.0-nightly (ccc84ccec 2024-02-07)
❯ rustup show
Default host: aarch64-apple-darwin
rustup home:  /Users/onbjerg/.rustup

installed toolchains
--------------------

stable-aarch64-apple-darwin
nightly-aarch64-apple-darwin (default)
1.75-aarch64-apple-darwin

active toolchain
----------------

nightly-aarch64-apple-darwin (default)
rustc 1.78.0-nightly (98aa3624b 2024-02-08)

If I run with --verbose, rustfmt says that it is using my rustfmt.toml, but it is not, because it adds trailing semicolons and ignores other rules, which is very frustrating, as it works fine on CI.
❯ cargo fmt -- --verbose
Using rustfmt config file /Users/onbjerg/Projects/paradigmxyz/reth/rustfmt.toml for /Users/onbjerg/Projects/paradigmxyz/reth/bin/reth/src/lib.rs
Formatting /Users/onbjerg/Projects/paradigmxyz/reth/bin/reth/src/builder.rs
Formatting /Users/onbjerg/Projects/paradigmxyz/reth/bin/reth/src/cli/mod.rs
Formatting /Users/onbjerg/Projects/paradigmxyz/reth/bin/reth/src/commands/config_cmd.rs
Formatting /Users/onbjerg/Projects/paradigmxyz/reth/bin/reth/src/commands/db/clear.rs
Formatting /Users/onbjerg/Projects/paradigmxyz/reth/bin/reth/src/commands/db/diff.rs
[omitted for brevity]

FWIW I know of at least 2 others who have the exact same issue, also only on Mac.

@onbjerg thanks for reaching, and I'm sorry to hear that you're having issues. I'm pretty sure that rustfmt --print-config current expects a path to a file, not a directory. At least that's my assumption based on looking at the code:
https://github.com/rust-lang/rustfmt/blob/8486837d557c152fee52383852835d4941602423/src/bin/main.rs#L238-L252
The docs could probably be updated to make that clearer.  I'm curious, What do you get when you run rustfmt --print-config current src/lib.rs?
Also I appreciate all the effort you put into trying to explain the issue. Just so I know I'm understanding you correctly, you're saying that the correct rustfmt.toml isn't being located when you run cargo fmt --all?

I installed the same nightly toolchain as you rustup install nightly-2024-02-09, and cloned the reth repo.
$: rustfmt +nightly-2024-02-09 --version
rustfmt 1.7.0-nightly (98aa3624 2024-02-08)

$: pwd
/Users/ytmimi/Documents/Projects/rust_projects/reth

$: cargo +nightly-2024-02-09 fmt -- --print-config current bin/reth/src/lib.rs | grep binop
binop_separator = "Back"

$: cargo +nightly-2024-02-09 fmt -- --print-config current bin/reth/src/lib.rs | grep comment_width
comment_width = 100

These seem to be the values coming from the rustfmt.toml in the root of reth repo.

Interesting, I see pointing to a file gives me the correct values, however, the formatter for some reason still retains (sometimes it inserts them but I can't reliably reproduce) semicolons, even though that shouldn't be the case:
❯ cargo +nightly fmt -- --print-config current bin/reth/src/lib.rs | grep trailing_semicolon
trailing_semicolon = false

Inserting a ; at any place it could be omitted (e.g. L64 in bin/reth/src/commands/db/list.rs) and running cargo +nightly fmt over the file does not remove the semicolon, but it does on Linux.

@onbjerg are you manually invoking rustfmt (or cargo fmt) or is your editor? What directory are you in when you run rustfmt (or cargo fmt)? Above you mentioned cargo fmt --all, but none of your follow up examples have mentioned cargo fmt --all. Are there any other command line options that you're using when you try to format your project? Have you also experienced instances where formatting is applied properly?
Can you run cargo fmt -v --all -- -v. The first -v gets passed to cargo fmt, and the second -v (after the --) gets passed along to the underlying rustfmt invocation. If different configs are somehow getting used that should provide some additional details.

Sorry for the delayed response, I was flooded with notifications. I no longer experience this issue since I had to reinstall once again, so I'm not sure what the issue was 🤷🏻 I did not have any global config set as far as I could tell. Since I can't reproduce this anymore I'm closing the issue
Thank you for your time - and also sorry that I took some of it


Add documentation for use with feathers-hooks

As came up in the issue at https://github.com/feathersjs/feathers-hooks/issues/23, modifying the Mongoose models this adapter returns in a hook can cause some unexpected behaviour. We probably want to add some documentation and with Feathers 2.0 some hooks in this repository that help dealing with this.

Here's what I think this needs:

[ ] A configurable toObject hook.
[ ] Docs.

http://mongoosejs.com/docs/api.html#document_Document-toObject

Agreed. We also might see some nice patterns emerge with some of the other ORM adapters coming out soon.

This was closed with PR #33.


Alignment with others plugins

Hi,
I want to use smooth-scrollbar in my website. but I also use AOS to animate items when they display, and jarallax for parallax.
The problem is they are listen to window resize events, when they change.
The smooth-scrollbar doesn't trigger the resize events.
Is there any way to use AOS and jarallax with smooth-scrollbar?

@wizardnet972
Is your demo work with AOS library? because this library is only work on window scroll.

https://github.com/BiserStoilov/scroll-animations


Declare query and holepunch before reference to ontimeout

Re issue #44

In ontimeout you need to check if holepunch and query are set as well before destroying them, ie
if (holepunch) holepunch.destroy()

Made a new commit...

Awesome, will merge on green ci :)


Added a face detection code.

Face detection using OpenCv and haarcascade_frontalface_default.xml.

Congratulations for your Open source contribution. Don't forget to follow and  add a star on this repo.. Happy hacking


loosen up hyrax spec

Allow this gem to be used in Hyrax 3

restoring this branch until we can update Hyku main to not point at it... oops


feat: Changes for Rule engine and better run script

What
Adds support for reusing run script to run Ripple pointing to a device
Upgrades Rules engine to be case insensitive
Why
For better developer experience and configuration
How
Making the key and check case insensitive, and upgrading the scripts and configuration for Device Host.
Test
Ripple run script is updated to use the DEVICE_HOST variable instead of Thunder Host.
Ripple developers can use any case for the method field.
Checklist

[ ] I have self-reviewed this PR
[ ] I have added tests that prove the feature works or the fix is effective

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


[Salsah 1.5] A projectAdmin is not allowed to create a knora-base:Region

When trying to create a knora-base:Region for a Dingbild in Anything project, I get the following error:
{"status":3,"error":"org.knora.webapi.ForbiddenException: User http://rdfh.ch/users/AnythingAdminUser does not have permissions to create a resource in project http://rdfh.ch/projects/0001","access":"NO_ACCESS"}

The bug can be reproduced by logging in as anything.admin user.
With anything.user01, there is no bug though: this user can create a Region without problem.
I am using Knora v. 9.1.0-4-gac6c1f5

Also, if it is an existing resource, which one is it (the IRI)?

I created a Dingbild of my own.
As for the loading script, I don't know. I will ask @loicjaouen. However, I spotted this bug on another ontology for which a schema permission that was working in knora v6.0 doesn't seem to work anymore under knora v.9.

Ok, thanks for reporting. I will see if I can reproduce it next week.

@subotic, do you know when you plan to have a look at this?

I will take a look at it today.

Hmm, so with the latest version (v10.0.0-3-gc5ecdc2) I'm able to create a region on a "Dingbild" resource in the "Anything" project logged in as "Anything Admin":

OK. It must have been a bug in the v9. I will check when we upgrade to v10.


Problem configuration CKEditor whit admingenerator and translation

Hi everyone !
I'm using CKEditor with AdminGenerator (the new version 'GeneratorBundle') and translation. But the editor doesn't appear and i have an issues with the parameter 'config_name'.
Here is my configuration :
PageAdmin-generator.yml

      translations:
          label:              global.translations
          formType:           a2lix_translations_gedmo
          addFormOptions:
              fields:
                  titreH1:
                      label:  Title H1
                  titreH2:
                      label:  Title H2
                  resume:
                      label:  Short description
                  contenu:
                      label:  content
                      formType: ckeditor
                      config_name: 'basic_img'

config.yml
ivory_ck_editor:
    configs:

        basic:
            toolbar:  basic
        basic_img:
            toolbar:  basic_img
        simple:
            toolbar:  simple

    toolbars:
        configs:
            basic: [ [ "Source" , "-" , "Save" , "Undo" , "Redo",  "-" , "Bold" ,  "Italic" , "Underline" , "Strike" , "Subscript" , "Superscript" , "-" ,  "Format" , "NumberedList", "BulletedList", "-" , "Link" , "Unlink" , "Anchor" , "-" , "RemoveFormat" , "Maximize" ] ]
            basic_img: [ [ "Source" , "-" , "Save" , "Undo" , "Redo" , "-", "JustifyLeft" , "JustifyCenter" , "JustifyRight" , "JustifyBlock" , "-" , "Bold" ,  "Italic" , "Underline" , "Strike" , "Subscript" , "Superscript", JustifyLeft , "-" ,  "Format" , "NumberedList", "BulletedList", "-" , "Image" , "-" , "Link" , "Unlink" , "Anchor" , "-" , "RemoveFormat" , "Maximize" ] ]
            simple: [ [ "Undo" , "Redo",  "-" , "Bold" ,  "Italic" , "Underline" , "Strike" ] ]
            demo: [ [ "Source" ], "/", [ "Anchor" ], "/", [ "Maximize" ] ]

Can someone help me please ? I'm stuck with this problem 4 days...
Thanks a lot and have a nice day !

I have never used the admin generator :s So hard to say. Something strange to me:
contenu:
    label:  content
    formType: ckeditor
    config_name: 'basic_img' <-- HERE

It seems you want to use a ckeditor config name here but you can put form option directly on the contenu node in the admin generator? There is no formOptions as there is a formType?

ping @rpostolov ?

Seems fine according to symfony2admingenerator/GeneratorBundle#214


OADP Blog init + odf-oadp blog

Close OADP-285
View rich markdown (ie. with pictures) at https://github.com/kaovilai/oadp-operator/blob/blog/blogs/oadp-odf/oadp-blog.md
Wherever this blog gets published to.. tig.pw/oadp-blog shall redirect there.
GDoc https://docs.google.com/document/d/1jFM4QATN_DAG6W5pga00LdcSwYBtKdURz4IbRXGrlPY/edit?usp=sharing

Lmao commit was 26 days ago.. CI bot replying just now?

This has published at https://cloud.redhat.com/blog/how-to-backup-and-restore-stateful-applications-on-openshift-using-oadp-and-odf


Issue with k8s.io/docs/tasks/access-application-cluster/ingress-minikube/

ERR_CONNECTION_TIMED_OUT
Done every step like in docs:
minikube delete
minikube start
minikube addons enable ingress

kubectl create deployment web --image=gcr.io/google-samples/hello-app:1.0
kubectl expose deployment web --type=NodePort --port=8080
kubectl get service web
#Wait for ingress controller to deploy
sleep 30
kubectl get pods -n ingress-nginx
kubectl apply -f https://k8s.io/examples/service/networking/example-ingress.yaml
kubectl get ingress
curl hello-world.info

Result:
curl: (28) Failed to connect to hello-world.info port 80: Timed out

used windows 10 docker desktop
minikube version: v1.23.2
commit: 0a0ad764652082477c00d51d2475284b5d39ceed

Well the issue is pretty uncommon for me:
Ingress for minikube is creating on <IP_ADDRESS> IP address which should mean LAN (private) network address, Right?
But on my router i have LAN subnet mask <IP_ADDRESS> which means that all adresses except 192.168.0.* will be handled as public.
Windows DNS also are working pretty odd, instead of forwarding hello-world.info requests to <IP_ADDRESS> which available locally it forwards request on Router IP which is <IP_ADDRESS> and which handle it as public IP.
So I tried to set LAN subnet mask from <IP_ADDRESS> to <IP_ADDRESS>
Now requests to hello-world.info seams to be handled correctly by host.docker.internal [<IP_ADDRESS>] instead of <IP_ADDRESS>
Than i discovered Minikube gives this error:
Unable to create dedicated network, this might result in cluster IP change after restart: un-retryable: no free private network subnets found with given parameters (start: "19
<IP_ADDRESS>", step: 9, tries: 20)

And creates Ingress Service under 172 subnet (what ?)
I also tried to change Docker desktop configuration of Docker subnet from <IP_ADDRESS>/24 to <IP_ADDRESS>/24 but it doesn't work.
Can you please advise what is going on here?

OK, it was pretty hard to detect without docs but solution is pretty simple:
On windows 10:

Set your test host to point on loopback <IP_ADDRESS> hello-world.info
Run minikube tunnel
PROFIT

Please close if you think you should.

OK, so if you're trying this by running minikube on Windows, you also need to run minikube tunnel?
That detail is relevant to the page and possibly also to PR https://github.com/kubernetes/website/pull/29206. Good to know.
/remove-kind support
/kind feature
Let's mention that
/triage accepted
/language en
/priority backlog

OK, so if you're trying this by running minikube on Windows, you also need to run minikube tunnel?

@sftim yes. As i understand minikube on Windows works differently then on Linux. It uses single docker container and DNS resolving handles with Docker Desktop.
Please check, but you should know better anyway.


Add E2E test with local server

Signed-off-by: Hayden Blauzvern<EMAIL_ADDRESS>Fixes #81

Summary

Release Note

Documentation

Codecov Report

Merging #96 (d8a1503) into main (da45de4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #96   +/-   ##
=======================================
  Coverage   57.24%   57.24%
=======================================
  Files          11       11
  Lines         559      559
=======================================
  Hits          320      320
  Misses        206      206
  Partials       33       33

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


feat: Routing rules page, add a jump link to the official website description and initialize some pages

The first point: Add the jump official website routing rule page in the routing rule interface.
The second point: initialize some subsequent development pages, and perform routing configuration, etc.

Please fix the failed tasks.

Codecov Report

Merging #1137 (dba84f7) into refactor-with-go (e2ac50f) will not change coverage.
The diff coverage is 0.00%.

:exclamation: Current head dba84f7 differs from pull request most recent head 746ef2b. Consider uploading reports for the commit 746ef2b to get more accurate results

@@                Coverage Diff                @@
##           refactor-with-go    #1137   +/-   ##
=================================================
  Coverage             50.51%   50.51%
=================================================
  Files                    99       99
  Lines                  4989     4989
  Branches                 41       41
=================================================
  Hits                   2520     2520
  Misses                 2210     2210
  Partials                259      259

Impacted Files
Coverage Δ

...min-ui/src/components/governance/AccessControl.vue
0.00% <ø> (ø)

...admin-ui/src/components/governance/LoadBalance.vue
0.00% <ø> (ø)

...bo-admin-ui/src/components/governance/MeshRule.vue
0.00% <ø> (ø)

...o-admin-ui/src/components/governance/Overrides.vue
0.00% <ø> (ø)

...admin-ui/src/components/governance/RoutingRule.vue
0.00% <ø> (ø)

...bbo-admin-ui/src/components/governance/TagRule.vue
0.00% <ø> (ø)

...dmin-ui/src/components/governance/WeightAdjust.vue
0.00% <ø> (ø)

dubbo-admin-ui/src/router/index.js
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Go to definition in the Editor stopped working after the introspection services migration to use the LSP

Problem Description
Go to definition (Ctrl-G) in the Editor stopped working after PR #4751 was merged.
A minor comment first: the lsp_client_python.log file is taking forever to build and if something introspection related is done while the file is being built, everything seems to break (help, go to definition and code style warnings).
I think the reason that go to definition has stopped working is that there is an error in the path of the file that the language server is returning to Spyder in handle_go_to_definition. An extra / is added at the beginning and the disk name is not capitalized.
For example, let's say that I Ctrl-G GoToLineDialog on line 1682 of the file codeeditor.py. This file is located on my computer at C:\Users\User\spyder\spyder\widgets\sourcecode\codeeditor.py.
The position['params'] that is returned to handle_go_to_definition is:
{'uri': 'file:///c:/Users/User/spyder/spyder/widgets/sourcecode/codeeditor.py',
 'range': {'start': {'line': 102, 'character': 6}, 'end': {'line': 102, 'character': 20}},
 'file': '/c:/Users/User/spyder/spyder/widgets/sourcecode/codeeditor.py'
}

So as you can see, the value stored for the file is '/c:/Users/User/spyder/spyder/widgets/sourcecode/codeeditor.py' instead of C:\Users\User\spyder\spyder\widgets\sourcecode\codeeditor.py, the value that is stored in CodeEditor.filename.
If I replace handle_go_to_definition by:
    @handles(LSPRequestTypes.DOCUMENT_DEFINITION)
    def handle_go_to_definition(self, position):
        position = position['params']
        if position is not None:
            def_range = position['range']
            start = def_range['start']
            position_file = osp.normpath(position['file'][1:])
            if osp.normpath(self.filename) == position_file:
                self.go_to_line(start['line'] + 1, start['character'],
                                None, word=None)
            else:
                self.go_to_definition.emit(position_file, start['line'] + 1,
                                           start['character'])

to remove the extra \ and normalize the paths before comparing them, then the go to definition feature is working again as expected.
Versions

Spyder version: Spyder 4.0.0.dev0
Python version: Python 3.6.5 64bits
Qt version: Qt 5.9.3
PyQt version: PyQt5 5.9.2
Operating System name/version: Windows

Dependencies

pyflakes >=0.6.0  :  1.6.0 (OK)
pycodestyle >=2.3 :  2.3.1 (OK)
pygments >=2.0    :  2.2.0 (OK)
sphinx >=0.6.6    :  1.7.1 (OK)
rope >=0.9.4      :  0.10.7 (OK)
jedi >=0.11.0     :  0.12.1 (OK)
nbconvert >=4.0   :  5.3.1 (OK)
pandas >=0.13.1   :  0.22.0 (OK)
numpy >=1.7       :  1.13.0 (OK)
sympy >=0.7.3     :  1.1.1 (OK)
cython >=0.21     :  0.27.3 (OK)
qtconsole >=4.2.0 :  4.4.0.dev (OK)
IPython >=4.0     :  6.2.1 (OK)
matplotlib >=2.0.0:  2.2.0 (OK)
pylint >=0.25     :  1.8.3 (OK)

@jnsebgosselin I think this is a Windows-only issue, thanks for pointing out!

@andfoy is there an easy way to prevent lsp_client_python.log from building when running Spyder from boostrap.py?

A minor comment first: the lsp_client_python.log file is taking forever to build

What do you mean by this?

A minor comment first: the lsp_client_python.log file is taking forever to build
What do you mean by this?

Thanks @ccordoba12. The new lsp merge as broken almost completely introspection for me. Go to definition is not working (but that is because of a bug), but also, code analysis is very laggy and buggy. Most often than not, it is simply not working at all.
I was thinking maybe it was because of the lsp_client_python.log file that is created in the .spyder-py3\lsp_logs every-time I open Spyder. Sometimes, this file is larger than 1Meg. I've joined an example below.
lsp_client_python.log

Go to definition is not working as reported here, but also, code analysis is very laggy and buggy. Most often than not, it is simply not working at all.

Sorry to hear that. The thing is @andfoy and me work on Linux and in our tests code analysis was working well.

I was thinking maybe it was because of the lsp_client_python.log file that is created in the .spyder-py3\lsp_logs every-time I open Spyder

The file is currently created in spyder/plugins/editor/client.py, line 137. Please try to deactivate it to see what happens.

kk thank you Carlos, I will try that and report back the results.

Ok, thanks for digging into that one. I'm not using master regularly because I'm still maintaining 3.x.
@andfoy, what should we do about this?

@ccordoba12 I think we should lower the logging level to Warning, and just in case an user has an issue, instruct her/him to enable full logging on the LSP client

Good idea! Please work on a PR to do that.

https://stackoverflow.com/questions/43911052/urlparse-on-a-windows-file-scheme-uri-leaves-extra-slash-at-start

@jnsebgosselin, could you submit a PR for this? Thanks!

Ok, but a test should be written to cover that and I feel ill equipped to write one.

Yes, I know, but @andfoy can help us with that after the PR is merged. He's going to add tests for the LSP client implementation he created for Spyder this week.


added smooth transition effect on Developer card hover

Issue
Issue
Description
Added transition property on developer-card-hover element.
Checklist

[x] Github action build passing
[x] No merge conflicts

Great @sadakchap! Really appreciate your contributions :)

Thanks @subeshb1 , for being so patient 😊.
Happy to help😄!!


feat: Open Telemetry support?

This would likely be far off and maybe post v1, but something that would be neat to see is otel support. Since the context value is already propagated throughout the job processing code already it might not be too hard to instrument this?

:100:


test: add ssl_state tests

Adding ssl_state tests per https://redmine.openinfosecfoundation.org/issues/3218

Is this test supposed to fail demonstrating the issue in 3218?

Yes per:
https://redmine.openinfosecfoundation.org/issues/3218#note-2
-T
On Wed, Nov 13, 2019 at 3:33 PM Jason Ish<EMAIL_ADDRESS>wrote:

Is this test supposed to fail demonstrating the issue in 3218?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OISF/suricata-verify/pull/136?email_source=notifications&email_token=AALCHHI7FKJYZCDPZXLM7ETQTR6CJA5CNFSM4I6UB5Z2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOED745CI#issuecomment-553635465,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALCHHMM7YGNYN6KRC2R5FDQTR6CJANCNFSM4I6UB5ZQ
.

--
(406) 284-1911
travisgreen.net
PGP key<EMAIL_ADDRESS>calendly.com/travisgreen


Steps to reproduce

Configuration details
-

Log details
2023/09/04 13:22:27	stdout	[main  ] FATAL 2023/09/04 13:22:27 evcc was stopped by user. OS should restart the service.
Docker container
Version
0.119.3

Will be addressed by #9717

Endlich wird das Problem angegangen, Danke @GrimmiMeloni !

Das Problem hatte ich heute Mittag auch. Allerdings hat Easee zuvor Wartungsarbeiten am Portal und an der API durchgeführt. Ich nehme an, dass dadurch wieder alle Sessions weggeflogen sind. Nach einem Neustart von evcc ging es bei mir direkt wieder.

Dito, den ganzen Tag über schon. zwei-drei Neustarts hab ich auch schon hinter mir, jetzt geht's schon wieder nicht:

Siehe #9717


How to create a key with a constant value

I would like to have in my configuration a key (e.g. :location-of-assets) with a constant value where the value could be overriden by local and dev files.
How can I achieve that without having to write a multimethod init-key that handles my:location-of-assets?

You can derive a key from :duct/const if you want a constant.

Thanks. This is exactly what I was looking for.
Should it be documented somewhere?


limits the maximum number of work-stealing offers in-flight from a router

Changes proposed in this PR

limits the maximum number of work-stealing offers in-flight from a router
introduces global codahale metrics for work-stealing

Why are we making these changes?
Limits the total number of in-flight work-stealing requests outgoing from a router. This allows us to cap the resources used by routers for work-stealing purposes.
Example state output:

Addressed feedback. Build is green.

Please rebase

Please rebase

Rebased.


Fix docker daemon detection depending on terminal size

I could've sworn I fixed this before, but here is a fix for a thorny issue: whether toil launch-cluster succeeds depends on the width of your terminal. Worse yet, it fails if your terminal is the standard size of 80x24. (Your mileage may vary, because the length of ps output may depend on the size of the PIDs, etc.)
The core problem is that toil is using ps aux to try to find the dockerd entry, which looks something like this:
root       953 37.7  3.3<PHONE_NUMBER>6 ?        Ssl  02:06   0:12 /run/torcx/bin/dockerd blah blah blah

But ps truncates its output to the size of the terminal by default. If your window is 80 characters, for example, you get:
root       953 37.7  3.3<PHONE_NUMBER>6 ?        Ssl  02:06   0:12 /run/torcx/bin/

The terminal size is forwarded through the pipe even though Python is capturing the stdout, because the tty size detection happens over stdin.
This changes the ps invocation to use ww, which tells it to never truncate.

Oh, hey, I knew I wasn't crazy, here's where I fixed this last time: https://github.com/BD2KGenomics/toil/pull/1968/commits/068d1b75df5093c7f7830384e8b70ade116f350b
It looks like it was overwritten when the provisioner refactor landed. Probably a mistake when resolving merge conflicts.

Yes, I remember this from before too.  Thanks for resubmitting the fix despite the change!  Will merge when this passes tests.

Jenkins, test this please.


Is there a way or scrapper which scrapes data on the search base? like if I search any university name scraper search it on LinkedIn and then scrape employee's data of the university.

Is there a way or scrapper which scrapes data on the search base? like if I search any university name scraper search it on LinkedIn and then scrape employee's data of the university.

No this only scrapes particular profiles if you already know the url.

Is there a way or scrapper which scrapes data on the search base? like if I search any university name scraper search it on LinkedIn and then scrape employee's data of the university.

It's possible but I actually never tried to do that. Please post here your results, thank you


filenames with double dash get variable name with single dash

Hi there,
When I am using an image with the name image--name.png or image__name.png, spritesmith compiles the following back:
$image-name
$image_name

As I am using the BEM method, I'd like to be able to use it throughout the application - so also in variable names.
Is this intended behaviour, or is this something that can be fixed? I am using the scss output method by the way.
Thanks, and kind regards!

We have case normalization for all of our templates. This is to allow the usage of - in image filenames, even if the CSS preprocessor doesn't allow it (e.g. Stylus prefers _). I am guessing the double delimiter is causing the library to throw away the extra delimiter rather than fully normalize.
To disable the normalization, we can use cssOpts to pass options to our template and tell our template to not use any normalization:
https://github.com/Ensighten/grunt-spritesmith/tree/5.0.0#documentation
https://github.com/twolfson/spritesheet-templates/tree/10.0.0#scss
{
  // src, dest
  cssOpts: {
    variableNameTransforms: []
  }
}

Great, thanks!


Scapy is not able to sniff packets at my network interface.

I'm using Scapy, on WSL. I checked for my network interface which is "wifi0". Using scapy I am trying to implement a packet sniffer.
import scapy.all as scapy
from scapy.layers import http
def sniff(interface):
8.    scapy.sniff(iface=interface, store=False, prn=process_sniffed_packet)
def process_sniffed_packet(packet):
if packet.haslayer(http.HTTPRequest):
    #Extracting useful URLs
    url = packet[http.HTTPRequest].Host + packet[http.HTTPRequest].Path
    print("[+] HTTP Request >>" + URL)

.
.
.
.
.
.
.

sniff("wifi0")

Executing this throws an error, as under.
Traceback (most recent call last):
File "Packet_Sniffer.py", line 27, in
sniff("wifi0")
File "Packet_Sniffer.py", line 8, in sniff
scapy.sniff(iface=interface, store=False, prn=process_sniffed_packet)
File "/usr/local/lib/python3.8/dist-packages/scapy/sendrecv.py", line 972, in sniff
sniffer._run(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/scapy/sendrecv.py", line 841, in _run
sniff_sockets[L2socket(type=ETH_P_ALL, iface=iface,
File "/usr/local/lib/python3.8/dist-packages/scapy/arch/linux.py", line 467, in init
self.ins = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(type))  # noqa: E501
File "/usr/lib/python3.8/socket.py", line 231, in init
_socket.socket.init(self, family, type, proto, fileno)
OSError: [Errno 97] Address family not supported by protocol

self.ins = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(type)) # noqa: E501
OSError: [Errno 97] Address family not supported by protocol

/dupe #717 #1349 et al.

If you are using kali Linux and installing it on a virtual machine then you need to buy a wifi adapter. Or you should install the kali linux on your real machine. Also remove the iface argument from sniff function.
That worked for me
Good luck :)


Magic Connect Instagram Browser Error

✅ Prerequisites

[x ] Did you perform a cursory search of open issues? Is this bug already reported elsewhere?
[ x] Are you running the latest SDK version?
[ x] Are you reporting to the correct repository (magic-sdk)?

🐛 Description
When try to login with google or email with magic connect it keep loading in auth.magic.link/confirmation-account..
🧩 Steps to Reproduce

Open web app on instagram browser
Try to login with magic using email or google
Magic keep loading in auth.magic.link/confirmation-account..

🤔 Expected behavior
Successfull connection/login
😮 Actual behavior

💻 Code Sample
🌎 Environment

Software
Version(s)

magic-sdk
17.0.0

Browser
Instagram browser

yarn
NPM

Operating System
IOS

Hi,
This issue should be resolved as of our most recent update. Can you confirm if you are still encountering it or if it is working correctly now? I am no longer able to reproduce it on my end. Thanks!

Hi,
This issue should be resolved as of our most recent update. Can you confirm if you are still encountering it or if it is working correctly now? I am no longer able to reproduce it on my end. Thanks!

Hi,
I tried login using magic-sdk 17.0.0 and the error persists and I have updated to 18.2.1 version of sdk and the error persists,
This happen just after login when I have to sign a message and this open signature in other browser tab, but in-app-browsers don't have tabs and it keep loading https://auth.magic.link/confirm-action

Hi,
Sorry, I was incorrect in my first response. So we just released a feature that allows for login with signing in one action, which will mitigate the issue you are encountering. You will need to update to v18.4.1 for it.
The docs for it can be found here, under "Login with wallet verification". ConnectWithUI now emits an event that contains an ID token, which can then be validated in your backend using the admin SDK. The previously mentioned docs contain steps for configuration, along with a demo for the frontend portion.

Hi,
Sorry, I was incorrect in my first response. So we just released a feature that allows for login with signing in one action, which will mitigate the issue you are encountering. You will need to update to v18.4.1 for it.
The docs for it can be found here, under "Login with wallet verification". ConnectWithUI now emits an event that contains an ID token, which can then be validated in your backend using the admin SDK. The previously mentioned docs contain steps for configuration, along with a demo for the frontend portion.

Hi,
Don't worry, but I am not using this kind of signature i am using Personal signature (https://magic.link/docs/connect/features/personal-signatures) this kind of signature open another tab when click on sign


Minor improvements to AnimationController

Makes repeat default to the lower and upper bounds
Makes animateTo handle unbounded ranges better
Improve the name of _TweenSimulation

Fixes #2096
Fixes #2090
Fixes #2091

@Hixie

lgtm


Application parameter incorrect

Accepted value for Exchange & SharePoint location in M365 group is New-RetentionCompliancePolicy [identity] -Applications "Group:Exchange,SharePoint".  Current value will not be accepted.  See https://docs.microsoft.com/en-us/microsoft-365/compliance/create-retention-policies?view=o365-worldwide#configuration-information-for-microsoft-365-groups

Docs Build status updates of commit 027c8ce:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-RetentionCompliancePolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 91a8764:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-RetentionCompliancePolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit c07fa2f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-RetentionCompliancePolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 0caca60:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-RetentionCompliancePolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Manage with enumerated

It should be possible to declare an int var with an enumerated domain like:
x = model.intvar([1,3,5])

Addressed in 5dd19e07afcb63311fdb2d12da5ffbdf1b8eb0d5


Lights don't function after apt-get dist-upgrade

Hi J,
I did a dist-upgrade, and after a reboot the build lights don't light up at all. All other functionality is correct, it gets msgs off SQS and plays sounds for events etc.
(trevor @ poste haste)

The output from python test.py is:
Fill LEDs
Strand: LED driver thread: STARTED
LED join
and then it just stays in the loop forever, without any reported error (ie. if not led.isAlive() does not break out, so its like everything is OK, but no lights are lit)

Most likely your OS stopped loading the spi-bcm2708 driver after the dist-upgrade.
Try either re-enabling the SPI driver from raspi-config or manually adding it to /etc/modules file.

OK. I did check that, and saw /dev/spidev0.0 so assumed it was OK. Also /etc/modules had the bcm module in there for spi-bcm2708.
After your suggestion, I tried raspi-config, and after configuring through it, it created /dev/spi-dev0.1 in addition to /dev/spi-dev0.0, and now the lights work. Strange.


A different authentication mechanism for S3 bucket

User Story
As a driftctl CLI user,
I want to use a dedicated authentication for S3
So that driftctl can access Terraform states stored on a different AWS account than the one to scan
Acceptance Tests
Criteria
The user can use one AWS profile to access S3 and another for the scan

export a dedicated AWS profile (or any other AWS env var) for accessing S3 as read-only

export DCTL_S3_AWS_PROFILE="<aws_profile_name>"

export the usual driftctl AWS profile (read-only too)

export AWS_PROFILE="driftctl-ro"

confirm the scan succeeds

driftctl scan --from tfstate+s3://mybucket/terraform.tfstate

Originally posted by @kuanhn in https://github.com/cloudskiff/driftctl/discussions/560

couldn't use the feature on 0.12-pre build ee029e9-dev
❯  AWS_REGION=us-west-2 DCTL_S3_AWS_PROFILE="615-s3-only" AWS_PROFILE="615-iam-only" driftctl-pre scan --from tfstate+s3://615-usw2-states/**/*.tfstate
DEBU[0000] Bound environment variable to flag env=disable_telemetry flag=disable-telemetry value=true
DEBU[0000] New provider library created
DEBU[0000] Found existing provider path=/home/sjourdan/.driftctl/plugins/linux_amd64/terraform-provider-aws_v3.19.0_x5
DEBU[0000] Starting gRPC client alias=us-west-2
DEBU[0001] New gRPC client started alias=us-west-2
DEBU[0001] Terraform provider initialized alias=us-west-2 name=aws
DEBU[0001] Found IAC supplier backend=s3 path=615-usw2-states/**/*.tfstate supplier=tfstate
INFO[0001] Start reading IaC
DEBU[0002] Stopping ParallelRunner
Scanned states (0)
DEBU[0002] Closing providers
DEBU[0002] Closing provider key=aws
DEBU[0002] Closing gRPC client alias=us-west-2
AccessDenied: Access Denied
	status code: 403, request id: Q6YQQYKED4XHVV6X, host id: WOlGcILAUFS01nEvinXD/CsdkUbXgiWYkDl/nBaFZruuKdwYE7aizPRu/wAXDtFPwSxKc6kMEQ4=

Using the same profile directly using AWS_PROFILE it works:
❯  AWS_REGION=us-west-2 AWS_PROFILE="615-s3-only" driftctl-pre scan --from tfstate+s3://615-usw2-states/**/*.tfstate
DEBU[0000] Bound environment variable to flag env=disable_telemetry flag=disable-telemetry value=true
DEBU[0000] New provider library created
DEBU[0000] Found existing provider path=/home/sjourdan/.driftctl/plugins/linux_amd64/terraform-provider-aws_v3.19.0_x5
DEBU[0000] Starting gRPC client alias=us-west-2
DEBU[0001] New gRPC client started alias=us-west-2
DEBU[0001] Terraform provider initialized alias=us-west-2 name=aws
DEBU[0001] Found IAC supplier backend=s3 path=615-usw2-states/**/*.tfstate supplier=tfstate
INFO[0001] Start reading IaC
DEBU[0002] Enumerated keys keys=[615-usw2-states/terraform.tfstate]
DEBU[0002] Reading resources from state backend=s3 path=615-usw2-states/terraform.tfstate
DEBU[0002] Found module in state module= resourceCount=1
DEBU[0002] Got a cty path error when deserializing state err=unsupported attribute "tags_all" name=qa type=aws_iam_user
DEBU[0002] Successfully converted resource
Scanned states (1)
INFO[0002] Start scanning cloud provider
DEBU[0003] Got an access denied error listed_type=aws_route_table supplier_type=aws_route_table
[...]

The profile works:
❯  AWS_PROFILE="615-s3-only" aws s3 ls s3://615-usw2-states/
2021-07-06 11:22:35        907 terraform.tfstate

pebcak
code uses DCTL_S3_PROFILE when the issue used DCTL_S3_AWS_PROFILE

LGTM
❯  AWS_REGION=us-east-1 DCTL_S3_REGION="us-west-2" DCTL_S3_PROFILE="615-s3-only" AWS_PROFILE="615-iam-only" driftctl-pre scan --from tfstate+s3://615-usw2-states/**/*.tfstate
[...]


Crossref integration

Crossref integration for new add reference workflow.

Codecov Report

Merging #645 into metadata-editor will decrease coverage by 0.17%.
The diff coverage is 23.33%.

@@                Coverage Diff                 @@
##           metadata-editor    #645      +/-   ##
==================================================
- Coverage            53.28%   53.1%   -0.18%
==================================================
  Files                  257     257
  Lines                 7008    7031      +23
==================================================
  Hits                  3734    3734
- Misses                3274    3297      +23

Impacted Files
Coverage Δ

src/article/editor/EditorPackage.js
100% <ø> (ø)
:arrow_up:

src/article/metadata/AddReferenceWorkflow.js
5.26% <0%> (-1.88%)
:arrow_down:

src/article/models/ReferenceCollectionModel.js
68.18% <0%> (-3.25%)
:arrow_down:

src/article/ArticleAPI.js
27.52% <0%> (-2.91%)
:arrow_down:

src/article/metadata/MetadataPackage.js
100% <100%> (ø)
:arrow_up:

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 846e647...ba75fdc. Read the comment docs.


[Deployment] Host the game

We need to host the game and add the live link to the Readme and repo description.

Hello @shubhansu-kr !
Please can you assign this task to me i can do this .
Thanks.

Also please can you add hacktoberfest tag to it.


fix syn version mismatch

Problem
master ci is broken:

Summary of Changes
fix it

it's passed the sanity. merge on red for unblocking master ci.


How do I do a new build?

There are some very recent changes in the CoreNLP project that I would like to use (they were just made yesterday).
So I:
got the latest java source and built a new stanford-corenlp.jar file.
got the latest source of this project and did a normal build (bunch of failing unit tests by the way).
replaced the existing stanford-corenlp-3.7.0.jar from the normal build with the new one I just built.
ran build.cmd again.
This seems like it worked.
Other than the caveat that I am using a "daily build" and not an official release, is there anything wrong with this plan?

Hi,
All test should be green on these commit
https://github.com/sergey-tihon/Stanford.NLP.NET/tree/edbef331160253b2db786155fe669cb50c32573c
the master has problem on unzipping jar with models (because it contains files with invalid names for win) - https://github.com/stanfordnlp/CoreNLP/issues/293
Manual step: unzip \paket-files\nlp.stanford.edu\stanford-corenlp-full-2016-10-31\stanford-corenlp-3.7.0-models.jar to \paket-files\nlp.stanford.edu\stanford-corenlp-full-2016-10-31\models\
other steps are correct

Build is green now, so no manual steps are required - https://ci.appveyor.com/project/sergey-tihon/stanford-nlp-net/build/<IP_ADDRESS>

Hey thanks, I'll try it out. Wound up setting up a Java dev environment to try out the fix and I couldn't get it to work there either. So I think more work needs to be done anyway (or my understanding needs to expand). Here's the issue at CoreNLP if it matters: https://github.com/stanfordnlp/CoreNLP/issues/338
Again, thanks for your response!

I was able to pull the latest CoreNLP and make a new build. Thanks for your help!


BLAS variants ignored

Summary
Installing different Conda Forge blas variants has no effect on base R matrix operations performance. R uses the lib/R/lib/Rblas.dylib for BLAS operations, which appears to perform identically with our Netlib build of libblas.dylib.
Symlinking the lib/R/lib/libRblas.dylib to ../../libblas.dylib enables R to use the BLAS variants.
Initial Benchmarking
I ran some basic benchmarking tests to see how BLAS variants impact R performance on osx-arm64 platform. I already know that they impact Python numpy, with Accelerate making a huge difference. I was really surprised to find that they all performed identically.
bench-prcomp.R
library(microbenchmark)

set.seed(20230506)
NROW=1000L
NCOL=1000L

mat <- matrix(rnorm(NROW*NCOL, 10), NROW, NCOL)

microbenchmark(prcomp(mat), times=10)

Environments
mamba create -n r42_accelerate r-base=4.2 r-microbenchmark 'blas=*=accelerate'
mamba create -n r42_netlib r-base=4.2 r-microbenchmark 'blas=*=netlib'
mamba create -n r42_openblas r-base=4.2 r-microbenchmark 'blas=*=openblas'

Results
$ mamba run -n r42_accelerate Rscript bench-prcomp.R
Unit: seconds
        expr    min       lq     mean   median      uq      max neval
 prcomp(mat) 1.8176 1.824767 1.846034 1.828512 1.86154 1.927992    10

$ mamba run -n r42_netlib Rscript bench-prcomp.R
Unit: seconds
        expr      min       lq     mean  median       uq      max neval
 prcomp(mat) 1.819297 1.826732 1.843118 1.83046 1.868234 1.871313    10

$ mamba run -n r42_openblas Rscript bench-prcomp.R
Unit: seconds
        expr      min       lq     mean   median       uq      max neval
 prcomp(mat) 1.822875 1.823559 1.846244 1.831912 1.871775 1.886548    10

They are effectively identical, which is unexpected given that Accelerate is faster when used in NumPy.
Modified Benchmarking
Next I modified each environment by replacing the lib/R/lib/libRblas.dylib with a symlink to ../../libblas.dylib. This appears to give more expected results.
Results
$ mamba run -n r42_accelerate Rscript bench-prcomp.R
Unit: milliseconds
        expr      min      lq     mean   median       uq      max neval
 prcomp(mat) 236.2402 238.195 258.9798 249.5734 281.4831 294.9549    10

$ mamba run -n r42_netlib Rscript bench-prcomp.R
Unit: seconds
        expr     min       lq     mean   median      uq      max neval
 prcomp(mat) 1.81474 1.827195 1.842966 1.829962 1.86686 1.873634    10

$ mamba run -n r42_openblas Rscript bench-prcomp.R
Unit: milliseconds
        expr      min       lq     mean   median       uq      max neval
 prcomp(mat) 872.5037 912.5565 925.3458 929.6652 938.9488 989.4986    10

That is, OpenBLAS is 2X faster and Accelerate is 7X faster than the Netlib implementation, which appears to be what Conda Forge's R is delivering (at least for osx-arm64).
Remarks
It is unclear whether this is intended, but I would expect not (hence the  label). It was discussed previously in #79, and changed in R 3.6.1 (https://github.com/conda-forge/r-base-feedstock/commit/a4b9e3f9349459a195bdfbfbdfa3ec5ccef4d150). To me it appears that using the --with-blas=-lblas flag in the build leads to R generating a libRblas.dylib using the available BLAS (which is netlib at build time) and this is not subsequently dynamic.
I'm unsure if this impacts other platforms. I'm also unsure if replacing with a symlink is stable. Perhaps someone knows why R still generates a libRblas.dylib despite the -lblas flag.

Probably needs to set r_cv_prog_fc_cc_compat_complex=1 before cross compiling for osx-arm64

Just to add a little more documentation, the osx-arm64 build abandons the external BLAS/LAPACK with:
2023-06-16T08:28:48.7637240Z checking whether double complex BLAS can be used... no
2023-06-16T08:28:48.7656140Z configure: cannot use --with-lapack without --with-blas
2023-06-16T08:28:48.7659170Z configure: using internal LAPACK sources

which is in line with what Isuru recommended.


Sorting by line speed

There's a small issue when trying to sort the servers by line speed. The program parses the values under "Line Speed" as strings and sorts them alphabetically, so that for example "15" comes before "2" or "5". You should make it so that it parses the numbers as floats and sorts them in ascending or descending order.

Could someone point me in the right direction as to where the sorting is performed in the code? I'd be happy to try to fix this, but don't want to spend the time understanding the entire code structure, etc.

// List-view sort function
int CALLBACK LvSortProc(LPARAM param1, LPARAM param2, LPARAM sort_param){
https://github.com/SoftEtherVPN/SoftEtherVPN/blob/master/src/Cedar/WinUi.c#L5350


Tweak plugin model

Possibly get rid of Software Products Model and associate SoftwareProductVersion directly to a platform since software actually links to a platform IE it runs on top of a platform or is the platform.  You could create a list view bubbling up SoftwareVersion to Platform and show software summaries.
I also recommend some rework of the model to include the below fields.
Possible models.py example
class SoftwareVersion(NetBoxModel)
    platform = models.ForeignKey(to="dcim.Platform", on_delete=models.CASCADE, verbose_name="Platform")
    version = models.CharField(max_length=50)
    alias = models.CharField(max_length=50, blank=True, null=True)
    release_date = models.DateField(null=True, blank=True, verbose_name="Release Date")
    end_of_support = models.DateField(null=True, blank=True, verbose_name="End of Software Support")
    documentation_url = models.URLField(blank=True, verbose_name="Documentation URL")
    long_term_support = models.BooleanField(verbose_name="Long Term Support", blank=True, null=True)
    release_type = models.BooleanField(verbose_name="Release Type", default=False)  # Options (Pre-Release, Stable, Feature, etc)
    file_checksum= models.CharField(max_length=200, blank=True, null=True)
    filename = models.CharField(max_length=50, blank=True, null=True)
    file_link = models.URLField(blank=True, verbose_name="File Link")

This would allow for something more similar to:

https://github.com/nautobot/nautobot-plugin-device-lifecycle-mgmt (I would recommend changing this to a LCM plugin beyond software similar to this plugin)
https://github.com/goebelmeier/netbox-cisco-support (but vendor agonistic)

I'd be happy to help here if you are open to it.  I was going to tackle this myself, but I rather not build alone.

Hi Ryan, thanks for the suggestion and the offer to help. We'd sure love your help on improving the plugin but as I'm not involved in this plugin as a developer I lack the technical knowledge to review your proposals. The developer who created this plugin is currently on holiday and he will be handing over this project to another developer who will be responsible for maintaining the plugin. In other words, it might take a while before you get a technical response. Feel free to nudge us if you haven't had that response by September 1st.

I’ll look to fork this and submit a PR for review.  I’ll work on this in my leisure.

Has this project been handed over to a new dev that I can work with?

Hi Ryan, Yes, it has, thanks for the reminder.
Wouter (@wkoot) is the new dev. We also have a product owner, but he is not on GitHub yet I think.

@wkoot any thoughts to my proposed model updates?  Check out the nautobot demo https://demo.nautobot.com/ under the navbar device lifecycle for examples.
I'd love to start slow, prioritize some features to build out, and collaborate. I have netbox plugin experience, and I just want to work to improve your existing rather than go it alone.
Would you like to chat on discord or slack?

It looks like juicy router 2 has a vulnerability! Cool set up you have there, useful dataset too :-)
Personally I haven't worked with NetBox before, we have a set up that seems to be much closer to vanilla.
I will confer with the PO, but let's add on Discord in the meantime. Can you send me your handle?
You can grab my email from one of my commits or just the one listed on python-instagram

Ha!  Not my setup.  That is a fork of the NetBox project maintained by Network To Code called Nautobot.
I mentioned two projects in the original ticket comment.  I can speak more about it as needed.

https://github.com/nautobot/nautobot-plugin-device-lifecycle-mgmt (I would recommend changing this to a LCM plugin beyond software similar to this plugin)
https://github.com/goebelmeier/netbox-cisco-support (but vendor agonistic)

Hmm I must be dense, but I do not see the handle.  I'm also on the NetBox slack which is likely useful for you given the support you can find there.  For slack and discord, my handle is the same as my github handle.

@wkoot any other way I can reach out?

Hi @ryanmerolle, I am the new product owner for this plugin from our organization. Perhaps we could create a group chat together with @wkoot in Microsoft Teams? If you are active on Microsoft Teams I will need your email address.

I am not.
I am on the netbox slack and discord.

I have not seen a ton of movement, do you all need help?
If anything comes up you need help with or want someone to bounce ideas off of let me know.  I am on https://netdev.chat with the same username

I wonder, is there still updates on this plugin?
Would be great to see it mature like the https://github.com/nautobot/nautobot-plugin-device-lifecycle-mgmt.

ping

It's still on the radar guys :-) I haven't gotten around to finishing #3 yet, as it needs a different approach. But for this year there's more time allotted. Any merge requests submitted are welcome and will receive attention however!

I'm going to close this issue due to inactivity. We will look into #9. If this is still relevant, please do not hesitate to reopen this issue or submit a PR.


Mapping function for titles in operator combo and disable titles

This PR adds following props to OperatorCombo

show title of selected item (when selected item hovered) -> boolean
mapping function for operator titles

Thx for review
Merging.


Why caddy:php is so slow?

I use caddy:php to run a laravel application, which only display a static page. I found it is slower then I expected, so I benched the speed with wrk.

Running 10s test @ http://localhost:2015
2 threads and 100 connections
Thread Stats   Avg      Stdev     Max   +/- Stdev
Latency     1.73s   379.36ms   2.00s    88.14%
Req/Sec    26.58     10.62    60.00     64.77%
520 requests in 10.01s, 1.24MB read
Socket errors: connect 0, read 0, write 0, timeout 48
Requests/sec:     51.95
Transfer/sec:    126.52KB

I also tried unix sock in fastcgi, /dev/shm to serve files, nothing works.
So I tried to build a ubuntu image, with almost the same dockerfile, below is the result:

Running 10s test @ http://localhost:2015/
2 threads and 100 connections
Thread Stats   Avg      Stdev     Max   +/- Stdev
Latency   192.47ms   49.50ms 515.12ms   77.65%
Req/Sec   259.35     66.79   424.00     63.00%
5167 requests in 10.01s, 12.17MB read
Requests/sec:    516.24
Transfer/sec:      1.22MB

I am using Ubuntu 18.04, docker version is Docker version 17.12.1-ce, build 7390fc6.

I think this is not a caddy:php issue, the offical php-fpm-alpine is working at the the same speed…

That's almost an order of magnitude difference in requests/second and latency. Maybe an issue with default file descriptor limits? (see: ulimit)
Did you run the two benchmarks on the same machine?

Yes, I ran them on the same machine. Here are ulimit -a results:
abiosoft/caddy:php
-t: cpu time (seconds)             unlimited
-d: data seg size (kb)             unlimited
-s: stack size (kb)                8192
-c: core file size (blocks)        unlimited
-m: resident set size (kb)         unlimited
-l: locked memory (kb)             16384
-p: processes                      unlimited
-n: file descriptors               1048576
-v: address space (kb)             unlimited
-w: locks                          unlimited
-e: scheduling priority            0
-r: real-time priority             0

and ubuntu php
file(blocks)         unlimited
data(kbytes)         unlimited
stack(kbytes)        8192
coredump(blocks)     unlimited
memory(kbytes)       unlimited
locked memory(kbytes) 16384
process              unlimited
nofiles              1048576
vmemory(kbytes)      unlimited
locks                unlimited
rtprio               0

Any help?

The main difference I'm aware of between Alpine and Ubuntu images is that packages are built with musl and glibc respectively. I'm not sure if that plays a role.
Since this is the case, I don't think it has anything to do with this image. But I'll leave this issue open for now.

I think this is not a caddy:php issue, the offical php-fpm-alpine is working at the the same speed…

@zsimple please re-run the tests again. The new builds have opcache included witch should increase the php performance. Also through alpine 3.10 php-fpm7.3 is used

Yes! It is much faster then before, I think it can be used in production after some security test.
Thanks for your work.