Support switching on / off in the device simulator

Switching for tariff and light schedules.

Tariffs: switch on/off on fixed times .
Light: listen for transition message or a fixed time, configurable which of these two.

It seems that both lightswitching off  and lightswitching on both use the configuration for  LIGHTSWITCHING ON CONFIG    .
The light switching on and off both take place at  0 and 30 minutes. See the picture in the attachment.
This is the used configuration:
=========================================================
===   LIGHTSWITCHING OFF CONFIG                      ===
=========================================================
autonomous.tasks.lightswitching.off.cron.expression=0 15,45 * * * *
autonomous.tasks.lightswitching.off.pool.size=1
autonomous.tasks.lightswitching.off.thread.name.prefix=webdevicesimulator-autonomous-lightswitching-off-
=========================================================
===   LIGHTSWITCHING ON CONFIG                      ===
=========================================================
autonomous.tasks.lightswitching.on.cron.expression=0 0,30 * * * *
autonomous.tasks.lightswitching.on.pool.size=1
autonomous.tasks.lightswitching.on.thread.name.prefix=webdevicesimulator-autonomous-lightswitching-on-

The issue is solved now.
So it is working fine now


Add appropriate Uber copyright to license

Per discussion in #123 , I neglected to fill out the copyright info for Uber in the Apache license. This adds it in.

Pull Request Test Coverage Report for Build 937229958

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 845170745:
0.0%

Covered Lines:
400

Relevant Lines:
400

💛  - Coveralls

Updated per offline discussion to put the copyright notice in a separate NOTICE file - this seems to be standard for official Apache projects.


Tests

IMHO a great way to start writing tests is decoupling some logic from the map.js script.
Moving snippets like this one to a separate module (like util/) will make it easier to test.


Config editor as custom ROM program

Rather than writing a new config editor for every single renderer, why not just create one that runs in the emulator and thus works on all renderers?

ccemux.getConfig function to generate a table from the config tree
emu config starts an editor using the tree
ccecmux.setConfig function to store modified values

Copying from tmpim:
With respect to the API support, I'm thinking something a little different/more complex. Basically ccemux.config() returns a config object, with the following properties:

ccemux.get(path:string...): Gets a table representing a property/group. The path represents the name of a property. So you can do config.get() to get all properties, config.get("termScale") to just get the scale and config.get("plugins", "org.clgd.ccemux.plugins.CCTweaks") to get CCTweaks related ones.
ccemux.set(path:string..., value) (or maybe put value first, ¯\_(ツ)_/¯). The inverse of the previous, update the modified values. If a value isn't set then don't change it.
config.children(path:string...): Get a list of all child properties/groups in a group. Something of the form: { type:group|property, key: string, name: string, description: string}.


Bad directory tree

I'm getting "File not found" on many of the links connected to the navigation bar.
Including but not limited to:
Tutorial Page - https://www.arduino.cc/en/Tutorial/HomePage
Reference Page - http://www.arduino.cc/en/Reference/HomePage
Education - https://www.arduino.cc/en/Main/Education
aka anything listed under domain: https://www.arduino.cc/en/*

Hi @Blade2021 we are trying to solve this https://github.com/arduino/forum-issues/issues/223
sorry about that

@smellai Ok, Not a problem, just wanted to make sure it was known.
Thanks


Search bar not focussable when ngTouch included

See:
http://developer.telerik.com/featured/300-ms-click-delay-ios-8/
and
https://docs.angularjs.org/api/ngTouch
can be fixed by substituting ng-click="activateSearchField()"for ng-mouseup="activateSearchField()"

It's really urgent :sob:


Add Theme command to change themes

change theme with theme -bg dark/light

https://github.com/AY2324S2-CS2103T-W11-3/tp/assets/88710694/ba5c0987-520c-4589-bb47-10029b9a93e0

looks really cool! thank you for creating the command for changing theme - it's a life saver!
btw would you be fine if I change few things for the light theme or are you gonna work on it further?

go ahead

oh wow! that's a nice setup - makes it so much easier to add more themes


no file is changed when deployed

when i push to my branch , the actions works fine but nothing is deployed

I'm also facing issues in my deploy workflow. It finishes successfully but no files are changed or added on the server.

@arslaneyah I downgraded to v3.1.0 with uses<EMAIL_ADDRESS>and it worked. It seem to have been a lot of activity the past 24 hours.

Also having this issue, caused me a real headache today.
@nocturnalpollinator, downgrading for the minute sorts it for the minute, thanks!

Hi, sorry for the issues.
v4 has a breaking change in default rsync arguments.
Can you please share full log of the step?

you can add 'ARGS' variable to old value. With this it will behave as v3.
you can also use 'SCRIPT_BEFORE' and 'SCRIPT_AFTER' to investigate more, eg 'ls -l' remote folder.

Hi @easingthemes,
Unfortunately this does not seem to be a problem with the default ARGS value as I already had this in (see .github code below).
name: Deploy to Staging server       uses<EMAIL_ADDRESS>     env:         SSH_PRIVATE_KEY: ${{ secrets.SSH_KEY }}         ARGS: "-rltgoDzvO"         SOURCE: ""         REMOTE_HOST: ${{ secrets.FTP_HOST }}         REMOTE_USER: ${{ secrets.FTP_USER}}         TARGET: "*****"
The log is absolutely huge (which is not usually the case). I can email it over to you if that's helpful

With which version you have issues?
Can you please share step config?

Issue was with deafult source, is empty source is provided
Fixed in v4.0.1

now it just copies the whole runners file structure to my target folder, where it only copied the checked out repo files

Thanks for testing. I'm on it currently.

Fixed and new version released.
Latest 4.0.3.

Looks good now 👍🏼


⚠ Game Join API Endpoint has degraded performance

In ba699c2, Game Join API Endpoint (http://gamejoin.roblox.com/) experienced degraded performance:

HTTP code: 503
Response time: 1067 ms

Resolved: Game Join API Endpoint performance has improved in ceb541c after 39 minutes.


feat: add IMAGE_GENERATION_ENABLED env var

Pull Request Checklist

[X] Description: Briefly describe the changes in this pull request.
[X] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.

Description
Add IMAGE_GENERATION_ENABLED environment variable with default of False.

Changelog Entry
Added

Add IMAGE_GENERATION_ENABLED environment variable

Fixed

Allows for image generation to remain enabled across container restart

Changed

backend/config.py
backend/apps/images/main.py

This would make a few people, myself included, very happy. Recommend merging @tjbck :)

LGTM, Thanks!

@tjbck it looks like config.py also needs a naming convention update, here is a PR: open-webui/open-webui#1543. Thanks!


Extended "No tests found" message

Fixes #1057
If no tests found Jest prints a message with:

Total number of files checked
Used regexes
Number of matching files for each regex

@cpojer let me know what do think about that? If it looks good I'll add integration tests :)

This looks fantastic! I also like how you refactored the code. One big plan I had for TestRunner is to be lightweight. I wanted to remove all the matching functions from TestRunner completely and change the API to this:
new TestRunner(testPaths, config[, options]);
To create the list of testPaths, my idea was to create a class SearchSource that would take on all the functions that TestRunner has right now and maybe also some of the stuff you put into src/jest.js.
It would work like this:
// in a promise chain:
.then(() => {
  var source = new SearchSource(config);
  return source.testsMatching(pattern);
})
.then(testPaths => {
  const runner = new TestRunner(testPaths, config, options);
  // run the tests
});

given that you are changing so much about how we match patterns, would you like to make this change in this PR as well? I think it would be really awesome to have this separation. My end goal is to have one TestRunner that can take multiple paths from different search sources – but that is going to happen in a separate diff :)

Thanks for your feedback! Yep, I can separate them in this PR, will push updates/fixes a bit later :)

Hey @cpojer, can you have a look?
One thing I struggle with is a this._buildHasteMap() function which was used both in matching functions and testRun functions. I've moved it to the upper level and now passing it down to SearchSource and TestRunner as a parameter. Not sure what's the best approach here.

@facebook-github-bot import

Thanks for importing. If you are an FB employee go to Phabricator to review.

@facebook-github-bot import

Thanks for importing. If you are an FB employee go to Phabricator to review.

This refactor is really impressive and helps me so much with Jest. I'm making a couple of small modifications before shipping this, plus I have to update our internal runner.

I changed buildHasteMap's second argument to accept an object instead of a scalar.
I changed promiseTestPathsRelatedTo to findRelatedTests – this has been on my mind for a long time and I'm happy to finally rename this :D
Updated some small nits.


End-to-end decoding benchmarks of paletted PNG images.

