Error when calling /status.json

Calling /status.json with a POST request and a valid key results in this error:

Error connecting to Redis on localhost:6379 (Errno::ECONNREFUSED)

Affected line:
https://github.com/SOBotics/Redunda/blob/master/app/controllers/bot_instances_controller.rb#L110
Reproducible with this CURL request:
curl -X POST -H 'UserAgent: redunda-lib-java/1.1.0' -d 'key=insert_valid_key_here' -v -i 'https://redunda.sobotics.org/status.json'

Full trace:

redis (3.3.5) lib/redis/client.rb:345:in rescue in establish_connection' redis (3.3.5) lib/redis/client.rb:331:in establish_connection'
redis (3.3.5) lib/redis/client.rb:101:in block in connect' redis (3.3.5) lib/redis/client.rb:293:in with_reconnect'
redis (3.3.5) lib/redis/client.rb:100:in connect' redis (3.3.5) lib/redis/client.rb:364:in ensure_connected'
redis (3.3.5) lib/redis/client.rb:221:in block in process' redis (3.3.5) lib/redis/client.rb:306:in logging'
redis (3.3.5) lib/redis/client.rb:220:in process' redis (3.3.5) lib/redis/client.rb:120:in call'
redis (3.3.5) lib/redis.rb:2130:in block in publish' redis (3.3.5) lib/redis.rb:58:in block in synchronize'
/home/ubuntu/.rvm/rubies/ruby-2.4.0/lib/ruby/2.4.0/monitor.rb:214:in mon_synchronize' redis (3.3.5) lib/redis.rb:58:in synchronize'
redis (3.3.5) lib/redis.rb:2129:in publish' actioncable (5.1.6) lib/action_cable/subscription_adapter/redis.rb:22:in broadcast'
actioncable (5.1.6) lib/action_cable/subscription_adapter/channel_prefix.rb:6:in broadcast' actioncable (5.1.6) lib/action_cable/server/broadcasting.rb:46:in block in broadcast'
activesupport (5.1.6) lib/active_support/notifications.rb:168:in instrument' actioncable (5.1.6) lib/action_cable/server/broadcasting.rb:44:in broadcast'
actioncable (5.1.6) lib/action_cable/server/broadcasting.rb:23:in broadcast' app/controllers/bot_instances_controller.rb:110:in status_ping'
actionpack (5.1.6) lib/action_controller/metal/basic_implicit_render.rb:4:in send_action' actionpack (5.1.6) lib/abstract_controller/base.rb:186:in process_action'
actionpack (5.1.6) lib/action_controller/metal/rendering.rb:30:in process_action' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:20:in block in process_action'
activesupport (5.1.6) lib/active_support/callbacks.rb:131:in run_callbacks' actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in process_action'
actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in process_action' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in block in process_action'
activesupport (5.1.6) lib/active_support/notifications.rb:166:in block in instrument' activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in instrument'
activesupport (5.1.6) lib/active_support/notifications.rb:166:in instrument' actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in process_action'
actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in process_action' activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in process_action'
actionpack (5.1.6) lib/abstract_controller/base.rb:124:in process' actionview (5.1.6) lib/action_view/rendering.rb:30:in process'
actionpack (5.1.6) lib/action_controller/metal.rb:189:in dispatch' actionpack (5.1.6) lib/action_controller/metal.rb:253:in dispatch'
actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in dispatch' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in serve'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in block in serve' actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in each'
actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in serve' actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in call'
warden (1.2.7) lib/warden/manager.rb:36:in block in call' warden (1.2.7) lib/warden/manager.rb:35:in catch'
warden (1.2.7) lib/warden/manager.rb:35:in call' rack (2.0.6) lib/rack/etag.rb:25:in call'
rack (2.0.6) lib/rack/conditional_get.rb:38:in call' rack (2.0.6) lib/rack/head.rb:12:in call'
rack (2.0.6) lib/rack/session/abstract/id.rb:232:in context' rack (2.0.6) lib/rack/session/abstract/id.rb:226:in call'
actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in call' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in block in call'
activesupport (5.1.6) lib/active_support/callbacks.rb:97:in run_callbacks' actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in call'
actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in call' actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in call'
railties (5.1.6) lib/rails/rack/logger.rb:36:in call_app' railties (5.1.6) lib/rails/rack/logger.rb:24:in block in call'
activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in block in tagged' activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in tagged'
activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in tagged' railties (5.1.6) lib/rails/rack/logger.rb:24:in call'
actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in call' actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in call'
rack (2.0.6) lib/rack/method_override.rb:22:in call' rack (2.0.6) lib/rack/runtime.rb:22:in call'
activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in call' actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in call'
rack (2.0.6) lib/rack/sendfile.rb:111:in call' rack-cors (1.0.2) lib/rack/cors.rb:97:in call'
railties (5.1.6) lib/rails/engine.rb:522:in call' /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in process_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:157:in accept_and_process_next_request' /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in main_loop'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:415:in block (3 levels) in start_threads' /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in block in create_thread_and_abort_on_exception'

@Undo1 so apparently Redunda does use Redis...

@FelixSFD Can you give it a try now?

Thanks! It works :-)


⚠ Bofrost.de has degraded performance

In e136fff, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1904 ms

Resolved: Bofrost.de performance has improved in c79c518 after 37 minutes.


Add bottom area to two-cols-header.vue

See https://github.com/slidevjs/slidev/discussions/1113
.col-bottom { grid-area: 3 / 3 / 2 / 3; } is presumably still wrong, I'm not doing enough CSS ;)
Will send an update!

Lacking context of the given grid-template (on the wrapper). However, I assume you have a 4x4 grid and you try to position .col-bottom in the right bottom, so its:
grid-area: 3 / 3 / 5 / 5;

So, its a

Header (full width)
Col left (50%), Col right (50%)
Footer (full width)

Grid. If the HTML markup is in the right order, you dont need grid-row.
So the code should be:
.col-header,
.col-bottom { grid-column: -1/1; }
.col-left,
.col-right { grid-column: span 2; }

Untested.

Thanks, @thomasfrobieter, I changed the code accordingly! Will still have to test this.

Whaooo cool, thank you @antfu never expected this might get merged :)

@antfu this PR merge broke the two-cols-header layout. Content is no longer displayed in two columns under the header.

Would be appreciated if someone could send a fix.

It's just an issue with the columns. I'm traveling to VueConf Toronto in the morning and should have some time while I'm waiting on flights if someone doesn't beat me to it.

Sorry.
Perhaps better revert this for now and instead, we add an additional and better tested two-cols-header-footer layout, once we have the reason?
Sorry no idea yet, why I didn't see this breaking. I'm going to take a look asap, very full timetable this week :(

@antfu I believe this PR should resolve (please test the layout)
Also, thanks for Slidev! I used it for my talk today at VueConf Toronto 🙌🏼 🎉


 tags inside of conditional templates don't become insertions points

Could you provide a test case of this issue?
There's a known issue in Polymer 1.1 release that should be fixed shortly. I also recommend testing after that fix lands.

@sorvell I think something like: https://jsbin.com/napezi/1/edit illustrates the issue, right @miztroh ?

In a simplified test case, this ended up working as expected.  I've already revised my complex use case to avoid the issue I was experiencing.  I'll close this issue for now and reopen if I come across it again.


[DO NOT MERGE] Revert "Revert "Add regions facet to business support finder spec""

Restores alphagov/publishing-e2e-tests#242
https://trello.com/c/FC7XKG6H/257-add-regional-location-as-a-facet-to-the-finance-and-support-for-your-business-finder

Making this DNM until we get the go ahead.

https://trello.com/c/yUWfjwSN/514-deploy-regional-location-facet-to-finance-and-support-for-your-business-finder


Cartoon network media_id error

Checklist

[x ] I'm reporting a broken site support issue
[x ] I've verified that I'm running youtube-dl version 2020.02.16
[x ] I've checked that all provided URLs are alive and playable in a browser
[x ] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x ] I've searched the bugtracker for similar bug reports including closed ones
[x ] I've read bugs section in FAQ

Verbose log

administrator@DL03:~$ sudo youtube-dl -U
[sudo] password for administrator:
Updating to version 2020.02.16 ...
Updated youtube-dl. Restart youtube-dl to use the new version.
administrator@DL03:~$ youtube-dl https://www.cartoonnetwork.com/video/ben-10/ben-in-rome-part-1-a-slice-of-life-episode.html
[CartoonNetwork] ben-in-rome-part-1-a-slice-of-life: Downloading webpage
ERROR: Unable to extract media id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
administrator@DL03:~$ sudo youtube-dl --verbose https://www.cartoonnetwork.com/video/ben-10/ben-in-rome-part-1-a-slice-of-life-episode.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.cartoonnetwork.com/video/ben-10/ben-in-rome-part-1-a-slice-of-life-episode.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.02.16
[debug] Python version 2.7.17 (CPython) - Linux-4.15.0-88-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[CartoonNetwork] ben-in-rome-part-1-a-slice-of-life: Downloading webpage
ERROR: Unable to extract media id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/cartoonnetwork.py", line 36, in _real_extract
    media_id = find_field('mediaId', 'media id', 'id', '[0-9a-f]{40}', True)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/cartoonnetwork.py", line 34, in find_field
    webpage, name, fatal=fatal)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 1005, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract media id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

Downloads from Cartoon Network are failing.

