+2 is used for the CRF later which needs start and end padding.  The results in demo data doesn’t mean anything as the data is too small.

+2 is used for the CRF later which needs start and end padding.  The results in demo data doesn’t mean anything as the data is too small.
Originally posted by @jiesutd in https://github.com/jiesutd/NCRFpp/issues/135#issuecomment-524819427

+2 is used for the CRF later which needs start and end padding. The results in demo data doesn’t mean anything as the data is too small.

I think what you said is this. The comment of +2 in SeqLabel is "add two more label for downlayer lstm, use original label size for CRF". The code adds 2 for lstm not for crf.
I'm sorry to bother you again, but I really like this project from which I learn a lot.
class CRF(nn.Module):

    def __init__(self, tagset_size, gpu):
        super(CRF, self).__init__()
        print("build CRF...")
        self.gpu = gpu
        # Matrix of transition parameters.  Entry i,j is the score of transitioning from i to j.
        self.tagset_size = tagset_size
        **# # We add 2 here, because of START_TAG and STOP_TAG**
        # # transitions (f_tag_size, t_tag_size), transition value from f_tag to t_tag
        init_transitions = torch.zeros(self.tagset_size+2, self.tagset_size+2)
        init_transitions[:,START_TAG] = -10000.0
        init_transitions[STOP_TAG,:] = -10000.0
        init_transitions[:,0] = -10000.0
        init_transitions[0,:] = -10000.0
        if self.gpu:
            init_transitions = init_transitions.cuda()
        self.transitions = nn.Parameter(init_transitions)

        # self.transitions = nn.Parameter(torch.Tensor(self.tagset_size+2, self.tagset_size+2))
        # self.transitions.data.zero_()

The +2 code in Seqlable:
class SeqLabel(nn.Module):
    def __init__(self, data):
        super(SeqLabel, self).__init__()
        self.data2=data
        self.use_crf = data.use_crf
        print("build sequence labeling network...")
        print("use_char: ", data.use_char)
        if data.use_char:
            print("char feature extractor: ", data.char_feature_extractor)
        print("word feature extractor: ", data.word_feature_extractor)
        print("use crf: ", self.use_crf)

        self.gpu = data.HP_gpu
        self.average_batch = data.average_batch_loss
        ## add two more label for downlayer lstm, use original label size for CRF , Why do that???
        label_size = data.label_alphabet_size
        **data.label_alphabet_size += 2**
        self.word_hidden = WordSequence(data)
        if self.use_crf:
            self.crf = CRF(label_size, self.gpu)


Execution failed for task ':app:findLibraries' in demo project

I am new to using this great library, so please excuse me if I'm missing something obvious. I thought to report this, since it seems like a bug to me.
About this issue

Briefly describe the issue:
findLibraries gradle task fails on demo project.

How can the issue be reproduced:

Check out the repository (this  is the commit I checked out).
Run ./gradlew findLibraries
Expected: Works as described in Readme.
Actual: Show an error

./gradlew findLibraries
> Task :app:findLibraries FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:findLibraries'.
> No signature of method: com.mikepenz.aboutlibraries.plugin.AboutLibrariesProcessor.gatherDependencies() is applicable for argument types: (org.gradle.api.internal.project.DefaultProject_Decorated) values: [project ':app']
  Possible solutions: gatherDependencies(java.lang.Object, java.lang.Object)

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 630ms
1 actionable task: 1 executed

Details

Used library, support library, gradle build tools versions: https://github.com/mikepenz/AboutLibraries/tree/919805c4c94de36cec8ccae0ff96ebd0683e616a

@tkirshboim thanks for the report. I will have a look.

Thanks for the report. this got fixed in v8.1.1


[M001181] Rep. Patrick Meehan

Rep. Patrick Meehan:
http://meehan.house.gov
Likely contact form URL to start with:
http://meehan.house.gov/email-me

YMAL file not found. I am working on it.


Handle the failures when package work item is unassigned

Step to update an existing work item fails with null index error if the package work item is unassigned.
Error: Cannot index into a null array.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


Directly Debug for server.js

I fix for directly debugging server.js with vscode using --require option and remove index.js.
And babel-preset-env is used instead of babel-preset-2015.

Thanks!


Sql with CTE and lint

Hi,
I have a very complex sqlrpgle that work with json, the LINT give me many errors like this:

but I didn't do a select * in my final select,  with many json_object and json_array it return to me only one row.
Is it possibile to check it?
Many thanks

@pabloto Sure. Please send me the full code snippet and i will take a look into it.

Hi @worksofliam ,
here's a sample:
`
**free
Ctl-Opt  DftActGrp(*no)
ActGrp(*StgMdl)
StgMdl(*SNGLVL)
Thread(*Concurrent)
Option(*NoUnRef :*SrcStmt :*NoDebugIo)
DatFmt(*Iso) TimFmt(*Iso)
Debug(*Constants)
AlwNull(*UsrCtl)
DftName(TESTJSON)
Text('Test Select with json table');
// ____________________________________________________________________________
Dcl-Pr DspLongMsg ExtPgm('QUILNGTX');
Text      Char(16773100) const options(*varsize);
Length    Int(10)     Const;
Msgid     Char(7)     Const;
Qualmsgf  Char(20)    Const;
ErrorCode Char(32767) options(*varsize);
End-Pr DspLongMsg;
Dcl-Ds ApiError Qualified;
BytPrv    Int(10) Inz(%Size(ApiError));
BytAvl    Int(10) Inz(0);
MsgId     Char(7);
*n        Char(1);
MsgDta    Char(128);
End-Ds ApiError;
Dcl-S Json_string     VarChar(10000);
// ___________________________________________________________________________
*Inlr = *On;
Exec Sql
Set Option Datfmt = *Iso,
Timfmt = *Iso,
Closqlcsr = *EndActGrp,
Commit = *none;
Exec Sql
With Tempemp As (
Select *
From Sample.Employee
)
Select Json_Object(
'employeeList' Value Json_Arrayagg(
Json_Object(
'empNumber' Value Empno, 'name' Value Firstnme, 'surname' Value Lastname
)
)
) into :Json_string
From Tempemp;
DspLongMsg(Json_string:%Len(Json_string):'':'':ApiError);
Return;
`

I would say this is a valid lint. The option is 'SELECT * is not allowed in Embedded SQL.' and you have used SELECT *.
You might be better off disabling it.

I would say this is a valid lint. The option is 'SELECT * is not allowed in Embedded SQL.' and you have used SELECT *.
You might be better off disabling it.

Hi @worksofliam, you are wrong, have you try my snippets? It compile and run without any errors.
In this case select * is allowed, the result of my CTE is only one row.


Retrieve values within a certain range

Added in a Coverages SWG call.
Typical use case would be to retrieve only a certain interval of height values from a DEM.
Could CQL be a fit for this functionality?

I think a Filtering extension supporting query languages like CQL would be a great fit for this!

This will be possible with a Part 2 filtering (filter=) extension supporting CQL2 as proposed in #164.


BeanFactoryAwareFunctionRegistry assumes function is always a bean

This line assumes the function is a bean, even though the function has been created as a "POJO". This crashes the deployer in that case, which is a regression from previous behavior

See https://github.com/projectriff/java-function-invoker/issues/144


Give better introspection of plans

As a user the only current way I can find of listing plans is blueapi controller plans. This only gives me the name of the plan. It would be good to get (either in this call or something like help my_plan call):

The types of the params it wants
The docstring of the plan

Duplicates !143, so I'm going to look at it since there is obviously now demand


[Event Request] Table 5767 "Warehouse Activity Line" - OnSplitLineOnBeforeReNumberAllLines

Hi AL team,
we need a new event in table "Warehouse Activity Line", function "SplitLine":
...
if LineSpacing = 0 then begin
+++ OnSplitLineOnBeforeReNumberAllLines(NewWhseActivLine, WhseActivLine, NewLineNo, LineSpacing,
        ReNumberingIsHandled);
+++ if not ReNumberingIsHandled then begin
           ReNumberAllLines(NewWhseActivLine, WhseActivLine."Line No.", NewLineNo);
           WhseActivLine.Get(WhseActivLine."Activity Type", WhseActivLine."No.", NewLineNo);
           LineSpacing := 5000;
+++ end;
end;
...

And the event:
...
+++ [IntegrationEvent(false, false)]
+++ local procedure OnSplitLineOnBeforeReNumberAllLines(var NewWarehouseActivityLine: Record "Warehouse Activity
         Line"; var WarehouseActivityLine: Record "Warehouse Activity Line"; var NewLineNo: Integer; var LineSpacing: Integer; var
         ReNumberingIsHandled: Boolean)
+++ begin
+++ end;
...

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Added succinct field names.

Hello @jackton1! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file model_clone/mixins/clone.py:

Line 79:1: W293 blank line contains whitespace


Add to linguist (GitHub support)

GitHub's syntax highlighting is based on the linguist gem. Seems a few vendored language extensions are also atom packages, which already exists for Schwalbe. Might be worth waiting a bit longer for that to support a bit more syntax (see #10), but then... Why not submit a PR to linguist adding support for Schwalbe? 😄
Unfortunately they seem to require quite a bit of usage before including new languages.

We try only to add new extensions once they have some usage on GitHub. In most cases we prefer that extensions be in use in hundreds of repositories before supporting them in Linguist.

I guess this'll stay a tracking issue until that happens (if ever) 🙄

Bitte in 𝔗𝔯𝔞𝔨𝔱𝔲𝔯!


postfix-logs: add postfix/submissions/smtpd for docker-mailserver

see https://github.com/docker-mailserver/docker-mailserver/blob/master/target/postfix/master.cf

At this rate could we not simplify this filter to
filter: "evt.Parsed.program endsWith '/smptd'"

Because under the hood, this is converted to a for loop that will be looped for every event
@buixor @blotus ??

hello any update do  I modify filter?

I have modify filter with your query

Lgtm merged

Had to rush a fix cause I didnt spot my own typo above


feat: add codeql workflow for javascript

Issue that this pull request solves
Closes: #47
Proposed changes
Files added

.github/workflows/codeql.yml

To run this workflow you need to enable the following permission:

Go to your project repository settings
On left pane > Actions > General

Scroll down and Go to Workflow permissions > select "Read and write permissions"

Click save and its done.

Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes does not break the current system and it passes all the current test cases.

@ItsRoy69 please review this PR.
Thanks

