support GNU Social

seems to be fully ostatus compatible, i just haven't gotten an end to end test all the way through in testing. next step for me is to add a PuSH hub to snarfed.org's atom, which is where it currently stops:
2017-09-11 14:09:12 LOG_DEBUG: [localhost:49561.bf2ad337 POST /main/salmon/user/1] Salmon envelope parsing failed with: FeedSubNoHubException
2017-09-11 14:09:12 LOG_DEBUG: [localhost:49561.bf2ad337 POST /main/salmon/user/1] action.php - User error '400' on 'usersalmon': FeedSubNoHubException
2017-09-11 14:09:12 LOG_ERR: [localhost:49561.bf2ad337 POST /main/salmon/user/1] Handled clientError (400) but cannot output into desired format (NULL): 'FeedSubNoHubException'

Tried sending this like to https://gnusocial.net/notice/13746139 , got an ugly HTML 500 response to the AP inbox delivery request:
W 2023-01-17 03:32:16.995925+00:00
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/oauth_dropins/webutil/util.py", line 1598, in call resp.raise_for_status()
File "/layers/google.python.pip/pip/lib/python3.9/site-packages/requests/models.py", line 1021, in raise_for_status raise HTTPError(http_error_msg, response=self)
E 2023-01-17 03:32:17.070592+00:00 : 502 Bad Gateway: 500 Server Error: Internal Server Error for url: https://gnusocial.net/user/1/inbox.json ;

Internal Server Error
Argument 1 passed to Activitypub_explorer::get_profile_from_url() must be of the type string, array given, called in /var/www/gnusocial/plugins/ActivityPub/actions/apinbox.php on line 68

AS2 object that was delivered to https://gnusocial.net/user/1/inbox.json:
{
  "published": "2023-01-16T19:32:08-08:00",
  "content": "likes admin de [gnusocial.net](http://gnusocial.net/) (administrator@[gnusocial.net](http://gnusocial.net/))\u2019s status on Sunday, 15-Jan-2023 17:44:44 CET \u2013 [gnusocial.net](http://gnusocial.net/)",
  "url": "https://fed.brid.gy/r/https://snarfed.org/2023-01-16_admin-de-gnusocial-nets-status-on-sunday-15-jan-2023-174444-cet",
  "actor": {
    "url": "https://fed.brid.gy/r/https://snarfed.org/",
    "image": {
      "url": "https://secure.gravatar.com/avatar/947b5f3f323da0ef785b6f02d9c265d6?s=96&d=blank&r=g",
      "type": "Image"
    },
    "type": "Person",
    "name": "Ryan Barrett",
    "icon": {
      "url": "https://secure.gravatar.com/avatar/947b5f3f323da0ef785b6f02d9c265d6?s=96&d=blank&r=g",
      "type": "Image"
    },
    "id": "https://fed.brid.gy/snarfed.org",
    "preferredUsername": "[snarfed.org](http://snarfed.org/)"
  },
  "@context": "https://www.w3.org/ns/activitystreams",
  "type": "Like",
  "object": "https://gnusocial.net/object/note/13746139",
  "id": "https://fed.brid.gy/r/https://snarfed.org/2023-01-16_admin-de-gnusocial-nets-status-on-sunday-15-jan-2023-174444-cet",
  "cc": [
    "https://gnusocial.net/index.php/user/1",
    "https://www.w3.org/ns/activitystreams#Public",
    "https://gnusocial.net/index.php/user/404464",
    "https://gnusocial.net/user/1/followers.json"
  ],
  "to": [
    "https://www.w3.org/ns/activitystreams#Public"
  ]
}

gnusocial.net instance details are https://gnusocial.net/doc/about, but I couldn't find the version it's running. GNU Social site is https://www.gnusocial.rocks/, repo and bug tracker is at https://notabug.org/diogo/gnu-social/issues. I went there to report a bug, but that part of the site is down, and the rest is slow and barely loads either. A well.

Last commit on https://notabug.org/diogo/gnu-social/commits/master was 2y ago. Mailing list has been basically inactive for about the same length of time: https://lists.gnu.org/archive/html/social-discuss/ . Is GNU Social dead?

Is GNU Social dead?

Not quite, but it doesn't appear to be popular: https://fedidb.org/software/gnusocial
The flagship instance appears to have only 13 existing accounts that were created this year: https://gnusocial.net/directory/users?sort=created&reverse=true


Support for additional problem severities/translations

