[GH-293] - Include all attribute in mod_management

Description
This includes all parent dependencies for the features installed by the mod_management recipe.
This is needed to allow the user to just include mod_management recipe.
Issues Resolved
https://github.com/chef-cookbooks/iis/issues/293
Check List

[x] All tests pass. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/TESTING.MD
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[x] The CLA has been signed. See https://github.com/chef-cookbooks/community_cookbook_documentation/blob/master/CONTRIBUTING.MD

Included all attribute with value 'true' in mod_management recipe to install parent dependencies

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
Non-GitHub Verified Committers
There are 1 commit author(s) whose commits are authored by a non-GitHub verified email address. Chef will have to manually verify that they are authorized to contribute.
Please sign the CLA here.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

Awesome, will update it asap

Thanks for the contribution @roberto-mardeni! Appreciate the thorough issue report, and the fix!


EMQTTD INFO

Environment

OS: Ubuntu 16.10
Erlang/OTP: 1.91
EMQ: 2.1

Description
under The messages data Metrics on UI, it shows the below info
The messages data
received	2023218
sent	121949
dropped	3415976
Can we know why dropped shows 3415976, does it mean this mean dropped and not delivered. Clients are using QOS2.

some messages no any subscription may be also dropped message.


Rdk 34754 messenger document update

Documentation enhancement for Messenger Plugin.
Jira : https://ccp.sys.comcast.net/browse/RDK-34754

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

@npoltorapavlo - Pls review.

@anand-ky, looks good


🐛 Add pre req check in some e2e scripts

Summary
Add pre req check in some e2e scripts.
Related issue(s)
Fixes #
#1882

/hold
This PR changes files that transport containerization PR changes.
the transport PR is highest priority, please merge this one only after transport is merged to avoid having to rebase and cause additional delays.


Copy contact info button broken on new complaint and edit pages

I changed the name of the new complaint property without updating the IDs in the JavaScript file.

Fixed in 046954d


Enhance addPage() to accept page width, page height.

Currently there is no option to specify format per page. All the pages use the same format specified initially while creating the PDF. Is there any work around for creating PDF with pages of different size?  If not, please enhance the appPage() to accept format / page size.
Thanks,

I'm having difficulty switching between portrait and landscape within the same document.  Should this be possible?  I was attempting to set the orientation on each page.
doc.addPage('letter', 'landscape', 's');
Thanks.

Can I choose the Unit?
It would be great if we have the same option to choose the "Unit" in the same way as we define at new jsPDF({ unit: 'px' })


Cocoon backend not deploying due to SLSA validation

This is because the SLSA provenance validation has been failing.

Making this issue a P1

Moving to P2 as the issue has been mitigated.

Is this mitigated based on the change you made but still with the outstanding bug to slsa-verifier?

Awesome! Thanks for confirming.

This is continuing to occasionally fail - https://github.com/flutter/cocoon/pull/3032 was an attempt to resolve, but now running into issues actually installing slsa-verifier, so I am going to follow their readme to rebuild the slsa-verifier tooling folder based on the latest version.


🐞: Error TextTicker

TypeError: springValue.off is not a function.

You must have used the .jsx code in .tsx. To remove the error, you need to write types for it.
I have converted the code to TypeScript now in dbabd76, and the changes are live.
You won't face this error now.
Happy Coding!


Temporarily restore the old ReID models

They were deleted in #1167, but they're still used in demo tests. We can't use the new models yet, because their files haven't been published yet.
Restore them until the new models' files are published.

@IRDonch there one model  was stayed (0248), is not enough for demo testing?

I could temporarily reduce the test cases to just that model, but this way it's easier to remember to add the new models later.


how can I set the value of PDO_LEDGER_URL corretly?

I'm running the sawtooth ledger service on one machine(<IP_ADDRESS>) flowwed by guide but I run PDO test on another machine(202...*), how can I set the value of PDO_LEDGER_URL corretly?
thank you so much.
I set PDO_LEDGER_URL=<IP_ADDRESS>:8008. and I'm sure rest-api listen on port 8008 on machine(<IP_ADDRESS>),  How should I configure it？I really don't know how PDO on local connect to sawtooth ledger service on <IP_ADDRESS>.
Any suggestion will be accepted. Thanks a lot.
And I got some message when I make test:

pdo.eservice.pdo_helper] failed to register enclave; Failed to connect to REST API: HTTPConnectionPool(host='<IP_ADDRESS>', port=8008): Max retries exceeded with url: /batches (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7eb2681b36a0>: Failed to establish a new connection: [Errno 111] Connection refused',))

I've solved it  by port map


i18n: cannot override option defaults with localized

There appears to be a bug in create  where defaults and overrides are mixed up:
https://github.com/LaxarJS/laxar-uikit/blob/ba7959d8096280d20cddd286803c2ae4fa4ab965/lib/uikit.js#L15
Reason is probably, that the good old laxar.object.options uses the opposite order of defaults/overrides when compared to Object.assign or the Object spread operator.

Fixed on master (v2.1.3 and v2.2.0)


Website test builds fail due to maximumFileSizeToCacheInBytes

I've googled this error and found some things for webpack and other frameworks but nothing I found references a file we actually use so I don't know where to config this for whatever it is we use in place of webpack.

Run npm install
npm WARN deprecated<EMAIL_ADDRESS>Use your platform's native performance.now() and performance.timeOrigin.
npm WARN deprecated<EMAIL_ADDRESS>Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated<EMAIL_ADDRESS>This SVGO version is no longer supported. Upgrade to v2.x.x.

added 1448 packages, and audited 1450 packages in 16s

226 packages are looking for funding
  run `npm fund` for details

7 high severity vulnerabilities

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

><EMAIL_ADDRESS>build
> react-scripts build

Creating an optimized production build...

Treating warnings as errors because process.env.CI = true.
Most CI servers set it automatically.

Failed to compile.

/static/media/node_manager_bg.fb2229fd9cd5d2e00d3c.wasm is 5.66 MB, and won't be precached. Configure maximumFileSizeToCacheInBytes to change this limit.

this is fixed but if craco causes us problems in the future here's an alternative solve:
https://dev.to/divyansh7924/customizing-workbox-with-create-react-app-1ada


Code of Conduct:  Hyperlinking in "Long Version" Section needs rework

Within Firefox and Chrome, the hyperlinks in "Long Version" do not take the user to the correct section on the COC page.
This can be a low priority item to fix, as the current link click experience is that if the link is opened in a new tab, the COC page will appear (link does not result in error page, etc.).
Mainly noting this because I would like to fix this either tonight or sometime this weekend, but thought y'all would like a heads up about this behavior. <3

Since the fix has been merged, closing this issue out.


Adding a section for create the Edge Router policies

Fixed a typo

Branch got messed up due to unsigned commit and my inability to save it, I've created a new branch and new PR here https://github.com/openziti/ziti-doc/pull/326


Bump all base images to fedora:35

Signed-off-by: Hunor Csomortáni<EMAIL_ADDRESS>

adventure Friday :D

The change is fine per se, but I, personally, would wait with it a month or so.

What benefits will waiting bring?

:-D what benefits will bring the change? You have my ack already, do what you want :-)

Okay, I'll merge this after @TomasTomecek moved the stable branches.

:rocket:


PowershellFar Console

For the last two years, I used daily as my shell environment
ConEmu + FarManager + PowerShellFar.
The startup task on ConEmu was
>d:\Bin\Far\Far.exe /w ps:$Psf.StartConsole()
as suggested here.
Also, I had made a multiple-color, two-lines custom prompt for my PowerShellFar Console.
I have build the majority of my ps scripts (100s) around the above environment,
utilizing the PowershellFar library, which I find extremely helpful.
After my FarNet update today, when I opened my shell I've got the error:
ps:$Psf.StartConsole()
ERROR: RuntimeException:
Method invocation failed because [PowerShellFar.Actor] does not contain a method named 'StartConsole'.

I traced the latest commits and History, and I've noticed that on version 5.2.0
Retired command console, and on 5.2.1 Editor console -> Interactive
To my opinion, Interactive is totally different experience compared to Console,
and PowershellFar's Console was one of the main strengths.
Please restore back PowershellFar Console!

You are probably talking about this change 5.2.0 Retire command console.
5.2.1 Editor console -> Interactive is just reshaping of editor console.
Anyway, the command console is no longer provided. It was too advanced for Far
Manager and it used too fragile API. The Far team constantly changes (breaks)
this API. Far 3.0.4781 was the last breaking drop for me. Also, some hack were
used in order to make panels totally hidden. I asked for some official API but
the Far team was not interested.
Thus, I decided to drop this feature. I am very sorry about this. I liked it
too. I put a lot of effort in it. But supporting it in Far Manager is not fun
at all. Hopefully, when Far API is stabilized and matured I will resurrect it.

P.S. I have to add a few words.
You are right that the interactive is not the replacement of the command
console. It is designed and more useful for particular classes of commands.
The Far command line is the replacement, I can tell you this, I use it daily.
Yes, you have to type the prefix ps:, but you can use a macro to insert it
for you, I use Space. Yes, you will miss your custom prompt, but it is not
always needed, is not it? When it is really needed, you can type ps: prompt
and get it. You can also have a helper macro for this prompt. TabExpansion
can be done by a macro F11 \ PSF \ Complete, I use F9 for all areas.
The ideas on how to improve this scenario are welcome. Currently, this is the
most realistic way to go with Far Manager. It is not the best possible, alas.
I understand your frustration and even anger, perhaps. I am with you.

Thank you for the response.
The last 2 years, for my daily tasks, I rely on PowerShellFar mainly in
three ways:

File Management: I call scripts utilizing PowershellFar API from Far
custom user menus and assign appropriate hot-keys for quick access. This
functionality is useful for file management tasks. One of the many automation
examples:

On Far select many files
Press F2+c+p (custom user menu hot-key)
Input a target filename
RESULT: The selected files are combined to a single pdf (target
filename) and opened for view.
Optional: Press F8 to delete selected files (combined target
remains).

# Get Far's current directory
$currentDir = $Far.Panel.CurrentDirectory

# Get an Array of Far's selected files paths
$filePaths = New-Object System.Collections.ArrayList
$filePaths = $Far.Panel.SelectedFiles

# Convert the array of selected file paths to string
[string]$fpString = ''

