Adding Arm64 Travis Support

Travis-CI has added support for ARM64. Added ARM64 job in Travis-CI.

Ping @blag Can you please have a look at this PR.

Just a heads up: now that Python 2.7 is no longer supported by the Python devs themselves, if the Python 2.7 builds ever error out 1 (including the non-arm64 Python 2.7 builds that you haven't touched), I'll simply remove them entirely.
However, thank you for including Python 2.7 in this PR! It's still widely used, so for now it's nice to test it.
1 And I mean error out, not fail. If the referenced tests fail because of changes to flex code that generally isn't a good enough reason to remove them. But if flex code itself becomes more complicated in an attempt to stay compatible with Python 2.7, that is a good enough reason to remove those builds at that point. And as time goes on and Python 2.7 is phased out, it will become less and less valuable to keep Python 2.7 compatibility, so at some point I will remove them regardless. I write all of this so you don't feel unappreciated if this point happens sooner rather than later. 😃


[JAX cuDNN SDPA API] Add is_training and fix seqlen/head_dim checks

add is_training to API to distinguish between inference and training fwd so cuDNN does not export activation.
fix incorrect checks for seqlen/head_dim

seqlen_k = 256 and seqlen_v = 1024 is incorrectly dispatched to fused attn and it is not supported by fused attn
missing checks for seqlen % 64  == 0 for fused attn training
missing checks for seqlen % 2 == 0 for flash attn training with bias
incorrect head_dim checks for flash attn

@superbobry how do we make sure test_sdpa_inference have 4 gpus? also could you share some info on the internal checks failure?

@superbobry Hi, I think all issues are resolved, could you take another look and trigger the internal review?

Sorry for the delay @Cjkkkk. DotProductAttentionTest.test_sdpa_inference seems to fail internally with
Traceback (most recent call last):
  File "[...]/jax/_src/test_util.py", line 456, in test_method_wrapper
    return test_method(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "[...]/jax/tests/fused_attention_stablehlo_test.py", line 216, in test_sdpa_inference
    devices = devices.reshape((2, 2))
              ^^^^^^^^^^^^^^^^^^^^^^^
ValueError: cannot reshape array of size 1 into shape (2,2)

Sorry for the delay @Cjkkkk. DotProductAttentionTest.test_sdpa_inference seems to fail internally with
Traceback (most recent call last):
  File "[...]/jax/_src/test_util.py", line 456, in test_method_wrapper
    return test_method(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "[...]/jax/tests/fused_attention_stablehlo_test.py", line 216, in test_sdpa_inference
    devices = devices.reshape((2, 2))
              ^^^^^^^^^^^^^^^^^^^^^^^
ValueError: cannot reshape array of size 1 into shape (2,2)

I wonder if this is just a stale failure before you added the multiaccelerator tag.

could you trigger the internal test again to see if it is fixed with multiaccelerator? I think the external fail is fixed with this multiaccelerator. Also I wonder how training test does not fail, it also uses 4 gpus.

Yeah, it seems likely. Can you, perhaps, skip your test if <4 GPUs are available, so that it doesn't crash?

Yeah, it seems likely. Can you, perhaps, skip your test if <4 GPUs are available, so that it doesn't crash?

@superbobry Hi, I added a guard for this, let me know if this fixed the issue. Thanks!


Checksum error : Need stabilize branch to be merged in master

Hi @ghao-ooyala ,
I am getting checksum error while building base layer.
Probably you missed merging stabilize branch in master.
Making this pull request changes locally fixed it.

Closing this issue as relevant changes have been merged.


Add support for kustomize deployment

Goal
We would like to provide a way to deploy operator using kustomize leveraging kubebuilder. This requires adding the deployment and updating necessary RBAC policies.
Use https://github.com/bank-vaults/vault-operator/tree/main/deploy/charts/vault-operator as a reference.
Ensure that documentation guide works for Vault CRs added to a default, as well as custom namespace.

As an alternative, users could use kustomize's helmCharts support. However, kustomize doesn't support helm charts with the oci:// scheme (kubernetes-sigs/kustomize#4381). If bank-vaults offered an https helm registry, that would work.

That does pass all the heavy lifting away from us, which is awesome @cjyar. Referenced PR https://github.com/kubernetes-sigs/kustomize/pull/5167 seems to be ready for merge, so we can probably expect the release sometime soon.


Messaging (was RFC 246)

Asynchronous communication is an important factor in today's business applications. Especially in the IoT domain but also for distributed infrastructures the communication over publish/subscribe protocols are common mechanisms. Whereas the existing OSGi Event Admin specification already describes an asynchronous event model within an OSGi framework, this design addresses the interaction of an OSGi environment with third-party communication protocols using a common interface.

I have pushed the design/172 branch to hold the Messaging work. I used pandoc to convert the RFC 246 odt file to markdown and placed it in the .design folder of the design/172 branch.
@maho7791 Please put your code. e.g. org.osgi.service.messaging project/package in this branch.

see also: https://github.com/cloudevents/spec

@jjh-aicas How is security handled for publishing and subscribing? (Factory?Permission?)


Bypassing geo-restriction for share links as well

Currently, rajiko bypasses geo-restriction on live streaming page and timeshift links http://radiko.jp/#!/ts/*. However, it doesn't handle /share/ links like https://radiko.jp/share/?sid=QRR&t=20210306210000 . So if your IP is not in Japan, it would block you.
Is it possible to bypass geo-check for these links too?
Or, which probably easier is that we can just make them redirect to /ts/ links directly
https://radiko.jp/share/?sid=QRR&t=20210306210000
--->
https://radiko.jp/#!/ts/QRR/20210306210000
(The only thing to notice is /share/ links typically use 29-hour format while /ts/ ones only accept 24-hour. So
links past 0:00 such as https://radiko.jp/share/?sid=QRR&t=20210306260000
should be converted to https://radiko.jp/#!/ts/QRR/20210307020000 instead.
https://radiko.jp/#!/ts/QRR/20210306260000 is still "valid", but is the wrong/different program.)

Are you sure you didn't just click a wrong shared URL? Because I've been using my own "share to ts converter" UserScript. The script literally just convert share to ts URL format, and it worked just fine for me.
And I just checked, the shared URL for MOMO・SORA・SHIINA Talking Box is https://radiko.jp/share/?sid=QRR&t=20210307020000 . I get the correct timestamp<PHONE_NUMBER>0000), from outside Japan, without VPN or any time conversion.
Or did you use any extension that change your browser time? Because I remember using something like that and it messing up radiko timetable.

And I just checked, the shared URL for MOMO・SORA・SHIINA Talking Box is https://radiko.jp/share/?sid=QRR&t=20210307020000 . I get the correct timestamp<PHONE_NUMBER>0000), from outside Japan, without VPN or any time conversion.

/share/ link support both 29-hour format and 24-hour format.
https://radiko.jp/share/?sid=QRR&t=20210306260000
https://radiko.jp/share/?sid=QRR&t=20210307020000
Are both valid and will redirect you to https://radiko.jp/#!/ts/QRR/20210307020000 (if you're in Japan).
And the official page use the latter one:
<!DOCTYPE html>
<html lang="ja">
        <head>
                <meta charset="utf-8">
                <title>
                        radiko リダイレクト
                </title>
                <script type="text/javascript" src="/_common/js/ul.js"></script>
                <script type="text/javascript" src="/_common/js/ga.js"></script>
                <META HTTP-EQUIV="Refresh" CONTENT="1; URL=http://radiko.jp/share/?sid=QRR&t=20210306260000">
        </head>
        <body>
                Waiting radiko ...
        </body>
</html>

Anyway, that's besides the point.

Oh, you probably get the link from share button on Radiko. That one indeed use 24-hour format. Mine if from their official Twitter. Most of 文化放送 programms have such /timefree/ shortcuts (like http://www.joqr.co.jp/timefree/agson.php etc.)
Anyway, both are valid.

https://radiko.jp/share/?sid=QRR&t=20210306260000
https://radiko.jp/share/?sid=QRR&t=20210307020000

Ok now I clearly understand what you mean.
I just checked on VM with Tokyo VPN. When radiko detect user from Japan,<PHONE_NUMBER>0000 will be redirected to<PHONE_NUMBER>0000. But outside Japan<PHONE_NUMBER>0000 will go directly to<PHONE_NUMBER>0000 (which is a different program).
Haven't research much about radiko in recent years since I know about the existence rajiko, so I'm not aware of this~
Good thing the "real" timestamp also included in the js in share page. So if Jacky decide not to continue updating rajiko, atleast we can just use this as a reference to redirect with UserScript.
//from https://radiko.jp/share/?sid=QRR&t=20210306260000&noreload=1
	var get_share_log_url = function(params) {
		params.station = "QRR";
		params.t = "20210307020000";
		params.device = "pc";
		// キャッシュ対策
		params._ =  Math.floor(Math.random() * 1000000);

		var param_str = "";
		$.each(params, function(key, val){
			param_str += "&" + key + "=" + val;
		});
		var url = "https://beacon.radiko.jp/share.gif";
		return url + param_str.replace(/^./,"?");
	};

It's more like that if you're outside Japan, /share/ link will literally block you than it redirect you to the wrong time.
Basically any link will just redirect to same address and add &noreload=1, and show you something like

That part about time format is more a side note saying "if want to implement it by redirect share to ts ourselves, we should be careful about time format conversion blabla".
Yeah I agree it's pretty trivial to write a userscript yourself and bypass it. Just think it would be a nice inclusion for rajiko since it already bypasses geo-restriction on any other URLs.

I uploaded v0.2.6 to Chrome Web Store. Waiting for Chrome Web Store's review.
Or you could load extension from source code.


feat: founders-hub svg

Proposed Changes
Converted founders-hub.png to founders-hub.svg

closes #141

When downloading the svg file it will be shown properly.

This contribution is not valid. Kindly read the description in issue #141
Also, you were not assigned to any issues. Please follow Contributing Guidelines (contributing.md)

You may close this PR, if you think you do not want to work on it any further. Thanks

These changes are not required for this project
Closing this PR due to inactivity


Wrong duration of down-time

Describe the bug
A service with frequent short down-times gets notes stating much longer downtimes than it actually had^.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://plazi.github.io/monitoring/incident/13'
Compare the 'Opened at' and 'Closed at' times
Scroll down to 'Resolved'
See that even though the issue was closed 21 minutes after being opened, it says that the service is backup after more than 13 days.

Expected behavior
Read that the service is back up after 21 minutes
Screenshots

Additional context
The summary page shows the expected durations:

You're right, this bug resulted in https://github.com/upptime/uptime-monitor/pull/222 and I'm fixing it now!


Electron + react template: Failed to construct 'WebSocket': The URL 'ws://localhost:9000__hmr' is invalid. [Bug Report]:

Steps to reproduce
npm create farm@latest my-react-app
Then select electron and React template
Reproduce link
No response
What is actually happening?
HMR not working after clean npm install and npm run dev
with error:
Uncaught DOMException: Failed to construct 'WebSocket': The URL 'ws://localhost:9000__hmr' is invalid.

System Info
System:
    OS: macOS 14.5
    CPU: (11) arm64 Apple M3 Pro
    Memory: 552.19 MB / 18.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.14.0 - /usr/local/bin/node
    npm: 10.7.0 - /usr/local/bin/npm
    pnpm: 9.4.0 - ~/Library/pnpm/pnpm
  Browsers:
    Chrome: 126.0.6478.127
    Safari: 17.5
    Safari Technology Preview: 17.4
  npmPackages:
    @farmfe/core: ^1.2.4 => 1.2.6

i'll try it


version update from 1.6.20-dev1673 -> 1.7.0-dev1686 breaks AnimatedContent

Describe the bug
I have my custom navigation with screen animations using AnimatedContent.
Before updating to 1.7.0-xxx there was a nice transition.
After updating it happens nothing for the "animation duration" and after that the next screen appears.
See videos.
Android not affected.
Affected platforms

Desktop (Windows, Linux, macOS)

Versions

Libraries:
Compose Multiplatform version: 1.7.0-dev1686
Kotlin version: 2.0
OS version(s) (required for Desktop and iOS issues): win11
JDK (for desktop issues): 19

To Reproduce
I have no reproducer just a snippet from my code but its simple
@OptIn(ExperimentalAnimationApi::class)
	@Composable
	internal fun invokeScreen(
		modifier: Modifier,
		forwardEnterTransition: EnterTransition,
		forwardExitTransition: ExitTransition,
		backEnterTransition: EnterTransition,
		backExitTransition: ExitTransition
	) {
		AnimatedContent(
			transitionSpec = {
				when (direction) {
					ScreenDirection.NEUTRAL -> forwardEnterTransition togetherWith forwardExitTransition
					ScreenDirection.FORWARD -> forwardEnterTransition togetherWith forwardExitTransition
					ScreenDirection.BACK -> backEnterTransition togetherWith backExitTransition
				}
			},
			targetState = currentScreen,
			modifier = modifier,
			content = {
				if (transition.currentState == transition.targetState)
					direction = ScreenDirection.NEUTRAL
				it.invoke() // it = the screen (just a composable function)
			}
		)
	}

Gifs
Before updating

After updating

Known and tricky one. It's supposed to be fixed in https://github.com/JetBrains/compose-multiplatform-core/pull/1412

Should be fixed in 1.7.0-dev1698

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Turbine multiblock crash - Size

Crash log
Building turbine multiblock, 17x17xUnknown, 20-25ish height. Been trying to find documentation on max size but failed to find a definitive answer so decided to find out.Think I found and passed it? ;-)
If you have a definitive limit, maybe add it to the Wiki?
Crash happened when I closed the gap from base turbine casing up to vents filling the room around rotary complex.

It's not directly stated in the wiki, but the first comment says something about maximum (useful) size is 111118. I remember something about maximum for all multiblock structures of Mekanism which is 181818. It's also recommended to place multiblock structures within chunk boundaries which tend to give you less hassle.

Yes. I decided to ignore that comment as I seem to remember going past that limit(11x11x18) in 1.7.10. I'm guessing it was 18x18x18(How do you place 18x18 inside a 16x16 chunk?).
Either ways it should probably not cause a crash?

Theoretical limit (18x18) and practical limit (within chunks). I agree it should not crash.

as with any multiblock structure. just because you can build it that size doesnt mean you should. just because you did in previous version doesnt mean that will work in new version. just because other mod multiblocks work doesnt mean this can. regardless of documentation use common sense for game stability.

Shouldn't be happening anymore!


create a "direct" way to load repos and organizations into our augur instance

As Sandiego develops, we need a low effort way to trigger the loading of a repo/organization. This issue is to document the progress around making this and the functionality of it

Closing as #141 replaces


Deliver entity transform to Business Moments Adaptor

Solves https://app.asana.com/0/1200313386408105/1200315293318511/f

Is this obsolete?


Remove log-level-net-plugin option completely

In my haste to fix net_plugin's gelf logging, I didn't remove the now defunct log-level-net-plugin config item

Not ready I need to figure out how to change the tests


Add global AnalyzerConfig with default configuration

PR Summary
Copy microsoft.codeanalysis.netanalyzers/5.0.0-rtm.20502.2/editorconfig/AllRulesDefault/.editorconfig to .globalconfig
PR Context
Alternative to #12892
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[x] None
OR
[NA] Experimental feature(s) needed

[NA] Experimental feature name(s):

User-facing changes

[x] Not Applicable
OR
[NA] Documentation needed

[NA] Issue filed:

Testing - New and feature

[x] N/A or can only be tested interactively
OR
[NA] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[NA] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:

Impact on PowerShell Editor Services which is used in the PowerShell extension for VSCode (which runs in a different PS Host).
Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.
Impact on PSScriptAnalyzer (which provides linting & formatting in the editor extensions).
Impact on EditorSyntax (which provides syntax highlighting with in VSCode, GitHub, and many other editors).

Why not follow https://github.com/dotnet/runtime/blob/master/eng/Analyzers.props?

Why not follow https://github.com/dotnet/runtime/blob/master/eng/Analyzers.props?
(Also I'd think about xUnit tests folder too.)
Previously, you had wanted to use EditorConfig instead of ruleset configuration.

Previously, you had wanted to use EditorConfig instead of ruleset configuration.

My thought was and is that we shouldn't have two configs - in EditorConfig and in ruleset. If VS Code supports(?) ruleset it is better to use ruleset and follow .Net team's pattern.

Closed in favour of #12892

@iSazonov This PR uses .globalconfig file. It is the easiest solution and it just works, including TreatWarningsAsErrors.

I will merge because:

we should benefit from Roslyn analyzers that is best practice.
it is more convenient than alternative analyzers.
we will be able to force rules in PRs without requests from maintainers.
After we moved to .Net 5.0 RC1 Roslyn analyzers are already enabled by default.
VS Code OmniSharp works with EditorConfig and GlobalConfig (need latest VS 2019 16.8 Preview5+).

As a side notice, we could disable Analyzers in all CIs to speed up compiling and separate check (compile only) with enabled analyzers.


Hint for Did you forget to wrap [] around? is a bit confusing.

When trying to initiate a Browser.application with incorrect arguments, it shows a hint that says: Did you forget to wrap [] around it?. In the SSCCE the view should have a  { ...,  body: List (Html msg)} instead of { ..., body: Html msg}. Also the definitions for UrlRequest and urlChange are wrong.  Probably the compiler is trying to say that a list should be used. But the hint is a bit a confusing because many things are wrong here and it just says wrap a [] around it without saying around what.
SSCCE:
module Main exposing (..)

import Browser
import Html exposing (..)
import Tuple exposing (pair)
import Url

main =
    Browser.application
        { init = init
        , view = view
        , update = update
        , subscriptions = \_ -> Sub.none
        , onUrlRequest = LinkClicked
        , onUrlChange = UrlChange
        }

type alias Model = {}

init env flags key = pair {} Cmd.none

view model =
    { title = "My app"
    , body = Html.h2 [] [ text "Elm 19" ]
    }

type Msg = LinkClicked Url.Url | UrlChange

update msg model = pair model Cmd.none

Produces this Error Msg
The 1st argument to `application` is not what I expect:

10|     Browser.application
11|>        { init = init
12|>        , view = view
13|>        , update = update
14|>        , subscriptions = \_ -> Sub.none
15|>        , onUrlRequest = LinkClicked
16|>        , onUrlChange = UrlChange
17|>        }

This argument is a record of type:

    { init : flags -> Url.Url -> Browser.Navigation.Key -> ( {}, Cmd msg1 )
    , onUrlChange : Msg
    , onUrlRequest : Url.Url -> Msg
    , subscriptions : {} -> Sub msg1
    , update : msg1 -> {} -> ( {}, Cmd msg1 )
    , view : {} -> { body : Html msg, title : String }
    }

But `application` needs the 1st argument to be:

    { init : flags -> Url.Url -> Browser.Navigation.Key -> ( {}, Cmd msg1 )
    , onUrlChange : Url.Url -> msg1
    , onUrlRequest : Browser.UrlRequest -> msg1
    , subscriptions : {} -> Sub msg1
    , update : msg1 -> {} -> ( {}, Cmd msg1 )
    , view : {} -> Browser.Document msg1
    }

Hint: Did you forget to add [] around it?

Ended up removing the hint in https://github.com/elm/compiler/commit/0cd361d54c3a56940ebf94882069adf1fbc4600e. Seems like it's actively confusing in some cases, and in general, probably very rarely the real problem.
Thank you for reporting this!


Fixed Parsing time bug found for testing dataset

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
82 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.001%) to 3.68%

Files with Coverage Reduction
New Missed Lines
%

pacemaker/job.py
82
0.0%

Totals

Change from base Build<PHONE_NUMBER>0:
-0.001%

Covered Lines:
193

Relevant Lines:
5245

💛  - Coveralls


ADDON-34131: Pagination component implemented

JIRA Ticket: https://jira.splunk.com/browse/ADDON-34131

:tada: This PR is included in version 5.0.0-develop.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 5.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Make TypeError, CastError, AssertionError abstract classes.

The VM prevented creation and extension of these classes by accidentally removing the default constructor. Now that this is fixed, we probably still want to make the classes abstract, so a user will at least have to extend them with useful information.

Is this still intended for 2.0?

Yes

Any updates, @lrhn?

AFAIK, this work is no longer intended to be done (and definitely isn't part of the Dart2Stable milestone).

Correct. We decided that it's not important enough to worry about.


写OHCI_HC_CONTROL_HEAD_ED，OHCI_HC_BULK_HEAD_ED未使用物理地址

_ux_hcd_ohci_asynchronous_endpoint_create：139line, 150line
before:
_ux_hcd_ohci_register_write(hcd_ohci, OHCI_HC_CONTROL_HEAD_ED, (ULONG) ed);
_ux_hcd_ohci_register_write(hcd_ohci, OHCI_HC_BULK_HEAD_ED, (ULONG) ed);
up：
_ux_hcd_ohci_register_write(hcd_ohci, OHCI_HC_CONTROL_HEAD_ED, (ULONG)_ux_utility_physical_address(ed));
_ux_hcd_ohci_register_write(hcd_ohci, OHCI_HC_BULK_HEAD_ED, (ULONG)_ux_utility_physical_address(ed));

It's fixed now.


All hosts get same subnet and do not recognize the other hosts

I trying out flannel using cores-vagrant. I start up 3 hosts and install the flannel binary in each of them. I add the network configuration using etcdctl and then start flannel on each host using
sudo /opt/bin/flanneld &
and on all hosts I get the same output
Installing signal handlers
I0926 06:56:56.933827 00733 main.go:89] Determining IP address of default interface
I0926 06:56:56.934355 00733 main.go:164] Using <IP_ADDRESS> as external interface
I0926 06:56:56.997207 00733 subnet.go:80] Subnet lease acquired: <IP_ADDRESS>/24
I0926 06:56:57.001976 00733 main.go:175] UDP mode initialized
I0926 06:56:57.002595 00733 udp.go:238] Watching for new subnet leases
coreos-vagrant creates two network adapters on each host : one nat and one host only
Could my problem be that flannel selects the NAT adapter (<IP_ADDRESS>)?

