Reproducible Build

[ ] use cargo make
[ ] add Cargo.lock to repo
[ ] add rust-toolchain.toml
[ ] update ci to use cargo make rules
[ ] update CONTRIBUTING.md to mention cargo make
[ ] update pre-commmit.yaml to use cargo make

ref: https://github.com/0xPolygonMiden/miden-vm/issues/1259

related: https://github.com/0xPolygonMiden/miden-node/issues/238

@hackaugusto could you give me more information on what we would need to add to the rust-toolchain.toml?

Ofcourse. The rust-toolchain.toml allows us to define the compiler version we are testing/build with. The goal is for every build to use the same compiler version, including your local builds and the CI, this will remove build differences because of compiler version differences.
In our case we want to define the following:

A stable version of the compiler. Which should match the minimum rust-version used for all crates in the repo. This will test the minimum supported rust version (MSRV)

In some cases this will also need the wasm32 target, for the crates that we support no-std.

A nightly version of the compiler. This is mostly used because of cargo fmt, because we use nightly format features

After doing some research and testing I have not found a way to set both the stable and nightly versions in a rust-toolchain.toml file.
I propose the following solution, we use the toolchain file to set the stable version for all crates of the node and use cargo make setting the right flags to run fmt and clippy using nightly.
It works well.

@hackaugusto we do not have a pre-commit.yaml file in the miden-node for now right? Should we add one?

Go ahead :)


Dataset not available

Could you please release the dataset as described in the paper?

