Leaked AWS Credentials Your app(s) expose Amazon Web Services credentials.

Hi,
I have integrated liveness component in my droid application & used customcredentialprovider using accesskey & secret key. when i uploaded app to play store, i received error from them "Leaked AWS Credentials
Your app(s) expose Amazon Web Services credentials." . can you help me, how to fix this?
Thanks!

Transferring this issue to the Amplify Android repo.  Please provide best practices for storing credentials in Android app.

Thank you for contacting us regarding the “Leaked AWS Credentials. Your app(s) expose Amazon Web Services credentials.” warning you received. We strongly recommend that AWS Access Keys and Secret Keys not be embedded into a client application. Please see this page for details on this issue and instructions for revoking the current embedded Access Key and Secret Key.
For best practices on securing your Access Keys and Secret Keys, please see Managing access keys for IAM users.

Use temporary security credentials (IAM roles) instead of long-term access keys

You have a mobile app. Don’t embed access keys with the app, even in encrypted storage. Instead, use Amazon Cognito to manage user identities in your app. This service lets you authenticate users using Login with Amazon, Facebook, Google, or any OpenID Connect (OIDC)–compatible identity provider. You can then use the Amazon Cognito credentials provider to manage credentials that your app uses to make requests to AWS.

Our recommended approach is to use the Amplify Auth category to vend AWS Temporary Credentials. If you are unable to use Amplify, you must fetch AWS Temporary Credentials from your chosen API service.


Do not apply conversation reference on transcript

Fixes #
Proposed Changes

Testing

Hi @arturl, can you please review this PR and let us know if it needs to be merged or not?
Thanks

hi @andrewchoi5, via @arturl
The code has moved elsewhere and already has the change.

Based on that, I'm going to close out this PR.


What is the official explanation of USB SCP overflow

Hello, in the past a member of the RealSense developer team provided the following explanation of USB SCP overflow.
"The overflows are an indication that the PC is not fetching all frames in time.  Depending on the severity this can cause no streaming (when all frames are lost) or reduction in FPS.  Reducing FPS / resolution should take care of that".

您好，过去 RealSense 开发团队的成员提供了以下关于 USB SCP 溢出的解释。
“溢出表明 PC 没有及时获取所有帧。根据严重程度，这可能导致没有流式传输（当所有帧丢失时）或 FPS 降低。降低 FPS / 分辨率应该可以解决这个问题”。

thank you

Hi, do you require further assistance with this case, please?  Thanks!

您好，请问您需要对此案的进一步帮助吗？谢谢！

No , thank you!

Okay, thank you very much!  As you do not require further assistance, I will close this case.  Thanks again!
好的，非常感谢！ 由于您不需要进一步的帮助，我将关闭此案例。 再次感谢！


Pulling out emulator code?

How difficult would it be to pull the actual emulator code out? I would love to embed the emulator on my own website in the future!
This a really cool project, nice work!

Hey,
It's already embeddable: just put it in an iframe with the hex and skin parameters and the game will run there. You can clone the gh-pages branch to your own server, if you'd like.
Would that work for you?

Ah, I understand. Yup that'll work! Thanks


Notification spam

Any time a pokemon in my notification list despawns off the map i get 12 notifications spamming me even if i recieved the notification when it spawned

this seems to happen to me too

Same with me, not sure if it's related but seems like notification spam has only been happening with the lure spawns.

Happened to me with a lure spawn as well.

Yes, I've got this error too running windows 10 64-bit


Don't reject upstart for all redhat platforms

I assume this rule was here for a reason, but it's not exercised by any
of the specs.  This breaks on Amazon linux, which uses upstart.
I suspect the rule needs to be reworked, i.e. upstart && !systemd or
something like that.

This change is

Coverage remained the same at 95.031% when pulling 7b469c5fc428ed0153189ad957d053deb1c17033 on keithlayne:3.0.0-upstart-redhat into 6f46d3172f48801eec0aeec33097e27fd66853f4 on miketheman:3.0.0-rewrite.