Life-saver right here!

Life-saver :+1:


Some errors are missing line number information.

Hi,
I'm not very familiar with serde so I don't know if this is a problem with that, but certain error messages are pretty unhelpful right now for fixing errors. In particular, a great deal of errors are missing information about what line they came from (or just have it baked into the message - this is better than nothing, but it would be more pleasant to actually get the location out so I can present it to the user.)
As an example step, the following code (edited from the example):
use ron::de::from_str;
use serde::Deserialize;

#[derive(Debug, Deserialize)]
struct Config {
    boolean: bool,
    tuple: (u32, u32),
}

const CONFIG: &str = "
(
    boolean: true,
    //tuple: (3 /*(2 + 1)*/, 7 /*(2 * 5 - 3)*/), //Notice the commented out field here
)";

fn main() {
    let config: Config = match from_str(CONFIG) {
        Ok(x) => x,
        Err(e) => {
            panic!("{:?}", e)
        }
    };

    println!("Config: {:?}", &config);
}

will just print out missing field \tuple``, which isn't super helpful in larger files.
I took a look around in the code to see if there was anything I could hack in myself to help with this, but I had a hard time actually tracing the path the code follows.

Yes, line number information would be terrific to have!
I happen to be working on WGSL parsing in https://github.com/gfx-rs/naga/pull/16 and realized there is no way to debug this without proper line/column numbers. Moreover, ideally we'd have a stack of scopes in an error, each with its own line/column on where it started.

I wouldn't mind trying to take a look at this, but do you have any idea of where I should start digging?

@halvnykterist you could start by looking at how Naga does it for WGSL. It's unlikely the best example, but it's much more useful than nothing that RON has :)

As a sanity check I wanted to make sure that serde_json does handle this correctly, and it does:
use serde::Deserialize;

#[derive(Debug, Deserialize)]
struct Config {
    boolean: bool,
    tuple: (u32, u32),
}

const CONFIG: &str = "
(
    boolean: true,
    //tuple: (3 /*(2 + 1)*/, 7 /*(2 * 5 - 3)*/), //Notice the commented out field here
)";

const CONFIG_JSON: &str = "
{
    \"boolean\": true
}";

fn main() {
    let config_json: Config = match serde_json::de::from_str(CONFIG_JSON) {
        Ok(x) => x,
        Err(e) => {
            panic!("ERROR: {:?}", e)
        }
    };

    println!("JSON: Config: {:?}", &config);
}

prints out
ERROR: Error("missing field \tuple`", line: 4, column: 1)`
I'm looking through serde_json now to see how they actually store that.
Stacked scope of errors would be interesting, although I'm not sure how that'd work with serde's error handling.

I found a way to add them, using serde's json deserializer as a model and I'm doing a pull request of a sketch of how it could be done, it feels a bit messy however and I'm not sure if there would be a way to handle it more cleanly. Basically, I'm taking all the visit_X calls and mapping the error to include the line number if applicable.

https://github.com/ron-rs/ron/pull/209

wtf bot? going to close this every 2 weeks now?


Color theme "Monokai" version light

Hello,
vscode have features auto switch theme "light" and "dark" is perfect. but when use monokai theme is only dark.
Please can add color Monokai for light on vscode :)
Thanks !

There are existing Monokai Light color schemes available in the Marketplace
Monokai Light

There are existing Monokai Light color schemes available in the Marketplace
Monokai Light

I using this theme, but it bug

Sorry, we don't want t add another built-in theme.
Maybe file an issue against Monokai Light?


Any working example for swashbuckle with fileupload working in asp.net core 3.1

I have a asp.net core 3.1 application where i am using swashbuckle. all my api's are working. now i need a fileupload in one of the controller
i have tried following
 [HttpPost("bulkSubscription")]
        public IActionResult BulkSubscription([FromForm(Name = "myFile")] IFormFile myFile)
        {
            return Ok();
        }

 public class FileOperationFilter : IOperationFilter
    {
        public void Apply(OpenApiOperation operation, OperationFilterContext context)
        {
            if (operation.OperationId == "MyOperation")
            {
                operation.Parameters.Clear();
                operation.Parameters.Add(new OpenApiParameter
                {
                    Name = "formFile",
                    In = ParameterLocation.Header,
                    Description = "Upload File",
                    Required = true,
                    Schema = new OpenApiSchema
                    {
                        Type = "file",
                        Format = "binary"
                    }
                });
                var uploadFileMediaType = new OpenApiMediaType()
                {
                    Schema = new OpenApiSchema()
                    {
                        Type = "object",
                        Properties =
                    {
                        ["uploadedFile"] = new OpenApiSchema()
                        {
                            Description = "Upload File",
                            Type = "file",
                            Format = "binary"

                        }
                    },
                        Required = new HashSet<string>()
                    {
                        "uploadedFile"
                    }
                    }
                };
                operation.RequestBody = new OpenApiRequestBody
                {
                    Content =
                {
                    ["multipart/form-data"] = uploadFileMediaType
                }
                };

            }
        }
    }

and following in my startup.cs
private static void SwaggerInjection(IServiceCollection services)
        {
            //services.AddSwaggerGenNewtonsoftSupport();
            services.AddSwaggerGen(x =>
            {
                x.SwaggerDoc("v1", new OpenApiInfo { Title = "My APIs", Version = "v1" });
                x.DescribeAllEnumsAsStrings();
                x.OperationFilter<FileOperationFilter>();
                // to manage APIs in groups on swagger (Help: https://rimdev.io/swagger-grouping-with-controller-name-fallback-using-swashbuckle-aspnetcore/)
                x.TagActionsBy(api =>
                {
                    if (api.GroupName != null)
                    {
                        return new[] { api.GroupName };
                    }

                    var controllerActionDescriptor = api.ActionDescriptor as ControllerActionDescriptor;
                    if (controllerActionDescriptor != null)
                    {
                        return new[] { controllerActionDescriptor.ControllerName };
                    }

                    throw new InvalidOperationException("Unable to determine tag for endpoint.");
                });
                x.DocInclusionPredicate((name, api) => true);

                // to add authorization option on swagger
                // first we define the security scheme
                x.AddSecurityDefinition("Bearer", // name the security scheme
                    new OpenApiSecurityScheme
                    {
                        Description = "JWT Authorization header using the Bearer scheme.",
                        Type = SecuritySchemeType.Http, // we set the scheme type to http since we're using bearer authentication
                        Scheme = "bearer" // the name of the HTTP Authorization scheme to be used in the Authorization header. In this case "bearer".
                    });

                x.AddSecurityRequirement(new OpenApiSecurityRequirement{
                    {
                        new OpenApiSecurityScheme{
                            Reference = new OpenApiReference{
                                Id = "Bearer", // the name of the previously defined security scheme.
                                Type = ReferenceType.SecurityScheme
                            }
                        },new List<string>()
                    }
                });

                // to show API description and other stuff on swagger
                var xmlFile = $"{Assembly.GetExecutingAssembly().GetName().Name}.xml";
                var xmlPath = Path.Combine(AppContext.BaseDirectory, xmlFile);
                x.IncludeXmlComments(xmlPath);
            });
        }

but still i am not able to see fileupload.
Anyone can help what i am doing wrong

See https://github.com/domaindrivendev/Swashbuckle.AspNetCore#handle-forms-and-file-uploads
Long story short - with the latest version it will work out-of-the-box (no need for an op filter), but you need to remove the [FromForm] attribute from the IFormFile parameter - it's not meant to be used here, and actually causes some internal ASP.NET Core issues that negatively affect SB.

See https://github.com/domaindrivendev/Swashbuckle.AspNetCore#handle-forms-and-file-uploads
Long story short - with the latest version it will work out-of-the-box (no need for an op filter), but you need to remove the [FromForm] attribute from the IFormFile parameter - it's not meant to be used here, and actually causes some internal ASP.NET Core issues that negatively affect SB.

See https://github.com/domaindrivendev/Swashbuckle.AspNetCore#handle-forms-and-file-uploads
Long story short - with the latest version it will work out-of-the-box (no need for an op filter), but you need to remove the [FromForm] attribute from the IFormFile parameter - it's not meant to be used here, and actually causes some internal ASP.NET Core issues that negatively affect SB.

I am using .net core 3.1 with Swashbuckle.AspNetCore 5.6.3
what specific thing i needed to update?

See https://github.com/domaindrivendev/Swashbuckle.AspNetCore#handle-forms-and-file-uploads
Long story short - with the latest version it will work out-of-the-box (no need for an op filter), but you need to remove the [FromForm] attribute from the IFormFile parameter - it's not meant to be used here, and actually causes some internal ASP.NET Core issues that negatively affect SB.

I am using .net core 3.1 with Swashbuckle.AspNetCore 5.6.3
what specific thing i needed to update?

See https://github.com/domaindrivendev/Swashbuckle.AspNetCore#handle-forms-and-file-uploads
Long story short - with the latest version it will work out-of-the-box (no need for an op filter), but you need to remove the [FromForm] attribute from the IFormFile parameter - it's not meant to be used here, and actually causes some internal ASP.NET Core issues that negatively affect SB.

Thanks @domaindrivendev

See https://github.com/domaindrivendev/Swashbuckle.AspNetCore#handle-forms-and-file-uploads
Long story short - with the latest version it will work out-of-the-box (no need for an op filter), but you need to remove the [FromForm] attribute from the IFormFile parameter - it's not meant to be used here, and actually causes some internal ASP.NET Core issues that negatively affect SB.

Thanks @domaindrivendev

Decorate the IFormFile parameter with the [Required] attribute

Decorate the IFormFile parameter with the [Required] attribute

Thanks

Thanks


Adding an API method

Plugin(Methods.java): http://pastebin.com/pHPmANke
Plugin(Plugins.java): http://pastebin.com/LUfDsujg
when I tested on my server, I got this: http://pastebin.com/Nu9Cfesa
can someone help me pls..?
(I'm just a newbie)
my server is now using "spigot 1.8.5" and "JSONAPI 5.6.0 - for 1.8"

did you make sure jsonapi is listed as a dependency of your plugin so that it is loaded first

I found that where the error come from.
becuz of my plugin.yml, I put a "s" at the argument: depend, so that it cant load as dependency.
(sorry for my bad English -w-)
btw, thx for your help. :)


Add instructions to install nix package in README

Status: Complete
Today you cannot install rtfm from nixpkgs because it has just been merged. The package appears a couple of days after merge, as soon as nix-cache is updated.
Package should appear here https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query=rtfm

Now nix package is available!


can't use @babel/preset-typescript

Hi and thanks for the plugin,
I want to use typescript so I thought it will be as straightforward as adding @babel/plugin-typescript to the .babelrc but this somehow doesn't strip the types from the file. I wonder why this happens and if I can fix it or do I have to use something like rollup-plugin-typescript2.
Here is how I tried to get it working - https://github.com/Tomekmularczyk/react-package-rollup/tree/with-typescript
P.S Also, I don't understand WHY rollup-plugin-typescript section points to this package.

@Andarist thanks! I also found a #255 meanwhile and now it works.
About the PR... I could make it, but I don't know enough details. I'm still confused why what is pointed out in the #why-section is the reason for the rollup-plugin-typescript package. Is it about performance or some additional configuration?

I think it's just about config complexity - kinda easier to have a single tool which combines multiple other tools (with plugins) to create a final output from the raw input rather than creating carefully a pipeline from those tools where each gets intermediate results.


fix for Tuple type, add runtests.jl

Unit tests (runtests.jl, fixes #36 ) work on 0.3 and lastest master with new Tuple type.

Thanks!


Inclusions Error on Particle Photon

Hi Dan
First off, a huge thank you for providing this library. I want to use this for a beer fermentor temperature controller.
I have a pretty basic problem with the library: I have added the library to my project, but the line "#include <pid.h>" gives this error: pid.h: No such file or directory
Do you have any hints why this could be happening? I also tried your examples, there the inclusion seems to work fine.
I am using firmware 0.7.0 on the particle.

Hi @chixxi! I deserve very little credit -- I'm only adapting an already useful library for Particle.
Pretty hard to say from here. How did you add the library? Was it via the "Libraries" page in the Particle IDE? You might have more luck troubleshooting in https://community.particle.io/.
I'm going to close this but feel free to open a new issue if you uncover anything that's a problem with the library itself. Thanks!

Thanks for your quick answer!
I used the official way to add the library, meaning I used it on https://build.particle.io/build/ and included it over the web interface. I am also using other libraries like OneWire.h which were included successfully.
Well, I found a way around the issue: I opened your examples, saved it as a new project and I went ahead from there. So I am happy now.


Symbols for Fortran code are not grouped correctly

Hello,
I observed that Fortran symbols are not grouped/indented correctly.
Data members inside derived types (i.e structs/classes)) are not grouped correctly in the outline, and neither are the modules or functions.
I'm using Fortls LSP with Neovim.
Thanks!

Hi, unfortunately I don't use Fortran and don't currently have the bandwidth to troubleshoot the issue. I will convert this to a discussion in case others have similar issues.


RelayQL: Unexpected invocation ...

 Issue by slicejunk
Wednesday Mar 15, 2017 at 15:33 GMT
Originally opened as https://github.com/storybooks/react-native-storybook/issues/131

when use with babel-relay-plugin-loader.
this happens even when the .babelrc is copied into the storybook/ directory.
Any workaround?

Old bug, not sure if it's still relevant. Please reopen if it still exists on the latest builds.


When calling two trim commands in a row the second does not work

This was due to the selected shape collection not being cleared during the select operation, effectively causing the same shape to be selected.


Allow use of "* * *" as delimiter for special variables

I have the following template:
---

project: dropdown(TEST1,TEST2,TEST3)
template_title: {{ date }} - {{ project }}
template_tags: TESTTAG, {{ project }}

---

# {{date}}
{{project}}:

If I switch to the wysiwyg editor and make some modification, then all the "---" get replaced with "* * *", breaking the variables in the template
The only installed plugins are templates and backup (probably not related to the issue)
I guess the easy way to fix this could be to allow "* * *" as the special variables delimiter HERE

There is a Joplin option to protect certain code from conversion.
I'll have to take a closer look again


Error after cancel the connection in the wallet

This issue is happening after cancel the connection inside the wallet app, which is breaking the flow.
thanks for any help or fix to handle this error

I've fixed the bug and released a new version 0.1.2.


Web UI: Inject a Go Back link on all pages, except the index page

Removes the repeated "Go to Home" link on every subpage
Adds a "Go Back" link to the base template, with a conditional that excludes it from the index page
Translate the "Go Back" string for all locales

@nucleogenic What do you think about this method of going back in browser history? I have a vague memory that this is "vintage friendly", i.e. compatible with very old browsers. Other suggestions much welcome!

IMHO it is not good practice to add new features just before a release, instead of letting the release stabilize and just fix bugs.

@uweseimet The argument for making this change now, is that with the introduction of the Settings page, the navigation away from the Logging page got awkward. Before, the Go to Home link would take you back to the page where you could initiate another fetching of logs, but this is no longer the case.
It's not a critical issue of course, since the browser back button is a good workaround for the same. Just might be initially cumbersome for users. I'm ok to postpone the fix.

@rdmark No need to postpone, but I am just a bit worried about all these changes when a release is close.

Agreed. Avoiding scope creep near a release is important. My aim is to fix only bugs that are revealed by testing.

@nucleogenic I reworked this PR after your feedback. Please review when you have a moment to spare!

Would a "house" icon make more sense than the << icon?  << makes me think "back", not "home".  Otherwise it looks good to me & works as expected.

@benjamink Made it a house icon!
@nucleogenic Yay! Sorry again for the aggressive force pushing. I got used to it in another project that is strict about always having a "clean" changeset in active PRs. ;)
I pushed a small change to tweak the Classic theme, and the device info table.


Fix duplicated column definition in the gpbackup metadata

Fix duplicated column definition in the gpbackup metadata
Problem description:
If a column in a table had privileges granted for two (or more) users, gpbackup
created metadata file, where this column was duplicated.
Cause:
The SQL query, that is used to retrieve information about all table columns in
the function 'GetColumnDefinitions', had the 'unnest' function applied to the
array of column-level access privileges from the 'pg_catalog.pg_attribute'.
Because of the 'unnest', if there were several aclitems for a column, the result
of the query had several rows returned for this column. But gpbackup treated all
these rows as results for separate columns, causing duplication in the metadata.
Fix:
'unnest' is replaced with the 'array_to_string' function in the query. Thus, for
each column, there is only one row in the result of the query. Now, the field
'Privileges' in the 'ColumnDefinition' struct contains all column-level access
privileges, separated by a comma. And later, in 'getColumnACL', this string with
privileges is split into a slice of strings, each string containing separate
aclitem, which is then parsed as before.

this diff
diff --git a/end_to_end/end_to_end_suite_test.go b/end_to_end/end_to_end_suite_test.go
index 334e979e..46b189ab 100644
--- a/end_to_end/end_to_end_suite_test.go
+++ b/end_to_end/end_to_end_suite_test.go
@@ -2013,11 +2013,11 @@ LANGUAGE plpgsql NO SQL;`)
 					Skip("This test is not needed for old backup versions")
 				}
 				testhelper.AssertQueryRuns(backupConn, "CREATE TABLE public.t1 (a int) DISTRIBUTED BY (a);")
