Use default file

Some tracks lessen the barrier for users by providing an empty implementation file, which prevents the user from having to create the file themselves. An example of such a track is the Elm track, but the Scala track is also discussing this. How do you all feel about this? I think it would indeed lower the barrier, especially if we will also be providing exercise-specifc .fsproj files.

Would it be just an empty set of .fsproj files for each exercise?

Well, I imagine the .fsproj file would reference two files:

The stub implementation file.
The test file.

In my mind, the implementation file is empty, except for a module definition.
The .fsproj file should also be referencing NUnit, or any other library the exercise assumes the user to user (for example FsCheck for property-based tests or FParsec for parsing data).
To give users the best introduction to F#, I would suggest to use Paket for managing the dependencies (which can integrate nicely with the .fsproj file) and FAKE for allowing the user to run the tests using a command-line script.
This would result in the following files:

Anagram.fs
AnagramTest.fs
Anagram.fsproj
build.fsx
paket.dependencies
paket.lock
paket.references
build.fsx
run-tests.cmd
run-tests.sh

The main benefit is that there is less friction for users.
I've been following Enrico Sada, and he has been hard at work getting F# to work with the new .NET CLI in combination with .NET Core. Ideally, we would be using this, as this makes everything instantly cross-platform and we have a single installation path for users on any system. I even saw a fantastic demo of Paket working together with the .NET CLI, I think that is where we should be headed.
Once the .NET CLI/Paket integration is finished, I would like to start migrating the existing exercises.

I would love this. I have been using these at supplements to teaching programming. I have a few friends who I am introducing to programming using F#and they are unable to remember how to run the tests for a loooooong time.

As @robkeim mentioned in this C# track issue, the CLI tooling is no longer in preview. I just managed to get an F# project with xUnit tests running on .NET Core on my Mac, so things are starting to improve :)
This is the .fsproj file I used for my demo project:
<Project Sdk="FSharp.NET.Sdk;Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp1.0</TargetFramework>
    <Version>1.0.0-alpha</Version>
    <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
  </PropertyGroup>

  <ItemGroup>
    <Compile Include="MyTests.fs" />
    <Compile Include="Program.fs" />
    <EmbeddedResource Include="**\*.resx" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="FSharp.NET.Sdk" Version="1.0.0-beta-*" PrivateAssets="All" />
    <PackageReference Include="Microsoft.FSharp.Core.netcore" Version="1.0.0-alpha-161023" />
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.0.0-preview-20170106-08" />
    <PackageReference Include="xunit" Version="2.2.0-beta5-build3474" />
    <PackageReference Include="xunit.runner.visualstudio" Version="2.2.0-beta5-build1225" />
  </ItemGroup>

  <ItemGroup>
    <DotNetCliToolReference Include="dotnet-compile-fsc">
      <Version>1.0.0-preview2-020000</Version>
    </DotNetCliToolReference>
  </ItemGroup>

</Project>

Cool stuff :)

Fixed by #348.