Credit for the zune-paletted.png image: github.com/Shnatsel (based on https://commons.wikimedia.org/wiki/File:Stadt_Onex_2021.png)

@fintelia, can you PTAL?
Special thanks to @Shnatsel for pointing out the mistake I made in my earlier attempt to cover expand_paletted in end-to-end benchmarks.  Thanks!

Could we use a smaller test image? 8 MB is pretty large for a file checked into the git repo

FWIW the larger the decompressed image is, the more the palette expansion pass dominates the runtime. On 1024x1024 images it's about 20% of the time, on the map image it's about 40%, on the zune-png benchmarking image shared at the start of #393 it's about 60%.
I think it is possible to create an image e.g. with large areas of flat fill that would be small when compressed, decompress into an image with large dimensions, and have the palette pass account for a large portion of the image decoding time.
Or maybe the palette pass should just be benchmarked separately.

I suggest using this image instead: Stadt_Onex_2021_posterized_med
It still spends 40% of the time in palette expansion while only being 1.4MB in size (as opposed to the 8MB image proposed originally).

FWIW, I feel that it is desirable to have a somewhat realistic paletted test image that also highlights the performance of expand_paletted.  FWIW using palette reduces the size of the image from 9,408,318 bytes to 8,396,692 (and so it seems reasonable that this optimization would be used in the "real world" + shows that the original "real world" image is even bigger).
OTOH, if we decide that 8MB is unreasonable, then we can try testing with existing benchmarks and a function-level benchmark that I am working on at https://github.com/anforowicz/image-png/tree/palette-benchmarks-func2.  We would still want to land the current PR to ensure that expand_paletted is actuall covered by the benchmarks. (I think that other set of changes is ready for review, but I'll hold off with opening a pull request until we've figure out what to do with the current one under review.  This is mostly because the performance measurements in the other one use the current PR as the baseline.)

I suggest using this image instead: Stadt_Onex_2021_posterized_med
It still spends 40% of the time in palette expansion while only being 1.4MB in size (as opposed to the 8MB image proposed originally).

Thanks - let me switch to this image.

I suggest using this image instead: Stadt_Onex_2021_posterized_med
It still spends 40% of the time in palette expansion while only being 1.4MB in size (as opposed to the 8MB image proposed originally).

Thanks - let me switch to this image.

Actually, I wasn't able to find the image that you are referring to.  But maybe this is fine - I just grabbed https://commons.wikimedia.org/wiki/File:Stadt_Onex_2021.png at a slightly smaller resolution and converted to png:IHDR.color_type: 3 (Indexed) using ImageMagick.  The resulting file has 1,146,578 and png::decoder::expand_paletted takes 22.84% of time.

@fintelia, can you PTAL again?


Fail to build when buildpack.yml is present

Summary

Causes build configuration parser to fail when a buildpack.yml is detected. This matches the deprecation strategy described in Go Build RFC 0003.
Use Cases

Checklist

[ ] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[ ] I have added an integration test, if necessary.
[ ] I have reviewed the styleguide for guidance on my code quality.
[ ] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

@fg-j You should check out packit's fs.Exists() function. Just a nice-ish wrapper.

@ForestEckhardt 😂  I didn't realize that finally went in. I'll swap to using it.


Fix mutating actor in strict mode

There are potential problems with mutating the actor in the stopRootWithRehydration method, which is a hack to work around React strict mode. At least one problem has already surfaced: when inspecting machines (e.g. using @statelyai/inspect), it reports the current actor as stopped, instead of the previous actor.
This is probably because the actor is being mutated, yet we're still reading the actor in e.g. an @xstate.snapshot event where status: stopped; however, by the time we read it, it's too late, the actor has been mutated to be reused in the second render, so actorRef.sessionId is the new actor.
I'd prefer not to work around this in the inspector and instead avoid actor mutation. The only failing tests are with render counts, which aren't that big of a deal.

We decided to handle this in the inspector and investigate the implementation of actor.restart.


Settings UI:

The current settings UI is not user-friendly. A more intuitive and responsive design is necessary to help users navigate options more efficiently.

is not user-friendly. A more intuitive and responsive design is necessary

/needsMoreInfo
Please be specific.


Make PV cleanup more robust

This adds a new label to all PVS created by the crc_storage target. This allows us to query all PVs later during cleanup. This also ensures that all PVCs associated with the PVs created by crc_storage target so that we can remove all PVs.

/lgtm


iOS : Undefined symbol: OBJC_CLASS$_GIDSignIn

We are getting error when build the project " Undefined symbol: OBJC_CLASS$_GIDSignIn"
Step 2: Describe your environment

Device: iPhone 6 plus
OS version: 12.4.1
SDK version: 5.0.1
Xcode. : 10.3

Please reply we are stuck .


markdown-toc will generate parts of toc from the content of html tag, like

I have a markdown file which contain
 tag. The content of
 is another markdown string. The bug is fired at this situation.

I use this in many different documents that have markdown inside of pre tags and I've never seen this happen. Please provide an example of what's causing the bug so that we can reproduce it.

I write a simple test, like below, and find that if "## test2" and "## test3" are at the head of line, bug will happen.
it('toc', () => {
        console.log(toc(`

\`\`\`
\`\`\`
## test2
\`\`\`
\`\`\`
## test3

            `).content);
    });

result is :
- [test2](#test2)
- [test3](#test3)

command line or API?

API calling. "##test2" and "##test3" must be at the beginning of the line.
let toc = require('markdown-toc');

describe('index', () => {
    it('toc', () => {
        console.log(toc(`

## test2
## test3

`).content); // I got :  - [test2](#test2) \n - [test3](#test3)
    });
});

After thinking about this, I think that's technically correct as it is. If you were to use gfm instead of
, you would get the following (using an array because of the nested backticks):
let toc = require('markdown-toc');

console.log(toc([
'# One',
'# Two',
'````',
'## test2',
'## test3',
'````',
'# Three',
'```',
'## test4',
'## test5',
'```',
'# Four',
].join('\n')).content);
// yields
// - [One](#one)
// - [Two](#two)
// - [Three](#three)
// - [Four](#four)

I'd be happy to take a pr to add support for HTML tags - I see the usefulness of it, but we would need to weigh it against the technical debt of the edge cases and code complexity it would add.


test: add grammars unit tests

Add unit test for grammars commands:
grammars:export - export the grammars for an entity

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Error connecting to sesman: <IP_ADDRESS> port: 6100

I'm using SUSE Linux 12 SP4  (GNOME desktop,Version 3.28.2)
xRDP is installed through Zypper (Version 0.9.0).
But I found I can't connect my remote computer.I checked the logs and they says I am failing to connect sesman.
I followed the step from this link --Click here
Below is the output of XRDP.LOG
ip-172-31-31-24:/var/log # vim xrdp.log
[20190430-13:24:20] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20190430-13:24:20] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20190430-13:24:20] [ERROR] Listening socket is in wrong state we terminate listener
[20190430-13:24:22] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20190430-13:24:22] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20190430-13:25:58] [ERROR] Listening socket is in wrong state we terminate listener
[20190430-13:31:20] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20190430-13:31:20] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20190430-13:31:20] [ERROR] Listening socket is in wrong state we terminate listener
[20190430-13:31:21] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20190430-13:31:21] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20190430-14:40:11] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20190430-14:40:11] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20190430-14:40:11] [ERROR] Listening socket is in wrong state we terminate listener
[20190430-14:40:12] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20190430-14:40:12] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20190430-14:46:32] [ERROR] Listening socket is in wrong state we terminate listener
[20190430-14:46:32] [ERROR] Listening socket is in wrong state we terminate listener
[20190430-14:55:02] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20190430-14:55:02] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20190430-14:55:02] [ERROR] Listening socket is in wrong state we terminate listener
[20190430-14:55:03] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20190430-14:55:03] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20190430-15:03:19] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20190430-15:03:19] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20190430-15:03:19] [ERROR] Listening socket is in wrong state we terminate listener
[20190430-15:03:19] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20190430-15:03:19] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20190430-15:05:22] [ERROR] Listening socket is in wrong state we terminate listener
[20190430-15:05:23] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20190430-15:05:23] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20190430-15:05:23] [ERROR] Listening socket is in wrong state we terminate listener
[20190430-15:05:24] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20190430-15:05:24] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20190430-15:19:27] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20190430-15:19:27] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem
[20190430-15:19:27] [ERROR] Listening socket is in wrong state we terminate listener
[20190430-15:19:28] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/cert.pem
[20190430-15:19:28] [CORE ] WARNING: Invalid x.509 certificate path defined, default path will be used: /etc/xrdp/key.pem

Below is the output of  xrdp-sesman.log:
ip-172-31-31-24:/var/log # vim xrdp-sesman.log
[20190430-14:54:57] [CORE ] starting sesman with pid 10569
[20190430-14:55:08] [ERROR] env_set_user: error creating .vnc dir
[20190430-14:56:57] [ERROR] env_set_user: error creating .vnc dir
[20190430-15:03:24] [ERROR] env_set_user: error creating .vnc dir
[20190430-15:19:37] [ERROR] env_set_user: error creating .vnc dir
[20190430-15:22:38] [CORE ] starting sesman with pid 17492
[20190430-15:22:38] [ERROR] bind error on port '3350': 98 (Address already in use)
[20190430-15:32:40] [CORE ] starting sesman with pid 17933
[20190430-15:32:40] [ERROR] bind error on port '3350': 98 (Address already in use)
[20190430-15:32:45] [CORE ] starting sesman with pid 17955
[20190430-15:32:45] [ERROR] bind error on port '3350': 98 (Address already in use)
[20190430-15:33:03] [CORE ] starting sesman with pid 17998

blow is the detail of config files
XRDP.INI
ip-172-31-31-24:/etc/xrdp # vim xrdp.ini
bitmap_cache=yes
bitmap_compression=yes
port=3389
allow_channels=true
max_bpp=32
fork=yes
# minimum security level allowed for client
# can be 'none', 'low', 'medium', 'high', 'fips'
crypt_level=high
# security layer can be 'tls', 'rdp' or 'negotiate'
# for client compatible layer
security_layer=rdp
# X.509 certificate and private key
# openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 365
certificate=
key_file=

# regulate if the listening socket use socket option tcp_nodelay
# no buffering will be performed in the TCP stack
tcp_nodelay=yes

# regulate if the listening socket use socket option keepalive
# if the network connection disappear without close messages the connection will be closed
tcp_keepalive=yes

#tcp_send_buffer_bytes=32768
#tcp_recv_buffer_bytes=32768

#
# colors used by windows in RGB format
#

blue=009cb5
grey=dedede
#black=000000
#dark_grey=808080
#blue=08246b
#dark_blue=08246b
#white=ffffff
#red=ff0000
#green=00ff00
#background=626c72
#autorun=xrdp1
#hidelogwindow=yes

# when true, userid/password *must* be passed on cmd line
# require_credentials=yes

# set a default entry for autorun if the client send login and pass directly
autorun=xrdp1

"xrdp.ini" 179L, 3894C

SESMAN-XRDP.INI
ip-172-31-31-24:/etc/xrdp # vim sesman.ini
[Globals]
ListenAddress=<IP_ADDRESS>
ListenPort=3350
EnableUserWindowManager=1
UserWindowManager=startwm.sh
DefaultWindowManager=startwm.sh

[Security]
AllowRootLogin=1
MaxLoginRetry=4
TerminalServerUsers=tsusers
TerminalServerAdmins=tsadmins
# When AlwaysGroupCheck = false access will be permitted
# if the group TerminalServerUsers is not defined.
AlwaysGroupCheck = false

[Sessions]
## X11DisplayOffset - x11 display number offset
# Type: integer
# Default: 200
X11DisplayOffset=200

## MaxSessions - maximum number of connections to an xrdp server
# Type: integer
# Default: 0
MaxSessions=50

## KillDisconnected - kill disconnected sessions
# Type: integer
# Default: 0
# if 1, true, or yes, kill session after 60 seconds
KillDisconnected=0

## IdleTimeLimit - when to disconnect idle sessions
# Type: integer
# Default: 0
# if not zero, the seconds without mouse or keyboard input before disconnect
# not complete yet
IdleTimeLimit=0

## DisconnectedTimeLimit - when to kill idle sessions
# Type: integer
# Default: 0
# if not zero, the seconds before a disconnected session is killed
# min 60 seconds
DisconnectedTimeLimit=0

## Policy - session allocation policy
# Type: enum [ "Default" | "UBD" | "UBI" | "UBC" | "UBDI" | "UBDC" ]
# Default: Xrdp:<User,BitPerPixel> and Xvnc:<User,BitPerPixel>
# "UBD" session per <User,BitPerPixel,DisplaySize>
"sesman.ini" 88L, 2059C

Login Screen of XRDP

After logging I am getting the below error >>

This is not the real issue.

Error connecting to sesman: <IP_ADDRESS> port: 6100

This seems to be a root cause of your issue.

[20190430-15:19:37] [ERROR] env_set_user: error creating .vnc dir

No feedback from the reporter, closing. When you're back leave comment on this. Will reopen.


get_all_properties throws and error

error AttributeError: 'NoneType' object has no attribute 'startswith'
import os
from notion.client import NotionClient
token = os.environ.get("NOTION_TOKEN")
PROJECT_COLLECTION = "<id of a collection>"

client = NotionClient(token, monitor=False)
collection = client.get_collection(PROJECT_COLLECTION)
projects = collection.get_rows()
project = projects[0]
project.get_all_properties()  # <<<<

I faced same error too

Same here.

Same here. It happens on Person property.

Same here. It happens on Person property.


Attempt to load module sys

Hi, I have a problem. I have installed Python 3.5 and latest Transcrypt (using the .zip file method).
I do run_transcrypt -b somescript.py  and get:
Error in program somescript.py, module sys, line 26:
        Attempt to load module: sys
        Can't find any of:
                C:/Dev/kpudlo_tools/Tools/Script/source/__javascript__/sys.mod.js
                C:/Dev/kpudlo_tools/Tools/Script/source/__javascript__/sys.mod.js
                C:/Dev/kpudlo_tools/Tools/Script/transcrypt/transcrypt/modules/__javascript__/sys.mod.js
                C:/Dev/kpudlo_tools/Tools/Script/transcrypt/transcrypt/modules/__javascript__/sys.mod.js
                C:\Dev\kpudlo_tools\Tools\Script\transcrypt\transcrypt/__javascript__/sys.mod.js
                C:\Dev\kpudlo_tools\Tools\Script\transcrypt\transcrypt/__javascript__/sys.mod.js
                C:\Python35\python35.zip/__javascript__/sys.mod.js
                C:\Python35\python35.zip/__javascript__/sys.mod.js
                C:\Python35\DLLs/__javascript__/sys.mod.js
                C:\Python35\DLLs/__javascript__/sys.mod.js
                C:\Python35\lib/__javascript__/sys.mod.js
                C:\Python35\lib/__javascript__/sys.mod.js
                C:\Python35/__javascript__/sys.mod.js
                C:\Python35/__javascript__/sys.mod.js
                C:\Python35\lib\site-packages/__javascript__/sys.mod.js
                C:\Python35\lib\site-packages/__javascript__/sys.mod.js

Python should have sys module by default, right? Is it a Python or Transcrypt configuration issue? Is there something addtional to do, ie. install some javascript module for python?

Hi
It seems that your program somescript.py imports the sys module. But it isn't available under Transcrypt. Although a very limited number of CPython modules are available (math, itertools, random, time) and some may follow (re, ...), Transcrypt mostly relies on JavaScript libraries, since they are taylored to the internet/webbrowser environment, whereas existing Python libraries have many functions that only make sense on the desktop, and many others are programmed in C++, which could be compiled by emscripten, but would make downloads huge.
Main design goal with Transcrypt is that it should be fast and small enough to be a serious replacement for JavaScript and that it should have seamless access to any JS library.
Some more info on this you'll find at:
http://sterlicht.alwaysdata.net/transcrypt.org/docs/html/what_why.html#the-ecosystem-different-batteries
Kind regards
Jacques de Hooge

The script is using such functionality:
sys.version_info
sys.argv[]
sys.exit
and getopt
try:
    opts, args = getopt.getopt(sys.argv[1:], "v", ["verbose"])
except getopt.GetoptError as err:
    print (str(err))
    print_help()
    sys.exit(2)

Which IMHO could be "emulated" in browser. So ie. somebody would have to write sys module as javascript with certain functions that can be supported, right? So that's probably not going to happen soon (btw I don't have time for that now).

Yes, someone would have to write a sys module to support those functions. It wouldn't necessarily have to be written in JavaScript, but it would need to be written without references to the actual python sys module, so that it could be transpiled to JavaScript in Transcrypt.
Out of curiosity, what would you want the sys module to do in those cases? sys.version_info could probably be done easily, but it seems less clear what sys.exit and sys.argv should mean in the context of a browser, or in any other JavaScript environment.

In itself the presence of (parts of) the standard libraries won't bloat Transcrypt, since they're included only when needed. Some of them, like re, could probably be thin encapsulations of JavaScript facilities. And indeed for a library like sys (let alone os) only part of it would make sense. But still those parts would be useful.
Since such libraries aren't tightly integrated with the core of Transcrypt, and can be implemented step by step by someone mastering JS and Python. An example of such a contribution is the 'time' library for windows, contributed by AXGKl. I invite anyone reading this to give it a try.

Some important libraries like re, math, cmath, itertools and random have been added. I think sys is to much desktop-oriented to add, so I'll close this issue.


Convert the response to json format and hidding the details of the co…