-				testhelper.AssertQueryRuns(backupConn, "CREATE USER user1;")
+				testhelper.AssertQueryRuns(backupConn, "CREATE USER \"user,1\";")
 				testhelper.AssertQueryRuns(backupConn, "CREATE USER user2;")
-				testhelper.AssertQueryRuns(backupConn, "GRANT SELECT (a) on public.t1 to user1;")
+				testhelper.AssertQueryRuns(backupConn, "GRANT SELECT (a) on public.t1 to \"user,1\";")
 				testhelper.AssertQueryRuns(backupConn, "GRANT SELECT (a) on public.t1 to user2;")
-				defer testhelper.AssertQueryRuns(backupConn, "DROP USER user1;")
+				defer testhelper.AssertQueryRuns(backupConn, "DROP USER \"user,1\";")
 				defer testhelper.AssertQueryRuns(backupConn, "DROP USER user2;")
 				defer testhelper.AssertQueryRuns(backupConn, "DROP TABLE public.t1;")

@@ -2025,7 +2025,7 @@ LANGUAGE plpgsql NO SQL;`)

 				contents := string(getMetdataFileContents(backupDir, timestamp, "metadata.sql"))
 				Expect(contents).To(ContainSubstring("CREATE TABLE public.t1 (\n\ta integer\n) DISTRIBUTED BY (a);"))
-				Expect(contents).To(ContainSubstring("GRANT SELECT (a) ON TABLE public.t1 TO user1;"))
+				Expect(contents).To(ContainSubstring("GRANT SELECT (a) ON TABLE public.t1 TO \"user,1\";"))
 				Expect(contents).To(ContainSubstring("GRANT SELECT (a) ON TABLE public.t1 TO user2;"))
 			})
 		})

breaks patch
...
      GRANT SELECT (a) ON TABLE public.t1 TO 1";
      GRANT SELECT (a) ON TABLE public.t1 TO user2;
...

try to use pq.StringArray instead sql.NullString for Privileges field in ColumnDefinition struct

this diff
diff --git a/end_to_end/end_to_end_suite_test.go b/end_to_end/end_to_end_suite_test.go
index 334e979e..46b189ab 100644
--- a/end_to_end/end_to_end_suite_test.go
+++ b/end_to_end/end_to_end_suite_test.go
@@ -2013,11 +2013,11 @@ LANGUAGE plpgsql NO SQL;`)
 					Skip("This test is not needed for old backup versions")
 				}
 				testhelper.AssertQueryRuns(backupConn, "CREATE TABLE public.t1 (a int) DISTRIBUTED BY (a);")
