Remove doctype

The original script had a --remove-doctype option [1], was it intentionally removed?
[1] https://github.com/pwfisher/scour.py/blob/master/scour.py#L3183

There seems to be confusion on what the original script is.
The link you gave is a personal repository and the addition was never part of official Scour.

What is the point of removing the doctype? The resulting document isn't valid XML anymore ...

What is the point of removing...
The W3C does not recommend the usage of doctype for SVG. For SVG 1.2 there is also no doctype  anymore. https://jwatt.org/svg/authoring/#doctype-declaration
The resulting document isn't valid XML anymore ...
So the exact opposite is the case (as given on the link above).
Also the w3c.validator marks the SVG now invalid (but this seems an weakness of the validator)
https://validator.w3.org/check?uri=https%3A%2F%2Fcommons.wikimedia.org%2Fwiki%2FSpecial%3AFilepath%2FMulticheck_Logo.svg&ss=1

@Perhelion Ok, seems I was wrong on that. So for SVG using a doctype is actively discouraged, and even for XML in general, it is optional. Consequently, there should be a --remove-doctype option with default true. @Ede123 opinions?

I totally agree. (Since I mostly use Scour in combination with Inkscape and the latter always removes doctype declarations I never realized doctypes remained untouched.)
Doctype declarations are useless in almost all cases and only add unnecessary overhead. The only thing where they might be useful is for declaring entities (and then again I doubt many SVG would support that properly). Unless somebody specifically includes a doctype (and knows what they are doing) I'd day it's save to remove them by default.

It would make semantically more sense to call the option --keep-doctype and set it to false by default. Perhelion’s first link above also mentions that parts of the doctype can included as attributes in the <svg> element in case of SVG 1.0 and 1.1. Maybe that is something Scour could perform as well.

Can you add this --keep-doctype option?

I need this and consider doing a PR for it. I'm a noob in python though :)
@Ede123 is it something you would be able to make a release for, or should I look into how to package it myself ?


Change default LanguageVersion to Latest prior to 3.0 RTM

In runtime compilation, we need to assume LangVersion.Preview during 3.0-preview releases when no value is specified in the deps file.
Prior to RTM, this needs to be changed to LangVersion.Latest. This matches Roslyn's versioning strategy.

What is this a change in? Templates? MVC/Razor compilation? Our own build infrastructure?

This would be in code (runtime compilation): https://github.com/aspnet/AspNetCore/blob/master/src/Mvc/Mvc.Razor.RuntimeCompilation/src/CSharpCompiler.cs#L214-L217


Improve typing error messages

Currently typing error messages only give the stack trace and says "this return/argument is of wrong type". While accurate, this makes it hard to trace back where the mock that is implementing this check was created.
Let's improve this message, so it also tells in which file:lineno the StrictMock, mock_callable, mock_async_callable or mock_constructor that raised was created.

Hello, can I be assigned on this issue? I really wanna work on this issue.

This is super old (though still relevant I believe), I don't think @jottosson1 will realistically work on it. You're probably free to send a PR, I can help review and I'm sure @deathowl will help get it merged.

Thank you Fornellas. I am super excited to work on this issue

Hello @fornellas, @jottosson1 has already improved the error message on #184. I was wondering what updates are further more needed?

No issue @fornellas. It happens sometime.
Sure will Fabio.


Make a Kahneman quote a text quote instead of a screenshot

I believe that it's better to use a plain text quote: it's more readable (the screenshot quality is poor) and it's search-friendly.

This is a good suggestion - let me take a look if I will add the quote in text, or replace it - but important for accessibility, I fully agree.

I have decided to add the text and keep the image - I will close this pull request, but it has been incporprated. Thanks again for this suggestion!


Unable to update 1.3 on VS2015 and getting error using version1.2

I am unable to add 1.3 version on my computer. I am currently running VS2015 professional. I get  above error when I add version 1.2 dll reference and try to run my console application.

Did you try to delete 1.2 and install 1.3 ?


Updated OWNERS file for release-2.7

https://issues.redhat.com/browse/ACM-2363
Signed-off-by: dislbenn<EMAIL_ADDRESS>

/lgtm
/approve


"Class not found" error when trying to use plugin

I have installed the plugin into my Ionic v1 Cordova project.
I am trying to use the setItem function as below:
$cordovaNativeStorage.setItem( "testRef", { testProp: true } ).then( function ( value ) {
	console.log( value );
}, function ( error ) {
	console.error( error );
} );

However, I get the below error:

This also happens if I use the NativeStorage.setItem( "testRef", { testProp: true }, this.setSuccess, this.setError ); format.
I'm not sure where "Class not found" is coming from or how to resolve this. Any ideas?

Hello,
On which platform are you deploying your application?

If someone else has this problem, try to run ionic cordova build android again. It solved the issue for me.


Compilation Instructions?

How can we compile this on a mac?

I believe it should be:
cmake && make
I'll make a target rule to build a single shared object.

I've updated the Readme to include compilation instructions.

I get the following error;
  The source directory

    /Users/atypical/ccurl/src

  does not contain a CMakeLists.txt file.

Fixed.

/Users/atypical/ccurl/test/test_curl.c:1:10: fatal error: 'CUnit/CUnit.h' file not found
#include "CUnit/CUnit.h"
         ^
1 error generated.
make[2]: *** [test/CMakeFiles/test_curl.dir/test_curl.c.o] Error 1
make[1]: *** [test/CMakeFiles/test_curl.dir/all] Error 2
make: *** [all] Error 2

If you are running tests, you will need to install cUnit. Otherwise, feel free to comment out add_subdirectory (test) in the CMakeLists.txt in the parent directory.

probably i'm doing something wrong with bcunit install:
clang: warning: argument unused during compilation: '-pthread'
ld: library not found for -lbcunit

do you have /usr/lib/libbcunit.so* and /usr/include/BCUnit/ on your computer?

No, I'm on mac, /usr/include does not even exist. Can you give more detailed instructions on how to install BCUnit? I'm probably doing it wrong :-) Sorry!!

Not a mac user, myself, and I'm without access to an osx machine, but fwiw:
http://macappstore.org/cunit/
I could add an optional macro for mac
#ifdef APPLE
#include "CUnit/CUnit.h"
#include "CUnit/Basic.h"
#endif

Yes, perhaps that would be best.. @domschiener can u compile on mac?

closing


Driver decoupling

Inet4 is no longer a template class
Took a lot of rewriting, but turned out good.
hw

Renamed Dev to Devices
Global access point for all registered devices (devices initialized with a driver).
Devices::nic(N) and Devices::drive(N)
Renamed IDiskDevice to Drive
Nic is now base class for all Network drivers (currently VirtioNet)
Used by the user - now longer needs to know about the driver
Drive is now base class for all Block device (Drive) drivers (currently VirtioBlk)
Used by the user - now longer needs to know about the driver

net

Universal access point for Inet4 stacks (solves #718?)
Inet4::stack<N>() - constructed when called for the first time. Only way to bring up an IPv4 stack now.

kernel

Introduced drivers - compiled separately from the kernel.
VirtioNet and VirtioBlk now using global constructor to register its driver.
Which driver to include in service is now defined in Makefile: DRIVERS=virtionet
PCI_manager now stores driver "factories".
If a driver factory is found when probing the PCI bus, register the device at hw::Devices

Other

Service::start can now make us of commandline parameter
Automatically deduce service image name c3ce196
Experimental randomization of addresses (?)

ok to test

test/fs/integration/memdisk/bigdisk now fails on a VM with 256MB memory and a memdisk of 256 000 sectors (~128MB):
[ FAIL ] <VMRunner> terminating with uncaught exception of type Memory_range_exception: Maximum range size is<PHONE_NUMBER>


(MAINT) Fix cacert for adoptopenjdk10

The previous commit fixed the ability to download adoptopenjdk10 but the
cacert was still not compatible with clojars, so when a dependency
changed, it could not be downloaded.
This commit fixed adoptopen10's cacert in the same way we fixed it for
adoptopenjdk8, by downloading 11 and using its fixed cacert.

Test PASSed

Test PASSed


error: InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable

anybody else been experiencing this issue in firefox?

Not that I know of.
More details please:

link to a minimal sample page where this can be reproduced
does this happen in all browsers/on all devices or ...?
does this happen in the hls.js demo player - current: http://streambox.fr/mse/hls.js-0.7.6/demo/ - as well?
sounds like you are trying to seek or something similar before the video is ready

Closing due to inactivity.


Extract code snippets from how-to-change-the-fill-color-of-a-shape-in-a-presentation.md

Extract the code snippets from docs/presentation/how-to-change-the-fill-color-of-a-shape-in-a-presentation.md and use docfx snippets to retrieve them from the samples folder and audit the text.

closing as duplicate


Added best practices for application and operator development

This was originally submitted to Malhar, pull request mentioned below. This is a more appropriate repository because operator and application documentation is here so submitting it here.
https://github.com/apache/apex-malhar/pull/350

@tweise @amberarrow please see

Looks good. A very valuable addition to our docs -- I've seen developers run into these issues time and time again.

Looks good. Please rebase and squash. You can automatically close the other PR when this is merged by modifying the commit message: https://help.github.com/articles/closing-issues-via-commit-messages/

@tweise done


Fix memory leak

fix https://github.com/Gnimuc/CImGui.jl/issues/64

Codecov Report

Merging #2 (dc99e0b) into master (de479c8) will not change coverage.
The diff coverage is 0.00%.

@@          Coverage Diff           @@
##           master      #2   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files           7       7
  Lines         275     275
======================================
  Misses        275     275

Impacted Files
Coverage Δ

src/interface.jl
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


(iOS) Add RCTUIStatusBarManager and properly retrieve StatusBar style and height

Summary:
This PR migrates from the deprecated way of retrieving the status bar info. It introduces a helper method RCTUIStatusBarManager which gets the UIStatusBarManager from the KeyWindow.
It also removes the unused getHeight method.
Changelog:
[IOS] [ADDED] - Add RCTUIStatusBarManager and properly retrieve StatusBar style and height
[IOS] [REMOVED] - Remove unused getHeight method from StatusBar
Test Plan:
CI Green, Ensure that preferredStatusBarStyle and preferredStatusBarHidden is properly retrieved for Modals

Thanks! Let me know if I should bring this back


Handle React hooks at the file root without the editor dying.

Fixes #490
Problem:
If a user put a React.useEffect() call at the root of a canvas file, the entire editor would get unmounted by React.
Fix:
The error boundary didn't quite cover where the error occurred, but bizarrely sometimes wouldn't fail and would manifest as a hook invocation count change error. Moving the error boundary up one level captures the real error.
Notes:
Ordinarily this error in a non-Utopia situation would should an "invalid hook call" error, non-minified code will show TypeError: create is not a function. Ideally the proper React error would be shown but this will have to be addressed separately.
Commit Details:

Fix #490.
Shifted CanvasErrorBoundary up to the CanvasComponentEntry level from
within UiJsxCanvas.
Small tweaks relating to eslint updates.

@alecmolloy Already done. :) https://github.com/concrete-utopia/utopia/issues/506