add legacyHeatingInstallationsEnabled to DoHome (#32)

fix for issue https://github.com/iobroker-community-adapters/ioBroker.tado/issues/32

Nice @HGlab01 thank you, will be included in next release


[3.x] Add support for Spidermonkey 78

Straightforward, but I'm still failing a test:
module 'couch_js_tests'
  Test couchjs
    couch_js_tests: fun.should_create_sandbox...[0.034 s] ok
    couch_js_tests: fun.should_roundtrip_utf8...[0.034 s] ok
    couch_js_tests: fun.should_roundtrip_modified_utf8...[0.033 s] ok
    couch_js_tests: fun.should_replace_broken_utf16...[0.033 s] ok
    couch_js_tests: fun.should_allow_js_string_mutations...[0.036 s] ok
    couch_js_tests: fun.should_exit_on_oom...*failed*
in function couch_os_process:prompt/2 (src/couch_os_process.erl, line 59)
in call from couch_query_servers:proc_prompt/2 (src/couch_query_servers.erl, line 536)
in call from couch_js_tests:trigger_oom/1 (test/eunit/couch_js_tests.erl, line 164)
in call from eunit_test:run_testfun/1 (eunit_test.erl, line 71)
in call from eunit_proc:run_test/1 (eunit_proc.erl, line 522)
in call from eunit_proc:with_timeout/3 (eunit_proc.erl, line 347)
in call from eunit_proc:handle_test/2 (eunit_proc.erl, line 505)
in call from eunit_proc:tests_inorder/3 (eunit_proc.erl, line 447)
**throw:{os_process_error,"OS process timed out."}
  output:<<"">>

erl_child_setup: failed with error 32 on line 260
erl_child_setup: failed with error 32 on line 260
erl_child_setup: failed with error 32 on line 260
erl_child_setup: failed with error 32 on line 260
    [done in 5.379 s]
  [done in 5.523 s]

All the rest pass (testing on debian bullseye with prebuilt SM78 packages). Suggestions welcome.
/cc @janl @dch @davisp

I'm pretty sure that same test was failing the last time we updated SpiderMonkey as well. Its not the greatest test and is basically showing that SpiderMonkey's garbage collection/memory efficiency is improving. I'd be on board if we just add another test function that basically blows up with the same error code rather than relying on specific memory behavior of SpiderMonkey.

@davisp Yeah, it was: https://github.com/apache/couchdb/commit/c4aee4dc5b19cdcc55bb44e8863bc62403d635e6

Got it, this is ready for review.


How to get absolute path of a source file from bxl?

I've got a bxl function that looks like this:
def gen_cpp_props_impl(ctx):
    for target in ctx.configured_targets('...'):
        ctx.output.print(target.label)
        # I know I can just print str(target.buildfile_path), but bare with me for a while.
        ctx.output.print("    BUILD File Path: " + str(target.buildfile_path.path))

That returns an error like this:
D:\src\foo>buck2 bxl root//build-scripts/gen_cpp_props.bxl:gen_cpp_props
File changed: root//build-scripts/gen_cpp_props.bxl
Traceback (most recent call last):
  File <builtin>, in <module>
error: Object of type `file_node` has no attribute `path`
 --> build-scripts/gen_cpp_props.bxl:8:56
  |
8 |         ctx.output.print("    BUILD File Path: " + str(target.buildfile_path.path))
  |                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
Build ID: ebedec15-d229-40cc-89c0-c2f9fe8a990b
Network: Up: 0B  Down: 0B
Jobs completed: 3. Time elapsed: 0.2s.
BXL FAILED

I looked here and there is in fact a path() method.
So I figured it's something to do with the starlark binding.  And anyway, it says it's an object of type file_node.  So I tracked that down to here:
My rust isn't great, but from what I can tell there's not much in there.  It looks like it's an object of type CellPath, But I can't figure out how to access that either.
Ultimately, I want to convert this path into an absolute path on disk.  Which I guess means resolving a cell path to a location on the actual disk, but even if I had a CellPath, I'm not sure how to do that either.
Any suggestions?

I'd take a look at https://buck2.build/docs/api/bxl/fs/#fsabs_path_unsafe. Note that this function will likely return the wrong answer if your BXL script ever runs on RE, which may or may not be an issue.

Not an issue.  This is for experimenting with local IDE project generation, where you need to specify absolute paths in the IDE project file.  Will take a look, thanks!


WARNING - exiftool.py - 415 - error loading json returned by exiftool: Expecting value: line 1 column 1 (char 0)

Hi,
I am using osxphotos 0.60.5 and exiftools 12.63
osxphotos -v
osxphotos, version 0.60.5
Python 3.11.4 (main, Jun 20 2023, 17:23:00) [Clang 14.0.3 (clang-14<IP_ADDRESS>.1)]
macOS 13.4.0, arm64

exiftool -ver
12.63

I do a simple export with exiftools, but no metadata is in the exported pictures:
osxphotos export "/Users/0/Pictures/xxx" --exiftool --album "xxx"
Tried exiftools with option"-v" and it shows the error message with every picture:
WARNING - exiftool.py - 415 - error loading json returned by exiftool: Expecting value: line 1 column 1 (char 0)
Any idea how to fix this as i am unable to export pictures from Apple Photos with any Metadata?

This is working for me on 13.4 / M1 with exiftool 12.60 (the latest production release). Please try exiftool 12.60 or earlier and see if you still get the warning.

I have not been able to reproduce this on macOS 13.4 with exiftool 12.60 (latest production version). Is this happening for every photo you try to export or just ones in the specific album? What is the format of the photo or video being exported? This error is expected for certain files which are not compatible with exiftool such as AVI but all common file formats should work as expected.

I had exiftool 12.60 before and had the same errors. I then updated to 12.63 from the website to make sure it’s not an issue with exiftool.
The files are jpg and I see in verbose mode that the information is read, but it seems to be unable to write it?

OK, try this to get some additional debug data:
Select one of the photos in question.
At the command line, run:
osxphotos repl --selected
This opens an interactive command line session with osxphotos.
At the >>> prompt, type:
photos[0].exiftool.asdict() then copy the output and paste back here or send it to me (email address on my Github profile).
Then with the same photo selected, type the following at the command line:
osxphotos debug-dump --dump photos --selected > debug.txt
and send the debug.txt file or attach it here.
This will contain sensitive info such as location so if that matters to you, edit the output first or select a photo that isn't sensitive.

well, while using your commands and checking the file in Finder, i found something:
When i look at the picture through Finder (i open the preview pane at the right or add more tabs like "resolution", it simply doesn't show me any EXIF information. Also no EXIF information with CTRL+CMD+I.
On the other hand, when i open the picture with "Preview" and then check the picture information, i see all EXIF like camera, GPS etc...
So it actually seems that EXIF gets exported correctly, but Finder is not showing it? Maybe wait a week for some weird background magic?
Any clue on that?

Update: it seems after "some time" Finder is re-indexing the pictures with EXIF information.
Now i only have to fix the "Creation Date" to be the same as in the EXIF data

Glad you got this working. It's still odd that you're seeing that exiftool warning. Does the warning happen with every photo?

Now i only have to fix the "Creation Date" to be the same as in the EXIF data.

You can use the --touch-file option with osxphotos export  to set the file modification date to match the photo's creation date.

Yes, every photo, no matter if jpg or heic.

If it's happening with every photo it's possible the EXIF data isn't actually being written. Are you certain the EXIF data in the exported photos matches what's in Photos.app and not just what was in the photo before import? For example, if you add a keyword in Photos and export it with --exiftool, then that keyword should appear in the EXIF data of the exported photo.

Just checked with Keywords and Title and it's all in there, i was able to find the information in the "IPTC" tab of the picture.
And thanks for the "--touch-file" hint, works perfectly!

I'm glad it's working but also confused by the warning. I'll mark this as a bug for now and will explore when I get  a chance what could be causing the warning.

Tried exiftools with option"-v" and it shows the error message with every picture:
WARNING - exiftool.py - 415 - error loading json returned by exiftool: Expecting value: line 1 column 1 (char 0)

I am able to replicate this particular error but it's not a bug. Using exiftool with -v causes the output returned by exiftool to differ from what osxphotos is expecting hence osxphotos cannot parse the data.
As you were able to see the metadata in the photos (thus it's being exported correctly), I'm closing this. If you still are having issues, let me know.


Adds React Export Option

React Export
This PR adds an option for exporting a React app using the @playcanvas/react library.
The export generates a project zip file that contains all the necessary assets and dependencies. Once downloaded you can run npm install && npm run dev to run the project. The zip is a Vite project so it works with live reload etc.
Implementation
The project template is stored in /src/templates/react. At build time, this is compiled to a template zip stored dist/static/templates/react.zip.  When a user exports their splat at runtime, this template zip is loaded, the .ply is injected into to the zip, the necessary variables are added to the .env file and the subsequent zip is downloaded.
Currently, the zip export is in the Scene -> Export -> React App menu

Can we maybe cull some unecessary files such as .gitignore, eslint.config.mjs, etc?

You still need to cull .env, .gitignore, eslint.config.mjs plus whatever else might not be needed.

You still need to cull .env, .gitignore, eslint.config.mjs plus whatever else might not be needed.

removed .gitignore, eslint.config.mjs. '`.env' is used to store the settings


Provide detailed forecast service

Similar to Solcast integration

Are you going to use attributes or a service response?

Service response makes more sense but the user request is for it to be in entity. If it makes no difference in ApexCharts, I would prefer service response. I'll need to ask as I don't use ApexCharts.

For how to make it work with ApexCharts, see https://community.home-assistant.io/t/open-meteo-solar-forecast/733073/118?u=rany

Can you/someone else put the actual example here for how to generate an apexchart forecast plot similar to the HA Dashboard?

Doing this in sensor attributes is much easier and most users are going to make a new sensor that calls a service if I went with the service approach :)

Can you/someone else put the actual example here for how to generate an apexchart forecast plot similar to the HA Dashboard?

I'm sorry, I don't use ApexChart. I recommend you ask in the forum thread :)


Make sure not to break sourcemaps

Make sure not to put a semicolon on the same line as line comment
Port of https://github.com/Polymer/vulcanize/issues/64

This modification makes crisper unusable with webcomponentjs+polymer. Polymer produces an error:
this._factory is not a function

I guess the problem relates the javascript source map. Before this patch, source map was broken and ignored. However, now vulcanized + crisper code tries to call related external javascript files even if they are already in vulcanized source.


generate_crud_model is gone

Just updated my pestle version and suddenly this was gone?

@dio5 Thank you for the feedback, and apologies for the bug. Something something early days.
Can you paste the output of pestle.phar list_commands here?

Hi Alan,
Sure, but the list is quite extensive.
If I look in pestle.phar/modules/pulsestorm/magento2/cli/generate I can see that crud/model dir is gone now. (While it was there on my older version)
By the way, also generate_observer seems broken and generates a fatal error. I'll open a new ticket for that with the output of the error.
Thanks for the great tool by the way.

Hmm, @dio5 -- what tool are you using to examine the phar file?  Also, how did you update it? (downloading a new version? building a new version?)

I just removed it and reinstalled with curl as on the readme
curl -LO http://pestle.pulsestorm.net/pestle.phar
Re examining, just looking at it with phpstorm in my project.

Wow, hang on there... I think I did
curl -LO http://alanstorm.com/2016/projects/pestle/pestle.phar
and that one gave me the one without crud.... I just did it with pulsestorm and crud is back.
I have no idea where I got the alanstorm link from though?

Ah, got the alan storm link from the wiki!
https://github.com/astorm/pestle/wiki/Using-Pestle

D'oh!  We'll make sure the "keeping the wiki up to date" department suffers for this.
Wiki's been updated with the real URL, apologies for the confusion, and thanks for helping this project get a little bit better.


reporter: Separate collecting and writing of license notes

First collect all license findings and then writer them afterwards, instead
of writing them immediately to the output file. Also add a model to split
the license into the three sections "headers", "findings", and "footers".
This is a preparation for adding a way to post process the findings before
writing them to the output file in a later commit.
Signed-off-by: Martin Nonnenmacher<EMAIL_ADDRESS>

This change is

Commit message nits:

First collect all license findings and then writer them afterwards, instead

s/writer/write/
No comma after "afterwards".

This is a preparation for adding a way to post process the findings before

s/post process/post-process/


Missing support for External Backends using HTTPS

TL;DR
Unable to create an External Load Balancer (Classic) with External Backend using the HTTPS protocol.

Using the serverless_negs submodule it was not possible to configure the backend protocol to be HTTPS (https://github.com/terraform-google-modules/terraform-google-lb-http/issues/201)
Using either no submodule, or the dynamic_backends one doesn't allow skipping health check for the backend
Adding a dummy health check results in an error as well

Terraform Resources
GoogleCloudPlatform/lb-http/google

This has now been implemented in the v7 release


Bootstrap 3: control-label css class not needed for vertical_form wrapper

Gem version: 3.1.0.rc1
the generated bootstrap config simple_form_bootstrap.rb sets the css class control-label for labels in the `:vertical_form' wrapper
config.wrappers :vertical_form, tag: 'div', class: 'form-group', error_class: 'has-error' do |b|
    #...
    b.use :label, class: 'control-label' # css class NOT needed
    #...

no css class is needed for labels for vertical forms. See the bootstrap documentation: http://getbootstrap.com/css/#forms-example

How do you implement has-success in Rails? Is it done in the simple_form_bootstrap.rb initializer like has-error? I want successful fields to be highlighted, just like error fields when the form submits and re-renders. Here is my stack overflow question if  you need more information http://stackoverflow.com/questions/34125360/implementing-has-success-and-has-feedback-classes-using-bootstrap-and-rails-simp
Please help! :smile:


fix:find the permissions needed for the command gen_test_dataset

What type of PR is this?
/kind bug

What this PR does / why we need it
Find the permissions needed for the command gen_test_dataset
Which issue(s) this PR fixes

Fixes #
Special notes for your reviewer

@0xff-dev  Is this good enough?  Should we add the cluster role permissions ?
1.7067048284279842e+09  ERROR   Reconciler error        {"controller": "namespace", "controllerGroup": "", "controllerKind": "Namespace", "namespace": {"name":"kube-system"}, "namespace": "", "name": "kube-system", "reconcileID": "97dd6165-232f-492d-8b3a-76e8ace5441f", "error": "Operation cannot be fulfilled on clusterrolebindings.rbac.authorization.k8s.io \"ragas-eval-clusterrolebinding\": the object has been modified; please apply your changes to the latest version and try again"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
        /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
        /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234

@0xff-dev Is this good enough? Should we add the cluster role permissions ?
1.7067048284279842e+09  ERROR   Reconciler error        {"controller": "namespace", "controllerGroup": "", "controllerKind": "Namespace", "namespace": {"name":"kube-system"}, "namespace": "", "name": "kube-system", "reconcileID": "97dd6165-232f-492d-8b3a-76e8ace5441f", "error": "Operation cannot be fulfilled on clusterrolebindings.rbac.authorization.k8s.io \"ragas-eval-clusterrolebinding\": the object has been modified; please apply your changes to the latest version and try again"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
        /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:273
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2
        /go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.2/pkg/internal/controller/controller.go:234

The error reported here is from the controller, while trying to bind serviceaccount to clusterrolebinding, the resource changed and needs to be updated again.
It has nothing to do with the permissions of this PR.
The controller's permissions to operate on clusterrolebiding have been updated in rbac.yaml in the helm package

I also noticed that the controller report the warning some frequent:
please apply your changes to the latest version and try again"}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem

@0xff-dev  pls check why it's always conflict while binding serviceaccount to clusterrolebinding, can we try to avoid this?

Seems we are trying to modify the same clusterrolebinding in parallel.We have two options:
option 1: maintain a clusterrolebinding for each ns
option 2: make sure the namespace controller process events sequencially

@xxxxibo Please rebase your branch


Question about jsx and props.children

In react when using jsx, you can nest components by using props.children.
Is this possible with hyperapp? I've tried doing it in my views but it isn't working the way I'd expect it to.
For example, this does not work as intended:
const { h, app } = hyperapp
/** @jsx h */

const Foo = ({ children }) => (

    hello {children}

)

app({
  view: _ => <Foo>world</Foo>
})

/* view should return
 hello world
 */

@traducer In react when using jsx, you can nest components by using props.children.

Nope, the signature of a component function is as follows: (data, children).
Components are called as follows:
component(data, children || [])

Source.
Perhaps you want this?
const Foo = (props, children) =>

    hello {children}

@jbucaran, awesome explanation, thank you.
I usedchoo quite a bit, so being able to use different virtual dom builders is nice.

@traducer Choo is very nice too. Thanks! :)


Customizing Dropdown Menu Style

I want to customize the border style for the dropdown menu. However, passing inline style to DropdownMenu seems created borders for both Base and Menu.
As according to the code:

What I have now:

I want to change the dropdown menu border to be the same color as the label border and also make dropdown menu's border-top width equals to 0
Any workaround to customize the dropdown menu border styles?

This should be possible in v1 now, though the component library has changed quite a bit


Uncaught Exception: Attempting to call a function in a renderer window that has been closed or released. Function provid

An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.0.1
Time: Mon Mar 14 2016 12:34:55 GMT 0000 (GMT Standard Time)
Error:
Attempting to call a function in a renderer window that has been closed or released. Function provid
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object.<anonymous> (C:\Users\Jack\AppData\Local\GPMDP_3\app-3.0.1\resources\app\build\inject\GPMInject\interface\mouseButtonNavigation.js:8:8.
    at BrowserWindow.callIntoRenderer (C:\Users\Jack\AppData\Local\GPMDP_3\app-3.0.1\resources\atom.asar\browser\lib\rpc-server.js:201:19)
    at emitTwo (events.js:92:20)
    at BrowserWindow.emit (events.js:172:7)

This issue was created automatically inside the uncaughtException handler

Closing this automatically reported issue as a duplicate of #470


Failed RequiresSecurityClaims should result in a Forbidden(403) instead of an Unauthorized(401)

I am using the MSOwinSecurityExtensions to handle authentication done in the Owin middleware which is working fine for just checking that someone is authenticated. An unauthenticated request gets the correct 401. However now I need to secure certain modules with claims / roles and whilst the RequiresSecurityClaims denies access if the authenticated user does not match the specified claim rule it results in a 401 instead of a 403.
This is different behavior to how the RequiresClaims extension method works
public static void RequiresClaims(this INancyModule module, params Predicate<Claim>[] requiredClaims)
{
    module.AddBeforeHookOrExecute(SecurityHooks.RequiresAuthentication(), "Requires Authentication");
    module.AddBeforeHookOrExecute(SecurityHooks.RequiresClaims(requiredClaims), "Requires Claims");
}

public static Func<NancyContext, Response> RequiresClaims(params Predicate<Claim>[] claims)
{
    return ForbiddenIfNot(ctx => ctx.CurrentUser.HasClaims(claims));
}

https://github.com/NancyFx/Nancy/blob/feb8a122d8173eafde87bbd650faa2b04429131a/src/Nancy/Security/ModuleSecurity.cs
https://github.com/NancyFx/Nancy/blob/feb8a122d8173eafde87bbd650faa2b04429131a/src/Nancy/Security/SecurityHooks.cs

Any chance the NuGet package could be updated to include #10 ?


#720: Put IDEasy-contribution-getting-started doc up-to-date.

Fixes #720. Put some information up-to-date in ./documentation/IDEasy-contribution-getting-started doc.

 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.


Fix issue with marshal caching vrw

We were caching the encoder function enclosing over the passed in
ValueReadWriter. This causes problems when the encoder is used again but
with another ValueReadWriter.
Instead, make the internal encoder function take a ValueReadWriter.

FYI @tobowers


Auto-off feature

Feature to stop sending image information to Hyperion if there are no changes in the screen for x amount of time.

Investigating if there is a good way to find when monitor is going to sleep because of inactivity. That would be a good event to hook into.


tldr page

@Alex-Monahan @Mause I created a first version of a tldr page here: https://github.com/tldr-pages/tldr/pull/10549
I'm opening this issue to have a pointer for it and discuss if any changes need to be made.
Using $ tldr --render pages/common/duckdb.md, it renders like this:

Very neat! I'm not sure how many examples are too many, but another one that might be handy is a way to run a SQL script without keeping the shell open:
duckdb -c ".read path/to/script.sql"

The other trick that I find folks really like is reading/writing stdin/stdout for CSVs:
cat test.csv | duckdb -c "COPY (FROM read_csv_auto('/dev/stdin')) TO '/dev/stdout' WITH (FORMAT CSV, HEADER)"

We are limited to 8 instructions by tldr's rules. So, I guess,  we should drop -help and add the ones you suggested?

@Alex-Monahan I updated the PR at https://github.com/tldr-pages/tldr/pull/10549

Merged in tldr-pages.

Mentioned the tldr page in the docs in 52e2af2113b5cb9d4cb4174aabe39b1c66b1085d


∀ is a keyword and alias for forall in PureScript

Please rebuild Prism (npm run build after npm ci) and add the new keyword to the keyword test (and update the test). Otherwise, the PR is gtg!

I think we are good? Ran for me on Node 14.x locally

Thank you for contributing @toastal!


COleDropTarget Class

I'm looking at adding file drag hover and exit events to winit. https://github.com/tomaka/winit/issues/448
It appears I need winapi to have the COleDropTarget class.
Adding this class will require a fairly complex web of other classes within MFC and so on so forth. I'm willing to put the effort into adding this and submitting a PR. Just need a little direction on where to start or what might be a similar example class to look at.

Alright, I was alerted that MFC is outside the scope of winapi. If this isn't the case, please reopen this issue.

At the moment due to COleDropTarget being part of MFC and not part of Windows API, I am not likely to accept such a PR. What you may actually be interested in however is IDropTarget which is the actual underlying COM interface used by COleDropTarget allowing you to skip a whole mess of C++ wrappers.


STORM-3413: Delete non-release specific storm-site files from the mai…

…n Storm repo. The files now live in the storm-site repo
Also fixed an out of date blurb in the README regarding how to contribute documentation.

Could you please rebase this? I would be +1 after fixing conflicts.

Thanks, rebased.

Thanks for the reviews


Mutation to create products doesn't create the default variant

Steps to reproduce the problem

In the new dashboard, create a product of a type that doesn't use variants.

What I expected to happen
A product is created correctly, but it is missing the default variant, that should be created in that case as well.

Does it mean a field defaultVariant should be added to ProductCreateInput, which should be ignored in case if this type has variants and added as a variant otherwise?

To give a bit more explanation - our whole cart and checkout flow is based on ProductVariant instances, but at the same time, we want to allow creating simple products that don't have variants. Hiding variants is done at the presentation layer (in the dashboard and the storefront), while under the hood we always create a "hidden" variant to make the checkout possible.
The issue is that this logic hasn't been implemented in the API yet. For instance, take a look at the implementation of this logic in the old dashboard. As you can see, we artificially create an empty variant there, only for holding the SKU and quantity.
We need to implement the same logic in the API. So when the user creates a product of a type that doesn't use variants, API should create a default variant anyway. I don't know yet how to tackle passing additional data (e.g. SKU or quantity) in the mutation for creating products. Maybe we could try what you propose and have this extra field. I don't know, we would have to implement it and see how it works and looks. For sure there sure be a good description of that field explaining that it is only used in that particular case.


[Question]: Message with body and attachment

I would like write a function which uses ews class to send an email with body and attachment and once the message is sent that message has to be in Sent Items folder.
Following is the code.  For the security purpose, I kept server credentials and recipients email id as empty (in this post).
void EwsTest1()
{
  std::cout << " Microsoft Exchange Web Services Test." << std::endl;

  int res = EXIT_SUCCESS;
  ews::set_up();

  try
  {
    QString server_uri = "";
    QString domain = "";
    QString user_name = "";
    QString password = "";

    ews::service service = ews::service(server_uri.toStdString(), domain.toStdString(),
      user_name.toStdString(), password.toStdString());

    QString subject = "Test mail from outer space";
    std::vector<ews::mailbox> recipients;
    recipients.push_back(ews::mailbox(""));

    ews::message message = ews::message();
    message.set_to_recipients(recipients);
    message.set_subject(subject.toStdString());

    QString body_text = "This is a test.
 This another one.";
    auto body = ews::body();
    body.set_content(body_text.toStdString());
    body.set_type(ews::body_type::html);

    message.set_body(body);

    const ews::distinguished_folder_id
        sent_item = ews::standard_folder::sent_items;

    ews::item_id item_id = service.create_item(message,
          ews::message_disposition::save_only);
        //ews::message_disposition::send_and_save_copy);

    if (!item_id.valid())
    {
      std::cout << "Item Id not valid." << std::endl;
    }

    QString attachment_file =
      "E:/projects/tools/email_automation/data/test.docx";

    message = service.get_message(item_id);

    auto attachment = ews::attachment::from_file(attachment_file.toStdString(),
        "application/doc", "test.docx");

    auto attachment_id = service.create_attachment(message.get_item_id(),
      attachment);

    if (!attachment_id.valid())
    {
      std::cout << "Attachment ID is not valid." << std::endl;
    }

    if (attachment_id.root_item_id().id().empty())
    {
      std::cout << "Attachment Root ID is empty." << std::endl;
    }

    item_id = attachment_id.root_item_id();
    service.send_item(item_id);
  }
  catch (std::exception& exc)
  {
    std::cout << exc.what() << std::endl;
    res = EXIT_FAILURE;
  }
}

If I use create message item with the  ews::item_id item_id service.create_item(message,         ews::message_disposition::save_only); then I can send an email with body and attachment but that message is not saving in Sent Items folder.
if I use create message item with the  ews::item_id item_id = service.create_item(message,          ews::message_disposition::send_and_save_copy); then only body of the message sent and copy of the message presents in the Sent Items folder and not attachment since send and save message disposition.    Also the item_id is not valid and going to catch block.
Kindly help me to send a message with body and attachment that has to save the message Sent Items folder once message is sent.

you have to create message to Draft folder

I just made the following changes:
const ews::distinguished_folder_id drafts = ews::standard_folder::drafts;
ews::item_id item_id = service.create_item(message,
        ews::message_disposition::save_only, drafts);

Once the message is sent, I didn't see the message in my Sent Items folder.

I think the fact that

the item_id is not valid and going to catch block.

is probably the thing to look after first. I'm almost certain it causes your problem in the first place.
You create a new message with ews::item_id item_id = service.create_item(message, ews::message_disposition::save_only);
Try specifying the drafts folder with
auto draft_folder = ews::distinguished_folder_id(
		ews::standard_folder::drafts);
auto item_id = service.create_item(message,
      ews::message_disposition::save_only, draft_folder);

After doing so, you shouldn't need to message = service.get_message(item_id); before attaching the attachments. All you need is the item_id of the message anyway. And you already got that when creating the message in the drafts folder.
auto attachment = ews::attachment::from_file(attachment_file.toStdString(),
    "application/doc", "test.docx");

auto attachment_id = service.create_attachment(message.get_item_id(),
  attachment);

Creation and attaching the attachment good too. If you stop after the call to create_attachment, you should be able to see the message in the drafts folder with the attachments attached. Just check in your Outlook/OWA after stepping through the calls.
The checks on the attachment_id and the root_item_id in the attachment_id shouldn't be necessary. When create_attachment is called with the proper parameters and it doesn't throw any exception, you should be good to go.

Overall it should look something like this:
const ews::distinguished_folder_id
draft_folder = ews::standard_folder::drafts;
ews::item_id item_id = service.create_item(message,
      ews::message_disposition::save_only, draft_folder);

QString attachment_file =
  "E:/projects/tools/email_automation/data/test.docx";

auto attachment = ews::attachment::from_file(attachment_file.toStdString(),
    "application/doc", "test.docx");

auto attachment_id = service.create_attachment(item_id,
  attachment);

item_id = attachment_id.root_item_id();
service.send_item(item_id);

And in case you want to attach multiple attachment, keep in mind that you have to use the root_item_id from each previous create_attachment call.
Something like:
const ews::distinguished_folder_id
  draft_folder = ews::standard_folder::drafts;
ews::item_id item_id = service.create_item(message,
  ews::message_disposition::save_only, draft_folder);

for (const QString& attachment_file : list_of_attachment_files)
{
  auto attachment = ews::attachment::from_file(attachment_file.toStdString(),
    get_mime_type_from_file(attachment_file), get_filename_from_file(attachment_file);

  auto attachment_id = service.create_attachment(item_id, attachment);

  item_id = attachment_id.root_item_id();
}

const ews::distinguished_folder_id sent_folder = ews::standard_folder::sent_items;
service.send_item(item_id, sent_folder);

Overall it should look something like this:
const ews::distinguished_folder_id
    draft_folder = ews::standard_folder::drafts;

ews::item_id item_id = service.create_item(message,
      ews::message_disposition::save_only, draft_folder);

QString attachment_file =
  "E:/projects/tools/email_automation/data/test.docx";

auto attachment = ews::attachment::from_file(attachment_file.toStdString(),
    "application/doc", "test.docx");

auto attachment_id = service.create_attachment(item_id,
  attachment);

item_id = attachment_id.root_item_id();

const ews::distinguished_folder_id
    sent_folder = ews::standard_folder::sent_items;
service.send_item(item_id, sent_folder);

The worked and now I am able to see the both message and attachment and it saved in the Sent Items folder.

Thank you so much for the suggestions and code, @SebastianBecker2 and @mailwl .
Also, closing this question as I got the solution.

Closed this question as I got the solution.


One click install on Laravel Forge

When ready, talk to Taylor for one click install on Laravel Forge.

Also checkout http://viaduct.io (by aTechMedia down in Bournemouth)

@jbrooksuk Have you spoken to him yet? I can have a chat if you like?

I tweeted him but no reply. If you can get in touch that would be great :)
Sent from my iPhone

On 2 Jan 2015, at 19:40, Graham Campbell<EMAIL_ADDRESS>wrote:
@jbrooksuk Have you spoken to him yet? I can have a chat if you like?
—
Reply to this email directly or view it on GitHub.

Good news. He said yeh, it should be doable.

@jbrooksuk How do we proceed from here? Is cachet ready for this one click deploy on forge just yet, or should we leave it until we've got things stable. I don't think he's going to want to change the onclick install process multiple times.

Let's wait for now, get V1 down. How do we implement with Forge, or is it something we can help him with?
Sent from my iPhone

On 2 Jan 2015, at 19:49, Graham Campbell<EMAIL_ADDRESS>wrote:
@jbrooksuk How do we proceed from here? Is cachet ready for this one click deploy on forge just yet, or should we leave it until we've got things stable. I don't think he's going to want to change the onclick install process multiple times.
—
Reply to this email directly or view it on GitHub.

Don't know.

If we can get some more info for what he needs that'd us.
Sent from my iPhone

On 2 Jan 2015, at 19:52, Graham Campbell<EMAIL_ADDRESS>wrote:
Don't know.
—
Reply to this email directly or view it on GitHub.

He did ask if it was configurable through a gui, and it is, so I think we're pretty much sorted.

Perfect :)
Sent from my iPhone

On 2 Jan 2015, at 19:53, Graham Campbell<EMAIL_ADDRESS>wrote:
He did ask if it was configurable through a gui, and it is, so I think we're pretty much sorted.
—
Reply to this email directly or view it on GitHub.

Excellent news! :)

:+1:

I've spoken to @taylorotwell and all we need is a bash script which automates the deployment. He'll make sure that Node.js installed too, so then we'll be able to get Gulp/Bower on there.

:+1: Great news

Excellent!!! It would be nice to sort out the updating system before.

Yeah, #109 needs implementing first.

FYI, taylor mentioned this in the LaravelDFW livestream as coming soon! https://www.youtube.com/watch?v=XrBoZE_jnSo#t=3670

@Duffleman did a great job of writing up Installing Cachet with Forge, I'd suggest reading through this rather than the app for now.


Additional steps?

Alright, I've made some pretty big changes in this PR:
Addons:
Addons manager starts the external tasks, currently handling AutoAV and Fillip's auto-captioner software.  Eventually, we can make this more modular, but this is a good start for now.
Addon Logs:
Addon logs go to an appdata folder / logs and are automatically moved to a new folder when AutoAV restarts
Known limitation: when an addon is triggered to restart manually through the UI, it's log is not moved

Logs now move when restarted in UI

Moved AutoAV from being a background thread. Difficult to work with in the bundled app, easier just to run it as async on the main thread.  Maybe we can revisit handling this like the live-captions software later, as it's own bundled thing


Fixed breadcrumb links for packages with build metadata

Fixes breadcrumb links for packages with build metadata:

The only question now is if we want to continue to display the build metadata in the link (the +6...) part. I think it's ok, but that's me.
Addresses #8136

Would it be possible to get a unit test to cover this case?

Would it be possible to get a unit test to cover this case?

I've added a unit test to cover this in the ThePackageBaseHelperMethod class. And having done so, I can see how this bug snuck in. There is already a test to cover this exact scenario, inside the ThePackageHelperMethod class, but the problem is it calls one of the overloads of Package, where a Package object is passed through, and this function passes through the package.NormalizedVersion. However the code that renders the breadcrumbs doesn't call this method, it calls the one that accepts two strings, and it passes though the raw version instead of the normalised one. I don't think calling normalize() twice will cause any issues.

Hey, it looks like this test is failing on your branch (per CI):
##[error]    NuGetGallery.ApiControllerFacts+TheGetStatsDownloadsAction.VerifyRecentPopularityStatsDownloads [FAIL]

      unexpected content result[3].Gallery
      Expected: True
      Actual:   False
      Stack Trace:
        tests\NuGetGallery.Facts\Controllers\ApiControllerFacts.cs(0,0): at NuGetGallery.ApiControllerFacts.TheGetStatsDownloadsAction.<VerifyRecentPopularityStatsDownloads>d__0.MoveNext()
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
        --- End of stack trace from previous location where exception was thrown ---
           at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
           at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
```

Hey, it looks like this test is failing on your branch (per CI): NuGetGallery.ApiControllerFacts+TheGetStatsDownloadsAction.VerifyRecentPopularityStatsDownloads [FAIL]

I've committed a fix for this, it was previously checking that the version number on the end of a link was 1.1 but now as they are normalized it should be checking for 1.1.0

Awesome, thanks for this contribution @rocklan! 🥇


CFList with types

Since the occurrence of 1.0.4, there are now two types of CfList:

Dynamic Frequency, which has always excited
Fixed Frequency, which is new
The highest byte of CfList indicates the type.


Command "ClearCase: Find checkouts" stopped working

Ctrl-Shift-P followed by "ClearCase: Find checkouts" stopped working. Error message "command 'extension.ccFindCheckouts' not found" is displayed. On the previous version of the extension, it worked.

I think the idea was to list the checkout files in the SCM tab on VSCode. However I also think that the old behavior that launched the Clearcase dialog should be preserved.

Oh. I didn't know about the Source Control Tab. I've looked at it and it showing my checked out files plus a huge list of view private files. Is there any way of filtering the view private files (like .gitignore)?
The Source Control tab looks better for general use, but I still it would be useful to be able to launch the "ClearCase Find checkouts" as well. It is showing checkin, compare with previous version, undo checkout and version tree, which are all the options I think I need.

@BillDenton int the next (v2.0.3) version the Find Checkout command should work again. About the "ignore" filter on the SCM view please open another issue :)

I've also noticed that the view private list is showing items that I have added to ClearCase. When I updated the extension these files didn't exist. I then created them and added them to ClearCase (outside VS Code). I opened the SCM tab after they were added to ClearCase.
I'll add another issue for the filter. I've noticed there is a "View Private File Suffixes". However, is still showing a lot of other files (e.g. .obj, .exe, .bak, .vscode directory)


add event to select all checkbox

we can console item if it is selected or deselected, but how to console item if Select all checkbox is clicked

Added onSelectAll and onDeSelectAll event. update package to v1.0.4


[SuperEditor][SuperReader] Empty ParagraphNode's don't adhere to stylesheet rules

It seems that no matter the stylesheet I supply to SuperEditor or SuperReader, if there is an empty ParagraphNode, it takes up something like 16px space (rather than applying the corresponding StyleRule that targets BlockSelector('paragraph').
Here's what I'm doing:
I supply a stylesheet to our main SuperEditor widget where users write. The paragraph rule looks something like this:
StyleRule(
          const BlockSelector('paragraph'),
          (doc, docNode) {
            return {
              'padding': const CascadingPadding.only(top: 12),
              'textStyle': TextStyle(
                    fontSize: 18,
                    height: 1.6,
                  ),
            };
          },
        ),

However, in another part of our app, we use SuperReader to display a "mini" view of documents. I supply a separate "mini" stylesheet where the paragraph rule looks something like this:
StyleRule(
          const BlockSelector('paragraph'),
          (doc, docNode) {
            return {
              'padding': const CascadingPadding.only(top: 6),
              'textStyle': TextStyle(
                    fontSize: 6,
                    height: 1.5,
                  ),
            };
          },
        ),

Here's a series of screenshots showing what's happening:
1. SuperEditor with full-size stylesheet and empty paragraph nodes

2. SuperReader with mini stylesheet and empty paragraph nodes

3. SuperEditor with full-size stylesheet and no empty paragraph nodes

4. SuperReader with mini stylesheet and no empty paragraph nodes

If you compare 2 and 4, you can see that the empty nodes take up far more space than they do when they contain characters.
The next comparison is two SuperReader widgets with the same "mini" stylesheet side-by-side. They contain precisely the same document, except that, in the right image, there is a single empty space in the ParagraphNode after the first "Hello".

As you can see, even adding a single character to the otherwise empty ParagraphNode drastically changes the size of the node.
Is there an "empty TextNode" stylesheet rule I can apply, or a way to override whatever default styling is being set to empty nodes?

@Jethro87 Could you please share a minimal code sample? I wasn't able to reproduce the issue.

@angelosilvestre Will do. It will take a couple of days, so I'll close this ticket for now. When I have the repro ready I'll open it back up. Thanks.


phpunit should be a dependency

Detailed description
sh: vendor/bin/phpunit: No such file or directory Error with tests....
Possible implementation
$ composer require --dev phpunit/phpunit solves it

... but it already is a dependency:
https://github.com/alnutile/pickle/blob/master/composer.json#L36

yeah but its dev... if its not installed on your system pickel fails to run.
i only installed picke with:
composer require --dev alnutile/pickle


quadric decimation gone?

Hi @marcomusy ,
I just realized together with @maleehahassan that the current vedo API doesn't provide the quadric option anymore but there's a new decimate_binning function. Does this contain the old functionality or has the quadric decimation been deprecated alltogether?
Best, Johannes

Hi @jo-mueller in the development version I split the decimate into mesh.decimate(), mesh.decimate_pro() and mesh.decimate_binned() as per #992
So the "quadric" is still the default (just remove the keyword in decimate()).


Not able to receive message from flutter_background_service

When background service is added with flutter_background_service, able to send data using FlutterBackgroundService.invoke, but not able to receive data using FlutterBackgroundService.on.
FlutterBackgroundService.on works fine when implemented in non-overlay screens.

Hi @ugirishm you need to use shareData method to share data from variables to overlay and to get data on overlay you need to use overlayListener so that you can listen to the data and get it and update data on the overlay. I hope you'll find this helpfull.
share data example:
if (!(await FlutterOverlayWindow.isPermissionGranted())) return;
if (await FlutterOverlayWindow.isActive()) return;
await FlutterOverlayWindow.showOverlay(
enableDrag: true,
flag: OverlayFlag.defaultFlag,
visibility: NotificationVisibility.visibilityPublic,
height: 300,
width: WindowSize.matchParent,
);
await Future.delayed(const Duration(milliseconds: 200));
await FlutterOverlayWindow.shareData('$order,$pNumber');
Listen Data Example:
String firstTitle = '';
String secTitle = '';
@override
void initState() {
super.initState();
FlutterOverlayWindow.overlayListener.listen((event) {
log("$event");
setState(() {
// isGold = !isGold;
print('true call event $event');
if (event.toString().contains(',')) {
String data = event.toString();
      try {
        print('try to set data');
        firstTitle = data.split(',').first;
        secTitle = data.split(',')[1];
      } catch (e) {
        print('exception $e');
        firstTitle = '';
        secTitle = '';
      }
      print('after all result on overlay: $firstTitle     $secTitle');
    }
  });
});
setState(() {});
Future.delayed(const Duration(milliseconds: 400), () {
  setState(() {});
});

}

@M-ImranNawaz How to do the opposite direction? Share data from the overlay.
The above method doesn't work as the listen doesn't get any events.
Thanks

@M-ImranNawaz  Thank you for the solution, I followed it and it worked


Set up & configure Autoware control component

Autoware Control: Docs & Repo
Configure control:

[ ] read over the AVP Diagram (click View->Tags, hide everything but M1)

[ ] understand the inputs and outputs to the control components as well as how they interact with each other and work

[ ] configure the control launch file such that we get the control components outlined in the AVP Diagram running

[ ] configure vehicle dynamics - might be through vehicle_info.params

[ ] test out bunch of different controllers - record some videos

[ ] create test cases with the CI/CD pipeline

[ ] create tests that ensure the input and output types to the control blocks are correct and match the AVP diagram
[ ] create tests that ensure different input values lead to correct output values
[ ] research other automated test cases that we can design and use for the control blocks we are using

If you need to test Autoware with a simulator, read here.
If you need any help understanding your task, please ask a lead here!

Hey @yentung-yen @klo40 do you guys wanna schedule a call to go over this? Or do you understand

hey @dylan-gonzalez , yep could we schedule a call? @klo40 and I will be coming in on Friday too. Just not sure what time yet.

We can meet on Friday, I'll be there all day so let me know a time that's suitable for both of you

Also pinging @jytKelly - let us know if you're free Friday

@dylan-gonzalez  I have work until 5 pm on Friday. I can come into the workshop to work on this task on Sunday for the whole day.

Updated the docs for this issue

Following done on the beauty (1st dec):

downloaded autoware ( located at ~/home/mcav/autoware)
downloaded awsim. Could be run with:

chmod +x awsim/AWSIM_v1.1.0\ \(1\)/AWSIM_v1.1.0/AWSIM_demo.x86_64
awsim/AWSIM_v1.1.0\ \(1\)/AWSIM_v1.1.0/AWSIM_demo.x86_64

downloaded rviz but could not run it. Following error outputed:

01/12/2023 Kendrick and Yen:
Notes: Control launch:
-At first glance, seems to have all the parameters and configurations set up.
-For previous error: ROS may not be running, should do ros2 topic list to check what's running.

05/12/2023 Yen and Kelly:

Couldn't run things on the beauty. Used the beast instead.
Followed instructions on the wiki, but map still did show up on rviz

tried changing to using /maps folder by running this on the terminal instead. but map still did not show up:
ros2 launch autoware_launch e2e_simulator.launch.xml vehicle_model:=sample_vehicle sensor_model:=awsim_sensor_kit map_path:=/home/mcav/maps/autoware_map/sample-map-planning/

also tried this:

but got this error:

I'll probably join Jackson and Kehan's working session this thursday to see how they ran it.

The maps directory should be /home/mcav/maps/awsim_map if using AWSIM

Also it doesn't look like source /opt/ros/humble/setup.bash worked because you are trying to execute it on the same line as cd autoware. Seems that Quang made a typo in his instructions.
I have updated the wiki with more detailed instructions. Please make sure to correctly set <map_path> as I have stated in the instructions. And make sure to first enter the docker container.


Cartesian Line Series Always a Straight Line

See sublimeted image

Yet the points have different values...

I am not able to reproduce this issue, please help me with more info

I am on windows 10 64bit, the observable chart values range from between 1.100000 to about 1.300000 basically the current EURUSD bid price. Chart set up and code behind is like in your examples

it seems like you fixed the Y Min and Max values, try setting explicitly them to null, or try forcing them to a range is useful in your case, for example AxisY[0].MinValue = 1.1, AxisY[0].MaxValue = 1.3
if they are failing with null then it should be a bug, sadly I can not force it

null works OK.


modify open-scap process

I've modified the open-scap process slightly for improved usability. The ubuntu-scap scanning script generates an HTML report file during the scanning process. Students can install lynx to easily view this vulnerability report. The benefit is that this report contains additional details as well as remediation steps for many of the reported vulnerabilities.

Great. I didn't realize the report had additional value add content. Thanks.
On Wed, Nov 18, 2015 at 12:33 PM, Jason Baker<EMAIL_ADDRESS>wrote:

I've modified the open-scap process slightly for improved usability. The
ubuntu-scap scanning script generates an HTML report file during the
scanning process. Students can install lynx to easily view this
vulnerability report. The benefit is that this report contains additional
details as well as remediation steps for many of the reported
vulnerabilities.
You can view, comment on, or merge this pull request online at:
https://github.com/dm-academy/aitm-labs/pull/29
Commit Summary

modify open-scap process

File Changes

M Lab-10/10-combined-lab.adoc
https://github.com/dm-academy/aitm-labs/pull/29/files#diff-0 (21)

Patch Links:

https://github.com/dm-academy/aitm-labs/pull/29.patch
https://github.com/dm-academy/aitm-labs/pull/29.diff

—
Reply to this email directly or view it on GitHub
https://github.com/dm-academy/aitm-labs/pull/29.


Unimodal conf filtered

changed configs
made the unimodal losses handle low confidence frames
hparam search shows no gains, but it is supported

sooper :)


Proposal: Implement Vue-style effect cleanups

This pull request suggest the following middle point between having and not havig autodisposed effects. It also modifies effect cleanups introduced in #183, allowing scheduling multiple effect cleanups during the same effect run:
import { signal, effect } from "@preact/signals-core";

effect((cleanup) => {
  cleanup(() => {
    console.log("this will run the next time the effect rerun or disposed");
  });
  cleanup(() => {
    console.log("ditto");
  });
});

Effects aren't parented to their contexts by default anymore, and there is no autodisposal. It's pretty easy to achieve a similar effect:
import { signal, effect } from "@preact/signals-core";

effect((cleanup) => {
  cleanup(effect(() => {
    console.log("this effect will be autodisposed, sort of");
  }));
});

This version avoids autodisposal's "spooky action by distance" (accidentally binding an effect's lifetime to another one) by making the disposals explicit, while getting most of autodisposal's benefits. It also requires a bit less code 🙂

Based on Slack discussion we won't be going with this approach for now. Superceded by #191.


Convert all of the services to Helm Charts and provision them locally on k8s cluster

Problem
It is time to think about migrating to a k8s. And there is nothing good as a local Kubernetes cluster setup with minikube and some Helm charts for our applications. Convert our application and database in appropriate Kubernetes resources (service, deployment, configmaps for configuration management, secrets and etc.).
Motivation
We want to take one step further and migrate to k8s.
Acceptance criteria
Having a local Kubernetes cluster setup with minikube and Docker and all of our applications are deployed with Helm charts.
Working plan

Push all needed images in our Docker Hub;
Create appropriate resources for kubernetes;
Initialize Helm chart for our database implementation;
Initialize Helm chart for our application implementation;
Deploy and verify that everything is working fine.

The above changes resolve the problem with implementing Helm charts on local Kubernetes cluster.


Add support for 'renamed' issue events.

Documented at https://developer.github.com/v3/issues/events/#events-1 and https://developer.github.com/v3/issues/events/#attributes.

Event "renamed":

The issue title was changed.

Attribute "rename":

An object containing rename details including ‘from’ and ‘to’
attributes. Only provided for ‘renamed’ events.

A live example of such event can be seen here:
https://api.github.com/repos/emersion/go-js-canvas/issues/events/451244229
Relevant fields snippet:
  ...
  "event": "renamed",
  "commit_id": null,
  "commit_url": null,
  "created_at": "2015-11-01T02:14:26Z",
  "rename": {
    "from": "Are you aware of dom package containing this already?",
    "to": "Are you aware of DOM package containing this already?"
  },
  ...

