Add Reset Queue Command

What changed?

New admin CLI command for reseting queue processor states to only one processing queue

Why?

Reset queue is useful as an oncall tool and for mitigating issues cause by bugs in the multi-cursor processing logic
Make it easier to adding other actions that need to be performed on the queue processor

How did you test it?
Unit test

Potential risks
N/A, feature flag disabled

Coverage decreased (-0.1%) to 67.169% when pulling abf0c818408c91e0fb2a1399c7ac710b59606107 on yycptt:reset-queue-action into 713a7a9accc63a523e314051bf744ac2d183a658 on uber:master.


Provide feedback when a <PrismicLink> component receives an invalid value

Is your feature request related to a problem? Please describe.
<PrismicLink> accepts a Prismic Link field and renders an appropriate link element. If the Link field is empty or is null, <PrismicLink> renders null.
<PrismicLink>'s empty field handling can be difficult to debug when an invalid value is provided. It currently "fails" silently since the component treats an empty or nonexistant value is "empty." An invalid value may be provided if Route Resolver or Link Resolver is not set up properly, or the wrong type of data is provided.
Describe the solution you'd like
<PrismicLink> could implement one or more of the following techniques:
Warn when a filled Link field is provided without a Link Resolver or url property.
A Link field can be one of the following types:
type Link =
  | null
  | {
      type: "Any";
    }
  | {
      type: "Document";
      // document-specific properties
    }
  | {
      type: "Media";
      // media-specific properties
    }
  | {
      type: "Web";
      // web-specific properties
    };

If the field contains type: Document but does not have a url property, we know Route Resolver was not configured. If the url property is missing and we don't have a Link Resolver, we also know Link Resolver was not configured.
In that case, we can print a warning to the console with instructions on how to solve the issue and possible causes.
Describe alternatives you've considered
Provide a fallback prop
If a field is empty, we can render a fallback value. This is equivalent to using @prismicio/helper's isFilled.link() helper directly, but through a React API.
Using the fallback prop would help developers know that the field was treated as empty, helping them better understand the data that was passed in.
<PrismicLink
  field={page.data.myLinkField}
  fallback={A link was not provided}
>
  Click me!
</PrismicLink>

This prop may be useful on its own, outside of this feature request.
Provide an optional prop
If a field is empty, we can throw an error or print a warning to the console. This helps developers immediately know an invalid value was provided. If the component is marked as optional, no error will be thrown or logged. null would be rendered.
<PrismicLink
  field={page.data.myLinkField}
  optional={true}
>
  Click me!
</PrismicLink>

The fallback prop may be a better API than a single-use optional prop. The above described behavior could be accomplished with fallback={null}, which is more explicit.
Additional context
The debugging trouble explained in the intro has been experienced by several developers. It usually comes from misconfiguring @prismicio/client or @prismicio/react. Although it is technically "user error", we can help developers fix the issue by providing a helpful message.
If long-form messaging is helpful, we can add a message to the GitHub repository and link to it via prismic.dev.

Reported by @Duaner

LGTM, just a note to put the incentive on the Route Resolver inside the warning message.
Wondering how we could standardize those kinds of behavior/checks across SDKs 🤔 i.e. Should this be part of asLink() for example/instead?


⚠ Bofrost.de has degraded performance

In 7b71e4e, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1494 ms

Resolved: Bofrost.de performance has improved in a88bdcc after 10 minutes.


Lighting / Bloom

attempted to add bloom for stars:
https://github.com/0XDE57/SpaceProject/tree/gdxvfxIntegration
ran into blending and frame buffer clearing issues.
low priority / differed; i keep wasting time on graphics and never make progress on the game...

https://github.com/crykn/libgdx-screenmanager/wiki/Custom-FrameBuffer-implementation#the-problem

Bloom:
https://github.com/mattdesl/lwjgl-basics/wiki/Shaders
http://www.curious-creature.org/2007/02/20/fast-image-processing-with-jogl/
^ URL dead, see archived:
https://web.archive.org/web/20140730024622/http://www.curious-creature.org/2007/02/20/fast-image-processing-with-jogl/


[BUG] Set scipy version back to use the latest one

Description
This issue is a backlog to revert the temporary workaround #1971

Also related to https://github.com/recommenders-team/recommenders/issues/1954

Resolved in PR #2083


Menu doesn't scroll on mobile device

Hi,
Menu doesn't scroll vertically on mobile device. I've tested it on iphone 8 with iOS 16.3 and on Oppo Android 11
Regards

Can you test this: https://github.com/dcasia/collapsible-resource-manager/pull/115

Hi, I've test it on both platforms and the scroll works only if it's selected/focus a menu item

Any update?

Hi, any update on this issue?

Hi,
This issue has been fixed in my fork  (https://github.com/operativeit/collapsible-resource-manager)  and in the PR #127
Regards


Update redis4cats-effects, ... to 1.7.1

About this PR
📦 Updates

dev.profunktor:redis4cats-effects
dev.profunktor:redis4cats-log4cats

from 1.2.0 to 1.7.1
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.profunktor" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.profunktor" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #272.


mask prometheus alerts from openshift-operators namespace; omit them from customer namespaces

for discussion - seems sensible to disable forwarding of objects in customer namespaces.
I am tempted to also disable openshift-operators, at least to start with.  OOTB openshift-operators is empty.  Should we exclude these from our service support statement/SLO from day 1?
one issue is that masking things here makes them very invisible.  Perhaps we would be better to flag them and exclude them in the dashboards?

I think this is a question for PO. What is our (openshift) support strategy for certified operators, delivered from OLM from operators hub. We might want to have them there just to observe. And if they causes too much noise we raise it with "Operators certification guys and OLM team" and disable those.
Better have visibility and disable later than something is off "and I don't have a clue because I don't see"

lets discuss in the scrum

agreed: we should forward operators to metrics but not alert on them.

rolling the "omit alerts from non-customer namespaces" into #533; dropping the "mask openshift-operators" for now


Handle renegotiation of expired tokens

We could possibly have a scenario where a token is expired prematurely.  We should make sure we either show an error message and ask for re-authentication or handle this  renegotiation in the background for the user.

Just confirmed that CF CLI commands which require an access token will automatically update an expired access token. This means that any CloudFoundryService methods which use the CF CLI have the ability to change the value of "AccessToken" in the CF CLI config file.
It's worth noting that this is an avenue for inconsistency between the access token used by the CF CLI and the value of the cached access token on CfCliService; when the token value changes in .cf/config.json it will no longer match the cached value. In this scenario, the next CF operation which requires an access token will grab the cached (stale) token & will probably fail with some sort of authorization error.
This inconsistency isn't likely to happen when the token expires "normally" (i.e. reaches the end of its prescribed lifespan) because the CfCliService keeps track of the expiration time & will try to get a fresh access token once that expiration time is reached, however it might arise if a token is ever invalidated before it reaches the end of its prescribed lifetime.
Here are some solution ideas:

Use System.IO.File.GetLastWriteTime to predict if the "AccessToken" value has changed in config.json

note: this might not be 100% reliable as a way to determine if the token value has changed, seeing as how there are other fields in config.json that may change other than the token (e.g. the value for currently-targeted-org).
... having said that^, now that we're mainly using CfApiClient for CF operations instead of the CF CLI, hopefully config.json doesn't change all that often? (e.g. we shouldn't be re-targeting orgs if we're using raw HTTP requests)

Add "retry" functionality to each CF operation: if an operation fails, try that same operation again but force the access token to refresh first.


Nylas won't launch even after re-downloading the application

What operating system are you using?
Mac OSX
...
What version of Nylas Mail are you using?
Can't tell, the application won't load and there are no menu bar options.
...
--
Bug?
Do you have any third-party plugins installed? If so, which ones?
I have no 3rd party applications installed.
...
Is the issue related to a specific email provider (Gmail, Exchange, etc.)?
I previously used gmail.
...
Is the issue reproducible with a particular attachment, message, signature, etc?

I took a screen capture with Quicktime, but the file is too large to upload. The steps are basically:
1 - Click on the app icon
2 - Check if any of the normal menu bar options are available (only quit is)
3 - try to show available windows (there are none)
...
--

I'm running into the same problem on OSX. The icon is available in the dock and the only menu is Nylas Mail > Quit. Tried reinstalling but that didn't fix the problem.
I was using multiple Gmail and IMAP accounts.

@RobertMenke, this might be related to https://github.com/nylas/nylas-mail/issues/3343. Deleting the ~/.nylas-mail directory solves the issue but causes the configuration to be deleted as well.

@RobertMenke @cascornelissen , merging into #3343. You can also just delete ~/.nylas-mail/edgehill.db instead of having to delete the whole folder.

Also had this issue. Resolution worked for me but I had to remove and re-add an account since things were wonky with it.


#138: add uniform metadata sheet names

add uniform metadata sheet names for study and assay metadata sheets, adapt parser logic
you do not seem to have excel IO tests, I guess that's because they are hard to translate with JS test logic. So i could not add tests for this.
I also saw that there is no sheet name logic for parsing investigation files, for investigations just the first sheet is taken:
https://github.com/nfdi4plants/ISADotNet/blob/0e05fb4ba8b2d99af68141ffe632f40f36df3a22/src/ISA/ISA.Spreadsheet/InvestigationFile/Investigation.fs#L192-L200
that might be error-prone.

Tests are planned for this. Currently there are only tests for either metadata or annotation table sheets. But it should easily possible to combine them into a test that parsed a full workbook instead of only the FsWorksheets. Maybe you could include this in this PR?

Workbook into here:
https://github.com/nfdi4plants/ISADotNet/blob/arctrl/tests/ISA/ISA.Spreadsheet.Tests/TestObjects/Assay.fs
Test into here:
https://github.com/nfdi4plants/ISADotNet/blob/arctrl/tests/ISA/ISA.Spreadsheet.Tests/AssayFileTests.fs
Sample Annotation Table sheet(s) can be taken from here:
https://github.com/nfdi4plants/ISADotNet/blob/arctrl/tests/ISA/ISA.Spreadsheet.Tests/ArcTableTests.fs

Streamlined Study Parsing with Assay parsing. Now always returns an object where the identifier is autogenerated if missing.
Study Metadata sheet was reduced to what is the status quo since ArcCommander 0.5.0.
Reincluded tests


[DOCFIX] Update Configuring-Alluxio-with-GCS.md of chinese version

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/14923/
Test PASSed.


Music editor design overhaul and keyboard navigation

This PR does the following for the music editor:

Overhauls the design and adds a bass clef
Makes it full screen by default just like the other field editors
Adds the ability to drag to select, move, and transpose notes
Adds copy/paste support
Adds keyboard navigation and editing
Improves rendering perf for long songs

The keyboard support is currently documented in keyboardNavigation.ts, but eventually there'll be a docs page and possibly some UI element that links out to it. Everything is supported via keyboard, but I have not added screen reader support yet. That'll be its own PR.
Apologies for the big PR! There were some rather fundamental changes that needed to be made to the way the coordinate system works and it ended up being easier to do everything at once.
The bass clef SVG came from wikimedia (it was in the public domain so no thirdpartynotice update).
Here's an upload target: https://arcade.makecode.com/app/3a70b8fda716e48f4196afa5be2893a78d6ea1bb-48ef05ea6a
Still to do:

Hide bass clef on smaller screens (or make it toggleable?)
Better drum sounds
Screen reader support for music workspace
Better support for enharmonic spelling (store the sharp/flat state with the note)

Looks great!  Couple requests -

Can you implement a expand/collapse toggle for the bass line?  Or maybe just provide another build version with just the treble line?  I have a hypothesis that 2 staff signatures/lines may be overwhelming - so wanted to test out 2 different versions in user testing.
Few small bugs I saw - Bass clef svg missing, Grid not updating, Looping toggle not updating on block, Erase doesn't seem to work

This is super cool!
I also found some bugs. Same as Jacqueline: bass clef svg missing, loop toggle not working, and erase doesn't work on click but it works on drag. Other bugs: if I have the same instrument starting at the same time on different notes, they automatically have the same holding time and if I drag one to change the holding time, both are changed. If I try to add drums to the bass, they show up in the treble. It's very hard to hear the drums preview when selecting it at the top.
I expected the play button to toggle as a stop or pause rather than playing again from the beginning. If there's time in the future, it would be nice for the play button to toggle as a pause and also to be able to select where to start the play from. I think these would be really important for anyone trying to create long songs. It would also be great if the view could follow the animation as it's playing.

Code changes are pretty extensive, but look fine upon cursory review.
Feedback on keyboard navigation:

This is probably by design, but feels like a bug: when two different notes appear on the same vertical bar in the song, I can't traverse between them using alt + up/down. After some time trying to understand what's not working, I figured out I can only navigate notes that match the currently active note selected in the toolbar. When burger is active, I can only navigate burger notes in the song, for example. Furthermore, when a note is active that doesn't appear in the song, I can't navigate any of the notes and it feels stuck.
I can select "erase" with keyboard navigation and it becomes the active cursor, but I have no way to control it.
Navigating within the song track, an arrow-based directional cursor might work better here, paired with tab navigation to snap the cursor to the next note in the song. Mapping non-intuitive keyboard shortcuts to every possible action does not lead to a discoverable interface, and doesn't scale well.

@eanders-ms the "one track at a time" paradigm is indeed by design. i get that it's confusing for sighted users who can see the tracks all at once, but for people with low/no vision i thought it might make more sense to go 1 track at a time. i'm willing to discuss options here, though!
and yeah, i'm not really sure what to do with erase in keyboard navigation

I fixed the erase bug! if it's alright with everyone, i'll merge this is as-is and we can talk about design/strategy for the keyboard interactions later


Set default style?

Can I set a default style for breadcrumbs somehow in config/breadcrumbs.rb or do I have to manually set it every time? I couldn't find a way in the README or the code.

.breadcrumbs might be a good starting point.

Thanks for your reply, however I could not find a way to set a default style for everytime I call <%= breadcrums :my_crumb %>, could you point out what exactly you meant?

Hi @aried3r - Do you mean the Gretel :style option?
This option defaults to :inline, and currently there is not a way to set a different default globally.

Thanks for the reply!
Good to see this project alive :)

