Investigate required steps to get CAS working with MIE CMK

MIE has added a stack level CMK that encrypts all services. CAS needs to be able to work with this key.

Need to add "kms:Decrypt" permissions to consumer lambda
Need to add "kms:Encrypt" and "kms:GenerateDataKey" to federated IAM roles
Need to adjust MIE DDB stream lambda IAM role to have "kms:Decrypt" permission in addition to generate data key.
Need to add parameter in both CF stacks for retrieving the MIE KMS Key ARN


Identifier '__Runtime' has already been declared. (ReactRefreshPlugin)

I want to test placing svelte app, vue app, react app on the same page, if you just put svlet app and vue ap on the same page, there is no problem, but when I configure ReactRefreshPlugin, the command line shows conflict ：Identifier'__Runtime' has already been declared
node reboost
Error while parsing "/Users/jet/github/fastapi-reboost-app/src/main.js"
You may need proper loader to handle this kind of files.

  12 |     window.$RefreshSig$ = __Runtime.createSignatureFunction;
  13 |
> 14 |   import*as __Runtime from"/Users/jet/github/fastapi-reboost-app/node_modules/@reboost/plugin-react-refresh/dist/browser/runtime.js";import{hot as ReboostHot}from'reboost/hot';const __prevRefreshReg=window.$RefreshReg$;const __prevRefreshSig=window.$RefreshSig$;window.$RefreshReg$=(type,id)=>{const fullId=ReboostHot.id+' '+id;__Runtime.register(type,fullId);};window.$RefreshSig$=__Runtime.createSignatureFunction;import"tailwindcss/tailwind.css";import"./main.css";import App2 from"./App.svelte";const app=new App2({target:document.getElementById("svelteApp"),props:{}});window.app=app;export default app;import{createApp}from"vue";import App22 from"./App.vue";createApp(App22).mount("#vueApp");;window.$RefreshReg$=__prevRefreshReg;window.$RefreshSig$=__prevRefreshSig;ReboostHot.self.accept(updatedModule=>{if(__Runtime.isReactRefreshBoundary(updatedModule)){__Runtime.performReactRefresh();}else{ReboostHot.invalidate();}});;
     |            ^ Identifier '__Runtime' has already been declared
  15 |     window.$RefreshReg$ = __prevRefreshReg;
  16 |     window.$RefreshSig$ = __prevRefreshSig;

reboost.js
const {
    start,
    builtInPlugins: {
        UsePlugin
    }
} = require('reboost');
const SveltePlugin = require('@reboost/plugin-svelte');
const VuePlugin = require('@reboost/plugin-vue');
const ReactRefreshPlugin = require('@reboost/plugin-react-refresh');
const PostCSSPlugin = require('@reboost/plugin-postcss');

start({
    entries: [
        ['./src/main.js', './static/dist/main.js'],
        // ['./src/react/App3.jsx', './static/dist/react.js'],
    ],
    // contentServer: {
    //   root: './static',
    //   open: false
    // },
    // resolve: {
    //     extensions: ['.vue', '.svelte'].concat(DefaultConfig.resolve.extensions),
    //     mainFields: ['.vue', 'svelte', ...DefaultConfig.resolve.mainFields]
    // },
    plugins: [
        UsePlugin({
            // The following regex enables fast refresh for files
            // with .js, .ts, .jsx or .tsx extensions
            // Feel free to use any regex for your files
            include: /\.[jt]sx?$/i,
            use: ReactRefreshPlugin()
        }),
        SveltePlugin(),
        VuePlugin(),
        ReactRefreshPlugin(),
        PostCSSPlugin({
            // Options
        }),

    ]
});

Never considered that someone might use both ReactRefreshPlugin and SveltePlugin on a same file. I will soon release a hot fix for that.

Sadly, the fix would be delayed because somehow my monitor burnt out 😞. Until then you can't use the ReactRefreshPlugin. That's it.

I found out now. The problem is in your plugins, you have put the ReactRefreshPlugin two times. One using UsePlugin and another using ReactRefreshPlugin. Either remove the UsePlugin or the ReactRefreshPlugin.

But when I change the content of the react app, the entire page is refreshed

No way left until I investigate the issue.

Hey, did you try parting up the file. Like this
index.jsx
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { App } from './App.jsx';

ReactDOM.render(<App />, document.getElementById('monaco'));

App.jsx
export const App = () => {
  return (
    /* The editor code */
  )
}

It works, thank you.
I create a project for test
https://github.com/jet10000/reboost-test-app

Glad it worked!


Adds Matchmaking/Tournaments/Gameplay and Websocket API for Matchmaking/Match socket

Overview
Key Features

