theme.palette.success is missing after using createPalette

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
success color is missing and cause application crash
Expected Behavior 🤔
I expect to render my Alert without errors.
Steps to Reproduce 🕹
I am customizing my theme as follow:
import { createMuiTheme } from '@material-ui/core/styles';
import createPalette from '@material-ui/core/styles/createPalette';
import pink from '@material-ui/core/colors/pink';

console.log(createPalette);
const theme = createMuiTheme({
  palette: createPalette({
      primary: {
        main: '#000000',
      },
      secondary: {
        main: '#ff0000'
      },
      error: pink,
      contrastThreshold: 3,
      tonalOffset: 0.2,
  }),
});

console.log(theme.palette.success);
export default theme;

I get the following error:
ncaught TypeError: Cannot read property 'main' of undefined
    at styles (Alert.js:29)
    at Object.create (getStylesCreator.js:20)
    at attach (makeStyles.js:94)
    at makeStyles.js:235
    at useSynchronousEffect (makeStyles.js:188)
    at makeStyles.js:227
    at WithStyles (withStyles.js:52)

It seems here that theme.palette.success must be defined by the alert : https://github.com/mui-org/material-ui/blob/master/packages/material-ui-lab/src/Alert/Alert.js#L29
Context 🔦
Alert from material-ui-lab
Your Environment 🌎
I am working with :
    "@material-ui/core": "4.3.3",
    "@material-ui/icons": "4.2.1",
    "@material-ui/lab": "^4.0.0-alpha.45",
    "@material-ui/pickers": "^3.2.10",
    "@material-ui/styles": "^4.3.3",

How can I fix my material ui theme?

Please provide a full reproduction test case. This would help a lot 👷 .
A live example would be perfect. This codesandbox.io template may be a good starting point. Thank you!

So far I am able to only override with probably non default colors as follow:
import { createMuiTheme } from '@material-ui/core/styles';
import createPalette from '@material-ui/core/styles/createPalette';
import green from '@material-ui/core/colors/green';
import blue from '@material-ui/core/colors/blue';
import pink from '@material-ui/core/colors/pink';

console.log(createPalette);
const theme = createMuiTheme({
  palette: createPalette({
      primary: {
        main: '#000000',
      },
      secondary: {
        main: '#FF0000',
      },
      success: green,
      info: blue,
      error: pink,
      contrastThreshold: 3,
      tonalOffset: 0.2,
  }),
});

console.log(theme.palette.success);
export default theme;

Now the theme.palette.success is defined, I also had to add info, and I keep having an error:
Uncaught TypeError: Cannot read property 'type' of undefined
    at decomposeColor (colorManipulator.js:121)
    at darken (colorManipulator.js:248)
    at styles (Alert.js:29)

What I want is to have the same behavior as without the custom theme.
Where are those default colors stored and how can I use the default?
I am preparing a reproduction

Reproduction: https://codesandbox.io/s/crazy-stallman-hgd09?file=/src/App.js
I don't want to manually set one by one all those colors, what I want is to use the default colors if they are not defined.

We need a reproduction with the latest version.

This is the palette I am able to use, it's quite complicated:
import { createMuiTheme } from '@material-ui/core/styles';
import createPalette from '@material-ui/core/styles/createPalette';
import green from '@material-ui/core/colors/green';
import blue from '@material-ui/core/colors/blue';
import orange from '@material-ui/core/colors/orange';
import pink from '@material-ui/core/colors/pink';

const theme = createMuiTheme({
  palette: createPalette({
      primary: {
        main: '#000000',
      },
      secondary: {
        main: '#FF0000',
      },
      success: {
        main: green['500'],
        ...green,
      },
      info: {
        main: blue['500'],
        ...blue,
      },
      warning: {
        main: orange['500'],
        ...orange,
      },
      error: {
        main: pink['500'],
        ...pink,
      },
      contrastThreshold: 3,
      tonalOffset: 0.2,
  }),
});

export default theme;

I really wish to have a better explanation and solution for this, I am now preparing a reproduction with latest version

According to this: https://stackoverflow.com/questions/59827027/uncaught-typeerror-cannot-read-property-main-of-undefined-when-trying-to-use upgrading the version should work, however, I am using the latest version of react-admin which is still using mui 4.3.3 https://github.com/marmelab/react-admin/blob/v3.4.1/packages/ra-ui-materialui/package.json#L29
This block the upgrade on our end, thanks for taking the time still.


tbi - stop adding a dummy service when no datasource supplied.

https://github.com/SAP/open-ux-tools/issues/848

@devinea This is a non-trivial change in behaviour for consumers who will now need to explicitly add a datasource where none is provided. Please adjust the version accordingly so this is clearly signposted. Thanks.

@IainSAP can you explain this a little more? In what scenario is the dummy data source required?

@devinea This is a non-trivial change in behaviour for consumers who will now need to explicitly add a datasource where none is provided. Please adjust the version accordingly so this is clearly signposted. Thanks.

@IainSAP can you explain this a little more? In what scenario is the dummy data source required?

@devinea This is a non-trivial change in behaviour for consumers who will now need to explicitly add a datasource where none is provided. Please adjust the version accordingly so this is clearly signposted. Thanks.

@IainSAP can you explain this a little more? In what scenario is the dummy data source required?

This behaviour is currently in use by @sap/generator-fiori at least. Needs a minor version bump to flag a change in behaviour.

it was implemented by design originally rather than by accident

Can you explain the reasoning for the design? I just want it for the records in case we get regressions reported later to easily pinpoint where it comes from.

it was implemented by design originally rather than by accident

Can you explain the reasoning for the design? I just want it for the records in case we get regressions reported later to easily pinpoint where it comes from.

I believe (its a long time ago!) its a placeholder to allow a dev to follow the updates manually required (before we had tooling support) - and I think its needed to run preview where no datasource was provided. This can of course be added after writing now but would require additional effort on the consumer side?

it was implemented by design originally rather than by accident

Can you explain the reasoning for the design? I just want it for the records in case we get regressions reported later to easily pinpoint where it comes from.

I believe (its a long time ago!) its a placeholder to allow a dev to follow all the entries required to add a datasource (before we had tooling support) - and I think its needed to run preview where no datasource was provided. This can of course be added after writing now but would require additional effort on the consumer side and so probably not a patch bump?

Yes there were some gaps before that required this entry.
I have tested:

Generate project with no datasource.
Appears in App Info.
Preview works (start, start-local, start-noflp)
Service Manager Add Service works
Guided Dev detects no datasource

Changes for tools-suite

Service Modeler  - An unexpected error occurred, Unable to find relevant SAP Fiori tools project... Return more appropriate message.
App Info - Main Service  field is blank. Maybe show None instead.

So there is no obvious blockers to merge this and the small updates above will be dealt with in Tools-Suite.

Thanks all


fix(reactivity): not trigger effect when deleting property returns false

In non-strict mode, should not trigger effect when deleting property returns false.
In strict mode, deleteing property returning false will arise an error and this is ok.

Note: this cannot be easily tested because jest tests all run in strict mode and deletion returning false results in TypeError.


Newtreewalker workspace