Any feedback on this PR?

can we get feedback on this PR?

@willnorris, friendly ping. I think this PR should be good to merge.

sorry about that :confused:.  Merged.

Thank you!


Fix failing CI tests and remove go imports check from push.yml

Proposed changes

Fix failing CI tests
Remove go imports check from push.yml
This change was requested in #2632

Types of changes
What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

[ ] New feature (non-breaking change which adds functionality)
[x] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices applies)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the commit for DCO to be passed.
[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[ ] I have added necessary documentation (if appropriate)

Dependency

Please add the links to the dependent PR need to be merged before this (if any).

Special notes for your reviewer:

@rajdas98 sir I have fixed  failing CI test and removed the go-imports check in the push.yml pipeline as you requested in #2632 .

@rajdas98  sir , do I have to create a new issue for it as well?

Not required. I have merged it.

@rajdas98 same question as https://github.com/litmuschaos/litmus/pull/2640#issuecomment-813494443

@rajdas98 same question as #2640 (comment)

https://github.com/litmuschaos/litmus/pull/2640#issuecomment-813527145
https://github.com/litmuschaos/litmus/pull/2640#issuecomment-813528388


Cant Save Settings

Hello, I'm afraid I'm unable to save setting for some reason. I only got it to work once, but the rest of the time I get this error:
https://i.imgur.com/pok1YJJ.png
Which is strange because the path is correct:
https://i.imgur.com/jxco5BW.png
And the XML file was populated by the JN Soundboard app:
https://i.imgur.com/iA8QE2L.png
Do you think this might have to do with permissions or the operating system? I am currently using Windows 10 Version 10.0.15063 Build 15063.

Actually, I just looked at the source code (I'm not too proficient with the C family) but in this line of SettingsForm.cs:
 if (loadXMLFilesList.Count == 0 || loadXMLFilesList.All(x => x.Keys.Length > 0 && !string.IsNullOrWhiteSpace(x.XMLLocation) && File.Exists(x.XMLLocation)))

I should be able to save the stop sounds key by itself, but I still get the same error:
https://i.imgur.com/bciWmb2.png
So now I'm thinking maybe it is windows 10 being goofy on the input or something

Sorry for the very late reply. Try to see if there is an empty entry in the "Load XML file with keys" list, and deleting it if it's there. I've had the problem before, where there would be an invisible entry there that you don't know about.

No problem, I can't seem to replicate the issue anymore. If it ever comes back up I'll try that solution.
thanks


perf(server) reduce memcpy

Moving Conn around caused a large number of memcpy calls to be done.
Instead use a Box and &mut self in place of moves.
Not done yet, fixing up more. Need to resolve the self.on_remove() move
issue.
This took hello.rs from ~400K req/s to close to ~500K req/s for me

Thanks for contributing! Unfortunately, I'm here to tell you there were the following style issues with your Pull Request:

Commit: c88a1f01e559189e9de22a0fad6cc9eb97c4c468
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/hyperium/hyper/blob/master/CONTRIBUTING.md

This message was auto-generated by https://gitcop.com

400-500k req/s? How are you testing it?
 I guess when the string formatter shows near the top, the situation is not bad :)

This should be good now minus I guess styling/code likeability. It does what its meant to though.
Before these changes, for the hello example
wrk --latency -c 500 -d 30s -t 12 http://localhost:3000/
Running 30s test @ http://localhost:3000/
  12 threads and 500 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.63ms    1.89ms  46.11ms   88.65%
    Req/Sec    38.26k    25.27k  164.33k    70.47%
  Latency Distribution
     50%  804.00us
     75%    2.93ms
     90%    3.86ms
     99%    6.60ms
  12646358 requests in 29.98s, 1.04GB read
Requests/sec: 421892.96
Transfer/sec:     35.41MB

After these changes for the hello example
wrk --latency -c 500 -d 30s -t 12 http://localhost:3000/
Running 30s test @ http://localhost:3000/
  12 threads and 500 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.11ms    1.26ms  49.31ms   87.87%
    Req/Sec    44.22k    16.81k  153.22k    67.20%
  Latency Distribution
     50%  700.00us
     75%    1.38ms
     90%    2.69ms
     99%    5.77ms
  14946137 requests in 29.95s, 1.22GB read
Requests/sec: 499083.80
Transfer/sec:     41.88MB

There's a lot of self.0.foo action, would it make sense to implement Deref / DerefMut on Conn?


Successor Field

Description
There is already a field "Provenance" for Applications.
It would be nice to have a field "Successor" as well.
Especially when the Overall Rating for some Application is Disinvest. It would be valuable info to know if there is a successor for this Application.
Resourcing
We would like to add this request to the Waltz team's feature backlog

Hi @robinrosenstock.  The provenance fields are mostly used to track where the data comes from.  Our loaders will typically restrict themselves to only modifying data they have created.
With regards to successor apps, similar functionality already exists.  Each taxonomy rating can have a specific decommission date and optionally define one or more replacement apps (and a timeframe).

However, I do see the value in having an overall replacement app which could be a bit more prominent at the top of the app page (rather than tucked away in the ratings section).

@davidwatkins73 thanks for answering and your explanation.
ok, then this feature already exist. Feel free to close this if you want. Or change the title or reopen another issue that this should be a bit more visible, because even with your explanation I searched minutes to find it.


fix(detectfromheader): #6 add default accept header when not present

add default accept header when not present

when running composer test I get : "No PSR-17 factory detected to create a serverRequest".
Should there run from pre-execute script to set the factory?

@thepercival The error in test is because the dev dependency zendframework/zend-diactoros was deprecated. Could you please replace it with laminas/laminas-diactoros


Not building on Ubuntu 20.04 with clang version 10.0.0-4ubuntu1

HI there,
I was trying to build this tool on Ubuntu 20.04 with Clang-10.0 but encountered this error:
>> bash make.sh
code/src/utils.cpp:41:9: error: use of undeclared identifier 'getuid'
    if (getuid() != 0) {
        ^
code/src/utils.cpp:47:16: error: use of undeclared identifier 'getuid'
    if ((uid = getuid()) == 0) {
               ^
code/src/utils.cpp:57:16: error: use of undeclared identifier 'getgid'
    if ((gid = getgid()) == 0) {
               ^
code/src/utils.cpp:65:9: error: use of undeclared identifier 'setgid'
    if (setgid(gid) != 0) {
        ^
code/src/utils.cpp:69:9: error: use of undeclared identifier 'setuid'
    if (setuid(uid) != 0) {
        ^
code/src/utils.cpp:75:9: error: use of undeclared identifier 'setuid'
    if (setuid(0) == 0 || seteuid(0) == 0) {
        ^
code/src/utils.cpp:75:27: error: use of undeclared identifier 'seteuid'
    if (setuid(0) == 0 || seteuid(0) == 0) {
                          ^
7 errors generated.

Could you help me with it?
Anyway, is there any plan to make this tool available via pip or conda install? or maybe a static build? That would be really nice.

This also happens on macOS 13.4.1 (Ventura) on a 2020 MacBook Pro M1, both when using clang 17.0.1 (installed via brew) and clang 14.0.3 (ships with macOS).


skip job if execution date is too old

add epsilon checker

Current coverage is 87.70% (diff: 100%)

Merging #141 into master will not change coverage

@@             master       #141   diff @@
==========================================
  Files             2          2
  Lines           122        122
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            107        107
  Misses           13         13
  Partials          2          2

Powered by Codecov. Last update b924a1b...3fedcbe

Hello!
Please follow commit convention ;)

Need rebase ;)


feat: allow setting permanent on redirectTo

What does this PR do?
Traefik allows to make redirectTos permanent, but this wasn't supported by the Helm template yet.
This PR adds support for this functionality, and closes #1076.
Motivation
I was trying to configure this per values, but was only able to do so via a additionalArgument, which I consider less elegant and less in line with the way Helm charts are supposed to work. Given the invitation to submit a PR in #1076, I just took the time.
More

[x] Yes, I updated the tests accordingly
[x] Yes, I ran make test and all the tests passed

Thanks @berlincount. This PR looks good :+1:


Uncompressed document-associated bytes

Sometimes things don't quite fit into things built in to tantivy and it would be helpful to have uncompressed document-associated bytes that tantivy is aware of.
Example use-cases are:

things where some specialized compression is preferred
multi-dimensional floating point values associated with a document needed for filtering (e.g., lat/long or xyz coordinates)
(1-per-document) precomputed floating point partial score value to aid in scoring

These need to be fast to look up, and tantivy doesn't need to do anything smart with them, aside from propagate them in a merge.
Basically, it's a catch-all case which serves as a strict improvement over storing these in random docid->value files on disk.
Why not stored values? Because decompressing whole blocks is too slow for matching/scoring.
Why does tantivy need to be aware? For documents to be tracked and valid across merges.

I am not sure if you want byte array fast fields : &[u8] or family columns in fastfields. Can you detail?

&[u8] fast fields would do the job.
Family columns in fast fields could be useful to mitigate a lot of semi-related locality issues, though!

Both are very valid features, but let's focus on &[u8] fast fields as it is the more versatile one.

Requalified in #270


Roguelike crashes when I explore too far.

Panic at PanicInfo { payload: Any, message: Some(index out of bounds: the len is 65536 but the index is<PHONE_NUMBER>), location: Location { file: "src/roguelike.rs", line: 110, col: 9 } }

Thanks, fixed in eab9269


How to set autoincrement value from 10000

as default database is sqlite3.
i want to set autoincrement value to 10000. So started browsing for solution, but no solution worked.

This has nothing to do with flask-sqlalchemy.

but we create database with sqlalchemy, so

Flask-SQLAlchemy is just a thing wrapper for SQLAlchemy. So this is a SQLAlchemy question in the end. :)
PS: Better start with a real DB like Postgres. Setting a start value for a serial column there is quite easy.


Building the app is failing after disabling User label through zap tool

Reproduction steps
When we disable user label from zap tool and build the application, it is failing.
Issue:
FAILED: chip-efr32-lock-example.out chip-efr32-lock-example.out.map
arm-none-eabi-g++ T../../../../examples/lock-app/silabs/efr32/third_party/connectedhomeip/examples/platform/silabs/efr32/ldscripts/efr32mg24.ld -Wl,defsym -Wl,SILABS_WIFI=1 -march=armv8-m.main+dsp -mcpu=cortex-m33 -mabi=aapcs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -Og --specs=nosys.specs --specs=nano.specs -Werror -Wl,fatal-warnings -fdiagnostics-color -Wl,-gc-sections -Wl,-Map,./chip-efr32-lock-example.out.map @./chip-efr32-lock-example.out.rsp -o ./chip-efr32-lock-example.out
/home/test/stash/matter/.environment/cipd/packages/arm/bin/../lib/gcc/arm-none-eabi/10.3.1/../../../../arm-none-eabi/bin/ld: obj/third_party/connectedhomeip/src/app/util/lock-common.util.cpp.o: in function emberAfInit()': /home/test/stash/matter/out/rs9116/lock_sleep_1/BRD4186C/../../../../examples/lock-app/silabs/efr32/third_party/connectedhomeip/src/app/util/util.cpp:108: undefined reference to MatterUserLabelPluginServerInitCallback()'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Log:
zap.log
Bug prevalence
5/5
GitHub hash of the SDK that was being used
RC_2.0.0-1.1 - d03a56b7eeb06b25eab61196933d74ae61b4a4ea
Platform
efr32
Platform Version(s)
No response
Anything else?
No response

@chirag-silabs What exact commands did you run after modifying the ZAP config?  It sounds like you did not regenerate the .matter file for the application, but it's hard to tell because you did not include the actual commands you ran, just the output from one of them.

@bzbarsky-apple

Ran zap tool app(: ./scripts/tools/zap/run_zaptool.sh).
From the zap tool application: Open lock-app.zap file located in "matter_repo\examples\lock-common"
Disable user label for endpoint 0
generate zap files and paste it in
matter_repo\zzz_generated\lock-app\nxp\zap-generated
Build the application:
Command used: ./scripts/examples/gn_efr32_example.sh examples/lock-app/silabs/efr32 out/rs911x_lock BRD4186C disable_lcd=true use_external_flash=false chip_enable_ble_rs911x=true --wifi rs9116

Build used:
Branch: SMG v2.0.0-1.1 - Build 12
Commit: d03a56b7eeb06b25eab61196933d74ae61b4a4ea

generate zap files

How exactly was this part done?  I asked above for the exact commands, @chirag-silabs .

@bzbarsky-apple  Can you please direct me to the resource to generate new zap/matter file with the required changes?

@chirag-silabs and if you were using some other steps, based on some other documentation, it would be good to know what that is so we can fix it.

Thanks @bzbarsky-apple. It is working now.
Actually, after changing the .zap file, we are generating the files in ZZZ_generated folder. May be our understanding was wrong.
I followed the steps which you had mentioned above . It is working fine now. Thanks for sharing the document.

@chirag-silabs You can generate things in the zzz_generated folder but then you would need to use the pregen arguments to the build to actually use those, right?


Error compiling

I'm trying to compile lumina but i get an  error in the lumina-pdf step.

mainUI.cpp:117:29: error: ‘class Poppler::Document’ has no member named ‘title’  this->setWindowTitle(DOC->title());

I have to add the poppler library

INCLUDEPATH+= /usr/include/poppler/qt5

because i get this error

mainUI.h:19:25: error fatal: poppler-qt5.h: No such file or directory

I'm using Fedora 25 with poppler-qt5 version 0.45.0-5.fc25

You seem to have written this backwards so I'm going to assume that you're getting the no member error AFTER you added poppler to the includes.
I'll have to find the upstream project and see the previous iterations.
I did find the header file for this in Fedora, which I posted here: https://paste2.org/VXptjIeO
Line 1079 does have the title object... but it's commented out.
Not sure if upstream changed something or if Fedora did.

By the moment i have commented the line lumina-pdf in the desktop-utils.pro file and now the proyect is compiling.

I think the people of fedora changed the file because in the original source file the variable title exists.

Closing this as a 3rd-party problem.
Fedora needs to fix their poppler package/includes to maintain support for all upstream interactions. ("title" in particular - kind of important for a document to be able to report it's title....)

Note: poppler 0.45 requires a patch in lumina-pdf, because poppler 0.45 doesn't contains title() function:

this->setWindowTitle(DOC->title());

this->setWindowTitle(DOC->info("Title"));


router.push('.') consistency between router for vue3 and vue2

Version
4.1.6
Reproduction link
codesandbox.io
Steps to reproduce
When current path is "/#/foo/bar", invoking $router.push('.') leads path to "/#/foo/."
What is expected?
In vue2, same code leads to "/#/foo".
vue2 example here: https://codesandbox.io/s/vue-2-playground-forked-4ifi8v?file=/src/App.vue
What is actually happening?
path leads to "/#/foo/."

Is this an undefined behavior and wouldn't be fixed in future versions?
If so, what is the correct way to implement "step up one level" of current route("/foo/bar" to "/foo", not "/foo/", there may be params in path)?

This is not really documented but it should work. As a workaround, make sure to add the trailing / when using . or ..: router.push('./')

This is not really documented but it should work. As a workaround, make sure to add the trailing / when using . or ..: router.push('./')

Using router.push('./') is not a propper workaround.
https://codesandbox.io/s/gallant-knuth-0bhk47?file=/src/views/FooBar.vue

ah, then you want ../

ah, then you want ../

not really, there seems to be more inconsistency.
invoking "router.push('../')" from "/foo/bar/foobar" ends up "/foo/"
invoking "router.push('../')" from "/foo/bar" ends up to "/foo"
invoking "router.push('../')" from "/foo/bar/" ends up to "/foo/"
invoking "router.push('./')" from "/foo/bar" ends up to "/foo/"
https://codesandbox.io/s/gallant-knuth-0bhk47?file=/src/views/FooBarFooBar.vue

I've found a possible workaround.
Make all path in routes end with trailing slash('/') , then use the router.push('../') to go up one level. This should work as expectation.
example
https://codesandbox.io/s/wonderful-cdn-lf1il9?file=/src/router.js


[Review] Fixes correctness issues in group-by sort-based for count and distinct

Two fixes: (1) COUNT with aggregated type other than int64_t; (2) DISTINCT fix;

@aschaffer can we add the host qualifiers back? then we can merge I think

@nsakharnykh Yes, I've fixed that 2 weeks ago: LesserRTTI constructors are only host now (they have no qualifiers anymore: neither device or host which means host only). See fix named "Fixed erroneous device only LesserRTTI constructors that are call…":
https://github.com/gpuopenanalytics/libgdf/pull/134/commits/ef6cfe4ddc917882aa1fb811f8137fdc958debae
If your comment above is about something else then please elaborate.

@nsakharnykh Yes, I've fixed that 2 weeks ago: LesserRTTI constructors are only host now (they have no qualifiers anymore: neither device or host which means host only). See fix named "Fixed erroneous device only LesserRTTI constructors that are call…":
ef6cfe4
If your comment above is about something else then please elaborate.

If you see my review comments, there are still constructors with __device__ only decorators, e.g., OpEqual in include/sqls_rtti_comp.hpp

@jrhemstad OpEqual is never to be called from host. Can you point me to your review comments? (if not in this thread above)
Actually even better: can you please list the actual constructors that you think they should have host qualifier, and why?

If you scroll up, you should see my comments inline with code "jrhemstad suggested changes"

Ok, so OpLess, OpEqual, OpEqualV would need host qualifiers. These are functors called from device code. Why should they have host qualifiers?

OpEqualV is instantiated inside a device function: equal_v(...)
device
bool equal_v(size_t row1) const
{
for(size_t col_index = 0; col_index < sz_; ++col_index)
{
gdf_dtype col_type = static_cast<gdf_dtype>(rtti_[col_index]);
  OpEqualV eq(vals_, row1);

OpEqualV is instantiated inside a device function: equal_v(...)
device
bool equal_v(size_t row1) const
{
for(size_t col_index = 0; col_index < sz_; ++col_index)
{
gdf_dtype col_type = static_cast<gdf_dtype>(rtti_[col_index]);
  OpEqualV eq(vals_, row1);

Okay, I didn't realize you were constructing the objects on the device. What I'm used to with functors is constructing them on the host, and then passing them by value to the device.

@jrhemstad : AFAIK, this is good to merge.

It's not good to merge, it has conflicts. @aschaffer, please check out this branch, merge master, resolve conflicts, and commit. Thanks!

@jrhemstad can you resolve any open comments above? I found the discussion confusing.

@jrhemstad can you resolve any open comments above? I found the discussion confusing.

My concerns have been addressed. I misunderstood that some of the objects were being constructed in device code, meaning that the __device__ only qualifiers for those constructors are correct.

rerun tests


should not verify if missing arg

Great framework! I noticed though that verify doesn't properly seem to check for different number of arguments/missing arguments.
class Foo {
  bar(a?: number, b?: number) {}
}
let mockFoo = mock(Foo)
let foo = instance(mockFoo)
foo.bar(5)
verify(mockFoo.bar(5, 6)).called()

This should throw a verification error but doesn't.

Hi! Thanks for motivating words and reporting issue. Can you give me version number you are using?

I'm on 2.2.1.

Oh! This is very important issue, thanks for reporting this. I will fix this asap.

@jamesdanged hi again, this issue should be fixed in version 2.2.2 https://github.com/NagRock/ts-mockito/releases/tag/v2.2.2
Please reopen this issue if something still works wrong.
Once again thanks for reporting this!

Works great now. Thanks!


Add section on operators to the reference docs

It's covered in the tutorial but should probably be in the reference docs as well.

Not specified in the tutorial and should be in the docs is whether or not you can export/import them.
I tried export operator + ... but nothing happened when I tried import { + } from .... It didn't raise an error so I'm not sure what the intended behaviour is given that I can also include a regular export syntax ... within the same file and it got applied fine.

@Jamesernator #711 was merged but not released yet (i think).

@vendethiel released: https://github.com/sweet-js/sweet-core/releases/tag/v3.0.8


Simplified schemas and models

Description
I have changed the files to only import Schema or model, and not everything in mongoose
Additional Information
It's supposed to lower memory usage. I don't know if it works but if we try to scale and stress test then we'll know.

LGTM!


Add json annotation for cloud provider and iface

https://github.com/rancher/rancher/issues/11780

@loganhz ^


Simsbiohub 496 bctw deployments script

Links to Jira Tickets

{Include a link to all applicable Jira tickets}

Description of Changes

{List all relevant code changes. Include any changes to the business workflow that might not be obvious to the reviewers of this PR.}

Testing Notes

{List any relevant testing considerations, necessary pre-reqs, and areas of the app to focus on. Specifically, include anything that will help the reviewers of this PR verify the code is functioning as expected.}

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

Project coverage is 75.17%. Comparing base (aedbe07) to head (a81086d).

Additional details and impacted files
@@           Coverage Diff           @@
##              dev    #1272   +/-   ##
=======================================
  Coverage   75.17%   75.17%
=======================================
  Files         204      204
  Lines        8203     8203
  Branches     1168     1168
=======================================
  Hits         6167     6167
  Misses       1676     1676
  Partials      360      360

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

Unable to run it locally. I get the following error using git bash on Windows:
$ ./run.sh files/input.dev.json
main.js -> SyntaxError: Unexpected end of JSON input
failed to get console mode for stdin: The handle is invalid.


Fix Testcontainers project name

The name of the project is Testcontainers.
See https://testcontainers.com/

 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.

Thanks for the PR!


Changes in the admin should create history entry as well

Consider whether there's a reasonable way to make changes in the admin show up in the audit records as well.
If yes, present a rough concept how you would go about implementing this/integrating it into the admin.
If no, please argue why this shouldn't be done, what the risks are, etc.

Great, thanks!


Updated the https-redirect-single-instance-dotnet.config

Added the ending double quote for the last line.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Sorry for the long delay. Merging.


Status of a toy solidity verifier?

What is the status of a toy solidity verifier for Risc0?

Duplicate of #270
We will be announcing https://dev.risczero.com/bonsai soon which provides the ability to generate a groth16 proof which can be verified in solidity. See this example: https://github.com/risc0/risc0/tree/main/bonsai/examples/governance


Add anchored element width and height as new special values

When I need to use width/height of some anchored element I need to use this method:
...
data-lax-opacity="(vh) 0, 0 1, (-document.querySelector('.status').clientHeight+100) 1, (-document.querySelector('.status').clientHeight) 0"
data-lax-anchor=".status"
...

I don't know if exists another way to do this, but I think would be great to have special values as aelw and aelh to help on that.

Does elh not do the job?
On Sat, 13 Apr 2019 at 01:07, Rodrigo Teobaldo<EMAIL_ADDRESS>wrote:

When I need to use width/height of some anchored element I need to use
this method:
...
data-lax-opacity="(vh) 0, 0 1, (-document.querySelector('.status').clientHeight+100) 1, (-document.querySelector('.status').clientHeight) 0"
data-lax-anchor=".status"
...
I don't know if exists another way to do this, but I think would be great
to have special values as aelw and aelh to help on that.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alexfoxy/laxxx/issues/45, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJQ3KZmYkz3DZeGm5zVVz6PYcTaI7Unks5vgR-1gaJpZM4ctu6u
.

In this example: https://codesandbox.io/embed/8kymplvqkj
Let's think that I need to translate vertically the h1 when it start to touch the second section. But I need to translate this in the same value of the anchored element height. In this case I'm using elh but this returns just the height of h1, the target element. I need the anchored element size. Because with this I can work with relative sizes.
Btw relative units don't work as expected, like 100%. It becames 100px instead.
Let me know if I wasn't clear.

+1

+1

@rteobaldo
At line 261 you could add:
.replace(/ah/g, o["data-lax-anchor"].clientHeight)
.replace(/aw/g, o["data-lax-anchor"].clientWidth)

Now you can use special values ah(anchor-element-height) and aw(anchor-element-width) - this depends on setting data-lax-anchor as the first attribute.
I use this in my projects and it works fine, but cant create a PR for some reason :(


Scrollspy selecting the last element when at the bottom of the page

Fixes #17739

Please add a relevant JS unit test or visual test for your change; see https://github.com/twbs/bootstrap/tree/v4-dev/js/tests for instructions.

@cvrebert is the visual test enough for now?

What's left to do before this can be merged in?

All comments should be implemented.
@timfish Sorry, I missed the notifications. I believe nothing is left to do before the merge anymore.

So, this has the side-effect of making the unselectability of middle items on the last screen noticeable. Which also feels weird from a user perspective. Here's an example:

Notice how "2nd to last" is unreachable.
I'm not sure how we ought to handle that.
CC: @patrickhlauke @XhmikosR @hnrch02 @mdo for thoughts

Still slightly strange behaviour but not sure how else it should work and doesn't actually appear to be a regression from v3:
https://github.com/twbs/bootstrap/issues/15729

That's a though UX decision—I'm not sure about this either. But this PR restores the original behavior from v2 and v3 so I'd say 👍 .

Super strange, but this is now in v4-dev and didn't get auto-closed. Might be something to do with the fork being deleted (as it says unknown repository up top).
Relevant commits on our end are 39d7861f34e01933ebee4f6b05e3ed24bca7f116 and d328c911cbc74e6958ee747ebf17a7481a32d831.


Change 'Alt+←' and 'Alt+→' to something else

Hello!
'Alt+←' and 'Alt+→' is quite important to browser navigation, I think we should use something else.
Also
Documentation:
context.Keybindings.Unsubscribe(mod, Keys.Right);
context.Keybindings.Unsubscribe(mod, Keys.Left)

Documentation (by namespace)
context.Keybinds.Unsubscribe(mod, Keys.Right);
context.Keybinds.Unsubscribe(mod, Keys.Left)

Doesn't work at all.

'Alt+←' and 'Alt+→' is quite important to browser navigation, I think we should use something else.

I agree. As someone who uses these key-combos all day long, this is quite jarring.

Documentation (by namespace) ... Doesn't work at all.

Indeed. IKeybindManager.Unsubscribe is only defined for the following signature:
void Unsubscribe(MouseEvent evt);

There's no unsubscribe-equivalent for
void Subscribe(KeyModifiers mod, Keys key, KeybindHandler handler);

So default configuration is kinda troublesome, and it can't be easily fixed with the current implementation.

I've submitted a PR which fixes this issue.
@cbuctok : Feel free to test if it works for you.
Please note, I had to update my config script to look like this to make workspacer happy:
    var mod = KeyModifiers.Alt;                       // declare MOD variable
    context.Keybinds.Unsubscribe(mod, Keys.Right);
    context.Keybinds.Unsubscribe(mod, Keys.Left);     // trailing semi-colon


[PE-D][Tester B] Error in how tag type is identified

Output of mark 11 /t Assignment1 /ts cg:

output of mark 11 /t Assignment2 /ts p:

output of mark 11 /t Assignment3 /ts av:

It seems that tag type is currently recognised by the type of status, however this can cause bugs for functionalities relating to tags such as find. Since find does subword matching for tutorial tags and only recognises "tutorial", it would cause bugs since users may not be aware of this constraint.
I think a way to fix this is to recognise the tag type by a keyword, such as Assignment, Attendance and Tutorial.

Labels: severity.Medium type.FeatureFlaw
original: Chiarena/ped#11

Cannot be addressed:<


Use new availabilities to display "available online" tag on results

I just replaced the items.locations.type filter/aggregation to achieve this - should I be doing something less destructive?
Don't merge until new API is deployed (you can test this with staging though)

Thought that might happen - let's get your PR in first and I'll update this


Allow message router to be passed as a class name for MessageRoutingMode.CustomPartition

Is your enhancement request related to a problem? Please describe.
Currently, we can set messageRoutingMode and messageRouter via the ProducerBuilder. messageRouter takes a class object as a parameter. We should have an option to take the class name as an input and create the object at runtime. One use case where this will help is to extend the functionality of source connectors where a user may provide class name as part of his connector's config file and a connector calls loadConf method of ProducerBuilder which will create the instance of his class implementing 'MessageRouter' at runtime.
Describe the solution you'd like
Create a new field having the name messageRouterClassName  whose instance will be created at run time. It will get precedence over 'messageRouterin builder if someone configures both from code. This will not happen if one uses theloadConfmethod ofProducerBuilder`.

closing the issue as the PR has been closed.

The issue had no activity for 30 days, mark with Stale label.

Closed as stale. Please create a new issue if it's still relevant to the maintained versions.


Not able to change color for text of dropdown [react-native-dropdown-select-list]

inputStyles property of react-native-dropdown-select-list is of ViewStyle type and there is no way we can change the color of text. Can this behaviour be updated please. Many thanks.

Which version are you using

"react-native-dropdown-select-list": "^2.0.2",

Upgrade to v2.0.4

Thank you


Fixup filename and extension extraction to handle dotfile filenames

Related issue numbers
About the pull request
Fixes filename and extension extraction so that dotfile filenames are handled.
Additional context
It was previously throwing a 'The filename is empty' errors on dotfiles (e.g.: .eslintrc.js) and the 'excepts' option could not be used to suppress this because the filename length check validation occurs prior.

Thank you for your contribution.
However, the behavior caused by this change is not what I want.
e.g. I think the extension of index.d.ts is .d.ts, not .ts.
I think it's a problem that the plugin can't lint filenames that start with a dot, so I'd like to fix it.


Gradle: upgrade to latest version (5.4.1)

Auto gradle upgrade - @kenshoo/architects please finish up

If you know that this repo isn't used anymore, close the PR
If you know that this repo is still using Java7, comment (Gradle 5 isn't compatible with Java 7, so we won't be able to finish this for now)
Otherwise make it green and merge

retest this please


md-select should emulate select behavior with [value] and (change)

Bug, feature request, or proposal:
feature request
What is the expected behavior?
md-select should support the property [value] for change it's value and the event (change) when a new value is selected. This way, it can be used as a direct replacement in code using select.
What is the current behavior?
It does not implements the property [value] and the event (change)

The change event will be added with https://github.com/angular/material2/pull/2458.

@mbellezi It's worth noting that it's already compatible with both Angular core forms modules. Using formControl or ngModel to track value and changes will already work.

In a regular situation, I agree. But, when you are using the component to build composed components witch will use the formControl or ngModel itself, this is very useful.


Corrections for /api/orchards/parent-tree-genetic-quality/{orchardId}/{spuId\

Description:
Further work/corrections are needed the for /api/orchards/parent-tree-genetic-quality/{orchardId}/{spuId} endpoint. Currently it is pulling some nonsense data when invalid Seed Planning Unit codes are entered. For example, when an invalid SPU code is entered, random parent tree data is pulled that doesn't actually exist.

Acceptance Criteria:
When an SPU code that doesn't exist is entered, then an error is received
When there is an invalid Orchard ID and SPU combination an error is received. Going forward orchard ID and SPU will have a 1:1 relationship.

Indeed. Today we have no validation at all for SpuId. This is an oracle-api endpoint. Since the source of truth (tables and rules) are on the backend api, to get this fixed we would need to have a call/request from oracle-api to backend. It will work, but we can make it better.
Combining @craigyu 's idea, about having just one request with OrchardId and then receiving all Parent Tree and Genetic Quality data with this bug, I suggest we update backend api, to respond with all data where today there is a call to get the SpuId, and the backend api calls oracle-api to fetch Parent Tree and Genetic Quality data, leaving all complexity and rules in one place, in this case, the backend api.
Maybe it got a bit complex. But it would fix two major issues.
Here's a small diagram to help understanding

If everyone agree, I can update this task to cover all changes. @SLDonnelly and @craigyu


Container lab static lag fix

@bortok : Might be good to also add expectation from the test in the description of the test maybe or as a log when user runs the test . Assuming it is not so easy to actually validate that packets are  hashed across ports and tx=rx in this example.

@apratimmukherjee if you could updated readme on the expectations subject, that would be great

@apratimmukherjee if you could updated readme on the expectations subject, that would be great

I have attempted to add the expectations for flow and port stats in the README based on observations when debugging the issue with Indrani. However, I have not set it up and executed it myself to confirm that this is all working with final set of changes.


image package tab should include option for upgrade of system

To avoid having to put OS-dependent commands into the image creation script, the package tab should also include an option to do a full upgrade of the system.

Still relevant.
Promoting to Backlog.