Usability issue: versionCheck doesn't show the problems it found

I have hit this repeatedly in multiple repos over the past year or two – only getting around to reporting it now.
When versionPolicyCheck fails, I get the usual MiMa output showing me what the actual problems are.
But when versionCheck (the one you run at release time, rather than during PR validation) fails, I don't get any details, I just get e.g.
sbt:root> parserCombinatorsJVM / versionCheck
[error] Module scala-parser-combinators has an invalid version number: 1.1.3-RC1. You must increment the minor version number to publish a source incompatible release.
[error] (parserCombinatorsJVM / versionCheck) Module scala-parser-combinators has an invalid version number: 1.1.3-RC1. You must increment the minor version number to publish a source incompatible release.

according to the repo readme here,

MiMa can only detect binary incompatibilities. To detect source incompatibilities, this plugin uses MiMa in forward mode as an approximation. This is not always correct and may lead to false positives or false negatives. This is a known limitation of the current implementation.

I'm suggesting change the plugin so that the specific incompatibilities found are printed.
but it'd also be okay if I need to run an extra command in order to "use MiMa in forward mode" and see the errors, as long as we document what that command is

looks like I can get the errors by doing set mimaCheckDirection := "forward" followed by mimaReportBinaryIssues

Gah. In the repo I'm working on (scala-parser-combinators), that worked to show some errors, but even after I made them go away, versionCheck is still failing:
sbt:root> show parserCombinatorsJVM/mimaCheckDirection
[info] backward
sbt:root> parserCombinatorsJVM/mimaReportBinaryIssues
[success] Total time: 0 s, completed May 13, 2022, 4:37:13 PM
sbt:root> set parserCombinatorsJVM/mimaCheckDirection := "forward"
sbt:root> parserCombinatorsJVM/mimaReportBinaryIssues
[success] Total time: 0 s, completed May 13, 2022, 4:37:21 PM
sbt:root> parserCombinatorsJVM/versionCheck
[error] Module scala-parser-combinators has an invalid version number: 1.1.2+29-6e3da8f3-SNAPSHOT. You must increment the minor version number to publish a source incompatible release.
[error] (parserCombinatorsJVM / versionCheck) Module scala-parser-combinators has an invalid version number: 1.1.2+29-6e3da8f3-SNAPSHOT. You must increment the minor version number to publish a source incompatible release.
[error] Total time: 0 s, completed May 13, 2022, 4:37:35 PM

🙀

gah, never mind, I misunderstood. the check isn't failing because MiMa is failing — MiMa isn't even running!
rather, it's failing because my build.sbt had Compatibility.BinaryCompatible but I was trying to release a patch version anyway.
I don't know if I like this design, but at least I understand what's going on.

In Slick, I took the opposite approach, which is to compute the version from versionPolicyIntention and git tags. (See https://github.com/slick/slick/blob/main/project/Versioning.scala)
The downside of computing versionPolicyIntention from version is then you have to answer how is version specified. You still have to keep updating that. If I have to update one I'd rather it be versionPolicyIntention because:

Fewer information bits to deal with. It's a choice of only 3 options to choose from; the rest can be inferred. In fact you could keep all 3 versions in place with 2 of the 3 commented at any given time, so updating it is just changing which line is uncommented
It's the bit of information that's missing from the computer's perspective, that needs a human to supply it. The version on the other hand is just counting; that computers can do fine when given the exact rules.
It may need changing less often, since you don't have to deal with adding and removing -SNAPSHOT
It's less of a contradiction to sbt-dynver. In fact Slick uses sbt-dynver, and I achieve this by customizing it. sbt-dynver expects to infer the version from git tags, but can you automate creating git tags? If the version can be computed from past tags plus versionPolicyIntention then sure! And if your version is explicitly set then you can too, but then you aren't really using sbt-dynver.

In theory, one could have versionPolicyIntention inferred too, from metadata in commits. For instance in one project of mine, I prefix commit messages with ^, *, or + to indicate the respective version segment it would bump, if any. I then have a release script that computes a git tag to create based on that.

I don't know if I like this design, but at least I understand what's going on, now. I was baffled/confused before.

I agree that this is can be confusing.
The reason why we did that is because we wanted to support as many use cases as possible.
With a typical setup with sbt-dynver, the versionPolicyIntention can not be computed from the version because it looks like 1.2.3+42-1234abcd (unless you push a tag, but this is never the case when you submit a PR, for instance), where 1.2.3 is the last published version. So, sbt-dynver never bumps the patch, minor, or major version, it only appends metadata to the last published version.
We could decide to support sbt-release only, and in this case we would not have had to introduce the versionPolicyIntention at all, since with sbt-release the version is managed manually (we could derive versionPolicyIntention from it). That being said, I think we should support the sbt-dynver setup because I believe it’s quite pervasive (especially because of sbt-ci-release).
I hope this clarifies things.

it does, though in 6 months I'll probably have forgotten it and confuse myself all over again :-)

the poor error message bit Lukas today over at https://github.com/scala/scala-xml/issues/685#issuecomment-1635833645

Julien asks, over on the scala-xml ticket:

Do you have suggestions for a better error message?

The main thing would be for versionCheck to show me the actual MiMa problems it found, as in the original title of this ticket. (Perhaps I shouldn't have closed this ticket — feel free to reopen.) Without that, it isn't even clear that there are any MiMa failures involved...!
Additionally, it would be helpful if the error message showed the versionPolicyIntention and the old and new version numbers, to help the user sanity-checking that the values they are intended are the values being used.
at present, we see e.g.

[error] Module scala-xml has an invalid version number: 1.3.1. You must increment the minor version number to publish a source incompatible release.

How about something more like:

[error] Module scala-xml has a version number (now 1.3.1, previously 1.3.0) inconsistent with its declared versionPolicyIntention of BinaryCompatible. This intention implies that the minor version number should be incremented.

oh, I basically already said this above:

I'm suggesting change the plugin so that the specific incompatibilities found are printed.

but it'd also be okay if I need to run an extra command in order to "use MiMa in forward mode" and see the errors, as long as we document what that command is


refactor: use pdm as project manager

This pr closes #22 and makes the following changes:

use pdm as project manager and provide a start script to start the process which can be used as pdm start.
rename function_lib.py to utils.py
extract some functions to adjust the single responsibility principle.

@THINKER-ONLY please help deploy locally to test this PR. Please double check the result with the old version to capture any issues in the refactoring.

Test done. LGTM


Feature/test state machine lib

Status
DEVELOPMENT
Description
Added intial set of unit tests for state_machine_lib.
Related PRs
#1609

@s-azumi Can you have a look at the commented code in test_state_context.cpp?

The onExit function is declared in state_context.hpp but not defined in state_context.cpp
An exception is thrown if the callback for an unexisting state is set. This happens because getStateIDbyName is setting the ID to UINT64_MAX when the state is not found in state_map_ and then getStatePtr tries to access: state_map_.at(UINT64_MAX)

@sgermanserrano
The onExit function in state_context.hpp was not necessary, I'll remove it. That function used in state_context.cpp is declared in state.hpp.
I'll add exception handling for UINT64_MAX is setted, please wait a while.

@esteve I have removed showStateName
@s-azumi can you review the changes and merge if you approve them?


Null check operator used on a null value

Future<void> main() async {
  final HttpLink httpLink = HttpLink('http://localhost:4000/graphql');
  final storage = new FlutterSecureStorage();
  final _token = await storage.read(key: 'accessToken');
  final AuthLink authLink = AuthLink(getToken: () => 'Bearer $_token');
  final Link link = authLink.concat(httpLink);
  final ValueNotifier<GraphQLClient> client = ValueNotifier(
    GraphQLClient(link: link, cache: GraphQLCache(store: InMemoryStore()))
  );

  runApp(
    GraphQLProvider(
      client: client,
      child: MyApp(),
    )
  );
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: ListScreen(),
    );
  }
}