@ItsRoy69 can you please add iwoc24 and difficulty level tag to the PR? Otherwise, my points won't count.


can't use the sam2.1

hello, i install sam2,config the yaml and pt file, the cmd show the "Building SAM2 model: /ovseg/OV-DINO-main/inits/sam2-main/sam2/configs/sam2.1/sam2.1_hiera_l.yaml", then begin run,but the sam2 did not work

@1523900304 You did't give any error info, I could't help you, please provide more information.


Add badges to README.md

add additional shields.io badges in the beginning of the ReadMe
Badges should be added for:

license
project language
issues
maintained

example: starfish readme.md
If you have any ideas which badges might be interesting please feel free to add them

hi, i think i can help you out with this

Thanks for offering @Brolan14, but jk10274 has already put up a PR for this, which I think is about ready to get merged.


Wrong template in autogenerated crd docs folder

crd template is in the wrong menu, it should be in CRD YAML Reference...
https://lifecycle.keptn.sh/docs/crd-ref/crd-template/

let me move that file to yaml-crd-ref folder, please assign me this issue @RealAnna

I would like to work on this too :smile:

@VivekBaldha0712 and @ShivangShandilya  I assigned you both, so one of you that has the time can do it 😸 Thank you! 🚀


Amd/abhimeda/removing docker from external ci pipelines

co-authored by Joseph Macaranas, Alex Xu, and Daniel Su.

The branch has some merge conflicts to resolve. Also double check with Joseph with the pool settings before you merge. The rest looks good!

The branch has some merge conflicts to resolve. Also double check with Joseph with the pool settings before you merge. The rest looks good!

hipFFT should be fine on base pool. Must have missed it being on medium before.

The branch has some merge conflicts to resolve. Also double check with Joseph with the pool settings before you merge. The rest looks good!

hipFFT should be fine on base pool. Must have missed it being on medium before.

would you like me to change rocFFT to base pool?

The branch has some merge conflicts to resolve. Also double check with Joseph with the pool settings before you merge. The rest looks good!

hipFFT should be fine on base pool. Must have missed it being on medium before.

would you like me to change rocFFT to base pool?

No


Links back to doc github pages via "Edit this page" links not working.

What package has an issue
@svelteuidev/core
A clear and concise description of what the bug is
From any given component documentation page, the "Edit this page" github link is broken, because of the move to sveltekit +page.md format
In which browser(s) did the problem occur?
No response
Steps To Reproduce

Go to any given doc page e.g. this one
In the header, click "Edit this page"
Observe the 404

Do you know how to fix the issue
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix
Yes
Relevant Assets
The whole set of docs can be fixed with a regex replace, and one small string change.
replace docs: '(\w*)/([\w-]*).md'
with docs: '$1/$2/+page.md'
and update /apps/docs/src/lib/components/Heading.svelte #line 11
with
docs: 'https://github.com/svelteuidev/svelteui/blob/main/apps/docs/src/routes/',
Tested and confirmed working with these two changes. Tried to push a branch for your consideration, but permission denied.

Thank you for pointing this out :raised_hands:, it has been fixed and deployed


Dragging and dropping paths to terminal stops at 16 items

Windows Terminal version
1.15.2713.0
Windows build number
10.0.22000.0
Other Software
No response
Steps to reproduce

Highlight more than 16 items
Drag and drop highlighted items into terminal

Expected Behavior
Should write paths equal to the amount of items highlighted
Actual Behavior
Only writes up to 16 paths

This issue occurs in other UWP and other apps using WinAppSDK.
It appears that the culprit is that GetStorageItemsAsync() from the drag event only returns up to 16 items.
Perhaps this is a bug from WinRT?

Makes sense, I'll go ahead and file an issue over there.

Sure sounds like something outside our control.

Despite this being an external issue, is this something that we want to fix?
I have a workaround solution that appears to work and can open a PR for.

Upon looking into a little further, it appears the issue only occurs when dragging and dropping from archives (7zip, WinRAR, and others). It works fine if you do it from the native file explorer though.
I can still open a pull request for this edge case unless you're on the side that it isn't worth fixing.

I'd love to see the PR! If it's something we can work around, let's do it. Thanks @jiejasonliu

Related WindowsAppSDK just for reference https://github.com/microsoft/WindowsAppSDK/issues/3328


Update README.md: typo Moden

Fixed moden --> modern

Thank you!
Sory I'm curently writing the documentation for the new API.
However if you didn't notice this typo it would have stayed forever I'm sure ^^


find a way to use available_inputs from the miniwdl object to handle workflow inputs

For getting the workflow inputs, consider looking at workflow_obj.available_inputs
https://miniwdl.readthedocs.io/en/latest/WDL.html#WDL.Tree.Workflow.available_inputs
That will probably work better for workflows with many layers of nesting and imports as MiniWDL handles all of that
for wf_input in workflow_obj.available_inputs:
  info: Any = wf_input.info  # Always None?
  name: str = wf_input.name   # like `align_and_count.reads_bam`
  value: WDL.Tree.Decl = wf_input.value  # like WDL.Tree.Decl(type=WDL.Type.File, name="reads_bam")

Thanks for creating the issue @Th3nn3ss ! This one is not in the milestone, so it's more a would-be-nice-to-have for later :+1: Let's focus on the milestone now :-)


Duplicate class error when using TensorFlow-lite together

Hi there!
I want to use TensorFlow-lite with arsceneview in the application.
However, I got a Duplicate class error with com.google.flatbuffers.*,
when I added both dependencies like below.
[build.gradle (:app)]
plugins {
    id 'com.android.application'
    id 'org.jetbrains.kotlin.android'
}