thanks!


ProgressBar

Context
The ProgessBar should be used to indicates a progress, e.g. the progress by loading a file, or a screen.
Problem description & Solution
The ProgressBar should be indicates the progress between a min-value and a max-value. The current progress should be set by a val property.
Examples and MockUps
ProgressBar::create().min(0.0).max(100.0).val(50.0).build(ctx)

I looked into this and came up with a basic draft, but I stuck since days.
First, I wanted a Container as a child, and modify its width based on val, but its an ugly hack, so I started exploring how to draw directly on the canvas based on the canvas example.
My problem is that the RenderPipeline's draw() method gets called only twice at the start of the app, and the value of a Cell never gets updated (even if I call set() on it in the update() function).
If anyone can help with that, I will happily make a new PR.
Here is the code so far:
https://gist.github.com/kivimango/e674052789818ed3a1fc2df13d61fe54

@kivimango the solution with width would be fine for me. If you want explicit trigger redraw you could check: https://github.com/redox-os/orbtk/issues/132#issuecomment-571922281

Here is my work so far, some stuff still needs to be addressed:
I omitted the min and max properties, the caller should do the calculations, the progress bar expects the calculated percent between 0.0 and 1.0 whereas 1.0 = 100%.

[ ] Setting the background color to black is not working
[ ] Setting proper paddings (2.0, 2.0, 2.0, 2.0) inside the widget is not working
[ ] Cannot set the initial width based on val when the widget is initialized: the parent or the widget bounds reported as 0 (it needs the maximum available width to calculate the initial width)
[ ] Add indeterminate mode: the indicator should roll from left to right and back between the borders when the val is out of range, eg.g <0.0 and >1.0 (how to move a widget ?)

The first two issues maybe can solved by writing a new renderer object, but that would produce duplicate code from the rectangle and text renderer objects.
Contributions are welcome :)

Can you post the code?
Regarding paddings and locations: I've used margin to set the location of my widgets, don't know if it's the right way, but using the position (or whatever it's called) seems to always be overridden by the layout.

yes, I'm committing the changes now, but I don't have time to create a PR.
I will do it when i got home from work tonight.
I tried padding and margin, none of them seems to work (rectangle render object doesnt render a padding as i red the code)

I created a new PR https://github.com/redox-os/orbtk/pull/195, you can view the code.

@kivimango at first thank you for your support 🙂.

Setting the background color to black is not working

There is a global background set on the main theme css file, it overrides all background definitions set on the widgets directly. There we need a better solution. But for now you can define background, border-brush, ... in the dark.css for the ProgressBar.

Setting proper paddings (2.0, 2.0, 2.0, 2.0) inside the widget is not working

At default widgets are using the default layout object, but if you want to define a padding you need to use the PaddingLayout object for the ProgressBar:
fn layout(&self) -> Box<dyn Layout> {
    Box::new(PaddingLayout::new())
}

Cannot set the initial width based on val when the widget is initialized: the parent or the widget bounds reported as 0 (it needs the maximum available width to calculate the initial width)

You need to do it in the update_post_layout of your state. I will also be called after the ui is created. You could check the slider widget code.

Add indeterminate mode: the indicator should roll from left to right and back between the borders when the val is out of range, eg.g <0.0 and >1.0 (how to move a widget ?)

That is complicated at the moment, because there is no animation system yet in OrbTk. But it is one of the next points. I would suggest to deliver the indeterminate mode as update after the animation system is ready. What do you think?

Thank you for your answer :)
I was able to set the background to black in the dark.css.I was able to work around the padding issue with setting the margin on the child, and a little hack without using the padding layout in the current state. However, I tried your suggestion, using the layout and padding, but it still doesn't work for me, maybe someone else will be luckier (the bar does not respect the right border).
I fixed the initial width calculation problem by rewriting the logic.
Yes, I agree, with the indeterminate mode can wait (maybe this could be hacked too by moving the child widget to the bounds, and back).

@kivimango I’ve tested your implementation and added the PaddingLayout to the ProgressBar widget. You have also to add a padding property of type Thickness to the ProgressBar.

@kivimango
 ProgressBar<BarState> {
        background: Brush,
        border_brush: Brush,
        border_radius: f64,
        border_width: Thickness,
        padding: Thickness,
        val: f64
    }
);

impl Template for ProgressBar {
    fn template(self, _: Entity, build_context: &mut BuildContext) -> Self {
        self.name("ProgressBar")
            .background("#000000")
            .border_brush("#BABABA")
            .border_radius(4.0)
            .border_width(1.0)
            .element("progress_bar")
            .padding((2.0, 4.0, 4.0, 2.0))
            .height(32.0)
            .child(
                Container::create()
                    .background("#EFD035")
                    .height(24.0)
                    .border_radius(1.0)
                    .width(0.0)
                    .build(build_context),
            )
            .val(0.0)
    }

    fn render_object(&self) -> Box<dyn RenderObject> {
        Box::new(RectangleRenderObject)
    }

   fn layout(&self) -> Box<dyn Layout> {
      Box::new(PaddingLayout::new())
   }
}

Done.


Why are distributions missing from some releases ?

When we choose to upgrade to a new release we use the hapi-fhir-cli to execute schema migration.
But the distributions are not always present in releases:
In https://github.com/hapifhir/hapi-fhir/releases/tag/v6.0.0 there is a hapi-fhir-6.0.0-cli.tar.bz2 (https://github.com/hapifhir/hapi-fhir/releases/download/v6.0.0/hapi-fhir-6.0.0-cli.tar.bz2)
But in https://github.com/hapifhir/hapi-fhir/releases/tag/v6.1.0 there are only source-code.
Our docker build just do:
RUN curl -L -O "https://github.com/jamesagnew/hapi-fhir/releases/download/v${FHIR_VERSION}/hapi-fhir-${FHIR_VERSION}-cli.tar.bz2"
When missing we must build the distribution locally which is inconvenient.

Heya, sorry about this, we are reworking our release automation and there are certainly some bumps in the road as we try to make this a completely touchless process. I'll go ahead and ensure that 6.1.0 has all releases added now. This should be resolved in the future but please let me know if you see any others.

Thanks


terraform how to enable aws-autologin-for-ecr

Hi,
I use terraform to install flux
data "flux_install" "main" {
  target_path    = var.target_path
  network_policy = false
  namespace   = var.flux_namespace
  components_extra = ["image-reflector-controller", "image-automation-controller"]
}

I use ImageRepository to pull my images from aws ecr, and I bind my aws pull ecr  roles to my k8s node to get images,
but  I get the error
{"level":"info","ts":"2022-02-18T10:35:29.508Z","logger":"controller.imagerepository","msg":"No image credentials secret referenced, and ECR authentication is not enabled. To enable, set the controller flag --aws-autologin-for-ecr","reconciler group":"image.toolkit.fluxcd.io","reconciler kind":"ImageRepository","name":"podinfo","namespace":"flux-system"}

I search document in terraform to enable   flag --aws-autologin-for-ecr but not find, so could you give a demo, thanks!

Hi,
Having same issue as yynmsl, would like to enable the flag

Hi here I had created a patch in a variable defined in a local block, then I used this local variable as my kustomize file content, like this exemple:
`local {
kustomize_patches = <<EOT
${data.flux_sync.main.kustomize_content}
patches:

target:
version: v1
group: apps
kind: Deployment
name: image-reflector-controller
namespace: flux-system
patch: |-

op: add
path: /spec/template/spec/containers/0/args/-
value: --aws-autologin-for-ecr
EOT
}

resource "github_repository_file" "kustomize" {
count = var.deploy_flux ? 1 : 0
repository          = data.github_repository.main.name
file                = data.flux_sync.main.kustomize_path
content             = local.kustomize_patches
branch              = var.branch
}`

Hello. But this is only generate kustomization.yaml file but not apply it to Kubernetes. Maybe someone know how to do this with auto apply to K8S without doing manual action like kubectl apply -k . from flux directory.
Thanks

We are already using the kubectl provider to apply the other manifests.
https://registry.terraform.io/providers/gavinbunney/kubectl/latest/docs

Hello @yynmsl   ,
I hope you're doing well! I'm the newest contributor to this repository, and I'm currently in the process of issue grooming to ensure that all concerns are addressed promptly and efficiently.
I noticed this issue you reported and wanted to check in with you to see if it's still affecting your work. Your feedback is invaluable to us, and any additional insights or updates you can share would be greatly appreciated to help us understand and solve the problem more effectively.
If this issue has been resolved, could you please share how it was fixed? This information could be incredibly helpful to others in the community facing similar problems. It would also allow us to close this issue with a clear resolution.
In case the issue is still open and troubling you, let's work together to find a solution. Your satisfaction and the smooth functioning of our project are our top priorities.
Thank you for your time and contributions to our community. Looking forward to your response!
Best regards,
Steve

Please note that only the flux_bootstrap_git resource is being maintained within the provider for the foreseeable future.

Hello, thanks for your answer. I have achived this using the config proposed in the fluxcd documentation which use a patch to set configs and iam roled

Hello, thanks for your answer. I have achived this using the config proposed in the fluxcd documentation which use a patch to set configs and iam roles

@tfrigini using the flux_bootstrap_git resource? Please note all other data sources and resources are to be deprecated in the next release in April.


Missing linux headers on debian dataproc instances after update

Error:
E: Unable to locate package linux-headers-5.10.0-24-cloud-amd64
Steps to reproduce:

Create a dataproc instance with Debian image (2.0 or 2.1)
Run apt-get update
Run apt-get install -y -q linux-headers-$(uname -r) which is install -y -q linux-headers-5.10.0-24-cloud-amd64

Note:
This error is not observed if linux-headers-5.10.0-24-cloud-amd64 is installed before running apt-get update

@jayadeep-jayaraman  can you take a look at this one?thx

I could reproduce same issue:

