Carry #1329 : Fixes so that nginx will start

Carry #1329 : Fixes so that nginx will start
Signed-off-by: Richard Scothern<EMAIL_ADDRESS>

Current coverage is 57.84%

Merging #1354 into master will decrease coverage by -0.21% as of 78f0e76

@@            master   #1354   diff @@
======================================
  Files          123     123
  Stmts        11101   11094     -7
  Branches       777     774     -3
  Methods          0       0
======================================
- Hit           6445    6417    -28
+ Partial        777     774     -3
- Missed        3879    3903    +24

Review entire Coverage Diff as of 78f0e76

Uncovered Suggestions

+0.29% via ...ge/driver/gcs/gcs.go#185...216
+0.29% via ...ge/driver/gcs/gcs.go#104...135
+0.21% via ...ge/driver/gcs/gcs.go#474...497
See 7 more...

Powered by Codecov. Updated on successful CI builds.

LGTM unless you want to clean up the spacing of the nginx file contents

re-indented.

:+1:


Create CryptoCitizen

Grant Application Checklist

[x] The application template has been copied, renamed ( project_name.md) and updated.
[x] A BTC or Ethereum (DAI) address for the payment of the milestones is provided inside the application.
[x] I have read and acknowledged the Terms and Conditions.
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The total funding amount of the project is below USD $30k for initial grant applications and $100k for follow-up grants.
[x] The initial PR contains only one commit (squash if needed before submitting your PR).
[x] The grant will only be announced once the first milestone has been accepted.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

I'm confused, this application is for a game but I don't see any section including game logic or mockups? Also please rename the file to .md so it is properly displayed.

I'm confused, this application is for a game but I don't see any section including game logic or mockups? Also please rename the file to .md so it is properly displayed.

Just add a one pager GDD for this game. Please tell me if anything need to update

@semuelle Mostly my work is related to Ruby, but I participated in a lot of indie games jam.
My recent speech is Component Based Rails Application-Ruby Summit 2018 and When Ruby Met WebAssembly - 2020RubyConf SSR.
Here is my Game Conpect

At this stage, I need the help of pixel artists and other developers
What I can do: experience in web and smart contract development and overall project management.

Looks neat, I quite like the concept. Could you integrate your experience and the mock-ups into the application (also keep this in mind for any future clarifications)?
What do you mean by

we will design a main line containing at least 50,000 words.

Also do you have any games you have previously worked on to show, and in which capacity?
Another question, would you consider splitting the work into several milestones? Ideally we'd like to hear something from you before the project is over, and in that way you would also get some funding midway.
Do you have any plans for deployment, e.g. will you launch your own substrate chain or will this just remain a PoC?

@alxs Thanks for your opinion, here is my answers:

Could you integrate your experience and the mock-ups into the application (also keep this in mind for any future clarifications)?
Sure! As a lifetime indie gamer/programmer. I can do it.

we will design a main line containing at least 50,000 words.
sorry for the typo, it should be we will design a story line containing at least 50,000 words

Another question, would you consider splitting the work into several milestones? Ideally we'd like to hear something from you before the project is over, and in that way you would also get some funding midway.
Good idea! Will update my milestone ASAP.

Do you have any plans for deployment, e.g. will you launch your own substrate chain or will this just remain a PoC?
Good question, currently have several goals:

Implementation based on EVM
Can be abstracted into a protocol
Simplify development workflow
WASM friendly(optional)

My options will be these:

Moonbeam, developer-friendly workflow makes me feel good.
Plasm, according to my speech, You will know that one of my focuses is WASM.

Rename the game to CryptoCitizen, which is a more catchy name

Also what functionality do you plan to integrate into the substrate modules and what do you want to store on-chain? It would probably be way too expensive to store all movements on-chain. Furthermore, have you already looked into other game related projects in our ecosystem?

@Noc2  Sorry for not updating this piece correctly. In order to make the game portable, We finally decided to make it base on Moonbeam.
And we will not store all movements on-chain, the detector we move to the server-side, we can just make player's gameplay results(what he gain) on-chain.  We modified it according to your suggestion.
Regarding the choice of Moonbeam, I need to explain: For the time being, based on the Polkadot ecological situation, the compatible solution proposed by Moonbeam is the best, and the feasibility of trying it is also the highest.
Thanks for recommending Bit-Country-Blockchain for giving me a lot of inspiration!

So only the progress would be stored on chain?

Sure! As a lifetime indie gamer/programmer. I can do it.

I think there was a misunderstanding here. I meant if you could please add the mockups and the experience you mentioned in your comment to the proposal.

Also do you have any games you have previously worked on to show, and in which capacity?

You forgot to answer this.

Hi @alxs, thx for the comment.

So only the progress would be stored on chain?
Yes, players only have part of the settlement will onchain.

I think there was a misunderstanding here. I meant if you could please add the mockups and the experience you mentioned in your comment to the proposal.
Already update my application.

Also do you have any games you have previously worked on to show, and in which capacity?
I was been involved 2 times in LD Game Jam:

the First one is a programming & roguelike game. https://ldjam.com/events/ludum-dare/41/need-for-sleep
Keep Alex Alive https://ldjam.com/events/ludum-dare/46/keep-alex-alive

Because it is a product of Game Jam(for 48 hours), they are relatively immature. CryptoCitizen will not be a solo project, I will polish the game more complete

Hi @Madao-3. I'm sorry to say I won't support this application due to the following reasons:

It seems to me not a lot of thought was put into the technical aspects of the project, as you made fundamental decisions such as on which platform to build only as you were confronted with them.
The two games you shared were very hard to play and as you say overall immature. I understand that these were built under a very short timeframe but for a Game Designer with 3 years of experience as you describe yourself in your application, I would have expected you to be able to share longer-term projects you were involved in.
The application still lacks significant details, for example the section describing the game runtime would call for extensive technical details but you provide none.
I didn't ask about this before, but why would you want to integrate a bridge to transfer NFTs from Ethereum? This doesn't make any sense to me.

I don't mean to discourage you from building this project, it seems like a cool idea. If you can put together a good team and build a PoC maybe you can apply again with more success.
Let's see if @Noc2 has any more questions then he might share your application with the rest of the team.

@alxs I understand your concern. The MVP of this game (not including blockchain) will be released in LD 48. You can choose according to your playing experience.

I didn't ask about this before, but why would you want to integrate a bridge to transfer NFTs from Ethereum? This doesn't make any sense to me.

I am very reluctant to say that, but I am not optimistic about Polkadot's NFT market liquidity in a short period of time.

But wouldn't you create the NFTs used in the game?

But wouldn't you create the NFTs used in the game?

Ohhh, I got your point, here is a mistake, This description is before we decide to use Moonbeam, since we use this as our solution, we will not use Darwinia.

I'm not sure we're talking about the same thing here. Being able to create your own NFTs on Polkadot as opposed to creating them on Ethereum and migrating them through a bridge (which is pointlessly complicated) doesn't depend on whether you deploy on Moonbeam or develop your own set of pallets.

@alxs Before we gradually perfected this solution, we prepared a multi-chain implementation model. At that time, Darwinia was a usable solution. After several optimizations, we only need to deploy the NFT contract on Polkadot. Because at this stage we only need the realization of a single chain.

I’m closing this due to inactivity. Let me know if you want to re-open it.


make 'donate' call to action clearer

The donate link on the index page is basically invisible. This makes things a bit clearer.
before:

after:

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @chris48s!

  Generated by :no_entry_sign: dangerJS


feat: write notes to separate files

Add simple file splitting, but it also requires manual format string typing.

Hi. Thanks for commiting to this project!
I suggest to make this splitting feature non obligatory, for eg. ask user whether he wants to proceed with old method, or new.

Hey, I'm here just to thank you man for creating this. There was no linkedin or insta added to your github profile. Anyways, thanks man, helped a lot.


Remove -warn-redundant-requirements flag

The back story:

In the old days, the GenericSignatureBuilder would diagnose requirements it could prove redundant. This was partially motivated by Swift 3 ABI stability; we wanted to get the minimized generic signatures in the stdlib right.
The Requirement Machine replaced the GenericSignatureBuilder, and started producing more diagnostics because its analysis was more accurate.
People complained about all the new warnings.
We made the warnings conditional behind the -warn-redundant-requirements frontend flag.
Nobody has complained about the absence of these warnings since.
Non-copyable generics are coming, and the new code emits bogus redundant 'Foo : Copyable' warnings.
We can't be bothered fixing the redundancy diagnostics.

This PR updates a few remaining tests that used them to use -debug-generic-signatures instead, and FileCheck the exact generic signature, before removing the new flag entirely, and all associated bookkeeping in the Requirement Machine.

@swift-ci Please smoke test

@swift-ci Please test Windows


Optimize Variable Handling to Remove Viper Dependencies

Per #82 , remove viper as a dep and handle env-vars and config through json unmarshaling. Should greatly improve performance and binary size.

Check out the Unmarshaler I added to cmd/config.go. It defaults the Config struct with otel-cli defaults automatically. I needed it for the testing stuff and if need be we can relocate it there but for now this seemed okay and useful. Please lmk.
I'm not sure if it makes things easier or harder, I guess it depends on the loading order and config should prob be first and overridden by envvars & flags so this hopefully helps.

@emattiza  #117 fixes Viper to actually work. As far as I can tell the envvars it supported never worked, and only those supported by the SDK (e.g. OTEL_EXPORTER_OTLP_ENDPOINT) worked. So even OTEL_CLI_ATTRIBUTES didn't. As a result, the viper config file functionality likely never worked and besides isn't documented, and would need work to be better than the JSON.
I almost ripped viper out while troubleshooting, but ultimately figured it out. I still don't like how the config file looks in viper because of how flags are named to be flags and not config keys.
Importantly, in my branch the integration tests now validates envvars are working as expected. So we should make the change now. I'm exploring what the code would look like v.s. the viper fix in a local branch.

@emattiza I tried it https://github.com/tobert/otel-cli/commit/e80819bea6a0279cf9282e4c78222e9c0e5de677

Indeed, this does reduce binary size noticeably! About 1.2MB on my x86_64 machine. I still need to add json config parsing back but I don't expect that to add more than a couple kilobytes tops.
Before (109-fix-envvar-settings branch):
atobey@usagi:~/src/otel-cli$ ls -l otel-cli
-rwxr-xr-x 1 atobey atobey 18043798 Jan  9 20:12 otel-cli

After (experiment-remove-viper branch):
atobey@usagi:~/src/otel-cli$ ls -l otel-cli
-rwxr-xr-x 1 atobey atobey 16871993 Jan  9 19:49 otel-cli


Initial Chili theming for buyer repo

Hey Rob... I made some basic changes for theming on the Chilis buyer.

Design from Spencer


Remove label for ToggleSwitch, breaks i18n

