this.context.muiTheme is undefined

I've tried to use 0.8 with both React 13.3 and React 13.1.
I've tried a few components, including RaisedButton, and Checkbox.
As the title states, rendering breaks with the following error:
TypeError: Cannot read property 'component' of undefined

muiTheme is undefined.
I've triple checked my node_modules directory; there's only one version of react in there.
There are no warnings, other than this old one:
Warning: bind(): React component methods may only be bound to the component instance. See exports
Inserting this:
contextTypes: {
    muiTheme: React.PropTypes.object.isRequired
}

gives the following warning:
Failed Context Types: Required context muiTheme was not specified in MyOtherwiseWorkingComponent. Check the render method of exports.
I'm so eager to try this out! What could be the issue here?

Same here: #682
I can't make it work either :(

See https://github.com/callemall/material-ui/blob/master/example/src/app/components/main.jsx#L5-L24, you have to add it manually now.

I did add it. Then I had: Warning: owner-based and parent-based contexts differ (values:undefinedvs[object Object]) for key (muiTheme) while mounting TextField (see: http://fb.me/react-context-by-parent)

@wmertens That really helped!
I've added
childContextTypes: {
    muiTheme: React.PropTypes.object
},

getChildContext: function() {
    console.log('setting context!!');
    return {
        muiTheme: ThemeManager.getCurrentTheme()
    };
},

However, I'm still somehow getting the same error, when using, for example, RaisedButton.
muiTheme is undefined.
Upon some investigation, I found that within RaisedButton itself, this.context.muiTheme is indeed defined. However, within the subcomponent Paper, muiTheme is undefined. Weird!
What could be causing this?

Figured it out.
In the browser, I had two versions of react running.
This is probably not relevant for most people, but here's more info:
I'm using browserify and browserify-shim to bundle scripts. The shim transform wasn't set to global, so when a package in node_modules required react (like material-ui, in this case), the shim isn't applied and the whole library is inlined.

@sebt I'm seeing the same, I have a component that simply adds this.props.children to its createElement call and it looks like they lose their context then. No time to investigate right now

@SebT: context seems to suck: https://github.com/acdlite/flummox/issues/70#issuecomment-78110720
I also get that warning and my FlatButton doesn't render.
@super-cache-money https://github.com/facebook/react/issues/1939 strikes again

@SebT I solved it for me with this non-perfect solution (CoffeeScript): Instead of using @props.children I use @props.children.map (c, i) -> React.addons.cloneWithProps c, key: i.
There are several things wrong with that, it should really use the ReactChildren iteration and it shouldn't replace the key if one is there, but in my case that doesn't matter and probably won't until 0.14 comes out.

Well I tried again yesterday and this time it did work with childContext.
I don't really know what happened, I re-ran a npm install for another reason and maybe I had another version of React in my node_modules.
Anyway, thanks for the help @wmertens ;)

@super-cache-money -  I might have a similar issue which I am unable to solve. I am using webpack to convert the material-ui library and use it in the browser. I think that inlines the react library in that file itself.
Now I also have an external reference to a react library from my main html file
Is this why this conflict is happening ? Any way to work around it ?

I will post how I solved this problem: I was including 'react/addons' in my vendors bundle file using browserify. However in my components I was requiring react in this way:
import React from 'react';  (not 'react/addons')
Once I changed 'react/addons' to 'react' in my vendors bundle file, error dissapeared.

I will post how I solved this problem: I was including 'react/addons' in my vendors bundle file using browserify. However in my components I was requiring react in this way:
import React from 'react'; (not 'react/addons')
Once I changed 'react/addons' to 'react' in my vendors bundle file, error dissapeared.

I still can't make this to work. I use<EMAIL_ADDRESS>and my router is like
<Router history={history}>
	<Route path="/" component={App}>
		<Route path="somePage" component={somePage} />
	</Route>
</Router>

I've already define getChildContext() in App component
export default class App extends React.Component {
    static childContextTypes = {
        muiTheme: PropTypes.object
    }
    getChildContext() {
        return {
            muiTheme: ThemeManager.getCurrentTheme()
        }
    }
    render() {
        return (
            <div>
                {this.props.children}
            </div>
        );
    }
}

in somePage.jsx I use some material UI components, and I get this warning
"Warning: owner-based and parent-based contexts differ (values: `undefined` vs `[object Object]`) for key (muiTheme) while mounting TextField (see: http://fb.me/react-context-by-parent)"

and this error
Uncaught TypeError: Cannot read property 'component' of undefined

it was because this.context.muiTheme is undefined. What else should I have to do?

Use React 0.14 beta or clone the children.
On Sun, Aug 23, 2015, 08:14 Qrysto<EMAIL_ADDRESS>wrote:

I still can't make this to work. I use<EMAIL_ADDRESS>and my
router is like

I've already define getChildContext() in App component
export default class App extends React.Component {
static childContextTypes = {
muiTheme: PropTypes.object
}
getChildContext() {
return {
muiTheme: ThemeManager.getCurrentTheme()
}
}
render() {
return (

{this.props.children}

);
}
}
in somePage.jsx I use some material UI components, and I get this warning
"Warning: owner-based and parent-based contexts differ (values: undefined vs [object Object]) for key (muiTheme) while mounting TextField (see: http://fb.me/react-context-by-parent)"
and this error
Uncaught TypeError: Cannot read property 'component' of undefined
it was because this.context.muiTheme is undefined. What else should I have
to do?
—
Reply to this email directly or view it on GitHub
https://github.com/callemall/material-ui/issues/686#issuecomment-133792212
.

--
Wout.
(typed on mobile, excuse terseness)

the problem is now "Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>|| ~0.12.x". What do you mean by "clone the children"?

you can drop the tap-event plugin in react 0.14 I think :)
when you clone the children, they get a new owner (you) and the context works. See https://github.com/callemall/material-ui/issues/686#issuecomment-105807652

Oh, the plugin is needed until React 1.0: https://github.com/zilverline/react-tap-event-plugin

@wmertens thanks for the help. @Qrysto I have this problem when I try to upgrade to react 0.14 beta
npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.10.33
npm ERR! npm  v2.1.7
npm ERR! code EPEERINVALID

npm ERR! peerinvalid The package react does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>|| ~0.12.x
npm ERR! peerinvalid Peer<EMAIL_ADDRESS>wants<EMAIL_ADDRESS>
npm ERR! Please include the following file with any support request:

@sathify actually I haven't solved it yet :laughing: Probably I'll ready more about that "cloning the children" when I have time, but I wonder how people can still use MUI at the moment :question:

Having the same problem with<EMAIL_ADDRESS>right now don't know if that is the cause of the problem

I upgraded to<EMAIL_ADDRESS>and the problem went away for me. Don't need react-tap-event-plugin (gives an error) and had to edit the node_modules/material-ui/package.json to remove the peerDependency. Messy workaround for that, but works.
@sathify YMMV with those fluxible peerDependencies.

@Vijar This is what I was talking about - any chance the fluxible modules work with<EMAIL_ADDRESS>Thanks much.

@sathify I don't think you need to upgrade to React0.14 to get material-ui to work.
If you're using provideContext with fluxible you can just do this:
Application = provideContext(Application, {
    muiTheme: React.PropTypes.object
});

Then for actually setting the child context properly use this [gist] (https://gist.github.com/Vijar/641129e9e1c2abddfca7) as a plugin and plug it into your fluxible app.
After that, everything should work.
Maybe open an issue on fluxible repo if you want to talk about this some more.

This is an issue of react-router 1.0.0, here is a workaround:
https://github.com/rackt/react-router/issues/1301#issuecomment-111844135

@sathify as far as fluxible + material-ui: https://github.com/Vijar/fluxible-plugin-material-ui

@Vijar thanks. This seems like a better way to do it with fluxible, plugging the context. I however just initiallized in the root component.

I confirm that the issue disappear when using React 0.14.0 (-rc1)

I get that React 0.14 solves this, but I'm confused at how to update to that when the current material-ui module does not support it as a dependency.

import getMuiTheme from 'material-ui/styles/getMuiTheme'
...

	static childContextTypes =
	{
		muiTheme: React.PropTypes.object
	}

	getChildContext()
	{
		return {
			muiTheme: getMuiTheme({ userAgent: this.props.navigator.userAgent })
		}
	}

@halt-hammerzeit where should I put this?
In my scenario, I'm using Material-UI and trying to test it with Enzyme. But for my components do work properly I have to render them with MuiThemeProvider around. But now I can't get the state() (from Enzyme) from my components, only to the root, that I believe to be MuiThemeProvider itself

@rafaeleyng I got this working with shallow, but not mount yet.
Helper function:
export const shallowWithMuiThemeContext = node =>
  shallow(node, { context: { muiTheme } });

Example usage in unit test:
const myComponent = shallowWithMuiThemeContext(<MyComponent />);
myComponent .instance().funcThatChangesState(expectedStateChangeObject);

expect(dialog.state('stateObjectFieldSetByAboveFunc')).toBe(
  expectedStateChangeObject
);

The docs are updated.
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider';
import MyAwesomeReactComponent from './MyAwesomeReactComponent';

const App = () => (
  <MuiThemeProvider>
    <MyAwesomeReactComponent />
  </MuiThemeProvider>
);

I wonder which level to put MuiThemeProvider ?
const render = (messages) => {
  ReactDOM.render(
    <Provider store={store}>
      <LanguageProvider messages={messages}>
        <ConnectedRouter history={history}>
          <App />
        </ConnectedRouter>
      </LanguageProvider>
    </Provider>,
    MOUNT_NODE
  );
};

Now I  put it in App ,  but got
warning.js:35 Warning: Failed prop type: The prop `theme` is marked as required in `MuiThemeProvider`, but its value is `undefined`.
    in MuiThemeProvider (created by App)
    in App
    in Router (created by ConnectedRouter)
    in ConnectedRouter
    in IntlProvider (created by LanguageProvider)
    in LanguageProvider (created by Connect(LanguageProvider))
    in Connect(LanguageProvider)
    in Provider

Provide theme property for <MuiThemeProvider/>

@catamphetamine Isn't there a default theme already ?

@eromoe dunno, not using this library


textarea display validation error in IE11

Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-start?file=src%2Fapp%2Fapp.component.html
Steps to reproduce
stackblitz cannot work in IE11.  textarea of no-touched display validation error first load in IE11.
What is expected?
An no-touched textarea doesn't display validation error first load in IE11.
What is actually happening?
An no-touched textarea display validation error first load in IE11.

Environment
Info

ng-zorro-antd
8.5.2

Browser
IE11

plz track https://github.com/angular/angular/issues/14440


fix: pomelo mysql 5

:white_check_mark: Build TheIdServer 2.0.1-user-ole1-0034 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/e9e3cdbe27 by @)


small fix in the knee point estimation and deconvolution

Hi,
we have made a small modification to the matlab code in two scripts
https://github.com/compneuro-da/rsHRF/blob/master/rsHRF_knee_pt.m
https://github.com/compneuro-da/rsHRF/blob/master/rsHRF_iterative_wiener_deconv.m
Basically this is to make sure that the knee point is always found in the decreasing phase of the error, and not in the increasing one. The latter would happen not so often, but it could happen in extreme cases.
The fix should be pretty straightforward.
thanks!

Fix for knee_pt: https://github.com/BIDS-Apps/rsHRF/commit/2ee6ec9a2a29caaaaefe8b64b3b78888a4704da5
Fix for wiener_deconv: https://github.com/BIDS-Apps/rsHRF/commit/11223efb340cc3017317de2aad4810af618b3e04