It seems that linux-headers-5.10.0-24-cloud-amd64 was removed from the apt repo. You might need to specify 5.10.0-24-cloud-amd64 explicitly as a workaround. Is this issue related to any init actions?

Yes, this is part of init actions for starting a debian instance with spark rapids plugin.
You might need to specify 5.10.0-24-cloud-amd64 explicitly as a workaround Can we fetch this dependency from some other source?
cc: @nvliyuan @viadea

@functicons  @jayadeep-jayaraman
Is this issue fixed already?
Will we have a permanent fix instead of a workaround?

Closing it as the linux-headers-5.10.0-24-cloud-amd64 linux headers are now available on Debian dataproc instances. This unblock setting up the spark rapids plugin using init script.


Get working on Windows

Document how to get it running on windows too.

@digitalninja status update?

@seveibar: Sorry.. I just saw the message on github. I'm stuck with the VM... It's refusing to serve up grunt as it can't seem to find the gruntfile. No idea why thats happening though even after firing the command from the directory which has the gruntfile.

So then this is just documenation right? I should just like upload a README for doing windows?

Unless someone get vagrant working, yes. Basically documentation on how to get up and running

@vkr96 Status on this?

I'm going to close this - the README.md currently assumes that Docker and NPM are installed on the user's system - at this point there is virtually no platform-specific configuration that needs to take place.


Updates for Assessment Result with some general refactoring

Hi, I have made several updates to the oscal-ruby library. I haven't made any changes to the existing files, so it should continue to work as before for existing code. I implemented the "Assessment Result" assembly, but I made some changes to the functionality of the library as part of this work.
First, I have implemented some new basic classes:
OscalDatatype - represents basic Oscal Datatypes. Subclasses String and provides a validation function against a Regex
Assembly - Represents a Metaschema "Assembly", and ensures conformance of the fields/flags to the specification
OscalArray - a class that represents an Array of Oscal Datatypes or Assemblies.
Hopefully the code is pretty self-explanatory, but I am a python guy who hasn't written ruby in several years, so it might not be idiomatic ruby. I am very happy to accept suggestions and recommendations on how to make this fit more with the ruby ecosystem.
I am using ruby 3.3.0 for this, but I'm not sure if I am using any features that will not work with Ruby 2.5.
This PR aligns the library more closely to Metaschema, but is still written by hand. I have some ideas for implementing metaschema in the library in a different branch, and I am working on a python-metaschema library that I would love to collaboration with your team on.

Woah, missed a big bug! I'm retracting this but I will be back soon!


Add moment to Twitter sample

Not sure this is possible as using moment id gives an error https://github.com/ampproject/amphtml/issues/16743


LDAP call results in status 500: invalid memory address or nil pointer dereference

Gitea version (or commit ref): 1.5.2
Git version: <IP_ADDRESS>
Operating system: CentOS 7
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Active Directory Authentication
Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x] No
[] Not relevant

Log gist:

gitea_crash.log
Description
Everything related to LDAP/Active Directory appears to cause crashes in the gitea server. This problem occured after a recent migration from sqlite3 to mariadb 10.2 and the upgrade from 1.5.1 -> 1.5.2.
From what I have tested, can be triggered by the following tasks:

Login of Active Directory Users
Editing the LDAP (via BindDN) authentication source.

Is your installation a fresh one or upgraded from an old one?

Oh sorry, forgot to add that: The installation has recently been migrated from sqlite3 to mariadb 10.2 and after that migration the update from 1.5.1 to 1.5.2 has been done.

Can you give anonymized ldap settings you are using?

Got the settings strait from the database:
| id | type | name                 | is_actived | is_sync_enabled | cfg                                                                                | created_unix | updated_unix |
+----+------+----------------------+------------+-----------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------+--------------+
|  3 |    2 | SWW Active Directory |          1 |               0 | {"Name":"SWW Active Directory","Host":"nori.erk•••.de","Port":636,"SecurityProtocol":1,"SkipVerify":false,"BindDN":"gitea@erk••••.de","BindPassword":"••••••••","UserBase":"DC=erk•••••,dc=de","UserDN":"","AttributeUsername":"cn","AttributeName":"givenName","AttributeSurname":"sn","AttributeMail":"userPrincipalName","AttributesInBind":false,"Filter":"(u0026(objectClass=user)(sAMAccountName=%s))","AdminFilter":"(u0026(sAMAccountName=tvannahl))","Enabled":true} |<PHONE_NUMBER> |<PHONE_NUMBER> |

I am a little worried about those u0026 within the filters. But changing them to & did help either - this looks now a lot like #4888 only with runtime error as a bonus.

Yes, closing as duplicate of #4888


Use new-style autograd function with static forwarding method

Hi guys, I'm trying this code on torch==1.6.0 but when I'm running live.py I get this:
RuntimeError: Legacy autograd function with non-static forward method is deprecated. Please use new-style autograd function with static forward method. (Example: https://pytorch.org/docs/stable/autograd.html#torch.autograd.Function)
Of course this doesn't happen if I'm using torch==1.2.0 or below.
If you have time I suggest to use static methods for autograd forwarding as the non static is deprecated.

@vladoski Hi dude, I have fixed what you said, but i don't know how to show it....

@ayukat1016 PyTorch1.5.0 support new-style autograd function
Try 👆 in #444
It works well with Pytorch1.7.0

In the case of my colleague, this error was circumvented by changing
self.detect = Detect(num_classes, 0, 200, 0.01, 0.45)

to
self.detect = Detect(num_classes, 0, 200, 0.01, 0.45).forward

(i.e., just attaching .foward)
in ssd.py.
https://github.com/amdegroot/ssd.pytorch/blob/master/ssd.py#L48


timeout raises a 503, should it not be a 504 or 408?

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408

The other issue here is that even if its a ENOUTFOUND, ie fetchrequest to http://112233.com failed, reason: getaddrinfo ENOTFOUND ..., the promise is not rejected but waits till timeout seconds for an example POST request.

I am on "version": "1.7.1"

@cggaurav you want to use v2. also network timeout will be rejected, not resolved, if you get a resolved result, it's not a timeout. https://github.com/bitinn/node-fetch/blob/44c67b11a36f83d2c9e0cf1671043f2a87c058f9/test/test.js#L638-L647


OPNsense 24.7.6 Breaks WireGuard Split Tunnel Client

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
I have a highly odd issue with a Wireguard peer (client) connection from Opnsense to a remote site that has a WireGuard server. I have had this connection running fine for months, but suddenly yesterday it decided to stop connecting and shows "Peer disconnected" in the status page.
The only thing I can think of is that I rebooted it yesterday and possibly an update was applied as I do have automatic updates enabled. Other than that, no configuration changes, the VPN Server works fine with other devices. Any ideas? I have tried tweaking and reverting settings, performing all additional updates (currently on OPNsense 24.7.6), rebooted several times, no dice. Everything else seems to be working OK. Considering I have made zero Wireguard configuration changes, I believe there may be some sort of bug.
To Reproduce
Steps to reproduce the behavior:

Upgrade to OPNsense 24.7.6
WireGuard split tunnel is no longer functional.

Expected behavior
Wireguard split tunnels should connect without issue and not show a "peer disconnected" error.
Describe alternatives you considered
Restore a snapshot / backup to OPNsense 24.7.4_1. Solves issue immediately.
Relevant log files
/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: ROUTING: not a valid opt2 interface gateway address: 'missing'

/usr/local/opnsense/scripts/Wireguard/wg-service-control.php: The command '/sbin/route add -'inet' '<IP_ADDRESS>' -interface 'wg1'' returned exit code '1', the output was 'add host <IP_ADDRESS>: gateway wg1 fib 0: route already in table'

Additional context
No configuration changes were made before performing update. Split tunnel from OPNsense router to remote site with WireGuard server. Same client configuration is working on a Windows endpoint. All other OPNsense operations are OK with the exception of WireGuard tunnel.
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 24.7.6 (amd64).
Intel i5-7200u
Proxmox VM (VirtIO)

Update to this: this may have been an isolated incident as I ran the update again and this time I did not have any WireGuard issues. Very unusual, but problem is solved.

Update to this: this may have been an isolated incident as I ran the update again and this time I did not have any WireGuard issues. Very unusual, but problem is solved.


1.19.1 Crash When Receiving Any Chat Messages

Hello, I made a github account just so I could report this bug.
Since the minecraft update to 1.19.1 yesterday I will crash consistently if any message is received in the chat, whether typed by another user, from the System Admin, or just notifications of players logging on or off. I have tested this by removing all mods (all two of them; Jade, Xaeros Minimap) other than Controllable, and then tried removing even Controllable. Crash doesn't happen with just using Forge without any mods, also doesn't happen with Jade, Xaeros has its' own crash happening also related to text in the chat window.
The error the game gives me when it crashes to launcher is:
The game crashed whilst unexpected error
Error: java.lang.ClassCastException: class net.minecraft.client.GuiMessage$Line cannot be cast to class net.minecraft.client.GuiMessage (net.minecraft.client.GuiMessage$Line and net.minecraft.client.GuiMessage are in module<EMAIL_ADDRESS>of loader 'TRANSFORMER' @70d63e05)
Exit Code: -1
I have attached the crash debug text file, in hopes it'll help you track down the issue. Thank you!
crash-2022-07-28_20.14.37-client.txt

I am also crashing in 1.19.1, except it happens as soon as I push a button on the controller inside a multiplayer game, while connected to my friend's private server. This crash does not occur in singleplayer for some reason.
crash-2022-07-28_20.58.08-client.txt

Avoid 1.19.1 until I release a patch. THe 1.19 is not compatible.


Fix for XD-3171 (Composed modules not working on YARN)

https://jira.spring.io/browse/XD-3171
I have signed and agree to the terms of the SpringSource Individual Contributor License Agreement.

@clemper thanks for the PR. Could you look at #1713 and incorporate some of the changes (especially removal of serialization property at SimpleModuleDefinition, javadoc etc.,) . We would be happy to review and merge.

@ilayaperumalg I incorporated the changes from PR 1713 and the suggestion to throw a NoSuchModuleException

LGTM, merging.

Addressed the javadoc, code style issues and added descriptive commit message. Squashed, rebased and merged as d8c5c6e97415c1738b9143f00c0d0ea4a9fdcf66. Thanks again @clemper for the contribution! :-)

LGTM too, tested on my local YARN setup


Project logotype

I've designed and created a project logotype.
I would appreciate adding me under the credit section of this project.

Thank you very much, we will add you to the credits page :)