Online random matchmaking queue
Online Tournaments
Local match
Pong 1972 like gameplay (server side calculation)
User reconnection possible (3 times, the game is paused, if >3 reconnects, the other player wins)
Error handling and checking
Two different sockets
Matchmaking Socket (Handles all matchmaking and tournament related messages.
Should always be open.
Match Socket (Handles only match related messages, like sending positions from the backend
or sending player input from the frontend.

Gameplay features

Ball speed increases over time
Paddle ball collision determines bounce direction
Ball resets after a goal
It's Pong ...

Local match

Two players on one keyboard
Player one keys: W + S
Player two keys: O + L
Will not be tracked in database
Frontend gets an information (is_local_match), so it can handle the names and what not
Will also be calculated in backend

Matchmaking queue

A user can join the matchmaking queue and will be matched with the next user in the
in the queue.

Tournaments

Round Robin
Size is currently limited to 12. (Could be changed to any size)
Is kind of lame because player 1 will play every match against every other user first.
After that the other players play. (So it's not nice for big tournaments, because the waiting time sucks)
Only one match is played at a time and only the playing users can see anything (also lame)

Message API

The documented socket API can be found in backend/static/websocket_messages.yaml.
Every API call is written there and is automatically checked with pydantic in the backend.
It also explains how and for what things the different API calls can be used. (see for example https://github.com/memaar92/transcendence/blob/7d2b7624f895dfe600c401071057c54ee786135b/backend/static/websocket_messages.yaml#L90)

How to test
For testing, I used Firefox with the Firefox Multi-Account Containers, so I could easily log in multiple users in one browser.

Open localhost/pong to test local and matchmaking queue matches
open localhost/pong/tournament to test tournaments

Important notes

A user can only be registered for one thing at a time.
A user cannot register if he is playing or registered somewhere else.
The backend will send a message to the frontend if something is wrong.
Always check the console or websocket log to see if everything is working.
The test frontend is just for testing the bare minimum and will not display any information it receives.
that it receives (this should be implemented by Wayne).
There are several monitors and timers that decide what happens when
one or both players fail to connect, disconnect or reconnect. So the game should
should always end and save something to the database (except for local matches)
Tons of error handling and async magic ...

What to test

Try to brick the server.
In the past, some bugs have bricked the server or the games, so that a user couldn't play anymore because he was
in a running game. (Just look at the server console output if something hangs or is weird)
I hope I fixed everything (as always)

Das war weil ich probleme mit der migration oder so hatte. Können wir auch wieder zurück ändern.


Test

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
What happened instead?
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

test closing


Sorry, your session has expired

Describe the bug
The issue i seem to be running into is because new users can create their account at checkout and when using the BTCPay plugin for payments when they fillout all needed information and then once they click order, instead of it forwarding to the BTCPay payment gateway it then shows the Sorry, your session has expired and then the payment gateway shows, i do not have this issue when using other crypto payment gateways only This one and i prefer to use this since it gives me freedom over my funds. any help would be much appreciated. i have disabled all other plugins ect and the issue still persists this is the only issue my new customers have when checking out, if they are already registered this does not happen since its not trying to create the account at checkout.

** Woocommerce System Status **

WooCommerce Plugin Logs (if applicable)

Your BTCPay Environment (please complete the following information):

BTCPay Server Version:   Latest
Deployment Method:     Docker, Manual
Browser:       Varies

Additional context

Screenshots / Video / GIf (if applicable)

To add onto this the only similar thing i can find online is this https://stackoverflow.com/a/74127429

This only seems to happen when enabling the modal option in the settings on woocommerce


Interval meter reads does not display correct timestamp

When requesting interval meter reads (story #181) the displayed result does not contain correct timestamp. Only 01:00:00 is displayed as timestamp value. An interval time of 15' should be expected according to the story description.

in the pull request for gas stories this issue is solved


Deleting things, part 1 (adding remove links)

Adds a new Nunjucks component (app-summary-card). This has an optional header (that contains a title and optional action links) and whose body accepts a chunk of HTML.
Uses this new component for review pages.
Splits up review includes into individual item includes, and includes that include multiple of these items, (where applicable).

In the process of reviewing to make sure nothing is broken. So far, known issues include:

Can’t edit the data of a GCSE
May need to resolve conflicts with MVP changes on master

From testing this end to end:

After adding my first school exp I can’t add another it seems
Personal statement review doesn’t show values (works fine in Review page, just not when clicking from Application to the section)
No “Completed” section against personal statement either
Maths and English GCSE show fine on the review page, but not on the application section
If I put in a date in work history without a preceding 0 it gets InvalidDateTime showing (eg 1 instead of 01)


Support GitHub Action CI environment

Instead of specifying every environment variable from workflow, we can use data in GITHUB_EVENT_PATH to get necessary data from cienv package internally.
related: #278

ref: #196

I'll work on it.


feat: change default behavior of cdk pipelines

We've tested the CDK Pipelines changes introduced in https://github.com/capralifecycle/liflig-cdk/pull/185, and they seem to work nicely and reduce execution time by at least a couple of minutes. This PR changes the default behavior of CDK Pipelines to match the behavior introduced by the feature flag.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Suggestion: Option to Prioritize Mooch over Patience

When I have the opportunity to mooch right as Patience has times out (when both "Auto Mooch" and "Patience" are selected under "Auto Casts"), it will use Patience instead of Mooch II, wasting the potential Mooch opportunity (this occurs with and without "Don't Cancel Mooch" enabled).
My suggestion is to have an option to prioritize Mooch/Mooch II rather than refreshing Patience and cancelling the mooch, since many fish don't need the Patience buff at all once a Mooch goes through. (Also thanks for working on this plugin, it's absolutely fantastic :D )

It'll only cancel mooch if "Don't cancel mooch" is disabled, otherwise mooch always has priority, also theres a new option to refresh patience before it expires so that could be helpful.


NullReferenceException on ManagerConnection.BuildAction

NullReferenceException throws on 2160 code line number in ManagerConnection.BuildAction method. actionVar.GetVariables() return null, but Count called.
P.S. sorry for my english.

A little more information would help. For example, a snippet of the code you're using in AsterNET which is causing the exception.
Thanks

var managerConnection = new ManagerConnection("some host", 5038, "uername", "password");

managerConnection.Login();

managerConnection.SendAction(new OriginateAction
{
    Channel = $"SIP/114",
    Exten = "some phone number",
    Context = "full",
    Priority = "1",
    Timeout = 15000,
    Async = true,
    CallerId = "backoffice"
}); // throw's NullReferenceException


Update documentation to reflect change in Gunicorn 20

Gunicorn 20.0.0 no longer supports the factory pattern.
A simple change to the documentation will prevent users from trying this method
Here is the github issue regarding the change:
https://github.com/benoitc/gunicorn/issues/2159

also, I'd rather see gunicorn add explicit support for calling an app factory.

also, I'd rather see gunicorn add explicit support for calling an app factory.

I agree with this, but it seems as if the plan is to deprecate this feature.

you shouldn't have an app instance there, I'd rather use myproject.wsgi:app instead.

I can't get this pattern to work on my project.  Setting a variable to equal the return of the app factory is working. How does the "wsgi" call fit in here?

you add a wsgi.py that imports and calls your app factory

I agree with the suggestions. Having a separate module that calls the factory and exposes the result is a good way to do this.

Looks good to me.

Given that benoitc/gunicorn#2178 is slated for 20.0.1 and adds this functionality back, I'm going to close this. Thanks for working on it.


features(table-hybrid): implements table-hybrid-list

Known issues:

Styling targets generic table elements in an effort to avoid significant redundancy in markup. This approach was discussed and reviewed by several core team members before implementation.
Expandable table contains interactive features. I'll remove these after review and before merge.
Expandable table does not pass axe analysis, but does follow the example here: https://www.w3.org/TR/wai-aria-practices/examples/treegrid/treegrid-1.html. This example does not pass axe analysis either (ironically). The result of using aria-posinset and aria-setsize as described is improved VO row definitions. Ex. expandable-row is described as "row one of one" instead of "row two of five," which I believe to be accurate.
Table cells in expandable rows maintain relationship to header cells. I attempted various solutions to remove this, none to avail. @jgiardino do you have any suggestions?
role="grid" prevents cell focus at mobile viewport. This is noted in documentation.

Note: @jgiardino we discussed using role='grid' for all tables. However, after some more testing, VO didn't announce appropriate interactions for aria-expanded, aria-hidden etc.

Deploy preview for pf-next ready!
Built with commit 26c0aabaaeb1f9e0d674e51bc7b4afff4ead1d43
https://deploy-preview-699--pf-next.netlify.com


Come up with a Design/Wireframes for the statement-editor toolbar

Description:
There are areas which could be improved in the statement-editor toolbar. Eg: Support for adding statement qualifiers.
Describe your task(s)
With this task,

[x]  Identify the features that will be supported by the toolbar
[ ] Come up with design/wireframes for the toolbar
[x] Identify the context based suggestions that can be provided with the toolbar

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

The wireframes - https://docs.google.com/document/d/1XZrr9ed0zyXtLHnGjU7wCIyZxfZXJHPEpkj8EGFKAZg/edit?usp=sharing
List on supported context based Expression and Qualifier sugggestions - https://docs.google.com/document/d/1XZrr9ed0zyXtLHnGjU7wCIyZxfZXJHPEpkj8EGFKAZg/edit#heading=h.8tu6kmwmrank

we have decided to add the following features to the toolbar

Visibility qualifier and Keyword support
Allowing modifications in records - make fields optional fields, change records to open and close records (need to compare between the current approach and the toolbar approach)
Enclose expressions within parenthesis
Provide operator support to build up expressions

Arithmetic/ Relational/ Logical etc.
Unary expressions

Suggested design


vlc: 3.0.8 -> 3.0.11 (security)

Includes a security fix for CVE-2020-13428.
improved security for stored passwords (from 3.0.9)
multiple security fixes, including microdns (from <IP_ADDRESS>)
(cherry picked from commit 745245a62a78ec3b13040b9fc947b3943ecc9838)

Motivation for this change
Multiple security fixes and fixed crashes, hence the version bump for stable instead of pulling in all the individual fixes as patches.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

IIUC libmicrodns is built as a separate package so we might want to backport  #84199 too?

IIUC libmicrodns is built as a separate package so we might want to backport #84199 too?

Yes. You especially as you already mentioned the intention to backport in #84199

Nevermind, it's already been backported in 1d8a149ccea76b6fed87d2506391c2905a4c0440, sorry.

ping @teto for merging


Add "username" and "password" as optional Oauth 2.0 authentication

Describe the feature request
Hi!
It would be really useful to be able to add in the client side yaml config file an option to add username and password. This because some web services rely on that data to create a special token. It could be something like:
endpoints:
- name: "/webservice/endpoint"
url: "https://some-url/"
client:
oauth2:
token-url: https://auth.com/protocol/openid-connect/token
client-id: something-client
client-secret: something-password
scopes: ["scope"]
interval: 5m
group: Web Service
conditions:
- "[STATUS] == 200"
Why do you personally want this feature to be implemented?
There are a lot of companies that want to check their services, and implement extra token information that needs to be created with a username and password. Like Keycloak for instance.
How long have you been using this project?
2 months
Additional information
No response

Hello, I also agree.
It is very valuable and important.
When I trying to configure Nifi API monitoring with Gatus using Oauth2 client, I get an error from the Nifi server.
2022-09-11 16:26:56,360 DEBUG [NiFi Web Server-17] o.a.n.w.s.l.RequestAuthenticationFilter Username not found Remote Address [<IP_ADDRESS>]
This problem could be solved by passing Username for the Nifi server.

Hello, I also agree.
It is very valuable and important.
When I trying to configure Nifi API monitoring with Gatus using Oauth2 client, I get an error from the Nifi server.
2022-09-11 16:26:56,360 DEBUG [NiFi Web Server-17] o.a.n.w.s.l.RequestAuthenticationFilter Username not found Remote Address [<IP_ADDRESS>]
This problem could be solved by passing Username for the Nifi server.

Could you expand on what kind of configuration you'd like to see? The example you provided has no username/passwore fields.

Hi! So I was thinking if it could be added as an optional option inside oauth2. Like this.
- name: "/some/endpoint/{id}"
url: "https://some-url.com/"
client:
oauth2:
token-url: https://some-auth-url.com/openid-connect/token
client-id: client-id
client-secret: some-secret
scopes: ["scope"]
username<EMAIL_ADDRESS>password: some-password
interval: 5m
group: Web Service
conditions:
- "[STATUS] == 200"

So what you really want is OAuth2 password grant?
Yeah, that sounds like a reasonable idea.


[SIL] Fix alloc_stack [dynamic_lifetime] attribute cloning.

Make SILCloner:visitAllocStack correctly propagate the [dynamic_lifetime] attribute.
Resolves SR-12886: differentiation transform error related to the VJPEmitter
subclass of SILCloner.

@gottesmm: would you like to sanity check this PR? It should not be controversial.

@swift-ci Please test

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - de31fab9c6f18fadb29872dcefaac4dd6e8affb8

Build failed
Swift Test OS X Platform
Git Sha - de31fab9c6f18fadb29872dcefaac4dd6e8affb8

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 8563a3a78e588a78bc01ae447ee38686b3d5f0a0

Build failed
Swift Test Linux Platform
Git Sha - 8563a3a78e588a78bc01ae447ee38686b3d5f0a0

The test for verification error SR-12886 added in the first commit revealed a second verification error SR-12887, so I pushed  a fix for that too.
Updated PR title and description.

@swift-ci Please test

Build failed
Swift Test Linux Platform
Git Sha - 6f5d4ccd3da998c1ab1addcd5b0039ddcf3ee768

Build failed
Swift Test OS X Platform
Git Sha - 6f5d4ccd3da998c1ab1addcd5b0039ddcf3ee768

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - 1017baa246b3702f4a0c97173be87eeaee488c04

Unrelated llvm macOS CI error.
@swift-ci Please test macOS

Build failed
Swift Test Linux Platform
Git Sha - 1017baa246b3702f4a0c97173be87eeaee488c04

Linux CI appears to have flaked while building SwiftPM.
@swift-ci Please test Linux

Build failed
Swift Test Linux Platform
Git Sha - 1017baa246b3702f4a0c97173be87eeaee488c04

Build failed
Swift Test OS X Platform
Git Sha - 1017baa246b3702f4a0c97173be87eeaee488c04

Linux and macOS platform tests have both flaked multiple times. I'll try smoke tests instead.

@swift-ci Please smoke test

@swift-ci Please smoke test Linux

@swift-ci Please smoke test Linux

@swift-ci Please smoke test Linux

@swift-ci Please clean smoke test Linux

Linux CI still flakes while building SwiftPM: https://ci.swift.org/job/swift-PR-Linux-smoke-test/22548/console
I'm pretty sure it's a flake because the same error occurs for other PRs: https://ci.swift.org/job/swift-PR-Linux-smoke-test/22543
I rebased on top of master in case it helps. Retriggering tests.

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test Linux

@swift-ci Please smoke test Linux


Badge style deploy icon + markdown

It's become been a common practice of project owners to use SVG badges (eg: shields.io) in their project READMEs for various purposes (build status, coverage, etc). Perhaps this project could provide an icon that is styled in a similar manner, and provided as markdown.

[![deploy to salesforce](https://img.shields.io/badge/salesforce-deploy-blue.svg)](https://githubsfdeploy.herokuapp.com)

This is brilliant, how did you create it?

I can't take much credit for that. I used "Your Badge" generator near the bottom of shields.io to build the URL. :wine_glass:


(Easy) Supernova feedback

Some pieces of feedback from the upstream SuperNova review, committing them here allows me not to have to think about porting them later.
Companion PR at https://github.com/lurk-lab/lurk-rs/pull/1019

@adr1anh @mpenciak Please go stamp the companion PR, even if CI appears not to work, as it will allow me to mere this w/o disruption to Lurk.


[BUG] Custom network/config is not presistend

Describe the bug:
VM can't connect to outside network after host reboots.
No ipv4 will be assigned to nic on the vm.
To Reproduce:

Created new vm with Ubuntu installation or cloud init image
Restart host
Start vm and try to connect to the outside

Configuration:

Created custom cluster network
Created network config on second nic
Created untagged vm network
Attachted to vm

Environment:

Harvester ISO version: 1.1.1
Single baremetal with 2 nics

Workaround tested:

Manual ipv4 config doesnt resolve this problem (not working)
Created iptables backup before restart of  of hosts and restored it (not working)
Remove and recreate vm interface, all cluster netwok/config and vm networks (works)

I ran into this in my lab today.
Observations:

When creating a custom cluster network, Harvester builds the network interfaces (example custom ClusterNetwork "app"):

# ip addr show app-bo; ip addr show app-br
48: app-bo: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue master app-br state UP group default qlen 1000
  link/ether 00:25:90:49:66:7f brd ff:ff:ff:ff:ff:ff
38: app-br: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
  link/ether 00:25:90:49:66:7f brd ff:ff:ff:ff:ff:ff

Upon initial setup of the custom ClusterNetwork, the Host Network shows as Ready

However, harvester does not re-instantiate the interfaces when the host is rebooted.

# ip addr show app-bo; ip addr show app-br
Device "app-bo" does not exist.
Device "app-br" does not exist.

After reboot, Host Network looks like this:

The other host in the lab still shows the app-bo and app-br interfaces, but now has the same "invalid vlanconfig" error the first node has (Ready with an exclamation point).

As long as one host is up, the bridge will get recreated on the node that was rebooted when a VM is migrated to that host.

If all nodes are down (or it is a single node harvester cluster), harvester will set the bridge back up when a VM requests it, however will not set up the bond automatically as would be expected.  Manually adding back the bond at the OS level does not fix connection issues.

Work around...manually adding the bridge and bond to /etc/sysconfig/network seems to temporarily fix the issue (until the next outage, since the ifcfg-interface files are removed when the host boots).  VM(s) become accessible again.

# cp ~rancher/ifcfg-app-b* /etc/sysconfig/network/
# ifup app-br
app-br          up
# ip addr show app-bo; ip addr show app-br
44: app-bo: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue master app-br state UP group default qlen 1000
  link/ether 00:25:90:49:66:7f brd ff:ff:ff:ff:ff:ff
38: app-br: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
  link/ether 00:25:90:49:66:7f brd ff:ff:ff:ff:ff:ff

Once that is done, the hosts become aware of the networks, however, still show an error for the Network.

IFCFG files for reference:

ifcfg-app-bo

STARTMODE='onboot'
BONDING_MASTER='yes'
BOOTPROTO='none'
POST_UP_SCRIPT="wicked:setup_bond.sh"

BONDING_SLAVE_0='enp2s0f1'

BONDING_MODULE_OPTS='miimon=100 mode=active-backup '

DHCLIENT_SET_DEFAULT_ROUTE='no'

ifcfg-app-br

STARTMODE='onboot'
BOOTPROTO='static'
BRIDGE='yes'
BRIDGE_STP='off'
BRIDGE_FORWARDDELAY='0'
BRIDGE_PORTS='app-bo'
PRE_UP_SCRIPT="wicked:setup_bridge.sh"
POST_UP_SCRIPT="wicked:setup_bridge.sh"

I would expect both the bridge and bond to be recreated when a VM requests them.  The "invalid vlanconfig" error is also concerning.  I cannot discount the possibility it is just something in my setup, since this is my first harvester install, so any insight would be greatly appreciated.

Support Bundle uploaded for reference:
supportbundle_b5129a5e-863d-4b04-800c-f92b773c7f29_2023-01-23T22-29-57Z.zip

FYI:
I was able to add semi-persistence of the interfaces by adding the appropriate sections into /oem/99_custom.yaml for the bond, bridge, and interface.  I also made adjustments to the wicked setup_bond.sh and setup_bridge.sh to account for the CustomNetwork.
The hosts still have the "invalid vlanconfig" error.  Attaching support bundle based on this new config.
supportbundle_b5129a5e-863d-4b04-800c-f92b773c7f29_2023-01-24T20-05-05Z.zip

From the first support-bundle file https://github.com/harvester/harvester/issues/3337#issuecomment-1401100012 (logs\harvester-system\harvester-network-controller-zc6v7), there are continuous error messages, which lead to the observed phenomenon.
2023-01-23T19:40:27.784236593Z I0123 19:40:27.784020       1 controller.go:75] vlan config appnet has been changed, spec: {Description: ClusterNetwork:app NodeSelector:map[] Uplink:{NICs:[enp2s0f1] LinkAttrs:0xc002f48f30 BondOptions:0xc002f5c7c8}}
2023-01-23T19:40:27.784299170Z I0123 19:40:27.784187       1 controller.go:133] matchedNodes: [mcharvester01 mcharvester02], h.nodeName: mcharvester02
2023-01-23T19:40:27.784449746Z time="2023-01-23T19:40:27Z" level=info msg="Starting k8s.cni.cncf.io/v1, Kind=NetworkAttachmentDefinition controller"
2023-01-23T19:40:27.784807121Z I0123 19:40:27.784679       1 controller.go:275] add nad:homenet with vid:0 to the list
2023-01-23T19:40:27.984449790Z time="2023-01-23T19:40:27Z" level=error msg="error syncing 'appnet': handler harvester-network-vlanconfig-controller: set up VLAN failed, vlanconfig: appnet, node: mcharvester02, error: failed to get local area from nad default/homenet, error: invalid vlanconfig , requeuing"
2023-01-23T19:40:28.083325673Z I0123 19:40:28.083082       1 controller.go:75] vlan config appnet has been changed, spec: {Description: ClusterNetwork:app NodeSelector:map[] Uplink:{NICs:[enp2s0f1] LinkAttrs:0xc002f48f30 BondOptions:0xc002f5c7c8}}
...

2023-01-23T22:29:42.832624467Z I0123 22:29:42.832231       1 controller.go:75] vlan config appnet has been changed, spec: {Description: ClusterNetwork:app NodeSelector:map[] Uplink:{NICs:[enp2s0f1] LinkAttrs:0xc002f48f30 BondOptions:0xc002f5c7c8}}
2023-01-23T22:29:42.832707084Z I0123 22:29:42.832329       1 controller.go:133] matchedNodes: [mcharvester01 mcharvester02], h.nodeName: mcharvester02
2023-01-23T22:29:42.832732504Z I0123 22:29:42.832396       1 controller.go:275] add nad:homenet with vid:0 to the list
2023-01-23T22:29:42.846403899Z time="2023-01-23T22:29:42Z" level=error msg="error syncing 'appnet': handler harvester-network-vlanconfig-controller: set up VLAN failed, vlanconfig: appnet, node: mcharvester02, error: failed to get local area from nad default/homenet, error: invalid vlanconfig , requeuing"