-				testhelper.AssertQueryRuns(backupConn, "CREATE USER user1;")
+				testhelper.AssertQueryRuns(backupConn, "CREATE USER \"user,1\";")
 				testhelper.AssertQueryRuns(backupConn, "CREATE USER user2;")
-				testhelper.AssertQueryRuns(backupConn, "GRANT SELECT (a) on public.t1 to user1;")
+				testhelper.AssertQueryRuns(backupConn, "GRANT SELECT (a) on public.t1 to \"user,1\";")
 				testhelper.AssertQueryRuns(backupConn, "GRANT SELECT (a) on public.t1 to user2;")
-				defer testhelper.AssertQueryRuns(backupConn, "DROP USER user1;")
+				defer testhelper.AssertQueryRuns(backupConn, "DROP USER \"user,1\";")
 				defer testhelper.AssertQueryRuns(backupConn, "DROP USER user2;")
 				defer testhelper.AssertQueryRuns(backupConn, "DROP TABLE public.t1;")

@@ -2025,7 +2025,7 @@ LANGUAGE plpgsql NO SQL;`)

 				contents := string(getMetdataFileContents(backupDir, timestamp, "metadata.sql"))
 				Expect(contents).To(ContainSubstring("CREATE TABLE public.t1 (\n\ta integer\n) DISTRIBUTED BY (a);"))
-				Expect(contents).To(ContainSubstring("GRANT SELECT (a) ON TABLE public.t1 TO user1;"))
+				Expect(contents).To(ContainSubstring("GRANT SELECT (a) ON TABLE public.t1 TO \"user,1\";"))
 				Expect(contents).To(ContainSubstring("GRANT SELECT (a) ON TABLE public.t1 TO user2;"))
 			})
 		})

breaks patch
...
      GRANT SELECT (a) ON TABLE public.t1 TO 1";
      GRANT SELECT (a) ON TABLE public.t1 TO user2;
...

try to use pq.StringArray instead sql.NullString for Privileges field in ColumnDefinition struct

fixed


[ImgBot] Optimize images

Beep boop.
Your image file size has been reduced by 27% 🎉

Details

File
Before
After
Percent reduction

/contributing/delivery-comment.png
188.08kb
131.50kb
30.08%

/contributing/app-created.png
56.42kb
43.06kb
23.68%

/contributing/where-can-this-app-be-installed.png
31.58kb
25.66kb
18.76%

Total :
276.08kb
200.21kb
27.48%

📝docs | :octocat: repo | 🙋issues | 🏅swag | 🏪marketplace

If you want, you can install https://imgbot.net in this repo (or in the full organization).
It will automatically send PRs for image optimization 🙂


 Could you provide more details as to what you are referring to?

Hey there! Could you provide more details as to what you are referring to?

The Boilerplate is not so slow. Also it is only an example of how you can approach things using discordeno. It is not a bot template you can just throw in and use for a big bot.
(Ayntee already wrote it: You cannot expect help if you don't provide any information at all.)

The Boilerplate is not so slow. Also it is only an example of how you can approach things using discordeno. It is not a bot template you can just throw in and use for a big bot.
(Ayntee already wrote it: You cannot expect help if you don't provide any information at all.)

Hey there! Could you provide more details as to what you are referring to?

Of course! It's incredibly slow, beyond the pale, when first populating its cache by having Deno scan and read all files in the relevant folders (commands, events, etc.).
With a i9-9900k at 5GHz and 64GB 4000Mhz RAM it takes around 1 minute to load the boilerplate up (or restart it for the matter!). Completely unacceptable.
Re-engineer the boilerplate to make cache loading optional at the very least.
Deno bots will never replace Golang bots

Hey there! Could you provide more details as to what you are referring to?

Of course! It's incredibly slow, beyond the pale, when first populating its cache by having Deno scan and read all files in the relevant folders (commands, events, etc.).
With a i9-9900k at 5GHz and 64GB 4000Mhz RAM it takes around 1 minute to load the boilerplate up (or restart it for the matter!). Completely unacceptable.
Re-engineer the boilerplate to make cache loading optional at the very least.
Deno bots will never replace Golang bots

So starting takes so long because we are forcing Deno to import all files in the src folder. BUT this only takes so long once at initial start-up after only files that were changes get recompiled.

So starting takes so long because we are forcing Deno to import all files in the src folder. BUT this only takes so long once at initial start-up after only files that were changes get recompiled.

If you have issues with the files getting compiled every time this is not an issue with this boilerplate but with Deno itself.

If you have issues with the files getting compiled every time this is not an issue with this boilerplate but with Deno itself.

So starting takes so long because we are forcing Deno to import all files in the src folder. BUT this only takes so long once at initial start-up after only files that were changes get recompiled.

Is Deno a joke?

If you have issues with the files getting compiled every time this is not an issue with this boilerplate but with Deno itself.

Deno is very much a joke atm

So starting takes so long because we are forcing Deno to import all files in the src folder. BUT this only takes so long once at initial start-up after only files that were changes get recompiled.

Is Deno a joke?

If you have issues with the files getting compiled every time this is not an issue with this boilerplate but with Deno itself.

Deno is very much a joke atm

What do you mean with joke?

What do you mean with joke?

So starting takes so long because we are forcing Deno to import all files in the src folder. BUT this only takes so long once at initial start-up after only files that were changes get recompiled.

Is Deno a joke?

If you have issues with the files getting compiled every time this is not an issue with this boilerplate but with Deno itself.

Deno is very much a joke atm

Deno type-checks each module that is loaded, you can specify the --no-check flag to the deno run command to disable type-check.

So starting takes so long because we are forcing Deno to import all files in the src folder. BUT this only takes so long once at initial start-up after only files that were changes get recompiled.

Is Deno a joke?

If you have issues with the files getting compiled every time this is not an issue with this boilerplate but with Deno itself.

Deno is very much a joke atm

Deno type-checks each module that is loaded, you can specify the --no-check flag to the deno run command to disable type-check.


GetUserID: Provide handler for endpoint /users

Returns user info for the given user ID. The new function is similar to
GetUsername().

Hi , Thank you , Travis CI didn't confirm, according to job logs , We have some problem in TestRequest , I will check it as soon as possible , If you can please help me because i'm a little busy today.
Regards


Consider adding caching to more ID objects.

Is your feature request related to a problem? Please describe.
#4313 added caching to CompactorGroupId like this:
static final Cache<String,CompactorGroupId> cache = Caches.getInstance()
      .createNewBuilder(Caches.CacheName.COMPACTOR_GROUP_ID, false).weakValues().build();

There are several other ID objects that already have caching too like TableId, NamespaceId and InstanceId.
Describe the solution you'd like
Consider adding similar caching to the following ID objects:

ExternalCompactionId
CompactionExecutorId
CompactionServiceId
FateId
TabletOperationId

There may be others but these are the objects that extends AbstractId.

Mind if I take a look at this

I wonder if we really need to cache the Id object. Each Id is a wrapper around a String. I wonder if the following would be sufficient:
   protected AbstractId(final String canonical) {
-    this.canonical = Objects.requireNonNull(canonical, "canonical cannot be null");
+    this.canonical = Objects.requireNonNull(canonical, "canonical cannot be null").intern();
   }

I realize that by Caching the Id object we are saving the time it takes to create it, but we are also incurring the overhead of having a Cache for each Id type.

Also, I'm not sure that we want to cache things like FateId which could be short-lived. We likely also want to have Id expire after some period of time (a day?)

Probably do not want to cache high cardinality short lived ids like FateId and ExternalCompactionId.

We likely also want to have Id expire after some period of time (a day?)

Are you suggesting this for the existing objects that are cached? Or if new ones are added?

Sorry, I wasn't clear. I was suggesting that if we are going to cache Ids, that we may want to have them expire from the cache after some period of time.

The reason behind the caching is that it is expected that some ids are low cardinality and used very frequently.  With this in mind, wondering if we should have size limited and time limited caches.  The point of the caches is that we expect it to be small, size limiting it would guard against exceptions to that expectation.  Time limiting clears out junk that is not being used any more (like a table id for a table that was deleted).

The purpose of the existing caches is de-duplication, not rapid on-demand access, like we think of most caches. When these IDs were just String types, we could use something similar to String.intern, but as a concrete type, we need the weak values cache to de-duplicate the wrapper object around the String canonical form. Expiring due to size or time would only cause duplicates to start appearing, which defeats the purpose of the cache. Sure, it would keep the cache smaller, but the objects already get removed from the cache when they are garbage collected, and removing the reference in the cache isn't going to remove the memory used by the object that's still in the JVM. I believe we already have unit tests to make sure the weak values caching mechanism is working correctly with garbage collection.
So, for the existing caches, I don't think any change needs to be made.
That said, this ticket is about caching more types, not necessarily changing the existing caching. In that context, it's important to note that the de-duplication caches really only benefit objects that are frequently duplicated (regardless of cardinality, though types with low-cardinality relative to the frequency of object creation will benefit the most from de-duplication). These typically come from instantiation of the wrapper concrete type when deserializing the canonical representation from user input, ZooKeeper, the metadata table, or similar. Things like TableId and NamespaceId clearly benefit from these. However, not all of these ID types are prone to duplication due to deserialization of their canonical forms. Each one would have to be evaluated to determine if they are subject to frequent duplication, and would benefit from a de-duplication cache, on a case-by-case basis.
It's also possible that some of these would benefit from a different kind of cache that might have something like time or size limits, but again, that would require each type to be evaluated on a case-by-case basis in the context of that cache's purpose.
If a cache is added, it should be done because it's clear that it would benefit from a the cache being added, whether it's a de-duplication cache to limit memory usage for frequently deserialized IDs with low cardinality, or if it's a cache for some other purpose.
Right now, I'm not sure we have any reason to believe any of these other ID types would benefit from additional caching. So, we could probably just close this issue, or somebody could dive in and do some experimentation and analysis to see if the other types would benefit from a cache. I suspect that it's unlikely they will benefit, but have not done the analysis myself, so it's only a suspicion.


Update version9.txt with the list of new/changed features

I have gone through the patches upto 1500.  Will send another PR later.

thanks, except for the one comment, it looks good I think


Enable Deep-Speed?

I have an RTX 3080, I want accurate models but when I enable "--train_text_encoder" I get the following error "RuntimeError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 10.00 GiB total capacity; 9.15 GiB already allocated; 0 bytes free; 9.27 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF"

same here

Use --gradient_checkpointing and close any other process. If you have 10GB may not work with text-enc anw.

Use --gradient_checkpointing and close any other process. If you have 10GB may not work with text-enc anw.

I'm a complete n00b here, but I've used --gradient_checkpointing (followed the huggingface docs for training on a 8GB GPU) and it changed the out of memory message: from  requiring 52GB to 26GB.
I assume that the docker image needs to be configured to DeepSpeed as well? in the accelerate config phase? does this make sense?

Not sure. As far as i know, this GUI works with 10Gb min for text-enc. And in my experience, with 12vram and 24ram, it only works with all process closed. 8GB seems to be a no for now.

thanks


After Page Search, 1st page result entry is actually previous result

After search preset search or text search, 1st result entry redirect you to previously visited page instead of desired destination.
Steps to reproduce

Search Preset

Visit one of front pages prior to visiting dashsboatd
Visit Sitemap - Page Search
Create a search preset
Search using search preset
Get the search result
Move the mouse cursor to the 1st page result
You click the page and tried to visit that page
It WON'T visit that page, instead, it will visit the previously listed result page which was sales associate

Text Search

Visit one of front pages prior to visiting dashsboatd
Search using text keyword
Get the search result
Move the mouse cursor to the 1st page result
You click the page and tried to visit that page
It WON'T visit that page, instead,  it will visit the previously listed result page which was sales associate

You haven't actually selected a page in those examples. If you continue to move your mouse and the page gets highlighted blue then the link will be correct.
This is probably an example of old items sticking around in the DOM and not getting refreshed when the search actually happens.


Refactor journeyData

Codecov Report
Attention: Patch coverage is 91.30435% with 2 lines in your changes missing coverage. Please review.

Project coverage is 87.00%. Comparing base (99d3a08) to head (a3c5c00).

Files with missing lines
Patch %
Lines

server/routes/csip-records/controller.ts
50.00%
1 Missing :warning:

server/routes/testutils/appSetup.ts
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #357      +/-   ##
==========================================
- Coverage   90.95%   87.00%   -3.96%
==========================================
  Files         350      349       -1
  Lines        5525     5500      -25
  Branches      863      861       -2
==========================================
- Hits         5025     4785     -240
- Misses        485      686     +201
- Partials       15       29      +14

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


'Vibora' object has no attribute 'add_component'

Describe the bug
Vibora documentation describes a method named add_component.
https://github.com/vibora-io/vibora/blob/master/docs/components/initial.md
However, it does not exist.
To Reproduce
I installed Vibora 0.0.6 via pip3, Python 3.6
Type "help", "copyright", "credits" or "license" for more information.
>>> import vibora
>>> app = vibora.Vibora()
>>> config = {}
>>> app.add_component(config)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'Vibora' object has no attribute 'add_component'

See error

AttributeError: 'Vibora' object has no attribute 'add_component'

Try the newest 0.0.7 from master

@danieldaeschle I believe that the document is incorrect. I made a pull request https://github.com/vibora-io/vibora/pull/158


Revert "[SPARK-45088][PYTHON][CONNECT] Make getitem work with duplicated column"

What changes were proposed in this pull request?
This reverts commit 73d3c49c97ae1be3f9f96fbc86be1c91cd17a656.
Why are the changes needed?
to address https://github.com/apache/spark/pull/42828#discussion_r1338141627 and https://github.com/apache/spark/pull/43115#discussion_r1338097284, should not use GetColumnByOrdinal in this case.
Need to find another approach, but let's revert it first.
Does this PR introduce any user-facing change?
No
How was this patch tested?
CI
Was this patch authored or co-authored using generative AI tooling?
No

thank you, merged to master


Functions returning pointers to structures do not have their offsets named

Windows 10 2545-dev Personal
Apologies if this is a dupe -- I looked for similar issues but might be using different terms for things. It looks like functions that return pointers to structs do not have their offsets named.
#include <stdio.h>
#include <stdint.h>

struct A {
    uint32_t x;
    uint32_t y;
};

struct A AAAA[4];

struct A* idx(int ii) {
    return &AAAA[ii];
}

int main(void) {
    idx(0)->x = 0x41;
    idx(0)->y = 0x42;

    printf("%#x %#x\n", idx(0)->x, idx(0)->y);
}

Disassembling this in binja, even with appropriately type annotating everything gives me:
int64_t main()

140001026  idx(0)->:0.d = 0x41
140001033  idx(0)->:4.d = 0x42
140001064  printf(data_14001d000, zx.q(idx(0)->:0.d), zx.q(idx(0)->:4.d))  {"%#x %#x\n"}
14000106f  return 0

This is with the type struct A*  idx(int32_t arg1). Ideally I'd see idx(0)->x and idx(0)->y in the hlil output.

Fixed in build 2650


bcdb unlock command

implement bcdb unlock command to force clearing the lock files if not removed in cleanup

https://github.com/threefoldtech/jumpscaleX_core/commit/f229a7e5173409aef458e26d46383f7dcd5ad372

Verified , removes the lock directory/files
Usage: bcdb unlock [OPTIONS]

Options:
  --name TEXT  specify which bcdb you want to unlock, if not specified will
               unlock all
  --help       Show this message and exit.
3BOTDEVEL:ip-172-31-28-149:reservations: bcdb unlock --name reservations
BCDB instance reservations unlocked


Mistake on bad-alternative example

On https://angular.io/docs/ts/latest/guide/hierarchical-dependency-injection.html, the example of a bad-alternative has an error with the declarations and bootstrap.
I think it is changed.
I know it's a bad alternative and should not be used, but I still think it should be correct.
// Don't do this!
@NgModule({
imports: [
BrowserModule,
FormsModule
],
providers: [ HeroesService, RestoreService ],
declarations: [ HeroesListComponent ],
bootstrap: [
HeroesListComponent,
HeroCardComponent,
HeroEditorComponent
]
})

I don't think you'll convince us but, as your suggestion is about Angular, not the Angular docs, you must post it as an issue on the angular website.

I probably explained myself poorly. I didn't make any suggestion about Angular, but rather I pointed an error existing on Angular docs https://angular.io/docs/ts/latest/guide/hierarchical-dependency-injection.html.
The code above (on my first comment) is not what i suggested to do, but is the error which exists on that page.
The correct solution is:
// Don't do this!
@NgModule({
imports: [
BrowserModule,
FormsModule
],
providers: [ HeroesService, RestoreService ],
declarations: [
HeroesListComponent,
HeroCardComponent,
HeroEditorComponent
],
bootstrap:
[ HeroesListComponent ]
})
As you write on the live example mention on that page.
Because we only may bootstrap one component, not three components like you have on that example.
I hope I have made me understand better now.

OH MY!  You are absolutely right. Thanks for catching that. Fixing.


ParquetRowReader::filterRowGroups() fails to add RowGroups when it should

Parquet filterRowGroups fails when RowGroup file_offset is not set
ParquetRowReader::filterRowGroups()  uses rowGroups_[i].file_offset  to check if the current RowGroup matches with the split (starting offset,  and length). However file_offset is defaulted NOT to be populated in Parquet and not all writers would update it. The Velox check
VELOX_CHECK(rowGroups_[i].__isset.file_offset);

Would make the query fail.
Instead of using a single file_offset, we should use the first ColumnChunk's starting file position and the last ColumnChunk's ending file position as the target to match.
Issue 1
the current range matching only uses column 0's file offset and check if it's within the Split range. Suppose [52,269,596, 52,269,596 + 26,134,798] is the split range. There're 2 RowGroups. RowGroup 0 has columns[0].file_offset = 4, columns[15].file_offset = 94,381,302. RowGroup 1 has columns[0].file_offset = 133,677,309, columns[15].file_offset = 223,644,037. It should eliminate RowGroup1 but failed to do so.
Issue 2
It'll be better to match the split range before match each ColumnChunk's Statistics.
Issue 3
It'll be clearer and more efficient to move columnReader_->filterRowGroups() in the for loop and only calls it when the current RowGroup passes split match. This would save the cost of std::find() over all excluded RowGroups

Working on a fix... Assigning to myself.

Suppose [52,269,596, 26,134,798] is the split range.
The lower bound > upper bound. Is this a valid split range?
The split ranges will span the entire file size. Looking at only column 0's offset should work.

It'll be better to match the split range before match each ColumnChunk's Statistics.
This makes sense since stat computation is relatively expensive.

The lower bound > upper bound. Is this a valid split range?
It was a typo. The second should be 52,269,596 + 26,134,798. It falls into RowGroup 0. I have a fix for this.

RowGroup 1 has columns[0].file_offset = 133,677,309

This is not in the range of  [52,269,596, 52,269,596 + 26,134,798]. So it will be eliminated right?

Actually this is a severe bug. It fails to add rowgroups that should be read and read a lot less data than it should. In the attached example, the split range is [26134798, 52269596]. There are 2 row groups in the table. row group 0 is in range [4, 133677309], row group 1 in [133677309, 261347983]. filterRowGroups() should add RG0 to rowGroupIds, and skip RG1. But it fails to add any of the RGs and rowGroupIds.size() remains 0.  This means no data is read! See pic

Isn't this expected? Split range [0, 26134798] will read RG0 and split range  [130673990, 156808788] will read RG1.

Isn't this expected? Split range [0, 26134798] will read RG0 and split range [130673990, 156808788] will read RG1.

Split ranges [0, 26134798] were not handled by this reader instance. A reader never processes more than 1 split. In the above example, this reader instance needs to read split range [26134798, 52269596], which falls in RG0 and shall read RG0 only. But it didn't recognize any  RGs and put zero RG into the rowGroupIds to be read. This results in no data being read at all.

I don't believe every reader instance should process at least one Row Group. I also think a Parquet RowGroup is indivisible. It cannot be processed across two reader instances.
This is how I believe the processing works. A Parquet file is set up to be processed across multiple consecutive split ranges.
Example: Say there is a foo.parquet file of size 1000 bytes with two RowGroups with file_offsets 4, 504. We can set it up to be processed as 10 splits, [0, 99], [100, 199], ... [999, 1000]. However, only two split ranges [0, 99], [500, 599] will process the two RowGroups. Other split ranges and their readers will process nothing even if they overlap a Row Group.
Did I miss anything?

Sorry for the confusion. I did make a mistake in how Velox handles the RowGroup elimination. There was no functional error here. I'll close this issue now.


NaN on vertical axis

Using V2.3.3 downloaded today (ZIP file).
I'm not sure if this is the same problem reported before (#19) but it relates to my previous issue #23.
If I only change the loop() code from this:-
void loop()
{
 Vout=5.0*analogRead(SIG)/1023.0;
 p.Plot();
}

To this:-
void loop()
{
 float Vnew=5.0*analogRead(SIG)/1023.0;
 if (Vout==Vnew) Vout=Vnew+.0001;
 p.Plot();
}

Then Listener.exe shows NaN on the vertical axis and no values are plotted. This was done to try to avoid consecutive values being the same (in case the NaN was caused by the previously reported bug #19)

I've done similar things in loop lately and they all worked so maybe this was a glitch.


URL Launcher Plugin fails to verify canLaunch

Flutter: 1.22.0
host: Mac OS Big Sur
device: iPhone 11 Pro Max iOS 14.2
url_launcher: 5.7.10
onPressed: () async {
                  const url = 'https://bit.ly/XXX';
                  if (await canLaunch(url)) {
                  await launch(url);
                  } else {
                  throw 'Could not launch $url';
                  }
                },

The above throws the exception. Skipping canLaunch will still let us use launch successfully on iOS.

hi @HangingClowns
if you non-safari browser as your default, you need to add the following in your info.plist
<key>LSApplicationQueriesSchemes</key>
<array>
  <string>https</string>
  <string>http</string>
</array>

https://github.com/flutter/flutter/issues/65936#issuecomment-720954413
Let me know  if this solves your issue

thanks for that. maybe we can put this on the README or somewhere?

@HangingClowns
I have a PR pending for review https://github.com/flutter/plugins/pull/3252


Using rspec with OCRAN executable

Thanks a lot for this amazing software and keeping it alive! I am using is to build the executable of my open source ruby application and ship it for windows users.
I recognized, that OCRAN somehow does not seem to capture all relevant gems, though I really don't do any fancy stuff on require-ing. To solve this, I started mentioning explicit requires for missing parts, which then seems to work.
Unfortunately, I recognized, that it's not obvious, what might be missing, so I tried to include the OCRAN built in my automated test pipeline and wanted to call it via rspec and simple Kernel#system calls. And here comes the issue: I get random issues, telling me something with bundler is not correct, though calling the executable from console works out fine.
Could it be, that OCRAN mixes something up, when being called from rspec?

OCRAN is currently undergoing improvements for operation in Ruby 3 environments. We would greatly appreciate it if you could provide us with detailed information about any issues you are encountering while using OCRAN. Specifically, please include information about your Windows version and Ruby environment (OCRAN has been tested with Windows 10 and later, and Ruby 3.0 and later).
Could you possibly clone this repository and try the latest version of OCRAN? By executing the following command, you can compile the necessary binaries such as stub.exe for OCRAN:
rake build_stub
Using the --verbose option will log which files are being copied and the environment variables set at runtime.
Currently, OCRAN does not perfectly capture all required Gems. We are aware of issues related to the capture of default GEMs, rubygems, and bundler.
Please consider trying the --add-all-core and --gem-full options as well. These may help in resolving your issues.

In my build environment, I am using appveyor with image "Visual Studio 2022", which relies currently on Windows Server 2019 and Ruby 3.2.4-1 x64.
My local environment is Windows 11 with Ruby 3.3.1-x64.
Usind the --add-all-code and --gem-full options does at least not solve my issue when running via rspec. I will try it on console command calls.
Why should building OCRAN myself helt here? Is it a different version than the published one?

The latest version of the repository allows for detailed logging with the --verbose option, which can help identify where issues may be occurring. Additionally, you can use the --debug-extract option with the current version of OCRAN to extract files to the current directory when executing the executable.
It may or may not be relevant to you, but it is known that OCRAN1.3.15 does not operate correctly under bundle exec in environments using Ruby 3.2 or later. To address this, I am actively developing improvements for OCRAN.

@divinity666 The new version 1.3.16 is out. please try again with that one. thanks!

Thanks for giving me the heads up! I did not manage to build OCRAN myself in the meantime, so the new release is highly appreciated!
I just retried and can confirm that building the executable without --add-all-core and --gem-full seems to work now! Thanks a lot fot that!
Executing the executable from rspec with a simple system call does not work properly. Find here some outtake of the log:
Executing: ruby-grafana-reporter-0.9.3.exe -h
C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/specification.rb:1480:in `rescue in block in activate_dependencies': Could not find 'matrix' (~> 0.4) among 83 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/gems;C:/Users/Christian/.gem/ruby/3.3.0' at: C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/gems/specifications/asciidoctor-pdf-2.3.18.gemspec, execute `gem env` for more information
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/specification.rb:1477:in `block in activate_dependencies'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/specification.rb:1466:in `each'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/specification.rb:1466:in `activate_dependencies'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/specification.rb:1448:in `activate'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems.rb:205:in `rescue in try_activate'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems.rb:198:in `try_activate'
	from <internal:C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:139:in `block in require'
	from <internal:C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:139:in `synchronize'
	from <internal:C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:139:in `rescue in require'
	from <internal:C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:135:in `require'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/src/lib/ruby_grafana_reporter.rb:22:in `<top (required)>'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/src/bin/ruby-grafana-reporter:4:in `require_relative'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/src/bin/ruby-grafana-reporter:4:in `<main>'