Z-Wave not working anymore

I receive these messages:
2024-02-08 08:48:53.522 INFO APP: Version: <IP_ADDRESS>e632db
2024-02-08 08:48:53.525 INFO APP: Application path:/usr/src/app

|___  /  \ \        / /                     | |/ |   | |  | | |
/ /\ \  /\  / /_ ___   _____         | | (___     | |  | | | |
/ /\ /  / / ' \ \ / / _ \    _   | |_ \    | |  | | | |
/ /      \  /\  / (| |\ V /  /   | || |) |   | |__| || |
/|      /  / _,| _/ _|    _/|/     _/|___|
2024-02-08 08:48:53.536 WARN STORE: settings.json not found
2024-02-08 08:48:53.542 WARN STORE: scenes.json not found
2024-02-08 08:48:53.552 INFO APP: Listening on port 8091 protocol HTTP
2024-02-08 08:48:53.572 WARN BACKUP: Store backup is disabled
2024-02-08 08:48:53.573 WARN BACKUP: Nvm backup is disabled
2024-02-08 08:48:53.574 WARN Z-WAVE: Z-Wave driver not inited, no port configured
Here's my device:
jcouzy@odroid:~$ ls -l /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_0cc409490755ed1184a19c131d62bc44-if00-port0
lrwxrwxrwx 1 root root 13 Feb  8 08:44 /dev/serial/by-id/usb-Silicon_Labs_CP2102N_USB_to_UART_Bridge_Controller_0cc409490755ed1184a19c131d62bc44-if00-port0 -> ../../ttyUSB0
[ 3023.836247] usb 1-2: cp210x converter now attached to ttyUSB0
[ 3579.389013] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[ 3724.888859] usb 1-3: cp210x converter now attached to ttyUSB0
So hardware is found, but driver not inited, both while listed in the docker compose as /dev/ttyUSB0 and /dev/serial/by-id
What could possibly be wrong? All worked before flawless.

@jcouzy You should open the ui on port 8091 and add the settings, there are no settings saved

I'm running into the same issue when trying to set up zwavejs on a new computer via docker (and docker-compose.yml).

I need to see your docker-compose file guys because there must be an issue there otherwise ALL users would be affected by this

Also for me having problems to setup this docker stuff (regarding /dev/tty or /dev/customvirtualname)
so Would be nice to see some docker-compose as examples where we could continue discussion. (Would not like to post mine because I am just starting to experiment)
Would like to see some configs that worked in the past. Thanks a lot!

This is the base one: https://github.com/zwave-js/zwave-js-ui/blob/master/docker/docker-compose.yml
You should just change the tty mapping by looking for your local /dev/serial/by-id/ devices, see https://github.com/zwave-js/zwave-js-ui/discussions/2483 to find out how

Here's my docker-compose.yml file. I think it's more or less the same as the example one, minus the /dev entry.
version: '3.7'
services:
  zwave-js-ui:
    container_name: zwave-js-ui
    image: zwavejs/zwave-js-ui:latest
    restart: unless-stopped
    tty: true
    stop_signal: SIGINT
    environment:
      - SESSION_SECRET=mysupersecretkey
      - ZWAVEJS_EXTERNAL_CONFIG=/usr/src/app/store/.config-db
      # Uncomment if you want logs time and dates to match your timezone instead of UTC
      # Available at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
      #- TZ=America/New_York
    networks:
      - zwave
    devices:
      # Do not use /dev/ttyUSBX serial devices, as those mappings can change over time.
      # Instead, use the /dev/serial/by-id/X serial device for your Z-Wave stick.
      #      - '/dev/serial/by-id/usb-Silicon_Labs_Zooz_ZST10_700_Z-Wave_Stick_0001-if00-port0:/dev/zwave'
      - '/dev/serial/by-id/usb-Silicon_Labs_Zooz_ZST10_700_Z-Wave_Stick_0001-if00-port0:/dev/zwave'
    volumes:
      - zwave-config:/usr/src/app/store
    ports:
      - '8091:8091' # port for web interface
      - '3000:3000' # port for Z-Wave JS websocket server
networks:
  zwave:
volumes:
  zwave-config:
    name: zwave-config

@yqiang your docker-compose file looks ok, are you able to open the ui? Did you setup the settings on ui and pressed SAVE button? Did you used /dev/zwave in the Serial Port setting under Z-Wave Section?

Thanks - I was able to open the UI and tap on Save in Settings. Things seem to be working again.


CHAPTER1 ,TicTacToe.py: Purpose of reshape function?

for i in self.data.reshape(BOARD_ROWS * BOARD_COLS):
What is the purpose of using reshape staement, line no.34? It works even without it.

data is 2D, reshape makes it 1D. The for loop should behave differently.


feat: liquidation price

Codecov Report

Merging #161 (927b0fe) into master (ef2ebe4) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master    #161      +/-   ##
=========================================
- Coverage    3.82%   3.81%   -0.02%
=========================================
  Files         523     526       +3
  Lines        9557    9591      +34
  Branches     2731    2746      +15
=========================================
  Hits          366     366
- Misses       9191    9225      +34

Impacted Files
Coverage Δ

app/src/components/BuyButton.tsx
0.00% <0.00%> (ø)

...c/components/Header/wallet/WalletDetailContent.tsx
0.00% <ø> (ø)

app/src/pages/borrow/components/CollateralList.tsx
0.00% <0.00%> (ø)

...es/borrow/components/EstimatedLiquidationPrice.tsx
0.00% <0.00%> (ø)

...pp/src/pages/borrow/components/useBorrowDialog.tsx
0.00% <0.00%> (ø)

app/src/pages/borrow/components/useRepayDialog.tsx
0.00% <0.00%> (ø)

...rc/pages/borrow/logics/estimateLiquidationPrice.ts
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ef2ebe4...927b0fe. Read the comment docs.


dapp: re-evaluate implementation approach for notification snackbar

Description
I just recently worked on a feature that was affecting the notification snackbar component. I recognized that the implementation is kinda awkward and more complicated than what it does. Unfortunately I wasn't able to find hints for reasons which would explain the taken approach.
I would like to reserve some time to dig into the code a little more an evaluate if a different approach would also fit the requirements, but has a simpler and more clean implementation.
Acceptance criteria

Tasks

[ ]

I just realized that I fixed this issue within aa9c22964ecc6d99393959f5297c5b634ac3ac13.
The implementation had a bug. To fix it I was also cleaning up the here criticized implementation.


[Bug]: Characteristic UUIDs are partly not complete

Component/Nuget
BluetoothLE Client (Shiny.BluetoothLE)
What platform(s) are effected?

[X] iOS 12
[X] iOS 13
[X] iOS 14
[X] iOS 15
[ ] Android 8
[ ] Android 9
[ ] Android 10
[ ] Android 11
[ ] Android 12
[ ] UWP (Sponsors ONLY)

Steps To Reproduce
We just switched from ACR.Plugins.Bluetooth LE to shiny and now have several problems with the characteristics on iOS.
We implemented Http over BLE protocol following the bluetooth specification and there we need several characteristics for the communication. We assigning following characteristics:
                CharacteristicHeader = await _service
.GetKnownCharacteristic(CharacteristicHeaderString)
.Timeout(to)
 .ToTask();

                CharacteristicBody = await _service
.GetKnownCharacteristic(CharacteristicBodyString)
.Timeout(to)
 .ToTask();

                CharacteristicStatusCode = await _service
.GetKnownCharacteristic(CharacteristicStatusCodeString)
.Timeout(to)
 .ToTask();

                CharacteristicControlPoint = await _service
.GetKnownCharacteristic(CharacteristicControlPointString)
.Timeout(to)
 .ToTask();**

**
Now the strange thing is that only one is assigned. After severe investigation i found out that the characteristic UUID is not complete:
_characteristics = await _service.GetCharacteristics().Where(list => list.Count == 6).ToTask();
foreach(var characteristic in _characteristics)
{
    logger.Debug("characteristic:" + characteristic.ToString());
}

2022-03-07 09:36:23.615 MyAppS[730:154040] 2022-03-07 09:36:23.6155 DEBUG characteristic:2ab6
2022-03-07 09:36:23.616 MyApp[730:154040] 2022-03-07 09:36:23.6155 DEBUG characteristic:2ab7
2022-03-07 09:36:23.616 MyAppS[730:154040] 2022-03-07 09:36:23.6161 DEBUG characteristic:2ab8
2022-03-07 09:36:23.616 MyApp[730:154040] 2022-03-07 09:36:23.6161 DEBUG characteristic:2ab9
2022-03-07 09:36:23.616 MyApp[730:154040] 2022-03-07 09:36:23.6161 DEBUG characteristic:2aba
2022-03-07 09:36:23.616 MyApp[730:154040] 2022-03-07 09:36:23.6161 DEBUG characteristic:00000100-710e-4a5b-8d75-3e5b444bc3cf
Expected Behavior
Characteristics get assigned
Actual Behavior
Only one characteristc has the correct UUID
Exception or Log output
No response
Code Sample
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Those UUIDs are complete.  They are 16bit and taken straight from what the OS provides.  This is why the change from GUID to string was made the library.


Publish notification when cluster upgrade is done

As a cluster admin I want to be notified when a cluster upgrade is don in order to check that all systems are running fine.
Background
Currently, we publish 2 messages:

one, approximately 15 minutes before the upgrade to let our customers know that the upgrade is happening;
second one when the cluster upgrade is triggered.

This behavior creates confusion for our customers as they don't really know what is going on with the upgrade.

Added in giantswarm/event-exporter-app#73 and released in https://github.com/giantswarm/event-exporter-app/releases/tag/v0.6.0


⚠ Samsung has degraded performance

In 0ee90d9, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2695 ms

Resolved: Samsung performance has improved in fbeae15.


Fix panic caused when setting '--cacert' flag from invalid client

There is no longer a segfault with the latest commit both when passing a certificate and when not.
Fixing it for the long term seems to involve a bunch of Go generic hackery that I haven't been able to figure out yet in my time of messing around with it. I'm going to approve this PR to get this working for now. We can figure out the generic stuff later.


cmake install trying to create symlink and failing during packaging process

Packaging with cmake --install in Arch Linux (PKGBUILD), the following error output is shown in the package log:
CMake Error: failed to create symbolic link '/usr/bin/jakt': Permission denied

Arch creates a fakeroot during packaging process, so it appears this cmake rule is trying to overwrite the system path.

That's strange. Is there something about the way the symlink is created via an install(CODE) that makes it incompatible with the arch fakeroot?


change the way to count peers to make it the same as in 4759

PR description
Fixed Issue(s)

@pinges this one looks straightforward - any investigation still to happen or is it ready for review?


FHIR field groups

PLAT-192402
PLAT-192396
PLAT-197747

After rebase, Need to recreate only FHIR specific changes PR


luci-app-firewall: update form field titles to indicate port ranges are ok

The Source | Internal | External Port form's field titles under Luci Firewall -> Port Forwards do not make it clear (unlike in their description) that port ranges (instead of just a single port) are accepted.
Closes https://github.com/openwrt/luci/issues/465
Signed-off-by: Avinash Duduskar<EMAIL_ADDRESS>

NACK. This change will invalidate existing translations.

NACK. This change will invalidate existing translations.

Fair enough, I actually thought of that for a moment as I did some of the Hindi translations on Weblate.
@jow- Would Ports instead of Port(s) work?

I think this change will also invalidate existing translations.

I think this change will also invalidate existing translations.

@feckert So what's the right approach here? A (non-) solution would be to not touch the (misleading) title at all because it will break the resulting (also misleading) translations.
@nijel @WeblateOrg @aparcar There ought to be a way to trigger an appropriate notice to fix in the translations /  to the translators?

Why is the title misleading? The field description clearly states that port ranges may be specified.

I decided against merging this PR. Changing the option titles to plural would imply that multiple non-consecutive ports may be specified which isn't the case. The underlying fw3 uci options accept exactly one port or one consecutive port range.


New endowed positions data

READY FOR REVIEW
Summary

Latest Endowed Positions data

Review By May 11, 2023

Client has requested a quick update to the endowed positions dataset.
Once pushed to dev, Forrest will send to client for review. Will try to get posted to prod by EOD.

Criticality - 4

Update only impacts Endowed Positions pages

Review Tasks
Setup tasks and/or behavior to test

In preview url navigate to a few of the school/center pages to make sure they still load. School/center names will follow the url convention: /endowed-positions/full-school-name-like-this

Front End Validation

[ ] Is the markup using the appropriate semantic tags and passes HTML validation?
[ ] Cross-browser testing has been performed?
[ ] Automated accessibility scans performed?
[ ] Manual accessibility tests performed?
[ ] Design is approved by @ user?

Backend / Functional Validation
Code

[ ] Are the naming conventions following our standards?
[ ] Does the code have sufficient inline comments?
[ ] Is there anything in this code that would be hidden or hard to discover through the UI?
[ ] Are there any code smells?
[ ] Are tests provided? eg (unit, behat, or codeception)

Code security

[ ] Are all forms properly sanitized?
[ ] Any obvious security flaws or new areas for attack?

General

[ ] Is there anything included in this PR that is not related to the problem it is trying to solve?
[ ] Is the approach to the problem appropriate?

Affected Projects or Products

Does this PR impact any particular projects, products, or modules?

Associated Issues and/or People

JIRA ticket(s)
Other PRs
Any other contextual information that might be helpful (e.g., description of a bug that this PR fixes, new functionality that it adds, etc.)
Anyone who should be notified? (@mention them here)

Resources

AMP Tool
Accessibility Manual Test Script
HTML Validator
Browserstack and link to Browserstack Credentials

Thanks @yvonnetangsu

Client has reviewed and approved the update. Please push to Prod. Thank you @yvonnetangsu


Question: how to get real size of one span at position X?

When I do
for (var span : codeArea.getStyleSpans(0, codeArea.getText().length())){
    System.out.println(span);
}

I get:
StyleSpan[length=6, style=[]]
StyleSpan[length=5, style=[MyStyle{...}]]
StyleSpan[length=434, style=[]]

So, I there are three spans. The length of the first is 6. Now I want to get the length of the span at position X. But when I do:
var spans = codeArea.getStyleSpans(3, 4);
System.out.println("L:" + spans.iterator().next().getLength());

I get:
L:1

Can I get ONE span at position X and its full length?

Would codeArea.getStyleRangeAtPosition( pos ); maybe help ?

Yeah, I'm surprised by that as well !?  Looking at the code reveals that the returned IndexRange is relative to the paragraph as you guessed.
I'd say this is a bug but I'm not going to change it since it's been like that for how long and may break somebody's code ?  I will however add a note to the JavaDoc for those methods.
I'd suggest using getStyleRangeAtPosition( par, col ) instead where it makes more sense that the returned IndexRange is relative to the paragraph.
For style spans over multiple paragraphs you could try the following based on what is done in Paragraph:
// Must use this method of getStyleSpans or the one with parameter IndexRange and not any other !
var spans = codeArea.getStyleSpans( 0, codeArea.getLength() );
var offset = spans.offsetToPosition( targetPos, Bias.Backward );
var styleStart = offset.getMinor();
var styleEnd = styleStart + spans.getStyleSpan( offset.getMajor() ).getLength();

Try updating getRealStyleRangeAt to the following:
    public IndexRange getRealStyleRangeAt( int position )
    {
        var length = 0;
        for ( var ss : codeArea.getStyleSpans( 0, codeArea.getLength() ) )
        {
            if ( (length += ss.getLength()) >= position )
            {
                var start = length - ss.getLength();
                return new IndexRange( start, length );
            }
        }

        return new IndexRange( 0,0 );
    }

Yeah, I don't like the iteration either but I don't know of another way as I haven't been able to find it in the model.
The StyleSpans interface extends TwoDimensional which only seems to be able to give us relative ranges and not absolute ones.
The API allows us to get a StyleSpan at a particular position and to tell us where in that StyleSpan the position is but it has no knowledge of it's own position and StyleSpans doesn't seem to know the absolute position either.
I can try and add a start field to StyleSpan which StyleSpansBuilder can update when creating StyleSpans. Then integrate getRealStyleRangeAt into StyleSpans which can then be reduced down to the following I think:
var offset = spans.offsetToPosition( position, Bias.Backward );
var span = spans.getStyleSpan( offset.getMajor() );
var spanStart = span.getStart();
return new IndexRange( spanStart, span.getLength() );

Do the following three steps ....

Declare private field:

private SuspendableYes suspendUndo = new SuspendableYes();

Set undo manager when creating area:

textArea.setUndoManager( UndoUtils.richTextSuspendableUndoManager( textArea, suspendUndo ) );

Use suspendUndo when required:

suspendUndo.suspendWhile( () -> textArea.setStyleSpans( position, ssb.create() ) );


Fix ls

Fix bag: return empty list if contain one directory
Fix bag: return empty list when dir is not cached but have key in cache

I found it when working with DuckDB. To reproduce the second bug, you can try calling this:
import duckdb
import fsspec

# Working
fsspec.filesystem("lakefs").glob("lakefs://test/main/test_dir/*.parquet")

# Not working
duckdb.register_filesystem(fsspec.filesystem("lakefs"))
duckdb.sql("FROM 'lakefs://test/main/test_dir/*.parquet'")

@nicholasjng  this is more complex example:
import duckdb
import fsspec
import lakefs

lakefs.Repository("quickstart").create("local://quickstart", include_samples=True, exist_ok=True)

fs = fsspec.filesystem("lakefs")
fs.mkdir("lakefs://quickstart/main/test")
fs.cp("lakefs://quickstart/main/lakes.parquet", "lakefs://quickstart/main/test/lakes.parquet")
fs.cp("lakefs://quickstart/main/lakes.parquet", "lakefs://quickstart/main/test/lakes2.parquet")
fs.rm("lakefs://quickstart/main/README.md")
fs.rm("lakefs://quickstart/main/data/",  recursive=True)
fs.rm("lakefs://quickstart/main/images/",  recursive=True)
fs.rm("lakefs://quickstart/main/lakes.parquet")

# Bug 1: return empty list but have "test" dir
try:
    test1 = fsspec.filesystem("lakefs").ls("lakefs://quickstart/main/")
    print(test1)
    assert test1 != []
except:
    print("test1 not working")

# Bug 2: return empty list but have "test" dir

# Not working
try:
    test2 = fsspec.filesystem("lakefs").glob("lakefs://quickstart/main/test/*.parquet")
    print(test2)
    assert test2 != []
except:
    print("test2 not working")

duckdb.register_filesystem(fsspec.filesystem("lakefs"))

# Not working
try:
    test3 = duckdb.sql("FROM read_parquet('lakefs://quickstart/main/test/*.parquet')")
    print(test3)
except:
    print("test3 not working")

# Working
test4 = duckdb.sql("FROM read_parquet(['lakefs://quickstart/main/test/lakes2.parquet', 'lakefs://quickstart/main/test/lakes2.parquet'])")
print(test4)

I think bag 2 related with bag 1.

Sorry for the delay, and thanks for that new repro.
I ran this locally and was able to reproduce test case 1. We should therefore add it as a regression test. Would you like to do that?
Otherwise, looks good!

The test failure happens because the path is not stripped of its leading protocol in test_ls_on_commit.
Changing L488 in fs.ls() to path = self._strip_protocol(path) solves the issue.

@nicholasjng I add test and find out why I have problem with line 430. It's because of incorrect cache update for directory with only directories in it.

Thank you!


Claimed fork, cleaned up build errors, and added vulnerability checks

Closing PR. After testing with a stock Cassandra I determined metrics-kafka needs our customized version of metrics-reporter-base (specifically at SHA f387f617ef). Testing and revising.


Minor standards and cleanup additions.

more comprehensive gitignore
use env variables instead of magic string to choose mnemonic and infura access
update yarn lock ( https://github.com/OpenZeppelin/zeppelin-solidity/issues/284 )
an eslint configuration based on standard (with a global --fix applied)
renaming all test files to add .test.js as a suffix to match traditional testing standards
moving all of the mocked solidity files into a mocks/ directory.
manually fixing linting errors in tests where appropriate

Discussion
I'm very partial to the space-before-function-paren (always) and semi rules (never), but I understand if people think differently. Regardless of which direction we pick, we should enforce it, so the questions are:

should we enforce spaces before function parens? i.e. function () {} vs function() {} and (in classes) functionName () {} vs functionName() {}. I think the former looks prettier, but ¯\_(ツ)_/¯
should we enforce semicolons or not? I'm partial to "no semicolons unless logically required".

I'm aware that this is a massive PR and would mostly likely require rebasing any outstanding PRs to avoid merge conflicts. If anyone has strong opinions on that, please voice them.

@frangio added the rules and applied an autofix. We'll want to squash that commit correctly before merging, most likely.

rebased and updated; sqashed the semicolon fix to 8662846

Thanks so much @Shrugs! 🙌

Seeing this just now, @Shrugs :clap: :clap:


Add missing reminder test cases

Codecov Report
Base: 58.94% // Head: 59.77% // Increases project coverage by +0.82% :tada:

Coverage data is based on head (bc49dbb) compared to base (c628d2f).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #110      +/-   ##
============================================
+ Coverage     58.94%   59.77%   +0.82%
- Complexity      616      626      +10
============================================
  Files           129      129
  Lines          2414     2414
  Branches        292      292
============================================
+ Hits           1423     1443      +20
+ Misses          892      870      -22
- Partials         99      101       +2

Impacted Files
Coverage Δ

...rc/main/java/seedu/address/model/ModelManager.java
65.55% <0.00%> (+2.22%)
:arrow_up:

...in/java/seedu/address/model/reminder/Reminder.java
81.48% <0.00%> (+3.70%)
:arrow_up:

src/main/java/seedu/address/model/AddressBook.java
65.43% <0.00%> (+4.93%)
:arrow_up:

...edu/address/model/reminder/UniqueReminderList.java
60.00% <0.00%> (+30.00%)
:arrow_up:

...logic/commands/reminder/DeleteReminderCommand.java
100.00% <0.00%> (+33.33%)
:arrow_up:

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

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


ShuffleArray is not define for random playback in node_helper.js

error:
0|mm  | [22.01.2024 21:44.25.393] [INFO]  MMM-ImmichSlideShow :: node_helper :: imageList is Array? true
0|mm  | [22.01.2024 21:44.25.396] [ERROR] (node:57312) UnhandledPromiseRejectionWarning: ReferenceError: shuffleArray is not defined
0|mm  |     at Class.sortImageList (/home/gmixer/MagicMirror/modules/MMM-ImmichSlideShow/node_helper.js:98:9)
0|mm  |     at Class.gatherImageList (/home/gmixer/MagicMirror/modules/MMM-ImmichSlideShow/node_helper.js:273:27)
0|mm  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
0|mm  | (Use `electron --trace-warnings ...` to show where the warning was created)
0|mm  | [22.01.2024 21:44.25.397] [ERROR] (node:57312) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)

case 'random':
        // Log.log(LOG_PREFIX + 'Sorting by modified date...');
        sortedList = shuffleArray(imageList); // Use 'this' to refer to the method
        break;

needs to be:
case 'random':
        // Log.log(LOG_PREFIX + 'Sorting by modified date...');
        sortedList = this.shuffleArray(imageList); // Use 'this' to refer to the method
        break;

Thanks for reporting this.  Never used that option, but fix coming soon

Thanks!


Cardano Indonesia Meeting #16: 16 May 2022 until 22 May 2022

Cardano Indonesia Meeting: 16 May 2022 until 22 May 2022

Last Meeting - #35
Next Meeting - TBD

Attendees:
Andreas Sosilo (@andreassosilo)
Andre Cahyadi (@andrecahyadi)
Dani Ihza Farrosi (@danivideda)
Dion Setyotomo (@dionsetyotomo)
Xavier Daniswara (@syarbel)
Yan Tirta (@YanTirta)
Ayu Kusumaningtyas
Apologies:
Andy Sibuea (@zicozibu)
Jordy Vincent (@jordyvincent)
Caliburn (@CryptoCaliburn)
Pending Tasks

Request a new sub-category for Cardano Forum #26 by @andreassosilo
Create Cardano Indonesia community profile #36 by @andrecahyadi @dionsetyotomo

Meeting Topics
Eastern Town Hall Indonesia

Meetup registration for Saturday, 21 May 2022 at 16:00-18:00 WIB
Eastern Catalyst School:

Preparation for Fund 9
Give 1st workshop: "F9: Introduction to Catalyst" in 🇮🇩 Indonesian language
Prepare material for the workshop by @syarbel @zicozibu @danivideda
Flyer for the workshop created by @YanTirta
Rewards: 200k IDR in ADA
Moderator: Ayu Kusumaningtyas
Speaker @danivideda @zicozibu
Hosts: @andreassosilo @YanTirta

Social Engagement

Collected data "Cardano Indonesia Social Media Growth" (form created by @dionsetyotomo
Input by: @andreassosilo
Instagram

Need to ask @jordyvincent -> how do we want to continue with the Instagram?
Ayu: increase engagement in Instagram to increase follower. Regular post in specific time.

Twitter

Twitter Space: @dionsetyotomo & @CryptoCaliburn: starting regular Twitter Space and/or Telegram Voice during weekdays about Cardano and its ecosystem. This will be started regularly around 17:15 or after 20:00 WIB

Community Operation

Plan to have dedicated admins.
Proposal Draft in F9:

Title: "Cardano Indonesia Hub"
Ask funding for Cardano Indonesia Hub operation
@YanTirta & @dionsetyotomo: create Google Sheets for our draft proposal, try to use the Eastern Town Hall Team Operation proposal. Google Sheet
Example proposal from Eastern Town Hall Team Operation: https://docs.google.com/document/d/1lfgePHdJyEW2pDZ8EnL2wCjuJ7wgBQHc/edit?usp=sharing&ouid=116783838297278560675&rtpof=true&sd=true
The core team must be compensated -> meeting: 15 USD/hour for example
@dionsetyotomo will create a matrix
Range from admin (30 USD/hour) until developer (100 USD/hour) -> example from other proposal in Catalyst
Need brainstorming on the next meeting
Put a maximum cap for the contribution each month
Target: support members to become proposers and submit proposals in each Catalyst Fund, collaborate with members from other countries
Input from @dionsetyotomo & @YanTirta : for event (max. 3 months), for regular meetup/workshops (max. 6 months)

Cardano Hub Indonesia - Workshops

Preparing to submit monthly KPI report for May 2022 to IOG Catalyst Team by @andreassosilo (deadline 24 May 2022)
Budget for May 2022 received from IOG-> Rate: 0.659 USD/ADA
Next workshop:  Sunday, 29 May 2022 at 19:00-21:00 WIB
Topic: "Cardano Ecosystem May 2022"
Speaker: Darma from KITA Cardano, @CryptoCaliburn & @dionsetyotomo
Darma from KITA Cardano will give 15 mins presentation about his company NFT project for music festival in Jakarta
Reward: 2x 10 ADA + 2x (NFT + 2 ADA) -> already sent to $cardano_id by @andreassosilo , verified by @andrecahyadi
Andrew Ponto (SPO Kawanua Pool) could not give a workshop about how to setup stake pool in Cardano in June 2022. Will be rescheduled to August/September 2022
Next Workshops' preparation:

12 June 2022: Introduction to Cardano NFT (how to mint, how to register/validate in marketplace, royalty CIP-0027, how to get profit from buying/selling NFT, discussion about NFT use case, Omar from Fibo EMURGO, etc.)
26 June 2022: Cardano Ecosystem June 2022
10 July 2022: AMA (with Blue Korintji??) or Introduction to Marlowe -> TBD

DID for Cardano Indonesia Community

Get information about WAL-CLI -> needs to be read and tested
@danivideda starts helping on research and learning about Atala PRISM, SSI, DID, and VC
Submit the monthly KPI report for May 2022 to IOG Catalyst Team

Community Web Portal in Bahasa

Link website: https://www.adakita.xyz/
Waiting for article submission
Compensation -> 10 USD/article becoming 10 ADA/article -> needs to be verified by @dionsetyotomo
Invitation Link: https://docs.google.com/forms/d/e/1FAIpQLSd68yh8gLdurHwePjz_c7wxA1JmqU2KGh6eXkqP1obQeYPOTA/viewform?pli=1
Fund for May 2022 not yet received -> will be confirmed again later
Do not forget to submit KPI Report May 2022 @dionsetyotomo

Collaboration

TRIV

Randy contacted @YanTirta -> to create a Cardano event in Surabaya -> budget from TRIV (10 million IDR) -> hybrid event around 25 June 2022 -> will be organized by @YanTirta, @dionsetyotomo, & @CryptoCaliburn

Rantai Kotak

Invites us for next week AMA -> Saturday, 28 May 2022 -> to boost Eastern Catalyst School KPI and share about Project Catalyst in Cardano blockchain. Speakers -> TBD

Cardano Summit 2022

Around August or September 2022
Community workshop
What do we want to do for this year -> small gathering in Jakarta?
Need to ask EMURGO Indonesia if they will create an event for Cardano Summit 2022 by @zicozibu
@dionsetyotomo will contact Omar & Doddy
Other option: to have a self funded event, need some venue space options: co-working spaces, restaurants with min budget around 100k-150k

Cardano Indonesia Treasury Wallet

We can use both: $cardano_id and $cardano.id -> for donation (ADA or NFT)

Misc Information

@YanTirta : include Ayu to support @YanTirta. Yan wants to develop other regions in the Eastern Town Hall.

@andreassosilo Itu hadiah 2x10 ADA & 2xNFT bukannya buat workshop tgl 15 May lalu bro?

Done. Issue closed.


Support for settings via the numd.toml file in the current directory.

Support for settings via the numd.toml file in the current directory.

Instead, I decided to make the --config-path option, that will open yaml or toml files. #55
Example config is in numd_example_config.yaml


fix(wasm:contract): remove not needed useMemo

Hey there! 👋🏻
This useMemo is not helpful since it does not memoes anything.
Removing it will free some memory.

I agree that the code you requested is more reasonable, but the previous code is not only on the MigrateContractForm.tsx.
If we want to change code like this, we should change all the *Form.tsx and it will break the "rule".
That is the reason why I keep this shape.

Would you want me to make a PR that removes all of those?

Currently I want to keep this rule. Because if we want to improve code, I believe there would be a much better way.


Missing function call signature from Jedi-VIM autocomplete library

I have noticed that function parameters for the docstrings in rs are often just the generic *args,**kwargs when viewed in the Jedi-VIM autocomplete plugin.

I suspect this issue would also apply to parameter strings in Jupyter, but I haven't checked yet. I wonder if this has something to do with the cellify and spacegroupify decorators.

I just checked. It looks good in Jupyter-lab / Ipython. Not sure what to make of this.
I fully acknowledge that this could be on vim or jedi or (gasp!) me.

After re-installing Jedi, I, get the following traceback when I try to visit the documentation for generate_reciprocal_{asu,cell}:
Traceback (most recent call last):
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/cache.py", line 109, in wrapper
    try:
KeyError: ((), frozenset({('resolve_stars', True)}))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi_vim.py", line 194, in wrapper
    def wrapper(*args, **kwargs):
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi_vim.py", line 736, in show_documentation
    win = vim.current.window
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/api/classes.py", line 304, in docstring
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/api/classes.py", line 314, in _get_docstring_signature
    def _get_docstring_signature(self):
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/api/classes.py", line 315, in <genexpr>
    return '\n'.join(
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/signature.py", line 30, in to_string
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/signature.py", line 12, in param_strings
    is_kw_only = False
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/cache.py", line 111, in wrapper
    except KeyError:
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/signature.py", line 96, in get_param_names
    from jedi.inference.star_args import process_params
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/utils.py", line 20, in wrapper
    def to_tuple(func):
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/star_args.py", line 157, in process_params
    found_kwarg_signature = True
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/star_args.py", line 80, in _remove_given_params
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/arguments.py", line 191, in unpack
    )
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/arguments.py", line 315, in _iterate_star_args
    iter_ = array.py__iter__
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/base_value.py", line 80, in py__getattribute__
    """
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/base_value.py", line 69, in goto
    def goto(self, name_or_str, name_context=None, analysis_errors=True):
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/finder.py", line 35, in filter_name
    for filter in filters:
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/base_value.py", line 57, in _get_value_filters
    for lazy_value in self.iterate(contextualized_node, is_async)
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/filters.py", line 333, in get_filters
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/value/instance.py", line 179, in get_filters
    )
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/value/instance.py", line 358, in get_annotated_class_object
    if v.array_type == 'dict'
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/cache.py", line 44, in wrapper
    rv = function(obj, *args, **kwargs)
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/value/instance.py", line 337, in _get_annotated_class_object
    all_annotations = py__annotations__(funcdef)
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/base_value.py", line 80, in py__getattribute__
    """
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/base_value.py", line 69, in goto
    def goto(self, name_or_str, name_context=None, analysis_errors=True):
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/finder.py", line 35, in filter_name
    for filter in filters:
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/base_value.py", line 57, in _get_value_filters
    for lazy_value in self.iterate(contextualized_node, is_async)
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/value/klass.py", line 200, in get_filters
    mro.append(cls_new)
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/value/klass.py", line 200, in get_filters
    mro.append(cls_new)
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/value/klass.py", line 200, in get_filters
    mro.append(cls_new)
  [Previous line repeated 2961 more times]
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/value/klass.py", line 198, in get_filters
    for cls_new in mro_method():
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/cache.py", line 92, in wrapper
    cache = obj.inference_state.memoize_cache
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/base_value.py", line 333, in __getattr__
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/inference/utils.py", line 75, in wrapper
    self.pushes = []
  File "/home/kmdalton/.vim/bundle/jedi-vim/pythonx/jedi/jedi/cache.py", line 105, in wrapper
    def wrapper(self, *args, **kwargs):
RecursionError: maximum recursion depth exceeded while calling a Python object

I now think this is most likely an issue with jedi. I'm going to close this, do some more research, and raise the issue where appropriate.


CFP: Document how to disable Cilium init containers

Cilium has various init containers to, for instance:

Configure cloud node taints
Mount the cgroup filesystem
Configure systemd

Ideally each of these steps should be documented in the System Requirements. If users choose to handle these platform configuration steps out-of-band directly in their systems, then it should be possible also to disable these init containers in Cilium. This would also need to be documented.

I initially assign it to sig/agent but this is more sig/datapath-related since all of those initcontainers are datapath specific.

/assign
@joestringer, are the 3 mentioned above init containers should be documented?

@joestringer, Hello! I am a bit stuck. Should I look into the cilium bpf state to disable those initContainers?

Hi @obaranov1 , I've added a couple of tasks into the item to highlight some subtasks in order to resolve this GH issue. You can find all of the initContainers under the helm charts:
$ git grep initContainer install/kubernetes/cilium/templates/
install/kubernetes/cilium/templates/cilium-agent/daemonset.yaml:      initContainers:
install/kubernetes/cilium/templates/cilium-agent/daemonset.yaml:        # For sharing configuration between the "config" initContainer and the agent
install/kubernetes/cilium/templates/cilium-preflight/daemonset.yaml:      initContainers:
install/kubernetes/cilium/templates/clustermesh-apiserver/deployment.yaml:      initContainers:


Deal with absences?

I agree, Nico! To start with, please just download presences. As said by @timadriaens, this is the default option GBIF provides (see filter on the right in occurrence page).
But, I think we don't need individualCount to detect absences (now or in the future): to download presences we just need to add to the download query the condition occurrenceStatus = present.
If in the future we want to

download absences as well: remove occurrenceStatus = present from query
detect absences from the downloaded data: apply filter occurrenceStatus == absent

We've now implemented the simple solution to not load absences for now. For robustness: we're excluding absences from the GBIF download, but we also filter during the import loop (useful for manually downloaded DwCA)


LuckPerms database issue after vps reboot

I have connected LuckPerms to a MySql, and at first it connected fine, but when I reboot in the vps, it gives me an error.
MySql is started, i can login and manage it.
Error: https://pastebin.com/ERiUeFR9
Config: https://pastebin.com/SThjjNen
Database: https://gyazo.com/43adf9dbf233d02463171ee117ad1a30

Hello, it's normal.
It removes the connection to DB when you are restarting your server.
You have to connect it with apache2/nginx (depending what you have).

Hello, it's normal.
It removes the connection to DB when you are restarting your server.
You have to connect it with apache2/nginx (depending what you have).

Hello, your MySQL server is active?

Yes

Hello, your MySQL server is active?

Yes

You didn't defined password in config:
password: 'passwordhere'

You didn't defined password in config:
password: 'passwordhere'

"Connection refused" error
Could be wrong password, bad firewall config, bad MySQL server config....
https://luckperms.net/wiki/Storage-system-errors
but nothing to do with LuckPerms. :)

"Connection refused" error
Could be wrong password, bad firewall config, bad MySQL server config....
https://luckperms.net/wiki/Storage-system-errors
but nothing to do with LuckPerms. :)