Disable Loot Destinations when Loot Threshold set higher than that color

So like, if the threshold is Green, show Gray and White as disabled Loot Destinations

Should be good with next commit


Add operation events

Those are useful for API consumers, so that they don't have to manually check every now and then about whether an operation is completed.

Going to publish a new release soon.


[BEAM-10273] Fix sql_test failure in python 2

Using str for schemas only works in python 3, for compatibility with both py 2 and 3 we need to use future.builtins.unicode.

Run XVR Flink PostCommit

Run XVR_Flink PostCommit

R: @ihji


OverlappingFieldsCanBeMerged throws an error when querying same field w/ and w/o attributes for different union types

This is a well-known/discussed issue within the GraphQL community and much discussed here: https://github.com/graphql/graphql-js/issues/53
If querying the same field for different union types has the same name but different Type definitions, this should be possible without an alias. But it seems we are currently restricting that within the graphql-php implementation.

We mostly do what graphql-js does. Can you find a test case for this in https://github.com/graphql/graphql-js/blob/main/src/validation/tests/OverlappingFieldsCanBeMergedRule-test.ts or https://github.com/webonyx/graphql-php/blob/master/tests/Validator/OverlappingFieldsCanBeMergedTest.php?


Pylance doesn't trigger if file created by command code

Issue Type: Bug
If I create a new file using command code, Pylance doesn't start checking for issues. I have to restart VSCode window to make it work.
If I create a new file using command touch then open it with code, Pylance works as expected.
VS Code version: Code 1.63.2 (Universal) (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:37:28.172Z)
OS version: Darwin arm64 21.2.0
Restricted Mode: No

System Info

Item
Value

CPUs
Apple M1 (8 x 24)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
8.00GB (0.21GB free)

Process Argv
. --crash-reporter-id 329fcf0c-6e96-4f0d-92c4-e2d1ecd72ce4

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

go
gol
0.30.0

python
ms-
2021.12.1559732655

vscode-pylance
ms-
2021.12.2

jupyter
ms-
2021.11.1001550889

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30414010
pythonvs932:30410667
vscop804cf:30404767
vscop940:30404999
vsrem710cf:30416617
vscexrecpromp3t3:30407764

Is this specifically for a .ipynb file, or just a .py file?
Is VScode already running when you open the file?
Are you able to run the file while pylance isn't checking issues?

Is this specifically for a .ipynb file, or just a .py file?

Just a .py file.

Is VScode already running when you open the file?

Yes. I used VSCode's integrated terminal to create the file.

Are you able to run the file while pylance isn't checking issues?

Yes I can.


Global identifier for the job monitoring

Impact of the new feature
WMArchive
Is your feature request related to a problem? Please describe.
It is impossible to match Jobs between the htcondor job monitoring and WMArchive monitoring. @RHofsaess found a way to match the jobs on the EOSLogURL, but it only works for the failed jobs.
Describe the solution you'd like
It would be nice to have a global identifier that would be available in the WMArchive and could also be propagated to htcondor monitoring.
Describe alternatives you've considered
EOSLogURL could be created for all jobs (not only the failed ones), however, this would require some string concats on the htcondor monitoring side that seem to be prone to breaking. See picture from the presentation of @RHofsaess (link to the full presentation):

FYI @leggerf

This is exactly why I was proposing usage of Data Tracers in recent USCMS monitoring talk. If we introduce traces into WM workflows we can easily correlate different sources.

Hi all,
@vkuznet: This sounds good! however, probably more of a long term solution. Or is there already some sort of time line?
Just to clarify: but it only works for the failed jobs.
It also works for successful jobs, if I construct the EOSLogURL for both indices, as described on my slide.
I am currently doing the matching myself and push it to a self-hosted Opensearch 😅
@nikodemas Concerning the string concat: I dont think it is too critical. We could also think of adding a scripted field that just concats the parts non persistent.
This should be the least intruding short-term solution.
For condor_raw, it could look smth like:
if (doc.containsKey('data.Args') && doc['data.Args'].size() > 2) {
    String subTaskName = doc['data.WMAgent_SubTaskName'].value;
    String scheddName = doc['data.ScheddName'].value;
    String args = doc['data.Args'].value;

    String[] argsParts = args.split(" ");
    if (argsParts.length >= 3) {
        String arg1 = argsParts[1];  // Second argument
        String arg2 = argsParts[2];  // Third argument
        return subTaskName + "/" + scheddName + "-" + arg1 + "-" + arg2 + "-log.tar.gz";
     } else {
         return null;
     }
} else {
    return null;
}

I am not 100% sure, if the array accessing works like this, couldn't test it, as I do not have the permissions.
So please see it more as an idea than a proper implementation😅
Cheers,
Robin

@RHofsaess , I made a proposal to WM group about data traces, will it take into consideration is up to priority and stakeholds push. If you feel it is desired feature feel free to reach our WM L2's and express your desire to be included into WM plan for upcoming quarter(s).

@nikodemas the actual order of monitoring information is:

first htcondor data gets published (as the job is pending, running and completed)
then one of the components of the agent will parse the job information and log/framework report, and upload it to WMArchive.

Are you requesting to have these document ids (or A job id) common between these 2 monitoring systems?
Can you please remind us again what is the global id defined in condor-based job information?

Are you requesting to have these document ids (or A job id) common between these 2 monitoring systems?

yes, it would be nice to have it to be able to match data from the two different data sources.
Currently we have a classad called GlobalJobId for the global id - see HTCondor docs and some example docs on the OpenSearch.

Ok, then we would have to persist this GlobalJobId into the WMAgent job report file (pickle or xml, I don't remember which one right now).
And in ArchiveDataReporter, when we construct documents to upload to WMArchive, we need to also add this GlobalJobId to the document.
@nikodemas do you know when this GlobalJobId gets populated in condor? Is it as soon as a job is pending? Is it defined in the spider script post job execution?

@amaltaro I am not sure when, but it is available for all of the statuses such as Held and Idle, and spider script doesn't fill or modify this value at all and it is simply just taken as it is received from htcondor.


Can Not Generate "Initial Code"

Hello, I'm having a hard time with the installation.  I have an AVS account set up on Amazon, but I can't seem to figure out how to generate the Initial Code for my config.js.  I have tried this link
https://sakirtemel.github.io/MMM-alexa/
but when I use the information provided by Amazon and click "Request Code" it takes me to an Amazon page where I receive the following error:
"We're sorry!
An error occurred when we tried to process your request. Rest assured, we're already working on the problem and expect to resolve it shortly."
Any help will be appreciated!

It was my fault!  Did not properly define my whitelist on Amazon AVS.

This happened to me too. What do you mean, "did not properly define my whitelist?"

I'm actually running the AlexaPi build, so I don't know if this will exactly solve your problem.  But I got a similar error making the same mistake with both programs.
In your AVS Control Panel, go to your device and check out the Security Profile.  Click on the second tab over, Web Settings.  In order to validate I had to add the local address of my PI device - 192.168.0.xxx (your # will vary) to the "Allowed Origins."  I also had to add 192.168.0.xxx/code to "Allowed Return URLs."  Then when you proceed to the Authentication make sure you run the code generator from the desktop of the PI itself, rather than another system.
I actually had to include port 5050 in my Allowed Origin/URL so it looks like <IP_ADDRESS>:5050 and <IP_ADDRESS>:5050/code respectively.  But again - I used the AlexaPi installer to get my system working so I don't know exactly the configuration that will make this activator work.


added likert styling to dospoert eb

Added styling. This moves the labels underneath each radio button and keeps that fixed distance apart. Because distance is important, I fixed the width of the survey. This works as long as the window is larger than the survey's width (otherwise is gets squished, as you can see below).
Looking good

Not so good

Could you please center the content on the newly widened page?

I'm not sure what the association for "looking good" and "not so good" is.

"Not so good" just related to the fact that the narrower image doesn't narrow very nicely. I don't know what a better alternative is, but it looks a bit weird. no problem if they don't narrow their web page.
I can certainly center the content, but content has never been centered so I just stayed consistent. See below:

For the above image it's not an issue because the question text is in line with the radio text, and it looks clean. For the version you shared, this visual unity is broken, and so the style needs to be further adjusted so it doesn't look as "off" as it does now. Make sense?

Yep.

It should just be a matter of making the text div have equal left margin to the question text div. Looking forward to seeing it! :)

new view. A little difficult for me to figure out how to move the labels over without moving the text on non-radio pages (like the initial instruction pages). Ended up using the margin-left property

Styling can be applied to other likert like surveys by changing the width of the overall survey. Centering in other ways is proving difficult due to the lack of likert specific div. This works fine though

Using a list or divs for each likerty scale we could add that little line (which may or may not be helpful - may just clutter the page.

It could look like this. Right now the button background isn't "white", it's transparent. But if I fix that this looks good.

@IanEisenberg  the last picture, and second to last picture, beautiful! Which one is reflected in this PR? I think for Likert, the last one is the best - it communicates that the scale is connected. Since the width may be custom depending on the Likert, let's go with the last one, and add the appropriate style.css for each survey you add to. I see you edited two versions of the dospert - send me a quick screen shot of the final one for each reflected in the PR, and then I'll go ahead and merge. Beautiful work!

@vsoch, the second to last picture (no lines) is currently in this PR). The lines go through the radio buttons (they are transparent) and I'm not sure if I can make the radio button's backgrounds white instead of transparent. I have an idea, and if it works out I'll add to this PR, otherwise I'll update the rest of the surveys and we can merge.

Can you add to the PR so I can take a look? I think if we are going "likert," we should "go all the way." :)

Sure. I'll add in a few minutes

Updated. I'm having trouble getting the line on the first three elements. The nth-child indexing is not working as I'd expect for this form.

Didn't you have it before? What happened?

Before it looked like below, where the line just runs through all the radio buttons. The current PR adds a small line after each button to the next. This is how it looked before:

ah I see - I'm working on games right now but will take a look in a bit.

Can you show the styling (copy paste here is fine) you were using for the last picture?

See https://github.com/IanEisenberg/expfactory-surveys/pull/1

Our solution works for surveys with one kind of question, but fails for surveys like this.
I'm going to deal with such surveys by being very pedantic about the styling (for each individual  basically)

That is my intuition for now as well - add a custom style.css to get it perfect for each likert, and we can address a "one size fits all" solution in the future.

Updated all surveys and tested. Ready to merge.

ok, let me give a quick look.