Brief Issue Summary
When invoking cppcheck via CMake (https://cmake.org/cmake/help/latest/prop_tgt/LANG_CPPCHECK.html) while building the output is unfortunately not parsed into the Problems Tab; albeit the output is formated in the same style as compiler warnings or clang-tidy output (which both generate entries in the problem tab).
I assume the parsing and problem generation is part of CMake-Tools - if not, please give me a pointer, where this happens and whom to address this problem to.
If this is already a known problem: Is there a workaround?
Minimal example
System
Tested with Ubuntu 20.04, gcc 9.3.0, CMake 3.16.3 + Ninja, VS Code 1.63.2, CMakeTools 1.9.2
main.cpp
#include <cstdlib>
#include <iostream>

int main(int argc, char **argv) // Will trigger compiler warning (unused parameter)
{
    // Triggers clang-tidy bugprone-infinite-loop
    std::string s{"Foo"};
    std::cout << "Size of " << s << " is " << sizeof(s);

    // Trigger cppcheck style [knownConditionTrueFalse]
    bool const known = true;
    if (known)
    {
        std::cout << "Bar" << std ::endl;
    }

    return EXIT_SUCCESS;
}

CMakeLists.txt
cmake_minimum_required(VERSION 3.16)

project(vscode-problem-parser-test
        LANGUAGES CXX)

add_executable(vscode-ppt main.cpp)

target_compile_features(vscode-ppt
PRIVATE
    cxx_std_17
)

target_compile_options(vscode-ppt
PRIVATE
    -Wall -Wextra -Wpedantic -Wshadow
)

find_program( CLANG_TIDY_EXE
    NAMES "clang-tidy"
    DOC "Path to clang-tidy executable"
)
if( NOT CLANG_TIDY_EXE OR ( CLANG_TIDY_EXE STREQUAL "CLANG_TIDY_EXE-NOTFOUND" ))
    message( WARNING "clang-tidy not found")
else()
    set( CLANG_TIDY_COMMANDLINE "${CLANG_TIDY_EXE}" "--checks=-*,bugprone-*")
    set_target_properties(vscode-ppt
        PROPERTIES CXX_CLANG_TIDY "${CLANG_TIDY_COMMANDLINE}"
    )
endif()

find_program( CPPCHECK_EXE
    NAMES "cppcheck"
    DOC "Path to cppcheck executable"
    )
if( NOT CPPCHECK_EXE OR ( CPPCHECK_EXE STREQUAL "CPPCHECK_EXE-NOTFOUND" ))
    message( WARNING "cppcheck not found")
else()
    get_target_property(TGT_CXX_STANDARD vscode-ppt CXX_STANDARD)
    set( CPPCHECK_COMMAND "${CPPCHECK_EXE}" "--inline-suppr" "--enable=warning,style" "--std=c++${TGT_CXX_STANDARD}")
    set_target_properties( vscode-ppt
      PROPERTIES CXX_CPPCHECK "${CPPCHECK_COMMAND}"
    )
endif()

CMake/Build output
[build] Starting build
[proc] Executing command: /usr/bin/cmake --build /home/rombach/src/sandbox/build --config Debug --target all -j 26 --
[build] [1/2  50% :: 0.713] Building CXX object problem-parser-test/CMakeFiles/vscode-ppt.dir/main.cpp.o
[build] /home/rombach/src/sandbox/build/../problem-parser-test/main.cpp:8:47: warning: sizeof() doesn't return the size of the container; did you mean .size()? [bugprone-sizeof-container]
[build]     std::cout << "Size of " << s << " is " << sizeof(s);
[build]                                               ^
[build] Checking ../problem-parser-test/main.cpp ...
[build] ../problem-parser-test/main.cpp:12:9: style: Condition 'known' is always true [knownConditionTrueFalse]
[build]     if (known)
[build]         ^
[build] ../problem-parser-test/main.cpp: In function ‘int main(int, char**)’:
[build] ../problem-parser-test/main.cpp:4:14: warning: unused parameter ‘argc’ [-Wunused-parameter]
[build]     4 | int main(int argc, char **argv) // Will trigger compiler warning (unused parameter)
[build]       |          ~~~~^~~~
[build] ../problem-parser-test/main.cpp:4:27: warning: unused parameter ‘argv’ [-Wunused-parameter]
[build]     4 | int main(int argc, char **argv) // Will trigger compiler warning (unused parameter)
[build]       |                    ~~~~~~~^~~~
[build] [2/2 100% :: 0.786] Linking CXX executable problem-parser-test/vscode-ppt
[build] Build finished with exit code 0

Problems tab

Obviously the [knownConditionTrueFalse] does not show up, which is very unfortunate.

We currently only pick up specific messages based on a list of known severities (e.g. 'error', 'warning', etc). We ignore everything else.  The code is here: https://github.com/microsoft/vscode-cmake-tools/blob/bfd15807852712eccae5ec79bb9b2cdafd1c1b39/src/diagnostics/build.ts#L53-L64
One way to address this might be to add a setting that lets developers define their own severity mappings.  This would also allow folks who get translated outputs to actually start getting problems as well.

Thank you very much for the insight! With that information I was able to generate a workaround for cppcheck: using --template="{file}:{line}:{column}: warning: {message} [{severity}]\n{code}" will parse the output as warning to the problems tab.
A user-configurable mapping would indeed be very useful, especially for the integration of other tools...


[vim9class] class/typealias names used as variables and/or values

Steps to reproduce
This issue has backwards compatibility implications.
Using a class/typealias name as a variable or value is not specified.
Either the behavior should be specified or generate an error.
(Opening this issue so it's not overlooked)
May supersede #12961, #13450. May affect #13498
The following generates no error. I believe just about every line should be an error.
vim9script

class C
endclass

class D
endclass

type Ctyp = C

def F(arg: any)
enddef

# Shouldn't all the following be errors?

D = C
D = Ctyp
var x = C
var y = Ctyp

F(C)
F(Ctyp)

var Func: func = F
Func(C)
Func(Ctyp)

var d: dict<any> = {a: C}
var l: list<any> = [C]

def G()
    D = C D = Ctyp
    var x0 = C
    var y0 = Ctyp
    F(C)
    F(Ctyp)
    Func(C)
    Func(Ctyp)

    var d0: dict<any> = {a: C}
    var l0: list<any> = [C]
enddef
G()

# returning a type thing
def F1(arg: bool): any
    if arg
        return C
    else
        return Ctyp
    endif
enddef
F1(true)

Expected behaviour
Unspecified behavior should generate an error. This avoids backward compatibility issues.
Version of Vim
9.0.2092
Environment
ubuntu
Logs and stack traces
No response

Taken care of somewhere in #13637, #13675, #13683, #13688


Where to keep new visualisation scripts

I've been making a lot of changes to the make_figure.py script so that it can run from the files output by network analysis. Would it be more organisationally proper to copy everything I need from make_figures over to visualisation commands and start clean in there? :blossom:

YES! Please do exactly that! visualisations.py or something similar would be perfect 👍

@Islast - if this answers your question you can go ahead and close the issue. If you think there are going to be more discussions on this (I know you're still working on the code) then you can totally leave it open 😄


"TypeError: stdin.setRawMode" when domain is available.

Version: 10.0.0-canary.15
OS: Windows 10
$ now domain buy example.games
> The domain "example.games" is available to buy under <my user>! [1s]
> Error! Unknown error: TypeError: stdin.setRawMode is not a function
TypeError: stdin.setRawMode is not a function
    at module.exports.resolve (C:\snapshot\now-cli\dist\now.js:1386:11)
    at new Promise (<anonymous>)
    at module.exports (C:\snapshot\now-cli\dist\now.js:1383:10)
    at module.exports (C:\snapshot\now-cli\dist\now.js:2756:30)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)

Still getting this on version 10.2.2. But now I'm also getting it on now domain add example.com.

Using git bash (mintty 2.8.3) on Windows 10 still.

same here =/

Thank you so much for the effort you have put into this issue! 😊
However, since we completely re-worked the entire codebase of Now CLI and this issue does not apply to the new code anymore, I'm closing it now.
You can read more about our biggest release yet here: https://zeit.co/blog/now-2


Project Diagnostics button has inconsistent padding

Check for existing issues

[X] Completed

Describe the bug / provide steps to reproduce it
The Project Diagnostics button has inconsistent (larger) padding with the other buttons in the bottom bar.
Environment
Zed: v0.106.0 (preview)
OS: macOS 13.6.0
Memory: 8 GiB
Architecture: x86_64
I confirmed the issue occurs on stable builds as well
If applicable, add mockups / screenshots to help explain present your vision of the feature

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.
No response

cc @iamnbutler

The issue was fixed in Zed Preview 0.119.3. Thanks and good work!


Transform 200 OK from ArcGIS Server into more RESTful responses

Hi folks,
In integrating AWS's CloudFront with this proxy we had a need to receive errors from ArcGIS Server with more RESTful HTTP Status headers (AGS's default being to pass all errors back as 200 OK responses).
CloudFront has some nice smarts for handling 4xx/5xx error codes and serving up a previously cached good response instead of an error (as well as setting TTLs for errors independent of good responses, et cetera). ArcGIS Online + the local AGS instances we're dealing with intermittently throw errors at times when under load, so gracefully handling errors for the user was quite important to us.
We hacked in a fix for this to the proxy locally and I wanted to see if you had any desire for a PR of a cleaned up version. The changes thus far are at https://github.com/keithmoss/resource-proxy/commit/745094375b335d88d49184d571bf6fc7ef89e68a.

Thanks @keithmoss for your suggestion. I agree that having more RESTful responses would be nice.  However, for now, in this resource-proxy, for backward compatibility (and compatibility with current ArcGIS Server/Portal) we want to keep the errors as 200 OK responses containing the error messages.


Join Prototype [out for design comments]

@dannychenmsft @rtaket @michaelcfanning I'm experimenting with implementing Joins via a corrector, which replaces the value of a term like "AllAdminUsers:#Q1[Alias]" with the values found by running the "Q1" query against the "T1" table and then getting all values for alias. I already had TermInQuery, which handles largeish "IN" queries efficiently, and correctors handle the replacement smoothly.

I sent an email - I like this overall but I think it could be done as an implementation of a query rather than a method on the calling code.


ImportError: cannot import name 'LMScorer'

When I run the preprocess.py, some errors occur.
Have anyone encountered with this problem?

It's probably due to the changes in lm-scorer.
In the current version, LMScorer is called by
from lm_scorer.models.auto import AutoLMScorer as LMScorer
https://pypi.org/project/lm-scorer/


Unable to process images

Hi I want to OCR an image using your MATAB code but I am facing some issues. Details are as follows:

OS = Ubuntu 16.04.5

MATLAB Version: R2017a

My OcrDefaults.m
%% Default Configuration function out = OcrDefaults   out.ImageDir  = 'C:\shape\OCR Program\Handwritten';   out.ImageFile = 'C:\shape\OCR Program\Handwritten\test1.png';   out.TemplateFile = 'C:\shape\OCR Program\Mnist Dataset\train-images.idx3-ubyte';   out.TrainedData = 'C:\shape\Matlab OCR\Data\TrainedData_handyosef.mat';   out.gaussianSigma = 1.5;   out.gaussianSize = 1;   out.hysteresis = [100, 170];   out.numberEdges = 100;   out.transformCycles = 2;   out.tpsRigidity = 10000;   out.kNNsize = 3; end

Error Message:
`>> ocr
Cell contents reference from a non-cell array object.
Error in CombineCharacters (line 7)
borderLIST(k, 1, :) = min(edgesLIST{k});
Error in ocr (line 5)
COMBINED = CombineCharacters(EDGES);`
Can you please help me fix this issue.

What is the value of edgesLIST{k}?

Looks like it's a bug in the ocr.m file:
https://github.com/yosefmiller/shape-context-ocr/blob/1109350e08419a5d4d55014e161342b3ce362ab3/Matlab OCR/ocr.m#L4-L5
It should be changed to:
CANNY    = CannyEdgeDetection(IMG);
COMBINED = CombineCharacters(CANNY.edgesLIST);

Good luck!


cache: provide FsCache utility for concurrent caches

Implement the basic linux API calls required for concurrent file-system locking and storage. On top of this, implement the FsCache utility class which implements a concurrent file-system storage that supports parallel readers and writers, as well as size constraints.
The FsCache class is rather trivial in its API, but complex in how it guards its file-system accesses. It is not yet hooked up into osbuild/objectstore.py, but the API provides the required calls. Note that @gicmo has a pending simplification of the objectstore, so maybe we can try landing that first.
This is a rather basic implementation regarding the feature-set. No cache-pruning or cache maintenance is implemented. However, the current implementation should be enough to see how such extended features can be added.
Lastly, note that this uses O_TMPFILE right now, but apparently this still does not work in most CI systems with docker+overlayfs. This explains the CI failures of test-modules. I will have a look whether I can replace it with actual temp-files.
Comments on the design, implementation, and future extensions are highly welcome!

(No longer uses O_TMPFILE, hence ready to run on overlayfs and older kernels.)

(replaced os.path.getsize() with os.lstat() to fix ENOENT in the integration PR)

Last update includes:

Avoid Literal[]-typing and use str instead for py-3.6 compatibility.
Allow os.PathLike as input for the cache-path.

PR #1187 is 🟢, codecov here is very likely a fluke and not worth an extra run, I think this is good to go.


When the test main clock is advanced, call ComposeScene.render with the current test time

Proposed Changes
In order to sync the composition with the with the test main clock, call ComposeScene.render whenever the test main clock is advanced.
Unfortunately, I couldn't figure how to do this like Android does, so I hope this way will be good enough.
Android appears to use a TestMonotonicFrameClock (with the scheduler advanced by the MainTestClock) in place of our BroadcastFrameClock as the parent clock for Recomposer.runRecomposeAndApplyChanges(). This means that when the main test clock advances, Recomposer wakes up (from parentFrameClock.withFrameNanos) and runs a recomposition.
For us, however, using Recomposer.runRecomposeAndApplyChanges() with a TestMonotonicFrameClock is difficult, because it would require ComposeScene.frameClock (currently a BroadcastFrameClock) to be TestMonotonicFrameClock when running in a test context. Unfortunately, ComposeScene is rather tightly coupled with BroadcastFrameClock.
Testing
Test: Added a unit test to verify that when the main test clock is advanced, a recomposition will happen correctly.

Note that I had to modify AbstractMainTestClock which is in commonMain. We should probably upstream it, but not urgently, as it's an internal class.

And a general question.
As I understand, currently the only way to sync the Recomposer with the clock is to call waitForIdle which calls renderNextFrame. And with this change, the sync is happening automatically. Is that right?
I want to better understand why do we need to make this sync happen automatically? To align the behaviour with android? Or is there something else?

As I understand, currently the only way to sync the Recomposer with the clock is to call waitForIdle which calls renderNextFrame. And with this change, the sync is happening automatically. Is that right?

Yes, but not exactly. waitForIdle advances everything until the system is idle. Here we only want to advance our ComposeScene.frameClock to match the time of the test clock.

I want to better understand why do we need to make this sync happen automatically? To align the behaviour with android? Or is there something else?

Yes. We want to match Android's behavior, described here: https://developer.android.com/jetpack/compose/testing#sync-auto


All options of OpenCV are gone?

This is not a bug report, just a question.
Recently, OpenCV is merged from homebrew/science to homebrew/core. After the merge, it seems the Formula has been entirely changed: all options are gone, OpenCV is by default build with many stuffs, including Python, Python3, ffmpeg, etc. There is no way to disable a module (e.g. Python and Python3), or enable a module (e.g. CUDA).
Just wondering if there is a specific reason for removing all the options of this formula?

Just wondering if there is a specific reason for removing all the options of this formula?

To reduce the support burden that arises from unnecessary source builds, and consequent build failures, and to increase the proportion of users that use a configuration that has been tested by our CI.

this is bull shit!
now it is impossible to have opencv with QT


Hi can i use it !!

<script src="https://raw.githubusercontent.com/sys-256/Duino-JS/main/duino-js.js"></script> <!--imports the Duino-JS miner-->
<script>
    username = "0x0byalix"; //put your username here (e.g. revox, ericddm, snehaislove or Hoiboy19), the default is Hoiboy19.
    rigid = "0x0"; //If you want to change the rig ID, you can change this. If you want to keep using "Duino-JS", you can remove this line.
    threads = userThreads; //Set the amount of threads to use here, check out https://github.com/sys-256/Duino-JS for more options. The default is 1.
    startMiner(); //starts the miner
</script>

Thanks

Yes, this configuration will work. However, you need to download the release files, and then follow these instructions to add it to your website, because Github blocks CORS requests.

Ok thx
On Mon, 27 Sep 2021, 6:12 pm Bram, @.***> wrote:

Yes, this configuration will work. However, you need to download the
release files, and then follow these instructions to add it to your
website https://github.com/sys-256/Duino-JS#usage, because Github
blocks CORS requests.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sys-256/Duino-JS/issues/11#issuecomment-927861744,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU6N5Y7YI2ZEP4XE7TCYXDDUEBUVRANCNFSM5EY4R5SA
.


Problems with Microsoft Account with B2C react

Repo here: https://github.com/trbngr/azure_b2c_react
Using a MS account, the initial login succeeds but, redirects continuously until acquireTokenSilent times out. The next time through everything works perfectly.
This only happens with MS accounts.
relavent code here: https://github.com/trbngr/azure_b2c_react/blob/master/src/redux/auth/actions.js#L32
logs here: https://pastebin.com/eMsBwwUd

Just added Google and it happens as well.

@parakhj

Is it related to this bug: https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/63

@trbngr : could you please try to see if this version of msal.js (in the dev branch) fixes your issue: https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/out/msal.js

That seems to have done it!
Thanks @jmprieur and @DibranMulder

Thanks for the update, @trbngr
BTW, we want to release a new version of msal.js soon (with this fix)
cc: @rohitnarula7176


Remember selected language mode for files

Issue Type: Feature Request
Translated by @jshinonome:
I had a file that is in the format of key-value which should use "Properties" language. When I reopen the file, I have to select "Properties" again in "change Language Mode". I want a feature that I can set default language rather than indicate from filename(.config).
我有一个  .config 文件内部是key-value格式，我想默认这种为properties模式。可惜没有找到。只能每次通过重新选择打开语言来设置。比较繁琐
VS Code version: Code 1.50.1 (d2e414d9e4239a252d1ab117bd7067f125afd80a, 2020-10-13T15:06:15.712Z)
OS version: Windows_NT x64 10.0.19041

Translation:
I had a file that is in the format of key-value which should use "Properties" language. When I reopen the file, I have to select "Properties" again in "change Language Mode". I want a feature that I can set default language rather than indicate from filename(.config).

This sounds like an extension provides the language mode and extension can declare the mode for a file extension. I suggest to follow up with the extension.

yeah. I agree with you . thanks your reback.
--
Thanks & Best Regards,
Sanen_Zhang（张科华）
微信：Sanen-zhang
腾讯：1418227374
手机：15021879141
<EMAIL_ADDRESS>At 2020-10-28 18:05:13, "Benjamin Pasero"<EMAIL_ADDRESS>wrote:
This sounds like an extension provides the language mode and extension can declare the mode for a file extension. I suggest to follow up with the extension.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


ferry_test_graphql remove dependency ferry_exec, but it is just dev_dependencies

it is from #130
https://github.com/gql-dart/ferry/pull/130/commits/029a3c4f7976c405d59dd4457f056884d75cee4f
Can you tell me more info about what you found?

I'm not sure what you're asking here.

I think ferry_exec should be added.
But I noticed you remove it.
It's confusing to me.
I don't understand what your scene was like, although my IDE will report an error as follow

Ah. I understand.
Yes, I purposefully removed the ferry_exec dependency because I use multipack to help manage the monorepo, and multipack can't handle circular dependencies.
The actual published version (on pub.dev) of ferry_gest_graphql includes the ferry_exec dependency though.

closing since this isn't an issue.
I suggest using the discord channel for general discussion about the library.


Timed light indicator only visible when any timed light node is selected

Yay for lengthy title.
Game specs: Skylines 1.10.1-f3 (latest version available).
TM:PE version: 1.10.12 (evidenced by below screenshots).
Other information will be given if requested.
When using TM:PE's timed traffic light tool, I found that timed light are only displayed when a node already connected to any set of timed lights is selected. See below screenshots.
Absense of timed light indicators with no nodes selected.

Absense of timed light indicators with random non-timed node / junction selected.

Timed lights present when any timed light node selected, even if it's not part of the timed light you've selected.

I believe the above to be a bug.
While on the subjects of lights, are the timed indicators supposed to show up when you are using the manual light feature of the mod? They don't at present, and I was wondering if they are missing from there too. If they're not displayed there, could they be?
The timed light overlay works while the TM:PE menu is open, but not when it is closed. I am guessing this is expected behaviour, but am noting it anyway in case it is not.

Expected behavior:
If the "Timed traffic lights" overlay is enabled, timed light icons should show up when the TMPE main menu is opened.
If the overlay is disabled, timed light icons should only show up if the timed traffic light function is selected from the main menu.


is match, but method GET is not

Hi All,
new to using wiremock. I have a API (eg : xyz/v1/abc/) which I have to proxy to a different server.  I am using JSON approach
My question is
the java code calls first get for this API and then POST
But when the post is called, i see the following in wiremock logs
2015-07-16 20:21:32.932 URL /xyz/v1/abc is match, but method GET is not
Can i know how to solve ??

As per the README, please can you post this on the mailing list.


use native function if parameter when appropriate

this avoids a rather large performance hit. (#167)

Ah, this fails when values are not scalar ( which is something that we do support ) 🤔
how about we add a new function instead ( e.g: Dict\unique_scalar )?

Pull Request Test Coverage Report for Build 685870692

2 of 6 (33.33%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 99.863%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Psl/Dict/unique_scalar.php
2
6
33.33%

Totals

Change from base Build 685702919:
-0.1%

Covered Lines:
2918

Relevant Lines:
2922

💛  - Coveralls

Gave it a try to unique_scalar().

Let me know if I can do anything else. I'll be rather busy until for a few hours, but I can come back to this later today or tomorrow. Thanks for all the feedback.


[Quantum] "--max-poll-wait-secs" parameter causes "az quantum job wait" command to fail

Extension name
Quantum extension V0.14.0 and earlier
Description of issue
The az quantum job wait command fails if the --max-poll-wait-secs parameter is used.  The the error message is:
The command failed with an unexpected error. Here is the traceback:
'>=' not supported between instances of 'float' and 'str'
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 658, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 692, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "C:\Users\georgenm\.azure\cliextensions\quantum\azext_quantum\operations\job.py", line 296, in wait
    poll_wait = max_poll_wait_secs if poll_wait >= max_poll_wait_secs else poll_wait * 1.5
TypeError: '>=' not supported between instances of 'float' and 'str'

Fixed by PR 4616


Demos dont work

None of the demos seem to be working.

+1

They did work yesterday, but stopped working today. They show up, some functionality like drag&drop is working, but there's no way adding new elements.

I see problems also with collapsing/expanding.

the function inside ng-click are not called.
data-nodrag might not work anymore ?

yeah, I just checked. replacing data-nodrag by nodrag makes the demo work again.
For example in index.html

Ok, that's why "undefined is not a function" ;)

#154 YES

Closing this issue due to inactivity. See #815 for more information.
Please create a new issue is this still occurs with the current version of the component.


Bad resource table: header size 0x4912 or total size 0xfc6a2e09 is larger than data size 0x3f4ec

Hi
I have new Problem after Update Flutter and Dart .
"--enable-software-rendering".
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...                                       1.5s
Resolving dependencies...                                    7.2s
W/ResourceType( 2284): Bad resource table: header size 0x4912 or total size 0xfc6a2e09 is larger than data size 0x3f4ec
ERROR: dump failed because the resource table is invalid/corrupt.

Oops; flutter has exited unexpectedly: "Exit code 1 from: D:\SDK\build-tools\28.0.3\aapt dump xmltree C:\Users\...\....\scarlett\build\app\outputs\apk\app.apk AndroidManifest.xml".

Please add the output of flutter dictor -v.
Can you reproduce with a new project?
What steps are necessary to reproduce?

Yes no problem to reproduce new project !
and result for doctor -v is :
PS C:\Users\Saleh\Documents\scarlett> flutter doctor -v
[√] Flutter (Channel beta, v0.11.13, on Microsoft Windows [Version 10.0.17134.407], locale en-US)
• Flutter version 0.11.13 at C:\Users\Saleh\flutter
• Framework revision 58c8489fcd (35 hours ago), 2018-11-29 19:20:18 -0500
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
[√] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at D:\SDK
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = D:\SDK
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
• All Android licenses accepted.
[√] Android Studio (version 3.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 31.1.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b01)
[√] VS Code (version 1.29.1)
• VS Code at C:\Users\Saleh\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 2.21.0

Can you please run in the Flutter install directory
git clean -xfd
git stash save --keep-index
git stash drop
git pull
flutter doctor

to ensure your Flutter installation is not corrupted.

Can you please run in the Flutter install directory
git clean -xfd
git stash save --keep-index
git stash drop
git pull
flutter doctor

to ensure your Flutter installation is not corrupted.

Excellent My friend , after the implementation of these commands, the problem was fixed !
Thank you


Improve logging and add proper go contexts

Based on #247
This PR have quite a lot of changes, none of them is a breaking change. Each commit have a good explanation, but here is a summary:

Introduce a new package call ctxlog. This package will provide us with a logging implementation. This package is using the same logging as before, but it just defines common functions that can be accessed from all controllers by passing a context. Also, this package uses a proper go context implementation. We start with a parent context in main.go and inside each build controller we get a children context. With this context we can then pass a proper context to all the client calls we do to k8s during Reconciliation. Now all client calls to k8s goes with a context that have a timeout, this should ensure that calls that take too much are aborted after the timeout, avoiding overloading the system.

The context timeout is configurable via an ENV variable("CTX_TIMEOUT"). I did this thinking in our Deployment YAML, where we can always define it via spec.container.env. It also have a reasonable default which is 300 seconds, meaning that all k8s API calls have 300 seconds as a timeout to finish.
With ctxlog we get a more readable controller logs, for example:

2020-06-04T02:03:24.089+0200	INFO	build	Operator Version: 0.0.1
2020-06-04T02:03:24.089+0200	INFO	build	Go Version: go1.14.2
2020-06-04T02:03:24.089+0200	INFO	build	Go OS/Arch: darwin/amd64
2020-06-04T02:03:24.089+0200	INFO	build	Version of operator-sdk: v0.17.0
2020-06-04T02:03:27.318+0200	INFO	build	Starting the Cmd.
2020-06-04T02:03:27.521+0200	INFO	build.clusterbuildstrategy-controller	Reconciling ClusterBuildStrategy	{"Request.Namespace": "", "Request.Name": "kaniko"}
2020-06-04T02:03:27.521+0200	INFO	build.clusterbuildstrategy-controller	Reconciling ClusterBuildStrategy	{"Request.Namespace": "", "Request.Name": "source-to-image"}
2020-06-04T02:03:27.521+0200	INFO	build.clusterbuildstrategy-controller	Reconciling ClusterBuildStrategy	{"Request.Namespace": "", "Request.Name": "source-to-image-redhat"}
2020-06-04T02:03:27.521+0200	INFO	build.clusterbuildstrategy-controller	Reconciling ClusterBuildStrategy	{"Request.Namespace": "", "Request.Name": "buildpacks-v3-heroku"}
2020-06-04T02:03:27.521+0200	INFO	build.clusterbuildstrategy-controller	Reconciling ClusterBuildStrategy	{"Request.Namespace": "", "Request.Name": "buildpacks-v3"}
2020-06-04T02:03:34.170+0200	INFO	build.build-controller	reconciling Build	{"Request.Namespace": "default", "Request.Name": "kaniko-golang-build"}
2020-06-04T02:03:34.170+0200	INFO	build.build-controller	Add finalizer to Build	{"Build": "kaniko-golang-build", "Namespace": "default"}
2020-06-04T02:04:40.444+0200	INFO	build.build-controller	reconciling Build	{"Request.Namespace": "default", "Request.Name": "kaniko-golang-build"}
2020-06-04T02:04:40.444+0200	DEBUG	build.build-controller	build is marked for deletion	{"Request.Namespace": "default", "Request.Name": "kaniko-golang-build"}
2020-06-04T02:04:40.444+0200	INFO	build.build-controller	Finalize BuildRun automatically	{"Request.Namespace": "default", "Request.Name": "kaniko-golang-buildrun"}

Introduce a new pkg call config. This is intended to host all configurations we might need to use in the controllers later on. At the moment it only defines a field for the above context timeout. In the future we might use this to host other things.

Note: Each commit have a good explanation. I think we still need to improve the logs we dump into STDOUT. Mainly INFO and DEBUG. I will follow up on this after this PR.

/ok-to-test

/lgtm

Also lgtm, and thanks for leading this logging improvement Enrique!
Also FYI @sbose78 and @otaviof ,
This is a logging improvement from whole repo level. We consider to accept it if no any objection.
Thanks all!

/approve


Revapi should only compare with dot-Final versions

Motivation:
By default, revapi will compare with the immediately previous release. In the case of 4.2.0.Alpha2, that would be 4.2.0.Alpha1, which is a pre-release. It should instead only use Final releases for its compatibility checks, and allow us to freely change APIs between alpha-versions.
Modification:
Tell revapi to use a version format that ends with ".Final"
Result:
Revapi now compares our Alpha2-SNAPSHOT builds against 4.1.111, or whatever is the latest 4.1, until we release  4.2.0.Final.

This isn't a problem for the 4.1 branch because we don't do 4.1 pre-releases anymore, but it makes sense to forward merge to main.

@chrisvest thanks a lot!


Create Posts “gwang-ho-humans-of-rangitoto”

Automatically generated by Netlify CMS

👷 Deploy Preview for rangitoto-reporter processing.

Name
Link

🔨 Latest commit
58e79eb70114ed82dcd119efd8610013740068dd

🔍 Latest deploy log
https://app.netlify.com/sites/rangitoto-reporter/deploys/627a27a299b859000980c64d


Graphics: Add AGG

What? AGG v2.5 is under GPL 2.0 license. You can download file from official site and convince of it(it is file copying in archive).
I don't understand what wrong.


fix(Legion Go): Update convolver to one better tuned for legion go.

Adds Legion go tuned convolver config made by @adolfotregosa.

one small note, should change the paths in the convolver to the correct locations for chimeraOS


Hover effect issue in Targets list

In Targets list, when Root Domains popup is open, hover effect is not correct

Fixed!


Fixed spelling errors

[x ] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[x ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@veera-potnis
Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍 We're happy to accept these changes and look forward to future contributions.


Support Django<=1.11 (was: Migrate to parser.add_arguments())

Uses parser.add_arguments() as the previous approach has been deprecated
since 1.8.
Fixes #59.
A possibly downside is that with the change, I have not implemented a solution to allow Django<1.8 to work.
Secondary thoughts: perhaps it'd be better to stop supporting 1.7, seeing as it is not a supported version anymore, and furthermore add test environments for 1.10 and 1.11 while at it?
Ternary thoughts: Should this PR be a PR to remove support for 1.7, whilst adding it for 1.10 and 1.11?

I did some poking around regarding Django support. This is the list of projects that I can find that use Puente:

mozilla/mozillians
mozilla/kuma
mdn/browsercompat
mozilla/addons-server
mozilla/kitsune
mozilla/fjord

The last two are decommissioned--so we can ignore them. The first four are all using Django 1.8.
Given that, I think the following is fine:

we drop support for Django 1.7 -- I'll do that in a separate PR
we add support for Django 1.9 and 1.10 and 1.11-beta if you want to do the work
this PR turns into a "support Django >= 1.9" PR and covers whatever issues exist

Does that sound ok?

Sounds good to me! :)
You mention dropping support for Django 1.7 in a separate PR -- would you like me to leave the test environment for Django 1.7 in tox.ini, or can I remove it whilst adding 1.9, 1.10 and 1.11?
I'm okay with adding the tests for 1.10 and 1.11 to see to it that it all works. (I'm currently running a modified version of puente with 1.10 in production, which works, although I have a documentation suggestion in regards to extension load order.)

I don't think anyone really uses this project, so I don't think I'm going to worry about anyone else at the moment.
I'm game for sharing the work here. What's the easiest path of changes for you?

@thor ^^^ Any preference?

Sorry, busy days @willkg!
I think it'd be fairly easy to add the test configuration, and make any
necessary changes, so I don't mind that.
Either path's approachable either way. :+1:

mar. 2017 02:10 skrev "Will Kahn-Greene"<EMAIL_ADDRESS>
@thor https://github.com/thor ^^^ Any preference?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mozilla/puente/pull/60#issuecomment-283213197, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAOT-WFzQuDHbQRCT0nm0HQRM2tESxMKks5rhMWIgaJpZM4MMesd
.

I landed PR #61 which drops support for jingo and django 1.7 and adds support for python 3.5 and 3.6.
Can you rebase this branch on top of that? That should covers the Django 1.7 issues.

@willkg rebased! I changed the tox setup to only use Python 3.6 for Django 1.11, as it is the only version of Django that supports 3.6. Furthermore, I changed the ´tox.ini´ to use conditonal settings for easier overview. As a small addendum, I edited ´travis.yml´ so that it would have the necessary environments, but also only run the relevant tests for the relevant environment.
If it's a bit too out of scope for the PR, I can remove it, but it seems to tie it up fairly well, I think. 👍

@thor You rock! I appreciate you fixing up tox.ini and .travis.yml.
This looks good to me!


Why does my full integer quantized tflite model crash when loaded?

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
2.16.0-dev20231211
Custom code
Yes
OS platform and distribution
Linux Ubuntu 22.04
Mobile device
Linux Ubuntu 22.04
Python version
3.11
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
CUDA Version: 11.7
GPU model and memory
NVIDIA GeForce 3080
Current behavior?
It should not crash when loading the model
Standalone code to reproduce the issue
Running this code causes "Abort (core dumped)" after `interpreter.allocate_tensors()`:

    interpreter = tf.lite.Interpreter(
        model_path="full_integer_quant_model.tflite"
    )

    interpreter.allocate_tensors()

### Relevant log output

Aborted (core dumped)

Running gdb with `bt` gives this output:

(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737352685376) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=140737352685376) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140737352685376, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff7c42476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff7c287f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007fff7cc99961 in tflite::QuantizeMultiplierSmallerThanOneExp(double, int*, int*) () from /home/huddly/anaconda3/envs/onnx2tf/lib/python3.11/site-packages/tensorflow/lite/python/interpreter_wrapper/_pywrap_tensorflow_interpreter_wrapper.so
#6  0x00007fff7c8e3439 in tflite::ops::builtin::add::Prepare(TfLiteContext*, TfLiteNode*) () from /home/huddly/anaconda3/envs/onnx2tf/lib/python3.11/site-packages/tensorflow/lite/python/interpreter_wrapper/_pywrap_tensorflow_interpreter_wrapper.so
#7  0x00007fff7ccb030e in tflite::Subgraph::PrepareOpsStartingAt(int, std::vector<int, std::allocator > const&, int*) () from /home/huddly/anaconda3/envs/onnx2tf/lib/python3.11/site-packages/tensorflow/lite/python/interpreter_wrapper/_pywrap_tensorflow_interpreter_wrapper.so
#8  0x00007fff7ccb19d8 in tflite::Subgraph::ModifyGraphWithDelegateImpl(TfLiteDelegate*) () from /home/huddly/anaconda3/envs/onnx2tf/lib/python3.11/site-packages/tensorflow/lite/python/interpreter_wrapper/_pywrap_tensorflow_interpreter_wrapper.so
#9  0x00007fff7ccb219f in tflite::Subgraph::ModifyGraphWithDelegate(TfLiteDelegate*) () from /home/huddly/anaconda3/envs/onnx2tf/lib/python3.11/site-packages/tensorflow/lite/python/interpreter_wrapper/_pywrap_tensorflow_interpreter_wrapper.so
#10 0x00007fff7cca30f3 in tflite::impl::Interpreter::ModifyGraphWithDelegateImpl(TfLiteDelegate*) () from /home/huddly/anaconda3/envs/onnx2tf/lib/python3.11/site-packages/tensorflow/lite/python/interpreter_wrapper/_pywrap_tensorflow_interpreter_wrapper.so
#11 0x00007fff7cca2d91 in tflite::impl::Interpreter::ApplyLazyDelegateProviders() () from /home/huddly/anaconda3/envs/onnx2tf/lib/python3.11/site-packages/tensorflow/lite/python/interpreter_wrapper/_pywrap_tensorflow_interpreter_wrapper.so
#12 0x00007fff7cca2bfe in tflite::impl::Interpreter::AllocateTensors() () from /home/huddly/anaconda3/envs/onnx2tf/lib/python3.11/site-packages/tensorflow/lite/python/interpreter_wrapper/_pywrap_tensorflow_interpreter_wrapper.so
#13 0x00007fff7c8a3e21 in tflite::interpreter_wrapper::InterpreterWrapper::AllocateTensors(int) () from /home/huddly/anaconda3/envs/onnx2tf/lib/python3.11/site-packages/tensorflow/lite/python/interpreter_wrapper/pywrap_tensorflow_interpreter_wrapper.so
#14 0x00007fff7c8a069b in pybind11::cpp_function::initialize<pybind11_init__pywrap_tensorflow_interpreter_wrapper(pybind11::module&)::$4, pybind11::object, tflite::interpreter_wrapper::InterpreterWrapper&, int, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg_v>(pybind11_init__pywrap_tensorflow_interpreter_wrapper(pybind11::module&)::$_4&&, pybind11::object ()(tflite::interpreter_wrapper::InterpreterWrapper&, int), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg_v const&)::{lambda(pybind11::detail::function_call&)#1}::__invoke(pybind11::detail::function_call&) () from /home/huddly/anaconda3/envs/onnx2tf/lib/python3.11/site-packages/tensorflow/lite/python/interpreter_wrapper/_pywrap_tensorflow_interpreter_wrapper.so
#15 0x00007fff7c89365f in pybind11::cpp_function::dispatcher(_object, _object*, _object*) () from /home/huddly/anaconda3/envs/onnx2tf/lib/python3.11/site-packages/tensorflow/lite/python/interpreter_wrapper/_pywrap_tensorflow_interpreter_wrapper.so
#16 0x0000000000528527 in cfunction_call (func=0x7fff7d14b920, args=, kwargs=) at /usr/local/src/conda/python-3.11.0/Objects/methodobject.c:542
#17 0x0000000000504f04 in _PyObject_MakeTpCall (tstate=0x8a4e38 <_PyRuntime+166328>, callable=0x7fff7d14b920, args=, nargs=, keywords=0x0) at /usr/local/src/conda/python-3.11.0/Objects/call.c:214
#18 0x00000000005111d3 in _PyEval_EvalFrameDefault (tstate=, frame=, throwflag=) at /usr/local/src/conda/python-3.11.0/Python/ceval.c:4772
#19 0x00000000005caeae in _PyEval_EvalFrame (throwflag=0, frame=0x7ffff7fb0020, tstate=0x8a4e38 <_PyRuntime+166328>) at /usr/local/src/conda/python-3.11.0/Include/internal/pycore_ceval.h:73
#20 _PyEval_Vector (tstate=0x8a4e38 <_PyRuntime+166328>, func=0x7ffff7b984a0, locals=0x7ffff7bf65c0, args=, argcount=, kwnames=) at /usr/local/src/conda/python-3.11.0/Python/ceval.c:6428
#21 0x00000000005ca4ef in PyEval_EvalCode (co=, globals=0x7ffff7bf65c0, locals=) at /usr/local/src/conda/python-3.11.0/Python/ceval.c:1154
#22 0x00000000005ec747 in run_eval_code_obj (tstate=0x8a4e38 <_PyRuntime+166328>, co=0x7ffff7b71790, globals=0x7ffff7bf65c0, locals=0x7ffff7bf65c0) at /usr/local/src/conda/python-3.11.0/Python/pythonrun.c:1714
#23 0x00000000005e8af0 in run_mod (mod=, filename=, globals=0x7ffff7bf65c0, locals=0x7ffff7bf65c0, flags=, arena=) at /usr/local/src/conda/python-3.11.0/Python/pythonrun.c:1735
#24 0x00000000005fcd22 in pyrun_file (fp=fp@entry=0x90e360, filename=filename@entry=0x7ffff7b5c810, start=start@entry=257, globals=globals@entry=0x7ffff7bf65c0, locals=locals@entry=0x7ffff7bf65c0, closeit=closeit@entry=1, flags=0x7fffffffd758) at /usr/local/src/conda/python-3.11.0/Python/pythonrun.c:1630
#25 0x00000000005fc2ef in _PyRun_SimpleFileObject (fp=0x90e360, filename=0x7ffff7b5c810, closeit=1, flags=0x7fffffffd758) at /usr/local/src/conda/python-3.11.0/Python/pythonrun.c:440
#26 0x00000000005fc0a3 in _PyRun_AnyFileObject (fp=0x90e360, filename=0x7ffff7b5c810, closeit=1, flags=0x7fffffffd758) at /usr/local/src/conda/python-3.11.0/Python/pythonrun.c:79
#27 0x00000000005f6bde in pymain_run_file_obj (skip_source_first_line=0, filename=0x7ffff7b5c810, program_name=0x7ffff7118990) at /usr/local/src/conda/python-3.11.0/Modules/main.c:360
#28 pymain_run_file (config=0x88ae80 <_PyRuntime+59904>) at /usr/local/src/conda/python-3.11.0/Modules/main.c:379
#29 pymain_run_python (exitcode=0x7fffffffd750) at /usr/local/src/conda/python-3.11.0/Modules/main.c:601
#30 Py_RunMain () at /usr/local/src/conda/python-3.11.0/Modules/main.c:680
#31 0x00000000005b9a79 in Py_BytesMain (argc=, argv=) at /usr/local/src/conda/python-3.11.0/Modules/main.c:734
#32 0x00007ffff7c29d90 in __libc_start_call_main (main=main@entry=0x5b99d0 , argc=argc@entry=2, argv=argv@entry=0x7fffffffd9a8) at ../sysdeps/nptl/libc_start_call_main.h:58
#33 0x00007ffff7c29e40 in __libc_start_main_impl (main=0x5b99d0 , argc=2, argv=0x7fffffffd9a8, init=, fini=, rtld_fini=, stack_end=0x7fffffffd998) at ../csu/libc-start.c:392
#34 0x00000000005b98ce in _start ()

I have attached the model here (I had to zip it since github doesn't accept .tflite files).
full_integer_quant_model.zip

I see that this PR might fix it. Any idea how I can mitigate this before a fix is merged? How can I ensure real_output_multiplier is under 1?

Hi @pkgoogle ,
I have reproduced the issue in colab on both CPU and GPU. The session has crashed. Please look into the issue
Thank You

Hi @spacycoder, you'll have to get TF source code, make the same modifications as the PR, rebuild TF from source: https://www.tensorflow.org/install/source, install the newly built TF package then try again on your system. Let us know if that resolves the issue or not so that we can prioritize that PR further if it solves more issues. Thanks for your help!

I applied the patch and built tensorflow. However, it still doesn't work.
(gdb) bt
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=140737348053888) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=140737348053888) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=140737348053888, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007ffff7a90476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4  0x00007ffff7a767f3 in __GI_abort () at ./stdlib/abort.c:79
#5  0x00007fffa9363ade in tflite::QuantizeMultiplierSmallerThanOneExp(double, int*, int*) ()
   from <path>/lib/python3.11/site-packages/tensorflow/lite/python/interpreter_wrapper/_pywrap_tensorflow_interpreter_wrapper.so