Adding logos for BIG-MAP and EU (in the footer)

This is how the header now looks like:

and this is the footer:

This is how the header now looks like:

and this is the footer:


Add Social Media Icon Hover

Fixes #764
Added Social Media Icon Hover effect in style.css
Icons now scale up by 1.1 size when hovered over.

Thank you so much @DicsyDel ✨


I want to see every event of particular user during his session

Describe the solution you'd like
Here I am able to see every event count but not able to see which actions are performed by which user during his session period.
I want to filter event by user wise, so intension is which action are performed in the app by particular user and particular session.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

@Rcoder0907 Take a look at https://docs.microsoft.com/en-us/appcenter/analytics/export#azure-application-insights. This enables the exact scenario you are looking for.


Add hyperlink template function

Relates to cli/cli#6179

@mislav I made the changes you requested, but I think it's least worth considering (perhaps not for this PR) whether more should be done in the template functions like they were in cli/cli. Now every script - every invocation - has to vary the template based on expected output. Maybe that actually ends up being rare enough since the target of gh is probably often known (you're either scripting with it for data, or displaying results directly as part of a script or command line invocation).


Change Arrow behaviour in motion-detail

Closes #2424
I took the liberty to change the appearance in a different way.
Could the testers please state if the new behaviour is still inline with the wanted behaviour (to make the handling on the phone easier)