So beautiful! Just a few tweaks:
brief_self_control_survey
the survey needs to be widened and centered, like bis_bas, etc.
dospert_* surveys
the alignment is first on the left:

and then it jumps to the right:

This is also true for erq_survey, please center for all.
five_facet_mindfullness
Add a bit more left padding, eg here is 25px:

grit_scale_survey
Please widen and center, like (same issue as brief_self_control_survey)
mindful_attention_awareness_survey
spacing inside white page looks great! Please move the entire box slightly more to the left so it is centered:

self_regulation_survey
also just needs to move a smidge to the left (maybe 5px?) so it is centered:

ten_item_personality
also needs more like 25px for the left margin:

theories_of_willpower
same issue as above for left margin, and the margins within the white page are slightly off center (left is a little too big)

time_perspective_survey
white page area needs to move to the left maybe 5-10px to make centered:

That's it! We're almost there! This is a huge improvement for the Likert!

reviewing now.

brief_self_control looks good!
erq_survey
I didn't see any changes - this is my fault for mentioning it under the dospert_* section and not giving it a bold name. It has the same issue with changing width as the dospert_* surveys did.
dospert_rp_survey
still jumps to the left, here is the first page:

and the survey:

dospert_rt_survey

and then:

dospert_eb looks great.
five_facet_mindfullness
first here

then jumps left and down

grit_scale, mindful_attention_awareness, self_regulation_survey, theories_of_willpower, time_perspective_survey, perfecto!

Thanks for the review. I'll get to those soon
On Saturday, April 16, 2016, Vanessa Sochat<EMAIL_ADDRESS>wrote:

brief_self_control looks good!
erq_survey
I didn't see any changes - this is my fault for mentioning it under the
dospert_* section and not giving it a bold name. It has the same issue with
changing width as the dospert_* surveys did.
dospert_rp_survey
still jumps to the left, here is the first page:
[image: image]
https://cloud.githubusercontent.com/assets/814322/14582461/7eb9372c-03ba-11e6-8a10-1076b9a25b42.png
and the survey:
[image: image]
https://cloud.githubusercontent.com/assets/814322/14582468/947160ee-03ba-11e6-8be8-7085bb815e39.png
dospert_rt_survey
[image: image]
https://cloud.githubusercontent.com/assets/814322/14582480/de60bd12-03ba-11e6-8451-6f43bd7d06d7.png
and then:
[image: image]
https://cloud.githubusercontent.com/assets/814322/14582482/faf0271a-03ba-11e6-9a27-e1ea6baf8090.png
dospert_eb looks great.
five_facet_mindfullness
first here
[image: image]
https://cloud.githubusercontent.com/assets/814322/14582494/52aba5ce-03bb-11e6-9fbe-8ffe54d31c93.png
then jumps left and down
[image: image]
https://cloud.githubusercontent.com/assets/814322/14582497/630d5a8e-03bb-11e6-8853-04a5bbd16330.png
grit_scale, mindful_attention_awareness, self_regulation_survey,
theories_of_willpower, time_perspective_survey, perfecto!
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/expfactory/expfactory-surveys/pull/47#issuecomment-210860960

--
Best,
Ian

great!

These issues relate to my limited understanding of mdl. There is this mdl-cell object which seems to be responsible for centering content. It's what I've been changing to center the content. It is set to a particular width (see below) and will shrink done to nothing when the page becomes too narrow. I don't know why it is changing its behavior based on the page you are on (all pages should be identical, right?). When full screen I don't get these issues - do you for a full screen window?
This is the syntax I am using:
.mdl-cell--2-col, .mdl-cell--2-col-desktop.mdl-cell--2-col-desktop {
width: calc(9.5% - 16px)
}

You don't want to change the style of the mdl cell type, you likely want to change the class entirely. Here are the docs.

Hey @vsoch, I'm having trouble figuring out what to do here and could use some help! I'm not recreating the "switching" from page to page - I'm only getting the jumping when I reduce the size of the window, but it affects all pages equally. I'm also not sure how to edit the mdl-cell class itself, as any change seems to be overwritten by higher-level (lower-level?) styling classes.

To force editing the class, just add the !important tag to the css, eg:
  .stylename {
         color: red !important;
   }

Thanks. I'll try that.
On Fri, Apr 22, 2016 at 2:20 PM, Vanessa Sochat<EMAIL_ADDRESS>wrote:

To force editing the class, just add the !important tag to the css, eg:
.stylename {
color: red !important;
}
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/expfactory/expfactory-surveys/pull/47#issuecomment-213592365

--
Best,
Ian

Finally had time to come back to these. I am not recreating the jumping error between pages. When the page becomes too small it jumps a bit to the side, but that happens even with default mdl styling.
Also, you mentioned that dospert_eb looks good but dospert_rp  doesn't (it has the jumping problem), but their style.css is the same.
@rwblair, I'll come by this week and see if you can recreate these errors (if you have time). I could use some help with these little final things! Really want to get these surveys up.

I think my meeting with @rwblair lead to a solution! We have removed the mdl-cell that disappears at particular screen widths and used a much simpler centering procedure. Centering is better now and there should be no jump.

Excellent job @IanEisenberg and @rwblair, these are flawless.


"the Portainer instance timed out for security purposes, to re-enable your Portainer instance"

Bug description
While accessing a fresh installation over HTTPS this error appears, however I am not receiving this error while accessing HTTP. ON the same docker host this issue was not happening the day before.
Expected behavior
Should work on HTTPS and HTTP on a fresh installation.
Portainer Logs / DISCOVERY
Logs files and a few notes:
Two major things to note here is the time is incorrect (possibly timezone) in the log messages. The time and date is displaying properly on the docker host. The initialization is properly deciding to generate self-signed ssl certificates and to start the https server.

2023/02/07 07:18PM INF github.com/portainer/portainer/api/internal/ssl/ssl.go:80 > no cert files found, generating self signed SSL certificates |
2023/02/07 19:18:22 server: Reverse tunnelling enabled
2023/02/07 19:18:22 server: Fingerprint 21:4b:2c:6b:bd:29:7e:50:28:85:51:2d:de:07:fb:55

2023/02/07 19:18:22 server: Listening on <IP_ADDRESS>:8000...
2023/02/07 07:18PM INF github.com/portainer/portainer/api/cmd/portainer/main.go:810 > starting Portainer | build_number=27403 go_version=1.19.4 image_tag=linux-amd64-2.17.0 nodejs_version=18.14.0 version=2.17.0 webpack_version=5.68.0 yarn_version=1.22.19
2023/02/07 07:18PM INF github.com/portainer/portainer/api/http/server.go:342 > starting HTTPS server | bind_address=:9443
2023/02/07 07:18PM INF github.com/portainer/portainer/api/http/server.go:327 > starting HTTP server | bind_address=:9000

Technical details:
I'm running docker ROOTLESS, however still should not be a concern

Portainer version: latest (25f956834426)
Docker version (managed by Portainer):  Docker version 23.0.0, build e92dd87
Platform (windows/linux): Ubuntu 22.04
Command used to start Portainer (docker run -p 9443:9443 portainer/portainer):

-docker run -d
-p 8001:8000
-p 9000:9000
--name=portainer
--restart unless-stopped
-v /$XDG_RUNTIME_DIR/docker.sock:/var/run/docker.sock
-v portainer_data:/data portainer/portainer-ce

Browser: All (FF, Chrome, Edge)
Use Case (delete as appropriate): Using portainer in a virtualize docker host (Virtualbox --> Ubuntu --> Docker ROOTLESS)
Have you reviewed our technical documentation and knowledge base? Yes

@C922A10971734
The following error message in logs:
the Portainer instance timed out for security purposes, to re-enable your Portainer instance, you will need to restart Portainer

If a new install of Portainer is not configured within 5 minutes, it shuts down internally for security. Restart the container and try again.
Thanks!

@C922A10971734
Can you post your logging snippets and screenshots with the error message?
Thanks!

Also, following up, the HTTP port allows me to access the web interface while at the same time the HTTPS port displays this error

I also encounter such problems. How did you solve them？

I had also the same error message. Just type and execute a "sudo docker restart portainer" command, and the new installation will begin. To be complete, the error message tell us that portainer encounts an error and wait for a restart.

I am also getting this error when installing portainer via Helm & Ingress as per Official Documentation

Here is what I am seeing in my Docker log:
2023/05/11 01:45AM INF github.com/portainer/portainer/api/cmd/portainer/main.go:530 > encryption key file not present | filename=portainer
2023/05/11 01:45AM INF github.com/portainer/portainer/api/cmd/portainer/main.go:549 > proceeding without encryption key |
2023/05/11 01:45AM INF github.com/portainer/portainer/api/database/boltdb/db.go:124 > loading PortainerDB | filename=portainer.db
2023/05/11 01:45:53 server: Reverse tunnelling enabled
2023/05/11 01:45:53 server: Fingerprint c8:e1:ac:c7:05:fa:60:2f:ca:98:a5:13:fb:98:37:df
2023/05/11 01:45:53 server: Listening on <IP_ADDRESS>:8000...
2023/05/11 01:45AM INF github.com/portainer/portainer/api/cmd/portainer/main.go:789 > starting Portainer | build_number=25294 go_version=1.19.3 image_tag=linux-arm64-2.16.2 nodejs_version=18.12.1 version=2.16.2 webpack_version=5.68.0 yarn_version=1.22.19
2023/05/11 01:45AM INF github.com/portainer/portainer/api/http/server.go:337 > starting HTTPS server | bind_address=:9443
2023/05/11 01:45AM INF github.com/portainer/portainer/api/http/server.go:322 > starting HTTP server | bind_address=:9000
2023/05/11 01:50AM INF github.com/portainer/portainer/api/adminmonitor/admin_monitor.go:61 > the Portainer instance timed out for security purposes, to re-enable your Portainer instance, you will need to restart Portainer |

When I try to start/stop portainer the output is
permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/portainer/stop": dial unix /var/run/docker.sock: connect: permission denied


Arxiv UMAP paper algorithm 2 typo?

Should the function return fs-set_1?

It took me a while. But I figured that fs-set0 is the fuzzy set of 0 simplices and fs-set1 is 1 simplices :)


Option to add anchor links to all header elements

Thanks for the awesome theme.
I propose a new feature that is about adding an optional param enable_anchor_link.
If enable_anchor_link is true, anchor links are appended in all h1 ~ h4 elements in content as below.
What do you think about this feature? Isn't it good?