#6  0x00007fffa8fab409 in tflite::ops::builtin::add::Prepare(TfLiteContext*, TfLiteNode*) ()
   from <path>/lib/python3.11/site-packages/tensorflow/lite/python/interpreter_wrapper/_pywrap_tensorflow_interpreter_wrapper.so
#7  0x00007fffa939aadb in tflite::Subgraph::PrepareOpsStartingAt(int, std::vector<int, std::allocator<int> > const&, int*) ()
   from <path>/lib/python3.11/site-packages/tensorflow/lite/python/interpreter_wrapper/_pywrap_tensorflow_interpreter_wrapper.so
#8  0x00007fffa939c208 in tflite::Subgraph::ModifyGraphWithDelegateImpl(TfLiteDelegate*) ()
   from <path>/lib/python3.11/site-packages/tensorflow/lite/python/interpreter_wrapper/_pywrap_tensorflow_interpreter_wrapper

Hi @spacycoder, can you ensure you have installed a TF-cuda package? i.e.
python3 -m pip install tensorflow[and-cuda]

and
python3 -m pip install tf-nightly[and-cuda]

also please ensure it is working properly:
# should have at least one element in the list
python3 -c "import tensorflow as tf; print(tf.config.list_physical_devices('GPU'))"

Does the above occur with tensorflow[and-cuda]?