I have been trying to override DEFAULT_OPTIONS by adding this to the top of breadcrumbs.rb
Gretel::Renderer.register_style(:link_current, true)

but then realized this is an OPTION not a STYLE and .register_option is not valid.    How can I set the default rendered to use link_current=true without appending that manually to every <% breadcrumb %> ?

@darrennix: Currently, there is no way to modify the default options or styles for Gretel. They must be explicitly passed in.

Issue was moved to the new repository: link


Update zio, zio-test, zio-test-sbt to 1.0.11

Updates

dev.zio:zio
dev.zio:zio-test
dev.zio:zio-test-sbt

from 1.0.7 to 1.0.11.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

labels: library-update, semver-patch

Codecov Report

Merging #147 (7d3cabc) into master (31ee328) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #147   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           41        41
=========================================
  Hits            41        41

Continue to review full report at Codecov.

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

Superseded by #154.


Implement new Garbage Collector

Implement a new garbage collector system which uses a spinlock inspired system to keep track of allocations and free them when they are no longer in use.

This system is no longer used. Closing.


fix: compatibility with Prisma's "omit" feature

Upgrade @prisma/internals and @prisma/generator-helper to latest.
Respect omit clause when reading entities.
Conditionally generate createMany based on Prisma version.

Fixes #1278


x/playground: indentation impossible after depth 3

http://play.golang.org/p/YfHY5z2wVF

Pressing tab on line 7 doesn't indent anymore. Nor is it possible to copy and paste a
tab on that line to get more indentation. Format also doesn't show an additional
indentation level.

This looks like some UI quirk.

It also affects some of the golang.org example programs that have more than 3 levels of
identation.

@adg this can be closed. I tested on Chrome on X and it worked fine.


fix 1847-XmlAttribute are not parsed when XmlAccessType.NONE

This commit fix bug #1847
When XmlAccessType.NONE is annotated, values annotated with XmlAttribute are not parsed

@webron @frantuma : this PR should resolve 2 issues #1847 and #2487
I just resolved some conflicts, can you have a look on this PR please.


CLI: fail fast if --context-repo does not have a matching name

Fixes CODY-2947
Previously, the CLI would silently continue even if --context-repo had a spelling or referenced a repo that doesn't exist on the instance. Now, the CLI fails fast with a helpful error message.
Test plan
Manually tested.
❯ pnpm agent chat --context-repo sourcegraph/cody --context-repo github.com/sourcegraph/jetbrains -m 'what is the agent'
...
 ✖ The repository sourcegraph/cody does not exist on the instance. The name needs to match exactly the name of the repo as it appears on your Sourcegraph instance. Please check the spelling and try again.

Restarted Windows job due to a flaky failure in symf.test.ts


Add JSON5 support

Motivation:

#538

Modifications:

Server & ArmeriaCentralDogma client JSON5 support

getFile() as Entry<JsonNode> but can still get the raw content via #contentAsText()
watchFile() as Entry<JsonNode> but can still get the raw content via #contentAsText()
getFile() & watchFile() with JSON_PATH
mergeFiles()

Update Admin UI's ace editor version to 1.4.13

To support JSON5 syntax highlighting

Results:

Closes #538

 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.K.S. Yim seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

This looks awesome. 😆

@jrhee17 @ikhoon @minwoox I've re-written the PR as per you guys' advices, PTAL 🙏.

Use EntryType.JSON for JSON5
Use dedicated mapper for JSON5
Give higher priority to contentAsText property when transmitting JSON5 content of Entry or Change over the wire.

Sorry that it's delayed. 😓

@minwoox I've resolved most of your comments except the feature of not notifying watcher for any changes that does not affect the actual content of JSON5.
And I added a validation before committing a patch on JSON5 files (since they are updated via text patch..).
Plus, I found a weird bug with Jackson's ALLOW_SINGLE_QUOTES features when it deserializes JSON5 from a byte-array source.
I've summarized the issue at Json5#readTree(byte[]) method...:
// String conversion is a workaround for Jackson bug with 'ALLOW_SINGLE_QUOTES' feature
// when it deserializes JSON5 from byte array source.
// If double quotes are used within a single quoted string, it either raises JsonParseException or
// removes double quotes while deserializing.
// e.g. 'I can use "double quotes" here' deserialized into "I can use double quotes here"
//      'I can use double quotes "here"' raises JsonParseException.

I will report the issue to Jackson but I think we should always convert byte[] into String before deserializing JSON5 content as of now.

And I added a validation before committing a patch on JSON5 files (since they are updated via text patch..).

👍

I will report the issue to Jackson but I think we should always convert byte[] into String before deserializing JSON5 content as of now.

Oops, I didn't notice that. 😅 Yeah, let's report it to the upstream and use String for now.

except the feature of not notifying watchers for any changes that does not affect the actual content of JSON5.

Could you tell me more about it, please?

I think it's almost done, excellent job, @ks-yim!
https://github.com/line/centraldogma/runs/5271252784?check_suite_focus=true#step:5:1211
Could you check the test failures, please? 😄

@minwoox It seems Jackson's ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER feature doesn't work well in Windows..? I should test it in my Windows laptop.

@minwoox Thanks for the patience.

I really appreciate your all effort. Please, don't worry about it. 😄

It seems Jackson's ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER feature doesn't work well in Windows..? I should test it in my Windows laptop.

Oops, let me also take a look at it.

👀 @ks-yim Thanks for your work. I was just wondering whether this is still in progress.

@jyterencekim No 😭. Stopped working on this for now. You can take this issue if you want..
Just some notes tracing back an old memory..
This PR somewhat has achieved JSON5 support in CentralDogma, but is littered with hacky workarounds and improvisations. As @ikhoon has pointed out in his suggestion of adding FileType, a more structured approach is needed so that other config formats(.yaml, .toml, etc.) support can be added without pain later in the future, too.
Although JSON5 can be parsed as a normal JSON, parsed data can't be reversed back into the original JSON5 content so the data should be treated as EntryType.TEXT when it is patched & stored but should support ALL EntryType.JSON features such as..:

getFile() as Entry<JsonNode> but can still get the raw content via #contentAsText()
watchFile() as Entry<JsonNode> but can still get the raw content via #contentAsText()
getFile() & watchFile() with JSON_PATH
mergeFiles()

Let us continue to work on this after adding API v2. @ks-yim Sorry to burden you. You are free to go. 😆
@jyterencekim Could you use a plain text file for JSON5 before we implement this? If you add the validation logic before pushing a file, I think you can use JSON5 without problems. 🤔

@minwoox thanks you for all the valuable feedback you gave while I am working on this 😄.
Closing this PR in favor of API v2.

What I meant was I was going to work on this PR again after adding V2. 😓 Could you reopen this?

@minwoox Oops, my mistake 🤣. Reopened the PR! Looking forward to the rework!


Fix failing tests split coin handle conf

Now use coin with sufficient gas balance
Comment out filling authority test while https://github.com/MystenLabs/sui/issues/1232 being addressed

If running out of balance is the culprit, why is the test flaky? i.e. why doesn't it fail all the time? I am surprised that we could rely on the order of objects returned from get_owned_objects

The issue is that I was sometimes picking a value from the objects which was too low.


Add TaxID field to Address

What I'm trying to achieve
I want to generate invoice from Address.
I want customer to add TaxID (e.g. European Vat Number) to be visible on the invoice
At the moment there is no TaxID field I can use.
I can't rely on metadata because I can't be sure how other apps (like Checkout or CRM) will store this field
Describe a proposed solution
Add optional field taxID to Address

Is this issue still relevant?


malformed muzzles

hi,
i'm using 1.0.4 which ostensibly has the fix for #2 in it ... but the fix isn't there.
this is what's in my node_modules directory (see line 25 in muzzles.js):

cheers

pefect. i can confirm the issue is fixed in the 1.0.5.
thanks for such a fun and quirky package.
jonathon


Polyfill file for webworker

🚀 Feature request
Command (mark with an x)