kernel log of mcharvester02 has bond on enp2s0f0, but no bond on enp2s0f1
Jan 23 19:39:02 mcharvester02 kernel: bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
Jan 23 19:39:02 mcharvester02 kernel: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Jan 23 19:39:02 mcharvester02 kernel: mgmt-bo: (slave enp2s0f0): Enslaving as a backup interface with a down link
Jan 23 19:39:02 mcharvester02 kernel: mgmt-br: port 1(mgmt-bo) entered blocking state
Jan 23 19:39:02 mcharvester02 kernel: mgmt-br: port 1(mgmt-bo) entered disabled state
Jan 23 19:39:05 mcharvester02 kernel: igb 0000:02:00.0 enp2s0f0: igb: enp2s0f0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
Jan 23 19:39:05 mcharvester02 kernel: mgmt-bo: (slave enp2s0f0): link status definitely up, 1000 Mbps full duplex
Jan 23 19:39:05 mcharvester02 kernel: mgmt-bo: (slave enp2s0f0): making interface the new active one
Jan 23 19:39:05 mcharvester02 kernel: mgmt-bo: active interface up!
Jan 23 19:39:05 mcharvester02 kernel: mgmt-br: port 1(mgmt-bo) entered blocking state
Jan 23 19:39:05 mcharvester02 kernel: mgmt-br: port 1(mgmt-bo) entered forwarding state
Jan 23 19:39:05 mcharvester02 kernel: NET: Registered protocol family 17
Jan 23 19:39:08 mcharvester02 kernel: Bridge firewalling registered
Jan 23 19:39:33 mcharvester02 kernel: bpfilter: Loaded bpfilter_umh pid 2598

by contrast, mcharvester01  has app-bo log, but only at Jan 18 22:24, the later reboot also has no such log
Jan 18 22:24:01 mcharvester01 kernel: app-bo: (slave enp2s0f1): Enslaving as a backup interface with a down link
Jan 18 22:24:04 mcharvester01 kernel: igb 0000:02:00.1 enp2s0f1: igb: enp2s0f1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
Jan 18 22:24:04 mcharvester01 kernel: app-bo: (slave enp2s0f1): link status definitely up, 1000 Mbps full duplex
Jan 18 22:24:04 mcharvester01 kernel: app-bo: (slave enp2s0f1): making interface the new active one
Jan 18 22:24:04 mcharvester01 kernel: app-bo: active interface up!
Jan 18 22:25:10 mcharvester01 kernel: scsi host8: iSCSI Initiator over TCP/IP

log of wicked, it shows the NODE rebooting history and setting of management network
-- Reboot --
Jan 22 00:27:28 mcharvester01 systemd[1]: Starting wicked managed network interfaces...
Jan 22 00:27:34 mcharvester01 wicked[1878]: lo              up
Jan 22 00:27:34 mcharvester01 wicked[1878]: enp2s0f0        enslaved
Jan 22 00:27:34 mcharvester01 wicked[1878]: mgmt-br         up
Jan 22 00:27:34 mcharvester01 wicked[1878]: mgmt-bo         enslaved
Jan 22 00:27:34 mcharvester01 systemd[1]: Finished wicked managed network interfaces.
Jan 22 00:27:57 mcharvester01 systemd[1]: Stopping wicked managed network interfaces...
Jan 22 00:27:58 mcharvester01 wicked[2452]: enp2s0f0        device-ready
Jan 22 00:27:58 mcharvester01 systemd[1]: wicked.service: Succeeded.
Jan 22 00:27:58 mcharvester01 systemd[1]: Stopped wicked managed network interfaces.
-- Reboot --
Jan 23 18:14:25 mcharvester01 systemd[1]: Starting wicked managed network interfaces...