Thank you for your interest in our work. The datasets described in the paper are all publicly available. You can find them by searching on Google or accessing them through the SNAP repository (https://snap.stanford.edu/data).


Scrollwheel zooming is uncapped and zooming in too far breaks the panning.

Describe the bug
After zooming in really quickly with a "fast scroll" feature or an unlockable scroll wheel on the mouse, the zoom percentage can become infinite and make the image unpannable.
To Reproduce
Steps to reproduce the behavior:

Load any image
Scroll up a lot

Expected behavior
The zooming should be limited
Version:

OS w/ version: Arch Linux rolling
Browser w/ version: Chrome 87

Is your issue related to the quality of image compression?
No
Additional context, screenshots, screencasts
https://www.youtube.com/watch?v=id20luk5_xs

Fixed in 14c3d190e9c7c0d324e0ce9c3b6c60ec904cdf3a


[TS] Add onCancel to ConfirmationAlertOptions

exactly what the title says <:bleh:1062093991157436466>

What do you mean?

???

What do you mean by OnCancel

dawg i just added an onCancel function to the ConfirmationAlertOptions interface in typings


Audit/1559 TxTable Tag Transitions

Description
With the introduction of access_list, the tag column in the TxTable can no longer be a fixed column. After adjusting tag column to be an advice column, constraints must be added to ensure correct transition of TxFieldTag within the column.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Refactor (no updates to logic)

@darth-cy need to resolve the conflict


Incorrect example in Learning Rate Finder documentation

📚 Documentation
In lr_finder docs there's an example code showing how to use Learning Rate finder:
model = MyModelClass(hparams)
trainer = Trainer()

# Run learning rate finder
lr_finder = trainer.tuner.lr_find(model)

# Results can be found in
lr_finder.results

...

This example raises an error when I run it:

AttributeError: 'Trainer' object has no attribute 'tuner'

however this line seems to work:
lr_finder = trainer.lr_find(model, dataset)

Here is my Colab notebook with both working and non-working code visible:
https://colab.research.google.com/drive/1RvcsMRhQqJusFAkquIiHbmh4Fpm7vhSf?usp=sharing
That's the case both in Colab and my local machine, so I assume there's a mistake in docs. Is that right?

I think this is a bug in the lightning release on pip right now,
did a 'pip install git+https://github.com/PytorchLightning/pytorch-lightning.git@master --upgrade' and it works, so I guess the docs don't need to be updated since the latest release will fix it.


Add visual examples to front page README.md

Resolves #42.
Mentions features from #83, so #83 should probably be merged first (even though this is branched from master).

This does not and will not make any changes to executable code, so I don't think it needs rebasing.

This is awesome :clap::exclamation:. Checking #83 now 😄.

The squares sample:

should be altered to use the same terrain map as the "natural" example:


additional_fields_profile=['subscriptions'] throwing error

I'm trying to add the additional_fields_profile=['subscriptions'] parameter to the get_profiles method but it's throwing an error:
pydantic_core._pydantic_core.ValidationError: 3 validation errors for SMSMarketing
consent_timestamp
Input should be a valid datetime [type=datetime_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.7/v/datetime_type
method
Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.7/v/string_type
last_updated
Input should be a valid datetime [type=datetime_type, input_value=None, input_type=NoneType]
For further information visit https://errors.pydantic.dev/2.7/v/datetime_type
Here is my request: Klaviyo.Profiles.get_profiles(dditional_fields_profile=['subscriptions'])

looking into this, will release a patch soon!

working on that patch, but in the mean time, you can use our dictionary response option to work around this error.
from openapi_client.api_arg_options import USE_DICTIONARY_FOR_RESPONSE_DATA
res = self.client.Profiles.get_profiles(additional_fields_profile=['subscriptions'], options={
            USE_DICTIONARY_FOR_RESPONSE_DATA: True
        })

fixed in 11.0.1
https://github.com/klaviyo/klaviyo-api-python/releases/tag/v11.0.1

Thank you!!


#2162 bump up magic number

Description
Fixes #2162
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[x] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ flake8
[ ] All tests pass: $ python run-tests.py --unit
[ ] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

I wasn't sure and wanted to see from the benchmarks. Clearly it does have a very big performance regression, so I will look for a different way of dealing with the event.


My clock for #74

Hi Daniel,
I made a clock after your video! Check it out:
https://jsfiddle.net/arjhun/fkdohesy/
source:
https://github.com/arjhun/p5.js-binary-clock
Thanks for your awesome coding challenges!

oops, ill do a pull req on the README!


Failures in native voice notifications can cause crash

Reported by a few folks in the wild, reproduced by Matt G via BioInsights plugin. No error log was produced in Documents. The following error is from Event Viewer:
Application: ObservatoryCore.exe
CoreCLR Version: 5.0.721.25508
.NET Version: 5.0.7
Description: The process was terminated due to an unhandled exception.
Exception Info: System.FormatException: 'xml:lang' element not valid.
 ---> System.Globalization.CultureNotFoundException: Culture is not supported. (Parameter 'name')
string is an invalid culture identifier.
   at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)
   at System.Speech.Internal.Synthesis.SsmlParser.ProcessSpeakElement(XmlReader reader, ISsmlParser engine, Object voice)
   --- End of inner exception stack trace ---
   at System.Speech.Internal.Synthesis.SsmlParser.ThrowFormatException(Exception innerException, SRID id, Object[] args)
   at System.Speech.Internal.Synthesis.SsmlParser.ProcessSpeakElement(XmlReader reader, ISsmlParser engine, Object voice)
   at System.Speech.Internal.Synthesis.SsmlParser.Parse(XmlReader reader, ISsmlParser engine, Object voice)
   at System.Speech.Internal.Synthesis.SsmlParser.Parse(String ssml, ISsmlParser engine, Object voice)
   at System.Speech.Internal.Synthesis.VoiceSynthesis.ThreadProc()
--- End of stack trace from previous location ---
   at System.Speech.Internal.Synthesis.VoiceSynthesis.Speak(Prompt prompt)
   at System.Speech.Synthesis.SpeechSynthesizer.Speak(Prompt prompt)
   at Observatory.NativeNotification.NativeVoice.ProcessQueue() in C:\Users\Xjph\Source\Repos\ObservatoryCore\ObservatoryCore\NativeNotification\NativeVoice.cs:line 68
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Observatory.NativeNotification.NativeVoice.ProcessQueueAsync() in C:\Users\Xjph\Source\Repos\ObservatoryCore\ObservatoryCore\NativeNotification\NativeVoice.cs:line 35
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_1(Object state)
   at System.Threading.QueueUserWorkItemCallbackDefaultContext.Execute()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

Seems we're missing a top-level error handler somewhere.

I think this was fixed by #74 ...

I'll close this and we'll see if it resurfaces then.


k8s: keep CiliumNode labels synced with Node object

This commit ensures that any update to the labels of a k8s Node object
is reflected in the corresponding CiliumNode one.

/test


Option to close a session, option to show status of a connection.

It is confusing that the only way to close a session is from "Sessions", or going back.   Offer an explicit way, or do the session "pop out".
Also, might be useful to change the title for a session to indicate whether it is connecting, the host name, or disconnected.

Added a UI, not great, but works


Question - How to implement PostgreSQL operator lexer rule

Hi developers,
Thanks to this wonderful library for smooth lexer, I can quickly try a PostgreSQL operator parser with a combination of nom.
Apart from simple token matches and regex matches for identifiers and skipping whitespace, it turns out that the OPERATORS lexer rule of PG is quite complex especially it can require intermediate lexer rules:

Below are the implementation in PG lex file and ANTLR PG Lexer.

I know that logos have a callback param that I may match all the character and then parsing them in the callback. But I post this question here to see if there is existing experience and practice to handle this kind of "complex" lexer rules.
op_chars		[\~\!\@\#\^\&\|\`\?\+\-\*\/\%\<\>\=]
operator		{op_chars}+

{operator}		{
					/*
					 * Check for embedded slash-star or dash-dash; those
					 * are comment starts, so operator must stop there.
					 * Note that slash-star or dash-dash at the first
					 * character will match a prior rule, not this one.
					 */
					int			nchars = yyleng;
					char	   *slashstar = strstr(yytext, "/*");
					char	   *dashdash = strstr(yytext, "--");

					if (slashstar && dashdash)
					{
						/* if both appear, take the first one */
						if (slashstar > dashdash)
							slashstar = dashdash;
					}
					else if (!slashstar)
						slashstar = dashdash;
					if (slashstar)
						nchars = slashstar - yytext;

					/*
					 * For SQL compatibility, '+' and '-' cannot be the
					 * last char of a multi-char operator unless the operator
					 * contains chars that are not in SQL operators.
					 * The idea is to lex '=-' as two operators, but not
					 * to forbid operator names like '?-' that could not be
					 * sequences of SQL operators.
					 */
					if (nchars > 1 &&
						(yytext[nchars - 1] == '+' ||
						 yytext[nchars - 1] == '-'))
					{
						int			ic;

						for (ic = nchars - 2; ic >= 0; ic--)
						{
							char c = yytext[ic];
							if (c == '~' || c == '!' || c == '@' ||
								c == '#' || c == '^' || c == '&' ||
								c == '|' || c == '`' || c == '?' ||
								c == '%')
								break;
						}
						if (ic < 0)
						{
							/*
							 * didn't find a qualifying character, so remove
							 * all trailing [+-]
							 */
							do {
								nchars--;
							} while (nchars > 1 &&
								 (yytext[nchars - 1] == '+' ||
								  yytext[nchars - 1] == '-'));
						}
					}

					SET_YYLLOC();

					if (nchars < yyleng)
					{
						/* Strip the unwanted chars from the token */
						yyless(nchars);
						/*
						 * If what we have left is only one char, and it's
						 * one of the characters matching "self", then
						 * return it as a character token the same way
						 * that the "self" rule would have.
						 */
						if (nchars == 1 &&
							strchr(",()[].;:+-*/%^<>=", yytext[0]))
							return yytext[0];
						/*
						 * Likewise, if what we have left is two chars, and
						 * those match the tokens ">=", "<=", "=>", "<>" or
						 * "!=", then we must return the appropriate token
						 * rather than the generic Op.
						 */
						if (nchars == 2)
						{
							if (yytext[0] == '=' && yytext[1] == '>')
								return EQUALS_GREATER;
							if (yytext[0] == '>' && yytext[1] == '=')
								return GREATER_EQUALS;
							if (yytext[0] == '<' && yytext[1] == '=')
								return LESS_EQUALS;
							if (yytext[0] == '<' && yytext[1] == '>')
								return NOT_EQUALS;
							if (yytext[0] == '!' && yytext[1] == '=')
								return NOT_EQUALS;
						}
					}

					/*
					 * Complain if operator is too long.  Unlike the case
					 * for identifiers, we make this an error not a notice-
					 * and-truncate, because the odds are we are looking at
					 * a syntactic mistake anyway.
					 */
					if (nchars >= NAMEDATALEN)
						yyerror("operator too long");

					yylval->str = pstrdup(yytext);
					return Op;
				}

   //

   // OPERATORS (4.1.3)

   //

   // this rule does not allow + or - at the end of a multi-character operator

Operator
   : ((OperatorCharacter | ('+' | '-'
   {checkLA('-')}?)+ (OperatorCharacter | '/'
   {checkLA('*')}?) | '/'
   {checkLA('*')}?)+ | // special handling for the single-character operators + and -
   [+-])
   //TODO somehow rewrite this part without using Actions

   {
    HandleLessLessGreaterGreater();
   }
   ;
/* This rule handles operators which end with + or -, and sets the token type to Operator. It is comprised of four
 * parts, in order:
 *
 *   1. A prefix, which does not contain a character from the required set which allows + or - to appear at the end of
 *      the operator.
 *   2. A character from the required set which allows + or - to appear at the end of the operator.
 *   3. An optional sub-token which takes the form of an operator which does not include a + or - at the end of the
 *      sub-token.
 *   4. A suffix sequence of + and - characters.
 */

OperatorEndingWithPlusMinus
   : (OperatorCharacterNotAllowPlusMinusAtEnd | '-'
   {checkLA('-')}? | '/'
   {checkLA('*')}?)* OperatorCharacterAllowPlusMinusAtEnd Operator? ('+' | '-'
   {checkLA('-')}?)+ -> type (Operator)
   ;
   // Each of the following fragment rules omits the +, -, and / characters, which must always be handled in a special way

   // by the operator rules above.

fragment OperatorCharacter
   : [*<>=~!@%^&|`?#]
   ;
   // these are the operator characters that don't count towards one ending with + or -

fragment OperatorCharacterNotAllowPlusMinusAtEnd
   : [*<>=+]
   ;
   // an operator may end with + or - if it contains one of these characters

fragment OperatorCharacterAllowPlusMinusAtEnd
   : [~!@%^&|`?#]
   ;

Hello! I am not sure this is what you asked for, but you can always define multiple lexers, and call one lexer inside the callback function of another to have fine grained control of your Lexing.
performance-wise, I am not sure that having a catch all callback is a good idea, because it will defeat the purpose of using Logos?

I'm trying to add a callback, while meeting an issue that *@ is treated as Multiple and Operator instead of Operator.
Maybe I can use another tokenizer to pass all these characters but that requires to flatten enums otherwise I should match Operator(Vec<OpVariant>) everywhere.
To merge all ops rules and parse them in a callback, I meet an issue that ++ should be parsed as Plus and Plus - two tokens here, while I notice a callback is decorating the current token only.
    #[token("+")]
    Plus,
    #[token("-")]
    Minus,
    #[token("*")]
    Multiply,
    #[token("/")]
    Divide,
    #[token("%")]
    Modulo,

    #[regex(r#"[!#%&*+-/<=>?@^`|~]"#, check_op)]
    Operator,

fn check_op(lex: &mut Lexer<TokenKind>) -> ??? {
}

I think it is just a matter of priority: did you try increasing the priority of the Operator token?

@jeertmans How to? I move the Operator variant above those tokens but the priority retains. From the document I see Specific beats generic and guess it's by design. Let me show you some test cases:
    check_tokens(Tokenizer::new("<<"), &[TokenKind::ShiftLeft])?;
    check_tokens(Tokenizer::new(">>"), &[TokenKind::ShiftRight])?;

    check_tokens(Tokenizer::new("@!"), &[TokenKind::Operator])?;
    check_tokens(Tokenizer::new("@+"), &[TokenKind::Operator])?;
    check_tokens(Tokenizer::new("~-"), &[TokenKind::Operator])?;
    check_tokens(Tokenizer::new("#*"), &[TokenKind::Operator])?;
    check_tokens(Tokenizer::new("?/"), &[TokenKind::Operator])?;

    check_tokens(
        Tokenizer::new("+@"),
        &[TokenKind::Plus, TokenKind::Operator],
    )?;
    check_tokens(
        Tokenizer::new("*#"),
        &[TokenKind::Multiply, TokenKind::Operator],
    )?;

... where I hope the last two inputs resolved as one Operator.

Hello! Variant declaration ordering does not matter: did you try setting a higher priority for your token?
See the note on this page: https://logos.maciej.codes/token-disambiguation.html

I finally try to write a best regexp:
    /// OPERATORS (4.1.3)
    // Ensure that predefined ops are parsed. Few PG recognized operators may not be accepted -
    // 1. Operators that are leading by `+` or `-`, like `+@`.
    #[regex(r#"([*/<>=~!@%^&|`?#]+)|([~!@%^&|`?#][*/<>=~!@%^&|`?#]*[+-]+)"#)]
    Operator,

Leading + or - may cause this variant has a higher precedence to parse ++ as Plus, Plus. And if bind Plus with a high priority instead, +@ will be parsed as Plus, Op instead of single Op.
I guess one of my requirement can be, catch all op chars and return one or multiple tokens according to the payload.
This is the now passed tests:
    check_tokens(Tokenizer::new("++"), &[Plus, Plus])?;
    check_tokens(Tokenizer::new("+-+-"), &[Plus, Minus, Plus, Minus])?;

    check_tokens(Tokenizer::new("<<"), &[ShiftLeft])?;
    check_tokens(Tokenizer::new(">>"), &[ShiftRight])?;

    check_tokens(Tokenizer::new("*+"), &[Multiply, Plus])?;

    check_tokens(Tokenizer::new("@!"), &[Operator])?;
    check_tokens(Tokenizer::new("@+"), &[Operator])?;
    check_tokens(Tokenizer::new("~-"), &[Operator])?;
    check_tokens(Tokenizer::new("#*"), &[Operator])?;
    check_tokens(Tokenizer::new("?/"), &[Operator])?;
    check_tokens(Tokenizer::new("*#"), &[Operator])?;

Could you share a full code here? So that people can see how you solved you problem :)

Today I write a handmade tokenizer for doing so - https://gist.github.com/tisonkun/745cde91ea621919ea7a9b683436d2ae


Show Checkmark On Call Script Screen

There is no indicator on that screen to show if you've contacted that contact or not.
One suggestion is a CheckboxView in a titleView along with Contact X of Y.

would we want to have some sort of on-device storage in that case, so we can keep track of these calls?

@bengottlieb We do already, we're storing call data with Pantry using the class ContactLogs to log when they tap a call outcome by issue ID and contact ID. ContactLog has a helper hasContacted
You can see it used on the main screen:
https://github.com/5calls/ios/blob/master/FiveCalls/FiveCalls/IssuesViewController.swift#L109

Cool, didn't realize that's what Pantry was. Added PR #69 to address this, but uncovered another issue


The type or method  cannot be used for extension development

we need below methods to be opened for our app. Please check.
page 560.GetSelectionFilter
codeunit419.UploadFile
codeunit762.DrillDown
codeunit1319.DrillDown
codeunit1317.UpdateChart
codeunit1319.UpdateChart
codeunit763.UpdateDataPerGroup
codeunit764.UpdateData
codeunit8614.DecompressPackage
codeunit8614.ImportPackageXML
codeunit762.UpdateData
codeunit8.CalcCell
table 370.OpenBook
table 370.CreateBookAndOpenExcel
table 485.GetPeriodFromMapColumn
report 111.InitializeRequest
report 116.InitializeRequest
The type or method 'SetUserPassword' cannot be used for 'Extension' development.
TableRelation = Object.ID WHERE (Type=CONST(Report)
System/outlook not support in VS code
Length of the identifier cannot exceed 120 characters
CameraOptions : DotNet "'Microsoft.Dynamics.Nav.ClientExtensions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.Microsoft.Dynamics.Nav.Client.Capabilities.CameraOptions";
NAV version we are using is: NAV2018CU5
thanks.

Hi,
regarding the following:
codeunit419.UploadFile
codeunit8614.ImportPackageXML
table 370.OpenBook
table 370.CreateBookAndOpenExcel
you cannot get access to the file system so these will not work in an extension. We will not expose them. You have to use stream based functions instead and upload from the client file into a stream.
regarding:
The type or method 'SetUserPassword' cannot be used for 'Extension' development.
have you tried using Page 9810 Set Password ?
regarding:
Length of the identifier cannot exceed 120 characters
CameraOptions : DotNet "'Microsoft.Dynamics.Nav.ClientExtensions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.Microsoft.Dynamics.Nav.Client.Capabilities.CameraOptions";
you cannot use DotNet variables in an extension. You can either create a DotNet wrapper codeunit and post it on Open C/AL Library or (in this case) you can use Page 1910 Camera Interaction.
regarding:
TableRelation = Object.ID WHERE (Type=CONST(Report)
System/outlook not support in VS code
Please elaborate on the problem and what you are trying to do.
regarding:
page 560.GetSelectionFilter
codeunit762.DrillDown
codeunit1319.DrillDown
codeunit1317.UpdateChart
codeunit1319.UpdateChart
codeunit763.UpdateDataPerGroup
codeunit764.UpdateData
codeunit762.UpdateData
Table 485.GetPeriodFromMapColumn
these are already marked as external, please try a more recent version.
regarding:
codeunit8614.DecompressPackage
report 111.InitializeRequest
report 116.InitializeRequest
I will need to look into these. the two reports should pose an issue but DecompressPackage will need a closer look as it uses the filesystem on the server.
br/Gert

Hi grobyns,
Thank you for your response.
regarding  "TableRelation = Object.ID WHERE (Type=CONST(Report)"
get error "The type or method 'Object' cannot be used for 'Extension' development." when trying to set table relation property
regarding 'System/outlook not support in VS code"
When trying to define a system part as Outlook, get error message "The value assigned to the SystemPart type is not valid. Valid values are Notes, Links, MyNotes."
We are using NAV2018CU5, we will try NAV2018CU6
thank you again

Hi,
instead of using the Object table you can use the AllObj or AllObjWithCaption tables I think.
I'll forward your issue about outlook to the appropriate team but I fear that's simply not supported...
br/Gert

Hi again,
regarding the exposed methods. I don't think we are backporting these back to NAV2018. You should find them in the latest docker images for Business Central though...
br/Gert

Thank you, Gert.

Hi,
regarding the outlook issue: The team has filed a bug for this so it will be fixed in the next major version.
br/Gert

Thank you Gert!

From: Gert Robyns<EMAIL_ADDRESS>Sent: June 14, 2018 7:55 AM
To: Microsoft/AL
Cc: nanla; Author
Subject: Re: [Microsoft/AL] The type or method cannot be used for extension development (#2577)
Hi,
regarding the outlook issue: The team has filed a bug for this so it will be fixed in the next major version.
br/Gert
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/AL/issues/2577#issuecomment-397205549, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlldWMN6Qc7WDxLOBjN3uX-16MNXF-feks5t8hbagaJpZM4Uk_Uh.

I have exposed the following:

report 111.InitializeRequest
report 116.InitializeRequest
codeunit8.CalcCell

I cannot expose codeunit8614.DecompressPackage, as it uses serverside files, which are not supported for extension development. For extensions, please use streams. You might consider using DecompressPackageToBlob in the same codeunit, which uses streams instead of files.

Thank you very much!

From: Jesper Schulz-Wedde<EMAIL_ADDRESS>Sent: June 22, 2018 11:52 AM
To: Microsoft/AL
Cc: nanla; Author
Subject: Re: [Microsoft/AL] The type or method cannot be used for extension development (#2577)
I have exposed the following:

report 111.InitializeRequest
report 116.InitializeRequest
codeunit8.CalcCell

I cannot expose codeunit8614.DecompressPackage, as it uses serverside files, which are not supported for extension development. For extensions, please use streams. You might consider using DecompressPackageToBlob in the same codeunit, which uses streams instead of files.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/AL/issues/2577#issuecomment-399417029, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlldWIZ9Y-LzAJHdCgc1dgEZd_-VA_8Uks5t_NqVgaJpZM4Uk_Uh.

Hi Gert,
Thank you for all your help.
I have another question related with AL.
Our customer who is using Dynamics 365 Business Central wants to get a customized role center page. The page will have links combined from 5 different role center pages such as 9022,9027,9006,9026, and 9028.  The role center page in Business Central has different links than the role center page in NAV2018. We don't have access to the Business Central database. Is there a way to figure out which page/report the link pointing to?
For example, how to find out which page/report Deferrals pointing to?
[cid:f2f35f4c-782a-4eaf-b95f-4cfa2dfceb0f]
Thank you very much for your help.
Lan

From: Gert Robyns<EMAIL_ADDRESS>Sent: June 14, 2018 7:55 AM
To: Microsoft/AL
Cc: nanla; Author
Subject: Re: [Microsoft/AL] The type or method cannot be used for extension development (#2577)
Hi,
regarding the outlook issue: The team has filed a bug for this so it will be fixed in the next major version.
br/Gert
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/AL/issues/2577#issuecomment-397205549, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlldWMN6Qc7WDxLOBjN3uX-16MNXF-feks5t8hbagaJpZM4Uk_Uh.

Hi Lan,
you can use docker images and set them up as business central. Freddy has a series of blogs with all the info. Have a look here to see which image you can use for your scenario:
https://blogs.msdn.microsoft.com/freddyk/2018/04/16/which-docker-image-is-the-right-for-you/
I'll close this issue now, please open new issues if you have further questions.
cheers,
Gert

Hi Gert,
Sorry to bother you again. You closed this issue. But my question is still related with this issue. You replied "these are already marked as external, please try a more recent version.". But I still get the same error message when I use docker image "microsoft/bcsandbox:us" which should be the current version.
Can you please tell me which version the methods we requested are open to use?
thank you very much!

Hi,
please try this one:
cinsider.azurecr.io/bcsandbox-master
or
cinsider.azurecr.io/bcsandbox-master:us
br/Gert

Hi Gert,
Thank you for your response.
I tried docker run to get the image. I got error "unable to find image locally". I tried docker pull cinsider.azurecr.io/bcsandbox-master:us. it asks for user name and password. What user name/password should I provide?
[cid:2ec25c3b-f4cc-4d0b-8434-31c9cbf78d11]
Thank you again.

From: Gert Robyns<EMAIL_ADDRESS>Sent: July 6, 2018 8:00 AM
To: Microsoft/AL
Cc: nanla; Author
Subject: Re: [Microsoft/AL] The type or method cannot be used for extension development (#2577)
Hi,
please try this one:
cinsider.azurecr.io/bcsandbox-master
or
cinsider.azurecr.io/bcsandbox-master:us
br/Gert
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/AL/issues/2577#issuecomment-402958535, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AlldWMGBNwCBAfjqYeFqIA-IdBrCGn8nks5uDxk0gaJpZM4Uk_Uh.


FIX Make release:translate non destructive

Avoid removing translation keys that exist in yml or json but don't exist in transifex.
There was no code to merge yaml keys, so tx pull was always overriding the yaml content entirely.
There was code to merge json keys, but it was looking for src/en.js specifically, which doesn't exist. Instead, it should look for all .json files in the src/ directory of each module's js lang directories.
Also removed ksort of the json content as per the discussion in the issue.
Parent issue:
fixes #202

I'm still seeing translations being removed in framework

Testing setup, using 4.5.0-beta9 to we don't accidentally publish a new tag.  This will still use the 4.x-dev branches.
Using master branch
Manually update Composer.php to ensure composer.config.platform.php does interfere with installing things
        foreach ($customConfig as $option => $arguments) {
            if ($option == 'platform.php') continue; // <<<

cow release:create -vvv 4.5.0-beta9 silverstripe/recipe-kitchen-sink
Manually find and replace graphql 3.x-dev || 4.x-dev to 3.x-dev in composer files in release folder so that it doesn't fail semver check (we've previously run cow forks to handle this)
cow release:plan -vvv 4.5.0-beta9 silverstripe/recipe-kitchen-sink
checkout the pulls/master/non-destructive-translations branch
cow release:translate -vvv --skip-fetch-tags 4.5.0-beta9 silverstripe/recipe-kitchen-sink

@emteknetnz I am getting those results in the master branch, but not with this PR.
Can you please confirm if the cli output has the following lines?

[translations] Backing up local json files

A large number of "Backing up /some/path/to/module/client/lang/src/locale.json"

[translations] Finished backing up 319 json files
[translations] Backing up local yaml files

A large number of "Backing up /some/path/to/module/lang/locale.yml"

[translations] Finished backing up 835 yaml files

Also I'm guessing you are getting the diff using something like git diff HEAD^?

Apologies, I ran git diff while the translations were still running on kitchen-sink.  Running it after the translation commit was added, things looks much more sensible


Rename chdir to package-path

While implementing this, I've had doubts about the name. It can be ambiguously understood to mean the path to the manifest file. Ideas: --package-root, --package-dir.

We discussed --package-dir{,ectory} as well. I personally find --package-directory pretty longwinded but maybe that is ok. @rballard do you have an opinion here?
I agree with the sentiment, but I'm not sure it will end up being much of a problem in practice.

@swift-ci please smoke test

@aciidb0mb3r I removed the usage and I changed from calling warning() to using the diagnostics engine

@swift-ci please smoke test


Nock fails in TravisCI but runs fine locally

I have about 60 tests in my current project, 5 of which are using Nock. All 60 pass locally, including the nock'd ones. However on TravisCI, the 5 tests using Nock fail.
I've added some cleanup as well to make sure that wasn't the issue,
before(function(done) {
  nock.disableNetConnect();

afterEach(function(done) {
  nock.cleanAll();

after(function(done) {
  nock.enableNetConnect();

However the Travis build still fails for these tests. In particular it seems like Nock is not returning anything, as certain fields expected in the response are undefined. Again though, this is not happening if I just run npm test on my machine.
I'm not familiar enough with Nock to understand what could be going on here, let me know if there is any other information I could provide which would be useful.

If you add a
console.log(nock.activeMocks());

What will show locally and inside TravisCI?


[Tool]: Update Kitchen Sink form

Build a kitchen sink form to test capacity issue for cluster sizing.
This form needs to be accessible without authentication and have similar components/features like our DJ form to ensure we are able to test the capacity changes and infrastructure as code solution properly

@warrenchristian1telus will look into getting a t test IDIR from CB

@bhumin-fw  will move to rod w/guest log in


Does not work correct with negative numbers

If you highlight a number and change type, it appears to preserve the negative sign, but the numbers seem to be incorrect as well. Correct implementation would be to remove the sign and generate the correct number. I think a drawback here is that the type can't be easily inferred, so I think the command palette could let you choose the size.

I dont think thats viable to implement because you dont know the size of the number. How do I know if the number is 8, 16 or 32 bit given a base 10 integer?

Dont you have access to the text users are interacting with?

Yes, but not the context. The number might be 32 bits in the code being written, but be converted to 8 bits, and that will cause errors
C example:
int32_t value = -10;
Gets converted to
int32_t value = 0b11110110
or
int32_t value = 0xF6
Which is -10 in binary/hex, but not the correct amount of bits, and the hex representation is entirely wrong

As it currently stands the implementation is broken. Further, unsupported. So something is better than nothing.
In the literal sense 0xF6 is wrong for the type, but its right for the value.
On one route you could focus on the amount of bytes in the number and take the user literally. Users attempting to use hex are more than capable of padding extra 1's or 0's or F's to achieve the desired length, if necessary. if not(X)+1 >= N where X is input, N is 0xFF or 0xFFFFFFFF should be used in this circumstance to more accurately guess the intended size.
signed -128
unsigned 128
hex 0x80
signed -32768
unsigned 32768
hex 0x8000
Another route, you could make a drop down from the palette to select the bit length just for negative numbers.


Fixing scale inheritance

This small PR closes #120 by simply taking over the same scale parameter, as the analysed layer. Should not mess anything up much since the fix is very small and I've done some preliminary testing.

@Cryaaa Sorry for such a late reply! I tested this now, and it worked perfectly, so I will merge :)


Change code rendering

Use https://github.com/conorhastings/react-syntax-highlighter, as it seems to support very good code rendering. Consider react-virtualized for performance.
We should be able to have a custom render function per line, so that future config files can go all out.

Done


Apache 2.0 license

Fix a few places I missed the Apache 2.0 license.

Coverage remained the same at 93.72% when pulling e1e119cc19f671898aa3386e74988ccbaa5fa187 on cncf-updates into f4a271b3265345c2649b55c8cdf9668dfdbc5099 on master.

Coverage remained the same at 93.72% when pulling e1e119cc19f671898aa3386e74988ccbaa5fa187 on cncf-updates into f4a271b3265345c2649b55c8cdf9668dfdbc5099 on master.


browser export config

Congrats on a great project!
I am not a rollup user and i am trying to setup the build to export a browser consumable file ( with React exclusions etc...) for lazy loading in a non webpack/rollup builder environment...
any pointers or docs on how to do this with react-spring?

I can easily export react-spring as an umd, but i wonder what will happen with the dependencies, for instance https://github.com/react-community/normalize-css-color
React and PropTypes have umd builds, but this one - i think it doesn't.

i tried using the iife version and the deps get left behind.
As a workaround I am gonna setup a minimal webpack project and require react-spring and export from there..

<!DOCTYPE html>

  <meta charset="UTF-8" />
  <title>Hello World</title>

4.0.6 now exports a UMD, it puts normalize-css-color into the bundle while it's at it.

It works great!!
thanks!


Update compatibility

Are there plans to update compatibility with guacamole 1.0 ?

I just recompiled it with the version string changed and it worked fine.

OK, thanks for the info.

Hi, I tried recompiling but got this error on jar load under tomcat:
Extension "guacamole-auth-jwt-1.0.0.jar" could not be loaded: Authentication provider class cannot be loaded (wrong version of API?)
Any idea on what I'm doing wrong?
@aronson Can you please provide the recompiled version for 1.0.0?

The version has updated.


demos are giving non-zero exit codes when compiled

I've setup my LLGOROOT to the repo directory, export LLGOROOT="/Users/kai/.Github/llgo", then I compiled all the code under _demo, this works:
for i in *; do (cd $i; llgo build .); done

However, when we run these commands, it all failed with different exit codes:
{🏠? ~/.xia/sha/git/llg/_demo}for i in *; do ./$i/$i > /dev/null 2>&1 ; echo $i $?; done
concat 16
genints 2
hello 12
llama2-c 1
qsort 4
sqlite 1

After some inspection, it looks like most of the code runs successfully, it is just not exiting with zero code. Running via llgo run does not have this issue.

Thanks for the feedback. It seems that because the main function executes ret void at the end, the return value of the last statement is returned as the exit code. For example, the last statement printf of concat returns the number of printed characters 16, so the exit code becomes 16.

solved


npm install fails

Thanks for publishing this!
I'm curious about the interface of Wasm and host environments. Especially performance and code size.
I tried running npm install on macOS 10.15.7 using node @14.17.3 but node-gyp failed:
$ npm install

><EMAIL_ADDRESS>install /Users/eli/foss/wasmlearning/wasm-anyref-demo/node_modules/fsevents
> node install

node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp WARN Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.2.9/fse-v1.2.9-node-v83-darwin-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v83 ABI, unknown) (falling back to source compile with node-gyp)
No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'.

No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'.

No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.

I don't expect you to fix this but wanted to post in case anyone else runs into this.

Usually this is caused by not having Xcode stuff installed, which is required to build native node addons.
Try:
xcode-select --install

https://github.com/nodejs/node-gyp#on-macos

@jayphelps thanks for the tip!
The funny thing is I have developer tools installed:
 xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates

I've run into this issue before and believe it may relate to using volta to manage my node.js installation combined with how precompiled node-gyp binaries are made available.
Turns out yarn install successfully installed the dependencies but npm start failed.
So rather than chase toolchain errors I simply pinned node 12.x to the package.json. I believe that preserves the intent of this demo better.

Weird! I tried node 14.17.3 with a fresh clone, and it worked fine. Same with node 15 and 16.

Huh. I wager it is my machine. So I'll close.
For future travelers:
volta pin node@12 && npm install


[minior] support serde for some function

Which issue does this PR close?

Closes #.
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

cc @jackwener


list some projects where it is also used

obvious and well known to people with deep knowledge of OSM but may be worth making clear to people new to it

This info was already found at https://github.com/openstreetmap/id-tagging-schema/wiki/Projects-that-are-using-this-tagging-schema, but it's good to have it as a link in the project readme also!


15.3.6-Shouldn't k change from 1 to n excluding i?

Here there isn't a particular order mentioned for currency exchange,so i'th one can have a transition from i+1 or n as well to i, i.e why not consider r[i+1][i] ...

Sorry ,my bad got the answer


Shell integration breaks prompt when using Fish shell with Tide prompt

VS Code Version: 1.80.0 (Universal)
OS Version: macOS 13.4.1 (22F82)

Steps to Reproduce

Set Fish as the default shell for your system.
Install the Tide prompt.
Observe broken prompt and error messages when starting an integrated terminal:

fish: Unknown command: '_tide_item_pwd git'
~/.config/fish/functions/_tide_1_line_prompt.fish (line 4):
        _tide_item_$item
        ^~~~~~~~~~~~~~~^
in function '_tide_1_line_prompt'
in command substitution
fish: Unknown command: '_tide_item_status cmd_duration context jobs'
~/.config/fish/functions/_tide_1_line_prompt.fish (line 11):
        _tide_item_$item
        ^~~~~~~~~~~~~~~^
in function '_tide_1_line_prompt'
in command substitution

Screenshots

Shell integration disabled, Tide installed

Shell integration enabled, Tide not installed

Shell integration enabled, Tide installed (prompt broken)

It looks like this was caused by #185355 and has broken prompts that rely on variables local to the file that declares the fish prompt function. It's simple enough to reproduce with the following fish_prompt.fish file:
set TEST hello

function fish_prompt
    echo $TEST
end

Now, in settings, disable Terminal › Integrated › Shell Integration: Enabled. Create a new terminal window and you should see "hello" as the prompt. Enable shell integration once more and create another new terminal window, the prompt will now be blank.

Yep same issue here

Same issue, though in my case I'm seeing an extra newline at the end of the prompt.
https://github.com/IlanCosman/tide/issues/433

Just to add to this, I use Hydro and just noticed that I am encountering this problem. Disabling the shell integration works.


Why onDrawUpdate doesn't see geojson data at state

Hey! I make an app, and I faced with strange trouble. Please, open the link - https://stackblitz.com/edit/react-mapbox-gl-draw
And note at console. If you add a new Point, and try to move one, you'll see that data.features is empty. Why?

I've found a decision, but I don't understand why I have to use such construction?
const onDrawUpdate = ({ features }) => {
    const feature = features[0];
    setData((prev) => {
      return {
        type: prev.type,
        features: prev.features.map((item) => (item.id === feature.id ? feature : item)),
      };
    });
  };

  const onDrawDelete = ({ features }) => {
    const feature = features[0];
    setData((prev) => {
      return {
        type: prev.type,
        features: prev.features.filter((item) => item.id !== feature.id),
      };
    });
  };

Why I can't use just setData(feature)?


Slight modification to the Noisy initialization

I needed access to the persistence variable in Noisy so that I can just set it with the initialization of Noisy

Wow, thats a lot of changes for what should really be two lines. If you create a commit that only makes the persistence value accessible I would be happy to merge it in. I will bump the version number and make the other required changes and push the new version.

It was mostly the gitignore, readme, and the gemspec file.


Show errors on textfield after api call

Hi all,
I've question according to show errors to specific fields.
Is it possible to add errors to fields in a reactive form after an api call that returns an error.
ex.
 FormGroup formGroup = FormGroup({
    'user_name': FormControl<String>(),
    'firstname': FormControl<String>(),
    'lastname': FormControl<String>(),
    'email': FormControl<String>(validators: [
      Validators.email,
    ]),
  });

Button at the bottom of the screen that creates an account.
So on button click all fields are valid;
How to show an error on the username input field when the api returns an error.
f.e "Username already exists" ?
Thanks in advance

Hi @jordandevogelaere,
You can have two approaches:
1- The one described by @vasilich6107 above
2- Create a custom Async Validator to the Username/Email
inside the folder example of the project, there is an implementation of the approach.
FormGroup form = fb.group(<String, Object>{
   'email': FormControl<String>(
      validators: [Validators.required, Validators.email],
      asyncValidators: [_uniqueEmail]
   )
});

Future<Map<String, dynamic>?> _uniqueEmail(AbstractControl<dynamic> control) async {
  final error = {'unique': false};

  final emailAlreadyInUse = await Future.delayed(
    const Duration(seconds: 5), // delay to simulate a time consuming operation
    () => inUseEmails.contains(control.value.toString()),
  );

  if (emailAlreadyInUse) {
    control.markAsTouched();
    return error;
  }

  return null;
}

Hi @jordandevogelaere,
Have you solved your issue? Any update on it would be very greatful.

Hi @joanpablo ,
Thanks for your answer.
It was solved by the approach @vasilich6107 described.
Thank you both!

Hi @jordandevogelaere
If the issue is solved - do not forget to close the issue.


fix: avoid rounding in serializations

This change is

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

Project coverage is 83.24%. Comparing base (cbc4f67) to head (908564c).
Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #415   +/-   ##
=======================================
  Coverage   83.24%   83.24%
=======================================
  Files          37       37
  Lines        1695     1695
  Branches     1695     1695
=======================================
  Hits         1411     1411
  Misses        209      209
  Partials       75       75

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


Development on macOS: copy-extension-dir fails

Hi,
When I started to play around with a fork, I noticed that on my macOS system the pnpm dev fails with this:
> cp -T -r ./extension ./dist

cp: illegal option -- T

As a workaround, I could get past this by removing the -T in the command in the package.json.

Thanks for catching this macOS compatibility issue! I'll remove the -T flag in the next commit since it works fine without it.


Cant connect to opensearch?

Hi, When attempted to run the container, I get the following output. Looks like its failing to connect to OpenSearch.
I am able to open and browse the OpenSearch dashboard at http://IP:5601
Any ideas?
Thanks
INFO[0010] Running routine checks against viewer and capturer
WARN[0010] Viewer Process Exited. Restarting...
INFO[0010] Starting the viewer process
WARN[0010] Capture Process Exited. Restarting...
INFO[0010] Starting the Capture process
[CAPTURE] : 2024-03-20T08:35:30Z - Mar 20 08:35:30 main.c:215 parse_args(): WARNING: gethostname doesn't return a fully qualified name and getdomainname failed, this may cause issues when viewing pcaps, use the --host option - arkime
[CAPTURE] : 2024-03-20T08:35:30Z - Mar 20 08:35:30 config.c:270 moloch_config_int(): INFO: Reseting dbBulkSize since 300000 is less then the min 500000
[CAPTURE] : 2024-03-20T08:35:30Z - Mar 20 08:35:30 main.c:744 moloch_mlockall_init(): WARNING: memlock in limits.conf must be unlimited or at least 4000000, currently 8192
[CAPTURE] : 2024-03-20T08:35:30Z - Mar 20 08:35:30 http.c:262 moloch_http_send_sync(): Retry http://<IP_ADDRESS>:9200/_template/arkime_sessions3_template?filter_path=**._meta error 'Couldn't connect to server'
[CAPTURE] : 2024-03-20T08:35:30Z - Mar 20 08:35:30 http.c:262 moloch_http_send_sync(): Retry http://<IP_ADDRESS>:9200/_template/arkime_sessions3_template?filter_path=**._meta error 'Couldn't connect to server'
[CAPTURE] : 2024-03-20T08:35:30Z - Mar 20 08:35:30 http.c:262 moloch_http_send_sync(): Retry http://<IP_ADDRESS>:9200/_template/arkime_sessions3_template?filter_path=**._meta error 'Couldn't connect to server'
[CAPTURE] : 2024-03-20T08:35:30Z - Mar 20 08:35:30 http.c:266 moloch_http_send_sync(): libcurl failure http://<IP_ADDRESS>:9200/_template/arkime_sessions3_template?filter_path=**._meta error 'Couldn't connect to server'
[CAPTURE] : 2024-03-20T08:35:30Z - Mar 20 08:35:30 db.c:2132 moloch_db_check(): ERROR - Couldn't load version information, database (http://<IP_ADDRESS>:9200) might be down or not initialized.
[VIEWER] : 2024-03-20T08:35:31Z - ERROR - fetching aliases ConnectionError: connect ECONNREFUSED <IP_ADDRESS>:9200
[VIEWER] : 2024-03-20T08:35:31Z - ERROR - getting OpenSearch/Elasticsearch client info failed, is it running? ConnectionError: connect ECONNREFUSED <IP_ADDRESS>:9200
[VIEWER] : 2024-03-20T08:35:31Z -     at ClientRequest.onError (/opt/arkime/node_modules/@elastic/elasticsearch/lib/Connection.js:114:16)
[VIEWER] : 2024-03-20T08:35:31Z -     at ClientRequest.emit (node:events:513:28)
[VIEWER] : 2024-03-20T08:35:31Z -     at Socket.socketErrorListener (node:_http_client:494:9)
[VIEWER] : 2024-03-20T08:35:31Z -     at Socket.emit (node:events:513:28)
[VIEWER] : 2024-03-20T08:35:31Z -     at emitErrorNT (node:internal/streams/destroy:157:8)
[VIEWER] : 2024-03-20T08:35:31Z -     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
[VIEWER] : 2024-03-20T08:35:31Z -     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
[VIEWER] : 2024-03-20T08:35:31Z -   meta: {
[VIEWER] : 2024-03-20T08:35:31Z -     body: null,
[VIEWER] : 2024-03-20T08:35:31Z -     statusCode: null,
[VIEWER] : 2024-03-20T08:35:31Z -     headers: null,
[VIEWER] : 2024-03-20T08:35:31Z -     meta: {
[VIEWER] : 2024-03-20T08:35:31Z -       context: null,
[VIEWER] : 2024-03-20T08:35:31Z -       request: [Object],
[VIEWER] : 2024-03-20T08:35:31Z -       name: 'elasticsearch-js',
[VIEWER] : 2024-03-20T08:35:31Z -       connection: [Object],
[VIEWER] : 2024-03-20T08:35:31Z -       attempts: 2,
[VIEWER] : 2024-03-20T08:35:31Z -       aborted: false
[VIEWER] : 2024-03-20T08:35:31Z -     }
[VIEWER] : 2024-03-20T08:35:31Z -   }
[VIEWER] : 2024-03-20T08:35:31Z - }

looks like you're putting localhost or <IP_ADDRESS> as your Elasticsearch/Opensearch server. since arkime is running in a container, localhost in that context points to the same container which is not running Elasticsearch. You might want to put the container's hostname host's IP address for this.


Run Automation suite against 2.6.4-rc

Run Automation suite against 2.6.4-rc (3 weeks before release)

Jenkins
Assignee
Status

rancher-v3_additional_tests
Team 1

rancher-v3_additional_tests_cli
Team 2

rancher-v3_additional_tests_long
Team 3

rancher-v3_auth_enabled_rancher
Team 1

rancher-v3_cluster_auth_grb_istio_monitoring
Team 3

@sowmyav27 , how do you want me to make sure this gets done in time? I'm not sure who the assignee should be on this ticket. Since it's automation, is it just Brandon?

Jenkins
Assignee
Status

rancher-v3_additional_tests
Izaac
Passed

rancher-v3_additional_tests_cli
Izaac
In Progress

rancher-v3_additional_tests_long -- automation has failed, but manually checking these tasks is passing using v2.6.4-rc8. Filed this issue to track updates to automation https://github.com/rancher/qa-tasks/issues/269

Jenkins
Assignee
Status

rancher-v3_auth_enabled_rancher
Anupama
Pass

rancher-v3_cluster_auth_grb_istio_monitoring
Anupama
Pass


Deploy Masa Managed Node With Claude Service

Deploy Masa Managed Node With Claude Service
Summary
Deploy a Masa-managed Oracle Node integrated with the Claude sentiment analysis service. This deployment will include a chat interface as the sole method for interacting with the node's API. The chat interface will be restricted to use by Masa's internal team or designated users, ensuring controlled access to the Claude service.
Objectives

Set up a Masa-managed Oracle Node with integrated Claude sentiment analysis service.
Ensure the node is accessible only through a designated chat interface.
Implement security measures to restrict API access to authorized users only. NOTE: This might need to be its own ticket and we may want to convert the Masa SDK to a Go package to manage signing in with a wallet from the UI

Tasks
Task 1: Infrastructure Setup

Sub-task 1.1: Provision a secure, scalable server environment suitable for hosting the Oracle Node and Claude service.
Sub-task 1.2: Install necessary dependencies and configure the environment for the Oracle Node and Claude service.

Task 2: Node and Service Deployment

Sub-task 2.1: Deploy the Oracle Node application, ensuring it is configured correctly to integrate with the Claude sentiment analysis service.
Sub-task 2.2: Set up the Claude service, including any necessary API keys or authentication mechanisms required for operation.

Task 3: Security and Access Control (TBD)

Sub-task 4.1: Implement API rate limiting and access controls to prevent unauthorized use and ensure the stability of the service.
Sub-task 4.2: Set up a secure authentication system for the chat interface to restrict access to Masa's internal team or designated users.

Task 4: Monitoring and Logging

Sub-task 5.1: Implement monitoring tools to track the health and performance of the Oracle Node and Claude service.
Sub-task 5.2: Set up logging for both the Oracle Node and chat interface, ensuring logs are securely stored and accessible for troubleshooting.

Task 5: Documentation and Handover

Sub-task 6.1: Document the deployment process, including server configurations, deployment steps, and security measures.
Sub-task 6.2: Provide a brief training session or handover document to the internal team, explaining how to use the chat interface and access logs for troubleshooting.

Dependencies

Server infrastructure capable of hosting the Oracle Node and Claude service.
Access to the Claude sentiment analysis API and necessary authentication credentials.
The chat interface application deployed in the Masa Extension

Acceptance Criteria

The Masa-managed Oracle Node with Claude service is fully deployed and operational.
The node is accessible only via the designated chat interface, with strict access controls in place.
Monitoring and logging are set up to ensure ongoing visibility into the health and performance of the deployment.
Documentation and handover materials are provided to the internal team for future reference and troubleshooting.

Can close this


Add bootc apply-live

This is probably mainly draining the logic from rpm-ostree into ostree-ext, then re-using it here.
But...a whole lot of suddenly OS-specific issues come to the fore.  For example, should we try to distinguish between "new content" and "changes"?

This one also relates to https://github.com/containers/bootc/issues/165
I know at least some people have also been asking for an "apply live by default" mode.  Note that there's a super tricky detail of that in that if there's kernel changes in the new root, we must in general do something like keep /usr/lib/modules/$kver mounted/copied into the running root.

This one also relates to #165
I know at least some people have also been asking for an "apply live by default" mode. Note that there's a super tricky detail of that in that if there's kernel changes in the new root, we must in general do something like keep /usr/lib/modules/$kver mounted/copied into the running root.

Could we bind mount /usr/lib/modules somewhere else like /run/booted-kernel-modules during the initial boot, and then have the kernel also look for modules there? Then we don't have to mess with trying to have union the new and old modules dirs?

Could we use the same logic as the DNF needs-restarting plugin? This gives hints whether processes, services or the whole system needs a restart to account for the changes. And this would keep us close to DNF.
It might also be nice to have a --dry-run option to know before applying a change whether it will require a process / service / system restart. It would also be interesting to have the ability to use the same logic to compare two images out of band, e.g. in a CI/CD pipeline.

Could we use the same logic as the DNF needs-restarting plugin? This gives hints whether processes, services or the whole system needs a restart to account for the changes. And this would keep us close to DNF.
It might also be nice to have a --dry-run option to know before applying a change whether it will require a process / service / system restart. It would also be interesting to have the ability to use the same logic to compare two images out of band, e.g. in a CI/CD pipeline.

the intent behind apply-live is to avoid reboots, where a kernel update is actually required a more natural fit would be to have a kexec flow to switch directly to the new kernel or defer that until the next actual reboot is requested.
have bootc apply-live ever triver a whole system restart would make it un usabel for some usecases.
i.e. performing software updates when workload cannot be stoped or moved to a different host.
for example, if you have vms or other workloads on the systems in the context fo a cloud computing environment.
A normal user may be okay with downstream, but using this in a data centre context would be very problematic. It would be necessary to live migrate all workloads off a given host to a different one just to update the version of Ping or some other package that is on the host because of a cave.
so the ability to live application without reboot is required for CVE patching and other use-cases.
i hope this issue is prioritized at some point as it's still very important in my view for bootc to be adopted in datacenters.

Just to cross-reference this more explicitly: in OCP we're going to be implementing something similar to this RFE to be able to boot from a disk image which doesn't have e.g. the kubelet and overlay the target node image, which does have it. One success criteria for this RFE should ideally be that we can simplify that logic to use bootc apply-live instead. For example, it should ideally work in live systems as well.


[GIE K8S Deploy] Deploy GIE with different storage type by providing corresponding configurations in helm

What do these changes do?
as titled.

Related issue number

Fixes

Codecov Report

Merging #2106 (e142e00) into main (5aabc4d) will decrease coverage by 3.73%.
The diff coverage is n/a.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #2106      +/-   ##
==========================================
- Coverage   43.83%   40.09%   -3.74%
==========================================
  Files          87       87
  Lines        9883     9883
==========================================
- Hits         4332     3963     -369
- Misses       5551     5920     +369

Impacted Files
Coverage Δ

python/graphscope/tests/unittest/test_java_app.py
0.00% <0.00%> (-100.00%)
:arrow_down:

python/graphscope/deploy/hosts/cluster.py
29.41% <0.00%> (-58.83%)
:arrow_down:

python/graphscope/analytical/app/java_app.py
24.36% <0.00%> (-44.68%)
:arrow_down:

python/graphscope/framework/utils.py
40.10% <0.00%> (-14.85%)
:arrow_down:

python/graphscope/framework/app.py
69.95% <0.00%> (-10.33%)
:arrow_down:

python/graphscope/framework/graph_schema.py
52.73% <0.00%> (-6.63%)
:arrow_down:

python/graphscope/tests/conftest.py
48.81% <0.00%> (-4.41%)
:arrow_down:

python/graphscope/client/rpc.py
86.11% <0.00%> (-3.71%)
:arrow_down:

python/graphscope/analytical/udf/utils.py
36.17% <0.00%> (-3.20%)
:arrow_down:

python/graphscope/client/session.py
63.24% <0.00%> (-2.97%)
:arrow_down:

... and 2 more

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 5aabc4d...e142e00. Read the comment docs.


.NET Core EvaluateScriptAsync

Win10x64、 .NET Core 3.1、CefSharp.WinForms 83.4.20
var browser = new ChromiumWebBrowser("https://github.com/cefsharp/CefSharp/issues");
var result = await browser.EvaluateScriptAsync("Promise.resolve(1)");
bug: result.Result == null;

It's currently not possible to directly return a promise via EvaluateScriptAsync
We need support to be added in CEF first to handle this correctly, there is an open PR
https://bitbucket.org/chromiumembedded/cef/pull-requests/291/improve-_cef_v8value_t/diff
You should be able to use DevTools to achieve this https://chromedevtools.github.io/devtools-protocol/tot/Runtime/#method-evaluate
You can directly execute DevTools commands see

https://github.com/cefsharp/CefSharp/issues/3158
https://github.com/cefsharp/CefSharp/issues/3158#issuecomment-652705484
http://cefsharp.github.io/api/83.4.x/html/M_CefSharp_DevToolsExtensions_ExecuteDevToolsMethodAsync_1.htm

Thanks.


Kured is not uncordoning / removing label after reboot

Hello there,
i recently discoverd an issue with kured.
Out of 10 reboots, 2-3 nodes wont be uncordoned after the reboot (different ones each time, not the same ones).
The label is also not reset (need to change it manually). The uncordoning step gets just skipped.
I also cant see an Unable to uncordon ... error.
So it seems that kured doesnt even know that the node is cordoned?
Here is a log after an unsuccesfull reboot:
time="2024-07-17T07:07:05Z" level=info msg="Binding node-id command flag to environment variable: KURED_NODE_ID"
{"level":"info","msg":"Kubernetes Reboot Daemon: 1.15.1","time":"2024-07-17T07:07:05Z"}
{"level":"info","msg":"Node ID: node1.example.com","time":"2024-07-17T07:07:05Z"}
{"level":"info","msg":"Lock Annotation: node-remediation/kured:weave.works/kured-node-lock","time":"2024-07-17T07:07:05Z"}
{"level":"info","msg":"Lock TTL not set, lock will remain until being released","time":"2024-07-17T07:07:05Z"}
{"level":"info","msg":"Lock release delay not set, lock will be released immediately after rebooting","time":"2024-07-17T07:07:05Z"}
{"level":"info","msg":"PreferNoSchedule taint: ","time":"2024-07-17T07:07:05Z"}
{"level":"info","msg":"Blocking Pod Selectors: []","time":"2024-07-17T07:07:05Z"}
{"level":"info","msg":"Reboot schedule: ---MonTueWedThu------ between 08:00 and 18:00 Europe/Berlin","time":"2024-07-17T07:07:05Z"}
{"level":"info","msg":"Reboot check command: [test -f /sentinel/reboot-required] every 20s","time":"2024-07-17T07:07:05Z"}
{"level":"info","msg":"Concurrency: 1","time":"2024-07-17T07:07:05Z"}
{"level":"info","msg":"Reboot method: command","time":"2024-07-17T07:07:05Z"}
{"level":"info","msg":"Reboot signal: 39","time":"2024-07-17T07:07:05Z"}
{"level":"info","msg":"Will annotate nodes during kured reboot operations","time":"2024-07-17T07:07:05Z"}
{"level":"info","msg":"Holding lock","time":"2024-07-17T07:08:24Z"}
{"level":"info","msg":"Deleting node node1.example.com annotation weave.works/kured-reboot-in-progress","time":"2024-07-17T07:08:24Z"}
{"level":"info","msg":"Releasing lock","time":"2024-07-17T07:08:24Z"}
{"level":"info","msg":"Reboot not required","time":"2024-07-17T07:08:40Z"}
{"level":"info","msg":"Reboot not required","time":"2024-07-17T07:09:00Z"}
{"level":"info","msg":"Reboot not required","time":"2024-07-17T07:09:20Z"}
{"level":"info","msg":"Reboot not required","time":"2024-07-17T07:09:40Z"}
{"level":"info","msg":"Reboot not required","time":"2024-07-17T07:10:00Z"}
{"level":"info","msg":"Reboot not required","time":"2024-07-17T07:10:20Z"}
{"level":"info","msg":"Reboot not required","time":"2024-07-17T07:10:40Z"}
{"level":"info","msg":"Reboot not required","time":"2024-07-17T07:11:00Z"}

These are my chart values:
  values:
    tolerations:
      - operator: "Exists"
    maxUnavailable: 2
    metrics:
      create: true
    service:
      create: true
    configuration:
      lockAnnotation: "weave.works/kured-node-lock"
      period: 20s
      rebootDelay: 60s
      rebootDays: [mo,tu,we,th]
      startTime: "8:00"
      endTime: "18:00"
      timeZone: "Europe/Berlin"
      logFormat: "json"
      annotateNodes: true
      drainDelay: 30s
      preRebootNodeLabels:
        - kuredreboot=inprogress
      postRebootNodeLabels:
        - kuredreboot=idle

I noticed, once i recreate the DS that its working for a while before breaking again. This could be a coincidence though..
I tried looking through the code myself but cant really make out why this happens.
Maybe one of you has an idea what might be happening 🤔 Maybe its a simple thing im overseeing..

I also noticed, if it happens to one host it will happen to every other host following. Unless you recreate the DaemonSet.
Here is the DS manifest:
Name:           kured
Selector:       app.kubernetes.io/instance=kured,app.kubernetes.io/name=kured
Node-Selector:  kubernetes.io/os=linux
Labels:         app.kubernetes.io/instance=kured
                app.kubernetes.io/managed-by=Helm
                app.kubernetes.io/name=kured
                helm.sh/chart=kured-5.4.5
                helm.toolkit.fluxcd.io/name=kured
                helm.toolkit.fluxcd.io/namespace=node-remediation
Annotations:    deprecated.daemonset.template.generation: 1
                meta.helm.sh/release-name: kured
                meta.helm.sh/release-namespace: node-remediation
                weave.works/kured-node-lock:
                  {"nodeID":"node.example.com","metadata":{"unschedulable":false},"created":"2024-07-17T12:40:44.917242595Z","TTL":0}
Desired Number of Nodes Scheduled: 20
Current Number of Nodes Scheduled: 20
Number of Nodes Scheduled with Up-to-date Pods: 20
Number of Nodes Scheduled with Available Pods: 20
Number of Nodes Misscheduled: 0
Pods Status:  20 Running / 0 Waiting / 0 Succeeded / 0 Failed
Pod Template:
  Labels:           app.kubernetes.io/instance=kured
                    app.kubernetes.io/managed-by=Helm
                    app.kubernetes.io/name=kured
                    helm.sh/chart=kured-5.4.5
  Service Account:  kured
  Containers:
   kured:
    Image:      ghcr.io/kubereboot/kured:1.15.1
    Port:       8080/TCP
    Host Port:  0/TCP
    Command:
      /usr/bin/kured
    Args:
      --ds-name=kured
      --ds-namespace=node-remediation
      --metrics-port=8080
      --end-time=18:00
      --lock-annotation=weave.works/kured-node-lock
      --period=20s
      --drain-delay=30s
      --reboot-days=mo
      --reboot-days=tu
      --reboot-days=we
      --reboot-days=th
      --pre-reboot-node-labels=kuredreboot=inprogress
      --post-reboot-node-labels=kuredreboot=idle
      --reboot-sentinel=/sentinel/reboot-required
      --reboot-command=/bin/systemctl reboot
      --reboot-delay=60s
      --start-time=8:00
      --time-zone=Europe/Berlin
      --annotate-nodes=true
      --log-format=json
      --concurrency=1
    Liveness:   http-get http://:metrics/metrics delay=10s timeout=5s period=30s #success=1 #failure=5
    Readiness:  http-get http://:metrics/metrics delay=10s timeout=5s period=30s #success=1 #failure=5
    Environment:
      KURED_NODE_ID:    (v1:spec.nodeName)
    Mounts:
      /sentinel from sentinel (ro)
  Volumes:
   sentinel:
    Type:          HostPath (bare host directory volume)
    Path:          /var/run
    HostPathType:  Directory
  Node-Selectors:  kubernetes.io/os=linux
  Tolerations:     op=Exists


Payment

In which file does the front-end send the payment json to magento? I would like to edit it to suit my system better.

check
// src/components/checkout/CheckoutTotals.js

onPlacePressed = () => {
    const { cartId, selectedPayment } = this.props;
    const payment = {
      paymentMethod: {
        // po_number: selectedPayment.code,
        method: selectedPayment.code,
        // additional_data: [
        // 	"string"
        // ],
        // extension_attributes: {
        // 	agreement_ids: [
        // 		"string"
        // 	]
        // }
      },
    };
    this.props.checkoutCustomerNextLoading(true);
    this.props.placeGuestCartOrder(cartId, payment);
  }

I need to send a field called identity to Magento. Where and how can I add it?

Is identity field of what? I don't have it in my implementation. Can you explain what is it?

I already fixed mine. I passed the field Identity through "additional data" and it worked. Thanks

Great! Glad to hear.


search function on the admin page problem

Hi !
I have a problem  with the search function on the admin page.
When ever I search I get the below:
TypeError: Cannot read property ‘forEach’ of undefined at e.value (http://<IP_ADDRESS>/user/plugins/admin/themes/grav/js/admin.min.js?1b7a11d60e:5:98431)
The next message it prompts is:
iconv(): Wrong charset, conversion from utf-8' toascii//translit’ is not allowed
newest grav and all plugins updated
Grav v1.4.1 - Admin v1.7.1
kind regards
kristoferus75

Please open this here: https://github.com/getgrav/grav-plugin-admin/issues


Modify ...User guide data missing in the dev documentation

Description of the modifications
The dev build of user guide documentation appears to be missing information that is present in 0.4.1 version
Useful links and references
https://prime.docs.pyansys.com/version/dev/user_guide/index.html

@agvarghe this is being looked at by @AlejandroFernandezLuces, thanks

This is fixed, I just did a patch release to update the faulty dependency. Closing the issue.


RailsAdmin broken after Rails 3.2 upgrade

I've just upgraded my app from Rails 3.1.0 to 3.2.0 and I am now dealing with this weird error when I go to the RailsAdmin section.
I'm using CanCan to handle the authorization and this error appears to occur only when the current_user don't have manage :all abilities.
So here's the error :
NameError in Rails_admin/main#edit

Showing /home/jeremy/.rvm/gems/ruby-1.8.7-p357/bundler/gems/rails_admin-ed0dcd1b0ebd/app/views/layouts/rails_admin/application.html.haml where line #33 raised:

undefined local variable or method `bindings' for nil:NilClass
Extracted source (around line #33):

30:             %a.close{:href => '#'}×
31:             %p= value
32:         = breadcrumb
33:         %ul.tabs
34:           = menu_for((@abstract_model ? (@object.try(:id) ? :member : :collection) : :root), @abstract_model, @object)
35:           = content_for :contextual_tabs
36:         %span.row
Rails.root: /home/jeremy/RailsProjects/MetaTinkuy

Application Trace | Framework Trace | Full Trace
Request

Parameters:

{"sort"=>"id",
 "sort_reverse"=>"false",
 "id"=>"3",
 "model_name"=>"user"}

And here is my ability.rb :

class Ability
  include CanCan::Ability

  def initialize(user)
    user ||= User.new # guest user

    # Admins
    if user.any_role? [:super_admin, :admin, :moderator, :community_manager, :content_editor]
      can :access, :rails_admin
      if user.role? :super_admin
        can :manage, :all
      elsif user.role? :admin
        can :manage, [Publication, Comment, User, Organization, Avatar, Page, Content, Follow]
        can :read, Role
      else
        can :manage, [Publication, Comment] if user.role? :moderator
        can :manage, [Page, Content]        if user.role? :content_editor
        if user.role? :community_manager
          can :manage, [User, Avatar, Organization, Follow]
          can :read, Role
        end
      end
    end

    # Normal users
    if user.name # If user is logged in (because a visitor is an empty new User, so it has no name)
      unless can :manage, Publication
        can :read, Publication do |publication|
          not publication.draft or publication.author == user
        end
        can :publish, Publication
        can :create, Publication do |publication|
          not publication.publication_type.restricted
        end
        can :manage, Publication do |publication|
          publication.author == user and not publication.publication_type.restricted
        end
        can :create, Comment
        can :answer, Comment do |comment|
          comment.publication.author == user
        end
      end
      unless can :manage, Organization
        can :manage, Organization do |organization|
          organization.users.include? user
        end
      end
    else # If user is a visitor
      can :read, Publication do |publication|
        not publication.draft
      end
    end
  end
end

Quick recap :

Accessing /admin while being logged in as a SuperAdmin user (manage :all) works well
Accessing /admin while being logged as any other kind of user throws the error shown above

What do you think ?

Hey,
Can you post the full stack so we can see where it blows?

After having searched a bit I realized the issue is not related to Rails 3.2 but to the fact I've ran bundle update when updating to 3.2, which updated RailsAdmin to a new version, and it seems this is the new version that breaks everything.
Rolling back only RailsAdmin (while still using Rails 3.2) to the 328d54d0adc51ce4bedaec72f1ac137f2cba7783 commit seems to fix it.
Another thing I realized is that apart from the error I reported which pops when accessing some model's instance page (users/3 in my example) I also cannot access /admin but this time I get no error, just a CanCan unauthorized_access showing up although the current_user do have the rights to access the page ... Seems that the CanCan integration has been broken in some way.
 You need
can :dashboard
Since actions refactoring, there are no exceptions: each action must be properly authorized.

You're right this fixes everything. Thanks a lot :)


No profiles/accounts detected for SS0

Extension Version
1.7.0
Description
After installing the plugin i have no profiles/accounts listed, the user is set to No ? and it cant detect any account/profile
My sso login url is in this format :
https://d-XXXXXX.awsapps.com/start#/
Browsers
Chrome
OS
Windows

@slimam the extension should properly find your existing aws sso directory links now.
Lmk if you're still having trouble


Fix 'None' contacts

Resolves #503 issue with importing Nitrate contact name as 'None'.

This pull request introduces 1 alert when merging 62bccae into ecd2964 - view on LGTM.com
new alerts:
* 1 for Wrong number of arguments in a call

I noticed the issue on line 112, the second argument in the function call is missing. Will fix that.

This pull request introduces 1 alert when merging 62bccae into ecd2964 - view on LGTM.com
new alerts:
* 1 for Wrong number of arguments in a call

I noticed the issue on line 112, the second argument in the function call is missing. Will fix that.

Squashed, rebased on the latest master and adjusted read_nitrate_case() to work with manual tests import as well. @adka1408, @hegerj, please have a look.


Bandit flagging pycryptodome as a high vulnerability

Hi
Thanks for Bandit!
Having built an old repo, which uses pycryptodome, I've found it now breaks the build, because we fail on bandit -lll. This is intentional of course, but I'm struggling to find documentation on specific issues with pycryptodome that would help us understand the risk/urgency of this. If you have links available on this it'd be really helpful, as Googling it mostly gives pages about migrating to pycryptodome :-)
Really appreciate any pointers
Rob

https://github.com/PyCQA/bandit/issues/319

@Legrandin apologies - my search fu is lacking today. Thank you.


Computation of electrode coordinates 1020

With mntutil_posExt1010 you are providing the 3D standard coordinates for a 10% electrode placement system. I am trying to calculate the 10% positions myself and reading the code in this toolbox, I wonder where the following angles (in 90/4°)  are coming from:
https://github.com/bbci/bbci_public/blob/d6bf0e442d58d7a6f04952660712b617377b425e/visualization/private/mntutil_posExt1010.m#L32-L72
Were they computed using a different function? Or are these factors somehow obvious from the rules of the 10% placement system and I just don't understand it?
Furthermore, what coordinate system is this? It seems to be spherical with ea being the azimuthal angle and eb being the polar angle, but I cannot make sense of their conversion to xyz with the abr2xyz function:
https://github.com/bbci/bbci_public/blob/48fab93b7b7746b53eb382d82fef975c5f63d0a6/visualization/private/mntutil_posExt1010.m#L85-L94
... because for spherical coordinates, the conversion would rather look like:
x = r * sin(polar) * cos(azimuthal)
y = r * sin(polar) * sin(azimuthal)
z = r * cos(polar)

A brief explanation would be appreciated! I have read the 5% article by oostenveld as a reference.

closing this due to inactivity.
just a note for future people who may be interested, I implemented an algorithm here: https://github.com/sappelhoff/eeg_positions


HWKAPM-626 Test to ensure that jackson is shaded within the agent

@pavolloffay Could you review please? Related to https://issues.jboss.org/browse/HWKAPM-626

@pavolloffay Thanks!


Fix install command in README

This changes installation instructions to install as dependency instead of devDependency as discussed in #7.

@googlebot I signed it!


Pruning on New Block 1:1

Once a new block is committed, the following operations should be performed:

If the node is a Full Node, no action is needed.
If the node is a Pruned Node, call the PruneBlock function with the block number equal to LastBlockHeight - RetentionBlocks.

This process ensures that for each new block added, one old block will be removed, keeping the store blocks up to the RetentionBlocks number.
https://pips.pactus.org/PIPs/pip-27#pruning-on-new-block

@b00f @Ja7ad To determine whether a node is a pruned or full node, it's better to pass this information to the store or sync module? Should it be a part of the config?

I think the best way is to pass it to sync and read it from config.

@kehiy Based on PIP-27  if the genesis block or block number one exists, it is full node.

@b00f OK, I'll add it once #1400 got merged.

@b00f @Ja7ad If we check prune mode by checking the genesis block, each node will be pruned if it's a new node.

If we check prune mode by checking the genesis block, each node will be pruned if it's a new node.

Good find, check last certificate exists. If not we are at the genesis state.


[Usage]: --cpu-offload-gb no use

Your current environment
The output of `python collect_env.py`

How would you like to use vllm
export MODEL_PATH=/data3/models/Qwen2.5-32B-Instruct
python3 -m vllm.entrypoints.openai.api_server --model $MODEL_PATH --seed 1100 --dtype bfloat16 --trust-remote-code --port 8001 --gpu-memory-utilization 0.9 --cpu-offload-gb 30
gpu-out-mem, cpu-offload-gb no use
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

i run on A6000 with 48G and vllm==0.5.3

It also happend to me.
I want to deploy glm4-chat-9b with command below:
"vllm serve /glm4-9b-chat --port 25011 --served-model-name glm4-9b-chat --dtype
half --gpu-memory-utilization 0.9 --trust-remote-code --enforce-eager --enable-prefix-caching
--cpu-offload-gb 12 --max-model-len 2048"
on a container with 12g vpu. gpumem + cpumem = 24g, then I meet OOM fault


Web API Calling Web Api

I wasn't able to find a sample illustrating a Web Api calling another Web Api. Is there a sample that I overlooked? If not could you please tell me how it should be done?

Use client credentials flow.

OK, thank you.


wrong PROXY_TAG in istio.VERSION for release 0.2.10

export PROXY_TAG="docker.io/istio,0.2.10"
while 0.2.7 has
export PROXY_TAG="5d544187a15e11b593e931902e2d74f8dca26ef7"

the good news (!) is it is correct in the generated yaml and in kube-inject
so only https://github.com/istio/istio/search?utf8=✓&q=PROXY_TAG&type=
consul/eureka may be broken
(and if the users tries to regenerate the yaml)

Please review
The bug is that udpateVersion.sh takes a slightly different flag on proxy to update the SHAs, where proxy does not need a hub like auth or pilot would.
-c <hub>,<tag> new ca image
-r <tag> new proxy tag

The release tool was passing in a proxytag that was still in the form of <hub,tag>, which is wrong. The fault originated from this PR https://github.com/istio/test-infra/pull/519 which I LGTM-ed. Oops. It won't happen again.

I doubt we'll be patching 0.2.10 for this (and I doubt that there will be future patches for any 0.2 release now that 0.3 is out).  0.2 had a "semi-automated" release process that allowed for human error, and 0.4 should now be automated, at least as far as this step/issue is concerned (0.3 used a preliminary implementation of 0.4's that was semi-manually executed).  As of 0.3 the script release/update_and_create_archives.sh is used to make 2 sets of tarballs -- one "testonly" set that points to the prerelease storage location, another set that points to the anticipated release storage location (which will only become valid if/when the release is published as a monthly release, hence the "testonly" set that permits testing prior to publishing). So, I don't think there's anything more left to do regarding this issue and it can probably be closed.


Automatically create users (and associated system user) for Samba shares

Hi, I'm back! ;)
I'm trying to create samba users in my nas.yml file using the bertvv.samba role and it always fails. Here is what I'm providing as a test (a link to my complete file is given below):
samba_users:
  - name: dlarson
    password: foobar

It causes the following error when running the playbook:
TASK [bertvv.samba : Create Samba users if they don't exist yet] **************************************************************************************************************************
failed: [ansible-nas] (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
fatal: [ansible-nas]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

PLAY RECAP ********************************************************************************************************************************************************************************
ansible-nas                : ok=10   changed=0    unreachable=0    failed=1

I put no_log: false at the top of my nas.yml file but it had no effect on the error output.
At first I was trying to hide the password with ansible-vault:
dlarson_passwd: !vault |
          $ANSIBLE_VAULT;1.1;AES256
<PHONE_NUMBER>6134343330396436386432346131376434613837343939383336373935393161363666
<PHONE_NUMBER>653536653236346633366162666638393163640a666632373732343736653633363439
<PHONE_NUMBER>3736616337323335393365613434356336313065316261363333396561393333383566
<PHONE_NUMBER>633537320a313136333961386139376431666463653131373234313261386363353434
          3532
# :
# :
samba_users:
  - name: dlarson
    password: "{{ larzmedia_passwd }}"

I figured that was the issue. But the simple example provided first also fails with the password given in plain text so I don't think that's the problem.
Note also that when I tried to create a linux user account using the following specification it failed as well:
- name: Create user dlarson
  user:
    name: dlarson
    state: present
    update_password: on_create
    create_home: no
    password: "$6$.gijCVAXbENBqQ$iDfsr2vMB8o2G.e.as18Q1jsLhix7DOs.7MUQkmWHU2zF0yhqMGwd1rT.X7e3knGq4/5KIfsV21Pe02nd4yJv0"
    group: dlarson
    shell: /usr/sbin/nologin

In that case I get the following error:
PLAY [all] ********************************************************************************************************************************************************************************
ERROR! Syntax Error while loading YAML.
  did not find expected key

The error appears to have been in '/home/skb/ansible-nas/inventories/my-ansible-nas/group_vars/nas.yml': line 27, column 1, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: Create user dlarson
^ here

The above linux user definition is patterned after the task file tasks/users.yml.
Here's a link to my full nas.yml file:
https://github.com/DLLarson/ansible-nas/blob/master/inventories/my-ansible-nas/group_vars/nas.yml
Is it possible that these operations are not allowed in the nas.yml file?
-Dale

Re: the samba user enhancement, alternatively, to the larger ask here, a simple password protection example for samba shares would probably be appreciated by a lot of folks.


Demo level setup

This PR adds the initial demo levels, plus some tools for users.

Added an adjustable-speed camera entity sort of like Cesium for Unreal's Dynamic Pawn. Scroll to adjust speed. Users can drag-and-drop this into their scenes.
Bao added a component for fixing the orientation of skyboxes and directional lights, which was merged directly into this branch. Users can add this component to directional lights and skyboxes.
Set up access tokens with only access to these assets, that we can rotate every month.
Set up initial levels

01_CesiumWorld (Replaces previous GlobeFlying level) contains the previous flying functionality (to melbourne, mount fiji, and nyc).
Added a UI with instructions to this level.
Added an adjustable-speed camera (it is not connected to the prefab, because that was fighting with the script canvas for the fly to functionality, for some reason. But it's the same setup.
02_CesiumBase is simpler, with only Cesium World Terrain and OSM buildings. It uses the CesiumCamera prefab. Users can build directly off of this scene to speed up the creation process.

looks good to me! so let's merge this


improved docs

Amazing! Thank you for those fixes.

I am glad it worked for you.
On Thu, 8 Oct 2020, 11:50 pm Julio M. Alegria<EMAIL_ADDRESS>wrote:

Merged #83 https://github.com/juliomalegria/python-craigslist/pull/83
into master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/juliomalegria/python-craigslist/pull/83#event-3856782452,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOCEZWGKXIHWZ4Y7TL5JD2DSJX7FVANCNFSM4R7FYJIA
.

Hey Debosmit,
I was curious about how did you find out about this project and decided to contribute? I recently received a lot of requests for this repo and I was wondering if they were connected.
Thanks again!

Hello Julio,
Actually I was going through some python based projects' repos. And I came across your repo and I found your work really interesting. So, I surfed through all your works and I don't think all the requests  that you are getting lately are anyways connected.
Thank you.


Add Emilio's key.

In order to debug and try to reproduce the issues in
https://github.com/servo/servo/pull/12858

r? @larsbergstrom

Sorry I forgot to mention you also need to be added to:
https://github.com/servo/saltfs/blob/c1d73d73c26a09519d8093f2a0c8e913b576ed85/common/map.jinja#L14

Done, thanks!

@bors-servo r+

:pushpin: Commit d404389 has been approved by larsbergstrom

:hourglass: Testing commit d404389 with merge 4bf9f5c...


Touch ID strange behavior IOS13

Hi Eddy
I'm facing a strange behavior with this awesome plugin of yours after upgrading my
iPhone7 OS to IOS 13.1.1
The Touch ID dialog doesn't show directly after a Button Click (for example)
Sometimes I need to make another action to my phone screen to make the dialog appears
or sometimes  the Touch ID dialog shows twice .
debug error

evaluatePolicy:options:uiDelegate:reply:]_block_invoke -> (null), Error Domain=com.apple.LocalAuthentication Code=-1004 "User interaction is required." UserInfo={BiometryType=1,

In my application the fingerprint dialog doesn't show at all in iOS 13+.

Do you experience this with the demo app in this repo as well? If not, can you share a demo? And wondering if this also happens to you with FaceID?

Hi Eddy
I tried the demo app with my iPhone 7 (Touch ID)
The demo is a little bit buggy
the Touch dialog is taking  much longer and sometimes it doesn't show at all
and i have to press the button twice.
Also i'm getting this message again
Error Domain=com.apple.LocalAuthentication Code=-1004 "User interaction is required." UserInfo={BiometryType=1,

Hi Eddy
I can confirm that the finger and face-id auth in the same app with iOS13 does not work correctly.
Sometimes the native dialog appears after a click sometime after 2x click or it does not appear but the authentication is active (so I can enter touching the fingerprint without seeing the dialog)

I just updated the demo. Perhaps the alerts were hampering performance. It's lightning fast for me (FaceID on iPhone 11 Pro). Can you re-clone and try again? And if there's still an issue please reopen and share a video of the problem.

Hi
I think there is somewhere a problem yet, please see this video (iPad 3, iOS 13.x.x latest )
I have made some changes in my code so you can better seeing what is happening

The issue is still reproducible with the latest iOS versions (iOS 13.5, 13.5.1).
Is there a workaround?


Help is not printed in some circumstances

When creating an app where the root command is empty and has no flags or arguments but my app has a bunch of other subcommands, for example like the Go or Git commands, running the help with no arguments causes it to do nothing. This could be potentially confusing for users, so it would be nice if help were automatically printed.
Also, when not filling in a required argument or typing an invalid subcommand, some usage info could be displayed to help the user figure out the problem faster.

Just a hint. To print the help when nothing is passed, do:
commando.
		Register(nil).
		SetAction(func(args map[string]commando.ArgValue, flags map[string]commando.FlagValue) {
			commando.Parse([]string{"help"})
		})


As a developer, I want doxygen formatted documentation of the crouch feature, so that it is more easily understood.

Committed as part of issue #7


Add xc7a35tftg256 package to extra output.

Signed-off-by: Keith Rothman<EMAIL_ADDRESS>

the above "Database - Artix 7" build failed due to:
set_property -dict "PACKAGE_PIN $::env(XRAY_PIN_00) IOSTANDARD LVCMOS33" [get_ports clk] ERROR: [Common 17-69] Command failed: 'E22' is not a valid site or package pin name.
which is because XRAY_PIN_00 .. XRAY_PIN_06  in settings/artix7.sh mapped to pins that are not bonded in the ftg256 package.

the above "Database - Artix 7" build failed due to:
set_property -dict "PACKAGE_PIN $::env(XRAY_PIN_00) IOSTANDARD LVCMOS33" [get_ports clk] ERROR: [Common 17-69] Command failed: 'E22' is not a valid site or package pin name.
which is because XRAY_PIN_00 .. XRAY_PIN_06 in settings/artix7.sh mapped to pins that are not bonded in the ftg256 package.

Fixed


Design to keep PullRequest PipelineResource in sync with reality

Expected Behavior
If a Task uses a PullRequest Pipeline resource, as the Task progresses, if comments are added (or other changes represented in the filesystem) to the Pull Request, it should be possible:

For the executing Task to see these changes <-- this is kind of a stretch goal really
For the executing Task to use the PullRequest resource as an output and make additive changes to the PullRequest

Actual Behavior
When a Task is executing, the representation on the file system of the pull request is not updated. Even worse, the side effect is that when the PullRequestResource is used as an output, the data is treated as the source of truth and so any changes made between when the Task started and when it completed can be lost (e.g. comments made in the meantime will be deleted!!!)
Steps to Reproduce the Problem

Create a Task that uses a PullRequest Resource as an output, e.g.:
a. Task could sleep for a minute or something (to give you time for step 3)
b. Task could also add a comment to the output (i.e. write to /workspace//comments/)
Execute the Task, providing an existing PR as input
Add a comment to the PR manually while the Task executes!
After the task finishes, observe that the PR has the comment added by the Task, but the one you added manually has vanished :(

Additional Info
We should at least make it so changes are additive, but also we could be ambitious and do something really cool e.g. create our own fs? (@dlorenc had some cool ideas here)

One way to work around this (reduce the risk) would be to use this with a Notification type (#49 )

Also: for our beta release, maybe more realistic to view PR outputs as additive only.

might be useful: https://developer.github.com/v4/mutation/

I don't think notification types would solve this problem. The race condition exists even in that case, since a new comment could come in from when the PR is initialized on disk.
I think what we want here is a comment manifest. This would let us detect whether or not a comment was explicitly deleted, or just one we don't know about yet.
e.g. When we download the pull request resource, also create a file called /workspace/<resource>/comments/MANIFEST containing the comments pulled in the download:
1.json
2.json

When we upload the PR, if we see that 2.json is missing from the local filesystem, we know this was a deletion from the Task because it was originally listed in the manifest. If we see that 3.json is missing from the local filesystem, we shouldn't make any modifications to it because the task was not aware of it when the PR resource was initialized since it was not in the manifest.


Feature randomcabin command

This feature implements the randomcabin command with two basic options for user interaction (closes #13):
/randomcabin
/randomcabin check-in check-out

The user receives an ephemeral (=deferred), private response with either any random cabin or a random cabin that is available during the provided dates. The latter limits the pool of potential cabins to those where we can check the availability via the visbook api.
User provided dates are converted to actual dates using yup and considering several validation rules (correct dates and correct range, i.e. not in the past, check-in before check-out).
Subsequent functions are changed to accept dates instead of pure strings (closes #12).
Edit: Building cabin embed and booking embed are now reusable methods of bot service. Discord service's send message method was refactored to be able to include messages in addition to embeds.
This PR fixes an unreported bug that cabin links in daily cabin post do not point to the right id (internal id was used instead of UT id, was introduced when changing the daily cabin method to using our database and no longer fetching from UT directly).

Be nice to avoid the forward refs as circular refs are a bit of a pain but this works for now :)

I found this article on avoiding circular dependencies: https://blog.logrocket.com/avoid-circular-dependencies-nestjs/
Would you agree with this idea of refactoring? Still have to think how to handle it in our case, but could give it a shot.


EXCEL File corrupt after exporting it to S3

What happens?
It seems like Excel files cannot be exported correctly to S3 using the spatial extension.
It's important to mention, that it actually works for most systems however when opening the excel within official microsoft excel i get a warning, that some data from the field had to be removed.
It actually works perfectly if i export the same data to my local disk or open the s3 version of the file in google sheets.
To Reproduce
Just export an excel to S3 download it and open it with the OFFICIAL microsoft excel.
 If possible, we recommend testing with the latest nightly build.
I have tested with a stable release
Did you include all relevant data sets for reproducing the issue?
Yes
Did you include all code required to reproduce the issue?

[X] Yes, I have

Did you include all relevant configuration (e.g., CPU architecture, Python version, Linux distribution) to reproduce the issue?

[X] Yes, I have

Ok, now i'm almost certain it's a problem in S3 upload functionality of spatial extension. First i was confused, because S3 Upload for CSV and parquet works perfectly with duckdb and at least parquet is binary as well. However as far as i understand the code when exporting excel it's not using the httpfs plugin to export to s3, but the spatial extension's capabilities. I created a PoC: When exporting the file to local disk using a duckdb and then uploading it via boto3 to s3 the excel export is fine. But when uploading it directly with duckdb it's corrupted.


Add installation instructions to the README and an end to end example

no longer needed given ryan's comments


New plugin name requirements

Hi @fzdwx
Per our developer policies,
please ensure that your plugin's name does not include the word "Obsidian".
In addition, the plugin name should not include the word "Plugin", as that is unecessary duplication.
We have already modified the name of your plugin to "Hugo preview" in our records.
To maintain compliance, take the following actions:

Modify the manifest.json file in your plugin repository.
Generate a new release for your plugin to ensure users download the updated manifest.

If you have a idea for a different plugin name, you may also submit a pull request to the obsidianmd/obsidian-releases repository.
Thank you for your cooperation.
— the Obsidian team

OK, just only update name ? What about id ?

Don't touch the id, that will break stuff.

Done https://github.com/fzdwx/hugo-preview-obsidian/commit/02134970cf496fdd81594b851de340f9ea940701


Add support for custom go-jinja2 Extensions

Command

[ ] check-image-updates
[ ] delete
[ ] deploy
[ ] diff
[ ] helm-pull
[ ] helm-update
[ ] list-images
[ ] list-targets
[ ] poke-images
[ ] prune
[ ] render
[ ] seal
[ ] validate
[ ] version

Who are you?
No response
What do you want to do?
Currently there are only some predefined jinja2 extensions available.
It would be awesome if we could supply additional extensions via a cli flag or at best via deployment.yaml (multi-repo compatible).
Why do you need that?
Advanced templating

Implementing this is not an issue, as Kluctl is using Python+Jinja2 under the hood for the templating. The thing that I'd be concerned of would be security, as Jinja2 extensions are basically plain Python code, allowing you to do all kinds of shenanigans.