foreach ($fp in $filePaths)
{
    $fpString = $fpString + " " + "`"$currentDir\$fp`""
}

# Get the target file name
$fileName = $far.Input("Output File Name:", "", "Combine to PDF", ".pdf") -as [string]
$outFile = "`"$currentDir\$fileName`""

# The exe to combine selected pdfs
$gs='d:\Bin\gs\bin\gswin64c.exe'

# Combine selected files
Start-Process -FilePath $gs `
              -Args "-dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=$outFile $fpString" `
              -NoNewWindow `
              -Wait `

# Open the target pdf
. "$currentDir\$fileName"

File Editor: I automate Far's text Editor with PowerShellFar hooks
($Far.PostMacro, $Far.$editor.InsertText(),  $Far.Message() etc) and
have build hierarchical custom menus with New-FarMenu and New-FarItem.
For example:

New-FarItem -IsSeparator -Text '[Replace Selection]'

New-FarItem '&e. Convert to Latin' {
  $far.CopyToClipboard($far.Editor.GetSelectedText())
  iex -Command "latin -m"
  sleep -Milliseconds 500
  $far.Editor.SetSelectedText($far.PasteFromClipboard())
}

New-FarItem '&b. Paragraph

' {
  $sb = New-Object -TypeName 'System.Text.StringBuilder'
  [void]$sb.Append('
')
  [void]$sb.Append($Far.Editor.GetSelectedText())
  [void]$sb.Append('
')
  $far.Editor.SetSelectedText($sb.Tostring())
}

# ...

Shell Console: I use PowerShellFar's console (within ConEmu) for my shell
environment. Aspects I utilize include:

Custom Prompt
Permanent command history
Excellent command history lookup (as you type)
Support for cls
Excellent Tab Expansion
PowershellFar hooks (Out-FarList etc) for ps scripts.

For my daily work, I use hundred of isolated tools to automate my tasks. What I
like about PowershellFar, is that with a single API, I could automate (a) File
Manager, (b) Text Editor, (c) Shell Console, using my favorite (and more
powerful?) scripting language i.e. Powershell. Probably, Far Manager is not the
best choice for all the above, but I could live with it because with
PowrshellFar I could automate them all with PS scripts. For example, I also use
Total Commander (as orthodox file manager), but the automation there is not
based on powershell, and is not very "clean" approach. For text editor, I also
use Sublime, has some nice feature for extensions (snippets, macros etc), but it
doesn't support native PS automation. For PS shell console, I'm aware of helpful
extensions/modules (eg. PSReadLine) but
I found the experience with PowershellFar Console to be the best.
Regarding PowershellFar Console, I totally understand all your points
"...too advanced for Far Manager...constantly changes...Far Manager is not a
friendly platform for the command console...". However, Far command line (I'm
using it occasionally with Space and Tab Expansion assigned to
Alt+/ hot-key) and Interactive (first time noticed
yesterday) are also VERY useful features, but still, to my opinion, are not
replacements to the direct and native shell experience of PowershellFar Console.
Anyway, I'm going to miss a lot the PowershellFar Console, and I'll have to
replace its convenience with other substitutes.
Please keep up with the excellent project, and consider to extend it to
other platforms. As I mentioned earlier, the use case is an API automating (a)
File Manager and (b) Text Editor with PowerShell ... and provide an excellent
console shell experience ...

Thank you for the useful review of your PSF use cases.
I have a few related tips.
In panels, to get selected file/folder paths you can use the PSF cmdlet:
    Get-FarPath -Selected

In editor or any other area, you can open the user menu by a macro:
    mf.usermenu(0, "")

Or you can use menus from separate files:
    mf.usermenu(2, "full menu file path")
    mf.usermenu(3, "file name in Profile\Menus")

Far user menus have some advantages over created by PSF. They may be modified
on the fly and you do not have to reload the session after changes. In such
menus you call PSF by the prefix ps:, as usual.

Retired command console vs. PS commands in Far command line

Custom Prompt

It is missing. But you can invoke ps: prompt any time you need this info.
This command may be assigned to a macro, so you do not have to type.
I also recommend to have some space in panels for small outputs like such
"prompts". Use CtrlUp and CtrlDn in order to adjust the panel height
and make this space available. Thus, for some commands you do not have
to hide panel in order to see the output.

Permanent command history

It is available.

Excellent command history lookup (as you type)

It is available and works just fine. As soon as you types ps:, only saved PS
commands are shown. But is it enabled in your case for the command line? Check
you AutoComplete settings.

Support for cls

It is available. You do not even have to type ps:. Use just cls.

Excellent Tab Expansion

It is available. It's just not a Tab key but some other key and a macro.

PowershellFar hooks (Out-FarList etc) for ps scripts.

All such things are available.
In other words, the functionality of the retired command console is not missing.
The user experience is different, I agree. But I have to add that "different"
is not "worse". Personally, I find some advantages of using the Far command
line over the retired command console. There are disadvantages, too, yes.

And one more thing. When I decide to resurrect the command console I will perhaps try to use PSReadline instead. It is somewhat working right now (note, in the Far PS session). But it is not yet ready for proper use, we need some hooks for using PSF UI. For now it's just an idea:
# FarNet.5.2.2 - no need for ShowUserScreen/SaveUserScreen

Import-Module PSReadline

for() {
	$Far.UI.Write((prompt))
	if (!($_ = PSConsoleHostReadline)) {break}

	try {
		[scriptblock]::Create($_).Invoke()
	}
	catch {
		$Far.UI.WriteLine($_.ToString(), 'Red')
	}
}

After your recommendation, I did some further investigation on Far Command line with ps: prefix as replacement of PSF Console.
My current setup is based on the following:

Create Far Shell Key Macro (Ctrl+/) for PSF TabExpansion
(instead of allocated Tab)
Create Far Shell Key Macro (Ctrl+Alt+F8) for
PSF far-list history (searchable). (The Alt+F8 is
allocated to Far's native Command History).
Enable macro for ps: area="Shell"; key="Space"; flags="EmptyCommandLine"; description="PSF: Easy prefix"; ...
Enable macro for vps: area="Shell"; key="CtrlSpace"; flags="EmptyCommandLine"; description="PSF: Easy prefix - viewer";
On PSF profile add alias Set-Alias go 'd:\Bin\Far\FarNet\Modules\PowerShellFar\Bench\Go-To-.ps1'
On PSF profile add alias Set-Alias fhi 'd:\Bin\Far\FarNet\Modules\PowerShellFar\Bench\Show-History-.ps1'
Press Ctrl+O or Ctrl+F1 and
Ctrl+F2 to toggle Far's panels, and leave all screen for
commands output to be scrollable.
Press Ctrl+B to toggle Far's status bar.

Things I have to do:

Reassign all custom area="Dialog" hot-key macros used to work at PSF Console
because now most of them conflict with Far's hot-keys.

Pros

Direct Access to Far Panels with Ctrl+O,
Ctrl+F1 and Ctrl+F2 which is
very useful.

Cons

In PSF Console I had custom prompt with two lines. The top line included
(among others) the current directory while the bottom line was all
dedicated to the input command with just a single character prompt >. Now,
with Far command and it's single line prompt, when visiting long paths, the
visible space left for the command is restricted.

The best I've managed to do here so far is to use (C)$P$#33(E)$G  as
Command line settings -> command line prompt format,
where the $#nn is max promt width, given in percents relative to the
width of the window. My 33% value truncates long paths but leaves descent
space for long commands. As you suggested I can assign a macro to call my
old prompt on demand for extra info.

Unfortunately Far has not yet implemented $_ - Carriage return and linefeed
as commented at cmdline.cpp
line 694.

Minor Cons

Get use of pressing Space prior invoking a command for ps: prefix.
Get use of alternative key instead of common Tab for TabExpansion.
Get use of cd and drive changes (e.g. c:) without the ps: prefix or
use go -> Go-To-.ps1.

Regarding, PSReadline, as I mentioned in my previous comment, I find the
experience of PSF approach superior and superset of that functionality. In
PSF both TabExpansion and Command History are far better to my taste with
searchable- scrollable lists, not to mention the precious API hooks for UI
components. Regarding multiple line commands, with PSF we could always use
PSF Interactive which leads to superior experience for multiple line commands.
For my usage, the only very minor superiority of PSReadline is probably
the MaximumHistoryCount which can be set above 1.000.

In your PSF profile do $psf.Settings.MaximumHistoryCount = 2000.

thanks for that tip!
I was only aware of:
= 5.0.63 =
PowerShell history:
- Default MaximumHistoryCount: 512 -> 1000.

For the prompt try the below macro, or something similar (you get the idea):
_G.FarNet = function(cmd) return Plugin.Call("10435532-9BB3-487B-A045-B0E6ECAAB6BC", cmd) end
Macro {
  area="Shell"; key="CtrlShiftSpace"; flags="EmptyCommandLine"; description="PSF: Prompt + prefix"; action=function()
  FarNet [[ps: prompt #]]
  Keys "p s : Space"
  end;
}

Yes, I'got the idea and put it in practice.
Thank you for the tip.

Please share your ideas on how we can improve things and submit requests. E.g. we can get rid of the first line ps: prompt # in such a "prompt" using some sort of convention. Happy automating!

FWIW In the next version I am resurrecting the useful command console, v2. The Far API looks more stable in this area and FarNet with PowerShellFar have more supportive tools.

FWIW In the next version I am resurrecting the useful command console, v2. The Far API looks more stable in this area and FarNet with PowerShellFar have more supportive tools.

I'm looking forward to test it!

@iKakoud Please take FarNet 5.8.0 and PowerShellFar 5.8.0. and enjoy. Your feedback is welcome. Happy New Year!

and PSF 5.8.1 with amended history navigation.
I think it's a good (re)start and I like its initial look and feel. More good stuff is coming. I am thinking a complete async and non modal implementation, with panels on/off on will, with commands able to open panels, etc., etc. Stay tuned.

More good stuff is coming. I am thinking a complete async and non modal implementation, with panels on/off on will, with commands able to open panels, etc., etc. Stay tuned.

v5.8.2 has it all.


Add SECURITY.md

It's inherited from https://github.com/notaryproject/.github/blob/main/SECURITY.md


Sign the hash of the message instead the message

The Ed25519 already does a hashing. But instead of simple HASH(M), the Ed25519 does something like HASH(R + PubK + M), basically. This behavior makes the Ed25519 secure, claim to have a “Collision resilience”, it was described in the paper, http://ed25519.cr.yp.to/ed25519-20110926.pdf:

Hash-function collisions do not break this system. This adds a layer of defense against the possibility of weakness in the selected hash function.

The Nano chooses, without any good reason, to pre-hashing the value of M. In this situation the Ed25519 can’t prevent a collision, because the message is the hash itself. This already know and described in http://ed25519.cr.yp.to/eddsa-20150704.pdf.
We have other source of information, one of them can be this post in the Crypto SE:

You do not have to hash the inputs to Ed25519 because hashing is already part of Ed25519 itself. If you do hash inputs in advance, you become vulnerable to collisions in the hash function you use.

If some vulnerability was found in Blake2, the collision of the signature can happen, since the signature is only the hash, not the content.
It not seems to be a major problem, because the Blake2 is secure, one of the requirement of a hashing functions is to be secure against collision. However, the Nano don’t have any advantage doing the pre-hashing, since the message is already short. Instead we have a disadvantage of "losing one security layer".

I really want to know why Nano/Raiblocks chooses to pre-hashing, or it was just an arbitrary decision of the developer. I already told about it with two members of the Core Team, none of them could explain why.

Nano already relies on there being no hash collisions. For example, hashes are used for previous and source fields. The whole database is built around hashes for lookups. Hashes are fundamental to any cryptocurrency, and making the signatures resistant would solve little.

Why it's closed without any explanation?
If the signature already have a hash inside, why do it twice? Also, why relies on the hash of the block since the signature of the hashable is also a hash?!

This may be a better way to do it, but there's little reason to change. Our decision at this time is to keep things how they are.

Can you code up the change and make a pull request?

Not really possible, all the current hashes are based on the "double hash" method so the whole block lattice depends on it.

The only thing I can think of is to check both the new and old signing style but that degraded performance in the bad signature case.


Improvements in HACL* for the Python PR

For the Python PR (https://github.com/python/cpython/pull/99109) I manually tweaked many small details in order to generate the most compact code. Here is the list of these fixes, and how we should backport them upstream on the Low* code rather than hand-patching the generated C. This will also allow addressing one key review comment, namely the request for a script that can automatically refresh the "vendored" copy of HACL* in Python directly from this repo.

[ ] separate sha2_streaming into sha2_256_streaming and sha2_512_streaming (the former also contains 224, the latter also contains 384)
[ ] do not include types.h from these files -- they don't need any of those definitions
[ ] ditch sha2_update_224 -- it's a copy of update_256 and we have a lemma somewhere that these two are identical... if we want to be backwards-compatible, consider using [@@ CPrologue "#define Hacl_Streaming_SHA2_256_update_224 Hacl_Streaming_SHA2_256_update_256"] (optional) --> https://github.com/hacl-star/hacl-star/pull/725
[x] tweak the streaming code so that it does not generate instances of Hacl_Impl_SHA2_Types_uint8_2p --> fixed in https://github.com/FStarLang/karamel/pull/314
[x] tweak krml to avoid KRML_CHECK_SIZE in streaming --> fixed by https://github.com/FStarLang/karamel/pull/315
[x] streaming should not need sha2_types --> fixed in https://github.com/FStarLang/karamel/pull/314
[ ] builtin, callconv.h are not needed -- move in krml the #define inline __inline__ to a more widely-included header, such as target.h
[ ] find a way to trim down target.h from a script (I'd rather not break it up upstream)
[ ] expose a state copy operation in streaming functor
[ ] tweak bundling to fold the constants into the streaming file since from here on this will be our only header to expose SHA2

I'm wondering if it's really worth splitting everything into two separate file for the 32-bit and 64-bit versions.

The additional work/complexity is certainly not great. But if a minimal distribution of algorithms or supporting low powered devices (like embedded, 32-bit devices) is a goal, it might be worth doing.

All done! Thanks to everyone involved, especially @R1kM


duplicates sneak there way into the response, even when allowDuplicates flag is set to false.

Prerequisites
Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

[x ] I am running the latest version
[x ] I checked the documentation and found no answer
[ x] I checked to make sure that this issue has not already been filed

Expected Behavior
When scanning, duplicates should not appear during the manager.startDeviceScan event provided that the { allowDuplicates: false } flag is included.
Current Behavior
Every so often a duplicate does appear
Steps to Reproduce
Please provide detailed steps for reproducing the issue.

create a blx application that scans for bluetooth devices.
use another device to broadcast an bluetooth single.
log the responses from the manager.startDeviceScan.
toggle blx application until it messes up.

This is happening to me as well except it isn't occasional - I'm currently looking at the same device scanned 216 times even though { allowDuplicates: false }.

Currently this is an iOS only feature https://dotintent.github.io/react-native-ble-plx/#scanoptions


[INTEL oneDNN] Refactoring: remove MKL ML API calls

The PR removes obsolete MKL ML API calls, including all related functional calls and unit tests.
This PR will replace
this old public PR ( I will close)
https://github.com/tensorflow/tensorflow/pull/60292
Removed functionality in runtime_matmul_mkl.cc/h will be included in a follow-up PR
https://github.com/tensorflow/tensorflow/pull/61237
which depends on the merge of this one.

runtime_matmul_mkl

I removed it from BUILD. THANKS

https://github.com/tensorflow/tensorflow/pull/61237 was brought back with commit https://github.com/tensorflow/tensorflow/commit/765314dd0b5e3fae242c9b7441ce1bda3daa8070. Does this PR need to be updated again?

#61237 was brought back with commit 765314d. Does this PR need to be updated again?

YES, I will patch back the changes in my 2nd commit today

@penpornk  I updated this PR. Please help to review


Autorest Regen Preview to 3.0.0-alpha.20231125.1 by Dapeng Zhang from refs/pull/3969/merge

Triggered from https://github.com/Azure/autorest.csharp/pull/3969

API change check
API changes are not detected in this pull request.


Origins V0.7.3 changing protection effectiveness has no effect at total enchantment level 16+

changing the protection effectiveness in a damage over time power type doesnt seem to actually do anything, i put the effectiveness to 0.1 for some testing purposes yet the onset delay remained the same
as a side-note, having a total enchantment level of higher than 16(possible in survival with mods such as biomemakeover) will have it act like level 16, resulting in an onset delay of 20 minutes
I don't know if this is the case for the minecraft 1.17 versions as well, as i haven't touched it yet

Won't fix this since I'm only gonna be working on the latest version. :)


Issue reading file sqpack file.

Working on updating the model file readers but running into the following issue when reading a mdl file:
File: bg/ffxiv/sea_s1/twn/s1t1/bgplate/0032.mdl

System.IO.InvalidDataException: Found invalid data while decoding.
   at System.IO.Compression.InflaterZlib.Inflate(FlushCode flushCode)
   at System.IO.Compression.InflaterZlib.ReadInflateOutput(Byte[] outputBuffer, Int32 offset, Int32 length, FlushCode flushCode, Int32& bytesRead)
   at System.IO.Compression.InflaterZlib.Inflate(Byte[] bytes, Int32 offset, Int32 length)
   at System.IO.Compression.DeflateStream.Read(Byte[] array, Int32 offset, Int32 count)
   at System.IO.Stream.InternalCopyTo(Stream destination, Int32 bufferSize)
   at System.IO.Stream.CopyTo(Stream destination)
   at Lumina.Data.SqPackStream.ReadFileBlock(Int64 offset, MemoryStream dest, Boolean resetPosition) in \git\Lumina\src\Lumina\Data\SqPackStream.cs:line 304
   at Lumina.Data.SqPackStream.ReadFileBlock(MemoryStream dest, Boolean resetPosition) in \git\Lumina\src\Lumina\Data\SqPackStream.cs:line 282
   at Lumina.Data.SqPackStream.ReadModelFile(FileResource resource, MemoryStream ms) in \git\Lumina\src\Lumina\Data\SqPackStream.cs:line 171
   at Lumina.Data.SqPackStream.ReadFile[T](Int64 offset) in \git\Lumina\src\Lumina\Data\SqPackStream.cs:line 89
   at Lumina.Data.SqPack.ReadFile[T](Int64 offset) in \git\Lumina\src\Lumina\Data\SqPack.cs:line 123
   at Lumina.Data.Category.GetFile[T](ParsedFilePath path) in \git\Lumina\src\Lumina\Data\Category.cs:line 124
   at Lumina.Data.Repository.GetFile[T](Byte cat, ParsedFilePath path) in \git\Lumina\src\Lumina\Data\Repository.cs:line 79
   at Lumina.Data.Repository.GetFile[T](String cat, ParsedFilePath path) in \git\Lumina\src\Lumina\Data\Repository.cs:line 67
   at Lumina.Lumina.GetFile[T](String path) in \git\Lumina\src\Lumina\Lumina.cs:line 148

I am digging into it, but any insight into this issue would be helpful.
Thanks :D

this is likely related to some changes that were made so files can be written and loaded by the game, as a result some of the model file loading changed in sqpackstream and mdlfile has broken as a result

@lmcintyre would know more about this than i do

I think this is fixed in pull request #16. Please take a look.

looks good, thanks for that


Rename vagrant to local

This will allow to change local implementations to support other providers than Vagrant.
Added defaulting for .spec.cloud.local.networks

I don't know why Github complaints about conflicts in .gitignore
$ git merge rename-vagrant-to-local-provider --no-commit --no-ff
.....
.....
Automatic merge went well; stopped before committing as requested

@rfranzke removed accidentally committed file and double local-local-values.yaml

Hey Martin, could you please rebase once again?

@rfranzke rebased


python3.pkgs.ciscoconfparse: fix build dependency metadata

Description of changes
Extracted from https://github.com/NixOS/nixpkgs/pull/245509, this breaks if we use build to build packages instead of pip due to stronger pyproject.toml validation.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1054

@ofborg build python310Packages.ciscoconfparse


Unclear where to find Globus User ID

Setting up Globus transfers, it would be useful to have a message telling me where to find my globus user ID. I wasn't sure if it was just a username or an email.

Added additional text to help user find their globus user id


Edit Support When Viewing Authenticated Site

I don't know why I didn't think about doing this yet but omnibear is able to tell when you are viewing your own website, so you should totally be able to click on one of your own posts and delete or edit it

I managed to add delete support to a personal build really easily, editing will be much more difficult.
You can see the delete changes here: https://github.com/grantcodes/omnibear/commit/edc2013442dfc602500311493af2a92755bdd36e
I've not submitted a pull request because I had code formatting turned on and changed a whole load of junk, but I can tidy it up and make a pull request. It would just need a svg icon matching the other two

Yeah, I’d love to get editing working, but the question of formatting is tricky. Do we convert to markdown or leave as raw HTML? (or something else?) I have a feeling this would need to vary based on a particular site’s use case.

I didn't even think about that issue.
In a basic case it could always just support replacing properties, with no need to pull the existing microformats from the site.
Actually now that I am thinking about it, it would absolutely be possible to use contenteditable in an extension to edit microformats posts inline since they are html. That would be a game changer actually! I may need to look into that...

For formatting, why not pull the editable content from the micropub endpoint instead of using the parsed version from the page?

Ooh, I didn’t realize you could fetch the HTML content from a micropub endpoint. That’s handy. Of course, editing HTML is trickier business than, say, markdown. But it should be do-able.


Initial Kafka channel reconciler tests

Fixes #

Proposed Changes

Pushing for early feedback
Check individual commits

Release Note

Docs

@pierDipi
I removed the WIP status. I want to merge this PR and add more tests later (I will NOT do a separate PR for each test case, don't worry 😄  ).


OWLS-73314, added tests for monitoring exporter

@marinakog I am not familiar with monitoring exporter, please get the use cases and code reviewed by someone who is familiar. Also, can you make sure these tests would work on remote multi domain k8s cluster as well and update USECASES.md.

all tests passed in http://wls-jenkins.us.oracle.com/job/weblogic-kubernetes-operator-javatest/1632/
except this one :
ITOperator.testDomainInImageUsingWLST:454 ? Runtime FAILURE: pod domaininimage.
it consistently fail in all runs 1625-1633


Typo: 11. Database Security Rules [Optional]

Set Database Security Rules
The Firebase Realtime Database uses a specific rules language to define access rights, security and data validations.
New Firebase Projects are set up with default rules that only allow authenticated users to use the Realtime Database. You can view and modifies these rules in the Database section of Firebase console under the RULES tab. You should be seeing the default rules:

Thanks @loganpowell

FYI, this typo still exists.

Thanks @drewswaycool ! Just fixed and re-published.


[Bug] dbt 1.8 does not work correctly with sqlfluff

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
dbt 1.8 does not work correctly with sqlfluff
Expected Behavior
dbt 1.8 works correctly with sqlfluff
Steps To Reproduce
Check out this PR and run sqlfluff lint or unit tests with dbt 1.8
https://github.com/sqlfluff/sqlfluff/pull/5882
Relevant log output
Some error stack traces described in additional context

Environment
- OS: Mac / Linux
- Python: 3.8 or later
- dbt: 1.8.0

Which database adapter are you using with dbt?
No response
Additional Context
I'm a contributor of sqlfluff and am working on making sqlfluff compatible with dbt 1.8.
https://github.com/sqlfluff/sqlfluff/issues/5877
Some incompatibilities have been fixed in this PR, but I found some problems that don't seem to be resolvable by sqlfluff alone.
https://github.com/sqlfluff/sqlfluff/pull/5882
The sqlfluff templater for dbt (sqlfluff-templater-dbt) checks the user's dbt configuration via dbt's ManifestLoader . When sqlfluff calls ManifestLoader.get_full_manifest(self.dbt_config) in dbt 1.8, internal errors occur on dbt's side.
I succeeded in suppressing the errors by editing dbt's code directly, but I'm unsure if these changes are appropriate. I think it would be best if we could resolve the errors inside sqlfluff, for example, by adding the necessary configurations.
Please advise if there are any ways to resolve these errors on sqlfluff's side, or if better fixes should be made in dbt-core.
problem details
It seems there are two problems that the adapter itself can't solve. I confirmed that direct edits to dbt's code in my local environment to fix the two issues described below make it work.
1. get_invocation_context
After the code fixes in above PR, if we run sqlfluff lint with dbt 1.8, it fails like this.
> sqlfluff lint example.sql
...
  File "/Users/kzosabe/ws/dev/oss/python/sqlfluff/plugins/sqlfluff-templater-dbt/sqlfluff_templater_dbt/templater.py", line 252, in dbt_manifest
    self.dbt_manifest = ManifestLoader.get_full_manifest(self.dbt_config)
  File "/Users/kzosabe/ws/dev/oss/python/sqlfluff/.venv/lib/python3.8/site-packages/dbt/parser/manifest.py", line 330, in get_full_manifest
    manifest = loader.load()
  File "/Users/kzosabe/ws/dev/oss/python/sqlfluff/.venv/lib/python3.8/site-packages/dbt/parser/manifest.py", line 384, in load
    project_parser_files = self.safe_update_project_parser_files_partially(
  File "/Users/kzosabe/ws/dev/oss/python/sqlfluff/.venv/lib/python3.8/site-packages/dbt/parser/manifest.py", line 536, in safe_update_project_parser_files_partially
    self.partial_parser = PartialParsing(self.saved_manifest, self.manifest.files)  # type: ignore[arg-type]
  File "/Users/kzosabe/ws/dev/oss/python/sqlfluff/.venv/lib/python3.8/site-packages/dbt/parser/partial.py", line 86, in __init__
    self.build_file_diff()
  File "/Users/kzosabe/ws/dev/oss/python/sqlfluff/.venv/lib/python3.8/site-packages/dbt/parser/partial.py", line 165, in build_file_diff
    if get_invocation_context().env.get("DBT_PP_TEST"):
  File "/Users/kzosabe/ws/dev/oss/python/sqlfluff/.venv/lib/python3.8/site-packages/dbt_common/context.py", line 53, in get_invocation_context
    ctx = invocation_var.get()
LookupError: <ContextVar name='DBT_INVOCATION_CONTEXT_VAR' at 0x1064ffa90>

        if get_invocation_context().env.get("DBT_PP_TEST"):
            fire_event(event, level=EventLevel.INFO)

It seems that calling get_invocation_context() inside the sqlfluff context isn't working properly. This line was introduced below. If we revert this line to if os.environ.get("DBT_PP_TEST"):, no errors occur.
https://github.com/dbt-labs/dbt-core/commit/ef03ea26973b6776d280aa00501cc16f32041a4f#diff-2fd42940aaee0e200a257863155b747faf735f6b49ae49ac9229c17be33db82aR165
My question is, are there any ways to make get_invocation_context() work properly outside of dbt's normal context, such as within sqlfluff?
2. REQUIRE_RESOURCE_NAMES_WITHOUT_SPACES
If we fixed 1. and run  sqlfluff lint again, it fails like this.
> sqlfluff lint example.sql
...
  File "/Users/kzosabe/ws/dev/oss/python/sqlfluff/plugins/sqlfluff-templater-dbt/sqlfluff_templater_dbt/templater.py", line 252, in dbt_manifest
    self.dbt_manifest = ManifestLoader.get_full_manifest(self.dbt_config)
  File "/Users/kzosabe/ws/dev/oss/python/sqlfluff/.venv/lib/python3.8/site-packages/dbt/parser/manifest.py", line 330, in get_full_manifest
    manifest = loader.load()
  File "/Users/kzosabe/ws/dev/oss/python/sqlfluff/.venv/lib/python3.8/site-packages/dbt/parser/manifest.py", line 528, in load
    self.check_for_spaces_in_resource_names()
  File "/Users/kzosabe/ws/dev/oss/python/sqlfluff/.venv/lib/python3.8/site-packages/dbt/parser/manifest.py", line 641, in check_for_spaces_in_resource_names
    if self.root_project.args.REQUIRE_RESOURCE_NAMES_WITHOUT_SPACES
AttributeError: 'DbtConfigArgs' object has no attribute 'REQUIRE_RESOURCE_NAMES_WITHOUT_SPACES'

        level = (
            EventLevel.ERROR
            if self.root_project.args.REQUIRE_RESOURCE_NAMES_WITHOUT_SPACES
            else EventLevel.WARN
        )

This line was introduced below.
https://github.com/dbt-labs/dbt-core/commit/a36057d6e9da02d8a9ff359f85dc0b94b674f90a#diff-a25a77362db78f4ddc0675bcbd4775e158631076c9918ce5b64cfcd9f6db6bceR641
If we make it like below, no errors occur.
        level = (
            EventLevel.ERROR
            if (
                hasattr(self.root_project.args, "REQUIRE_RESOURCE_NAMES_WITHOUT_SPACES") and
                self.root_project.args.REQUIRE_RESOURCE_NAMES_WITHOUT_SPACES
            )
            else EventLevel.WARN
        )

I'm not sure if this change is the best approach. It's possible that they expected a default value for REQUIRE_RESOURCE_NAMES_WITHOUT_SPACES and it was missed during implementation. I'm not familiar with dbt's codebase, so I couldn't confirm that.
My question is, is there any way for sqlfluff to set values for REQUIRE_RESOURCE_NAMES_WITHOUT_SPACES, or for dbt itself to set default values for REQUIRE_RESOURCE_NAMES_WITHOUT_SPACES ?

These issues were resolved in https://github.com/sqlfluff/sqlfluff/pull/5892 and no longer need to be answered.
Sorry for raising the issue prematurely, closed.

Thank you so much for raising the initial issue @kzosabe, and for the update!


Standardize error handling in libbpfgo, remove rlimit memory bump

This standardizes error handling in libbpfgo to conform to libbpf 1.0 conventions which can be summarized as follows (from Journey to libbpf 1.0:
any pointer-returning API returns NULL on error, and sets errno to actual (positive) Exxx error code;
any other API that might fail returns (negative) -Exxx error code directly as an int result and sets (positive) errno to Exxx.

So i've standardized in libbpfgo as follows:
Libbpf APIs that return an error code directly:
ret := C.libbpf_function()
if ret != 0 {
	return fmt.Errorf(“blah blah %w”, syscall.Errno(-ret))
}

libbpf APIs that return a pointer:
ptr, errno := C.libbpf_function()
if ptr == nil {
	return fmt.Errorf(“blah blah: %w”, errno)
}

Additionally this PR removes bumping rlimit_memlock, libbpf does this automatically starting in libbpf 1.0
Signed-off-by: grantseltzer<EMAIL_ADDRESS>

@grantseltzer based on the link provided errno will be positive and consistently set in both cases (API returning or not NULL). Whit that in hands what do you think about standardizing getting more closer to the go idiom?
anyReturn, errno := C.libbpf_function()
if errno != 0 {
	return fmt.Errorf(“blah blah: %w”, syscall.Errno(errno))
}

A caveat is that I can't guarantee that the global errno is always cleared by the libbpf.

@grantseltzer based on the link provided errno will be positive and consistently set in both cases (API returning or not NULL). Whit that in hands what do you think about standardizing getting more closer to the go idiom?
anyReturn, errno := C.libbpf_function()
if errno != 0 {
	return fmt.Errorf(“blah blah: %w”, syscall.Errno(errno))
}

This is fair feedback. The historical context is that libbpf maintainers wanted to move away from setting errno in these type of functions and instead move towards directly returning error codes. They kept setting errno to keep backwards compatibility for the APIs that already were doing that. I don't think libbpf will remove setting errno, but directly checking is the 'intended' use. I guess it comes down to preference?
Also just to note, in your code snippet the errno second return is already of type error, don't need to cast it as a syscall.Errno.

A caveat is that I can't guarantee that the global errno is always cleared by the libbpf.

I once questioned this and Go does something weird to reset errno for each go routine before CGO calls, it's a little sketchy lol

I don't think libbpf will remove setting errno, but directly checking is the 'intended' use. I guess it comes down to preference?

Yeah. I got the context and agree.

Also just to note, in your code snippet the errno second return is already of type error, don't need to cast it as a syscall.Errno.

My mistake. Then checking errno would be more go idiomatic, right?
anyReturn, err := C.libbpf_function()
if err != nil {
	return fmt.Errorf(“blah blah: %w”, err)
}

Although I agree with your proposed standardization.

I once questioned this and Go does something weird to reset errno for each go routine before CGO calls, it's a little sketchy lol

Interesting, indeed.

Could you create 2 commits, one for the errors other for the memory limit ? I want it clear in git history that we removed the memory limits raising (because of libbpf bump).

You got it.


docs: update onClear example for searchinput

The SearchInput is controlled by a value prop. onClear internally clears
the input DOM node, but that doesn't re-render react. To get the
re-render, the usage pattern should be to clear the value prop.
It's possible that we could/should just remove the internal DOM clearing
too.
Resolves: #1652

All right.  I'm gonna merge this given the previous approval.  I'll assume for now that Dane feels that the component was controlled before and still is. This is the pattern we prefer, and that's what it seems to have been.


i want that code

[Enter feedback here]

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

ID: a8e34888-d9e1-7527-4bbd-c210aabe8ddf
Version Independent ID: 73e1214f-ed6f-e0cb-2f71-837ed1c1bf88
Content: Agent dashboard in Omnichannel historical analytics
Content Source: ce/customer-service/agent-dashboard.md
Service: dynamics-365-customerservice
GitHub Login: @gandhamm
Microsoft Alias: mgandham

Thanks for your comment, @chethanyn. This issue has been assigned to the doc author for review.

Hello @chethanyn
Thank you for your message. Could you please  further clarify what your feedback is?
Regards,
Manjusha

Hello @chethanyn
I'll be going ahead and closing this request. Please feel free to reach out if you have further queries.


Folder Creation Notice

Problem
When adding "shared folders", both transaction folder and email address, if required folder does not exist they are auto created upon selecting a folder or after entering a email address and pressing confirm button.
Solution
Before creating folders add additional pop-up box displaying folders to be created and requiring confirmation of creation. If declined require new folder selection or new email address to be entered.
Alternatives
Don't create any folders until after confirm button is pressed and confirmation is received.

This issue does not seem to be fixed.

This was complete.


Add requirements.txt

Hello, Thanks for your help for guiding people like me. here, my issue is that post installing all the required flask packages, I am not able to run the flask app.
Request you to add requirements.txt or steps to run this app. Many thanks!

Hi, this repository is not being maintained so I will not be making any changes to the master branch.
There is a requirements.txt file in the test1 branch, however, I have not tested installing with that to see if it works.


chore: fix failing tests

Issue #, if available:
N/A
Description of changes:
Fixes some failing tests
Description of how you validated changes:
make pr runs and passes
Checklist:

[x] Write/update tests
[x] make pr passes
[ ] Update documentation
[x] Verify transformed template deploys and application functions as expected
[ ] Add/update example to examples/2016-10-31

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@b8a8711). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop    #1312   +/-   ##
==========================================
  Coverage           ?   94.44%
==========================================
  Files              ?       78
  Lines              ?     4353
  Branches           ?      860
==========================================
  Hits               ?     4111
  Misses             ?      115
  Partials           ?      127

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 b8a8711...a618594. Read the comment docs.


Implement getAllOrders getter & tests

Reimplement getAllOrders from augur-node. Ideally we can wrap the existing 'getOrders` getter.

@justinbarry @adrake33 -- Should aaron take this 'caues Brian is still working on all the typing/events stuff?

Sure, I can start working on this one today.


[Bug]: Failing installing TweakScale-Redist

Is there an existing issue for this?

[X] I have searched the existing issues

Operating System
Windows10
CKAN Version
1.34.4
Games
KSP 1
Game Version
<IP_ADDRESS>88
Did you make any manual changes to your game folder (i.e., not via CKAN)?
No response
Describe the bug
In order to install Realism Overhaul, TweakScale Redistributable is required. I tried several times, and each time it fails.

Steps to reproduce

Check "installed" on Realism Overhaul
Click "apply"
Click "apply" on the changeset page
Click "continue" on the recommended mods without changing anything
Select "ksp burst" (required for real antennas) and then continue
error occurs

Relevant log output
Installing TweakScale-Redist v<IP_ADDRESS>...
Oh no! We tried to overwrite a file owned by another mod!
Please try a `ckan update` and try again.

If this problem re-occurs, then it may be a packaging bug.
Please report it at:

https://github.com/KSP-CKAN/NetKAN/issues/new/choose

Please include the following information in your report:

File      : GameData/999_Scale_Redist.dll
Installing Mod : TweakScale-Redist v<IP_ADDRESS>
Owning Mod: TweakScale
CKAN Version   : v1.34.4

Hi @TitiFPE, thanks for the report. We'll need to know a little more to investigate this. Please answer these follow-up questions so we can start figuring out what's going on:

Which version of TweakScale do you have installed?

Hi @HebaruSan
Thanks for your help
I don't have any version of TweakScale installed yet, this is my first time installing it. I'm playing on such an old KSP version because newer versions conflict some of my installed mods. However, if my problem is related to this old KSP version, I don't mind updating it and not using those said mods anymore.

Hi @TitiFPE, this part:
Owning Mod: TweakScale

... means that TweakScale is installed. The code can't get to that point if it's not. Can you please search for TweakScale and share a screenshot so we can see what it looks like?
You can probably install the mods you want on KSP 1.12.5 (the latest version) by marking 1.9, 1.10, 1.11, and 1.12 compatible here:

https://github.com/KSP-CKAN/CKAN/wiki/User-guide#Choosing-compatible-game-versions

Problem solved !
I didn't know I already had TweakScale. I updated it to its last version and retried, and it worked just fine.
Thanks for your help !
(the TS version that I had and caused the problem was <IP_ADDRESS>)


[Pinebook Pro] Screen flashes on boot up

I flashed tow-boot using shared image setup. When the laptop boots up the screen flashes white before anything is displayed, this is very annoying, the flash is very intense. Also, after some messages the screen flashes again, this time with some weird pattern, mostly green, and then continues booting. Is anyone having the same issue?

For the first flash, it may end-up being fixed by this pair of changes:

https://github.com/Tow-Boot/U-Boot/commit/2498667a87bec6a1f0440f9b41bb4a9def2d1f4d
https://github.com/Tow-Boot/U-Boot/commit/8f64f99e95d29eccb0b5a7335dfe14748de94335

The first ensures we don't keep whatever was in RAM in the framebuffer before the first write to the framebuffer. If whatever was in RAM was "high values" it would show up as white, or whatever.
The second changes how the display is lit-up, by turning it off first early during boot. This only affects a warm (re)boot.
As for the second, I can't say for sure. I think I might know what you're referring to, and if it is, then that would be by using extlinux-compatible boot. Can you share which OS boot method your install uses?

Cool, thanks for taking your time. Are these two commits going on the next release, and when it is going to be released? If not can I just pull master?

Can you share which OS boot method your install uses?
I'm using archlinux arm image, it installs everything by dding the install image, so I'm not sure.

My guess is extlinux since I have a folder with that name on /boot

Planned for next release (unless an interim amlogic bugfix gets written and tested with someone with the hardware to validate); unsure when exactly, but I definitely want it sooner than later.

Thanks. Since the second flash is related to extlinux, AFAIK, I'm closing this.


Clarify opts.name default behaviour

First attempt at documenting the behaviour of create-torrent when opts.name isn't defined.
This could use some work.

This is from https://github.com/feross/create-torrent/issues/23

Thanks for documenting this. Ideally, we can just improve the core behavior so we don't need to warn people about anything in the readme. But this works for now!
@retrohacker Thanks!


Safari specific Audio "playing" prop bug.

Describe the bug
Using the Audio component I realized it is not possible to have "autoplay" (playing=True) in Safari. Nor, is it possible to start the audio via e.g. a button which sets playing=True. However, if you once click the "play" control of the Audio component itself, then it is possible to start and stop the audio using the button.
To Reproduce
Just use this code e.g. in Safari nothing happens if you just press the button. In Chrome however, the Audio starts to play.
import reflex as rx

class AudioState(rx.State):
    """The audio state."""

    is_playing: bool = False

    def toggle_playing(self):
        self.is_playing = ~self.is_playing

def index() -> rx.Component:
    return rx.container(
        rx.button("Toggle Play", on_click=AudioState.toggle_playing()),
        rx.audio(
            url="https://www.learningcontainer.com/wp-content/uploads/2020/02/Kalimba.mp3",
            width="100%",
            height="32px",
            playing=AudioState.is_playing,
            on_ended=AudioState.toggle_playing(),
        ),
        style={"width": "100%", "> *": {"width": "100%"}},
        size="1",
        margin_y="2em",
    )

Add state and page to the app.
app = rx.App()
app.add_page(index)
Expected behavior
I would expect that I can directly manipulate the state of the Audio component in Safari to have e.g. autoplay.
Specifics (please complete the following information):

Python Version: 3.10.3
Reflex Version:  0.5.8
OS: macOS 12.6.1
Browser (Optional): Chrome / Safari

@s-kruschel  I have tested this with 0.5.9 and wasn't able to reproduce. Autoplay for videos work correctly and playing audio has no issue on Safari.
Autoplay on a YouTube Video

Snippet:
import reflex as rx
from ..templates import template

class AudioState(rx.State):
    """The audio state."""

    is_playing: bool = False

    def toggle_playing(self):
        self.is_playing = not self.is_playing

@template(route="/test", title="TestBug")
def test() -> rx.Component:
    """Generates page for testing bug.

    Returns:
        rx.Component: _description_
    """
    return rx.container(
        rx.button("Toggle Play", on_click=AudioState.toggle_playing()),
        rx.audio(
            url="https://www.learningcontainer.com/wp-content/uploads/2020/02/Kalimba.mp3",
            width="100%",
            height="32px",
            playing=AudioState.is_playing,
            on_ended=AudioState.toggle_playing(),
            muted=True,
        ),
        rx.video(
            url='https://youtu.be/dQw4w9WgXcQ',
            muted=True,
            controls=True,
            playing=True
        ),
        style={"width": "100%", "> *": {"width": "100%"}},
        size="1",
        margin_y="2em",
    )


chore: remove invalid rule from swiftlint configuration

Summary
We added this to our SwiftLint config because an invalid rule was added to SwiftLint, it has since been removed.
Checklist

[X] Does your PR title have the correct title format?
Does your PR have a breaking change?:  no

Still not updated in the runner images: https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md#linters ☹


Fix HEVCDecConfRec Size()

I was trying out mp4ff-nallister with an HEVC file and was getting some weird results. This seems to produced more sensical output.

Great! Thanks for the fix. It was a bit premature to make a release with HEVC before testing it on actual HEVC files and getting around to write test code. That's underway together with a way a function CreateHvcC to create an hvcC box from sps information.

Great! Thanks for the fix. It was a bit premature to make a release with HEVC before testing it on actual HEVC files and getting around to write test code. That's underway together with a way a function CreateHvcC to create an hvcC box from sps information.


[FEATURE] Add data lines for event and instance title

In the Summit Events App REST API feed make event title and instance title two separate data items for easier use of one or the other.
[
  {
    title: "Test Event - Secondary Title",
    event_title: "Test Event",
    instance_title: "Secondary Title",
    timezone: "Central Daylight Time (America/Chicago)",
    start: "2023-04-21T08:00:00.000Z",
    sponsors: "",
    longDesc: "",
    locationType: "",
    locationTitle: "The best place in the World",
    locationMapLink: "https://g.page/sociablecider?share",
    locationBuilding: "",
    locationAddress: "123 Evergreen Blvd., St. Paul, MN",
    instanceDesc: "A short description",
    ID: "a06DS000006oMlRYAU",
    feedButtonText: "Register",
    excludeSearchTag: false,
    eventUrl: "https://customization-drive-6989-dev-ed.scratch.my.salesforce-sites.com/SummitEventsRegister?instanceID=a06DS000006oMlRYAU",
    eventClosed: false,
    end: "2023-04-21T15:30:00.000Z",
    description: "This description appears in feed and should be concise",
    className: "eventOpened",
    capacityTotal: 100,
    capacityRemaining: 100
  }
]

switched field names to title_event and title_instance so that the line up next to title in feed.

Included in beta release <IP_ADDRESS>

Included in production release <IP_ADDRESS>


Compilation of a contract with a struct with more than 15 address fields fails with TUPLE:integer does not fit into cell

Compilation of a contract with a bit too many struct fields:
struct Keys {
    key1: Address;
    key2: Address;
    key3: Address;
    key4: Address;
    key5: Address;
    key6: Address;
    key7: Address;
    key8: Address;
    key9: Address;
    key10: Address;
    key11: Address;
    key12: Address;
    key13: Address;
    key14: Address;
    key15: Address;
    key16: Address; // adding key16 makes compilation fail
}

contract Fail {
    foo: map<Int, Keys>;
    init() {}
    get fun foo(): Keys? {
        return self.foo.get(1);
    }
}

fails with the following error message:
Build script running, compiling Crowdfunding
⏳ Compiling...   > Fail: tact compiler
   > Fail: func compiler
[ 1][t 0][2024-04-13 08:45:06.018000][Fift.cpp:67]      top: <continuation 0x937418>
level 1: <continuation 0x9356c8> <continuation 0x933b38> <continuation 0x938950> <continuation 0x933b38> 4 <continuation 0x937418> **HERE** <continuation 0x95a340>
level 2: <text interpreter continuation>

main.fif:114:   TUPLE:integer does not fit into cell

The same problem exists for messages as well.

Hi I have the same problem, were you able to solve it?

There are two limits related to this issue:

16 return values from functions defined with asm
length 16 for tuples in TUPLE operation

We can easily overcome the second one by using VARTUPLE for longer ones, but to resolve the first one we will probably have to change the way tuples are used in Tact and I'm not yet sure if it's going to be easy or not.
What if we just forbid the usage of such variables in cases where it requires a UNTUPLE call and tell the developer that the limit for struct length here is 16? And in future we'll just remove that restriction when there's a fix for that.


Snap 1.0.245 note viewer glitches

There's a glitch with the note viewer in Joplin snap 1.0.245 (installed using Ubuntu Software). When I scroll down to the bottom of a note, there's extra space below the last line of words in the note viewer, leaving me unable to view a good portion of that note without manually scrolling up.

But when I scroll up the note viewer to where it should be, the note editor also scrolls up, leaving me unable to edit the last portion of that note without scrolling down again.

There's another glitch with the note viewer I experience occasionally. When I edit a note and the note viewer refreshes, the note viewer briefly flashes white before showing the updated note. This gets especially annoying when I make many edits to a note in a short amount of time.

Thanks for the information.
From the sounds of these bugs, they'd probably effect Joplin outside the Snap environment. Could you give the upstream official AppImage a go and see if you can reproduce the issues? You can download the AppImage here
https://github.com/laurent22/joplin/releases/tag/v1.0.245
If they occur in the AppImage too, then the best place to report them would be to the upstream repository itself, https://github.com/laurent22/joplin
For the most part, I'd expect these snap Joplin builds to function identically to the official builds except where the snapd sandbox causes issues, the first issue looks as if its something entirely in upstreams control. The second issue with the white flashes is likely in upsteams control. It could be a specific snap issue regarding GPU drivers or something similar I might be able to do something with, but it wouldn't be my first guess. You could also try removing the GPU permission from the snap via the preferences button in the Ubuntu Software app; forcing it to go back to CPU rendering. You'd usually expect this to perform worse, but if the problem is in the graphics acceleration, it might be beneficial here.
You can also remove the GPU permission via the terminal with sudo snap disconnect joplin-james-carroll:opengl :opengl and give it back with sudo snap connect joplin-james-carroll:opengl :opengl

Hi,
I encountered the same issues in the AppImage and I've opened another issue in the main Joplin repository. Thank you for explaining though!


Unable to upload documents via API

The code below results in this error: '{"circuit":["This field is required."]}'. I have tried many possible values for circuit including numeric ID, quoted ID, even various JSON structures.
import config
import httpx

url = f'https://{config.NETBOX_DEV_HOST}/api/plugins/documents/circuit-documents/'
headers = {
    "Authorization": f"Token {config.NETBOX_DEV_TOKEN}",
}
files = {'document': open('test_image.jpg', 'rb')}
data = {
    'name': 'API upload test',
    'document_type': 'other',
    'circuit': 407,
}
with httpx.Client(verify=config.VERIFY, headers=headers) as client:
    resp = client.post(url=url, data=data, files=files)
    print(resp.text)

When I omit document_type or change it to an invalid value, I get expected errors. But no matter what I do with circuit, it's as if the value wasn't provided. I've even confirmed that httpx is correctly passing the circuit value in the form data.
Using almost the same code below, I can successfully upload an image attachment (using NetBox native image attachments). This leads me to believe the problem has something to do with this plugin.
import config
import httpx

url = f'https://{config.NETBOX_DEV_HOST}/api/extras/image-attachments/'
headers = {
    "Authorization": f"Token {config.NETBOX_DEV_TOKEN}",
}
files = {'image': open('test_image.jpg', 'rb')}
data = {
    'content_type': 'dcim.rack',
    'object_id': 33,
    'image_height': 4000,
    'image_width': 1800,
}
with httpx.Client(verify=config.VERIFY, headers=headers) as client:
    resp = client.post(url=url, files=files, data=data)
print(resp.text)

I spent a lot of time trying to figure out the same thing and as best I can tell, this is the better part of impossible with how NetBox is set up.  Their devs seem to have made it clear that they only want to support application/json API calls #10181 (even though attachments is an edge case they admit).  I created a PR that allows uploading files as a base64 encoded string while using application/json instead of multipart/form.  I does have an external dependency on drf_extra_fields, but I'll see what the maintainers think.  I installed the fork in our environment on NetBox 3.6.1 and it's worked great.

As another note, NetBox's API does the same thing on any endpoint that uses nested serializers.  This is not specific to netbox-documents.  If you take an already working request POST with a JSON payload and send exactly the same parameters via form instead, any field that uses a nested serializer lookup returns the same problem: "This field is required." for each relevant parameter.
It just happens that NetBox's devs avoided (intentionally or not) using nested serializers on the attachment endpoints.

I can upload via API with netbox-attachments plugin. Not sure what they're doing different.

So what's different is that netbox-attachments is using the same code the NetBox uses for Image Attachments.  It functions a bit differently and there are tradeoffs with the approaches (or at least there seem to be for a non-Django expert like me).  The analogous fields in this context are "circuit" for netbox-documents and "parent" for netbox-attachments.  They actually do function the same way, API-wise.  You cannot multipart/form POST/PUT/PATCH directly to parent, just like you can't to circuit.  However, netbox-attachments uses two other fields to derive parent as a read-only field, content_type and object_id.  You can update either or both of those fields and parent changes along with.  Since you aren't trying to POST/PUT/PATCH to the parent field Serializer, you can use multipart/form just fine in netbox-attachments.
The downside of that approach is that it makes the GUI forms unable to change the parent/child relationship at all in netbox-attachments.  You can via API, but not GUI.  In netbox-documents you can change the value of circuit in the GUI in a NetBox-native way, but without the base64 patch you can't add/change the document itself in the API.  Downside of netbox-documents, you can't change a circuit document to a site document at all.
The other thing that's nice is that with the base64 patch you can also use pynetbox as is and work with netbox-documents fully featured.  I haven't tested specifically but I don't think it would be able to upload items with the multiform/post solutions like netbox-attachments (including the native NetBox Image Attachments unless they've coded it in specifically for that).
In the end, it seems like 2 different ways to accomplish a certain thing.  Neither does all the things the other does and it's a matter of what works best for the implementation.  Personally, I went with netbox-documents because the document type/field choices work for us really well.


Cart Rule -> Uses per customer  is consumed by  the user, after again applying the coupon empty warning message is appearing.

Terms

[X] Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected
2.0.0
Issue Description
Cart Rule -> Uses per customer  is consumed by  the user, after again applying the coupon empty warning message is appearing.
Preconditions

Admin Should be logged in.
Products must be created.

Steps to reproduce

Go to admin -> Catalog -> Cart Rule -> Create Coupon -> Set Uses per Customer - 1
Once created cart rule -> Save the details.
Go to store front -> Login with user -> Purcashe a product with Required condition.
Add Coupon and proceed with checkout.
Now again purchase a product and then again add coupon we can see that the blank warning message is appearing.

Expected Result
There should be no blank warning message, Instead user "Coupon does not exist"
Actual Result
Currently we can see that the Blank Warning message is appearing. Please check the video for the same.
Video
https://github.com/bagisto/bagisto/assets/92721837/f461c275-eb66-41ba-9268-9c81101df869
Screenshots
Please find the screenshot below.

Additional context
No response

Checked and Found that the issue has been fixed and PR has been merged, hence I am closing the issue for reference, please check the video.

Checked and Found that the issue has been fixed and PR has been merged, hence I am closing the issue for reference, please check the video.
Video
https://github.com/bagisto/bagisto/assets/92721837/48beb4b7-4b4a-47ca-b47d-3061a94d7dbe


Support for arm64 target ramdisk and arm64 grub modules

LGTM but before merging could you squash some of the new commits? Don't need the addcode->removecode steps in the final history :)

LGTM!


[BUG] useServerMount does not run

Qwik Version
0.0.23
Operating System (or Browser)
Linux
Node Version (if applicable)
v16.3.0
Which component is affected?
Qwik Runtime
Expected Behaviour
The callback that is passed to useServerMount is executed.
Actual Behaviour
It doesn't seem to execute the callback.
Additional Information
Reproduction Steps:

Spin up a new starter with npm init qwik@latest
Use the standard starter (any server, default options)
Add the following code to app.tsx under the state declaration:
useServerMount$(() => {  console.log("Running server mount");  state.name = "Qwik" });
npm run dev. The console log is never printed and name is still set as 'World'

We have an internal discussion in the team about this, by default npm run dev is running qwik fully in the browser, no server. So no code runs.
npm run dev.ssr

should do the trick, we might make it the default option soon!

can you provide a sample code that reproduces the issue?
ideally a playground link: https://qwik.builder.io/playground

You bet! Thanks for all the help!
Reproduction

Thanks a lot for the repo case! https://github.com/BuilderIO/qwik/pull/586
this should fix it, hope to merge today and ship a new release

Fixed by https://github.com/BuilderIO/qwik/pull/586


Tasks scheduled through 'SchedulerBinding.instance.scheduleTask' were not executed

Issue
example ：https://dartpad.dev/8944b568287269991e5b943accf16861?null_safety=true
I start the animation during initialization and then execute the task . After the animation ends, the task is not executed.
@override
void initState() {
 super.initState();
 animationController = AnimationController(
     vsync: this, duration: Duration(milliseconds: 3000));
 animation = Tween(begin: 1.0, end: 0.0).animate(animationController);
 // start an animation
 animationController.forward();
 // These task will be blocked even if the animation ends
 SchedulerBinding.instance!.scheduleTask(task1, Priority.idle);
 SchedulerBinding.instance!.scheduleTask(task2, Priority.idle);
}

Expected results:
Task1 and Task2 are executed after the animation ends
Actual results:
After the animation ends, the task is not executed.
My point of view:
I notice that task1 and task2 are added to  _taskQueue for scheduling here
https://github.com/flutter/flutter/blob/3ab799bbc934e5f6d032557cdcb1486ce6b93c4b/packages/flutter/lib/src/scheduler/binding.dart#L427-L441
The problem is that once the handleEventLoopCallback() returns false, the _TaskQueue will not be scheduled again until the next scheduleTask.
In this case, because the Priority of the two tasks is Priority.idle, the schedulingStrategy returns false
https://github.com/flutter/flutter/blob/3ab799bbc934e5f6d032557cdcb1486ce6b93c4b/packages/flutter/lib/src/scheduler/binding.dart#L455-L463
So task1 and task2 are still blocked after the animation ends
I try to modify these method like this ：
void _ensureEventLoopCallback() {
  assert(!locked);
  assert(_taskQueue.isNotEmpty);
  if (_hasRequestedAnEventLoopCallback)
    return;
  _hasRequestedAnEventLoopCallback = true;
  print('_ensureEventLoopCallback execute');
  Timer.run(_runTasks);
}
// Scheduled by _ensureEventLoopCallback.
void _runTasks() {
  _hasRequestedAnEventLoopCallback = false;
  if (handleEventLoopCallback())
    _ensureEventLoopCallback();
  else{
    // When the execution fails, determines if the queue is empty
    if(_taskQueue.isNotEmpty){
      // When the task queue is not empty, the judgment is made again
      _ensureEventLoopCallback();
    }
  } // runs next task when there's time
}

When the task queue is not empty, the judgment is made again, just like Event loop
In the above example, tasks 1 and 2 were successfully executed after the animation ended
However, through logging, I found that _ensureEventLoopCallback() was called too frequently. Because the Timer.run will continue to add tasks to the isolate while the _taskQueue is not empty
However, I don't think this is necessary, because the result of the schedulingStrategy will not change until the next frame is drawn
So i modify _ensureEventLoopCallback() like this：
// Ensures that the scheduler services a task scheduled by [scheduleTask].
void _ensureEventLoopCallback() async{
  assert(!locked);
  assert(_taskQueue.isNotEmpty);
  if (_hasRequestedAnEventLoopCallback)
    return;
  _hasRequestedAnEventLoopCallback = true;
  print('_ensureEventLoopCallback execute');
  // Executes after each frame is rendered
  await endOfFrame;
  _runTasks();
}

At the end of each frame, the _taskQueue is scheduled .
And tasks 1 and 2 were also successfully executed after the animation ended
What do you think, if this change is necessary, I can PR to fix it

[✓] Flutter (Channel stable, 2.0.6, on macOS 11.2.2 20D80 darwin-x64, locale zh-Hans-CN)
    • Flutter version 2.0.6 at /Users/nayuta/Desktop/fsdk/flutter2.0
    • Framework revision 1d9032c7e1 (7 days ago), 2021-04-29 17:37:58 -0700
    • Engine revision 05e680e202
    • Dart version 2.12.3
    • Pub download mirror http://pub.ke.com
    • Flutter download mirror https://storage.flutter-io.cn

flutter doctor -v

[✓] Flutter (Channel stable, 2.0.6, on Mac OS X 10.15.4 19E2269 darwin-x64,
    locale en-GB)
    • Flutter version 2.0.6 at /Users/dhs/documents/fluttersdk/flutter
    • Framework revision 1d9032c7e1 (7 days ago), 2021-04-29 17:37:58 -0700
    • Engine revision 05e680e202
    • Dart version 2.12.3

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (3 available)
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 90.0.4430.93

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 2.3.0-1.0.pre.242, on Mac OS X 10.15.4 19E2269
    darwin-x64, locale en-GB)
    • Flutter version 2.3.0-1.0.pre.242 at
      /Users/dhs/documents/fluttersdk/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3ab799bbc9 (2 hours ago), 2021-05-06 19:49:02 -0700
    • Engine revision f57e986aa8
    • Dart version 2.14.0 (build 2.14.0-74.0.dev)

[!] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    ! CocoaPods 1.9.3 out of date (1.10.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin
        code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see
      https://guides.cocoapods.org/using/getting-started.html#installation for
      instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] VS Code (version 1.55.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • Mac OS X 10.15.4 19E2269
      darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 90.0.4430.93

! Doctor found issues in 1 category.
dhs@Dhss-MacBook-Pro ~ %

@goderbauer
How should I write a 'scheduleTask' unit test? I wrote the following test with reference to other cases, but failed it

Tested on current stable and master, issue still persists (see attached video).
Code example used (same as one provided in DartPad by OP)
import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key, this.title}) : super(key: key);
  final String? title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> with TickerProviderStateMixin {
  late AnimationController animationController;
  late Animation<double> animation;

  String title = 'init';

  void task1() {
    setState(() {
      print('task 1 execute');
      title = 'task1';
    });
  }

  void task2() {
    setState(() {
      print('task 2 execute');
      title = 'task2';
    });
  }

  @override
  void initState() {
    super.initState();
    animationController = AnimationController(
        vsync: this, duration: const Duration(milliseconds: 3000));
    animation = Tween(begin: 1.0, end: 0.0).animate(animationController);
    // start an animation
    animationController.forward();
    // These task will be blocked even if the animation ends
    SchedulerBinding.instance.scheduleTask(task1, Priority.idle);
    SchedulerBinding.instance.scheduleTask(task2, Priority.idle);
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title!),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(title),
            FadeTransition(
                opacity: animation,
                child: Container(
                  width: 100.0,
                  height: 100.0,
                  decoration: const BoxDecoration(
                    color: Colors.red,
                  ),
                ))
          ],
        ),
      ), // This trailing comma makes auto-formatting nicer for build methods.
    );
  }
}