Are the episodes in question free to download or require a subscription as any episode that has a lock on it will not work unless you have a cable log in but they do offer free to watch episodes for testing. https://www.cartoonnetwork.com/video/unlocked/index.html?atclk_vn=vn_link_unlocked

I was under the impression it was unlocked because it played without logging in and also said unlocked at the top but apparently that was not the case as it's only playing a 2 minute teaser. I will try to login and sort it out on my end. Thank you.

Checked on my end after logging in to my provider and was able to download it.


Adds a rosbag_wft binary.

So far it creates statistics over timing information of the sensor data that Cartographer cares about. It also reports if time jumps backwards for a sensor.
Also update the GitHub issue template to ask user to run this binary when reporting issues.
I verified that this tool is sufficient to analyze all the timing related issues mentioned in #529.

@drigz Could you review for English?

You have a typo in the PR title :-)

Approval for English.

@gaschler Andre, I'll await your code review before merging.


RegisterEffect reset property support

Does velocity-react support the reset property for Velocity.RegisterEffect?
Specifically, I'm attempting to "clean up" the style attribute of a component after the animation is complete.
// Define prep styles for animation
var prepStyles = {
  bottom: 0,
  left: 0,
  position: 'absolute',
  right: 0,
  top: 0
}

var resetStyles = {
  bottom: 'auto',
  left: 'auto',
  position: 'static',
  right: 'auto',
  top: 'auto',
}

// Register effects
var scaleFadeIn = velocityHelpers.registerEffect({
  defaultDuration: 600,
  calls: [
    [{
      opacity: [1, 0],
      scale: [1, [500, 30], 0.5]
    }]
  ],
  reset: resetStyles
})

var scaleFadeOut = velocityHelpers.registerEffect({
  defaultDuration: 600,
  calls: [
    [{
      opacity: [0, 1],
      scale: [0.5, [500, 30], 1]
    }]
  ],
  reset: resetStyles
})

// Use animation with style hash
<VelocityTransitionGroup
  enter={{ animation: scaleFadeIn, style: prepStyles }}
  leave={{ animation: scaleFadeOut, style: prepStyles }}>
  {this.state.first ? <First /> : undefined}
  {!this.state.first ? <Second /> : undefined}
</VelocityTransitionGroup>

Hrm. Unsure. VelocityTransitionGroup sets a complete handler, but I don't
know exactly how that interacts with the complete handler that UI Pack
adds. You'd need to do some debugger tracing to see how that plays out. I
wouldn't expect VelocityTransitionGroup to behave any differently from any
call to "animate" that has its own complete handler.
Theoretically you could reset the styles with a complete handler passed to
VelocityTransitionGroup, though it looks like it currently eats the
arguments / this that would make that possible.
Updating VelocityTransitionGroup to pass the args from its complete handler
into optsCompleteFn (and probably call it with the right "this") would fix
that, if you want to make a PR.
On Thu, Apr 7, 2016 at 3:29 PM, David Calhoun<EMAIL_ADDRESS>wrote:

Does velocity-react support the reset property for Velocity.RegisterEffect
http://julian.com/research/velocity/#uiPack?
Specifically, I'm attempting to "clean up" the style attribute of a
component after the animation is complete.
// Define prep styles for animationvar prepStyles = {
bottom: 0,
left: 0,
position: 'absolute',
right: 0,
top: 0
}
// Register effectsvar scaleFadeIn = velocityHelpers.registerEffect({
defaultDuration: 600,
calls: [
[{
opacity: [1, 0],
scale: [1, [500, 30], 0.5]
}]
],
reset: {
bottom: 'auto',
left: 'auto',
position: 'static',
right: 'auto',
top: 'auto',
}
})
var scaleFadeOut = velocityHelpers.registerEffect({
defaultDuration: 600,
calls: [
[{
opacity: [0, 1],
scale: [0.5, [500, 30], 1]
}]
],
reset: {
bottom: 'auto',
left: 'auto',
position: 'static',
right: 'auto',
top: 'auto',
}
})
// Use animation with style hash<VelocityTransitionGroup
enter={{ animation: scaleFadeIn, style: prepStyles }}
leave={{ animation: scaleFadeOut, style: prepStyles }}>
{this.state.first ?  : undefined}
{!this.state.first ?  : undefined}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/twitter-fabric/velocity-react/issues/87

Thank you for implementing support with the complete callback.
Just to follow up, it appears the reset property of Velocity.RegisterEffect is working within velocity-react. It turns out my issue is that Velocity does not accept non-integer values.


GPU: 3D Skybox Option.

Basically you would have a low poly model of the entire Runescape world that gets rendered first as a skybox, then the normal world would be rendered on top.
To a player, it would look somewhat close to infinite render distance while still performing well.

I think this is a cool thing to implement.


feat: Use remote OCI image references as rootfs element

Prerequisite checklist

[x] Read the contribution guidelines regarding submitting new changes to the project;
[x] Tested your changes against relevant architectures and platforms;
[x] Ran make fmt on your commit series before opening this PR;
[ ] Updated relevant documentation.

Description of changes

This PR makes it possible to specify a remote OCI image as a rootfs.  This prevents having to use BuildKit in order to retrieve the rootfs, which has become a common operation.

@nderjung  you'll have to rebase again :D


Add link to awesome-geojson

Repo needs a license and a contributing guideline would be nice. See this repo for inspiration ;)

Would be cool if you could link back here in your list so users can easily discover more awesome lists ;)

Ok do it


How can I change the SVG for Chartist.Bar?

I want to extend the Chartist.Bar to have rounded corners. Is there a way to to extend this easily without copying the whole source and editing the SVG part?

Hello @moneytree-doug 👋
Chartist has recently been updated to version 1.0 with some new exciting changes like ESM and TypeScript support. The migration guide can be found right here.
Please let me know if the question is still relevant to you so we can further look into it!


Add OAuth documentation and bump version to 1.2.0

authentication.rst was renamed to kerberos.rst, unfortunately the diff is not reflecting that.


Ordere v3: prevent boot with a system channel

Prevent the "file" bootstrap method from being used.
Mark the BootstrapFile and BootstrapMethod as deprecated. We keep them for compatibility and ease of upgrade.
Refuse to start if there is a system channel join block in the file repo.
Refuse to start if there is a system channel in the ledger.
The network MUST be migrated to the channel participation API in v2.5 prior to upgrading to v3.

Done


Ability to add provider specific featureGates with Helm

User Story
As a operator I would like to  have the ability to add provider specific featureGates.
Detailed Description
Currently manager featureGates are only added to the InfrastructureProvider.
There is no option to add featureGates to CoreProvider (eg. MachinePool)
Adding all featureGates to CoreProvider will often break the deployment because of provider specific featureGates that are not compatible with the CoreProvider (eg. EKSEnableIAM ).
Example:

Add support for provider specific featureGates
https://github.com/kubernetes-sigs/cluster-api-operator/commit/6c9e585f23e59e9da3c1a45c2e878a5b74fdc04e

Add featureGates to CoreProvider
https://github.com/kubernetes-sigs/cluster-api-operator/commit/fa051d40f9c7cbde2aa01855567f412ecead4a8a

values.yaml:
manager:
  featureGates:
    core:
      ClusterTopology: true
      MachinePool: true
    aws:
      EKSEnableIAM: true
      EKSAllowAddRoles: true
      ClusterTopology: true
      MachinePool: true

/kind feature

/triage accepted


Search on type causes not a robot checks

I ran into annoying problem - after every search I had to pass not a robot check.
WDYT on adding setting for enabling/disabling search on type?

I just have disabled search-on-type. It should reduce RECAPTCHA showing.


hostdb: Replace the last TSHashTable with IntrusiveHashMap.

This is the last TSHashTable in use.

Updated. @SolidWallOfCode

Ignore the comments on for loops. I find that if syntax really confusing to read, since the internals looks like a for loops :-/

Ok, I yield, just use
if (auto it; ...)

when using the STL containers like this...

[approve ci autest]


chore: add react 18 to package.json to emit the warning when installing node modules

Hey,
this PR is to fix this error

feel free to approve or close it.
Thank you

Thank you!


19 suitable documentation initial page easy example turing case study

Add documentation explaining the usage of the package in an extensive example. first simulating data then using turing to sample posterior parameters. work towards #19  (not finished)
Add functionality to set support. Closes #17
Closes #21 and #12

@danielinteractive I would like to merge this RP to finish up the documentation and licensing for registering the package as open source. I will keep the notes for the paper in mind.


Removed french documentation

Codecov Report

Merging #71 (b208768) into main (b7a5716) will increase coverage by 0.93%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main      #71      +/-   ##
============================================
+ Coverage     85.00%   85.93%   +0.93%
  Complexity      395      395
============================================
  Files            61       61
  Lines          1394     1394
============================================
+ Hits           1185     1198      +13
+ Misses          209      196      -13

Impacted Files
Coverage Δ