-- Reboot --
Jan 22 00:27:23 mcharvester02 systemd[1]: Starting wicked managed network interfaces...
Jan 22 00:27:29 mcharvester02 wicked[1851]: lo              up
Jan 22 00:27:29 mcharvester02 wicked[1851]: enp2s0f0        enslaved
Jan 22 00:27:29 mcharvester02 wicked[1851]: mgmt-br         up
Jan 22 00:27:29 mcharvester02 wicked[1851]: mgmt-bo         enslaved
Jan 22 00:27:29 mcharvester02 systemd[1]: Finished wicked managed network interfaces.
Jan 22 00:28:00 mcharvester02 systemd[1]: Stopping wicked managed network interfaces...
Jan 22 00:28:01 mcharvester02 wicked[2381]: enp2s0f0        device-ready
Jan 22 00:28:01 mcharvester02 systemd[1]: wicked.service: Succeeded.
Jan 22 00:28:01 mcharvester02 systemd[1]: Stopped wicked managed network interfaces.
-- Reboot --
Jan 23 18:14:25 mcharvester02 systemd[1]: Starting wicked managed network interfaces...

-- Reboot --
Jan 23 19:39:01 mcharvester02 systemd[1]: Starting wicked managed network interfaces...
Jan 23 19:39:08 mcharvester02 wicked[1849]: lo              up
Jan 23 19:39:08 mcharvester02 wicked[1849]: enp2s0f0        enslaved
Jan 23 19:39:08 mcharvester02 wicked[1849]: mgmt-br         up
Jan 23 19:39:08 mcharvester02 wicked[1849]: mgmt-bo         enslaved
Jan 23 19:39:08 mcharvester02 systemd[1]: Finished wicked managed network interfaces.

@mpk166 @jmmckenz
Thanks for reporting this issue, the root cause is identified and the fix is ongoing.

For testing:

Create an untagged network under mgmt cluster network
Restart one compute host

Workaround:
Delete all untagged network if possible before reboot nodes.


Dismissible Layer: Tapping outside triggers buttons and links

Bug report
When I close a Dialog or an Alert Dialog by tapping outside of it, a click is triggered on buttons or links that were behind the overlay.
Current Behavior
The dialog closes, and the link behind the overlay is opened.
https://user-images.githubusercontent.com/927556/127837008-45a21bcd-0081-41f5-a2f3-ff48e096c05b.mov
Expected behavior
The dialog closes and the link is not opened.
Reproducible example
Both, Dialog and Alert Dialog behave like this.
https://www.radix-ui.com/docs/primitives/components/dialog
Suggested solution
I have only briefly looked into the dismissible layer implementation and I'm not an expert on pointer events, but I have a feeling this might get hacky..
Somehow we should prevent the default on one following pointerup event, after onDismiss. Maybe by adding a pointerup event handler on the body or app root? Or introduce a hidden layer that prevents pointerup events outside the dialog? …doesn't sound very elegant to me.
You folks probably have an idea for a more clean solution?
Your environment
I tested this on an iPhone with iOS 14 and on a Mac with Chrome 92.0.4515.107 (touch events emulated).

Software
Name(s)
Version

Radix Package(s)
@radix-ui/dialog, @radix-ui/alert-dialog
0.0.19

React
n/a
16,17

Browser
Chrome
92.0.4515.107

Assistive tech
n/a

Node
n/a

npm/yarn
npm
7.5.3

Operating System
iOS,macOS
14,11.4

Hey @jkempff, thanks for reporting. This was fixed in https://github.com/radix-ui/primitives/pull/767 and will be available in our next release.

Awesome, thanks! Sorry I missed the issue being already fixed. Going to study how the solution is implemented 😊

Hey @jkempff the latest release should resolve this for you. Let us know if you have any issues.

Hey there, thanks for coming back to this. I can confirm, the issue has been resolved with v0.0.20. Good job to everyone involved! 😊


revised equity tracker function with 2 addn arguments

2 additional arguments were added to the equity_tracker_column_facet and echart_column_chart. They are:

num_colors  = NULL
color_rev = FALSE

They have default settings so if they are not included, the column bars will have all colors in increasing darkness from left to right.
For the desired binary column charts, set num_colors = 2 and color_rev = TRUE.


Error:Could not autoload puppet/type/ec2_instance: /etc/puppet/modules/aws/lib/puppet/type/ec2_instance.rb:31:

Does anyone have experience with getting the puppetlabs-aws module to work?
I am running:
Puppet 3.8.3
Centos 6.7
Ruby 1.8.7
Following the readme on the forge:
http://ift.tt/1Q4LHkQ
I should be able to run commands like
puppet apply tests/create.pp --test puppet apply tests/test.pp --test
But i keep getting the error:
*Error: Could not autoload puppet/type/ec2_instance: /etc/puppet/modules/aws/lib/puppet/type/ec2_instance.rb:31: syntax error, unexpected ':', expecting ')' newparam(:name, namevar: true) do ^ /etc/puppet/modules/aws/lib/puppet/type/ec2_instance.rb:227: syntax error, unexpected kEND, expecting $end Error: Could not autoload puppet/type/ec2_instance: /etc/puppet/modules/aws/lib/puppet/type/ec2_instance.rb:31: syntax error, unexpected ':', expecting ')' newparam(:name, namevar: true) do ^ /etc/puppet/modules/aws/lib/puppet/type/ec2_instance.rb:227: syntax error, unexpected kEND, expecting $end on node ******************** Error: Could not autoload puppet/type/ec2_instance: /etc/puppet/modules/aws/lib/puppet/type/ec2_instance.rb:31: syntax error, unexpected ':', expecting ')' newparam(:name, namevar: true) do ^ /etc/puppet/modules/aws/lib/puppet/type/ec2_instance.rb:227: syntax error, unexpected kEND, expecting $end on node ***************
In addition from the readme, I should be able to run commands like
puppet node_aws list. But i keep getting that the subcommand node_aws is unknown.
What am I missing?
Thanks,
Ram.

Hi @ram2valar. Unfortunately the module requires Ruby 1.9 or greater (https://forge.puppetlabs.com/puppetlabs/aws/readme#requirements) due to that being a dependency of the official Amazon SDK.

Hi,
Thanks for the update.
now i have updated ruby to 1.9 but getting error while installing puppet was module

puppet aws-module

I'd definitely recomment looking at the official installation instructions. The latest packages avoid the need for a system Ruby, and come with all of the dependencies in a single package: https://docs.puppetlabs.com/guides/install_puppet/install_el.html

Hi Gare,
I followed the same link in your earlier post however once i installed the puppet labs repo, if i search for the latest puppet its been shipped with ruby of version 1.8.37.
Post that i upgraded ruby version to 1.9.3p551. using the following link:
http://tecadmin.net/install-ruby-1-9-3-or-multiple-ruby-verson-on-centos-6-3-using-rvm/
now i am not able to run any commands related to puppet. if i try to get puppet version, its throwing the below error:
[root@localhost ~]# puppet --version
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': no such file to load -- json (LoadError) 	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in require'
from /usr/lib/ruby/site_ruby/1.8/puppet/module.rb:3
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' 	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/files.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' 	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/templatewrapper.rb:1
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' 	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/scope.rb:6
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' 	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in require'
from /usr/lib/ruby/site_ruby/1.8/puppet/parser/methods.rb:2

now the ruby version is:
[root@localhost ~]# ruby --version
ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-linux]
[root@localhost ~]#

You've likely got two versions of ruby and two versions of Puppet installed at this point, and your path is configured to locate the older ones, rather than those from the puppet-agent installer. You should be able to find those here:
/opt/puppetlabs/bin/puppet --version
/opt/puppetlabs/puppet/bin/ruby --version

Some more context. http://docs.puppetlabs.com/puppet/latest/reference/whered_it_go.html#nix-executables-are-in-optpuppetlabsbin
Note that this means you'll need to install the gems into that ruby with
/opt/puppetlabs/puppet/bin/gem install aws-sdk-core retries

Hi Gare,
I don't have two version of puppet at my machine. I installed only one from the puppet labs repo which installed the version of 3.8.3. It seems i didn't install latest one i.e. puppet 4.x. As 4.x version is not installed, puppet is not located under /opt/puppetlabs/bin path.
[root@localhost ~]# find / -name puppet 2>/dev/null
/usr/share/puppet
/usr/share/puppet/ext/logcheck/puppet
/usr/lib/ruby/site_ruby/1.8/puppet
/usr/lib/ruby/site_ruby/1.8/puppet/util/rdoc/generators/template/puppet
/usr/lib/ruby/site_ruby/1.8/puppetx/puppet
/usr/bin/puppet
/etc/rc.d/init.d/puppet
/etc/puppet
/etc/sysconfig/puppet
/etc/logrotate.d/puppet
/var/run/puppet
/var/log/puppet
/var/lib/puppet
do i need to first install ruby of version greater than 2 before installing puppet master in my server.
I am referring the below link:
http://docs.puppetlabs.com/puppet/4.2/reference/system_requirements.html
Thanks,
Ram.

I am also facing the same issue and keep getting error "Could not find a suitable provider for ec2_instance" while running a pp file to create ec2 instance. Installed version are
Ruby - ruby 1.9.3p484 (2013-11-22 revision 43786)
puppet - 4.4.1
puppetlabs-aws (v1.4.0)
I installed aws module using "/opt/puppetlabs/puppet/bin# gem install aws-sdk-core retries".
Everything seems correct configuration, still keep getting the same error.
Please help


Wiki

Need to start working on wiki for non.

Started working on it and did some big ials, so I can close this.

Started working on it and did some big ials, so I can close this.


Indices default freq set to None

The latest xclim version sets a number of freq to None instead of "YS". The result is that freq is not set, it fails. The tests don't seem to catch that, which implies they all set freq to something.

I was under the impression from the docstrings that this field was optional. I can fix this fairly quickly.

Yep. Default is 'YS' at least for indices module not sure about streamflow

It's optional, but the default has to be among the values accepted by resample.


wrong sql generated when used with database_cleaner and multiple database adapters

We found and issue, when acts_as_paranoid is used with database_cleaner gem and multiple database adapters like mysql and postgresql. We had the following errors

Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '."deleted_at" IS NULL) LIMIT 1' at line 1: SELECT  users.* FROM users WHERE users.id = 42 AND ("users"."deleted_at" IS NULL) LIMIT 1

Pushed #49 for fixing it

I've merged #49 so this issue can be closed.


Enable compiler-rt tests on Windows

Locally, disabling the fuzzer (already globally disabled) plus the ORC tests makes everything else pass.
This may need to be reverted if some tests end up failing on the Windows bots or are flaky.

@aeubanks thanks! 🦖

seems to be working: https://reviews.llvm.org/D155901


Add ES6 Symbol support for Duktape 2.x