I am a dart/flutter beginner and i am trying to setup a graphql client with a jwt token on startup, but when i try to access the secure storage in the main(), i get this error:
E/flutter ( 4064): [ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: Null check operator used on a null value
E/flutter ( 4064): #0      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:142:86)
E/flutter ( 4064): #1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:148:36)
E/flutter ( 4064): #2      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:331:12)
E/flutter ( 4064): #3      FlutterSecureStorage.read (package:flutter_secure_storage/flutter_secure_storage.dart:50:42)
E/flutter ( 4064): #4      main (package:flutter_graphql_client/main.dart:12:26)
E/flutter ( 4064): #5      _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:146:25)
E/flutter ( 4064): #6      _rootRun (dart:async/zone.dart:1354:13)
E/flutter ( 4064): #7      _CustomZone.run (dart:async/zone.dart:1258:19)
E/flutter ( 4064): #8      _runZoned (dart:async/zone.dart:1789:10)
E/flutter ( 4064): #9      runZonedGuarded (dart:async/zone.dart:1777:12)
E/flutter ( 4064): #10     _runMainZoned.<anonymous closure> (dart:ui/hooks.dart:139:5)
E/flutter ( 4064): #11     _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:283:19)
E/flutter ( 4064): #12     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)
E/flutter ( 4064):

Is it meant to work like this and am i doing something wrong? If yes, then how do i go about doing this

I guess i shouldn't call secure storage functions before the rupApp() call, makes sense. I instead initialized secure storage and graphql client in MyApp stateful widget and it works fine. Closing this issue


sidecar scope matches ns for envoy filter and authn/z

Continuation of https://github.com/istio/istio/pull/25403 for https://github.com/istio/istio/issues/25364
Adds the following to the list of "namespace scope" resources for a sidecar:

EnvoyFilter
AuthorizationPolicy
PeerAuthentication
RequestAuthentication

Still need to validate this scoping is accurate for these resource types.

@yangminzhu can you validate assumptions here? Basically, what this will do is a change in a Security API in namespace foo will only trigger a push to proxies in namespace foo. A change in root namespace will still trigger to all proxies.

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
6b41d924bb625cdd888ed8cfaaa5aee70ce75004
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@stevenctl: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

lint_istio
6b41d924bb625cdd888ed8cfaaa5aee70ce75004
link
/test lint_istio

gencheck_istio
6b41d924bb625cdd888ed8cfaaa5aee70ce75004
link
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Per the docs:

The order of application of these EnvoyFilters is as follows: all EnvoyFilters in the config root namespace, followed by all matching EnvoyFilters in the workload’s namespace.

Authorization Policy scope (target) is determined by “metadata/namespace” and an optional “selector”.

authn policy

Apply the policy to the namespace of the workload it selects

@stevenctl: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
d25de30d8c97d0676c9afcce164845e2a06b9993
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


google_mobile_ads:compileDebugJavaWithJavac FAILED

i have a problem after update flutter to 3.0.2
here is the fragment with error

[  +14 ms] > Task :webview_flutter_android:generateDebugBuildConfig UP-TO-DATE
[  +39 ms] > Task :webview_flutter_android:javaPreCompileDebug UP-TO-DATE
[  +19 ms] > Task :webview_flutter_android:compileDebugJavaWithJavac UP-TO-DATE
[ +108 ms] > Task :webview_flutter_android:bundleLibCompileToJarDebug UP-TO-DATE
[+1774 ms] > Task :google_mobile_ads:compileDebugJavaWithJavac
[   +7 ms] C:\Users\turco\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\google_mobile_ads-3.0.0\android\src\main\java\io\flutter\plugins\googlemobileads\FlutterMobileAdsWrapper.java:79: error: static interface method
invocations are not supported in -source 7
[  +13 ms]     WebView webView = WebViewFlutterAndroidExternalApi.getWebView(flutterEngine, webViewId);
[   +4 ms]                                                       ^
[  +15 ms]   (use -source 8 or higher to enable static interface method invocations)
[        ] Note: Some input files use or override a deprecated API.
[  +49 ms] Note: Recompile with -Xlint:deprecation for details.
[  +31 ms] 1 error
[   +2 ms] > Task :google_mobile_ads:compileDebugJavaWithJavac FAILED
[  +79 ms] FAILURE: Build failed with an exception.
[   +2 ms] * What went wrong:
[   +7 ms] Execution failed for task ':google_mobile_ads:compileDebugJavaWithJavac'.
[   +3 ms] > Compilation failed; see the compiler error output for details.
[   +1 ms] * Try:
[   +2 ms] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[   +1 ms] * Get more help at https://help.gradle.org
[  +14 ms] BUILD FAILED in 18s
[   +1 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[  +14 ms] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[  +28 ms] 136 actionable tasks: 5 executed, 131 up-to-date
[ +642 ms] Running Gradle task 'assembleDebug'... (completed in 19.8s)
[   +6 ms] Exception: Gradle task assembleDebug failed with exit code 1
[   +4 ms] "flutter run" took 21,913ms.
[   +8 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:699:9)

#2      FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1183:27)

#3      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#5      FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)

#6      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#7      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)

#8      run.. (package:flutter_tools/runner.dart:62:9)

#9      AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#10     main (package:flutter_tools/executable.dart:94:3)

[ +203 ms] ensureAnalyticsSent: 193ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1

i dont know what this line means

error: static interface method invocations are not supported in -source 7
WebView webView = WebViewFlutterAndroidExternalApi.getWebView(flutterEngine, webViewId);
^
(use -source 8 or higher to enable static interface method invocations)

if somebody can help with this issue

Hi @sernocturno
It seems the issue is caused by Gradle version, please check this and also try the same way to solve the issue.
Closing as a duplicate issue. If you still experience the issue after trying that solution, please write in the comments and I will reopen this for further investigation. Thank you!


[avc] HRD params from EncTools

Issue: -
Test: manually

There are only HRD changes in this PR now


Add image loading (stb_image)

Add stb_image library for loading image files.

Issue closed on Pull Request #24


Create a pull request into main branch with title “First release to production”

[Create a pull request into main branch with title “First release to production”

Done!


[ci] sync template files

This PR syncs the specified GitHub template files from the central repository.
Changes:

Merge pull request trueberryless-org/template-files#57 from trueberryless-org/changeset-release/main - (fa25599)
fix autofix action - (4f46cc1)

The branch has been updated with the latest changes.


Turning off tags for my feed OR using Categories instead?

What
I'm putting this in as a Feature Request rather than a bug, though I'm not sure if this is something ActivityPub might do already? I'd like to know if it's possible for doing either of these things in ActivityPub already, and if not, could these be implementable as a future feature?

Specifically exclude any tags on the post from going out on the feed
Instead of using tags, use categories on the post as tags instead

Why
On my blog Anna Plays Skyrim, I use a lot of tags on every post. These typically refer to whatever locations I visit in the game in a play session, and I use them for ability to search posts on the site. But since I can often visit over a dozen places in one play session, the list of tags can get very long very quickly.
When I manually post to Mastodon about a new post I've just put up, I typically ONLY just use the tag "AnnaPlaysSkyrim", as well as a tag for whatever game the post is about, such as "Skyrim" or "Morrowind" or "Oblivion" or "ElderScrollsOnline". This keeps the list of tags down to a minimum, which I feel is tidier for Mastodon purposes.
Here's a screenshot of how I usually do one of these posts manually. As you can see this includes the post excerpt, two tags, the actual link to the post, and the display card:

Ideally I'd like to be able to replicate this if at all possible via the ActivityPub plugin, so I would no longer have to do manual posts to Mastodon every time I put up a post. That would let me encourage people to follow the blog directly!
Is this doable? Thanks in advance!
How
I didn't see any relevant settings in the UI I have access to.
But I could see this being done simply with a couple of optional checkboxes:

Exclude post tags from feed
Convert post categories to tags

You can fully customize what should be sent to the Fediverse. Simply go to the settings, search for "Post content", choose "Custom" and add the short-codes you want to use.

You can fully customize what should be sent to the Fediverse. Simply go to the settings, search for "Post content", choose "Custom" and add the short-codes you want to use.

I found that part of the UI, yes. But that doesn't seem to let me explicitly turn off tags. I've tried building a custom structure there, but that still doesn't let me turn off the huge list of tags that I want to have on my post when viewed directly on the site... but NOT when the post goes out to the Fediverse.

If you do not add "[ap_hashtags]" the tags will not be included.

To test your settings, you can simply add /activitypub at the end of each post URL, to see the JSON file: https://skyrim.annathepiper.org/2023/11/28/test-for-activitypub-issue/activitypub/

If you do not add "[ap_hashtags]" the tags will not be included.

Okay, thank you! I have just successfully tested this on the blog. So that covers item one on my request.
Followup then: is it possible for me to achieve item 2? I could obviously include "#AnnaPlaysSkyrim" in the custom configuration. But since this blog is a playthrough post for multiple games, sometimes I'll want to use "#Skyrim", and sometimes I'll want to do one of the other games instead. Having to change the custom setting manually every time I post defeats the entire purpose, I feel. :) Hence my question about whether it would be possible to have ActivityPub look at the categories I specify on the post, since those typically reflect what I put out into the feed when I do it manually.

To test your settings, you can simply add /activitypub at the end of each post URL, to see the JSON file: https://skyrim.annathepiper.org/2023/11/28/test-for-activitypub-issue/activitypub/

Ooh, thank you for the tip.

HOLD UP I think I just answered my own question, looks like there IS a way to do this?
Finally spotted this in the full Help list, this looks like what I want:
[ap_hashcats]
The post's categories as hashtags.
Let me test this out and if this works the way I want, then I'll go ahead and close this ticket out. :D

Going ahead and closing this out, because yeah, I found the answer to my own question in the Help list for the custom settings. Thanks to all who gave tips on this post. Appreciated! :)


the edit menu to edit a transaction in ynab toolkit is not available.  error message only says Error occurred.  [BUG] ...

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. OSX, Windows]
Browser [e.g. chrome, firefox]
Toolkit Version [e.g. 2.22.0]