The feature is implemented in reference to official gohugo.io theme:
https://github.com/gohugoio/gohugoioTheme/blob/master/assets/js/anchorforid.js

This is great!


Correct missing brace in IPv6 documentation.

The example for multicast in the ipv6 package is missing an opening brace and anyone copying-and-pasting the example will not be able to run it as-is.

We don't use pull requests. Please see https://golang.org/doc/contribute.html.


Song->multiple albums?

Hi can you help me through the following in figuring out a solution.
I have been looking to find a solution to add a single entry of song to multiple albums? I have looked through various details, like within the issues, there's conpilations. So basically, this might do that?
Looking into the database, i cant really say if it does how i would like it to work. Apparently, a single song could belong to multiple albums, so it's a one to many relation, yet i dont really that as an option.
Can anyone pls suggest if this is currently possible or would i need to go into the details and customize it for myself?
The way i see it, if the song path is duplicated and a new entity is made for each song that has to belong to another album, only a new id would need to be alloted but this doesn't really look like a good option.
The way this is currently established, i think this would be the fastest way around. Any suggestions on how i can do this? Put a single song in multiple albums?

With this version of the repository, you can't do it directly (or it'll be complex).
Typically, here's the closest to what you want:

You must organize your music libraries in folders with folders as album
You should have a symbolic link for the song you want to share between albums (so there's only one song stored on your drive, but as many links as you want songs in the end)
In each album (hence folder) where you have such "dual head" songs, you must create a .virtual-album file (the file could be empty, Kutr just check for its presence). Then, the album tag will be replaced by the folder name.

Currently, you can't have the same song under different artist.

thanks for your awesome reply, seems like i'd make this happen this way!
again, i've another question, would i be requiring another table to publicize a playlist? let's say i want to create a favorites that are my favorites but are shared to all, publicly? or rather, if i need a curated-playlist (multiple) and want it be linked to a submenu? i'd like to know what your approach would be to this. I'm quite new to vue and this being the first project, its quite messing up my head.
would love your suggestions on making 'curated playlists' or to define it easier, 'a playlist that can be seen by all users' again, should i need to prepare a separate table for this or should i simply look forward into ways i'd make any playlist sharable, say with a boolean set on playlist table?

Well, sorry, this can not work. You can't download songs without a valid authentication token. So you can't make a song "public" with Kutr. Probably better to use another software for this.


Note in docs to add allauth urls if account email verification is man…

…datory
Update docs to add account_email_verification_sent endpoint while using registration.
Without this endpoint, if email verification is set to MANDATORY , it gives error
Reverse for 'account_email_verification_sent' not found. 'account_email_verification_sent' is not a valid view function or pattern name.

This is a copy PR of #577 in in upstream project.

Module name changed.


User is not automatically logged in after a successful signup

Bug Report
What is the current behavior?
When a user successfully signs up, they are not automatically logged in. In order to access their profile, they have to then log which is a UX issue.
What is the expected behavior?
Users should be automatically logged in after a successful signup
What steps did you take to get this behavior?
Tested the signup flow on Chrome and Firefox. Further testing was done by @Hiren-Mehta and the effect was reproduced.

@Cooperbuilt it seems like we have to get the session id from the backend so we can store it in the cookie

@tal87 any chance I can get you inside of our Slack team? If you're going to be a routine contributor, we want to hear more from you 👍

sounds good.
what do I have to do?

Just register at operationcode.org and you'll get an invite via email.

Fixed in #406


design signing key management view

Is this a dupe of #1300?

Oops. It is indeed. I'll close this one.


chore: clean-up naming

Coverage remained the same at 100.0% when pulling 955bcfb136d8771250a135263b8f4706ffd6144c on clean-up-naming into a7acd3b38ae17a468d622eaf68bf91404d98c7a1 on main.

:tada: This PR is included in version 2.0.4 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Generate cert

Generate the test certificate instead of relying on the checked in files (MSTest.*).
TL;DR changes include:

DevCheck creates .user directory (think of it like temp as a local dir for per-developer artifacts that aren't temporary)
DevCheck creates a password protected test certificate
MakeMSIX.targets to run MakeAppx.exe and SignTool.exe
Change projects creating *.MSIX to use MakeMSIX.targets (obsoleting the previous NMake- and .cmd-based logic)

MakeCert.exe is deprecated. Recommendation points to Powershell cmdlets, but those can't create a .pfx w/o a password. Doing the right thing requires a password hanging around so later we can "signtool.exe ...foo.pfx /p password blah.msix", and thus is born .user/winappsdk.certificate.test.*

.cer = Certificate. DevCheck adds to your certificate store
.pfx = Private key used to sign test .msix
.pwd = Password used to create and unlock the .pfx
.thumbprint = Certificate thumbprint

While easy enough to update existing .cmd to use an environment variable with the content of a file e.g.
for /F "delims=" %i in (winappsdk.certificate.test.pwd) do set content=!content!%i

NMake makefiles can't accomplish the same :-( So I bit the bullet and created an MSBuild replacement. MakeMSIX.targets provides the common logic, and the various test package projects were updated to use it.

I don't recommend you use PFX files on disk at all. Instead, the certificate(s) would ideally be loaded into Azure HSM (either by yourself or by Azure Code Signing team) and you use an appropriate cloud-enabled code signing tool.
Today, for example, I sign our app's binaries with Azure HSM + azuresigntool.

I don't recommend you use PFX files on disk at all. Instead, the key material should ideally be loaded into Azure Key Vault (either by yourself or automatically by the Azure Code Signing team) and tapped into via an appropriate cloud-enabled code signing tool.
Today, for example, I sign our app's binaries with Azure Key Vault + azuresigntool.

This is for inner loop for test packages.
Requiring AzureKeyVault for this would negatively impact dev inner loop. Plus I'm not sure we could enable AzureKeyVault to grant "everyone" access to this; we do desire enabling non-Microsofties to build all of WinAppSDK (build WindowsAppRuntime.sln and run its tests, among other things). We're working to address that (thank you for your patience :-)
Build pipelines (e.g. creating release .msix) do use AzureKeyVault (among other things).

@BenJKuhn @Scottj1s @aeloros @huichen123 @sachintaMSFT do we really need 5 different Win10 SDKs to build WinAppSDK? See below.
After resyncing with latest main I see there's a new RestartAgent project but it fails to build for me because
32>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: The Windows SDK version 10.0.20348.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution".

That's due to dev\RestartAgent\RestartAgent.vcxproj
    <WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.20348.0</WindowsTargetPlatformVersion>

This gives RestartAgent access to APIs to up thru recent Windows releases but it requires that SDK be installed to build WinAppSDK, which hasn't been required of developers to date.
@aeloros Is that intentional or accidental?
Grep for WindowsTargetPlatformVersion across all *proj in the repo and everyone's got
    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>

except....

10.0.20348.0 in dev\RestartAgent\RestartAgent.vcxproj -- @aeloros is that intentional?
10.0.18362.0 in dev\MRTCore\mrt\Microsoft.Windows.ApplicationModel.Resources\src\Microsoft.Windows.ApplicationModel.Resources.vcxproj -- @huichen123 is that intentional?
10.0.19041.0 in installer\dev\WindowsAppRuntimeInstall.vcxproj -- @sachintaMSFT is that intentional?

Most projects don't specify <WindowsTargetPlatformMinVersion>. The few that do have 10.0.17763.0 in...

installer\dev\WindowsAppRuntimeInstall.vcxproj
test\DynamicDependency\data\Framework.Math.Add\Framework.Math.Add.vcxproj
test\DynamicDependency\data\Framework.Math.Multiply\Framework.Math.Multiply.vcxproj
test\DynamicDependency\data\Framework.Widgets\Framework.Widgets.vcxproj

and 10.0.17134.0 in

MRTCore\mrt\Microsoft.Windows.ApplicationModel.Resources\src\Microsoft.Windows.ApplicationModel.Resources.vcxproj
dev\RestartAgent\RestartAgent.vcxproj

Thanks to the handy dandy decoder ring...

17134 = RS4
17763 = RS5
18362 = 19H1
19041 = 20H1
20348 = recent Win11 build (22000 = 21H1 Win11)

I've updated my local config to get around this for now. But I'm wondering if we really do need all 5 SDKs (RS4+). We need at least 2 which used to be min=17763, max=18362. Can there be 1 max and if so, should it be 20348?

But I'm wondering if we really do need all 5 SDKs (RS4+). We need at least 2 which used to be min=17763, max=18362. Can there be 1 max and if so, should it be 20348?

I would target the lowest versioned SDK that was released in conjunction with the minimum supported OS. (In other words, SDK=17763, OS=17763.) There is no guarantee that SDKs released after an OS release are compatible down-level.

But I'm wondering if we really do need all 5 SDKs (RS4+). We need at least 2 which used to be min=17763, max=18362. Can there be 1 max and if so, should it be 20348?

I would target the lowest versioned SDK that was released in conjunction with the minimum supported OS. (In other words, SDK=17763, OS=17763.) There is no guarantee that SDKs released after an OS release are compatible down-level, nor is there typically a compelling reason to upgrade that SDK.

One reason is if you need to compile light-up functionality. You need the newer SDK for the newer headers/libs/winmd/etc to build, even though you implement to only conditionally use the functionality if available. We support RS5-to-latest so SDK=OS=17763=RS5 as the minimum sounds good (couple of violators pointing to RS4 should be updated?). What's unclear is (1) if we should always set the ceiling or only those projects that need it, and (2) when we set a ceiling why not always set it to the same value (e.g. 20348)?

/azp run

accidental
Sent from Outlookhttp://aka.ms/weboutlook
From: Howard Kapustein @.>
Sent: Saturday, January 22, 2022 4:32 PM
To: microsoft/WindowsAppSDK @.>
Cc: Scott Darnell @.>; Mention @.>
Subject: Re: [microsoft/WindowsAppSDK] Generate cert (PR #1986)
@BenJKuhnhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FBenJKuhn&data=04|01|scodar%40microsoft.com|1871e4bb91174d8530ef08d9de07c19a|72f988bf86f141af91ab2d7cd011db47|1|0|637784947179486634|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=tXM8TAVrE3OBNX6%2FycX1LWCa7Xs1RtYogIz%2BM3hRos0%3D&reserved=0 @Scottj1shttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FScottj1s&data=04|01|scodar%40microsoft.com|1871e4bb91174d8530ef08d9de07c19a|72f988bf86f141af91ab2d7cd011db47|1|0|637784947179486634|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=cyWKPyy2e905FnhuXff174GVJW%2BGWMRpt%2FgQ%2FSLOdFs%3D&reserved=0 @aeloroshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Faeloros&data=04|01|scodar%40microsoft.com|1871e4bb91174d8530ef08d9de07c19a|72f988bf86f141af91ab2d7cd011db47|1|0|637784947179486634|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=FWfREZdZhPYdBbrUdaQo29TQuU2G5Kh6LNUVQ%2FUdu4s%3D&reserved=0 @huichen123https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhuichen123&data=04|01|scodar%40microsoft.com|1871e4bb91174d8530ef08d9de07c19a|72f988bf86f141af91ab2d7cd011db47|1|0|637784947179486634|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=KEMqmFMMBHa9uQQ2MWPsu3kfEjPU8gqOlJJmJPF%2Fu3k%3D&reserved=0 @sachintaMSFThttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FsachintaMSFT&data=04|01|scodar%40microsoft.com|1871e4bb91174d8530ef08d9de07c19a|72f988bf86f141af91ab2d7cd011db47|1|0|637784947179486634|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=jZDocFqd%2FZ9EDyKBc9TTF95OxtNypbWlQ7BJoaKqF1I%3D&reserved=0 do we really need 5 different Win10 SDKs to build WinAppSDK? See below.
After resyncing with latest main I see there's a new RestartAgent project but it fails to build for me because
32>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: The Windows SDK version 10.0.20348.0 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution".
That's due to dev\RestartAgent\RestartAgent.vcxproj
<WindowsTargetPlatformVersion Condition=" '$(WindowsTargetPlatformVersion)' == '' ">10.0.20348.0</WindowsTargetPlatformVersion>

This gives RestartAgent access to APIs to up thru recent Windows releases but it requires that SDK be installed to build WinAppSDK, which hasn't been required of developers to date.
@aeloroshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Faeloros&data=04|01|scodar%40microsoft.com|1871e4bb91174d8530ef08d9de07c19a|72f988bf86f141af91ab2d7cd011db47|1|0|637784947179486634|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=FWfREZdZhPYdBbrUdaQo29TQuU2G5Kh6LNUVQ%2FUdu4s%3D&reserved=0 Is that intentional or accidental?
Grep for WindowsTargetPlatformVersion across all *proj in the repo and everyone's got
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>

except....

10.0.20348.0 in dev\RestartAgent\RestartAgent.vcxproj -- @aeloroshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Faeloros&data=04|01|scodar%40microsoft.com|1871e4bb91174d8530ef08d9de07c19a|72f988bf86f141af91ab2d7cd011db47|1|0|637784947179486634|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=FWfREZdZhPYdBbrUdaQo29TQuU2G5Kh6LNUVQ%2FUdu4s%3D&reserved=0 is that intentional?
10.0.18362.0 in dev\MRTCore\mrt\Microsoft.Windows.ApplicationModel.Resources\src\Microsoft.Windows.ApplicationModel.Resources.vcxproj -- @huichen123https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhuichen123&data=04|01|scodar%40microsoft.com|1871e4bb91174d8530ef08d9de07c19a|72f988bf86f141af91ab2d7cd011db47|1|0|637784947179536621|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=TzC%2FkaJZvajUNQMEQW4gWiRDRoh3iJ7rDT%2FdKimye5A%3D&reserved=0 is that intentional?
10.0.19041.0 in installer\dev\WindowsAppRuntimeInstall.vcxproj -- @sachintaMSFThttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FsachintaMSFT&data=04|01|scodar%40microsoft.com|1871e4bb91174d8530ef08d9de07c19a|72f988bf86f141af91ab2d7cd011db47|1|0|637784947179536621|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=KOaPAbY3JL%2BeRdFJb%2Fv9n1AV2BCC9KSLJG0YfqhTweA%3D&reserved=0 is that intentional?

Most projects don't specify . The few that do have 10.0.17763.0 in...

installer\dev\WindowsAppRuntimeInstall.vcxproj
test\DynamicDependency\data\Framework.Math.Add\Framework.Math.Add.vcxproj
test\DynamicDependency\data\Framework.Math.Multiply\Framework.Math.Multiply.vcxproj
test\DynamicDependency\data\Framework.Widgets\Framework.Widgets.vcxproj

and 10.0.17134.0 in

MRTCore\mrt\Microsoft.Windows.ApplicationModel.Resources\src\Microsoft.Windows.ApplicationModel.Resources.vcxproj
dev\RestartAgent\RestartAgent.vcxproj

Thanks to the handy dandy decoder ringhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FWindows_10_version_history%23Channels&data=04|01|scodar%40microsoft.com|1871e4bb91174d8530ef08d9de07c19a|72f988bf86f141af91ab2d7cd011db47|1|0|637784947179536621|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=II%2BEm%2FDVCkrdZoCklG6yIyUDggMPPPzE0tdVGdf8FNQ%3D&reserved=0...

17134 = RS4
17763 = RS5
18362 = 19H1
19041 = 20H1
20348 = recent Win11 build (22000 = 21H1 Win11https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FWindows_11_version_history%23Channels&data=04|01|scodar%40microsoft.com|1871e4bb91174d8530ef08d9de07c19a|72f988bf86f141af91ab2d7cd011db47|1|0|637784947179536621|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=3ibOkfVr136FFkHb0e%2BO9pyFn3%2B54lypm%2FlQ7EA2JfY%3D&reserved=0)

I've updated my local config to get around this for now. But I'm wondering if we really do need all 5 SDKs (RS4+). We need at least 2 which used to be min=17763, max=18362. Can there be 1 max and if so, should it be 20348?

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FWindowsAppSDK%2Fpull%2F1986%23issuecomment-1019384109&data=04|01|scodar%40microsoft.com|1871e4bb91174d8530ef08d9de07c19a|72f988bf86f141af91ab2d7cd011db47|1|0|637784947179536621|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=XBPaFZw2kon87kwpHwqpeJO2SHHYGnYtOxQ1Y1d89V0%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAE4I5UVBTJ2S4KCRO7WZY2DUXND7VANCNFSM5L7Y7XYA&data=04|01|scodar%40microsoft.com|1871e4bb91174d8530ef08d9de07c19a|72f988bf86f141af91ab2d7cd011db47|1|0|637784947179536621|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=UYwUEm3y0kRLymG8X%2BWyigpAaR6kYt0f%2BzsbeHTczqk%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|scodar%40microsoft.com|1871e4bb91174d8530ef08d9de07c19a|72f988bf86f141af91ab2d7cd011db47|1|0|637784947179536621|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=qVrwo4ncSAzMHD0kvKdpTUvmgFQ3bnopnMyjEVzkbNs%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|scodar%40microsoft.com|1871e4bb91174d8530ef08d9de07c19a|72f988bf86f141af91ab2d7cd011db47|1|0|637784947179536621|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=og%2BgQvKmEP%2Bw7cIoMoAM8z9j52a3ulu5Sw5JWj12IpU%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

/azp run

/azp run

I see the problem but I don't understand why (yet).
The build pipeline successfully ran DevCheck creating the test cert (.pfx etc under .user), then build WindowsAppRuntime.sln just fine. Then it built MRTCore and failed. That doesn't run DevCheck but relies on it having already been run - which it was. But it can't find .user\winappsdk.certificate.test.pfx despite looking for an absolute filename exactly the same as DevCheck created and WindowsAppRuntime.sln found just fine.
I suspect something's going on in the pipeline I don't understand. Will talk with ES folks in the morning

Maybe it's not including RepoRoot somehow?
Sent from Outlookhttp://aka.ms/weboutlook
From: Howard Kapustein @.>
Sent: Tuesday, January 25, 2022 12:21 AM
To: microsoft/WindowsAppSDK @.>
Cc: Scott Darnell @.>; Mention @.>
Subject: Re: [microsoft/WindowsAppSDK] Generate cert (PR #1986)
I see the problem but I don't understand why (yet).
The build pipeline successfully ran DevCheck creating the test cert (.pfx etc under .user), then build WindowsAppRuntime.sln just fine. Then it built MRTCore and failed. That doesn't run DevCheck but relies on it having already been run - which it was. But it can't find .user\winappsdk.certificate.test.pfx despite looking for an absolute filename exactly the same as DevCheck created and WindowsAppRuntime.sln found just fine.
I suspect something's going on in the pipeline I don't understand. Will talk with ES folks in the morning

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FWindowsAppSDK%2Fpull%2F1986%23issuecomment-1020920168&data=04|01|scodar%40microsoft.com|d58fb6b3e33b4563e11a08d9dfdba140|72f988bf86f141af91ab2d7cd011db47|1|0|637786956670930214|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=gZondcNxsCzeF2E95WVrypA7di5V32uWw4tGKiWZkzA%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAE4I5UUUJ7PLALUVSKP2EFLUXZMPBANCNFSM5L7Y7XYA&data=04|01|scodar%40microsoft.com|d58fb6b3e33b4563e11a08d9dfdba140|72f988bf86f141af91ab2d7cd011db47|1|0|637786956670930214|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=Ew3uzLUwNDEbpm6RUqfgnSFS1Sg4ZhEHu9suUQQR7VE%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|scodar%40microsoft.com|d58fb6b3e33b4563e11a08d9dfdba140|72f988bf86f141af91ab2d7cd011db47|1|0|637786956670930214|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=KFBEqCz6rBIsai37%2F5FAF%2Bg49NyPhtUWnaPy1hRK%2FrA%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|scodar%40microsoft.com|d58fb6b3e33b4563e11a08d9dfdba140|72f988bf86f141af91ab2d7cd011db47|1|0|637786956670930214|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000&sdata=V6919z32Y%2FT7YDg%2B5Sr2wDnnYOxcWLYmVSrOwCI1Kbk%3D&reserved=0.


Get rid of lint issues

Now we have 61 problems (0 errors, 61 warnings)  in eslint which mostly connected with Unexpected any. Specify a different type. We need to refactor such code or suppress the warnings
Check for other lint rules which can be added to project to improve DX and prevent potential issues for future. Check Airbnb lint rules to find something

Related
Continue to fix in

Issue: #513

All eslint issues fixed or disabled.
Related
disabled errors will be rechecked in
#513


Fail to detect bronze OA for The Auk papers

http://www.bioone.org/doi/abs/10.1642/AUK-18-8.1
Other BioOne journals seem fine. See for example:

http://www.bioone.org/doi/abs/10.1650/CONDOR-16-62.1
http://www.bioone.org/doi/abs/10.1080/02724630903413032

From what I understand, there is not much you can do. The journal has to communicate the license to CrossRef in a standard format. Is that right?

Hi!  Thanks for the bug report!
We do actually look at the publisher pages as well sometimes, so we might
be able to get these.  Will look into it.  Thanks :)
--
Heather Piwowar
cofounder of Impactstory http://impactstory.org/: share the full story of
your research impact.
working from Vancouver, Canada
@researchremix http://twitter.com/#!/researchremix and @Impactstory
https://twitter.com/ImpactStory
On Thu, Mar 29, 2018 at 4:34 AM, Bisaloo<EMAIL_ADDRESS>wrote:

http://www.bioone.org/doi/abs/10.1642/AUK-18-8.1
Other BioOne journals seem fine. See for example:

http://www.bioone.org/doi/abs/10.1650/CONDOR-16-62.1
http://www.bioone.org/doi/abs/10.1080/02724630903413032

From what I understand, there is not much you can do. The journal has to
communicate the license to CrossRef in a standard format. Is that right?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Impactstory/oadoi/issues/54, or mute the thread
https://github.com/notifications/unsubscribe-auth/AANngY7snPWWan9yTGcAJbMR6NTM6VIiks5tjMbMgaJpZM4TALsM
.

I'm actually having the same issue for some other BioOne papers:
http://www.bioone.org/doi/abs/10.1650/CONDOR-17-187.1

It also does seem to work properly for some "The Auk" papers:
http://www.bioone.org/doi/abs/10.1642/0004-8038(2005)122[0872:WMAFBO]2.0.CO%3B2


the command erro in vscode

the command "from EQTransformer.core.mseed_predictor import mseed_predictor" in vscode, print errro"ERROR:root:Internal Python error in the inspect module. Below is the traceback from this internal error."  But the command can normally excute in terminal.

@dh4931 are you trying it on a windows machine?


Use sans serif fonts

A picture tells a thousand words
Before this PR

After this PR

Coverage remained the same at 42.04% when pulling 7f458b231f248a37753ee43dda7d19b30fd57508 on bjornreppen:sans into e5c8c3c5324cc6fda1673b1aae3656f36601a062 on Artsdatabanken:master.


Prebuild docker testnet

The goals of this branch, in order of importance:

[ ] Get the github actions to reliably return Green/Clear (for working build/tests) so that our CI has actual signal
[ ] Give us confidence in the system by having tests/integration tests that are actually used
[ ] Get the integration tests to run reasonable quickly (<30 minutes)

[ ] Running the different integration tests in parallel
[ ] Building the images in parallel and with caches

The realities of this branch:

The running of certain integration tests fail in Github Actions while passing on a local machine, best guess is this is due to timing because of resource constraint. We are running a docker image running a go test running 10 dockers images, after all.
This doesn't seem to make any aspect of our codebase or CI "worse", even though integration tests are failing.

LGTM


Pulse Capture Frequency Tachometer

Utilize timer as counter on capture pin

Hi commenting on this for assignment.

Resolved by #1065. This particular instance of a frequency tachometer using pulse capture, which would give instantaneous results may not be useful. Bring this issue back if there is a need for this.


Expose URL persistence formatting

The URL persistence service handles getting/setting values from the URL, but it does so through through private methods [1] [2]
These should be made public so that formatted page URLs could be calculated (e.g. a link to a search page with pre-configured values)

Adding in v3.2.0-rc.1

Added in v3.2.0-rc.1


[dateViewer] breaking memberlist alignment after new update

after the recent changes in v2.11, dateViewer now breaks the alignment of the memberlist and also does not display. unsure as to what might be causing this.

I see, I'll fix it ASAP. Thanks!

Please test the file in the dev branch. Let me know if it's working and if you're getting any warning in console.

tested out the new build, seems to be working as intended. i think that most likely it wasn't handling a blank lang tag properly. thanks for fixing this so fast!

No problem! I'm gonna do a few changes and update the main version accordingly.
Thanks for letting me know that!


Strip away the context for a statement.

User submitted a usecase for being able to strip away the context for a statement
I propose the following:

public static Model Models.extractContext(Model model, Resource context){...}

extract all statements matching the context and strip away the context

public static Statement SimpleValueFactory.asStatementWithoutContext(Statement statement){...}

convert a statement with (or without) a context to a statement without a context

public static CloseableIteration<Statement,...> QueryResults.stripContext(CloseableIteration<Statement, ...> iteration){...}

create an iteration that strips away the context

@jeenbroekstra @barthanssens what do you guys think? I'm not in love with the method naming, but I like adding this option since it's not going to be the first time someone needs to strip away the context from some statements.

It certainly is a useful feature, I vaguely remember having to do something similar to clean up some stuff in an internal project.
Maybe allow multiple contexts to be stripped ? E.g. stripContext or extractContext(Model m, Resource ctx...)

Very nice, thanks for this.
I'd prefer to put the statement conversion method in the Statements util class rather than a factory. Have to have a think about method names but this covers the intended use case quite nicely I think.
Let's try and write some example user code that uses this, to see what it looks like and if we missed any gaps.

Taking the example use case from the mailinglist, the original code was this:
Model unionOfContexts = QueryResults.asModel(conn.getStatements(null, null, null, contextName1, contextName2));
with these new helper methods it could becomes something like this:
Model unionOfContexts = QueryResults.asModel(QueryResults.stripContext(conn.getStatements(null, null, null, contextName1, contextName2)));
Is there a more functional approach that we can support? All these wrapped static methods get on my nerves a bit :)

Try (... stream = Iterations.stream(conn.getState....){
Model m = stream
.map(Statements::stripContext)
.collect(Models.toModel())
}

Would also work for models directly since you can stream models too. I still like to have helper methods for increased discoverability. Would also be nice to consider model1.stripContexts(), or model1.extractContexts(ctx1, ctx2).

Would also be nice to consider model1.stripContexts(), or model1.extractContexts(ctx1, ctx2).

I'm leaning towards not doing that to be honest, we've deliberately kept the Model interface quite lean and put these kinds of sophisticated manipulations into the Models helper class instead. Unless we have a very strong use case in favor of it I'd rather we stick to that philosophy.

On the naming thing: current gut preference is stripContexts over extractContexts as I think it more clearly communicates that the context bit is the thing being removed .

Chaining is a good reason. And discoverability. And it’s more classic object orientation. But I agree that the model interface should be lean.
But this is what it could look like:
boolean isomorphic = m1
.extractContext(ctx1)
.filter(null, RDF.type, null)
.isomorphic(m2)

Fair point on classic object orientation. I'm less concerned about the discoverability as I think we make quite a point of Models being the go-to functional util class. As for chaining: in your particular example the static helper equivalent would be:
boolean isomorphic = Models.stripContexts(m1, ctx1)
                                     .filter(null, RDF.TYPE, null)
                                     .isomorphic(m2);

It's not that much more complicated (especially if you start working with static imports).
I suggest we don't add this to Model itself in the first instance, and for now keep to the lean philosophy. If we find it limiting or confusing we can always change our mind and add it in, but once we add it in it's hard to take it back out again.
Summarizing, I suggest we should add the following as part of this issue:

public static Model Models.stripContexts(Model model, Resource... contexts){...}
extract all statements matching the contexts and strip away the context.
public static Statement Statements.stripContext(Statement statement){...}
convert a statement with (or without) a context to a statement without a context
public static CloseableIteration<Statement,...> QueryResults.stripContexts(CloseableIteration<Statement, ...> iteration, Resource... contexts){...}
create an iteration that strips away the provided contexts from the statements, or all contexts if no contexts are provided

Lastly, we should add a custom implementation of a Collector class for models. We should probably treat that as a separate issue.
Anything I overlooked?

all contexts if no contexts are provided

Also for the Models.stripContexts I reckon.
LGTM :)

From and outside perspective new to RDF4J, the concept of context is a bit enigmatic in the beginning. I’ve been using Apache Jena before, where consolidate/union of model(s) is explicit and Jena has this functionality on its model interface.
My gut feeling in the beginning was to look for something like this.
Model modelUnion = conn.union(context1, context2, ...));
Or for all contexts.
Model modelUnion = conn.union());