src/Service/BackupService.php
93.93% <0.00%> (+19.69%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us.


Rubocop Rails Fix

Problem
https://github.com/sfbrigade/adopt-a-drain/pull/408 caused a development/testing regression since updating Rubocop to 0.72.0 removed Rails linting support.
Solution
Add the rubocop-rails gem to restore missing Rails cops.
Other Changes
I made the following improvements while I had the Rubocop context:

Bumped to latest Rubocop version (0.72.0 → 0.73.0)
Set target Rails version to 5.2 (from 4.0)
Disable cops at specific violations (instead of disabling for entire file)

Also, I just adopted my first drain today! 💜❤🧡💛💚💙

Coverage remained the same at 97.924% when pulling 55a7de5e7831ed016f989baf4b46325a2b88cfe3 on tonyta:rubocop-fix into 945a0838da747370d03d49580ef14ffb25aa29b9 on sfbrigade:master.

Thanks for this! I completely missed that they moved Rails support out.
Also great to hear another drain being adopted!


[Bug]: Cast array error

What happened?
Unable to display timeline activity if one of the fields is cast as an array, for example the tags column is a text colum in mysql but it's using cast to array in laravel
How to reproduce the bug
create a model that has a text column, cast that column as an array
edit the model, change something
go to view timeline
Package Version
1.2
PHP Version
8.3
Laravel Version
11
Which operating systems does with happen with?
Windows
Notes
protected $casts = [
'start_date' => 'datetime',
'end_date' => 'datetime',
'target_date' => 'datetime',
'tags' => 'array',
];
Error Type:
TypeError
PHP 8.3.2
11.0.7
htmlspecialchars(): Argument #1 ($string) must be of type string, array given
Error Location:
The error occurred in the file /home/planner/public_html/planner/vendor/jaocero/activity-timeline/src/Concerns/HasSetting.php at line 176.
Error Message:
The error message indicates that the function htmlspecialchars() was called with an argument that must be a string, but an array was given instead.

I've created the PR #26 that solve this probelm.
@199ocero could you accept the PR?


Script not detecting new Inkscape window (Ubuntu 22)

I have followed the instructions exactly and I have been able to replicate all of the results to a virtual machine ruining Cutefish OS (Linux) , and to windows wsl 2. I decided that I wanted to dualboot my laptop and I installed Ubuntu 22. I did the exact same installation progress and I got the inscape-figure thing to work, however, I can't get this script to work as well. Whenever I run it, I get
`vikomen@VikoLaptop:~/inkscape-shortcut-manager-master$ python3 main.py
{'style': PosixPath('/home/vikomen/.config/inkscape-shortcut-manager/styles'), 'object': PosixPath('/home/vikomen/.config/inkscape-shortcut-manager/objects')}
`
as on the other devices. However, when I open a new terminal window and run inkscape, the script does not seem to detect it.  Has anyone experienced this? I can add a video if that would help.

That worked. Thanks!


Remove some menu items

This change is

Reviewed 4 of 4 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io


Fixes pre release 0.8.0

aligns Satosa example to pyeudiw example to setup the project properly as asked in issue
with commit bc6667a40ab5a4697cc24a500cde083feb734793 we added the statics needed by spid_base that were removed before.

CI fails here https://github.com/italia/Satosa-Saml2Spid/actions/runs/7632770008/job/20793644851 and it must be fixed
then we should find the reason why the CI doesn't show this failure in this page


Pttb 11 backend validation of characters in request db validation of characters in requests php

@Pranish97 babuwa, you sure it's max in case of integers as well


nodejs: 10.3.0 -> 10.4.1

Motivation for this change
Package update.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Today was released a security update, I'm not sure if you can update this PR with it, or maybe open another PR for it https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/

Updated to nodejs 10.4.1


Fix ddev config wizard text

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem?

You may leave this value blank if your site files are in the project root
Docroot Location (web):

having (web) in paranthesis suggests that it is the default value when no value is input
Describe your solution
add web as default
Describe alternatives
or change the label
Additional context
No response

Hi @alex1yaremchuk - Thanks for the suggestion. Are you talking about the docs, or the behavior of the ddev config tool?
ddev config does in fact detect the docroot for the vast majority of situations, and when it finds web as the docroot, it does offer it as the default (as you're showing) and if you hit <RETURN> it does use web.
I guess maybe you're saying that You may leave this value blank if your site files are in the project root may be misleading, when in fact I'm not sure there is a way to specify "blank" when ddev config has autodetected the docroot. The text there probably predates autodetection of docroot (which is many years ago).

Thank you for the reply.
Right, I'm talking about ddev config.
I'm new to Drupal, ddev and Pantheon, so I might missed something.
As I'm seeing it now - when I pressed enter it didn't put settings file down to detected docroot (web), but put it into the root: sites/.. (instead of web/sites/..)
I didn't try to reproduce this issue, when I ran it next time I just entered 'web'.
let me add more details below:

I clonned site from Pantheon
I ran ddev conf
followed wizard with defaults
found out that settings files are in sites/..

I know how bit a thing it is to land in all that new technology!
The thing to look at is where your index.php is. On a normal DDEV project it's in web, but that depends on the original setup.
If you want to show me a tree -L 3 in your project root I may be able to help. You may have to install tree. I can't tell you how to install because you skipped the requested ddev debug test when creating this issue. (If you'd also provide the top part of your .ddev/config.yaml it would also help, and if you say the DDEV version you're using, ddev --version or give the requested ddev debug test.)
After you ddev config take a look at your project .ddev/config.yaml. What do you see there for docroot? It should be docroot: web
I just retested this and it works correctly.
I should note that you can just ddev config --docroot=web and you won't have to even think about this any more. Also ddev config --auto and ddev config --update should solve your problem.
To give you more perspective, please do a Drupal quickstart from https://ddev.readthedocs.io/en/stable/users/quickstart/#drupal and then do a ddev stop --unlist and a rm -r .ddev. That will leave you with a plain vanilla Drupal project that is unconfigured for ddev. You can then experiment with the various things to do with ddev config

Thank you for your kind reply! (I got a little ill last week, so replying only now, sorry)
I retried cloning from Patntheon to a new directory and running ddev config on it and made sure that there is no mistake in ddev.
It shows "You may leave this value blank if your site files are in the project root
Docroot Location (current directory)".
So opting for default docroot logically resulted in what I had for my first try.

If it said "Current directory" for the default then it did not correctly detect your docroot.

Right... not sure if there is anything we can do to investigate it further?
I need to point out that it doesn't bother me anymore, but I'm ready to participate if it is good for ddev.

there is web folder in the cloned site root
composer.json includes

"extra": {
        "drupal-scaffold": {
            "locations": {
                "web-root": "./web"
            },

I don't quite understand what you're saying yet.
Reopening though, because the text prompt needs to be updated and it's a very easy PR.
Currently ddev config works perfectly when the code has already been checked out or placed by ddev composer install. It can't autodetect anything until that point. ddev config --update is what is used after the composer install or whatever.


Upgrade asgardeo trigger ballerina version to 2201.1.1

Purpose

$subject

Closing since this is outdated now


Replace deprecated :ssl.ssl_accept/2

Changed in OTP 24 by :ssl.handshake/2

Pull Request Test Coverage Report for Build 1

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.3%) to 87.733%

Files with Coverage Reduction
New Missed Lines
%

lib/tortoise/transport/ssl.ex
7
50.0%

Totals

Change from base Build 53:
-0.3%

Covered Lines:
565

Relevant Lines:
644

💛  - Coveralls


Porting PID controllers to ROS2 controllers

Hi guys... I am currently working on a humanoid control project with ROS2. The problem I faces, is that the robot is unable to keep it's starting position and it slips and move by itself on its back. Compared to the implementation in ROS Noetic with PID controllers which by the way is working fine, the only difference was the pid parameters missing in ROS2 controllers.
Is there anyone working on porting the PID controllers from ROS1? or anyone working on bipedal walking with ROS2 who found a way around that kind of problem?

I can only say that whatever is out there on a PR exists. What's not on a
PR, does not exist as far as we are concerned.
You are very welcome to provide a PR with PID controllers in ROS2
On Sat, 24 Sept 2022, 18:53 Alex B. S. M. A. ZONGO, <
@.***> wrote:

Hi guys... I am currently working on a humanoid control project with ROS2.
The problem I faces, is that the robot is unable to keep it's starting
position and it slips and move by itself on its back. Compared to the
implementation in ROS Noetic with PID controllers which by the way is
working fine, the only difference was the pid parameters missing in ROS2
controllers.
Is there anyone working on porting the PID controllers from ROS1? or
anyone working on bipedal walking with ROS2 who found a way around that
kind of problem?
—
Reply to this email directly, view it on GitHub
https://github.com/ros-controls/gazebo_ros2_control/issues/152, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA24PYMXZRMHTUW43KEWQNDV7452DANCNFSM6AAAAAAQUXP5ME
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@bmagyar Thanks. I will check it out.


How to add pause while recording an audio

You just push one of the pause buttons.

You just push one of the pause buttons.
Where are pause buttons? If i'm not wrong this example just stop and save the stream, and you have no possibility to  pause and re-start the audio recorder on same registration track with the code as is. If i have understand the question meaning: start reg -> pause -> restart reg on same track.

The pause buttons are both in the notification area (when U pull it down) or when you tap the record button.
But this requires that you disable 'Decode on the fly' in the settings!

perhaps i'm not on same page, because i do not see this setting on code.

On code? What does that mean?
Do you have an older version? I have 3.2.12 and I can't remember not having that option in previous versions.
I wonder what the developer has to say to this…

OK, forget everything I said because I mixed up two apps named AudioRecorder. I was talking about the one for Android.

I have 3.2.12

sorry but seem that i'm definitively out of context about what you're speaking of because i just refer to this AudioRecorder code snippet https://github.com/cwilso/AudioRecorder where i do not see any button about pause/restart a recording stream

Ok this make sense! Cheers!


Removed local common styles and switch from govstrap to trade elements

Can one of the admins verify this patch?


Setup

Thank you for making this plugin!
Where can the Refresh Token and Account ID be found in Hubspace?

My accessories are not showing up once installed and signed in, not sure if this is connected to the missing information under settings or if there is some other step I am missing

it’s probably just the type of device. i wrote this initially for just some
string lights and didn’t take into account much more. what type of
device(s) do you have?
On Thu, Dec 1, 2022 at 6:46 PM Iamabdullahj @.***>
wrote:

My accessories are not showing up once installed and signed in, not sure
if this is connected to the missing information under settings or if there
is some other step I am missing
—
Reply to this email directly, view it on GitHub
https://github.com/zenion/homebridge-plugin-hubspace/issues/4#issuecomment-1334694726,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7EOKJUFPKEWPJJEXEZY2TWLFPIRANCNFSM6AAAAAASROCHPI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Josh Stout
Phone:<PHONE_NUMBER>
LinkedIn http://www.linkedin.com/in/joshstout

Oh I see! I don't see any API info in the app or a web interface for hubspace, how did you manage to tap into them?
I have these light switches: https://www.homedepot.com/p/Commercial-Electric-500-Watt-Single-Pole-Smart-Hubspace-Dimmer-with-Motion-Sensor-White-HPDA311CWB/317249353

mostly just reverse engineering it... mitm the android app and stare until
my eyes bleed :)
On Fri, Dec 2, 2022 at 11:10 PM Iamabdullahj @.***>
wrote:

Oh I see! I don't see any API info in the app or a web interface for
hubspace, how did you manage to tap into them?
I have these light switches:
https://www.homedepot.com/p/Commercial-Electric-500-Watt-Single-Pole-Smart-Hubspace-Dimmer-with-Motion-Sensor-White-HPDA311CWB/317249353
—
Reply to this email directly, view it on GitHub
https://github.com/zenion/homebridge-plugin-hubspace/issues/4#issuecomment-1336101293,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7EOKPB634X64MXPYYWZP3WLLW5ZANCNFSM6AAAAAASROCHPI
.
You are receiving this because you commented.Message ID:
@.***>

--
Josh Stout
Phone:<PHONE_NUMBER>
LinkedIn http://www.linkedin.com/in/joshstout

once you get through the auth.. the actual afero api is documented and
rather simple honestly...
https://developer.afero.io/API-DeviceEndpoints
On Sat, Dec 3, 2022 at 1:40 PM Josh Stout @.***> wrote:

mostly just reverse engineering it... mitm the android app and stare until
my eyes bleed :)
On Fri, Dec 2, 2022 at 11:10 PM Iamabdullahj @.***>
wrote:

Oh I see! I don't see any API info in the app or a web interface for
hubspace, how did you manage to tap into them?
I have these light switches:
https://www.homedepot.com/p/Commercial-Electric-500-Watt-Single-Pole-Smart-Hubspace-Dimmer-with-Motion-Sensor-White-HPDA311CWB/317249353
—
Reply to this email directly, view it on GitHub
https://github.com/zenion/homebridge-plugin-hubspace/issues/4#issuecomment-1336101293,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7EOKPB634X64MXPYYWZP3WLLW5ZANCNFSM6AAAAAASROCHPI
.
You are receiving this because you commented.Message ID:
@.***>

--
Josh Stout
Phone:<PHONE_NUMBER>
LinkedIn http://www.linkedin.com/in/joshstout

--
Josh Stout
Phone:<PHONE_NUMBER>
LinkedIn http://www.linkedin.com/in/joshstout

I seemed to Have to Restart the Plug in when I add a New Device to the Hubspace. So Far I have  2 Outlets, a Light Socket and my New Outdoor Plug (See my Request) and Each time they were added, I did not see in homebridge, until I restarted.


[TagRecorder] deleted resource

Phenomenon and reproduction steps
Root cause and solution

The deleted resources are marked in English

Impactions
Test method
Affected branch(es)

main

Checklist

[ ] Dependencies update required
[ ] Common bug (similar problem in other repo)

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


JSYN, url is old

JSYN, I checked out your website and the link to userscripts was an archived repo. (You recently commented that I had linked the wrong repo in a comment.) You might want to fix that. 🙂

JSYN, I checked out your website and the link to userscripts was an archived repo. (You recently commented that I had linked the wrong repo in a comment.) You might want to fix that. 🙂

Sorry, I think you misunderstand. The one that was archived is the scratch-userscripts repo, which is the one you linked to, not the userscripts repo, which I linked earlier.
Also, who is the JSYN guy you referring to? I am known as Hans5958 in both Scratch and GitHub.

Also, who is the JSYN guy you referring to? I am known as Hans5958 in both Scratch and GitHub.

JSYN means "Just So You Know". 🙂

Also, who is the JSYN guy you referring to? I am known as Hans5958 in both Scratch and GitHub.

JSYN means "Just So You Know". 🙂

Oh, never heard that abbreviation. FYI would be a better term perhaps.
But still, you kind of confused about the two repos.

I don't think I am confused. Anyways, thanks for the advice! 🙂


Possibility to send Alt + Space to the terminal.

Environment
Windows build number: Microsoft Windows NT 10.0.18363.0
Windows Terminal version (if applicable): 1.2.2381.0

Steps to reproduce

Open Windows Terminal
Open WSL / ssh (or PowerShell)
Press Alt + Space

Expected behavior
Alt + Space should be sent as key to the shell. If a keybinding is stored in the shell, it should work (ZSH / TMUX & co)
Actual behavior
Alt + Space opens the default Windows RMB on Title Bar Dialog.

Thanks for the request! This is a /duplicate of #7125.


Trailing slash in settings.conf url causes jamf2snipe to fail

Hello! Thanks for creating this tool! I'm new to snipe-it and it's been extremely helpful.
I'm using the main branch and when I first configured settings.conf I had a trailing slash on our jamf pro URL which provided this error when running jamf2snipe as verbose
WARNING:root:Received an invalid status code when trying to retreive JAMF Device list:404 - b'<!doctype html><title>HTTP Status 404 \xe2\x80\x93 Not Found</title>
HTTP Status 404 \xe2\x80\x93 Not Found

Type Status Report

Message Not Found

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.

I wasn't sure what the error meant but once I removed the trailing slash on the url it was able to run without issues. Wondering if the url can be checked for trailing slashes and removed to be a bit more forgiving?

I ran into a similar issue, but with the Snipe-IT URL instead of the Jamf URL. The error provided (see below) initially led me to believe there was an issue with the API key. I eventually figured out it was the trailing slash, but I burned a good 30 minutes chasing my tail with the API key.
ERROR:root:When we tried to retreive a list of models, Snipe-IT responded with error status code:404 - b'{"status":"error","messages":"404 endpoint not found","payload":null}'
Snipe models API endpoint failed.
Maybe the quickest and easiest solution to this is updating the documentation. Right now, there is already note in the Configuration - settings.conf  section stating "Note: do not add "" or '' around any values." A warning about trailing slashes in the URLs could be added there as well.

@BriskFrost Did you have a trailing slash in your Snipe-IT APP_URL?

Yup, I had https://companyanme.snipe-it.io/ as the URL for our Snipe instance on the settings.config file. Once I removed the slash the error went away.

That's sort of working as expected then? It's in the documentation for Snipe-IT:

I see, so this is already noted in the API documentation but not in the installation steps of the README.md on Github. I think what led to this issue for @jocelynkhuu and myself is that it isn't mentioned in the README on Github. All the other applicable steps and warnings needed for the installation and operation of jamf2snipe seem to be noted there, but this warning is absent. As I mentioned in my first comment, I think updating the documentation in that section of the README could be beneficial. Either way, it's good to know that the Snipe-IT folks are already aware of this. Thanks for your assistance!

Thanks for chiming in here @BriskFrost. I agree that having it in the README.md on Github would be tremendously helpful as I feel that is typically the first place most folks will look. Even just appending it to the Note like suggested above would be helpful. Thanks for all your help!


Add a working BIcon component

Based on https://github.com/dvuckovic/vue3-bootstrap-icons. Because that is licensed under the WTFPL, it can easily be added here.

Great work.
Some personal remarks :

This project is typescript oriented, so I would like to see the properties variant, size, animation to be typed. See BCard.vue on how typed properties are defined. You can make separate types for these in the /src/types folder.
I would like the styles to be defined in the /src/styles/styles.scss file instead of defined as scoped styles. I think scoped styles are copied for each instance. Having multiple BIcon components on a page would increase the size of the page.
Can you put a working example in App.vue? That way when someone wants to work on it, a working example to test with is readily available.

Thanks for the suggestions, I'll add all of these.

Also, how about swichting to Yarn 3? Yarn 3 saves itself in the project directory, so everyone runs the same version.


problem to install on Ubuntu

I try to install the framework on my virtual machine but there is an error message:
Deprecation Notice: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /usr/share/php/Composer/Downloader/GitDownloader.php:223
Deprecation Notice: The behavior of unparenthesized expressions containing both '.' and '+'/'-' will change in PHP 8: '+'/'-' will take a higher precedence in /usr/share/php/Composer/Downloader/SvnDownloader.php:132

Installing spiral/app (v1.1.3)
Downloading: 100%

Created project in blog
Loading composer repositories with package information
Updating dependencies (including require-dev)
[ErrorException]
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [] [] []
Config: Ubuntu: 18, PHP: 7.4.6
Thanks for your help

It seems like you have older version of Composer. The error happen even before execution reached spiral.

FYI: https://github.com/composer/composer/issues/7783

I have installed the latest version and everything works. Thanks :)