In general the buttons works as they should. But there is small layout issue with small mobile devices in portrait mode. The buttons are quite large in portrait mode. @Elblinator let's check this. Maybe we can optimize this.

verbal rewiev from @MSoeb
Tablet-view is fine.
In the phone view: only the arrow should be displayed


PSBT funding: don't include scriptSig field for nested SegWit inputs

Depends on https://github.com/btcsuite/btcwallet/pull/722.
Fixes https://github.com/lightningnetwork/lnd/issues/4670.
This PR fixes an oversight in the way nested SegWit inputs are added to the unsigned TX of a PSBT.
The fix itself is in btcwallet.
We also fix a small cosmetic issue in the way the locked UTXOs are returned and displayed in the command line.

Dep PR has been merged in.

Updated dependency, ready for final review.


Add proxy for google cloud tool?

Already set proxy for SDK but google cloud tool unable access google network

Can you please provide some more detail about what you are looking for?

Google Cloud Tools for Visual Studio is unable through Google Cloud SDK's proxy to access google network

Looking at the Cloud SDK proxy documentation, it looks like there are two ways to set it up: gcloud configuration settings and environment variables. It looks to me like the extension will ignore the environment variables, but setting gcloud configuration values should work.
Are you using environment variables?
If so, does using gcloud config provide a workaround?