[ ] Document and prototype implementation approach #980
[ ] Basic testcase exercising the most important semantic behavior for symbols
[ ] Add new internal class and Symbol constructor
[ ] Add basic ES6 semantics like string coercion, typeof, and property key lookup handling
[ ] Add support for "hidden Symbols" similar to #979 semantics, to be decided if 0xFF prefixed internal keys are automatically "hidden" or not
[ ] Add C API for creating symbols; alternatively, just document the internal byte prefix space and allow C code to create symbols directly as is already done for internal keys
[ ] Add API macros for creating static hidden and global symbols (avoids prefix trickery for calling code)
[ ] Summarization for Symbol values
[ ] Code comment changes for terminology
[ ] Internal documentation changes
[ ] Website and API document changes
[ ] Wiki changes
[ ] Note in documentation that buffer-to-string coercion can create "internal strings" that match ES6 symbols and use them to access symbol properties (this is not necessarily a big deal as ES6 Symbols can be enumerated anyway)
[ ] Related buffer issue: remove 1:1 buffer-to-string binding (more relevant with #979 and symbols maybe)?
[ ] 2.x migration notes
[ ] Releases entry

I don't see this in the checklist: Will the initial implementation include any default built-in symbols like @@toStringTag?

I added a few such symbols for testing the built-in format - but they're not functional. For example, Object.prototype.toString() won't look up @@toStringTag now.

So what I'd like to figure out first is how to represent symbols internally. Once that's solid, symbol-related APIs and internal behaviors like coercion handling, @@toStringTag etc can follow.
Because there's quite a lot of stuff I'm kind of on the fence how to handle it so that they can be disabled for low memory ES5 targets. Maybe there needs to be a catch-all define for DUK_USE_ES6 which is used to guard any semantics which don't deserve a specific define... Not sure.


ci: publish releases to docker-hub with corresponding tags

Motivation

Closes #4844

Changes

ci: publish releases to docker-hub with corresponding tags:

release image will be pushed onto go-spacemesh:$TAG
development image will be pushed onto go-spacemesh:$SHA

Successfully tested at my forked repo:

release: https://github.com/tungbq/go-spacemesh/actions/runs/5867669558
develop: https://github.com/tungbq/go-spacemesh/actions/runs/5867665489

Test Plan

TODO

[ ] Explain motivation or link existing issue(s)
[ ] Test changes and document test plan
[ ] Update documentation as needed

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

Thanks!
... but we do have https://github.com/spacemeshos/go-spacemesh/pull/4705 in progress which is addressing the same (and few other also)

Thanks!
... but we do have #4705 in progress which is addressing the same (and few other also)

Thanks!
... but we do have #4705 in progress which is addressing the same (and few other also)

Thanks for letting me know, sorry that I did not query the PR and existing issue first. Please help to cancel this one if it's already being covered by others

With #4705 the flow was changed to push an image of every merged commit to go-spacemesh-dev (use carefully - possibly contains unreleased features). Every new release will be pushed to go-spacemesh with the git tag as label.
I will close this PR, feel free to re-open if you see an opportunity for further improvements in this regard 🙂


Add sensitive property to certificate sourced from content passed to the resource

Description
Add sensitive property to certificate sourced from content passed to the resource
Issues Resolved

n/a

Check List

[x] All tests pass. See TESTING.md for details.
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable.

@bmhughes can you please rebase this now that we properly adopted the cookbook?

Done

Released as: 3.5.0


MAINT: fix sphinx 8.0 compatibility

It's beyond the scope for this PR, but I would also suggest adding a job that pulls the development versions of dependencies, even if it's just in a job that runs from a e.g. weekly cron; so end users would not run into incompatibilities when an upstream release is out.
(We do this for sphinx extensions and pytest plugins; as well as for libraries that more and more test against nightly wheels; and it's really nice from the release manager perspective as it removes a lot of cases for a rushed compatibility release).
Closes #619

OK, well, this was naive 😅 (but was passing locally)

@bsipocz thanks for this, LGTM! I'll auto-merge and then see where we get to.

@agoose77 - Thanks! As I see it still needs an actual review approval for the auto merge to kick in.


(doc): add chinese translation again

Hi @Imitater967
we discussed this and agreed that the main dev language is and will continue to be English. Anybody wanting to join our dev community and contribute should be able to read and write English at least well enough to read our docs.
Any duplication and translation of our docs will lead to additional maintenance effort for updating the duplicate/translated version in case of changes or lead to confusion in case it's not updated.
These are the reasons why we don't want to introduce a duplicate or translation for our dev docs and why I'll close this PR.


Microsoft.AspNet.Cors.Core.Test -> Microsoft.AspNet.Cors.Core.Tests & Microsoft.AspNet.Cors.Test -> Microsoft.AspNet.Cors.Tests

According to the guidelines https://github.com/aspnet/Home/wiki/Engineering-guidelines#solution-and-project-folder-structure-and-naming, we should rename the test project to Microsoft.AspNet.Cors.Core.Tests instead of Microsoft.AspNet.Cors.Core.Test and Microsoft.AspNet.Cors.Tests instead of Microsoft.AspNet.Cors.Test

See https://github.com/aspnet/EventNotification/pull/12#issuecomment-128427434.


Run as library?

When I want run a web server,
I must run bin/aerys.
How about run as library, like ReactPHP.
I think there should be a http server library, artax just is http client library.

Yes, you can run Aerys also as a library, see initServer. There's currently no documentation on how to do that, but it's totally doable.

Have a look at https://amphp.org/aerys/classes/functions#initpsrlogloggerinterface-arrayhost-array-options---server
This allows you controlling the Server instance manually and use Aerys as a library.
The main point of bin/aerys is ensuring that your resources on the running instance are used optimally by being your process manager. It spawns as many workers as you wish (by default: as many as there are cores), allows for proper graceful restart of all workers via CommandClient class, aggregates your logging of all your workers etc.
As long as you do not intend to use Aerys for a quick and dirty monitoring or admin interface, but for a larger audience, it is strongly recommended to use bin/aerys in order to be able to properly scale out in future without too much rewriting.

we process request in callback, not in coroutine.
I think there should be a http-server lib.
socket server is good example:
https://github.com/amphp/socket/blob/e829717dad74648b34da631be1e86cbacdaa799f/examples/simple-http-server.php
Loop::run(function () {
    $clientHandler = asyncCoroutine(function (ServerSocket $socket) {
        list($ip, $port) = explode(":", $socket->getRemoteAddress());
        echo "Accepted connection from {$ip}:{$port}." . PHP_EOL;
        $body = "Hey, your IP is {$ip} and your local port used is {$port}.";
        $bodyLength = \strlen($body);
        yield $socket->end("HTTP/1.1 200 OK\r\nConnection: close\r\nContent-Length: {$bodyLength}\r\n\r\n{$body}");
    });
    $server = Amp\Socket\listen("<IP_ADDRESS>:0");
    echo "Listening for new connections on " . $server->getAddress() . " ..." . PHP_EOL;
    echo "Open your browser and visit http://" . $server->getAddress() . "/" . PHP_EOL;
    while ($socket = yield $server->accept()) {
        $clientHandler($socket);
    }
});

just one callback.

How about this demo for http? this more like coroutine(write synchronous, run asynchronous).
use Amp\Loop;
use function Aerys\router;
use function Amp\asyncCoroutine;

Loop::run(function () {
    $router = router();
    $clientHandler = asyncCoroutine(function ($req, $resp) use ($router) {
        /** @var \Aerys\InternalRequest $req */
        yield $router->do($req, $resp);
    });

    $server = new \Aerys\Server('<IP_ADDRESS>', 1337);

    list($req, $resp) = yield $server->accept();
    $clientHandler($req, $resp);
});

we process request in callback, not in coroutine.

Every callback you pass to Host::use or Router::use is a simple callback, you can just use that if you want, it doesn't have to be a coroutine.

How about this demo for http?

Why do you want that for a rather high-level HTTP server?

I'm closing due to lacking feedback. I think the important part has been answered. Feel free to respond with further feedback, we can always reopen the issue.

You can find another example here:
https://github.com/kelunik/oauth-cli/blob/40f091562b9079a88ed33e042498859f7ca6415a/src/functions.php


added new file -  a to do app

added new file -  a to do app implemented in python
used tkinter and sqlite3 database to back up the data
sample image filed as well

well done


Remove compatibility layers with old Laravel versions

getBelongsToManyCaller was introduced after a rename of $otherKey to $ownerKey https://github.com/mongodb/laravel-mongodb/commit/3e26e05b90cf5e207c66e30ea2021ff9ddb16bf9
$relatedKey $relatedPivotKey (to check)

Codecov Report

Merging #2615 (db7241b) into master (f14204f) will increase coverage by 0.00%.
The diff coverage is 85.71%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.


Track all valid Zulip emoji

This is a prerequisite for:

#388
#670

In order to offer the user a UI to choose an emoji from the emoji Zulip knows about, we'll need to know what emoji those are and what Zulip calls them.
Zulip has a particular data model for identifying emoji, which is an underdocumented part of the Zulip API. For an introduction, see reaction_type here:
https://zulip.com/api/add-reaction#parameter-reaction_type
and the two companion fields emoji_code and emoji_name. (The same emoji model is used for reactions as for emoji in messages.)
Then see zulip-mobile's src/emoji/data.js, which tracks this model.
A good implementation of this issue will:

Cover all three of Zulip's types of emoji.
Support efficiently looking up an emoji by name, or by type and code.
Support iterating through the list of all Zulip emoji.

With #976 (which I've just sent) we'll have all the data.
The remaining data-model work I want to do before declaring victory here is to handle searching through the list of emoji to produce the data we'd use for an emoji-picker UI (for #388 or #670). Between that and the logic we already have (and in #967 refactored onto EmojiStore) for looking up an individual emoji to decide how to display it, we'll be covering all the ways the app needs to use emoji data, which is the key criterion for being confident that our model has all the features it needs.


Slimming of conda containers raises 'ModuleNotFoundError'

Hello, I'm trying to 'slim' my pandas image., alexiswl/alpine_pandas:latest.
To show it works as is, I create the following python script:
% cat pandas_test.py
#!/usr/bin/env python3

import pandas as pd
import sys

print(pd.DataFrame({"A": [1, 2, 3]}))
sys.exit()

And run it through docker
% docker run -v $PWD:/mnt/scripts alexiswl/alpine_pandas:latest /mnt/scripts/pandas_test.py
   A
0  1
1  2
2  3

I then slim the image with docker-slim.
docker run -v /var/run/docker.sock:/var/run/docker.sock dslim/docker-slim --in-container build --http-probe=false alexiswl/alpine_pandas:latest

I then rerun the test script with the new slim image:
% docker run -i -t -v $PWD:/mnt/scripts alexiswl/alpine_pandas.slim:latest /mnt/scripts/pandas_test.py
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Traceback (most recent call last):
  File "/mnt/scripts/pandas_test.py", line 3, in <module>
    import pandas as pd
ModuleNotFoundError: No module named 'pandas'

Do I need to set PYTHONHOME to something? I've tried both /opt/conda and /opt/conda/bin, neither of which Ive had any success with. The latter changes the error to ModuleNotFoundError: No module named 'encodings'.

This is very closely related to https://github.com/docker-slim/docker-slim/issues/117, I hope you can reproduce it now much more comfortably, @kcq.
The other container (UMCCRISE) had too big reference files to reproduce, this one is more manageable, sorry for the delay ;)

@alexiswl is this the Dockerfile for your image? https://github.com/alexiswl/alpine-images/blob/master/python-pandas/1.0.1/Dockerfile

@alexiswl minifying a base image requires a bit of extra work because docker-slim doesn't know the intended use for the container image. When you minify an image with a specific application in it docker-slim observes its behavior and discovers its dependencies. In this case, the 'pandas' package is missing because there isn't an application that loads it. There's a few options to try... There's a set of --include-* parameters (e.g., --include-path) that tell docker-slim to include specific artifacts from your original image. Another thing to try is adding a dummy app (like pandas_test.py you shared here) that uses the python packages you care about.
There's a number of enhancements planned to make it easier to minify base images (including an ability to use package names when you specify what artifacts you want to keep from the original image).

@alexiswl minifying a base image requires a bit of extra work because docker-slim doesn't know the intended use for the container image. When you minify an image with a specific application in it docker-slim observes its behavior and discovers its dependencies. In this case, the 'pandas' package is missing because there isn't an application that loads it. There's a few options to try... There's a set of --include-* parameters (e.g., --include-path) that tell docker-slim to include specific artifacts from your original image. Another thing to try is adding a dummy app (like pandas_test.py you shared here) that uses the python packages you care about.
There's a number of enhancements planned to make it easier to minify base images (including an ability to use package names when you specify what artifacts you want to keep from the original image).

I had a try with the --include-path parameters.
docker run -v /var/run/docker.sock:/var/run/docker.sock dslim/docker-slim \
  --in-container build --http-probe=false \
  --include-path=/opt/conda/lib/python3.7/site-packages/pandas/ \
  --include-path /opt/conda/lib/python3.7/site-packages/numpy/ \
  --include-path /opt/conda/lib/python3.7/site-packages/pytz/ \
  --include-path /opt/conda/lib/python3.7/site-packages/dateutil/  \
  --exclude-path /opt/conda/lib/python3.7/site-packages/ \
  --include-path /opt/conda/lib/python3.7/ \
alexiswl/alpine_pandas:latest

This works but generates an image that's 211 Mb, which is of a similar order to the original image (260 Mb). It would also seem that the --exclude-path used here intended to remove all the other unnecessary packages is overwritten by the following --include-path (Deduced by the fact that the slim image size is the same with and without the --exclude-path parameter).

@alexiswl Thank you for the update! Are 'pandas', 'numpy', 'pytz' and 'dateutil' the python packages you care about? What did you want to accomplish with the --exclude-path parameter? Is it how you wanted to indicate that you don't want any python packages except 'pandas', 'numpy', 'pytz' and 'dateutil'?

@alexiswl Yes, --include-path means everything inside that directory will be included. This param will need to be enhanced to allow filtering because including everything might not be ideal.

@alexiswl If you add pandas_test.py to your image you can tell docker-slim to use it as a temporary entrypoint when it's doing its analysis using the --entrypoint parameter (you don't need to change the ENTRYPOINT instruction in your Dockerfile). docker-slim will not persist this temporary entrypoint in the minified image. If you do want to replace the entrypoint in the minified image you'd use the --new-entrypoint parameter.