Plugin Activation Error on Ubuntu 18.04

Ubuntu 18.04.1 - rhythmbox 3.4.2
Python 3.6.5 (looks like Rhythmbox is calling this one)
Python 2.7.15rc1
Tried installing the plugin in both
/usr/lib/rhythmbox/plugins (via sudo)
and
~/.local/share/rhythmbox/plugins/
Got this error when enabling the plugin via the menu (and grays out once fails) in both locations (plugin shows up and disappears when not installed):

I plan on adding some easy ways to retry the connection to discord, but this error usually means you don't have discord running when you loaded the plugin/started rhythmbox. Try it again with discord running in the background. Like I said I will be adding something to make this easier in the future so hopefully you wont have to go through closing and opening it again and again.

I have discord running. I wonder if it's because it (discord) is installed via a snap. Let me research that.

It could be because of that, you'd have to ask the author of pypresence about that. Have you tried the official .deb file from discord?

Not yet - looking through snap's interfaces to activate/deactivate
https://docs.snapcraft.io/reference/interfaces

Alright, let me know if you have any luck!

99.9% sure it's not you.
.deb install works beautifully.
FYI I added an issue in the discord snap: https://github.com/snapcrafters/discord/issues/42
Thanks for looking into it. If a solution is found I'll let you know so you can update the README :)
Thanks for all you do!