android {
    compileSdk 32

    defaultConfig {
        applicationId "com.example.sceneview.andyoncylinder"
        minSdk 26
        targetSdk 32
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
    buildFeatures {
        mlModelBinding true
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    kotlinOptions {
        jvmTarget = '1.8'
    }
    aaptOptions {
        noCompress 'filamat', 'ktx', 'tflite'
    }
}

dependencies {
    def lifecycle_version = "2.5.1"
    implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
    implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version"
    implementation 'androidx.core:core-ktx:1.8.0'
    implementation 'androidx.appcompat:appcompat:1.5.0'
    implementation 'com.google.android.material:material:1.6.1'
    implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
    testImplementation 'junit:junit:4.13.2'
    androidTestImplementation 'androidx.test.ext:junit:1.1.3'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
    implementation 'com.google.android.gms:play-services-auth:20+'
    implementation 'com.google.android.gms:play-services-location:19+'
    implementation 'com.google.android.gms:play-services-maps:18.0.2'
    implementation 'com.google.maps.android:android-maps-utils:2.4.0'

    // CSVReader
    implementation 'com.opencsv:opencsv:5.4'

    // Retrofit
    implementation 'com.squareup.retrofit2:retrofit:2.9.0'
    implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
    implementation 'com.squareup.okhttp3:logging-interceptor:4.10.0'

    // Picasso
    implementation 'com.squareup.picasso:picasso:2.8'

    // arsceneview
    implementation 'io.github.sceneview:arsceneview:0.9.0'

    // tflite
    implementation 'org.tensorflow:tensorflow-lite:2.10.0'
    implementation 'org.tensorflow:tensorflow-lite-gpu:2.10.0'
    implementation 'org.tensorflow:tensorflow-lite-support:0.4.2'
    implementation 'org.tensorflow:tensorflow-lite-metadata:0.4.2'
}

[Error Log]
Duplicate class com.google.flatbuffers.Constants found in modules flatbuffers-java-1.12.0 (com.google.flatbuffers:flatbuffers-java:1.12.0) and sceneview-0.9.0-runtime (io.github.sceneview:sceneview:0.9.0)
Duplicate class com.google.flatbuffers.FlatBufferBuilder found in modules flatbuffers-java-1.12.0 (com.google.flatbuffers:flatbuffers-java:1.12.0) and sceneview-0.9.0-runtime (io.github.sceneview:sceneview:0.9.0)
Duplicate class com.google.flatbuffers.FlatBufferBuilder$ByteBufferBackedInputStream found in modules flatbuffers-java-1.12.0 (com.google.flatbuffers:flatbuffers-java:1.12.0) and sceneview-0.9.0-runtime (io.github.sceneview:sceneview:0.9.0)
Duplicate class com.google.flatbuffers.FlatBufferBuilder$ByteBufferFactory found in modules flatbuffers-java-1.12.0 (com.google.flatbuffers:flatbuffers-java:1.12.0) and sceneview-0.9.0-runtime (io.github.sceneview:sceneview:0.9.0)
Duplicate class com.google.flatbuffers.FlatBufferBuilder$HeapByteBufferFactory found in modules flatbuffers-java-1.12.0 (com.google.flatbuffers:flatbuffers-java:1.12.0) and sceneview-0.9.0-runtime (io.github.sceneview:sceneview:0.9.0)
Duplicate class com.google.flatbuffers.Struct found in modules flatbuffers-java-1.12.0 (com.google.flatbuffers:flatbuffers-java:1.12.0) and sceneview-0.9.0-runtime (io.github.sceneview:sceneview:0.9.0)
Duplicate class com.google.flatbuffers.Table found in modules flatbuffers-java-1.12.0 (com.google.flatbuffers:flatbuffers-java:1.12.0) and sceneview-0.9.0-runtime (io.github.sceneview:sceneview:0.9.0)
Duplicate class com.google.flatbuffers.Table$1 found in modules flatbuffers-java-1.12.0 (com.google.flatbuffers:flatbuffers-java:1.12.0) and sceneview-0.9.0-runtime (io.github.sceneview:sceneview:0.9.0)
Duplicate class com.google.flatbuffers.Utf8 found in modules flatbuffers-java-1.12.0 (com.google.flatbuffers:flatbuffers-java:1.12.0) and sceneview-0.9.0-runtime (io.github.sceneview:sceneview:0.9.0)
Duplicate class com.google.flatbuffers.Utf8$DecodeUtil found in modules flatbuffers-java-1.12.0 (com.google.flatbuffers:flatbuffers-java:1.12.0) and sceneview-0.9.0-runtime (io.github.sceneview:sceneview:0.9.0)
Duplicate class com.google.flatbuffers.Utf8$UnpairedSurrogateException found in modules flatbuffers-java-1.12.0 (com.google.flatbuffers:flatbuffers-java:1.12.0) and sceneview-0.9.0-runtime (io.github.sceneview:sceneview:0.9.0)
Duplicate class com.google.flatbuffers.Utf8Safe found in modules flatbuffers-java-1.12.0 (com.google.flatbuffers:flatbuffers-java:1.12.0) and sceneview-0.9.0-runtime (io.github.sceneview:sceneview:0.9.0)
Duplicate class com.google.flatbuffers.Utf8Safe$UnpairedSurrogateException found in modules flatbuffers-java-1.12.0 (com.google.flatbuffers:flatbuffers-java:1.12.0) and sceneview-0.9.0-runtime (io.github.sceneview:sceneview:0.9.0)

Go to the documentation to learn how to Fix dependency resolution errors.

I read how to Fix dependency resolution errors and some  issues (1), (2) points out sceneform makes conficts.
Therefore, I think this problem is from flatbuffers in sceneform,
and flatbuffers (com.google.flatbuffers:flatbuffers-java:1.12.0) in TensorFlow-lite are conflicted.
As sceneview-1.0.0 escapes from the sceneform dependency, I tried to use it.
However, the dependency of arsceneview-1.0.0 is still tied to arsceneview-0.9.0, which caused the problem.
Excluding a module from arsceneview or TensorFlow-lite is not a solution because I have to use flatbuffers on both arsceneview and TensorFlow-lite. (Function does not work when excluding flatbuffers)
Is there any solution other than waiting for an update?

Hi!
I think that flatbuffers were only used for loading assets in the Sceneform format (.sfa and .sfb). Therefore, we can safely remove the dependency in the next release.

Thanks for your answer!
I'm looking forward to the next update. 👍

@grassydragon I'm also facing same issue as you said I think that flatbuffers were only used for loading assets in the Sceneform format (.sfa and .sfb). Therefore, we can safely remove the dependency in the next release.
Is it done now

Sorry, I've forgotten about this issue. I'll try to plan it for the next release.

Any update on the flatbuffer removal? We wanted to use Sceneview to draw 3D models in compose but face the same duplicated class error because another library from us is using the flatbuffers as direct dependency

This can be something I can take a look in the following days.


Iron and Gold Hammer Recipes missing Sticks

Title says it all
Latest Curse Build

Both of those have a typo in their recipe's json, "StickWood" instead of "stickWood"

fixed in new curse build


Cythonize concat method

Please merge #2144 before this pr.
Concat method is slow because it consumes to check arguments. I cythonized concat method.

Current array comparison is faster than shape[:axis] and shape[axis+1:] because cython optimizes it.

I now get this result. The original implementation requires about 15ms. It is 10times faster!
CPU split_axis ... finished in 5.18ms
CPU concat ... finished in 3.27ms
copy to GPU ... finished in 6.92ms
GPU split_axis ... finished in 4.88ms
GPU concat ... finished in 1.15ms
copy to CPU ... finished in 1.21ms

LGTM!


WIP: Cri integration cleanup

Most of the tests creating and using Pod Sandboxes in the same way. We can create a common function that will do that for us, so we can have less duplicated code, and make it easier to add new tests in the future.
Most tests require pulling a test image, and most of them are doing it in the same way. A function PulImageWithCleanup was introduced in a previous commit. Using it will reduce the amount of duplicated code.

/retest

I think we will merge #5403 before this change.

/ok-to-test


Throwing error: Uncaught TypeError: callback is not a function

I get the 'Uncaught TypeError: callback is not a function', linking to this part of the code:
  return $document.on('turbo:ready', function() {
    return callback($);
  });

Am I doing something wrong?

Happening to me as well.

Also for me

No longer happening to me. It turned out to be an issue with my code. I was calling a function with .ready() and .bind('page:change') due to some previous frustrations with turbolinks. I took out the .bind() which fixed things.
$(document).ready(foo());
$(document).bind('page:change', foo());

I take back my previous comment. At one point I'm pretty sure I fixed the issue by cleaning up the above code, but the issue is back.

Happening here aswell

Same here. Did anyone find a solution?


Default Filters

Hi @schiwekM,
First of all, thanks for this great repository. By far the best source of reference for FE on oData v4!
I would suggest to add samples regarding Default Filters, documented here?
I have added one in this PR. Notably the Default Filters are not working in combination with views (I have disabled that in the PR, if you turn that back on, the app will not load).
I have raised that as a support incident too with number 183769 / 2023, in case you are engaged in that channel too.
Thanks in advance!
//Carl

Hi @carlonnheim,
thanks for the hint. I will pick it up and have a look. As I have a lot to do right now, I will probably work on it in May.
Hope that is fine & BR,
Marten


Possible missing include in test_utils.hpp

Attempting to fix the error here
MSVC builder seems to fail to find std::iota here, perhaps because the  header is not included?

LGTM, thanks Bryce!


Cabana: restore last session on startup

restore last session on startup.(e.g. route, dbc file, msg, charts, spliter sizes, video position, zoom range)

too many conflicts with master ,closed and moved to https://github.com/commaai/openpilot/pull/26186


4.54.1

Bug Fixes

Restore missing 'set up child bridge' option on the plugin card when the system doesn't automatically recommend it
Fix artefact attachment GitHub workflow

Other Changes

Do not attach artefacts to GitHub releases if the tarball is smaller than 10MB

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 44.245%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2161

Relevant Lines:
4572

💛  - Coveralls


mimeo: 2018.12 -> 2019.3

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mimeo/versions.
meta.description for mimeo is: '"Open files by MIME-type or file name using regular expressions"'.

Checks done (click to expand)

built on NixOS
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 2019.3 with grep in /nix/store/lb30p6g8p0njrc0iwsjr8i4b2khsr037-mimeo-2019.3
directory tree listing: https://gist.github.com/67288ee31c225bf0514afb79f77fd734
du listing: https://gist.github.com/3d27e548db241202ae6d7a0d0a4e8277

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
mimeo

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/lb30p6g8p0njrc0iwsjr8i4b2khsr037-mimeo-2019.3 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A mimeo https://github.com/r-ryantm/nixpkgs/archive/1f91d64d788722af0e259fa27d215bf3d463ad3e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/lb30p6g8p0njrc0iwsjr8i4b2khsr037-mimeo-2019.3
ls -la /nix/store/lb30p6g8p0njrc0iwsjr8i4b2khsr037-mimeo-2019.3/bin

cc @rycee for testing.

@GrahamcOfBorg eval

Built and tested locally :+1:


How to solve  ImportError: libedgetpu.so.?

ImportError: libedgetpu.so.1: cannot open shared object file: No such file or directory?

Hello, which product are you using?
You need to go through our getting started page to see the proper step to set up your device.
In this case, it seems that the libedgetpu-{std||max} is missing

Feel free to reopen if the issue still persists.


Evaluation without reference masks supervision

Hello, thanks for the interesting work. Currently the model uses reference masks to select the best candidate. How to test a model based on its own estimates of mask scores?

We have added a possible implementation in the code (scripts/evaluate_model.py & isegm/inference/predictors/base.py to minimize changes, this implementation might not be as elegant).


merge new letsencrypt section with the old stub (SOFTWARE-3225)

osg-flock is down today, overriding CI failures


limit logt to 23 characters

since this is the maximum allowed count of characters for a LogCat tag

Neat. Would you mind squashing those commits?


Installation instructions

Since the official webpage is dead, does anyone have a copy of the  installation instructions? A list of dependencies would help too.

Yes. Have a look in the Makefile.


Added option to set global thread number during runtime

This is roughly my suggestion. Use case is that to run a program on different systems where I am each allowed to use half of all CPU threads.

But a thread is not tied to a CPU so how is this even enforced.

Could be that I'm missing something obvious, but I thought that limiting the number of workers provides an upper bound how many threads can run at the same time, and thus how much a CPU gets utilized.
Also, it seems likely to me, that if N workers exist, that the OS tries to run these on as many  (up to N) Cores/Hyperthreads as possible.

EDIT: or if you're referring to the systems where I am allowed to use "half of a CPU": This is not a hard limit but just a rough rule to follow. The reference would be something like htop (or taskmanager).

That is what I meant. Well, I don't really like the idea -- you already need to use -d:maleSkipSetup so why not just use -d:ThreadPoolSize=8. Sure, you need to recompile for every machine but it's seems to be such a niche use case.

Fair enough. I'll keep the issue https://github.com/Araq/malebolgia/issues/27 open though, maybe there'll be more people who want something like this.


Easier installation documentation on website

Currently documentation requires navigating a menu and several headers on pages, I think this could be simpler.
I'm working on a jupyter notebook (in https://github.com/rieder/amuse-tutorial) that has dropdown menus for selecting the OS (and version of that OS) and MPI version, and then displays the desired installation instructions (which could be stored as individual RST or Markdown formatted text files).
This document could directly be embedded in a webpage using nbviewer, or it could automatically generate a regular, static webpage with the same features.
I think either would be an improvement.

this has been fixed by the new website (and if it is not, it needs a new issue)


Set Messages status to current playing track

It would be neat if Radiant Player had a feature to set the status of the Messages app based on the current playing track. Alternatively I wrote an AppleScript inspired by this forum thread for how to accomplish the same thing with Spotify:
http://forums.macrumors.com/showthread.php?t=1418925
I'll attach my script in case it's useful to anyone.

Guess I can't add arbitrary attachments to github issues, but FWIW here's the script code:
on idle	 	tell application "Radiant Player"	 		set artist to current song artist 		set track to current song name 		set trackUrl to current song url 		set playerState to player state 	end tell 	tell application "Messages" 		if status is available then 			if playerState is 2 then 				set status message to ("♫ " & (artist as string) & " | " & (track as string)) 			end if 		end if 	end tell 	return 5	 end idle
To use this:

Paste into AppleScript editor
File->Export..., File Format: Application, Stay open after run
Open the package contents for the saved application, edit Info.plist and add the following to suppress Dock icon and menu:
<key>LSBackgroundOnly</key> <string>1</string>

hey, awesome! i did something super similar, but for outputting to my tmux statusbar: https://gist.github.com/cd957de7c6905e8bb2c3


Feature: Grant users permissions to only one site

Issue type:
Is it possible to give user access to only one site?

Python version: 2.7.5/3.4.5
NetBox version: 2.0.7

This is addressed in a broader sense in #554


Replace io.ReadAll with ioutil.ReadAll

Fixed typo from io.ReadAll to ioutil.ReadAll.

Hey @wgj,
Thanks for the change! I'd love to merge it but I'll need you to sign this CLA first:
https://cla.developers.google.com/
Thanks, you rock!

CLA has been submitted.


[DataSet] Allow test ratio to zero in WildFireSplitter

🚀 Feature

Motivation
At the moment the input ratios of WildFireSplitter cannot be equal to zero. I would like to add this option. Indeed we are going to do a lot of tests with different extraction methods (number of frames, spacing between frames ...). As the frame extraction is long I think we will save a lot of time if we don't have to do it every time for the test set.
I will try to propose a PR to add this option today

Hi Mateo,
Can you provide a snippet showing that the "the frame extraction is long" so we can measure performance, therefore improve it ?

With the following code we extract 1 frame per sequence for the test set that is 220 images, on my PC the code runs in 46s
from pyronear.datasets.wildfire.frame_extractor import  FrameExtractor
from pathlib import Path
import timeit
path_to_wildfire = Path(r"C:\Users\mateo\Documents\Pyronear\Wildfire")
path_to_frames = Path(r"C:\Users\mateo\Google Drive\DeepLearning\Pyronear\DB\Wildfire")
path_to_states= Path(r"C:\Users\mateo\Google Drive\PyroNear\Annotation\WildFire\statesTestSet.csv")
strategy='random'
n_frames=1
start = timeit.default_timer()
frame_extractor = FrameExtractor(path_to_videos=path_to_wildfire, path_to_states=path_to_states,
                                     strategy='random',n_frames=n_frames)
labels = (frame_extractor.run(path_to_frames=path_to_frames).get_frame_labels())

stop = timeit.default_timer()

print('Time: ', stop - start)

Output :
Writing frame labels to C:\Users\mateo\Google Drive\DeepLearning\Pyronear\DB\Wildfire\statesTestSet.labels.csv
Extracting 1 frames per state (220 in total) to C:\Users\mateo\Google Drive\DeepLearning\Pyronear\DB\Wildfire
Time:  45.90241230000001

As requested  : https://github.com/frgfm/PyroNear/pull/63#discussion_r423622015
There is a code to test the error :
wildfire = WildFireDataset(metadata=metadata,path_to_frames=path_to_frames,target_names=['fire'])
ratios = {'train': 0.8, 'val': 0.2, 'test':0}

splitter =  WildFireSplitter(ratios, transforms=tf)
splitter.fit(wildfire)
print(splitter.n_samples_)

train_loader = DataLoader(splitter.train, batch_size=64, shuffle=True)
val_loader = DataLoader(splitter.val, batch_size=64, shuffle=True)


Indoor map: game crashes when vehicle hits ground

This is actually a problem with the 3DFly pawn, not the map (happens outdoors with 3DFly too).


Session Closing too early

Hello,
I will attempt to explain myself as clearly as I can. I am using the recommended session context manager with SQL alchemy.
http://docs.sqlalchemy.org/en/latest/orm/session_basics.html#when-do-i-construct-a-session-when-do-i-commit-it-and-when-do-i-close-it
I have implemented everything and all works ok. I did have an issue however when I initially started with this
@contextmanager
def db_session():
    """Provide a transactional scope around a series of operations.
    Taken from http://docs.sqlalchemy.org/en/latest/orm/session_basics.html.
    This handles rollback and closing of session, so there is no need
    to do that throughout the code. Usage:
    with db_session() as session:
        session.execute(query)
    """
    session = _db_session()
    try:
        yield session
        session.commit()
    except:
        session.rollback()
        raise
    finally:
        # If i do not comment this below then I get an error
        # session.close()

The Error I get from not commenting out sesison.close()
curl -X POST \
  'http://localhost:5000/oauth/token?grant_type=client_credentials' \
  -H 'authorization: Basic *omitted*'

Traceback (most recent call last):
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/flask/app.py", line 1997, in __call__
    return self.wsgi_app(environ, start_response)
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/flask/app.py", line 1985, in wsgi_app
    response = self.handle_exception(e)
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/flask/app.py", line 1540, in handle_exception
    reraise(exc_type, exc_value, tb)
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/flask/_compat.py", line 33, in reraise
    raise value
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/flask_oauthlib/provider/oauth2.py", line 507, in decorated
    uri, http_method, body, headers, credentials
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/oauthlib/oauth2/rfc6749/endpoints/base.py", line 64, in wrapper
    return f(endpoint, uri, *args, **kwargs)
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/oauthlib/oauth2/rfc6749/endpoints/token.py", line 117, in create_token_response
    request, self.default_token_type)
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py", line 72, in create_token_response
    self.validate_token_request(request)
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py", line 104, in validate_token_request
    if not self.request_validator.authenticate_client(request):
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/flask_oauthlib/provider/oauth2.py", line 664, in authenticate_client
    if hasattr(client, 'client_secret') and client.client_secret != client_secret:
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/sqlalchemy/orm/attributes.py", line 242, in __get__
    return self.impl.get(instance_state(instance), dict_)
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/sqlalchemy/orm/attributes.py", line 598, in get
    value = state._load_expired(state, passive)
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/sqlalchemy/orm/state.py", line 593, in _load_expired
    self.manager.deferred_scalar_loader(self, toload)
  File "/Volumes/Storage/Users/claygorman/.pyenv/versions/3.6.2/envs/test-oauth-site/lib/python3.6/site-packages/sqlalchemy/orm/loading.py", line 757, in load_scalar_attributes
    (state_str(state)))