Some more insights on this, I have tried scheduling another task using scheduleTask after 5 seconds of delay, 2 seconds after the animation stops, switching between all available Prioritys, but neither the first 2 nor the last one in the Future was executed. See the modified code.
Modified code
  @override
  void initState() {
    super.initState();
    animationController = AnimationController(
        vsync: this, duration: const Duration(milliseconds: 3000));
    animation = Tween(begin: 1.0, end: 0.0).animate(animationController);
    // start an animation
    animationController.forward();
    // These task will be blocked even if the animation ends
    SchedulerBinding.instance.scheduleTask(task1, Priority.idle);
    SchedulerBinding.instance.scheduleTask(task2, Priority.idle);

    Future.delayed(
      const Duration(seconds: 5),
      () {
        print('future executed');
        setState(() {
          title = 'future';
          SchedulerBinding.instance.scheduleTask(
            () => print('scheduled (future)'),
            Priority.idle,
          );
        });
      },
    );
  }

Video
https://user-images.githubusercontent.com/50555895/166668993-d2ca7fdd-c956-48c0-b99f-9d3d4915d0a8.mov

flutter doctor -v
[✓] Flutter (Channel master, 2.13.0-0.0.pre.886, on macOS 12.3.1 21E258 darwin-arm, locale en-US)
    • Flutter version 2.13.0-0.0.pre.886 at /Users/nabeelparkar/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e9c0ee1e08 (7 hours ago), 2022-05-04 00:29:07 -0400
    • Engine revision 0b46116471
    • Dart version 2.18.0 (build 2.18.0-82.0.dev)
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0-rc1)
    • Android SDK at /Users/nabeelparkar/Library/Android/sdk/
    • Platform android-32, build-tools 32.0.0-rc1
    • ANDROID_SDK_ROOT = /Users/nabeelparkar/Library/Android/sdk/
    • Java binary at: /opt/homebrew/opt/openjdk@11/bin/java
    • Java version OpenJDK Runtime Environment Homebrew (build 11.0.15+0)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] IntelliJ IDEA Ultimate Edition (version 2022.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 67.0.4
    • Dart plugin version 221.5588

[✓] VS Code (version 1.66.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.40.0

[✓] Connected device (3 available)
    • iPhone 13 Pro Max (mobile) • F9E7F1F9-285A-4DE8-94CD-78FE97310572 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 12.3.1 21E258 darwin-arm
    • Chrome (web)               • chrome                               • web-javascript • Brave Browser <IP_ADDRESS>

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Yeah I plan to reopen PR this month @exaby73

Here's another take on this PR, which services the tasks as a post-frame callback rather than on the timer queue, and attempts to address the testing concerns using zoned timers and cleaning up after one of the earlier tests:
https://github.com/flutter/flutter/pull/116422

Closing this as fixed in https://github.com/flutter/flutter/pull/151168


Clicking year in range calendar not working

Getting Cannot read property 'getFullYear' of null when clicking on either the start year or end year of the range calendar.

I believe this is no longer an issue, or at least not one I'm able to reproduce

This is still happening for me when clicking on the year in the range calendar.  The error is a little different now, though:
Uncaught TypeError: selected.getFullYear is not a function
    at Years.render

For anyone experiencing this issue, make sure you initialize the date you give the calendar with a date object not just a string date.


Tree Sort In Java

Have you read the [Contributing Guidelines on Pull Requests]
Yes
Description
Fixed https://github.com/TesseractCoding/NeoAlgo/issues/5784
Added TreeSort.java to sort the directory
Updated README.md
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

@ankitaggarwal23 I have made the required changes. Please tell, if any further changes are required.


use NCBI Taxonomy ID for upload rather than pathogen name

We are considering switching from using the name in the target_pathogen column as the uploaded value to using the NCBI Taxonomy ID.  However, we are not ready to do this yet as we first need to look up all the relevant TAXID values and put them in the HIPC Dashboard google sheet.

This has been done and is now being tested


Calculate distance of detected object

Calculate the distance to the detection boxes using the depth map and overlay the distance value in the center of each detection box.
Then run this on a few YouTube videos with city driving, and record the processing output and post it on YouTube directly from the notebook if possible.

How do we get start on this? I am thinking to have the assumption that the camera plan and the object plane are align (no pitch and yaw misalignment) for now, and proceed with depth estimation used the bounding box calculated (xc,yc,height,width) from the detection algo, and our guess to the size of the object in the image. We can start with some cats/dogs or whatever household object picture from our cell camera I guess

Try to create a function getDistanceToClosestFrontObject() that computes the distance using the SfMLearner depth (averaged over the pixels in the detection box) and the width of the detection box from SSD object detection.
We can test it visually on any YouTube video with driving, including the ones from games, like the one from The Crew.
We can automatically evaluate the function on KITTI and CityScape datasets where we have both depth and detection boxes ground truth.
Use the getDistanceToClosestFrontObject() function to estimate when to trigger warnings for FCW.

I have been trying to put the SfM and SSD demo together for the depth output on the mask/bounding box, but there are misc issue in setting/configing/etc, those two networks together, not sure is one in Caffe and one in plain TF whatever other reason. In the future maybe we should stick with one framework

Lets try the workaround here, to work with 2 or more Tensorflow models loaded in same GPU:
https://stackoverflow.com/questions/41607144/loading-two-models-from-saver-in-the-same-tensorflow-session
All 3 demos we currently have use Tensorflow.

See also this article:
http://bretahajek.com/2017/04/importing-multiple-tensorflow-models-graphs/

I found out about the tf graph last night too http://cv-tricks.com/tensorflow-tutorial/save-restore-tensorflow-models-quick-complete-tutorial/, and with the two additional ref seems like now I can load both ckpt in the same environment. Will put them together later in the day.

Super!
Would be interesting to reuse first set of layers if they do the same thing in both networks, like grayscale, blur, poolling etc, to speedup the overall networks processing.

Ar, merging of the two network, that's what I have in mind too. Make both use the same backbone would be nice too. Anyway, I still have issues after loading the weight, just not playing nice together yet. This graph/session in TF is interesting to say at least, but something has to deal with sooner or later.

Seems like I got the SSD and SfM NN working together in one notebook now. There is still some strange issue at the loop (image won't display until I interrupt the runtime etc.) The note book is uploaded to https://github.com/OSSDC/OSSDC-VisionBasedACC/blob/master/object_detection/ssd_sfm_demo_colaboratory.ipynb

Super!
I'll try it tonight.


[SPIKE] Additional Cache Work / Refactors

Potential solution instead of JSON.stringify: https://github.com/dominictarr/JSONStream

this looks like another fun one.


Engine: add Ubuntu 20.04 (Focal) to list of versions

fixes https://github.com/docker/docker.github.io/issues/10706#issuecomment-637543566

@usha-mandya PTAL


Do you test adaptor generators with null safety?

Basically I can't run the build_runner to generate adaptors due to the following, and I was wondering if you test with null safety:
../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/build_runner_core-6.1.10/lib/src/logging/build_for_input_logger.dart:24:19: Error: The parameter 'level' of the method 'BuildForInputLogger.level' has type 'Level', which does not match the corresponding type, 'Level?', in the overridden method, 'Logger.level'.
 - 'Level' is from 'package:logging/src/level.dart' ('../../../Android/flutter/.pub-cache/hosted/pub.dartlang.org/logging-1.0.0/lib/src/level.dart').

You can ignore this. I spent hours trying to get it to run only to find I needed:
flutter packages pub run --no-sound-null-safety build_runner build

not:
flutter packages pub run --enable-experiment=non-nullable --no-sound-null-safety build_runner build


fix: use referencesystem before assign in WellboreBaseComponentLayers

add tests
mock parts of Pixi.js for tests
check for referenceSystem before render

I have a coming PR depending on this one that will cleanup the pixi layers some more

Created a stub function for the event. Tried with a build, but it was so empty so I'll leave it for later until we need a more configurable event stub.


Failing test-registrable-domain

One test is failing on Solaris:
FAIL: test-registrable-domain
=============================

have 6265 suffixes and 9 exceptions
Failed to open ../list/tests/test_psl.txt
Summary: 1 out of 9 tests failed
FAIL test-registrable-domain (exit status: 1)

The file test_psl.txt does not exist in the repo.

list/ is a git submodule. Could you 'rm -rf list' and ./autogen.sh && configure && make again ?
test_psl.txt is definitely part of the publicsuffix/list repo. It should be there.

Forgot to set the proxy during autogen.sh which resulted in the submodules not being pulled in. Sorry for the noise.


Adding where_single_line option

Fixes #1936

Thanks for your feedbacks @nrc. I just refactored some parts of the PR and apologies for that mistake, I thought we want to inline the where clause regardless of the number of items in the where clause.
Let me know what you think!

Thanks @nrc, I just refactored those parts.

If we would put the function signature on multiple lines (e.g., if we use mutliple lines for arguments), then we should always use the multiple line form for the where clause.

So, something like:
fn lorem_multi_line<Ipsum, Dolor, Sit, Amet>(
    a: Aaaaaaaaaaaaaaa,
    b: Bbbbbbbbbbbbbbbb,
    c: Ccccccccccccccccc,
    d: Ddddddddddddddddddddddddd,
    e: Eeeeeeeeeeeeeeeeeee,
) -> T where Ipsum: Eq {
    // body
}

must be:
fn lorem_multi_line<Ipsum, Dolor, Sit, Amet>(
    a: Aaaaaaaaaaaaaaa,
    b: Bbbbbbbbbbbbbbbb,
    c: Ccccccccccccccccc,
    d: Ddddddddddddddddddddddddd,
    e: Eeeeeeeeeeeeeeeeeee,
) -> T
where
    Ipsum: Eq,
{
    // body
}

Is that correct?

Is that correct?

Yes, correct.

@nrc I'm struggling to finish the last part, to skip the where_single_line option when the rest of the signature is multi-lined.
I was thinking about doing a "\n" search and see if we have any new lines in the other parts and then assume that we have to skip (e.g. when there are multiple items in the signature). What do you think about this idea? Is there any better ways to do this?

What do you think about this idea? Is there any better ways to do this?

Searching for \n is a fine way to do this - we do it often elsewhere.

@nrc cheers Nick, let me see what can I do this weekend. :crab:

@nrc OK, I just pushed the changes you've requested. Let me know what you think.

Awesome, thank you!

Thank you Nick!


[1.10] Prevent CLI download timeout

High-level description
Update dcos-test-utils to the version with modified fixtures to prevent CLI timeouts. This is required to fix problems in Enterprise integration tests.
This enables a backport of DCOS-38213 in order to resolve DCOS-43687. DCOS-13496 is also applied, as it is required by the updated dcos-test-utils.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS-43687 DC/OS Enterprise - Test flake retry failing to download CLI.
DCOS-38213 dcoscli fixture times-out while downloading CLI
DCOS-13496 Enforce that paths in test handle leading slash consistently

Related tickets (optional)
Other tickets related to this change:
Checklist for all PRs

[ ] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change: test framework only
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
test framework only
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): dcos-test-utils
[x] Test Results: [https://teamcity.mesosphere.io/viewLog.html?buildId=1281183&buildTypeId=DcosIo_DcosTestUtils_ToxIntegrationTest]
[ ] Code Coverage (if available): [link to code coverage report]

@mesosphere-mergebot bump-ee

We don't need to update dcos-test-utils for 1.10 as the code to be modified is only in the EE repo.