Add environment specific way to set logging cookie

Since we have to add the logging cookie to jabbr every time we run the application when using incognito, it would be good to set it programmatically
if env.IsDevelopment
    $.cookie('jabbr.logging', '1', {expires: 100});
```

The tricky thing here now that I think about it is you can't set a cookie on startup. Cookies are per request. You could make Middleware do it but then why not just use browser to set it. An option would be to launch the app to a test mode url which writes the cookie in the controller and redirects home. It's hacky so I'd have to ask what are we getting out of it. Thoughts?


Bug with URL format (with _ and .)

As reported here (#80), there's an error with the logic of identifying a URL format.
The particular error is the following:
*** templates/timeseries/tasks/section-4-modeling-hyperparameter-optimization-via-grid-search.py ***
(404) https://www.digitalocean.com/community/tutorials/a-guide-to-time-series-forecasting-with-arima-in-python-3._
*** templates/timeseries/arima-python.ipynb ***
(404) https://www.digitalocean.com/community/tutorials/a-guide-to-time-series-forecasting-with-arima-in-python-3._

As seen, the URL finishes before ._, but these symbols are also identified as part of the URL. The original URL is the following: https://www.digitalocean.com/community/tutorials/a-guide-to-time-series-forecasting-with-arima-in-python-3 (which can be opened without any problem)
The error occurs because this link is part of MD documentation and the cursive format using _text_ is intended to be used, so something like this was written:
_This method is based on the following post: https://www.digitalocean.com/community/tutorials/a-guide-to-time-series-forecasting-with-arima-in-python-3._

at first, i thought this was an error on pkgmt, but . an _ are valid URL values. I pasted this in my notes app and it had the same issue. I fixed this already by removing those two characters  - I'm unsure why they were there in the first place.


Crm457 224/js testing

Description of change
System tests with javascript
Link to relevant ticket
https://dsdmoj.atlassian.net/browse/CRM457-224
Notes for reviewer
I decided to go with cuprite over selenium as it appears to be the new thing.
And it in the rails docs on system testing
It work pretty well, except for one instance where it would find an element on the page (thinks it is invisible)

Also branch has conflicts


Pylance ignores the Linting rule

Environment data

VS Code version: 1.50.1
Extension version (available under the Extensions sidebar): 2020.10.1
OS and version: MacOS Sierra
Python version (& distribution if applicable, e.g. Anaconda): 3.7
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): None
Value of the python.languageServer setting: "Pylance"

Expected behaviour
No linting
Actual behaviour
My settings:
"python.languageServer":"Pylance",
"python.linting.enabled": false,
"python.linting.mypyEnabled": false,
"python.linting.pylintEnabled": false,
"python.linting.maxNumberOfProblems": 0,
"python.workspaceSymbols.enabled": false,

After reloading the window:

Steps to reproduce:

Install pylance
set those settings
reload window
create new python file (save it)
try to use an undefined variable (a = alkjalksdfja)

Pylance will warn about undefined/unbound variables by default (MPLS did too).
If you don't like this behavior, you can override the severity level for reportUndefinedVariable and reportUnboundVariable: https://github.com/microsoft/pylance-release/blob/master/DIAGNOSTIC_SEVERITY_RULES.md

However, if the variable is actually defined, then that could indicate a bug and we'd appreciate a more complete example, but your repro steps are what we currently expect.

Pylance will warn about undefined/unbound variables by default (MPLS did too).
If you don't like this behavior, you can override the severity level for reportUndefinedVariable and reportUnboundVariable: https://github.com/microsoft/pylance-release/blob/master/DIAGNOSTIC_SEVERITY_RULES.md

How can I do this but for everything?

The top of the file I linked gives the setting to set this in VS Code. See also: https://github.com/microsoft/pylance-release#settings-and-customization
The setting UI will also provide a dropdown of the different diagnostics you can override.

I see, but there is no way to disable all linting? (I have to manually disable every individual rule, and disable new rules every time they are added?)
I have "python.analysis.typeCheckingMode" : "off"

The default is already "off", in this mode, the only things reported are:

reportMissingImports
reportMissingModuleSource
reportUnboundVariable
reportUndefinedVariable

And syntax errors. I don't expect us to expand this any further. These are just the same things that MPLS would have reported by default (and similar-ish to the core extension's pylint config).

Most diagnostic rules are disabled by default in pylance. The small subset that are enabled by default have very low false positives and almost always indicate a bug in your code. If you are truly uninterested in being informed of such bugs, then you can disable the small number of diagnostic rules as Jake mentioned above.

Thanks for the information, I'll do that. However, I still think it is an issue that pylance is the only language server (AFAIK) that ignores the user's general linting rule. It undermines the goal of creating a common interface for settings that are shared across python language servers.
If a user disables generic linting it should stay disabled when switching to pylance.
I'm not worried about the false positive rate because I already know the code is wrong;  I frequently need to write pseudocode. Even outside of pseudocode however, I don't want an ugly line showing up in 0.1 sec telling me the line I haven't finished editing it going to throw an error.

@jakebailey
excuse me, My django program also alert this and I don't know why, May I ask how to ignore this warning?

@stolenzc That's unrelated to this issue. That appears to be a false positive in the support for the 3.10 Union syntax, and we'd appreciate a separate issue (as that's certainly something to look into).

"Linting" has a long history in Python for VSC that is rooted in the fact that until a couple of years ago, there was no way to provide live information about issues in Python code. All diagnostics were provided by external linters, e.g. running pylint on save with some preset config to get syntax errors.
These days, that is no longer necessary, and the core extension already elides running linters by default when an LS enabled; you have to explicitly force enable things like pylint.
That toggle already doesn't quite have the meaning it used to in the presence of a language server. With MPLS, we were loose and tried to respect the setting, but even then we weren't perfectly consistent and still allowed some messages through that we believed to be so problematic that it was worse to not show them than to show them, i.e., syntax, imports, unbound values, where each directly impacts the quality of the analysis.
I don't see us adding any new diagnostics to the default set for Pylance any time soon; if you find its default set to be undesirable I would override them to disable them (those listed in https://github.com/microsoft/pylance-release/issues/509#issuecomment-713767197) and it should work as expected.
Perhaps we'll revisit this in the future, but I don't see us wanting to add this complexity when we are so unlikely to add more diagnostics to the defaults everyone gets.

Hi there,
I have the same issue of wanting to switch off all the linting in Pylance.

In out team, not everyone uses VSCode and we agreed on common flake8 settings.
I find the "live" linting rather distracting.

I've removed the 4 settings mentioned above but this still shows up:

Can you tell me how to switch this off?

I think what you're looking for is #237.

Hi @jakebailey,
thanks for your answer.
Yes, this addresses the second reason why I would like to switch off the error reporting in Pylance but my goal is still to switch off any error reporting by Pylance and keep using flake8.
I only installed Pylance because I had issues importing modules after the last VSCode update. Pylance fixed that but I wasn't expecting this extra "feature".

By default, pylance will report only the most basic of errors — e.g. syntax errors that will result in runtime errors as soon as the Python interpreter attempts to run the code.
Can you provide more details about the code that is resulting in the error Expected expression to the right of "="? Pylance is detecting a basic syntax error here, so I'd like to understand whether it's a bug in pylance or an actual syntax error in your code.

"Linting" has a long history in Python for VSC that is rooted in the fact that until a couple of years ago, there was no way to provide live information about issues in Python code. All diagnostics were provided by external linters, e.g. running pylint on save with some preset config to get syntax errors.
These days, that is no longer necessary, and the core extension already elides running linters by default when an LS enabled; you have to explicitly force enable things like pylint.
That toggle already doesn't quite have the meaning it used to in the presence of a language server. With MPLS, we were loose and tried to respect the setting, but even then we weren't perfectly consistent and still allowed some messages through that we believed to be so problematic that it was worse to not show them than to show them, i.e., syntax, imports, unbound values, where each directly impacts the quality of the analysis.
I don't see us adding any new diagnostics to the default set for Pylance any time soon; if you find its default set to be undesirable I would override them to disable them (those listed in https://github.com/microsoft/pylance-release/issues/509#issuecomment-713767197) and it should work as expected.
Perhaps we'll revisit this in the future, but I don't see us wanting to add this complexity when we are so unlikely to add more diagnostics to the defaults everyone gets.

I'm glad this was bumped as, I meant to say this back when you posted this @jakebailey, but sincerely thank you for taking the time to write up the reasoning before closing. It changed this from "it's proprietary, and I see they don't really care" to a "we respectfully disagree, but the reasoning was thought out and provided". 👍


Basic cli

Addressing https://github.com/GitGuild/webhook-sender/issues/2
Basic functionality goes like these examples:
$ ./sender.py add --url "http://example.com" --message "message"
$ ./sender.py status  # to show the number of active hooks to be sent
$ ./sender.py status --list  # to show details of active hooks to be sent (e.g. id)
$ ./sender.py cancel --id 1  # to cancel hook with id 1
$ ./sender.py send  # temporary send before https://github.com/GitGuild/webhook-sender/issues/3 that uses send_all func
$ ./sender.py send --id 1  # temporary send of specific webhook before https://github.com/GitGuild/webhook-sender/issues/3

If behavior seems fine, I can add some test cases for the CLI code in order to improve coverage before merging.
Does this behavior seems to be working as intended @isysd?
Also... The last commit is just an improvement towards PEP8. Not necessary regarding functionality.

Coverage decreased (-31.5%) to 53.741% when pulling 9a7db21f2d6a139863c46b4a9d0c439ee6da626a on agnerio:basic-cli into 61e5ede2d150a7ba131dd1230fa801e9776aca67 on GitGuild:master.

@agnerio this looks great! Please add some basic unit tests, and it'll be ready to merge.

Coverage decreased (-30.7%) to 54.483% when pulling 13565b106b789b8cf1b0669a0653db9c80bfd3c9 on agnerio:basic-cli into 61e5ede2d150a7ba131dd1230fa801e9776aca67 on GitGuild:master.

@isysd, I removed the prints for both already logged exceptions and implemented the tests for CLI commands with only "send" missing since it's nothing more than testing already tested send behavior and it's also temporary until #3. :+1:?

Coverage decreased (-3.2%) to 82.069% when pulling 7d0fd38398e342d1919a13d884e7f7301b5a0bc1 on agnerio:basic-cli into 61e5ede2d150a7ba131dd1230fa801e9776aca67 on GitGuild:master.


feat: usable constructor for Table

Closes #266.
Summary of Changes
The constructor for Table now accepts a dictionary instead of a pandas.DataFrame so we no longer need to "hide" it from users. Internally, we can use Table._from_pandas_dataframe now to create a Table from a pandas.DataFrame.

🦙 MegaLinter status: ❌ ERROR

Descriptor
Linter
Files
Fixed
Errors
Elapsed time

✅ PYTHON
black
82
3
0
2.39s

❌ PYTHON
mypy
82

1
2.91s

✅ PYTHON
ruff
82
6
0
0.1s

✅ REPOSITORY
git_diff
yes

no
0.03s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff
MegaLinter is graciously provided by

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

v0.12.0
GitHub release

Your semantic-release bot :package::rocket:


Shrink swap and .wks extra space match swap

extra space to match swap space

Codecov Report

Merging #1307 (4f31215) into image_v2.7 (db05de6) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           image_v2.7    #1307   +/-   ##
===========================================
  Coverage       46.49%   46.49%
===========================================
  Files              28       28
  Lines            4951     4951
  Branches          826      826
===========================================
  Hits             2302     2302
  Misses           2592     2592
  Partials           57       57

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 db05de6...4f31215. Read the comment docs.


[wip] Search block

cc @mauriyouth @aickin
Based off and supersedes #23 #24

Also added you both as collaborators on the repo so that you can clone it and PR to it direclty if you wish

@aickin server-side checking looks great \o/


[Question]: Alternative option to retrieve captcha?

Ask your question
Hi,
for some reason the download and decoding of the current log is badly slow using the described method in the tutorial. I've already stopped all adapters beside the Eufy, without success.
Actually I don't have a chance to get the captcha within the 30s threshold, as displaying the log is already taking more than the 30s.. Is there an alternative option to see the captcha. Downloading the .log via ssh is possible and finished within a fraction of a second. But opening the downloaded log will not decode the captcha and I only see a long string.
Thank you

In the last version (0.8.0), a state "received_captcha_html" was added for this purpose, where you can get the captcha code in HTML format.


Video Player integration

Hello,
I have an iMX8M mini and am working on a Yocto (kirkstone) image that would integrate a flutter application with a video-player (distro and EVK from a company called Toradex). I am thus trying to make the video_player_example from the flutter-test-video-player work. But, when I launch the app on target, only the first frame is displayed and nothing else. Is this supposed to happen?
I am sorry if this is too basic.
Please let me know if there is anything I can do to help solve this issue.
Here is some logs/additional information:
Here is the relevant part of IMAGE_INSTALL for my image:
IMAGE_INSTALL += " \
    (...)
    flutter-auto-runtimerelease \
    flutter-gallery-runtimerelease \
    flutter-test-texture-egl-runtimerelease \
    flutter-test-video-player-runtimerelease \
    flutter-pi-runtimerelease \
"

Once the image is on my target, using flutter-auto --f --b=/path/to/bundle works flawlessly for gallery and texture-egl. For the video_player_example though, it opens but once I click play the first frame is shown and nothing more happens:
root@verdin-imx8mm-06898530:/# GST_DEBUG=2 flutter-auto --f --b=/usr/share/flutter/video_player_example
[INFO:configuration.cc(248)] **********
[INFO:configuration.cc(249)] * Global *
[INFO:configuration.cc(250)] **********
[INFO:configuration.cc(251)] Application Id: .......... flutter-auto
[INFO:configuration.cc(255)] Cursor Theme: ............
[INFO:configuration.cc(256)] Disable Cursor: .......... false
[INFO:configuration.cc(258)] Debug Backend: ........... false
[INFO:configuration.cc(260)] ********
[INFO:configuration.cc(261)] * View *
[INFO:configuration.cc(262)] ********
[INFO:configuration.cc(269)] Bundle Path: .............. /usr/share/flutter/video_player_example
[INFO:configuration.cc(270)] Window Type: .............. NORMAL
[INFO:configuration.cc(271)] Size: ..................... 1920 x 720
[INFO:configuration.cc(273)] Fullscreen: ............... true
[INFO:configuration.cc(275)] Accessibility Features: ... 0
[INFO:display.cc(275)] Keyboard Present
[INFO:display.cc(284)] Touch Present
[INFO:engine.cc(567)] (0) Loading AOT: /usr/share/flutter/video_player_example/lib/libapp.so
[ERROR:/usr/src/debug/flutter-auto-runtimerelease/git-r0/git/shell/static_plugins/gstreamer_egl/gstreamer_egl.cc(1552)] Unable to retrieve current position

====== AIUR: 4.7.1 build on Jul 19 2022 06:15:03. ======
        Core: MPEG4PARSER_06.20.06  build on May  7 2022 07:52:31
 file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm_elinux.so.3.2
0:00:08.732618737   825 0xffff3c00acc0 WARN               aiurdemux aiurdemux.c:752:gst_aiurdemux_handle_sink_event: need to drop sink event GST_EVENT_CUSTOM_DOWNSTREAM_STICKY
------------------------
    Track 00 [video_0] Enabled
        Duration: 0:00:04.037366000
        Language: und
    Mime:
        video/x-h264, parsed=(boolean)true, alignment=(string)au, stream-format=(string)avc, width=(int)1280, height=(int)720, framerate=(fraction)30000/1001, codec_data=(buffer)0164001fffe1001b6764001facd9805005bb016a020202800001f480007530078c18cd01000568e97b2c8bfdf8f800
------------------------
------------------------
    Track 01 [audio_0] Enabled
        Duration: 0:00:04.032000000
        Language: und
    Mime:
        audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)48000, bitrate=(int)0, stream-format=(string)raw, codec_data=(buffer)1190
------------------------
0:00:08.810106779   825 0xffff3829bb60 WARN                   pulse pulsesink.c:617:gst_pulseringbuffer_open_device:<pulsesink0> error: Failed to connect: Connection refused
0:00:08.810861532   825 0xffff3829bb60 WARN                 playbin gstplaybin2.c:4775:autoplug_select_cb:<playbin0> Could not activate sink pulsesink
0:00:08.820996945   825 0xffff3829bb60 WARN                    alsa pcm_hw.c:1716:snd_pcm_hw_open: alsalib error: open '/dev/snd/pcmC0D0p' failed (-77): File descriptor in bad state

====== BEEP: 4.7.1 build on Jul 19 2022 06:15:03. ======
        Core: AAC decoder Wrapper  build on Jul 25 2022 15:45:05
 file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm_elinux.so.3
CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.09.00_ARMV8  build on Jul 25 2022 10:05:48.
0:00:08.842974403   825 0xffff3829bb60 WARN               aiurdemux aiurdemux.c:3411:aiurdemux_send_stream_newsegment: Pad video: Send newseg 0:00:00.000000000 first buffer 0:00:00.000000000
0:00:08.844583409   825 0xffff3829bb60 WARN               aiurdemux aiurdemux.c:3411:aiurdemux_send_stream_newsegment: Pad audio: Send newseg 0:00:00.000000000 first buffer 0:00:00.000000000
0:00:08.878473787   825 0xffff2402e240 WARN         audio-resampler audio-resampler.c:274:convert_taps_gint16_c: can't find exact taps
0:00:08.880983796   825 0xffff2402e240 WARN                    alsa pcm_hw.c:1360:snd_pcm_hw_get_chmap: alsalib error: Cannot read Channel Map ctl
: No such file or directory
0:00:08.914557798   825 0xffff3c00acc0 WARN               aiurdemux aiurstreamcache.c:271:gst_aiur_stream_cache_add_buffer: wait push try 32 SIZE<PHONE_NUMBER>09
0:00:27.963565629   825 0xffff3c00acc0 WARN               aiurdemux aiurstreamcache.c:271:gst_aiur_stream_cache_add_buffer: wait push try 32 SIZE<PHONE_NUMBER>09
0:00:59.971156882   825 0xffff3c00acc0 WARN               aiurdemux aiurstreamcache.c:271:gst_aiur_stream_cache_add_buffer: wait push try 64 SIZE<PHONE_NUMBER>09

There is first this error ([ERROR:/usr/src/debug/flutter-auto-runtimerelease/git-r0/git/shell/static_plugins/gstreamer_egl/gstreamer_egl.cc(1552)] Unable to retrieve current position) which I do not understand and that last warning reappears every 30 seconds or so, with "wait push try X" with X growing.
One clue that I think I have is that doing gst-launch-1.0 playbin uri=http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 gives me the same effect. Only the first frame is shown and it hangs. However, if I do gst-launch-1.0 playbin uri=http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4 video-sink="autovideosink sync=FALSE", then it works.
Thank for your time.

Unrelated to meta-flutter, you need to solve the audio configuration problem first:
alsa pcm_hw.c:1716:snd_pcm_hw_open: alsalib error: open '/dev/snd/pcmC0D0p' failed (-77): File descriptor in bad state

0:00:08.880983796   825 0xffff2402e240 WARN                    alsa pcm_hw.c:1360:snd_pcm_hw_get_chmap: alsalib error: Cannot read Channel Map ctl


When logging out in a different tab, and logging in as a user with different permissions in AdminUI, the events and statistics shown do not match the user name

Describe the bug
Opencast Admin UI has an auto-refresh java script updater that updates events and statistics. When logging out in a different tab, and logging in as a user with different permissions in AdminUI, the events and statistics shown do not match the user name after the next refresh, i.e. the events and statistics shown are shown for the user used to log in in the other tab and the user name is still the old.
To Reproduce
Steps to reproduce the behavior:

Go to https://stable.opencast.org/admin-ng/index.html#!/users/users
Log in as admin/opencast
Note the events and statistics to be shown
Create a user with only the following roles
Open https://stable.opencast.org/admin-ng/login.html#!/events/events in a diffent tab
Log in as the newly created user
No events and zeroes are shown in statistics, but the user name remains the same

Expected behavior
User name is updated, too, when user is changed in another tab.
User environment:

Device: all
OS: all
Browser all
Version <= 13

Additional context
This happens frequently to our staff if they manually log in to Opencast and get logged in via  LTI through our LMS,  too.  I then, preferrably when on holiday, get the following type of enquiry:

Hallo Rillke, ich hab grad 2 Videos über Stud.IP hochgeladen und hab nur im admin.opencast die Untertitel hochgeladen. Dabei haben mich die Zahlen oben in der Anzeige etwas verwundert?! Ich hatte mich mit dem "admin" angemeldet.
Es fehlen ca. 35'000 Videos!!!!!
Sollte das ok sein, brauchst du auf meine Nachricht nicht reagieren, dann können wir das bei Gelegenheit im DIenst klären. Dachte nur falls es ein Problem ist wärst du froh es vor der neuen Woche zu wissen. Also sorry für die Störung

I can totally see how this would happen since I'm sure the auth creds are bound to the session inside the Angular app - and the state of that session is not updated aside from app-local login/logout events.  Tagging this with the new admin ui tag, since it'll probably be in Picard too.

Hello @gregorydlogan, if this is up for grabs I'd love to give it a try.
Also, @Rillke, just to make sure I'm on the same page, is there a logout step between step 5 and 6, where the original admin user signs out before logging in as the newly created user?

@FarzamMohammadi by all means go ahead. Be aware that there are two visually identical (or at least effectively identical) UIs right now. One is in our codebase (admin-ui-frontend iirc), the other is at https://github.com/opencast/opencast-admin-interface. Chances are both are affected, but I don't know offhand.

This was tested with the "old" Admin UI under admin-ui-frontend, i.e. https://legacy.opencast.org/admin-ng/login.html
There was no explicit logout step between 5 and 6 required because logging in as a different user will override the session cookie client-side.
The step-by-step reproduction guide for the current admin UI would be:

Go to https://stable.opencast.org/admin-ng/index.html#!/users/users
Log in as admin/opencast
Note the events and statistics to be shown
Go to https://stable.opencast.org/admin-ng/index.html#!/users/users (again)
Create a user with only the following roles
Klick on Menu -> Events or go to https://stable.opencast.org/admin-ui/index.html#/events/events
Open https://stable.opencast.org/login.html in a diffent tab
Log in as the newly created user in the new tab
Return to the old tab
No events and zeroes are shown in statistics, but the user name remains the same

Hey @Rillke @gregorydlogan,
Regrettably, I haven't been able to wrap up this task. Big thanks for your support and input.
Just leaving this note here for anyone else who might be interested in diving into this issue.


Undefined ed25519 parameters

Testing with Go v1.10 and 1.11 I get the following errors.
dnssec_keyscan.go:183:18: undefined: ed25519.SeedSize
dnssec_keyscan.go:186:8: undefined: ed25519.NewKeyFromSeed
dnssec_privkey.go:85:24: p.Seed undefined (type ed25519.PrivateKey has no field or method```

How are you building it? The vendor directory contains the updated code so this failure doesn’t make much sense.

getting the same errors building inside goland or running 'go test' from command line

I don’t have enough information, but I’m pretty sure you must be building outside of $GOPATH and hitting golang/go#14566. I don’t think the vendor directory is ignored otherwise.
You likely have an outdated copy of golang.org/x/crypto/ed25519 in your $GOPATH, try running go get -u golang.org/x/crypto/ed25519.
I’m going to close this, but feel free to reopen if that doesn’t solve your problem.


Uncaught Error: Cannot find module 'atom-space-pen-views'

[Enter steps to reproduce below:]

...
...

Atom Version: 1.11.2
Electron Version: 0.37.8
System: Ubuntu 16.04.1
Thrown From: auto-detect-indentation package, v1.3.0
Stack Trace
Uncaught Error: Cannot find module 'atom-space-pen-views'
At module.js:341

Error: Cannot find module 'atom-space-pen-views'
    at Module._resolveFilename (module.js:339:15)
    at Function.Module._resolveFilename (/opt/atom/resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:290:25)
    at Module.require (module.js:367:17)
    at require (/opt/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/yoki/.atom/packages/auto-detect-indentation-master/lib/indentation-list-view.coffee:1:20)
    at Object.<anonymous> (/home/yoki/.atom/packages/auto-detect-indentation-master/lib/indentation-list-view.coffee:1:1)
    at Module._compile (/opt/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .coffee] (/opt/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (/opt/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at atom-text-editor.module.exports.createIndentationListView (/home/yoki/.atom/packages/auto-detect-indentation-master/lib/auto-detect-indentation.coffee:43:29)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/opt/atom/resources/app.asar/src/command-registry.js:260:29)
    at /opt/atom/resources/app.asar/src/command-registry.js:3:61
    at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/opt/atom/resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:183:32)
    at CommandPaletteView.module.exports.SelectListView.confirmSelection (/opt/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
    at space-pen-li.<anonymous> (/opt/atom/resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:139:19)
    at HTMLOListElement.jQuery.event.dispatch (/opt/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLOListElement.elemData.handle (/opt/atom/resources/app.asar/node_modules/jquery/dist/jquery.js:4121:28)

Commands
     -1:05.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:58.4.0 settings-view:open (atom-text-editor.editor.is-focused)
     -0:23.4.0 application:add-project-folder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:07.3.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -0:00.1.0 auto-detect-indentation:show-indentation-selector (atom-text-editor.editor)

Config
{
  "core": {
    "autoHideMenuBar": true,
    "telemetryConsent": "limited"
  }
}

Installed Packages
# User
activate-power-mode, v1.0.2 (active)
auto-detect-indentation, v1.3.0 (active)
language-cobol, v0.0.1 (active)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.44.0 (inactive)
base16-tomorrow-dark-theme, v1.2.0 (inactive)
base16-tomorrow-light-theme, v1.2.0 (inactive)
one-dark-ui, v1.6.0 (active)
one-light-ui, v1.6.0 (inactive)
one-dark-syntax, v1.3.0 (active)
one-light-syntax, v1.3.0 (inactive)
solarized-dark-syntax, v1.0.2 (inactive)
solarized-light-syntax, v1.0.2 (inactive)
about, v1.7.0 (active)
archive-view, v0.61.1 (active)
autocomplete-atom-api, v0.10.0 (active)
autocomplete-css, v0.11.2 (active)
autocomplete-html, v0.7.2 (active)
autocomplete-plus, v2.31.1 (active)
autocomplete-snippets, v1.11.0 (active)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (active)
background-tips, v0.26.1 (active)
bookmarks, v0.42.0 (active)
bracket-matcher, v0.82.1 (active)
command-palette, v0.38.0 (active)
deprecation-cop, v0.54.1 (active)
dev-live-reload, v0.47.0 (active)
encoding-selector, v0.22.0 (active)
find-and-replace, v0.201.1 (inactive)
fuzzy-finder, v1.4.0 (active)
git-diff, v1.1.0 (active)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (active)
image-view, v0.59.0 (active)
incompatible-packages, v0.26.1 (active)
keybinding-resolver, v0.35.0 (active)
line-ending-selector, v0.5.0 (active)
link, v0.31.1 (inactive)
markdown-preview, v0.158.0 (active)
notifications, v0.65.1 (active)
open-on-github, v1.2.0 (inactive)
package-generator, v1.0.0 (inactive)
settings-view, v0.242.2-hotfix1 (active)
snippets, v1.0.2 (active)
spell-check, v0.68.2 (active)
status-bar, v1.4.1 (active)
styleguide, v0.47.0 (active)
symbols-view, v0.113.1 (inactive)
tabs, v0.101.0 (active)
timecop, v0.33.2 (active)
tree-view, v0.209.3 (active)
update-package-dependencies, v0.10.0 (active)
welcome, v0.35.1 (active)
whitespace, v0.33.0 (active)
wrap-guide, v0.38.2 (active)
language-c, v0.52.1 (active)
language-clojure, v0.21.0 (active)
language-coffee-script, v0.47.2 (active)
language-csharp, v0.12.1 (active)
language-css, v0.37.1 (active)
language-gfm, v0.88.0 (active)
language-git, v0.15.0 (active)
language-go, v0.42.1 (active)
language-html, v0.45.1 (active)
language-hyperlink, v0.16.0 (active)
language-java, v0.23.0 (active)
language-javascript, v0.119.0 (active)
language-json, v0.18.2 (active)
language-less, v0.29.5 (active)
language-make, v0.22.2 (active)
language-mustache, v0.13.0 (active)
language-objective-c, v0.15.1 (active)
language-perl, v0.35.0 (active)
language-php, v0.37.2 (active)
language-property-list, v0.8.0 (active)
language-python, v0.45.0 (active)
language-ruby, v0.69.0 (active)
language-ruby-on-rails, v0.25.0 (active)
language-sass, v0.56.0 (active)
language-shellscript, v0.22.4 (active)
language-source, v0.9.0 (active)
language-sql, v0.23.0 (active)
language-text, v0.7.1 (active)
language-todo, v0.28.0 (active)
language-toml, v0.18.0 (active)
language-xml, v0.34.9 (active)
language-yaml, v0.26.0 (active)

# Dev
No dev packages

Same issue here on MacOS Sierra 10.12.1


add missing default values for worker

fixes #1533
🗣 Description
Fix bug in terraform that is removing policies in prod (AmazonSSMManagedInstanceCore, AmazonEC2RoleforSSM)
💭 Motivation and context
Cannot connect to the accessor without these policies.

Got these errors when running 'terraform plan':

Fixed that, but not seeing any other issues with the production policies. Shouldn't be getting removed. Any thoughts?


schema: Change 'val' abbreviation to 'value' for all name/value pairs.

Consistency: the use of val seemed to be an oddity, no other abbreviations exist in the schema. Update README, SPEC, types, and example manifests.

lgtm, thanks for following up!

ooops, sorry, I just broke your merge by slipping in another one - could you please rebase?

Hmm?

(was it something I said?)

(sorry, non-github workflow misfire)


Upgrade is-macros to 0.3.0

Summary
Upgrades the is-macro crate from 0.2.2 to 0.3.0. The biggest change, as far as I can tell without a changelog, is that it now uses the syn@v2 crate.
Test Plan
cargo test

Current dependencies on/for this PR:

main

PR #7334   👈

This comment was auto-generated by Graphite.


Add option to SSLify when debug is enabled, too.

👍

FYI. documentation calls the option debug_ssl, code defines it as ssl_debug.

@rosensama if you can update the PR by resolving existing conflicts I'll be happy to check and merge 👍

Looks like that should be easy enough, but the README says it's no longer
maintained, so how does the PR help?
On Sat, Feb 16, 2019 at 1:12 AM Projjol Banerji<EMAIL_ADDRESS>wrote:

@rosensama https://github.com/rosensama if you can update the PR by
resolving existing conflicts I'll be happy to check and merge 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/kennethreitz/flask-sslify/pull/46#issuecomment-464299084,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACNwSLuBkIvttiHfgynJSNd3MyEonzclks5vN6E8gaJpZM4Jo8n2
.

@rosensama are you still using flask-sslify?
Can you switch to https://github.com/GoogleCloudPlatform/flask-talisman ?

@timofurrer correct, I no longer use flask-sslify.   Was just responding to @Projjol's request.

Yeah, that's absolutely, fine. I was just curious.
So, I think I'm going to close this PR (even though it's fully legit ;)) and see if I can archive this repository.
Thanks 🎉