sqlalchemy.orm.exc.DetachedInstanceError: Instance <Client at 0x10393a198> is not bound to a Session; attribute refresh operation cannot proceed

Any ideas on why I need to comment out the session.close() would help. I think its due to the load_scalar_attributes trying to reuse a session that's already been closed.

How it is related to Flask-OAuthlib?


Use native dialog

According to https://caniuse.com/dialog custom dialog can now be replaced by native one.

done in https://github.com/icmx/xv/pull/77


Node Object structure

Created node object structure for documenting and easy reference of future contributors.

Good work, thank you!


u-boot: Remove prebuilt development imx-boot

Because provisioning is now done with a container
which extracts imx-boot from the image
Changelog-entry: u-boot: Remove prebuilt development imx-boot

@balena-ci I self-certify!


500 error when migrating with mirror

Gitea version (or commit ref): 1.10.0+dev-433-gdb0d4ffdc
Git version: 2.17.1
Operating system: Linux (Ubuntu 18.04)
Database (use [x]):

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

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

[ ] Yes (provide example URL)
[x] No Something was wrong with the site just received 500 erros
[ ] Not relevant

Log gist:
https://gist.github.com/wilsandbrink/f12c802b7c76c2859e7bc42bb0c5939a

Description
If I migrate repository without mirroring it works fine and I get the new cloning interface. But if I mirror it I mean I still get the repo, it's just that I receive a 500 error.
Screenshots
Hard to screenshot.

do you use two-factor auth?

convirmed ... I'll try to fix it

@zeripath can you add bug and backport to 1.10.x lable?

How do I test the version with the fix?

@lunny #8526 fixed the issue.

Reopening issue until merged.

@wilsandbrink well noticed ...


Claim Summary - mask child last name

Currently the claim summary page shows the full names of all children that are part of the current claim.
The last name of all children should be masked in the same manner as in other parts of the system.  Eg, 'Joe Bloggs' should be shown as 'Joe B*****'

