text:
Would be nice to have an option for Spinsys for SIMPSON

Expanding on issue raised by @AKM2022

Agreed. Being able to choose a set of atoms and write out the NMR parameters ready for a simulation is one of the key selling points. It fits naturally into a graphical programme since you you might well need to choose the spins interactively - indeed writing out whole unit cell would generally be a Very Bad Idea and should generate a warning.
Use cases:
Selecting an individual C atom + all the H atoms (including within adjacent molecules) within a certain radius, including the dipolar couplings.
Selecting atom X sites and writing them out. With multiple sites, you often would not want to include couplings and would generally construct the spectrum as a sum of single spin simulations.


text:
🛑 Main Website is down

In 5b917ab, Main Website (https://xoro-hosting.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Main Website is back up in 23a6111 after 11 minutes.

source: gharchive/issue

repo: stxrlite/xoro-updates

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 Status is down

In 1d91b5a, Status (https://status.xoro-hosting.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Status is back up in 20c00c8 after 40 minutes.


text:
🛑 Panel is down

In 7131f7f, Panel (https://portal.xoro-hosting.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Panel is back up in 2946d7d after 22 minutes.


text:
🛑 Main Website is down

In 5fdd6f4, Main Website (https://xoro-hosting.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Main Website is back up in a0deef2 after 20 minutes.


text:
Not possible to extend createGlobalStyle?

Environment
System:

OS: Linux 4.9 Debian GNU/Linux 9 (stretch) 9 (stretch)
CPU: (8) x64 Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
Memory: 3.31 GB / 15.59 GB
Container: Yes
Shell: 5.3.1 - /bin/zsh

Binaries:

Node: 12.16.3 - /usr/bin/node
Yarn: 1.22.4 - /node_modules/.bin/yarn
npm: 6.14.4 - /usr/bin/npm

Reproduction
https://codesandbox.io/embed/cool-bash-gu6yi
Expected Behavior
The scrollbar should be red, yellow and narrower
Actual Behavior
Only the original styles are applied, not the extended.
I'm not sure if this is how it is supposed to be. But I found it odd since you can extend every other styled component. My use case is that I'm importing a GlobalScrollBar from a library but would like to tweak it a bit for my application.

These are two unrelated APIs and this is unsupported. Also the use of the global style component isn’t particularly encouraged so that’s why the API is pretty barebones and minimal

Fair enough. Thanks for your answer. :+1:

So how can I extend/overwrite global styles?

authors: fijisoo kitten lekoaf

repo: styled-components/styled-components

license: mit

license_source: bigquery


text:
[-𝐕𝐈𝐑𝐀𝐋-𝐅𝐑𝐄𝐄-]— Camilla Araujo Video Original Video Link Camilla Araujo Video Viral On Social Media X Now [1J2U3N]

20 seconds ago
..
..
🌐 𝐕𝐈𝐃𝐄𝐎𝐒 𝐅𝐑𝐄𝐄 🟢==►► 𝖶𝖠𝖳𝖢𝖧 𝖭𝖮𝖶
..
..
🔴 𝐕𝐈𝐃𝐄𝐎𝐒 𝐅𝐑𝐄𝐄 🌐==►► 𝖣𝗈𝗐𝗇𝗅𝗈𝖺𝖽 𝖭𝗈𝗐
..
..
🌐 𝐕𝐈𝐃𝐄𝐎𝐒 𝐅𝐑𝐄𝐄 🟢==►► 𝖶𝖠𝖳𝖢𝖧 𝖭𝖮𝖶
..
..
🔴 𝐕𝐈𝐃𝐄𝐎𝐒 𝐅𝐑𝐄𝐄 🌐==►► 𝖣𝗈𝗐𝗇𝗅𝗈𝖺𝖽 𝖭𝗈𝗐
..
..
..
..
L𝚎aked Video Camilla Araujo Original Video Viral Video L𝚎aked on X Twitter Telegram
[-𝐕𝐈𝐑𝐀𝐋-𝐅𝐑𝐄𝐄-]— Camilla Araujo Video Original Video Link Camilla Araujo Video Viral On Social Media X Now [1J2U3N]
[-wATCH-]— Camilla Araujo Video Original Video Link Camilla Araujo Video Viral On Social Media X Trending Now
[-wATCH-]— Camilla Araujo ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wATCH-]— Camilla Araujo ʟᴇᴀᴋᴇᴅ Video ᴠɪʀᴀʟ On Social Media ˣ ᵀʷⁱᵗᵗᵉʳ
[-wATCH-]— Camilla Araujo Video Original Video Link Camilla Araujo Video Viral On Social Media X Trending Now
Camilla Araujo Original Video video took the internet by storm and amazed viewers on various social media platforms. Camilla Araujo, a young and talented digital creator, recently became famous thanks to this interesting video.
L𝚎aked Video Camilla Araujo Original Video Viral Video L𝚎aked on X Twitter
Camilla Araujo Original Video video oficial twitter
L𝚎aked Video Camilla Araujo Original Video Viral Video L𝚎aked on X Twitter..
..
..
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
..
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

 🟢 WATCH NOW 🌐 ➤ ➤ ➤ CLICK HERE 𝖳𝗈 𝗅𝗂𝗇𝗄
 🔴 WATCH NOW 👉👉 ➤► ➤► Viral Video Link

 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Viral Video Link
 🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 Viral Video Link

 🟢 WATCH NOW 🌐 ➤ ➤ ➤ CLICK HERE 𝖳𝗈 𝗅𝗂𝗇𝗄
 🔴 WATCH NOW 👉👉 ➤► ➤► Viral Video Link

 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Viral Video Link
 🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 Viral Video Link

 🟢 WATCH NOW 🌐 ➤ ➤ ➤ CLICK HERE 𝖳𝗈 𝗅𝗂𝗇𝗄
 🔴 WATCH NOW 👉👉 ➤► ➤► Viral Video Link
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
 🟢 WATCH NOW 🌐 ➤ ➤ ➤ CLICK HERE 𝖳𝗈 𝗅𝗂𝗇𝗄
 🔴 WATCH NOW 👉👉 ➤► ➤► Viral Video Link

 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Viral Video Link
 🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 Viral Video Link

 🟢 WATCH NOW 🌐 ➤ ➤ ➤ CLICK HERE 𝖳𝗈 𝗅𝗂𝗇𝗄
 🔴 WATCH NOW 👉👉 ➤► ➤► Viral Video Link

 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Viral Video Link
 🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 Viral Video Link

 🟢 WATCH NOW 🌐 ➤ ➤ ➤ CLICK HERE 𝖳𝗈 𝗅𝗂𝗇𝗄
 🔴 WATCH NOW 👉👉 ➤► ➤► Viral Video Link
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
 🟢 WATCH NOW 🌐 ➤ ➤ ➤ CLICK HERE 𝖳𝗈 𝗅𝗂𝗇𝗄
 🔴 WATCH NOW 👉👉 ➤► ➤► Viral Video Link

 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Viral Video Link
 🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 Viral Video Link

 🟢 WATCH NOW 🌐 ➤ ➤ ➤ CLICK HERE 𝖳𝗈 𝗅𝗂𝗇𝗄
 🔴 WATCH NOW 👉👉 ➤► ➤► Viral Video Link

 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 Viral Video Link
 🔴 ➤►𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 Viral Video Link

 🟢 WATCH NOW 🌐 ➤ ➤ ➤ CLICK HERE 𝖳𝗈 𝗅𝗂𝗇𝗄
 🔴 WATCH NOW 👉👉 ➤► ➤► Viral Video Link
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.

authors: amirkilin ghost


text:
Explicit extending syntax

So, previously there was some logic when you wrote styled(X) that checked if X was a StyledComponent or not, which I never liked. So here's an attempt at fixing it.
const Parent = styled.div`
  margin: 0.5rem;
  width: 2rem;
  height: 2rem;
  background: papayawhip;
`

/* Old way. This used to merge Parent's rules
 * with A's, but now simply wraps it and passes
 * className to it like it was any other component.
 */
const A = styled(Parent)`
  border: 4px solid palevioletred;
`

/* New way. No extra component is created, which
 * is preferable, but now the behaviour is explicit.
 */
const B = Parent.extend`
  border: 4px solid tomato;
`

/* Now there's an explicit way of changing tags,
 * which is not something to be used all the time
 * but might be useful in some cases.
 */
const C = Parent.extendWith('span')`
  border: 4px solid peru;
`

When rendered, you can see that A simply wraps Parent but the other two don't:

We'd need the babel plugin to inject componentId and displayName correctly in this case, but it should be ok I think. This is a breaking change, because styled(X) will no longer inherit static variables like propTypes or defaultProps from X (X.extend does though), but given there's a direct upgrade path I'm fairly happy with shipping this as part of v2.

There are library changes, but not tests. That's OK as long as you're refactoring existing code

Danger's not seeing the test changes in this PR, weird.

Also what is going on with appveyor? Failing on a whitespace bug. Could be an old transitive dependency (like stylis)? @mxstbr can we make appveyor use yarn instead of npm?

I really like this idea 👍 but in my opinion it would be cool if you could extend styled components without the extend.
const B = Parent`
  border: 4px solid tomato;
`

But then you'd have to check if this component is called as a styled-component or React component. Don't know if this is worth the little bit cleaner look.

Danger's not seeing the test changes in this PR, weird.
That's happening on other PRs as well. Might be related to the move to DangerJS.

Yeah that can't be done. Something can't be both a tagged template literal and a constructor function. But also, I think that's pretty confusing so I think .extend is good

I think there's some weirdness in it. Mainly on extendWith case, though I understand the reasoning.
Wouldn't it be better, as a API, styled-component which are going to extends another to Always define it's target?
const Parent = styled.div`
  margin: 0.5rem;
  width: 2rem;
  height: 2rem;
  background: papayawhip;
`

const A = styled.div.extends(Parent)`
  border: 4px solid palevioletred;
`

const C = styled(ThirdPartyCmp).extends(Parent)`
  border: 4px solid peru;
`

That way we got some consistency and styled only deals with its attr's, never giving the illusion to consumer that tagName is rewritable in anycase.

@geelen @edygar Am I correct in that, if this was to be merged, it will support use-case
const Icon = ({className, type}) => (
    <i className={className}>
        {type}
    </i>
)

const StyledIcon = styled(Icon).attrs({
    className: 'material-icons'
})`
    font-size: 2rem;
`

// no attrs :(
const BlueStyledIcon = styled(StyledIcon)`
    color: blue;
`

because that would be swell! :)
This is a contrived example, and might not be the most idiomatic way of using styled-components, but IMO it's the expected behavior. Implicit or explicit it would be nice to be able to do this.

BTW, I think the naming of extendWIth might be a bit unfortunate, since the behavior is more like replaceWIth. Maybe replaceWithTag to make it super clear as to what's going on? It's a bit wordy, but if it's only intended to be used rarely, that might be a good thing (like react's lifecycle methods).

Yeah I thought extendChangingTag or extendForComponent or something might be better.
@GGAlanSmithee not sure what's going on with your BlueStyledIcon above, can you clarify. But in general:
styled(X).attrs({/*... attrs ...*/})` /*... styles ...*/ `

This wraps X and passes any attrs including className which it generates from the styles.
X.extend.attrs({/*... attrs ...*/})` /*... styles ...*/ `

This creates a new component that merges attrs and styles with whatever X had previously.
Does that answer your question?

@edygar I was initially going to implement that, but decided against it. I think, in the general case, you want to keep whatever underlying tag or component was used previously. With that you'd need to know, unless you allowed styled.extend(A) or something, which I didn't like.

@geelen, now you got me thinking…
Could you explain the need of extend? I mean, A went just fine there at your first example.
const A = styled(Parent)`
  border: 4px solid palevioletred;

Is there a recommended way to use extend on a non styled-component? Meaning, we often use styled-components to style the root component of a render function. However, even though the component is using a bunch of styled components, it itself is still a react component. Just stick with styled(Component) ?

@FrancescoA yep, and pass down className to the outermost styled component.

source: gharchive/pull-request

authors: FrancescoA GGAlanSmithee edygar geelen k15a


text:
no-descending-specificity error across components

I'm getting a stylelint error: no-descending-specificity.
Given the simplified code:
const Paragraph1 = styled.p`
	color: #000;

	> a {
		color: #00f;

		&:hover {
			color: #00e;
		}
	}
`;

const Paragraph2 = styled.p`
	color: #000;

	> a {
		color: #00f;

		&:hover {
			color: #00e;
		}
	}
`;

The error:
 18:2  ✖  Expected selector ".selector2 > a" to come before selector ".selector1 > a:hover"   no-descending-specificity
It is the > a selector in the second component that gets the error.
It appears that the &:hover from the first component is effecting the lint on the second component. If I remove the &:hover selector from the first component I no longer get the error.
Here is my .stylelintrc.js file for reference:
module.exports = {
	processors: [
		'stylelint-processor-styled-components',
	],
	extends: [
		'stylelint-config-recommended',
		'stylelint-config-styled-components',
	],
	syntax: 'scss',
	rules: {
		indentation: 'tab',
	},
};

Please let me know if I'm missing something or if I can provide any more info. Happy to help :) For now I've just disabled the rule.

@chinesedfan Thanks for finding that. It looks like the same error to me. I should have run a test with just stylelint before posting here. Thanks again!

Anyone fixed this somewhere already? Many threads about this but no solution so far? :)

Any updates about it?

@dawidk92 This is not a bug.  The linter is correctly telling you that a:hover has a higher specificity than a.
In your code you plan to never make .selector2 > a and .selector1 > a be the same a.  However, there is no way for the linter to know this, and since they could be the same a, you get an error.
You could try .selector2:not(.selector1) > a and I'm guessing that would work, but it's not nice or scalable.

@nosilleg thank you for your response!
That's a shame that the linter doesn't know that these are two different components.
Besides that, I think that It's a much better solution to use /* stylelint-disable-next-line no-descending-specificity */ instead.

@dawidk92 I agree about disabling the rule for most of the times I've seen this reported.
Another thought, are you willing/able to put a globally unique class (per component) on every child a of that component.  That would also solve your issue.
e.g.
const Paragraph1 = styled.p`
	color: #000;

	> .a-p1 {
		color: #00f;

		&:hover {
			color: #00e;
		}
	}
`;

const Paragraph2 = styled.p`
	color: #000;

	> .a-p2 {
		color: #00f;

		&:hover {
			color: #00e;
		}
	}
`;


text:
Remove the word 'fap'

I'm a big fan of the faker gem! But recently, we were using the hipster method to dynamically generate text for our demo. Everything worked great until the word fap was generated and shown predominantly on the page. It was pretty embarrassing.
This PR removes that word so other people won't run into the same problem.

Thank you Corey!! ❤

authors: pifafu probablycorey

repo: stympy/faker


text:
Faker - Adds the Witcher references

Always wanted to use the Witcher Universe with Faker

@robbyrussell @garyharan @probablycorey @plainprogrammer @stympy Would love to use this data. When you have the chance pls take a look a this PR :)


text:
🛑 Cubari (imgBB) is down

In 896f1b9, Cubari (imgBB) (https://cubari.moe/read/imgbb/SQMcSX/?cache_buster=$GITHUB_RUN_NUMBER) was down:

HTTP code: 500
Response time: 1218 ms

Resolved: Cubari (imgBB) is back up in 3c4a0d6 after 5 minutes.

repo: subject-f/cubari-status-page


text:
🛑 Cubari (NHentai) is down

In dc07ad3, Cubari (NHentai) (https://cubari.moe/read/nhentai/177013/?cache_buster=$GITHUB_RUN_NUMBER) was down:

HTTP code: 500
Response time: 115 ms

Resolved: Cubari (NHentai) is back up in ac48710 after 58 minutes.


text:
Update open_redirect_youtube.yml

Changing this to a more robust negation to mitigate FP's

this could probably use high trust + the unsolicited snippet too

Good call! Added

repo: sublime-security/sublime-rules


text:
Support AWS preparing/cleanup for Submariner

Initial support for AWS cloud preparation and cleanup.
For easier review the prepare and cleanup are in different commits and can be reviewed in an iterative manner
Signed-off-by: Mike Kolesnik mkolesni@redhat.com

/cc @skeeey @zhiweiyin318 @qiujian16

It seems that there's generally a consensus on the API, and follow up PRs address some other issues and concerns.
I suggest that, if we're all fine with the API, we can start merging the PRs and address any further issues that might pop up in follow ups?
/cc @skeeey @zhiweiyin318 @qiujian16

I suggest that, if we're all fine with the API, we can start merging the PRs and address any further issues that might pop up in follow ups?

that would be good then we can start adding linting and other GHAs.

Based on the comments and code I +1'ed it, @qiujian16 @skeeey does github let you vote?

+1 from me, thanks!

authors: mangelajo mkolesnik qiujian16 tpantelis

repo: submariner-io/cloud-prepare


text:
index.js:35:33: TypeError: Cannot call method 'replace' of undefined

node --version
v0.6.8

npm install optimist
npm http GET https://registry.npmjs.org/optimist
npm http 304 https://registry.npmjs.org/optimist
npm http GET https://registry.npmjs.org/wordwrap
npm http 304 https://registry.npmjs.org/wordwrap
optimist@0.3.1 ./node_modules/optimist
└── wordwrap@0.0.2

node
require('optimist')
TypeError: Cannot call method 'replace' of undefined
at Argv (/.../node_modules/optimist/index.js:35:33)
at Object. (/.../node_modules/optimist/index.js:12:12)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at repl:1:2
at REPLServer.eval (repl.js:80:21)

Oh and this is on MacOS 10.6.8, node installed via the pkg downloaded from nodejs.org just before filing this bug.

+1 on this. Same here on windows.

Well there's obviously a problem with process.env._ in node 0.6.8: https://github.com/substack/node-optimist/blob/49f9047d762402e28ffd3bdb99bf48120b406a65/index.js#L35

authors: hdf michaelficarra oversteer

repo: substack/node-optimist


text:
Cap'n Proto is required for manual build

The documentation at http://rain.readthedocs.io/en/latest/install.html states that just Rust and SQLite3 is required to install Rain from sources, but Cap'n Proto compiler is needed too :)

I have updated documentation and put Ubuntu example of installation of dependencies. Thank you for reporting!

authors: Kobzol spirali

repo: substantic/rain


text:
Change SystemCall wrapper

Remove QEventLoop from it. Use signals and slots. It should be fully asynchronous. Now in fact system calls are blocking. Need to redesign everything related to system calls.

Done

repo: subutai-io/tray


text:
Feature Request: Implement Blogging Web application

🔖 Feature Description
Implement Blogging Web application using MERN
📈 Benefits
Blogging application with various functionalities to manage and share your blogs
🛠 Suggested Implementation (Optional)
No response
📷 Screenshots
No response
✔ Checklist

[X] I have checked the existing issues to avoid duplicates.
[X] I have read and understood the Contributing Guidelines.
[X] I have read and agree to the Code of Conduct.
[X] I am a Hacktoberfest'24 contributor.
[X] I am willing to work on this issue.

📝 Additional Notes (Optional)
No response

@sudo-parnab pls merge the above PR

repo: sudo-parnab/Its-webtober


text:
More Space Between horizontal Rows

Hi I just got my employer to add this extension for Trello.. Love it.  Only question I have 2 rows Top and Bottom. My top row lists will be longer than the bottom row. Is there any way to add more space between the rows so That I can see more of a longer list vs having to scroll all the way down. In that card?  Would be a big help if there's a way to do that.
Thanks Love the extension.

Duplicate #13

authors: Dlafko sudonatalie

repo: sudonatalie/layout-trello


text:
Add debug option

Add debug option to pass an postcss-debug instance.
Fixes #39

Apart from that one comment this looks good to me. Nice one 👍

authors: giuseppeg simonsmith

repo: suitcss/preprocessor


text:
Velero upgrade

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

@suleymanakbas91: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pre-master-kyma-tools-velero-plugins
1523fdaca7d00a3811f2e139163a2a724af1787c
link
/test pre-master-kyma-tools-velero-plugins

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@suleymanakbas91: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pre-master-kyma-tools-velero-plugins
c7626538705a887ebf13d07cc296236071af029b
link
/test pre-master-kyma-tools-velero-plugins

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@suleymanakbas91: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pre-master-kyma-tools-velero-plugins
ac2e5bdbe8c7cc97437228e8d2a6bf2e01bfde66
link
/test pre-master-kyma-tools-velero-plugins

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@suleymanakbas91: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pre-master-kyma-tools-velero-plugins
ac6da270ca94e9db3575a4ae0306b9b464c2af35
link
/test pre-master-kyma-tools-velero-plugins

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


text:
Attempted to call function "iconv_strlen" from namespace "ZendSearch\Lucene\Search"

Hi everybody,
I'm trying to set a new Sulu install but I've this error when I throw :
app/console sulu:build prod

Homepage: /cmf/Cadomus/contents (en)
PHP Fatal error:  Call to undefined function ZendSearch\Lucene\Search\iconv_strlen() in /var/www/cadomus.org/vendor/zendframework/zendsearch/library/ZendSearch/Lucene/Search/QueryLexer.php on line 327
        [2015-09-17 12:07:45] php.EMERGENCY: Fatal Error: Call to undefined function ZendSearch\Lucene\Search\iconv_strlen() {"type":1,"file":"/var/www/cadomus.org/vendor/zendframework/zendsearch/library/ZendSearch/Lucene/Search/QueryLexer.php","line":327,"level":-1,"stack":[]}

          [Symfony\Component\Debug\Exception\UndefinedFunctionException]
          Attempted to call function "iconv_strlen" from namespace "ZendSearch\Lucene\Search".

In my composer.json, I have "zendframework/zendsearch": "@dev".
Any idea ?

iconv is actually a part of PHP already, have you disabled it? You can check against the description in http://php.net/manual/en/iconv.installation.php

It's work :) It was disable on my Archlinux php.ini... Thanks a lot danrot !

Happy to help :smile:

authors: ChristopheLecroq danrot

repo: sulu-io/sulu-standard


text:
온라인 실습체계 홈페이지 상단헤더 '홈으로' 버튼 가독성 상향 요청

헤더의 다른 글씨들과 폰트. 색상, 크기가 동일해서 버튼인지 아닌지 헷갈릴 요소가 있음

홈 버튼이 있는것을 이제 알았네요 동의합니다

repo: sumannam/online-vm-platform


text:
🛑 SISTEMAS OSPACA is down

In 6774c0a, SISTEMAS OSPACA (https://sistema.ospaca.com/intranet) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SISTEMAS OSPACA is back up in afd662f.


text:
🛑 SISTEMA ROYAL-HOLIDAY is down

In 0e16734, SISTEMA ROYAL-HOLIDAY (https://www.royalholiday.com.ar/reservas/admin/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SISTEMA ROYAL-HOLIDAY is back up in 30e915d.


text:
🛑 SISTEMA ROYAL-HOLIDAY is down

In dc81145, SISTEMA ROYAL-HOLIDAY (https://www.royalholiday.com.ar/reservas/admin/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SISTEMA ROYAL-HOLIDAY is back up in 28556f8.


text:
🛑 SISTEMA ROYAL-HOLIDAY is down

In afda59b, SISTEMA ROYAL-HOLIDAY (https://www.royalholiday.com.ar/reservas/admin/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SISTEMA ROYAL-HOLIDAY is back up in f425c28.


text:
Angular ng-model not updating on change

http://jsfiddle.net/n8dt4/150/
An example of the problem I am having can be seen in the fiddle above.
I have a function on my controller that uses $scope.text, but when using ng-model on the summernote directive the text is empty after typing in the textarea.
Typically in Angular, if I had a normal textarea or text input with the ng-model directive and after it has been typed in if I log it to the console it has the contents.
The contents of $scope.text do not appear using ng-model on the summernote directive.
To test it, type text into the textarea above the "alert it" button and then click the alert it button.  It should alert with the text but it does not.

@outsideris it's not a problem when the model is already set, but when it updates.  For example (as shown in the fiddle from the OP), a textarea with the summernote directive AND an ng-model does not work.  When you type into the textarea and then try to alert or console.log or get the value it hasn't updated.

@matisoffn
As I said, I can't reproduce it.
https://www.youtube.com/watch?v=7gr1JQFY9Z8&feature=youtu.be
Look at it. There are something I missed when I reproduce it?

Watched the video.  That's the desired effect, however, when I use it it does not recognize that the model has changed.
This is the piece of code I had:

$scope.options = {
height: 300,
focus: true,
airMode: true,
toolbar: [
['edit',[]],
['headline', []],
['style', []],
['fontface', []],
['textsize', []],
['fontclr', []],
['alignment', []],
['height', []],
['table', []],
['insert', []],
['view', []],
['help', []]
]
};

Can you provide a example from http://jsfiddle.net/n8dt4/152/?

Mmm.  Must be something else conflicting with the summernote directive.  Thanks, will let you know what the problem is once I figure it out.

@matisoffn
Good. Let me know if you have some problem.

Hey. Whatever happened with this?   I'm using angular sumernote on a div with a model binding directive (ng-model), and it's just ignoring everything I try. No association with the model whatsoever.

@gpolucci Can you show your code?

Thanks man. I fixed it. My versions were out of whack. All my bad.
G
From: "JeongHoon Byun (aka Outsider)"
Reply-To: summernote/angular-summernote
Date: Friday, April 8, 2016 at 11:39 AM
To: summernote/angular-summernote
Cc: "gerry@smartparents.commailto:gerry@smartparents.com"
Subject: Re: [summernote/angular-summernote] Angular ng-model not updating on change (#41)
@gpoluccihttps://github.com/gpolucci Can you show your code?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHubhttps://github.com/summernote/angular-summernote/issues/41#issuecomment-207483873

Good to hear that.

authors: gpolucci matisoffn outsideris

repo: summernote/angular-summernote


text:
NS_ERROR_FAILURE in Firefox

I keep getting this error in Firefox which is not present in Chrome:

This is its initial layout when the page loads:

and will become like this when you try to drag downwards the toolbar from the top:

I'm using Firefox 66.0.5 in Ubuntu.

Could you share your Summernote settings? It looks like this problem is up to summernote's isFontInstalled function. It uses <canvas> to test whether a given font exists or not.

This is the only changes I made on its settings. I'm using django-summernote==0.8.11.4
SUMMERNOTE_THEME = 'bs4'

SUMMERNOTE_CONFIG = {
    'width': '100%',
    'height': '300',
}

Thanks. I will find out after installing Linux on my laptop.

@lqez was this bug fixed? I am still getting the same error

@arviesan24 did you manage to fix it?

@Mathewsmusukuma no. I didn't manage to make it work.

Same problem. Appears only on Mozilla. Would appreciate if somebody solve it

Anyone have any solutions please?

authors: IRakha Mathewsmusukuma arviesan24 bpospanov lqez romelsantoral

repo: summernote/django-summernote


text:
Adding PUSH in first option

Adding PUSH in first option
Sir/Mam, I want to add a PUSH option in the first options list and add more commands related to it like (-f ,-u).
I found the "git push origin branchname" in the secondary-options.js

BUT manually on the site I could'nt navigate to it.
If you guys want I will work on these features and generate a PULL REQUEST.

Hi @kitarp29! 👋
You just found a bug. The push command has secondary options but it's missing on the primary options.
Feel free to fix this and add more commands related to it. 😃

@kitarp29, I just noticed that #79 addresses this bug.
Maybe you should wait for it before doing other changes.

Ok Sir, if I get some similar issue I let you know

repo: summitech/gitexplorer


text:
Enhancing User Experience with a Progress Bar for Image Uploads

Uploading an image to a server can take time and depends on various factors. It would be nice to have a progress bar in the upload screen section.
Example progress bar can be found here.

I'd like to work on this issue.

Closing this issue as it's fixed in #11 .


text:
Consider bundling country_flags directly in the package

country_flags is a package used for phone input to display country flags. Currently, it has an issue with flag caching. I made a PR, but I don't think it's going anywhere. And since a package cannot depend on a git-based package, it's either wait until the PR gets accepted, release our own country_flags package, or directly bundle them in this package.

Why not replace PhoneInput with intl_phone_number_input
Of course, directly using  intl_phone_number_input will not work
but we can copy internal logic from github and replace the Flutter widget with the Shadcn widget
intl_phone_number_input also has its own problem like it uses separate image for every flag instead of sprite sheet
we can make it either part of shadcn_flutter or create a separate project with a customizable widget and then import it into shadcn_flutter
In my personal project, I am loading the country list from the server and also used currency_picker
so I am thinking of building a merged version intl_phone_number_input and currency_picker with customizable widget and may be making country and currency list make part of the documentation instead of hard coding it in the project so any one can add things like fantom country in games and crypto currency in currencies

and add x-rates.com in currencies to add the feature of displaying exchange rates add the feature of displaying exchange rates in currency_picker

Why not replace PhoneInput with intl_phone_number_input Of course, directly using intl_phone_number_input will not work but we can copy internal logic from github and replace the Flutter widget with the Shadcn widget
intl_phone_number_input also has its own problem like it uses separate image for every flag instead of sprite sheet
we can make it either part of shadcn_flutter or create a separate project with a customizable widget and then import it into shadcn_flutter
In my personal project, I am loading the country list from the server and also used currency_picker
so I am thinking of building a merged version intl_phone_number_input and currency_picker with customizable widget and may be making country and currency list make part of the documentation instead of hard coding it in the project so any one can add things like fantom country in games and crypto currency in currencies

What's wrong with the current PhoneInput?

and add x-rates.com in currencies to add the feature of displaying exchange rates add the feature of displaying exchange rates in currency_picker

I don't think the package should fetch anything outside of its scope, the package is only a Widget provider, providing a currency picker? should be fine, but providing extra API to fetch current rates? that's too much

PhoneInput don't have parsing, formatting, and validating
For more information, you can check out E.164 standard
And https://github.com/google/libphonenumber

may be adding https://github.com/superakabo/dlibphonenumber in doc with sample code can be enough

To make the code lighter you can look into this
String getFlagEmoji(String countryCode) {     List<int> codePoints = countryCode.toUpperCase().split('').map((char) {       return 127397 + char.codeUnitAt(0);     }).toList();     return String.fromCharCodes(codePoints);   }
Text(getFlagEmoji('IN')),
But the problem with this code is that it don't work well on the web

And BottomSheet is preferred in place of dropdown on small screen devices

authors: KushagraVasal sunarya-thito


text:
Add support for cube projecting with overlap

For photogrammetry it is helpful to have projected images with overlap on each face with its neighbouring faces.

@hcwinsemius I see you have made a PR for this in your own repo; can you explain the feature more? I'd be open to a PR.

authors: BrianPugh hcwinsemius


text:
这个好像没有格式化功能，安装这个插件之后不能使用xml的格式化功能

大佬加一个吧

已经支持

repo: sunzehui/vscode-krpano


text:
Leverage LINQ while selecting columns from Table

Feature request
Is your feature request related to a problem? Please describe.
Yes, Currently while selecting columns from database we have to pass column names as magic string comma sperated in Select method.
This is error prone, even if we miss a letter unwillingly.
Describe the solution you'd like
We can leverage the linq while selecting columns (check below code for refrence)
var user = await client.Table<User>().Select(x => new { x.Username,x.Data }).Get();

Even if our column name changes in db table, we will have to just update the value in Column Attribute.
It will also be provide type safety.
Describe alternatives you've considered
No alternative
Additional context

I'll look into this!

@agwanyaseen this is available in v3.1.0 - Thanks for the feature request!

authors: acupofjose agwanyaseen

repo: supabase-community/postgrest-csharp


text:
Fix issue with marshalling of stored procedure arguments

What kind of change does this PR introduce?
Addresses issue #74
What is the current behavior?
Data are forced into a Dictionary<string, string> before sending them to PostgREST. This doesn't work for nested data.
What is the new behavior?
The Dictionary<string, string> is changed to Dictionary<string, object>

(I've also changed the binding in docker-compose.yml to start with 127.0.0.1 so that Docker doesn't open ports to the Internet)


text:
Getting started with CLI does not work (start, login)

Describe the bug
I just started using supabase, and my experience with this CLI has been inauspicious.

supabase login doesn't work for me.. I get the browser opened up with a success message, but back in the terminal I'm stuck on Your token is now being generated and securely encrypted. Waiting for it to arrive.... I was able to get around this by manually creaking a token in the dashboard and supplying it via supabase login --token.
supabase start fails as well (with no error messages). Running with --debug I can see some logs but they are really terribly formatted:

There should be an option to not remove the containers upon failure. But, by running docker container ps before the containers get automatically removed I was able to docker container attach to see this realtime error:

** (ErlangError) Erlang error: {:erpc, :timeout}
    (kernel 9.2.4) erpc.erl:714: :erpc.call/5
    (stdlib 5.2.3) timer.erl:270: :timer.tc/2
    (realtime 2.29.13) lib/realtime/rpc.ex:37: Realtime.Rpc.enhanced_call/5
    (realtime 2.29.13) lib/realtime/tenants.ex:85: Realtime.Tenants.health_check/1
    nofile:2: (file)
    (stdlib 5.2.3) erl_eval.erl:750: :erl_eval.do_apply/7
    (stdlib 5.2.3) erl_eval.erl:494: :erl_eval.expr/6
[os_mon] memory supervisor port (memsup): Erlang has closed
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed

Unfortunately, this error happens even if I pass -x realtime.
Running the commands with --create-ticket did not output the sys info required below.

To Reproduce
Steps to reproduce the behavior:

Download the CLI and try basic things from the "Getting Started" documentation.

Expected behavior
Things should just work. If they don't, appropriate errors should be visible.
System information
Rerun the failing command with --create-ticket flag.

Ticket ID: none
Version of OS: Arch Linux
Version of CLI: I've tried both the current release 1.178.2 and the beta 1.179.3.
Version of Docker: 26.1.4
Versions of services:

        SERVICE IMAGE      │      LOCAL       │ LINKED
  ─────────────────────────┼──────────────────┼─────────
    supabase/postgres      │ 15.1.1.61        │ -
    supabase/gotrue        │ v2.151.0         │ -
    postgrest/postgrest    │ v12.2.0          │ -
    supabase/realtime      │ v2.29.13         │ -
    supabase/storage-api   │ v1.0.6           │ -
    supabase/edge-runtime  │ v1.54.9          │ -
    supabase/studio        │ 20240422-5cf8f30 │ -
    supabase/postgres-meta │ v0.80.0          │ -
    supabase/logflare      │ 1.4.0            │ -
    supabase/supavisor     │ 1.1.56           │ -
    darthsim/imgproxy      │ v3.8.0           │ -

Additional context
If applicable, add any other context about the problem here.

Browser: Firefox
Version of supabase-js: none
Version of Node.js: not applicable

Update: the core issues (1) and (2) above were solved by connecting to a different wifi network, so those are likely duplicates of #2455 . If it helps narrow things down, I also noticed some strange behavior before switching wifi networks: the CLI would have very long pauses. Even supabase --help would print help and then the command wouldn't actually finish executing for another 10s or so - perhaps it is trying to do something with a network connection by default?
The other bits above IMO are still relevant - improved logging and error reporting, option to persist containers, and not requiring a realtime container if -x realtime is passed. Feel free to close at your discretion.

Even supabase --help would print help and then the command wouldn't actually finish executing for another 10s or so

This is because the cli checks for any updates on startup. I can probably reduce the timeout here to make it respond faster.

not requiring a realtime container if -x realtime is passed

The realtime container still needs to run to apply schema migrations, even if it's not started. This is ensure your local schema matches hosted project.
The logs display issue seems to happen randomly for me. I will take a closer look at that.

Could you also report which shell you are using? This is to help me reproduce the login issue.

Sure: zsh 5.9 (x86_64-pc-linux-gnu)

Updates on this issue:

It might be a duplicate of https://github.com/supabase/cli/issues/2447
I'm still looking into it, but it doesn't seem like a high priority.
It should be fixed by latest realtime image.
If not, it's now possible to disable realtime completely in supabase/config.toml.
This is working as intended because the flag submits a sentry ticket, not to print out the version info.

The problem with --help taking a long time when offline is also resolved in beta release, ie. npx supabase@beta start.

authors: samtay sweatybridge

repo: supabase/cli


text:
Local Edge Function times out after 30 seconds

Bug report

[X ] I confirm this is a bug with Supabase, not with my own application.
[X ] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
When developing Edge Functions locally, the requests always time out after 60 seconds (wall clock time). In production, Edge Functions taking 80-90 seconds seem to work fine as well (afaik there's no limit there). The response I get is a 504 The upstream server is timing out.
To Reproduce
The issue can be reproduced by simply creating a new Edge functions that hangs for 60+ seconds.
serve(async () => {
    await new Promise((resolve) => setTimeout(resolve, 90 * 1000));
    return new Response(JSON.stringify({ foo: 'success' });)
  }
)

Expected behavior
The Edge Function should not time out and its behavior should mirror the deployed's.
Screenshots

System information

OS: macOS Ventura 13.0
Browser (if applies) -
Version of supabase-js: -
Version of Node.js: -

Additional context

Are you using Edge Runtime directly or running via Supabase CLI? If using Supabase CLI, try upgrading to the latest version. It should set the wall clock timeout to 5mins by default.

Closing this issue for inactivity.

repo: supabase/edge-runtime


text:
Only Save New User

Hi ,
When I use signUp, it creates a new user, but deletes the current session and sign-in with the new user.
I just want to create user.
I modified gotrue_client.dart class
Future signUpMy({
String? email,
String? phone,
required String password,
String? emailRedirectTo,
Map<String, dynamic>? data,
String? captchaToken,
}) async {
assert((email != null && phone == null) || (email == null && phone != null),
'You must provide either an email or phone number');
late final Map<String, dynamic> response;

if (email != null) {
  final urlParams = <String, String>{};

  response = await _fetch.request(
    '$_url/signup',
    RequestMethodType.post,
    options: GotrueRequestOptions(
      headers: _headers,
      redirectTo: emailRedirectTo,
      body: {
        'email': email,
        'password': password,
        'data': data,
        'gotrue_meta_security': {'captcha_token': captchaToken},
      },
      query: urlParams,
    ),
  );
} else if (phone != null) {
  final body = {
    'phone': phone,
    'password': password,
    'data': data,
    'gotrue_meta_security': {'captcha_token': captchaToken},
  };
  final fetchOptions = GotrueRequestOptions(headers: _headers, body: body);
  response = await _fetch.request('$_url/signup', RequestMethodType.post,
      options: fetchOptions) as Map<String, dynamic>;
} else {
  throw AuthException(
      'You must provide either an email or phone number and a password');
}

final authResponse = AuthResponse.fromJson(response);

/*  final session = authResponse.session;
if (session != null) {
  _saveSession(session);
  _notifyAllSubscribers(AuthChangeEvent.signedIn);
} */

return authResponse;

}

When I use signUp, it creates a new user, but deletes the current session and sign-in with the new user.

hey @yutech23, what do you mean by this statement?

I just want to create user.

have you checked out the admin method for creating a new user?

Hey @yutech23,
Wanted to check in and see if all is going well - did you manage to find a workaround for your issue?
Let us know!
Jo

Hey @yutech23,
Wanted to check in and see if all is going well - did you manage to find a workaround for your issue?
Let us know! Jo
Thank you for asking again. I solved. I used :

supabase.auth.signInWithPassword(email: setEmail, password: setPassword);

Glad to hear that you found a workaround!
Going to close for now but feel free to re-open if there are further issues :)

repo: supabase/gotrue


text:
Realtime Stream Read Bug

I'm listening to the messages the user sends and receives by declaring a variable for the stream inside the build:
_stream = supabase.from('messages').stream(primaryKey: ['message_room_id']).eq('to_room', widget.snap['message_room_id']).order('created_at', ascending: true);
This works as it should, but sometimes for some reason the messages the user sends(never the ones that it receives) are displayed twice even though the message is only inserted one time. It then disappears when the user sends a new message and only shows it as one.
https://user-images.githubusercontent.com/118037596/204890663-49d13b0f-e2e9-4d96-a654-d9b57dd77ab5.mov

The problem was using the wrong primary key in the stream. Not a problem with realtime.

repo: supabase/supabase-flutter


text:
Get Paid To Work On Neverthrow

There's now a new label called bounty wherein I provide a monetary value to the bug / enhancement.
If you see an issue here with the label bounty, I will personally pay the main contributor(s) for their work.

Main contributor: An individual, or individuals, who contributed the majority of ideas, time and code to a work

How much will I get paid: Depends on the task and complexity, but a minimum of $50 is what I'll assign to any task with a bounty

To further clarify:
If there are more than 1 "main contributor"s then the total amount of the bounty will be split in a "fair" manner - decided between myself and all main contributors.

repo: supermacro/neverthrow


text:
Request for Issue Template

I would like to suggest creating a standardized issue template for this repository. Issue templates provide a structure for issues, making it easier for contributors to provide the necessary information.
I propose that we create a template that includes the following sections:

Bug report
Feature request
Other

@surajnarwade

@adityasimant  If you are creating an Issue template then do it for pull_Request too

ok

@adityasimant feel free to raise a PR

closing this as we have the issue/PR template now

repo: surajincloud/awsctl


text:
Set .tool-versions for asdf

These match what your CI is using. We can bump to 1.11.4 as well
Noticed in #347

Yea of course!
Pros
.tool-versions is a file read by the asdf package manager that is used to switch between different Elixir versions.
I actually had thought it was used a lot more in the popular Elixir packages, but I see its not, although I do know, anecdotely, it is used by a lot of people. If you're using asdf, it will switch you to the correct elixir versioin as prescribed by the .tool-versions files.
Cons
The downside is having to keep it in sync with your CI (your CI and the tool versions file should probably be the same).
Why did I decide to open this PR?
Currently, I'm running Elixir 1.12.0-rc.0 locally. When I run mix format in this project, it changes a number of lines because there is some difference between the formatter in 1.11.1. Having this file can be helpful to developers who may not know the exact Elixir version this project is developed against

@davydog187 Thanks for the explanations
I am not against your proposition. Find below some through about it.
Pros:

I like the idea to enforce the version for people working on the same project. I believe it could simplify things.

Cons/Questions:

It will work only for people who use asdf as a package manager, so the problem you described above with the formatted is not fully solved.
The minimum elixir version is defined in the mix.exs file, is this not redundant?
People who would like to use different OTP/Erlang/Elixir version, will maybe not understand why it does not work.
If I would like to test the latest elixir version, 1.12.0-rc.0, it means that I have to modify the file. Does it mean that we should bump this file, and the CI one, to the latest version as soon as the release is available?

As I said, I am not against :sweat_smile: but I do not have a strong opinion. I could leave with both choices. @msaraiva @miguel-s @lnr0626 WDYT?

The minimum elixir version is defined in the mix.exs file, is this not redundant?
Its not redundant because this wouldn't solve the problem. In my case, even if the minimum was set to 1.11.4, I would have experienced the issue still since I'm on 1.12.0

People who would like to use different OTP/Erlang/Elixir version, will maybe not understand why it does not work.
I'm not sure what you mean

If I would like to test the latest elixir version, 1.12.0-rc.0, it means that I have to modify the file. Does it mean that we should bump this file, and the CI one, to the latest version as soon as the release is available?
It's really a question of what you're looking to support as a library. For something like this project, I would probably expect you to be more on the cutting edge, but maybe if you were more conservative, you would want to make sure the project works well on 1.9.0 for example. This is also a good reason to use the matrix features of Github actions to test on multiple versions, and then this part of the problem partially becomes moot.

I updated the matrix https://github.com/surface-ui/surface/pull/351

Now that I've seen the CI matrix, the problem that I particularly see is that the formatter can differ between elixir versions. In this projects case, you check if the project is formatted against Elixir 1.11.1 (currently), as defined by CI.

Hello @Malian did you have any more thoughts here?
I'm not going to die on the asdf hill, but I do think its valuable. If there's a preference not to add to the project, thats fine by me, but I'd rather close than leave this open. Let me know, thank you :)

Hey @davydog187!
Thanks for the PR. I think we should avoid adding config files for external tooling. Otherwise, in no time, we'll have dozens of those files around. I remember people asking to include Vs Code related setting and other stuff I can't remember.
Regarding the formatter, I think the rule should be to always be compatible with the latest stable version. So as soon as v1.12.0 is out, we should update it and run the formatter. WDYT?

Sounds good to me. i'll close

authors: Malian davydog187 msaraiva

repo: surface-ui/surface


text:
can you create a windows app/windows exe

i have everything working i was wondering if i can open it up as a app in a windows insted of running it in code/cmd

lol no


text:
Configuring node-exporter to monitor CPU utilization metrics

Run below commands to configure Prometheus from the kube-prometheus directory.

Teardown existing installation using kubectl delete --ignore-not-found=true -f manifests/ -f manifests/setup
And trigger a fresh installation using kubectl apply --server-side -f manifests/setup -f manifests

Assuming the namespace “monitoring” was used for Prometheus installation, use the same namespace in the file “node-exporter.yaml” for node-exporter installation.
Run the command kubectl apply -f node-exporter.yaml

If it fails with an error no matches for kind "DaemonSet" in version "apps/v1" (which is only applicable for K8s 1.1.7 and above), then use an appropriate version “extensions/v1” or "extensions/v1beta1".

Ensure that node-exporter service is available.

kubectl get svc -n monitoring

Port forward node-exporter

kubectl port-forward svc/node-exporter 9100 -n monitoring

Check that the node-level metric node_cpu_seconds_total is available in node-exporter service.

curl http://localhost:9100/metrics | grep node_cpu_seconds_total

Port forward prometheus-k8s

kubectl port-forward svc/prometheus-k8s 9090 -n monitoring

Check that the node-level metric node_cpu_seconds_total is available in prometheus-k8s service.

curl 'http://localhost:9090/api/v1/label/__name__/values' | grep node_cpu_seconds_total

When using kepler-model-server script for kind cluster preparation, node-exporter service is not configured by default. Above procedure can be used to configure it.

Content of the file node-exporter.yaml
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
  labels:
    app: node-exporter
  name: node-exporter
  namespace: monitoring
spec:
  selector:
    matchLabels:
      app: node-exporter
  template:
    metadata:
      annotations:
        cluster-autoscaler.kubernetes.io/safe-to-evict: "true"
      labels:
        app: node-exporter
    spec:
      containers:
      - args:
        - --web.listen-address=0.0.0.0:9100
        - --path.procfs=/host/proc
        - --path.sysfs=/host/sys
        image: quay.io/prometheus/node-exporter:v0.18.1
        imagePullPolicy: IfNotPresent
        name: node-exporter
        ports:
        - containerPort: 9100
          hostPort: 9100
          name: metrics
          protocol: TCP
        resources:
          limits:
            cpu: 200m
            memory: 50Mi
          requests:
            cpu: 100m
            memory: 30Mi
        volumeMounts:
        - mountPath: /host/proc
          name: proc
          readOnly: true
        - mountPath: /host/sys
          name: sys
          readOnly: true
      hostNetwork: true
      hostPID: true
      restartPolicy: Always
      tolerations:
      - effect: NoSchedule
        operator: Exists
      - effect: NoExecute
        operator: Exists
      volumes:
      - hostPath:
          path: /proc
          type: ""
        name: proc
      - hostPath:
          path: /sys
          type: ""
        name: sys
---
apiVersion: v1
kind: Service
metadata:
  labels:
    app: node-exporter
  name: node-exporter
  namespace: monitoring
spec:
  ports:
  - name: node-exporter
    port: 9100
    protocol: TCP
    targetPort: 9100
  selector:
    app: node-exporter
  sessionAffinity: None
  type: ClusterIP
---
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
  labels:
    app: node-exporter
    serviceMonitorSelector: prometheus-k8s
  name: node-exporter
  namespace: monitoring
spec:
  endpoints:
  - honorLabels: true
    interval: 10s
    path: /metrics
    targetPort: 9100
  jobLabel: node-exporter
  namespaceSelector:
    matchNames:
    - monitoring
  selector:
    matchLabels:
      app: node-exporter

Make sure that the Prometheus query step is greater than the node-exporter interval (which is set to 10 seconds in the node-exporter.yaml file) so that different values are reported in the time series data collected.

Setting up the appropriate access controls also may be needed as in https://github.com/sustainable-computing-io/kepler-model-server/blob/main/model_training/script.sh#L147

Configuring metrics-server on the kind cluster:

Download the file https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml
Create the configuration by running kubectl apply -f components.yaml
If metrics-server pod throws IP SANs error (kubectl logs -f metrics-server-5fb5598cf8-8588b -n kube-system) then add the option --kubelet-insecure-tls in the components.yaml file as suggested here and retry deployment.

When creating a kind cluster with multiple nodes, one may need to adjust the number of CPUs and memory to be allocated for each node in docker environment (like in Docker Desktop).

repo: sustainable-computing-io/peaks


text:
This repo will be renamed to Alacrán UI

In order to get out of the fork we need our own identity

Build 9052020 will rename this repo


text:
Update package.json

This is so the dist of this package includes this change - https://github.com/sutton-signwriting/font-ttf/pull/3

New published version should cover this.

authors: AmitMY Slevinski

repo: sutton-signwriting/sgnw-components


text:
fuel_pin.h5m used for tests should be updated

With the new consistency checks we added on geom_dimension and category, there are now some warnings emitted about the fuel_pin.h5m file that is used for testing, e.g.:
  /home/romano/codes/pydagmc/dagmc/dagnav.py:126: UserWarning: Assigned geom_dimension=4 to group 'mat:fuel'.
    warn(f"Assigned geom_dimension={self._geom_dimension} to {identifier}.")

I would update this file and send a PR, but it's being downloaded from a URL so it might be best for you to do that @pshriwise

Good call! Just updated the version of that test file online. After a re-run of CI I don't see those warnings any longer.
https://github.com/svalinn/pydagmc/actions/runs/7772008639/job/21193937830

authors: paulromano pshriwise

repo: svalinn/pydagmc


text:
Add @tanstack/svelte-query

Source available here: https://github.com/TanStack/query/tree/main/packages/svelte-query
NPM package here: https://www.npmjs.com/package/@tanstack/svelte-query

There were an issue with the preview deployment, which have been solved.
Can you rebase your branch ?

@MacFJA thanks, should be fixed!

authors: MacFJA lachlancollins


text:
generated start file does not work with relative path

I could not find where in the source code the generated start file is coded, but in my ipfs app, I need to get rid of all absolute path
The start file generated by sveltekit inject script tag at run time and is given a list of paths for that. Unfortunately these paths do not have access to the router base property currently,
Note that my ipfs adapter ensure the router base path is generated at runtime (See comment here: https://github.com/sveltejs/kit/issues/595#issuecomment-842278606 ) so the solution will also have to operate at runtime.
Could we make so that the start file have access to the router base property ?
in the generated start file I see  something like this :
        if (document.querySelector(`link[href="${t}"]${r}`))
            return;
        const s = document.createElement("link");
        ...
        s.href = t,
        document.head.appendChild(s),

by default t is an aboslute path. I hacked the output of static adapter via a postprocess and I make sure that the various t path are relative
Unfortunately depending on the context (the value of window.location), the relative path will be interpreted differently
The solution would be ensure the t paths are generated with the router.base in mind so that script tag are given only absolute path, making them independent of context

Closing in favour of #595

authors: Rich-Harris wighawag

repo: sveltejs/kit


text:
Show special error when a compiled Svelte component results in a syntax error

If the Svelte compiler produces syntactically incorrect output, the error that the REPL currently displays in "Unexpected token (Note that you need plugins to import files that are not JavaScript)", which is a bit misleading. I think we could detect when this happens and display a more helpful error, something along the lines that the compiler has produced invalid output, and to please open an issue with a minimal reproduction.
The REPL has complete control over the bundling process, and knows exactly which Rollup plugins are in use, so I think we should be able to treat all such errors arising from .svelte files as being situations to display a new error message,

I think #173 is related as a full stack trace would probably also help in making compilation errors easier to troubleshoot.

Related issues: #335 , #354

closing since the site has been rewritten. please file at https://github.com/sveltejs/svelte.dev/issues/new if the issue persists

authors: Conduitry benmccann gyurielf janosh

repo: sveltejs/sites


text:
Unexpected token error in REPL but not locally

Describe the bug
svelte-multiselect stopped working in the REPL in v5.0.0. The previous v4.0.6 release is working fine.
The error message v5 raises is: Unexpected token (Note that you need plugins to import files that are not JavaScript)
Sadly the REPL gives no stack traces. I've been looking through the changes I introduced between these 2 releases but nothing jumps out. v5 works fine when used locally too. I was also looking through the REPL compiler's JS output but couldn't spot any issues. Any debugging advice would be great.
Reproduction
v:4.0.6 (working): https://svelte.dev/repl/4279890dae0942caa860e74f2e7a8a6f?version=3.48.0
v5.0.0 (broken): https://svelte.dev/repl/ea202bd627134d898802a11cfaf8ff0e?version=3.48.0
Logs
No response
System Info
REPL

Severity
annoyance

Transferring this to the sites repo, as this is apparently an issue in how the REPL resolves imports, not in Svelte itself.

@baseballyama I thought that strange remnant from the type import might be the issue too at first but later v5 releases of svelte-multiselect don't have that any more. The generated package/MultiSelect.svelte looks like this now but the REPL import still fails.
<script>import { createEventDispatcher } from 'svelte';
import { get_label, get_value } from './';
import CircleSpinner from './CircleSpinner.svelte';
// ...

Same here:
https://svelte.dev/repl/0a87b0b710ab473fb7368dc260160ae6?version=3.50.1
It works fine outside of the REPL.

Just noticed that version 7.0.2 of svelte-multiselect now successfully runs in the Svelte REPL.
@gyurielf Apparently the fix was to remove a circular import between src/lib/{index.ts<->MultiSelect.svelte}. See https://github.com/janosh/svelte-multiselect/issues/121#issuecomment-1272396986.
@Conduitry Maybe this also helps point at how to make the REPL more robust?

closing since it sounds like this has been solved and the site has been rewritten


text:
Parse HTML comments correctly

Description
From https://github.com/ota-meshi/eslint-plugin-svelte/pull/240#issuecomment-1223885863

For now, there are no related issues after the release of https://github.com/sveltejs/eslint-plugin-svelte/pull/240, so I will close this issue. If any problems come up, it can be reopened.

authors: JounQin baseballyama

repo: sveltejs/svelte-eslint-parser


text:
add: webpack 세팅 추가 및 jest 환경 설정

webpack 번들러 추가

기존 구조에서는 css나 js 파일을 모듈로 분리가 불가능 하여 번들러를 추가했습니다.
피그마내에서 webpack 사용을 권장하고 있어 아래 문서를 참고하여 세팅했습니다.
@see https://github.com/see https://www.figma.com/plugin-docs/libraries-and-bundling/
앞으로 작업은 src 폴더 내에서 파일 생성하여 하시면 될 것 같습니다!

jest.config.js 추가

jest에서 ESModule을 사용하지 못하여 jest.config와 babel.config 세팅을 해주었습니다.
웹팩 빌드 테스트를 위해 src/test/build.test.js 추가해두었습니다.

고생하셨습니다!!


text:
How to get the './data/original/shanghaitech/part_B_final/test_data/ground_truth_csv/'

This document './data/original/shanghaitech/part_B_final/test_data/ground_truth_csv/' is used in test.py.
But the dataset I got doesn't contain this document.
Can anyone tell me how can I get this document?
Thanks

You need to run create_gt_test_set_shtech.m

I did, but there's no such a document too. I got the ground_truth_csv document in part_A only, but no such a document in part_B

You need to run create_gt_test_set_shtech.m

I found the reason why I failed before. Thank you so much for your answer, thanks!

@Xuwanjun9 same problem here. Can you tell me the resolvance here. I am getting error like below -
"error: load: unable to find file ../data/original/shanghaitech/part_A_final/test_data/ground_truth/GT_IMG_1.mat
error: called from
create_gt_test_set_shtech at line 24 column 5"

The error is from matlab console only, When I ran the create_gt_test_set_shtech.m file.

As I remember there were underscores used in the MATLAB file refering to the dataset but the dataset itself uses hyphens. That's probably why the file can't be found

@Xuwanjun9 Sir ,I found ./data/original/shanghaitech/part_B_final/test_data/ground_truth_csv/ is not exists,I had run……m file ,Could you tell me the reason?

@Xuwanjun9 Sir ,I found ./data/original/shanghaitech/part_B_final/test_data/ground_truth_csv/ is not exists,I had run……m file ,Could you tell me the reason?

@Xuwanjun9 Sir ,I found ./data/original/shanghaitech/part_B_final/test_data/ground_truth_csv/ is not exists,I had run……m file ,Could you tell me the reason?

open the .m file, you'll see that there's a para indicate the dataset A or B only, change it and run again

@Xuwanjun9 Sir，Thanks for your reply,I have solve the question.But a new question is occur that I cann't understand the create_gt_train_set_shtech.m,I have scan the web without solve the question,can you help me

What makes you confused? Did you open and read the .m file?

@Xuwanjun9 Sir，Thanks for your reply,I have solve the question.But a new question is occur that I cann't understand the create_gt_train_set_shtech.m,I have scan the web without solve the question,can you help me

What makes you confused? Have you open and read the .m file?

@Xuwanjun9 I have open the .m file ,and the code have no antotation,many of that I cann't understand,so I       want a detail file but the brower haven't ,so your code hava antotation?

@Xuwanjun9 @koalaofpoint in the create_gt_test_set_shtech.m file, change the
dataset='A'
to
dataset='B'
and you will be able to generate the ground truth csv for part B. I struggled with the same problem until I looked at the code.

@Xuwanjun9  do you know how to get the GT_x.mat file for own dataset.
the structure is so stange ,like
('image_info: ', array([[array([[(array([[222.5446098 , 472.86475499],
[  6.63269208, 709.19046582],
[ 64.82506957, 694.96566243],
...,
[714.76278388, 418.8815984 ],
[519.37417249, 234.74573427],
[523.46608059, 238.83764236]]), array([[707]], dtype=uint16))]],
dtype=[('location', 'O'), ('number', 'O')])]], dtype=object))
is unlike python version,i am confused

@Xuwanjun9 do you know how to get the GT_x.mat file for own dataset.
the structure is so stange ,like
('image_info: ', array([[array([[(array([[222.5446098 , 472.86475499],
[ 6.63269208, 709.19046582],
[ 64.82506957, 694.96566243],
...,
[714.76278388, 418.8815984 ],
[519.37417249, 234.74573427],
[523.46608059, 238.83764236]]), array([[707]], dtype=uint16))]],
dtype=[('location', 'O'), ('number', 'O')])]], dtype=object))
is unlike python version,i am confused

It's a matlab code, you have to run this code in matlab to get ground truth

@Xuwanjun9 do you know how to get the GT_x.mat file for own dataset.
the structure is so stange ,like
('image_info: ', array([[array([[(array([[222.5446098 , 472.86475499],
[ 6.63269208, 709.19046582],
[ 64.82506957, 694.96566243],
...,
[714.76278388, 418.8815984 ],
[519.37417249, 234.74573427],
[523.46608059, 238.83764236]]), array([[707]], dtype=uint16))]],
dtype=[('location', 'O'), ('number', 'O')])]], dtype=object))
is unlike python version,i am confused

It's a matlab code, you have to run this code in matlab to get ground truth

ok ,I have solved it ,thank you

authors: BlakeRainey RooCoder Xuwanjun9 koalaofpoint ryanjinhappy tongpinmo

repo: svishwa/crowdcount-mcnn


text:
No reponse in docker container

A few days ago I moved my iobroker instance from physical host into a docker container with a new IP (NAT). I can start the Sonos instance in the moved iobroker instance and it turns green.
iobroker log reports: starting. Version 3.0.0 in /opt/iobroker/node_modules/iobroker.sonos, node: v18.19.0, js-controller: 5.0.17
But that's all. I cannot perform any actions and neither are any values updated.
I guess this is because of the network address translation in the container. It might work if I could provide a callback IP address.
Any suggestions how I could make the Sonos adapter work in my container?

I don't do iobroker and your description is pretty cryptic.
I guess you're having trouble with the event not arriving? Have you checked the docs on the topic?
https://sonos-ts.svrooij.io/sonos-device/events.html

repo: svrooij/node-sonos-ts


text:
Generating correct schema for multipart/form requests using CXF

I'm having difficulty generating the schema I need to be able to display a file upload form in Swagger UI. I have an application using CXF with annotated endpoints to generate my OpenAPI schema. The endpoint method has no parameters specified as I pull the file directly out of the servlet request so I'm trying to generate the schema I need purely with annotations. The examples I've seen online seem to suggest that only Jersey's @FormDataParam in conjunction with a swagger @Parameter annotation is supported and that CXF's @Multipart annotation or using purely Swagger annotations isn't possible.
Is there a way to manually specify properties for a schema without having a POJO object to map them to?
The schema I've so far been able to generate and the code snippet are below. I've also tried adding @parameter annotations into the @Operation annotation without any luck. Any assistance would be much appreciated.
   post:
      tags:
      - Admin
      summary: Uploads a new license file to the server.
      operationId: uploadLicense
      requestBody:
        description: A valid license file
        content:
          multipart/form-data:
            schema:
              type: string
              format: binary

    @Operation(summary = "Uploads a new license file to the server.")
    @RequestBody(description = "A valid license file",
        content = @Content(mediaType = MediaType.MULTIPART_FORM_DATA,
            schema = @Schema(type="string", format="binary")))
    @POST
    @Consumes(MediaType.MULTIPART_FORM_DATA)
    public Response uploadLicense()

The code I'm attempting to generate with which swagger UI will successfully generate a file upload form with
      requestBody:
        description: A valid KNIME license file
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                fileName:
                  type: string
                  format: binary

I don't think it has anything to do with CXF, because I had similar problem with spring-web.
Just create dummy POJO that groups all multipart parameters and put your "binary" parameter into it, e.g.:
@Getter @Setter @NoArgsConstructor
class MyMultipartRequest {
	@Schema(type = "string", format = "binary")
	private MultipartFile file;
	@Schema
	private String someOtherParameter;
}

Then use @Schema#implementation to tell Swagger to use that POJO:
@RequestBody(content = @Content(
		mediaType = MediaType.MULTIPART_FORM_DATA_VALUE,
		schema = @Schema(implementation = MyMultipartRequest.class),
		encoding = @Encoding(name = "file", contentType = "application/octet-stream"))
)
ResponseEntity<Void> doSomething(MyMultipartRequest request) {...}

You can omit method parameter if not needed (since you're extracting data directly from servlet request).

I'm having the same issue as @rdamyon.  Has anyone been able to find a solution?

I also used the CXF, I also used the POJO, the swagger UI displayed correct, but the Content-Type is not correct.
below is my code:
POJO:
public class ResourceRequest {
    @Schema(type = "object ", description = "Resource detail", name = "resource",
            implementation = CreateResourceRequest.class,
            required = true)
    private CreateResourceRequest resource;
    @Schema(type = "string", description = "Resource attachment", name = "file", required = true,
            format = "binary", title = "file")
    private File file;
}

Here: the file is must be File Object, I had tried other object, didn't display with the selected file.
The API Definition:
@POST
@Consumes({"multipart/form-data"})
@Produces({"application/json"})
@Operation(summary = "Create a Resource", tags = "resources", requestBody = @RequestBody(
    content = @Content(mediaType = "multipart/form-data", schema = @Schema(type = "object",
        requiredProperties = {"resource", "file"}, implementation = ResourceRequest.class),
        encoding = {@Encoding(name = "resource", contentType = "application/json"),
        @Encoding(name = "file", contentType = "application/octet-stream")}
    )
))
Resource doSomeThing(
        @Multipart(value = "resource", type = "application/json") CreateResourceRequest resourceRequest,
        @Multipart(value = "file", type = "application/octet-stream") Attachment fileDetail
)

The yaml file:
openapi: 3.0.1
info:
  version: "2.5"
servers:
- url: /v2.5
  variables: {}
security:
- Authorization: []
paths:
  /resources:
    post:
      tags:
      - resources
      summary: Create a Resource
      operationId: createResource
      requestBody:
        content:
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/ResourceRequest'
            encoding:
              resource:
                contentType: application/json
              file:
                contentType: application/octet-stream
components:
  schemas:
    CreateResourceRequest:
      type: object
      properties:
        name:
          type: string
        description:
          type: string
        workspaceId:
          type: string
        file:
          type: boolean
    ResourceRequest:
      type: object
      properties:
        resource:
          $ref: '#/components/schemas/CreateResourceRequest'
        file:
          type: string
          format: binary
          writeOnly: true
  securitySchemes:
    Authorization:
      type: http
      in: header
      scheme: bearer
      bearerFormat: jwt

Used this file to swagger editor, and execute it. the Contenty-Type is not my defined. and execute in sever, throw the 415, not supported, because the parameter Content-Type is not correct.
curl -X 'POST' \
  'https://editor.swagger.io/v2.5/resources' \
  -H 'accept: application/json' \
  -H 'Content-Type: multipart/form-data' \
  -F 'resource={
    "name":"new_file_U",
    "description":"simple file_U"
}' \
  -F 'file=@aa.txt;type=text/plain'

authors: TuckerBesch gbyczyns rdamyon zfkang-talend

repo: swagger-api/swagger-core


text:
Add support for XML response

It would be great if support for XML output could be added, and ideally, validation against response schemas.
Currently, the following try/catch block on line 101 of swagger-tools/swagger-validator.js generates the Value expected to be an array/object but is not error:
if (_.isString(val)) {
  try {
    val = JSON.parse(val);
  } catch (err) {
    err.failedValidation = true;
    err.message = 'Value expected to be an array/object but is not';
    throw err;
  }
}

Implementation would ideally perform the same check for valid XML conforming to the schema, but  bypassing this block does output the XML response.

It sounds like this is a swagger-tools issue?

I'm also running into this issue. Express seems to be returning valid xml, but swagger complains with error @npedrini specified

Is there any fix for that? Same issue with express and swagger. Not able to return XML format. :(

authors: MobileAppVault jeffswitzer npedrini theganyo

repo: swagger-api/swagger-node


text:
fix comments on some exported functions for lint check

Describe the PR
fix comments on some exported functions for lint check

@ubogdan Give me a hand, approve

repo: swaggo/swag


text:
exchange: Вместо ETH-BTC можно выбрать BTC-BTC, но он превращается в EOS-BTC

What is working wrong?
Переключается в неправильном порядке

What should happen instead?
BTC вообще не должно быть в верхнем списке, если он выбран внизу
Или если он там есть, то внизу должно переключаться на ETH, который был выбран в верхнем, либо всегда на SWAP токен
Steps to reproduce

https://testnet.swap.online/exchange/eth-to-btc
https://testnet.swap.online/exchange/btc-to-btc

https://testnet.swap.online/exchange/btc-to-btc
)) BTC-BTC

сюда можно попасть только по прямой ссылке, а если уж такую ссылку ввел, так сам виноват


text:
Compositors may need to send no-op configure events

When the client sends a set_maximized or set_fullscreen request (or one of the unset variants), the protocol states that the compositor must send a configure event, even if it's a no-op because the compositor refuses.
We should at least document this properly, because this can be a little surprising and cause frozen clients.
Ideally wlroots should also help with this. However wlroots can't schedule a configure event right away, because this breaks asynchronous configure events (in case the compositor defers the decision).
See https://github.com/swaywm/sway/pull/5544

What if this was handled in wlr_xdg_toplevel_set_maximized, for example? That is a function the compositor would already call to indicate it has made a decision, but the issue is wlroots does extra work in this case to compare the states when that's really unnecessary, since it has to schedule a configure anyway. So instead of
https://github.com/swaywm/wlroots/blob/aaf490d794bd077330c306face305f4a87de5809/types/xdg_shell/wlr_xdg_toplevel.c#L584
We would use wlr_xdg_surface_schedule_configure to skip the comparison there for those requests in which scheduling a configure is required regardless.
The difference is that for compositors that don't care about maximizing like sway, instead of not implementing set_maximized they'd be required to implement a stub handler that just returns false, e.g. wlr_xdg_toplevel_set_maximized(surface, false) to let wlroots know it's done considering the client's request. Compositors that don't do that would get the same old buggy behavior, so we can document that requirement somewhere. As long as compositors implement handlers like they normal, they will get the correct Wayland behavior because wlroots will know when a configure is required or not.
Does that sounds good? I can draft a pull for wlroots/sway if does.

So far we've allowed compositors to repeatedly call e.g. wlr_xdg_toplevel_set_maximized without caring about the current state. This has allowed compositors to blindly call it even if the toplevel had the right state. Your change would break that (not saying it's necessarily a bad thing).
Note that the guarantee in the protocol to always send a configure event after a set_maximized request is racy anyways:

Compositor sends configure on its own
Client sends set_maximized
Compositor sends configure in response to the request
Client receives the first configure event, assumes it's a response to its set_maximized request

The client has no way to map configure events to set_* requests (if any).

So far we've allowed compositors to repeatedly call e.g. wlr_xdg_toplevel_set_maximized without caring about the current state. This has allowed compositors to blindly call it even if the toplevel had the right state. Your change would break that

Yeah, I see how that's a drawback. That said, I think the state comparison is most helpful when responding to client requests. If the compositor spuriously calls set_maximized, it seems a more likely it chose to do so because it thinks the client is not already maximized. I get that for most client requests it may be helpful to let wlroots figure it out what to do, except in these two specific cases wlroots' state comparison hurts rather than helps. That's why if we don't want to change the api I think this is the best solution.
If api can change, I feel like a good simple solution might be just having a "force" argument in xdg_set_* calls. That way when the compositor already knows the client state, or knows it does not matter such as in the case of maximize and fullscreen it can indicate to wlroots to forgo the check. Then you could literally just add false to all your xdg_set_* calls to get the old behavior and force the configure in the few cases you want. Compositors would then need to know to handle maximize/fullscreen, but it's a simple change at least.

Hmm, I wonder if we can make it easy for compositors. Maybe we can set a "dirty" flag in the set_* request handlers in wlroots, and make all wlr_xdg_toplevel_set_* calls force-send a configure if the dirty flag is set?

That sounds good to me.

I just hit this problem while trying to decline fullscreen requests, which didn't work since the configure event response was optimised away. I'd like to get it fixed - do I understand correctly that it would be acceptable to give the set_{fullscreen,maximize,...} a boolean dirty flag which if set forces the configure event regardless of the current state?
@RPigott are you still working on https://github.com/swaywm/wlroots/pull/2361 or do you mind if I make a PR for this change?

Go for it.

authors: RPigott emersion inclement

repo: swaywm/wlroots


text:
scene: consider taking a renderer as argument to wlr_scene_render_output

This would allow compositors to use a custom renderer instead of the backend's. Should we add a function to render the scene which doesn't take a wlr_output?

A function that allows rendering to a caller-provided buffer would be absolutely fantastic for my use-case.

authors: DemiMarie emersion


text:
Remove extra sliceToArray in rest parameter

Describe the feature
_tmp is already a array so this call could be omitted.
Babel plugin or link to the feature description
https://play.swc.rs/?version=1.2.113&code=H4sIAAAAAAAAA0srzUsuyczPU0jLz9fQ09OLTtRJ0kmO1VSo5uJMzs8rzs9J1cvJT9dI1OSqBQByG0H5LAAAAA%3D%3D&config=H4sIAAAAAAAAA0WMTQrEIAxG75K1286id5hDBCctFv9IUhgR714tlu7C915ehUMsrBUyshCPS0pU%2FMMKZAOKZZcVTNf6tKEXagYUeScdiiyd%2BZSEJjUQXHRbGSWbQmYSeRHG3T9m66GQfucYKmjJdAc%2F0N7G%2FHPynaLySe0Cj9ke9LUAAAA%3D
Additional context
No response

This is, actually, wrong. If Array[Symbol.iterator] is overwritten, such transform is needed. babel, however, includes an implicit assumption as per babel/babel#13942

repo: swc-project/swc


text:
Node bindings for swc_html_minifier

Describe the feature
As far as I understand, swc_html_minifier only exists as a Rust crate
It would be nice to expose it as an npm package as well so that the JS community can use it.
Babel plugin or link to the feature description
No response
Additional context
For static site generators like Docusaurus, minimizing html and inlined JS is an expensive task, for which we do no have a lot of very fast options currently.
Our current dependency is:
import {minify} from 'html-minifier-terser';

It accounts for almost half the time it takes to generate static files. We could be happy to replace it with a faster option solving a similar problem.

I triggered a publish action for v1.7.15

Awesome 🤟😍 that was fast, can't wait to test it!

Publish action failed. I'll publish the package once it's fixed.

@Brooooooklyn Are you still working on the CI fix?

I fixed CI and now @swc/html is published!

Thanks! ❤
Now can you please opensource your lightningcss-loader? 😄


text:
feat(es/compress): Drop cons/alt when comparing with object/array literals

It's safe to drop cons branch since {} === [] is always false.
if ( {} === [] ) {
    console.log("cons")
}

Hmmm.
I think in reality no one probably writes code like that.
Is it worth implementing it?

Honestly I don't think so


text:
feat(es/minifier): Ignore return value if a param of IIFE is not used

Description:
Related issue:

I'll add small tests starting from the next PR


text:
Documentation for aws-sdk-swift-core

Scripts to build documentation for aws-sdk-swift-core
Cleaned up code, where documentation indicated some mess.
Removed public from some objects that don't need to be public
Removed unused functionality
You can see the documention here https://adam-fowler.github.io/aws-sdk-swift-core/docs/current/index.html

merged latest master and tested with kinesis, lgtm!

authors: adam-fowler jonnymacs

repo: swift-aws/aws-sdk-swift-core


text:
Add Support For Copying All Resources Into Final Executable

Adds support for copying all resources (from all dependencies) into the final executable when packaging for aws lambda.
Motivation:
Closes #367 (and I believe #385 as well).
When an external dependency has resources in SPM, the packager would not copy them into the final executable. This caused an issue on launch where swift would try to create the resources, but this would fail to package. This fixes this.
Modifications:
Updated the packager to go through the build artifact and copy all .resources files into the new zip. This also adds a dependency to the LocalDebugging package so that I could test with that.
I also made some small updates to the packager to get them working locally with the new package directory setup (changing from 2 levels deep of folder nesting to 3).
Result:
I couldn't find any automated tests for the packager (I might have missed them), but to test this locally, I applied the following diff (to make the project build):
diff --git a/Examples/LocalDebugging/MyLambda/Lambda.swift b/Examples/LocalDebugging/MyLambda/Lambda.swift
index 397ece3..7d0cdee 100644
--- a/Examples/LocalDebugging/MyLambda/Lambda.swift
+++ b/Examples/LocalDebugging/MyLambda/Lambda.swift
@@ -14,12 +14,18 @@

 import AWSLambdaRuntime
 import Shared
+import Foundation

 // set LOCAL_LAMBDA_SERVER_ENABLED env variable to "true" to start
 // a local server simulator which will allow local debugging

 @main
-struct MyLambda: SimpleLambdaHandler {
+struct MyLambda: LambdaHandler {
+    static func main() async throws {
+        try await LambdaRuntime.init { (codable: Request, context) in
+            // Do nothing for now
+        }.run()
+    }
     func handle(_ request: Request, context: LambdaContext) async throws -> Response {
         // TODO: something useful
         Response(message: "Hello, \(request.name)!")
diff --git a/Examples/LocalDebugging/MyLambda/Package.swift b/Examples/LocalDebugging/MyLambda/Package.swift
index facef27..9c27957 100644
--- a/Examples/LocalDebugging/MyLambda/Package.swift
+++ b/Examples/LocalDebugging/MyLambda/Package.swift
@@ -1,4 +1,4 @@
-// swift-tools-version:5.7
+// swift-tools-version:6.0

 import PackageDescription

@@ -7,7 +7,7 @@ import class Foundation.ProcessInfo  // needed for CI to test the local version
 let package = Package(
     name: "MyLambda",
     platforms: [
-        .macOS(.v12)
+        .macOS(.v15)
     ],
     products: [
         .executable(name: "MyLambda", targets: ["MyLambda"])
@@ -30,7 +30,7 @@ let package = Package(
 )

 // for CI to test the local version of the library
-if ProcessInfo.processInfo.environment["LAMBDA_USE_LOCAL_DEPS"] != nil {
+if true {// ProcessInfo.processInfo.environment["LAMBDA_USE_LOCAL_DEPS"] != nil {
     package.dependencies = [
         .package(name: "swift-aws-lambda-runtime", path: "../../.."),
         .package(name: "Shared", path: "../Shared"),

and then ran LAMBDA_USE_LOCAL_DEPS=true swift package archive --disable-sandbox in the MyLambda folder. This then created a zip that had both the bootstrap and the Shared_Shared.resources in it.

Thank for the quick reaction about this.
The local debugging example was based on v1 and will disappear.
I will test your changes on a test project I have.
If all goes well, I will merge this PR and later remove the LocalDebugging Example

@jrosen081 can you run our Swift Format script and add the changes to the commit ?
We use teh script from the Swift NIO project, here is how I run it (I'll work on a more integrated / automatic version as soon as I manage to land the last 34 PRs)
.build/checkouts/swift-nio/scripts/check-swift-format.sh .

Thank you

@jrosen081 I just tested against #385 and this PR solves it also.  Thank you
As soon as you fix the swift-format issue. I'll merge the changes

.build/checkouts/swift-nio/scripts/check-swift-format.sh

Hmmm when trying to run it, I get the following error:
/Users/jackrosen/code/swift-aws-lambda-runtime/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:30:26: error: unexpected code in parameter clause

Looks like it complains about sending Handler, but that should be fine in Swift 6 I think. And I am using Swift 6 based on the response I get from swift --version:
swift-driver version: 1.115 Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)

I'm not sure how to proceed from here

.build/checkouts/swift-nio/scripts/check-swift-format.sh

Hmmm when trying to run it, I get the following error:
/Users/jackrosen/code/swift-aws-lambda-runtime/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:30:26: error: unexpected code in parameter clause

Looks like it complains about sending Handler, but that should be fine in Swift 6 I think. And I am using Swift 6 based on the response I get from swift --version:
swift-driver version: 1.115 Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)

I'm not sure how to proceed from here

It actually did run the formatter, but failed after my changes. PR is updated with formatting

repo: swift-server/swift-aws-lambda-runtime


text:
Set isExecuting to true before yielding the execution task

There was a very brief time when a QueuedTask would start executing but isExecuting was still sent to false. This caused the preparationTask.isExecuting check in SemanticIndexManager.prepare to fail after we did start preparation, causing the preparation of LibB in testDontStackTargetPreparationForEditorFunctionality to be cancelled, which wasn’t intended. Thus, the expected preparation tracker got out of sync and the test would fail.
rdar://136570212

@swift-ci Please test

repo: swiftlang/sourcekit-lsp


text:
[stdlib] Optional: Allow non-escapable wrapped types

This quick experimental PR generalizes Optional to support non-escapable payloads, itself becoming conditionally escapable.
rdar://125927256

@swift-ci test

:shipit:

Can we get the ExpressibleByNilLiteral and init(_ wrapped: consuming Wrapped) initializer supported?

For ExpressibleByNilLiteral, I believe we still need to figure out how to express indefinite lifetime for the result of the init(nilLiteral:) initializer.

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci build toolchain

The last push added generalizations for MemoryLayout, ExpressibleByNilLiteral and unsafeBitCast in addition to a somewhat working Optional generalization.
I had to temporarily disable module verification and silence a bogus diagnostic to make this stuff work. Hopefully that'll go away soon.

@swift-ci build toolchain

@swift-ci test

@swift-ci build toolchain

@swift-ci test

@swift-ci build toolchain

@swift-ci test

@swift-ci build toolchain

@swift-ci build toolchain

@swift-ci build toolchain

@swift-ci please build toolchain

@swift-ci smoke test

@swift-ci test

@swift-ci build toolchain

@swift-ci test

@swift-ci test

@swift-ci test

@swift-ci build toolchain

@swift-ci test

@swift-ci build toolchain

@swift-ci test

@swift-ci build toolchain

authors: Azoy glessard lorentey

repo: swiftlang/swift


text:
[Concurrency] Improve crash message on continuation misuse

The "leaked continuation" wording wasn't quite enough to explain what happened here to people less familiar with the details of the concurrency runtime -- we should include more information.
The problem is also that "leak" means that "resource will not be cleaned up" usually in Swift... but what we leaked is actually all tasks which wait on this continuation, and not really the continuation itself. So attempt to clarify this.
resolves rdar://105664861

@swift-ci please smoke test

@swift-ci please smoke test


text:
[build-script] Adding buildbot_linux,bootstrap

Adding a preset for running a bootstrapped buildbot linux configuration to verify that bootstrapping on environments that do not have a compiler will still work.
Swift Syntax and the Swift Driver must be disabled since build-script cannot schedule them at the appropriate times during the compiler build. Since we do not start with an existing Swift compiler, they can't be pre-built.

Note: This currently fails with the following error message:
ninja: error: 'stdlib/public/core/SwiftMacros', needed by 'bootstrapping0/stdlib/public/core/LINUX/x86_64/Swift.o', missing and no known rule to make it

preset=buildbot_linux,bootstrapped
@swift-ci Please test with preset Linux Platform

+ /home/build-user/build/cmake-linux-x86_64/bin/cmake --build /home/build-user/build/buildbot_linux/swift-linux-x86_64 -- -j36 all swift-stdlib-linux-x86_64 swift-libexec-linux-x86_64
ninja: error: 'stdlib/public/core/SwiftMacros', needed by 'bootstrapping0/stdlib/public/core/LINUX/x86_64/Swift.o', missing and no known rule to make it

And it failed in the expected way.


text:
🍒[cxx-interop] Lower iOS deployment target for Cxx and CxxStdlib

The iOS/watchOS/tvOS deployment targets for Cxx and CxxStdlib binaries got unintentionally bumped in b87b263.
This reverts the deployment targets to the older versions.
rdar://140823785 / resolves https://github.com/swiftlang/swift/issues/77909
(cherry picked from commit 22141b1118572c46732dc14e2fd348a9be9742a7)

@swift-ci please test


text:
Is there a way to unsort the datatable to its original order after clicking the sort arrows to manipulate the table?

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[x ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
When the table is sorted by various columns there is no way to unsort them in one click back to the original sort order.
Expected behavior
With a single click, one should be able to restore the original order of the table,.

Table version:
15.0.2

Angular version:
Angular CLI: 8.0.4
Node: 11.6.0
OS: darwin x64
Angular:
...

Package                      Version
@angular-devkit/architect    0.800.4
@angular-devkit/core         8.0.4
@angular-devkit/schematics   8.0.4
@schematics/angular          8.0.4
@schematics/update           0.800.4
rxjs                         6.4.0

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Language: [all | TypeScript X.X | ES6/7 | ES5]

Earlier on the third click, data used to reset to the original state i.e. unsorted but that behavior is no longer present. Do we have solution for this?

authors: ShubhamJainSJ samyuktr

repo: swimlane/ngx-datatable


text:
Update README.md - Fixed installation instructions

Changed the installation instruction using npm. The previous command returned 404.
What kind of change does this PR introduce? (check one with "x")

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ * ] Other... Please describe: Fixed npm installation instructions on the README.md

What is the current behavior? (You can also link to an open issue here)
Installations instructions return 404
What is the new behavior?
Changed installation instructions after spending sometimes confused on how to install via npm
Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x ] No

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


text:
A11y: Evaluate and implement a11y features for ngx-radiobutton and ngx-radiobutton-group

Add cypress-axe to evalute WCAG level A
Manually test keyboard accessible/tab order
Manually test with screen readers
Update Semantic HTML and AIRA tags as needed

Added in #717

repo: swimlane/ngx-ui


text:
Not working anymore

Hi, the rating updates was working very smoothly and I was getting regular updates and it was really helping me for more than a year but I didn't recieved any updates for this week rating changes.

Unfortunately it seems like Leetcode changed their API so that it is no longer publicly accessible. I'm afraid LeetCodeRatingsTexter will no longer work. The error message I receive when I make the request to fetch ratings is below. Sorry.
This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.

https://leetcard.jacoblin.cool/ also used leetcode API and his project also stopped working but now it's working fine as jacoblin made a commit (https://github.com/JacobLinCool/LeetCode-Stats-Card/commit/2a6a63d8fc589145224f1ba66738c4a3866f213d) and sent some headers while calling the API and it's working perfectly now.
It would be nice if you can also make the required changes while calling the API and this helpful project starts working again.

Thanks for providing that link. Unfortunately I don't think adding headers to the request will make it work. It sounds like what Jacob Lin did was deploy his server to a new platform, and somehow that results in requests not being rejected by Leetcode. LeetcodeRatingsTexter is hosted on Azure functions, and I don't have the time to redeploy it elsewhere in the hopes that it might fix the problem. Sorry

repo: swseverance/LeetCodeRatingsTexter


text:
IWR6843 firmware package

Dear @sxontheway ,
Would you pls specify the firmware that you used for IWR6843 mmWave Radar in this project?
I would like to reproduce your output but cannot find the information of radar firmware.
Thank you,
hphnngcquan

Hi, do you solve the problem?

repo: sxontheway/milliEye


text:
File info not auto update

What system are you running Yazi on?
Linux X11
What terminal are you running Yazi in?
Windows Terminal
Yazi version
0.2.3
Did you try the latest main branch to see if the problem got fixed?
Tried, but the problem still
Describe the bug
不通过yazi的manager命令来修改文件，修改后，文件信息没有更新
Expected Behavior
auto update file info
To Reproduce
比如：在外部使用 chmod 修改文件权限后，yazi显示的不是最新的权限
Configuration
No response
Anything else?
No response

I can't reproduce this issue in the latest main branch.
I noticed you mentioned trying the latest main branch - which commit are you trying? Please do a yazi -V and paste the version here.
https://github.com/sxyazi/yazi/assets/17523360/b9191a46-ddc0-4f4e-8b88-91a098d81281

抱歉，没有贴全部的版本信息
我目前更新到 0.2.4 问题依旧
yazi -V 结果：yazi 0.2.4 (Arch Linux 2024-03-10)
以下是我基于这个版本的视频：
https://github.com/sxyazi/yazi/assets/45219522/eb09c1fa-3e7f-45f1-a9b1-107d09dc2489

yazi --debug：
Yazi
    yazi 0.2.4 (Arch Linux 2024-03-10)

Environment
    OS: linux-x86_64 (unix)
    Debug: false

Emulator
    Emulator.via_env: ("xterm-256color", "")
    Emulator.via_csi: Ok(Unknown([]))
    Emulator.detect: Unknown([])

Adaptor
    Adaptor.matches: KittyOld

tmux
    TMUX: false

Zellij
    ZELLIJ_SESSION_NAME: None

Desktop
    XDG_SESSION_TYPE: None
    WAYLAND_DISPLAY: None
    DISPLAY: None

Ueberzug
    Version: Err(Os { code: 2, kind: NotFound, message: "No such file or directory" })

WSL
    /proc/sys/fs/binfmt_misc/WSLInterop: true

--------------------------------------------------
When reporting a bug, please also upload the `yazi.log` log file - only upload the most recent content by time.
You can find it in the "/home/sky03/.local/state/yazi" directory.

You are in WSL right? What's your file system?

Yes, I'm use ArchLinux in WSL, and WSL2 only support the ext4.

authors: ListenV sxyazi

repo: sxyazi/yazi


text:
Could you possibly also share how to convert the Face Anti-spoofing model   to tensorflowlite?

Could you please also share with me to 546749317@qq.com?Thanks a lot too :)

发你了

Can you send to me too? crnogorac.nikola93@gmail.com

authors: nikolacrnicrni syaringan357 xiaooquanwu


text:
not extracted on postgresql site.

Tab Modifier version
0.19.2
Expected behaviour
Tab to get the name "NOTIFY". (In view-source there is an
 tag).
Actual behaviour
Tab gets the name "{h1}"
Steps to reproduce the behaviour

Add the following rule:

{"url_fragment":"https://www.postgresql.org/docs/","name":"Useful PostgreSQL Names","tab":{"title":"{h1}","muted":false,"protected":false,"url_matcher":null,"unique":false,"icon":null,"pinned":false}}

Visit https://www.postgresql.org/docs/current/static/sql-notify.html

Work around
I have actually moved to title matching and @1 which works better for me here anyway. But the bug still exists hence the report.

Hi @spidererrol, thanks for this complete feedback.
Actually, its DOM is really weird so the h1 is not well detected. Lets see the markup:

NOTIFY

The anchor is outside the word "NOTIFY", this is the problem. I tried to live-update the DOM to get:

NOTIFY

And it works like a charm. I don't know why they have coded like this. ;)
Best

Closing this as it's not a TM bug. :)

Came here for this issue exactly. In case it helps anyone else, here's the title and title matcher I'm using:

Thanks for making this great extension!

authors: spidererrol statico sylouuu

repo: sylouuu/chrome-tab-modifier


text:
🛑 Is Green Scene is down

In 1bfe5cc, Is Green Scene (https://isgreen-scene.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Is Green Scene is back up in e965f45 after 1 hour, 43 minutes.

repo: symapex/upsite


text:
🛑 Rigid Ground Work is down

In 8f64124, Rigid Ground Work (https://rigidgroundwork.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Rigid Ground Work is back up in 3e762fb after 22 minutes.