This is a very reasonable request. Does Fauxhai contain anything to mock out Amazon Linux (or another RedHat with upstart and not systemd) so this can be established without a full battery of platform tests?
Previously, coveralls wrote…
>
> [![Coverage Status](https://coveralls.io/builds/6580911/badge)](https://coveralls.io/builds/6580911)
>
> Coverage remained the same at 95.031% when pulling **7b469c5fc428ed0153189ad957d053deb1c17033 on keithlayne:3.0.0-upstart-redhat** into **6f46d3172f48801eec0aeec33097e27fd66853f4 on miketheman:3.0.0-rewrite**.
>

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Neither Fauxhai nor Chefspec seem to deal with this directly.  I think a different approach may be in order.  I came across https://github.com/chef-cookbooks/chef-client/blob/a4977adbc4fd38716ecb11dc6bde033778088889/attributes/default.rb#L91-181 which is a good example of how much of a pain this can be.  I guess the key is that even if your platform uses one init system by default, you could (crazy?) change it, and the presence of a system doesn't necessary imply its use.  Maybe a set of defaults based on platform/family but that can be overridden in the resource would work.  The fact that you have to stub Chef::Platform::ServiceHelpers.service_resource_providers shows how brittle the current approach could become.
This seems like it maybe ought to be abstracted into its own library cookbook, the wheel probably gets reinvented in a lot of cookbooks.
Previously, miketheman (Mike Fiedler) wrote…
> This is a very reasonable request. Does Fauxhai contain anything to mock out Amazon Linux (or another RedHat with upstart and not systemd) so this can be established without a full battery of platform tests?

Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable

+bug
You're right about the overly-complex methods herein.
The desire to use the platform's default init system is high, as that is part of the Principle Of Least Surprise.
I couldn't figure out a better cross-distro approach than inspecting the service_resource_providers values, maybe there's a better way to determine "default init system" in more recent versions of Chef - maybe there's some decent way to (ab)use value_for_platform?
In any case, we can leave that for another time.

Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable

I found myself wondering what system I might have broken with this change, and why that condition was there in the first place.
I agree very much with trying to use the platform's default init system, and you've taken a nice straightforward approach.  I just like supplementing sane defaults with the ability to override if need be (i.e. to get the cookbook working on an untested platform).  Maybe worth future consideration.


Feat/show pulsechain data feed

CHANGELOG:

Show pulsechain data feed on the mainnet & testnet

@themandalore please help me to review this PR on the Pulsechain.

Hey @johnny-vu , don't think we'll be supporting the pulse fork from this end.  If you guys want to fork or do whatever, feel free, but we're not going to make any indications that the token over there will hold any value and is definitely not on our list of things do support


Update spamOpenBoxes.js

yea it doesnt work pls update

Spam open boxes only doesn't work for the new dino box. Pls reply if you have any more questions.


[Bug]: Mismatch between documentation and schema for context-map node

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
Following the documentation: https://github.com/Open-CMSIS-Pack/cmsis-toolbox/blob/main/docs/YML-Input-Format.md#context-map
a context-map lists - context: myproject.debug+target key value items whereas the schema expects values only
context-map:
  - myproject.debug+target

Expected Behavior
I personally are more used to the key: <value> pairs being used.
Steps To Reproduce
No response
Affected tools

[ ] cbuild
[ ] cbuild-gen
[ ] cpackget
[X] csolution
[ ] packchk
[ ] svdconv

Affected operating systems

[X] Windows amd64
[X] Windows arm64
[X] Linux amd64
[X] Linux arm64
[X] MacOS amd64
[X] MacOS arm64

Environment
No response

Lists of items that don't have extra properties, such as add-paths, del-paths and undefines are expected as normal yml sequences. See schema.

I will fix documentation.


Camera capture not working

Which version of the app?
WinUI 3 Gallery v2.5.1
Description
When i try to capture a photo i get this error (shown in the screenshot below)
Screenshots

Windows version
Windows 11 24H2 (26100)

It seems like it works well for me, but I'm not sure why you're getting this error 😕.


Point alertmanager slack alert to prometheus query page

Hello,
I have configure alertmanager alert to notify on slack. The link is resolving to my alertmanager page instead of that can i point the url to my proemtheus
If not my alertmanager source section is not working, what i'm doing wrong

check https://prometheus.io/docs/alerting/latest/notifications/, by default the Slack message will use ExternalURL, the URL of  Prometheus is GeneratorURL but it's different for each alert so you'd need to loop over all alerts.


CUPTI_ERROR_NOT_INITIALIZED on summit with CUDA>=11.1.1

I ran into this problem with hpctoolkit master branch. It works fine with CUDA 11.1.0, but both CUDA 11.1.1 and CUDA 11.2.0 failed. Not sure if this is caused by the old CUDA driver on summit.

One solution to get around the driver problem.
https://github.com/HPCToolkit/hpctoolkit/blob/master/src/tool/hpcrun/gpu/nvidia/cuda-api.c#L315
https://github.com/HPCToolkit/hpctoolkit/blob/b500377bd9a81619face7a4cdccbe9f4b2121171/src/tool/hpcrun/gpu/nvidia/cuda-device-map.c#L180
Comment Line 180 to eliminate calls to cuDeviceGetAttribute and do not insert entries to the device map on Line 184.

One solution to get around the driver problem.
https://github.com/HPCToolkit/hpctoolkit/blob/master/src/tool/hpcrun/gpu/nvidia/cuda-api.c#L315
https://github.com/HPCToolkit/hpctoolkit/blob/b500377bd9a81619face7a4cdccbe9f4b2121171/src/tool/hpcrun/gpu/nvidia/cuda-device-map.c#L180
Comment Line 180 to eliminate calls to cuDeviceGetAttribute and do not insert entries to the device map on Line 184.

This repository has moved to GitLab, please continue this issue there.


Bug: Display when running Cassandra

When running Cassandra the tags do not entirely make sense and are incorrect on homepage display. I assume since you use postgresql in your environment you did not give much testing or thought to the display for when Cassandra is used. I suggest this for when the db type is set to Cassandra:
DBMS = Cassandra
Hosts = ${cassandra_contact_points} returned from the Admin API
Keyspace = kong
User = ${cassandra_username}  returned from the Admin API
Port = ${cassandra_port} returned from the Admin API
It's not a pressing bug so prioritize this as low after getting those awesome other features finished first ;) .

Closing this as an easy fix, It didn't even had to go to a priorities list :),

Still a problem here:
For Cassandra config I still see a:
Database = kong on the display, this is not valid since the Keyspace is the db when it comes to Cassandra, can get rid of the database = ____ display for cassandra


Develop a strategy for dealing with new datasets or sources table CSV changes that might not work with old versions

What if we add a new data type/data loader like Excel files? How should old versions of the code that don't have this data loader handle this situation? The same issue applies to new table types and possibly other items.
This fix needs to be implemented prior to the next version. The original version will just have this flaw in it.

@potto216 Let's talk about this when we meet next

Completed in commit db354845ab083ddbfff31ae419902e4c405c644c


ROX-18340: Stop asserting stackrox-db PVC in operator upgrade test

Description
In 4.1 this PVC is gone. This fixes the upgrade test. Details in ticket.
Checklist

[ ] Investigated and inspected CI test results
[x] ~Unit test and regression tests added~
[x] ~Evaluated and added CHANGELOG entry if required~
[x] ~Determined and documented upgrade steps~
[x] ~Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

Testing Performed
CI is sufficient.

/retest

/retest


Add SDL Cursor bindings

Adds a set of bindings to allow for setting the cursor.

Looks good to me. Thanks for the contribution 👍


list extension mis-typed(?) return values

I was looking at the "List" extension, and I see this:
  /// Insert element `t` at the beginning of the [Iterable].
  Iterable<T> prepend(T t) => [t, ...this];

The return value is not an Iterable.  It's a List.  You could turn this function into an iterable with something like
    Iterable<T> prepend(T t) sync * { yield t; yield this* };

I just think it'd be more honest, and better for intellisense if things that are by necessity returning a List say so.  After all, you can call sort() on this output, but not with an Iterable, only if it's tagged as a List.
Put another way, if we could keep Iterable to mean "might be infinite", it'd be possible to construct some very cool function applications!
Edit: Idea... you could have both an iterable extension and a list extension, properly typing the function inputs!
Edit 2: On discord, we've just demonstrated that Dart picks the most restrictive type in the case of identical signatures:
extension<T> on Iterable<T> {
  void hello() => print('Hello from Iterable extension');
}

extension<T> on List<T> {
  void hello() => print('Hello from List extension');
}

void main() {
  List<String> list = [];
  list.hello(); // Hello from List extension

  Iterable<String> iterable = list;
  iterable.hello(); // Hello from Iterable extension
}

Hi @RandalSchwartz
I agree. Indeed, the list_extension has a good margin for improvement, both in terms of typing and performance.
It's a good idea having a list_extension and iterable_extension. Adding this as a future improvement.
If you have some time, feel free also to send a PR if you have already some implementation in mind 👍

I've been reading a lot of things about functional programming recently... this sequence was fascinating: https://fsharpforfunandprofit.com/posts/elevated-world/  as in I think I'm almost understanding most of the more esoteric definitions and terms, so I might actually be able to help out!  Don't wait for me though... you're really on a roll.
I have a pet project to map RiverPod's AsyncValue type to possibly an Option<Either<Error, T>> or maybe an Either<Error,Option>.  I'd have to make adaptors in both directions to allow existing RiverPod code to interoperate with fpdart.  Am I insane for wanting to do that? :)

Lemme look in the next week to see if I have an hour or two to split everything that can be on an iterable to an iterable extension, and everything that requires a list to be on a list extension.  That'd be a good start toward creating iterable streams when possible, like my example above.


How would I save a generated pdf to a database?

This is what I have so far. It's fires on a POST request.
func createLabel(w http.ResponseWriter, r *http.Request) {
	log.Println("creating label!")

	var labelData Label
	json.NewDecoder(r.Body).Decode(&labelData)
	log.Println(labelData)

	label := gofpdf.New("L", "mm", "Letter", "")
	label.AddPage()
	label.SetFont("Times", "B", 28)

	label.Cell(40, 10, "Daily Report")

	log.Println("label created!")

	blob := new(bytes.Buffer)

	label.Output(blob)
	label.Close()

        // this line doesn't work
	stmt, err := db.Prepare(`INSERT INTO label VALUES (` + string(blob) + `);`)
	logFatal(err)
	defer stmt.Close()

	req, err := stmt.Exec()
	logFatal(err)

	n, err := req.RowsAffected()
	logFatal(err)

	fmt.Fprintln(w, "INSERTED RECORD", n)
}

I'm guessing I need to somehow store a blob or a string of the pdf in a record of my db?

Instead of
stmt, err := db.Prepare(`INSERT INTO label VALUES (` + string(blob) + `);`)
...
req, err := stmt.Exec()

try
stmt, err := db.Prepare(`INSERT INTO label VALUES (?);`)
...
req, err := stmt.Exec(blob.String())

You may need to adjust the Prepare() statement to match what your SQL driver requires. This is untested, but the gist is that you want to insert the string returned by blob.String().

@jung-kurt thank you! I'll post something once I've found a solution. You have really saved me a lot of time with your package and I appreciate it!!

@jung-kurt after I'm able to retrieve the blob from my db, how can I use it to regenerate the original pdf?

You should be able to simply write it to a file (for example, with ioutil.WriteFile()) or return it to a web client (using a handler's http.ResponseWriter).
It may be worth saving the PDF contents before saving it to a database in order to skip the database retrieval step. Something like (untested):
pdfContents := blob.Bytes()
stmt, err := db.Prepare(`INSERT INTO label VALUES (?);`)
...
req, err := stmt.Exec(pdfContents)
...
err = ioutil.WriteFile("label.pdf", pdfContents, 0660)
...
-- w is http.ResponseWriter
w.Header().Set("Content-Type", "application/pdf")
length, err := w.Write(pdfContents)

@jung-kurt it appears the returned blob from the db is loosing what was original written before I inserted it into my database. I know the way I'm inserting it isn't pretty, but is it wrong?
	label := gofpdf.New("L", "mm", "Letter", "")
	label.AddPage()
	label.SetFont("Times", "B", 28)

	label.Cell(40, 10, "Daily Report")

	blob := new(bytes.Buffer)

	label.Output(blob)
	label.Close()
	log.Println(blob.String())
	log.Println("label created!")

	insertStart := "INSERT INTO label VALUES ("
	theID := `"` + generateLabelID() + `",`
	thePDF := `"` + blob.String() + `"`
	insertEnd := ");"
	log.Println(insertStart + theID + thePDF + insertEnd)

	stmt, err := db.Prepare(insertStart + theID + thePDF + insertEnd)

At a quick glance, I see two issues with your example.

The strings you insert into the database are not properly escaped. The chance that a double quote appears in the ID or PDF strings is fairly large, and this will cause the insertion to fail. That's why I recommend using prepared statement parameters. These get escaped by the database driver automatically and allow you to skip the messy concatenation gymnastics.
Possibly more than one PDF document is written by the HTTP handler. I don't see a need for the rows.Next() loop. Use db.QueryRow() instead. Again, use a prepared statement parameter to specify the id value. See the documentation for your particular database server for details.

Ciao,
we save an encoded base64 version of pdf as text (postgresql).
It has a larger size but is ready to be transferred via http.


How should shouldAdvanceTime work together with Date?

FakeTimers version : 11.1.0
Environment : MacOS 13.5.2, NodeJS v18.17.0
Example URL : -
Other libraries you are using: -

What did you expect to happen?
Each time new Date() is called -- the value is advanced according to the config.
What actually happens
The value is always the same.
How to reproduce
it('should advance Date', function() {
  const clock = FakeTimers.install({
      now: new Date('2022-02-02 22:22:22').getTime(),
      shouldAdvanceTime: true,
      advanceTimeDelta: 1000,
      toFake: ['Date'],
  });

  console.log('Date1: ', new Date()); // Actual output 'Date1:  2022-02-02T22:22:22.000Z'
  console.log('Date2: ', new Date()); // Actual output 'Date2:  2022-02-02T22:22:22.000Z'

  clock.uninstall();
});

Hi, @sokyrynskyi! AFAIK, there is nothing in the docs that says creating a new date instance should advance time.

tells lolex to increment mocked time automatically based on the real system time shift

To be honest, that would be quite contra-intuitive, as you can create several hundred thousands of date instance per second, so deciding what should the granularity be would be a task upon itself.
You can see examples of how this is being used in the docs.


Adds support for with-contenv of s6-overlay

s6-overlay is a popular container process supervision suite.  It provides two shebang values for running a given command with the container's environment: #!/usr/bin/with-contenv or #!/command/with-contenv.  Both are essentially the same thing as #!/usr/bin/env but for containers.
This PR adds support for identifying the command run with these shebangs.  As the two styles/types exist, an in check instead of exactly equal was used (but could be updated)

I could open one now, but with the PR already existing, that seems a little redundant at this point.

s6 is not nearly as ubiquitous as env -- and in is not appropriate here


Tracking Inference Code

Could you please provide a simple tracking function similar to the single_inference.py ROS code?
I tried to implement pub_test.py in ROS with no success [The tracker seems to work only for nuSences data].
I am trying to get tracking results by applying raw Lidar point clouds to get detections (BBox + score + type) and track them in the next lidar point cloud.

I don't know any ROS. Though I will prepare a simple python demo using raw lidar point clouds like #34 when I get time.

Thanks for your response!
A simple tracking demo using raw lidar point clouds would be very helpful.
On Sun, Aug 30, 2020 at 4:18 AM Tianwei Yin<EMAIL_ADDRESS>wrote:

I don't know any ROS. Though I will prepare a simple python demo using raw
lidar point clouds like #34
https://github.com/tianweiy/CenterPoint/issues/34 when I get time.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tianweiy/CenterPoint/issues/35#issuecomment-683363182,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD32JWS2EITCWBQGJEAN3STSDGSHZANCNFSM4QPDH3WA
.

Another question: You are using object velocity in your tracking script. but it is not clear how to got it from the detection script. Are you using some data from the dataset that are not in the output of the detection model? or I am missing something?

our model will predict the velocity in the detection. The box also contains the velocity prediction for the respective object https://github.com/tianweiy/CenterPoint/blob/5f3b3e141c3139baeaa8f461366f5cd17710cb12/det3d/models/bbox_heads/mg_head.py#L1781

Get way too many deadlines recently. I will try to work on this on Thursday.

I am trying implement Tracking inside the ROS inference code. Specifically inside the def run(self, points) function
in class Processor_ROS  in similar way to the tracking which is done in pub_test.py. But seems to be a little complicated for me!
The way the data is collected and formatted makes it harder. Can you please check my initial code thoughts? It should be something like this:

        with torch.no_grad():
            outputs = self.net(self.inputs, return_loss=False)[0]
        # print(f"output: {outputs}")
        torch.cuda.synchronize()
        print("  network predict time cost:", time.time() - t)
        outputs = remove_low_score_nu(outputs, 0.45)
        #========================== Tracking ======================
        for idx, output in enumerate(outputs):
            token = idx      #TODO we don't need tokens in ROS
            for k, v in output.items():
                if k not in [
                    "metadata",
                ]:
                    output[k] = v.to(cpu_device)
            detections.update(
                {idx: output,}
            )

        if frames[i]['first']:   #TODO add the right condition in ROS (start of a ROSbag)
            tracker.reset()
            last_time_stamp = frames[i]['timestamp']

        time_lag = (frames[i]['timestamp'] - last_time_stamp)   #TODO get time stamp from ROSbag
        last_time_stamp = frames[i]['timestamp']

        preds = detections    #TODO check if this format is correct as an input

        tracks = tracker.step_centertrack(preds, time_lag)
        annos = []

        for item in tracks:
            if item['active'] == 0:
                continue
            nusc_anno = {
                "sample_token": token,
                "translation": item['translation'],
                "size": item['size'],
                "rotation": item['rotation'],
                "velocity": item['velocity'],
                "tracking_id": str(item['tracking_id']),
                "tracking_name": item['detection_name'],
                "tracking_score": item['detection_score'],
            }
            annos.append(nusc_anno)
        #nusc_annos["results"].update({token: annos})
        #========================================================================
        boxes_lidar = outputs["box3d_lidar"].detach().cpu().numpy()
        print("  predict boxes:", boxes_lidar.shape)
        scores = outputs["scores"].detach().cpu().numpy()
        types = outputs["label_preds"].detach().cpu().numpy()
        boxes_lidar[:, -1] = -boxes_lidar[:, -1] - np.pi / 2
        print(f"  total cost time: {time.time() - t_t}")
        return scores, boxes_lidar, types

It is generally correct, another thing is that we do the tracking in the global coordinate (so that the center distance is accurate), so all detection boxes need to be transformed to global first.

How to convert the tracking results from Lidar coordinates system to global coordinates system?

https://github.com/tianweiy/CenterPoint/blob/ce9591caa8361df963c230a0d5622cc77dba8b85/det3d/datasets/nuscenes/nusc_common.py#L226
https://github.com/tianweiy/CenterPoint/blob/ce9591caa8361df963c230a0d5622cc77dba8b85/det3d/datasets/nuscenes/nusc_common.py#L247

Thanks! I will check that.

@YoushaaMurhij Yes, I am also trying exactly the same. Where you able to plot/visualise the tracking id, velocity etc in ROS rviz?

see this contains translation from detection box in local coordinate to nusc box in global one which contains 'translation' / 'velocity' / etc..

@tianweiy This question is not related to the issue subject.
I wanted to "test" the trained model. So I need to first run the
python tools/dist_test.py configs/centerpoint/nusc_centerpoint_voxelnet_dcn_0075voxel_flip_testset.py --work_dir work_dirs/nusc_centerpoint_voxelnet_dcn_0075voxel_flip_testset  --checkpoint work_dirs/nusc_centerpoint_voxelnet_dcn_0075voxel_flip_testset/epoch_20.pth  --speed_test
This generates a prediction.pkl file in the work_dirs/nusc_centerpoint_voxelnet_dcn_0075voxel_flip_track_circle_nms
But then for tracking, the pub_test.py file uses --checkpoint work_dirs/nusc_centerpoint_voxelnet_dcn_0075voxel_flip_testset/infos_test_10sweeps_withvelo.json which is JSON file not a pkl file.
Is the infos_test_10sweeps_withvelo.json JSON file generated somewhere?

https://github.com/tianweiy/CenterPoint/blob/ce9591caa8361df963c230a0d5622cc77dba8b85/det3d/datasets/nuscenes/nuscenes.py#L280

The dust test also generate the json file

@tianweiy Thanks!
What does this part of @YoushaaMurhij  code does? Kindly help!
for idx, output in enumerate(outputs):
            token = idx      #TODO we don't need tokens in ROS
            for k, v in output.items():
                if k not in [
                    "metadata",
                ]:
                    output[k] = v.to(cpu_device)
            detections.update(
                {idx: output,}
            )

        if frames[i]['first']:   #TODO add the right condition in ROS (start of a ROSbag)
            tracker.reset()
            last_time_stamp = frames[i]['timestamp']

        time_lag = (frames[i]['timestamp'] - last_time_stamp)   #TODO get time stamp from ROSbag
        last_time_stamp = frames[i]['timestamp']

it is trying to combine dist_test.py and tracking scripts together to do the inference simultaneously.

But in pub_test.py file, the predictions are read from the infos_test_10sweeps_withvelo.json file which in-turn is saved in this line result_dict, _ = dataset.evaluation(copy.deepcopy(predictions), output_dir=args.work_dir, testset=args.testset) in dist_test.py.
Is the predictions.pkl saved by the dist_test.py file used by the pub_test.py? I did not find this, hence asking. I am confused!

never use the prediction file here. it is for some debugging in the past.

@tianweiy Then tracking does not use any of the following output generated from the detection dist_test.py file? Tracking pub_test.py directly takes as input the dataset?
output: {'box3d_lidar': tensor([[ 9.9622e+00, -1.5653e+01, -1.3735e+00,  1.8272e+00,  4.4392e+00,
          1.5047e+00,  3.5599e-04,  7.8504e-02,  3.1200e+00],
        [-3.7680e+00,  7.8447e+00, -8.2704e-02,  2.0590e+00,  5.0508e+00,
          1.9489e+00, -8.3359e-01,  6.9724e-01,  2.1452e+00],
        [ 9.3646e+00, -2.5846e+01, -1.3691e+00,  2.0195e+00,  4.9597e+00,
          1.8110e+00,  2.6763e-01,  2.9621e+00, -3.1260e+00],
        [-1.7989e+01,  1.7998e+01,  5.9649e-01,  6.6684e-01,  6.8670e-01,
          1.6805e+00, -2.7001e-04,  1.4420e-03,  6.4967e-01],
        [-1.2270e+01,  8.5350e+00,  1.5631e-01,  6.2731e-01,  6.3689e-01,
          1.7214e+00, -2.0684e-03,  3.3646e-03, -1.8001e+00],
        [-1.8881e+01,  1.3918e+01,  9.7650e-01,  6.6738e-01,  6.4197e-01,
          1.7872e+00, -3.4912e-03,  3.5000e-02,  1.8835e+00],
        [-1.7862e+01,  1.9430e+01,  4.9828e-01,  6.3351e-01,  6.5442e-01,
          1.6758e+00,  1.0614e-03,  1.9659e-03, -3.8113e-02],
        [ 1.3766e+01, -1.5658e+01, -3.6719e-01,  2.9548e+00,  1.2072e+01,
          3.6967e+00, -9.4899e-03, -1.0434e-01,  2.9855e-02],
        [-8.5540e+00,  1.7949e+01,  1.1463e+00,  3.0667e+00,  1.3574e+01,
          3.6558e+00, -5.2315e-02,  1.1627e+00,  3.1190e+00],
        [-1.1288e+00,  3.0740e+01,  1.0409e+00,  2.9851e+00,  1.1432e+01,
          3.6119e+00,  7.9563e-03, -8.1026e-01,  2.5238e-02],
        [ 3.2393e+00,  1.6580e+01, -8.5103e-01,  3.8145e-01,  3.9565e-01,
          8.9926e-01, -1.0882e-04, -2.5205e-04,  3.0865e+00],
        [-8.1991e+00,  4.8732e+00, -4.3984e-01,  3.5569e-01,  3.6195e-01,
          9.9219e-01,  4.0683e-04, -2.2539e-03, -2.3968e+00]], device='cuda:0'), 'scores': tensor([0.8888, 0.6593, 0.5230, 0.4013, 0.3509, 0.3183, 0.3071, 0.4742, 0.3239,
        0.3197, 0.4174, 0.3065], device='cuda:0'), 'label_preds': tensor([0., 0., 0., 8., 8., 8., 8., 3., 3., 3., 9., 9.], device='cuda:0')}
  predict boxes: (12, 9)
  total cost time: 0.1655569076538086
total callback time:  0.1669299602508545

I mean dist_test.py generate both prediction.pkl and XX.json files. The tracking takes the XX.json

@YoushaaMurhij @tianweiy I think the outputs returned by the model in the single_inference.py file does not matches the format with the outputs returned by the batch_processor() function in the dist_test.py file.
I am getting this error.
[ERROR] [1600080671.250302]: bad callback: <function rslidar_callback at 0x7feadc683950>
Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback
    cb(msg)
  File "single_inference2.py", line 248, in rslidar_callback
    scores, dt_box_lidar, types = proc_1.run(np_p)
  File "single_inference2.py", line 151, in run
    for k, v in output.items():
AttributeError: 'str' object has no attribute 'items'

@tianweiy I am having trouble passing the outputs from the trained model inference into the tracking part added by @YoushaaMurhij.
Kindly help how can I format the outputs so that it can be passed to the tracker.step_centertrack() function

https://github.com/tianweiy/CenterPoint/blob/e2fc27918a451f908bb4dd979326557b0dfa7c9a/det3d/datasets/nuscenes/nuscenes.py#L227
https://github.com/tianweiy/CenterPoint/blob/e2fc27918a451f908bb4dd979326557b0dfa7c9a/det3d/datasets/nuscenes/nuscenes.py#L228
These two methods contain all transformations from detection output to the required tracking input.

@tianweiy Thanks a lot! But, what does this part of the code does?
for idx, output in enumerate(outputs):
            token = idx      #TODO we don't need tokens in ROS
            for k, v in output.items():
                if k not in [
                    "metadata",
                ]:
                    output[k] = v.to(cpu_device)
            detections.update(
                {idx: output,}
            )

move data from gpu to cpu

@tianweiy What is the units of the time_lag which is taken as input by the tracker.step_centertrack(preds, time_lag) function?

second

@YoushaaMurhij , if you solved the   above can you    please provie the script so that   everybody can use... Kindly help

@YoushaaMurhij , if you solved the above can you please provie the script so that everybody can use... Kindly help

I started working on that but, I didn't finish it. There was something not clear in the code.

@tianweiy , Do you know if it is possible to get the rotation and translation matrices between two successive sweeps ? Thanks

The calibration file should do the job?

I appreciate your super fast response and continuous help!
I found them in the ego_pose.json. Can I add them to the data-loader so I can use them with the detection results ?
Can you suggest me where to edit in the code or how?

check this link https://github.com/tianweiy/CenterPoint/blob/890e538afc95ee741f4c29b4c30b37251027e31c/det3d/datasets/nuscenes/nusc_common.py#L361
you can find how to compute [ref_from_car, car_from_global, global_from_car, car_from_current] in this file and then you can multiply them together to get the tranformation matrix. Maybe you want to precompute as you need to load the nuscenes devkit class if you want to add it into the dataloader.

@tianweiy , could you correct me please? I can use the matrix ref_from_car to get the transformation from car to a reference fixed point . so by using two successive values of this matrix I can get the transformation between two frames. Is that right?

you should use tm. ref_from_car means transform to lidar coordinates from car coordinates.

Hi @YoushaaMurhij @iamsiddhantsahu @tianweiy , is there any update on the tracking code in ROS? I have been trying to implement it myself using the steps told here https://github.com/tianweiy/CenterPoint/issues/35#issuecomment-683940665 but I have difficulty with obtaining the correct output function described here https://github.com/tianweiy/CenterPoint/issues/35#issuecomment-692908724 .
Kind regards,
Josh


Add docker. prefix to container logger names, to enable log level to be set across all loggers

Fixes https://github.com/testcontainers/testcontainers-java/issues/3016

@bsideup please review?

Sorry for the bump, any chance of reviewing this? I have a feeling this may help deal with #637 where it would be nice to set the log level for all dockers at once instead of matching against the 🐳...

@vcvitaly please could you merge from master, or preferably give maintainers permission to edit?
We've had some CI problems, so hopefully updating from master should fix things.

Overall I think this looks fine and long overdue (sorry for the immense time to review). Let's just see the tests pass once rebased onto master and I think we should be good to go!

I think it would be fair to say this fixes #637, although not in the way originally proposed.

@rnorth I just can't find that checkbox to allow edits, I don't have it for some reason. I rebased onto the master.

I’m afraid I’ll have to defer this to 1.15.1, so that we can review this together. We’re expecting to publish that release soon after 1.15.0, so it shouldn’t be too much delay.

@rnorth Anything blocking this from being merged now, given that 1.15.1 is released? Would be incredibly nice to make the container logging be more easily controlled from e.g. logback-test.xml config.

@bsideup I think you had some ideas about how this could be done without a change to how it looks for normal use cases?

Ping @bsideup, would be great to get your feedback on this. (Not myself advocating a particular solution, only eager to see #637 resolved one way or the other)

any progress on this? it is a bit more difficult to promote this library when logging is difficult to configure.
(personally, I would prefer an org.testcontainers. prefix, but anything other than root will solve my problems.)

Humble ping :slightly_smiling_face:

Sorry, everyone, I am not sure why we let this go stale for some time now. We will look into it so that we can decide at least whether we will tackle this in a timely manner, or not at all.

Sorry, everyone, I am not sure why we let this go stale for some time now. We will look into it so that we can decide at least whether we will tackle this in a timely manner, or not at all.

Sounds good @kiview, any updates on this yet? :relaxed:

@vcvitaly - I added some feedback in https://github.com/testcontainers/testcontainers-java/pull/3018/files#r1006459726. If you're still with us, it would be nice to get these final details sorted out before this hopefully gets merged.
If not, I am willing to take ownership of this change to make it be mergable. We really, really need to get this shipped anytime soon. It's a major pain related to e.g. CI logging right now.

@vcvitaly - I added some feedback in https://github.com/testcontainers/testcontainers-java/pull/3018/files#r1006459726. If you're still with us, it would be nice to get these final details sorted out before this hopefully gets merged.
If not, I am willing to take ownership of this change to make it be mergable. We really, really need to get this shipped anytime soon. It's a major pain related to e.g. CI logging right now.

@perlun sorry, I almost forgot about this) let me review this within two days

@kiview I renamed the logger as suggested by the community, please provide your feedback.

Ping @kiview, is this mergable now or would it require any further adjustments?

Anyone who talks to the maintainers recently, please ping them about this. I seem to be unable to get in touch with them despite repeated attempts.

Hi, sorry for the delay on this one. We just started discussing about this internally. So, we will be sharing news hopefully soon.
Thanks for your patience.

@eddumelendez quite some time has passed since the PR was opened so here is a short review of the reasons why I opened it:

The initial problem was that since the container logs start with the whale emoji or docker prefix, they go under the root INFO hierarchy, and you cannot see debug logs that might be useful if there are issues. I experienced that myself when I was working on another PR to testcontainers and couldn't find an issue for a while because it was printed as debug and effectively not shown. What I did - I just removed the whale emoji from the factory and added the 'docker' prefix with the DEBUG level to the logback-test.xml because I thought that missing debug info is a mistake. I now understand that it was probably a conscious decision.
Since then multiple community members have made complaints that it's hard to configure logging with the whale emoji and that a non-Unicode prefix should be used. I then changed the prefix to org.testcontainers.docker as suggested by @perlun

If something else is required from my side that might speed up pr review, I'd be happy to provide any additional info.

#6781 has been created in order to tackle this. Thanks for your contribution @vcvitaly


wip: fix dual publish express

Which problem is this PR solving?

Short description of the changes

WIP: attempting fix for dual-publishing CJS/ESM builds

@JamieDanielson Wondering if this is still relevant and should be kept open.

@JamieDanielson Wondering if this is still relevant and should be kept open.

I think this will be relevant and might be needed in all the packages... eventually. I guess the main question is to confirm whether this definitely works as expected and also determine the timeline to get these done. I've set it aside for now and will close as this can still be used as a guide even if closed.


[GHSA-p2gx-4434-pf6g] Apache InLong Deserialization of Untrusted Data Vulnerability

Updates

Affected products
Summary

Comments
Fixed title with a bit more specific information. Added correct range.

Out of curiosity, where are you getting this new lower bound? The description text itself says 1.8.0

Out of curiosity, where are you getting this new lower bound? The description text itself says 1.8.0

In the announce in the ASF announcement mailing list it is reported
Severity: important

Affected versions:

- Apache InLong 1.4.0 through 1.10.0

Description:

Deserialization of Untrusted Data vulnerability in Apache InLong.This issue affects Apache InLong: from 1.8.0 through 1.10.0, the attackers can

use the specific payload to read from an arbitrary file. Users are advised to upgrade to Apache InLong's 1.11.0 or cherry-pick [1] to solve it.

but yeah, it seems at least weird from the text, let me try to gather some more info. Thanks for checking!

In the announce in the ASF announcement mailing list it is reported

Got a link for that too? 👀

let me try to gather some more info.

Let me know what you find. The commit on the record doesn't have any tag info to go off of either 😞
https://github.com/apache/inlong/commit/1b63af3e1f208602f60b5ce19af7413443c3027c

In the announce in the ASF announcement mailing list it is reported

Got a link for that too? 👀

Sure: https://lists.apache.org/thread/rhs6fbqrnz7qw2lnz81zhjtdgzctfo3k

let me try to gather some more info.

Let me know what you find. The commit on the record doesn't have any tag info to go off of either 😞 apache/inlong@1b63af3

Maybe let's leave 1.8.0 for the moment.

Sure: https://lists.apache.org/thread/rhs6fbqrnz7qw2lnz81zhjtdgzctfo3k

Affected versions:
Apache InLong 1.4.0 through 1.10.0
Description:
Deserialization of Untrusted Data vulnerability in Apache InLong.This issue affects Apache InLong: from 1.8.0 through 1.10.0, the attackers can ...

Hmmm. Well that's not the clearest advisory I've ever read.

Maybe let's leave 1.8.0 for the moment.

Sounds good. 👍


Updating details about nesting and DLs

Docs Build status updates of commit 1d53d0f:
:clock10: Full build: the average full build time is 18 min(s) 3 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 1d53d0f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

teams/teams-ps/teams/New-CsGroupPolicyAssignment.md
:white_check_mark:Succeeded
View (teams-ps)

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 in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Proposal for #1947: fix Vyper dependencies

I found that the setuptools-markdown lib using by Vyper has been deprecated. So it can be removed.
I uploaded a workaround under my repo: https://github.com/hwwhww/vyper/tree/1761-HOTFIX-v0.1.0-beta.13-markdown to remove setuptools-markdown. And then our CI error is gone 🎉
@fubuloubu @@jacqueswww is it a correct solution that we should update to the upstream?

As far as I can tell, this fix works just fine: https://github.com/vyperlang/vyper/pull/2079
We haven't made a release with it, but it should build just fine. If it works for you, I can cherry pick the commit onto the hotfix branch

@fubuloubu

If it works for you, I can cherry pick the commit onto the hotfix branch

Yes, I can confirm it works for us. Thank you!

Alright, I've applied it to https://github.com/vyperlang/vyper/tree/1761-HOTFIX-v0.1.0-beta.13

closing via #1949


chore: deep combinator DEPRECATED usage warn

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[x] Other, please describe:

Closes #12783
Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[ ] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[ ] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[ ] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

see https://github.com/vuejs/vue/issues/12783#issuecomment-1274047731


Glitch on Hover

Is it possible to have the glitch Effect onHover?

That's an excellent idea - will be looking into it soon 😊

awesome!

Hi @Code-Victor , PR https://github.com/7PH/powerglitch/pull/5 should provide you with the asked functionnality
Added an playMode optional option, which can accept these values:

always: Always play the glitch, like now (default)
hover-triggered: Will start glitching indefinitely after first hover
hover-only: Will start glitching when hovering, and stop glitching when leaving the image

Still have to update the doc, check a few things and this will be merged/released in a few days
TY for the suggestion 👍

wow, the speed of your response is out of this world!
Thanks for implementing it👍

Hi @Code-Victor , you can already test it using the playground:
https://7ph.github.io/powerglitch/#/playground
You can use the new recommended defaults section at the top to select either Once on hover or Always on hover to have two examples of how you can use the new feature
Will be releasing 1.2.0 soon with this update

works perfectly well for my use case. Thank you


email links in markdown aren't parsed

Description
In my markdown file, if I add an email address via the standard syntax<EMAIL_ADDRESS>the app white screens. If I remove the angle brackets, the page renders again.
The console prints out an error that sounds like it's looking for a content file, rather than generating a mailto link:
shared.js?e4aa:33<EMAIL_ADDRESS>was not found.
formatError	@	shared.js?e4aa:33
(anonymous)	@	guard.js?8f55:30
Promise.catch (async)
(anonymous)	@	guard.js?8f55:24
iterator	@	vue-router.esm.js?8c4f:1959
step	@	vue-router.esm.js?8c4f:1733
runQueue	@	vue-router.esm.js?8c4f:1741
confirmTransition	@	vue-router.esm.js?8c4f:1988
transitionTo	@	vue-router.esm.js?8c4f:1890
init	@	vue-router.esm.js?8c4f:2541
beforeCreate	@	vue-router.esm.js?8c4f:553
invokeWithErrorHandling	@	vue.runtime.esm.js?2b0e:1854
callHook	@	vue.runtime.esm.js?2b0e:4213
Vue._init	@	vue.runtime.esm.js?2b0e:4998
Vue	@	vue.runtime.esm.js?2b0e:5079
createApp	@	app.js?df88:58
(anonymous)	@	entry.client.js?36fa:14
./node_modules/gridsome/app/entry.client.js	@	app.js:3623
__webpack_require__	@	app.js:770
fn	@	app.js:130
0	@	app.js:5382
__webpack_require__	@	app.js:770
(anonymous)	@	app.js:907
(anonymous)	@	app.js:910

Environment
Libs:
- "@gridsome/source-filesystem": "^0.5.0"
- "@gridsome/transformer-remark": "^0.3.2"
- "gridsome": "^0.6.4"

we had a similar problem like this using Netlify CMS - we did a quick hack and managed to circumvent this issue by adding a   after the mail link. you could try something like this [hello@jamesferrell.me](mailto:hello@jamesferrell.me )

@chorijan good to know, thank you for sharing!

@hjvedvik Thanks so much for pushing out a fix! :)

I think I'm encountering the same issue. I found that wrapping the address in quotes works for now.


Feature Request: Add WP_CLI classes/functions

Generally we don't want these scoped either when making custom commands etc...

This is a good question.
There are https://github.com/php-stubs/wp-cli-stubs
Which could be used.
Wondering if these should be in this package tho.
You could also use https://github.com/snicco/php-scoper-excludes
directly to generate the stubs.

I checked how we do that in Fortress, we never had an issue with this:
'exclude-classes' => \array_merge($wordpress_classes, [WP_CLI::class]),

'exclude-functions' => $wordpress_functions,

'exclude-constants' => \array_merge(
    [WP_CLI::class],
    ['/^SYMFONY\_[\p{L}_]+$/'],
    $wordpress_constants
),

'exclude-namespaces' => [
    'Snicco\Enterprise',
    'Symfony\Polyfill',
    WP_CLI::class, // We don't have the WP_CLI package as a composer dependency, it is expected to be installed on the client site.
],


Add https token authentication support

Adds --git-token option to ecbundle create. The supplied value is prepended to the repository clone URL.
This will help using ecbundle in GitHub actions CI/CD workflows for bundles as they rely on using tokens to clone repos.

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (cc10874) 74.50% compared to head (7056611) 37.82%.

:exclamation: Current head 7056611 differs from pull request most recent head 4088bde. Consider uploading reports for the commit 4088bde to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##           develop       #5       +/-   ##
============================================
- Coverage    74.50%   37.82%   -36.68%
============================================
  Files           17       45       +28
  Lines         1659     9940     +8281
============================================
+ Hits          1236     3760     +2524
- Misses         423     6180     +5757

Files
Coverage Δ

ecbundle/download.py
69.09% <100.00%> (+0.67%)
:arrow_up:

tests/bundle_download/test_download.py
99.33% <100.00%> (+0.03%)
:arrow_up:

... and 28 files with indirect coverage changes

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


Feature Request: Terraform CDK

This is more of a future integration, but it would be cool to also have an option to use the Terraform CDK on top of the AWS CDK. This will make it a lot more flexible in the future to switch to other providers or even just have resources in different providers.

Yeah, we've been watching https://github.com/hashicorp/terraform-cdk. It'll most likely be the route we take when we add support for other providers.

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


Using JSON(Javascript Object Notation) datasource send data from .Net Core

Hi,
I create a list from person class that using .Net Core 5.0. and send to report but fastreport consists of a single line from the first element of the list.
      List<Person> data = GetDummyData();
      Report report = new Report();
      report.Load("C:\\Users\\testyazilim\\Desktop\\PersonJsonTest.frx");
      report.RegisterData(data, "JSON.item");
      report.Prepare();

The json format I use is as follows; and json schema is created automatically.
{
 "Id": {
  "type": "integer"
 },
 "Name": {
  "type": "string"
 },
 "Surname": {
  "type": "string"
 },
 "Age": {
  "type": "integer"
 }
}

the report is generated successfully but only from a single line, although I use a table in ".frx" report. I used many different versions of json, but the result was the same.
I use FastReport Community.

Which band is using?

There are 2 distinct approaches:

JSON, in this case, you need load one file .json or serialize object and pass to .frx file;
BusinessObjeect, you need build a object BusinessObjectDataSource into .frx file this form:

In your case, you are mixing the 2 approaches.
I created this repository to demonstrate use with BusinessObjeect
https://github.com/jeftegoesdev/ExampleFastReportBusinessObject

Thank you, sir

There are 2 distinct approaches:

JSON, in this case, you need load one file .json or serialize object and pass to .frx file;
BusinessObject, you need build a object BusinessObjectDataSource into .frx file this form:

In your case, you are mixing the 2 approaches.
I created this repository to demonstrate use with BusinessObjeect
https://github.com/jeftegoesdev/ExampleFastReportBusinessObject

please, see my question. how change json datasource when running
https://github.com/FastReports/FastReport/issues/307#issue-923282198


Feature Request: Targeting

In the Basic Controls, you can select target tokens, so it'd be great if there was a way to automatically check for targets and apply the damage result minus the armor, instead of having to do it manually. Possibly as an option, it could roll STR after lowering it? It'd be nice to be able to apply damage to characters easily without going into their sheets manually.

Fixed in #80

Closing as it is done.


Updated readme file to include usage and installation instructions

Usage and installations instructions are based on my experience with the plugin

which of the component required Python and C++ (vs)? was it during npm install?
I may have to clean up some of the dependencies not being used. Which may eliminate the need of python and C++ libraries.

If I remember correctly, it was during the npm install of the sample. npm install and jspm install of the "root" folder did not require any additional prerequistes on my machine

looks like this is due to dev dependency of OfficeDev/OfficeFabricUI, I am not planning to us it as part of this codebase, this is only for my reference in porting/conversion. Will remove this dependency in next commit. Can you send me another pull request with readme update without Prerequistes section.

only css is being used, Will update sample css reference to use cdn.

Created new pull request #5 to include the requested changes


have a switch called -version

Simple request :) just so we can be 100% certain what version we are running.