Application Insights Instance failing to be provisioned

Describe the bug

Have a managed function called GetRoles and I'm trying to provision an Application Insight instance to monitor it. And SWA hosting plan is on Standard Plan.
To Reproduce
Steps to reproduce the behavior:

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

Followed step by step the below resource,
https://docs.microsoft.com/en-us/azure/static-web-apps/monitor

Expected behavior
Application Insight should be provisioned for the Azure SWA.
Screenshots
Provisioning at start

No AI resources is created

Also going back to Application Insight in SWA blade suggests that AI instance was not created because the radio button still defaults to no for Enable Application Insights

And going back to Application Insight
Device info (if applicable):

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

Additional context
Add any other context about the problem here.

I had the same issue.  I used the info in this link to get my demo working:
https://www.aaron-powell.com/posts/2020-08-12-getting-logs-from-static-web-apps-apis/

@shimedh @simonaco Can you please investigate?

@indcoder @staplJason thanks for reporting this issue. I wasn't able to reproduce it with an older app nor with a new app. did you create the app insights instance separately or directly from the static web apps UI? can you share your hostname or github repo so we can investigate?

Thanks @simonaco for looking into this.  The screenshot from my original post shows the screenshot that I used to do this from the Azure portal [Static Web Apps UI].
Host name : https://ashy-cliff-098028800.azurestaticapps.net
GitHub repo: https://github.com/indcoder/Visage

This was on a brand new account and creating a static web app was the first thing I tried.
I just created another static app and everything worked as expected.
A few things I remember as being different:

My first static app never had any stats on the overview screen until I got the Application Insights working using the info in the link provided earlier.

Before the first static app I didn't  have a "DefaultWorkspace/Log Analytics workspace" Not sure when it was created (Maybe while following the examples in the link attached earlier in this issue)

For the 2nd static app --By the time I added an api and committed the overview screen already had request stats Before enabling application insights.

I have this exact issue on a new subscription with the swa free tier. The option is enabled so I'm assuming AI is available on the free tier. I haven't read otherwise yet. No errors messages but nothing is created. I've upgraded the subscription in case it was that but still no luck.
Perhaps I have to create an AI account manually first?
I just did exactly that and all works as expected.

@thehitchiker Correct, I was in contact with the AI team to conclusively prove this, and they have already got the patch in.


Producer registe failed when reconnecting

Describe the bug
Producer registe failed and retry still failed when reconnecting after keep-alive timeout. Logs as follows:
2021-12-14 15:11:07,284 [ INFO ] ProducerImpl - [persistent://public/default/level2-pressure-1-partition-48] [level2-54-188] Created producer on cnx [id: 0x92ee3683, L:/aa.aa.aa.aa:34398
- R:server.docker.ys/bb.bb.bb.bb:6650]
2021-12-14 15:54:45,473 [ WARN ] PulsarHandler - [[id: 0x92ee3683, L:/aa.aa.aa.aa:34398 - R:server.docker.ys/bb.bb.bb.bb:6650]] Forcing connection to close after keep-alive timeout
2021-12-14 15:54:45,507 [ INFO ] ClientCnx - [id: 0x92ee3683, L:/aa.aa.aa.aa:34398 ! R:server.docker.ys/bb.bb.bb.bb:6650] Disconnected
2021-12-14 15:54:45,507 [ INFO ] ConnectionHandler - [persistent://public/default/level2-pressure-1-partition-48] [level2-54-188] Closed connection [id: 0x92ee3683, L:/aa.aa.aa.aa:34398 !
 R:server.docker.ys/bb.bb.bb.bb:6650] -- Will try again in 0.1 s