@alexiswl Thank you for the update! Are 'pandas', 'numpy', 'pytz' and 'dateutil' the python packages you care about? What did you want to accomplish with the --exclude-path parameter? Is it how you wanted to indicate that you don't want any python packages except 'pandas', 'numpy', 'pytz' and 'dateutil'?

Precisely, by a process of trial and error, these were the essentials modules inside the site-packages directory. However there were a few libraries in the top directory that were still needed which is why I had the final include-path there.

@alexiswl If you add pandas_test.py to your image you can tell docker-slim to use it as a temporary entrypoint when it's doing its analysis using the --entrypoint parameter (you don't need to change the ENTRYPOINT instruction in your Dockerfile). docker-slim will not persist this temporary entrypoint in the minified image. If you do want to replace the entrypoint in the minified image you'd use the --new-entrypoint parameter.

This worked, thank you so much!!
I used the following code to build the container:
docker run -v /var/run/docker.sock:/var/run/docker.sock dslim/docker-slim \
  --in-container build --http-probe=false \
  --mount $PWD:/mnt/scripts \
  --entrypoint /mnt/scripts/pandas_test.py \
  alexiswl/alpine_pandas:latest

This resulted in an image size of 117 Mb. And then this is now my output!
$ docker run -v $PWD:/mnt/scripts alexiswl/alpine_pandas.slim:latest /mnt/scripts/pandas_test.py
   A
0  1
1  2
2  3


Add grey background for applicant dashboard

Current background:

Updated version:

@sandeepsajan0 this PR still in draft, do you want to mark as ready for review?

Needs a rebase.

A merge conflict with https://github.com/HyphaApp/hypha/pull/3587 so will hold this PR until that has merged.

@frjo This PR is ready to put on the test site.

@frjo I have updated the PR, use the body class block to add background color instead of adding bg-light-grey class to the wrapper directly. We can put the latest version to test site.

Removing this from testing for now, got merge conflicts with the other PRs.


python,util: Fix magic number check in decode_inst_dep_trace.py

The decode_inst_dep_trace.py opens the trace file in read mode, and subsequently reads the magic number from the trace file. Once the number is read, it is compared against the string 'gem5' without decoding it first. This causes the comparison to fail.
The fix addresses this by calling the decode() routine on the output of the read() call. Please find the details in the associated issue #543

Hi @drajarshi ,
All pull requests to gem5 require Change IDs to be present in all commit messages. The commits in this PR do not have Change IDs. Please follow these steps to add a change ID to your commits:

Run the following commands:

f=.git/hooks/commit-msg
mkdir -p
curl -Lo $f https://gerrit-review.googlesource.com/tools/hooks/commit-msg
chmod +x $f/commit-msg

Then, amend the commit with git commit --amend --no-edit, and update your pull request.

Thanks @powerjg @Harshil2107

Thanks @BobbyRBruce


Added VB compiler -imports example

Added VB compiler -imports example
Related to #10856

Merging this one so we don't introduce warnings when I merge #10856. Thanks @rpetrusha!


Write 8-bit range checks constraints in AirScript

Addressing: #205
This PR adds constraint for the 8-bit range checks table (multiset check constraint).

@Overcastan question: should these constraints not be part of the original range checker module?

I'm not sure. These constraints indeed look like they could be placed together, although in many places we decide to move range checker constraints to the separate files. So, I'm not sure, but I can merge them if you think it'll be better. What do you think, @tohrnii, @bobbinth, @grjte?


filter issue

There is another interesting issue with filtering and paging:
var data = this.data().toArray() - gets ALL columns (for example 239).
But when filtering is done, page.info is set to:
{"page":0,"pages":1,"start":0,"end":8,"length":20,"recordsTotal":239,"recordsDisplay":8,"serverSide":false}
Idea is that
                        // Only loop through the rows that are visible, using the page info                         for (var i = info.start; i < info.end; i++) {                             if ($.trim(data[i]) === '')                                 empty++                         }
loops just via FIRST 8 rows, but NOT the ones which are actually SHOWN on the screen.