Implemented. Will be released in the next version.


Add possibility to update all verbose hovers at once

fixes https://github.com/microsoft/vscode/issues/211166
Add possibility to update all verbose hovers at once

closing issue


Sporadic errors when, only workaround is to physically reconnect camera

Required Info

Camera Model
D400

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 16

Kernel Version (Linux Only)
4.4.0-116-generic

Platform
Intel NUC

SDK Version
2.10.0

Hi,
I'm running a system with a number of RealSense cameras. We've been using the R200 and are now migrating to the R400 series.
About 50% of the time after system boot the cameras do not work.
Sometimes I get:
rs2_create_device(info_list:0x7fb4f8566930, index:0): libusb_bulk_transfer(...) returned LIBUSB_ERROR_IO Last Error: Resource temporarily unavailable
And other times there's no reply from the cameras at all and I can see in the sys log:
usb 3-4: device not accepting address 10, error -71
Only way to solve the problem is to reconnect the camera (sometimes several times). Once properly connected the camera seems to be working fine.
I'm on a Ubuntu server system that has been upgraded from the old librealsense to the new one (for the new devices).
I've tested R415 and R435 cameras. Several of each so it's not a defect device. We're on Intel NUCs, I've tried several of those too. I'm using the original USB cables. Tried with and without USB3 hub. With or without external power to the USB3 hub. I've tried using only one camera connected, same problem.
Any idea what could be wrong? Any ideas on what I should try?