##ISSUE
#226
DESCRIPTION:
Created a new treewalker workspace and added the dependencies but only commented out the changes in the previous file just in case you would like to make adjustments. I am not perfect with my typescript yet (still learning and would like to learn more) but if there are any other changes that I need to get this merged pls let me know.
made changes to the
i18n.taggedString function in "warning.ts" to include parenthesis (I don't know if this was a typo)
added typescript interfaces "depwalker.ts" in the new folder.

Hello @badex-ai,

You need to add the new workspace to tsconfig.json file
You also need a tsconfig in workspaces/treewalker (and remove the .gitkeep).
Do you have a prettier plugin enabled? If yes think to disable it.
Some files have a broken syntax and big spaces between codes (workspaces/treewalker/src/depWalker.ts)
You also need to migrate tests

And you need to update the original depWalker.js file to include the new dependency (all tests suites must run with no issues)

We also need a new ci workflow (.github/workflows/treewalker.yml)

Please also add a README

Hello, I'm closing this in favor of https://github.com/NodeSecure/scanner/pull/236
Thanks for the effort / contribution.


⚠ Bofrost.hr has degraded performance

In 79f9a94, Bofrost.hr (https://www.bofrost.hr) experienced degraded performance:

HTTP code: 200
Response time: 4953 ms

Resolved: Bofrost.hr performance has improved in 5770028 after 6 minutes.


crypto/x509: RevocationList.CheckSignatureFrom doesn't check Subject

What version of Go are you using (go version)?

$ go version
go version go1.20.5 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/thierry/Library/Caches/go-build"
GOENV="/Users/thierry/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/thierry/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/thierry/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.20.5"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/thierry/git/XXX/poc/go.mod"
GOWORK=""
CGO_CFLAGS="-O2 -g"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-O2 -g"
CGO_FFLAGS="-O2 -g"
CGO_LDFLAGS="-O2 -g"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/_d/zs7l5ldx1r94fn_qh1zvn1rw0000gn/T/go-build3292834562=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
I try to validate CRL files. I use three CA certificate:

The first one (ca.pem) is the legit certificate which sign the CRL
The second one (ca_very_wrong.pem) is wrong certificate with any key
The third one (ca_wrong.pem) is not the right CA certificate but it have the same private key than (ca.pem)

With openssl I observe this behaviour:

$ openssl crl -in ca.crl -CAfile ca.pem -noout
verify OK

$ openssl crl -in ca.crl -CAfile ca_very_wrong.pem -noout
Error getting CRL issuer certificate

$ openssl crl -in ca.crl -CAfile ca_wrong.pem -noout
Error getting CRL issuer certificate

It's the expected behaviour.
With Golang primitives, the last case is true. This behaviour is wrong.
I join zip file with a poc.
What did you expect to see?
I Expect the function CheckSignatureFrom() with certificate ca_wrong.pem return an error
What did you see instead?
Function CheckSignatureFrom() with certificate ca_wrong.pem end with success
poc.zip

my reading of RFC 5820 Seection 6.3.3 step g
makes me think that matching the other certificate contents isn't necessary, only that the public key matches.
cc @golang/security

You're right !
If I understand right the issuer must be checked at the b.1 step according with the distribution point. In my case, I got CRL and CA from configuration, not from certificate, so I understand that i do check the issuer control myself.
so, anyway it's a marginal case !


Introduce Pickles drawio diagram

This introduces the pickles structure diagram, intended to be a part of the mina book.

@mrmr1993 ready for another review.


fix: correctly treat confirmation for watch_pending_transaction

Motivation
Current logic was not treating confirmations in the expected way (tx being included = 1 confirmation)
Also split_off splits off keys including the one at which split is being performed, thus we actually notified TxWatcher about txses one block later
Two open questions:

Currently if tx is sent, included into block and one more block is mined (basically tx included into block X and latest block is X+1), then call to watch_pending_transaction will indefinitely wait for a block with targeted tx. Is this expected? Feels like a footgun, especially considering that we don't have a default timeout
It feels like watch_pending_transaction users specifying confirmations > 1 would also be interested in ensuring that no reorg has happened and that tx is actually on-chain, should we add a parameter for that?

please put open questions in issues 👍


Implement Save/Load using pickle

Current save/load methods focus on dumping and loading the pipeline definition in its JSON form, but provide no means to save a fitted pipeline and load it later to make predictions, being the usage of pickle outside of the pipeline the only way to go.
Let's re-implement the save/load methods to save the whole pipeline instance, and move the current save functionality to a to_json method.
Note that from_json is not needed anymore because the pipeline annotation can already be passed as a JSON path in the pipeline __init__ method.

Hey, it's been quite some time since I've seen any updates, and I was currently looking into this issue precisely. Is this project dead in the water?


Generated Fixtures for Integration tests

@PSUdaemon - would be cool if you could review (the go parts) and merge today; ignore the perl I'm not sure how long we'll keep that in github.... trying to come up with a scheme so we don't have to.


[Database] Decide on a database technology

Presented to the team, decided on MongoDB hosted on Atlas

Presented to the team, decided on MongoDB hosted on Atlas


Fixes for IPP integration

Fixes for IPP integration:
dotProd_16s - disabled for IPP 9.0.0;
filter2D - fixed kernel preparation;
morphology - conditions fix and disabled FilterMin and FilterMax for IPP 9.0.0;
GaussianBlur - disabled for CV_8UC1 due to buffer overflow;
integral - disabled for IPP 9.0.0;
IppAutoBuffer class was added;

Looks good to me!
:+1:


Add size control to paintbrush tool

We want to add a size control to the paintbrush to make filling in larger areas easier.
Wireframe here
Note: the wireframe differs from the AC. Implement what is described in the AC, but use the wireframe as a visual guide.
AC:

When the user clicks on the paintbrush tool, an input range (slider) appears
The slider is visible while the paintbrush tool is selected. It disappears when another tool is selected.
Options should be 1, 2, 3, 4, 5 (there are five sizes/stops on the slider -- this is different than the wireframe)
Option 1 should be the same size brush as is currently implemented
1 should be the default
Each step should increase the brush size by a certain radius, up to some max

Note: It's not clear what the max size or size step should be. Feel free to experiment with sizing to see how it feels when implementing.

@jfrankl If the user uses the paintbrush tool and changes the size to, say, 5, and then switches to another tool and then selects the paintbrush tool again, should the brush size go back to the default of 1 or should it go back to whatever size they had selected before (5 in this example)?

Thanks for asking. It would be ideal for the size to persist.


Change webpack.config external reference of 'Flickity' to 'flickity' to fix casing in Linux

Here this is running and working within my local instance (linux Docker container):

Resolves issue with #87

@benjamincharity mind taking a peek? It seemed to be way too simple a change, but works without error.
May need to add to the documentation, but we are using a coffee file and in order for this to work, we needed to require flickity and angular-flickity in our main app dependency file:
flickity = require('flickity')
bcFlickity = require('angular-flickity')

Without this, the app fails to instantiate. We are using Browserify.

Sorry for the delay (again). I had an unexpected death in the family and am just now digging myself out from a mountain of notifications.
I will do my best to verify this fix in the next 48hrs. Thanks again for you patience and contributions!

@benjamincharity sorry to hear that, no worries. We have a forked copy we are using in production currently, and working really well!

Been running with the same change since the end of June, also with no problems. I ran into some issues getting the unit tests back to passing and haven't had a chance to get back to them yet. Any luck on your end @wadehammes?

I'm at a loss here...
With your change, my demo project (webpack) seems to run perfectly. However my tests fail with this error:

And trying to use it in a CodePen throws this error:

I'd love to release this if it solves an issue, but I can't until the tests are passing. I'll try to spend some more time on it, but as you can tell, these days my time is tight.


Multiple prefix support

Hallo i really love PEX but i think it misses mutliple prefix support like for example you have the ranks Donor and Mod both groups have a prefix set it would be cool if they merged like [Donor] [Mod]  if this is possible and you would want to do this i would be very happy
have a nice day

PEX itself doesn't put the prefixes, groups, worlds, etc. into chat.  Those are all displayed in chat by chat mangement plugins.  You'd have to talk to one of those authors to get the functionality you're looking for.


Convert from cron to systemd timers

Supports the elasticsearch pull request.
This allows us to pass all of the environment and configuration to the site via environment variables instead of having to hard code them in an initializer.
Per @alanpost's request the deployment steps are as followed:

(Anytime) Make a /srv/lobsters/environment file following the required format.
Merge in lobsters #579.
Deploy lobsters #579 and leave elasticsearch disabled. This will keep things on the site from using it, but we can still index stories.
Start a rails console and run the following:

ElasticSearch.client.indices.create(index: ElasticSearch.index) To create the index.
Story.find_each { |s| IndexStoryJob.perform_now(s) } To index all of the submitted stories.
Comment.find_each { |s| IndexCommentJob.perform_now(s) } To index all of the submitted comments.

Enable elasticsearch in config/site.yml.

Once that is completed, we should have all of the stories and comments searchable again.

Only needed for lobsters/#579


delete png show since /docs/img has been deleted

Signed-off-by: yupengzte<EMAIL_ADDRESS>

LGTM

thanks!


Failed to run apheleia-npx: exit status 1 (see buffer apheleia-apheleia-npx-log)

I am experiencing an issue with this package in my ruby on rails project.
I am using doom emacs - latest pinned version, which is 96a9805ecb75aac2adde7568d26b3e3b3ffc19af.
🐛  Whenever I save a file, I get this error message in the messages buffer:
Failed to run apheleia-npx: exit status 1 (see buffer *apheleia-apheleia-npx-log*)
And this is what that buffer tells me:
$ apheleia-npx prettier --stdin-filepath /Users/cedricdelalande/dev/stockpro/stockpro-api/app/models/order/es_search.rb --plugin\=\@prettier/plugin-ruby --parser\=ruby

[error] Cannot find package '@prettier/plugin-ruby' imported from /Users/cedricdelalande/dev/stockpro/stockpro-api/noop.js

Command succeeded with exit code 1.

I have a node_modules directory, but I do not want to touch package.json as dependencies are a bit touchy on this project.
I did try to install @prettier, etc. locally, but when I did, what I got was another error:
apheleia-npx prettier --stdin-filepath /Users/cedricdelalande/dev/stockpro/stockpro-api/app/models/order/es_search.rb --plugin\=\@prettier/plugin-ruby --parser\=ruby

[error] /Users/cedricdelalande/dev/stockpro/stockpro-api/app/models/order/es_search.rb: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received null
[error]     at validateString (node:internal/validators:162:11)
[error]     at Object.dirname (node:path:1279:5)
[error]     at spawnServer (file:///Users/cedricdelalande/dev/stockpro/stockpro-api/node_modules/@prettier/plugin-ruby/src/plugin.js:79:24)
[error]     at async parse (file:///Users/cedricdelalande/dev/stockpro/stockpro-api/node_modules/@prettier/plugin-ruby/src/plugin.js:154:27)
[error]     at async parse4 (file:///Users/cedricdelalande/dev/stockpro/stockpro-api/node_modules/prettier/index.mjs:22117:11)
[error]     at async coreFormat (file:///Users/cedricdelalande/dev/stockpro/stockpro-api/node_modules/prettier/index.mjs:22607:7)
[error]     at async formatWithCursor (file:///Users/cedricdelalande/dev/stockpro/stockpro-api/node_modules/prettier/index.mjs:22809:14)
[error]     at async formatStdin (file:///Users/cedricdelalande/dev/stockpro/stockpro-api/node_modules/prettier/internal/cli.mjs:6587:23)
[error]     at async main (file:///Users/cedricdelalande/dev/stockpro/stockpro-api/node_modules/prettier/internal/cli.mjs:7077:5)
[error]     at async Module.run (file:///Users/cedricdelalande/dev/stockpro/stockpro-api/node_modules/prettier/internal/cli.mjs:7027:5)

Command succeeded with exit code 2.

I read through the README to see if I had overlooked some installation step, but I cannot see anything relevant...

@MoskitoHero the second error is because you are missing a prettierrc config. Adding it to your project should help.
https://github.com/prettier/plugin-ruby

The first step to debugging Apheleia running a formatter is to run the formatter yourself. Once you figure out the correct command line to invoke the formatter, you can come back and configure Apheleia to use that - or propose a change to the default. But Apheleia has nothing to do with formatter installation or configuration, it just runs the configured command line.


Update version to 1.0.98-0 on staging

Update version to 1.0.98-0

🚀 Deployed to staging by @OSBotify in version: 1.0.98-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @francoisl in version: 1.0.98-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Dealing with a down/crashed cloud

Issue with FG going down while VMs runnings, VMs now in error state and trying to destroy but connection refused errors.
Need a way to cleanup existing VMs and blacklist the errant cloud from being used.
Can either do this automatically - or by operator issuing a signal to cloudscheduler similar to reloading cloud configs/ban file

cloud admin tool allows enabling/disabling a cloud and removing the old vm entries from the crashed cloud.


Text styled with px unit error thrown incorrectly

Summary
I'm getting a lot of errors like this, and I'm not sure that they're valid...?:
    - Text styled with px unit: /html/body/span/p[1]
My p CSS is as follows:
p {
    font-size: 1.125rem;
    font-weight: 200;
    line-height: 1.8;
}

The px value comes from the body:
html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background: #D4E7EE;
    font: normal 16px Helvetica, Arial, sans-serif;
    line-height: 1.2;
    color: #000000;
    background-color: white;
}

I would expect no errors as I've set the font size with rem, and that it shouldn't be a problem that I've set a default base font size of 16px on the html element. Am I missing something?
I'm testing one of my side project sites: https://studentmunch.com/
Thanks

Most browsers have a 16px default base font size, that can be changed in the settings. This will cascade down, but only if you don't override it in the CSS by setting a fixed size on the html or body or other elements. A static size unit anywhere in the cascade, between the browser default and the element containing the text, means a user cannot affect the font size by changing the browser settings. Some users with vision impairments will always have the default text size set to be larger.
The BBC framework resets the default browser font size to a decimal friendly 10px ... but does so by setting the body font size to 62.5%, a dynamic size unit that respects changes to the default size. This means if the user changes the browsers default font size it will cascade to the body element.
Please close the issue if this answers your concern. To my understanding (without seeing more of your code) this is correctly flagging up an error.

Ahhh thanks for the explanation, that's really helpful! Always wondered where the 62.5% came from.
Happy to close.


[SHELVED] generator: allow explicit additional permissions

defines a factory to group record creation together
Implements https://github.com/inveniosoftware/rfcs/pull/12 --
not taking "access_right" into account in the end since it seemed
too purist (but open to adding it back).
closes #16

Blocked until metadata_restricted / access_right i.e. inveniosoftware/rfcs/pull/12 is accepted.

Shelved in favour of access levels


HLS IN-STREAM CEA-608 captions not working on Chromecast Receiver

Have you read the FAQ and checked for duplicate open issues? Yes
If the problem is related to FairPlay, have you read the tutorial? N/A

What version of Shaka Player are you using? v4.7.11

Can you reproduce the issue with our latest release version? Yes
Can you reproduce the issue with the latest code from main? N/A receiver can be setup to use latest main?
Are you using the demo app or your own custom app? Both, demo works ok (no chromecast)
If custom app, can you reproduce the issue using our demo app? No
What browser and OS are you using? Demo: Chrome Mac - Chromecast: bundled
For embedded devices (smart TVs, etc.), what model and firmware version are you using?  Google TV (Chromecast)
What are the manifest and license server URIs? send via<EMAIL_ADDRESS>
#EXT-X-VERSION:3
#EXT-X-INDEPENDENT-SEGMENTS
#EXT-X-MEDIA:TYPE=CLOSED-CAPTIONS,GROUP-ID="CC",LANGUAGE="eng",NAME="english",INSTREAM-ID="CC1"
#EXT-X-STREAM-INF:BANDWIDTH=3572008,AVERAGE-BANDWIDTH=3440800,CODECS="avc1.640028,mp4a.40.2",RESOLUTION=1280x720,FRAME-RATE=29.970,CLOSED-CAPTIONS="CC"
index2400.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2199524,AVERAGE-BANDWIDTH=2120800,CODECS="avc1.640028,mp4a.40.2",RESOLUTION=848x480,FRAME-RATE=29.970,CLOSED-CAPTIONS="CC"
index750.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=4715744,AVERAGE-BANDWIDTH=4540800,CODECS="avc1.640028,mp4a.40.2",RESOLUTION=1920x1080,FRAME-RATE=29.970,CLOSED-CAPTIONS="CC"
index5000.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=356334,AVERAGE-BANDWIDTH=345400,CODECS="avc1.640028,mp4a.40.2",RESOLUTION=462x240,FRAME-RATE=29.970,CLOSED-CAPTIONS="CC"
index375.m3u8

What configuration are you using?  What is the output of player.getConfiguration()? Chromecast Receiver defaults. Tried also:
{ preferredTextLanguage: 'en',             streaming: {                 alwaysStreamText: true,                 ignoreTextStreamFailures: true, }

What did you do?

Open sender app, connect to Custom Receiver, start casting.
Select CC track (CEA-608)
What did you expect to happen?
Subtitles to be rendered
What actually happened?

Subtitles are not shown even the player reports the track as active when enabling CC

The CEA-608 stream works on Shaka Demo, but not with the bundled options on a Chromecast Receiver

This CEA-608 track works with MPL, but no showing when using shaka for HLS (will become mandatory on H" 2024)

Are you using useShakaForHls: true and shakaVersion: "4.7.11" on your receiver for these tests?

I am using useShakaForHls true
will try the shakaVersion override and come back with results

Using shakaVersion: "4.7.11" override it works! Thank you @joeyparrish


I want please

I want Instagram pasward hacking app or link

Hello, do you have WhatsApp??
On Mon, Oct 24, 2022, 7:59 PM mohammedrihan45 @.***>
wrote:

I want Instagram pasward hacking app or link
—
Reply to this email directly, view it on GitHub
https://github.com/importCTF/Instagram-Hacker/issues/24, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATOQG4FNEEGAKROIYIS2PFDWE256FANCNFSM6AAAAAARNFN6F4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hello..yes I have Instagram hacking tools..but I don't give them out for
free for security reasons. So if you really need them, lemme know.
On Thursday, December 1, 2022, Udaypro25 @.***> wrote:

Hello, do you have WhatsApp??
On Mon, Oct 24, 2022, 7:59 PM mohammedrihan45 @.***>
wrote:
I want Instagram pasward hacking app or link
—
Reply to this email directly, view it on GitHub
#24 https://github.com/importCTF/Instagram-Hacker/issues/24, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/
ATOQG4FNEEGAKROIYIS2PFDWE256FANCNFSM6AAAAAARNFN6F4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>
Yes I have. Can you help me to learn Instagram password hacking.
—
Reply to this email directly, view it on GitHub
https://github.com/importCTF/Instagram-Hacker/issues/24#issuecomment-1333033774,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATOQG4AAHGMKBIN2NJBHE6TWK77R7ANCNFSM6AAAAAARNFN6F4
.
You are receiving this because you commented.Message ID:
@.***>


train loss and validation loss both become 0 while training RNN LM model

I use my own dataset to train an RNN model using the RNNLM.yaml and train.py in directory speechbarin/templates/speechrecognition/LM, but when it comes to epoch 2, the train loss is "0" and the valid loss is also "0". Is it normal(model has converged) or there exists something wrong?

Most likely something is wrong in training. It could be an issue in the inputs and outputs of the model - maybe the language model can somehow see the output it needs to predict or something.
If the data is so small and easy that the model is able to completely memorize it and the validation set can be perfectly predicted using the training data, this could happen, but then the data is probably not really useful.

Correct. The task might be too easy (and thus solved perfectly) or there might be an overlap between training and validation data.

I get it. I think maybe the task is too easy. Then given that the task is easy, do you think that adding LM for decoding may decrease the performance?

Generally yes, unless that LM data is a good match for what you expect to recognize. But that is an empirical question, you'll know by testing.

Thanks!


Logs are not saved to a file using DDFileLogger

I have an app that works on foreground and on background. App writes logs to a files using following setup:
fileLogger = [DDFileLogger new];
fileLogger.maximumFileSize = 1024 * 1024 * 5;  // 5MB
fileLogger.rollingFrequency = 60 * 60 * 6;     // 6h
fileLogger.logFileManager.maximumNumberOfLogFiles = 10;
[DDLog addLogger:fileLogger];
[DDLog addLogger:[DDTTYLogger sharedInstance]];

App has a view that lists all log files using
NSArray *sortedLogFileInfos = [fileLogger.logFileManager sortedLogFileInfos];
Tapping log file opens MFMailComposeViewController and emails it to my address.
Sometimes after background sessions when i receive log files - there is no any records that app was executing (even tho log was sent to me with the app on foreground). Before presenting MFMailComposeViewController i am calling [DDLog flushLog];to ensure that i get most latest logs but this isnt working for me. Please advise

I believe I have just experienced the same thing, and it is causing a major problem for me. In my case, it is critical that logging works reliably.
My app receives push notifications in the background, and I must be able to log errors, debug messages, etc. When the device is locked, no logs appear to be saved to file.
Any assistance would be much appreciated! Thank you!
Device: iPhone 5s
OS: iOS v9.2.1
CocoaLumberjack: v2.2.0

@SteffenL What's your data protection setting for your logs files? If it's set to complete, you won't be able to write to the files while the device is locked.

how do i set data protection?

I guess everything is in the sources. Take a look at the current implementation.

Old issue - closing


Add Dockerfile w/ command line

[x] Assess whether the container for dnasnout-client can be a good base
[ ] Implement the derived container (if the above is working)
[ ] Writing instructions to use as an in-container command line
[x] Put benchmark code in a gist

For the time being this is in the container for dnasount-client (with 0.5.0 at the time of writing): https://bitbucket.org/lgautier/dnasnout-client

Benchmark is here: https://gist.github.com/lgautier/fb9e18636cd1a497ecc4fad8c440aaec

Will stay in the Dockerfile for dnasnout-cilent until further notice.


Peer view broken for non admin users V2

Working path:

I login in as an admin user
I re-login as a regular user
I look at my profiles and can see the profile
Clicking on the eye icon opens up the peer configuration

Broken path:

I login in as a regular user (using incognito for no cache)
The peer is displayed in the list
Clicking on the eye icon does not open the peer configuration. Instead an empty modal is shown:

It seems like there is a request for the said configuration, but it incorrectly does not include the Identifier:

should be solved now


Enable the Description tab in character creation

Descriptions are always neat, and as this fork advertises itself as a MRP server in launcher, I don't think it would be abused much.

If we do eventually harsh-en up on the rules, we may do this in the future; not currently.


Add radare2 support to disass tool

Radare2 is an open source, multi-architecture, multi-format disassembler. It makes use of the Capstone as the underlying engine. Currently, it seems they only support x86 and not x86-64, though I am confused on their advertising of it .. perhaps just that radare2 runs on that architecture. In theory, one could just use objdump to get this information, but with radare2's interface and community behind it, I figure it would be a good thing to add.
I have a branch, radare2cfg, that has the code and will open a pull req and await bashing... I accept bashing.. I do not write very pretty code by admission.

pull req: https://github.com/trailofbits/remill/pull/103

Closed pull req #103 due to some issues found. Opened #104 and was accepted; I resolved conflicts and merged.


Fix jsonrpsee version

I'm getting the following error because of the jsonrpsee dependency of the wasm-loader:
error: failed to select a version for the requirement `jsonrpsee = "^0.17"`
candidate versions found which didn't match: 0.18.0
location searched: Git repository https://github.com/paritytech/jsonrpsee
required by package `wasm-loader v0.19.1 (https://github.com/chevdor/subwasm?branch=master#ce49da76)`
    ... which satisfies git dependency `wasm-loader` (locked to 0.19.1) of package `runtime-codegen v0.1.0 (/home/serban/workplace/sources/parity-bridges-common/tools/runtime-codegen)`

The project that I'm compiling is this: https://github.com/paritytech/parity-bridges-common/tree/master/tools/runtime-codegen
And I have to manually edit the Cargo.lock file in order to fix this:
[[package]]
name = "jsonrpsee"
version = "0.17.0"
source = "git+https://github.com/paritytech/jsonrpsee#1cde29c0280abfe13d6f59d91c7d6a78bb683515"
dependencies = [
 "jsonrpsee-client-transport 0.17.0",
 "jsonrpsee-core 0.17.0",
 "jsonrpsee-http-client 0.17.0",
 "jsonrpsee-types 0.17.0",
 "jsonrpsee-wasm-client",
 "jsonrpsee-ws-client",
]

I hope I didn't miss anything, but from what I understand using
jsonrpsee = { version = "0.17", git = "https://github.com/paritytech/jsonrpsee", features = [
    "client",
] }

Makes cargo believe that https://github.com/paritytech/jsonrpsee == 0.17 which is not correct (since now 0.18 was released). And if the package has multiple dependencies that in turn depend on jsonrpsee, it leads to the error above.
So doing just jsonrpsee = { version = "0.17", features = ["client", ] } would be a solution. Or also the following would work:
jsonrpsee = { git = "https://github.com/paritytech/jsonrpsee", tag = "v0.17.1" features = [
    "client",
] }

Nice, thanks for the PR.
The git key was actually from old remains and it could go away now indeed.


Correct English copies

Tasks

[x] Correct Follow to Following

[x] Change Notification to Notifications

[ ] Fix Super Like copies

[ ] Change register to Register

[ ] Circle notice settings

Manage Circle Profile needs copies fix also


Unable to run on schedule

Using Unraid docker container to host Immich and set up a custom user script to try get this working.
Every single time I close a console connection to the container, 'immich-face-to-album' isn't recognized and I need to run the installation again. Which is silly.
This might be why the script fails every time. But the '@hourly' or '@daily' prompts aren't working either, or using CRON.

Hello @figlizzard12 , this is most likely because you are using the command inside the docker container (which gets recreated with every immich update).
You could run it from outside the docker container (easier), or create a custom Docker image that includes it.


Failed to pull image "docker.pkg.github.com/markyjackson-taulia/jenkinsci-on-kubernetes/jenkins-on-kubernetes:v4.5.9": rpc error: code = Unknown desc = Error response from daemon: Get https://docker.pkg.github.com/v2/markyjackson-taulia/jenkinsci-on-kubernetes/jenkins-on-kubernetes/manifests/v4.5.9: no basic auth credentials

Per @survivant, see survivant

@survivant can you do a docker login docker.pkg.github.com from a terminal

docker.pkg.github.com
I was able to do the docker login from Windows using my github credentials but on ubuntu without a gui, I obtain that error
vagrant@k8s-master:~/openebs-jenkins/jenkinsci-on-kubernetes$ docker login docker.pkg.github.com
Username: survivant
Password:
Error saving credentials: error storing credentials - err: exit status 1, out: `Cannot autolaunch D-Bus without X11 $DISPLAY`

I try the solutions here : https://stackoverflow.com/questions/51222996/docker-login-fails-on-a-server-with-no-x11-installed
that one seem to works :
sudo apt remove golang-docker-credential-helpers

I did again :  docker.pkg.github.com
and the login seen to works
after that I deleted the jenkins pod and I got this
Events:
  Type     Reason     Age                From               Message
  ----     ------     ----               ----               -------
  Normal   Scheduled  89s                default-scheduler  Successfully assigned jenkins/jenkins-5645f74c7b-qnf6m to k8s-worker2
  Normal   Pulling    49s (x3 over 87s)  kubelet            Pulling image "docker.pkg.github.com/markyjackson-taulia/jenkinsci-on-kubernetes/jenkins-on-kubernetes:v4.5.9"
  Warning  Failed     49s (x3 over 87s)  kubelet            Failed to pull image "docker.pkg.github.com/markyjackson-taulia/jenkinsci-on-kubernetes/jenkins-on-kubernetes:v4.5.9": rpc error: code = Unknown desc = Error response from daemon: Get https://docker.pkg.github.com/v2/markyjackson-taulia/jenkinsci-on-kubernetes/jenkins-on-kubernetes/manifests/v4.5.9: no basic auth credentials
  Warning  Failed     49s (x3 over 87s)  kubelet            Error: ErrImagePull
  Normal   BackOff    12s (x6 over 87s)  kubelet            Back-off pulling image "docker.pkg.github.com/markyjackson-taulia/jenkinsci-on-kubernetes/jenkins-on-kubernetes:v4.5.9"
  Warning  Failed     12s (x6 over 87s)  kubelet            Error: ImagePullBackOff
vagrant@k8s-master:~/openebs-jenkins/jenkinsci-on-kubernetes$

I have this
vagrant@k8s-master:~/openebs-jenkins/jenkinsci-on-kubernetes$ cat ~/.docker/config.json
{
"auths": {
"docker.pkg.github.com": {
"auth": "I MASKED THE REAL VALUE"
}
},
"HttpHeaders": {
"User-Agent": "Docker-Client/19.03.13 (linux)"
}

@survivant I am AFK until this evening; I will pick this back to tomorrow

thanks for your time.  I'll try to setup a private docker registry and build/push the image there until it's fixed.

@survivant can you do a kubectl -n <namespace> describe deploy jenkins and paste the output?
I tried this with a base setup and not using my GitHub account and it worked so I cannot reprodeuce your issue.

yes I'll do later that after work.  I don't have a quick access to my cluster right now.

I created a new namespace : jenkins 2
I wanted to start from scratch
here the ouput
vagrant@k8s-master:~/openebs-jenkins/jenkinsci-on-kubernetes$ kubectl apply -f jenkins-admin-rbac.yaml -n jenkins2
serviceaccount/jenkins created
clusterrole.rbac.authorization.k8s.io/jenkins unchanged
clusterrolebinding.rbac.authorization.k8s.io/jenkins unchanged
vagrant@k8s-master:~/openebs-jenkins/jenkinsci-on-kubernetes$ kubectl apply -f jenkins-service.yaml -n jenkins2
The Service "jenkins" is invalid: spec.ports[0].nodePort: Invalid value: 32000: provided port is already allocated
vagrant@k8s-master:~/openebs-jenkins/jenkinsci-on-kubernetes$ cp jenkins-service.yaml jenkins-service2.yaml
vagrant@k8s-master:~/openebs-jenkins/jenkinsci-on-kubernetes$ nano jenkins-service2.yaml
vagrant@k8s-master:~/openebs-jenkins/jenkinsci-on-kubernetes$ kubectl apply -f jenkins-service2.yaml -n jenkins2
service/jenkins created
vagrant@k8s-master:~/openebs-jenkins/jenkinsci-on-kubernetes$ kubectl apply -f jenkins-deployment.yaml -n jenkins2
deployment.apps/jenkins created
vagrant@k8s-master:~/openebs-jenkins/jenkinsci-on-kubernetes$ kubectl get pods -n jenkins2
NAME                       READY   STATUS         RESTARTS   AGE
jenkins-5645f74c7b-78fcc   0/1     ErrImagePull   0          16s
vagrant@k8s-master:~/openebs-jenkins/jenkinsci-on-kubernetes$ kubectl describe deploy jenkins -n jenkins2
Name:                   jenkins
Namespace:              jenkins2
CreationTimestamp:      Mon, 08 Feb 2021 21:41:10 +0000
Labels:                 <none>
Annotations:            deployment.kubernetes.io/revision: 1
Selector:               app=jenkins
Replicas:               1 desired | 1 updated | 1 total | 0 available | 1 unavailable
StrategyType:           RollingUpdate
MinReadySeconds:        0
RollingUpdateStrategy:  25% max unavailable, 25% max surge
Pod Template:
  Labels:           app=jenkins
  Service Account:  jenkins
  Containers:
   jenkins:
    Image:       docker.pkg.github.com/markyjackson-taulia/jenkinsci-on-kubernetes/jenkins-on-kubernetes:v4.5.9
    Ports:       8080/TCP, 50000/TCP
    Host Ports:  0/TCP, 0/TCP
    Environment:
      JAVA_OPTS:  -Djenkins.install.runSetupWizard=false
    Mounts:
      /var/jenkins_home from jenkins-home (rw)
  Volumes:
   jenkins-home:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
Conditions:
  Type           Status  Reason
  ----           ------  ------
  Available      False   MinimumReplicasUnavailable
  Progressing    True    ReplicaSetUpdated
OldReplicaSets:  <none>
NewReplicaSet:   jenkins-5645f74c7b (1/1 replicas created)
Events:
  Type    Reason             Age   From                   Message
  ----    ------             ----  ----                   -------
  Normal  ScalingReplicaSet  27s   deployment-controller  Scaled up replica set jenkins-5645f74c7b to 1
vagrant@k8s-master:~/openebs-jenkins/jenkinsci-on-kubernetes$

vagrant@k8s-master:~/openebs-jenkins/jenkinsci-on-kubernetes$ kubectl get pods -n jenkins2
NAME                       READY   STATUS             RESTARTS   AGE
jenkins-5645f74c7b-78fcc   0/1     ImagePullBackOff   0          93s
vagrant@k8s-master:~/openebs-jenkins/jenkinsci-on-kubernetes$ kubectl describe pods -n jenkins2 jenkins-5645f74c7b-78fcc
Name:         jenkins-5645f74c7b-78fcc
Namespace:    jenkins2
Priority:     0
Node:         k8s-worker2/<IP_ADDRESS>
Start Time:   Mon, 08 Feb 2021 21:41:10 +0000
Labels:       app=jenkins
              pod-template-hash=5645f74c7b
Annotations:  cni.projectcalico.org/podIP: <IP_ADDRESS>/32
              cni.projectcalico.org/podIPs: <IP_ADDRESS>/32
Status:       Pending
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/jenkins-5645f74c7b
Containers:
  jenkins:
    Container ID:
    Image:          docker.pkg.github.com/markyjackson-taulia/jenkinsci-on-kubernetes/jenkins-on-kubernetes:v4.5.9
    Image ID:
    Ports:          8080/TCP, 50000/TCP
    Host Ports:     0/TCP, 0/TCP
    State:          Waiting
      Reason:       ErrImagePull
    Ready:          False
    Restart Count:  0
    Environment:
      JAVA_OPTS:  -Djenkins.install.runSetupWizard=false
    Mounts:
      /var/jenkins_home from jenkins-home (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from jenkins-token-lpbfk (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  jenkins-home:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
    SizeLimit:  <unset>
  jenkins-token-lpbfk:
    Type:        Secret (a volume populated by a Secret)
    SecretName:  jenkins-token-lpbfk
    Optional:    false
QoS Class:       BestEffort
Node-Selectors:  <none>
Tolerations:     node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                 node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason     Age                 From               Message
  ----     ------     ----                ----               -------
  Normal   Scheduled  107s                default-scheduler  Successfully assigned jenkins2/jenkins-5645f74c7b-78fcc to k8s-worker2
  Normal   Pulling    21s (x4 over 105s)  kubelet            Pulling image "docker.pkg.github.com/markyjackson-taulia/jenkinsci-on-kubernetes/jenkins-on-kubernetes:v4.5.9"
  Warning  Failed     21s (x4 over 105s)  kubelet            Failed to pull image "docker.pkg.github.com/markyjackson-taulia/jenkinsci-on-kubernetes/jenkins-on-kubernetes:v4.5.9": rpc error: code = Unknown desc = Error response from daemon: Get https://docker.pkg.github.com/v2/markyjackson-taulia/jenkinsci-on-kubernetes/jenkins-on-kubernetes/manifests/v4.5.9: no basic auth credentials
  Warning  Failed     21s (x4 over 105s)  kubelet            Error: ErrImagePull
  Normal   BackOff    8s (x5 over 104s)   kubelet            Back-off pulling image "docker.pkg.github.com/markyjackson-taulia/jenkinsci-on-kubernetes/jenkins-on-kubernetes:v4.5.9"
  Warning  Failed     8s (x5 over 104s)   kubelet            Error: ImagePullBackOff
vagrant@k8s-master:~/openebs-jenkins/jenkinsci-on-kubernetes$

Okay, let's try this:

kubectl -n <namespace> edit deploy jenkins
Scroll down to the image section and replace what is there with jequals5/jenkins-on-kubernetes:v4.5.9
Save that file and see if the image is picked up

If it does, we know there is something wrong with how your cluster or underlying os is syncing with GitHub.
If it does not, then we'll know it is not a repo issue.
I have DockerHub open so there should be no problem pulling the image from there.

it's working now

Awesome, I will leave that and upload to both going forward


Publish Feedback from FollowJointTrajectory.action Server for Spot's Arm

The current implementation of the FollowJointTrajectory action server (providing an interface between ROS and the arm controller for Spot) does not output feedback for the ROS action. This means it ignores the joint tolerances and the time limit provided with the trajectory, both of which could be used to cancel the action when violated.

Working plan: Ignore this issue unless MoveIt makes us care


List - incorrect padding when more than 9 items

Example: https://jsfiddle.net/cn054odg/
I tried to play with calc() and counters(), but it didn't really work out well. If we revert to browser rendering of lists (with numbers aligned to right, instead of left), it may work. Or we could introduce a new set of classes to specify the maximum number of digits in the numbering, although this may not be the best experience: 1-digit, 2-digit, 3-digit, 4-digit, 5-digit...

  Getting Started
  Introduction
  Getting Started

This would set the margins according to the highest numbered item.

Your jsfiddle is blank

Oops, I was playing with it. Updated the link.


Twitch Stream does not continue playing when user locks screen

User views webpage with player on mobile device, starts the twitch stream in player.
User locks phone,
Stream stops and cannot be played without opening webpage again.
Is there a way to continue stream when user locks screen on phone?
Or navigate between apps?

In general there seems to be a bunch of incompatibilities with lock screen behavior and this app. On my end, the pause button on the lock screen is not respected by the player on iOS. I have a separate issue for that but I do wish @cookpete would comment on this.

This seem to work for Twitch but only once the player has tapped on the video itself (not just tapped to unmute).
If I tap to unmute and then lock my screen without tapping anything else, nothing shows. If I then unlock, tap into the player to resume the video, then lock my screen – suddenly the iOS play button shows and lets me continue listening.
For some reason it seems like iOS is not treating the initial tap to unmute as a proper "interaction" that enables the lock screen controls.

Just checked on Android and apparently it is an issue there too.
On Fri, Sep 16, 2022 at 7:33 PM Pete Cook @.***> wrote:

This seem to work for Twitch but only once the player has tapped on the
video itself (not just tapped to unmute).
If I tap to unmute and then lock my screen without tapping anything else,
nothing shows. If I then unlock, tap into the player to resume the video,
then lock my screen – suddenly the iOS play button shows and lets me
continue listening.
For some reason it seems like iOS is not treating the initial tap to
unmute as a proper "interaction" that enables the lock screen controls.
—
Reply to this email directly, view it on GitHub
https://github.com/cookpete/react-player/issues/1505#issuecomment-1249936006,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADWSSXLLXZUL32RELM56PLV6T7WHANCNFSM6AAAAAAQGBWGSA
.
You are receiving this because you commented.Message ID:
@.***>


set default listener on ipv4 and ipv6 interfaces

Relevant issues

Contributor checklist

[ ] Provide tests for the changes (unless documentation-only)
[ ] Documented any new features, CLI switches, etc. (if applicable)

[ ] Server --help output
[ ] README.md
[ ] doc/http-server.1 (use the same format as other entries)

[ ] The pull request is being made against the master branch

Maintainer checklist

[ ] Assign a version triage tag
[ ] Approve tests if applicable

Ref : https://www.grouparoo.com/blog/node-js-and-ipv6

Test for this added: b7c46ac324172449770c34a07a31cb639cf4f402
merging this now


optimize resources

lol

LGTM

Though I agree that removing those characters would increase the efficiency of the system, I think it is important to realize that this will also reduce the total amount of nocode in the readme file.
This might lead people to think that nocode is no longer important or it might make it difficult for beginners to understand nocode since there are less examples in the documentation. Make sure you properly analyze the total outcome of making this change, as it could change the perceived direction in which the project is moving.

This is a duplication from #105

Could you merge this???


fix hyper-v unit tests

Summary of the pull request
Due to previous changes in the Hyper-V extension the old unit tests needed to be updated. This PR updates the unit tests so that they are all passing now
Changes:

Before Build 24 we attempted to load the Hyper-V PowerShell twice module before attempting to invoke any Hyper-V PowerShell cmdlet. However, we've since removed that call so the unit tests need to reflect this removal.
Since we no longer attempt to load the module, the unit tests for loading the module can be removed.
Also during that time we moved the call to check if the user is in the Hyper-V admin group outside of the StartVirtualMachineManagementService method. So the unit test that tested it in the StartVirtualMachineManagementService method is removed in this PR.

Validation after running the unit tests in VS test explorer:

References and relevant issues
Note: In the future we're planning on moving away from PowerShell to WMI via issue #2958  So these unit tests will need to be updated. But for now, its better to make sure they're all still passing before then.
Detailed description of the pull request / Additional comments
Validation steps performed
PR checklist

[ ] Closes #xxx
[ ] Tests added/passed
[ ] Documentation updated

I just did a quick search for a method in this file and noticed it's not running in the pipeline. Should those be included in the unit test step when validating PRs?
Repro steps:

Go to: https://github.com/microsoft/devhome/actions/runs/10413003670/job/28839705068?pr=3620
Search for GetVirtualMachineReturnsAHyperVVirtualMachineWhenItExists

Yea, they aren't currently in the build pipeline. I'll create a new issue so we can add it in after this PR.


Timesheet - 23/04/2021 - Usman Khalid

Task 1
Discord Management
Proof of Work

Removed Mrsky from the audit team, (5min)
Discord community guidelines docs reviewed for registration of tnbc as open source project.(25min)

Time Spent
0.5 hours

Total Time Spent
0.5 hours
Account Number
86cbaa1e021cc7d21ceedefc493051004c5ffffbc09a4ecd25e3a8dc49975d3e

Approved


Make Polygon3 available on conda-forge conda channel

The following library is a new dependency for tofu: Polygon3
It is currently available on Pypi, but not on the anaconda repo (at least not in conda-forge)
https://pypi.org/project/Polygon3/
=> Create a recipe and feedstock for this library to be on conda-forge
=> @flothesof do you think you could take care of it ?

Hi @flothesof , any chanc you can have a look into this ? ;-)

Hi @Didou09,
I would be interested to contribute to this. However, maybe this should also be discussed with the package owner first?
Appartently it is on github: https://github.com/jraedler/Polygon3
Cheers,
Florian

Hi @flothesof , I feel like the owner is not active anymore on Github, his last post dates 2 years back, and he hasn't responded to any of the issues opened in his repo.
I feel like we should move on to creating the conda-feedstock to put it on conda-forge, I'm not sure I can see reasons why he would not want it.
What do you think ?
A quick search on Anaconda reveals that several users have forked it and created their own conda version of it:
https://anaconda.org/search?q=Polygon
In this respect, putting Polygon3 on conda-forge would make it easily accessible to all conda users.

Hi @Didou09
I just checked the latest tofu builds on conda-forge. They are failing due to Polygon missing. Maybe it is the right time to solve this issue then :)
I’ll try to have a look and report back.
Cheers,
Florian

I’ve been able to progress on this.
A pull request for merging into conda-forge is on its way here: https://github.com/conda-forge/staged-recipes/pull/21195
I used grayskull as recommended in the docs to generate a recipe and have proposed it to conda-forge.
An encouraging result is that the result ran on the CI without incidents.

Right now, I'm waiting for a review of the PR. Given that conda-forge is community operated, I guess this can take a while.

Quick update here: I had a first round of reviews and am awaiting the second round. Hopefully soon.

#715 removes most of the calls to Polygon3, and what's left will be easy to remove. Sorry for pulling the rug out from you @flothesof.


Helm: Only use diff values from form

When there is a JSON schema and the user uses the form, only send the diff with the values (i.e. the changes that user made) and not the full values.

Codecov Report

Merging #511 into master will increase coverage by 0.12%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #511      +/-   ##
==========================================
+ Coverage   57.70%   57.83%   +0.12%
==========================================
  Files        1063     1063
  Lines       34428    34428
  Branches     4890     4890
==========================================
+ Hits        19867    19910      +43
+ Misses      14561    14518      -43


Don't show github note at password dialog on non-github repos

Github

Non github

Hmmm, there are still those ugly empty lines at the bottom ... is it possible to get rid of them too ? I'm not a big expert in sel screens :(

try these
IF lv_show = abap_true.
  screen-active    = '1'.
  screen-invisible = '0'.
ELSE.
  screen-active    = '0'.
  screen-invisible = '1'.
ENDIF.

Cool, Thanks Marc :+1:
Weird are abap ways ... :)


Define the Cassandra cluster load balancing policy

The next major driver version will require this parameter.

https://ocd.appscale.com:8080/job/Daily Build/4659/

@obino Yes. That parameter has been there for a very long time. It just hasn't been explicitly required until now.


Too much time taking to execute TextBlob.correct()

I am applying this method for spelling correction on some text present in a csv file, but the code is still running, it's been more than 30 minutes, and even now it is running. Can someone please points out what needs to be done in this case and why is it taking this much of time?

same issue here. did u ever find out what might be the problem?


VLM for trajectory optimization

Hi,
I am trying to use vortex lattice methods for optimal control problems. I successfully used the AeroBuildup module for optimizing a trajectory, but optimizing the design with this module doesn't make sense because my design isn't to adapted to it.
When trying to switch to vortex lattice method with a number of variables > 1 using the following code:
import aerosandbox.numpy as np
import aerosandbox as asb

opti = asb.Opti()

n_vars = 2
alpha = opti.variable(n_vars=n_vars)
beta = np.linspace(0,2,n_vars)

vlm_results = asb.VortexLatticeMethod(
    airplane=airplane,
    op_point=asb.OperatingPoint(
        atmosphere=asb.Atmosphere(),
        alpha = alpha,
        beta = beta
    )
).run()

opti.subject_to([
    vlm_results["F_g"][1] = 100
])

sol = opti.solve()

I get this error:
Traceback (most recent call last):
  File "AeroSandbox/aerosandbox/aerodynamics/aero_3D/vortex_lattice_method.py", line 197, in run
    steady_freestream_velocity = self.op_point.compute_freestream_velocity_geometry_axes()  # Direction the wind is GOING TO, in geometry axes coordinates
  File "AeroSandbox/aerosandbox/performance/operating_point.py", line 235, in compute_freestream_velocity_geometry_axes
    return self.compute_freestream_direction_geometry_axes() * self.velocity
  File "AeroSandbox/aerosandbox/performance/operating_point.py", line 231, in compute_freestream_direction_geometry_axes
    return self.compute_rotation_matrix_wind_to_geometry() @ np.array([-1, 0, 0])
  File "AeroSandbox/aerosandbox/performance/operating_point.py", line 212, in compute_rotation_matrix_wind_to_geometry
    alpha_rotation = np.rotation_matrix_3D(
  File "AeroSandbox/aerosandbox/numpy/rotations.py", line 104, in rotation_matrix_3D
    return array(rot)
  File "/AeroSandbox/aerosandbox/numpy/array.py", line 31, in array
    return _cas.vertcat(
  File "/home/charles/miniconda3/envs/py39/lib/python3.9/site-packages/casadi/casadi.py", line 466, in vertcat
    def vertcat(*args): return _vertcat(args)
  File "/home/charles/miniconda3/envs/py39/lib/python3.9/site-packages/casadi/casadi.py", line 20204, in _vertcat
    return _casadi._vertcat(*args)
NotImplementedError: Wrong number or type of arguments for overloaded function '_vertcat'.
  Possible prototypes are:
    _vertcat([Sparsity])
    _vertcat([DM])
    _vertcat([SX])
    _vertcat([MX])
  You have: '(([MX|int],DM,[MX|int]))'

I guess this compute_rotation_matrix_wind_to_geometry does not support mixed types. Is it a feature that is planned to be available any time soon ?
Thank you

Hi Peter,
Thank you for answering. For your second point, are you really sure its only a matter of 10 code lines ? Looking at the code, freestream_velocity consists in a Nx3 matrix, where N is the number of collocation points.
freestream_velocities = np.add(
    wide(steady_freestream_velocity) , rotation_freestream_velocities
)
# Nx3, represents the freestream velocity at each panel collocation point (c)

As CasADi MX not support n > 2 dimensions, how would you shape the matrix so that it accounts for this third "time" dimension ?
The only workaround I see to solve this issue is to consider constant spanwise freestream velocity, which can be limiting in some cases.
What do you think ?
Thank you

Thanks, I will definitely have a look at it.
    constant = gamma / (4 * np.pi)

    u = np.multiply(
        constant,
        (
                a_cross_b_x * term1 +
                a_cross_u_x * term2 -
                b_cross_u_x * term3
        )
    )
    v = np.multiply(
        constant,
        (
                a_cross_b_y * term1 +
                a_cross_u_y * term2 -
                b_cross_u_y * term3
        )
    )
    w = np.multiply(
        constant,
        (
                a_cross_b_z * term1 +
                a_cross_u_z * term2 -
                b_cross_u_z * term3
        )
    )

If gamma is not a vector but a matrix of shape n x m with n being the number of steps and m being the number of panels. In this case, don't you think the loop on the number of panels could be too expansive ?
Thanks again


reorder some logic in the debugger override case

When searching for a debugger in the "quick debug" case, it's possible the user tries to override the guessing by providing their own path to a debugger. However, if their compiler is not found in the cache, this override attempt will be thwarted.
This PR reorders some of the logic to ensure that we attempt to use the override before the cache is checked.

Note that this only matters for non-MSVC debugging, so some code above the override check is not moved.

Addresses: #2121


c.plot( ) or scene.show() do not work in .py files

Hi! @joamatab  @sebastian-goeldi
I wondred if either c.plot( ) or scene.show() only work in  .ipynb, but not in .py files?
In my case, when using c.plot( ) in a .py file, no figure is popped up, while using scene.show() in a .py file,  an error "ModuleNotFoundError: No module named 'pyglet'" was raised. c.show() however works normally.
All of them however works well in .ipynb files...
Another question, I would like to ask, would be why gdsfacotory is automatically downgraded to 8.8.9 after I installed ubcpdk?

Because ipynb/ipython do some magic behind the scenes. But I believe you can force it to show a figure in normal python with return_fig=True as an argumen.
ubc downgrades because here it has a specific version requirement for gdsfactory  https://github.com/gdsfactory/ubc/blob/main/pyproject.toml#L18

Thanks the reply.
But c.plot(return_fig=True) still doesn't work and no figure popped up

Yes it returns a matplotlib figure in that case, the showing must be handled by you as far as I can tell. Not an expert though, I never use this

I had the same issue on Spyder (Anaconda installation), which uses Ipython. If i run the full code with F5, containing some c.plot(return_fig=True), the plot is ignored by Spyder. If then I run just the c.plot(return_fig=True) line with F9, it is plotted ok to inline. I assumed something behind the Ipython backend or whatever.
I ended up using just c.show().


Doesn't work with CommentsAwareEnter

This package: https://github.com/Suor/CommentsAwareEnter
Hitting enter doesn't add a new comment line, neither adds a new line at all.

Fixed. The full scope is comment.line.number-sign.rego for CommentsAwareEnter to work (https://github.com/Suor/CommentsAwareEnter/blob/master/comments_aware_enter.py#L6). comment.line is enough for Sublime Text to highlight it as a comment, but not enough.


Add pinyin support for chinese

Currently, it only supports Chinese in the following way:

It would help a lot to include the pin-yin just above the chinese word.

If anyone knows where to find the english pronunciations for character languages (e.g. pinyin for Chinese) in the duolingo API from here then please let me know - happy to work on it otherwise I'll just use the normalized string.

I've merged #22, and will be tweaking the user experience. I'll close this when I publish!


How can I get the key points in the inference phase?

Thanks for your great job first! In my task, I need to extract the key points in the video, so which files should I read? Or does any utils in this program offer for the reader to extract key points? Thank you very much.

Hi,
could you please share your env dependencies file with all the version numbers? and the cuda toolkit version.
When you first ran demo_video_mobile.py did you see the following error?
Traceback (most recent call last): File "demo_video_mobile.py", line 28, in <module> from nms.gpu_nms import gpu_nms ImportError: /home/peeterson/Desktop/lighttrack/HPE/../lib/nms/gpu_nms.cpython-36m-x86_64-linux-gnu.so: undefined symbol: __cudaPopCallConfiguration
If you did could you share how you solved it? thanks.


Split up target.bzl

https://github.com/buildbuddy-io/rules_xcodeproj/blob/main/xcodeproj/internal/target.bzl has grown to be quite large. While everything in there doesn't really belong in any of the other .bzl files, it can still be split up a bit more.

@brentleyjones Is this ticket complete or should we continue to move out logic from target.bzl?


Return Error From Postgres Float Deserialization

I had an error where I was getting the debug assertion panic on a table and I had no idea what field was causing the issue. Here's a modification I made to ensure that any deserialization errors get passed up the chain with the field name without panicking in order to properly diagnose where my issue is happening.
I don't know if his is wanted or not, but thought I'd make the PR in case it is. Happy to do more modifications if necessary.

Hi - sorry I haven't had a chance to work on this further. I saw that you have continued this on so thanks for that. I have been very busy at work and was unable to work on writing tests.

Hi - sorry I haven't had a chance to work on this further. I saw that you have continued this on so thanks for that. I have been very busy at work and was unable to work on writing tests.

No worries about that. It's great that submitted that PR at all.

To just leave a comment here: I've found a performance regression in this commit regarding to certain benchmarks while running it locally. I'm currently investigating options to workaround this regression.

@Ten0 I've pushed my local experimentation here: https://github.com/weiznich/diesel/commit/5ef08d965c08565fc31e97e518d6cd67639f1753
As far as I remember there was a ~5% instruction count regression for queryable_by_name queries on postgres. Some of the added attributes makes things slightly better. It likely just needs another round of local benchmarking to validate the results, I just run out of time back then and forgot about it.

@Ten0 I've pushed my local experimentation here: weiznich@5ef08d9
As far as I remember there was a ~5% instruction count regression for queryable_by_name queries on postgres. Some of the added attributes makes things slightly better. It likely just needs another round of local benchmarking to validate the results, I just run out of time back then and forgot about it.

Thanks! 😊
Do you have a quick pointer on how I could run the relevant instruction count benchmark(s)?

Do you have a quick pointer on how I could run the relevant instruction count benchmark(s)?

You should be able to run the benchmarks via cargo bench --features "instruction_count Postgres" from the diesel_benches. It requires a Linux environment that has access to the performance counters (that can run perf).
There is also a "fast_run" feature that disables some of the benchmarks. Criterion also allows to store and use explicit baselines, which is useful for comparing to a specific version.

I've done some more benchmarks locally and I'm now quite certain that the regression in instruction count does not make the code measurably slower. At least perf diff did not show anything but noise after comparing the base branch with the change (including the optimizations).


When someone takes out the funds it shows it as spent

If someone pulls out their investment from a project, there are 2 problems

in the project page there is no information about it (investors can't tell if people pulled out their money, or how much is actually invested in the project)
in spends funds it is showed as "spent" even though it really isn't.

will be solved with explorers (I think we already have endpoints for that we just need to call them)
do you have a way to reproduce this? shows as spent for who founder or investor?

explorers ? you mean https://browse.angor.io/ ?
for the founder:
in spends funds, the utxo of the refunded invested is shown as "spent".
for investor:
in browse there is no way to know

very easy to reproduce, you can even look in spend,razor for  string statusText = transaction.IsSpent ? "Spent" : "Unspent";
there is no condition for refunded.
(also can be solved by a filter on the items that if they were refunded don't show in spend page
var transaction in stage.Items) line 110~

explorers is basically https://explorer.angor.io/tbtc/explorer
we still dont have a dedicated page to show angor projects (but its coming)
ok I will try to reproduce this

for investor:
in browse there is no way to know

are you sure it is not just a matter of waiting for the confirmations on the blockchains?


strk.kbt.io/git/go-libravatar is unstable for CI build

I encountered that go cannot access that library, see https://drone.gitea.io/go-gitea/gitea/10000/1/9 .

@strk If you don't want to store it on github, maybe you can move it to https://gitea.com

https://strk.kbt.io/projects/go/libravatar/index.html mentions a mirror on gitlab: https://gitlab.com/strk/go-libravatar

Must have been a glitch, works now, right ?
GitHub can also be unstable, as well as gitlab.com or gitea.com.
The good thing about go is that it clones repos.
Continuously taking a fresh clone is just a silly thing modern CI do way too often.
How about using a docker image with a pre-cloned snapshot ?


Unexpected copy behavior

The following assertion is false. Is this the intended behavior of the copy functionality?
val rows = 3
val cols = 4
val data = Array[Double](1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
val dm = new DenseMatrix(rows, cols, data, 0, cols, isTranspose = true)
val sm = dm(2 until 3, 0 until 2)
assert(sm == sm.copy)

Above, the string value of sm is as expected, 9.0  10.0. Unexpectedly, the string value of sm.copy is 1.0  2.0. It appears that the underlying array data is not copied properly: sm.data == Array(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0) and sm.copy.data == Array(1.0, 2.0).

@karenfeng So, unfortunately the DenseMatrix class isn't a case class, so a == b will return false because its comparing the instances instead of the value.
I'd say just compare the toString values of the matrices, unfortunately.

@aliakhtar that's not right. DenseMatrix implements equals.
I'm surprised a bug like this is still present. I will try to fix soon.

Hi - this is also a pressing issue for us. What is the best workaround for using .copy? Is this fixed?
I am using Scala 2.12.0

fixed in 2d0c483d63011b816c72be549f4f5390cd07550a. dumb bug . I'll push a release tomorrow (Sunday 8/2)

Thanks a lot!

(released 1.1)


Request: Event for user-initiated range change

Hi,
Thanks for writing this particularly useful calendar control.
I'm using it in a context where the user may either interact with the control itself, or some external controls that will trigger a change of date that the calendar is using. The problem I'm having is that changing this date externally will cause the calendar control to fire the rangeChanged event.
I'm using the rangeChanged event to determine when the user has changed month slide (previous/next) since the timeSelected event is not triggered in this instance, and I need to load data for the new month.
However the behaviour of my code is differs between program-initiated changes (e.g. external controls) and user-initiated changes (e.g. this calendar control's month slider).
Having an event that is triggered only if the user has directly manipulated the control (e.g. by swiping left/right) would be extremely useful.

@zeiphon Since your code triggers the change, I think you should be able to tell the difference by yourself?
For example, when you trigger the change, you can also set a flag and check that flag in the rangeChanged callback.
I think in normal case, even the change is triggered externally, you still want the event get fired. For example, if you change the current date to one day in next month programatically, the calendar will slide to next month and fires the rangeChanged event to allow you populate the events for next month.

Thanks for the response.
I was hoping to avoid a messy situation involving the use of flags and relying on often confusing digest cycles, but I can do this anyway.


Unable to use core 1.1 with ASP.NET Core Web Application (.Net Framework)

Create new ASP.NET Core Web Application (.Net Framework)
Select Web Applications
Change Authentication to User Accounts
Update Nuget packages
Run from Visual Studio
Error - FileLoadException: Could not load file or assembly 'Microsoft.AspNetCore.Http.Features, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

I'm running Windows 10, VS2016 Update 3

See this thread: https://github.com/aspnet/Home/issues/1826

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


fix typo

Geometery -> Geometry
Typo fixed in the source code and file paths

If this is merged, we should update a few links on docs @Thraka


Bug: slice out of bound panic for certain emails

I used this tool twice for different emails, both panicked on vsco code and is concerned with L39.
$ ryze<EMAIL_ADDRESS>Where are you<EMAIL_ADDRESS>? 🧐
Spotify 👀
Twitter 👀
Adobe 👀
Instagram 👀
panic: runtime error: slice bounds out of range [:-1]

goroutine 10 [running]:
github.com/alenjohn05/ryze/cmd/apps.getVSID()
	/Users/utc/go/pkg/mod/github.com/alenjohn05/ryze@v0.0.0-20231023154310-11217f5c5d22/cmd/apps/vsco.go:39 +0x2b2
github.com/alenjohn05/ryze/cmd/apps.Vsco(0x0?, {0x7ff7bfeff7d5, 0x1d}, 0x0)
	/Users/utc/go/pkg/mod/github.com/alenjohn05/ryze@v0.0.0-20231023154310-11217f5c5d22/cmd/apps/vsco.go:46 +0x7d
created by github.com/alenjohn05/ryze/cmd.glob..func1 in goroutine 1
	/Users/utc/go/pkg/mod/github.com/alenjohn05/ryze@v0.0.0-20231023154310-11217f5c5d22/cmd/root.go:37 +0x4c9
# ------------------------------------------------------------------------------------------
$ ryze<EMAIL_ADDRESS>Where are you<EMAIL_ADDRESS>? 🧐
panic: runtime error: slice bounds out of range [:-1]

goroutine 23 [running]:
github.com/alenjohn05/ryze/cmd/apps.getVSID()
	/Users/utc/go/pkg/mod/github.com/alenjohn05/ryze@v0.0.0-20231023154310-11217f5c5d22/cmd/apps/vsco.go:39 +0x2b2
github.com/alenjohn05/ryze/cmd/apps.Vsco(0x0?, {0x7ff7bfeff7d5, 0x18}, 0x0)
	/Users/utc/go/pkg/mod/github.com/alenjohn05/ryze@v0.0.0-20231023154310-11217f5c5d22/cmd/apps/vsco.go:46 +0x7d
created by github.com/alenjohn05/ryze/cmd.glob..func1 in goroutine 1
	/Users/utc/go/pkg/mod/github.com/alenjohn05/ryze@v0.0.0-20231023154310-11217f5c5d22/cmd/root.go:37 +0x4c9

From what I know, what you are searching for is out of bound.

Btw, it's a nice project I would love see more apps!


CI: K8sBookInfoDemoTest Bookinfo Demo Tests bookinfo demo: exit status 4

Happened in a PR with some unrelated changes to test constants: https://github.com/cilium/cilium/pull/16623.
https://jenkins.cilium.io/job/Cilium-PR-K8s-1.20-kernel-4.19/769/testReport/junit/Suite-k8s-1/20/K8sBookInfoDemoTest_Bookinfo_Demo_Tests_bookinfo_demo/
4181f708_K8sBookInfoDemoTest_Bookinfo_Demo_Tests_bookinfo_demo.zip
(sysdump is missing most information :'( )
Stacktrace
/home/jenkins/workspace/Cilium-PR-K8s-1.20-kernel-4.19/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:518
Unable to connect from "reviews-v1-86b6d48686-5kltp" to "ratings.default.svc.cluster.local:9080/health"
Expected command: kubectl exec -n default reviews-v1-86b6d48686-5kltp -- wget --tries=2 --connect-timeout 5 ratings.default.svc.cluster.local:9080/health
To succeed, but it failed:
Exitcode: 4
Err: exit status 4
Stdout:

Stderr:
 	 --2021-06-22 22:30:45--  http://ratings.default.svc.cluster.local:9080/health
	 Resolving ratings.default.svc.cluster.local (ratings.default.svc.cluster.local)... <IP_ADDRESS>
	 Connecting to ratings.default.svc.cluster.local (ratings.default.svc.cluster.local)|<IP_ADDRESS>|:9080... failed: Connection refused.
	 command terminated with exit code 4

/home/jenkins/workspace/Cilium-PR-K8s-1.20-kernel-4.19/src/github.com/cilium/cilium/test/k8sT/bookinfo.go:117

Standard Output
Number of "context deadline exceeded" in logs: 0
Number of "level=error" in logs: 0
Number of "level=warning" in logs: 0
Number of "Cilium API handler panicked" in logs: 0
Number of "Goroutine took lock for more than" in logs: 0
No errors/warnings found in logs
Number of "context deadline exceeded" in logs: 0
Number of "level=error" in logs: 0
Number of "level=warning" in logs: 0
Number of "Cilium API handler panicked" in logs: 0
Number of "Goroutine took lock for more than" in logs: 0
No errors/warnings found in logs
Number of "context deadline exceeded" in logs: 0
Number of "level=error" in logs: 0
⚠  Number of "level=warning" in logs: 7
Number of "Cilium API handler panicked" in logs: 0
Number of "Goroutine took lock for more than" in logs: 0
Top 2 errors/warnings:
Unable to restore endpoint, ignoring
Session affinity for host reachable services needs kernel 5.7.0 or newer to work properly when accessed from inside cluster: the same service endpoint will be selected from all network namespaces on the host.

Standard Error
Click to show
22:29:32 STEP: Running BeforeAll block for EntireTestsuite K8sBookInfoDemoTest
22:29:32 STEP: Ensuring the namespace kube-system exists
22:29:32 STEP: WaitforPods(namespace="kube-system", filter="-l k8s-app=cilium-test-logs")
22:29:32 STEP: WaitforPods(namespace="kube-system", filter="-l k8s-app=cilium-test-logs") => <nil>
22:29:33 STEP: Deleting cep [empire-backup-78bb758bc4-bwdvw,empire-hq-69b8866d77-27bbp,empire-outpost-8888-544cdcd9b8-j847m,empire-outpost-9999-5d45bbc888-bk4v7,kafka-broker-67f887645b-578q4] in namespace default
22:29:33 STEP: Waiting for 5 deletes to return (empire-backup-78bb758bc4-bwdvw,empire-hq-69b8866d77-27bbp,empire-outpost-8888-544cdcd9b8-j847m,empire-outpost-9999-5d45bbc888-bk4v7,kafka-broker-67f887645b-578q4)
22:29:33 STEP: Unable to delete cep empire-outpost-9999-5d45bbc888-bk4v7 with 'kubectl -n default delete cep empire-outpost-9999-5d45bbc888-bk4v7': Exitcode: 1
Err: exit status 1
Stdout:

Stderr:
 	 Error from server (NotFound): ciliumendpoints.cilium.io "empire-outpost-9999-5d45bbc888-bk4v7" not found

22:29:33 STEP: Unable to delete cep empire-backup-78bb758bc4-bwdvw with 'kubectl -n default delete cep empire-backup-78bb758bc4-bwdvw': Exitcode: 1
Err: exit status 1
Stdout:

Stderr:
 	 Error from server (NotFound): ciliumendpoints.cilium.io "empire-backup-78bb758bc4-bwdvw" not found

22:29:33 STEP: Running BeforeAll block for EntireTestsuite K8sBookInfoDemoTest Bookinfo Demo
22:29:33 STEP: Installing Cilium
22:29:35 STEP: Waiting for Cilium to become ready
22:30:32 STEP: Validating if Kubernetes DNS is deployed
22:30:32 STEP: Checking if deployment is ready
22:30:32 STEP: Checking if kube-dns service is plumbed correctly
22:30:32 STEP: Checking if DNS can resolve
22:30:32 STEP: Checking if pods have identity
22:30:33 STEP: Kubernetes DNS is up and operational
22:30:33 STEP: Validating Cilium Installation
22:30:33 STEP: Performing Cilium controllers preflight check
22:30:33 STEP: Performing Cilium status preflight check
22:30:33 STEP: Performing Cilium health check
22:30:35 STEP: Performing Cilium service preflight check
22:30:35 STEP: Performing K8s service preflight check
22:30:36 STEP: Waiting for cilium-operator to be ready
22:30:36 STEP: WaitforPods(namespace="kube-system", filter="-l name=cilium-operator")
22:30:36 STEP: WaitforPods(namespace="kube-system", filter="-l name=cilium-operator") => <nil>
22:30:36 STEP: Creating objects in file "/home/jenkins/workspace/Cilium-PR-K8s-1.20-kernel-4.19/src/github.com/cilium/cilium/test/k8sT/manifests/bookinfo-v1.yaml"
22:30:36 STEP: Creating objects in file "/home/jenkins/workspace/Cilium-PR-K8s-1.20-kernel-4.19/src/github.com/cilium/cilium/test/k8sT/manifests/bookinfo-v2.yaml"
22:30:36 STEP: Waiting for pods to be ready
22:30:36 STEP: WaitforPods(namespace="default", filter="-l zgroup=bookinfo")
22:30:41 STEP: WaitforPods(namespace="default", filter="-l zgroup=bookinfo") => <nil>
22:30:43 STEP: Waiting for services to be ready
22:30:43 STEP: Validating DNS without Policy
22:30:44 STEP: All pods should be able to connect without policy
22:30:44 STEP: Checking that "reviews-v1-86b6d48686-5kltp" can connect to "ratings.default.svc.cluster.local:9080/health"
FAIL: Unable to connect from "reviews-v1-86b6d48686-5kltp" to "ratings.default.svc.cluster.local:9080/health"
Expected command: kubectl exec -n default reviews-v1-86b6d48686-5kltp -- wget --tries=2 --connect-timeout 5 ratings.default.svc.cluster.local:9080/health
To succeed, but it failed:
Exitcode: 4
Err: exit status 4
Stdout:

Stderr:
 	 --2021-06-22 22:30:45--  http://ratings.default.svc.cluster.local:9080/health
	 Resolving ratings.default.svc.cluster.local (ratings.default.svc.cluster.local)... <IP_ADDRESS>
	 Connecting to ratings.default.svc.cluster.local (ratings.default.svc.cluster.local)|<IP_ADDRESS>|:9080... failed: Connection refused.
	 command terminated with exit code 4

=== Test Finished at 2021-06-22T22:30:45Z====
22:30:45 STEP: Running JustAfterEach block for EntireTestsuite K8sBookInfoDemoTest
22:30:46 STEP: Running AfterEach for block EntireTestsuite K8sBookInfoDemoTest
22:30:46 STEP: Running AfterEach for block EntireTestsuite

[[ATTACHMENT|4181f708_K8sBookInfoDemoTest_Bookinfo_Demo_Tests_bookinfo_demo.zip]]
22:30:46 STEP: Running AfterAll block for EntireTestsuite K8sBookInfoDemoTest Bookinfo Demo
22:30:46 STEP: Deleting resource /home/jenkins/workspace/Cilium-PR-K8s-1.20-kernel-4.19/src/github.com/cilium/cilium/test/k8sT/manifests/bookinfo-v1.yaml
22:30:46 STEP: Deleting resource /home/jenkins/workspace/Cilium-PR-K8s-1.20-kernel-4.19/src/github.com/cilium/cilium/test/k8sT/manifests/bookinfo-v2.yaml
22:30:46 STEP: Running AfterAll block for EntireTestsuite K8sBookInfoDemoTest
22:30:46 STEP: Removing Cilium installation using generated helm manifest

Please post here if you hit this again. We should now have more information to debug thanks to https://github.com/cilium/cilium/pull/16775.

There we go: https://jenkins.cilium.io/job/Cilium-PR-K8s-1.21-kernel-4.9/1015/testReport/junit/Suite-k8s-1/21/K8sBookInfoDemoTest_Bookinfo_Demo_Tests_bookinfo_demo/
93068172_K8sBookInfoDemoTest_Bookinfo_Demo_Tests_bookinfo_demo.zip

@brb It's not the same issue (resolution failure vs. connection to service refused). Yours is another case of https://github.com/cilium/cilium/issues/16717#issuecomment-871748370.

Seen on #16806 (k8s-1.16-kernel-netnext):
https://jenkins.cilium.io/job/Cilium-PR-K8s-1.16-net-next/1070/
15ef216d_K8sBookInfoDemoTest_Bookinfo_Demo_Tests_bookinfo_demo.zip

Symptoms
Expected command: kubectl exec -n default reviews-v1-75cfdb45f-2w47n -- wget --tries=2 --connect-timeout 5 ratings.default.svc.cluster.local:9080/health
[...]
	 Resolving ratings.default.svc.cluster.local (ratings.default.svc.cluster.local)... <IP_ADDRESS>
	 Connecting to ratings.default.svc.cluster.local (ratings.default.svc.cluster.local)|<IP_ADDRESS>|:9080... failed: Connection refused.

Analysis
The client pod is on k8s2 according to its hostIP, so colocated with cilium-2td2g. We can then get the connection from k8s2 pts of view (timestamps also match):
$ cat hubble-k8s2.json | ./hubble observe --port 9080
Jul 13 09:41:12.314: default/reviews-v1-75cfdb45f-2w47n:52374 -> default/ratings-v1-6bbfd59bf-n4zqq:9080 to-endpoint FORWARDED (TCP Flags: SYN)
Jul 13 09:41:12.314: default/reviews-v1-75cfdb45f-2w47n:52374 <- default/ratings-v1-6bbfd59bf-n4zqq:9080 to-endpoint FORWARDED (TCP Flags: ACK, RST)

Showing the same with IP addresses reveals the client and server are on the same node:
$ cat ~/Downloads/hubble1.json | ./hubble observe --numeric --port 9080
Jul 13 09:41:12.314: <IP_ADDRESS>:52374 -> <IP_ADDRESS>:9080 to-endpoint FORWARDED (TCP Flags: SYN)
Jul 13 09:41:12.314: <IP_ADDRESS>:52374 <- <IP_ADDRESS>:9080 to-endpoint FORWARDED (TCP Flags: ACK, RST)

<IP_ADDRESS> belongs to pod ratings-v1-6bbfd59bf-n4zqq.

A RST from a server is very puzzling because the usual cause for those is incorrect masquerading but that doesn't happen until the third packet and certainly shouldn't happen on a connection local to the node. The other obvious explanation is that the server isn't listening on TCP/9080. So let's check the server's logs:
2021-07-13T09:41:12.912105733Z Server listening on: http://<IP_ADDRESS>:9080

If the timestamps are correct and aligned, it indeed seems the server was not listening on TCP/9080 when the TCP SYN packet arrived at 09:41:12.314. Time to take a look at the test's code.
It's weird because the pod was detected as Ready at 2021-07-13T09:41:10Z by kubectl.WaitforPods.


Data migration: root relative images are broken

For example, https://github.mit.edu/ocw-content-rc/2.007-spring-2009/blame/main/content/pages/projects/_index.md#L12 should be converted to an embedded resource.
legacy: https://ocw.mit.edu/courses/mechanical-engineering/2-007-design-and-manufacturing-i-spring-2009/projects/
nextgen: https://ocwnext.odl.mit.edu/courses/2-007-design-and-manufacturing-i-spring-2009/pages/projects/

I'm not sure how widespread this issue is. I'm guessing it was caused by the original OCW author not using resolveuid links properly.

Here's another one: https://github.mit.edu/ocw-content-rc/2.627-fall-2013/blame/main/content/pages/syllabus.md#L41


Maximize, minimize and close buttons when using light theme

Can anyone help me make the maximize, minimize and close buttons for the light theme？
I'm not good at inverting icons, who can help me……

no one, okay, I had to do it by myself...
Not hard, I guess......

I did it!

improved in 1.6.6 update


Test updated build with docker-compose

Beyond just using make for building a set of paired
omero-web and omero-web-standalone images, this allows
building within a self-contained docker-compose.yml.
see: https://github.com/openmicroscopy/omero-web-docker/pull/28
Questions:

[ ] default server to point at
[ ] whether or not to include a server & db container

Testing:

choose your server list (updating .env or setting the environment variable
run docker-compose up -d
check that you are using the latest build from merge-ci

cc: @manics @will-moore

This works on my machine, however there could be a potential build/run order issue. There is a github issue discussing how docker-compose doesn't support this workflow.
The depends_on option is potential solution, however again, there is a github issue  advising against it.
@manics might have more to say on it.

If the main aim is to test prebuilt merge-ci and latest-ci builds we could make it even easier for people by ensuring the containers are already built by devspace, either by

get travis-ci to build https://github.com/snoopycrimecop/omero-web-docker and push the required images to https://hub.docker.com/r/snoopycrimecop/omero-web/
Build and push from devspace, since it already has a docker node https://github.com/ome/devspace/tree/0.12.0/docker

Another advantage is that you could test this using our production OMERO docker-compose.yml files by overriding the images.

If the main aim is to test prebuilt merge-ci and latest-ci builds

I think the main driver was to add the necessary configurability to do everything you proposed in the via the makefile in docker-compose.yml itself. In fact, I could see moving away from the makefile in favor of docker-compose as the standard build mechanism. It also makes for a clear documentation of how everything is to be used.

we could make it even easier for people

I can definitely see having both :merge and :latest(-ci?) versions pushed regularly.

instead of two more docker-compose.yml files

Yeah, I'm not overly happy with the degree of cut-n-paste that docker-compose requires in general, but I think there's still value in having these files in the repo, especially if we can get rid of the cut-n-paste in Makefile. When I'm making changes to omero-{web,server}-docker, I often find myself wanting an in-place docker-compose.yml. (I've had local ones multiple times.)

Note: the only thing this doesn't easily provide is a way to add more environment variables without modifying the docker-compose.yml itself. If you have ideas on how to add that customization, I'd be interested.

I'm still not convinced of the benefit of having a docker-compose.yml file in this repo, but if we're going ahead with it can you look into the potential ordering issue: https://github.com/ome/omero-web-docker/pull/29#issuecomment-496541382 ?

@manics, are you referring to https://stackoverflow.com/a/51425060/56887 ? I tried this:
diff --git a/docker-compose.yml b/docker-compose.yml
index 209f9c1..13d2b9e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -17,10 +17,16 @@ services:
     image: ${REPO}/omero-web-standalone:${PREFIX}
     build:
       context: standalone
+      network: omero
       args:
...
+
+networks:
+  default:
+    name: omero

but it would bump our minimum requirement:
$ docker-compose pull
ERROR: The Compose file './docker-compose.yml' is invalid because:
networks.default value Additional properties are not allowed ('name' was unexpected)
services.web.build contains unsupported option: 'network'

I've not run into any ordering issues, i.e. the state of this PR has always worked for me.


[SVCS-701] OSFStorage: Only Enable Intra Move/Copy For Same Region

Ticket
https://openscience.atlassian.net/browse/SVCS-701
Purpose
Only allow intra move/copy within the same region (for the same bucket) for OSFStorage.
Changes

Add a dedicated method is_same_region() to core.provider and osfstorage.provider. Currently implementation is based on the assumption that we use a 1-to-1 mapping between buckets and regions. If we change this assumption in the future, only is_same_region() needs to be updated.

can_intra_copy() and can_intra_move() now calls the aforementioned is_same_region()

Update provider tests for OSFStorage. (No refactor, just minimal changes that are necessary.)

Update a comment in GCloud to reflect the latest change in OSFStorage settings.

Side effects
No
QA Notes
This feature cannot be tested until the OSF has region.
Deployment Notes
No

Coverage decreased (-0.01%) to 89.851% when pulling 849385fdf898991c091b563b5cc03231ebcdbd02 on cslzchen:feature/osfstorage-crossregion-movecopy into 98b057cf5b00ca139326e759e52bffdde0517e6e on CenterForOpenScience:develop.


点击单元格末编辑状态，弹出模态框显示单元的属性

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Additional context
Add any other context or screenshots about the feature request here.

使用cellMousedown钩子


Change base image for rescheduler to busybox

Tested in my own cluster against the [k8s.io] Rescheduler [Serial] should ensure that critical pod is scheduled in case there is no resources available test and it passed.
Note that because we write to /var/log/rescheduler.log on the master via stdout/stderr redirect, we need busybox and we need to run as root.
cc @timstclair

This change is

ping @piosz

LGTM

/lgtm
/approve


Add support for BitBucket Server webhook

Currently Lagoon only support Bitbucket Cloud payloads. It would be helpful if it supported Bitbucket Server payloads as well.

BB Server is slated for EOL (https://confluence.atlassian.com/support/atlassian-support-end-of-life-policy-201851003.html)
If we relook at our SCM libraries, we can consider it.


Switch from serde_test to serde_assert.

This closes #162.
I'm really happy with the improvements with this one. The biggest improvement was the significantly reduced complexity of the Allocator and Archetypes tests, both of which are testing DeserializeSeed implementations. Before, a complicated Deserialize-able newtype wrapper was required, but now we can just use the type directly. For the Allocator case, this eliminated hundreds of lines of code.
Additionally, the code now tests the full round-trip serialize and deserialize into sequences, which was not possible with serde_test.
And finally, #160 should be unblocked, due to serde_assert's Unordered, which will allow the tests to still be possible when token order is no longer guaranteed.

Codecov Report

Merging #163 (3fb0832) into dev (e50aaed) will decrease coverage by 0.36%.
The diff coverage is 98.71%.

@@            Coverage Diff             @@
##              dev     #163      +/-   ##
==========================================
- Coverage   95.05%   94.69%   -0.37%
==========================================
  Files          75       75
  Lines       10708    10795      +87
==========================================
+ Hits        10179    10222      +43
- Misses        529      573      +44

Impacted Files
Coverage Δ

src/archetype/identifier/impl_serde.rs
98.44% <91.30%> (-1.56%)
:arrow_down:

src/archetypes/impl_serde.rs
99.37% <95.91%> (+1.23%)
:arrow_up:

src/entity/allocator/impl_serde.rs
98.59% <98.59%> (-0.17%)
:arrow_down:

src/archetype/impl_serde.rs
98.15% <99.18%> (-1.67%)
:arrow_down:

src/entity/identifier/impl_serde.rs
99.26% <100.00%> (+0.12%)
:arrow_up:

src/hlist.rs
98.18% <100.00%> (+0.35%)
:arrow_up:

src/world/impl_serde.rs
100.00% <100.00%> (ø)

src/registry/serde/de/sealed.rs
84.23% <0.00%> (-13.59%)
:arrow_down:

... and 5 more

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


With this deprecated, what should I use for Claims-based Authorization?

I was looking for a package to handle claims-based authorization to use in conjunction with my IdentityServer3 implementation and came across this.  However, it's deprecated and doesn't really say what should be used instead.
Thanks!

It's done. Feel free to use the code.
Sent from my iPhone

On 3 Oct 2016, at 13:57, tstone84<EMAIL_ADDRESS>wrote:
I was looking for a package to handle claims-based authorization to use in conjunction with my IdentityServer3 implementation and came across this. However, it's deprecated and doesn't really say what should be used instead.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@leastprivilege Thanks for the quick response per usual!!