…de path
For the V2 version, when produce a message, if the request body is an invalid json, we will meet this two problems.
1 ) The response is not a json message.
2) It contains two much information: for example
Unexpected character (''' (code 39)): was expecting double-quote to start field name
 at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 7, column: 7] (through reference chain: io.confluent.kafkarest.entities.v2.ProduceRequest["records"]->java.util.ArrayList[1])

The reasons the above problems are:

https://github.com/confluentinc/rest-utils/blob/master/core/src/main/java/io/confluent/rest/exceptions/JsonMappingExceptionMapper.java doesn't trigger when throws JsonMappingException, so the response doesn't convert to json.
Exception message is not been handled from JsonMappingException, all the details returned to users directly.

How to fix:

There are two types Jackson related exception: JsonParseException and the one we met JsonMappingException, we need to register both mappers here https://github.com/confluentinc/rest-utils/blob/master/core/src/main/java/io/confluent/rest/Application.java#L631, but we only registered JsonParseExceptionMapper
According to https://stackoverflow.com/a/58287443,
Starting with Jersey 2.26 (1, 2) it should be enough to annotate the custom exception mapper with a sufficiently high Priority
We are using version 2.34, so I added @Priority(1) to https://github.com/confluentinc/rest-utils/blob/master/core/src/main/java/io/confluent/rest/exceptions/JsonMappingExceptionMapper.java#L31
Remove exception messages from https://github.com/confluentinc/rest-utils/blob/master/core/src/main/java/io/confluent/rest/exceptions/JsonMappingExceptionMapper.java#L35

Manually test:
jliu@C02DM32YMD6T kafka-rest % curl -X POST \
     -H "Content-Type: application/vnd.kafka.json.v2+json" \
     -H "Accept: application/vnd.kafka.v2+json" \
     --data '{"records":[{"key":"abc","value":"alarm clock"},{"key":"htanaka","value":"batteries"},{"key":"awalther","value":"bookshelves"}, {
      "value": ["foo", "bar"],
      "partition": 1
    ]}' \
     "http://localhost:8082/topics/tst"
{"error_code":400,"message":"Unexpected close marker ']': expected '}'"}%

Jenkins failed for
19:21:45  [INFO]
19:21:45  [INFO] Results:
19:21:45  [INFO]
19:21:45  [ERROR] Failures:
19:21:45  [ERROR]   MetricsResourceMethodApplicationListenerIntegrationTest.testSuccessMetrics:112->assertMetric:325 Actual: 9.0 ==> expected: <10.0> but was: <9.0>
19:21:45  [INFO]
19:21:45  [ERROR] Tests run: 152, Failures: 1, Errors: 0, Skipped: 2

Looking why it failed

Looks good to me Jing - swap the PR over to be Ready for review once you've added the unit test

If the exception is JsonParseException, we got the similar problem
Before my fix:
curl -X POST \
     -H "Content-Type: application/vnd.kafka.json.v2+json" \
     -H "Accept: application/vnd.kafka.v2+json" \
     --data '{"name": {key:value}}' \
     "http://localhost:8082/topics/tst"
Unexpected character ('k' (code 107)): was expecting double-quote to start field name
 at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 12]%

I added a new exception mapper called JsonParseExceptionMapper and unit test for it, it's similar with JsonMappingExceptionMapper,
After my fix:
curl -X POST \
     -H "Content-Type: application/vnd.kafka.json.v2+json" \
     -H "Accept: application/vnd.kafka.v2+json" \
     --data '{"name": {key:value}}' \
     "http://localhost:8082/topics/tst"
{"error_code":400,"message":"Unexpected character ('k' (code 107)): was expecting double-quote to start field name"}%

This should be merged to 5.4.x, not master. After merging to 5.4.x, you can use https://jenkins.confluent.io/job/tools-autotasks/job/tools-autotasks/job/apply-pint-merge/build to merge it up.

Discard this one because the issue is fixed by https://github.com/confluentinc/rest-utils/pull/350


react-nativigation missing methods?

I'm upgrading to RN0.44 and noticed that the navigation had been removed.  I'm in the process of implementing the replacement react-nativigation but it doesn't seem to have the same features.  For example, I can't replace a route in the stack any more.  .. or am I missing something?

react-navigation is a separate project and it's better to post it on react-navaigation's issue tracker.

react-navigation is build on top of the old navigation-exp component so it would be worth adding what you need into react-navigation. ex-navigation(now deprecated in favor of react-navigation) is also a good.


fix docs ie

Update with new VP link
Adding "Other products" filter option
MCG is now maintained
Use speakerdeck for the slides
Add blog post about private repositories
Pattern Review Update (#390)
Creating new Understanding namespaces blog (#387)
Industrial Edge demo-script  (#391)
Ie update (#392)
Update demo-script.md (#393)
Update _index.md (#394)
Fix sentence around code being checked by CI and not vice-versa
Intel AMX accelerated patterns (Multicloud GitOps & Medical Diagnosis) (#376)
Create badges directly from the JSON contents
Include the year in CI bages
New Cisco and Validated Patterns team partnership blog
Updated paragraph for MultiCloud GitOps deployment description
Move the comm-attributes include up
Convert demo script to asciidoc
Promote AEG and Retail to testing (#399)
Document the need for aws-creds in AEG
Fix internal ci page due to bad copy/paste
Skeleton of new secrets blog
New blog for secrets options
htpass + hcp oauth config (#404)
travelops documentation (#406)
Travelops ossm (#407)
Travelops ossm (#408)
updated alias for medical-diagnosis-amx docs (#409)
Docs debug (#410)
Note known issue on 4.14
adding intel partnership blog (#413)
Update 2024-03-05-intel-accelerated-patterns.md (#414)
Update 2024-03-05-intel-accelerated-patterns.md
Intel SGX protected application in Multicloud GitOps pattern
Introduce Vault component protected with Intel Secure Guard Extensions (SGX)
** Intel AMX accelerated Multicloud GitOps pattern with OpenShift AI - documentation**
TELCODOCS-1595:Added values files information
TELCODOCS-1595:Updated the outline of basic values file
Addressed review comments
Multicloud GitOps pattern accelerated with Intel QAT - Documentation
Bump peaceiris/actions-hugo from 2 to 3
Bump peaceiris/actions-gh-pages from 3 to 4
Issue around resource in multiple applications has been long fixed
Drop Turning on event streaming between the edge and the datacenter section

This is an automated message:
You can preview this docs PR at http://425.docs-pr.validatedpatterns.io
Note that they get generated every five minutes, so please wait a bit.


linear_search.cpp

Given an array Arr of N elements and a integer K. Your task is to return the position of first occurence of K in the given array.
Input:
N = 5, K = 16
Arr[] = {9, 7, 2, 16, 4}
Output: 4

I have solved the linear search problem using c++. @Iltwats

i have made all the required changes but CodeQL is still showing some errors @Iltwats


Citation Styles: CSL/JSON mapping

See mapping provided by eLife for all reference types:
https://docs.google.com/spreadsheets/d/1UYUP44SErl38ExbY6T8nawIBzp9dA-no8NqbThLiK6I/edit#gid=0
Things to address next:

data references are insufficiently supported in CSL/JSON
Missing DOI's for books and book chapters, ISBN and DOI's on reports and PubMed IDs onjournals
page-range is combined field in CSL/JSON but a separate fields in JATS (fpage, lpage) how to deal with that?
how to deal with elocation-ids? (seems we need to squeeze them into page-ranges field of CSL/JSON)

Just to clarify, I was working off this URL https://aurimasv.github.io/z2csl/typeMap.xml, which suggests to me that CSL does support datasets but this particular project to map from Zotero does not. Apologies if I didn't explain that sufficiently in the preamble to this ticket!
If anyone has a more complete list of what is allowed under CSL/JSON, I'd really like to take a look.
Thanks,
James

@eLifeProduction @JGilbert-eLife can you allow public read access for that document?
Then @zuphilip could have a look at it too.

Ah, this is relevant - https://www.zotero.org/support/dev/translators/datasets
And yes - I think I've made it public now . . . let me know if any problems!
James

Just to add to this, we will require the ability to add specific-use=”generated” or specific-use=” supporting" to the <element-citation>
See examples in https://jats4r.org/data-availability-statements
This is an eLife requirement.

AFAIK the CSL variables are not restricted to a certain type, i.e. you are allowed to use e.g. the DOI variable in CSL for all types. This is different if you look at Zotero, where the DOI variable is only allowed for certain types. However, even then you can add the DOI into the extra field which then will be evaluated in the transformation to DOI and therefore can be used in rendering citations.
Yes, there is a dataset type in CSL (not in Zotero). Thus, this should be fine for you. There is not yet a software type in CSL.
Besides the Zotero-to-CSL-mapping you can also have a look at the specification at http://docs.citationstyles.org/en/stable/specification.html#appendix-iv-variables

page-range is combined field in CSL/JSON but a separate fields in JATS (fpage, lpage) how to deal with that?

Well, either page-range is either really a page range, then you can split it up into first and last page. Or, it is a single number which you can map to the first and last page field. Or, it is something else, which you then can map to e-location. No?


Need help with SSO

I'm sending a saml request to my IDP and am getting the following error message in the process:
Unhandled error for request GET /ssoauth: Error: Missing attribute value for attribute Destination of element samlp:AuthnRequest
Where /ssoauth is the path on my server that the client uses to initiate the request.
Here is my passport.js file:
var passport = require('passport');
var config = require('./samlConfig');
var SamlStrategy = require('passport-saml').Strategy;
var samlOptions = {
entryPoint: config.entryPoint,
issuer: config.callbackUrl,
callbackUrl: config.callbackUrl,
cert: config.cert,
identifierFormat: null
};
passport.serializeUser(function(user, done) {
done(null, user.id);
});
passport.deserializeUser(function(id, done) {
done(err, user);
});
passport.use(new SamlStrategy(
samlOptions,
function(profile, done) {
findByEmail(profile.email, function(err, user) {
if (err) {
return done(err);
}
return done(null, user);
});
}
));
module.exports = passport;
Samlconfig.js:
var entryPoint = 'https://sso.jumpcloud.com/saml2/excellacentral';
var issuer = 'passport-saml';
var callbackUrl = 'https://localhost:5000/login/callback';
var identifierFormat = 'identifierFormat: null';
var cert = '......';
Also, in the Chrome console here is the response from the request:

I'm not sure this issue is with passport-saml. If that's really your whole Samlconfig.js it appears you aren't actually exporting any of those variables. So everything would be undefined that you're passing in to samlOptions.

Support is not provided in this issue tracker. Try posting on StackOverflow the [passport-saml] tag.

Great thank you for all of your help.  I’m using SAML2 instead so that way I can actually get this done.
Matthew Ratliff
Excella Consulting, Extension Center Mentor/Senior Consultant
Direct:<PHONE_NUMBER> / matthew.ratliff<EMAIL_ADDRESS>@excellaco / www.excella.comhttp://www.excella.com
Excella Consulting is an equal opportunity/affirmative action employer. All qualified applicants will receive consideration for employment without regard to sex, gender identity, sexual orientation, race, color, religion, national origin, disability, protected veteran status, age, or any other characteristic protected by law
On Sep 29, 2018, at 8:41 PM, Mark Stosberg <notifications<EMAIL_ADDRESS>wrote:
Closed #305https://github.com/bergie/passport-saml/issues/305.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/bergie/passport-saml/issues/305#event-1875157001, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ae5Dm0iiJXnTOvWDhI1ar-ypJVyKHmAWks5ugBM8gaJpZM4W8sSA.


Release to Marketplace

The sole purpose of this PR is to allow a review of the codebase of the plugin. It contains all changes that have been made since the repo was forked from https://github.com/mattermost/mattermost-plugin-starter-template.
The PR should not get merged. Once every party has approved the PR, https://github.com/mattermost/mattermost-plugin-servicenow-virtual-agent/pull/40 will include the required changes for a release.
Security review ticket: https://mattermost.atlassian.net/browse/SEC-2366.

@levb https://github.com/mattermost/mattermost-plugin-servicenow-virtual-agent/pull/42 has been merged. Please take another look.

@srkgupta With https://github.com/mattermost/mattermost-plugin-servicenow-virtual-agent/pull/44 merged the PR is ready for another round of reviews.

Closing as all parties have reviewed the PR


Update the hyperlink address of High-Availability Clusters

Ref #27094

This PR resolves #27094

This might be OK to merge but getting all the approvals will be tricky!

As a Korean contents owner, LGTM :)
But I would like to postpone giving approval to this PR until @vaibhav2107  's feedback on the comment from @sftim .

There is no change to zh localization although language/zh is added.
Good luck with this PR spanning so many teams.

@vaibhav2107 we try to limit fixes to a single language per PR - see https://kubernetes.io/docs/contribute/new-content/overview/#languages-per-pr
This change would be difficult to approve as it requires co-ordination with more than 10 localization teams. Could you update just the English version for now?
Once the English change merges, we'd be very happy to review follow-up PRs to update the relevant localized pages.

Thank You @sftim for informing about this. Now on, I'll be careful not to fix more than one language in a PR.

@vaibhav2107
As @sftim says, could you update this PR to include changes for English contents only?
I think target files of this PR are following:

content/en/docs/concepts/overview/components.md
content/en/docs/tasks/debug-application-cluster/debug-cluster.md

That's say remove other files (which include contents for other language localization) from this PR and those files will be updated in other PRs.
And also rebase is needed for current PR codeset.

The link in the English version was updated in the PR #26725.
This PR seems good to close.

@vaibhav2107
This PR has content/en/docs/tasks/debug-application-cluster/debug-cluster.md also.
So it's good to update PR with including content/en/docs/tasks/debug-application-cluster/debug-cluster.md only, and update files on multi language next on other PR.
WDYT?

I think update flow is following:

At first, this PR needs rebase with latest kubernetes:master.
Next, update PR by excluding files except for en contents.
Third, exclude content/en/docs/concepts/overview/components.md because #26725 fixed this file already.

Thank you for updating. :smile:
PR includes content/en/docs/concepts/overview/components.md yet, so you need to exclude this file from PR.

And I remove tags which doesn't related to current codeset.
/remove-language fr
/remove-language id
/remove-language it
/remove-language ja
/remove-language ko
/remove-language pl
/remove-language pt
/remove-language ru
/remove-language zh
/remove-language de
/remove-language es


added loader element in html

you can check the functioning of loader by reducing the internet speed.

@suryanshkapil405 Thank you for suggestion your pull request, I do not need loader because the site doesn't have larger content to load, expect GIF


Added link to awesome-complexity list

https://github.com/sellisd/awesome-complexity
A manually curated list of resources on Complex Systems Science that contains the most important and relevant resources (research, outreach and educational) relevant to Complex Systems Science. Some of its entries might be found in other awesome lists but currently there is no other single curated list that brings together resources on Complex Systems.
By submitting this pull request I confirm I've read and complied with the below requirements 🖖
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.
Requirements for your pull request

I have read and understood the contribution guidelines and the instructions for creating a list.
This pull request has a descriptive title.For example, Add Name of List, not Update readme.md or Add awesome list.
The entry in the Awesome list should:

Include a short description about the project/theme of the list. It should not describe the list itself.Example: - [Fish](…) - User-friendly shell., not - [Fish](…) - Resources for Fish..
Be added at the bottom of the appropriate category.

The list I'm submitting complies with these requirements:

Requirements for your Awesome list

Has been around for at least 30 days.That means 30 days from either the first real commit or when it was open-sourced. Whatever is most recent.
It's the result of hard work and the best I could possibly produce.
Non-generated Markdown file in a GitHub repo.
Includes a succinct description of the project/theme at the top of the readme. (Example)
The repo should have awesome-list & awesome as GitHub topics. I encourage you to add more relevant topics.
Not a duplicate.
Only has awesome items. Awesome lists are curations of the best, not everything.
Includes a project logo/illustration whenever possible.

Either fullwidth or placed at the top-right of the readme. (Example)
The image should link to the project website or any relevant website.
The image should be high-DPI. Set it to maximum half the width of the original image.

Entries have a description, unless the title is descriptive enough by itself. It rarely is though.
Includes the Awesome badge.

Should be placed on the right side of the readme heading.
Should link back to this list.

Has a Table of Contents section.

Should be named Contents, not Table of Contents.
Should be the first section in the list.
Should only have one level of sub-lists, preferably none.

Has an appropriate license.

That means something like CC0, not a code licence like MIT, BSD, Apache, etc.
WTFPL and Unlicense are not acceptable licenses.
If you use a license badge, it should be SVG, not PNG.

Has contribution guidelines.

The file should be named contributing.md. Casing is up to you.

Has consistent formatting and proper spelling/grammar.

The link and description are separated by a dash. Example: - [AVA](…) - JavaScript test runner.
The description starts with an uppercase character and ends with a period.
Consistent and correct naming. For example, Node.js, not NodeJS or node.js.

Doesn't include a Travis badge.You can still use Travis for list linting, but the badge has no value in the readme.

Go to the top and read it again.

Small edits per the formatting guidelines:

Table of Contents section should be named Contents
Make sure to end all entries with a period

Thanks @arw36 for the feedback. I just committed your suggestions (commit 0832ae758a22a6a79abc821894e0db16a5786ff8)

❯ awesome-lint https://github.com/sellisd/awesome-complexity
✖ Linting

  README.md:105:3
  ✖    1:1    Missing License section                                 remark-lint:awesome/license
  ✖    1:1    Missing or invalid Table of Contents                    remark-lint:awesome/toc
  ✖    4:11   Text "github" should be written as "GitHub"             remark-lint:awesome/spell-check
  ✖    6:10   Text "github" should be written as "GitHub"             remark-lint:awesome/spell-check
  ✖   14:3    Invalid list item link URL                              remark-lint:awesome/list-item
  ✖   15:3    Invalid list item link URL                              remark-lint:awesome/list-item
  ✖   16:3    Invalid list item link URL                              remark-lint:awesome/list-item
  ✖   17:3    Invalid list item link URL                              remark-lint:awesome/list-item
  ✖   18:3    Invalid list item link URL                              remark-lint:awesome/list-item
  ✖   19:3    Invalid list item link URL                              remark-lint:awesome/list-item
  ✖   20:3    Invalid list item link URL                              remark-lint:awesome/list-item
  ✖   21:5    Invalid list item link URL                              remark-lint:awesome/list-item
  ✖   22:5    Invalid list item link URL                              remark-lint:awesome/list-item
  ✖   23:3    Invalid list item link URL                              remark-lint:awesome/list-item
  ✖   24:3    Invalid list item link URL                              remark-lint:awesome/list-item
  ✖   45:57   List item description must end with proper punctuation  remark-lint:awesome/list-item
  ✖   80:15   Remove empty section: "Conferences"                     remark-lint:no-empty-sections
  ✖   84:6    Remove 1 space before this heading’s content            remark-lint:no-heading-content-indent
  ✖  105:3    Incorrect indentation before bullet: remove 1 space     remark-lint:list-item-bullet-indent
  ✖  106:3    Incorrect indentation before bullet: remove 1 space     remark-lint:list-item-bullet-indent
  ✖  107:3    Incorrect indentation before bullet: remove 1 space     remark-lint:list-item-bullet-indent
  ✖  108:3    Incorrect indentation before bullet: remove 1 space     remark-lint:list-item-bullet-indent
  ✖  109:3    Incorrect indentation before bullet: remove 1 space     remark-lint:list-item-bullet-indent
  ✖  110:3    Incorrect indentation before bullet: remove 1 space     remark-lint:list-item-bullet-indent
  ✖  110:87   Found reference to undefined definition                 remark-lint:no-undefined-references
  ✖  111:3    Incorrect indentation before bullet: remove 1 space     remark-lint:list-item-bullet-indent
  ✖  111:121  Found reference to undefined definition                 remark-lint:no-undefined-references
  ✖  112:3    Incorrect indentation before bullet: remove 1 space     remark-lint:list-item-bullet-indent
  ✖  113:3    Incorrect indentation before bullet: remove 1 space     remark-lint:list-item-bullet-indent
  ✖  114:3    Incorrect indentation before bullet: remove 1 space     remark-lint:list-item-bullet-indent
  ✖  115:3    Incorrect indentation before bullet: remove 1 space     remark-lint:list-item-bullet-indent
  ✖  116:3    Incorrect indentation before bullet: remove 1 space     remark-lint:list-item-bullet-indent
  ✖  117:3    Incorrect indentation before bullet: remove 1 space     remark-lint:list-item-bullet-indent

  33 errors

https://github.com/sindresorhus/awesome-lint

Closing for lack of response.

Closing for lack of response.

Sorry for the lack of response, haven't the time to work on the complexity list it lately. Once I am back on it I will should I do a new pull request or it is possible to continue on this branch?


Adding new grooves for slitting

Summary
Include grooves for slitting passes.
Detailed Description
To further expand the possible use cases of PyRolL various grooves for slitting technology should by added.
These consist of a multi-dog-bone groove as well as a upset square.
The multi-dog bone most often consists of 2 rounds and 2 oval grooves depending on the slitting type.
Further Information, Files, and Links

Implementation from #76 is not what we need. We need distinct geometry solving for separator geometry (radius).
Additional features needed:

Unit to split the slitting profile in parts.
Data concept for returning multiple out profiles resp. open up multiple strands.

Was asked by F. Belini and Lonato if we provide that.
Will transfer this task to new HiWi


New method: chopByKind

Remove subtrees of a specified 'kind' using a data predicate

Coverage increased (+0.01%) to 99.57% when pulling d8006d72913430a3a8aa765eaf531471c9f41391 on AGascoigne:master into 68463bd12302801fc28289293205ffbff59436e6 on i-e-b:master.


add support for size_t and off_t in syscall returns

"target long" and "target ulong"

struc has this upstream?


❤⚔💙 Confederate Flag emoji

Unlike US state flags, the flag of the short-lived Confederate States of America (CSA) is not covered by any part of ISO 3166. It remains popular in the South-Eastern United States as a symbol for rebellion, independence, local pride, conservatism and white supremacy.
As an alternative or intermediate solution, people could adopt a canonical Emoji (ZWJ) Sequence, e.g. using the Red and Blue Hearts:

❤⭐💙
❤🌟💙
❤✨💙
❤🌠💙
❤❎💙
❤❌💙
❤💫💙
❤💢💙
❤⚔💙

Using a sequence of the US Flag emoji and a qualifier would be less preferable on both technical and emotional grounds:

🇺🇸🌠
🇺🇸❎
🇺🇸❌
🇺🇸💢
🇺🇸⚔

Petitions

change.org: Confederate Flag

https://www.change.org/p/samsung-confederate-flag-emoji

Mockups
Emojitwo:

Because no one wants to see the American Devil Flag on a list of emojis.

I think many people would use it, it's not an offensive symbol, that's just a part of american south history and local pride. So why not add it?

The major problem is that there is no obvious way hope to encode it. A minor problem is that it is indeed offensive to many people (because other emojis are as well).

If this is added, are we prepared to add one for the Nazi flag, or the ISIS flag?
Because there is already an appropriate emoji reaction to adding such a symbol... 🖕

It is necessary to disclaim any connection of these Confederate flags to neo-nazis, red-necks, skin-heads and the like. These groups have adopted this flag and desecrated it by their acts. They have no right to use this flag - it is a flag of honor, designed by the confederacy as a banner representing state's rights and still revered by the South. http://www.usflag.org/history/confederatestarsandbars.html

Why would a flag of a now-defunct insurgency, attempting to secede from the
US federal government in order to preserve slavery, represent state's
rights within that union, or anything else other than the cause of that
insurgency?
On Wed, Aug 22, 2018 at 5:51 AM Craig Dayton<EMAIL_ADDRESS>wrote:

It is necessary to disclaim any connection of these Confederate flags to
neo-nazis, red-necks, skin-heads and the like. These groups have adopted
this flag and desecrated it by their acts. They have no right to use this
flag - it is a flag of honor, designed by the confederacy as a banner
representing state's rights and still revered by the South.
http://www.usflag.org/history/confederatestarsandbars.html
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Crissov/unicode-proposals/issues/115#issuecomment-414891184,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABlkLrPmQQxelQaowLXfuxzujvDKM1fkks5uTMdHgaJpZM4L3p33
.

It is honoring the southern farmers who had the balls to unite against  the economic sanctions imposed by the north.  The civil was about economics not about slavery.   There are millions of economic slaves in China today and nobody cares enough to do anything about it.  Keeping the memory alive might help future generations avoid a repeat.

Again, I don't understand why this flag would be any different than any other non-state or former flag.
Should Unicode add flags for, say, former countries like Yugoslavia, to help remember the pan-slavic movement? Or any of several thousand other non-state flags? The simple answer is that Unicode flags are for countries, and I don't see any reason to give special status to a small group of Americans in the southern United States who have an emotional attachment to this flag.
This is completely separate from the concern @cadayton tried to address, since we all understand that there is absolutely no way that it's not also going to be used as a racist symbol.

Not advocating there be a ISO code for the Confederate Navy Cross flag.  But do think the association to radical activist uses of it shows total lack of historical knowledge.

"total lack of historical knowledge. "
You're referring to the origin of the flag, back in the 1950s and 1860s,
which I'm very aware of. And the civil war was about slavery and rebellion
against the US government, not states rights within that framework. But the
claim that it's not associated with racism and radical activism shows an
additional and much more glaring lack of knowledge about the 1950s and
1960s, which is when the symbol began to be used after a century lull, as
well as an ignorance of current political symbolism.
On Sat, Aug 25, 2018 at 9:33 PM Craig Dayton<EMAIL_ADDRESS>wrote:

Not advocating there be a ISO code for the Confederate Navy Cross flag.
But do think the association to radical activist uses of it shows total
lack of historical knowledge.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Crissov/unicode-proposals/issues/115#issuecomment-415988274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABlkLlUMucXBwicLb8CoevNTa-7F2uABks5uUZiWgaJpZM4L3p33
.

The civil war was simply about money.  The north trying to control the prices of the southern corps and blocking exports from the southern states.  Slavery and other issues were simply propaganda by the north to justify their actions.

The flag stands for the army of northern Virginia or as some called it "Lee's army"... the rest of the states saw how successful lee's army was... so they started using it as their BATTLE FLAG... this is a symbol of soldiers and state rights.... just cuz some use it as hate symbols don't mean it was meant to be used as one... stop slurring the flag of my home
If the US lost the civil war would y'all be slurring their flag or burning it?  Now think twice before making fun of southern people. Furthermore, since the KKK uses white bed sheets as their symbol as well, let's ban white bedsheets as well 😂

As a Brit, i'm happy to slur the current US flag if that would help!

Add the emoji, it would go great with the 5 flags I have up in my house

Now they can be racist over the Internet YEEYEE

i think that any symbol available today as emoji can become offensive for some people tomorrow.
tomorrow some neo nazi movement can take a banana symbol, or some flower as their sign. will we then remove it from unicode?
imagine hitler happened today. we would have already an emoji that he would use as swastika. hey the swastika is not his invention, it existed before nazis for several thousand years.

Isn't that Confederate Flag the wrong flag?
Pretty sure the most recent one was
...

Personally I would like all the historical flags even the offensive ones, but it is true that many of them would offend many people probably

I would like all of the historical flags even the offensive ones. Yes could be miss used however, but in many cases like let's say a history video on YouTube would be extremely useful
Also language can be offensive as well, should we remove all offensive words from the English language? No that would be ridiculous

There's an entire section of the proposals document on the rules for flags: https://unicode.org/emoji/proposals.html#Flags
From that section: "The Emoji Subcommittee and the UTC will no longer accept proposals for flags."
If you want a new flag, the proper procedure is to request a change to the process, not to ask for the flag. This was closed. Please stop asking.

If this is added, are we prepared to add one for the Nazi flag, or the ISIS flag? Former countries, Non-countries, and terrorist organizations or insurgencies don't get Unicode symbols - and the so-called "Confederacy" is certainly in at least one of those groups.


Just checked. Ok the default configuration is something missing.
Can you set the font locator to DirectWrite? Most likely you are using fontconfig.
I should make the platform native one the default.

Just checked. Ok the default configuration is something missing.
Can you set the font locator to DirectWrite? Most likely you are using fontconfig.
I should make the platform native one the default.

 Will be using Windows ASAP to compare and check :)

i am using JetBrains Mono NF Mono in fact, too.
I got it somewhat working using the following config:
        font:
            size: 13
            locator: DirectWrite
            text_shaping:
                engine: DirectWrite
            builtin_box_drawing: true
            render_mode: gray
            strict_spacing: true
            regular:
                family: "JetBrainsMono Nerd Font Mono"
                weight: Regular
                slant: normal
            emoji: "JetBrainsMono Nerd Font Mono"

wt:

contour:

the font glyphs work fine in all other applications, but VSCode does have the same spacing in the prompt, so not sure whats up with that.
glyphs used
$Emoji            = @{
    nf_fae_comet                   = [char]0xE26D # 
    nf_md_arrange_bring_forward    = "`u{f003d}" # 󰀽
    nf_fa_folder_open_o            = [char]0xF115 # 
    nf_md_subdirectory_arrow_right = "`u{f060d}" # 󰘍
    nf_warn_icon                   = [char]0x26A0 # ⚠
    nf_oct_hourglass               = [char]0xf4e3 # 
    nf_folder_icon                 = [char]0xe5ff # 
    nf_success_icon                = [char]0xf42e # 
    nf_pom_internal_interruption   = "`u{e009}" # 
    nf_md_home                     = "`u{f02dc}" # 󰋜
    nf_pl_left_hard_divider        = [char]0xE0B0  # 
    nf_pl_right_hard_divider       = [char]0xE0B2 # 
    nf_pl_left_soft_divider        = [char]0xE0B1 # 
    nf_pl_right_soft_divider       = [char]0xE0B3 # 
    nf_ple_right_half_circle_thick = [char]0xE0B4 # 
    nf_ple_left_half_circle_thick  = [char]0xE0B6 # 
    nf_md_powershell               = "`u{f0a0a}" # 󰨊
    nf_seti_powershell             = "`u{e683}" # 
    nf_cod_terminal_powershell     = "`u{ebc7}" # 
    nf_seti_play_arrow             = "`u{e602}" # 
    nf_fa_exclamation              = [char]0xf12a # 
    nf_md_exclamation              = "`u{f0205}" # 󰈅
    nf_cod_error                   = "`u{ea87}" # 
    nf_seti_error                  = "`u{e654}" # 
    nf_md_plex                     = "`u{f06ba}" # 󰚺
    nf_fae_real_heart              = "`u{e23a}" # 
    nf_stopwatch                   = "`u{23F1}" # 󰓣
    nf_dev_code                    = "`u{e796}" # 
    minispace                      = [char]0x2009 # mini space
}

the minispace seem to break alot of stuff so had to disable that.


fix region url for us-east-1

Currently the tool is broken for all buckets in us-east-1 region.
For Reference: #14

Is there anything else that needs to be done with this PR to be merged? I am having the same issue.

Sorry for the wait, I'm not using the tool as much as before! Thanks for the PR!


Updated readme

added requirments and how to set path to run script from anywhere in
terminal

Awesome, thanks! :)


Bug: problem with inline mode

reproduced in this demo:
https://codepen.io/AkramiPro/pen/OJeNorz
pr:  #155

This will fix your problem:
https://codepen.io/mbassit/pen/xxoVyPq
I basically just added a child div inside .form-color-picker-wrap and called it .form-color-picker-wrap-inner and gave it a width of 100%. I set the new div as the parent element of the color picker. The button on the left side and the gap property were interfering with the calculation of the position.

Thanks for your reply.
but it is not better to support all situations ?
I think it is better to handle it on the js side instead of the client side.

Your PR fixes your use case but breaks the marker position for other cases. This tool is already being used in production, so any modification has to be thoroughly tested.

you right
i will make a new pr after i test all possible ways
thanks for help


Player's helmet got replaced with their own head

Bug Report 🐛

Plugin Version

1.56
Server Version

Current: git-Purpur-1732 (MC: 1.19)*
StackTrace

no error
Steps to Reproduce

player was killed by shulker. their head was in their grave, but their netherite helmet was missing

Thanks for reporting an issue.
This sounds like an issue with the graves plug-in.  HeadDrops does not alter the player’s death drops; it only appends their head item to it.  I’d recommend reporting this issue to the developer of the Graves plug-in.


Plans / commitment to support Blazor?

Is this a Bug or Feature request?: Feature
From what I can tell, vscode has not been keeping up with blazor updates.  For example the @code { } block added in preview 6 (2 months ago) isn't being picked up, coloring and intellisense isn't really working, and errors aren't highlighted in razor files.
Is there any guidance on what level of support we might get for Blazor in VSCode moving forward?  Any estimated timelines?
Perhaps the wrong place to ask this, but if not vscode, can we expect parity in Visual Studio for Mac?  This is an important issue for teams with Mac developers.  Perhaps my real question is: Is there a practical future for professional Blazor development on Mac?

Hey @srowan, glad you're interested in Blazor support for VSCode 😄.
In VSCode, coloring is just a facade and doesn't result in any actual errors. Also, any editor interactions in discolored areas will still result in proper completion, IntelliSense etc.
In regards to Blazor support in VSCode, we make sure to release latest Razor/Blazor support for VSCode every release. This typically involves new language features such as directive attributes (@onclick), new components etc.
Allll of that being said, we're tracking the fix to coloring over here, stay tuned!


Added extension for quick adding issues on the fly

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md

I am:

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection
[ ] Unaffiliated with the project (not self-promoting as e.g. a maintainer, creator, contractor or employee)

EDITING AN EXISTING TOPIC OR COLLECTION
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288)
[x] Content (and my changes are in index.md)

Please explain why these changes are necessary:
I built an extension to scratch and itch so you can setup issues from anywhere via a browser extension and then they submit over to the selected repos new issue page. Let me know what you think :+1:
CURATING A NEW TOPIC

[ ] I've formatted my changes as a new folder directory, named for the topic as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME])
[ ] My folder contains a *.png image (if applicable) and index.md
[ ] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please explain why you think this topic should be curated:
CURATING A NEW COLLECTION

[ ] I've formatted my changes as a new folder directory, named for the collection as it appears in the URL on GitHub (e.g. https://github.com/collections/[NAME])
[ ] My folder contains a *.png image (if applicable) and index.md
[ ] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please explain why you think this collection should be curated:
Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Hi @stilliard thanks for the contribution ❤. Unfortunately, as per our contribution guidelines, we don't allow self promotion if you are a maintainer of the project:

Unaffiliated with the project (not self-promoting as e.g. a maintainer, creator, contractor or employee)

Thank you!

Hey @talsafran , ah my bad I skipped over that.
No worries, thanks anyway :)


Unbox server handshake future

Server-side version of #42. I've rewritten server::Handshake to store the inner future with a named type, rather than as a Box<Future>. In addition to removing a Box, this also means that the 'static lifetime bounds on the type parameters T and B can be removed.
The type of the server handshake future is somewhat more complex than the client-side handshake future. Note also that I've had to re-export proto::streams::Prioritized as pub(crate) from proto, as it appears in the type of the handshake future.
I've ran the tests against this branch and everything passes. Since no new functionality was added, I haven't added any additional tests.

@carllerche hmm, looks like this no longer works with the master version of Server::handshake2, since the settings argument now has to be passed to Connection::new, and the closure now captures scope (so we can't treat it as a fn pointer any longer).

It could be written without using the combinators, it would just require Handshake to implement the state transitions itself.

@seanmonstar yeah, and I'm happy to look into that; may just take a little bit longer.

Is the plan to pursue or abandon (for now) this change?

@carllerche I'm planning to continue working on this; there are just a couple other tasks up-stack from it at the moment.


search only returns 10 entries

Every search I do returns 10 entries. For example
target = 'O=C(C)Oc1ccccc1C(=O)O'
sw = SmallWorld()
results : pd.DataFrame = sw.search(target, dist=12, db='REAL-Database-22Q1.smi.anon')

I also get this error:
ChunkedEncodingError: search may be incomplete
/usr/local/lib/python3.8/dist-packages/smallworld_api/search.py:39: UserWarning: No completed return code returned (generally harmless). See `.query_summary` for actual response
  warn(f"No completed return code returned (generally harmless). See `.query_summary` for actual response")

Any help is appreciated

Never mind. Found the length keyword in the source code. Might want to include that in the README file.


LivePersona - issues with on hover

Category
[ ] Enhancement
[ ] Bug
[X] Question
Version
"@microsoft/sp-core-library": "1.15.0",
"@microsoft/sp-lodash-subset": "1.15.0",
"@microsoft/sp-office-ui-fabric-core": "1.15.0",
"@microsoft/sp-property-pane": "1.15.0",
"@microsoft/sp-webpart-base": "1.15.0",
"@pnp/spfx-controls-react": "^3.9.0",
"office-ui-fabric-react": "7.185.7",
"react": "16.13.1",
"react-dom": "16.13.1",
"tslib": "2.3.1"

Expected / Desired Behavior / Question
I am able to get LivePersona working on hover when I use static values for upn.  However, I can't figure out how to make it work with dynamic values.  I've confirmed the values are correct, and there are no errors in the dev console.  I do notice that the event listener on focus is there for static values, but not when I do dynamic values (livepersonacard_with-react_532dbb3bf20a71f2e874.js).  I've tested this in my actual project as well as a bare-bones webpart I made just for experimenting with the LivePersona component.  What am I missing?  Is it something with the serviceScope?

I have additional info: the dynamic data is not the issue.  I have a test with one hard coded entry and multiple dynamic ones.  On initial page load, hover does not work, and I see this message in the console:

However, if I hover over the page author card first, then all of my LivePersona components start working and the console message goes away.
Network tab, hover prior to hovering over author card:

Element and event listeners before author card:

Network tab, hover on my component after the author card:

Element and event listeners after author card:

Something is not being initialized when the component mounts.  What am I missing?

Issue resolved.  I needed to make a prop for context, typeof WebPartContext, and use that for my serviceScope as this.props.context.serviceScope.


[ENH] Complete refactor

PR Description
Please describe the changes proposed in the pull request:

Uses expand_grid to generate cartesian index.
Add by parameter, allowing complete to work with groupby.
Add groupby example to function.

This PR improves the complete function.

PR Checklist

Please ensure that you have done the following:

[x] PR in from a fork off your branch. Do not PR from <your_username>:dev, but rather from <your_username>:<feature-branch_name>.

[x] If you're not on the contributors list, add yourself to AUTHORS.rst.

[x] Add a line to CHANGELOG.md under the latest version header (i.e. the one that is "on deck") describing the contribution.

Do use some discretion here; if there are multiple PRs that are related, keep them in a single line.

Quick Check
To do a very quick check that everything is correct, follow these steps below:

[x] Run the command make check from pyjanitor's top-level directory. This will automatically run:

black formatting
flake8 checking
running the test suite
docs build

Once done, please check off the check-box above.
If make check does not work for you, you can execute the commands listed in the Makefile individually.
Code Changes

If you are adding code changes, please ensure the following:

[x] Ensure that you have added tests.
[x] Run all tests ($ pytest .) locally on your machine.

[x] Check to ensure that test coverage covers the lines of code that you have added.
[x] Ensure that all tests pass.

Documentation Changes

If you are adding documentation changes, please ensure the following:

[x] Build the docs locally.
[x] View the docs to check that it renders correctly.

Relevant Reviewers

Please tag maintainers to review.

@ericmjl

@ericmjl ; how do I view the lines of code that fail codecov?

@ericmjl  when I try viewing the PR on codecov to see the lines causing the issue, I get this message:

@samukweku, I think you'll need a codecov account too. Let's take it to discord.


Revert "Pass through X-Client-IP header to WDQS"

Misclick, I am sorry about that.

I think it was fine to merge.  We can leave this open for now in case it turns out we won't use the header after all.

This repository is closing, please resubmit as a PR to https://github.com/kartotherian/kartotherian


Extracting usernames from matched line

In reply to your comment in the get_user_pw() function, I think it is probably better to split the line only at the first white space character.
Currently, if the username has a space in it, you're only returning the first "word" of it. You can use maxsplit=1 to split at the first occurrence.
>>> 'login: john doe'.split()
['login:', 'john', 'doe']
>>> 'login: john doe'.split(maxsplit=1)
['login:', 'john doe']

passff expects the login (and url) field names to be separated by a colon. I like that personally because it encourages me to format everything after the password on line 1 as YAML, which helps me keep entries clean and parsable. If you wanted to follow that convention you could just split at the first : and then strip leading/trailing white space, but I don't know if that's really any more useful than splitting at the first white space.

It does sound like a better specification to me and if we'd use something like YAML, this can make other use cases for extracting info and acting on it simpler.

Solved by PR #9


Jest CLI Option to hide usage information in watch mode

#3052 #2049 #2223
Summary
I was missing some option in Jest that could hide the Watch Usage menu because in some situations this menu was generating to much unnecessary noise on the screen.
Test plan
writing jest --watch --hideUsage will only show, after the tests, the following message:
`Press a to run all tests, or run Jest with --watchAll.
Watch Usage: Press w to show more.`

It currently collapses after the first run, which I believe is a sensible default. We previously removed this control because we didn't see a need for this complexity inside of Jest and it certainly doesn't warrant a configuration option.


Fixes an error when trying to find the current tag from an non existing pre-release tag

This should fix #607

This looks promising, until this is integrated in this lib we are doing this manually

@yjaaidi @edbzn could you take a look at this? It would be great to get this in, since I am having the same issue.

Hi sorry I can't do anything now I'm in holidays with limited network and no computer, I will check it when I'm back!

Hey! I'll take care of this during the week

Thank you so much @kaoz70! 🙏
LGTM!


net/haproxy: plan upgrade to 2.0 release series

HAProxy 1.9.0 has just been released a few days ago:
<EMAIL_ADDRESS>One of the most interesting features is end-to-end HTTP/2 support. But the HAProxy team more or less recommends to wait for the upcoming 2.0 release:

An important point to note, this technical release is not suitable for inclusion in distros, as it will only be maintained for approximately one year (till 2.1 is out). Version 2.0 coming in May will be long-lived and more suitable for distros.

Considering that the 1.9 release may still not be perfectly suited for production use at this point in time, I suggest to wait for 2.0 instead. (We switched from 1.7 to 1.8 too early, this caused trouble for a number of users. Lessons learned.)
Assuming that HAProxy 2.0 arrives in May, my goal is to make the switch in time for OPNsense 19.7 (or an early 19.7.x release).
That being said, it might be OK to switch the development version of os-haproxy to 1.9 already.

@fichtner FYI, I think we should skip HAProxy 1.9 and wait for 2.0 (see description).

HAProxy 2.0 was just released some days ago. \o/ We're slowly getting there...

19.7.3 will have "haproxy" package as 2.0.x. All yours now to proceed. :D

I'm confused.
I have updated to 19.7.3 just now and can't seem to enable either TLSv1.3 or backend http/2 via alpn. The config check says it's not supported as opposed to the HAProxy documentation that says it can be passed as a backend bind parameter now.
Did i misunderstand something?

TLS 1.3 needs Openssl 1.1.1 which is not supported by OPNsense 19.7 yet, needs 20.1 (12.0)

@mimugmail I have the same issue in nginx. HTTP/2 is working but features like 0-RTT do not work due to missing support of TLS 1.3 in the current crypto library.
BTW: As far as I can remember it is your plugin which blocked the upgrade (net-snmp).

BTW: As far as I can remember it is your plugin which blocked the upgrade (net-snmp).

Huh?!

On 31. Aug 2019, at 08:39, Fabian Franz BSc<EMAIL_ADDRESS>wrote:
@mimugmail I have the same issue in nginx. HTTP/2 is working but features like 0-RTT do not work due to missing support of TLS 1.3 in the current crypto library.
BTW: As far as I can remember it is your plugin which blocked the upgrade (net-snmp).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@fichtner net-snmp was on the list of packages (provided by FreeBSD) in OPNsense, which did not compile with OpenSSL 1.1.1. Don't know if it works now.

Is there any ETA on OPNsense 20.1?

2020-01 (January next year, according to schedule)

Is the haproxy1.8 freeze still active?

Yes, we're still on HAProxy 1.8. I'm actively monitoring HAProxy's bug tracker and waiting for some specific bugfixes to arrive before we'll perform the switch to the 2.0 release series. Currently I'm expecting HAProxy 2.0.6 to contain all required bugfixes.

FWIW, please note that we track TLS 1.3 support in another issue independently from the HAProxy upgrade: https://github.com/opnsense/plugins/issues/790

My gut feeling says that HAProxy 2.0.6 is right around the corner, so we'll switch to the 2.0 release series when OPNsense 19.7.5 is released (NOT tomorrow's release).


After implementing multi-admin, how should I use CHIP-TOOL to query all administrators of the matter device?

Test issue(s)
After implementing multi-admin, how should I use CHIP-TOOL to query all administrators of the matter device?
I noticed that I can see all the administrators of the device in full in Homekit, but I didn't find a way to implement it in CHIP-TOOL, can you tell me how to go about it?
Platform
other, all
Anything else?
No response

chip-tool operationalcredentials read fabrics ${NODE_ID} 0 --fabric-filtered false

That is, read the "Fabrics" attribute from the "Operational Credentials" cluster on endpoint 0 of the node, and turn off fabric-filtering, so you get all the entries for all the fabrics.

I have tried the commond you say, but I can only get the information below.
I still can't get the admins' name like what Homekit can do in the picture above.

chip-tool operationalcredentials read fabrics ${NODE_ID} 0 --fabric-filtered false

That is, read the "Fabrics" attribute from the "Operational Credentials" cluster on endpoint 0 of the node, and turn off fabric-filtering, so you get all the entries for all the fabrics.

I have tried the commond you say, but I can only get the information below.

Please attach (as a text attachment, not paste, not an image) the full log from the command involved, including the chip-tool command line.
Because either you left off --fabric-filtered false or this is not the same device as the "Connected Services" screen shot above (which seems to show three fabrics, whereas here the new screenshot only shows one).

But also: I am pretty sure the strings shown above do not come from the device.  "Matter Test" just means the VendorId was 0xFFF1 == 65521.  "Apple Home" means the vendor ID was 0x1349, etc.

Thank you for your reply! I corrected the command I entered and can successfully see 3 fabrics with CHIP-TOOL connected to the device at the same time as Homekit (image and text are below).
I would also like to ask why three fabrics and what is this extra VendorID: 4996?
result.txt

4996 == 0x1384 is "Apple Keychain". That's the fabric that lets you have that "Connected Services" UI even if a device is removed from Apple Home, lets you easily commission the device onto other fabrics even if it gets removed from Apple Home, etc.

Could you tell me how to implement what you said about continuing to implement that commission the device onto other fabrics after deleting the device in Homekit's Home? I would like to know the relevant operations and commands, thank you!

See https://developer.apple.com/documentation/mattersupport


Repo sync working branch

  Too many files - PR blocked
This public repo applies limits on the number of files that can be merged in a single pull request (PR):

Warning Warning message and ability to unblock PR using the Merge large pull request* label - 30
Block Block message and PR is blocked - 100

This pull request will change 1423 files, which exceeds the block limit of 30. This PR will not be merged.
To merge this pull request
You must either reduce the number of files being changed to below the 100 file limit or split the changes into multiple PRs. PRs must not have more than 100 files and fewer than 30 files if possible.
To reject this pull request
If you want to abandon these changes and not merge this PR, click Close pull request at the bottom of this page to close it without merging. Work with your team to revert any changes that aren't correct.
* You must have write or triage access to this repo to add labels.


[MB-6194] Extend user endpoint to update Active status

Description
This PR updates the existing endpoint PATCH /users/{userId} to support changing the Active status of a user in the users table.

The previous iteration used the update endpoint only to revoke user sessions, which was reflected in the naming.
I've renamed all related functions, etc. to UpdateUser, UserUpdatePayload, etc. None of the previous code by @monfresh was altered except for renaming.
This makes the code more flexible in case we need to add additional user properties to update in the future.
Added new service object to handle updating the user (aside from session revocation, which already has its own SO). For now, this only handles the Active status, but I left a comment to direct any future engineer to add their changes to UpdateUser.
Updated tests for the handler and added tests for the service object

Reviewer Notes
See: https://github.com/transcom/mymove/compare/update-user-in-admin-app-mb-6194?expand=1#diff-1c02fbb6907330dee84754ccc54da0c2f62468c90e66e838504434b740df4279R126
Would love to know if there's a better way to do this in golang!
Setup
Tests:
go test ./pkg/services/user --testify.m "TestUserUpdater" -v
go test ./pkg/handlers/adminapi/ --testify.m 'TestUpdateUserHandler' -v
You can also test the endpoint using Postman if you would like to brave the CSRF token setup. YOU CAN DO IT. Ping me if you want to pair to set it up.
Here are some instructions I wrote down for myself:

Make sure you have Postman Interceptor installed in your browser and you've added adminlocal as a domain
Open Postman -> Make sure Interceptor is turned on in Postman and you've added adminlocal as a domain
Run make server_run and make admin_client_run
In admin app, log in as local admin user
Open up dev tools -> Application -> Cookies -> Copy the token for admin_session
In Postman, make GET request to http://adminlocal:3000/admin/v1/users/{userId} You'll probably get a 403 because we need to update the admin_session token.
Click the cookies link in your postman app (underneath the request path) -- you should see all populated. Click the admin_session cookie, paste in your new value, and save.
You can redo the GET request now and you should receive a response.
To do a PATCH request, click the cookies link again and copy the masked_gorilla token value.
Add a header for your request with the key X-CSRF-TOKEN and value <token value you copied>
Add a body to toggle the active status.

{ "active": false}

Hit it!

Code Review Verification Steps

[x] Request review from a member of a different team.
[x] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Messages

:book:
:link: MB-6194

  Generated by :no_entry_sign: dangerJS against 0d01c41d53fb88a806bf789b5b32730705abe2a7

Messages

:book:
:link: MB-6194

  Generated by :no_entry_sign: dangerJS against 0d01c41d53fb88a806bf789b5b32730705abe2a7


Segmentation Fault using python-saml 2.4.0 and dm.xmlsec.binding 1.3.3

Hello all,
I've been having a Segmentation Fault issue with dm.xmlsec.binding 1.3.3 and I really don't know how to get around it.
I'm working on a macOS 11.6 machine, and installed python-saml 2.4.0 from pip, which in turn requires dm.xmlsec.binding 1.3.3. I know this is an old version, but the requirement comes from a project where we're still stuck with python2. I know it's maybe not supported anymore, but I hope to find a solution anyway since all my colleagues have no issues using the library.
As soon as I call the python-saml SAMLAuth.start() method (CASAMLAuth is my SAMLAuth subclass):
response = super(CASAMLAuth, self).start()

python-saml starts to do its stuff until it calls dm.xmlsec.binding:
https://github.com/onelogin/python-saml/blob/27bce0081b180f90ac094ceefaa38183bfc47212/src/onelogin/saml2/auth.py#L503-L505
At this point, when dsig_ctx.signBinary() is called, I get the SIGSEGV.
I managed to attach lldb to the process and I get this output:
$ lldb
(lldb) attach 64516
Process 64516 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00007fff203f5656 libsystem_kernel.dylib`__select + 10
libsystem_kernel.dylib`__select:
->  0x7fff203f5656 <+10>: jae    0x7fff203f5660            ; <+20>
    0x7fff203f5658 <+12>: movq   %rax, %rdi
    0x7fff203f565b <+15>: jmp    0x7fff203ee6bd            ; cerror
    0x7fff203f5660 <+20>: retq
Target 0: (python) stopped.

Executable module set to "/Users/claudio.mezzasalma/.pyenv/versions/saml-test/bin/python".
Architecture set to: x86_64h-apple-macosx-.
(lldb) continue
Process 64516 resuming
Process 64516 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x100000019)
    frame #0: 0x0000000109b9a827 libcrypto.1.1.dylib`RSA_get0_key + 9
libcrypto.1.1.dylib`RSA_get0_key:
->  0x109b9a827 <+9>:  movq   0x18(%rdi), %rax
    0x109b9a82b <+13>: movq   %rax, (%rsi)
    0x109b9a82e <+16>: testq  %rdx, %rdx
    0x109b9a831 <+19>: je     0x109b9a83a               ; <+28>
Target 0: (python) stopped.
(lldb) detach
Process 64516 detached
(lldb) q

At this point, unfortunately, I don't know what to do. Of course, I installed libxmlsec1 via brew:

$ brew install libxmlsec1

I also tried to build it from sources with Brew:

$ brew install libxmlsec1 --build-from-source

But nothing changed. As I said, the thing that drives me crazy is that all my other colleagues seem to be fine with the very same configuration.
After spending a whole week on this I thought that maybe someone has some hint.
Thanks anyone!

The issue was that pyenv built 2.7.17 upon openssl 1.0.x instead of the installed brew formula<EMAIL_ADDRESS>thus creating a conflict with the openssl version used by libxmlsec1 (1.0 vs 1.1).
Closing.


Query parameters are not rendered to the href of Link

If you create a <Link /> element with either a string or object href, it renders the  tag without any of the query parameters. The onClick handler DOES redirect the browser to the correct place (with the query parameters), but omits it from the actual markup, breaking command-clicks, etc, and any automated traversing like search engines.
Input

	<Link href='/pathname?foo=bar'>String</Link>
	<Link href={{pathname: '/pathname', query: {foo: 'bar'}}}>Query</Link>
	<Link href={{pathname: '/pathname', search: '?foo=bar'}}>Search</Link>

Expected

	String
	Query
	Search

Actual

	String
	Query
	Search

This is fixed in WIP PR #130! I had some bad tests stubs that resulted in false positives before 😬 I'll ping here on release.

Should be fixed in v13.0.0!


Suggestion to open REST API documentation to support secondary development

Is your feature request related to a problem? Please describe
None.
Describe the solution you'd like
I would like to suggest opening up REST API documentation for the answer project to allow secondary development by third-party developers and partners.
Providing API documentation could enable the creation of integrations and add-on applications that enhance the capabilities of answer. Some ideas include mobile apps, browser extensions, or import/export tools for answer content.
Opening the API with thorough documentation and examples would make it easier for external developers to build on top of answer in innovative ways. It would also demonstrate an openness and willingness to work with the developer community.
I'm happy to discuss API capabilities that would be most useful for integrations with the answer team. Please consider opening access to read and write APIs to grow an ecosystem around the product.
Describe alternatives you've considered
Explore API according to source code and browser console, but this is not stable.

@LinkinStars Great, this is exciting. I looked through the official documents for a long time, but I didn't see this. Thank you for your guidance. I will close this issue and explore the api documentation.


:bug: make color mode navbar item

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #4609
[ ] Requires deployment <>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[x] I've tested it at </bsx/collection>
[x] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

pay 30 usd

😍 Perfect, I’ve sent the payout
💵 $30 @ 24.43 USD/KSM ~ 1.228 $KSM
🧗 FNyt7T1xdbhN7dagf7yGYCRJuE3R45VmTCE3tjzy1rKxa7y
🔗 0x5aab1964a673b8af681354e82c5ba2b2a9ec6acd29a1727d1ecd0dda393151f4
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


add cubefs_in_netease_game_business_practice md

add doc https://github.com/cubefs/cubefs_blog/issues/23

I find it still need to update a file: blog/README.md，otherwise it can't be display. @fengshunli

@heymingwei Let me review this.


Create a Counter Contract but with access control

Description

We want to have an example of access control to some methods, this can be done with a simple CounterContract.

Steps

Create a CounterContract
Add access control to the methods so that the owner of the contract can call them.
Add unit tests.

Will be achieved by writing a CounterContract with owner only access control implementation with unit testing.
ETA: 4 hours.

Could I grab this task?

May I work on this issue @danielcdz?
I will create a new CounterContract and then modify the code so that only the owner can call its functions. I will also add unit tests and make sure everything passes.
ETA: 1 day

I would like to work on this issue

Hi, I am a Cairo developer and I have the opportunity to implement access control in previous projects.

Hey! I'm Gerson. 👋
Member of Dojo Coding. I have contributed before to other projects like:

kakarot-rpc
kakarot-ssj
ef-tests
Raito
Starknet-Phone
Madara
stark-cairo-nodes

Can I work on this issue?
Check my OnlyDust profile, I've contributed to many projects: Profile

Plan to Solve the Issue:

Study the codebase to understand the current structure and functionality.
Understand the problem that needs to be solved by thoroughly reading the issue details.
Leverage all provided resources within the issue to get a better grasp of the task at hand.
If I encounter roadblocks, I will ask questions ASAP in the Telegram group to move forward effectively.
I will open a PR and wait for ur feedback

Can I tackle this one?

May I take this issue on?

Is it okay if I tackle this?  Am a web 2 frontend developer, a solidity smart contract developer/auditor and a cairo smart contract developer. Am a graduate of Starknet Cairo Bootcamp. I have successfully done tasks assigned to me in OnlyDust. If assigned this i would complete it within 1 day.