C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'matrix' (~> 0.4) among 83 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/gems;C:/Users/Christian/.gem/ruby/3.3.0' , execute `gem env` for more information
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/specification.rb:1478:in `block in activate_dependencies'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/specification.rb:1466:in `each'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/specification.rb:1466:in `activate_dependencies'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/specification.rb:1448:in `activate'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems.rb:205:in `rescue in try_activate'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems.rb:198:in `try_activate'
	from <internal:C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:139:in `block in require'
	from <internal:C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:139:in `synchronize'
	from <internal:C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:139:in `rescue in require'
	from <internal:C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/core_ext/kernel_require.rb>:135:in `require'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/src/lib/ruby_grafana_reporter.rb:22:in `<top (required)>'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/src/bin/ruby-grafana-reporter:4:in `require_relative'
	from C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/src/bin/ruby-grafana-reporter:4:in `<main>'
C:/Users/Me/AppData/Local/Temp/ocran113D65E790BA/lib/ruby/3.3.0/rubygems/specification.rb:1480:in `rescue in block in activate_dependencies': Could not find 'matrix' (~> 0.4) among 83 total gem(s) (Gem::MissingSpecError)

Do you have any thoughts here?


SRS: Req 2

Requirement 2 could be more concise/specific, something along the lines of "OAR shall preprocess the input image to normalize ..."

Yeah, updated


Application Scenarios

Issue on page:        https://github.com/opentelekomcloud-docs/key-management-service/blob/main/umn/source/about_kms/application_scenarios.rst
Missing additional compatible services:
CBR
VBS
CSBS
CCE
DDS
CSS

Confirm with developer,we don’t incompatible with the following services CBR VBS CSBS CCE CSS. We integrate with DDS services，but DDS is not online at the region.


fix setting xlabel and ylabel in example

This is a small fix for an example by @dengemann, where labels of a subplot weren't being set correctly.

I am surprised about how long these obviously wrong two lines could exist without correction :) very good catch. Thank you!

The original code is interesting, because it replaces the instance methods with strings, which I guess is completely legal.
On the other hand, it seems that one can put any arbitrary stuff in the callbacks (like non_existent_function() or raise NoSuchException) and never see any error messages. :)

Thanks @jjnurminen


Bugfix/234/hp and cp bar rendering

Closes #234, and re-enables WASM job on CI.

Coverage failure may be to do with rust nightly, perhaps should try an earlier Rust nightly:
error: could not compile `wayland-commons`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
[ERROR tarpaulin] Failed to compile tests! Error: cannot find attribute `skip` in this scope
Error: "Failed to compile tests! Error: cannot find attribute `skip` in this scope"
##[error]Process completed with exit code 1.

WASM failure may be to do with rust nightly -- I think on a later nightly, backtrace is built in to libstd:
error: couldn't read /usr/share/rust/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/../backtrace/src/lib.rs: No such file or directory (os error 2)
   --> /usr/share/rust/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libstd/lib.rs:518:1
    |
518 | mod backtrace_rs;
    | ^^^^^^^^^^^^^^^^^

error: aborting due to previous error

error: could not compile `std`.

Looks like for tarpaulin 0.14 to work, dependencies need to change #[cfg(tarpaulin, skip)] to #[cfg(not(tarpaulin_include))]. See https://github.com/xd009642/tarpaulin/issues/487#issuecomment-649075161. Shall use tarpaulin 0.13 for now.


Support php and blade files

Hi! I was wondering if is possible to add support for laravel template engine (blade filetype) or how can I help to make it real?
Thanks for the plugin!

Hi @windwp, any chance we could revisit this?
Thanks

Hello, any updates on this?
Thanks

Hello, this should be resolved now with the merging of #173. If it doesn't work, please ping me and I'll reopen this issue.

Hello, this should be resolved now with the merging of #173. If it doesn't work, please ping me and I'll reopen this issue.
(As a part of @ydalton contributing to my fork, thanks)

Still doesn't work for me

Hello, this should be resolved now with the merging of #173. If it doesn't work, please ping me and I'll reopen this issue.
(As a part of @ydalton contributing to my fork, thanks)

Still doesn't work for me

Can you supply an example? I can't really debug this issue otherwise.

Still doesn't work for me

Do you have the Blade treesitter grammar installed?
You also need to have your injections and highlights configured correctly, otherwise HTML tags in Blade won't work.

Still doesn't work for me

Do you have the Blade treesitter grammar installed? You also need to have your injections and highlights configured correctly, otherwise HTML tags in Blade won't work.

I tried installing it before, but I was unsuccessful. I added this to my config:
    config = function(_, opts)

      local parser_config = require("nvim-treesitter.parsers").get_parser_configs()

      parser_config.blade = {
        install_info = {
          url = "https://github.com/EmranMR/tree-sitter-blade",
          files = { "src/parser.c" },
          branch = "main",
        },
        filetype = "blade",
      }

      vim.filetype.add({
        pattern = {
          ['.*%.blade%.php'] = 'blade',
        },
      })

      -- [[ Configure Treesitter ]]
      -- See `:help nvim-treesitter`
      require('nvim-treesitter.configs').setup(opts)

    end
  },

and installed through TSInstall blade. The things I missed were the injections and the highlights, which I now configured by following this thread.
Now it works, sorry for the ignorance!


Feature/refresh all indexing

Placeholder until develop branch is not broken.

What;s going on in this PR? The initial comment/description is not helpful.

Was simply a placeholder so I don't forget about the branch.  It was originally not passing on Travis.

Coverage decreased (-0.08%) to 71.687% when pulling 4c503526bad77d50645299400d76a86d2dd68e63 on feature/refreshAllIndexing into f23dd759f94dcb47d7a432861df0342201906528 on develop.

Coverage decreased (-0.09%) to 71.678% when pulling 69055892b6e0f287448c61b9211e5635c40817c6 on feature/refreshAllIndexing into f23dd759f94dcb47d7a432861df0342201906528 on develop.


test constraints on model with sql header

adds test coverage for https://github.com/dbt-labs/dbt-core/issues/7714
associated core PR: https://github.com/dbt-labs/dbt-core/pull/7734

Description

Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
[x] I have run changie new to create a changelog entry

@MichelleArk I updated the branch and a lot of the tests are failing. My guess is that the dbt-core branch has already been merged. I would make sure that dev-requirements.txt is updated to reflect that.

@mikealfare - done!


Please update changelog and/or add a v0.6.9 git tag

I would like to update from 0.6.7 to 0.6.9, but I can't tell what changed. I tried looking at the git log. There is a v0.6.8 tag but I don't see a v0.6.9 tag. If you can add that tag, I can send a PR to update the changelog. Thanks!

@toretore Is 683f08ef08a464704286787a898132506bf8a7e4 the SHA of gem version 0.6.9? Thanks.


Problem while starting controller container

Tries to start container from base ocrd directory. Had to set --env-file explicit cause default .env is used from docker-compose without using parameter --project-directory.
$ docker-compose --env-file C:/Users/weigelt/Work/ocr-d/kitodo_production_ocrd/.env -f ./_modules/ocrd_controller/docker-compose.yml up -d --build ocrd-controller
[+] Building 2.3s (28/28) FINISHED
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => => transferring dockerfile: 32B                                                                                0.0s
 => [internal] load .dockerignore                                                                                0.1s
 => => transferring context: 34B                                                                                0.0s
 => [internal] load metadata for docker.io/ocrd/all:maximum-git                                                                                1.8s
 => [internal] load build context                                                                                0.0s
 => => transferring context: 72B                                                                                0.0s
 => [ 1/23] FROM docker.io/ocrd/all:maximum-git@sha256:c89329357099b6d8d67b1222f09b7222f717792b56bd59881b2580c030b4c705                                                                                0.0s
 => CACHED [ 2/23] RUN apt-get update &&     apt-get install -y apt-utils wget git openssh-server rsyslog  &&     apt-get clean                                                                                0.0s
 => CACHED [ 3/23] RUN ssh-keygen -A                                                                                0.0s
 => CACHED [ 4/23] RUN mkdir /run/sshd /.ssh                                                                                0.0s
 => CACHED [ 5/23] RUN echo Banner none >> /etc/ssh/sshd_config                                                                                0.0s
 => CACHED [ 6/23] RUN echo PrintMotd no >> /etc/ssh/sshd_config                                                                                0.0s
 => CACHED [ 7/23] RUN echo PermitUserEnvironment yes >> /etc/ssh/sshd_config                                                                                0.0s
 => CACHED [ 8/23] RUN echo PermitUserRC yes >> /etc/ssh/sshd_config                                                                                0.0s
 => CACHED [ 9/23] RUN echo X11Forwarding no >> /etc/ssh/sshd_config                                                                                0.0s
 => CACHED [10/23] RUN echo AllowUsers ocrd >> /etc/ssh/sshd_config                                                                                0.0s
 => CACHED [11/23] RUN echo "cd /data" >> /etc/profile                                                                                0.0s
 => CACHED [12/23] RUN echo 'umask $UMASK' >> /etc/profile                                                                                0.0s
 => CACHED [13/23] RUN /usr/sbin/sshd -t                                                                                0.0s
 => CACHED [14/23] COPY start-sshd.sh /usr/bin/                                                                                0.0s
 => CACHED [15/23] WORKDIR /build                                                                                0.0s
 => CACHED [16/23] RUN ln /usr/bin/python3 /usr/bin/python                                                                                0.0s
 => CACHED [17/23] RUN git -C core fetch origin pull/652/head:workflow-server                                                                                0.0s
 => CACHED [18/23] RUN git -C core checkout workflow-server                                                                                0.0s
 => CACHED [19/23] RUN for venv in /usr/local /usr/local/sub-venv/*; do . $venv/bin/activate && make -C core install PIP_INSTALL="pip install -e"; done                                                                                0.0s
 => CACHED [20/23] RUN git -C workflow-configuration pull origin master                                                                                0.0s
 => CACHED [21/23] RUN . /usr/local/bin/activate && make -C workflow-configuration install                                                                                0.0s
 => CACHED [22/23] COPY ocrd_logging.conf /etc                                                                                0.0s
 => CACHED [23/23] WORKDIR /data                                                                                0.0s
 => exporting to image                                                                                0.3s
 => => exporting layers                                                                                0.0s
 => => writing image sha256:8c29785924048f5d609220b2f80eb33eac4a9cf7e1f5b3bdfba9c183436b7972                                                                                0.0s
 => => naming to docker.io/bertsky/ocrd_controller                                                                                0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
[+] Running 1/2
 - Network kitodo_production_ocrd_default              Created                                                                                0.9s
 - Container kitodo_production_ocrd-ocrd-controller-1  Starting                                                                                1.3s
Error response from daemon: failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: Running hook #0:: error running hook: signal: segmentation fault, stdout: , stderr:: unkn
own

Have you tried with bertsky/ocrd_controller from Dockerhub already? Not sure about the ocrd/all version used here.
But I also have not seen that kind of error before. Can you start the built container manually?

Ok the count seams to be the problem. When I uncomment that line than container starts.

Oh, I see! Thanks for digging. So, surprisingly, the semantics is "at least", not "up to".
I did not grasp that directly from the documentation.
So how do we get "up to" configured?
For the moment, we should use all though (which is "up to").

all is apparently also too much and didn't worked. So only without count works on my system.

Ah, sorry, did not see your PR earlier!


bot_responses.json having redundant declarations.

The joke_no_current and joke_new_try_again arrays are declared twice, the first declaration has more options, so removal of second declaration will be a better choice for both the arrays.
https://github.com/jac08h/HahOrNahBot/blob/bc1d02a9c67b5b4d7e343d77da3d00435b67aea7/bot_responses/bot_responses.json#L74
And here:
https://github.com/jac08h/HahOrNahBot/blob/bc1d02a9c67b5b4d7e343d77da3d00435b67aea7/bot_responses/bot_responses.json#L100
Can be labelled as Good-First-Issue for new contributors.

Fix on Pull Request #39

Merged #39, thank you!


malloc(): invalid size (unsorted)

When solving the SAT2023_GDDL/QBF_instances/D/4x2_5_bwnib.qcir instance on Grendel with a simple transposition, one gets the following error. This does not seem to happen for deepest transposition nor for repeated partial quantification.
malloc(): invalid size (unsorted)

[ ] Check whether this happens with current pruning transposition
[ ] Fix bug in transpose or wherever else the problem is.

On SAT2023_GDDL/QBF_instances/hex/hein_09_4x4-07_bwnib.qcir, there is also a:
double free or corruption (out)

For SAT2023_GDDL/QBF_instances/D/4x2_5_bwnib.qcir, the following happens in Debug mode:
QBF Solver
  | Debug Mode!

  Circuit: ../../SAT2023_GDDL/QBF_instances/D/4x2_5_bwnib.qcir
Skipping variable '29' that never has been mentioned
  | depth                     28
  | size                      302
  | vars                      43

  Adiar [BDD]:
  | init time (ms)            156
  | memory (MiB)              8192
  | variables                 43

  Solving Circuit
  | variable order            [ 0 10 15 25 30 40 8 4 5 6 ...]
  | execution order           [ 1 3 4 5 6 7 8 9 10 11 ...]
  | max solve idx             302
  | setup time (ms)           0

adiar_qbf_bdd: /home/soelvsten/git/bdd-benchmark/external/adiar/external/tpie/tpie/../tpie/internal_priority_queue.h:110: void tpie::internal_priority_queue<T, comp_t>::push(const T&) [with T = adiar::internal::reduce_arc; comp_t = adiar::internal::reduce_queue_lt]: Assertion `size() < pq.size()' failed.