Describe the bug
A clear and concise description of what the bug is.
Creating a <ToggleSwitch> forcibly displays an "On" or "Off" label. The only documented options for statusLabelPosition are start and end. How about offering none and make it the default?
To Reproduce
Create a <ToggleSwitch>. "On" vs. "Off" is displayed to match the state of the switch.
Expected behavior
No label should be displayed. Only the application owner knows the language of the host page, the vocabulary the app is using to describe the state controlled by the switch, what font size/color should be used to be consistent with the rest of the app, etc.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: macOS
Browser Chrome
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.64 Safari/537.36

Additional context
While we're discussing the API, onClick does not seem like a great API name. It suggests the event handler is not appropriate on touch devices. I don't care whether the user used a mouse, keyboard, or their finger to toggle the state: I want one event handler where I respond to the state change that results from the input event.

/cc @mperrotti who I believed introduced this as part of #1933

Also, this appears to be the code:
        <Box textAlign="right" sx={isOn ? null : hiddenTextStyles}>
          On
        </Box>
        <Box textAlign="right" sx={isOn ? hiddenTextStyles : null}>
          Off
        </Box>

As this does not use <Text> it doesn't support themes. It seems like this could just be:
<Box textAlign="right">
  <Text>{isOn ? 'On' : 'Off'}</Text>
</Box>

though again, it would be better if it did not exist at all.

No label should be displayed. Only the application owner knows the language of the host page

You're absolutely right about the i18n issue. Supporting translated strings wherever we have something hard-coded is a known issue. However, we intentionally designed the component so that "On" and "Off" must be rendered with the component.

onClick does not seem like a great API name. It suggests the event handler is not appropriate on touch devices

onClick is just the standard React prop name for both taps and clicks. I think it would feel more strange to call it something else.

It seems like this could just be:
<Box textAlign="right">      <Text>{isOn ? 'On' : 'Off'}</Text> </Box>

We intentionally render both "On" and "Off" to prevent a layout shift when the text changes.

However, we intentionally designed the component so that "On" and "Off" must be rendered with the component.

So you are unwilling to support an option to render the component without the label?

Not having this option would be an unfortunate reason for me to have to fork the component locally, but if that's the decision, I'll go ahead with that then.

@bolinfest - no need to fork. There is a workaround you can do with the sx prop until we figure out our i18n/translation strategy for hard-coded strings.
<ToggleSwitch sx={{'> [aria-hidden]': {display: 'none'}}} />

@mperrotti Thanks: that works just fine for now!

Closing as a workaround has been accepted.


Refactor the new Match DSL (Match.MatchFunction, Match.MatchMonad)

There are too many different types capturing state within the DSL. All when()-operation reduce to an underlying Predicate. These cases can be merged to one.

Match.MatchFunction was already refactored. See this merge.


[Feature] Combine GIFs and static images together

Can the project combine GIFs and static images together?

I didn't try that. But if u convert all ur PNGs in Gifs beforehand yes.

U can give It a try without converting them in Gifs, first off


Add compiler plugin for JMS services

Purpose
Add compiler plugin for JMS services and improve JMS code by using constants where applicable
Fixes #12629
Approach

Describe how you are implementing the solutions along with the design details.

Samples

N/A

Remarks

N/A

Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

@riyafa/ @pamod  Don't we need to move jms to ballerinax org?

@anupama-pathirage i believe what you mean is jballerina org ?
yes we would need to move JMS and JDBC both to jballerina. We were initially intending to move both of them as a separate effort once we get the confirmation.

@Pamod Yes eventually it should be in jballerina/. But I thought as JDBC it is already in ballerinax/, until we finalize the decision on jballeirna org.
BTW it makes sense to migrate it once when that is confirmed.


Eta-template was not working like before

Debug log ID
S2M4W83X-refs-euc/6.7.160-6
What happened?

[!note]
After upgrading to BetterBibTex 6.7.160 my latest eta-template was not working like expected anymore. The day before it was OK!