switch to centralized/safe load/dump

Codecov Report

Merging #21 (f9eb9c3) into master (2f27f40) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
+ Coverage   92.49%   92.50%   +0.01%
==========================================
  Files          47       47
  Lines        8856     8865       +9
==========================================
+ Hits         8191     8200       +9
  Misses        665      665

Impacted Files
Coverage Δ

faucet/config_parser_util.py
91.82% <100.00%> (+0.73%)
: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 2f27f40...f9eb9c3. Read the comment docs.


When adding user permissions, users should come from the account service

I changed my mind about this. For the time being managing permissions will remain a separate activity to managing accounts and a permission user will need to be created to associate permissions with an account. This could potentially be picked from the account service but for now a user id will need to be entered manually when create is clicked.


IndexError: list index out of range

Hi,
I would like to analyze the similarity of a set of genome sequence (Vibrio stains) with mercat2's approach.
I installed mercat2 with mamba as instructed in the repository (using Python 3.10.14), and runned as follows.
I noticed the error happen only when multi sample (2≥) were supplied to the program.
How should I deal with this ?
best,
=============================================================================
$ cp GCF*fna test/
$ mercat2.py -f test/ -k 3 -n 8 -c 10
.
.
...
GCF_024442235.1 .fna
GCF_028743655.1 .fna
GCF_025917725.1 .fna
GCF_003691505.1 .fna
GCF_009665315.1 .fna
GCF_003691545.1 .fna
GCF_001310575.2 .fna
GCF_022453845.1 .fna
GCF_002887655.1 .fna
GCF_002021755.1 .fna
Time to load 16 files: 8.51 seconds
Checking for large nucleotide files
Processing Nucleotides
Running Mercat2 using 18 cores
Time to count 3-mers: 1.71 seconds
Creating Nucleotide Graphs
/home/kazu/mambaforge/envs/mercat2/lib/python3.10/site-packages/sklearn/metrics/pairwise.py:2317: DataConversionWarning:
Data was converted to boolean for metric dice
/home/kazu/mambaforge/envs/mercat2/lib/python3.10/site-packages/sklearn/metrics/pairwise.py:2317: DataConversionWarning:
Data was converted to boolean for metric jaccard
Error with beta metric: Mahalanobis
Data must be symmetric and cannot contain NaNs.
/home/kazu/mambaforge/envs/mercat2/lib/python3.10/site-packages/sklearn/metrics/pairwise.py:2317: DataConversionWarning:
Data was converted to boolean for metric matching
/home/kazu/mambaforge/envs/mercat2/lib/python3.10/site-packages/sklearn/metrics/pairwise.py:2317: DataConversionWarning:
Data was converted to boolean for metric rogerstanimoto
/home/kazu/mambaforge/envs/mercat2/lib/python3.10/site-packages/sklearn/metrics/pairwise.py:2317: DataConversionWarning:
Data was converted to boolean for metric russellrao
/home/kazu/mambaforge/envs/mercat2/lib/python3.10/site-packages/sklearn/metrics/pairwise.py:2317: DataConversionWarning:
Data was converted to boolean for metric sokalmichener
/home/kazu/mambaforge/envs/mercat2/lib/python3.10/site-packages/sklearn/metrics/pairwise.py:2317: DataConversionWarning:
Data was converted to boolean for metric sokalsneath
/home/kazu/mambaforge/envs/mercat2/lib/python3.10/site-packages/sklearn/metrics/pairwise.py:2317: DataConversionWarning:
Data was converted to boolean for metric yule
Gathering Diversity Metrics
Traceback (most recent call last):
File "/home/kazu/mambaforge/envs/mercat2/bin/mercat2.py", line 508, in
mercat_main()
File "/home/kazu/mambaforge/envs/mercat2/bin/mercat2.py", line 499, in mercat_main
mercat2_report.merge_tsv(tomerge, outfile)
File "/home/kazu/mambaforge/envs/mercat2/lib/python3.10/site-packages/mercat2_lib/mercat2_report.py", line 128, in merge_tsv
kmer = sorted(kmers)[0]
IndexError: list index out of range

Hello,
I was able to re-create the error and track down the bug.
The issue is actually in the naming of the files when merging the diversity metrics tsv files, a regex fails due to the "." (dot) in the file name. I am working on a patch and can post an update, but in the meantime you can try renaming the files to remove the dot in the filename, e.g. instead of GCF_024442235.1.fna rename it to GCF_024442235_1.fna
Sorry for the inconvenience, and thank you for using MerCat2.
-Jose

Hi decrevi,
Great !, sorry for the problems.
Mercat2 worked perfectly after renaming.
Thank you very much.
Best,

No problem at all. Thanks for finding this bug for us. We are always trying to improve our code bases and make them more user friendly.
Thank you for using MerCat2. Tell your friends.
I am going to close this for now.
Let us know if you need anything?