bump puppet/systemd to < 5.0.0

It is complaining that a file has been checked in which matches a pattern in .gitignore. I'll sort it out.


about running demo

Hi
When I run qlua main.lua demo it gives some error
Unable to connect X11 server (continuing with -nographics)
qlua: cannot open <umich-stacked-hourglass.t7> in mode r  at /home/jiahang/torch/pkg/torch/lib/TH/THDiskFile.c:668
stack traceback:
[C]: at 0x7fd1a79d79c0
[C]: at 0x7fd19f92eac0
[C]: in function 'DiskFile'
/home/jiahang/torch/install/share/lua/5.1/torch/File.lua:405: in function 'load'
main.lua:28: in main chunk
Segmentation fault (core dumped)
I hope I can get your help. Thank you

It looks like maybe the model file isn't available in the path, did you download it and put in the right directory?

@anewell  is correct, the file 'umich-stacked-hourglass.t7' must in the 'pose-hg-demo' directory (or the directory the main.lua file is in).

i have the same problem,have you solved yet?could you please tell me the solution,thanks~

Yes. To solve the problem put the .t7 into the same directory as main.lua. @larklili have you tried this?

where is .t7?

@neherh yeah!i have solved yet.Thanks a lot:)

@neherh Do you have run th main.lua predict-[valid or test]?would you please tell me how to solve with .h5 file.I dont know how to get result from it.:)thanks!