Setting Export
Please replace the text 'REPLACE_ME_WITH_SETTINGS' below with your exported Toolkit settings. You can export these by going to the Toolkit Options page, click the Import/Export Settings button at the top right and copying the text in the modal which appears.
Note! DO NOT replace the leading and trailing ``` characters as they are required formatting characters.
REPLACE_ME_WITH_SETTINGS

the edit menu to edit a transaction in ynab toolkit is not working.  the error message only says that an error occurred

Getting the same error, he's a screenshot of dev console.

Hey @MTruelock the fix for this should be in our current release! If you notice the issue still exists and you're definitely running the newest version of the toolkit, please reopen! Thanks!
Please note, all browser can take up to an hour to provide updates to all users. You can force an update if it's available for you by going to chrome://extensions and clicking the "Update" button. Firefox users can go to about:addons, click the setting cog, and click "Check for updates...".


Bump poetry version to 1.3.0

The Nix environment already provides 1.3.0 and some of the Dockerfiles were already updated in 8a34cf1. This commit follows the change in two other Dockerfiles. Additionally, this seems to fix an error I was encountering when running make images. Without this PR, I am getting:
 => ERROR [builder 4/4] RUN cd /app/app/user_code_server &&     poetry config virtualenvs.in-projec  4.0s
------
 > [builder 4/4] RUN cd /app/app/user_code_server &&     poetry config virtualenvs.in-project true &&     poetry run pip install --upgrade pip &&     poetry install --no-dev:
#16 0.883 Creating virtualenv chainsail-user-code-service in /app/app/user_code_server/.venv
#16 1.713 Requirement already satisfied: pip in ./.venv/lib/python3.8/site-packages (23.1.2)
#16 3.004 Installing dependencies from lock file
#16 3.721
#16 3.721 Package operations: 21 installs, 0 updates, 0 removals
#16 3.721
#16 3.723   • Installing pyparsing (3.0.9)
#16 3.943
#16 3.943   AttributeError
#16 3.943
#16 3.943   'HTTPResponse' object has no attribute 'strict'
#16 3.943
#16 3.944   at /usr/local/lib/python3.8/site-packages/cachecontrol/serialize.py:54 in dumps
#16 3.951        50│                 ),
#16 3.951        51│                 u"status": response.status,
#16 3.951        52│                 u"version": response.version,
#16 3.951        53│                 u"reason": text_type(response.reason),
#16 3.951     →  54│                 u"strict": response.strict,
#16 3.951        55│                 u"decode_content": response.decode_content,
#16 3.951        56│             }
#16 3.951        57│         }
#16 3.951        58│
#16 3.951
------

but with this PR things build fine. I would guess that some API somewhere changed and Poetry 1.1.10 does not know about the change but Poetry 1.3.0 does, but I don't have an exact explanation.

Internet seems to say that this 'HTTPResponse' object has no attribute 'strict' error is indeed something that happened recently as you can see posts about it from 12 days ago, last week, 2 weeks ago. Updating seems to have fixed it for most people, although it looks like it comes from a dependency of Poetry and not Poetry itself.


Importing md files with folder structure

This plugin looks amazing! It looks like exactly what I need! I have a question though.
My current journal consists of a lot of markdown files that are in folders like this:

2023

Jan

01
02
...

Feb
...

2022

Jan

01
02
...

Feb
...

What would be the best way to import all my existing journal into Joplin so that it will be compatible with the journal plugin?

Have a look at this link, hope it will be helpfull.


TODO: rewrite build config, build from git instead of sdist, make nightly builds available, and more improvements

The AppImage build config and build scripts should be rewritten so that they match the ones of Streamlink's Windows builds (installers and portable archives). Streamlink's code should be retrieved from git instead of stable sdist releases from PyPI, and nightly builds should be published as build artifacts. Building dependencies from source instead of downloading pre-built wheels should also be explored, so we're not limited by any build- or infrastructure issues of the devs of Streamlink's dependencies (like lxml for example). Optionally, a changelog should be added and the GitHub release should have a message attached (release body).

[ ] Update build config and scripts

[x] Use the same script arguments as Streamlink's Windows build scripts
[x] Retrieve Streamlink from git
[ ] Build dependencies from source
[x] Ensure that everything stays reproducible

[ ] Publish nightly builds
[ ] GH releases body
[ ] Add changelog

Adding this as an optional comment, as it doesn't actually belong into this thread but on the streamlink/appimage-buildenv repo instead:

[ ] Update squashfs-tools sources and appimagetool
[ ] Explore building appimagetool from source (only had a short look at this a few months ago, and it seemed rather unnecessarily and the setup a bit too complex)

I've pushed some unfinished changes to the rewrite branch, but before this will be merged into master, some more stuff needs to be updated:
https://github.com/streamlink/streamlink-appimage/compare/master...rewrite
I've also locally built docker images for building all python dependencies from source, namely lxml and pycryptodome, so we're not dependent on the pre-built wheels uploaded by the package maintainers to pypi. lxml is the issue here once again, because it's still missing some wheels for being able to build cp311 AppImages:
streamlink/streamlink#4903
The docker images therefore need to build libxml2, libxslt and libiconv for lxml, as well as gmp for pycryptodome. This unfortunately takes a really long time when emulating aarch64 on x86_64. It wouldn't be too much of an issue as it's a one-time thing only, but building the python wheels in the containers here after pulling the images with the built dependencies takes even more time, about 40mins on my Ryzen 3950X, which means it'll be at least twice as long on the GitHub CI-runners, which is bad when publishing new releases or building nightlies and trying to check the results. This means another pre-build step would be needed where the wheels get built, and those pre-built custom wheels would need to be added to the package data in config.json. Not a great solution. It also breaks the reproducibility of the AppImages, because when building the wheels locally, the result is non-deterministic. So I probably won't continue with building all deps from source.


added generic method to UndeadMinion to search for nearest objects

NeckroGathererMinion's LookForNearbyItems uses that new generic method

Note: I don't actually know what default(System.Func<T, bool>) does. Might be null when it should probably be true.

exception when no items to pick up


SwiftCompilerSources support for OSSA and lifetime dependence

Fundamental APIs for working with OSSA in swift.
These are both simpler and more complete than the C++ counterpart. I'm adding support for the new on-stack closure representation and handling mark_dependence.

@meg-gupta I'll move InteriorLiveness into its own PR now and work on test cases, so if you have already made fixes then I can cherry pick them into that PR.

I kept this draft open for review comments. It is in sync with the current PR:
https://github.com/apple/swift/pull/70887

Something to consider for future work: My gut feeling tells me that it would be better to represent the borrow-introducer relationship of re-borrows with an explicit instruction in SIL. For example:
bb3(%outer_adjacent_phi : @owned, %inner_adjacent_phi : @guaranteed):
  %v = borrowed %inner_adjacent_phi from %outer_adjacent_phi, %some_dominating_value
  use %v // %v replaces %inner_adjacent_phi in the following SIL

This ensures the dominance relationship of borrow-introducers and makes it easier for passes to obtain this information. The gather-utilities would then be something like SSAUpdater, which can be run by a pass if it changes the SIL.
The borrowed-from instruction is the "moral" OSSA equivalent of a phi-term in plain SSA. Like a phi-term it makes dominance relation a structural property and avoids that passes need to recursively walk the predecessor blocks to gather defs/introducers.

We've had ongoing discussions about doing this ever since OSSA was introduced. It would obviously simplify OSSA liveness and dead code elimination (although we've finally solved those problems). There are serious tradeoffs though. One is making all passes aware of the borrowed phi dependence. Another problem is figuring out how to guarantee that the dependence always stays valid. Keeping the borrowed phi dependence valid and verifying it requires that same logic we have here, so getting the utilities in this PR right is a good start.
I'm generally in favor of augmenting the SSAUpdater to do more things as an OSSAUpdater. Most importantly, we need to flag phis with lexical lifetimes and pointer escapes because without that, our OSSA utilities all have serious time-complexity problems. If we can also teach OSSAUpdater to update borrowed phi dependencies, that would be reasonable. Then the only question is whether other optimizations might invalidate the borrowed phis in a way the the OSSAUpdater does not catch.

One is making all passes aware of the borrowed phi dependence.
That should be encapsulated in the BeginBorrowValue abstraction.

Another problem is figuring out how to guarantee that the dependence always stays valid.
That's what I mean with providing a utility for it (similar to SSAUpdated) which passes can use when they modify the SIL.

getting the utilities in this PR right is a good start.
Right 👍

Once https://github.com/apple/swift/pull/70887 is merged, the LifetimeDependence utils will be introduced in a separate PR.


cmd/cue: add "generate" command

Analogous to the Go's go generate.
CUE's is designed with code generation in mind and it is to be expected that many CUE files will be generated. A cue:generate directive would allow annotating the methods used to generate the files in a way familiar to Go programmers.

The obvious thing to do is to add a command: generate: entry in the tool layer. Until this is proven to be awkward, we archive this option.

This issue has been migrated to https://github.com/cue-lang/cue/issues/26.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Enforce single mesh via Helm

Please describe the Improvement and/or Feature Request
As of today, single mesh can be enforced only via the CLI, we should improve this and ensure that the enforce single mesh logic is moved to helm so that users have the same experience.
Scope (please mark with X where applicable)

New Functionality          [ ]
Install                    [X]
SMI Traffic Access Policy  [ ]
SMI Traffic Specs Policy   [ ]
SMI Traffic Split Policy   [ ]
Permissive Traffic Policy  [ ]
Ingress                    [ ]
Egress                     [ ]
Envoy Control Plane        [ ]
CLI Tool                   [ ]
Metrics                    [ ]
Certificate Management     [ ]
Sidecar Injection          [ ]
Logging                    [ ]
Debugging                  [ ]
Tests                      [ ]
CI System                  [ ]
Demo                       [ ]
Project Release            [ ]

Possible use cases

Duplicate of https://github.com/openservicemesh/osm/issues/2147


Add support for ground-truth attitude to Gazebo SITL

We should be able to get a direct ground-truth attitude from the simulation.

@LorenzMeier Could you quickly outline what's to be done for this one? I'm happy to take this up and implement it. We especially need this for our satellite simulation.

It should send http://mavlink.org/messages/common#ATT_POS_MOCAP and publish that onboard. The vehicle should send this in turn back to the GCS.

@LorenzMeier OK. Where do I grab the attitude data from the sim?

there is a mavlink plugin CPP file in the plugin dir. You'll see that everything is sent there. Just add it there.

Done!


Custom pages mechanism, refs #648

Refs #648. TODO:

[ ] Pass a view_name to render_template()
[ ] Mechanism for custom status code / headers
[ ] Documentation

Stretch goal: it would be neat if these pages could return custom HTTP headers (eg content-type) and maybe even status codes (eg for redirects) somehow.

I think I could do that with a custom template function - if that function is called during the render then we follow those instructions instead of returning the rendered HTML.
https://github.com/simonw/datasette/issues/648#issuecomment-619591380

Design challenge: the function that can be called in the custom template to return a custom status code and/or headers.
Proposed design:
{{ custom_headers({"x-foo": "bar"}) }}
{{ custom_status_code(404) }}

Or should I combine them into one function?
{{ custom_headers({"x-foo": "bar"}, status=404) }}

A common use-case here would be a redirect. How should that look?
{{ custom_redirect("/foo") }} - defaults to 301
{{ custom_redirect("/foo", status=302) }}

Maybe avoid dictionary syntax entirely:
{{ custom_header("x-foo", "bar") }}

I'm going with custom_header(name, value), custom_status(numeric_code), custom_redirect("URL").

Just needs documentation now.


The result is null when run the command "ceph orchestrator host ls".

Bug Report
What happened:
Deployed ceph 14.2.21cluster with ceph-ansible 6.0,and ceph-mgr-ssh-14.2.21-0.el8.noarch was installed.
set the ssh moudule by
"ceph mgr module enable ssh"
"ceph orchestrator set backend ssh"
add the ssh_config_file as the follows:
cat /root/.ssh/config
Host ceph01
HostName <IP_ADDRESS>
User root
Port 22
UserKnownHostsFile /root/.ssh/known_hosts
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile /root/.ssh/id_rsa
IdentitiesOnly yes
LogLevel FATAL
......  other nodes parameter in the cluster
ceph config set mgr mgr/ssh/ssh_config_file /root/.ssh/config
What you expected to happen:
Get the result is NULL ,when run the command "ceph orchestrator host ls".
and run the command "ceph orchestrator device ls {ceph01}"
error:
File "/usr/share/ceph/mgr/orchestrator.py", line 946, in _oremote
return mgr.remote(o, meth, *args, **kwargs)
File "/usr/share/ceph/mgr/mgr_module.py", line 1381, in remote
args, kwargs)
RuntimeError: Remote method threw exception: Traceback (most recent call last):
File "/usr/share/ceph/mgr/ssh/module.py", line 450, in get_inventory
self._require_hosts(hosts)
File "/usr/share/ceph/mgr/ssh/module.py", line 211, in _require_hosts
unregistered_hosts))))
RuntimeError: Host(s) '{ceph01}' not registered
How to reproduce it (minimal and precise):

ceph-ansible 6.0 created a ceph 14.2.21 cluster with 3monitor, 3manager, 3*osd in 3 nodes, and one client node .
Share your group_vars files, inventory and full ceph-ansibe log
Environment:

OS (e.g. from /etc/os-release): centos 8
Kernel (e.g. uname -a): 4.19.113-10
Docker version if applicable (e.g. docker version):
Ansible version (e.g. ansible-playbook --version):  2.9.21
ceph-ansible version (e.g. git head or tag or stable branch): stable 6.0
Ceph version (e.g. ceph -v): 14.2.21

when run the "ceph orchestrator set backend test_orchestrator" command,then run
"ceph orchestrator device ls" or "ceph orchestrator host ls"
it will display the localhost info and local devices.

Bug Report
What happened: Deployed ceph 14.2.21 cluster with ceph-ansible 6.0,and ceph-mgr-ssh-14.2.21-0.el8.noarch was installed. set the ssh moudule by "ceph mgr module enable ssh" "ceph orchestrator set backend ssh"

ceph-ansible stable-6.0 isn't intended for deploying ceph 14.2.21. I even wonder how you could do that actually.
you must use ceph-ansible stable-4.0 in order to deploy Ceph Nautilus (which is, by the way, EOL)

What you expected to happen: Get the result is NULL ,when run the command "ceph orchestrator host ls". and run the command "ceph orchestrator device ls {ceph01}" error: File "/usr/share/ceph/mgr/orchestrator.py", line 946, in _oremote return mgr.remote(o, meth, *args, **kwargs) File "/usr/share/ceph/mgr/mgr_module.py", line 1381, in remote args, kwargs) RuntimeError: Remote method threw exception: Traceback (most recent call last): File "/usr/share/ceph/mgr/ssh/module.py", line 450, in get_inventory self._require_hosts(hosts) File "/usr/share/ceph/mgr/ssh/module.py", line 211, in _require_hosts unregistered_hosts)))) RuntimeError: Host(s) '{ceph01}' not registered

In any case, this has nothing to do with ceph-ansible.
Although I suspect you are facing an issue because of your setup/environment, you might want to open a tracker issue at https://tracker.ceph.com/ in the right component.

@guits thanks for you reply.
I changed some code for ceph-ansible stable-6.0 to deploy ceph 14.2.21

@guits thanks for you reply. I changed some code for ceph-ansible stable-6.0 to deploy ceph 14.2.21

🤮
you are in an unsupported configuration, I don't see a good reason for doing that.


Substruct for 2 scanning methods

Add a sub structure for the vulnerable files to separate them from the following different scanning methods:

Binary https://github.com/bluestoneag/log4j-scanner

done by @janlauber

Powershell Script https://github.com/bluestoneag/log4j-scanner-powershell

done by @michaelmumenthaler

this has no need, won't do


Firefox syntax error

Firefox too has issues with destructuring
SyntaxError: missing = in destructuring declaration
On both firefox 56 stable and 57 beta.

Thanks! I'll fix this up.


Separate verification from performance tests

Right now, tests both check the performance by computing BW, timing, running the same test n_iter times, as well as the accuracy of the solution by comparing the results to a known analytical solution.
Even if the implementation of the test is similar, the two type of tests require different input parameters. i.e. no need to run the same computation 1000 times to check its accuracy and performance tests require larger meshes for example.
Several options could be used:

Writing distinct tests depending on the goal and have a cmake option to switch between one set or the other.
For each feature, having both tests in a single file and change the inputs based on:

an environment variable
a command line parameter
a compile time variable
...?

other option?

Any other option to consider?
@pbartholomew08 @semi-h

(I think I'd vote for an environment variable as that's the easiest to handle and use in this kind of scenario)


Using Postgres SELECT DISTINCT ON (...) syntax

Hi there, I'm using ent with the sql.DB integration for a Postgres database and was wondering if it's possible to use a SELECT DISTINCT ON (...) clause in ent (possibly using query modifiers?). I haven't had much luck figuring it out on my own and was wondering if someone here might be able to help (or confirm it's not possible).
For context, the SELECT DISTINCT ON: https://www.geekytidbits.com/postgres-distinct-on/
Thanks!

Hey @patrickdevivo 👋
I can try to help with that. Can you please paste here an example of the query you want to execute and the expected result (e.g. nodes, aggregation, scan to a custom struct)?

Sure, thanks @a8m - so the query I'd like to run looks something like:
SELECT DISTINCT ON (col1, col2) * FROM my_table ORDER BY col1, col2, id DESC

Which basically returns a limited set of rows from my_table - same schema as my ent model representing nodes from my_table, but fewer items returned than a SELECT * from my_table. Ideally, the query above would scan to the ent-generated struct for the model.
I've given it a shot with the sql query modifiers, but it doesn't seem possible (though I may be missing it) to "insert" the DISTINCT ON (...) phrase between the SELECT and the column list (and the FROM, ORDER BY etc) using the query builder. Maybe it's possible with the WriteString method? But I haven't had luck yet.
Does that help?


Booking of appointments at partners' test centers

Feature description
After implementing #498, you should also implement that appointments can be booked via the apps.
I think of a map where you can look for the nearest test center and then book an appointment.
Problem and motivation
Users have first to go to the website to look, which partners do tests and then they have to click through all the (currently 6) websites to look for an appointment near their place of residence.
Is this something you're interested in working on
No.

Is this a duplicate of #398?

Closed because of #398.


Unexpected token in Twitter Json dump

Hi, thank you for this great tool...but unfortunately I am not able to run it :(
Infact, i get this error while trying to convert a HUGE (but almost a small) twitter stream:
I call json2csv from the command line:
PS C:\Users\Lorenzo> json2csv -i C:\Users\Lorenzo\Desktop\prova2.json -f created_at,id
I get this:
module.js:590
throw err;
^
SyntaxError: C:\Users\Lorenzo\Desktop\prova2.json: Unexpected token { in JSON at position 9749
at Object.parse (native)
at Object.Module._extensions..json (module.js:587:27)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at getInput (C:\Users\Lorenzo\AppData\Roaming\npm\node_modules\json2csv\bin\json2csv.js:56:13)
at C:\Users\Lorenzo\AppData\Roaming\npm\node_modules\json2csv\bin\json2csv.js:102:3
at getFields (C:\Users\Lorenzo\AppData\Roaming\npm\node_modules\json2csv\bin\json2csv.js:47:5)
please help :)

What does the data look like at position 9749?

I do not know. It is a massive dump of Twitter stream, so it's actually hard to say for me...but I have been trying with many other twitters.json and keeps giving error messages like that. I restricted to just this few tweets but still gives error messages. I am running python 2.7.13 (Anaconda).
Could you try this json for me please?
{"created_at":"Fri Mar 17 09:03:17 +0000 2017","id":842662614689890304,"id_str":"842662614689890304","text":"#craftbeer CIGAR CITY BREWING Hunahpu's Stout METAL TACKER SIGN craft beer brewery brewing https://t.co/FA8ilyRM1R","source":"\u003ca href="https://ifttt.com" rel="nofollow"\u003eIFTTT\u003c/a\u003e","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":823466156229095425,"id_str":"823466156229095425","name":"CraftBeers365","screen_name":"CraftBeers365","location":"Drink Responsibly ! ","url":"http://amzn.to/2jS9uze","description":"Craft Beers 365 #craftbeer #brewery #homebrew #beer #biere #cerveza","protected":false,"verified":false,"followers_count":738,"friends_count":1720,"listed_count":0,"favourites_count":503,"statuses_count":985,"created_at":"Mon Jan 23 09:43:25 +0000 2017","utc_offset":null,"time_zone":null,"geo_enabled":false,"lang":"fr","contributors_enabled":false,"is_translator":false,"profile_background_color":"F5F8FA","profile_background_image_url":"","profile_background_image_url_https":"","profile_background_tile":false,"profile_link_color":"1DA1F2","profile_sidebar_border_color":"C0DEED","profile_sidebar_fill_color":"DDEEF6","profile_text_color":"333333","profile_use_background_image":true,"profile_image_url":"http://pbs.twimg.com/profile_images/823467310551801856/m3MKWxSq_normal.jpg","profile_image_url_https":"https://pbs.twimg.com/profile_images/823467310551801856/m3MKWxSq_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/823466156229095425/1485164904","default_profile":true,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":null,"is_quote_status":false,"retweet_count":0,"favorite_count":0,"entities":{"hashtags":[{"text":"craftbeer","indices":[0,10]}],"urls":[{"url":"https://t.co/FA8ilyRM1R","expanded_url":"http://ift.tt/2mw9DXp","display_url":"ift.tt/2mw9DXp","indices":[91,114]}],"user_mentions":[],"symbols":[]},"favorited":false,"retweeted":false,"possibly_sensitive":false,"filter_level":"low","lang":"en","timestamp_ms":"1489741397913"}
{"created_at":"Fri Mar 17 09:05:11 +0000 2017","id":842663089879334913,"id_str":"842663089879334913","text":"RT @AustinDarbo: Rozay's luxury raps are back \ud83d\ude29\ud83d\ude29\ud83d\ude29\n\n"cigars in the Oval Office Ronald Regan, heard Barack Obama whisper assalamu alaikum "","source":"\u003ca href="http://tapbots.com/tweetbot" rel="nofollow"\u003eTweetbot for i\u039fS\u003c/a\u003e","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":91124351,"id_str":"91124351","name":"#FindingYourFort\u00e9","screen_name":"Ceepz","location":"London","url":"http://bit.ly/29myR8m","description":"Sometimes I do podcasts | To live, hear and capture different experiences and perspectives. #TheFort\u00e9 ceepz@the-forte.co.uk","protected":false,"verified":false,"followers_count":2268,"friends_count":838,"listed_count":61,"favourites_count":5747,"statuses_count":156401,"created_at":"Thu Nov 19 15:24:02 +0000 2009","utc_offset":0,"time_zone":"London","geo_enabled":false,"lang":"en","contributors_enabled":false,"is_translator":false,"profile_background_color":"050505","profile_background_image_url":"http://pbs.twimg.com/profile_background_images/750409852/947d378de0d126e12a185b3beae00481.jpeg","profile_background_image_url_https":"https://pbs.twimg.com/profile_background_images/750409852/947d378de0d126e12a185b3beae00481.jpeg","profile_background_tile":true,"profile_link_color":"15532A","profile_sidebar_border_color":"FFFFFF","profile_sidebar_fill_color":"030303","profile_text_color":"807E80","profile_use_background_image":true,"profile_image_url":"http://pbs.twimg.com/profile_images/841034434652573697/BbjOCq5s_normal.jpg","profile_image_url_https":"https://pbs.twimg.com/profile_images/841034434652573697/BbjOCq5s_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/91124351/1393425470","default_profile":false,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":null,"retweeted_status":{"created_at":"Thu Mar 16 12:14:02 +0000 2017","id":842348226959310848,"id_str":"842348226959310848","text":"Rozay's luxury raps are back \ud83d\ude29\ud83d\ude29\ud83d\ude29\n\n"cigars in the Oval Office Ronald Regan, heard Barack Obama whisper assalamu alaikum "","source":"\u003ca href="http://twitter.com/download/iphone" rel="nofollow"\u003eTwitter for iPhone\u003c/a\u003e","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":42198821,"id_str":"42198821","name":"Austin","screen_name":"AustinDarbo","location":"London, England","url":null,"description":"Senior Editor - @Spotify : Former Music Manager at BBC Radio 1Xtra","protected":false,"verified":true,"followers_count":13042,"friends_count":1084,"listed_count":109,"favourites_count":14957,"statuses_count":219,"created_at":"Sun May 24 11:26:34 +0000 2009","utc_offset":0,"time_zone":"London","geo_enabled":false,"lang":"en","contributors_enabled":false,"is_translator":false,"profile_background_color":"000000","profile_background_image_url":"http://abs.twimg.com/images/themes/theme14/bg.gif","profile_background_image_url_https":"https://abs.twimg.com/images/themes/theme14/bg.gif","profile_background_tile":false,"profile_link_color":"000000","profile_sidebar_border_color":"000000","profile_sidebar_fill_color":"000000","profile_text_color":"000000","profile_use_background_image":false,"profile_image_url":"http://pbs.twimg.com/profile_images/834924700044308481/fok-q0rk_normal.jpg","profile_image_url_https":"https://pbs.twimg.com/profile_images/834924700044308481/fok-q0rk_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/42198821/1481924811","default_profile":false,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":null,"is_quote_status":false,"retweet_count":9,"favorite_count":15,"entities":{"hashtags":[],"urls":[],"user_mentions":[],"symbols":[]},"favorited":false,"retweeted":false,"filter_level":"low","lang":"en"},"is_quote_status":false,"retweet_count":0,"favorite_count":0,"entities":{"hashtags":[],"urls":[],"user_mentions":[{"screen_name":"AustinDarbo","name":"Austin","id":42198821,"id_str":"42198821","indices":[3,15]}],"symbols":[]},"favorited":false,"retweeted":false,"filter_level":"low","lang":"en","timestamp_ms":"1489741511207"}
{"created_at":"Fri Mar 17 09:06:08 +0000 2017","id":842663332104540160,"id_str":"842663332104540160","text":"Quorn sausages look like cigars","source":"\u003ca href="http://twitter.com/download/iphone" rel="nofollow"\u003eTwitter for iPhone\u003c/a\u003e","truncated":false,"in_reply_to_status_id":null,"in_reply_to_status_id_str":null,"in_reply_to_user_id":null,"in_reply_to_user_id_str":null,"in_reply_to_screen_name":null,"user":{"id":102484141,"id_str":"102484141","name":"\u2694\ufe0f","screen_name":"Scott_Ryan_","location":null,"url":null,"description":null,"protected":false,"verified":false,"followers_count":2156,"friends_count":2069,"listed_count":40,"favourites_count":37305,"statuses_count":71139,"created_at":"Wed Jan 06 21:25:35 +0000 2010","utc_offset":0,"time_zone":"London","geo_enabled":true,"lang":"en","contributors_enabled":false,"is_translator":false,"profile_background_color":"C0DEED","profile_background_image_url":"http://abs.twimg.com/images/themes/theme1/bg.png","profile_background_image_url_https":"https://abs.twimg.com/images/themes/theme1/bg.png","profile_background_tile":false,"profile_link_color":"1DA1F2","profile_sidebar_border_color":"C0DEED","profile_sidebar_fill_color":"DDEEF6","profile_text_color":"333333","profile_use_background_image":true,"profile_image_url":"http://pbs.twimg.com/profile_images/837374994724372484/Kgm-axiO_normal.jpg","profile_image_url_https":"https://pbs.twimg.com/profile_images/837374994724372484/Kgm-axiO_normal.jpg","profile_banner_url":"https://pbs.twimg.com/profile_banners/102484141/1489436049","default_profile":true,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":null,"is_quote_status":false,"retweet_count":0,"favorite_count":0,"entities":{"hashtags":[],"urls":[],"user_mentions":[],"symbols":[]},"favorited":false,"retweeted":false,"filter_level":"low","lang":"en","timestamp_ms":"1489741568958"}

this is the complete file. It is
Uploading tweets.txt…

The attachment upload didn't finish

right.... sorry, can u see it now?
tweets.txt

What is the command you are running against this?

nvm, see it in the top.

You have invalid json:

Error: Parse error on line 80:
...: "1489741397913"} {	"created_at": "Fr
----------------------^
Expecting 'EOF', '}', ',', ']', got '{'

the objects are not in an array, and there is no comma between each object

this is weird...it's been streamed directly from Twitter...

Sounds like something in your python process doesn't output the data correctly.

infact with on-line converters it does actually work. Maybe i lost something during python/json2csv installation. As far as I know, the only desktop tool that converts JSONs is 120$ every year

How are you streaming the JSON to a file? Have code you can share?

I am using this:
https://github.com/mdredze/twitter_stream_downloader

I think you'll have to submit an issue over there 👍  I'll close this for now, if the issue is resolved in that other project, but you still run into problems, feel free to comment here and I'll reopen.

Ok. Sorry for bothering, but I believe there must be something wrong in my own python/anaconda/json2csv setup.
This time i am attaching a world bank json file which i have successfully converted to CSV using https://konklone.io/json/ and https://json-csv.com/. I guess that jsonlint.com as a validator does not work as keeps giving the same error even in this new file. Maybe it's a "newer" json file format?
Anyway, trying to convert world_bank.json with json2csv i get this:
PS C:\WINDOWS\system32> json2csv -i C:\Users\Lorenzo\Desktop\world_bank.json
module.js:590
throw err;
^
SyntaxError: C:\Users\Lorenzo\Desktop\world_bank.json: Unexpected token { in JSON at position 6858
at Object.parse (native)
at Object.Module._extensions..json (module.js:587:27)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at getInput (C:\Users\Lorenzo\AppData\Roaming\npm\node_modules\json2csv\bin\json2csv.js:56:13)
at C:\Users\Lorenzo\AppData\Roaming\npm\node_modules\json2csv\bin\json2csv.js:102:3
at getFields (C:\Users\Lorenzo\AppData\Roaming\npm\node_modules\json2csv\bin\json2csv.js:47:5)
It is the same exact error i got with other uncorrupted files. The l ast lines maybe mean that my npm or node.js are not working well?
world_bank.txt

From Twitter developers:
(https://dev.twitter.com/streaming/overview/processing)
"JSON data
The individual messages streamed by this API are JSON encoded. Keep in mind that the attributes of a JSON-encoded object are unordered - do not rely on fields appearing in any given order. Also keep in mind that your JSON parser should tolerate unexpected or missing fields."
So I guess this is it: i need to find another parser? Or is there any -option i can specify in order to have json2csv tolerate missing fields or unexpected tokens? I tried with -a but nothing.

So they return a valid json object, but since you have more then one (rows), it's your job to turn them into an array.
So for each record you get { "somekey": "somevalue" }, which is valid json by itself, but this isn't:
{ "somekey": "somevalue" }
{ "somekey": "somevalue" }

You need to convert it to:
[
  { "somekey": "somevalue" },
   { "somekey": "somevalue" }
]

ok, so
2017-03-18 18:18 GMT+01:00 Ilya Radchenko<EMAIL_ADDRESS>
So they return a valid json object, but since you have more then one
(rows), it's your job to turn them into an array.
So for each record you get { "somekey": "somevalue" }, which is valid
json by itself, but this isn't:
{ "somekey": "somevalue" }
{ "somekey": "somevalue" }
You need to convert it to:
[
{ "somekey": "somevalue" },
{ "somekey": "somevalue" }
]
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/zemirco/json2csv/issues/166#issuecomment-287560574,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXb91b3e593dHq2AkJF7dzM0fwochC2Pks5rnBHlgaJpZM4MguVs
.

OK, So i should put every tweet i stream from [] ?? thousands :/
2017-03-18 21:58 GMT+01:00 Lorenzo Romani<EMAIL_ADDRESS>
ok, so
2017-03-18 18:18 GMT+01:00 Ilya Radchenko<EMAIL_ADDRESS>
So they return a valid json object, but since you have more then one
(rows), it's your job to turn them into an array.
So for each record you get { "somekey": "somevalue" }, which is valid
json by itself, but this isn't:
{ "somekey": "somevalue" }
{ "somekey": "somevalue" }
You need to convert it to:
[
{ "somekey": "somevalue" },
{ "somekey": "somevalue" }
]
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/zemirco/json2csv/issues/166#issuecomment-287560574,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXb91b3e593dHq2AkJF7dzM0fwochC2Pks5rnBHlgaJpZM4MguVs
.


Grafana fresh install Error: ./run: line 36: unsigned_plugins: unbound variable

Hi,
I have just installed TeslaMate for the first time. I believe that I have done everything correctly and according to your instructions.
TeslaMate and Postgres start without any problems.
my yml:
plugins:
  - natel-discrete-panel
  - natel-plotly-panel
  - pr0ps-trackmap-panel
  - grafana-piechart-panel
custom_plugins:
  - name: panodata-map-panel
    url: >-
      https://github.com/panodata/panodata-map-panel/releases/download/0.16.0/panodata-map-panel-0.16.0.zip
    signed: true
env_vars:
  - name: GF_SECURITY_ADMIN_USER
    value: myuser
  - name: GF_SECURITY_ADMIN_PASSWORD
    value: mypass
ssl: false
certfile: fullchain.pem
keyfile: privkey.pem

Log from first start:
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting

-----------------------------------------------------------
 Add-on: Grafana
 The open platform for beautiful analytics and monitoring
-----------------------------------------------------------
 Add-on version: 9.1.1
 You are running the latest version of this add-on.
 System: Home Assistant OS 11.2  (amd64 / generic-x86-64)
 Home Assistant Core: 2024.1.0
 Home Assistant Supervisor: 2023.12.0
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[19:21:42] INFO: Configuring timezone (Europe/Berlin)...
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-nginx: starting
s6-rc: info: service init-grafana: starting
s6-rc: info: service memcached: starting
s6-rc: info: service memcached successfully started
[19:21:42] INFO: Starting Memcached...
s6-rc: info: service init-nginx successfully started
✔ Downloaded and extracted natel-discrete-panel v0.1.1 zip successfully to /var/lib/grafana/plugins/natel-discrete-panel

Please restart Grafana after installing or removing plugins. Refer to Grafana documentation for instructions if necessary.

✔ Downloaded and extracted natel-plotly-panel v0.0.7 zip successfully to /var/lib/grafana/plugins/natel-plotly-panel

Please restart Grafana after installing or removing plugins. Refer to Grafana documentation for instructions if necessary.

✔ Downloaded and extracted pr0ps-trackmap-panel v2.1.4 zip successfully to /var/lib/grafana/plugins/pr0ps-trackmap-panel

Please restart Grafana after installing or removing plugins. Refer to Grafana documentation for instructions if necessary.

✔ Downloaded and extracted grafana-piechart-panel v1.6.4 zip successfully to /var/lib/grafana/plugins/grafana-piechart-panel

Please restart Grafana after installing or removing plugins. Refer to Grafana documentation for instructions if necessary.

✔ Downloaded and extracted panodata-map-panel v0.16.0 zip successfully to /var/lib/grafana/plugins/panodata-map-panel

Please restart Grafana after installing or removing plugins. Refer to Grafana documentation for instructions if necessary.

s6-rc: info: service init-grafana successfully started
s6-rc: info: service grafana: starting
s6-rc: info: service grafana successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service legacy-services: starting
[19:21:47] INFO: Starting Grafana...
s6-rc: info: service legacy-services successfully started
[19:21:47] INFO: Setting GF_SECURITY_ADMIN_USER to myuser
[19:21:47] INFO: Setting GF_SECURITY_ADMIN_PASSWORD to mypass
./run: line 36: unsigned_plugins: unbound variable
[19:21:48] INFO: Service Grafana exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service nginx: stopping
[19:21:48] INFO: Service NGINX exited with code 256 (by signal 15)
s6-rc: info: service nginx successfully stopped
s6-rc: info: service init-nginx: stopping
s6-rc: info: service grafana: stopping
s6-rc: info: service grafana successfully stopped
s6-rc: info: service init-grafana: stopping
s6-rc: info: service memcached: stopping
s6-rc: info: service init-nginx successfully stopped
s6-rc: info: service init-grafana successfully stopped
[19:21:48] INFO: Service memcached exited with code 0 (by signal 0)
s6-rc: info: service memcached successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-timezone: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service base-addon-timezone successfully stopped
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped

I had the same problem and have just managed to fix it. In your YAML config change:
signed: true
to
unsigned: true
The README doc shows "signed: false" which also doesn't work for me and causes this same error.
Cheers

@kingchimp
thx, it works now.


Cannot run these scripts inside a FreeNAS Jail (!#/bin/bash does not exist)

I'm unable to run these scripts inside my FreeNAS Jail for Transmission. After some digging I found that #!/bin/bash isn't available inside the Jail. For additional information see:
https://www.truenas.com/community/threads/startup-scripts-finally-working.71459/#post-494560
https://rainbowhackerhorse.github.io/bash-Is-Not-sh/
I changed the #!/bin/bash line to #!/usr/bin/env bash and now the scripts run. I don't know if this is something that needs to be changed in the scripts of maybe a special version for FreeBSD/FreeNAS/Jails?

@Mannekino You are right, #!/usr/bin/env bash is needed on FreeBSD. Do you think it would be ok to centralize all FreeBSD problem in ticket #30? That way, the people start working on porting the scripts to FreeBSD can find everything they need on one single ticket.

Yes, that would be a good idea. Continue in that one. Close this one.


Add explanation about whois package

Resolve https://github.com/DannyCork/python-whois/issues/34

thanks


Invalid Discriminator

[1.16.5]
Everytime I punch with a fist or anything in hand, this spams console

Any idea why? Or how to fix?

I have tested this with the latest version and I don't see it happening. I did do some changes here and there. I will close this for now. If it still pops up, send me a message.


Revised API methods related to 'standard' input

no idea where to set "use_ref" in eimap_ref.yaml.  Developed it locally and not yet tried the updated add_eimap_references.py in HPC.


Primitives are not drawn

Create a new primitive:

Cube
-Sphere
Plane
-Etc
The mesh is not drawn

This happens in the Engine branch

With no assets imported and nothing else in the scene primitives work just fine


Create set of common automation recipes

In order to help folks with common automation challenges it would be nice to have a repository with recipes and showcases that is tested and applicable for users through copy&paste.
As an example page for tests I recommend guineapig.webdriver.io. We can follow the format we find on the Cypress recipe repo.
Any suggestions on format, and use cases? I could easily think of:

download/upload (local vs remote)
drag&drop
API mocking
usage of react$ and react$$
usage of page objects
...?

Additional suggestions:

Use of multiple configuration files
Use of multiple browsers

Use of containers / docker for browsers

Use of custom commands
Test Runner configurations

Additional suggestions:

run webdriverio in variety of pipelines (e.g. GH Action, GitLab etc.)

@ckenst would you be open to work on this? Happy to provide help!

@ckenst would you be open to help work on this? Happy to provide help!

Yes! I think I want to start with custom commands (it's something I'm working on now at work).
Separate question, should we open discussions for this repo? Might make asking questions / chatting a bit easier than and not through Issues.

Yes! I think I want to start with custom commands (it's something I'm working on now at work).

Awesome, thanks. I will make you a contributor if you aren't already.

Separate question, should we open discussions for this repo? Might make asking questions / chatting a bit easier than and not through Issues.

Opened the discussions tab, good idea!

Added a couple of command examples that are referenced within the official docs based on this PR: https://github.com/webdriverio/webdriverio/pull/9808
I think we can always add more examples, so contributions are welcome.


toString can call existing user-defined toString through ADL incorrectly

Description
In existing user bases, toString may already be declared for some existing types - with a different return type. In our case, we had a version std::string toString(Foo*) - this doesn't work in two contexts:

When comparing for equality e.g. CHECK_NE(ptr, nullptr);, two different toString overloads get called in stringifyBinaryExpr - Foo* gets a std::string result, and nullptr gets a doctest::String result. Concatenation fails since the types are distinct.
In a similar context, when using a decomposable check, e.g. CHECK(ptr != nullptr);, Expression_lhs calls toString on the input type, gets a std::string, and proceeds to pass it into doctest::Result (which fails since it contains doctest::String instead.

I understand that the fact that toString is picked via ADL is a feature, but this means that codebase under test needs to be redesigned to use a different name than toString which seems suboptimal.
For us any solution that makes these checks compile would work:

Handle cases when toString returns a std::string by wrapping the call in an extra conversion function (that has overloads for std::string; maybe toString(toString(v))? :)
Proxy the call through some helper that validates whether toString impl returns a doctest::String (unsure how...)
Provide a config option that disables the use of ADL by qualifying the toString calls with doctest:: (we use operator<< to provide custom type display)

Please let me know if I can help implement one of these, happy to submit a PR.
Steps to reproduce
https://gcc.godbolt.org/z/TYfKrKG5M
namespace App {
    struct Foo {};
    std::string toString(Foo*) { return "Foo"; }
}

TEST_CASE("test") {
    App::Foo foo;
    CHECK(&foo != nullptr);
    CHECK_NE(&foo, nullptr);
    CHECK(&foo);
}

Extra information

doctest version: 2.4.6
Compiler+version: MSVC 2019

Sorry for the late reply, but you know how it goes - focus on the fluff and delay whatever requires any thought!
Option 1 is tricky because it would require either including <string> (which might be inevitable and maybe delaying that is wrong - maybe should remove doctest::String altogether...) or forward-declaring it which would be hard/nasty, so I'd say a PR with option 3 would be best if there aren't other ways to fix this. There's another issue regarding toString - not sure if it's related.
On a side note, I'm stepping away from the development of doctest - this is the announcement saying why and how it would go down, so the project is looking for maintainers. The work isn't too much so if you have anyone in mind... :)

We're forward declaring std::string anyways at this point. So why not go for 1. :)
I guess one concern would be people returning their own string class from toString.. I'll give this some more thought, the option of having toString called twice would definitely solve it, but we already have too many config options!
#639

Ok, so other compilers do not like having std::string forward declared! So we'll go with the likely superior option of allowing customization of the stringification method via macros, allowing for people to use double stringification if they so choose! I'll get to this tomorrow.

Fixed in dev!

Just want to confirm that DOCTEST_CONFIG_DOUBLE_STRINGIFY solves this for us, thank you for the fix!


could not play video on MediaPlayer

Something wrong with codec, the video can not play with MediaPlayer, but works with Clipchamp

Thank you, I have confirmed that the CI artifact videos are not playable in some players including Windows Media Player (they are playable in VLC).
I don't know the solution now and will fix it in the future. For reference, the video is mainly generated by the following two lines of commands in the CI.
https://github.com/isri-aist/BaselineWalkingController/blob/5ad8f2d677925823019b103c2f23ca0e58479fdb/.github/workflows/ci.yaml#L277
https://github.com/isri-aist/BaselineWalkingController/blob/5ad8f2d677925823019b103c2f23ca0e58479fdb/.github/workflows/ci.yaml#L304


Clicking remote links on turbolinks cached pages before new page is loaded

I'm seeing that if a remote link is clicked on a turbolinks cached page after it is requested (navigating back to the page) and before turbolinks:load:

if the click is done early in the cycle, ajax:success event is triggered on the remote link, and the remotely loaded content is not displayed after turbolinks:load

if the click is done later in the cycle, ajax:success event is not triggered, and the remotely loaded content is displayed

I have a listener for ajax:success on document (loaded once on first page load) to act on the remotely loaded content. In the 2nd scenario, this fails because the ajax:success event is not triggered and the remotely loaded content is displayed.
Scenarios 1 and 2 occur for me with Chrome 58.0.3029.110 Sierra 10.12.5. In Firefox and Safari, I haven't seen the remotely loaded content being displayed (scenario 1, with clicks anytime during the cycle).

I was not able to reproduce this. Are you still experiencing this issue?


added floating effect and also aligned the divs

BEFORE
https://github.com/user-attachments/assets/3206292a-5055-4de9-8d4b-c809f58a627c
AFTER
https://github.com/user-attachments/assets/7f2d26bc-acd5-4116-97b4-4c61ed0754cd

@Shobhit1729Aryan Your pull request has been successfully merged! Don't stop here—continue contributing by addressing more issues and aiming to become a top contributor. Exclusive swag awaits for those who go the extra mile!
Great contribution to GSSOC'24 EXTENDED! 🎉


how did you deal with hungarian.so?

I get an error about hungarian.so, as follows:
/tmp/work/munkres/hungarian.so: cannot open shared object file: No such file or directory
I have googled it ,but didn't get much solution.
I will be so glad if you can solve it for me.
Thank you.

Hi, sorry for the late reply.
hungarian.so is an op library for TensorFlow, which can fast solve the max-cost max-matching problem by the Hungarian algorithm. The implementation is borrowed from this repo. You can compile the lib following the instructions in this repo. Thanks for reminding me this problem.


add message-type push and validate commands

Description
** Describe what, why and how of the changes clearly and concisely. Add any additional useful context or info, as necessary. **
Todos
** List any todo items necessary before merging, if any. Delete if none. **

[ ] Sample todo item 1
[ ] Sample todo item 2

Tasks
** Link to task(s) or issue(s) which this PR corresponds to. Example: KNO-54 **
Screenshots
** Attach any screenshots or recordings to visually illustrate the changes, as necessary. Delete if not relevant. **

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#466  👈 (View in Graphite)
#465
#460
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


[Bug] [kompile] - Axioms not emitted for in_keys

K Version
Tell us what version of K you are using.
Example:
$ kompile --version
RV-K version 1.0-SNAPSHOT
Git revision: c305b58
Git branch: master
Build date: Thu Feb 11 02:07:22 EET 2021

Description
According to https://github.com/kframework/k/blame/master/k-distribution/include/kframework/builtin/domains.md#L440 , kompile should emit simplification axioms for in_keys(M:Map K |-> _), but it does not, at least not when it compiles for the Haskell backend.
Input Files
File: tmp.k
module TMP
  imports BOOL
  imports K-EQUAL
  imports MAP
  imports MAP-KORE-SYMBOLIC

  syntax A ::= a(Map) | "void"
  syntax KItem ::= A

  configuration <k color="green"> .K </k>

  syntax KItem ::= lhs(variables:Map) [function]
  rule lhs(Variables:Map) => a(6 |-> 1 7 |-> 2 8 |-> 3 Variables)

  syntax KItem ::= mapSet(key:KItem, Map)
  rule mapSet(K:KItem, M:Map) => 1
    requires K in_keys(M)

  rule  a(M) => mapSet(6, M)

endmodule

Reproduction Steps
kompile tmp.k --backend haskell

then search for all axioms for Lbl'Unds'in'Unds'keys'LParUndsRParUnds'MAP'Unds'Bool'Unds'KItem'Unds'Map in tmp-kompiled/definition.kore. None of those is a translation of, say, rule K:KItem in_keys(M:Map K |-> _) => true.
Expected Behavior
tmp-kompiled/definition.kore should contain a translation for the in_keys axioms mentioned above.
I have also attached my definition.kore file.
definition.kore.txt

Before trying anything else, can we see if it's fixed by pulling these rules out of the comment block so they actually are included in th edefinition? https://github.com/kframework/k/blame/master/k-distribution/include/kframework/builtin/domains.md#L440

I think this fixes the issue. BTW, the ceil rule in the comment seems to be generated anyway, so we would probably need to uncomment only the in_keys rules.

However, uncommenting them produced some infinite cycles in my semantics, not sure if it's an issue in the semantics or in the in_keys definition. However, this rule seems to work fine (most likely #as _:Map is not needed):
  rule X:KItem in_keys((Y:KItem |-> _:KItem M:Map) #as _:Map)
        => X ==K Y orBool X in_keys(M)
    [simplification]

@virgil-serbanuta can you post the example where the original rule inifinite loops?
I'm worried about your variant of the rule, because it has the potential to increase term size in general. The original rules strictly reduce termsize.

tmp.k:
module TMP
  imports MAP-SYMBOLIC

  syntax KItem ::= f(Map) [function, functional]
  rule f(_:Map) => 1
  syntax KItem ::= a(KItem)

endmodule

tmp-proof.k:
module TMP-PROOF
  imports TMP

  claim a(f(_ |-> _ _:Map) => 1)
endmodule

bash:
kompile tmp.k --backend haskell && kprove tmp-proof.k --debugger --debug-script kast.kscript

Are we able to see the list of rules in the cycle that this produces? It's really unclear how the cycle is happenning giving the original rules, but it seems like its because the definedness check for the Map is causing the cycle.

However, uncommenting them produced some infinite cycles in my semantics, not sure if it's an issue in the semantics or in the in_keys definition.

Those rules are generated automatically by the frontend, when translating the semantics to Kore. The reason is that the axioms must be generated for every sort hooked to Map, especially cell collections. We can't write the rules for cell maps in K directly, so we generate the axioms in the frontend. If you uncomment those rules from domains.md, I'm not surprised that everything goes wrong! I will inspect the definition.kore to see if the generated rules are present.

I find that the #Ceil axiom is emitted correctly. The comment in domains.md is not accurate, the frontend only has code for that axiom. It does not emit the in_keys axioms. The backend handles the hooked function.


FamiliarLockout and UnknownLockout

Currently these entries state: "...this indicates if the user is currently in a state of lockout for correct password attempts..."
Shouldn't this be for incorrect password attempts?

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

ID: d8634165-2ff5-9b01-e3fc-17827360a5f3
Version Independent ID: a5a91921-3193-93ad-df22-d486e65b19f8
Content: Configure AD FS Extranet Lockout Protection
Content Source: WindowsServerDocs/identity/ad-fs/operations/Configure-AD-FS-Extranet-Smart-Lockout-Protection.md
Product: windows-server-threshold
GitHub Login: @billmath
Microsoft Alias: billmath

This request is only asking for a typo correction in the article, why has it been open for so long without resolution?

Sorry @xXxOlivierxXx I did not get a notification that this was assigned to me. Not usually my area of expertise but that sounds accurate. I can get this added to my backlog to update or if you would like to make the edit with the edit button at the top of the page I am happy to approve the PR.

It's all good. I just corrected likes 296 and 298, replaced the word "Correct" with "Incorrect"


⚠ Bofrost.de has degraded performance

In f8e8b08, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1233 ms

Resolved: Bofrost.de performance has improved in 85a755a.


Add placeholder_color

Added placeholder_color configuration option that changes placeholder text color!
Hopefully everything is ok and I can become a more major contributer to Hypr stuff in the future (I got pretty moved by the blogpost).
Honestly the implementation is sketch af though, although it works on all cases I've tested it.

placeholder text can already be changed with pango markup

placeholder text can already be changed with pango markup

I feel like this would be a nice abstraction instead of having to do pango markup. I personally had to go through issues to figure it out. (that might be a skill issue on my part but still)

it's clear in the docs even with a link?

this could be useful as "authentication failed" doesn't use pango markdown

I'd prefer configuring the text there and not color

what about adding fail_color instead
and maybe on failure change both placeholder and outer color?
one problem with fail placeholder color being reverted, like it is now:
if i use #1b1b1b and #e4e4e4 it's invisible
its ok grayish background, but not if fg/bg are nearly inverted by themselves

u mean just use markup like for normal placeholder?

mhm

gonna look at it later
i suppose it is possible to extract parsed color to reuse?

dont think so


Improve POT Generation dialog

When no file is added for POT generation, clicking the Generate POT button prints a warning:

core/config/project_settings.cpp:367 - Property not found: internationalization/locale/translations_pot_files

I see a few users, including myself, missed this warning and get confused about the POT file not generated. The Generate POT button is now disabled when the list is empty, like buttons for other lists in the dialog.
There are also two "property not found" warnings when adding a file for the first time:

core/config/project_settings.cpp:367 - Property not found: internationalization/locale/translations_pot_files
core/config/project_settings.cpp:367 - Property not found: internationalization/locale/translations_pot_files

This is fixed by defining it first with GLOBAL_DEF_INTERNAL() in project settings.

Thanks!


Missing build.sbt?

Is that intended that there are no build.sbt?... for the folders

scala-stream-collector
scala-common-enrich
scala-hadoop-enrich
scala-hadoop-shred
stream-enrich

That would make it way easier to use IntelliJ to edit project, in order to resolve dependencies and build indexes.

Hi @simplesteph,
Yes we used old so called Build.scala SBT syntax. You can find definitions in project directories. And Intellij IDEA should handle these without problems (at least it does for me).
Anyway, Build.scala has been deprecated some time ago and we're switching to build.sbt: https://github.com/snowplow/snowplow/issues/3056, https://github.com/snowplow/snowplow/issues/2972

Hi @chuwy . Yup it works when I open the subfolder with intellij, but not if I open the top level, so I guess that's an IntelliJ limitation.

@simplesteph by top level do you snowplow repository itself? In that case, yes it doesn't work and I suppose it wouldn't even with build.sbt. And that's for purpose. snowplow/snowplow is a monorepo with different projects, many of them are not even Scala, so it wouldn't make much sense to provide single build definition.


Adding GSOC 2021 Organisation List

ISSUE: Last Year's Organisation list needs to be added in the csv format to the repository and hence the website.
Idea: Working with any automation tool (Last time used Selenium Library in Python), to build a web crawler for getting all the organizations in the archive repo of GSOC 2021 along with technologies used.

Would love to do this


fix null point bug: （PMConvertUtils.convertPathToMap） entity id or…

I meet the null point bug on special picture. It's rarly happen. I only receive one bug report on reallity online production environment.
But my QA colleague recurrence this case on one Apple Phone, so I must fix the bug.
Method stack:
Thread 12 Crashed:
0   CoreFoundation                  __exceptionPreprocess + 216
1   libobjc.A.dylib                 objc_exception_throw + 56
2   CoreFoundation                  -[__NSCFString characterAtIndex:].cold.1 + 0
3   CoreFoundation                  -[__NSPlaceholderDictionary initWithObjects:forKeys:count:].cold.5 + 0
4   CoreFoundation                  -[__NSPlaceholderDictionary initWithObjects:forKeys:count:] + 240
5   CoreFoundation                  +[NSDictionary dictionaryWithObjects:forKeys:count:] + 56
6   MyAppleProject                  +[PMConvertUtils convertPathToMap:] (PMConvertUtils.m:0)
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[1]
UserInfo:(null)'

Closing in flavor of #714.


Navbar issues with Batchdownloader since last update

Hello,
Thanks for the great theme, I love it !
I have an issue since the last update (of the theme, piwigo or batchdownloader I'm not sure ) : the secondary-navbar div is overflowing (only with large width, not on mobile)
Exemple here : https://tibey.fr/index.php?/category/131
I read about _plugin_fixes_js.tpl, but I already have it in my template folder, is there something special to do with it ?
Thanks in advance
BatchDownloader v12a
Piwigo v13.4.0
Bootstrap Darkroom v2.5.14

Ok I got it, it's actually bootstrap darkroom which is not compatible yet with PHP 8.0 (forgot I also updated that). Closing the ticket.


Butterknife v8.2.0+ breaks lint with android gradle plugin 2.2.0

Logs with v8.4.0: https://gist.github.com/mik9/73b62458be405ad322dd096e24d7ecef
Logs with v8.1.0: https://gist.github.com/mik9/6f84925acb104420e4e1193d073a5053
Sample project to reproduce: https://www.dropbox.com/s/qej8tqaevm7rd8z/ButterknifeLintFail.zip?dl=0
Run ./gradlew lintDebug to see problem.

@mik9 I am not seeing this at all. Can you upload your project to Gtihub? I have no lint issues with 8.4.0 here: https://github.com/jaredsburrows/android-gif-example.

This happens when you're using Retrolambda without the special lombok fork that adds lambda support. Until ButterKnife's lint checks are updated to the JetBrain's PSI model instead of Lombok this error will continue to happen (unless you apply the lombok fix for Retrolambda).


Error in cerebellum command with ccfv2 annotation

When running
atlas-direction-vectors direction-vectors cerebellum
with the ccfv2 annotation, I get this error:
File "/gpfs/bbp.cscs.ch/home/lcristel/BBP/atlas_pipelines/atlas-direction-vectors/atlas_direction_vectors/algorithms/layer_based_direction_vectors.py", line 289, in compute_layered_region_direction_vectors
    raise AtlasDirectionVectorsError(
atlas_direction_vectors.exceptions.AtlasDirectionVectorsError: Layer region ids were not correctly assigned from the layer_queries
Layered region ids: [0 1 3 4]
layer queries: ['SIMmo', 'SIMpu', 'SIMgr', 'cbf']

Instead, the isocortex command works with both the ccfv2 and ccfv3 annotation.
Is this expected?
If yes, shall we mention in the README that the cerebellum command is to be run with only a ccfv3 annotation?

@drodarie, I did use the combined ccfv2 annotation. Does it work for you?

My apologies, I tested this code with an annotation atlas which has the Purkinje layer.
A simple fix will be to adapt or remove the test condition regarding the length of queries, in layer_based_direction_vectors.py line 288:
    if len(ids[ids != 0]) > len(layer_queries):
        raise AtlasDirectionVectorsError(
            f"Layer region ids cannot be assigned from the layer_queries\n"
            f"Layered region ids: {ids}\n"
            f"layer queries: {layer_queries}"

I will create a pull request so we can discuss this implementation.


Deleting/Saving Images Does Not Work In Product Pages

Spec- Deleting an image must delete it. & should allow the new upload to be saved successfully.

Testing scenario:

Did a test on STMB0600 in DEV,

Current Scenario :
Product has 4 images in PIM.
Image 1 : https://cdnakc.azureedge.net/products/stmb0600.jpg?fm=webp?h=60
Image 2 : https://cdnakc.azureedge.net/products/stmb0600-technical-iso.jpg?fm=webp?h=60
Image 3 : https://cdnakc.azureedge.net/products/stmb0600-technical-side.jpg?fm=webp?h=60
Image 4 : https://cdnakc.azureedge.net/products/stmb0600-technical-end.jpg?fm=webp?h=60

When we open the slug only 3 images are showing in FE.
Image 2 is missing. > https://cdnakc.azureedge.net/products/stmb0600-technical-iso.jpg?fm=webp?h=60

When we search the product by opening the site again only 3 images are displayed.
Same image 2 missing > https://cdnakc.azureedge.net/products/stmb0600-technical-iso.jpg?fm=webp?h=60

Step 1 : Deleted Image 4 > https://cdnakc.azureedge.net/products/stmb0600-technical-end.jpg?fm=webp?h=60
Clicked on delete icon and clicked on SAVE at the bottom of the page.
Expected Result : Image should be deleted.
Actual Result : Image didn't delete.

Step 2 : Cleared cache and ran cache invalidatior

Step 3 : Checked again, still 4 images in PIM and 3 images in FE both in slug and site.

Step 4 : Deleted the image again from PIM.
Expected Result : Image should be deleted.
Actual Result : Image didn't delete.

There seems to inconsistent behavior of the platform.

Need to check with Sanjay / Pradeep.

As you can see from  the video, if you delete an image, drag/upload a new image and hit save,  it refreshes and goes back to the one that was deleted seconds before. Could this be looked into asap please?

Kind regards,

George Millard

Link to feature: https://bettercommerce.productboard.com/feature-board/planning/features/14211506


Create losal high school

This seems to be a secondary school; this database is for higher education (post-secondary) schools. Closing.


Bolding questions

Simple but small change to make the questions stand out.

@DaveVoyles : Thanks for your contribution to the Azure documentation! The author, @nk773, has been notified to review your proposed change.

#sign-off

@j-martens: I'm sorry - only the author of this article, @nk773, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Fix OfferWizard Visual Bug in OfferBenefitForm and OfferConditionForm

A fix for the Issue I created #2818
Before

After

It also reduced the number of queries by one

Thanks for this - it looks good to me. Can you please add a test in https://github.com/django-oscar/django-oscar/blob/master/tests/functional/dashboard/test_offer.py that verifies this fix - i.e., that going to step 3 and then going back doesn't result in errors on the step 2 form?

There, I had to divert from using the form variable from WebTest because I could not find any errors through that. Please tell me what you think of the naming of the test cases.

Looks good - thank you!


CPipelineBarrierCmd and CWaitEventsCmd need the definitions of S{Buffer/Image}MemoryBarrier

Relevant commit from #345
https://github.com/Devsh-Graphics-Programming/Nabla/pull/345/commits/ed3948b6d0ff286d9687c91e6d7e1e1c541a6926
To move createCommandBuffers to IGPUCommandPool we need access to ICommandBuffer<>::E_LEVEL enum but we can't include IGPUCommandBuffer.h in IGPUCommandPool.h.
Above won't compile because of circular include, gives non-sensical completely unrelated errors.

I also want to address and clean up this TODO: https://github.com/Devsh-Graphics-Programming/Nabla/blob/ed3948b6d0ff286d9687c91e6d7e1e1c541a6926/include/nbl/asset/ICommandBuffer.h#L24

Fixed in the Vk 1.3 upgrade


Revert "disk_util: use FAT32 on ESP"

This reverts commit 7f058d61a10384ca81c88245c4ff80c08f89ad6b.
Reverting because of bug 2284 [1] where grub will sometimes fail due to
memory corruption. This is not the cause of the bug, and the bug can
even be reproduced with this reversion, but it seems to occur less when
not using fat32.
[1] https://github.com/coreos/bugs/issues/2284

Typo fix for clarity: fail due to.

fixed s/do/due


Reset global timeouts after the request finishes

:(
Hat tip to @RickCSong for spotting this.

:+1:

Nice catch.

@zanker any objections if I will cut 0.8.6 gem?

Or you can cut yourself (I have updated readme to reflect changes ;))

Ah.. Somebody cut it before I thought of it ;))

:+1: Yay!


[BallerinaToOpenAPI][master]Fix cyclic array record resolving issue

Purpose

Avoid stack flower issue for record has

type ResponseError03 record {|
    int? id;
    ResponseError03[] resError?;
|};

FIx #wso2-enterprise/choreo#10791
Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

Don't we need to add validations for the following scenarios as well?
type ResponseError record {|
    int? id;
    ResponseError? resError;
|};

type ResponseError record {|
    int? id;
    ResponseError[]? resError;
|};

type ResponseError record {|
    int? id;
    ResponseError[]? resError?;
|};

Tool support for nullable record scenario 01 and I will add the test for it, For scenario 2, 3 still current tools won't support the record array nullable scenarios, I created the issue for the track the array nullable scenarios.

type ResponseError record {|
    int? id;
    ResponseError[]? resError;
|};

type ResponseError record {|
    int? id;
    ResponseError[]? resError?;
|};

Yeah, we need it, current tool already supports scenario 1, I will add the test for it. :) , scenario 2 and scenario 3 won't support by tool yet, I created the issue to track this https://github.com/ballerina-platform/openapi-tools/issues/869


Has anyone tried running containerd with alternative runtime ( i.e. non runc) ?

I think some people do, as long as they follow runc cli interface contract it will work


Quickfix single s/blank/nil/

I need this to be .nil? so that this won't throw an error in an application I'm working on.
Have a look the comment on this by jkraemer.

This has already been fixed in version 0.3.1, I just forgot to push to master...

Ohh wow thanks for making a new tag just for me :)


left & right arrows don't display

The right and left arrows on my picker are not displaying
They still work but I cannot see them
What might I being doing wrong

Hi, could it be that you have just forgotten to include the fonts in your package
The files you get in the distribution are required, especially the iconpicker.woff.

They are included, still no arraows

How about showing me a live version with the problem? I can't know why
because it works fine in our demo.
Also make sure you have propers cors header in case you are using CDN.
On Tue 6 Nov, 2018, 9:14 PM rlirwin1138<EMAIL_ADDRESS>wrote:

They are included, still no arraows
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fontIconPicker/fontIconPicker/issues/9#issuecomment-436299155,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABjFVcu-s7PJkp5psSWbFV3heyGMVuSbks5usa5IgaJpZM4XLfIA
.


table bootstrap 4 beta hidden

Hello!
how can i do the same in bootstrap 4 https://jsfiddle.net/bpseeh1g/2/
I want to do ... when it's in tablets and mobiles to only show cells 1 and 6 and hide cells 2,3,4,5
in desktops and laptops to show all the cells 1,2,3,4,5,6
I’m waiting for every answer!
thank you :)

d-none d-sm_table-cell
hi there is a lot of issue with answer about this please read them

@jipexu
thank you for your immediate answer!
but I do not get the result I want
https://jsfiddle.net/kjsm5k1p/24/

what you expect ?

@jipexu
I want to do ... when it's in tablets and mobiles to only show cells 1 and 6 and hide cells 2,3,4,5
in desktops and laptops to show all the cells 1,2,3,4,5,6

so it's work on your fiddle (why not use d-sm-table-cell instead of -block) your fiddle work for me ...

@jipexu
you can show it to me at https://jsfiddle.net
to understand it;
Thanks

for me it is not working.... https://jsfiddle.net/kjsm5k1p/29/

Sorry, but we cannot help with how-to or general troubleshooting issues here; only bug reports and feature requests. You'll want to ask around in the official Slack team or Stack Overflow. See our readme for more details.

@Johann-S sorry
@dpertal https://jsfiddle.net/sh57bp8e/1/
works or i dont understand what you want ...