FYI a context in RDF4J is what Jena calls a graph and what SPARQL calls a named graph.

Yes, but don’t remember if they are named graph’s?
What they do have is classes for manipulate Collections of statement like. Delta, DisjointUnion, Intersect .. and they are not static helper classes.
public Difference(Graph L,  Graph R) //etc.

Yes, but don’t remember if they are named graph’s?

Sorry, I'm not sure what you're asking here - can you clarify?

What they do have is classes for manipulate Collections of statement like. Delta, DisjointUnion, Intersect .. and they are not static helper classes.
public Difference(Graph L, Graph R) //etc.

I assume "they" is Jena in this case? Fwiw RDF4J does have similar functionality for manipulating collections. There are several graph comparison methods in the Models class, and of course, RDF4J Models being Java Collections, you can use standard Java Collection operations for a lot of this kind of thing.
But we're getting a bit off-topic here - the scope of this issue is look into functionality for "forgetting" the context/named graphs on a model. Happy to hear your thoughts on other improvements we can make / questions you have of course, but let's do those back on the mailinglist (or open a new issue here).

Sorry, I'm not sure what you're asking here - can you clarify?
Only that Graph is unnamed Collection of statements.

RDF4J Models being Java Collections
I understand, using Collections nomenclature instead of graph. Then I would say;

model1.clearConstext(...)

I understand, using Collections nomenclature instead of graph. Then maybe clear is "clear";
model1.clearConstext(...)

The problem I see with that is that it is very close to the already-existing clear(Resource... contexts) method. This is why I prefer something like 'strip' instead: it's sufficiently different from existing method names that it is more clear that it does something different.

I'm leaving out the change to CloseableIteration for now, as we have no single concrete implementation of ClosableIteration<Statement>. I believe the use case is sufficiently covered by being able to stream and using the other util functions, for example:
Iterations.stream(conn.getStatements(...))
       .map(st -> Statements.stripContext(st)).collect(Collectors.toList());


products map with time slider

Products should be connected to location (over time): If we are looking for instance for “kuru üzüm” it should be possible to “locate” them in the Map (Location), ideally over time. What we need to know is, what products were (when) available in which district, mahalle and karye.

Create a map where you can select the product(s) to be displayed. The map should also have a time slider. We can match the product with a location and time through the Document it was mentioned in. Different products could have different marker colours (and/or shapes).

We will do this a different way, see #133