2021-12-14 15:54:45,608 [ INFO ] ConnectionHandler - [persistent://public/default/level2-pressure-1-partition-48] [level2-54-188] Reconnecting after timeout
2021-12-14 15:54:45,611 [ INFO ] ProducerImpl - [persistent://public/default/level2-pressure-1-partition-48] [level2-54-188] Creating producer on cnx [id: 0x3050a9d3, L:/aa.aa.aa.aa:34172 - R:server.docker.ys/bb.bb.bb.bb:6650]
2021-12-14 15:54:45,630 [ WARN ] ClientCnx - [id: 0x3050a9d3, L:/aa.aa.aa.aa:34172 - R:server.docker.ys/bb.bb.bb.bb:6650] Received error from server: org.apache.pulsar.broker.service.BrokerServiceException$NamingException: Producer with name 'level2-54-188' is already connected to topic
2021-12-14 15:54:45,630 [ ERROR ] ProducerImpl - [persistent://public/default/level2-pressure-1-partition-48] [level2-54-188] Failed to create producer: org.apache.pulsar.broker.service.BrokerServiceException$NamingException: Producer with name 'level2-54-188' is already connected to topic

In client, it seems there is some problem about the network. Close the connection and retry. But the server send the error "Producer is already connected to topic" for earch retry.
In the server log,  do not find the log about close event.
2021-12-14 15:11:07 The server receive the registe info from the port 34398 for the first time.
2021-12-14 15:54:45 get the new connection from the same client with the port of 34172, and registe the same producer.
2021-12-14 15:11:07,283 [ INFO ] ServerCnx - [/aa.aa.aa.aa:34398][persistent://public/default/level2-pressure-1-partition-48] Creating producer. producerId=48
2021-12-14 15:11:07,283 [ INFO ] ServerCnx - [/aa.aa.aa.aa:34398] persistent://public/default/level2-pressure-1-partition-48 configured with schema false
2021-12-14 15:11:07,283 [ INFO ] ServerCnx - [/aa.aa.aa.aa:34398] Created new producer: Producer{topic=PersistentTopic{topic=persistent://public/default/level2-pressure-1-partition-48}, client=/aa.aa.aa.aa:34398, producerName=level2-54-188, producerId=48}
2021-12-14 15:54:45,610 [ INFO ] ServerCnx - New connection from /aa.aa.aa.aa:34172
2021-12-14 15:54:45,629 [ INFO ] ServerCnx - [/aa.aa.aa.aa:34172][persistent://public/default/level2-pressure-1-partition-48] Creating producer. producerId=48
2021-12-14 15:54:45,629 [ INFO ] ServerCnx - [/aa.aa.aa.aa:34172] persistent://public/default/level2-pressure-1-partition-48 configured with schema false
2021-12-14 15:54:45,629 [ ERROR ] ServerCnx - [/aa.aa.aa.aa:34172] Failed to add producer to topic persistent://public/default/level2-pressure-1-partition-48: producerId=48, org.apache.pulsar.broker.service.BrokerServiceException$NamingException: Producer with name 'level2-54-188' is already connected to topic

The server did not get the channel Inactive event about the port  34398 as there is no log about "Closed connection from".
@Override
    public void channelInactive(ChannelHandlerContext ctx) throws Exception {
        super.channelInactive(ctx);
        connectionController.decreaseConnection(ctx.channel().remoteAddress());
        isActive = false;
        log.info("Closed connection from {}", remoteAddress); // there is no log about this.
        BrokerInterceptor brokerInterceptor = getBrokerService().getInterceptor();
        if (brokerInterceptor != null) {
            brokerInterceptor.onConnectionClosed(this);
        }

And there is still a connection with the port 34398 in the server， but do not find the connection with the port in the client. It seem the FIN package of tcp do not reach the server.
Another problem is that the keep-alive is not work in the server. If it work, the connection of the port of 34398 will close, so the producer can regist again.
In org.apache.pulsar.common.protocol.PulsarHandler#handleKeepAliveTimeout, there is no log about the connection with the port 34398 , even open debug level log.
There is a possibility that a exception is threw in org.apache.pulsar.common.protocol.PulsarHandler#handleKeepAliveTimeout. Then the schedule task will not run any more as there is no exeception catch. "ctx.writeAndFlush" may throw some RuntimeException as there is some problem about the network.
The problem appear 2 times. And it does not appear any more after adding some logs.
Additional context
Version:2.8.2

@michaeljmarshall  PTAL

@suiyuzeng - thanks for opening this issue. I have been working in this part of the code base recently, so I am happy to take a look. I should be able to sometime in the next few days. I am going to assign this to myself for now.

@suiyuzeng - you mention that you're running 2.8.2, but that version wasn't released when you opened this issue. Can you double check which version of broker and client where you're seeing this issue? Also, which client are you using (java, go, python, etc.)?

In client, it seems there is some problem about the network. Close the connection and retry. But the server send the error "Producer is already connected to topic" for earch retry.

@lhotari observed this behavior and fixed a race condition just this week: https://github.com/apache/pulsar/pull/13428. That patch won't be live until 2.8.3.

2021-12-14 15:11:07 The server receive the registe info from the port 34398 for the first time.
2021-12-14 15:54:45 get the new connection from the same client with the port of 34172, and registe the same producer.

Is it possible that you're creating two producers with the same name?

There is a possibility that a exception is threw in org.apache.pulsar.common.protocol.PulsarHandler#handleKeepAliveTimeout. Then the schedule task will not run any more as there is no exeception catch. "ctx.writeAndFlush" may throw some RuntimeException as there is some problem about the network.

This is solved by https://github.com/apache/pulsar/pull/12853, which will be included in 2.8.2.
Now that 2.8.3 has been released, are you able to test using the latest version to see if the issue is still present?

@michaeljmarshall We have changed to the release version. It is not present any more. Thanks very much.


[Bug]: Provider produced inconsistent final plan

Terraform Version
1.6.2
Equinix Provider Version
1.18.0
Effected Terraform Resources
equinix_network_file
equinix_network_device
Terraform Config Files
resource "aviatrix_edge_equinix" "primary_gw" {
  account_name           = "equinix"
  gw_name                = var.equinix_gw_name
  site_id                = var.equinix_site_id
  ztp_file_download_path = var.path
  local_as_number        = var.aws_dx_vif_customer_asn
  # enable_management_over_private_network = true

  interfaces {
    name          = "eth0"
    type          = "WAN"
    ip_address    = "<IP_ADDRESS>/30"
    gateway_ip    = "<IP_ADDRESS>"
  }

  interfaces {
    name       = "eth1"
    type       = "LAN"
    ip_address = "<IP_ADDRESS>/24"
  }
  # interfaces {
  #   name       = "eth2"
  #   type       = "MANAGEMENT"
  #   enable_dhcp = false
  #   ip_address = "<IP_ADDRESS>/24"
  #   gateway_ip    = "<IP_ADDRESS>"
  # }
}

resource "equinix_network_acl_template" "equinix-acl-template" {
  name        = "mwb-equinix-avx-acl"
  description = "AVX Equinix ACL"
  inbound_rule {
    subnet  = "<IP_ADDRESS>/32"
    protocol = "TCP"
    src_port = "any"
    dst_port = "any"
    description = "Controller IP"
  }
  inbound_rule {
    subnet  = "<IP_ADDRESS>/32"
    protocol = "TCP"
    src_port = "any"
    dst_port = "any"
    description = "CoPilot IP"
  }
  inbound_rule {
    subnet  = "<IP_ADDRESS>/32"
    protocol = "UDP"
    src_port = "any"
    dst_port = "any"
    description = "DNS IP"
  }
  inbound_rule {
    subnet  = "<IP_ADDRESS>/32"
    protocol = "UDP"
    src_port = "any"
    dst_port = "any"
    description = "DNS IP 2"
  }
  inbound_rule {
    subnet  = "<IP_ADDRESS>/30"
    protocol = "IP"
    src_port = "any"
    dst_port = "any"
    description = "dx aws router"
  }
  inbound_rule {
    subnet  = "<IP_ADDRESS>/30"
    protocol = "TCP"
    src_port = "any"
    dst_port = "any"
    description = "dx aws router"
  }
}

# Create self configured single Aviatrix device with cloud init file

data "equinix_network_account" "ny" {
  metro_code = "NY"
  name = "Aviatrix"
}

resource "equinix_network_file" "aviatrix-cloudinit-file" {
  file_name = "${aviatrix_edge_equinix.primary_gw.gw_name}-${aviatrix_edge_equinix.primary_gw.site_id}-cloud-init.txt"
  content = file("${var.equinix_gw_name}-${var.equinix_site_id}-cloud-init.txt")
  # content   = data.local_file.cloud_init_file.content
  metro_code = data.equinix_network_account.ny.metro_code
  device_type_code = "AVIATRIX_EDGE"
  process_type = "CLOUD_INIT"
  self_managed = true
  byol = true
  depends_on = [ aviatrix_edge_equinix.primary_gw ]
  # lifecycle {
  #   ignore_changes = [file_name]
  # }
}

resource "equinix_network_device" "aviatrix-single" {
  name            = "mwb-ny-tf-avx"
  metro_code      = data.equinix_network_account.ny.metro_code
  type_code       = "AVIATRIX_EDGE_10"
  self_managed    = true
  byol            = true
  package_code    = "STD"
  notifications   = ["mward-bopp@redacted"]
  term_length     = 1
  account_number  = data.equinix_network_account.ny.number
  version         = "7.1"
  core_count      = 2
  cloud_init_file_id = equinix_network_file.aviatrix-cloudinit-file.uuid
  acl_template_id = equinix_network_acl_template.equinix-acl-template.id
  lifecycle {
    ignore_changes = [cloud_init_file_id]
  }
}

Debug Output
aviatrix_edge_equinix.primary_gw: Creating...
2023-10-25T16:19:22.510+0100 [INFO]  Starting apply for aviatrix_edge_equinix.primary_gw
2023-10-25T16:19:22.511+0100 [DEBUG] aviatrix_edge_equinix.primary_gw: applying the planned Create change
equinix_network_acl_template.equinix-acl-template: Creating...
2023-10-25T16:19:22.948+0100 [INFO]  Starting apply for equinix_network_acl_template.equinix-acl-template
2023-10-25T16:19:22.949+0100 [DEBUG] equinix_network_acl_template.equinix-acl-template: applying the planned Create change
2023-10-25T16:19:22.951+0100 [INFO]  provider.terraform-provider-equinix_v1.18.0: 2023/10/25 16:19:22 [DEBUG] setting computed for "device_details" from ComputedKeys: timestamp="2023-10-25T16:19:22.951+0100"
2023-10-25T16:19:22.952+0100 [INFO]  provider.terraform-provider-equinix_v1.18.0: 2023/10/25 16:19:22 [DEBUG] Equinix API Request Details:
---[ REQUEST ]---------------------------------------
POST /ne/v1/aclTemplates HTTP/1.1
Host: api.equinix.com
User-Agent: HashiCorp Terraform/1.6.2 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-equinix/1.18.0 equinix/ecx-go
Content-Length: 763
Accept: application/json
Content-Type: application/json
Accept-Encoding: gzip

{
 "name": "mwb-equinix-avx-acl",
 "description": "AVX Equinix ACL",
 "inboundRules": [
  {
   "protocol": "TCP",
   "srcPort": "any",
   "dstPort": "any",
   "subnet": "x.x.x.x/32",
   "seqNo": 1,
   "description": "Controller IP"
  },
  {
   "protocol": "TCP",
   "srcPort": "any",
   "dstPort": "any",
   "subnet": "x.x.x.x/32
   "seqNo": 2,
   "description": "CoPilot IP"
  },
  {
   "protocol": "UDP",
   "srcPort": "any",
   "dstPort": "any",
   "subnet": "<IP_ADDRESS>/32",
   "seqNo": 3,
   "description": "DNS IP"
  },
  {
   "protocol": "UDP",
   "srcPort": "any",
   "dstPort": "any",
   "subnet": "<IP_ADDRESS>/32",
   "seqNo": 4,
   "description": "DNS IP 2"
  },
  {
   "protocol": "IP",
   "srcPort": "any",
   "dstPort": "any",
   "subnet": "<IP_ADDRESS>/30",
   "seqNo": 5,
   "description": "dx aws router"
  },
  {
   "protocol": "TCP",
   "srcPort": "any",
   "dstPort": "any",
   "subnet": "<IP_ADDRESS>/30",
   "seqNo": 6,
   "description": "dx aws router"
  }
 ]
}
-----------------------------------------------------: timestamp="2023-10-25T16:19:22.952+0100"
2023-10-25T16:19:24.002+0100 [INFO]  provider.terraform-provider-equinix_v1.18.0: 2023/10/25 16:19:24 [DEBUG] Equinix API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 201 Created
Content-Length: 0
Connection: keep-alive
Date: Wed, 25 Oct 2023 15:19:24 GMT
Location: /v1/aclTemplates/55449241-7cbb-4b7f-999e-366bb3b426a6
Server: istio-envoy
X-Apigee-Dp-Color: 174
X-Apigee-Environment: extprod
X-Apigee-Message-Id: 0a25024f-3543-4d3f-9a90-6d518af6cc5c
X-Apigee-Organization: eqx-apg-prod
X-Apigee-Proxy: /organizations/eqx-apg-prod/environments/extprod/apiproxies/Network_Edge_Apis/revisions/9
X-Apigee-Proxy-Basepath: /ne/v1
X-Apigee-Region: us-west1
X-Apigee-Target-Latency: 820
X-Envoy-Upstream-Service-Time: 836
X-Request-Id: 0a25024f-3543-4d3f-9a90-6d518af6cc5c

-----------------------------------------------------: timestamp="2023-10-25T16:19:24.002+0100"
2023-10-25T16:19:24.003+0100 [INFO]  provider.terraform-provider-equinix_v1.18.0: 2023/10/25 16:19:24 [DEBUG] Equinix API Request Details:
---[ REQUEST ]---------------------------------------
GET /ne/v1/aclTemplates/55449241-7cbb-4b7f-999e-366bb3b426a6 HTTP/1.1
Host: api.equinix.com
User-Agent: HashiCorp Terraform/1.6.2 (+https://www.terraform.io) Terraform Plugin SDK/2.10.1 terraform-provider-equinix/1.18.0 equinix/ecx-go
Accept: application/json
Accept-Encoding: gzip

-----------------------------------------------------: timestamp="2023-10-25T16:19:24.003+0100"
2023-10-25T16:19:24.511+0100 [INFO]  provider.terraform-provider-equinix_v1.18.0: 2023/10/25 16:19:24 [DEBUG] Equinix API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/1.1 200 OK
Connection: keep-alive
Content-Type: application/json;charset=UTF-8
Date: Wed, 25 Oct 2023 15:19:24 GMT
Server: istio-envoy
Vary: Accept-Encoding
X-Apigee-Dp-Color: 174
X-Apigee-Environment: extprod
X-Apigee-Message-Id: 91a192b7-ae6c-4fd4-92c5-e177d0c6db19
X-Apigee-Organization: eqx-apg-prod
X-Apigee-Proxy: /organizations/eqx-apg-prod/environments/extprod/apiproxies/Network_Edge_Apis/revisions/9
X-Apigee-Proxy-Basepath: /ne/v1
X-Apigee-Region: us-west1
X-Apigee-Target-Latency: 308
X-Envoy-Upstream-Service-Time: 320
X-Request-Id: 91a192b7-ae6c-4fd4-92c5-e177d0c6db19

{
 "name": "mwb-equinix-avx-acl",
 "uuid": "55449241-7cbb-4b7f-999e-366bb3b426a6",
 "description": "AVX Equinix ACL",
 "projectId": "a981b91e-dd14-4fb3-b477-ae90ebd9c213",
 "projectName": "Project-26510",
 "inboundRules": [
  {
   "seqNo": 1,
   "subnets": [
    "x.x.x.x/32"
   ],
   "description": "Controller IP",
   "subnet": "x.x.x.x/32",
   "protocol": "TCP",
   "srcPort": "any",
   "dstPort": "any"
  },
  {
   "seqNo": 2,
   "subnets": [
    "x.x.x.x/32"
   ],
   "description": "CoPilot IP",
   "subnet": "x.x.x.x/32",
   "protocol": "TCP",
   "srcPort": "any",
   "dstPort": "any"
  },
  {
   "seqNo": 3,
   "subnets": [
    "<IP_ADDRESS>/32"
   ],
   "description": "DNS IP",
   "subnet": "<IP_ADDRESS>/32",
   "protocol": "UDP",
   "srcPort": "any",
   "dstPort": "any"
  },
  {
   "seqNo": 4,
   "subnets": [
    "<IP_ADDRESS>/32"
   ],
   "description": "DNS IP 2",
   "subnet": "<IP_ADDRESS>/32",
   "protocol": "UDP",
   "srcPort": "any",
   "dstPort": "any"
  },
  {
   "seqNo": 5,
   "subnets": [
    "<IP_ADDRESS>/30"
   ],
   "description": "dx aws router",
   "subnet": "<IP_ADDRESS>/30",
   "protocol": "IP",
   "srcPort": "any",
   "dstPort": "any"
  },
  {
   "seqNo": 6,
   "subnets": [
    "<IP_ADDRESS>/30"
   ],
   "description": "dx aws router",
   "subnet": "<IP_ADDRESS>/30",
   "protocol": "TCP",
   "srcPort": "any",
   "dstPort": "any"
  }
 ],
 "metroName": "",
 "metroCode": "",
 "virtualDeviceDetails": [],
 "createdBy": "mward-bopp@redacted1",
 "createdDate": "2023-10-25T15:19:23.789Z"
}
-----------------------------------------------------: timestamp="2023-10-25T16:19:24.511+0100"
equinix_network_acl_template.equinix-acl-template: Creation complete after 2s [id=55449241-7cbb-4b7f-999e-366bb3b426a6]
2023-10-25T16:19:24.544+0100 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2023-10-25T16:19:26.259+0100 [WARN]  Provider "provider[\"registry.terraform.io/aviatrixsystems/aviatrix\"]" produced an unexpected new value for aviatrix_edge_equinix.primary_gw, but we are tolerating it because it is using the legacy plugin SDK.
    The following problems may be the cause of any confusing errors from downstream operations:
      - .rx_queue_size: was null, but now cty.StringVal("")
      - .secondary_dns_server_ip: was null, but now cty.StringVal("")
      - .dns_server_ip: was null, but now cty.StringVal("")
aviatrix_edge_equinix.primary_gw: Creation complete after 3s [id=equinix-edge-ny]
2023-10-25T16:19:26.276+0100 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2023-10-25T16:19:26.277+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2023-10-25T16:19:26.278+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/aviatrixsystems/aviatrix/3.1.2/darwin_arm64/terraform-provider-aviatrix_v3.1.2 pid=19662
2023-10-25T16:19:26.278+0100 [DEBUG] provider: plugin exited
2023-10-25T16:19:26.281+0100 [ERROR] vertex "equinix_network_file.aviatrix-cloudinit-file" error: Provider produced inconsistent final plan
╷
│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for equinix_network_file.aviatrix-cloudinit-file to include new values learned so far during apply,
│ provider "registry.terraform.io/equinix/equinix" produced an invalid new value for .content: inconsistent values for sensitive
│ attribute.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
╵
2023-10-25T16:19:26.296+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2023-10-25T16:19:26.297+0100 [DEBUG] provider: plugin process exited: path=.terraform/providers/registry.terraform.io/equinix/equinix/1.18.0/darwin_arm64/terraform-provider-equinix_v1.18.0 pid=19663
2023-10-25T16:19:26.297+0100 [DEBUG] provider: plugin exited

Panic Output
No response
Expected Behavior
Not require doing two "terraform apply" to get this to work
Actual Behavior
Error: Provider produced inconsistent final plan
│
│ When expanding the plan for equinix_network_file.aviatrix-cloudinit-file to include new values learned so far during apply,
│ provider "registry.terraform.io/equinix/equinix" produced an invalid new value for .content: inconsistent values for sensitive
│ attribute.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Steps to Reproduce
1st terraform apply

I was able to workaround this by using a local_file and then using that content for the network_file
data "local_file" "ztp-primary_gw" {
filename = "${aviatrix_edge_equinix.primary_gw.gw_name}-${aviatrix_edge_equinix.primary_gw.site_id}-cloud-init.txt"  # Path to your local file
}
resource "equinix_network_file" "aviatrix-cloudinit-file" {
file_name = "ztp-cloud-init.txt"
content = data.local_file.ztp-primary_gw.content
metro_code = "NY"
device_type_code = "AVIATRIX_EDGE"
process_type = "CLOUD_INIT"
self_managed = true
byol = true
depends_on = [ aviatrix_edge_equinix.primary_gw ]
lifecycle {
ignore_changes = [content]
}
}


Minor wording changes to "Launch Windows Settings App" topic

Found some of the wording in the topic a bit confusing, so I made some minor changes.

Emailed 10/19 re: resubmission via VSTS


SQLITE_LOG: recovered 787 frames from WAL file /data/counterparty/counterparty.api.db-wal

Still getting this:
2024-10-17T18:11:40.852-04:00 - [    INFO] - Mempool -<PHONE_NUMBER>00 MINTS minted for 0 XCP by 1AQpq4HsmEiB1svsMBxkq6u54GtZAv14ah
2024-10-17T18:11:40.853-04:00 - [   EVENT] - Mempool - TRANSACTION_PARSED [tx_index=2765214 tx_hash=f8352d5 supported=True]
2024-10-17T18:11:40.854-04:00 - [   DEBUG] - Waiting for new transactions from mempool or new block...
2024-10-17T18:11:44.071-04:00 - [   DEBUG] - API Watcher - 201 mempool events synchronized
^C2024-10-17T18:11:44.091-04:00 - [ WARNING] - Keyboard interrupt!
2024-10-17T18:11:44.091-04:00 - [    INFO] - Stopping API Watcher...
2024-10-17T18:11:44.091-04:00 - [    INFO] - Stopping API Server...
2024-10-17T18:11:46.113-04:00 - [   ERROR] - API Server did not stop in time. Terminating...
2024-10-17T18:11:46.115-04:00 - [    INFO] - Stopping API Status Poller...
2024-10-17T18:11:46.605-04:00 - [    INFO] - Stopping API Server v1...
2024-10-17T18:11:47.176-04:00 - [    INFO] - Closing database connections...
2024-10-17T18:11:47.180-04:00 - [    INFO] - Stopping AddrIndexRs thread...
2024-10-17T18:11:47.180-04:00 - [    INFO] - Shutting down logging...
2024-10-17T18:11:47.180-04:00 - [   DEBUG] - Creating connection to `/Users/adam/Library/Application Support/counterparty/counterparty.api.db`...
ERROR:root:SQLITE_LOG: recovered 828 frames from WAL file /Users/adam/Library/Application Support/counterparty/counterparty.api.db-wal (283) SQLITE_NOTICE_RECOVER_WAL
2024-10-17T18:11:47.211-04:00 - [    INFO] - Shutdown complete.
adam@Adams-MacBook-Pro ~/D/w/C/C/c/counterparty-core (develop=) >

https://github.com/CounterpartyXCP/counterparty-core/pull/2521/commits/eb5727f3facfc447bb9ab14bcba81e33473db77d


correct use of constant address space as 2, it is 4

With the latest upstream address space changes, the constant address space has change from 2 to 4.  The Texture tests have 2 hard coded.

Replaced by #382 which passed CI tests correctly. So merging that instead.


[W.I.P.] [RFC] New base libcloud.networking API

Note: This branch is still very much W.I.P. so please wait with the comments. I've only opened it so it's easier to link to the whole diff.
You also shouldn't based any of your changes of this branch since I'm constantly updating it and doing force pushes.

@Kami I would consider adding security groups to this specification. all providers support some sort of sec grouping policy.
http://developer.openstack.org/api-ref-networking-v2-ext.html#listSecGroups

Old and out of date PR. Closing.


Pointing at a local bare git repository behaves unexpected

If using file:///path/to/bare/git-repository/ the resulting "file-system" contains the files you would find in a bare git repository, that is objects/, index, config etc., and not the files committed to the repository.

Can you have a concrete example of the behavior expected (with -vvv). Currently, we tried to recognize a Git repository, see this line:
https://github.com/dinosaure/docteur/blob/6898978533adfd56bd8a53c2bac1a53b80863ef3/bin/make.ml#L560

My mistake, it was not a valid bare repository. I was missing these steps: https://stackoverflow.com/questions/2199897/how-to-convert-a-normal-git-repository-to-a-bare-one


Pass Property to Custom Validator

Hello for what I see here:
Vue.validator('email', function (val) {     return /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(val) });
I can make my custom validator but how can I pass data to it.
Imagine:
v-validate:passwordConfirm="{  required:true, minlength:8, equal:password }"
Any ideias?
tks

Sorry, poor documentation.
Your custom validator function, first argument is passed the field value, second argument is passed the rule value has been  specified with v-validate.

Will check tks :)

tks for the info. <3 your work.


Automatic Refresh Datas

Hi,
This pull request add the automatic refresh of the data with JQUERY calls.

I ended up implementing this slightly differently based on your code. Thank you for your contribution!


21111 license models

Added License models and UserLicense models.  This allows licenses information to be added and attached to ExportProviders and associated with users.   Sending a patch request to /api/user can change a user accepting or declining a licenses with true or false.
/api/licenses
[
  {
        "slug": "odbl",
        "name": "Open Database License (ODbL) v1.0",
        "text": "Open Database License (ODbL) v1.0 Text"
    }
]

/api/user
[
  {
    "user": {
      "username": "admin",
      "first_name": "",
      "last_name": "",
      "email"<EMAIL_ADDRESS>      "last_login": "2017-05-03T00:23:15.560058Z",
      "date_joined": "2016-06-15T14:25:19Z"
    },
    "accepted_licenses": {
      "odbl": true
    }
  }
]

/api/providers
[
  {
        "id": 2,
        "model_url": "http://cloud.eventkit.dev/api/providers/2",
        "type": "osm",
        "license": {
            "slug": "odbl",
            "name": "Open Database License (ODbL) v1.0",
            "text": "Open Database License (ODbL) v1.0 text"
        },
        "created_at": "2017-03-22T15:02:01.974000Z",
        "updated_at": "2017-03-22T15:02:01.974000Z",
        "uid": "81022dac-c73a-4a55-b270-6423650d0347",
        "name": "OpenStreetMap Data (Themes)",
        "slug": "osm",
        "preview_url": "",
        "service_copyright": "",
        "service_description": "",
        "layer": "",
        "level_from": 0,
        "level_to": 10,
        "export_provider_type": 2
    }
]

Coverage increased (+0.6%) to 81.864% when pulling f5777e06796bf7a1468d75ef2906b878c39055dc on 21111-licenseModels into aaf3ca1b98f42e0c3a210d87e3bb4d06f39046b4 on master.

Coverage increased (+0.5%) to 81.853% when pulling 8670c8956d491a150a85da6c4c2b9d4cddae9610 on 21111-licenseModels into e1ad6e88641a667040a13bdb0a11239567a739f0 on master.

Coverage increased (+0.5%) to 81.853% when pulling 8670c8956d491a150a85da6c4c2b9d4cddae9610 on 21111-licenseModels into e1ad6e88641a667040a13bdb0a11239567a739f0 on master.


Feature Request: AllowAdditions in dropdown to retain text on focus

Steps

Have a dropdown that allow additions
Type "apple" in the input
Add "apple"
Click on the dropdown input

Expected Result
It should retain the "apple" instead of clearing it and the input cursor position should be after the word "apple"
Actual Result
Upon clicking on the dropdown input, the "apple" is no longer editable
Version
0.64.7
Testcase
Allow Additions section
http://react.semantic-ui.com/modules/dropdown

The input value is the search query.  Retaining the input value would mean retaining the search query after a user activates an item.  My hunch is that this is not desirable for the majority of use cases.  When a user searches for something and then chooses that item, the Dropdown should show the full item that was chosen.
If we get more requests for this, we'll consider adding something.


Adding some additional docs for the CacheDelegate and ParsingHelpers

Some information I got from the sample app.

lgtm


v0.5.0 removed from releases

Also, downloads to assets on https://github.com/hortonworks/registry/releases/tag/v0.5.0 lead to a 404 error. It would be ideal if the binaries weren't removed.
@satishd It looks like v0.3.1 and v0.4.0 releases were removed as well.

@satishd It looks like v0.3.1 and v0.4.0 releases were removed as well.

note this isn't the first time this occurred now. From a users perspective who needs to trust a tag is immutable artefact. Should be open to why is this occurring?

@dp435 @michaelandrepearce Our infra team is looking into the issue.

You are right, but if there is none and you need it just compile.

@satishd any news? Or update

@satishd i just logged in this evening and magically they're back... it seems this now is resolved....

@michaelandrepearce Our infra team restored them, thanks for your patience.

@satishd thanks 👍 appreciated


fix: Revert PR 22157

Description

This PR reverts the changes done in #22157
Another PR will be raised post the blockers are fixed to create the forkWithConfiguration field as this can impact the users forking their apps directly.

Fixes #21691
Type of change

Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
Chore (housekeeping or task changes that don't impact user perception)
This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce.
Please also list any relevant details for your test configuration.
Delete anything that is not important

Manual
Jest
Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=c8cd157c498bc60eedf101c3e39dbbacfa877875


AADSTS50105 access denied and certificate fallback

Hi,
I would like to know if this is expected behavior as per documentation:

The user isn’t assigned a role in the Azure AD cluster application. Thus, Azure AD authentication fails on Service Fabric cluster. Service Fabric Explorer falls back to certificate authentication.

During my tests I log in to Service Fabric Cluster Explorer endpoint with AAD account not added to AAD application and received AADSTS50105 access denied error, which is expected. However then, there should be certificate authentication fallback which is not happening.
I have both AAD apps configured properly and user certificate added to the key vault.

@mjazwiecki Thanks for the Comment. We are actively investigating and will get back to you soon.

any news on this?

@mjazwiecki We are still awaiting information from the back-end team on this. We will keep the thread updated once we have more information.

@mjazwiecki Hope you are good. We are sorry that it is taking time for getting an answer for you . However I just wanted to ask you if you have tried to check the behavior in a cookie isolated session in any of the browsers (Inprivate,Incognito etc.) ? I am asking this because if for any reason the cert auth prompt does not come or have been ignored first time , it would not prompt again and it will fail. Could you please check the same once ?

@mjazwiecki I have received some advice from the backend and there are a few sitations where fallback may not happen.

If you have configured the associated AAD application to require user assignment , there will not be any fallback for a certificate validation.
If you are running this for a linux cluster we have a known issue with dual-mode authentication and here also you may not see fallback to certificate auth.

If you are in any of the above situations , then I believe the above clarifies your query but if your setup does not confirm to any of the above issues then I think it would be due to some other issue. Please let us know in case you have any further queries on this.
Also it woudl be great if you could provide some information on how you are trying to logon to the service fabric cluster endpoint and which port are you targeting ->19000 or 19080  ?

@shashishailaj thanks for this. I found that indeed, when user assignment is required there is no fallback to certificates, which was the main issue. Just to add - and this might be helpful for others as well - this is only the case for explorer endpoint (by default on port 19080). For client connection endpoint (default 19000) you would still be able to connect using certificates even though AAD is configured, which apparently is expected behaviour (but not well documented).

@mjazwiecki  Thank you for sharing the same. I would look into the documentation part and see how best the existing content can be modified .


Dyamically loading MSAL related libraries  based on flag

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.3.0
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
None
Public or Confidential Client?
Public
Description
Do we have a flag ?
In which we can dynamically load msal related libraries or by-pass all MSAL related interceptors/config ?
MSAL Configuration
No response
Relevant Code Snippets
providers: [
    // Enable adb2c access token with guard, for every request access token
    {
      provide: HTTP_INTERCEPTORS,
      useClass: MsalInterceptor,
      multi: true
    },
    MsalGuard,
    AzureAdService
  ],

Identity Provider
No response
Source
External (Customer)

@ajhaver could you please elaborate on what you're looking for? We don't have any configuraiton flags to dynamically load our libraries. In order to bypass things like the MsalInterceptor, you need to manually provide a custom Interceptor.

Hi i also have  a similar scenario, I am using Teams SSO in my application. at the time of app initialization i am calling team SDK  initializer function to detect if the my web app is inside teams or in browser, based on this i am deciding which authentication flow to occur. if my app is inside teams app i need to disable msal or its functionalities but in browser i need to use msal


Relative paths provided for Oauth2 tokenUrl, refreshUrl, or authorizationUrl not properly set in the generated Oauth2 grant types

Description:

$subject

According to the OpenAPI specification documentation [1] developers can define Oauth2 tokenUrl, refreshUrl, or authorizationUrl as relative paths for the API base URL in the security schemas if authz endpoints are located in the same server. But, when try define these in the OpenAPI spec and try to generate the client code using that the generated types only contain the relative path.
Consider the following generated code:
public type OAuth2ClientCredentialsGrantConfig record {|
    *http:OAuth2ClientCredentialsGrantConfig;
    # Token URL
    string tokenUrl = "/oauth/token";
    ...
|};

[1] - https://swagger.io/docs/specification/authentication/oauth2/ refer Relative Endpoint URLs section.

This is a known issue and fixed in the latest version
Ref - https://github.com/ballerina-platform/ballerina-library/issues/4877


Add Shelley tip query command

This command needs a --network-magic parameter for non-mainnet.

bors r+

This command needs a --network-magic parameter for non-mainnet.

The command does accept a --network-magic parameter:
  | QueryTip Network

Choosing the network has been sorted out.


Function output replaces auth.uid if a $uid wildchild is in location

If I have a rule that looks like this:
- location: something/$uid
  read: canDoSomething($uid)

functions:
  - canDoSomething(uid): auth.uid === uid

the output will be:
auth.$uid === $uid

Actually it looks like it goes a little deeper than what I said above. The parameters to functions don't get replaced recursively.
- location: something/$uid
  read: canDoSomething($uid, '1')

functions:
  - canDoSomething(uid, one):      auth.uid === uid && canDoSomethingElse(one)
  - canDoSomethingElse(uid): root.some.path[uid].exists()

outputs:
auth.$uid === $uid && root.child('some').child('path').child($uid).exists()

So I pass one to canDoSomethingElse but since its parameter is named uid it uses uid from canDoSomething which resolves to $uid instead of '1'

FYI - I've just started work on a Blaze alternative and ran your example through the new Bolt language:
path /something/$uid {
     read() { return canDoSomething($uid, '1'); }
}

function canDoSomething(uid, one) { return auth.uid === uid && canDoSomethingElse(one); }

function canDoSomethingElse(uid) { return root.some.path[uid].exists(); }

results in:
{
  "rules": {
    "something": {
      "$uid": {
        ".read": "auth.uid == $uid && root.child('some').child('path').child('1').exists()"
      }
    }
  }
}

Bolt is in early Alpha now - but I'd love you feedback on it, since you've been using Blaze.

Awesome! I'll definitely try that out when I get a chance.

Yeah there are some bugs still in the parameter sanitation, the short term fix is to avoid reuse of variable names.


Tests fixed for <=2.4. Added to travis.

@kuczek
PHP Fatal error:  Call to undefined method Yasiekz\RouterBundle\Tests\Service\RouterTest::bootKernel() in /home/travis/build/yasiekz/router-bundle/Tests/Service/RouterTest.php on line 86

@yasiekz It's all about you use every method that is not implemented in 2.3. We need to static::createClient()->bootKernel() or something like that, I do not remember right now :)
I'll try to take care about this tomorrow.


Grpc question

i found this part do not work.
managedChannel.isShutdown()   and managedChannel.isTerminated() are always false

Yes. From I known. Still put this line, just depend on Grpc. Maybe sometime, they changed. We process the network by stub send exception. 😄
Sorry to make you feel not clear.