correct way to iterate would be:
                // Iterate through the table, column by column
                api.columns({search:'applied'}).every(function () {

Hello,
Thanks for using the plugin and taking the time to open an issue! And I apologize for the delayed response.
Ill work on this and let you know when I update the repo with a fix. I'll take a look at your suggested resolution as well.
Thanks!


Adds support for nested and deeply complex struct types

[x] adds a test for a deeply complex type with arrays objects and pointers to arrays and objects
[x] for arrays the definition generator now properly looks at the inner type and adds an items field as necessary
[x] fixes a bug where non-pointer structs inside other structs caused panics on generate

fixes #23

Hi, thank you for contributing. I missed your pull-request sorry. I will take a look asap.

@anilsenay Seems like this project died?
This is a critical missing feature - was about to fork the project to add it myself.

LGTM 👌
Thanks for contributing 🥳


doc(object-basics): update code, docs, commands and outputs

Update Chapter 1 - Object Basics of the tutorial.

Hi @saruman9, I've assigned some additional folks to review. It may take a few days to review. Thanks very much for submitting this update.

Sorry I missed this @saruman9! Can you rebase these changes? I think the docs have changed a bit since this PR was made


Help text does not include protocol parameter

As the subject implies, the help text when running "proxpn --help" does not detail that there is a protocol parameter that can be set.
*edit: I'm not sure if I did this right since I've not used github much. I did a fork edit and pull request for this with a proposed change.

Ah! Good catch, thanks.

Thanks for the PR! Just released in 4.0.1


How to selectively disable quoting of certain field names ?

I am trying squel.js for building queries with postgres database. We have a table with the name "user" which is a reserved keyword in postgres.
Currently I am trying this config for all queries
  var squel = require('squel').useFlavour('postgres');
  var query =  squel.select({
    autoQuoteFieldNames: true,
    autoQuoteTableNames: true,
    nameQuoteCharacter: '"',
    tableAliasQuoteCharacter: '"',
    fieldAliasQuoteCharacter: '"'
   })

This escapes all the table names and column names so that we do not face issue of collision with a reserved keyword name like "user". However, it also escapes function calls like .field("row_to_json(u)") become "row_to_json(u)"
And it causes error
Unhandled rejection error: column "row_to_json(u)" does not exist

Any idea how can I selectively disable escaping for certain fields or disable escaping for functions in a generic way if possible ?

Try .field(squel.str('row_to_json(u)')) instead.

Thanks! It works perfectly fine. But is this the ideal way of doing this ?

Yes this is the way.
On 3 June 2016 at 18:53:53, Mandeep SIngh Gulati<EMAIL_ADDRESS>wrote:
Thanks! It works perfectly fine. But is this the ideal way of doing this ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


How to run foresight?

i want to run a example
$ python predict_captcha.py
but it doesn't work:
Traceback (most recent call last):   File "predict_captcha.py", line 12, in <module>     from foresight.php import rand   File "build/bdist.linux-x86_64/egg/foresight/php/rand.py", line 6, in <module>   File "/usr/local/lib/python2.7/dist-packages/foresight-0.1-py2.7.egg/foresight/glibc/random.py", line 82     yield from gen SyntaxError: invalid syntax
can you tell me how  to run this in the right way?

foresight is not compatible with python2. I believe 3.3 is the earliest python version that can run it.

thanks very much!

I have another problem ..... if i have a series of number generated by PHP's rand() likes<PHONE_NUMBER>,can i use this library to find the seed?

by the way ....  how to use the option '-o' in the command  line?

This answer requires a little setup, so bear with me. PHP's rand has very different behavior based on platform. For example, a PHP server on linux is (generally) much less predictable than one on windows. This is why foresight requires that you provide the platform before it can make any predictions for PHP.
The rest of this answer will address PHP on windows. If you do not know the number of times 'rand' was called between the outputs you have and the seed point, then this is impossible. Not as a limitation of foresight, but in general. This is because the seed is just being used to establish an initial state for the RNG. There is nothing else special about it. So, it is impossible to know which prior state is the initial state (or 'seed' state).
Say, however, you know that there were 4 calls to rand that you do not have output from after the call to srand, but you do have the output from 10 calls after those 4. It is (in principle) possible to recover the seed value used in the srand call.
However, foresight does not have an easy way to do this in general. In the special case that the outputs you have are from immediately after the call to srand, (that is, there are no 'rand' calls you don't have outputs from) then you could recover the state by calling the function php.rand.predict_state(your_list_of_outputs, "windows"). But this is not really what foresight is designed for.
The excellent 'untwister' project here has some additional facilities for predicting seeds. 'glibc' prediction would be what you want for PHP on linux.

Thanks for your patiently explain! But can i do this if i know the time when 'rand()' was called?i can get this with the return time from the server.....But i have only one rand number beacause the server gives me only one number when i fresh it.......  but  If i can't find the seed  ,can i predict the number follow on it?

That depends a lot on whether the time is being used to seed the RNG. If you know the server is seeding with srand(time()) each time the page is refreshed, then yes, you could predict the outputs by just running foresee php windows rand -s <time from the server response>. Otherwise, you will not be able to predict future outputs with only one number. Default RNGs are weak, but they are not usually that weak.

OK... thank  you always..


Added my tell on that day

I presented Spritemate that day, so I'm adding it to the list. Cheers.

Are you sure it was that day? We don't have 9 slots normally.
 I'm sorry for the confusion and thank you for double checking :)


[BEAM-299] Fix invariant failure in MergingActiveWindowSet

The 'windowToActiveWindow' map in MergingActiveWindowSet had a confused invariant. It was partially tracking the window-to-merged-window map needed while processing a single bundle in ReduceFnRunner. But it was also tracking which 'state address windows' correspond to which active windows. The invariants were written for the second use, which was no longer correct.
This  PR factors out the window-to-merged-window map into the  ReduceFnRunner and simplifies what's left.

R: @dhalperi

R: @kennknowles -@dhalperi

LGTM. This is a really nice clean up. Noted a couple ideas that could take it a smidge further, but will merge this straightaway.


Add ACL for new root type shell user (wheel group)

From https://forum.opnsense.org/index.php?topic=3151
Up for debate, we could easily add an extra  acl and check for uid 0 or "wheel-shell-user" access in here https://github.com/opnsense/core/blob/master/src/etc/inc/auth.inc#L431-L436 .
It provides admins with the possibility to create "real" admin users which can do practical the same as root.

Cloning the root account has no security benefit and people have been annoyed by the console menu in other accounts, which still requires super user rights to run. ;)
Wheel group is added to admins already, but that requires "su" and the root account password. Instead, sudo can be set up to allow wheel group to run super user commands, so "sudo su" will either prompt for the account's own password or not at all. Execution will bring up the console menu as a root-like user and problem fixed...
This requires a sudoers template with the options (a) off (default) (b) on, requires password (c) on, requires no password.
Also, when the root account is disabled we should scramble the system password on each boot, because we cannot truly disable (nologin) because that gets rid of the root menu.
Long story short, there should only ever be one root and people must use sudo if they want to wheel, it's really best practice for any UNIX-like system. The GUI is not affected by this enhancement.

I kind of forgot about wheel already being assigned to the admin user, lets keep things like they are now, which probably is easy enough to handle for most people.

reopening for sudo settings...

/usr/local/etc/sudoers.d/ seems perfect to make this finally happen :)


Retry payment for Mateusz

Mateusz says his PayPal Address should be able to receive payments now. More info in his email.

I'm not following what has to be done here. Expense is marked as "other", meaning we won't pay it through paypal anyway.

Hey @asood123 Seems to be a process that Pia was handling, user sent his W-8BEN form.
Last message from Pia to Mateusz was:

We tried to pay for your expense now, but according to paypal you've reached a limit of money you can receive and you need to contact them to update your info.
Let's us know once you solve it so we can try again.

Then Mateusz sent:

This thing is taking really long with PayPal. They told me that I should be able to receive payments now, although the whole verification process is not yet finished. Could you try again tomorrow?


Add dependency bigdecimal

Avoid this Ruby warning:
/gems/3.3.0+0/gems/bake-0.18.2/lib/bake/types/decimal.rb:25: warning: bigdecimal will be not
part of the default gems since Ruby 3.4.0. Add bigdecimal to your gems.rb.
Also contact author of  to add bigdecimal into its gemspec.

UnrelatedÖ I was curious why the error message lacked the name of the gem in use.

"Also contact author of  to add bigdecimal into its gemspec."
                       ^^ missing gem name?

https://github.com/ruby/ruby/blob/ee8299864f6556926fdcf85a52b2d9080446ee81/lib/bundled_gems.rb#L94
@hsbt do you have any thoughts on why the name is missing?

@olleolleolle @ioquatix Thanks. It may be fixed at https://github.com/ruby/ruby/commit/e10f7c9d5b7c3097cd0d7bc3b7b7bbd2078c02cc

Thanks everyone!


fix: Make Node::filtered_parent recursive as it was meant to be

I originally implemented this correctly, but then I got in a hurry and let clippy automatically fix a warning without double-checking the fix. And since there was no test coverage for this method, the bug got through. So I added a test as well.

This is straightforward enough and critical enough that I'll merge it without further review.


Not able to publish saas offer using partner center ingestion api(Submission api).

For reference: https://ingestionapi-swagger.azureedge.net/#/
Problem: I am able to create the submission with 202 status but calling validations api its giving below error body and my publish request got failed. Need solution for the below problem. API Requests are mentioned below.
{
"value": [
{
"errorCode": "Resell-20007",
"severity": "Error",
"message": "ResellerConfiguration module is missing..",
"resource": "Resell"
}
]
}
API Info-

POST
API URL:https://api.partner.microsoft.com/v1.0/ingestion/products/a3f5283b-1682-4bdc-8112-4121aaa258a8/submissions
Request Header: Bearer Token
Request Body:
{
"resourceType": "SubmissionCreationRequest",
"targets": [
{
"type": "Scope",
"value": "Preview"
}
],
"resources": [
{
"type": "Availability",
"value": "2152924500012534075"
},
{
"type": "Listing",
"value": "cc620bb6-c66c-19a8-7f18-fe4bb8642fb4"
},
{
"type": "Package",
"value": "e35645d7-943e-4674-859a-e1deb39dd63e"
},
{
"type": "Property",
"value": "c2aefe39-4e17-e729-8b13-8d16f2ad20fd"
}
     ],
     "variantResources": [
         {
             "variantID": "52a29c40-fab7-4b0b-9307-3ceb53917b22",
             "resources": [
                 {
                     "type": "Availability",
                     "value": "2152924500012703503"
                 },
                 {
                     "type": "Listing",
                     "value": "4deb0c8c-77b6-e93f-408f-b331170950ae"
                 }
             ]
         }

     ],
    "publicOption": {

"releaseTimeInUtc": "2022-05-19T13:42:50",
"isManualPublish": true,
"isAutoPromo": false,
"certificationNotes": "This is a test call from API."
},
"extendedProperties": [

]
}
Response: 202
Response Body:
{
"resourceType": "Submission",
"state": "InProgress",
"substate": "InDraft",
"targets": [
{
"type": "Scope",
"value": "Preview"
}
],
"resources": [
{
"type": "Availability",
"value": "2152924500012534075"
},
{
"type": "Listing",
"value": "cc620bb6-c66c-19a8-7f18-fe4bb8642fb4"
},
{
"type": "Package",
"value": "e35645d7-943e-4674-859a-e1deb39dd63e"
},
{
"type": "Property",
"value": "c2aefe39-4e17-e729-8b13-8d16f2ad20fd"
}
],
"variantResources": [
{
"variantID": "52a29c40-fab7-4b0b-9307-3ceb53917b22",
"resources": [
{
"type": "Availability",
"value": "2152924500012703503"
},
{
"type": "Listing",
"value": "4deb0c8c-77b6-e93f-408f-b331170950ae"
}
]
}
],
"publishOption": {
"releaseTimeInUtc": "0001-01-01T00:00:00",
"isManualPublish": false,
"isAutoPromote": false
},
"publishedTimeInUtc": "1601-01-01T00:00:00Z",
"pendingUpdateInfo": {
"updateType": "Create",
"status": "Running"
},
"releaseNumber": 1,
"friendlyName": "Submission 1",
"areResourcesReady": true,
"id": "1152921505694863717"
}
2. HTTP GET
API URL: https://api.partner.microsoft.com/v1.0/ingestion/products/a3f5283b-1682-4bdc-8112-4121aaa258a8/submissions/1152921505694863717/validations
Request Header: Bearer Token
Response Body: {
"value": [
{
"errorCode": "Resell-20007",
"severity": "Error",
"message": "ResellerConfiguration module is missing..",
"resource": "Resell"
}
]
}

@g7crservice-harshita-gupta Could you please share the document you are referring to?

@SadiqhAhmed-MSFT

https://ingestionapi-swagger.azureedge.net/#/
https://arsenvlad.medium.com/using-partner-center-ingestion-api-for-managing-azure-application-offers-in-azure-marketplace-b47b290dd947

@g7crservice-harshita-gupta Could you please share the document you are referring to?

Hi @SadiqhAhmed-MSFT could you please escalate it?

This issue bucket is for bugs or feedback related to docs.microsoft.com. I'd recommend posting your question in https://azure.microsoft.com/en-us/support/community/ since it's not directly related to the documentation. We'll follow up there. We will now proceed to close this thread. If you feel there is an issue with the documentation, please open up a new thread by using the link on the bottom of the documentation page.


ntr: regulation of mRNA splicing efficiency  PMID:26730850

child of
GO:1905744 Label: regulation of mRNA cis splicing, via spliceosome
ntr: regulation of mRNA splicing efficiency (at weak splice sites?)
def: The process which regulates the timing of mRNA cis-splicing of introns with weak  splice donor signals.
Nice paper shows pretty conclusively that many introns which do not have the canonical GT at 3' end of the 5'branch do not pair efficiently with U1 snRNA. These "prp4 dependent" introns require the prp4 kinase to alleviate the various arrest phenotypes associated with delayed splicing.
various EXPs to show  efficient splicing of many introns requires ppr4 kinase
plus:
Prp4-dependent and -independent introns can be interconverted by mutating the exon1/5’ SS region
The author called it "decreased splicing efficiency at weak splice sites"
I think it only needs to be a regulation term, because all "efficiency" would be regulation. There might be a better way to name the term?
PMID:26730850

I think 'regulation of mRNA splicing efficiency' is way too general. We need to think of a better name.

ntr: regulation of mRNA splicing efficiency at weak splice  donor sites
then?

That's better. @krchristie  any suggestions?

PS. I already approved this in TG:
GO:1905744 Label: regulation of mRNA cis splicing, via spliceosome

I'm just wondering how "regulation of mRNA splicing efficiency at weak splice donor sites" would be different from the existing term:
"GO:0000381 - regulation of alternative mRNA splicing, via spliceosome"
since regulation of usage of weak splice donor sites is definitely a component of regulation of alternative splicing.

Its not alternative splicing in pombe. Its always the same splice site, it's just that some donor sequences are not efficiently spliced. Maybe regulation will do though...can capture the rest with phenotypes. I'll  use that...


Add Nano

As Discussed via X direct messages. :)
Credit to @nano2dev for the original nano.go code but the API is now inactive so had to be refactored completely.