Possible Cause:
it.items serialized from JSON were not seperated by parbreaks at the end of the nested output of the template.
The JSON l directly exported via BetterBibTeX json looked OK.
@retorquere Can you remember I had to work around differences between newlines and paragraph breaks to make it working for me in Logseq.
I am not sure if I need to change my template or something is missing in your update.
In any case it should not pass silently.
Example Export
In line 12 the next item starting at - ### The Most Dangerous Writing App is concatenated to the preceeding item without any delimiter.
- ### The Least Dangerous To-Do List
creators:: author: Manuel Ebert
url:: https://theleastdangeroustodolist.com
tags:: #[[Schreiben]], #[[Writing]], #[[Online Tools]], #[[Tools]], #[[Writing Software]], #[[Writing Blog Posts]], #[[Text Creation]], #[[Schreibblockade]], #[[Manu Ebert]], #[[The Most Dangerous Writing App]]
zotero:: [@ebertLeastDangerousToDo2023](zotero://select/groups/5387086/items/E6Q3V4RB)
  - #### abstractNote
    The satisfaction of checking things off your to-do list, without any of the hard work.
  - #### Relations
    - http://zotero.org/groups/3305/items/HPSPXE2V
    - http://zotero.org/groups/5387086/items/IJ6LI577
    - http://zotero.org/groups/5387086/items/IQ438J55
    - http://zotero.org/groups/5387086/items/Y428Z85I- ### The Most Dangerous Writing App
creators:: author: Manuel Ebert
url:: https://maebert.github.io/themostdangerouswritingapp
tags:: #[[Schreiben]], #[[Writing]], #[[Online Tools]], #[[Tools]], #[[Writing Software]], #[[Writing Blog Posts]], #[[Text Creation]], #[[Schreibblockade]], #[[Manu Ebert]], #[[The Most Dangerous Writing App]]
zotero:: [@ebertMostDangerousWriting2022](zotero://select/groups/5387086/items/IQ438J55)
  - #### abstractNote
    Don’t stop typing, or all progress will be lost.
  - #### Relations
    - http://zotero.org/groups/3305/items/K69CGHDJ
    - http://zotero.org/groups/5387086/items/E6Q3V4RB
    - http://zotero.org/groups/5387086/items/IJ6LI577
    - http://zotero.org/groups/5387086/items/Y428Z85I

If the issue is on my side now (due to silly workarounds in the eta-template), I m happy to change the template on my side.
Originally posted by @acsr in https://github.com/retorquere/zotero-better-bibtex/issues/2789#issuecomment-1949244762 (now with Debug log ID!)

This has nothing to do with how BBT exports things (there's no newlines in the fields you are accessing, and BBT didn't put any there), and #2789 only made changes to import, not export. If you change the last line of your template into <% } %>, eta won't gobble the empty line before it, and you get the separation you want.
For experimentation you might find it easier to paste the code below into the ETA playground and toy around until you have what you want; I've just prepended the item contents of S2M4W83X-refs-euc/6.7.160-6 at the top of the eta template from S2M4W83X-refs-euc/6.7.160-6 (you'll notice that with the existing code, you don't get the separation you want there either):
<%-
it.items = [{"version":0,"itemType":"webpage","url":"https://theleastdangeroustodolist.com","date":"2023-1-12","accessDate":"2024-02-02T16:43:32Z","language":"English","abstractNote":"The satisfaction of checking things off your to-do list, without any of the hard work.","title":"The Least Dangerous To-Do List","creators":[{"firstName":"Manuel","lastName":"Ebert","creatorType":"author"}],"tags":[{"tag":"Manu Ebert"},{"tag":"Online Tools"},{"tag":"Schreibblockade"},{"tag":"Schreiben"},{"tag":"Text Creation"},{"tag":"The Most Dangerous Writing App"},{"tag":"Tools"},{"tag":"Writing"},{"tag":"Writing Blog Posts"},{"tag":"Writing Software"}],"collections":["C28L9G6G"],"relations":{},"dateAdded":"2024-02-18T21:27:04Z","dateModified":"2024-02-18T21:27:04Z","uri":"http://zotero.org/users/8230813/items/E9K2JP7K","attachments":[],"notes":[],"citationKey":"ebertLeastDangerousToDo2023","itemID":103,"itemKey":"E9K2JP7K","libraryID":1},{"version":0,"itemType":"webpage","url":"https://maebert.github.io/themostdangerouswritingapp","date":"2022-9-20","accessDate":"2024-02-02T16:43:14Z","language":"en","abstractNote":"Don‚Äôt stop typing, or all progress will be lost.","title":"The Most Dangerous Writing App","creators":[{"firstName":"Manuel","lastName":"Ebert","creatorType":"author"}],"tags":[{"tag":"Manu Ebert"},{"tag":"Online Tools"},{"tag":"Schreibblockade"},{"tag":"Schreiben"},{"tag":"Text Creation"},{"tag":"The Most Dangerous Writing App"},{"tag":"Tools"},{"tag":"Writing"},{"tag":"Writing Blog Posts"},{"tag":"Writing Software"}],"collections":["C28L9G6G"],"relations":{},"dateAdded":"2024-02-18T21:27:04Z","dateModified":"2024-02-18T21:27:04Z","uri":"http://zotero.org/users/8230813/items/JU9N9JRZ","attachments":[],"notes":[],"citationKey":"ebertMostDangerousWriting2022","itemID":102,"itemKey":"JU9N9JRZ","libraryID":1,"publicationTitle":"MDWA"}]
-%>
<%- for (const item of it.items) {
  const [ , kind, lib, key ] = item.uri.match(/^https?:\/\/zotero\.org\/(users|groups)\/((?:local\/)?[^/]+)\/items\/(.+)/)
  const select = (kind === 'users') ? `zotero://select/library/items/${key}` : `zotero://select/groups/${lib}/items/${key}`

  const relations = []
  if (item.relations) {
    for (const [kind, rels] of Object.entries(item.relations)) {
      for (const rel of rels) {
        relations.push(rel)
      }
    }
  }
-%>
- ### <%= item.title %>
<%- if (item.creators.length) { -%>
<%= "\n" %>creators:: <% item.creators.forEach((creator, i) => { %><%= creator.creatorType %>: <%= creator.name || `${creator.firstName || ''} ${creator.lastName || ''}`.trim() %><% if (i < item.creators.length - 1) { %>, <% } %><% }) %>
<%- } -%>

<%- if (item.url) { -%>
<%= "\n" %>url:: <%= item.url %>
<%- } -%>

<%- if (item.tags.length) { -%>
<%= "\n" %>tags:: <% item.tags.forEach((tag, i) => { %>#[[<%= tag.tag %>]]<% if (i < item.tags.length - 1){%>, <%}%><% }) %>
<%- } -%>

<%- if (item.citationKey) { -%>
<%= "\n" %>zotero:: [@<%= item.citationKey %>](<%= select %>)
<%- } -%>
<%= "\n" %>

<%- if (item.abstractNote) { -%>
<%= "\r" %>  - #### abstractNote
<%= "\r" %>    <%= item.abstractNote %>
<%- } -%>

<%- if (item.notes.length) { -%>
<%= "\r" %>  - #### Notes
<%- for (const note of item.notes) { -%>
<%= "\r" %>    - ##### Note [<%= note.key %>](<%= note.uri %> "URI Link")
<%~ note.note %>
<%- } -%>
<%- } -%>

<%- if (relations.length) { -%>
<%= "\r" %>  - #### Relations
<%- for (const rel of relations) { -%>
<%= "\r" %>    - <%= rel %>
<%- } -%>
<%- } -%>

<%- if (item.rights) { -%>
<%= "\r" %>  - #### Rights
<%= "\r" %>    - <%= item.rights %>
<%- } -%>

<%- } -%>

it.items serialized from JSON were not seperated by parbreaks at the end of the nested output of the template.

Things aren't serialized from JSON. Things are serialized to JSON, and none of the fields included in S2M4W83X-refs-euc/6.7.160-6 have linebreaks or parbreaks.

Can you remember I had to work around differences between newlines and paragraph breaks to make it working for me in Logseq.

Yeah that was in the template, not the data.

In any case it should not pass silently.

I have no idea what you mean by this.

It does seem to me at this point it would be easier to create your own translator rather than using eta.

Thank you for your efforts. You are right when pointing me to a special translator. I will see how far I can get.
In this case I skip updating your eta-template docs for now and focus getting the thing out of your way.
@retorquere wrote

In any case it should not pass silently.

I don't know how to interpret this. I don't know what it means.

In the Zen of Python there are two aphorisms relatet to this:

Explicit is better than implicit. )my fault here)
An error should never pass silently

On the second point: a closed ticket mentioning a special effect and its cause like mine can help others even if the mistake is on my side. If you have nothing to google, nobody can find it. Sometimes I find my own 10 years old solutions, I already forgot.

Removing the hyphens in the last line of the template worked  for me! Obvious on second sight. I update my Gits

In the Zen of Python there are two aphorisms related to this:
1. Explicit is better than implicit. (my fault here)

2. An error should never pass silently

But there wasn't an error that was passed silently. There was undesirable behavior that was expected given the input. I don't see how you could programmatically detect this and notify the user (and if such notification isn't the point, then I still don't know what, exactly, should not pass silently).

On the second point: a closed ticket mentioning a special effect

Much of what we have been discussing here is documented behavior from the eta project; that the hyphen gobbles input is just how eta works. If there is some issue from BBT that mentions a special effect from BBT itself, I don't know what issue this would be.

For your peace of mind: The error was mine not your code. Clear for me, hopefully now also for the audience. This is reflected in the title of the ticket. No idea why the–  lets call it effect – on my side was correlating with the update, not caused. It just unveilled the flaws of my code.
The Zen of Python mentions error as an effect you should always publish as alert. My interpretation here is to share the impact. On the other hand, missing testing skills on my side wasted your rare time.
Proper exception handling can unveil the context in detail. But we do not have these tools in Zotero itself. Your hint with the eta playground ist an instant feedback tool. Like a Jupyter Notebook can speed up development. But the trick is to insert the sample content like in your example.

I now close this ticket as solved.

I don't mind the time, it's just that when I see a problem, I want to fix it, and if I don't understand the problem, I cannot fix it.
BTW comma-separation is easier (IMO) with
<%= "\n" %>tags:: <%= item.tags.map(tag => tag.tag).join(', ') %>

and
<%= "\n" %>creators:: <% item.creators
  .map(cr => `${cr.creatorType}: ${[cr.name, cr.firstName, cr.lastName].filter(n => n).join(', ')}`)
  .join(', ') %>

BTW comma-separation is easier (IMO) with

THX, looks almost pythonic. I am used to Python String KungFu and Jinja2 templates, but as Donald Knuth said: "Premature optimization is the root of all evil" but I have no fear when the dark force rises.
If I write my own translator I have to check for the suggested best practise for Zotero (including 7).
I would start here: https://www.zotero.org/support/dev/translators/documentation
I originally came up to use the BetterBibTeX offer to craft an eta-template, when getting into limitations while using csl.
I am not remembering exactly the facts, but there were internal Zotero values from items seeming to be not reachable from the csl. The select item link magic was a blocker for me is my hunch.

CSL discards a fair bit of information from the zotero items.
There's nothing 7-specific for translators, what works on 6 will work on 7 and vice versa.

So I am leaving here finally, it was a pleasure.


Settings.json with environment variables

It looks to be possible to set the settings.json path via environment variables but the document doesn't have details on this. Can you add this to the docs or let me know what the environment variable should be named?
https://github.com/dotnet/dotnet-monitor/blob/f83deaff5e7cf5686eef1df7a2da85b8b852320e/documentation/configuration/configuration-sources.md?plain=1#L17

It looks to be possible to set the settings.json path via environment variables

The location of the settings.json file is not configurable via environment variables.
The settings.json file is implicitly found at the paths specified at https://github.com/dotnet/dotnet-monitor/blob/main/documentation/configuration/configuration-sources.md?plain=1#L9. It can also be implicitly loaded from the C:\ProgramData\dotnet-monitor directory (on Windows) or the /etc/dotnet-monitor directory (on non-Windows); I will update the docs to reflect this information.
You can also specify a path to a settings.json file via the --configuration-file-path command line switch: https://github.com/dotnet/dotnet-monitor/blob/main/documentation/configuration/configuration-sources.md?plain=1#L18

bummer I was really hoping to use the environment variable. thanks for the clarification.


Support verifying signature signed using x5c header

It is currently possible to verify the signature of a jwt token using the x5c header by providing a key finder function. e.g.
jwt_token = ::JWT.decode(token) do |headers|
  OpenSSL::X509::Certificate.new((headers['x5c'].first)).public_key
end

In order to validate the x5c certificate chain in full, I must provide my own implementation. It would be great if ruby-jwt gem could support the validation of the x5c certificate chain natively.
Here is an excerpt from https://tools.ietf.org/html/draft-ietf-jose-json-web-key-41#section-4.7

4.7.  "x5c" (X.509 Certificate Chain) Parameter
The "x5c" (X.509 Certificate Chain) member contains a chain of one or
more PKIX certificates [RFC5280].  The certificate chain is
represented as a JSON array of certificate value strings.  Each
string in the array is a base64 encoded ([RFC4648] Section 4 -- not
base64url encoded) DER [ITU.X690.1994] PKIX certificate value.  The
PKIX certificate containing the key value MUST be the first
certificate.  This MAY be followed by additional certificates, with
each subsequent certificate being the one used to certify the
previous one.  The key in the first certificate MUST match the public
key represented by other members of the JWK.  Use of this member is
OPTIONAL.

We need to implement JWK for that. You may have a look at the 2.x branch.

Don't forget, you need the ENTIRE certificate chain in that field.  The signing certificate first followed by each intermediate and root CA that owns that one.

@stunney It 'MAY' contain the entire certificate chain. The last certificate in the x5c chain could be rooted in a  certificate store managed by the entity validating the token.

You are correct.  The first must be the cert that signed the token.  The rest are optional.

adding to this, using a keyfinder block is really ugly if you have additionaly options to pass in.
JWT.decode(raw_token, nil, true, additional_options) do |header|
  ...
end

I don't like that I have to pass in a key (nil) that is going to be ignored anyways. Especially since I have to pass in an options has to do full validation in accordance with the RFC.

Hey @punkle, I'm taking a quick stab at this since I need support for this. Open question:
Should this be implementing x5c as specified in JWS (RFC-7515) or as specified in JWK?
JWS spec for x5c:

JWK spec for x5c:
The "x5c" (X.509 certificate chain) parameter contains a chain of one
   or more PKIX certificates [RFC5280].  The certificate chain is
   represented as a JSON array of certificate value strings.  Each
   string in the array is a base64-encoded (Section 4 of [RFC4648] --
   not base64url-encoded) DER [ITU.X690.1994] PKIX certificate value.
   The PKIX certificate containing the key value MUST be the first
   certificate.  This MAY be followed by additional certificates, with
   each subsequent certificate being the one used to certify the
   previous one.  The key in the first certificate MUST match the public
   key represented by other members of the JWK.  Use of this member is
   OPTIONAL.

   As with the "x5u" member, optional JWK members providing key usage,
   algorithm, or other information MAY also be present when the "x5c"
   member is used.  If other members are present, the contents of those
   members MUST be semantically consistent with the related fields in
   the first certificate.  See the last paragraph of Section 4.6 for
   additional guidance on this.

the main difference being that the JWK spec also wants you to supply the public key in one of the JWK fields, which feels redundant to me since it is already in the x5c field's first cert.

Ping @punkle @excpt

@itstehkman I am not very familiar with the specs. Can both be supported?

@itstehkman I would go for the JWS RFC 7515 specs. This should keep things as simple and should avoid the redundancy.

Sounds good! After taking a look at most common implementations, they use the JWK RFC. I can probably do this in two parts - first part supporting the JWK implementation, then the pure JWS implementation too.


Added Fork me on Github

@omi10859, please add a working demo link here.

Looks good.

Ready to get merged

Don't merge, next PR will depreciate this :imp:
I found something so much better.


Animated Stage

Describe your problem here.
How do i make an Animated Stage?
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No response

Look at literally any mod's source


Continuous deployment via the Deployment Center isn't working

I can publish the React project template to Azure using Publish in Visual Studio. However, when I set up continuous deployment from GitHub if fails (presumably when it runs npm start) with the error:
> react-scripts build
'react-scripts' is not recognized as an internal or external command

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 261c9875-3db6-4d30-f9d6-922a9334ecb2
Version Independent ID: b8f8f7c4-9c90-869d-9fd7-a887bc28f262
Content: Use the React project template with ASP.NET Core
Content Source: aspnetcore/client-side/spa/react.md
Product: aspnet-core
GitHub Login: @SteveSandersonMS
Microsoft Alias: scaddie

@JamesBateson You probably need to customize the deployment. See https://github.com/projectkudu/kudu/wiki/Customizing-deployments for details on how to do this. Since customizing deployments to Azure is not an ASP.NET Core specific issue I don't think there is anything for us to add here.


414 Request URl too large post请求

New Issue Checklist

[ ] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
e.g. flutter / ios / android

Platform Version
e.g.  1.5.0 / 12.0 / 9.0

Dio Version
e.g.  2.1.0 / 1.0.17

Android Studio / Xcode Version
e.g. Android Studio 3.3.2 / Xcode 10.2.1

Repro rate
e.g. all the time (100%) / sometimes x% / only once

Repro with our demo prj
e.g. does it happen with our demo project?

Demo project link
e.g. link to a demo project that highlights the issue

Issue Description and Steps
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.

已解决，FormData formData = FormData.fromMap(map)
dio.post(url,data:formData)


Compact transient command has negative impact when processing falls behind

Noticied this on EC2 while running webindex.   I was doing a long run on 20 nodes at 1500 pages/sec.  After 12 hours processing of incoming pages started to fall behind.  This caused data to build up in CFM and export queues that was not processed.   I had the compact transient command running every 10 mins.  However because the CFM and export queues were not being processed, these compactions were taking a long a time and not getting rid of any data.  More importantly the compaction were stealing resources from the system when things were already in a bad state.
Maybe the command could attempt to scan transient ranges to see how much data would be dropped.  Could possibly use new sampling feature in Accumulo 1.8.0.

Instead of scanning... command could use compaction times.... if a compaction takes along time then assume data is backed up and wait longer before compacting again.
Also the command should log compaction times.   Below are some logs from compact transient when things were going well.   Based on fact that command was sleeping 10 min, can infer compactions were taking about 1 min.
Compacting transient ranges ... 05:43:25.691 [main] INFO  i.f.c.m.s.GraphiteReporterStarter - Reporting metrics to graphite server leader1:2003
05:43:25.691 [main] INFO  io.fluo.core.metrics.ReporterUtil - Started 1 metrics reporters
done.
Compacting transient ranges ... 05:54:43.146 [main] INFO  i.f.c.m.s.GraphiteReporterStarter - Reporting metrics to graphite server leader1:2003
05:54:43.146 [main] INFO  io.fluo.core.metrics.ReporterUtil - Started 1 metrics reporters
done.
Compacting transient ranges ... 06:05:53.720 [main] INFO  i.f.c.m.s.GraphiteReporterStarter - Reporting metrics to graphite server leader1:2003
06:05:53.720 [main] INFO  io.fluo.core.metrics.ReporterUtil - Started 1 metrics reporters
done.

Below are logs when thing were not going so well.
Compacting transient ranges ... 12:04:42.061 [main] INFO  i.f.c.m.s.GraphiteReporterStarter - Reporting metrics to graphite server leader1:2003
12:04:42.062 [main] INFO  io.fluo.core.metrics.ReporterUtil - Started 1 metrics reporters
12:06:48.679 [Thrift Connection Pool Checker] WARN  o.a.a.c.c.impl.ThriftTransportPool - Thread "main" stuck on IO to leader1:9999 (0) for at least 120033 ms
12:08:52.913 [main] INFO  o.a.a.c.c.impl.ThriftTransportPool - Thread "main" no longer stuck on IO to leader1:9999 (0) sawError = false
12:13:23.292 [Thrift Connection Pool Checker] WARN  o.a.a.c.c.impl.ThriftTransportPool - Thread "main" stuck on IO to leader1:9999 (0) for at least 120034 ms
12:14:53.811 [main] INFO  o.a.a.c.c.impl.ThriftTransportPool - Thread "main" no longer stuck on IO to leader1:9999 (0) sawError = false
done.
Compacting transient ranges ... 12:24:53.921 [main] INFO  i.f.c.m.s.GraphiteReporterStarter - Reporting metrics to graphite server leader1:2003
12:24:53.921 [main] INFO  io.fluo.core.metrics.ReporterUtil - Started 1 metrics reporters
12:27:14.532 [Thrift Connection Pool Checker] WARN  o.a.a.c.c.impl.ThriftTransportPool - Thread "main" stuck on IO to leader1:9999 (0) for at least 120037 ms
12:30:39.039 [main] INFO  o.a.a.c.c.impl.ThriftTransportPool - Thread "main" no longer stuck on IO to leader1:9999 (0) sawError = false
12:32:47.636 [Thrift Connection Pool Checker] WARN  o.a.a.c.c.impl.ThriftTransportPool - Thread "main" stuck on IO to leader1:9999 (0) for at least 120031 ms
12:35:48.134 [main] INFO  o.a.a.c.c.impl.ThriftTransportPool - Thread "main" no longer stuck on IO to leader1:9999 (0) sawError = false
done.
Compacting transient ranges ... 12:46:10.167 [main] INFO  i.f.c.m.s.GraphiteReporterStarter - Reporting metrics to graphite server leader1:2003
12:46:10.167 [main] INFO  io.fluo.core.metrics.ReporterUtil - Started 1 metrics reporters
12:48:22.905 [Thrift Connection Pool Checker] WARN  o.a.a.c.c.impl.ThriftTransportPool - Thread "main" stuck on IO to leader1:9999 (0) for at least 120041 ms
12:50:03.365 [main] INFO  o.a.a.c.c.impl.ThriftTransportPool - Thread "main" no longer stuck on IO to leader1:9999 (0) sawError = false
12:52:48.984 [Thrift Connection Pool Checker] WARN  o.a.a.c.c.impl.ThriftTransportPool - Thread "main" stuck on IO to leader1:9999 (0) for at least 120036 ms
12:56:11.648 [main] INFO  o.a.a.c.c.impl.ThriftTransportPool - Thread "main" no longer stuck on IO to leader1:9999 (0) sawError = false
done.

The CFM for computing inbound link counts had ~100 million backuped links to process.


x axis custom values being ignored and using the value index instead.

Hello.
I have a situation where I specify two custom x axis values array, and when building the second array, it starts to use the x value index instead of the value.
I've debugged the problem and found it to be located on the data.convert.js file (c3/src/data.convert.js#L179), as it doesn't check if the X value already exists before getting its id.
Thanks in advance.

1


Streaming method and extract to memory or files option

replace https://github.com/jsonkennell/xlsxir/pull/59
Following the discussion in https://github.com/jsonkennell/xlsxir/pull/59, this PR adds the same streaming method, plus options to extract the xlsx content either in memory or on the file system for the other functions.

Main functions have a new options keyword list param
When extracting to FS, and to handle the extraction in parallel (issue https://github.com/jsonkennell/xlsxir/issues/49), each file is extracted to a different sub directory.
I refactored a bit the code to manage all of this, there are quitte some changes... but I feel it's more "DRY" now.
Added some new tests for error paths to make sure I didn't break this
The main difference (drawback) with master is probably that all XML worksheet files are always extracted before the parsing, even when using Xlsxir.extract for 1 worksheet... it could be an issue, but I think it could be improved...

@Tricote I accidentally merged your last PR instead of this one. I've reverted that one, but there seem to be conflicts with this one now. Could you please take a look when you get a chance? Let me know if I need to go back further.

Yes the revert was causing some issues, I've rebased this PR on master (actualy I had to cherrypick manually my commits...). Looks good now !


ZEPPELIN-2833 JDBC Interpreter doesn't follow JDBC specification when…

… getting the results.
What is this PR for?
A few sentences describing the overall goals of the pull request's commits.
First time? Check out the contributing guide - https://zeppelin.apache.org/contribution/contributions.html
What type of PR is it?
[Bug Fix]
Todos
None
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-2833
How should this be tested?
Use Phoenix 4.7+ select * query for tables that have less than 1000 records. Without patch an exception about closed Result set will be thrown.
Screenshots (if appropriate)
Questions:

Does the licenses files need update?
No
Is there breaking changes for older versions?
No
Does this needs documentation?
No

@ss77892  Thanks for your contribution, your changes look good, but can you update the description of this PR a bit, specifically this section "What is this PR for?"


Date value out of range

I've tried parsing the three CertUtil folders with both the exe and python versions and each time I get the below error regarding the date values. Appreciate your expertise!

Hello there!
From the image you shared, I see that you specified the directory CryptnetUrlCache in the -d argument, but you need to specify the MetaData directory. So, just add \MetaData to the end of the directory

Oops!! My mistake! Thanks for correcting my path :)


Changed PopulateObjectAsync to PopulateObject

Newtonsoft JSON.net 10.0+ has removed PopulateObjectAsync() (and other Async methods) because it wasn't "truly async". This commit runs the synchronous method even when called asynchronously, so it can be used with libraries requiring JSON.net 10.0+ (like Discord.Net).

I was just about to submit the same PR, thanks!

I believe this was done already in the 2.0 branch, but I suppose we can update this here as well.


add new properties per Feb release

The following PR adds:
width for TextInput
button.icon.size for Button
button.size.small.iconOnly.pad for Button
button.[kind].direction for Button
ayer.overlay.backdopFilter for Layer

also added
Enhanced DataSearch to add drop and responsive. (#6633)


[d3d8] Still Life light flickering (regression)

There's some light flickering noticeable on the in-game character models that wasn't there before.
It's present with dxvk 2.4 as well, and since this is a d3d8 game it won't be possible to bisect it beyond that. All I can say is that everything looks fine with d8vk 1.0 (which was based off of dxvk 2.3.1 IIRC).
I've captured a trace which reproduces the issue anyway, so hopefully that is enough to pinpoint it.
Software information
Still Life
System information

GPU: Intel Xe-LP
Driver: Intel open-source Mesa driver 24.0.9
Wine version: 9.17 Staging
DXVK version: Latest, but have tested as far back as 2.4.

Apitrace file(s)
StillLife.trace.tar.xz
Log files
StillLife.log

P.S.: I've tried reverting 9e422a2 and da81466 for good measure, but neither have caused the issue.

Was it fine with D8VK before the merge?

Bisected by Blisto to https://github.com/doitsujin/dxvk/commit/df9bdfc6ea248200558f1f64961f558097e04b1a


Add 'achieved' time column to TimeEntry.

When a new time is inserted into the database it should mark the time of achievement using the NOW() function.
This can then be used to see how long a time has remained unbeaten, for example the fastest time on a Course could be from 1 week ago, which incentivises users to try and take the crown.
A placeholder should be created to get this value, in addition to one that calculates the time difference in a presentable format, 1 week, 2 days etc.

This has been implemented in the pending 7.0.0 release.


Add params for others service fields

Ecs-logging-java permit to define the service.name but no others service fields.
Can you add params for service.type and service.version ?

You can add arbitrary additional fields. Example for log4j2:
  <KeyValuePair key="service.version " value="1.2.3"/>

It is also possible with jul and log4j ?

Currently, that's not possible. Would you be interested in contributing support for it?

I would, but i am not a Java developer.
Have you any plan to implement this in the near future ?

I see what I can do but I can't make promises.
As a workaround, could you just set all the information into service.name?

Thank's for adding additional fields to log4j and JUL.
I tested it and it work well for log4j but doesn't work for JUL.
I tried to add co.elastic.logging.jul.EcsFormatter.additionalFields=key1=value1,key2=value2 in my Tomcat logging.properties like specified in documentation but nothing happened.

Thank's for adding additional fields to log4j and JUL.
I tested it and it work well for log4j but doesn't work for JUL.
I tried to add co.elastic.logging.jul.EcsFormatter.additionalFields=key1=value1,key2=value2 in my Tomcat logging.properties like specified in documentation but nothing happened

Thanks for reporting. Not sure why you deleted that comment.
This should be fixed by #118


Implementation of DoubleColoredMNIST

Hi!
Thank you so much for posting your code online! I was really fascinated by your work and I presented it recently at the computer vision seminar at Stony Brook University.
I was tinkering with the implementation of DoubleColoredMNIST because I want to use it in a related project and I noticed something strange: In the class implementation, colors are assigned to global tensors and every time an image is requested, the global color tensors get jittered instead of jittering a local copy. Is this the intended implementation or is this something unintended?
Reproduction code:
ds = DoubleColoredMNIST(train=True)

print(ds.background_colors[5].view(1, 3), ds.object_colors[5].view(1, 3))
# -> tensor([[0.8706, 0.7216, 0.5294]]) tensor([[0.3922, 0.5843, 0.9294]])

first_image = ds[0]
image, label = first_image['ims'], first_image['labels']

print(ds.background_colors[5].view(1, 3), ds.object_colors[5].view(1, 3))
# -> tensor([[0.8725, 0.7374, 0.5306]]) tensor([[0.3945, 0.5922, 0.9359]])

If you can notice, the tensors between the two calls get changed.
This issue comes from line 87 and line 91 in mnists/dataloader.py where I assume the intended action is to copy the color tensor. What happens instead is the local variables back_color and obj_color refer to the global color tensors and they get jittered instead.
# line 87:
back_color = self.background_colors[i]
...

# line 91:
obj_color = self.object_colors[i]

If you add .clone() to the end of assignment, you will avoid this problem.
# line 87:
back_color = self.background_colors[i].clone()

Let me know if this is actually a bug or feature of the implementation 😅

hey, thanks for your question and good catch! Somehow this clone got lost, it used to be there ... It should not change the end results, but jittering it locally is the intended behavior. The code is updated, thanks for spotting this bug :)


PKCS12_create question

We have a code which uses cryptlib to create a temporary self-signed cert and saves the created self-signed cert in pkcs12 file format. In order to get PKCS12 structure the function calls "PKCS12_create". Call to "PKCS12_create" fails for created temporary self-signed cert.
CRYPT_CERTIFICATE cryptTemp = 0;
time_t expiry = time(NULL);
CRYPT_KEYSET keyset = 0;
int bufferLen;

cryptKeysetOpen(&keyset, CRYPT_UNUSED, CRYPT_KEYSET_FILE, tmpKeyFile, CRYPT_KEYOPT_READONLY);
cryptGetPrivateKey(keyset, &cryptPrivKey, CRYPT_KEYID_NAME, "[none]", keysetPassword);

cryptCreateCert(&cryptTemp, CRYPT_UNUSED, CRYPT_CERTTYPE_CERTIFICATE);
cryptSetAttribute(cryptTemp, CRYPT_CERTINFO_CERTREQUEST, cryptCsr);
cryptSetAttributeString(cryptTemp, CRYPT_CERTINFO_COUNTRYNAME, "US", (int)strlen("US"));
cryptSetAttributeString(cryptTemp, CRYPT_CERTINFO_STATEORPROVINCENAME, "CA", (int)strlen("CA"));
cryptSetAttributeString(cryptTemp, CRYPT_CERTINFO_ORGANIZATIONNAME, Test_Org, (int)strlen("Test_Org"));
cryptSetAttributeString(cryptTemp, CRYPT_CERTINFO_VALIDFROM, &expiry, sizeof(expiry));
expiry += 86400;	//24 hours
cryptSetAttributeString(cryptTemp, CRYPT_CERTINFO_VALIDTO, &expiry, sizeof(expiry)); //expires in 24 hours
cryptSetAttribute(cryptTemp, CRYPT_CERTINFO_SELFSIGNED, 1 );

cryptSignCert(cryptTemp, cryptPrivKey);

cryptExportCert(NULL, 0, &bufferLen, CRYPT_CERTFORMAT_TEXT_CERTIFICATE, cryptTemp);
buffer = malloc(bufferLen);
cryptExportCert(buffer, bufferLen, &bufferLen, CRYPT_CERTFORMAT_TEXT_CERTIFICATE, cryptTemp);

...
...
...

int nid_key = NID_pbe_WithSHA1And3_Key_TripleDES_CBC;
int nid_cert = NID_pbe_WithSHA1And40BitRC2_CBC;

p12 = PKCS12_create((char*) password, NULL, pkey, cert, ca, nid_key, nid_cert, PKCS12_DEFAULT_ITER, -1, 0);
// Call to PKCS12_create fails returning NULL

Above code was working with OpenSSL 1.1.1. Have something changed for "PKCS12_create" which I'm missing here?

You most probably do not have the legacy provider loaded. The PKCS12 creation unfortunately requires it for the RC2 cipher and the password based KDF for the PKCS12 MAC. To avoid the legacy provider you'd have to avoid using NID_pbe_WithSHA1And40BitRC2_CBC and you'd have to avoid calling PKCS12_set_mac() on the created PKCS12.

Thanks @t8m.
I would go with option of loading the legacy providers (as the code I'm working is old and uses legacy ciphers and APIs heavily).
Is this the code to load legacy providers?
OSSL_PROVIDER *legacy;
OSSL_PROVIDER *deflt;

/* Load Multiple providers into the default (NULL) library context */
legacy = OSSL_PROVIDER_load(NULL, "legacy");
if (legacy == NULL) {
    printf("Failed to load Legacy provider\n");
        exit(EXIT_FAILURE);
}
deflt = OSSL_PROVIDER_load(NULL, "default");
if (deflt == NULL) {
    printf("Failed to load Default provider\n");
    OSSL_PROVIDER_unload(legacy);
    exit(EXIT_FAILURE);
}

If yes, when we should call these APIs? (before any OpenSSL3.0.0 is called? Or it can be called any time?)

Yes, this is one way how to load the legacy and default provider. You can load a provider at any time but to achieve consistency you would usually load it during the initialization of an application.

Note that you can also load these providers via the config file without needing any code changes.


a function box that allow me to inspect my data splits so I can adjust splits length and type for best result  [FEATURE]

Describe the feature you'd like
function box that allow me to inspect my data splits so I can adjust splits length and type for best result.
Additional context
its hard to see what splits I have what text inside each split

with the new document store PR, this should give you better visiblity of the splits


FR: Delete existing obsolete printers with the same proxy name from the cloud

Sometimes a machine with GCP proxy gets damaged or wiped, but the printers shared from that machine never get removed from the cloud, unless someone does that manually via web interface or via GAM.
It would be useful to have this functionality in gcp-connector-util: a command to delete all printer with this proxy name. Or even in the connector itself: delete all printers that have my proxy name, but don't exist or are duplicates.
This is helpful in large environments when you need to switch from proxy to proxy, or replacing multiple failing machines.

Confirmed that if you run init to create a config, start the connector to create printers, stop it, delete the config and then recreate a config with the same proxy name, the new robot account still does not have access to printers created by the original config.
@jacobmarble what are your thoughts on extending list and delete API calls to allow selection of robot token vs. user token for the call? Using the user token is the only way I can think we'd be able to list / delete the printers if the original robot credentials are lost.

I'm not sure what I think yet. I see the need for it, but I don't like the idea that GAM and the connector start to overlap. This is the first time we've seen this need, so I think GAM is a sufficiently good stopgap until we hear from other users.
I'm up for moving (not copying) the functionality from GAM to the connector, but let's chat before carrying this further.

I agree with the need for this.


cabal new-build support

About what it says on the tin. Update the version of cabal-install built and try to get new-build working.

I'll ping back here when I finish https://github.com/haskell/cabal/issues/1493


License checkbox didn't work

Describe the bug
Checkbox (not label text) click event didn't chance state on the license page
To Reproduce
Steps to reproduce the behavior:

Go to license page
Click accept license checkbox
The checkbox will not change

Expected behavior
Change state on click checkbox same as label text
Screenshots

System Information:

OS: Windows 10 20H2 19042.1266

Solution
src/renderer/common/Checkbox.svelte

Yes, but the problem is steel exists

Yes and as you can see the issue #177 is still open...
There is no need to open a new issue about it.
It was already fixed in the dev branch and will be fixed in the next update.

This has been fixed in the new release


Simplify .travis.yml

Simplify .travis.yml

@rrrene Is there a need to use that specific version of Elixir for inch?

Don't think so ... https://github.com/rrrene/inch_ex/blob/master/mix.exs#L8

@danmcclain No, @lowks is right. InchEx should not be restricted to any specific version above 1.0.
That said, if you encounter problems with say Elixir 1.1.X it might very well be InchEx's fault since it is, much like Elixir, still maturing :+1:

@lowks can you squash your commits? Thanks!
@rrene thanks for confirming

Kindly re-run the test. This failure to install elixir via kiex is a known issue. I fixed it by taking off the line sudo: false. Somehow their container infra is still not that stable yet and will periodically fail.

@lowks Would you mind squashing your commits? Would like to apply this as one commit. Thank you


update message.js

so i add something in this file like check methods so the bot has less crashs

my guy how can you check this pull request but not see my one

@Tanya575 after the fork of the pull request is deleted you can't edit it anymore, but no problem I'll just move the other one.
@JacProsser I saw it but I'm personally not a big fan of giving people full access to one of my repositories. (This is just for safety reasons.) Although I'm completely cool with giving contributors credits.


hephaestus 1.19.4

a new pr, with a lot less issues!

[x] support EmiIngredients consisting of multiple FluidEmiStacks for DynamicFluidSlotWidget, and convert remaining fluid slots to use this
[x] fix Fluids overflowing in DynamicFluidSlotWidget
[x] fix dev env, it's completely broken
[ ] CraftingStationRecipeHandler: craft to inventory and craft to cursor take from the top left slot of the crafting grid instead of the result slot
[ ] TinkerStationRecipeHandler: recipe filling works for tinker's anvil, but not tinker station
[ ] fix entity stacks being too big in tooltips and in sidebars
[x] add foundry
[x] add tooltip to modifier text; preferably by rendering the text as the modifier output slot
[ ] display input amount according to material cost in part builder
[x] add missing time tooltips to arrows
[ ] support transparency in DynamicFluidSlotWidget
[x] add mod name to entity, pattern and modifier stack tooltips
[ ] fix only wooden tool parts being shown for molding
[ ] fix recipe filling in smeltery, foundry and melter only filling the first slot
[ ] add stripping oxidization from copper platforms
[x] add category translations
[x] add tag translations

I pushed my half-baked port of this PR to 1.20.1 here: https://github.com/unilock/extra-mod-integrations/tree/1.20.1
It seems to be working fine? At least, as much as it was on 1.19.4. Take from it what you will.

this pr should have been closed a long time ago. if i start work on hephaestus integration again i'll make a new one


check_schema does not resolve $refs (and so does not actually check the schema)

I am trying to develop a system where special users can create their own fragments of a json schema, and then the system will build the schema in order to validate config objects. The problem I am seeing is that the check_schema does not throw any errors when $refs are invalid, but the validate() method does throw them. IMHO, this means the check_schema does not fully check the schema.
Schema:
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://server.com/fragments/schema.json",
  "type": "object",
  "title": "Test schema for fragment assembly",
  "description": "Test document for json schema fragment assembly",
  "default": {},
  "readOnly": true,
  "additionalProperties": false,
  "definitions": {},
  "properties": {
    "additionalProperties": false,
    "$schema": {
      "type": "string",
      "title": "Schema String",
      "description": "The location of the validating schema.",
      "default": "https://server.com/fragments/schema.json"
    },
    "fragments": {
      "$id": "/properties/fragments",
      "type": "object",
      "title": "fragments",
      "description": "fragments  of schemas",
      "default": {},
      "readOnly": true,
      "additionalProperties": false,
      "examples": [
        {
            "Fragment1": {},
            "Fragment2": {}
        }
      ],
      "properties": {
        "additionalProperties": false,
        "Fragment1": {   # these entries are uploaded by users, and are invalid due to invalid $refs
          "title": "Enrichment1",
          "type": "object",
          "properties": {
            "text": {
              "title": "Text",
              "description": "A description of this param",
              "type": "string"
            },
            "fixed_options": {
              "description": "This one has a default",
              "default": "option1",
              "allOf": [
                {
                  "$ref": "#/definitions/StringOptionSet1"
                }
              ]
            },
            "other_stuff": {
              "title": "Other Stuff",
              "description": "Optional and more complex",
              "type": "array",
              "items": {
                "type": "object"
              }
            }
          },
          "required": [
            "text"
          ],
          "definitions": {
            "StringOptionSet1": {
              "title": "StringOptionSet1",
              "description": "An enumeration.",
              "enum": [
                "option1",
                "option2"
              ],
              "type": "string"
            }
          }
        }
      }
    }
  }
}

Code:
In order to get validation to work, I need a config object. However, I want to know whether the schema is valid BEFORE I have a config object, as users will be uploading their own fragment validations, so I need to know if the whole document will validate BEFORE anyone uses the schema to validate anything. (The code below is pretty much a copy of validate().)
from jsonschema import Draft202012Validator, validate, exceptions as schema_exceptions
from jsonschema.validators import validator_for
config = {
    "fragments": {
        "Fragment1": {
            "text": "Lorem Ipsum One",
            "fixed_options": "option1",
            "other_stuff": [{"other1": "string", "other2": 2, "other3": [{"key": "value"}]}]
        },
        "Fragment2": {
            "text": "Lorem Ipsum One",
            "fixed_options": "option3",
            "other_stuff": [{"other1": "string", "other2": 2, "other3": [{"key": "value"}]}]
        }
    }
}

validator_class = validator_for(schema_template)
print(f'validating with {validator_class}')
valid = validator_class.check_schema(schema_template)
print(f'Valid schema! {valid}')
validator = validator_class(schema_template)
error = schema_exceptions.best_match(validator.iter_errors(config))
if error is not None:
    raise error

Output
validating with <class 'jsonschema.validators.Draft202012Validator'>
Valid schema! None
Traceback (most recent call last):
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/validators.py", line 844, in resolve_fragment
    document = document[part]
KeyError: 'definitions'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/backup/sam/workspace/api-server/tests/jsonschema-pydantic-test.py", line 106, in <module>
    error = schema_exceptions.best_match(validator.iter_errors(config))
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/exceptions.py", line 357, in best_match
    best = max(itertools.chain([best], errors), key=key)
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/validators.py", line 224, in iter_errors
    for error in errors:
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/_validators.py", line 329, in properties
    yield from validator.descend(
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/validators.py", line 240, in descend
    for error in self.evolve(schema=schema).iter_errors(instance):
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/validators.py", line 224, in iter_errors
    for error in errors:
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/_validators.py", line 329, in properties
    yield from validator.descend(
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/validators.py", line 240, in descend
    for error in self.evolve(schema=schema).iter_errors(instance):
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/validators.py", line 224, in iter_errors
    for error in errors:
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/_validators.py", line 329, in properties
    yield from validator.descend(
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/validators.py", line 240, in descend
    for error in self.evolve(schema=schema).iter_errors(instance):
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/validators.py", line 224, in iter_errors
    for error in errors:
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/_validators.py", line 359, in allOf
    yield from validator.descend(instance, subschema, schema_path=index)
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/validators.py", line 240, in descend
    for error in self.evolve(schema=schema).iter_errors(instance):
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/validators.py", line 224, in iter_errors
    for error in errors:
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/_validators.py", line 291, in ref
    scope, resolved = validator.resolver.resolve(ref)
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/validators.py", line 783, in resolve
    subschema = self.resolve_fragment(subschema, fragment)
  File "/home/sam/.pyenv/versions/3.9.7/lib/python3.9/site-packages/jsonschema/validators.py", line 846, in resolve_fragment
    raise exceptions.RefResolutionError(
jsonschema.exceptions.RefResolutionError: Unresolvable JSON pointer: 'definitions/StringOptionSet1'

An exception occurs at validation time (as opposed to when you ran check_schema) -- you pasted it in this ticket. Catch that in a try/except.

This is exactly the same issue as if it were checked only once - what happens if there are transient network errors when validate() is called? It may not resolve then, either.

This is precisely my point.

I think I know your confusion now. In the stacktrace, it says this line generates the error:
error = schema_exceptions.best_match(validator.iter_errors(config))

However, it should be an error from 3 lines above it that reads:
valid = validator_class.check_schema(schema_template)

If you notice in the output, it says:
validating with <class 'jsonschema.validators.Draft202012Validator'>
Valid schema! None
Traceback (most recent call last):
 ...

The first two lines are the print() statements from my code. Line 2 should not be present, because it is happens AFTER calling check_schema.

Validate indeed does not guarantee it won't raise any exception other than ValidationError when called.


fix memory issue in memory-map

Via git-bisecting, I could find that https://github.com/rust-osdev/multiboot2/commit/d198dceffe544b6324ba4c204270d9a1d934abba broke something with the (legacy) memory map tag. This MR fixes the problem and adds a unit test for it.
Also see: https://github.com/rust-osdev/multiboot2/pull/133

That was a fun one, @YtvwlD :D


explain in README that we need to insmod muser.ko

We've switched to vfio-user and have dropped muser.ko.


Works browse page

Browse by works needs to be added using the Figma designs.

This will rely on changes here.


[Bug] Move issue templates and PR template config out of workflows directory

The issue templates and PR template files are now under the .github/workflows directory which will not take effect to this repo, should move them to .github directory instead.

Ah yes, I just noticed that. I had my CI logger set on local that's why it was set under .github/workflows, so technically yes!, we should shift them to one level up, into .github directory.
@frank-zsy Should I go ahead and open a PR for this?

Of course, you can pick up any issue you like and I can do these too, just feel free to fix these issues as you like.


Heading is incorrectly capitalized

"Azure VMWare Solution" heading needs to change to "Azure VMware Solution".

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f53521a1-d23a-9b87-d41e-7d0b096cbcdd
Version Independent ID: 22703361-7e6b-3436-0ff8-87d7698f5143
Content: Azure VMWare Solution
Content Source: [latest/docs-ref-autogen/service-page/Azure VMWare Solution.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/service-page/Azure VMWare Solution.yml)
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

route to CXP team

Need update service name in https://github.com/Azure/azure-cli-extensions/blob/main/src/service_name.json

Closing, change captured in this pull request: https://github.com/Azure/azure-cli-extensions/pull/4633


Can't Compile in 5.02

Due to the update of 5.02. can't compile the project in 5.02.

Thanks for submitting an issue. I have some upcoming features that I want to finish up first before updating the project to 5.02.
For the time, are you able to post any compile/runtime errors you encounter? Thank you.

Missing Module AnimToTexture  ?

This is most likely related to the plugin not being enabled in the .uproject
I do suggest viewing this PR for help on how to do that: PR


Implement scm.inputMinLines

The commit message textbox is still not friendly for people with mild hand motion impairment. I'd like to be able to set commit message bigger by default. You recently implemented scm.inputMaxLines, thus adding scm.inputMinLines which would make it bigger by default should not be a big deal. See also #171359.

@lszomoru I'd like to take this issue upon me please.

Related https://github.com/microsoft/vscode/pull/200551

Marking as duplicate of https://github.com/microsoft/vscode/issues/121452.

@MaxBR97 @lszomoru thank you for implementing this feature. I was able to try it and it's just wonderful, makes VSCode so much better to use for me.

@Hermholtz Thank you too for the opportunity! I would be grateful for having an endorsment or just a good feed back anywhere on my LinkedIn https://www.linkedin.com/in/max-brener/    Feel free to contact me for any further requests and/or feedbacks!


add new cask for Brisk app

See https://github.com/br1sk/brisk for details.

Duplicate of #32246

Indeed. Apologies for the dupe.


HHH-17949 Fix upsert handling when optimistic locking is involved

HHH-17949

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.

Fixed via b51acb752d03e3e335fd284428ed179556e9cce4


Investigate Cypress as a test framework

@probablycorey brings up https://www.cypress.io/ as a possible way to test this app better. It says Travis CI is supported, so we could still have automated tests run for each PR. I submitted a request for early access, so we can try it out if I get accepted.

Hmm I'm not really comfortable with the Cypress app. It makes you sign in via GitHub, but it puts the GitHub login inside its app so I can't verify it's authentic and that they're not doing anything extra with my input.


Add compactAttribution parameter and historical aerial imagery

New optional compactAttribution parameter for layer config (default value) true.
The attribution is expanded if layer or overlay with compactAttribution = false.
Also added 24 new layers with NRW historical aerial imagery to config.
@jimmyhenne could you please give it a try?

I didn't experience any issues on Windows using Firefox and Chrome. Good job!


drop of collinear variables in the IV's check of collinearity

When _eventiv checks for collinearity between the IV and the event-time dummies, it does so by regressing the IV on the dummies and checking if r2 is 1. This is not a good way of doing this, because Stata will drop collinear variables. We should be doing this with _rmcoll.
Derived from #109 https://github.com/JMSLab/xtevent/issues/109#issuecomment-1261608505

in https://github.com/JMSLab/xtevent/commit/96553b715868f59a0decde30d74509c20889e288 I changed the collinearity check, so it is now performed with _rmcoll.
These are some examples to check it:
*install the branch version
net install xtevent, from("https://raw.githubusercontent.com/JMSLab/xtevent/issue111_drop_of_collinear_variables") replace

*load example dataset
use "https://github.com/JMSLab/xtevent/blob/main/test/example31.dta?raw=true", clear
xtset i t

*generate a collinear variable
gen lead2=f2.d.z

*expect an error
xtevent y x, panelvar(i) t(t) policyvar(z) window(3) proxy(zeta) proxyiv(lead2)

*no error message
xtevent y x, panelvar(i) t(t) policyvar(z) window(3) proxy(zeta) proxyiv(1 2)
xtevent y x, panelvar(i) t(t) policyvar(z) window(3) proxy(zeta) proxyiv(2)
xtevent y x, panelvar(i) t(t) policyvar(z) window(3) proxy(zeta)


fix eslint + remove old projects

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.05%. Comparing base (3c16a61) to head (1bdb00e).
Report is 3 commits behind head on main.

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

:exclamation:  There is a different number of reports uploaded between BASE (3c16a61) and HEAD (1bdb00e). Click for more details.
HEAD has 1 upload less than BASE

Flag
BASE (3c16a61)
HEAD (1bdb00e)

backend
1
0

Additional details and impacted files
@@             Coverage Diff             @@
##              main      #63      +/-   ##
===========================================
- Coverage   100.00%   92.05%   -7.95%
===========================================
  Files           20       41      +21
  Lines          328      705     +377
  Branches        33       98      +65
===========================================
+ Hits           328      649     +321
- Misses           0       52      +52
- Partials         0        4       +4

Flag
Coverage Δ

backend
?

frontend
92.05% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Discern internal modules for the disovery feature

Problem
The automatic module discovery feature is great, but it does not address the issue of discerning the private vs public modules.
I've found a workaround for this, but it's highly uncommon, hence frustrating, and it complicates navigation.
Suggestions
Marker in the module header
Treat a special marker comment in the headers of Haskell modules as a sign to treat it as an internal module. E.g.:
{- cabal-gild: internal -}
{-# LANGUAGE SomeHaskellExtension #-}
module ModuleName where

Specially treated namespace
If a module namespace contains some trigger word, consider it internal. E.g., if the trigger word is Internal then the following modules will be put under the other-modules section:

Data.Text.Internal
Data.Text.Internal.Builder

I guess this one should be easier to implement.

I think this is similar to #59.

I'm going to close this as a duplicate of #59. They're not exactly the same, but I think a solution to that issue should solve your issue here as well.


Add constant values for API_PYT_EXT and API_SOLVER

API_PYT_EXT and API_SOLVER are missing entries in constants.py and are causing errors, this PR adds those constants.
CC: @AdrianAbeyta  @jithunnair-amd

This change seems to have been missed then hipify code from pyTorch and hipify-torch were synced. I will a AI on me to check if any other missed.


Get ignore patterns out of CouchDB

This is a more focused portion of #132.
Ignore patterns are just JSON files and can be read from disk every time an ignore set is requested.  This ensures that the data in the local copy of the ArchiveBot repo will be used, which means ignore set deployment becomes just git pull.
However, for Historical Reasons, ignore sets are read from a CouchDB database and therefore need to be updated.  There was an agent that watched ignore sets and did this updating automatically, but it or some of its dependencies no longer function.
This could be fixed, but I think the Better Fix is to just cut out the middleman.

May I suggest renaming this issue to "Remove ignore patterns from CouchDB" (or maybe "ignore sets", to be really precise)? The current title can be misinterpreted as "retrieve ignore patterns from CouchDB"...


fullPage.js npm error

Step 1: Install latest version of FoundationPress following instructions on ReadMe file and update NPM to v3.9.5 and Node.js to v6.2.1 (latest versions).
Step 2: Add jquery.fullPage.min.js downloaded from https://github.com/alvarotrigo/fullPage.js to the custom folder
Step 3: Execute "npm run build".
I expected "npm run build" to work. Instead, it threw a ton of NPM errors and stopped watching/building.
Please List the Following:

OS & version: OSX Yosemite 10.10.5
Node version (node -v) [Node v4+ is required] : v6.2.1
Foundation version (bower list) : FoundationPress v2.6.2

@jameslanman we can't help you without knowing what errors were thrown by NPM.

Sincerest apologies @colin-marshall . I am surprised I blanked on including that. I just tried to recreate the error and this time I didn't get the major errors I got before. I will close this issue for now and next time be sure to include an error report. I am noticing this issue with third party Js plugins like scrollify.js by Luke Haas - the same thing happened where errors were thrown and npm stopped watching the project. Will post a separate report if it happens again.

While I have been able to get this to work with the non-minified script, when I execute and run build it works but then stops watching the project.
Two questions:

Should I attempt to fix these errors or should I ignore them?

Is this a known issue with minified scripts? It has happened with other minified js plugins now as well.

[14:29:11] gulp-notify: [Gulp notification] jquery.fullPage.js (28 errors)
(466:98) Expected an assignment or function call and instead saw an expression.
(467:101) Expected an assignment or function call and instead saw an expression.
(881:138) Expected an assignment or function call and instead saw an expression.
(882:86) Expected an assignment or function call and instead saw an expression.
(947:142) Expected an assignment or function call and instead saw an expression.
(948:126) Expected an assignment or function call and instead saw an expression.
(960:38) 'slideIndex' used out of scope.
(960:50) 'slideAnchorLink' used out of scope.
(1212:77) Expected an assignment or function call and instead saw an expression.
(1404:22) 'slideIndex' used out of scope.
(1404:34) 'slideAnchorLink' used out of scope.
(1538:138) Expected an assignment or function call and instead saw an expression.
(1546:57) Possible strict violation.
(1546:61) Expected an assignment or function call and instead saw an expression.
(1553:17) 'destiny' is already defined.
(1569:17) 'destiny' is already defined.
(1594:17) 'destiny' is already defined.
(1698:15) Possible strict violation.
(1727:29) Possible strict violation.
(1729:19) Possible strict violation.
(1749:27) Possible strict violation.
(1756:28) Possible strict violation.
(1757:55) Possible strict violation.
(1782:21) Expected a 'break' statement before 'case'.
(1897:156) Expected an assignment or function call and instead saw an expression.
(2734:123) Expected an assignment or function call and instead saw an expression.
(2735:127) Expected an assignment or function call and instead saw an expression.
(2744:74) Expected an assignment or function call and instead saw an expression.
[14:29:12] Finished 'lint' after 1.33 s
[BS] 1 file changed (foundation.js)
[14:29:20] Finished 'javascript' after 9.51 s

annnnnnd I just updated to a newer version of FullPage.js and I get tons of npm errors on build and run watch. Any thoughts? I would love to get this working.
`[14:41:04] gulp-notify: [Gulp notification] jquery.fullPage.js (8 errors)
(5:1) Expected an identifier and instead saw '<'.
(5:2) Expected an operator and instead saw '!'.
(5:2) Expected an assignment or function call and instead saw an expression.
(5:3) Missing semicolon.
(5:3) Expected an assignment or function call and instead saw an expression.
(5:10) Missing semicolon.
(6:1) Expected an identifier and instead saw '<'.
(6:1) Unrecoverable syntax error. (0% scanned).
[14:41:04] Finished 'sass' after 3.87 s
[14:41:04] Finished 'lint' after 2.91 s
events.js:160
throw er; // Unhandled 'error' event
^
SyntaxError: /Applications/MAMP/htdocs/MWarchitects/wordpress/wp-content/themes/FoundationPress/assets/javascript/custom/jquery.fullPage.js: Unexpected token (5:0)
3 |
4 |

5 |
| ^
6 |
7 |
8 |
at Parser.pp.raise (/Applications/MAMP/htdocs/MWarchitects/wordpress/wp-content/themes/FoundationPress/node_modules/babel-core/node_modules/babylon/lib/parser/location.js:22:13)
at Parser.pp.unexpected (/Applications/MAMP/htdocs/MWarchitects/wordpress/wp-content/themes/FoundationPress/node_modules/babel-core/node_modules/babylon/lib/parser/util.js:89:8)
at Parser.pp.parseExprAtom (/Applications/MAMP/htdocs/MWarchitects/wordpress/wp-content/themes/FoundationPress/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:517:12)
at Parser.pp.parseExprSubscripts (/Applications/MAMP/htdocs/MWarchitects/wordpress/wp-content/themes/FoundationPress/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:272:19)
at Parser.pp.parseMaybeUnary (/Applications/MAMP/htdocs/MWarchitects/wordpress/wp-content/themes/FoundationPress/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:252:19)
at Parser.pp.parseExprOps (/Applications/MAMP/htdocs/MWarchitects/wordpress/wp-content/themes/FoundationPress/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:183:19)
at Parser.pp.parseMaybeConditional (/Applications/MAMP/htdocs/MWarchitects/wordpress/wp-content/themes/FoundationPress/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:165:19)
at Parser.pp.parseMaybeAssign (/Applications/MAMP/htdocs/MWarchitects/wordpress/wp-content/themes/FoundationPress/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:128:19)
at Parser.pp.parseExpression (/Applications/MAMP/htdocs/MWarchitects/wordpress/wp-content/themes/FoundationPress/node_modules/babel-core/node_modules/babylon/lib/parser/expression.js:92:19)
at Parser.pp.parseStatement (/Applications/MAMP/htdocs/MWarchitects/wordpress/wp-content/themes/FoundationPress/node_modules/babel-core/node_modules/babylon/lib/parser/statement.js:163:19)

npm ERR! Darwin 14.5.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! node v6.2.1
npm ERR! npm  v3.9.5
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>build: gulp build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script 'gulp build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the foundationpress package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs foundationpress
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls foundationpress
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /Applications/MAMP/htdocs/MWarchitects/wordpress/wp-content/themes/FoundationPress/npm-debug.log
`

Not sure what's going on here. Looks like it's babel related. Maybe for now you could try moving the script up one directory to assets/javascript and enqueue it in library/enqueue-scripts.php as a temporary workaround.
Something odd about the error is that it says:
SyntaxError: /Applications/MAMP/htdocs/MWarchitects/wordpress/wp-content/themes/FoundationPress/assets/javascript/custom/jquery.fullPage.js: Unexpected token (5:0)
3 |
4 |

5 | <!DOCTYPE html>

Line 5 does not say <!DOCTYPE html> and the word doctype is nowhere to be found in jquery.fullPage.js. Weird.

@colin-marshall Thanks for responding my friend, I massively appreciate you taking the time. I'm pretty new to developing with NPM so this is a bit over my head but I'm doing my damnedest to learn. Glad to hear this wasn't just my ignorance and that there is something odd here. Since the old version is working for now despite stopping NPM from watching every time I build I might hold off on the workaround until I learn more... cheers.

@jameslanman I am not sure why I didn't think of this the first time, but this is the much better way of including 3rd party JS scripts. Most of them you should be able to install via bower. From your theme's directory, run the following command:
bower install fullpage.js --save-dev
Then, in gulpfile.js add Full Page JS below Motion UI in the paths array like this:
    // Motion UI
    'assets/components/motion-ui/motion-ui.js',

    // Full Page JS
    'assets/components/fullpage.js/dist/jquery.fullpage.js',

The only other thing you need to do is include the CSS. I tested by running gulp and gulp --production and got no errors. Let me know if that works better for you.

@colin-marshall Finally had time to test this but with NPM instead of bower - turns out it was the same process but ended up in a different folder (node_modules) and it works like a dream! thank you for teaching me how to do this. I can't tell you how much I appreciate it!


BUG: applymap on empty DataFrame returns Series - intentional?

I'm unsure about a corner case I encountered:
>>> pd.DataFrame([]).applymap(round)
Series([], dtype: float64)

I would have expected to get the empty DataFrame back.

I just checked this with 0.18.0 and I still get a Series back. Is this supposed to be fixed in the near future?

this issue is still open, pull-requests are welcome


Where is CDP (Customer Insights)?

We don't have a plan setup for this, could we get a template setup and I will add a bunch of stuff to the plan?

We don't have a plan setup for this, could we get a template setup and I will add a bunch of stuff to the plan?

I had actually just created one about 45 minutes ago :-)
I copied from Customer Service so it mostly needs to be changed

I had actually just created one about 45 minutes ago :-)
I copied from Customer Service so it mostly needs to be changed

Customer Insights Learning Plan created

Customer Insights Learning Plan created


Fix couch server race condition

Overview
There are two separate bugs here being fixed. The first was in couch_server:terminate/2. If there was an active open_async process when couch_server died it would throw a function clause when it tried to shutdown the database that wasn't yet open. We just filter out any #entry{} record to avoid the issue. This a simple bug but it prevented couch_server from properly generating a SASL report that ended up covering up the second more complex race condition.
The second bug has to deal with a race between deletions and opens as well as the state of couch_server's mailbox. There's a very specific set of operations that have to happen in a particular order to trigger this bug:

An in-flight open or creation request that will ultimately succeed. The '$gen_call' message must be in couch_server's message queue before Step 2 finishes.
A deletion request
A second open or creation request that is enqueued before couch_server processes the '$gen_call' message from Step 1.
The couch_db_updater pid's 'EXIT' signal is delayed until after the open_result from Step 3 is delivered to couch_server

The underlying issue here is that the deletion request clears the couch_dbs ets table state without removing the possible corresponding state in couch_server's message queue. As things progress couch_server ends up mistaking the open_result message from Step 1 as corresponding to the open_async process spawned in Step 3. Currently this results in the client from Step 3 getting an invalid response from couch_server, and then more importantly, couch_server dies while attempting to process the real open_result message because of the state in the couch_dbs ets table being incorrect (it would throw a function_clause error in a list comprehension because #entry.waiters was undefined).
The fix was just to ensure that the opener pid in the #entry{} record matches the pid of the caller. Anything that doesn't match is ignored since the deletion already cleaned up the server state. Although we do kill the couch_db_updater pid for extra security, Though technically its duplicating work that the deletion request already handled (via killing the open_async pid which is linked to it).
Testing recommendations
The second of three commits adds a failing test case that is fixed by the third commit.
make eunit
Checklist

[x] Code is written and works correctly;
[x] Changes are covered by tests;
[x] No documentation to change

The issue is reproducible with with this script (in a remsh):
f(FuzzIt), FuzzIt = fun(DbName, Tries, WaitMax) ->
        Ref = erlang:monitor(process, whereis(couch_server)),
        [begin
             [begin
                CallRefs = [Open1Ref, DeleteRef, Open2Ref] = [make_ref(), make_ref(), make_ref()],
                whereis(couch_server) ! {'$gen_call', {self(), Open1Ref}, {create, DbName, []}},
                timer:sleep(W),
                whereis(couch_server) ! {'$gen_call', {self(), DeleteRef}, {delete, DbName, []}},
                whereis(couch_server) ! {'$gen_call', {self(), Open2Ref}, {open, DbName, []}},
                [receive {R, _} -> ok end || R <- CallRefs]
             end || W <- lists:seq(0, WaitMax)]
         end || _ <- lists:seq(1, Tries)],
        receive  {'DOWN', Ref, _, _, Reason} ->  {bam, Reason}
        after 5000 -> nope
        end
end.

When run like this for example:
FuzzIt(<<"blah">>, 100, 15).

It might help to have a few dbs open and some activity, like say a bunch of replication jobs running as well.
The node would crash and possibly restart leaving something like this in the log:
[error] 2018-09-06T17:01:48.085468Z<EMAIL_ADDRESS><0.243.0> -------- couch_server terminating with {function_clause,[{couch_server,'-handle_call/3-lc$^1/1-1-',[undefined],[{file,"src/couch_server.erl"},{line,434}]},{couch_server,handle_call,3,[{file,"src/couch_server.erl"},

@nickva And to be clear, you didn't manage to reproduce it with that script after this fix right?

Ah, @iilyak confirmed. Taking that as all good.


change text when items aren't found

Hello.
Could anyone explain me how to change default "no item to display" for custom text

Hello @rvachev . I hope you are doing great. The only way to change that is add another property to the library so you can change the String. If you want you can leave a PR and fork the library.

Hello @AugustoAleGon. I'm ready to add that property and also add another property for "no item to display" component styles.


Installation dependency conflict

I tired to install the plugin via the plugin store but unfortunately ran into an error while doing so.
Composer was unable to install the updates due to a dependency conflict.

Composer output: Package "craftcms/vue-asset" listed for update is not installed. Ignoring.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- endroid/qr-code 3.5.3 requires php >=7.1 -> your PHP version (7.2.10) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- endroid/qr-code 3.5.2 requires php >=7.1 -> your PHP version (7.2.10) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- endroid/qr-code 3.5.1 requires php >=7.1 -> your PHP version (7.2.10) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- endroid/qr-code 3.5.0 requires php >=7.1 -> your PHP version (7.2.10) overridden by "config.platform.php" version (7.0) does not satisfy that requirement.
- kuriousagency/qrcode 1.0.0 requires endroid/qr-code ^3.5 -> satisfiable by endroid/qr-code[3.5.0, 3.5.1, 3.5.2, 3.5.3].
- Installation request for kuriousagency/qrcode 1.0.0 -> satisfiable by kuriousagency/qrcode[1.0.0].

Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.

Yii Events 45 User 1 Status 200 Route pluginstore/install/index Log 88 Deprecated 0 Time 973 ms Memory 23.653 MB DB 68 46 ms Asset Bundles 23

thanks, i'll take a look.

do you have this in your composer file:
"config": {
"platform": {
"php": "7.0"
}
},
if you do, remove it, then it should work fine.
Even though your system is using php v7.2.10 your composer.json file is overriding it tell the site to use 7.0.

@samuelbirch Thank you! Works like a charm!


added 2 new rules and other changes in db, ingress and deployments

Following changes were made in this PR

Trim spaces at the end and start of the ingress router URL
Added 2 new security rules Graphql & Transform
Added a clipboard for copying deployed service URL

Following changes were made in this PR

Trim spaces at the end and start of the ingress router URL
Added 2 new security rules Graphql & Transform
Added a clipboard for copying deployed service URL

Why there is no autocomplete when I load fields from a variable?

2:
JWT claims is a string not object, refer webhook security rule

3:
Graphql variables are not mandatory.

4:
Request template is not optional in transform security rule


Add options for preserve and texture compression

Also check for magnitude 0 when computing normals.
Note: This is a PR for the major-cleanup branch

@lilleyse updated.

The major-cleanup branch has changed a lot since this PR was started, @shehzan10 is it fine if I just cherry-pick these changes into the branch directly?

I think that should be fine I think.


[BUG] Any/All requires simple parameter on left side

Version 5.0.17
I know, it's a known issue, but there's something fishy:
Here's my models
    class PhoneBookCategory
    {
        public Guid Id { get; set; }
       [BsonRef("PhoneBook")]
        public List<PhoneBook> PhoneBooks { get; set; }
    }

    class PhoneBook
    {
        public Guid Id { get; set; }
    }

And here's how I'm trying to query:
    List<Guid> ids = [Guid.NewGuid()];
    var set = GetCollection<PhoneBookCategory>().Query().Where(x => x.PhoneBooks.Select(x => x.Id).Any(x => ids.Contains(x)))

And it throws. But... I have a simple condition, no? x.PhoneBooks.Select(x => x.Id).Any(x => ids.Contains(x)), that's not performing an any over a full collection, only a list of Ids.
The exception message being x.Customers.Select(c => c.Name).Any(n => n.StartsWith('J')) to me it seems this is the same thing, no?
Could it be an issue of subdocuments versus DbRefs? and if so, isn't the exception misleading in this case?
Also.. I know how to rewrite the above query  - but what if I were to query a more complex variety:
    var set = GetCollection<PhoneBookCategory>().Query().Where(x => x.PhoneBooks == null || x.PhoneBooks.Count == 0 || x.PhoneBooks.Select(x => x.Id).Any(x => ids.Contains(x)))

Is there a way to get the BsonExpression out of my two conditions so I can use the Query class to combine them together?

Is there an update on this thingy? Any workaround? My very first query banged on this error and I wonder whether this case is so rare or we are doing something odd?
Fails:
collection.Find(p => p.Nations!.Select(n => n.CountryIso2Code).Any(isoCode => "A" == "A"))

Works (but you sort of give up embedding objects):
collection.Find(p => p.NationIsoCodes!.Any(s => s == iso2Code))

I ended up writing my own helper extension methods - one working with DbRefs, one working with subdocuments:
internal static ILiteQueryable<T> FilterReferencedSubtableContains<T>(ILiteQueryable<T> query, string subtableProperty, List<string> ids)
{
    return query.Where(ReferencedTableContainsExpression(subtableProperty, ids));
}

private static ILiteQueryable<T> FilterIncludedSubtableContains<T>(ILiteQueryable<T> query, string subtableProperty, List<string> ids)
{
    return query.Where(IncludedSubtableTableContainsExpression(subtableProperty, ids));
}

/// <summary>
/// use to filter referenced objects (they have the referenced id as $id)
/// </summary>
/// <param name="listProperty"></param>
/// <param name="ids"></param>
/// <returns></returns>
internal static BsonExpression ReferencedTableContainsExpression(string listProperty, List<string> ids)
{
    return Query.In($"$.{listProperty}[*].$id ANY", GetArray(ids));
}

internal static BsonExpression ReferencedTableContainsOrIsEmpty(string listProperty, List<string> ids)
{
    return Query.Or(ReferencedTableContainsExpression(listProperty, ids), ReferencedTableIsEmpty(listProperty));
}

internal static BsonExpression ReferencedTableIsEmpty(string listProperty)
{
    return BsonExpression.Create($"COUNT($.{listProperty}[*]) = 0");
}

/// <summary>
/// use to filter by fully included objects (they have the id as _id as any top level object)
/// </summary>
/// <param name="listProperty"></param>
/// <param name="ids"></param>
/// <returns></returns>
internal static BsonExpression IncludedSubtableTableContainsExpression(string listProperty, List<string> ids)
{
    return Query.In($"$.{listProperty}[*]._id ANY", GetArray(ids));
}

internal static BsonArray GetArray(List<string> ids)
{
    var bsArray = new BsonArray();
    foreach (var id in ids)
        bsArray.Add(id);
    return bsArray;
}

FilterReferencedSubtableContains is when working with DbRefs, FilterIncludedSubtableContains for included subdocuments. These methods are for searches on the id parameter, but you could easily adapt the top level methods and add the property to search on as an additional parameter.
I basically got the queries working in LiteDbStudio, then wrote the code using the Query class. It means you have to deviate from the linq only approach :(