It doesn't work with "tensorflow[and-cuda]" at least.
I'm currently having some issues installing tf-nightly with GPU support. So I haven't been able to test that yet.

I am able to replicate with tensorflow[and-cuda], @LukeBoyer, can you please take a look? Thanks.

Closed this issue since it seems to have been an issue with onnx2tf and my specific environment


global pattern doesnt work?

 ngAnnotate: {
            options: {
                singleQuotes: true
            },
            app: {
                files: {
                    'dist/application/min-safe/js/**/*.js': ['./application/js/**/*.js'],

You can't put a global pattern as a destination path in Grunt. Please read the docs to see how it can be done.


REJECTED_FILTER:  (No "include" reference filters matched.)

I ma facing the following problem, when I try to crawl the following URL
REJECTED_FILTER: https://xyz.com/en/india/bangalore (No "include" reference filters matched.)
StartURL <url>https://www.xyz.com/en/india/bangalore/</url>
<filter class="$filterRegexRef" onMatch="include">https://www\.xyz\.com/en/india/bangalore.*</filter>

I have sent you an email with configurations
Thank you

I am also getting the same error.

At first glance, I see nothing wrong with the two lines of configuration you shared.  Can you share your full config?

Were you able to look into this issue? do  You need any further info ?
Thanks

The config you attached does not seem the right one, since it has an obfuscated reference to www.xyz.com/ in it.  That means I cannot tell for sure, but I had a closer look, and I see two potential problems with your config:

Your filter regex is for https://www\.xyz\.com/... while the rejected URL is https://xyz.com/....  Rejection is expected because the rejected URL is missing the required www..
Your config has stayOnDomain="true" which will also reject URLs that do not have www.xyz.com has the domain (with www).

Sorry I just saw your second email. What is an exact URL being rejected with it?  I suspect it is linked to the "stayOnDomain" flag.

I have sent you the log file and the configuration file along with the correct URL.  The error (No "include" reference filters matched.) usually occurs with the website where start URL is http and the website has https redirect. I have also made stayOnDomain = False.

Please test your regular expression using a regex tool (there are several online ones).   I did so with what you sent me and I could quickly find the target URL rejected by your filter does not match your regex.  That is why it is excluded.  Your regex expects a forward slash at the end but the target URL does not have any.  E.g.: https://regex101.com/r/WuTkEF/1

Thanks for the quick response  as always. it is working. Closing the issue


No overloaded method for builder.AddSwashBuckle

builder.AddSwashBuckle(Assembly.GetExecutingAssembly()); does not work in the new 3.2 version. SwaggerDocOptions is required argument. Please update the Getting Started secion on the Code page and explain how and why the doc options are required.

You can either silence the error or use FunctionStartup Instead.
https://stackoverflow.com/questions/10608309/disabling-obsolete-error-in-c-sharp


[BUG]: us_bank_account payment method does not work in webview

What happened?
We are trying to accept ACH as a payment method for future payments. We are using setup intents to get this done. The app is a React app. The payment flow (or bank detail collection flow), works perfectly fine in the browser. However, when in a webview, it does not. When the user finishes authenticating with their bank, they are stuck in the browser and are not being brought back to the app.
I have been through the ringer with support with no help. I did notice that in the docs for iOS, the collectBankAccountForSetup method accepts a return url to bring the user back to the native app. However, the stripe-js version of collectBankAccountForSetup does not. I think this is what is missing for this to work.
I did quite a bit of debugging, and found that after authenticating, stripe ultamitely lands on this url: https://connections-auth.stripe.com/testmode/complete?state=bcsess_1NLWY1HmbQZtVN0XzHFxkziy&code=success
In the webview experience this tab just closes right away (which makes sense based on the logic which is pasted below)
  var isPollingOnly = document.getElementById('is_polling_only').getAttribute('data-message') === "true";

    if (isPollingOnly || !window.opener) {
      window.close();
    } else {
      var authSessionId = document.getElementById('auth_session_token').getAttribute('data-message');
      var oauthStatusCode = document.getElementById('oauth_status_code').getAttribute('data-message');
      var oauthError = document.getElementById('oauth_error').getAttribute('data-message');

      var isAbstractAuth = document.getElementById('is_abstract_auth').getAttribute('data-message') === 'true';
      if (isAbstractAuth) {
        // If additional information is added here, ensure that it is safe to send to * origin.
        window.opener.postMessage({
          partnerStatusParams: document.getElementById('status').getAttribute('data-message')
        }, "*");
      } else {
        var response = {type: 'oauth-completed', authSessionId: authSessionId, code: oauthStatusCode, error: oauthError};
        if (!authSessionId) {
          response.error = "No authSessionId provided in redirect";
        }

        var originList = document.getElementById('post_message_origins').getAttribute('data-message').split(',');
        for (var i = 0; i < originList.length; i++) {
          window.opener.postMessage(response, originList[i]);
        }

        window.close();
      }
    }

This script looks like it assumes the whole flow is happening in browser (which is fair because it is a JS library we are using), however, webviews are very common (especially with ionic being popular). I think allowing for a return url would be a nice addition to the library. I have included some links to videos of both the browser and webview flows to give you an idea. It is not at the confirm stage like support keeps suggesting.
WEB BROWSER: https://www.loom.com/share/a10fb94e9c684432a73c20b790ad73a8?sid=3826cdfb-c8ef-4d46-b763-ec639252802d
NATIVE WEBVIEW: https://www.loom.com/share/594108eb69d242dc9e3fadd9ffe8bd0a?sid=350c7cbf-9bf8-4a0c-bf4b-2d8d6ac4c952
Environment
N/A
Reproduction
No response

hey there @sir-captainmorgan21 I want to make sure I understand more about this before filing a feature request like you describe, so a few questions:

Can you share the details of your integration, ie exactly how you're using Stripe.js?
Do you get the successful result and setupIntent object returned when the setup succeeds ? ( See "Returns" here https://stripe.com/docs/js/setup_intents/confirm_us_bank_account_setup )
Are you able to test and share the behaviour observed for the same flow on Android?

@brendanm-stripe

it may be tough to share, since the repo is private, but the support rep asked for the code as well, so I am going to work on creating a minimal reproduction today. I can say that we are using react-stripe-js and we are using the PaymentElements provided. Ill provide a summary of what we do. Maybe it helps prior to me getting a full reproduction for you
a. We create a setup intent, providing the customerid and paymentmethod of us_bank_account
b. We take the clientsecret and hand it off to Elements from @stripe/react-stripe-js'
c. We pass PaymentElement from @stripe/react-stripe-js' as children to Elements
d. And thats basically it. From there the elements ui is presented by stripe-js with the OAuth bank account you can select, where it ultimately breaks.
Im not sure when confirmUsBankAccountSetup is supposed to be called, but we dont call that anywhere directly in our code (maybe its called from stripe-js somewhere in the Elements? But like I said it is breaking before we can even get to the point where we would confirm the setup. Were you able to watch the videos I provided?
I have not tested in android, no. I can get that info as well.

@brendanm-stripe I really encourage you watch those videos, and itll layout where it fails. I think that is important to rule out the confirm step

Yep I watched them (thanks for recording!) but apologies for misunderstanding slightly the step of the failure on collect vs confirm. I'm going to try to repro myself but it might take some time.
In the videos I noticed you used the OAuth test bank. Is that required for the issue to happen, or does it happen with the first test bank too?

@brendanm-stripe
OAuth is required for the issue to happen. The root issue is specifically OAuth, when a user is taken away from the native app to a web browser. I have created a repro, and will get the link here soon.

@brendanm-stripe here is the repro: https://github.com/sir-captainmorgan21/stripe-ach-webview-repro
NOTE: I did not do anything past just authenticating with a bank and select accounts, since the bug prevents you from getting past that point anyway.

Just wanted to update here that I have been able to repro/confirm the behaviour described here and we're looking at options. Currently, I'd say that this flow is not fully supported and that you'd need to use either the mobile SDKs (with a bridge for ionic) or open in a native browser.
It also looks like you've written in to get support on this so we'll continue to work with you there on potential workaround or solutions.

@brendanm-stripe ok sounds good. I thought about contributing to the stripe capacitor plugin to add ACH support. The iOS package API does have an option for a return url for the collectBankAccountForSetup, so I'd imagine the backend API must support it. I'm wondering if stripe JS just needs to surface a return URL for the same function as well?


Revert "Fix rustic-format-file hang on Windows"

Reverts brotzeit/rustic#426
Given that #426 is now known to cause issues ( reported in issue 423 ) without a definite understanding of how this 'fix' worked in the first place reverting it is the best course. If a true fix is found after more investigation I'll be sure to add another PR for that.

Thanks!


load_conllu throws errors with enhanced dependencies in UD-r2.2

In UD-r2.2, to accomodate the use of empty nodes for the analysis of ellipsis in enhanced dependencies, the HEAD(gov in code) column is set to _. This throws an error in the load_conllu function, since DepTriple is called with int(gov) as one of the arguments. UD explains these nodes here and here.
Fix is easy enough. One can check the first column for '.', since UD stipulates that empty nodes must have index of the form i.1, where i is the index of referent of ellipsis. If '.' exists, ignore that line. Unless there is some information we can extract from the empty node?

Yes, that's an easy workaround, but it loses empty nodes which are potentially useful for PredPatt. A better solution is to rewrite the way PredPatt deals with the UD index. That requires more efforts.

I’m not sure how useful it will be for PredPatt. Firstly I could find no more than 30 instances of this kind of empty nodes in UD. I’ll look into specific examples but in a sentence like ‘Bill ate cookies, and Tom cake’, the HEAD of Tom is still ate I believe? Or perhaps conjunction plays a role in this.

Does PredPatt use any information from enhanced dependencies at all? Right now I don't think so, and if we want it to in future, that will involve a lot of changes. For now, I think its a good idea to just ignore empty nodes, so that PredPatt doesn't throw an error with UD-r2.2.


Fix bug: extractVueStyles not using specified file

Fixes #1460
Before the fix, we would recycle an existing extract plugin without assigning the custom extraction filename.
This is now fixed.
Please note that PR #1466 needs to be updated after merging this PR, because it extracted the rules into dedicated files and I doubt that git is smart enough to merge these changes.

@JeffreyWay We confirm an issue which this pull request will resolve. Tested locally, looks good.

Thanks! :)

@JeffreyWay When will this PR be in a release?

Next week.

@JeffreyWay ETA on this? Really waiting hard for this fix.

@vyuldashev It's now tagged in v2.1.

@JeffreyWay This breaks unfortunately.
For me it now:

Suddenly creates a new CSS file called "vue-styles.css"
Just dumps vue-styles.css into /public/, not into /public/css/
I actually want it to concatenate to app.css as I use scoped CSS, so I have no conflicts anyway.
Also insert here the usual rant about semver not being respected, etc, etc.

Yeah, confirmed. Fixing this now, and will tag.

Okay, done. Patched in 2.1.2.

Thanks!  It's back to the old situation now :)


Which is the license of this project?

There is no LICENSE file in the repository. Is it FOSS? If so, with which license?
Thanks!

I have added Apache 2.0 license, thanks for pointing out lack of license.

:+1:


Accented/special characters not showing in Avenir on Android

There is missing accent/symbol support in Avenir on Android (see library name below). The library name seems to render on iPhone XS without an issue (although I'm not entirely sure if it's actually the right symbols).

On Staging 1.62.0, Samsung Galaxy S5
Acceptance Criteria

[ ]  Accents/symbols render on Android properly — this may require rendering it in the system font if not supported by Avenir

Steps for QA:

The symbols seem to render in iPhone XS (at least there are no question marks)

Looks like bad data from Algolia. The empty spaces are not rendered in iOS but are rendered as question marks in Android. I don't see this service in the most recent BC211 Data csv.


Run all tests in nightly build

This sets up a new scheduled "Nightly Trigger" workflow which triggers the Haskell CI workflow with a parameter that enables all tests including that of dependencies.

bors merge


Evaluation successes

Proposed changes:
Solves issue 1558

Outputs successful predictions to successes.json or specified filename
Outputs report to report.json or specified filename

Status (please check what you already did):

[x] made PR ready for code review
[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog

Thanks for submitting this PR, we'll give it a review as soon as possible

@ricwo Absolutely, thanks for the link. Will fix that asap along with the other last requests


[Logs] PCX-1707, TEAM-663: Update Log fields

This updates Log fields, syncing from internal repo (logshare-api fields templates).

This has dependency on glossary updates from: https://github.com/cloudflare/cloudflare-docs/pull/2867/files

Thanks @soheiokamoto - PR https://github.com/cloudflare/cloudflare-docs/pull/2867 published, dependency should work as expected!


IPSec Route missing after WAN DHCP Renew (#3414 related?)

Important notices
Our forum is located at https://forum.opnsense.org , please consider joining discussions there in stead of using GitHub for these matters.
Before you ask a new question, we ask you kindly to acknowledge the following:

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

Hi,
I have a routed IPSec-Tunnel to our corporate network.
After a WAN-DHCP renew the routes to the IPSec-Tunnel are no longer available in the Status list. But they are still active under configuration.
If I disable the route and re-enable it the IPSec tunnel works again. So I'm pretty sure its an issue with the route.
So I think its the same issue as in #3414.
I'm running Opnsense 21.7.2_1. Do I need to apply some patches? Or are the in #3414 mentioned patches (9046727, 3e4df24) already applied?

Hi @HamburgerJungeJr,
Patches are all there. I was sort of expecting this edge case to come up eventually. Can you tell me which interface ipsec is running on? Which interface are your broken routes on? Which interface(s) are your WAN(s)?
Thanks,
Franco

I applied the patch and it seems to work now.
I will keep an eye on the problem but for now it seems to be fixed.

Hi @fichtner, I applied the patch on both sides, however, it does not seem to work for restarting the IPSEC tunnel.
root@brick:~ # opnsense-patch 35992e7
Fetched 35992e7 via https://github.com/opnsense/core
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|From 35992e7003537c9d53ba70cfb652c5d02684563d Mon Sep 17 00:00:00 2001
|From: Franco Fichtner<EMAIL_ADDRESS>|Date: Mon, 18 Oct 2021 09:24:03 +0200
|Subject: [PATCH] ipsec: derive required route interfaces for dynamic changes
| #5263
|
|---
| src/etc/inc/plugins.inc.d/ipsec.inc | 39 +++++++++++++++++++++++------
| src/etc/rc.newwanip                 |  8 ++++++
| 2 files changed, 40 insertions(+), 7 deletions(-)
|
|diff --git a/src/etc/inc/plugins.inc.d/ipsec.inc b/src/etc/inc/plugins.inc.d/ipsec.inc
|index 890eb56324..a675a79c47 100644
|--- a/src/etc/inc/plugins.inc.d/ipsec.inc
|+++ b/src/etc/inc/plugins.inc.d/ipsec.inc
--------------------------
Patching file etc/inc/plugins.inc.d/ipsec.inc using Plan A...
Hunk #1 succeeded at 341 (offset 11 lines).
Hunk #2 succeeded at 1818 (offset -9 lines).
Hunk #3 succeeded at 1859 (offset 11 lines).
Hunk #4 succeeded at 1854 with fuzz 2 (offset -9 lines).
Hunk #5 succeeded at 1909 (offset 23 lines).
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/src/etc/rc.newwanip b/src/etc/rc.newwanip
|index a050d5804a..888aa82f1b 100755
|--- a/src/etc/rc.newwanip
|+++ b/src/etc/rc.newwanip
--------------------------
Patching file etc/rc.newwanip using Plan A...
Hunk #1 succeeded at 98.
Hunk #2 succeeded at 140.
done
All patches have been applied successfully.  Have a nice day.

Configured the far gateway and the static routes to the loopback addresses, tunnel is up.
ipsec3: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> metric 0 mtu 1400
	tunnel inet <IP_ADDRESS> --> <IP_ADDRESS>
	inet6 fe80::227c:14ff:fea0:4d1b%ipsec3 prefixlen 64 scopeid 0xd
	inet <IP_ADDRESS> --> <IP_ADDRESS> netmask 0xfffffffc
	groups: ipsec
	reqid: 3
	nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

root@brick:~ # ping -S <IP_ADDRESS> <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) from <IP_ADDRESS>: 56 data bytes
^C
--- <IP_ADDRESS> ping statistics ---
5 packets transmitted, 0 packets received, 100.0% packet loss

Ping direct to the tunnel interfaces for some reason does not work.
The Static routes to the destination are working both ways.
root@brick:~ # ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=64 time=125.660 ms
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=123.244 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=123.938 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=64 time=127.699 ms
64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=64 time=125.303 ms
^C
--- <IP_ADDRESS> ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 123.244/125.169/127.699/1.542 ms
root@brick:~ #
root@brick:~ # ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=64 time=224.233 ms
64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=64 time=225.982 ms
64 bytes from <IP_ADDRESS>: icmp_seq=9 ttl=64 time=221.876 ms
64 bytes from <IP_ADDRESS>: icmp_seq=13 ttl=64 time=222.173 ms
64 bytes from <IP_ADDRESS>: icmp_seq=15 ttl=64 time=222.469 ms
64 bytes from <IP_ADDRESS>: icmp_seq=16 ttl=64 time=222.023 ms
64 bytes from <IP_ADDRESS>: icmp_seq=17 ttl=64 time=224.253 ms
64 bytes from <IP_ADDRESS>: icmp_seq=18 ttl=64 time=225.047 ms
64 bytes from <IP_ADDRESS>: icmp_seq=25 ttl=64 time=225.439 ms
64 bytes from <IP_ADDRESS>: icmp_seq=28 ttl=64 time=222.251 ms
64 bytes from <IP_ADDRESS>: icmp_seq=30 ttl=64 time=227.249 ms

^C
--- <IP_ADDRESS> ping statistics ---
520 packets transmitted, 11 packets received, 97.9% packet loss
round-trip min/avg/max/stddev = 221.876/223.909/227.249/1.780 ms

Restarted the IPSEC process on "brick",  after sequence 30 no more connectivity. The route is gone from brick to <IP_ADDRESS>/32 (loopback on shadow)
root@brick:~ # netstat -rn | grep 169
<IP_ADDRESS>         link#12            UH          lo1
root@brick:~ #

the tunnel is up and I have one-sided traffic possible where I can ping from the remote side on shadow to the loopback <IP_ADDRESS>/32 on brick.
root@shadow:~ # ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=64 time=122.812 ms
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=126.546 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=125.386 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=64 time=124.573 ms
64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=64 time=124.069 ms
64 bytes from <IP_ADDRESS>: icmp_seq=5 ttl=64 time=125.351 ms
^C
--- <IP_ADDRESS> ping statistics ---
6 packets transmitted, 6 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 122.812/124.790/126.546/1.172 ms

-> went into System->Routes->Configuration and hit  on "brick".
root@brick:~ # netstat -rn | grep 169
<IP_ADDRESS>         link#12            UH          lo1
<IP_ADDRESS>/32      <IP_ADDRESS>           UGS      ipsec3

root@brick:~ # ping  <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=64 time=122.451 ms
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=127.319 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=124.286 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=64 time=126.308 ms
64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=64 time=124.635 ms
^C
--- <IP_ADDRESS> ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 122.451/125.000/127.319/1.687 ms

Route to shadow loopback was again in the routing-table and ping is working. How can this be fixed to have the routes back in the routing table after either the main interface goes down or the IPSEC tunnel restarts? I am thinking of running BGP between the loopbacks to avoid having lots of static routes.

@rfc4711 doesn't sound like same problem. Might be better to discuss your use case in the forum first.


Storing authentication metadata against services

Issue type
[x] Feature request

Environment

Python version:  3.6
NetBox version:  2.3.3

Description
Netbox already implements the concept of tracking notable network connected services on a device, an idea which I built out (in a flat file format) for tracking applications in our local environment. It is however missing a related concept which is storing a record of "how to authenticate" to that application on that device, presuming the user is the current one.
Against each application on devices (internally) we store structured data which describes in a loose-fashion what type of authentication system is being used for that application, and how the details should be acquired by the user (these are generally termed as "lookups").
By way of example this is a sample application structure for a server:
      "application_services": [
        {
          "name": "sssd",
          "authentication": [
            {
              "type": "federated-password",
              "id": "ad-domain",
            },
            {
              "type": "local-password",
              "user_lookup": {
                "type": "literal",
                "value": "root"
              },
              "password_lookup": {
                "type": "vault",
                "uri": "https://vault.internal",
                "path": "/secret/apps/static/admins/production/root_cluster_password",
                "key": "value"
              }
            }
          ]
        },
        {
          "name": "sudo",
          "authentication": [
          {
              "type": "federated-password",
              "id": "ad-domain"
          },
          {
          "name": "ssh",
          "authentication": [
            {
              "type": "shared-authenticator",
              "authenticators": [
                "sssd"
              ]
            }
          ],
          "listens": [
            {
              "ip": "<IP_ADDRESS>",
              "port": 22,
              "protocol": "tcp"
            }
          ]
        }
      ]

Without being overly specific, this attaches some institutionally-specific authentication knowledge which can be stored in other systems - specifically the "type" of authentication implemented (local-password or federated-password are common for us, since simple systems like KVMs may not support or not be configured with LDAP/Kerberos auth) and an ID - again, institutionally specific - which allows client applications to pick a profile to use to authenticate - i.e. the federated-password is not specifically LDAP, it's just a coding  that the password is not managed by the device itself.

IMO this is out of scope for NetBox but I'll leave this open for discussion.

Custom Fields on Service?

Custom Fields on Service?

Sure. #1687


Failed to send registration email

I successful to install dspace 7.6.2 on Debian 12.
There is a problem that I am facing. Dspace has not been able to send registration emails.
Here's the error message that appears when I run the command
./dspace test-email
OpenJDK 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0

About to send test email:
 - To<EMAIL_ADDRESS> - Subject: DSpace test email
 - Server: mail.rpskts.com

Error sending email:
 - Error: javax.mail.SendFailedException: Invalid Addresses;
  nested exception is:
        com.sun.mail.smtp.SMTPAddressFailedException: 550 SMTP AUTH is required for message submission on port 587

Please see the DSpace documentation for assistance.

Help

How did you configure e-mail in dspace.cfg?

This sounds like a possible misconfiguration, as the error says that your SMTP server requires authentication:
550 SMTP AUTH is required for message submission on port 587
This means you haven't configured your email authentication properly (e.g. mail.server.username and mail.server.password), or something else is incorrect in your mail.server.* settings.
Closing as answered.  If you need more support, please use one of our Support options at https://wiki.lyrasis.org/display/DSPACE/Support

How did you configure e-mail in dspace.cfg?

I didn't change dspace.cfg.
I changed local.cfg
Here are the changes I changed regarding the email
sudo nano /dspace/config/local.cfg
# SMTP mail server (allows DSpace to send email notifications
mail.server = mail.myuniversitas.com

# SMTP mail server authentication username and password (if required) 4Q36UVz0y-xE-a
mail.server.username =<EMAIL_ADDRESS>mail.server.password = 4Q36UVz0y-xE-a

# SMTP mail server alternate port (defaults to 25)
mail.server.port = 587

# From address for mail
# All mail from the DSpace site will use this 'from' address
mail.from.address =<EMAIL_ADDRESS>
# When feedback is submitted via the Feedback form, it is sent to this address
# Currently limited to one recipient!
feedback.recipient =<EMAIL_ADDRESS>
# General site administration (Webmaster) e-mail
mail.admin =<EMAIL_ADDRESS>
# Helpdesk E-mail
mail.helpdesk =<EMAIL_ADDRESS>mail.helpdesk.name = Admin Help Desk

# Recipient for server errors and alerts (defaults to mail.admin)
alert.recipient =<EMAIL_ADDRESS>
# Recipient for new user registration emails (defaults to unspecified)
registration.notify =<EMAIL_ADDRESS>

As soon as i change the email configuration in local.cfg or dspace cfg?
I'm a beginner Dspace user
Thank you sir : @tdonohue , @mpasternak 😊


shell.prefix breaks subworkflows

Snakemake version
6.15.5
Describe the bug
Subworkflows may overwrite the behavior of shell.prefix, causing (sub)workflows to fail. Ideally, each workflow could specify its own shell.prefix that applied only to its own rules.
Logs
% snakemake --cores 1 hello.main
Building DAG of jobs...
Executing subworkflow swf.
Building DAG of jobs...
Using shell: /usr/bin/bash
Provided cores: 1 (use --cores to define parallelism)
Rules claiming more threads will be scaled down.
Job stats:
job        count    min threads    max threads
-------  -------  -------------  -------------
subrule        1              1              1
total          1              1              1

Select jobs to execute...

[Tue Feb 15 13:47:35 2022]
rule subrule:
    output: hello.sub
    jobid: 0
    resources: tmpdir=/tmp

subworkflow
[Tue Feb 15 13:47:35 2022]
Finished job 0.
1 of 1 steps (100%) done
Complete log: /home/mwilkins/testsnakemake/subworkflowprefixes/subworkflow/.snakemake/log/2022-02-15T134735.731834.snakemake.log
Executing main workflow.
Using shell: /usr/bin/bash
Provided cores: 1 (use --cores to define parallelism)
Rules claiming more threads will be scaled down.
Job stats:
job         count    min threads    max threads
--------  -------  -------------  -------------
mainrule        1              1              1
total           1              1              1

Select jobs to execute...

[Tue Feb 15 13:47:35 2022]
rule mainrule:
    input: /home/mwilkins/testsnakemake/subworkflowprefixes/subworkflow/hello.sub
    output: hello.main
    jobid: 0
    resources: tmpdir=/tmp

subworkflow
[Tue Feb 15 13:47:35 2022]
Finished job 0.
1 of 1 steps (100%) done
Complete log: /home/mwilkins/testsnakemake/subworkflowprefixes/subworkflow/.snakemake/log/2022-02-15T134735.731834.snakemake.log

Minimal example
subworkflowprefixes.zip
Additional context
As can be seen from the log of the minimal example, the subworkflow shell.prefix gets called before running the rule in the subworkflow but also before running the rule in the main workflow. This behavior occurs even if no rules in the subworkflow are ever run. Subworkflows overwrite the behavior of shell.prefix.
It is not shown in the minimal example, but if there are many subworkflows, they interfere with each other as well.

Let me comment that this issue also occurs for modules, which to my understanding is a recommended alternative to subworkflow (according to https://snakemake.readthedocs.io/en/stable/snakefiles/modularization.html: "However, note that sub-workflows are deprecated in favor of modules")
Basically, the behavior appears to be that the last instance of shell.prefix in the order of appearance in the main Snakefile (including those defined in imported modules) overwrites all previous shell.prefix definitions. This can lead to error if different modules require different shell.prefix definitions.
Up till version 7.8.0 this issue still exists.


WIP  docs: add more detailed explanation for `--stub'

🔗 Linked issue

❓ Type of change

[x] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
attempting for #398

📝 Checklist

[x] I have linked an issue or discussion.
[x] I have updated the documentation accordingly.

stub : For stub, I attempted to add an explanation reference for antfu in README.md.(Perhaps a more detailed explanation of Watcher/JIT should be provided in the jiti repo).
inlineDependencies : Is it necessary to further elaborate on the usage instructions that have already been explained in it?(
But he is indeed not in the rollup option).
https://github.com/unjs/unbuild/blob/c878a37e738dea10080db41d5dcca0792fc45c8d/src/types.ts#L83

Waiting  me for further repairs and perspectives on other issues

Nice progress. I was not sure when your work would be ready to review  if it is i can happily update to merge and iterate.

Nice progress. I was not sure when your work would be ready to review if it is i can happily update to merge and iterate.

ok，This is what I can currently determine to be the right thing to do, and I believe you can review and determine what the next steps should be.（All the progress and questions are on the list above.）


large files in the git repository

When pushing/cloning this repository I get a message like this:
remote: warning: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: warning: See http://git.io/iEPt8g for more information.
remote: warning: File test/profiling/vgcore.17050 is 79.62 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB

Not only does this slow down cloning your repository but it adds a lot of overhead to things like our build farm. Please consider removing this file to off-site (like amazon s3) and downloading it when needed or using git-lfs.
Thanks! 😄

Hello wjwood.
Thank you for making us know! That's a profiling file that got added by mistake, it's going out ASAP.

@wjwwood I was investigating how to remove this file from our repo history. I found this page.  Did you use any of those methods? Are they secure?

I've used the filter branch command before, but not the repo cleaner. Since they're on a github page I'd trust them to work and be secure.

One thing you'll want to watch out for though is that it will rewrite your history. That might cause outstanding pull requests and branches to no longer merge and may somewhat disrupt people with existing checkouts from pulling. I don't know if there is a way to remove it without rewriting the history but I doubt there is.

This was solved long ago. Closing issue


[Discuss] Preprocessing of linelist data to consider them in recovery period

Summary of this new feature
Because data loading of LinelistData takes long time and much memory, it is better to use only JHU data for calculation of recovery period.
Nevertheless, we could overcome this issue and include linelist if we preprocess them once at the beginning of the analysis in order to save a final cleaned dataset with the few valid records. Then we could use this to load and process every time instead of the large raw file. In that way we can use linelist in calculation of recovery period as well (perhaps averaging or consider it in some way in order to represent these data as well).
Currently, the valid linelist data we have for COVID-19 are only few hundred records, so probably they are not representative enough, compared to the million of cases worldwide. For the moment, we should use perhaps only the JHU data to calculate recovery period using calculate_recovery_period(). We should further revise this if we find other credible linelist data source with more valid records.
This is related to #420, #447.

In 2.13.3, raw dataset is saved in ._raw (Uses can access it with property .raw). To reduce the memory usage of LinelistData, we can

Remove ._raw
(Deprecate .raw property (if deprecated, it will be removed in version 3.0.0 in the future))
filename will be saved to self._filename and property .raw will return .load(filename)

With this change, user cannot access to raw data if the file was moved. However, this is effective to reduce memory usage.

Hmm I would suggest removal if this is not used or better the ._raw dataset should be created upon explicit user request (command execution).

All public methods should be kept until the next major version 3.0.0 will be released. (I don't plan new major version currently.)
The raw dataset is saved as _raw using self._raw = self.load(filename) (linelist) or = dd.read_csv() in cleaning classes.

I suggested this because as you said it would reduce memory usage. I meant that we don't need to save this raw dataset internally, but only upon explicit user code execution, such as _raw = self.load(filename)

I created draft pull request #461 for discussion.

I created draft pull request #462 for discussion.
LinelistData:

Remove ._raw
filename will be saved to self._filename and property .raw will return .load(filename)

Deprecation of .raw property is not included.

Please review my pull request #463.
LinelistData:

Remove ._raw
filename will be saved to self._filename and property .raw will return .load(filename)
Not save the columns we will not use in data cleaning

Deprecation of .raw property is not included.

I approved the changes!

Thank you, it was merged.


[Key Vault] Update live tests for behavior changes

Description
This fixes live test errors like those from this morning's pipeline run. Multitenant authentication is now opt-in on azure-identity credentials, so we need to use the additionally_allowed_tenants kwarg in our multitenant tests. Key rotation policies had a recent (accidental) change in behavior during update operations, so we should make our tests playback-only until the regression is fixed.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

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


Add pnpm pinning to ECR image push

Fixes

Fixes the ECR image build not using the build args for pnpm version pinning.
Description

Adds the build args to pin PNPM version.
Testing Instructions

Not sure, merge and see if the workflows pass.
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[N/A] I added or updated tests for the changes I made (if applicable).
[N/A] I added or updated documentation (if applicable).
[N/A] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Just merged main, we'll see if kicks off a successful run of the Playwright tests and and auto-merges correctly.

Really not sure why the tests are passing on main and failing here. It's one e2e test: e2e/filters.spec.ts

That one may be flaky...


Wrapped component never gets updated after an error

Intended outcome:
I have a React component wrapped with the graphql function to get data from a GraphQL query.
The query is called on mounting, on this.props.data.refetch(), or at some time if pollInterval is set.
If any of these calls fails, I expect the component to be updated if a new call succeed, so that:

I can add a "Retry" button to let the user manually trigger a refetch if the first call on mounting failed. If the refetch succeeds then the data.error prop changes to undefined and the component gets updated with the data received.
If pollInterval is set and if at some point the network connection is lost, then when the connection is back the polling works as if the connection was never lost. So I want the polling to continue even if a poll has failed in the past and I want the component to be updated if new data is available (coming from a new poll of the same request or from the result of any other query or mutation in the app)

Actual outcome:
After an error, data.error remains defined and component never gets updated, even if data.refetch is called or if pollInterval is set.
My understanding:
Basically, when there is a network error, observers are unsubscribed. Thus any refetch only update Apollo store but does not trigger a rerender of the component.
I think it's the expected behaviour of the cleanupSubscription call in https://github.com/apollographql/apollo-link/blob/master/packages/zen-observable-ts/src/zenObservable.ts
Which is called through obs.error(error) in https://github.com/apollographql/apollo-client/blob/master/packages/apollo-client/src/core/ObservableQuery.ts
But I think react-apollo should resubscribe to the query after an error to keep the component updated when new data arrive in the cache (after a data.refetch, a poll, or any other query or mutation in the app).
Version

<EMAIL_ADDRESS><EMAIL_ADDRESS>
This is the issue asked here https://github.com/apollographql/apollo-client/issues/1186#issuecomment-335508326

➤ stale[bot] commented:
This issue has been automatically labled because it has not had recent activity. If you have not received a response from anyone, please mention the repository maintainer (most likely @jbaxleyiii). It will be closed if no further activity occurs. Thank you for your contributions to React Apollo!

➤ jay1337 commented:
Hey !

➤ M S Morris commented:
BUMP - this is an important issue with v2 - can someone please look at this?
Basically data.error is not cleared on refetch.

➤ Leo Nikkilä commented:
We’re seeing this as well with newer versions of dependencies:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>


THRIFT-4214: map<i64,value> key treated as hex value in JavaScript

All strings passed to node-int64 constructor are treated as hex strings. We need to convert all decimal strings to hex representation before passing them to the constructor.
We are making an assumption that no hex string will be passed to writeI64() without 0x prefix.

The tests fail at TypeError: binary.readI64 is not a function, even though the function exists.

I'd be happy to fix it, if anybody could explain why this error is happening:
/thrift/src/lib/nodejs/test/binary.test.js:86
    assert.equal("0", binary.readI64([0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]).toString());
                             ^
TypeError: binary.readI64 is not a function
    at Test.Should read I64 (/thrift/src/lib/nodejs/test/binary.test.js:86:30)
    at Test.bound [as _cb] (/thrift/src/node_modules/tape/lib/test.js:77:32)
    at Test.run (/thrift/src/node_modules/tape/lib/test.js:96:10)
    at Test.bound [as run] (/thrift/src/node_modules/tape/lib/test.js:77:32)
    at Immediate.next [as _onImmediate] (/thrift/src/node_modules/tape/lib/results.js:71:15)
    at runCallback (timers.js:794:20)
    at tryOnImmediate (timers.js:752:5)
    at processImmediate [as _immediateCallback] (timers.js:729:5)

Since readI64 is definitely there.

@thexeos you looked at wrong file, readI64 is not defined on binary - https://github.com/apache/thrift/blob/master/lib/nodejs/lib/thrift/binary.js

In Jira, the bug is marked as being in JavaScript (lib/js) and not in Node.JS (lib/nodejs), so which is it? :)

@MateuszJeziorski I see. So tests for this should really go into https://github.com/apache/thrift/blob/master/lib/nodejs/test/test-cases.js
@jeking3 I've updated Jira to list Node.js

Any chance this can be completed?


Finish levcan_param

A lot of stuff is not implemented yet

Needed:
Password access
Plot values
Text values
Less memory usage, send data synchroniously (more message IDs)

Live update parameters
More flexible storage

Added


[CTA block] spacing clean up

Overview
Restore original design.  Reference the spec below. Specifically the spacing and grid alignment need to be fixed.
Some spacing adjustments needed:

FYI @RobertaJHahn, I reached out to Shixie as discussed to find out more detail today.

JIRA Ticket: https://jsw.ibm.com/browse/HC-2172

@shixiedesign @NSDrowned Hi there! I have a couple questions about this one:

How much space should be between the button group and the content items (https://www.ibm.com/standards/carbon/web-components/?path=/story/components-cta-block--with-content-items) or link list (https://www.ibm.com/standards/carbon/web-components/?path=/story/components-cta-block--with-link-list)?
Should the 160px bottom padding always be there, or should it only be applied when there are no content items or link list items beneath the button group? If it's the latter case, how much bottom padding should there be when the content items or link list items are present?

Hi! @jkaeser sorry I didn't see this question earlier. Please reference the design specs here: https://ibm.box.com/s/ck4ludd5kj6rgt4uf19btrwor18nsrq4 So based on that PDF,

spacing above Content items is 64px + horizontal rule + 32px:

spacing above Link list is 64px only: