2pc example doesn't parse on macOS

> fizz ./examples/fizz/two_phase_commit.fizz

line 5:4 mismatched input '' expecting {'None', 'lambda', 'not', 'await', 'print', 'exec', 'True', 'False', 'any', '...', '+', '-', '~', STRING, DECIMAL_INTEGER, OCT_INTEGER, HEX_INTEGER, BIN_INTEGER, IMAG_NUMBER, FLOAT_NUMBER, '(', '{', '[', NAME}
line 5:4 extraneous input '' expecting {DEDENT, 'def', 'return', 'raise', 'from', 'import', 'nonlocal', 'global', 'assert', 'if', 'while', 'for', 'try', 'None', 'with', 'lambda', 'not', 'class', 'yield', 'del', 'pass', 'continue', 'break', 'async', 'await', 'print', 'exec', 'True', 'False', 'atomic', 'serial', 'parallel', 'oneof', 'any', 'action', 'func', 'fair', 'require', 'init', 'role', 'symmetric', 'invariants', 'always', 'eventually', '...', '*', '+', '-', '~', '@', STRING, LABEL, DECIMAL_INTEGER, OCT_INTEGER, HEX_INTEGER, BIN_INTEGER, IMAG_NUMBER, FLOAT_NUMBER, '(', '{', '[', NAME}
line 9:4 mismatched input '' expecting {'None', 'lambda', 'not', 'await', 'print', 'exec', 'True', 'False', 'any', '...', '+', '-', '~', STRING, DECIMAL_INTEGER, OCT_INTEGER, HEX_INTEGER, BIN_INTEGER, IMAG_NUMBER, FLOAT_NUMBER, '(', '{', '[', NAME}
line 9:4 mismatched input '' expecting <EOF>
Error: Compilation failed

Turns out many of the higher numbered tutorials don't work either.
(Built on Mac M2)

Thanks for filing the issue. Yes, the examples in fizz directory may not work. They were created well before the actual implementation started as PoC for the language. I'll remove these files shortly.
The tutorials with higher numbered ones are expected to work, let my check that again. Do you have a specific example and what error it says.

I discovered the problem.  It was picking an earlier version of python (3.9) instead of 3.12.
The model checker successfully parses the tutorials now, and most run successfully, but there were some failures that I will document as a separate issue.
As for the parsing issue, the 2PC examples still have trouble parsing, exactly as documented earlier.

Thanks. I am removing these old files.
https://github.com/fizzbee-io/fizzbee/pull/63


Scoop package

Added in https://github.com/fujiapple852/trippy/blob/master/scoop/trippy.json

Official package should be added to https://github.com/ScoopInstaller/Main

Requested: https://github.com/ScoopInstaller/Main/issues/4809


In “Writing Custom Rules” not clear how to apply the rule

In the Writing Custom Rules section, it's not clear how to actually make the custom rule work with eslint config. The way recommended by the eslint documentation is to create a separate npm module for a plugin, which seems like overkill to me.
This is how I ended up doing it through monkey patching in .eslintrc.js
const rule = require('.myRule.js');
const graphqlPlugin = require('@graphql-eslint/eslint-plugin');
graphqlPlugin.rules['my-rule-name'] = rule;

This seems kinda janky, but it works. Is it the intended way? Thank you for your work!


Emails displayted after uploading and tagging

Personal emails are displayed after uploading and annotating a document. Not a serious issue I just don't know why this would be the case.

@dylanking42 that's odd - can you send a screenshot? I feel like that's kind of serious; I just went on and looked at your annotations but don't see your email address, just your username.


updated tests and schema

In this branch I :

Updated the unit tests for books and musicAlbum.
Updated the schema file.

thank you @Mike111222


Left-associativity

Consider the expression grammar given by the set of rules:
Expression ::= AdditiveExpression
AdditiveExpression ::= MultiplicativeExpression (AdditiveOperator AdditiveExpression)*
MultiplicativeExpression ::= TermExpression (MultiplicativeOperator MultiplicativeExpression)*
TermExpression ::= Literal
AdditiveOperator ::= Plus | Minus
MultiplicativeOperator ::= Asterisk | Slash

The rules would imply that the precedence from highest to lowest would be:

MultiplicativeOperator
AdditiveOperator

But since the grammar mustn't contain left-recursion, all operators are right-associative by default. This would roughly translate to:
this.RULE("Expression", () => {
	return this.SUBRULE(this.AdditiveExpression);
});
this.RULE("AdditiveExpression", () => {
	const operators = [];
	const lhs = this.SUBRULE(this.MultiplicativeExpression);
	const rhs = this.MANY(() => {
		operators.push(this.CONSUME(AdditiveOperator));
		const rhs = this.SUBRULE2(this.AdditiveExpression);
		return rhs;
	});
	return rhs.reduce((r1, r2, i) => {
		const operator = operators[i];
		if (operator instanceof Plus) {
			return new Add(null, r1, r2);
		}
		else {
			return new Subtract(null, r1, r2);
		}
	}, lhs);
});
this.RULE("MultiplicativeExpression", () => {
	const operators = [];
	const lhs = this.SUBRULE(this.TermExpression);
	const rhs = this.MANY(() => {
		operators.push(this.CONSUME(MultiplicativeOperator));
		const rhs = this.SUBRULE2(this.MultiplicativeExpression);
		return rhs;
	});
	return rhs.reduce((r1, r2, i) => {
		debug(r1, r2);
		const operator = operators[i];
		if (operator instanceof Asterisk) {
			return new Multiply(null, r1, r2);
		}
		else {
			return new Divide(null, r1, r2);
		}
	}, lhs);
});
this.RULE("TermExpression", () => {
	return this.OR([{
		ALT: () => this.SUBRULE(this.Literal)
	}]);
});

Question: I'm aware I can't have left-recursion, but what's the simplest approach to making some operators left-associative? Does chevrotain come with any DSL that would help keeping it as non-verbose as possible?

Have a look at this calculator example grammar it handles operator precedence.
https://github.com/SAP/chevrotain/blob/master/examples/grammars/calculator/calculator.js
Its the same pattern as used in Antlr3 and most Top Down parsers which does not support Left recursion.
Antlr3 Java Grammar expressions Example
You can also consider to not embed precedence into the grammar.
The disadvantage of this pattern is that it creates some fairly deep parse trees.
Alternative
The Swift programing language takes an interesting approach to solve this complexity
by removing the operator precedence logic from the grammar altogether.
See:
https://developer.apple.com/library/prerelease/content/documentation/Swift/Conceptual/Swift_Programming_Language/Expressions.html#//apple_ref/doc/uid/TP40014097-CH32-ID383

Note
At parse time, an expression made up of binary operators is represented as a flat list. This list is transformed into a tree by applying operator precedence. For example, the expression 2 + 3 * 5 is initially understood as a flat list of five items, 2, +, 3, *, and 5. This process transforms it into the tree (2 + (3 * 5)).

Thanks! I was working with the calculator example already, but I noticed that I've had a slight mistake in my grammar. Specifically, I accidentally had it saying

AdditiveExpression ::= MultiplicativeExpression (AdditiveOperator AdditiveExpression)*

as opposed to:

AdditiveExpression ::= MultiplicativeExpression (AdditiveOperator MultiplicativeExpression)*

and the same was also true for MultiplicativeExpression.
What Swift does is actually a very interesting approach; thanks a lot for providing this link. 😄
Precedence and associativity are two fundamentally different concepts, though, aren't they? I thought that precedence is the question about whether which of different operators gets evaluated first, and associativity is a question about which of two equal operators is evaluated first. The calculator example only solves the precedence by using this right-recursive grammar pattern I screwed up. 😃
I can't see how the example would solve left vs. right associativity though. As a matter of fact, all operators provided by the calculator are left-associative. How would you add ^ (exponentiation) to the calculator?
I actually found an impressively simple way to control associativity: Folding:
Left-associative operators
return [lhs, ...rhs].reduce((r1, r2, i) => {
	const operator = operators[i];
	if (operator instanceof Plus) {
		return new Add(null, r1, r2);
	}
	else {
		return new Subtract(null, r1, r2);
	}
});

Right-associative operators
return [lhs, ...rhs].reduceRight((r1, r2, i) => {
	const operator = operators[i];
	if (operator instanceof Plus) {
		return new Add(null, r1, r2);
	}
	else {
		return new Subtract(null, r1, r2);
	}
});

Note that the only thing I needed to change was reduce → reduceRight to make it right-associative.

Precedence and associativity are two fundamentally different concepts, though, aren't they?

Yes, I'm sometimes a bit too focused on syntax and syntax is sometimes used for Precedence handling.
Associativity is more about what you do with the syntax you parsed.


About code

Is the current code the full version? I see you said it will be updated. Can you provide a guide on how to reproduce the results using code? Thanks

Thank you for your interest in our work.
The current code can reproduce the results following Instruction.
I have now updated the evaluation code to that repo, and updated the Evaluation accordingly.
If you have any other questions, feel free to ask.


How to fix page.onErrors

Which version of PhantomJS are you using? Tip: run phantomjs --version.
2.1.1-macosx
What steps will reproduce the problem?
1.driver.get(url);
Which operating system are you using?
macosx - sierra - 10.12.5
Did you use binary PhantomJS or did you compile it from source?
Using PhantomJsDriver in Java
Please provide any additional information below.
Errors -

page.onError - msg: Unhandled promise rejection Error: bad status 408
phantomjs://platform/console++.js:263 in error
[ERROR - 2017-06-14T10:51:37.315Z] Session [64448f30-50ef-11e7-abb5-21294f3b1b4a] - page.onError - stack:
e (https://ii.xyz.com/dfw/63fd9f59-96d1/9d29b812-44ff-488d-8af7-dd4c916a302f/v1/core1p.min.bundle.6460cb903557b77bb8b260dc99c82a0b.js:7)
append (https://ii.xyz.com/dfw/63fd9f59-96d1/9d29b812-44ff-488d-8af7-dd4c916a302f/v1/core1p.min.bundle.6460cb903557b77bb8b260dc99c82a0b.js:7)
(anonymous function) (https://ii.xyz.com/dfw/63fd9f59-96d1/9d29b812-44ff-488d-8af7-dd4c916a302f/v1/core1p.min.bundle.6460cb903557b77bb8b260dc99c82a0b.js:7)
forEach (:0)
l (https://ii.xyz.com/dfw/63fd9f59-96d1/9d29b812-44ff-488d-8af7-dd4c916a302f/v1/core1p.min.bundle.6460cb903557b77bb8b260dc99c82a0b.js:7)
onload (https://ii.xyz.com/dfw/63fd9f59-96d1/9d29b812-44ff-488d-8af7-dd4c916a302f/v1/core1p.min.bundle.6460cb903557b77bb8b260dc99c82a0b.js:7)

Any information on how to resolve the above would be really really helpful.

Can any one please help with this issue of mine? Atleast any pointers?


Clicking on mutations isn't going to the database website

Probably something is wrong with the on-click behavior.

Fixed it. Accidentally removed onclick event when I was adding onhover events.


Question: Is it possible to load pdf from binary data?

It would be very nice option, cuz now I should save it to File first.
Thanks.

Yes, I agree with TS it'll be very useful feature.
I already saw the function "FPDF_LoadMemDocument" in pdfium that can load pdf from bytes and can be used instead of "FPDF_LoadCustomDocument".

I really need this feature.
For security reasons I don't want to save my byte array in a file.

@misaghE you can send pull request. Older versions of PdfiumAndroid used FPDF_LoadMemDocument, but it didn't work good.

@barteksc
Tried to add FPDF_LoadMemDocument.
That solved my issue but I had one problem with open pages cause ptrs were NULL.
Just replaced one page opening to all pages and it works!

can anyone show an example how to view a pdf when you have a byte array and can't save it as a file on a disk?

Version 2.3.0 introduced possibility of loading documents from binary data.


Lifecycle of NonLazy instantiated dependencies

I assume all objects instantiated are garbage collected when the instance holding the reference is garbaged collected.
Looking at the NonLazy() greeter example: When is a NonLazy() instantiated object garbage collected? Immediatly if there is no dependency holding it? Is a AsSingle().NonLazy() instantiated object garbage collectable?

Like any object, it becomes eligible for garbage collection once it's no longer being referenced by anything. Keep in mind that the context object itself has a reference to your object, so even if it isn't being injected anywhere, your ProjectContext/SceneContext/GameObjectContext will still instantiate the object and keep a references. If you want to avoid that, don't use NonLazy and the object will only be created if it needs to be injected.
Also, you really shouldn't post general questions like these here on GitHub. You should only post bugs or similar concerns here.
From the README:

For general troubleshooting / support, please post to stack overflow using the tag 'zenject', or post in the zenject google group. [...] There is also a gitter chat that you can join for real time discussion.  You can also follow @Zenject on twitter for updates.

There's also a thread on the Unity forums.

Sorry. Won't post those questions as issues anymore. Did not see that.


how to send Data from StepperAdapter to myStepsFragment ?

thanks for awesome third-party library :+1:
i was try to send data from StepperAdapter to fragment like this :
in my stepperAdapter :
switch (position){             case 0:                 final SetTitleFragment setTitleFragment = new SetTitleFragment();                 Bundle b1 = new Bundle();                 b1.putInt(CURRENT_STEP_POSITION_KEY,position);                 b1.putInt("id_from_adapter",10);                 setTitleFragment.setArguments(b1);                 return (Step) setTitleFragment;
in myStepperFragment :
Bundle bundle = new Bundle();
    if (getArguments() != null){
        int id = bundle.getInt("id_from_adapter");
        Toast.makeText(getActivity(),"id_edit = "+id,Toast.LENGTH_SHORT).show();
    }

but i not get the data. the toast result just 0 or NULL
how to do ? please tell me
Thanks

I also need help on the same issue

Hi,
Sorry for not responding sooner.
Could you please explain where you're setting these arguments and where you're reading them in the fragment?

in myStepperFragment :
Bundle bundle = new Bundle();
if (getArguments

This seems a bit suspicious to me i.e. why would you create a new bundle in the Fragment?
Passing the position to each fragment can be done as in the sample app:
https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/adapter/StepperFeedbackFragmentStepAdapter.kt
https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/step/fragment/StepperFeedbackStepFragment.kt

My question was actually this - How do i best pass data across 2 stepper fragments?

There's a sample in the sample app which you might have a look at:
https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/PassDataBetweenStepsActivity.kt
https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/adapter/PassDataBetweenStepsFragmentStepAdapter.kt
https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/step/fragment/PassDataBetweenStepsFirstStepFragment.kt
https://github.com/stepstone-tech/android-material-stepper/blob/master/sample/src/main/java/com/stepstone/stepper/sample/step/fragment/PassDataBetweenStepsSecondStepFragment.kt


MJ-Social custom Icon not working

Hi
For some reason I can't get the custom social networks working at all.
<mj-social
            display="custom-network"
            custom-network-icon="https://vodacom-now-blog.s3.amazonaws.com/uploads/image/image/277/facebook.png"
            custom-network-href="http://www.google.com/"
          />

any help would be greatly appreciated.

Hey @dawidvdh,
By default, text-mode is set to true, which means you need to define a content for your social icon.

Note that content is mandatory if text-mode is set to true

You can omit a content by setting text-mode to false.
Please also add an icon-color (you can set it to none if you don't want any.
This MJML code should work:
<mjml>
  <mj-body>
    <mj-container>
      <mj-section>
        <mj-column>
          <mj-social
          display="custom-network"
          text-mode="false"
          custom-network-icon-color="none"
          custom-network-icon="https://vodacom-now-blog.s3.amazonaws.com/uploads/image/image/277/facebook.png"
          custom-network-href="http://www.google.com/" />
        </mj-column>
      </mj-section>
    </mj-container>
  </mj-body>
</mjml>

Let me know if it helps!

Awesome that works thanks!

It works with one icon (one social). How can be work with 4 socials? (for example: facebook, youtube, vimeo and linkedin?
If I paste the code twice the icones align vertically and not horizontally

hey @kaiusvreo, put the different social networks in the same mj-social tag and use mode="horizontal" to display the icons side by side: https://mjml.io/documentation/#mjml-social

ngarnier, thanks so much for your reply,
I understand how it works, and it works.
I have only one thing to fix, how is possible to change the size of the icon?
My icon is 30x30px but it has the same size of the original icon
https://mjml.io/try-it-live/HkmM46r5x

ngarnier you rock!
thanks so so so so so much!
it's perfect!

These examples do not work anymore. What's changed?

The syntax changed in MJML v4 @Premitium https://mjml.io/try-it-live/components/social

These are the regular icons, what about having custom ones?

https://mjml.io/try-it-live/HJJ9ZeiRz


Hotfix/improve two char layout while editing

Jira
http://vjira2:8080/browse/WWWD-4469
https://app.asana.com/0/1126340469288208/1154819220959437/f
Summary
Add "Layout Refresh" button to Editor; refresh slots after content is added to slots.
Details
This is a rebased version of #1674

PR was released with v2.14.1


Update image_ops_impl.py

Thanks for the fix. PR looks good.
Could you sign the Google Contributor License Agreement so I can approve it: https://opensource.google/documentation/reference/cla#external_contributors?

@vertify-swdev1 Can you please sign CLA. Thank you!

Also, please don't use default "update " message. Make it more descriptive. See https://cbea.ms/git-commit/


None not replaced with NULL

After upgrading from version 0.6.14 to version 0.7.1, queries with named parameters do not replace None with NULL.
You get error messages like:
ERROR, Message: Column "None" does not exist

just pushed 0.7.2 with a fix


Inverse of the results in preds and trues

Thank you very much for all of your work. I am currently trying to inverse the results to get the original data scale. However, using the inverse argument results in the following error for long-term-forecasting. "Found array with dim 3. None expected <= 2." Do you have any idea how to fix it? I am aware of https://github.com/thuml/Time-Series-Library/issues/132 this issue. Thank you very much.

Hi, sorry for the trouble and we've fixed the bug. You can pull and try again.

Thank you very much for fixing it this quickly!!!


Note that Safari has fixed flexbug 1.

Thanks, I may hold off on merging this until Safari 10 is actually released.

@grorg Hey, can you add back in the link as @philipwalton suggested and we'll merge it in. Thanks.

Fixed via 6a2222982bbb8f22fc0c90577be0f42b63dc37cd.

Hey, sorry I didn't do this for you. I've been out for a few days. Thanks for taking it!


fix: move DM status check after infraction.

At present, if a user is issued an infraction which is then cancelled (e.g. due to user having too many points for a Warning without Force), the user will get a notification from JudgeBot as part of the "DMs enabled" check.
I've tested this using ./gradlew test but haven't run it locally otherwise; is there anything more I should do?

LGTM, thanks for the PR :)


Use FFMPEG from PATH instead of PixivUtil2 root folder

Why does the program needs to have FFMPEG.exe inside the root folder when it can use windows PATH to locate FFMPEG? I am running 4 instances of the program in parallel to speed up download speed (so far no issues) and keeping one copy on each it`s pretty annoying.

It already uses your installed ffmpeg, I don't put ffmpeg inside PixivUtil2 root and it works fine.

It already uses your installed ffmpeg, I don't put ffmpeg inside PixivUtil2 root and it works fine.

Then why didnt it convert the ugoira to mkv? It downloaded them as .zip but no conversion. Heres my .ini section:
[Ugoira]
writeUgoiraInfo = False
createUgoira = False
createMkv = True
createWebm = False
createWebp = False
createGif = False
createApng = False
deleteUgoira = False
deleteZipFile = False
and here`s the log:
pixivutil.log

You need to set createUgoira = False to True as well

Yes that fixed it. Thanks


Tortoise on Xaero's MiniMap are displaying as invalid icons

Project
Xaero's Naturalist Icons
Project version
Xaeros Naturalist Icons - 1.20.1.zip
Project release
?? Xaeros Naturalist Icons - 1.20.1.zip
Describe your issue
Tortoise on Xaero's MiniMap are displaying as invalid icons (black and purple, see image attached)
To reproduce issue..
Just install the resource pack, and spawn in a tortoise
Media

Additional context
Add any other context about the issue here.
Umm, playing modded Fabric 1.20.1

wow.. thats an embarrassing mistake lol.. it seems like this was a problem with version 1.19-1.19.2 too.
i've fixed the files and they should be uploaded to modrinth and curseforge shortly, thanks for the heads up!


CONTRIBUTING.md missing/unclear on some practices

What version (commit) do you encounter this issue on?
master (HEAD)
What type of issue is this (bug, feature, documentation, regression)?
documentation
What is the expected behavior?
Expected to find more clarity around some practices discussed previously that some follow, but the document doesn't contain, including:

a bug branch backport naming convention

a step to update the issue/pr template with the new minor release branch after it's created

an rc tag for the new liberty-12.1 branch

master in target branches checklist to be lower case :-)

What is actually happening?

pr branch naming - there is no standard naming convention for bugs' backports branches, which is making a mess of the branches. Sometimes the branch i named bugs/#-liberty, which is now confusing as we have liberty-12.0 and liberty-12.1.  One suggestion might be:  bugs/#/$branch,  i.e. bugs/392/master and bugs/392/liberty-12.0, etc. (this would also allow is to filter different types of prs into different gating functionality)

release workflow - it mentions when to create the minor branch and what to name it, but doesn't mention updating the PR/Issue template to include the new back in the targets checkist

while I'm here, I don't see a r12.0.0rc1 even though we have liberty-12.1 branch. Maybe we forgot. Maybe we made the branch too early, maybe the docs don't account for what happen

because I have OCD, the Master in the branches checklist in the issues template should be master (lower case)

How can we reproduce this issue?
Read CONTRIBUTING.md in master
How can we verify your issue is addressed?

branches for prs are named consistently when you list local or remote branches

the step in about creating minor stable branches and rc tags also includes a step for updating the pr/issue template

I see a 12.1tc tag in git

Master in new issues becomes master :-)

If this is a large issue, what can be done immediately to alleviate the issue while working on a longer-term solution?
N/A
What is your evaluation on the importance of this issue, and why?
Low
What branches / milestones do you believe this issue should target?
The list below is what is currently supported for backports, remove branches you do not wish to target.

[ ] Master
[ ] liberty-12.0
[ ] liberty-12.1
[ ] kilo

I'd say that only master matters for this doc, so can we remove the other branches?

what do you mean by this in expected behavior

an rc tag for the new liberty-12.1 branch

we made the 12.1 branch too early
the other three issues seem valid

"an rc tag for the new liberty-12.1 branch"
Mostly, that the document mentions making a branch and a tag, but I was not sure why we had a branch, and not rc tag that I could see. I expected there to be both.


OCW next: redirect /jsp/feedback.jsp same as ocw.mit.edu

On the legacy site:
https://ocw.mit.edu/jsp/feedback.jsp?Referer= => https://ocw.mit.edu/about/contactus/?Referer=
We should do the same on the next gen sites, but to the new contact URL:
Redirect301 /jsp/feedback.jsp => /contact/

on 2nd though, I'll just ask the OCW team to fix these very old links.


metrics:mutant failure doesn't break task chain in Travis

Locally, this behaves as expected (see below), but in Travis the whole ci task unexpectedly succeeds: https://travis-ci.org/lgierth/promise/builds/11398499
My bundle is locked to mbj/mutant@7e6960263 and rom-rb/devtools@7aee71654b, and I'm a bit puzzled where the task chain gets halted.
$ bundle exec rake ci -t
** Invoke ci (first_time)
** Invoke ci:metrics (first_time)
** Invoke metrics:coverage (first_time)
** Execute metrics:coverage
** Invoke spec:unit (first_time)
** Execute spec:unit
[snip]
** Invoke metrics:yardstick:verify (first_time)
** Execute metrics:yardstick:verify
** Invoke metrics:rubocop (first_time)
** Execute metrics:rubocop
[snip]
** Invoke metrics:flog (first_time)
** Execute metrics:flog
** Invoke metrics:flay (first_time)
** Execute metrics:flay
** Invoke metrics:reek (first_time)
** Execute metrics:reek
0 total warnings
** Execute ci:metrics
** Invoke metrics:mutant (first_time)
** Invoke metrics:coverage
** Execute metrics:mutant
[snip]
Mutant task is not successful
$ echo $?
1

This was fixed with the drop of branch dependant behavior. Closing.


systemctl reload xyz.mount creates duplicate processes

What happened:
I used systemctl reload xyz.mount, where xyz.mount is a SystemD JuiceFS mount unit. I was doing this to iterate on testing new mount options. However, multiple JuiceFS processes were building up, which meant that some processes using the mount point were using one set of options with one process, and some were using another.
root       30473       1  0 13:12 ?        Sl     0:00 /sbin/mount.juicefs META_URL /juicefs -o rw,remount,allow_other,writeback_cache,writeback,max-uploads=40,buffer-size=1024,backup-meta=0,_netdev
root       30488   30473  0 13:12 ?        S<l    0:02  \_ /usr/bin/juicefs META_URL /juicefs -o rw,remount,allow_other,writeback_cache,writeback,max-uploads=40,buffer-size=1024,backup-meta=0,_netdev
root       31004       1  0 13:23 ?        Sl     0:00 /sbin/mount.juicefs META_URL /juicefs -o rw,remount,allow_other,writeback,max-uploads=40,buffer-size=1024,backup-meta=0,_netdev
root       31018   31004  0 13:23 ?        S<l    0:01  \_ /usr/bin/juicefs META_URL /juicefs -o rw,remount,allow_other,writeback,max-uploads=40,buffer-size=1024,backup-meta=0,_netdev
root       31413       1  0 13:31 ?        Sl     0:00 /sbin/mount.juicefs META_URL /juicefs -o rw,remount,allow_other,writeback_cache,max-uploads=40,buffer-size=1024,backup-meta=0,_netdev
root       31427   31413  0 13:31 ?        S<l    0:02  \_ /usr/bin/juicefs META_URL /juicefs -o rw,remount,allow_other,writeback_cache,max-uploads=40,buffer-size=1024,backup-meta=0,_netdev

What you expected to happen:
The mount should be cleanly reloaded with the new mount options. One JuiceFS process should be working on the mount point.
How to reproduce it (as minimally and precisely as possible):
Set up a JuiceFS mount unit, call it xyz.mount. Then, do systemctl reload xyz.mount a few times. You should be able to see the juicefs processes building up with something like ps aux | grep juicefs
Anything else we need to know?
Environment:

JuiceFS version (use juicefs --version) or Hadoop Java SDK version:
juicefs version 1.2.1+2024-08-30.cd871d1
Cloud provider or hardware configuration running JuiceFS:
AWS EC2 instance.
OS (e.g cat /etc/os-release):

NAME="AlmaLinux"
VERSION="8.10 (Cerulean Leopard)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="AlmaLinux 8.10 (Cerulean Leopard)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:8::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"

ALMALINUX_MANTISBT_PROJECT="AlmaLinux-8"
ALMALINUX_MANTISBT_PROJECT_VERSION="8.10"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.10"
SUPPORT_END=2029-06-01

Kernel (e.g. uname -a):

Linux hostname 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 x86_64 x86_64 GNU/Linu

Object storage (cloud provider and region, or self maintained):
Amazon S3.
Metadata engine info (version, cloud provider managed or self maintained):
Redis on Amazon EC2, self maintained. Version 6.2.7
Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):
Amazon EC2 IP networking, and networking to Amazon S3.

fuse option like writeback_cache cannot change when remount, you can check the logs like ": different options, mount on top of it".


Feature: Make pointers printable

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 99.448%

Totals

Change from base Build<PHONE_NUMBER>9:
0.002%

Covered Lines:
1081

Relevant Lines:
1087

💛  - Coveralls


Addressing #55510 and comments from PR:  https://github.com/keras-team/keras/pull/16417

55661

 Quality gate: Failed
62 Issues

 47 Code issues
 15 Anti-patterns

Details

 Quality gate: Failed
62 Issues

 47 Code issues
 15 Anti-patterns

Details


MODE-1400 Added error/warning checks when registering node types via CND files

Previously, the CND files were being read and errors were being reported (via an exception). But if reading the CND files resulted in only warnings, these were lost. Now, such warnings are logged.
All unit and integration tests pass.

Merged into the '3.x' branch.


Add SNMP KDF

This PR adds support for SNMP KDF compliant with SP800-135, RFC 3414 and RFC 7860.
The SNMP KDF will be available in the default and FIPS providers.
Via branch this time.
Checklist

[x] documentation is added or updated
[x] tests are added or updated

When you get to review stage you can do the following.. (The merge process can squash these).
You can use 'git log' to get the commitid, followed by
git add <files>
git commit --fixup commitid
git push

Question to OMC: This adds a new algorithm into our FIPS provider and hence will affect future validation effort. Are we ok to include this?

Errr...@bfussell, did you mean to close this?

@mattcaswell Yes, that was intentional. Whenever I rebase the PR gets in a bad state, happened on the previous PR as well.  Possibly some environment issue on my end, not sure but doesn't happen on our repos. I don't have time to chase it down now.


Strip leading tab characters after leading * are removed

Strip leading tab characters after leading * are removed.
Fixes #127.

@developit Thanks this PR! I will check this. Please wait a little.

I fixed this issue with a04f502 . Your code was very useful for this fixing. Thanks!

glad to help!


TypeScript typings

I have created TypeScript typings for this package. Would you prefer I create a PR to add them here or add them to DefinitelyTyped?

I'm happy to host them here if you're willing to follow this styleguide.
Some examples:

https://github.com/sindresorhus/semver-regex/commit/039944bb5b3876913171b895488874b5c200e458
https://github.com/sindresorhus/global-dirs/commit/0aae4d64887f77af94c4fb7ca12aa9f93c0a8291
https://github.com/sindresorhus/md5-hex/commit/bbbfeff840f26973fbffc16d4863ae6d120079f3

Crikey! I'll see if I can create something that measures up.


added code in python

Added bubble sort code in python

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thank you @RujutaKelkar for your contribution and congratulations on your first PR merge to this repo.


Create a workflow that syncs the downstream branch with the upstream one

This PR adds a GitHub workflow on the downstream repository that is going to sync weekly the downstream release branch 2023a with the upstream 2023a
Jira issue: https://issues.redhat.com/browse/RHODS-7323

looks good to me

/retest

@atheo89 Just to confirm, this workflow is in addition to the one that syncs the downstream when a PR is merged ?

Hey @VaishnaviHire This is a workflow will sync the downstream release branch 2023a with the upstream 2023a.
The reason for doing this is that on the upstream we will have the GitHub workflow that refreshes the piplock files every week which will push back the changes into the release branch(upstream). So, with this workflow, we will align the two branches together.

@atheo89  couple of things when I compared with the original one:

you will need to checkout the branch first
you will need a secret token while checking out, which has a repo level access to both the source and destination repos

Look at the implementation here https://github.com/red-hat-data-services/odh-dashboard/blob/auto-updater/.github/workflows/auto_updater.yaml


Fedora 39 Install Failure on NVIDIA Repo

I am trying to install Ollama on Fedora 39, but the install script fails on the following:
>>> Installing ollama to /usr/local/bin...
>>> Adding current user to ollama group...
>>> Creating ollama systemd service...
>>> Enabling and starting ollama service...
>>> Installing NVIDIA repository...
Adding repo from: https://developer.download.nvidia.com/compute/cuda/repos/fedora39/x86_64/cuda-fedora39.repo
Status code: 404 for https://developer.download.nvidia.com/compute/cuda/repos/fedora39/x86_64/cuda-fedora39.repo (IP: <IP_ADDRESS>)
Error: Configuration of repo failed

I think @carlowisse answered your issue. We are dependent on Nvidia's Cuda Toolkit. I will go ahead and close this now. If you think there is anything we left out, reopen and we can address. Thanks for being part of this great community.

A while ago I run the above script as is on Fedora 40. It worked, but I faced this after each sudo dnf upgrade:
Problem 1: package nvidia-driver-3:545.23.08-1.fc37.x86_64 from cuda-fedora37-x86_64 conflicts with xorg-x11-drv-nvidia provided by xorg-x11-drv-nvidia-3:550.78-1.fc40.x86_64 from @System
  - package nvidia-driver-3:545.23.08-1.fc37.x86_64 from cuda-fedora37-x86_64 obsoletes xorg-x11-drv-nvidia provided by xorg-x11-drv-nvidia-3:550.78-1.fc40.x86_64 from @System
  - package kmod-nvidia-6.8.7-300.fc40.x86_64-3:550.78-1.fc40.x86_64 from @System requires nvidia-kmod-common >= 3:550.78, but none of the providers can be installed
  - cannot install the best update candidate for package xorg-x11-drv-nvidia-3:550.78-1.fc40.x86_64
  - problem with installed package kmod-nvidia-6.8.7-300.fc40.x86_64-3:550.78-1.fc40.x86_64
  - package xorg-x11-drv-nvidia-3:550.78-1.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver is filtered out by modular filtering
 Problem 2: package xorg-x11-drv-nvidia-3:550.78-1.fc40.x86_64 from @System requires libnvidia-glcore.so.550.78()(64bit), but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:550.78-1.fc40.x86_64 from @System requires libnvidia-tls.so.550.78()(64bit), but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:550.78-1.fc40.x86_64 from @System requires xorg-x11-drv-nvidia-libs(x86-64) = 3:550.78-1.fc40, but none of the providers can be installed
  - package nvidia-driver-libs-3:545.23.08-1.fc37.i686 from cuda-fedora37-x86_64 conflicts with xorg-x11-drv-nvidia-libs provided by xorg-x11-drv-nvidia-libs-3:550.78-1.fc40.x86_64 from @System
  - package nvidia-driver-libs-3:545.23.08-1.fc37.i686 from cuda-fedora37-x86_64 obsoletes xorg-x11-drv-nvidia-libs provided by xorg-x11-drv-nvidia-libs-3:550.78-1.fc40.x86_64 from @System
  - package nvidia-driver-libs-3:545.23.08-1.fc37.i686 from cuda-fedora37-x86_64 conflicts with xorg-x11-drv-nvidia-libs provided by xorg-x11-drv-nvidia-libs-3:550.78-1.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver
  - package nvidia-driver-libs-3:545.23.08-1.fc37.i686 from cuda-fedora37-x86_64 obsoletes xorg-x11-drv-nvidia-libs provided by xorg-x11-drv-nvidia-libs-3:550.78-1.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver
  - package kmod-nvidia-6.8.8-300.fc40.x86_64-3:550.78-1.fc40.x86_64 from @System requires nvidia-kmod-common >= 3:550.78, but none of the providers can be installed
  - cannot install the best update candidate for package xorg-x11-drv-nvidia-libs-3:550.78-1.fc40.i686
  - problem with installed package kmod-nvidia-6.8.8-300.fc40.x86_64-3:550.78-1.fc40.x86_64
  - package xorg-x11-drv-nvidia-3:550.78-1.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver is filtered out by modular filtering
 Problem 3: package xorg-x11-drv-nvidia-3:550.78-1.fc40.x86_64 from @System requires libnvidia-glcore.so.550.78()(64bit), but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:550.78-1.fc40.x86_64 from @System requires libnvidia-tls.so.550.78()(64bit), but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:550.78-1.fc40.x86_64 from @System requires xorg-x11-drv-nvidia-libs(x86-64) = 3:550.78-1.fc40, but none of the providers can be installed
  - package nvidia-driver-libs-3:545.23.08-1.fc37.x86_64 from cuda-fedora37-x86_64 conflicts with xorg-x11-drv-nvidia-libs provided by xorg-x11-drv-nvidia-libs-3:550.78-1.fc40.x86_64 from @System
  - package nvidia-driver-libs-3:545.23.08-1.fc37.x86_64 from cuda-fedora37-x86_64 obsoletes xorg-x11-drv-nvidia-libs provided by xorg-x11-drv-nvidia-libs-3:550.78-1.fc40.x86_64 from @System
  - package nvidia-driver-libs-3:545.23.08-1.fc37.x86_64 from cuda-fedora37-x86_64 conflicts with xorg-x11-drv-nvidia-libs provided by xorg-x11-drv-nvidia-libs-3:550.78-1.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver
  - package nvidia-driver-libs-3:545.23.08-1.fc37.x86_64 from cuda-fedora37-x86_64 obsoletes xorg-x11-drv-nvidia-libs provided by xorg-x11-drv-nvidia-libs-3:550.78-1.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver
  - package akmod-nvidia-3:550.78-1.fc40.x86_64 from @System requires nvidia-kmod-common >= 3:550.78, but none of the providers can be installed
  - cannot install the best update candidate for package xorg-x11-drv-nvidia-libs-3:550.78-1.fc40.x86_64
  - cannot install the best update candidate for package akmod-nvidia-3:550.78-1.fc40.x86_64
  - package xorg-x11-drv-nvidia-3:550.78-1.fc40.x86_64 from rpmfusion-nonfree-nvidia-driver is filtered out by modular filtering

Since then I've reinstalled Fedora and now I'm curious whether rerunning the script above with
dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/fedora39/x86_64/cuda-fedora39.repo

and
dnf -y install cuda-toolkit-12-4

(which seem to be the latest as of today) would be safe (I do not want to reinstall the OS again)? I'm on a dual-GPU laptop (1050 Ti), but set Nvidia as primary.


CB-15715: Make backup-restore flows retryable.

Currently, there is no retry mechanism for backup-restore flows when they fail.
Let's say datalake backup or restore flow failed in the resize flow chain, there is no way to trigger a retry of backup/restore flows again.
Retrying from the failed state does not work for backup restore flows so added implementation to retry the complete flow.

LGTM, I will wait for the changes others requested

I requested a few minor changes but overall looks good.
Please list the different scenarios that you tested (cluster creation, repair, restore...)

I have tested the changes with creation, backup and restore. I have not yet tested the changes for repair/stop/start

I requested a few minor changes but overall looks good.
Please list the different scenarios that you tested (cluster creation, repair, restore...)

I have tested the changes with creation, backup, and restore. I have not yet tested the changes for repair/stop/start

I have tested the changes by retrying on failures stop/start flows as well.


[lnurl]: support for pay to lnurl

Open to feedback.
Created a new command called lnurl.
Added support for lnurl pay.
Decodes a bech32 string which reveals a url, fetching this url returns a callback url.
Fetching the call back url with an amount returns a bolt 11 payreq.
New directory: lnurl
New files:
lnurl/index.js
lnurl/pay.js
Files changed:
bos
commands/constants.json

how to test this? I don't know about a testnet service that supports lnurl

Can you try this website?
https://lnurl-toolbox.degreesofzero.com/
You can use this for mainnet
https://lnurl.fiatjaf.com/

I think both sites are mainnet only

I think both sites are mainnet only

The first one does not transact any funds. I guess it generates fake invoices or something.

weird ok I guess I can test it not doing anything lol

it was merged but I had to rebase


Cross platform support

The project should be able to build and run on linux and other non-windows operating systems like the BSDs and OSX. This could be easily achieved through the use of a simple clean makefile and pkg-config. The windows visual studio support should be left un-harmed (as I don't really have anything to build the vsproj with, but I think there's some cross platform tool for it so I'll work out how to use that in case I need to alter the vsproj).
The tasks are:

[x] Make required source changes which will facilitate cross-platform builds through the use of pkg-config.
[x] Write a makefile which will rely on GNU Make but which should be able to build the project on all the specified platforms.
[ ] Expand makefile to include an install target which will allow DESTDIR based installation on the different platforms.
[ ] Create an AUR package for the game as a proof of concept.
[ ] (If really needed) Set up a buildhck host and run some VMs for some integration testing for cross platform. (Really, I want to set this up for my own use, but this project would be a good thing to put on there, alternatively we can pick the boring route of using some existing integration testing thing.)

One note: not everyone understands enough for CI and other related steps. If you can fully automate it for the benefit of everyone, let me know if you need any changes made to the repository to make it work.
I just want to avoid adding any additional hurdles to the project considering this is a fun (not serious) summer project.

Uh, quick question, where can I get an assets.zip?

You can grab a quick copy from the testers deployment linked on Reddit or pm me on Reddit with your Dropbox email account to get access to the assets directory. Either way. The testers copy will be faster to get access to though as it's public by link.

I merged the pull request after testing and also uploaded a new zip file for testers as well.
If you want, please post to the subreddit instructions on building and running on Linux (or add a file with such instructions). Feel free to close this issue when you want. If it won't let you, just tell me and I'll close it.

There are still a few tasks left in this issue, and I'm going to add a documentation task since you asked for that, so I'll leave this open until most of the functionality required to make this project packaging friendly is met.

EliteTK: When you are able, can you please fetch my flexible-assets branch and see if that successfully satisfies your need for the install target? If it does, I'll merge with master.
Basically, I added a ASSETS_PATH define to main.cpp that should be defined as the path, including the name of the assets file, to the resources file. It defaults to just "assets.zip".
I believe as you mentioned earlier that you should just have to specify -DASSETS_PATH at compile time to satisfy your need.

I was thinking more along the lines of DATADIR which would by default be ./ but would on an installation be /usr{/local,}/share/memes-with-friends which would be the asset search path, then a search for assets.zip in that location or alternatively if that can't be found, PhysFS mounting that location on PhysFS /. The environment could also be checked for the variable MWF_DATADIR or MEMES_WITH_FRIENDS_DATADIR (alternatively replace DATADIR with ASSETS, but technically /usr/share/memes-with-friends would be called the "data directory"). This variable would be the first port of call, but if it's not set or empty (as it would normally be) then the program would fall back to the DATADIR define.
See this for an example.
But this works too, really it's a matter of flexibility (it would be easier to work with the game if you could set an environment variable to a directory containing un-zipped assets).
However, there's one thing which won't work, that's plain #define ASSETS_PATH "...", this must be wrapped in an #ifndef ASSETS_PATH otherwise the complainer will complain about a redefinition of the macro.

I poked my TU friend and the arch physfs package is now patched.
I think a lot of other distributions also distribute a patched physfs.
I can also confirm that the new arch physfs does indeed allow the project to compile and run without issues.

Thanks for your help. I am closing this issue now as we have a workable Makefile and Linux support.


Update-Database Command issues

HI,
As per the wiki i have got the application setup on my machine. But, when I run the Update-Database command it fails saying more that one configuration found. So, I ran the command
Update-Database -Verbose -ConfigurationTypeName MigrationsConfiguration
This time the all the tables were required. But, the table Packagestatistics was deleted as per another script. Why was it explicitly deleted. And also, the application is failing because of this.
Thanks
Praveen Gali

PackageStatistics code is obsolete and was removed from the gallery ~month ago. What kind of failures are you seeing?

when i run the application locally, the class UpdateStatisticsJob.cs has a stored proc execution [dbo].[AggregateStatistics], that is failing.

@xavierdecoster @skofman1 Can you check and remove the job if needed?

Tracking issue for removal of obsolete download stats aggregation code from the gallery: https://github.com/NuGet/NuGetGallery/issues/2932
We no longer track package downloads in the gallery db.


Hierarchy Mode - and + buttons are not aligned correctly

(this is also present in advanced mode)

yea it has gotten pretty bad.  markdown is especially broken in hierarchy view.
really needs a makeover, here are some ideas to improve it: https://github.com/twosigma/beaker-notebook/issues/470
related: https://github.com/twosigma/beaker-notebook/issues/613


Footer - DSA Logo

Expected behavior
When the DSA logo is clicked I would expect this to open in a new tab instead of taking them away from the current Tastefully Simple page.
Actual behavior
When the DSA logo is clicked you are taken away from the Tastefully Simple page.
Steps to reproduce behavior
Go to https://tastefully-simple-sandbox-2.mybigcommerce.com/store scroll all the way to the bottom and click on the DSA logo.

Opened in new tab

Closing bug


v2.0 doesn't remember the docking position of the dev tools

I've tested both 1.5 and 2.0, and while the former remembered exactly how I docked my dev tools, the new one always just opens undocked in a separate window.
(Unless I explicitly set devToolsMode, in which case it always opens in the mode I set there.)

@issuehunt has funded $30.00 to this issue.

Submit pull request via IssueHunt to receive this reward.
Want to contribute? Chip in to this issue via IssueHunt.
Checkout the IssueHunt Issue Explorer to see more funded issues.
Need help from developers? Add your repository on IssueHunt to raise funds.


[app-configuration] Fix issue with usages of 'crypto' package for browsers.

Our usage of the crypto package in AppConfig causes an issue in browsers.
This adds functions to hash and HMAC that use the appropriate implementation for browser (WebCrypto) and the node.js crypto package for node.
Fixes #9585

@bterlson , @xirzec - this appears to be the only package impacted by this (using the 'crypto' package).
When talking with @chradek  he mentioned that we should consider if this is something that we should make usable across other parts of the SDK.
BTW, this it the first time I've needed to make a browser-specific change in AppConfig so please let me know if I've missed anything here.

/azp run js - appconfiguration - tests

/azp run js - appconfiguration - tests

/azp run js - appconfiguration - tests

/azp run js - appconfiguration - tests

/azp run js - appconfiguration - tests

/check-enforcer override


Add Smotrite app

Project URL
https://github.com/Lukentui/smotrite-app
Category
utilities
Description
Smotrite is a system monitor for macOS, which just work.
Checklist

[x] Edit applications.json instead of README.md.
[x] Only one project/change is in this pull request
[x] Screenshots(s) added if any
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

bump

bump

bump

bump

bump


cdk deploy Supabase fails

Bug report
First of all, thanks for fixing the git issue in the Repository import.
When I try to deploy this stack after cloning it, it still fails due to one of two reasons.
Describe the bug

Sometimes, the RepoImportJob exceeds the timelimit and I get:

12:46:52 PM | CREATE_FAILED        | Custom::RepoImportJob                         | Studio/Repo/main/Default
Received response status [FAILED] from custom resource. Message returned: Error: 2023-03-30T10:46:42.596Z 502e30ef-ab43-4586-be80-dc3fb00eb348 Task timed out afte
r 180.00 seconds

Logs: /aws/lambda/Supabase-StudioRepoImportFunctionDEF0C9F1-gLGfGN4WUBfy

at invokeUserFunction (/var/task/framework.js:2:6)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async onEvent (/var/task/framework.js:1:365)
at async Runtime.handler (/var/task/cfn-response.js:1:1543) (RequestId: 6ee1ee56-3131-4f79-b55d-b179a39a52ea)

Other times (I think if I increase the timeout of the RepoImportJob to 5min instead of 3min), I get the following issue with the Auth/Fargate/Service resource (also see screenshot):

Resource handler returned message: "Error occurred during operation 'ECS Deployment Circuit Breaker was triggered'." (RequestToken: xxx-xxx-xxx-xxx, HandlerErrorCode: GeneralServiceException)

In the ECS view in the AWS console, it just tells me that the service is unhealthy.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Clone the repository
Run cdk deploy Supabase (after signing in with the CLI)
It will successfully create almost all the resources but then fails as mentioned above

Expected behavior
The stack should be successfully created
Screenshots

System information

OS: macOS
Browser (if applies) [e.g. chrome, safari]
Version of supabase-js: [e.g. 6.0.2]
Version of Node.js: [e.g. 10.10.0]

Additional context
Add any other context about the problem here.

I did some more digging and it seems that the problem stems from the DB not being accessible correctly.
Here is what I get in the ECS logs for this Fargate service:
{"level":"fatal","msg":"running db migrations: Migrator: problem creating schema migrations: couldn't start a new transaction: could not create new transaction: failed to connect to `host=supabase-databaseclusterXXXXX-XXXXXX.cluster-XXXXX.eu-central-1.rds.amazonaws.com user=supabase_admin database=postgres`: failed SASL auth (FATAL: password authentication failed for user \"supabase_admin\" (SQLSTATE 28P01))","time":"2023-03-30T13:02:47Z"}

Seems to be a duplicate of https://github.com/supabase-community/supabase-on-aws/issues/12. @mats16 feel free to close it if that is the case


Fix - Distance-Distance receipt placeholder icon is hardly visible when expense is submitted offline

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/52123
PROPOSAL: https://github.com/Expensify/App/issues/52123#issuecomment-2460598355
Tests

Go to a workspace chat

Go offline

Submit a distance expense

Go to transaction thread

Check that the pending map view is grayed but visible (not too faded)

Create a manual expense

Go offline

Add a receipt to it

Verify that the receipt is grayed out

[x] Verify that no errors appear in the JS console

Offline tests

Same as above
QA Steps

Same as above

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/5e18dc03-780f-4f16-98ce-3d7d6e2bf58a

Android: mWeb Chrome

https://github.com/user-attachments/assets/0ba5249a-48cc-4e1e-a577-5bf893c345d1

iOS: Native

https://github.com/user-attachments/assets/4f17b96c-4052-4a24-9268-054c95d9940c

iOS: mWeb Safari

https://github.com/user-attachments/assets/0f5695c5-f26f-40b9-9c46-d626b5e792cb

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/67cc573b-b833-4553-afd1-4b28b276a91f
https://github.com/user-attachments/assets/aa036010-ca48-4e09-baa7-726e7db871b1

MacOS: Desktop

https://github.com/user-attachments/assets/0283393a-39dc-4abb-bfef-c6e92af1bbc6

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method
[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/5c13394e-d853-4931-973e-60f8a8ed1902

Android: mWeb Chrome

https://github.com/user-attachments/assets/d3f3cac1-2a63-4996-80c7-641ffbeeb2c8

iOS: Native
https://github.com/user-attachments/assets/85f458c8-903a-4a30-9e0e-8da0b26f7e87

iOS: mWeb Safari
https://github.com/user-attachments/assets/c97e9022-17c0-469f-8e75-d354667d3c7e

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/449b96b2-f975-4edd-abbb-a2e6d3dd4ea3

MacOS: Desktop

https://github.com/user-attachments/assets/a23f987c-ca6c-4799-967b-4d3971310dab

Thanks for the PR, @FitseTLT, Changes loooks good and Could you please upload a video from any platform that demonstrates the receipt pending field?

Uploaded for Web 👍

Thanks for making the changes


Removing email addresses from a DG im AD using powershell

Hi guys, I've got a list of email addresses in an excel spreadsheet.
I run this script on the DC in AD Powershell,
Get-Recipient -resultSize unlimited | select name -expand emailAddresses | where {$_.smtpAddress -match "USERS EMAIL ADRESS"} | Format-Table name, smtpaddress
This then returns a Distribution Group. I need that DG to be put into the spreadsheet alongside the email.
I then run this script with the DG in it Set-DistributionGroup Distribution Group -EmailAddresses @{Remove=’USERS EMAIL ADRESS’}
So my question is, is there a way of automating this? I have over 100 email addresses and would quite like it to be done immediately.
Regards,
Adam.

The GitHub Issues here are specific to PowerShell itself rather than external modules. I encourage you to reach out to the TechNet forums for help on Active Directory: https://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverDS


SCIMMY should support the "display" sub-attribute for members on Group POST and PATCH

RFC 7643, section 2.4 defines "display" as one of the default sub-attributes that could be provided in multi-valued attributes. This also applies to the "members" attribute of the Group resource. Currently SCIMMY will fail to ingress POST or PATCH requests that include members with "display" sub-attributes, since it is not included in the Group schema.
I've run into this when trying to integrate with Okta's SCIM user-provisioning capability.

Hi @brianpeiris, thanks for noticing this!
It is indeed an omission, and another great example of how inconsistent the SCIM specification RFC seems to be - in the subsequent Resource Schema Representation section (RFC7643§8.7.1), the JSON representation of the Group resource schema is mysteriously missing the display attribute!
I'll add the display attribute to the default set of attributes for the members multi-value attribute as expected for release 1.1.0, however in the interim you should be able to add the display attribute to your Group schema with the following snippet:
SCIMMY.Schemas.Group.definition.attribute("members").subAttributes.push(
    new SCIMMY.Types.Attribute("string", "value", {mutable: "immutable", description: "Human-readable name of the member of this Group."})
);

It should also be noted that technically, Okta should be querying your Service Provider to determine which attributes it supports before making any requests, but this is understandably outside your control.

Thanks for looking into this, and for the workaround. As far as I can tell, Okta does not make requests to verify the supported schema. Presumably they just interpreted the RFC to mean that these default attributes should be accepted by SCIM servers. In any case, hopefully it's a quick fix for SCIMMY.


"labels" requested by user being over written by the list from access permissions

When making a websocket connection via /chat endpoint users can list the source labels, defining the search domain they want to use.
But in chatbot_get_labels_decorator() this label gets overwritten by what is in the access permission list. This would prevent the users from limiting their search scope to select resources from among the different sets they may have access to.
https://github.com/BibleNLP/assistant.bible/blob/c742dbb8f9c6646bd2fc56e07051835542a4c217/app/core/auth/__init__.py#L97C1-L97C1

The referenced code has been changed. Hopefully this issue has been fixed


PLANNER-2467 Jenkinsfiles moved to .ci/jenkins

Thank you for submitting this pull request
JIRA: https://issues.redhat.com/browse/PLANNER-2467
referenced Pull Requests: (please edit the URLs of referenced pullrequests if they exist)

https://github.com/kiegroup/kie-jenkins-scripts/pull/1025
https://github.com/jboss-integration/rhba/pull/42
https://github.com/kiegroup/droolsjbpm-build-bootstrap/pull/1688
https://github.com/kiegroup/optaweb-vehicle-routing/pull/526
https://github.com/kiegroup/optaweb-employee-rostering/pull/651
https://github.com/kiegroup/optaplanner/pull/1414
https://github.com/kiegroup/kogito-runtimes/pull/1428
https://github.com/kiegroup/optaplanner/pull/1414

I think the PR should be against development branch

@Ginxo Tristan is right, would you please reopen the PR against the development branch?


[DEVOPS-3458] ci: Added CI for automated releases

Added CI to lint, build, test, and release with semantic-release
Fixed unit tests on ubuntu

NPM_TOKEN_ELASTICPATH needs to be added to the actions secrets.

Added the NPM_TOKEN_ELASTICPATH repository variable


Store Control constants as floats instead of integers

This allows to store values like the editor scale in a constant. This way, we can eventually remove the need to include editor-only headers in source files in the scene/ folder.
The editor still appears to look correct, but please test for regressions anyway. I'd be surprised if everything worked as expected right now :slightly_smiling_face:

Perhaps double should be used instead, to allow for (reliable) integers higher than 16 million?

@aaronfranke Maybe, but I can't think of what you'd need such large integers for in an UI context.

Is this PR still wanted, now that EDSCALE dependencies in scene (except for one in path_2d.cpp?) have been removed by #53341?

In general, it would be useful to have constants other than integers. While using ints as booleans is normal for a programmer, it doesn't lead to a great user experience. Floats can be useful for several things as well. However, I suspect this PR needs to be redone at this point, rather than rebased.

I think editor scale probably should be accessible from the viewport/window, not from a theme property.

I think editor scale probably should be accessible from the viewport/window, not from a theme property.

This was added in https://github.com/godotengine/godot/pull/53341.
I think float constants still have a few benefits, such as setting floating-point font sizes (even if the final rendering rounds them to integer sizes, at least for non-MSDF fonts).

I think that ideally theme constants could allow any Variant constant, so bools would be true bools, and numbers can be both int and float, and maybe someone naughty would store something else in there.

I think we can have a more flexible solution here, replacing ints with floats has a few downsides too. We should come up with a non-breaking solution during the 4.x development.


Bugfix 1315

Fixes #1315 and a small oversight in #1312

Very similar issue is still present, when dots are changed from false to true, other slides break. Have commented the source on #1315


Add new SharePoint-specific fileds to app manifest [master]

This change adds the following new fields to the configuredTabs entries of the Teams app manifest:

sharePointPreviewImage - A relative file path to a tab preview image for use in SharePoint. Size 1024x768.
supportedSharePointHosts - Defines how your tab will be made available in SharePoint. Options are sharePointFullPage and sharePointFullPage.

With the way things are you can't really merge into devPreview AND master from the same branch =(. Will need to make this change in two places devPreview and master independently

With the way things are you can't really merge into devPreview AND master from the same branch =(. Will need to make this change in two places devPreview and master independently

OK, I opened a separate PR against devPreview - #53.


fix (wasm) memory fault with environ_get

Using my tingo wasm plugin with kong-enterprise-edition <IP_ADDRESS> with no-license mode, I found an error in this module. Logs are the below.
After some investigation, I suspect the current implementation of ngx_wasi_hfuncs_environ_get function.
In my plugin case, it is called from wasi-libc.
I'm not expert of WASM but it seems to be that it doesn't take care of addres space conversion.
And test_wsi_environ_get doesn't check validity of contents of environ value.
To fix this problem, First, I rewrite that test to check contens of environ value and the test fails.
Then, I've rewrote ngx_wasi_hfuncs_environ_get pointer operations as ngx_wasi_hfuncs_fd_write function.
Logs:
[error] 191#0: *5882 [wasm] error while executing at wasm backtrace:
    0: 0x1c08 - strncmp
                    at /__w/tinygo/tinygo/lib/wasi-libc/libc-top-half/musl/src/string/strncmp.c:7:15
    1: 0x1568 - getenv
                    at /__w/tinygo/tinygo/lib/wasi-libc/libc-top-half/musl/src/env/getenv.c:17:9
    2: 0x24af5 - syscall.Getenv
                    at /usr/local/tinygo/src/syscall/syscall_libc.go:179:20              - time.initLocal
                    at /usr/local/go/src/time/zoneinfo_unix.go:36:26
    3: 0x10049 - (*sync.Once).Do
                    at /usr/local/tinygo/src/sync/once.go:15:3
    4: 0x1cfb9 - (*time.Location).get
    5: 0x2817f - (time.Time).locabs
                    at /usr/local/go/src/time/time.go:484:12
    6: 0x28dae - (time.Time).appendFormat
                    at /usr/local/go/src/time/format.go:650:31              - (time.Time).AppendFormat
                    at /usr/local/go/src/time/format.go:644:24              - (time.Time).Format
                    at /usr/local/go/src/time/format.go:630:20
    7: 0x894af - (*main.myPluginHTTPContext).writeLog
                    at /home/tinygo/go/wasm/my-filter/main.go:349:32
    8: 0x8a990 - (*main.myPluginHTTPContext).OnHttpResponseBody
                    at /home/tinygo/go/wasm/my-filter/main.go:299:20              - (Go interface method)
                    at <Go interface method>              - proxy_on_response_body
                    at /home/tinygo/go/pkg/mod/github.com/tetratelabs/proxy-wasm-go-sdk@v0.22.1-0.20231004080525-84985eec31a8/proxywasm/internal/abi_callback_l7.go:86:31
Caused by:
    0: memory fault at wasm address 0x6c6c7566 in linear memory of size 0xb0000
    1: wasm trap: out of bounds memory access
Stack backtrace:
   0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
   1: wasmtime::trap::from_runtime_box
   2: wasmtime::func::Func::call_unchecked_raw
   3: wasmtime::func::Func::call_impl
   4: wasmtime_func_call
   5: ngx_wasmtime_call
             at /home/ubuntu/.cache/bazel/_bazel_ubuntu/53933f63cb18d764e0c8ba27eb580417/execroot/kong/external/ngx_wasm_module/src/wasm/wrt/ngx_wrt_wasmtime.c:657:16

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@t-yuki Testing filters with a development (or release) build of this module is a lot easier than with Kong Gateway. See DEVELOPER.md for instructions, mostly some dependencies, make setup && make and it should be enough.

@thibaultcha Thanks for your rework, I've tested both PR this and #502 with my plugin on kong and it works. os.Getenv is now working to get env vars without memory fault.
Note that, I built customized ngx_wasm_module to test with kong using:
NGX_BUILD_OPENRESTY=<IP_ADDRESS> NGX_BUILD_DYNAMIC_MODULE=1 NGX_BUILD_CC_OPT=-DNGX_WASM_HOST_PROPERTY_NAMESPACE=kong NGX_BUILD_DIR_PREFIX=/home/ubuntu/.cache/bazel/_bazel_ubuntu/53933f63cb18d764e0c8ba27eb580417/execroot/kong/bazel-out/k8-opt/bin/external/openresty/openresty.build_tmpdir/openresty/nginx NGX_BUILD_CONFIGURE_OPT="--with-pcre-jit --with-compat --with-stream" make
Original build options are obtained by /usr/local/openresty/sbin/nginx -V on kong-ee <IP_ADDRESS> for ubuntu deb.
Then I moved it into nginx like:
cp -f work/buildroot/ngx_wasm_module.so /usr/local/openresty/nginx/modules/ngx_wasm_module.so
cp -f work/runtimes/wasmtime-14.0.3/lib/libwasmtime.so /usr/lib/libwasmtime.so

@t-yuki Great, thanks! PS: that is much more trouble than what I meant, a simple make without any options produces a binary in work/buildroot which is enough to test this code path. Running any of the tests produces a prefix in t/servroot and you can then edit nginx.conf, configure your filter, and start the binary with ./work/buildroot/nginx -p t/servroot. This is much, much faster to test this module than having to deal with Kong Gateway.

Merged the rework, thanks!


tests for CqlOperator, csharp_81

There are a few straggling questions,
Notes as seen in code:
NUnit.Framework.Ignore("Issue with converting back to array, pending question")
NUnit.Framework.Ignore("Pending question -- this might not be possible for C* Maps, but the error message doesn't look good either")

I've merged your tests b357044418f7f11167d77a4d2dbdab2076384808
As you pointed out, the conversion back from array was not working correctly for array types in the mapper (and Linq). I fixed it in e16c148fbeacb7c5eb9142f402502cf63d226640.