This issue will be fixed by new firmware version. Please keep tuned.

Thanks for letting me know.
We're having this issue around 50% of the time, does that sound plausible? Just want to double-check.
Any tips on possible workarounds to mitigate the problem at least slightly? We'd love to continue working on the sensors asap.
In what kind of timeframe can we expect the new firmware? Weeks? Months?

Hello @maciekd,
The timeframe for the new firmware is weeks. Sorry I cannot get more granular than that.
Regards,
Jesus G.
Intel Customer Support

If others have this problem: a temp. workaround seems to be to connect the cameras AFTER the system has booted up.

Same issue here. I get both that they either don't appear at all, or they enumerate as USB2 as per #1181. For the moment, reconnecting works, but that won't fly for when we get these into production so I'm watching this issue. (Hardware is an UP Board Squared, 2xD435s through a powered USB3 hub.)

@jlgarcia75 Hi Jesus, is there any update on this? I've encountered the same issue.

[Realsense Customer Engineering Team Comment]
Hello @jfhamlin,
Still no update. Engineering is working on a fix.
Regards,
Jesus
Intel Customer Support

I have found that on my 7th gen nuc this problem never occurs on the USB C interface. I automated a test and performed several thousand reboot cycles across a variety of configurations.
The USB C port always worked (bus 4 on ubuntu 16.04) with a single camera and the USB a ports did not (bus 2).
I tried a variety of hubs to try to get more than one camera to work reliably on boot. A few worked reliably while most did not.
I will update this post later with model numbers and device names.
My configuration is a 7th generation i3 NUC with 2 D435 cameras, latest firmware, trying to provide only depth streams.
On a 5 minute reboot cron (for testing) I have a start up job that checks for both devices (lsusb ) and if both did not come up, it logs the error and reboots. If they are present it lauches a modified copy of the ros nodelet that first tries to perform a reset on the devices (to avoid another issue where the depth stream doesn't work). It then runs with a 10 second watchdog timer. If no depth frames arrive in 10 seconds it logs the error and restarts the entire nodelet  family for that camera.
I also have a hardware cold boot test rig (relay+arduino 15 seconds off, 5 min on) but found no significant difference in errors between cold boot and a reboot.

On an entirely different motherboard (6th gen intel i7 CPU 6700TE, Asrock IMB-195), I am seeing a very regular pattern of this sort with 2x D435s plugged in via the single USB3.0 bus.  Latest firmware (<IP_ADDRESS>).
After a reboot cycle:

the cameras fail to show up (lsusb shows none)
I reboot, both cameras show up
I launch the ROS nodelet manager for each camera with the device reset patch and this succeeded after 0-3 attempts (nodelet group is reset by an external watchdog I wrote if no output for 10 seconds).

This pattern repeats, almost every time (733/753 reboot cycles over the weekend). The remaining 20 boots show the cameras enumerating correctly on USB.

[Realsense Customer Engineering Team Comment]
Hello josephduchesne,
Please retest using the latest FW, v 5.9.11. You can download it here: https://downloadcenter.intel.com/download/27792/Latest-Firmware-for-Intel-RealSense-D400-Product-Family
Regards,
Jesus G.
Intel Customer Support

Hi,
I am using the D435 on Jetson TX2 developer kit, using Ubuntu 16.04. My D435 is directly connected to the single USB 3 port of Jetson TX2. I have updated the camera FW to the FW, v 5.9.11 while still using the librealsense v2.10.4. However, the problem still persists for me, and unless I unplug and plug the camera back in, the camera fails to boot at every other run.

@sradmard I've had issues running the camera directly connected to the Jetson TX2 but none when connecting the camera to a powered USB 3.0 hub that is connected to the Jetson. I've also had the camera fail to stream on alternating runs when using Linux 4 Tegra 27. Upgrading to 28.2.1 solved this problem for me.

I tried 5.9.14 without success. Without the USB hub it still fails to show up on boot a large percentage of the time.


Remove types from TimeAndDims, they aren't needed.

I think @jon-wei has a plan for that.

I was thinking the types are still known and available through dimensionDescs, so it should not be necessary to put them in the TimeAndDims too.

it depends on what is the eventual plan , can same dimension column have different type while data is ingested (say user was using dimension-less ingestion and hadn't specified any type in the beginning)... now what should be the final type of that dimension column given that we see some events with type float, some with long, some with string etc.
FWIW, i think it is good to not have it in TimeAndDims and have concept of fixing the dimension column type somehow.

@jon-wei any thoughts – do you think this patch makes sense given #2760 or not? If it doesn't make sense feel free to close this PR.

@gianm From our discussion yesterday, I think it makes sense to get rid of types and reference DimensionDesc list instead

@gianm @jon-wei keep this PR?

@fjy let's keep this

👍


httpserver addr by read config init

Description
HTTP Server Listen Port by read config init。
Related Issue
feature: https://github.com/dragonflyoss/Dragonfly2/issues/351
Motivation and Context
Easier to use
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist:

[x] Code compiles correctly.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

I found that the port in the configuration is for TCP, not HTTP.

I found that the port in the configuration is for TCP, not HTTP


BigFloat vs Float64: slower solver but faster overall

using Clarabel, LinearAlgebra, SparseArrays

E0 = [7.2 0.7 0.8 2.3 2.2 1.9 5.6 5.6 7.2 1.3 0.7 -0.1 4.1 7.2]
E = vec(E0)
EB = convert(Vector{BigFloat}, E)

function QPB(E::Vector{BigFloat})
    settings = Clarabel.Settings{BigFloat}(
        verbose=true,
        direct_kkt_solver=true,
        direct_solve_method=:qdldl)
    settings.verbose = false
    solver = Clarabel.Solver{BigFloat}()

    N = length(E)
    P = sparse(zeros(BigFloat, N, N))
    q = -E
    A = sparse([ones(BigFloat, 1, N); -Matrix{BigFloat}(I, N, N)])
    b = [one(BigFloat); zeros(BigFloat, N)]
    cones = [Clarabel.ZeroConeT(1), Clarabel.NonnegativeConeT(N)]

    #setprecision(BigFloat, 128)
    Clarabel.setup!(solver, P, q, A, b, cones, settings)
    return solver
end

function QP4(E::Vector{Float64})
    N = length(E)
    P = sparse(zeros(Float64,N,N))
    q = -E
    A = sparse([ones( 1, N); -Matrix(I, N, N)])
    b = [1.0; zeros(N)]
    cones = [Clarabel.ZeroConeT(1), Clarabel.NonnegativeConeT(N)]

    settings = Clarabel.Settings()
    settings.verbose = false
    solver = Clarabel.Solver()

    Clarabel.setup!(solver, P, q, A, b, cones, settings)

    return solver

end

t0 = time()
xb = Clarabel.solve!(QPB(EB))
t1 = time()
println(Float64[xb.solve_time t1 - t0])

t0 = time()
x4 = Clarabel.solve!(QP4(E))
t1 = time()
show([x4.solve_time t1 - t0])

typical outputs are
[0.0028578740000000003 0.03750300407409668]
[0.00021125400000000002 0.023264169692993164]

or
[0.003459025 0.02099299430847168]
[0.00022872500000000002 0.023643016815185547]

For Float64, a shorter solve_time is expected, but an always longer overall computing time is unexpected.

t0 = time()
xb = Clarabel.solve!(QPB(EB))
t1 = time()
println(Float64[xb.solve_time t1 - t0])

t0 = time()
x4 = Clarabel.solve!(QP4(E))
t1 = time()
println([x4.solve_time t1 - t0])

t0 = time()
xb = Clarabel.solve!(QPB(EB))
t1 = time()
println(Float64[xb.solve_time t1 - t0])

t0 = time()
x4 = Clarabel.solve!(QP4(E))
t1 = time()
println([x4.solve_time t1 - t0])

outputs
[0.016173543000000002 0.033409833908081055]
[0.00021439400000000002 0.022915124893188477]
[0.002761411 0.0030579566955566406]
[0.00012979200000000002 0.0003819465637207031]

Which shows that a second call produce an expected outcome


PublishSingleFile causes ArgumentNullException from UploaderLocatorByUnzipping.GetUploaderFullPath

Describe the bug
When a .NET application is published using the PublishSingleFile MSBuild property (via the project file or via dotnet publish -p:PublishSingleFile=true), UploaderLocatorByUnzipping crashes with an ArgumentNullException.
To Reproduce
Steps to reproduce the behavior:

Clone the EnableServiceProfilerForContainerAppNet6 example.
In appsettings.json, specify a valid instrumentation key.
Update the .NET Framework in the csproj file: <TargetFramework>net8.0</TargetFramework>. Update Microsoft.ApplicationInsights.Profiler.AspNetCore to 2.7.2.
Publish a Docker container using the SDK: dotnet publish --os linux --arch x64 /t:PublishContainer
Run the Docker container: docker run -p 8080:8080 enableserviceprofilerforcontainerappnet6:latest
Everything should run correctly. Stop the container.
Now add the following to the <PropertyGroup> in the csproj: <PublishSingleFile>true</PublishSingleFile>
Repeat steps 4 and 5.
Access http://localhost:8080/weatherforecast
Wait two minutes

The following exception is logged:
fail: Microsoft.ApplicationInsights.Profiler.Core.ServiceProfilerProvider[0]
      Unexpected error happens on stopping service profiler.
      System.ArgumentNullException: Value cannot be null. (Parameter 'path')
         at System.ArgumentNullException.Throw(String paramName)
         at System.IO.DirectoryInfo..ctor(String path)
         at Microsoft.ApplicationInsights.Profiler.Core.Utilities.ProfilerCoreAssemblyInfo.get_Directory()
         at Microsoft.ApplicationInsights.Profiler.Core.UploaderProxy.UploaderLocatorByUnzipping.GetUploaderFullPath()
         at Microsoft.ApplicationInsights.Profiler.Core.UploaderProxy.UploadLocatorBase.Locate()
         at Microsoft.ApplicationInsights.Profiler.Core.UploaderProxy.UploaderPathProvider.GetUploaderFullPath()
         at Microsoft.ApplicationInsights.Profiler.Core.UploaderProxy.UploaderPathProvider.TryGetUploaderFullPath(String& uploaderFullPath)
         at Microsoft.ApplicationInsights.Profiler.Core.ServiceProfilerProvider.PostStopProcessAsync(PostStopOptions e, CancellationToken cancellationToken)

Expected behavior
Uploading should work even if the application is published as a single file. TraceUpload.zip is still present in the /app directory in the container image. Maybe ProfilerCoreAssemblyInfo could look for the location of the executing assembly, not look for a specific assembly on disk?
Desktop (please complete the following information):

OS: Windows 10, but running a Linux container
Package version (Microsoft.ApplicationInsights.Profiler.AspNetCore): 2.7.2
Application Insights: 4d7bacd5-388f-4d22-ac8e-XXX

Additional context
Add any other context about the problem here.

This is interesting. Following the callstack, the exception is actually thrown here:
    class ProfilerCoreAssemblyInfo
    {
        public DirectoryInfo Directory => new DirectoryInfo(Path.GetDirectoryName(_thisAssembly.Value.Location));
        ...

Is that null because the profiler assembly doesn't exist under the single file deployment? 🤔

@xiaomi7732 see https://learn.microsoft.com/dotnet/core/deploying/single-file/overview?tabs=cli#api-incompatibility
You'll need to find another way. Probably AppContext.BaseDirectory.

@xiaomi7732 see https://learn.microsoft.com/dotnet/core/deploying/single-file/overview?tabs=cli#api-incompatibility
You'll need to find another way. Probably AppContext.BaseDirectory.

Sound like fun.

@bgrainger I looked into the issue. Once we get pass the point of returning the path properly, there reveals the real issue that the .NET runtime is not there for the uploader to start and the uploading will fail.
Basically, the current design doesn't work very well for applications that packed with the .NET runtime. It is that way for the uploader to share the .NET runtime without staying in the same process of your application.
Could you please help me understand what is the reason you choose to deploy your application as SingleFile?

Could you please help me understand what is the reason you choose to deploy your application as SingleFile?

I initially published as SingleFile (and as self-contained, per the other issue) to get the smallest possible container image. However (partly due to Application Profiler and partly due to just reconsidering the options) I've switched to non-single-file, non-self-contained to benefit from reusing as many base layers as possible.

It is that way for the uploader to share the .NET runtime without staying in the same process of your application.

We're not experimenting much with AOT yet, but it seems like .NET is moving in that direction and the uploader might need to consider an in-proc model that doesn't require external dependencies (even the .NET runtime)?
FWIW, this particular issue is no longer a blocking problem for us, so feel free to close it if you don't think you'll fix it (due to Application Insights Profiler's design)

Hey @bgrainger , thanks for the feedback. This is an important data point what our users are using or intend to use.
We actually are looking into some re-architecture of our implementation to properly address the issue.
Just for your information, in-proc uploader was an option, it's too much an overhead for the user's app and we pulled it out on purpose. We shall revisit the tradeoffs, but I don't see it too feasible, TBH.
Another idea is to have the uploader run in another container (sidecar). That is still in early stage, and we have some tech hurtles that we are looking into.
I'll close this issue for now, mainly because we are not going to address this issue on its own. Feel free to file new issues when there's other problems.


Problem with delivery quests

What is your Quests version / build number (do not say "latest")?
latest
..
Nah for real 3.9.6 and gui 1.8
Describe the problem and how to replicate it. Any console errors to post using Pastebin.com?
I am having an issue where I have a set item that you have to deliver to an NPC, but the NPC says something like, Item (Item) x1 is not a required item for this quest!
The difference is 'display name or lore'.
But the item i used i set it by holding it and pressing 0 for the option in the quest editor,
I can only get the delivery quest to work if I dont set a display name or name, but then the quest message doesn't tell you what to deliver. also the delivery message does not work.
This has only recently started happening, as I have done several deliver quests before this one.
If applicable, can you provide an example quest from quests.yml using Pastebin.com?
Quest.yml :https://pastebin.com/jLbmj9tS
Console Error : https://pastebin.com/ShuMUG3V

Thanks for the report. This is hard to diagnose without hands on the virtual item, but which is it? I see several items with lore in your quests file.

The quest is called "They Called me Crazy"
If you would like to see it ingame I can send you IP,

I've tested your quest and completed it without issue. The required End Rods were spawned with the EssentialsX /i [name] command. Perhaps the issue lies with how you're obtaining your End Rods?

At this point, my recommendation would be to join the Community Discord and see if anyone might be able to join your server to help figure out the item discrepancy.


MB-16353 - Add sit fuel surcharge to payment request test data

Jira ticket
Summary
This PR should add SIT items to the payment request in one test harness scenario.
Verification Steps for the Author
These are to be checked by the author.

[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.
Setup to Run the Code

Instructions for starting storybook
Instructions for starting the MilMove application
Instructions for running tests

How to test

Access testharness/list and build the scenario HHGMoveWithServiceItemsAndPaymentRequestsAndFilesForTOO
Access the office app as a TOO
Navigate to the move's Payment Requests tab
Validate that the sit items, including the fuel surcharge items, are present
Click the Review Service Items button
Validate that the sit items, including the fuel surcharge items, are present

Backend

[ ] Code follows the guidelines for Logging.
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Screenshots

Messages

:book:
:link: MB-16353

  Generated by :no_entry_sign: dangerJS against ca0ab1fbe65a7fcc4c12703139e377423be0ff8b

Some screen shots of the expected items being present


Regarding training your own model

Hello!
Thank you for your great work, I have following question :
I have my own Elyza7B checkpoint that I want to finetune on VQA task. If I follow the llava training scheme closely, I think we need to perform projection pretraining and then finetuning on chat task.
From the documentation I don't understand which dataset should I use, should I directly use llava_ja or first mi3t and then llava_ja ?
Also what is the difference between instruct and normal datasets ?
Can you clarify, this would be really helpful!
Thank you so much again, looking forward to your reply!!

@Aniketto16
Hi!
Thank you very much for your interest and for the kind words regarding our work! Regarding your question about finetuning your Elyza7B checkpoint for the VQA task, let's delve into some clarifications and recommendations.
Firstly, adopting a training scheme similar to LLaVA, where projection pretraining is followed by comprehensive LLM finetuning, could indeed be effective. However, we currently do not have a publicly available Japanese dataset for LLaVA pretraining. This means that directly mimicking the LLaVA training approach is not feasible at the moment (we are working on this, so please stay tuned for future updates).
From our experiments, we've found that finetuning both the projection and the LLM together, without separate projection pretraining, can also yield satisfactory results. This approach involves utilizing the full parameters for both components during finetuning, and we recommend giving it a try.
See here.
Of course, pretraining on a Japanese Vision-Language dataset before proceeding to finetune the LLM on a specific VQA dataset is another strategy that is likely to be effective.
Regarding the distinction between "normal" and "instruct" datasets, the key difference lies in how the loss is calculated. For "normal" datasets, the loss is calculated across all input texts, whereas for "instruct" datasets, the loss is specifically calculated for the model's answers only. Instruction tuning typically utilizes "instruct" datasets, aiming to refine the model's ability to answer questions. We provide implementations for both types as a reference. While training with "normal" datasets can also be successful, it might lead to a model that tends to replicate human-like conversational patterns.
We hope this clarifies your queries and aids in your finetuning endeavors. Please feel free to reach out if you have further questions. We're excited to see the advancements you'll make with your project!


Syntax highlighting and docs popup broken for python?

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.93.1
OS Version: Linux x64 6.8.0-45-generic (Ubuntu 22.04)

Steps to Reproduce:

Open VScode
Open a python file

It seems to be that syntax highlighting is partially broken. Things that used to be highlighted before updating (such as variables and class names) are now missing colors. This is not a problem with any theme extension as I tried multiple different themes and the result is the same.

^^^ Syntax highlighting missing for one dark pro flat theme
The second problem is the docstring popup when you hover over a specific identifier. The exact problem being that newlines are ignored.

So did a little digging and turns out that pylance extenson automatically uninstalled and hence python had no language server which ended up in missing syntax highlighting.


Galois Field calculations, XOR operation!

Hello,
Great work., thanks for your effort.
Can this library help me with calculating operations like these?

Also, Does it have an xor operation between vectors?
Thanks in advance

Hi @a7mdragab!
Thank you for your interest in the lib!
No, there is no such functionality, but I will add it to my long term plans, thank you.


bug: Cannot convert datapoint 'foo' of type '<class 'str'>'

This may not actually be a bug, but I figure it's worth reporting anyway. Returning a dict from a task handler like return {"foo": "bar"} will fail, because str is not an allowed return type (ScalarDatapoint).
024-08-09T01:20:16 WARNING: Cannot convert datapoint 'foo' of type '<class 'str'>': 4 validation errors for ScalarDatapoint
data.bool
  Input should be a valid boolean, unable to interpret input [type=bool_parsing, input_value='bar', input_type=str]
    For further information visit https://errors.pydantic.dev/2.8/v/bool_parsing
data.constrained-int
  Input should be a valid integer, unable to parse string as an integer [type=int_parsing, input_value='bar', input_type=str]
    For further information visit https://errors.pydantic.dev/2.8/v/int_parsing
data.float
  Input should be a valid number, unable to parse string as a number [type=float_parsing, input_value='bar', input_type=str]
    For further information visit https://errors.pydantic.dev/2.8/v/float_parsing
data.decimal
  Input should be a valid decimal [type=decimal_parsing, input_value='bar', input_type=str]
    For further information visit https://errors.pydantic.dev/2.8/v/decimal_parsing

Here:
https://github.com/ApeWorX/silverback/blob/2c6f2bc5a15e7b77c79add99d8493c8be760c4b3/silverback/types.py#L55-L60
Returning a str as a value causes an error on the entire task and results aren't handled. I wonder if there's some alternative here, like either stripping reference types, allowing these, or maybe failing a bit more gracefully.
CC @fubuloubu

This might be a non-issue.  Warning is here:
https://github.com/ApeWorX/silverback/blob/2c6f2bc5a15e7b77c79add99d8493c8be760c4b3/silverback/types.py#L90-L94
This is the graceful handling. My problem might be elsewhere. Will update when I learn more.

I'm closing this because it's already gracefully handling strings.

This might need to be better documented, the intent is to only allow metric data that can be plotted via the dashboarding system
The suggestion could be anything that can be turned into a label identifier such as a hex bytestring or address can be a key, so that is the recommended way you should capture things for plotting purposes


Using multiple action urls

Feature Description
For example, enter a variable ACTIONS_URLS_QUEUE = self, https://github.com that can be used to try to clone the action from self, and if unsuccessful, try to clone from github.com, and on the last failure throw error
Screenshots
No response

Similar proposal has been posted but rejected.

Similar proposal has been posted but rejected.

I couldn't find it, can you provide a link? Why was it rejected?

#24789


Disable numbering in listings

Would be great to have an option to have nice listings (including background color, syntax highlight, border, etc), but without line numbering, or have them in a separate column.
The problem is I have some Linux commands listed in those listings, and I wish just to copy them entirely. But they are selected and copied with numbers, so I cannot paste them into terminal directly.
Maybe just need to edit source a bit to disable them?
Thanks for amazing document tho, great job!

A configuration switch would be preferable but, as a temporary workaround, you can disable numbering by editing the source template (approx line 580):
$if(listings)$
\lstdefinestyle{eisvogel_listing_style}{
  [...]
  % numbers          = left,
  [...]
  % xleftmargin      = 2.7em,
  [...]
  % framexleftmargin = 2.5em,

(Left margin parameters are commented-out too in order to bring code text near frame border)

Thank you @gpantanetti for the correct explanation. I want to integrate this feature in the near future but currently I don't have the time.


Question: why 10 * 1000 instead of 10 * this.tickDelay?

https://github.com/nulta/spam-chaser/blob/1d4aac1c8e9822be1fa45592c324b83d457b984a/src/core/spamChaser.ts#L59

아!!!

fixed in commit ace1078 to make use of errorWaitDelay


"sam build" install issue for linux (multiple distros)

Searched all 5 pages of open issues with "build" in it
Description
Command 'build' is not configured correctly. Unable to import 'samcli.commands.build'

Occurs for distros;

Ubuntu, Xubuntu, Kubuntu 18.04, 17.10, 17.04
Debian Stretch

Steps to reproduce
Using Xubuntu 18.04 uname -a
Linux zhurong 5.0.0-20-generic #21-Ubuntu SMP Mon Jun 24 09:32:09 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

virtualenv --version 16.6.1
python --version 3.7.3
prepare;
pip uninstall aws-sam-cli
pip uninstall docker
virtualenv -p $(which python3) .env
source .env/bin/activate
pip install aws-sam-cli

check pip freeze
aws-sam-cli==0.18.0
docker==3.7.3

Observed result
2019-07-13 14:54:59 Command 'build' is not configured correctly. Unable to import 'samcli.commands.build'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/samcli/cli/command.py", line 103, in get_command
    mod = importlib.import_module(pkg_name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/local/lib/python2.7/dist-packages/samcli/commands/build/__init__.py", line 6, in <module>
    from .command import cli  # noqa
  File "/usr/local/lib/python2.7/dist-packages/samcli/commands/build/command.py", line 13, in <module>
    from samcli.commands.build.build_context import BuildContext
  File "/usr/local/lib/python2.7/dist-packages/samcli/commands/build/build_context.py", line 14, in <module>
    from samcli.local.docker.manager import ContainerManager
  File "/usr/local/lib/python2.7/dist-packages/samcli/local/docker/manager.py", line 8, in <module>
    import docker
  File "/usr/local/lib/python2.7/dist-packages/docker/__init__.py", line 2, in <module>
    from .api import APIClient
  File "/usr/local/lib/python2.7/dist-packages/docker/api/__init__.py", line 2, in <module>
    from .client import APIClient
  File "/usr/local/lib/python2.7/dist-packages/docker/api/client.py", line 10, in <module>
    from .build import BuildApiMixin
  File "/usr/local/lib/python2.7/dist-packages/docker/api/build.py", line 6, in <module>
    from .. import auth
  File "/usr/local/lib/python2.7/dist-packages/docker/auth.py", line 9, in <module>
    from .utils import config
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/__init__.py", line 3, in <module>
    from .decorators import check_resource, minimum_version, update_headers
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/decorators.py", line 4, in <module>
    from . import utils
  File "/usr/local/lib/python2.7/dist-packages/docker/utils/utils.py", line 13, in <module>
    from .. import tls
  File "/usr/local/lib/python2.7/dist-packages/docker/tls.py", line 5, in <module>
    from .transport import SSLHTTPAdapter
  File "/usr/local/lib/python2.7/dist-packages/docker/transport/__init__.py", line 3, in <module>
    from .ssladapter import SSLHTTPAdapter
  File "/usr/local/lib/python2.7/dist-packages/docker/transport/ssladapter.py", line 23, in <module>
    from backports.ssl_match_hostname import match_hostname
ImportError: No module named ssl_match_hostname
Usage: sam [OPTIONS] COMMAND [ARGS]...

Error: No such command "build".

Expected result
obviously sam cli to work after fresh install

nevermind, i see pip installed to python2.7 instead of virtualenv python3 somehow and doing a rm of everything installed (why didn't pip uninstall do this?) then somehow everthing installed in the virtualenv and works fine.


Garbage collect orphan service containers

There is possibility to remove a service so that nodes still have service containers in place and they miss a remove. This PR fixes these situations by doing a garbage collection for service containers that still exist in the master db and their service definition is gone.

LGTM in principle, but I'm having difficulty actually testing this, in terms of reproducing the scenario where this GC code kicks in.

@SpComb you can test this easily if you stop agent in one of the nodes and then remove stack/service. After service is gone, start agent and there should be a zombie to catch.

@SpComb you can test this easily if you stop agent in one of the nodes and then remove stack/service. After service is gone, start agent and there should be a zombie to catch.

I tried that and didn't see any GC... maybe I need to add more debug logging to see if I'm waiting long enough.

Smoke tested with one service (and one instance) and works. I can see the termination messages in both server and agent logs and container is removed as expected.
api_1      | I, [2016-12-07T10:24:15.586346 #8]  INFO -- ContainerCleanupJob: terminating test/ipam/null-nginx-1

kontena-agent | I, [2016-12-07T10:24:15.605628 #1]  INFO -- Kontena::ServicePods::Terminator: terminating service: /null-nginx-1


Create new spread using new code from Core Kit

Fixes #2647
A couple example boards use a spread helper function which uses the built-in Breadboard code, but the Build API requires the new code from the Core Kit instead.
The new helper function creates a spread code node from a given object type input and a specified return structure.

Nice! I shall give unnest a try, thank you!

This is no longer required. I've opened an issue #2690 to delete the existing spread once the board migration changes which switch it out have been merged in.


Chrome with Year Order

Hi there,
Not sure what's happening but the plugin works on all browsers I could test (Firefox, IE, and Edge) but something went wrong with Chrome.

The years appear to be out of order on Chrome (as above) but on other browsers it works perfectly like so:

Didn't have much time to figure out why it doesn't work but I'll try to debug what's wrong and make a pull request if I can fix it.
Just wanted to flag the issue for you!

No worries thanks for letting me know. I'm not maintaining this library anymore, however I'm happy to accept pull requests if you have a fix for it.


catch Fetch error

Description
Improve catch error on fetch API
Type of change

[X] Patch fixing an issue (non-breaking change)
[ ] New functionality (non-breaking change)
[ ] Breaking change (patch or feature) that might cause side effects breaking part of the Software

Target serie

[ ] 21.04.x
[ ] 21.10.x
[ ] 22.04.x
[ ] 22.10.x (master)

 How this pull request can be tested ?
Please describe the procedure to verify that the goal of the PR is matched. Provide clear instructions so that it can be correctly tested.
Any relevant details of the configuration to perform the test should be added.
Checklist
Community contributors & Centreon team

[ ] I have followed the coding style guidelines provided by Centreon
[ ] I have commented my code, especially new classes, functions or any legacy code modified. (docblock)
[ ] I have commented my code, especially hard-to-understand areas of the PR.
[ ] I have rebased my development branch on the base branch (master, maintenance).

I'm going to add a test for these changes, testing if a console.log message occurs when fetch error is catched.


devspace dev doesn't wait enough for port-forwarding

What happened?
[fatal]  Unable to start portforwarding: Error starting port-forwarding: Unable to list devspace pods: No pod with selector app.kubernetes.io/component=microservice-app,app.kubernetes.io/name=devspace-app in namespace playground found
actually pod exists with "ContainerCreating" status, simple restart of devspace dev may help
What did you expect to happen instead?
wait up to 5 minutes (or configurable timeout), because sometimes if you have many sidecar containers simple image pulling may take a long time
How can we reproduce the bug? (as minimally and precisely as possible)
add port section to devspace.yaml/dev
Local Environment:

Operating System: windows | linux | mac
Deployment method: helm | kubectl apply

windows
Kubernetes Cluster:

Cloud Provider: google | aws | azure | DevSpace Cloud | DevSpace Cloud Enterprise | other
Kubernetes Version: [use kubectl version]

google
Anything else we need to know?

/kind bug

@maksimru thanks for reporting! The current timeout is 2 minutes which seems to short for some cases, we can increase it to 10 minutes (if the pod has an issue starting devspace dev will stop anyways)

@maksimru should be fixed in v4.2.0


useminPrepare for more that one destination directories

Hi!
I have trouble with it.
I have two pages in my app - admin.html and index.html
When I run grunt build index.html moves to /game/index.html and admin.html moves to /admin/index.html
both files have build blocks but I need different destination for this files.
What the best approach to solve it?
Thanks for any help!
useminPrepare: {
  html: ['<%= yeoman.app %>/index.html', '<%= yeoman.app %>/admin.html'],
  options: {
    dest: '<%= yeoman.distGame %>'  // I need more than one destination
  }
},

@schepelin Might be related to #487 to support differents flows


Updating Terminate task

Updating Terminate task to explicitly call WorkflowExecutor's completeWorkflow or terminateWorkflow, over ending the workflow loop within decide. This will ensure the cleanup actions as part of a Workflow are performed, eg., to call decide on parent workflow, or to invoke WorkflowStatusListener, if enabled.
While this still is a minor improvement on current work around for TERMINATE task, this can be further improved by moving away the ad-hoc logic from WorkflowExecutor.decide.

Pull Request Test Coverage Report for Build 4005

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.004%) to 69.199%

Files with Coverage Reduction
New Missed Lines
%

cassandra-persistence/src/main/java/com/netflix/conductor/dao/cassandra/CassandraMetadataDAO.java
2
59.59%

Totals

Change from base Build 4000:
-0.004%

Covered Lines:
11831

Relevant Lines:
17097

💛  - Coveralls


here-wallet: add signMessage

Implement signMessage Standart for HERE Wallet
Standart draf: https://github.com/near/NEPs/pull/413
signMessage sign hash of NEP0413: + {"message":"hi","nonce":[0,...,31],"receiver":"myapp.com"} string by full access key and return signature, then verifies the signature and verifies that the public key is indeed the full access key on the blockchain.
If verification fails, the method returns an error.

Hey, @AZbang thank you for adding support for the signMessage on HERE Wallet.
We have created this PR https://github.com/near/wallet-selector/pull/604 to officially add support for signMessage function to the API of all wallets in Wallet Selector.
After merging with the current changes in dev branch I noticed a few things that need to be changed in order HERE to fully align with the NEP.

The params need to be signed in an alphabetical order, I can see only this in your SDK but I assume you have signed this the same way in the wallet too.
The return type of the params for signature and the publicKey need to be aligned with the NEP: https://github.com/gutsyphilip/NEPs/blob/nep/wallet-werifyOwner/neps/nep-0413.md#output-interface

You can have a look at the example mentioned in the NEP: https://github.com/gutsyphilip/NEPs/blob/nep/wallet-werifyOwner/neps/nep-0413.md#references


curl: handle multiple Content-Type headers

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

#curl_http_content_headers_and_checksum contains code that works with a Content-Type header in a response but it expects there to always be only one header in the response. This is normally a reasonable assumption but we've come across a server that is giving a response with multiple Content-Type headers in the response (https://github.com/Homebrew/homebrew-cask/pull/189072), so this produces an error and causes brew audit to fail when checking the URL.
This works around the issue by naively using the last Content-Type header in the response when there's more than one. It's not something that should normally occur but this will handle the situation when it does.

Thanks @samford!


Better tusd configuration

Currently tusd can be configured directly via container args. Let's add a better config structure so that container args are not exposed.
Example:
config:
  basePath:
  behindProxy:
  maxSize:
  timeout:
  uploadDir:
  verbose:

  tls:
    certPath:
    keyPath:
    mode:

  hooks:
    enabled: []
    stopCode:

    file:
      path:
    http:
      endpoint:
      backoff:
      forwardHeaders:
      retry:
    grpc:
      endpoint:
      backoff:
      retry:
    plugin:
      path:

  storage:
    gcs:
      bucket:
      objectPrefix:
    s3:
      bucket:
      objectPrefix:
      disableContentHashes:
      disableSsl:
      endpoint:
      partSize:
      transferAcceleration:

Could you explain what the list of container args needs to look like right now for it to work please?
I'm trying to specificy a gcs-bucket and gcs-object-prefix, but can not seem to find the right syntax in the values.yaml file Whichever way I try the helm install command fails with the error "timed out waiting for the condition"
This is the format I'm trying right now:
containerArgs:
  - '-gcs-bucket'
  - 'bucket_name'
  - '-gcs-object-prefix'
  - 'tmp/tus/'

Thank you for all the work you've put into this package!

Sorry, yes absolutely. I'm pretty new to kubernetes and just assumed I was entering the args incorrectly.
I see now that the error is actually
[tusd] 2021/05/28 15:25:12 No service account file provided for Google Cloud Storage using the GCS_SERVICE_ACCOUNT_FILE environment variable.
I had assumed this step wasn't necessary since it's already running in the google cloud environment. I see that there are tutorials on how to make this available in a pod so I'll give those a shot before bothering you again, unless this is a very easy step for you to explain of course.
Thanks,


Fake slipping

Description
Every time you throw something slippery under someone, they have a chance to immediately stand up after slipping.
Reproduction
Throw something slippery under someone.
Screenshots

Additional context

Related to #29859


[Linear] ... Add "Copy URL" to options after successful issue creation

Extension
https://www.raycast.com/linear/linear
Description
It would be helpful to add a 3rd option to the set of actions you can take after creating a Linear issue. Currently, you can

Open Issue (Cmd+Shift+O)
Copy Issue ID (Cmd+Shift+C)

I would like to add "Copy Issue URL" (Cmd+Shift+U ?) to the list of options.
Who will benefit from this feature?
No response
Anything else?
No response

Toasts only support two actions (Primary and Secondary), so we cannot add more actions. Fortunately, if you find yourself just copying issue URL instead of ID, please change the preferences for "Create Issue" to change the secondary toast action:

You will then be able to use Cmd + Shift + C to copy issue URL directly. Closing this issue as it has already been addressed.

@raycastbot close this issue


Can be Hammer a dependency of the package itself?

Is there a reason why I need to install ngu-carousel and separately hammerjs ?
If I need a carousel, I want to install the carousel only, not also hammerjs as a second library.

Hammerjs is a seperate library for touch. Why u need to install it as a seperate package because angular material uses the same library for there component. If i included in my package it not be availabe outside of my carousel. Need to install it again to use for other components. It will be duplicated so to avoid that we need to install it seperately

I understand your concerns, but if I want to install just ngu-carousel, this will never work in my project because I need also to install HammerJs. When, if HammerJs was already a dependency, it would be a standalone / indipendent package. But, thanks for clarification.


Distribution plan for Aggregation Query

Description
Complete the distribution plan logic for aggregation query. Including:

SeriesAggregationNode
AlignedSeriesAggregationNode
GroupByLevelNode

This PR also contains some changes from @liuminghui233 . He added a new class GroupByLevelDescriptor which is extended from AggregationDescriptor to make the GroupByLevelNode more clear.

Coverage increased (+0.05%) to 45.58% when pulling 471249c59df32f087304df380f155799642ffd71 on xingtanzjr/agg_distribution_plan into 9a1bc7ccaf4b36cd89813182ae121f7afbbf2b9c on master.


Installation [From Scratch]

Hi
I am pretty new here to play with tensorspace.js.  I am able to see the git and stuck to install in my desktop.
My questions 1. do i have to install node.js and npm to run tensorspace.js?
Could you direct me for a quick installation guide? Many thanks.

https://tensorspace.org/html/docs/index.html#download
Error page

https://tensorspace.org/html/docs/index.html#download
Error page

Thanks for your report, I have fixed the broken link.
The work download link is: https://tensorspace.org/index.html#download

If you want to checkout TensorSpace examples locally, it is not required to use npm or node.js.
However, if you want to have a look at latest TensorSpace library or try to add new features to TensorSpace, you may need to use npm and run npm run build or npm run build-publish to build latest TensorSpace, and get the build files in build folder.

When I tried your command "npm run build-publish", I got this error !!!!


GetRouterOutlet the nested routing not working properly

I follow the nav2 example but the pages are created outside the subtree of the home view
my code :
get version : ^5.0.0-beta.51
app_pages.dart

homeView.dart

routes.dart

the result

I fix it by adding root view.dart
I think RouterOutlet was missing
`class RootView extends StatelessWidget {
const RootView({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return RouterOutlet.builder(
delegate: Get.nestedKey(null),
builder: (_) {
return GetRouterOutlet(
initialRoute: Routes.HOME,
anchorRoute: "/",
delegate: Get.nestedKey(null),
filterPages: (afterAnchor) => afterAnchor.take(1),
);
});
}
}`