[ ] new
[ x] build
[ x] serve
[ ] test
[ ] e2e
[x ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
The polyfille file is not included in the webworker build. At the moment i get an error in my webworker.
`Uncaught (in promise) ReferenceError: global is not defined``
Describe the solution you'd like
I would like to have a polyfill.ts for my webworker and add the following content.

(globalThis as any).process = require('process/browser');

(globalThis as any).global.Buffer =
  (globalThis as any).global.Buffer || require('buffer').Buffer;

(globalThis as any).global.util =
  (globalThis as any).global.util || require('util').util;

Describe alternatives you've considered
At the moment i don't have a workaround. I checked out several webpack options

This is expected as each worker runs in a dedicated global scope where the window global scope cannot be accessed.
In this case if you need to add polyfills you need import/add the above polyfills in each of your workers.
Side-note: in general it's not considered a good practice to polyfill Node.JS APIs in browsers, it is recommended to use libraries are written to be run in browser context.


Range bonuses due to towers and walls

The range of ranged fighters is increased by towers and walls. But the ranged fighters do not automatically attack when enemy units come within this increased range. Ranged fighters only attack automatically when enemy units come into their normal (base) range.
However, when attacking manually, the range bonus works.

This is a statement, not an issue... Where you going somewhere with this?

The bug is that the automatic attacking of the ranged fighters does not work properly.
For example, an archer on flat terrain has a (base) range of 50 hexes. As soon as an enemy is only 50 hexes away, the archer automatically attacks. A (middle) tower increases the range of the archer by 3 hexes. The archer now has a range of 53 hexes. As soon as an enemy is only 53 (or 52, 51) hexes away, the archer should automatically attack the enemy. But the archer does not do that. This is the error. The archer automatically attacks an enemy only within his base range (50), even though he has a bonus range due to the tower (50+3 = 53).
The automatic attack within the bonus range does not work, only the manual attack works within the bonus range.
By the way, different towers give a different bonus on the range.
If you can speak German, here is a good video on the subject: https://www.youtube.com/watch?v=CaBwmkFAQBg

Ok, you didn't give any new info, just repeated your first message. This is a known game mechanic (not a bug). I made my own video describing the situation.
I will assume that the purpose of this issue is to request that UCP make ranged units start shooting when units are within effective range rather than the default average possible range (e.g. 50 tiles for archers).
This is not actually simple. Being on a tower does indeed allow an Archer to hit units on ground at 53 tiles, assuming that ground is the same height as the ground that the tower is on. If the tower is built on low ground, and the units are on high plateau, then the effective range is 50 or 51 tiles.
Also, if you weren't aware, shooting higher units actually reduces your range, so that unit on the ground shooting the guy in the tower has 47 tiles range.
This all means that the game engine would need to calculate the effective range for every unit-unit combination every time it checks for units in range. Rather than simply scan for units within 50 tiles, you need to scan for all units within 54 tiles, then for each one calculate the relative height difference, figure out the effective range, then check if the unit is within that effective range, then add them to the list of available targets, or however the game progresses from there.
I'm sure this is possible, but it's not necessarily simple.

"I will assume that the purpose of this issue is to request that UCP make ranged units start shooting when units are within effective range rather than the default average possible range"
Yes, that's exactly what I meant.
Oh, I was hoping it was just a number error in the code.

yea, it was more likely lazy programming on fireflys end. Remember they didnt expect SHC to be a strategy game, they thought they were making a castle simulator game, so most efficient troops werent important to them.
They therefore went with a "good enough" solution of just firing at the "average" maximum range, that which would be in range assuming both units are at same height. There may even have been some concern about the computing overheads of doing that many checks so often when there are large battles going in, remember that computers in 2002 werent all that powerful.
I dont know how easy it would be to add the logic for this, however I know that it is complex enough that only one or two of the current developers would be able to even consider trying. Once they do it might be a simple addition, or it might be alot of work.

i didnt knew that...holy shit..


Public upstream is too limited

Why are we forced to use mavencentral as a maven repo? There is a multitude of maven repo hosted by companies that won't publish to maven central. ie. Google (https://maven.google.com/web/index.html)
I'd like to be able to define a custom maven repo by pasting the url of their repo and giving them a name, like sonatype (nexus) allows.

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

ID: 72c152cc-c1d1-abc1-1861-20aab95731bb
Version Independent ID: 0d75b4b4-3297-fae7-9345-d863f67e6fed
Content: Set up upstream sources for packages - Azure Artifacts
Content Source: docs/artifacts/how-to/set-up-upstream-sources.md
Product: devops
Technology: devops-artifacts
GitHub Login: @ramiMSFT
Microsoft Alias: rabououn

@eric-labelle Thank you for the feedback.
Unfortunately, this issue is still pending, see here, or for the issue's latest status, please refer to here.
For any documentation concerns comment below, or for any other product-related issues please try the community.

Allright @msebolt I'll follow linked issues.

Take note that your certificate for developercommunity.visualstudio.com is expired or invalid

Interesting, possibly due to more restricted security settings...

(from https://www.ssllabs.com/ssltest/analyze.html?d=developercommunity.visualstudio.com)
Closing this issue now.


fix missing top level boost param for termsQuery

Description
fix missing top level param boost as defined here
Issues Resolved
fixes #540
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@amberzsy Are you able to provide an example (i.e. dashboards dev tools POST) of the query you're trying to represent? Preferably also adding it to https://github.com/opensearch-project/opensearch-api-specification/blob/main/tests/default/_core/search/query/terms.yaml

@amberzsy Are you able to provide an example (i.e. dashboards dev tools POST) of the query you're trying to represent? Preferably also adding it to https://github.com/opensearch-project/opensearch-api-specification/blob/main/tests/default/_core/search/query/terms.yaml

sure added.

Tests failed

please fix the tests

done.


update pipeline using MirroredStrategy

Hi Changan,
Do you have any experience with tf.contrib.distribute.MirroredStrategy? As TF is going to depreciate replicate_model_fn, I was trying to update your code with MirroredStrategy, but I always got "ValueError: destinations must be one of a DistributedValues object, a device string, a list of device strings or None".
Please take a look when you have time.
Thanks,
Yu

@ywang-purdue I'm sorry, I didn't try tf.contrib.distribute.MirroredStrategy yet. And contributions is welcomed.


Performance Troubleshooting Notebook

Database Performance Troubleshooting notebook serves as a base to build upon to aid Database Administrators and Developers to help with identifying common database performance-related issues.
This version supports ad-hoc execution of the Notebook and the next version can be scheduled.

Hi Kevin,
Please see my responses inline to your questions.
Jai Kanuri
Sr. Professional Services Architect
m.<PHONE_NUMBER>
[image: SingleStore. The Database of Now.]
https://www.singlestore.com/managed-service-trial/?utm_source=emailsig
On Fri, Mar 1, 2024 at 9:19 AM Kevin D Smith @.***>
wrote:

@.**** requested changes on this pull request.
You'll need to run the pre-commit checks on the files before they can be
published. See
https://github.com/singlestore-labs/spaces-notebooks/blob/master/CONTRIBUTING.md
for more information.
As far as notebook changes:

Is the CSV files located remotely so that it can be updated separately
from the notebook? They could simply be embedded in the notebook as Python
code, or write a local CSV file using a %%writefile cell which would
keep the notebook self-contained. -- The CSV files were hosted on S3.
I switched them over to Github
2.
The templates link in the introduction seems to point to a folder that
is not public. -- I moved the folders to Github and they are
accessible now
3.
You don't need the my_db_conn_url variable. There is a connection_url
variable in the notebook scope. To get the database name you can just do
connection_url.split('/')[-1]. However, that only works if a database
is selected in the notebook. There may not be a database path specified in
the URL. The most correct way would be to use urllib.parse.urlparse
and get the path component of the result. -- I fixed this issue
4.
I would remove the if name line. Since this is in a notebook, it
can't be loaded as a library, so this just adds an extra indent that isn't
needed. It might be a good idea to split out the imports, the variable
initialization, the function definitions, and the script code into separate
cells to make it more "notebook-like". This would allow you to add some
commentary on each section as well. -- I fixed this issue
5.
I know you have just one big block of code so you can do error
handling, but can you add some comments to sections of the code explaining
what's going on? -- I added the comments to sections
6.
You don't need a Management API key to access that API. In the
notebook context, it will use the current JWT to authenticate. If you do
want to use an API key, you can set it in the environment under the
SINGLESTOREDB_MANAGEMENT_TOKEN name. This could be pulled from a
secret as well so no prompt is necessary. -- I updated the code to use
JWT to authenticate
—
Reply to this email directly, view it on GitHub
https://github.com/singlestore-labs/spaces-notebooks/pull/65#pullrequestreview-1911405092,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALY7KZ2GFHTEKG25FYNLE6TYWCL7ZAVCNFSM6AAAAABD77YG2KVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTSMJRGQYDKMBZGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


board frdm_kl25z build passed, but can't flash

config env
cd ~/zephyrproject/zephyr/
source zephyr-env.sh

delete build folder
sudo rm build -r
build
west build -p auto -b frdm_kl25z  samples/basic/blinky/

output
-- west build: build configuration:
       source directory: /home/linux/zephyrproject/zephyr/samples/basic/blinky
       build directory: /home/linux/zephyrproject/zephyr/build (created)
       BOARD: frdm_kl25z (origin: command line)
-- west build: generating a build system
Zephyr version: 2.1.0
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3.4")
-- Selected BOARD frdm_kl25z
-- Found west: /home/linux/.local/bin/west (found suitable version "0.6.3", minimum required is "0.6.0")
-- Loading /home/linux/zephyrproject/zephyr/boards/arm/frdm_kl25z/frdm_kl25z.dts as base
Devicetree configuration written to /home/linux/zephyrproject/zephyr/build/zephyr/include/generated/generated_dts_board.conf
Parsing Kconfig tree in /home/linux/zephyrproject/zephyr/Kconfig
Loaded configuration '/home/linux/zephyrproject/zephyr/boards/arm/frdm_kl25z/frdm_kl25z_defconfig'
Merged configuration '/home/linux/zephyrproject/zephyr/samples/basic/blinky/prj.conf'
Configuration saved to '/home/linux/zephyrproject/zephyr/build/zephyr/.config'
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/linux/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Cache files will be written to: /home/linux/.cache/zephyr
-- Configuring done
-- Generating done
-- Build files have been written to: /home/linux/zephyrproject/zephyr/build
-- west build: building application
[2/116] Preparing syscall dependency handling

[111/116] Linking C executable zephyr/zephyr_prebuilt.elf
Memory region         Used Size  Region Size  %age Used
           FLASH:       10968 B       128 KB      8.37%
            SRAM:        3864 B        16 KB     23.58%
        IDT_LIST:          40 B         2 KB      1.95%
[116/116] Linking C executable zephyr/zephyr.elf

flash
west flash
output
-- west flash: rebuilding
ninja: no work to do.
-- west flash: using runner pyocd
WARNING: runners.pyocd: hex file (/home/linux/zephyrproject/zephyr/build/zephyr/zephyr.hex) does not exist; falling back on .bin (/home/linux/zephyrproject/zephyr/build/zephyr/zephyr.bin). Consider enabling CONFIG_BUILD_OUTPUT_HEX.
-- runners.pyocd: Flashing file: /home/linux/zephyrproject/zephyr/build/zephyr/zephyr.bin
No connected debug probes
0000476:CRITICAL:__main__:uncaught exception:
Traceback (most recent call last):
  File "/home/linux/.local/lib/python3.7/site-packages/pyocd/__main__.py", line 338, in run
    self._COMMANDS[self._args.cmd](self)
  File "/home/linux/.local/lib/python3.7/site-packages/pyocd/__main__.py", line 468, in do_flash
    with session:
  File "/home/linux/.local/lib/python3.7/site-packages/pyocd/core/session.py", line 284, in __enter__
    assert self._probe is not None
AssertionError
ERROR: command exited with status 1: pyocd flash -e sector -t kl25z /home/linux/zephyrproject/zephyr/build/zephyr/zephyr.bin

Hi @happymili , pyocd is not able to find your debug probe. You probably need to configure a udev rule. If that doesn't work, please check that you have the correct firmware programmed on the OpenSDA MCU. See here for more details.

@happymili, can you provide feedback on @MaureenHelm suggested actions?


opt-in automated link checking

hi, we use this tool to check out changelog,
with great success, it is now internally consistent
however it still happens regular, that we find typos or mistakes in links and would like to check those in detail
would something like this be in scope for this project?

I don't think it's in scope for this project; I feel like it's too much maintenance for too low usage. A quick and dirty implementation for you should be something like running rst2html (from docutils) and something that checks links on HTML documents (don't have anything in mind but sure these exist).
Annoying edge cases will include: relative links, script links


<EMAIL_ADDRESS>and<EMAIL_ADDRESS>

Like #215 the 1.2.3 prebuilt binaries are 404ing on install.
><EMAIL_ADDRESS>install node_modules/fsevents
> node install

node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v64 ABI, unknown) (falling back to source compile with node-gyp)

Thanks!

You're actually attempting to get the 1.1.3 binary there. Ensure you're updated to 1.2.3


Rename git.enableSmartCommit to commitAllChangesWhenNoChangesAreStaged

The setting git.enableSmartCommit doesn't explain what it does - how am I supposed to know what "smart" is? I go look it up and find:
    // Commit all changes when there are no staged changes
    "git.enableSmartCommit": true,

Suggest renaming the option to describe what it actually does.

This is why we document every single setting. You can see its documentation if you hover over it, if you use intellisense or in the settings editor.


DgVoodoo2 guide, Glide part

yes

The file structure of the repository Mats has is old. Will fix locally on my end.


Problems with bin2txt() while reading from rdbincodeimg().

code:
import bincode as bc

bc.mkbincodeimg(bc.txt2bin("helloworld")).save("helloworld.png")
print(bc.bin2txt(bc.rdbincodeimg(bc.opbincode("helloworld.png"))))

expected output:
helloworld
actual output
helloworldaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Why I think this is happening:
rdbincodeimg returns all values where there nothing but white as 0.

Fixed the issue in 162f55d.
By replacing a with white-space in the dictionary and then trimming it.


[Proposal] Release Strategy

Is your feature request related to a problem?
Currently, the functional test repo consumes this NPM package via git references: https://github.com/opensearch-project/opensearch-dashboards-functional-test/blob/main/package.json#L41
It seems hit or miss if it respects the main branch or the lock file: https://github.com/opensearch-project/opensearch-dashboards-functional-test/blob/main/package-lock.json#L185. It is also confusing when developing which one is the update and if NPM will cache the reference and install.
What solution would you like?
This package is really just a dev package and it is only used for FTRepo (as of now). Being that it's not used as a software and it's for testing purposes. I do not see there being a reason to maintain multiple branches. It also isn't updated frequently.
This repo can still comply to SEMVER but avoid the operational burden of supporting older branches by cutting tags out of main.
For example:
https://github.com/opensearch-project/opensearch-dashboards-test-library/releases/tag/1.0.4
When there is a need to make a major version change then the branching strategy can be revisited or we can just patch off of tags.
What alternatives have you considered?
Default OpenSearch Project branching strategy
Do you have any additional context?
We are then able to move fast and without actually publishing an NPM package we can make the FTRepo install by release artifact instead of using git.

Is this a dupe of https://github.com/opensearch-project/opensearch-dashboards-test-library/issues/23


pony-corral: 0.4.0 -> 0.4.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/corral/versions.
meta.description for pony-corral is: "Corral is a dependency management tool for ponylang (ponyc)"
meta.homepage for pony-corral is: "https://www.ponylang.io"
meta.changelog for pony-corral is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.4.1 with grep in /nix/store/i1454428vplrlc3knm72c582qg2vgikh-corral-0.4.1

directory tree listing: https://gist.github.com/e30311362a933d6261917e523a686d1e

du listing: https://gist.github.com/5f17d795dbe00753c5f1643e3e13b58e

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
0 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
pony-corral

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/i1454428vplrlc3knm72c582qg2vgikh-corral-0.4.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A pony-corral https://github.com/r-ryantm/nixpkgs/archive/e187ea500459f6b1601254ca073316b095c917e7.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/i1454428vplrlc3knm72c582qg2vgikh-corral-0.4.1
ls -la /nix/store/i1454428vplrlc3knm72c582qg2vgikh-corral-0.4.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

pony-corral

Maintainer pings
cc @redvers for testing.

Result of nixpkgs-review pr 111161 run on x86_64-darwin 1

1 package failed to build:

pony-corral


Automatic tag with template's filesystem path

In an organization with multiple SCM repositories and stacks defined all over the place, it can be hard to know where the source for a stack lives, looking at the stack itself.
Add a new tag to the stack which contains the fully-expanded path to the template file which created the stack.
For example:
Key = template_source
Value = /Users/rosssimpson/src/aws/templates/ntp.rb

If git would just support $Header$ this wouldn't be a problem! :)

As discussed this is probably better attacked with a good tagging strategy.


Get tracks of album

Get tracks of album

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (main@5bed6b2). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff            @@
##             main      #350   +/-   ##
========================================
  Coverage        ?   100.00%
========================================
  Files           ?         5
  Lines           ?       531
  Branches        ?        22
========================================
  Hits            ?       531
  Misses          ?         0
  Partials        ?         0

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


Support a "neutral" IdP

Context:

rubygems/rfcs#37: resistance to sigstore adoption based on concerns about privacy and "vendorization"
#341 (non-OIDC email support): using an "email verification flow" to have email logins instead of OIDC logins is dicey -- we'd be performing "OIDC-over-SMTP" (plus no support for 2FA etc.)

Proposal
One potential resolution to these concerns is a "neutral" OIDC IdP, perhaps run by a nonprofit or some other non-corporate entity, with strong support for user privacy and security. This allows tying artifact signatures to a privacy-friendly identity (perhaps a pseudonym). The OpenSSF package manager security not-quite-working group is very invested in this, as it would substantially ease sigstore adoption in this setting.
Scope
This is a huge issue in that actually fixing it might involve standing up a production-quality service with an on-call rotation, etc. Hopefully that wouldn't all be organized here.
Let's scope this issue to discussing:

If there was a well-implemented and run/reputable "neutral" IdP, would Fulcio integrate with it?
What properties would such an IdP need to have (in addition to those from #397)?
Not really a Fulcio issue, but: who could run such a thing? Are there existing candidates? Is it a problem if it's too-closely tied to the sigstore ecosystem? Do we want geographic/national diversity? (This could quickly become bikesheddy so please be mindful.)
Updates on progress on this across other projects/organizations.

I'd prefer to discuss the following elsewhere:

Recommendations for downstream (e.g., package repositories) policies around vendors, keeping track of mapping from packages to identities, etc.
Design/security analysis for using a "neutral" IdP downstream.
Should we (instead) make it easier for downstreams to stand up their own IdPs?

A nitpick, the issue you probably meant is #371.

Discussing only the Fulcio aspect, I see no reason why we wouldn't be willing to add an IDP into either Dex or directly into Fulcio's IDPs, as long as the IDP abides by the list of requirements discussed in #397.
Is there something in particular you're looking to get out of this issue that's not already been discussed in other issues?

It's also important to recognize the significant effort behind running an identity provider with accounts

(Possibly off-topic) I have an off-the-wall idea for an "anonymizing OIDC proxy."
Basically, it would be both an OIDC client and provider. The flow:

You initiate the Fulcio flow and choose "login with OIDCProxy.com"
It opens a window, which prompts you to login to OIDCProxy.com.  You could stick it in KMS or something which helps a little. The OIDC service can then be pretty simple  doesn't have to keep track of accounts, do 2FA, etc.) and can be stateless.

[...]in comparison to key-based signing, which is another option for non-identity based signing.

Agreed; this is also my recommendation for now.

Is there a particular topic you're looking to get more clarity on that's not already been discussed in other issues?

Ha, fair question :) Mostly I'm looking to:

Centralize discussion (corollary: move it out of issues which can stand on their own)
Track progress: we're encountering demand for such an IdP from various package managers and it is slowing adoption somewhat. It'd be nice to at least have a place to point folks to let them know that there's interest and (hopefully soon) effort.

You complete that flow; OIDCProxy.com then completes the IdP flow for OIDCProxy.com identity == H("GitHub" || your GItHub OIDC ID || salt)

How do you write verification policy for such a scheme? This is my main concern with any pseudonym-based identity. As the original signature creator, you can verify your own signatures since you know what was used to construct the hash. As a verifier, you either need:

The values used to construct the hash, but this defeats the purpose of pseudonymity.
The hash itself, which means you separately need a way to link the hash to the artifact.

The next step would be distributing the hash pseudonymous identity publicly so individuals or ecosystems can create a policy. Options could include:

Distributing the hash via something like GitHub or a personal website. This is fine for an individual developer, but doesn't scale well for identity discover for an ecosystem.
Distributing the hash via the ecosystem.

Distributing the pseudonym identities via the ecosystem opens up another can of worms.

The ecosystem must now support adding per-user pseudonym identities.
Does a developer simply provide their hash to the ecosystem? There's no way to verify that link (which is somewhat the point, but it means the ecosystem must assume that the developer is not compromised and they're providing a pseudonym identity that they actually control).
What happens if the ecosystem is compromised and the pseudonym identities are modified along with the signatures are modified? This would not be detectable via a policy. Whereas if an ecosystem creates policy based on identities it controls, or if it's based on publicly-discoverable identities like an email, then this would be detected (because the signature's identity would not be the identity of the maintainer in either case)

I don't think pseudonym identities are the way to go currently for an ecosystem due to the difficulties with creating verification policies. It's fine for a small developer who doesn't need to write policy at scale, but at that point, I'd encourage GitHub or key-based signing.

Agreed; this is also my recommendation for now.

One other good option is signing originating from GitHub Actions. The certificate is tied to the identity of the GitHub Actions workload, with no user identifiers. I've also begun work on using GitLab as an alternative, since they now support OIDC. This should mitigate some concerns of vendor lock-in.

Distributing the pseudonym identities via the ecosystem opens up another can of worms.

I think these issues can all be mitigated. I'll describe the language package manager setting for clarify.

The ecosystem must now support adding per-user pseudonym identities.

Correct; I don't see this as a dealbreaker.

Does a developer simply provide their hash to the ecosystem? There's no way to verify that link (which is somewhat the point, but it means the ecosystem must assume that the developer is not compromised and they're providing a pseudonym identity that they actually control).

The idea is that the package repository would support OIDC logins, and you could do your initial login/publication for a package manager as<EMAIL_ADDRESS>
What happens if the ecosystem is compromised and the pseudonym identities are modified along with the signatures are modified? This would not be detectable via a policy. Whereas if an ecosystem creates policy based on identities it controls, or if it's based on publicly-discoverable identities like an email, then this would be detected (because the signature's identity would not be the identity of the maintainer in either case)

These pseudonyms would be public (which has its own downsides—metadata can link packages written by the same pseudonymous author), so changes could be detected (possibly using a transparency log or similar). The goal here is consistency: I don't learn that package X was created by developer Y, but I do know that package X was signed by the same developer that signed it yesterday.
I still don't think this is necessarily a good idea, just because "package X written by pseudonymous author Y" is a little bit of a sketchy proposition. Though maybe that's good information for downstream users to have.

One other good option is signing originating from GitHub Actions. The certificate is tied to the identity of the GitHub Actions workload, with no user identifiers. I've also begun work on using GitLab as an alternative, since they now support OIDC. This should mitigate some concerns of vendor lock-in.

👍

These pseudonyms would be public (which has its own downsides—metadata can link packages written by the same pseudonymous author), so changes could be detected (possibly using a transparency log or similar). The goal here is consistency: I don't learn that package X was created by developer Y, but I do know that package X was signed by the same developer that signed it yesterday.

This is an interesting point. This means that package verification becomes trust-on-first-use (TOFU) - A verifier pins an identity, and as long as it doesn't change, it's trusted. I think we should aim to avoid TOFU where possible, because it gives attackers an opportunity for compromise for first-time consumers.
This is also tricky because it makes it hard to change the identity of the signer. Let's say a project transfers maintainers, or maybe simply a set of maintainers rotates who signs the package. There may be a legitimate reason for the identity of the signer to change, but a verification policy can't distinguish between that and a compromise.

"package X written by pseudonymous author Y" is a little bit of a sketchy proposition

Yea, it's a far weaker claim than "package X is written by the same author that published the resource", and the artifact's author is auditable outside of the ecosystem.

I think TUF techniques address both of those problems:

This means that package verification becomes trust-on-first-use (TOFU) - A verifier pins an identity, and as long as it doesn't change, it's trusted.

If we use TUF to manage the delegation to pseudonyms and distribute the trust root with the download tool, it's not really TOFU. And, as in the usual TUF context, a transparency log can help here. The "consistency" property is over the lifetime of the repo, not the verifier's local state.

There may be a legitimate reason for the identity of the signer to change, but a verification policy can't distinguish between that and a compromise.

I think using TUF to manage delegation to pseudonyms would allow for this; you could imagine "a pseudonym can sign over rights to another identity" or "the targets role may delegate to a new identity."
Fundamentally, I see a pseudonym using such a proxy as exactly the same as a login from a standard OIDC provider using a pseudonymous account, inheriting the usual suite of problems and workarounds. This fits nicely with my philosophy of "Fulcio should allow many identity providers, but most consumers should only accept a limited subset of 'golden' IdPs" (but less well with a philosophy like "Fulcio should be quite discriminating about accepting IdPs, so every Fulcio signature has at least some baseline amount of legitimacy").
Caveat emptor, of course. I still think that a true privacy-respecting IdP operated by an organization with a lot of trust would be better, or just having the repository manage pubkeys themselves.

The certificate is tied to the identity of the GitHub Actions workload, with no user identifiers.

In some sense, I'd argue this is just using GitHub Actions as the anonymizing proxy.

I think where I'm getting stuck on is that initial step of an identity delegating trust to a pseudonym. Without an authentication mechanism (e.g. OIDC), it'll be hard to associate an identity with a pseudonym in such a way that prevents anyone (someone not in control of the identity) from creating that association.
I'm just concerned about the complexity of such an approach in comparison to its benefit.

most consumers should only accept a limited subset of 'golden' IdPs

I definitely agree. Given that verification policies aren't well fleshed out though, I'm very hesitant to add any more IDPs that are globally scoped. Adding domain-scoped IDPs are much safer.

In some sense, I'd argue this is just using GitHub Actions as the anonymizing proxy.

The primary difference is the ability to verify the releaser is clearly linked to the release. We could imagine a pipeline where a release is signed by the GitHub identity and is pushed directly to the package repository through Actions. If the package repository is aware of the source repo, a verification policy can be set up to verify the signed release.

Well, you @-mentioned me, so now you get a reply. 🙂
My two cents: This seems like it's just shifting complexity from artifact providers to whoever would run a neutral IdP, and possibly increasing complexity as a result.
Here's the flow I'm imagining if artifact providers are also identity providers:

User provides an OIDC identity token (this might be from GitHub Actions, Google, Microsoft, etc) to the artifact provider.
The artifact provider (e.g. PyPI, npm, RubyGems) can decide to delegate a project identity accordingly. How?

For GitHub Actions, it knows which workflow identities are allowed to assume the project identity
For email-based IdPs, it knows which emails are associated with a given project

The artifact provider provides an identity for the project (not the user!) that can then be used to sign the artifact

This identity won't change as maintainers/environments change

The user can optionally also sign the artifact with any additional identities they have available

e.g. the GitHub Actions identity, their personal Google identity, etc

The user can publish the artifact & corresponding signatures
Consumers can easily verify the signing identities:

the artifact provider signature should correlate to the project name
any build environment signature should correlate to a known build environment (e.g. GitHub Actions)
presumably some out-of-band verification of personal identities could happen

Compare this with (what I understand to be) the flow for a neutral IdP:

User logs into the neutral IdP
Via the neutral IdP, user logs into another IdP (Google, GitHub, etc)
This provides an non-neutral identity token to the neutral IdP
The neutral IdP provides the user with a 'neutral' identity
The user signs the artifact with the neutral identity
(note: up until this point, we haven't actually gotten any information from the artifact provider)
The user publishes the artifact & corresponding signatures
Somehow, the artifact provider knows which 'neutral' identities are allowed to sign a given artifact
Consumers have to assume that the first 'neutral' identity to publish is the trusted identity

Which raises the following questions for me:
I see TUF being proposed to manage the link between artifact -> neutral identity, but what about the reverse? How does the artifact provider know to accept signatures from one neutral identity and reject them from another in the first place, unless this is TOFU?
If the project changes hands, does the 'neutral' identity change or stay the same? If it stays the same, how does the 'neutral' IdP correlate the old and new maintainer identities? If it changes, how does a user distinguish between the project changing hands between trusted maintainers and a compromise where someone who shouldn't be able to sign an artifact has become able?
In the event that we're signing in a non-interactive environment (e.g. GitHub Actions) how does the 'neutral' IdP correlate a build environment identity with a 'neutral' identity, unless the 'neutral' IdP also maintains and stores the same links between a project and its build environment (that the artifact provider would already be maintaining anyway)?


Not reproducing trivial1.c behavior.

Against the latest master branch, in my reproduction of trivial1.c, the assertion in this line fails, which corresponds to not getting MARPA_STEP_INACTIVE from the first call to marpa_v_step
.  Instead, I am getting
"symbol(Marpa.Symbol(id: 0), lhsAddress: 0, tokenValue: nil, sourceRange: Range(Marpa.EarleySet(id: 0)..<Marpa.EarleySet(id: 0)))"
which corresponds to getting MARPA_STEP_NULLING_SYMBOL.
Just before the call to marpa_v_step the valuator looks like this:

and afterwards, like this:

A second call to marpa_v_step does indeed yield MARPA_STEP_INACTIVE.

Looks like the difference is that you called marpa_g_force_valued(), as is highly recommended, since the alternative is deprecated.  My trivial1.c test does not -- it tests the deprecated behavior.
One solution involves you not testing for the deprecated behavior -- that is, deleting those tests.  But there's a gotcha.  Turns out most of the tests in the libmarpa test suite assume the deprecated behavior.  In other words, testing for the behavior I recommend (calling marpa_g_force_valued()) is the exception, and testing for the deprecated behavior is the rule.  Not good.
My suggestion:

I convert the tests so that most of them are for the recommended behavior.
Once I decide which tests use the recommended "force valued" behavior, you delete the others.  Or I may add a new test specifically for the deprecated behavior, in which case you don't have to delete any tests.

Does this plan sound OK?
By the way, I note the issue92[abc] series (recently added) are not in your test suite.  They are regression tests for issue92.

@dabrahams -- the fix is to change the expectations of your test to match those of the (now fixed) trivial1 test.  They can be found starting at this line:
https://github.com/jeffreykegler/libmarpa/blob/6152ae39d6d589afa82931a1c7b9d9ac3bebfbd3/test/simple/trivial1.c#L1067
Note that additional tests are added, which you also may wish to add.
The details:
I'll use FVON is designate the status of a grammar which has called marpa_g_force_valued, as recommended in my API doc.  This is what you were doing but, alas, was not the general practice in my test suite.  In FVON, unvalued tokens are disallowed.  I recommend all downstream users use only FVON grammars.
I'll use FVOFF to is designate the status of a grammar which does not call marpa_g_force_valued.  In FVOFF, unvalued tokens are allowed.  FVOFF status is deprecated.
Your problem arose because you (as I recommend) tested in FVON, while the libmarpa test suite (unfortunately) tested in FVOFF.
As of https://github.com/jeffreykegler/libmarpa/commit/883328b9a4d1e5826583c7928e1e5c93cad8863a, the libmarpa test suite has added a new test depr_unvalued.c, which runs in FVOFF.  All other test programs in the  libmarpa test suite use FVON.  This required converting many of them, including trivial1.c, from FVOFF to FVON.
I suggest that you not attempt to duplicate FVOFF tests.  Specifically, I suggest that you ignore  depr_unvalued.c.
The entire fix is in https://github.com/jeffreykegler/libmarpa/commit/883328b9a4d1e5826583c7928e1e5c93cad8863a, to make it convenient to see exactly what I changed.

@dabrahams -- https://github.com/jeffreykegler/libmarpa/issues/101#issuecomment-1100891535 contains my fix.  Please let me know how it works out.

@dabrahams  I have not heard re https://github.com/jeffreykegler/libmarpa/issues/101#issuecomment-1100892885 and will assume that is good news.  I am marking this issue "about to be closed".  Absent feedback to the contrary, I will close it in a couple of days.

Closed as per https://github.com/jeffreykegler/libmarpa/issues/101#issuecomment-1108516053 and https://github.com/jeffreykegler/libmarpa/issues/101#issuecomment-1108658813.


Saving images takes forever with this node

I have a workflow that uses core comfyui save image and the prompt exectuion time in that is 2.83 seconds if the models are loaded. with the same exact paraemeters and prompt, saving the image with this node, prompt execution time is 21.55 seconds.
I just found ths node today and love it, the metadata saving functionality is super useful, but it would be so much better of saving the file didn't take about 18-19 seconds
Is there a way to optimize that?
I can provide example workflows if needed

I've narrowed down the long save time to the checkpoint being hashed so I decided to add a boolean parameter to decide whether the user wants that or not:
diff --git a/nodes.py b/nodes.py
index ac1114a..c6f0e00 100644
--- a/nodes.py
+++ b/nodes.py
@@ -184,6 +184,7 @@ class ImageSaveWithMetadata:
                 "modelname": (folder_paths.get_filename_list("checkpoints"),),
                 "sampler_name": (comfy.samplers.KSampler.SAMPLERS,),
                 "scheduler": (comfy.samplers.KSampler.SCHEDULERS,),
+                "include_hash": ("BOOLEAN", {"default": False})
             },
             "optional": {
                 "positive": ("STRING", {"default": 'unknown', "multiline": True}),
@@ -210,13 +211,17 @@ class ImageSaveWithMetadata:
     CATEGORY = "ImageSaverTools"

     def save_files(self, images, seed_value, steps, cfg, sampler_name, scheduler, positive, negative, modelname, quality_jpeg_or_webp,
-                   lossless_webp, width, height, counter, filename, path, extension, time_format, prompt=None, extra_pnginfo=None):
+                   lossless_webp, width, height, counter, filename, path, extension, time_format, include_hash, prompt=None, extra_pnginfo=None):
         filename = make_filename(filename, seed_value, modelname, counter, time_format)
         path = make_pathname(path, seed_value, modelname, counter, time_format)
         ckpt_path = folder_paths.get_full_path("checkpoints", modelname)
         basemodelname = parse_name(modelname)
-        modelhash = calculate_sha256(ckpt_path)[:10]
-        comment = f"{handle_whitespace(positive)}\nNegative prompt: {handle_whitespace(negative)}\nSteps: {steps}, Sampler: {sampler_name}{f'_{scheduler}' if scheduler != 'normal' else ''}, CFG Scale: {cfg}, Seed: {seed_value}, Size: {width}x{height}, Model hash: {modelhash}, Model: {basemodelname}, Version: ComfyUI"
+        comment = ""
+        if include_hash:
+            modelhash = calculate_sha256(ckpt_path)[:10]
+            comment = f"{handle_whitespace(positive)}\nNegative prompt: {handle_whitespace(negative)}\nSteps: {steps}, Sampler: {sampler_name}{f'_{scheduler}' if scheduler != 'normal' else ''}, CFG Scale: {cfg}, Seed: {seed_value}, Size: {width}x{height}, Model hash: {modelhash}, Model: {basemodelname}, Version: ComfyUI"
+        else:
+            comment = f"{handle_whitespace(positive)}\nNegative prompt: {handle_whitespace(negative)}\nSteps: {steps}, Sampler: {sampler_name}{f'_{scheduler}' if scheduler != 'normal' else ''}, CFG Scale: {cfg}, Seed: {seed_value}, Size: {width}x{height}, Model: {basemodelname}, Version: ComfyUI"
         output_path = os.path.join(self.output_dir, path)

         if output_path.strip() != '':

But I've ran into some issues, the node is not working anymore and the console is saying this:
Failed to validate prompt for output 40:
* (prompt):
  - Value 0 smaller than min of 1: quality_jpeg_or_webp
  - Failed to convert an input value to a INT value: counter, %Y-%m-%d-%H%M%S, invalid literal for int() with base 10: '%Y-%m-%d-%H%M%S'
* Save Image w/Metadata 40:
  - Value 0 smaller than min of 1: quality_jpeg_or_webp
  - Failed to convert an input value to a INT value: counter, %Y-%m-%d-%H%M%S, invalid literal for int() with base 10: '%Y-%m-%d-%H%M%S'

I made a fork of the repo excluding the hash part as a whole

I was mad with how much time it required to save. Thanks for the hint.
If you wanna keep the hash, you can add a small cache to the hash function, so the value is only calculated the first time (until you restart the comfyui server).
hash_cache = {}
def calculate_sha256(file_path):
if file_path in hash_cache:
return hash_cache[file_path]
sha256_hash = hashlib.sha256()

with open(file_path, "rb") as f:
    # Read the file in chunks to avoid loading the entire file into memory
    for byte_block in iter(lambda: f.read(4096), b""):
        sha256_hash.update(byte_block)

hash_value= sha256_hash.hexdigest()
hash_cache[file_path] = hash_value

return hash_value

This 'fast' saving introduces another problem when you are saving several images with the same seed at the same time (It happens to me with 'Load prompt from file' from Inspire Pack), as the time used for the filename is the time of saving (not the time of generation) and images overwrite other images saved at the same second.
A dirty hack to avoid the problem could be to check in save_images if the file exists before writing
def save_images
   ...
   while os.path.exists (os.path.join(output_path, filename)):
      filename= "x"+filename


Use with redux-router

Is it possible to provide multireducerKey when my container is used as route component in redux-router?
Example (it doesn't work of course):
<ReduxRouter>
  <Route path="/orders" component={OrdersList} multireducerKey='orders'/>
  <Route path="/users" component={UsersList} multireducerKey='users'/>
  ...

Anything like that is possible or I need to create wrapper page component for my multireducer container?

Does redux/react-router pass props down like that? Maybe check in the React devtools to see if the prop is making it all the way to the component. If it is, I don't see why it wouldn't work.

Unfortunately I didn't find any relevant info in any of the projects (redux-router, react-router) so I assume it is not possible/supported. Now I'm using wrapper approach but as soon as I find any better solution I'll post it here.

+1

I found this relevant comment from ryanflorence. Perhaps we could customize where multireducer looks for the key inside props?

Hello, I'm working on a new version of multireducer, in the version you can do this:
<Route path="/orders" component={OrdersList} as='orders'/>

const mapStateToProps = (state, { route }) => ({ list: state.listCollection[route.as] })

As v3.0.0 released, I'm closing this issue.


Unable to save the page rotation after rotating the pdf in pdfjs viewer

When i'm trying to rotate the pages in viewer, it is working fine but if i refresh the browser after rotating, pages were setting back into the previous positions. How can i solve this problem?

Closing as duplicate of issue #5927.


:seedling: Condition for missing rootDeviceHints of HetznerBareMetalHost

What this PR does / why we need it:
Add Condition for missing rootDeviceHints of HetznerBareMetalHost
Which issue(s) this PR fixes
Fixes #1174

@janiskemper I started with a PR. This gets called for hbmhs which are in-use. But a hbmh which is not in-use seems to be ignored. I guess Reconcile() does not get called.

@guettli we usually create draft PRs. Since your linting still fails because of spelling mistakes, I would have thought that a draft PR is more appropriate.

This gets called for hbmhs which are in-use. But a hbmh which is not in-use seems to be ignored. I guess Reconcile() does not get called.

@guettli we usually create draft PRs. Since your linting still fails because of spelling mistakes, I would have thought that a draft PR is more appropriate.

The PR is a draft now.
@janiskemper what about this:
The conditions gets called for hbmhs which are in-use. But a hbmh which is not in-use seems to be ignored. I guess Reconcile() does not get called.
Is it ok like this, or should the new method be called for hbmhs which are not in use, too?

yes, definitely and especially for the ones that are not in use!


Specs are run even if a Pry session is still active

I think this issue only appeared recently.
When I insert a binding.pry command into my specs and guard-rspec initiates the specs and once they hit the binding.pry command, a Pry REPL session is opened (this is completely normal).
However, when I modify any other spec file while the Pry session is active, the specs are run again - ignoring the fact that Pry is waiting for input. This creates a weird problem so that the console window that has guard running in it, no longer displays the input I enter. Even if I Ctrl+C out of guard and get my bash prompt line, entering something on my keyboard no longer shows the characters. I can still type exit and hit Enter and it will work, but nothing is displayed.
Here's my bundle:
https://gist.github.com/1606886

The problem seems to have gone away when I restarted my machine. I'll post more details if this happens again.

Ok feel free to re-open this issue if that happens again.


Return error from twirp.WriteError

Moving discussion from the PR as @spenczar requested.
Recap:
Current implementation of twirp.WriteError does not return any error occurred while writing the TwirpError.
HumorWriteError does not return the error if an error occurs while writing the error.
Since the public API currently returns nothing, all existing code looks like
twirp.WriteError(resp, err)

As no return is being processed, adding a return to this method will not break existing code.

You're right that it won't break most code. The only exception would be that the function's type changes, so if someone has a var w func(*http.ResponseWriter, error) = twirp.WriteError, that code will break. That seems pretty unusual, and the function is new enough that it might be safe to modify without any significant changes.
It's a bit of a violation of semver to make this part of a minor release, but I think it might be a forgivable one.

Oh, and in case it isn't obvious - yes, it should return an error if it fails to write.


Feat/Upgradable kakarot

Putting kakarot behind an OZ proxy contract.
Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[X] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Kakarot.cairo is not deployed. Instead we generate its class hash and use it as an implementation for an OZ proxy contract.
Added a new protocol deployment script using starknet.py

Other information

Deploying the proxy on goerli works fine.
However I'm having issues with the Proxy deployment process in the integration tests atm.
(There aren't any helpful error messages. Might take a while to debug this one)


Improve readability of example code

A minor change to the example in the README files. I believe it shouldn't have any blockers. Thanks !
Example (Main) -
C:\Users\kunni\pocketpy>try.exe
Hello world!
610

Example (Branch) -
C:\Users\kunni\pocketpy>try.exe
Hello world!
Sum of the list: 6
Sum of 2 variables: 10

Sorry not sure how other commits got added here, I'll make a quick fix.

Thanks for your work :)


YARN-9469. Fix typo in YarnConfiguration.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
0
Docker mode activated.

-1
patch
7
https://github.com/apache/hadoop/pull/734 does not apply to trunk. Rebase required? Wrong Branch? See https://wiki.apache.org/hadoop/HowToContribute for help.

Subsystem
Report/Notes

GITHUB PR
https://github.com/apache/hadoop/pull/734

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-734/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.


Write instrumentation for size

Write a reduction to calculate the size usage of the hash tables.

@tomtseng added support in #25


Problem with expiring SAS Token image URLs

Hi,
The images sent by Company Communicator are expiring after 7 days, how can I change the expiry time of the URL of the images?
Is this configurable in application code?
Communicates sent after 7 days are without the images and only have the text.

Hi @Lestriffe , The official company communicator does not have any dependency on SAS token. Could you please check which repo did you used during deployment?

Hi, @v-royavinash
I did the deployment following the documentation for version 5: https://github.com/OfficeDev/microsoft-teams-apps-company-communicator/wiki/Deployment-guide
My problem is exactly the same questioned also in this link: https://github.com/cristianoag/microsoft-teams-apps-company-communicator/issues/33
I'll set the mentioned ImageUploadBlobStorage settings to FALSE to check if it will work.

Hi @Lestriffe ,
The official repository of company communicator doesn't use any SAS tokens for sending the images which are uploaded manually. The approach is different from the one which is present in Cristiano's repository.
Thank you.


Add more types of APG

Pls

More blocks like this will be added, but for now the main focus is on how
the mod functions.


Run tests during CI

What this PR does / why we need it:
Previously we only tested if we could build correctly, now we also run tests.
Which issue this PR fixes
fixes #45

Woops, forgot that we needed to get the source before


feat: Added bundleInfoJsonPath plugin option

This PR adds the following plugin option:
bundleInfoJsonPath?: string

If set, the plugin will write a JSON file containing information about the built bundles to the specified path in the output directory. This can for example be useful for dynamically injecting content scripts/styles from background scripts.

Released in https://github.com/aklinker1/vite-plugin-web-extension/releases/tag/v4.2.0!


Add support to query, whether flow log associated with VPC in alicloud_vpc.

it will be great to query to know if VPC flow log is associated or not for each VPCs
Application table
https://hub.steampipe.io/plugins/turbot/alicloud/tables/alicloud_vpc
Ref
CIS 1.0.0  - 3.3 Ensure VPC flow logging is enabled in all VPCs (Manual)
2.5 Ensure virtual network flow log service is enabled (Manual)

It will be a new table ,vpc_flow_log.


Slash Commands not working

Slash Commands not working whatever i try

Please provide additional details, any errors, etc. how did you invite the bot?

Nevermind please check out this repository for slash commands.


[REQUEST]

Openbullet 2 - Native.
Can make the Number of hits (like openbullet 1, can show the number of hits for a config when we click on it) instead of Total hits in Openbullet 2 ?

I don't understand what you mean, please provide more information with screenshots


feat: Added message functionality to pass stream log data

Description
This pull requests adds a new message capability in order to send log without having a file.
This is used in the context of a browser extension I am developing to display trace directly in the developer tools (https://github.com/swisscat/sf-xp-debugger). The log-viewer is used within an iframe and is passed the log contents.
Type of change

[ ] Bug fix
[X] New feature
[ ] Breaking change

Changes

Added new message 'streamLog'

Any images/ gifs (if appropriate)

resolves #168 #172

@swisscat
Thanks for contributing, it looks good.
Due to the nature of the change I think we can skip the change log update.
But would you mind creating an issues to go along with the PR and add resolves#issue number 😄

@lcotterffdc , thanks. I created the issue https://github.com/financialforcedev/debug-log-analyzer/issues/172 but am not aware of how to add the resolves thingy, feel free to do it and/or remove my issue.
Regards,

@lcotterffdc , thanks. I created the issue #172 but am not aware of how to add the resolves thingy, feel free to do it and/or remove my issue. Regards,

I created #168 to cover it :) I have closed #172


[5.3] Forgot password email template change not working.

Laravel Version: 5.3.6
PHP Version: 7.0.8
Database Driver & Version:

Description:
By default Auth functionality which comes with default forgot password flow. in previous version we can easily change the template of forgot password email by changing values in config/auth.php . now in new version 5.3 it is not using those config variable. it is using auth Default template notification::email.blade.php.

You can publish this view and edit it as you wish.
Closing since it's not a bug report, but feel free to bing me if you need more details.


optional 'extra_on' parameter added to defining 'joins' for find() method (and related to find())

This feature allows to add extra conditions in JOIN ... ON clause.
It makes sense only while using the LEFT JOIN or RIGHT JOIN. Default JOIN is equivalent of INNER JOIN and in this case using conditions in ON clause has the same effect as using it in WHERE clause.
Still - some more flexibility there.

Thanks for this. Haven't been able to test it yet. If someone else can validate it doesn't break anything, I'm very happy to merge it in! :)


The code does not converge when the batch size is small

Dear author, hello! The default batch size of your code is 1024. I found in experiments that the code does not converge when the batch size is set to 128 or 256.

@sccdnmj, thanks very much for your interest in our work!
Actually, this is a great question to grasp the mechanism and core of our proposed method.
This is, from my perspective, somewhat expected. Please keep in mind that as we use multiple crops from each image to compose a mini-batch, so the actual number of loaded images in a mini-batch will be #batch-size/#num_crops, that is to say, for bs=128 and num_crops=4, you actually only load 32 images in every mini-batch for one training iteration. This proposed technique can facilitate data loading and speed up training, but the drawback is that the diversity in a mini-batch will be lower than the vanilla strategy using 128 randomly-sampled images. It's alright if the batch size is large enough, but it will be amplified when the bs is too small, and also the excessively small batch size on each GPU will harm BN training.
I suggest to train with bs=512, 1024, or larger. If you have to train with a small batch size for some reason, like GPU memory limit, there are two ways that may be effective to help this: (i) add warmup technique which is not used in our basic setting on ResNet; (ii) try to use smaller --num_crops hyperparameter, for instance, set --num_crops 1 (I have a quick test on bs=128, num_crops=1 with one GPU, the model starts to converge well).


Cannot connect to DB locally

Hi @adnanrahic ,
In your tut you're able to run your functions locally and connect to the DB. I'm unable to, so I was wondering if you're doing anything special to achieve this?
When I deploy the function I'm able to connect to the DB.
Thanks 🤔

Ditto on this matter

Yo @antonhalim so my work around for this is as follows:

I have a regular RDS MYSQL instance that falls under the free tier for when I'm developing locally.
Then I use Aurora serverless for when I ship my app into dev and prod.
So theoretically speaking I have three databases in total for local, dev and prod stages.

Also whatever ORM he was using was giving me issues so I just ended up using Serverless MYSQL
Lastly, if you wanna make raw queries to the regular RDS instance I use MYSQLWorkbench


permissions for  az ad user show

what graph permissions are required for az ad user show to work?
I'm using az cli with a service principal and have granted this service principal the following API Application permissions

Directory.Read.All
User.Read.All

but when running az ad user show I get an error
cli.azure.cli.core.util : Insufficient privileges to complete the operation.
Insufficient privileges to complete the operation.
I'm not sure what other permissions this command needs because according to https://docs.microsoft.com/en-us/graph/permissions-reference#user-and-group-search-limitations-for-guest-users-in-organizations the permissions I've granted should be enough when calling
urllib3.connectionpool : https://graph.windows.net:443 "GET /ced47db0-xxxxxxx/users/abelal83%40mycompany.com?api-version=1.6 HTTP/1.1" 403 219

@jiasli  add to S162.

Please also see https://github.com/Azure/azure-cli/issues/6058#issuecomment-379888615. Make sure the permission is granted for Azure Active Directory Graph as Azure CLI currently uses Azure Active Directory Graph instead of Microsoft Graph.
After granting Azure Active Directory Graph -> Directory.Read.All, I am able to use az ad user show --id {} correctly.

Please also see #6058 (comment). Make sure the permission is granted for Azure Active Directory Graph as Azure CLI currently uses Azure Active Directory Graph instead of Microsoft Graph.
After granting Azure Active Directory Graph -> Directory.Read.All, I am able to use az ad user show --id {} correctly.

It worked here for me... I wasn't using this one as it states "deprecated" ...
Thanks.


WIP: Polaron dispersion functionality

This pull request (re-)introduces polaron tracking functionality into the codebase. It is available for all Solver types, at both zero and finite T. Tests are also included. The "scipy fit" method is used for the fit.
Also added are the processing of dispersion function results, and an effective mass fit (untested).
Have not yet tested "black" and other simple checks and still missing some tests, and no documentation yet -- hence the WIP tag.

@Chiffafox this is really great, thank you. My two main concerns are:

Checks are failing 😁
There seems to be a ton of repetition between base.py and solvers.py. I didn't do a diff check to see just how much but I can't imagine we can't somehow golf this down a bit.


Upgrading to amazonka-<IP_ADDRESS>

Needs a more thorough discuss (https://github.com/brendanhay/amazonka/compare/<IP_ADDRESS>...<IP_ADDRESS>)
Fixes #220
ambiata/bucket#13

Main upgrades that will affect mismi

100 continues on putBody requests
GetBucketLogging fix
ListObjects for STANDARD_IA fix
new libraries - waf / kinesis-firehose / inspector / marketplace-analytics / iot

/cc @markhibberd @charleso @EduardSergeev

:+1:

:+1:

If someone wants to go ahead with this, current plan is to lock down stable versions of juice/eagle/etc in prod. Upgrade this and unlock versions for certain environments going forward

NB - this is on hold until twine changes are rolled through, and multipart copy is done

As discussed on #258, will close this for now


Feature request: native inventory support

Currently all the group and host vars are described in a configuration file. That's fine for individual role testing but can be a showstopper for infrastructure testing. Let's say you playbook takes host/group vars or even facts from some real hosts, it could be a good idea to test it but that's not currently possible with molecule.

That's fine for individual role testing

Thats what this project does.  It performs individual role tests. 😁
If you wish to test "real inventory" you can use the group_vars flag in the config file, which for some reason doesn't appear to be documented properly.  You can simply point your role to a directory containing ansible group vars.
Hosts still perform fact gathering with either scenario, but this is a little more of a real test.
molecule:
  group_vars: ../../../inventory/my_az/group_vars/

Not sure if this also works with host vars, for some reason I doubt it, but is correctable.
/cc @rgreinho

@hryamzik does this perform what you expected?

Also, it appears with ansible 2.x, you can create a group_vars or host_vars directory in the root of your project, and it will just work.  I'm surprised that is the case, but it seems to work for me locally.

Sorry for late response, didn't have time to check this out. I want to test some real hosts with molecule, not just single roles. Let's say I have backups for several hosts and there backup related variables are in host_vars. I want to restore backups for all these hosts one by one to a special test server. Restoring means running a restore role with parameters from host_vars of each host from the db_backuped group.

Ya,  try what I suggested.  Should work.


Quick start tutorial: make an RRP call

Another “Quick Start” tutorial on making an RRP call, though we do have them in QRNG, in repos examples, e.t.c.

The quick start guides have been updated with links to the other guides on making an RRP call.


Local state or redux state is lost in setValue

`
import React, { useState } from "react"; import { StyleSheet, View, FlatList } from "react-native";
import DropDown from "react-native-paper-dropdown";
function App() {
const [showDropDown, setShowDropDown] = useState(false);
const [gender, setGender] = useState();
const [dishes, setDishes] = useState( [
{
title: "Main dishes",
data: ["Pizza", "Burger", "Risotto"]
},
{
title: "Sides",
data: ["French Fries", "Onion Rings", "Fried Shrimps"]
},
{
title: "Drinks",
data: ["Water", "Coke", "Beer"]
},
{
title: "Desserts",
data: ["Cheese Cake", "Ice Cream"]
}
]);
const setValue = (v) => {
console.log(dishes) //here sometimes getting empty array
}
return (
<FlatList
data={dishes}
renderItem={({item,index})  =>  <DropDown label={"Dishes"} mode={"outlined"} visible={showDropDown} showDropDown={() => setShowDropDown(true)} onDismiss={() => setShowDropDown(false)} value={v} setValue={setValue} list={item.data} />}
  />

);
}
`
Sometimes I'm getting redux state or local state empty in setValue. Please help explaining the issue & a solution if possible.
Thanks

@Softkeydel i'm facing the same issue? Have you fixed it?

I made a fix: https://github.com/tonixlaw/react-native-paper-dropdown/commits/master/src/DropDown.tsx


oSql develop author - 30 Mar 20

Pulling Changes :

[x] [ Added ]  java documentation
[x] [ Modified ]  output jar file name to match the project
[x] [ Modified ]  build.xml to include license and java doc in the archive

Tested the code and checked


Windows native builds fail to find crypto.lib and ssl.lib

I thought is would be "fun" to try and build quiche natively on Windows. After getting a bunch of perequisites installed (mainly for BoringSSL), I tried cargo build and saw a failure about linking crypto.lib and ssl.lib. A snipped build log
Running `rustc --edition=2018 --crate-name quiche src\lib.rs --color always --crate-type lib --crate-type staticlib --crate-type cdylib --emit=dep-info,link -C debuginfo=2 -C metadata=8d06e7d205e490ea --out-dir C:\Users\lucas\dev\GitHub\quiche\target\debug\deps -C incremental=C:\Users\lucas\dev\GitHub\quiche\target\debug\incremental -L dependency=C:\Users\lucas\dev\GitHub\quiche\target\debug\deps --extern lazy_static=C:\Users\lucas\dev\GitHub\quiche\target\debug\deps\liblazy_static-bb983748a81ac3f1.rlib --extern libc=C:\Users\lucas\dev\GitHub\quiche\target\debug\deps\liblibc-017498fec30aa81b.rlib --extern log=C:\Users\lucas\dev\GitHub\quiche\target\debug\deps\liblog-59ca255ca262bf24.rlib --extern ring=C:\Users\lucas\dev\GitHub\quiche\target\debug\deps\libring-8cd0ab404e521245.rlib -L native=C:\Users\lucas\dev\GitHub\quiche\target\debug\build\quiche-ef19236eef6de95c\out/build/crypto -L native=C:\Users\lucas\dev\GitHub\quiche\target\debug\build\quiche-ef19236eef6de95c\out/build/ssl -l static=crypto -l static=ssl -L native=C:\Users\lucas\dev\GitHub\quiche\target\debug\build\ring-7f8077d125f4de1f\out`

error: could not find native static library `crypto`, perhaps an -L flag is missing?

This seems to be an issue caused by the way Cmake is building BoringSSL. The files are actually dumped into a Debug folder e.g.
C:\Users\lucas\dev\GitHub\quiche\target\debug\build\quiche-ef19236eef6de95c\out/build/ssl/Debug

and for the release build, the output is dumped in a RelWithDebInfo folder e.g.
C:\Users\lucas\dev\GitHub\quiche\target\release\build\quiche-ef19276eef6de95c\out/build/ssl/RelWithDebInfo

Hacking these values manually into src/build.rs lets me do a successful build e.g.
let crypto_dir = format!("{}/build/crypto/RelWithDebInfo", bssl_dir);

However, that is not a viable solution.

This is probably because of a known bug in the cmake crate https://github.com/alexcrichton/cmake-rs/issues/18


upgrade to nom 4

I am not familiar with nom at all, but upgrading to nom 4 will drop a lot of old transitive deps (many of which can't work with wasm targets); the major change in nom 4 appears to be IResult -> Result iiuc?

Here's a guide; again I don't understand much: https://github.com/Geal/nom/blob/master/doc/upgrading_to_nom_4.md

Thanks for the issue - I had previously tried to upgrade to nom 4, but there were some changes to how Incomplete was working which prevented me at the time. I think these issues might have been resolved, so will have a go at migrating some time soon.

Published v4.0.0 to crates.io, built with nom 4.1.

Wow that was fast, great work !