Thanks for the contribution @BrazyDevelopment !
Could you please post a screenshot after you run the command and check the coefficient value for Nano?

Apologies, it appears that the API for the Richlist is down. I will have to explore another way of getting this.
It is displayed at https://nanocharts.info - so maybe I can ensure the legitimacy of their result and then find a simple way of fetching the Nakamoto Coefficient from there.

Please review my latest code in nano.go and see the attached image. :)

@BrazyDevelopment I have left some comments. Once they're addressed, pls share the updated NC. I can then approve & merge.

#63 Should be all good to go! @xenowits

@BrazyDevelopment could you please fix the merge conflicts?

Done @xenowits

@BrazyDevelopment Still has some pending merge conflicts. Please do a git pull --rebase ... and fix these.

Odd. @xenowits
Everything seems the same.

@BrazyDevelopment please check this link to learn more - https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/resolving-a-merge-conflict-using-the-command-line


Heroku server certificate issue

Hi I'm having a problem in deploying a rails project to Heroku  I am in the Firehose Project. https://www.thefirehoseproject.com/   There is a stack-over flow request with basically the same issue, but there is no solution there...(or I didn't see it).
In a vagrant development environment (after creating a rails project and setting up a gitHub repository (all fine) when I try 'heroku create file-name', I get back a error (a server certificate issue??) as follows:
[Web Dev]:  /vagrant/src/nomster2 $ heroku create nomster2-rochebox
!    Heroku client internal error.
!    Search for help at: https://help.heroku.com
!    Or report a bug at: https://github.com/heroku/heroku/issues/new
Error:       hostname "manager-api.heroku.com" does not match the server certificate (OpenSSL::SSL::SSLError) (Excon::Errors::SocketError)
Backtrace:   /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/2.0.0/openssl/ssl.rb:139:in `post_connection_check'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/excon-0.31.0/lib/excon/ssl_socket.rb:86:in `initialize'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in `new'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:410:in `socket'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:122:in `request_call'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/mock.rb:42:in `request_call'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/instrumentor.rb:22:in `request_call'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in `request_call'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in `request_call'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/excon-0.31.0/lib/excon/middlewares/base.rb:15:in `request_call'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/excon-0.31.0/lib/excon/connection.rb:265:in `request'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/heroku-3.3.0/lib/heroku/client/organizations.rb:31:in `request'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/heroku-3.3.0/lib/heroku/client/organizations.rb:76:in `get_orgs'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/heroku-3.3.0/lib/heroku/command/base.rb:53:in `org'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/heroku-3.3.0/lib/heroku/command/apps.rb:237:in `create'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/heroku-3.3.0/lib/heroku/command.rb:218:in `run'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/heroku-3.3.0/lib/heroku/cli.rb:28:in `start'
             /home/vagrant/.rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/heroku-3.3.0/bin/heroku:17:in `<top (required)>'
             /home/vagrant/.rbenv/versions/2.0.0-p353/bin/heroku:23:in `load'
             /home/vagrant/.rbenv/versions/2.0.0-p353/bin/heroku:23:in `<main>'

Command:     heroku create nomster2-rochebox
Version:     heroku-gem/3.3.0 (i686-linux) ruby/2.0.0

I did a heroku update through terminal (which was ok):
scimac13-11:vagrant christopherroche$ heroku update
Heroku CLI submits usage information back to Heroku. If you would like to disable this, set skip_analytics: true in /Users/christopherroche/.heroku/config.json
heroku-cli: Updating... done.
scimac13-11:vagrant christopherroche$
But that didnt solve the problem, so I would be grateful for any help you can give me on this problem.
Thank you!

are you behind a proxy?

I'm running into the same problem, and am doing exercises from the same program.
We are running a Linux development environment inside Vagrant.  Outside of that, I'm not running any proxies or VPNs.

gem uninstall heroku
and then
gem install heroku
If you're not using vagrant, rather than reinstalling heroku as a gem, it would probably be better to install the heroku toolbelt, but vagrant makes that difficult.
Here is some more info and other solutions:
http://stackoverflow.com/questions/17268517/heroku-client-internal-error-unable-to-verify-certificate


DeprecationWarning: the imp module is deprecated in favour of importlib

I use cython in one of my projects. And while running the application I am getting following errors:
$python myproject.py

/Users/<user>/anaconda3/envs/myenv/lib/python3.7/site-packages/Cython/Build/Inline.py:4: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses

Right. PR welcome.

Is it possible to change the import in pyximport.py (line 51) as well? Currently it's "raising" deprecation warnings:
pyximport/pyximport.py:51: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp

Shall I create another ticket, do you want to reopen this one?


DASH support

Hello,
there is no dash support yet? Or there are no plans for it?
Thank you

SRS3 plan to support DASH, dup to #299


roblox crashes after i open script

Hi, I'm going to need a bit more info:

How long ago did this become an issue?
Does Roblox crash as soon as Anti-AFK opens or when it starts sending keystrokes?

If this only happens when keystrokes are sent, does it still crash if Roblox is the active window?

Thanks in advance!

it started to crash roblox since more than a month ago
after i open roblox then open anti afk, or when i open roblox after opening anti afk, it crashes
if i close anti afk and restart my pc, the crashing stops

It works fine on my machine so, off the top of my head, I'm not really sure what's causing it.
Try reinstalling Roblox and getting the latest version of Anti-AFK, so we can rule out any issues with your installation.
If the problem still persists:

Does Roblox still crash if you remove it from Anti-AFK's PROCESS_LIST?
Do you have anything else that could be crashing Roblox (exploits, fps unlockers, ect.)?
Is there anything in Roblox's crash log that could be of use?

the script works now after i reinstalled it, but im not sure if it will still work after i restart my pc

In that case it sounds like Anti-AFK wasn't responsible.
I'll assume the lack of further messages means you didn't encounter any other issues.
Glad everything worked out :)


formatter: escape percent sign in response format

Add a case in the SubstitutionFormatter to replace '%%' with '%'.
This allows users to escape % in their configurations, fixing #15159.
Signed-off-by: Aidan Hahn<EMAIL_ADDRESS>
Commit Message: formatter: escape percent sign in response format
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
Fixes: #15159
[Optional Fixes PR #15175]
[Optional Deprecated:]
[Optional API Considerations:]

/assign-from @envoyproxy/first-pass-reviewers
Can you clean up the description (remove optional fields and hints)?

Also, please don't force-push. More detail about this will be added to the developers doc in https://github.com/envoyproxy/envoy/pull/19381

To rerun failed checks without making changes just add this line in a comment:
/retest
More info on this is in https://github.com/envoyproxy/envoy/blob/main/CONTRIBUTING.md#triggering-ci-re-run-without-making-changes

Previously you mentioned I should not force push, is it acceptable to force push in order to fix DCO?

That's the only reason to do it, but generally you should not have DCO problems if you set up the right git hooks.
The main reason it's OK to force-push to fix DCO is that usually happens exactly once, before anyone has started reviewing. If you force-push after people start reviewing it wipes out their comments.
So my suggestion is to force-push this time, but install the git hooks so this never needs to happen again, and we'll live with my precious review being wiped :)

/retest

/wait


PointNet example

Adds an implementation of the seminal PointNet point cloud network paper. Includes code to download ModelNet10 dataset and process in a jupyter notebook. Works in colab and local jupyter.

Also, about the CI check: please run the black code formatter on the file.

Swapped this to keras.utils.get_file() as otherwise it printed out the unzip for the whole dataset.

Swapped this to keras.utils.get_file() as otherwise it printed out the unzip for the whole dataset.

Sounds good. In the future if you want to use unzip you can use the quiet option -qq.

Did you want any other changes?

Everything looks good -- just merged. Thank you for the great contribution!


Follow spring's convention for spring-boot in azure-spring-cloud-context.

azure-spring-cloud-context can depends on spring-framework, it should not depends on spring-boot.
So we should delete spring-boot related dependency in azure-spring-cloud-context.
Refs:
https://github.com/Azure/azure-sdk-for-java/blob/azure-spring-boot_3.6.0/sdk/spring/azure-spring-cloud-context/pom.xml#L33

#22977

close this issue, it is duplicated with https://github.com/Azure/azure-sdk-for-java/wiki/Spring-Cloud-for-Azure-Core-design

close this issue, it is related with this PR:https://github.com/Azure/azure-sdk-for-java/pull/23004

close this issue, it is related with this PR:https://github.com/Azure/azure-sdk-for-java/pull/23004