Fix merged (https://github.com/ministryofjustice/apvs-external-web/pull/440) to mask on external View Claim and at duplicate claim.
Child details are still displayed in Claim Summary after duplicating a claim:

Also relates to issue raised by Paul about masking address which needs done:
https://github.com/ministryofjustice/apvs-asynchronous-worker/issues/131

Also mask escort as well for this issue

Also verify escort name is verified.
https://github.com/ministryofjustice/apvs-external-web/pull/479

Verified


ortp: 5.2.16 -> 5.2.109

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/ortp/versions.
meta.description for ortp is: A Real-Time Transport Protocol (RFC3550) stack. Part of the Linphone project.
meta.homepage for ortp is: https://linphone.org/technical-corner/ortp
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.2.107 in filename of file in /nix/store/954j67f9w0dspnzwz3nw43h6dr3ph29b-ortp-5.2.107

Rebuild report (if merged into master) (click to expand)

16 total rebuild path(s)

16 package rebuild(s)

First fifty rebuilds by attrpath
liblinphone
libosmoabis
linphone
mediastreamer
mediastreamer-openh264
msilbc
ortp
osmo-bsc
osmo-bts
osmo-hlr
osmo-hnbgw
osmo-hnodeb
osmo-mgw
osmo-msc
osmo-sgsn
trx

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/954j67f9w0dspnzwz3nw43h6dr3ph29b-ortp-5.2.107 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ortp https://github.com/r-ryantm/nixpkgs/archive/dfff7b110ceffe7924b865d8074f52462b715fae.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/dfff7b110ceffe7924b865d8074f52462b715fae#ortp

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/954j67f9w0dspnzwz3nw43h6dr3ph29b-ortp-5.2.107
ls -la /nix/store/954j67f9w0dspnzwz3nw43h6dr3ph29b-ortp-5.2.107/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages failed to build:

liblinphone
linphone

14 packages built:

libosmoabis
mediastreamer
mediastreamer-openh264
msilbc
ortp
osmo-bsc
osmo-bts
osmo-hlr
osmo-hnbgw
osmo-hnodeb
osmo-mgw
osmo-msc
osmo-sgsn
trx

Maintainer pings
cc @jluttine for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/ortp/versions.
meta.description for ortp is: A Real-Time Transport Protocol (RFC3550) stack. Part of the Linphone project.
meta.homepage for ortp is: https://linphone.org/technical-corner/ortp
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.2.109 in filename of file in /nix/store/q2wkfz9c4yyg142cq4ixiviazdw23qcm-ortp-5.2.109

Rebuild report (if merged into master) (click to expand)

16 total rebuild path(s)

16 package rebuild(s)

First fifty rebuilds by attrpath
liblinphone
libosmoabis
linphone
mediastreamer
mediastreamer-openh264
msilbc
ortp
osmo-bsc
osmo-bts
osmo-hlr
osmo-hnbgw
osmo-hnodeb
osmo-mgw
osmo-msc
osmo-sgsn
trx

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/q2wkfz9c4yyg142cq4ixiviazdw23qcm-ortp-5.2.109 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ortp https://github.com/r-ryantm/nixpkgs/archive/12562aa0b8ab52c78217bf6440fdbc0c8e9e84a3.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/12562aa0b8ab52c78217bf6440fdbc0c8e9e84a3#ortp

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/q2wkfz9c4yyg142cq4ixiviazdw23qcm-ortp-5.2.109
ls -la /nix/store/q2wkfz9c4yyg142cq4ixiviazdw23qcm-ortp-5.2.109/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages failed to build:

liblinphone
linphone

14 packages built:

libosmoabis
mediastreamer
mediastreamer-openh264
msilbc
ortp
osmo-bsc
osmo-bts
osmo-hlr
osmo-hnbgw
osmo-hnodeb
osmo-mgw
osmo-msc
osmo-sgsn
trx

Maintainer pings
cc @jluttine for testing.

@ofborg build linphone


Log ruleID to rule parsing errors

While parsing a rule, there are several error logs to inform the user why a rule failed. Some of these logs do not log the rule/ruleID with the error, like so: https://github.com/konveyor/analyzer-lsp/blob/main/parser/rule_parser.go#L383 while others do: https://github.com/konveyor/analyzer-lsp/blob/main/parser/rule_parser.go#L232. Including this information in all of the error logs will help rule authors more quickly find which rule is causing the error.

/triage accepted
/priority backlog

/kind bug


mx-model-reflection

Please use the form below, leaving the prefilled data to help us. Thank you.
Page link: mx-model-reflection
Document link: model-reflection.md
My Issue/Suggestion
Section 2.2 states:
Date attribute:
Pattern: MM/dd/yyyy
Value: 2nd of July 2016
Result: 7/6/2016
The value ("2nd") doesn't reflect the Result (which is the 6th)

Hi @masebok
Thanks for pointing out this error. The other examples don't look great either, so I have worked with the developers to correct them in #8350.
Thanks for taking the trouble to get in touch and help us improve the Mendix documentation.
Yours
Mark van Ments


stdlib: annotate some more symbols with interfaces

What's in this pull request?

Resolved bug number: (SR-)

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    OS X platform               | @swift-ci Please test OS X platform
    Linux platform              | @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

Mark some more of the SwiftShim interfaces with the RUNTIME_INTERFACE
decoration.

@swift-ci Please test and merge


Show speaker status on checkin result pages

add error code to validation error for checked in attendees
add speaker alert on checkin result page templates for manual and QR code checkin
add attendee.views.is_speaker function to check whether an attendee is a speaker for the current event
add the "is_speaker" context variable in CheckInAttendeeView and CheckInAttendeeUrlView
reformat changed Python files with isort and black

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Files with Coverage Reduction
New Missed Lines
%

attendee/views.py
4
98.78%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
3787

Relevant Lines:
3899

💛  - Coveralls


[RFC] Add CPython tests

Summary
Now that we can run unittest ( #1587 ) I think we should start running the CPython tests (Lib/test) to test RustPython.
Detailed Explanation
My suggestion is to do the following:

Copy all tests that can compile and run from CPython Lib/test to RustPython Lib/test.
Mark all the failed test with @unittest.skip("TODO: fix RustPython").
Add a job for both linux and windows CI that will run the tests.

Drawbacks, Rationale, and Alternatives

There are many tests in CPython so we might want to consider choosing only a subsets of tests to work on at first.
We should see how slow it would take to run all the tests. We might want to run the tests in parallel.

Unresolved Questions

Should we mark the tests that currently don't pass with @unittest.expectedFailure so we will know when something is fixed?
What should happen to the snippets tests? Should we keep a duplicate set of tests?
Would we add tests to CPython set of tests?

I think this is a good idea; we should probably start with copying over only the test files we want and the required modules, so that we don't end up with a diff of 1000+ added files like in #1587. We also have to have a way to filter out the test files from the py_compile_bytecode macro, so that we don't include unwanted modules that are useless at Python runtime.

Should we mark the tests that currently don't pass with @unittest.expectedFailure so we will know when something is fixed?

I think so; it would certainly be more of an alert to change it than the # XXX RustPython TODO comments we put in the stdlib now.

What should happen to the snippets tests? Should we keep a duplicate set of tests?

I think the snippet tests will be good for a while, because to even run CPython's tests at all we have to have a lot of Python features working properly, so I think the snippet tests are a less fragile way of testing.


texttoproto from mm_tools is not working with rechunked data

My goal is to modify an html page recorded by mahimahi and serve it back in chunked format during replay.
I wanted to ask if texttoproto from mm_tools folder is meant to be used to convert chunked data to protobuf format for mahimahi to serve chunked data during replay.
Essentially, I have the following pipeline ( ":" is the function applied on the file before, "->" is the output of that function)
mm_file : protototext -> chunked : unchunk.py -> unchunked : (de) gzip/brotli -> plaintext : modify.py -> mod_plaintext : gzip/brotli -> mod_unchunked : rechunk.py -> mod_chunked : texttoproto -> mod_mm_file
however, I see that when I rechunk the data and add a "0\r\n\r\n" at the end as the last chunk, texttoproto seems to discard the last \n, which when replayed by mahimahi, results in issues.
I was wondering if you had a version of texttoproto that works for chunked data, or if you have the source code for texttoproto
Any help would be really appreciated

Hi, here is an open-source python implementation for manipulating protobuf files recorded by mahimahi (i.e., filenames starting with save.*). The chunked data are usually in the body field of the response.

Hi!
Thank you so much for the response. I had another quick question.
It seems like mahimahi replayshell unchunks the chunked responses before it sends them to the client during replay. So essentially, regardless of whether the original interaction with the server (during recording phase) included chunked responses, mahimahi replayshell seems to respond in unchunked interactions.
Am I correct in understanding this? Is mahimahi designed to replay chunked interactions as well?

I'm sorry that I'm not quite familiar with mahimahi, but according to network logs in Chrome DevTools, the chunked responses during record are still staying chuncked during replay. You can see this information in the Transfer-Encoding field of response headers in Chrome DevTools.

I see. Thank you for your responses. I will check it out


Automatic proxy configuration not supported: libproxy

What version of Go are you using (go version)?
go version go1.20.5
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
GOARCH="amd64"
GOOS="linux"

What did you do?
Trying to access a page behinde a pac proxy.
What did you expect to see?
Page can be fetched.
What did you see instead?
Abort.
Please add libproxy support to take care of this.

This issue does not contain enough detail to be actionable.
Please post or link to a Go program that demonstrates the problem and the commands run to reproduce it.

package main

import (
    "fmt"
    "net/http"
    "os"
)

const serverPort = 80

func main() {
    client := &http.Client{}
    requestURL := fmt.Sprintf("https://www.tabos.org")
    res, err := client.Get(requestURL)
    if err != nil {
<------>fmt.Printf("error making http request: %s\n", err)
<------>os.Exit(1)
    }

    fmt.Printf("client: got response!\n")
    fmt.Printf("client: status code: %d\n", res.StatusCode)
}

Output:
go run example.go
error making http request: Get "https://www.tabos.org": read tcp <IP_ADDRESS>:47912-><IP_ADDRESS>:443: read: connection reset by peer
exit status 1

We do have a pac proxy in place which returns different proxy server ip's depending on the given host url. So a standard HTTP_PROXY setting does not help. It needs to download a js file which must be parsed and then transferred to the client. That's what libproxy is doing: https://github.com/libproxy/libproxy

See previously #21943.

PAC support requires a full JavaScript interpreter; this is why e.g. curl doesn't support it either. libproxy relies on Duktape for this. I'm fairly confident in stating this sort of functionality is never going to be included in the standard library.

We are in close exchange with curl and libproxy will be integrated there as well. From a company perspective (for me it's Volkswagen) this is a quite important feature set as we are fighting several issues with docker and other go apps which do not support it. Our developers are moving from office to home office and need different configurations depending on the host, so this seems to be the only viable solution which benefits all apps written in go. I've already prepared a package for go and could need help to integrate it.

Of course it's useful in some cases, but it's an enormous amount of complexity, with very non-trivial security implications, and not something that's really a good fit for the standard library.
For your case an independent tool which sets HTTP_PROXY might be a good solution?
% HTTP_PROXY=$(get-proxy) my-go-app

That's not feasible as different hosts uses different proxy servers. Therefore setting an individual HTTP_PROXY is not sufficient.

You just need to make use of libproxy, nothing else is needed on your side.

FTR: Someone already wrote a package for go: https://github.com/mvo5/libproxy-golang which might be a good starting point

We're not going to add a full JavaScript interpreter to the standard library to support PAC. Third-party packages can support this via the Transport.Proxy hook, but it's just not feasible as a stdlib feature.

I'm not asking you to implement a JS interpreter but to make use of libproxy.

 And libproxy/duktape is in C, which means that all builds will need to use cgo which makes all builds significantly harder and will impose a huge burden on everyone building Go applications. And to top it all off libproxy is LGPL and all of that has very non-trivial implications as well.

First license: I'm the maintainer of libproxy and we can discuss a license change (actually also a request from a different project) to something else. This is no problem.
In the past libproxy made use of mozjs and webkitgtk to run js code. During the rewrite we decided to go with duktape as it has a very small footprint and is really portable for embedded devices. Also i would like to add that it is a compile time option so libproxy does not need duktape (of course pac parsing no longer works then) but the other features are working.
I can do nothing about the C code as then other projects would be requiring to rewrite it in their preferred language. And this might or will most likely effect embedded devices.

I'm sorry, as a matter of policy the Go standard library is not going to depend on a C library.  I'm sure it's a good library but the Go standard library is Go code.  This is the kind of thing that needs to be done in a third-party library outside of the Go standard library.
If there is something that the standard library can do to make it easier for people to plug in a third-party library that uses libproxy, we can discuss that.  But the Go standard library itself is not going to depend on libproxy.

Then there might be a possible alternative. Offload your proxy detection to an external helper. Check whether helper is available and then execute it with the url in question. As result you will receive the proxy. In case this one is not available just follow your current code. This would be possible in Go and does not necessarily add an internal js interpreter.

I'm sorry, but we're not going to execute a program on every HTTP request (or any HTTP request) either.
A third-party library outside the standard library is the right way to do this.


SPXERR_GSTREAMER_NOT_FOUND_ERROR, Python under Windows 10

Describe the bug
Hi,
I am unable to use codec compressed audio input with Python. I followed the instructions described under this documentation to configure GStreamer 1.18.3. I have verified the installation by running the command  gst-inspect-1.0.exe --version  and I got the following output:
gst-inspect-1.0 version 1.18.3
GStreamer 1.18.3
Unknown package origin
The provided python sample code works fine under Ubuntu 18.04 and I was able to pass compressed audio input and get the recognized text but under Windows, I get the following error:
line 883, in _get_impl
return reco_type._from_config(speech_config._impl, auto_detect_source_language_config._impl, audio_config._impl)
RuntimeError: Exception with an error code: 0x29 (SPXERR_GSTREAMER_NOT_FOUND_ERROR)
[CALL STACK BEGIN]
> property_bag_copy

- property_bag_copy

- property_bag_copy

- property_bag_copy

- property_bag_copy

- recognizer_create_speech_recognizer_from_config

- recognizer_create_speech_recognizer_from_auto_detect_source_lang_config

- 00007FF978F4A206 (SymFromAddr() error: Attempt to access invalid address.)

- 00007FF978F87A77 (SymFromAddr() error: Attempt to access invalid address.)

- 00007FF978F88A7D (SymFromAddr() error: Attempt to access invalid address.)

- PyArg_ParseTuple_SizeT

- PyEval_EvalFrameDefault

- PyFunction_Vectorcall

- PyEval_EvalFrameDefault

- PyObject_GC_Del

- PyFunction_Vectorcall

[CALL STACK END]
Version of the Cognitive Services Speech SDK
1.17.0
Platform, Operating System, and Programming Language

OS: Windows 10
Hardware - i5-8365U
Programming language: Python version 3.9.5

Thanks for trying the Cognitive Services Speech SDK, and sorry to see that you are running into issues.
For Windows 10 using version 1.17 of the SDK, you'll need to follow these steps:

Download and install version the version 1.19.1 MSVC x86_x64  of the GStreamer DLLs. You can find the download links here

If you have any previous versions of GStreamer installed, please uninstall those first

Set GSTREAMER_ROOT_X86_64 user environment variable to C:\gstreamer\1.0\msvc_x86_64
Append the following to your PATH user environment variable: C:\gstreamer\1.0\msvc_x86_64\bin
Reboot your machine to make sure that all running programs get the updated environment variables

Hi Ralph,
thank you. It worked :)


Thermal analysis

Check for what speed we need a new nosecone
Casing for thermocouple for measuring motor exhaust temps.

Made branch /feature/heat_modeling

Made progress on this, have an estimate on T exhaust for range of gamma values. This will let us guess the chemical composition of the OTC motor if we feel like doing more modeling later.
The conductive heat transfer model, using a diffusion model, is very wrong, but some experimenting with boundary and initial conditions seems promising. This could inform the thermocouple casing design.


fix proj/gdal artefacts

create an artefact with PROJ/QGIS.db
fix attachment of supported_formats.log
fix https://github.com/MerginMaps/input-sdk/issues/65

@wonder-sk @tomasMizera MacOS artefacts now contains full qgis.db/proj resource files


fix validatable with password_required?

password_required? now uses the same logic devise uses to check if password should be required which also does the validation checks.
Before the current_user.update_with_password(password_params) would not validate if the confirm was different from the password etc...
Also fixes:
App #1: All users have a saved password; any user may login via email OR password (i.e. accept both methods)
App #2: Only some users have a saved password; those users must login via password; everyone else logs in via email

I rebased this patch on master (https://github.com/abevoelker/devise-passwordless/tree/iseth/master) but it doesn't work with users that only use the :magic_link_authenticatable strategy. Here's a CI test run example: https://github.com/abevoelker/devise-passwordless/actions/runs/6177687801
You can test the CI/integration specs locally using https://github.com/nektos/act with:
act -j test

I decided to take a different approach in resolving the original issue, but thank you for your suggestion! Closing now as resolved on master but feel free to re-open if any concerns linger.


Index page

The name of the service 'Research Viewer' needs to be smaller, its taking up too much page real-estate.
Cheers
S

This issue was moved to consortium/hybrid-publishing-research#24


Fix v7.0.0 migration guide

refs: https://github.com/hexojs/hexo/issues/5283

By the way, Required Node.js version for v7 should also be updated


shared/simplestreams: Fix stream's index download url

Since commit aef8f1928 ("shared/simplestreams: Implement caching support")
the index url contains double '/' between the host part and the path part,
so the resulting url looks like:
https://STREAMSERVER//streams/v1/index.json
Certain servers will literaly take '/streams/v1/index.json' as the path,
and therefore return 404 or 403.
Fix parseStream(), by removing the prepended '/' passed to
s.cachedDownload().
Signed-off-by: Shmulik Ladkani<EMAIL_ADDRESS>

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

jenkins: test this please

Thanks!

Testsuite passed

Thanks!

will this go to 4.0.y LTS too?

Yeah, it should already be in the stable-4.0 branch.


Fixed broken catalog json

LGTM

We should validate the json in the spec.
LGTM

LGTM

LGTM

Thanks @rohitsharma04!


Decide on license for the project

Before we have too many collaborators on the project it will be good to decide on the license.

I am very flexible. One of the other projects here say Apache-2.0, or I like MIT license just because its name is short. 😄


Fix: duplicated entity was initially exposed

#861m9n63n

Task linked: CU-861m9n63n Fix: when duplicating, the duplicate has exposed to script set


Timeout during connect (likely firewall problem)

Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

certbot certonly --webroot --webroot-path=/var/lib/zulip/certbot-webroot/ -d slack.demoserver.in -m<EMAIL_ADDRESS>--force-interactive --no-eff-email
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for slack.demoserver.in
Using the webroot path /var/lib/zulip/certbot-webroot for all unmatched domains.
Waiting for verification...
Challenge failed for domain slack.demoserver.in
http-01 challenge for slack.demoserver.in
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:

The following errors were reported by the server:
Domain: slack.demoserver.in
Type:   connection
Detail: Fetching
http://slack.demoserver.in/.well-known/acme-challenge/qVEA0pcNZYmBHq0y1T5CEiY1Edjj7tXbKVWyWLCjd2A:
Timeout during connect (likely firewall problem)
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.

Zulip installation failed (exit code 1)!
The install process is designed to be idempotent, so you can retry after resolving whatever issue caused the failure (there should be a traceback above). A log of this installation is available in /var/log/zulip/install.log
please help how to solve

I'd recommend reading the output carefully and googling for certbot debugging advice. The most likely configuration errors for this error message are that you either told Certbot to give you an SSL certificate for a hostname that doesn't correspond to your Zulip server, or that you have a firewall that prevents the Certbot servers from reaching your server to verify that it indeed has that hostname.

Thanks for reply ! Sir
it was error from server side that ipv4,ipv6  on AWS
when i had followed this instruction

and solved


Throw error message if not match id on data

For example, I tried this query (not match id).
query {
    player(id:1) {
        name
    }
}

Then, I receive this error message.
Cannot read property 'map' of null

Probably, the user would not understand reason why happen the error message. I suggest throw this message if not match id on data.
Not match `id` on ${data}.

Very valid points. Thanks for pointing it out and opening an issue!
However the approach in PR #4 is not a standard solution.
The GQL Spec builds on the response having data and/or errors.
I agree the returned error is not very helpful or readable - it would be better to either return null as a valid response for an invalid id, or return a new ApolloError.
See the commit that closes this for more info.


Action bar profile map icon no longer shows associated profile in 11.0.0+

I'm looking into potential errors to see if I can find anything out here.

Thank you Scott, updated for next Github update


ResolveModel Crash every time

I've confirmed the page/pagemodel works just fine if I use normal xamarin navigation.
Error log
03-01 17:11:20.080 D/dalvikvm(27975): GC_EXPLICIT freed 185K, 30% free 8325K/11796K, paused 2ms+1ms, total 21ms
03-01 17:11:20.080 D/Mono    (27975): GC_TAR_BRIDGE bridges 12 objects 17 opaque 2 colors 12 colors-bridged 12 colors-visible 12 xref 0 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.07ms tarjan 0.10ms scc-setup 0.03ms gather-xref 0.00ms xref-setup 0.00ms cleanup 0.06ms
03-01 17:11:20.080 D/Mono    (27975): GC_BRIDGE: Complete, was running for 21.54ms
03-01 17:11:20.080 D/Mono    (27975): GC_MINOR: (Nursery full) time 36.54ms, stw 36.85ms promoted 1041K major size: 1760K in use: 1109K los size: 1024K in use: 8K
03-01 17:11:20.125 D/Mono    (27975): GC_TAR_BRIDGE bridges 0 objects 0 opaque 0 colors 0 colors-bridged 0 colors-visible 12 xref 0 cache-hit 0 cache-semihit 0 cache-miss 0 setup 0.07ms tarjan 0.10ms scc-setup 0.03ms gather-xref 0.00ms xref-setup 0.00ms cleanup 0.01ms
03-01 17:11:20.125 D/Mono    (27975): GC_BRIDGE: Complete, was running for 0.07ms
03-01 17:11:20.125 D/Mono    (27975): GC_MINOR: (Nursery full) time 23.11ms, stw 23.43ms promoted 90K major size: 1840K in use: 1199K los size: 1024K in use: 8K
03-01 17:11:20.125 D/Mono    (27975): Warning: Degraded allocation.  Consider increasing nursery-size if the warning persists.
namespace ASFT
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class IssuePage : ContentPage
{
    public IssuePage()
    {
        InitializeComponent()
    }

namespace ASFT
{
public class IssuePageModel : FreshBasePageModel, INotifyPropertyChanged
{
.....
}
}
namespace ASFT
{
public partial class App
{
public static AppIssueClient Client;
public App()
{
Client = new AppIssueClient();
        var page = FreshPageModelResolver.ResolvePageModel<IssuePageModel>();
        var container = new FreshNavigationContainer(page);
        MainPage = container;
    }

Crashes every time at ResolvePageModel with the above error message, couldn't see any other in the Android device log either

Discovered the Issue. The issue was caused by me having two Constructors in the IssuePageModel, it worked fine as soon as I deleted one of them.
Note that it was nothing wrong with the particular constructor, it worked fine in normal Xamarin


Add db setup before migrate

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

@javitonino you changed this at CartoDB/cartodb/pull#6666. How come the solution was removing setup, which also loads the schema instead of removing migrate? I'm pretty sure we spoke about that but I can't remember.

Running db:setup as a first step fails loading the schema, as the postgis extension is not loaded before. Also, running db:migrate after db:setup fails on duplicated tables. However, the current steps do not create a database, so I would suggest running db:create + db:migrate as that seems to work well.
$> dropdb -U postgres carto_db_staging
$> RAILS_ENV=staging bundle exec rake db:setup
[sequel] Created database 'carto_db_staging'
createdb: database creation failed: ERROR:  database "carto_db_staging" already exists
[sequel] Created database 'carto_db_staging'
rake aborted!
PG::Error: ERROR:  type "geometry" does not exist
LINE 1: ... "active_child" uuid, "attributions" text, "bbox" geometry, ...
                                                             ^

Tasks: TOP => db:setup => db:schema:load
(See full trace by running task with --trace)
$> dropdb -U postgres carto_db_staging
$> RAILS_ENV=staging bundle exec rake db:migrate
rake aborted!
PG::Error: FATAL:  database "carto_db_staging" does not exist

Tasks: TOP => db:migrate
(See full trace by running task with --trace)
$> RAILS_ENV=staging bundle exec rake db:create
[sequel] Created database 'carto_db_staging'
$> RAILS_ENV=staging bundle exec rake db:migrate
$>

@amnesic can you confirm that db:create + db:migrate works for you, instead?

Yes db:create + db:migrate is working on my side too.

@amnesic ok, if you change the PR to create + migrate we'll merge this, Thank you!


When running TestNG programmatically, child xml suites are not run (when added using setSuiteFIles())

When running TestNG programmatically by creating and adding XmlSuite, if child suites are added using setSuiteFiles(), the child suites are not run.
If the same suite is run using testng.xml file (either directly or programmatically using setTestSuites()), the child suites are run correctly. Below is sample code. Here's the complete code to demonstrate the issue: https://gist.github.com/1629341
		// create a suite programmatically
		XmlSuite suite = new XmlSuite();
		suite.setName("Programmatic XmlSuite");

		// create and add a test case for the suite

		// add a suite-file to the suite
		suite.setSuiteFiles(Arrays.asList("./Suite1.xml"));

                    //add suite to testng
		testng.setXmlSuites(Arrays.asList(suite));

		testng.run();

submitted pull request


3D_kibana_charts_vis not working properly in windows machine

Hi Everyone,
I am installing 3D_kibana_charts_vis plugin in windows machine kibana 5.6.4, i finished the installation in windows using git clone after installing successfully getting one error in kibana starting screen.
Fatal Error
Uncaught TypeError: Cannot read property 'register' of undefined (http://localhost:5601/bundles/kibana.bundle.js?v=15571:333)
Version: 5.6.4
Build: 15571
Error: Uncaught TypeError: Cannot read property 'register' of undefined (http://localhost:5601/bundles/kibana.bundle.js?v=15571:333)
at window.onerror (http://localhost:5601/bundles/commons.bundle.js?v=15571:76:8884)
here is the screen shot:

please help me to resolve this problem.

Hi,
Sorry for the late answer,
I have abandoned this project and I'm not supporting/updating it anymore.
Sorry for the inconveniences.
Vio


shards update takes too long

Potential mitigation by setting version pins and ranges in the shard.yml, reducing the satisfiability constraints.

Looks like setting pins on all the dependencies failed to reduce the install time. This is a deeper issue.
What can be achieved is separating the dependencies for the test runner and the drivers themselves.
Almost no reason to have that source in the drivers repo itself.

This is more of a shards issue, not an us issue.
It would be interesting to see if we could implement an ameba rule that warns of unused requires but that's literally another issue.
Pinning versions can improve things, but from my experimentation with this repo, doesn't look like it had much of an effect.


[Feature] Adding RAY_CLOUD_INSTANCE_ID as unique id for Ray node

Why are these changes needed?
Related issue number
Closes #1751
Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

Is below part of the env var value or it's just the key reference that was shown together?

Is below part of the env var value or it's just the key reference that was shown together?

It is just a reference to the Pod's metadata.name.


Value 'arm64' missing for Windows.System.ProcessorArchitecture

It's not possible to detect a package's processor architecture in case of ARM64 (which is available as compilation target with Microsoft.NETCore.UniversalWindowsPlatform 6.2 targeting Windows 10 build 16299 and above) through Package.Current.Id.Architecture (see https://docs.microsoft.com/en-us/uwp/api/windows.applicationmodel.packageid.architecture), because the enum Windows.System.ProcessorArchitecture does only contain values x86, arm, x64, neutral and unknown.

you need to target your app for Build 18362/Version 1903, here ARM64 and X86OnArm64 was added

Sorry, this issue was obviously never closed.
ARM64 support was available before the enum got introduced.
Please have a look at the issue's date, it was created in 2018, while the enum got added in 2019. ;)


Add validation for affects with wontreport status

This PR adds validation for services related products with WONTREPORT resolution.
Closes OSIDB-362.

I have submitted changes separating case 1 from 2. Case 3 is being handled by OSIDB-360 / PR125.


Facing error due to missing of "index" column

Hello,
In the file "preprocess_genetic/concat_vcfs.py" at the line no 25 you are merging the two vcf files using the column named "index" and later renamed it as 'subject".But if we print the vcf file after 24th we will get something like this https://drive.google.com/file/d/1JGesHpv4QQje1aRVrf9pUBmuTW2yrZAU/view?usp=sharing , which doesnt have actual "subject id" value under the column "index".
We tried creating the subject column by putting the actual subject id but we are getting the errors in concatinating the multiple vcf files .
So can you please clarify on how the "subject" column should be considered and how exactly we can club multiple vcf files of different subject to sa ingle file, as they dont have common column name.

Hi there,
Thanks for reaching out! Based on the screenshot, I suspect that either ADNI has changed the formatting of their subject IDs since the time I have worked with the data, or you might have downloaded a different set of patients than the ones I had. I think that because the IDs do not look similar in format to what I had before. You have the right idea that index and subject should both be the actual subject ID so my best suggestion would be to further print and investigate why the column disappeared, as that was not the case with the data I had in 2021.


[BEAM-13073] UseParallelGC on Java container

Follows https://github.com/apache/beam/pull/15739. As suggested here by @tvalentyn, there seems to be performance regression when using only -XX:+AlwaysActAsServerClassMachine (which leads to G1GC). We believe ParallelGC is the most suitable here, considering it is used on Java 8 (used by most pipelines) and designed for high throughput.
Note I left some comments with the reasoning for this flag and left -XX:+AlwaysActAsServerClassMachine. Let me know if it should be different.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

PTAL @kennknowles @tvalentyn

LGTM. I tested the change on #13073 and it addresses the regression identified by performance tests.


[WIP] Upgrade react popper

This follows #2626 and also tries to isolate test dependencies to fix docs-site, see #2653

@martijnrusschen this is still a work in progress, but it yields the first working solution and I would like to discuss more possible approaches to fix the "two versions of React" issue

currently, I only deleted react and react-dom dependencies from root package.json, this fixes the "two versions of React" problem but breaks the tests, so I set up the Webpack configuration for tests to resolve dependencies also from docs-site/node_modules and I force installed dependencies in docs-site/ dir via npm scripts. This has the following pros and cons:

✅  there is only one React instance in the docs-site,
✅  tests sources missing dependencies from the docs-site so it is necessary to run yarn install in the root and in the docs-site/ which complies with current workflow,
✅  there are no redundant dependencies installed, which safes storage,
⚠ the yarn-install yields many warnings, for some devDependencies relies on react and react-dom,
⚠ there is non obvious dependency of tests/ on docs-site/node_modules hidden in karma.conf.js

another approach to this could be to establish a private npm project in test/directory and link the react-datepicker to it the same way, we link it to the docs-site/ this will clearly separate the tests from the react-datepicker but is more difficult to configure and one must not forget to link the react-datepicker before the tests.

✅  there is only one React instance in the docs-site,
✅  test/ directory has its own package.json it is clearly visible what dependencies belong to the test tooling and what is the build tooling for root react-datepicker,
✅  yarn install yields errors only for missing peerDependencies which are missing intentionally,
⚠ the test/ dir creates some redundant duplicates of dependencies in node_modules, thus this is slightly inefficient during the development
⚠ I tried set the repo up for this second case, but it is not simple and it will introduce major changes to the repository structure

@martijnrusschen this is still a work in progress, but it yields the first working solution and I would like to discuss more possible approaches to fix the "two versions of React" issue

currently, I only deleted react and react-dom dependencies from root package.json, this fixes the "two versions of React" problem but breaks the tests, so I set up the Webpack configuration for tests to resolve dependencies also from docs-site/node_modules and I force installed dependencies in docs-site/ dir via npm scripts. This has the following pros and cons:

✅  there is only one React instance in the docs-site,
✅  tests sources missing dependencies from the docs-site so it is necessary to run yarn install in the root and in the docs-site/ which complies with current workflow,
✅  there are no redundant dependencies installed, which safes storage,
⚠ the yarn-install yields many warnings, for some devDependencies relies on react and react-dom,
⚠ there is non obvious dependency of tests/ on docs-site/node_modules hidden in karma.conf.js

another approach to this could be to establish a private npm project in test/directory and link the react-datepicker to it the same way, we link it to the docs-site/ this will clearly separate the tests from the react-datepicker but is more difficult to configure and one must not forget to link the react-datepicker before the tests.

✅  there is only one React instance in the docs-site,
✅  test/ directory has its own package.json it is clearly visible what dependencies belong to the test tooling and what is the build tooling for root react-datepicker,
✅  yarn install yields errors only for missing peerDependencies which are missing intentionally,
⚠ the test/ dir creates some redundant duplicates of dependencies in node_modules, thus this is slightly inefficient during the development
⚠ I tried set the repo up for this second case, but it is not simple and it will introduce major changes to the repository structure

@czabaj what's the easiest way forward? I'd like to get this shipped so we can make a breaking release with some new functionality. Any preference on how to get this over the finish line?

Give me some more time, I will write a proposal tomorrow.

Well, back to the problem again.
To sum it up, the problem originates from two instances of React in the application. This causes the peerDependencies being installed in the react-datepicker for the sake of the tests.
NPM does not install peerDependencies nor devDependencies of modules, but in your repository, you list peerDependencies in devDependencies and install all, then you link the root project to the docs sub-repository and 💥 BOOM 💥 .
Docs sub-repository has its own version of React, and Node.js module resolution mechanism works against us, when you load anything from the docs repo, it uses its own, single React instance, but when you import react-datepicker the Node.js resolves react to its private node_modules, which introduces second React version.
The cleanest way to handle this, is separate tests to its own sub-folder with its own node_modules and keep the root node_modules free of React and all other peer dependencies. This need quite a lot of changes, especially in the CI pipeline configuration.
The simplest possible solution I can think of is to adjust the docs sub-repo to always use it's own react with Webpack alias, but you are using create-react-app and this would require eject.
There might be some more options, but I can't see any better right now.

Hi! I've created the #2931 PR that continues from where this one left off. It fixes the docs problem by setting an alias for react, simplifies the setup and fixes some visual regression. Thanks for your work!

Thanks @chalbert, let me take a look and get back to you.

I merged in https://github.com/Hacker0x01/react-datepicker/pull/2931. This is a great achievement, and I want to thank both @czabaj who started this journey as well as @chalbert by taking the final step and bring it over the finish line. This is a team effort and I can't thank you enough for getting this done!

You're very welcome, thanks for reviewing it so quickly!


builds from 8bed800 have no radio connectivity

Specifically I have 2 nrf52840 dongles that have no connectivity with each other or a pair of efr32mg12/BRD4166A's.
Using arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10.3-2021.10) 10.3.1 20210824 (release) on both MacOSX 12.1 and RedHat 7.something...
rm -rf build
script/build nrf52840 USB_trans -DOT_JOINER=ON -DOT_COMMISSIONER=ON -DOT_BOOTLOADER=USB
arm-none-eabi-objcopy -O ihex build/bin/ot-cli-ftd build/bin/ot-cli-ftd.hex
nrfutil pkg generate --hw-version 52 --sd-req=0x00 --application build/bin/ot-cli-ftd.hex --application-version 1 build/bin/ot-cli-ftd.zip
nrfutil dfu usb-serial -pkg build/bin/ot-cli-ftd.zip -p /dev/tty.<macosx/linux specific>
All result in no apparent error.  After flashing, I'm able to screen into both devices.  Using steps from:
https://openthread.io/codelabs/openthread-hardware#0

namely:
dataset init new
dataset commit active
ifconfig up
thread start
Both report no issue at every step.  Then I:
scan
and neither device ever reports anything found (ie each other) during the scan.
FWIW, I gave up on the nrf dongles and tried the same (only similar build steps) on the efr32's and... they both will scan and show each other.  With them up, I re-tried the scan's on the nrf's and they still show nothing.
No idea what to try next.  Is there a build and test daemon with hardware somewhere that I can check a web page on to convince me 8bed800 isn't totally broken?

Sounds similar to my experience on issue #223.

Yes it does.  Do you have the non-dongle development boards?  Do they connect more... robustly?
If we knew, it might help in starting to narrow things down.

On Jan 4, 2022, at 12:43 PM, TPolzer @.***> wrote:
Sounds similar to my experience on issue #223 https://github.com/openthread/ot-nrf528xx/issues/223.
—
Reply to this email directly, view it on GitHub https://github.com/openthread/ot-nrf528xx/issues/227#issuecomment-1005118344, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACOBE6ASBOT5LUZ54BXBGHLUUNEXXANCNFSM5LFK2LRQ.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.

@jahess , I just tried on two Nordic nRF52840 USB dongles and everything worked as expected.
git checkout 8bed800
git submodule update
script/build nrf52840 USB_trans -DOT_JOINER=ON -DOT_COMMISSIONER=ON -DOT_BOOTLOADER=USB
arm-none-eabi-objcopy -O ihex build/bin/ot-cli-ftd build/bin/ot-cli-ftd.hex

I used the nRF Connect for Desktop programmer to flash the image onto two nRF52840 USB dongles.
On Node 1:
> version
OPENTHREAD/thread-reference-20200818-1416-ga65afcdbb; NRF52840; Jan  7 2022 13:14:28
Done
> dataset init new
Done
> dataset commit active
Done
> dataset active
Active Timestamp: 1
Channel: 13
Channel Mask: 0x07fff800
Ext PAN ID: 380f58f08a921616
Mesh Local Prefix: fdb7:99ff:530c:148d::/64
Network Key: 8b315ef2fb87e16c81ef079218f0518c
Network Name: OpenThread-4f92
PAN ID: 0x4f92
PSKc: 9b023224e65e163400ed3ca8be0ea641
Security Policy: 672 onrcb
Done
> ifconfig up
Done
> thread start
Done

On Node 2:
> version
OPENTHREAD/thread-reference-20200818-1416-ga65afcdbb; NRF52840; Jan  7 2022 13:14:28
Done
> dataset init new
Done
> dataset commit active
Done
> dataset active
Active Timestamp: 1
Channel: 18
Channel Mask: 0x07fff800
Ext PAN ID: 301b33fd1cd44def
Mesh Local Prefix: fdf6:9380:166b:d13a::/64
Network Key: a8ac4e6fd70f761496e857b55944a324
Network Name: OpenThread-9c5b
PAN ID: 0x9c5b
PSKc: 1076411a91176bf0b386490118614ec9
Security Policy: 672 onrcb
Done
> ifconfig up
Done
> thread start
Done

Scan on Node 1:
> scan
| J | Network Name     | Extended PAN     | PAN  | MAC Address      | Ch | dBm | LQI |
+---+------------------+------------------+------+------------------+----+-----+-----+
| 0 | OpenThread-9c5b  | 301b33fd1cd44def | 9c5b | 662313a11970b1e6 | 18 | -31 | 252 |
Done

Scan on Node 2:
> scan
| J | Network Name     | Extended PAN     | PAN  | MAC Address      | Ch | dBm | LQI |
+---+------------------+------------------+------+------------------+----+-----+-----+
| 0 | OpenThread-4f92  | 380f58f08a921616 | 4f92 | 425e73cb55f85266 | 13 | -28 | 255 |
Done

@LuDuda , any ideas?

Great to hear.  Could you tell me what cross compiler version you were using?

On Jan 7, 2022, at 2:26 PM, Jonathan Hui @.***> wrote:
@jahess https://github.com/jahess , I just tried on two Nordic nRF52840 USB dongles and everything worked as expected.
git checkout 8bed800
git submodule update
script/build nrf52840 USB_trans -DOT_JOINER=ON -DOT_COMMISSIONER=ON -DOT_BOOTLOADER=USB
arm-none-eabi-objcopy -O ihex build/bin/ot-cli-ftd build/bin/ot-cli-ftd.hex
I used the nRF Connect for Desktop programmer to flash the image onto two nRF52840 USB dongles.
On Node 1:

version
OPENTHREAD/thread-reference-20200818-1416-ga65afcdbb; NRF52840; Jan  7 2022 13:14:28
Done
dataset init new
Done
dataset commit active
Done
dataset active
Active Timestamp: 1
Channel: 13
Channel Mask: 0x07fff800
Ext PAN ID: 380f58f08a921616
Mesh Local Prefix: fdb7:99ff:530c:148d::/64
Network Key: 8b315ef2fb87e16c81ef079218f0518c
Network Name: OpenThread-4f92
PAN ID: 0x4f92
PSKc: 9b023224e65e163400ed3ca8be0ea641
Security Policy: 672 onrcb
Done
ifconfig up
Done
thread start
Done
On Node 2:

version
OPENTHREAD/thread-reference-20200818-1416-ga65afcdbb; NRF52840; Jan  7 2022 13:14:28
Done
dataset init new
Done
dataset commit active
Done
dataset active
Active Timestamp: 1
Channel: 18
Channel Mask: 0x07fff800
Ext PAN ID: 301b33fd1cd44def
Mesh Local Prefix: fdf6:9380:166b:d13a::/64
Network Key: a8ac4e6fd70f761496e857b55944a324
Network Name: OpenThread-9c5b
PAN ID: 0x9c5b
PSKc: 1076411a91176bf0b386490118614ec9
Security Policy: 672 onrcb
Done
ifconfig up
Done
thread start
Done
Scan on Node 1:

scan
| J | Network Name     | Extended PAN     | PAN  | MAC Address      | Ch | dBm | LQI |
+---+------------------+------------------+------+------------------+----+-----+-----+
| 0 | OpenThread-9c5b  | 301b33fd1cd44def | 9c5b | 662313a11970b1e6 | 18 | -31 | 252 |
Done
Scan on Node 2:

scan
| J | Network Name     | Extended PAN     | PAN  | MAC Address      | Ch | dBm | LQI |
+---+------------------+------------------+------+------------------+----+-----+-----+
| 0 | OpenThread-4f92  | 380f58f08a921616 | 4f92 | 425e73cb55f85266 | 13 | -28 | 255 |
Done
@LuDuda https://github.com/LuDuda , any ideas?

—
Reply to this email directly, view it on GitHub https://github.com/openthread/ot-nrf528xx/issues/227#issuecomment-1007752379, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACOBE6AKK4QOOW3HRK2C373UU5K77ANCNFSM5LFK2LRQ.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.

Great to hear. Could you tell me what cross compiler version you were using?

$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10-2020-q4-major) 10.2.1 20201103 (release)

Closing stale issue.


First release version

First release for the tekmar-482 integration.
Known limitations and issues:

Must be manually reloaded if connection to tekmar-packetserv is lost.
Home Assistant's rounding doesn't always match Tekmar's; sometimes a setpoint is a degree off.
Setpoint 161 only tested in mode 1.
Snowmelt control doesn't have any entities yet.
Not tested against hardware other that what was available to buy in the year 2021-2022.

/recheck


Add release output information to README/documentation

https://github.com/hms-networks/sc-ewon-flexy-extensions-lib/issues/56, @it-hms:

Add directions to the readme for contributing a release. This includes the following steps:

do not name feature branch release/vX.Y.Z. This will will be done by automation.
ensure that CHANGELOG.MD has been updated
last commit subject should be RELEASE: vX.Y.Z
When PR is approved, delete feature branch(s).  create tag from main branch.

git tag vX.Y.Z
git push vX.Y.Z

Replicating issue https://github.com/hms-networks/sc-ewon-flexy-extensions-lib/issues/56 from https://github.com/hms-networks/sc-ewon-flexy-extensions-lib.
This suggested change also applies to the development environment documentation provided in this repository. Projects based on this starter project are/should be linked to this repository for development environment documentation. This will clarify the process for generating a release.