Accessing undelying Go type using protoreflect

I'm pretty new to protobuf reflection and the question may sound pretty dumb. Is there any other way I can get access to underlying Go type using protoreflect?
Here's small proto which includes another widely used proto:
import "google/protobuf/timestamp.proto";

message MyMessage {
    string name = 1;
    google.protobuf.Timestamp tstamp = 2;
}

Here's the code I use to parse incoming byte array on the basis of the model generated by proto-compiler
// instantiate a message generated by protoc
m := desc.MyMessage{
     Name:   "AwesomeName",
     Tstamp: timestamppb.New(time.Now()),
}
bytes := Marshal(m) // serialize message into byte array

// let the package know about the stucture of the MyMessage
msg := dynamicpb.NewMessage(m.ProtoReflect().Descriptor())
err := proto.Unmarshal(bytes, msg)
if err != nil {
	return nil, err
}
msg.Range(func(fd protoreflect.FieldDescriptor, v protoreflect.Value) bool {
		if fd.Kind() == protoreflect.MessageKind {
			if fd.Message().FullName() == "google.protobuf.Timestamp" { // have to find it by unique name :(
				timestampMsg := msg.Get(fd).Message()

				secondsDesc := timestampMsg.Descriptor().Fields().ByName("seconds")
				secondsVal := timestampMsg.Get(secondsDesc).Int()

				nanosDesc := timestampMsg.Descriptor().Fields().ByName("nanos")
				nanosVal := timestampMsg.Get(nanosDesc).Int()

                                goTime := time.Unix(secondsVal, nanosVal) // <<-- finally got Go Time object
			}
		}
		return true
	})

Is there any smarter way to implement it?

I’m not sure why you would want to use dynamicpb when you have the actual message type?
var msg pb.MyMessage
if err := proto.Unmarshal(bytes, &msg) {
	return nil, err
}
goTime := msg.Tstamp.AsTime() // get the Go time.Time object

Thanks for response!
I'm trying to write some kind of an abstract proto parser which should extract fields from different protos.
It should work like:

User passes MessageDescriptor to the Parser. It acts as a template for incoming binary messages. Now I can inspect internal representation of the incoming byte arrays using protoreflect.

User calls something like Parser.parse(byte[]) and in this method passed byte array will be dynamically inspected without knowing it's actual underlying message type. All I know is that this byte array corresponds with the MessageDescriptor i got on the step 1. I need to extract all fields and cast them into Go types for later usage.

The conversion from google.protobuf.Timestamp  to time.Time from the code above doesn't look good. So, I'm wondering, if there's a more clear way to perform it.

I’m unsure, but a type switch might enable you to go from .Message() to the timestamppb and then you should be able to .AsTime() at that point…

Sadly, all out-of-the-box conversions are defined in https://github.com/protocolbuffers/protobuf-go/blob/v1.30.0/reflect/protoreflect/value_union.go.
So, it looks like the only way is to treat timestamp as a message and parse it by hand like I initially did.


schema,regionspan(cdc): use generic version btree to improve performance

What problem does this PR solve?

Issue Number: ref #6491
What is changed and how it works?
According to the benchmark results listed in #6491 , the generic version of google/btree performs much better than the non-generic one. So I updated the code in cdc/entry/schema/snapshot.go and pkg/regionspan/region_range_lock.go to improve the performace.
Check List
Tests

Unit test
Integration test

Questions
Will it cause performance regression or break compatibility?
No
Do you need to update user documentation, design documentation or monitoring documentation?
No
Release note
`use generic version btree to improve performance`.

/run-all-tests

/run-dm-integration-test

/run-leak-test

/run-dm-integration-test

/run-all-tests

/cc @hicqu @amyangfei @liuzix

/run-all-tests

/run-all-tests

/run-leak-test

/cc @asddongmen

/run-all-tests

/merge

/run-dm-integration-test

/run-verify-test
/run-dm-integration-test


Add vehicle_data call

This PR adds the vehicle_data call which contains the vehicle configuration (which with the current calls cannot be requested). It e.g. contains the online/offline state of the Tesla, useful in case you want to check if a wake up is necessary.
More information about the call can be found here: https://tesla-api.timdorr.com/vehicle/state/data

Nice, thanks!


Push: NoneType has no attribute Write

I am getting the error:
b'device'
Traceback (most recent call last):
  File "autoroot.py", line 123, in <module>
    install_firmware(dloadfirmware, device)
  File "autoroot.py", line 120, in install_firmware
    print(device.Push(os.path.join(d, 'Software', 'dload'), storage+'/dload', timeout_ms=100000))
  File "/home/penn/python-adb/adb/adb_commands.py", line 269, in Push
    progress_callback=progress_callback)
  File "/home/penn/python-adb/adb/adb_commands.py", line 280, in Push
    mtime=int(mtime), progress_callback=progress_callback, **kwargs)
  File "/home/penn/python-adb/adb/filesync_protocol.py", line 149, in Push
    cnxn.Send(b'DATA', data)
  File "/home/penn/python-adb/adb/filesync_protocol.py", line 207, in Send
    self._Flush()
  File "/home/penn/python-adb/adb/filesync_protocol.py", line 254, in _Flush
    self.adb.Write(self.send_buffer[:self.send_idx])
AttributeError: 'NoneType' object has no attribute 'Write'

I've confirmed that the path I'm pushing to exists. I'm pushing a directory to another directory. I'm using Ubuntu 18.04. I am able to use the Shell command fine.
This looks similar to #125 except in Push not Pull.
The adbd is running as root on the phone, as is python3 on my PC.

Hello, what is your version Android me it's 8.1

For me solve temporary Look here for me solve my problem temporary https://github.com/google/python-adb/issues/132

Sorry bad comment :/ sorry

It's just ré-identify the id if change

Not best practice but it's works

Sorry I use GitHub on phone (fasthub) it's not ideal for comment and explore the interface GUI

I use the same app and have zero issues with comments, etc. Also, your explanation still makes zero sense "It's just re-identify the I'd if change" isn't even a proper sentence. And even after being told by the main contributor of the repo that that is not a fix you continue to spam peoples' posts with this. Just PLEASE STOP. Listen to his comment and stop suggesting this crudely thought-up bandaid of a "fix".

It's just forward fix but it's not finally real fix

I just for understand the code

Whoa let's all calm down please. @vBlackOut is just trying to help (and clearly english isn't his first language, so give him a break), it seems you're a little too caffeinated here :)
Let's start over in a new issue to avoid this exchange.


fix: wrong hypervisor in kvm vnc info

What this PR does / why we need it:
fix: wrong hypervisor in kvm vnc info

Does this PR need to be backport to the previous release branch?:

release/3.9
release/3.8

/cc @zexi @ioito

/lgtm

/lgtm
/approve


Is smol a supported async runtime?

Hello, I am interested in using reqwest, but would prefer to use smol instead of tokio, as an async runtime. Is this currently possible?

It's not possible at the moment, and I'm not currently interested in adding support.


:memo:  add missing LICENSE and README.md for types package

Description
Add missing LICENSE and README.md for types package
Checklist

[x] My changes follow the contributing guidelines of this project.
[x] I have performed a self-review of my code.
[ ] I have made corresponding changes to the documentation.
[ ] I have added tests that prove my fix is effective or that my changes work.
[ ] New and existing unit tests pass locally with my changes.

coverage: 93.954%. remained the same when pulling 7194085d2c939afcbc7ab3ea79df919bef80cc3c on chore/package-types into a1d279d13892585169bfb51c29a8a97398519d99 on main.


Fast pipe new syntax -> doesn't seem to replace old syntax |. some times

It's originally discussed here
I found something interesting and it's probably a bug.
-> doesn't work after |> when |. still works after |>
click to see the proof
code for the proof
/* this works */
"1=2=3"
  |> Js.String.split("=")
  |. Js.log;

/* this works, too */
"1=2=3"
  -> Js.log;

/* but the code below doesn't */
/* you can test this with uncommenting
"1=2=3"
  |> Js.String.split("=")
  -> Js.log;
*/

ReasonML ver: 3.3.2

this is because -> isn't just sugar for |., it has a higher precedence.
"1=2=3"
  |> Js.String.split("=")
  -> Js.log;

is parsed as
"1=2=3"
  |> (
     /* the following expression logs the curried function, and returns unit, not a function */
    Js.String.split("=") |. Js.log
  );

which is a type error, you need to wrap the expression in parens:
("1=2=3" |> Js.String.split("="))
  -> Js.log;

if you reformat the correct example with |., that's what you'll get.

Yes, for now -> has higher precedence than |..
("1=2=3" |> Js.String.split("="))->Js.log;

This is indeed the correct solution.
Will leave this open, the precedence of ->  is pretty counterintuitive.
I think we can address this.

@bloodyowl thanks for the good explanation.
@IwanKaramazow Yes, I agree it can be counterintuitive unless the code writer know how actually -> works as described by @bloodyowl.
So I hope it should either the explanation to be added in the document page or the fast pipe works more intuitive to avoid the confusion.
And I personally hope to see -> gets to work just like |. to be able to code simpler.

AFAIK the main motivation for the precedence is to be able to do things like event->target##value and value->getWithDefault(x).name

Is there any way to preserve |. when using refmt?
When a chain has a mix of -> and |> code became ugly.

Closing as "won't fix", as the precedence is by design.


TST: remove filterwarnings for numpy 1.21

Since the geometry objects are now no longer sequence-like objects / objects with an array interface, those objects should now interoperate fine with numpy arrays, and the warning should be no longer be raised.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2070

Relevant Lines:
2552

💛  - Coveralls


App reports Error when change tracking enabled for Entities with a key field not named ID

I generated a sample application using cds add samples.
I renamed the field ID of Books to BookID in db/schema.cds and updated test data too.
entity Books : managed {
  key BookID : Integer;
  @mandatory title  : localized String(111);
  descr  : localized String(1111);
  @mandatory author : Association to Authors;
  genre  : Association to Genres;
  stock  : Integer;
  price  : Decimal;
  currency : Currency;
  image : LargeBinary @Core.MediaType : 'image/png';
}

I enabled change tracking for the entity Books of AdminService with annotations:
annotate AdminService.Books with @changelog : [BookID] {
	title @changelog;
	descr @changelog;
	price @changelog;
	currency @changelog;
	stock @changelog;
}

Now when I try to change the title of Book with title "Catweazle" using fiori preview for Books entity, the application reports error.: Error: "ID" not found in the elements of "AdminService.Books"
I see in the console the following error.
odata] - POST /odata/v4/admin/$batch
[odata] - > PATCH Books(BookID=271,IsActiveEntity=false)
[odata] - > draftPrepare Books(BookID=271,IsActiveEntity=false)/AdminService.draftPrepare
[odata] - > draftActivate Books(BookID=271,IsActiveEntity=false)/AdminService.draftActivate {
  '$select': 'BookID,HasActiveEntity,HasDraftEntity,IsActiveEntity,author_AuthorID,createdAt,createdBy,currency_code,descr,genre_code,modifiedAt,modifiedBy,price,stock,title',
  '$expand': 'DraftAdministrativeData($select=DraftIsCreatedByMe,DraftUUID,InProcessByUser),author($select=ID,name),genre($select=ID,name)'
}
[cds] - Error: "ID" not found in the elements of "AdminService.Books"
    at stepNotFoundInCombinedElements (D:\book-shop\node_modules\@cap-js\db-service\lib\infer\index.js:807:15)
    at D:\book-shop\node_modules\@cap-js\db-service\lib\infer\index.js:543:13
    at Array.forEach (<anonymous>)
    at inferQueryElement (D:\book-shop\node_modules\@cap-js\db-service\lib\infer\index.js:489:18)
    at processToken (D:\book-shop\node_modules\@cap-js\db-service\lib\infer\index.js:371:11)
    at Array.forEach (<anonymous>)
    at walkTokenStream (D:\book-shop\node_modules\@cap-js\db-service\lib\infer\index.js:375:19)
    at inferQueryElements (D:\book-shop\node_modules\@cap-js\db-service\lib\infer\index.js:344:16)
    at infer (D:\book-shop\node_modules\@cap-js\db-service\lib\infer\index.js:69:22)
    at cqn4sql (D:\book-shop\node_modules\@cap-js\db-service\lib\cqn4sql.js:47:20) {
  id: '1344032',
  level: 'ERROR',
  timestamp:<PHONE_NUMBER>937
}

There were no issues before I renamed the field.

Hi Nick,
The issue remains even when the type of the field is changed to UUID.  Fiori draft does not mandate that the keys are named ID. For localized entities, the generated key is named ID_texts.  It is not evident in the stack trace. But, the query that causes the crash is from change tracking.
BTW: The type Integer was in the generated sample with cds add samples and it works just fine when change tracking is not used.
Regards,
Dinu

Hello @dinurp
we will look into this. In the meantime, since this is an open source project: If you can debug your project and pinpoint to specific pieces of the plug-in code, this would be a huge help for us.
Best,
Nick

Dear Nick,
Here is the fix that worked for me. It may not cover all the cases, but solved the I issue I faced.
diff-support-naming-keyfield.txt
Regards,
Dinu


_please delete

_please delete

Even us moderators cannot delete issues, that's why we have the "archived" tag. :)


57-setup-next-eslint

All rules have been set
They are all compatible with auto-fix
I refactored 3 files as a test

Linked to ticket #58


Create gui

Creation of a very basic GUI
Motivation
Allows greater usability and is useful for those not as technically gifted with python. I am putting this PR in now so that others may help out if they so desire and the final product can be discussed.
Relevant Issues
I intended to create a package installer for this. I will be creating the package installer in a different PR as it is a little big for one feature branch.
Changes
Created a GUI
New Dependencies
PyInstaller >= 5.0.0 in requirements_dev.txt
PySide2~=<IP_ADDRESS> in requirements.txt
Change Magnitude
Not release-worthy yet, however once this and the package installer have been merged it will require a release.

Travis CI is not working due to issues with Qt. Recommend the following https://stackoverflow.com/questions/56826665/travis-ci-failing-to-build-due-to-pyside2-and-matplotlib

Hey @Zach10a! Thanks for this awesome pull request and all the hard work you've put in. I apologize for the radio silence these last few days; things have been pretty crazy at work. I should be able to review your request tomorrow and we can move forward with getting it merged!

Fixes #18

Hi @camUrban, hope you're doing alright and work isn't too manic. Absolutely not a priority but just a bump in case you've not seen this pop up anywhere. I intend to leave it how it is and not clutter up the commits to fix the Travis CI and fix it in a branch afterwards. I also have the package branch pretty much good to go other than some troubleshooting!

Hey man! I'm so sorry again about the delay. I'm in the final two weeks of my current job, so I'm working overtime to wrap up several projects. I feel bad because I know how much time you've put into this, but I think I'll need to delay reviewing this request until after I finish. However, on Monday, 8/1, the first thing I'll do is work on this merge! I hope that's okay, and again, thank you so much for all the effort on your part!

Hey @Zach10a, I hope you survived the hot weather unscathed! I'm now finished up with work and am ready to start helping with this! Here are my initial thoughts:

I made two small commits to make the dependency versions slightly more restrictive.
I noticed that the Travis CI testing is still failing. I wonder if we should remove the GUI from the CI testing now? Could that be done by removing line 16 from the new .travis.yml file? What are your thoughts?
I'm a bit confused by the pterasoftware/models Python package. Some of the files seem to be the same as those in the examples folder, but others define a new class. Are the copies from examples work with the GUI yet?
We should probably have a docstring for main.py. Even a one-liner such as """This script opens the GUI to demonstrate Ptera Software analyzing example models.""" would be okay. :smile:

Hi Cam,
Just out of contact until the 12th Aug, will have a look at these changes when I am back.
Glad you're well

Hi Cam, had an hour out so have had a look.

Added that line to main.py. It's a bit of a filler but I will write docs for it later on.
pterasoftware/models is a framework to enable customisation at a later date. I've kept it in to avoid having to write it all again, however the current examples do just action the scripts in the examples folder.
Unsure on the Travis CI thing. If I'm honest it all appears to work from my end for all tests, however I will keep looking at fixes to allow it to work. Failing that I will use our lord and master StackOverflow.

All of those should be actioned in the next few commits. I'll be in and out of comms for the next week or so, will get back to you on any comments as soon as I can!

Ok so I've gone a little further than I should have on this branch, but it saves you having to look at more PRs. We now have a fully-fledged installer and build instructions that can install the program to the user's computer with no use of the command line. It can show all examples through the help folder. If you're happy with this being V1.0.0 (that is what I've designated it atm) then the installer .exe can be appended to the release section on the front page alongside the source code.
Looking forward to moving on with other aspects of the project!

@camUrban any movement on this?

Hey @camUrban, would there be any way to resolve this?

Hi @Zach10a. So sorry about the long wait on this. I've been in my first semester of grad school and have been struggling to find the time to work on this. This is my last week of classes. I'll take another look on Monday, 12/12, which is my first day of winter break. Thanks for all the work and your patience.

No worries dude! Hope you're enjoying, have a good Christmas period.

I just merged the pull request. Great job, and thank you again! I will close this thread, but I may open a new issue in the next few days as I start prepping a new major version release with your contributions.

I just merged the pull request. Great job, and thank you again! I will close this thread, but I may open a new issue in the next few days as I start prepping a new major version release with your contributions.


TypeError: Cannot read property 'split' of undefined

Hey @blakeembrey,
It seems you reverted my pr in https://github.com/blakeembrey/javascript-stringify/commit/77add2892fd4eedaaeae77405bb5b4cbecf1ef9d.
The problem is that value is not undefined, but stringify(value) is.

Thanks. I would have added tests, but I got lazy with everything going on. I'll add a test next time.

Tests added with https://github.com/blakeembrey/javascript-stringify/commit/36ac373b782b9b1b4503dc4f3caef0b7a800998f. I'll have to ask for those in the future to avoid dumb mistakes like this 😄


Andrefurlan db db docs

What are you changing in this pull request and why?
F
ixing merge conflicts for PR : https://github.com/dbt-labs/docs.getdbt.com/pull/3140
Checklist

[ ] Review the Content style guide and About versioning so my content adheres to these guidelines.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

Adding new pages (delete if not applicable):

[ ] Add page to website/sidebars.js
[ ] Provide a unique filename for the new page

Removing or renaming existing pages (delete if not applicable):

[ ] Remove page from website/sidebars.js
[ ] Add an entry website/static/_redirects
[ ] Ran link testing to update the links that point to the deleted page

Databricks contributors are good with merging this change 👍


HDDS-4198. Compile Ozone with multiple Java versions

What changes were proposed in this pull request?
Compile Ozone with both Java 8 and 11 in CI.
Note: this is based on top of #1386.
https://issues.apache.org/jira/browse/HDDS-4198
How was this patch tested?
https://github.com/adoroszlai/hadoop-ozone/runs/1063860191#step:6:10
https://github.com/adoroszlai/hadoop-ozone/runs/1063860210#step:6:10

Thanks @vivekratnavel for the review, and @elek for reviewing and committing it.


missing authentication when ssh into git repository

Hi
I want to sync a git reository residing under something like:
gituser@localhost:/home/gituser/myrepo
Codiad stalls, when trying to clone this way. I would expect a question for password input.
ps aux shows waiting ssh connection processes. I assume it is waiting for a password.
Should this work? Is it me, ssh'ing to localhost? Am I missing soem configuration?

In addition i tired to to clone via codiad terminal. Maybe this is helpful?
Cloning into 'myrepo'...
Could not create directory '/var/www/.ssh'.
Host key verification failed.
fatal: The remote end hung up unexpectedly

/var/www/ is the home directory of www-data, the process owner of apache providing codiad i suppose.
I can't

Your problem bassed on two problems:

The older version of CodeGit didn't support the different password question output for ssh - I fixed this
You have to add your servers host key for the www-data user


Support for Svelte

Although it is intended to be a React component, could I use it in Svelte?

You can port it to Svelte, like people did with Sonner.

Linking ported version for Svelte.


Update debootstrap PATH+chroot handling

Closes #10386
Fixes #8258

Instead of applying it only for the final chroot, this adds a chroot helper function to apply it appropriately for every chroot, including making sure that we find chroot in our current host PATH in case it's in a strange place.

cc @jfrazelle

You were too slow, @GordonTheTurtle.

LGTM

@crosbymichael had lgtm'd the old pr (from the carry) so merging


x/website: suggestion: animate the gophers eyes on the website

Using this technique (animating the Go Gopher's Eyes: https://buipalsulich.com/post/gopher-eyes/) it would be fairly easy and would add a nice touch to a simple website like golang.org.
Note, I know that the goal is to keep the website simple, like the language is. And I think that it would retain that, but would also add a kind of flair that the Go language has. It's simple in nature, but has powerful foundations which should not be dismissed lightly.

Thanks, but we're not going to do this. We've discussed it before and it would be way too distracting.

Fair enough. :) I had to try. :)

Gopher's eyes roll


Can't upload media

Sparkles can now interact with an Indiekit server’s Micropub media endpoint: it is recognised, and previous uploads are shown in the UI:

If I try to upload an image however, my Indiekit server returns a ‘No file included in request’ error. This is the incoming request:
POST /media
headers {
  host: 'indiekit.up.railway.app',
  accept: '*/*',
  'accept-encoding': 'gzip, deflate, br',
  authorization: 'Bearer XXXXXX',
  'content-length': '61601',
  'content-type': 'multipart/form-data; boundary=----WebKitFormBoundaryMNzWqXaY74EidO2a',
  'user-agent': 'node-fetch',
  'x-forwarded-for': 'XX.XXX.XXX.XX',
  'x-forwarded-proto': 'https',
  'x-envoy-external-address': 'XX.XXX.XXX.XX',
  'x-request-id': 'fc5332d9-cd00-414c-b21d-bd12c6465f60'
}

This is the returned error:
IndiekitError [BadRequestError]: No file included in request
  at IndiekitError.badRequest (file:///app/packages/error/index.js:5:12)
  at actionController (file:///app/packages/endpoint-media/lib/controllers/action.js:33:31)
  at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
  at next (/app/node_modules/express/lib/router/route.js:144:13)
  at Route.dispatch (/app/node_modules/express/lib/router/route.js:114:3)
  at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5)
  at /app/node_modules/express/lib/router/index.js:284:15
  at Function.process_params (/app/node_modules/express/lib/router/index.js:346:12)
  at next (/app/node_modules/express/lib/router/index.js:280:10)
  at Function.handle (/app/node_modules/express/lib/router/index.js:175:3) {
    code: 'bad_request',
    status: 400
  }

I just pushed some changes which include a fix for this. I was sending the file as photo instead of file. Don't know why I did that when I did but should work now

Ah, that’d be it. Just tested, and it works! 🎉 Thanks so much for persisting with fixing these issues.

Have added Sparkles to list of clients tested to work with Indiekit.

Awesome! Thanks for your help with testing and finding these issues.


Feat/virtual joystick

New feature added: Basic Virtual Joystick
Hi, I decide implement this feature because it appears to be in high demand. Hope you find interesting.
Description:

Joystick can be activated by button on bottom (see picture)
For resolutions less than 650px wide it's active by default
When resolution ir less than 650px and chat is active, joystick is hidden because it interferes with the chat

For implement this, I use this component: https://github.com/elmarti/react-joystick-component
Note: This feature will conflict with this PR:  #.62
I can take care of resolving conflicts
Related issues:

#.23
#.60

Thank you for your contribution to the SkyOffice project. I've finished reviewing the pull request for the virtual joystick feature. Overall, the implementation seems solid, and the feature is a valuable addition to the application. I've left some comments regarding best practices, code safety, and UI considerations. Please take a look at them and make any necessary adjustments.
If you have any questions or need further clarification on any of the comments, feel free to reach out. Once again, great work on this feature, and I look forward to seeing it integrated into the application.

@PR-Review Ok thanks, any suggestions what to start with, real quick

@JWS-aAI Certainly! Here are a few quick suggestions to start with:

Dependency Compatibility: Verify that the newly added react-joystick-component library is fully compatible with the existing codebase and does not introduce any breaking changes.

UI Layout and Responsiveness: Test the changes made to the UI components, such as the Chat.tsx and WhiteboardDialog.tsx, to ensure that the layout is still functional and visually appealing across different screen sizes and resolutions.

TypeScript Consistency: Consider converting the Joystick.jsx component to TypeScript to maintain consistency with the rest of the project and leverage type safety.

State Management: Ensure that the showJoystick state is correctly initialized and responds to window resize events as expected.

Code Cleanliness: Review the useEffect hook in MobileVirtualJoystick.tsx to confirm that it's necessary and remove it if it's not serving a purpose.

Start with these items, and once they're addressed, the rest of the comments can be tackled in order of priority or dependency. If you need further assistance, feel free to ask. Good luck!


Сoncurrency.abort field changes behavior of Query.abort event

When i use createJsonQuery with my own abort event, Query.abort event do not react to fetch abort.

it happens if property changes to false, mistake in my code


Log is not containing all the devices I have.

First, let me praise the new integration. This is really needed. I want to help any way I can!
I have a Tahoma system with 6 devices - 4 window covers, 1 external cover, and a terrasse heater.
Additionally the Tahoma box came with a remote. You can see all of them here on my home screen in the app:
https://photos.app.goo.gl/zTDpDrQGemzWNNVC7
All of the devices (except the remote) support the same set of buttons: on, off and "My" (see screenshot)
However when I use the integration (version 2.0) I only get the 4 window cover and the external cover, not the terrasse heater and the remote.
I have enabled logging, but I am not seeing the other devices in the log:
2020-08-06 10:48:20 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for tahoma which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-08-06 10:48:31 DEBUG (MainThread) [custom_components.tahoma] Finished fetching TaHoma Event Fetcher data in 0.040 seconds
2020-08-06 10:48:41 DEBUG (MainThread) [custom_components.tahoma] Finished fetching TaHoma Event Fetcher data in 0.159 seconds
2020-08-06 10:48:51 DEBUG (MainThread) [custom_components.tahoma] Finished fetching TaHoma Event Fetcher data in 0.146 seconds
How can I make sure that all the devices are indeed in the log?

Hi, Thank you for the report. So far we haven't added any remote to the component as most of them don't add any value over directly controlling the device itself. For instance I own a remote that opens or closes the smart lock, but adding the remote to HA is useless as I can directly control the lock through the component.
Regarding the heater, I suspect it could be detected as something else than a climate device. Can you confirm that you have only 5 devices in the integration page? (sorry if the question seems dumb, sometimes, we do have to go to the very basics)

Can you also have a look at this https://github.com/totalimmersion/com.somfy.tahoma/files/2089039/Instructions.for.the.TaHoma.devices.pdf
and report the details concerning the heating device?

I made some changes to the debug logging in 2.0.0, so I would need to have a look why it is not printing anything in your case.. I had a look at the code and I can understand why your Heating Device is not visible, however the remote should be visible for sure.
Are you sure they are not present in the list? (/config/devices/dashboard) (see screenshot from above).
@vlebourl regarding the climate device. We should not match HeatingSystem and ExteriorHeatingSystem to climate, if climate only supports three specific widget classes. This should be matched to those widgets only, or preferably a better fallback in device for generic heating devices.

Hey back, just to be clear, is that what you call the remote?

partly fixed by #209.
Can you install master in hacs and restart HA? The climate device should appear in the logs as unsupported.

Hi! Thanks for the swift comments.
First, 2.0.1 made the climate device appear in the logs:
2020-08-06 18:21:51 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for tahoma which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-08-06 18:22:01 DEBUG (MainThread) [custom_components.tahoma] Finished fetching TaHoma Event Fetcher data in 0.042 seconds
2020-08-06 18:22:01 DEBUG (MainThread) [custom_components.tahoma] Unsupported TaHoma device detected (rts:ExteriorHeatingRTSComponent - ExteriorHeatingSystem - StatelessExteriorHeating)
The outdoor heating uses the same remote as the others with arrow down (off), arrow (up) on, and "My" which is less heat. I am curious how this is exposed by tahoma. This is the heater:
https://www.somfy.me/en-gc/products/1810876/heating-modulis-ramp-rts-
"Fjernkontroll" is indeed the remote control. I have two types of remotes:

This guy who came with the blinds: https://www.somfysystems.com/en-us/products/1810633/telis-rts
I believe these directly communicate with the blinds / heater, and as such cannot be used for HA.

This guy who came with the hub: https://www.somfy.co.uk/products/2401370/tahoma-remote-control
This is the one that shows up in the app.
I understand why one could argue that it is not worth exposing. At the same time, it is a device with 5 buttons that could be used / programmed to do a variety of things in HA. So if they could natively be exposed as buttons, it would be a plus in my books.

Let me know how I can further contribute.

Thanks, I'll add the heater to the supported devices, maybe tomorrow, otherwise next week.
Regarding the remote, indeed the first one isn't exposed.
I believe the second one isn't the one you mentioned, but the physical button present on the tahoma box. The 5 buttons remote is a remote dedicated to the security part of the tahoma box, and isn't exposed either.

Mine is called "active button" and only has 1 button

I realized that my button is the same. I fully agree that adding the button on the box makes no sense whatsoever.
Thanks for the swift feedback. Let me know when I should test a new version!

@larsvinc could you perhaps open a new issue (unsupported device)? In that issue we can track your exterior terrace heater :-).
2020-08-06 18:22:01 DEBUG (MainThread) [custom_components.tahoma] Unsupported TaHoma device detected (rts:ExteriorHeatingRTSComponent - ExteriorHeatingSystem - StatelessExteriorHeating)
``

@iMicknl Done :)


Hotfix: Fix Moodle Email CERT Issue

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


Ubuntu 18.04 not building

basic.sh in  ubuntu18.04-base breaks docker build.
E: Package 'libicu55' has no installation candidate

Hi @Bengkel, sorry for replying late. I didn't notice your message among my notifications.
The base image is building, in fact it is building also in the GitHub workflow running weekly. I came back today to this repo, because the Python image started failing only starting from this weekend.
If you take a look at the build history and the logs of the last build (where the Python image is failing), you will see that the base image for Ubuntu 18.04 is working.
Do you know what might be causing the issue with you? A few hours ago, the Ubuntu 18.04 base image build ran properly here in GitHub.

Closing because GitHub workflow builds demonstrate the ubuntu18-04-base image is building (just fixed the Python image at https://github.com/RobertoPrevato/AzureDevOps-agents/commit/0cb81b05464d8adeb0f737b4fc35bca881771249)


Update to 7.0

please

https://github.com/docker-library/logstash/commit/b6e6214f6b0e92af270f21596b6b7d9cc3961be8 :+1:


fix: Fixes schedule:list command to take environment constraints into consideration

Currently the schedule:list command lists ALL scheduled tasks, regardless if some task is limited to specific environments.
For example, if a user has defined a task that cleans up the data on a test environment, and then checks schedule:list on production, he might think that it would be executed on production as well because it would be listed there with information when the next execution is due.
This can cause confusion / panic so this fix changes the command behaviour so that it only lists tasks which apply to the current environment (unless --all option is used).

There isn't really a fail-safe way to filter this list because any event could have a when callback that has arbitrary constraints, even on environment.


[WIP] Pass data using navigation props instead of getting from global state/selectors.

Need to do some testing. But ya ready for initial review.
(This PR is basically combination of old dated PR #2455, #2456 and #2452 )
Fix for #2746.

The GlobalState param is added already in #2719


Create the webpage to view and export stored data

https://myquotes.account.lukassobotik.dev/stored-data


1D stream to process the wavelength calibrated data

I am considering implementing the new class Stream1D. (because it would be useful when I implement fringe removal for REACH spectrum.)
This is a rough concept, and please tell me if you have any ideas or suggestions for a more useful structure.
Concept of this implementation:

Stream2D (c.f. #27)

mainly for extracting 1D spectrum; raw data --> (RN remove, hotpix mask, etc...) --> 1D spectrum (wavelength calibrated)
Only fix a few functions from the current version

Stream1D

mainly for processing wavelength-calibrated data; for example, making order-combined normalized spectra (already implemented as a part of normalize1D), removing fringe in REACH spectrum, masking sky emissions, and so on...

List of functions to be implemented in Stream1D (if possible)

[ ] Normalizing after combining orders to get more high S/N at the edge of the order
[ ] Removing fringe (periodic noise) in REACH spectra
[ ] Masking sky emissions
[ ] Identifying and removing outliers


API documentation for Datasheets tools

duplicate of https://github.com/c0c0n3/kitt4sme.live/issues/391 and is now solved


refactor: Migrate icons from iconfont to git

Description
Icons were previously stored and managed in iconfont, and we want to migrate them into this git repo:

@yfeng2824  can you rebase with develop branch? it is for development and master is for production

@yfeng2824 can you rebase with develop branch? it is for development and master is for production

Just rebased


Ionic Account stopped working when I changed my linked email address

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x ] 3.x
I'm submitting a ...  (check one with "x")
[ x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Today, I attempted to change my email linked to my ionic account, however, now when I try logging in with either my old or newer email address, the login is invalid.
I already attempted to reset the password for both accounts, but the email told me that an Ionic account doesn't exist for either email address.
Any Ionic team members on here that can help me out?
Ionic info:
global packages:

    @ionic/cli-utils : 1.5.0
    Cordova CLI      : 7.0.1
    Ionic CLI        : 3.5.0

local packages:

    @ionic/app-scripts              : 1.3.0
    @ionic/cli-plugin-cordova       : 1.4.1
    @ionic/cli-plugin-ionic-angular : 1.3.2
    Cordova Platforms               : android 6.2.3
    Ionic Framework                 : ionic-angular 3.4.2

System:

    Node       : v6.10.0
    OS         : Windows 10
    Xcode      : not installed
    ios-deploy : not installed
    ios-sim    : not installed
    npm        : 3.10.10

Hello, thanks for opening an issue with us. Would you mind opening up a ticket with us here please? Thanks!


Bump to xamarin/monodroid/main@12b1ae70

Changes: https://github.com/xamarin/monodroid/compare/e68da1e8...12b1ae70

Bump to dotnet/android/main@d01a564
Bump to xamarin/androidtools/main@bea0d3e
[tools/msbuild] make _GetPrimaryCpuAbi run again
Bump to xamarin/android-sdk-installer/main@035c8a8
Bump to dotnet/android/main@b69ad9e

I'm mainly doing this to test a build with the _GetPrimaryCpuAbi fix.

There is 1 network-related test failure we can ignore:
System.Net.Http.HttpRequestException : Response status code does not indicate success: 502 (Bad Gateway).


Use networkRequest.cancel() instead of abort().

Aborting the current network request will invoke onResourceError callback.

Fixes #220
/CC @mikelambert @giakki

Coverage remained the same at 96.25% when pulling 4998ef837acf7ca8a6e3020d9e1d651ce850aeb2 on res-not-found into 059b18de948017a424e758667b953bae9a8a865d on master.

Perhaps this isn't the best approach now that I think of it since the request will still happen.
I can't find another way to handle this, but at least I've identified the issue, so someone else might have a better idea.

Coverage remained the same at 96.25% when pulling 12fdab799625dbac0e1e1b2a615377b6c9eb4343 on res-not-found into 059b18de948017a424e758667b953bae9a8a865d on master.

I haven't gotten a chance to try it; you might want to add a comment stating that require('webpage') is requiring a part of PhantomJS, not https://www.npmjs.com/package/webpage.

@XhmikosR I advise you to just go ahead and merge this when you're ready.

I doubt this is the right fix that's why I haven't merged it yet.
On Jun 30, 2016 14:13, "Ryan Zimmerman"<EMAIL_ADDRESS>wrote:

@XhmikosR https://github.com/XhmikosR I advise you to just go ahead and
merge this when you're ready.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/giakki/uncss/pull/242#issuecomment-229629879, or mute
the thread
https://github.com/notifications/unsubscribe/AAVVtUJ26TNxOQyjTQ3BDMrgdF-leeVTks5qQ6TigaJpZM4Iu27r
.

Coverage remained the same at 96.735% when pulling b2c143361c11bb9a00d555b9ad7214c4accdf999 on res-not-found into 7bf4a93afdd1c3853386b45e640f6b04ed44cc6f on master.

So @mikelambert, any thoughts? It seems to fix the errors and also tests seem to pass. I still don't feel confident about the change though.


BVH - Separate into dynamic, area and static trees

Separating into three trees gives finer control of collisions. 2D and 3D.
There have been longstanding issues in Godot 3 (since 3.0 I expect) where collision has either not worked between areas & statics, or areas and areas. This PR should fix these, at least as far as the BVH is concerned (for some pairings there may not be support within the physics code itself).
This PR is partly intended to generate discussion of how we want this to work. It is now incredibly easy for us to vary the collision matrix in the BVH, so to some extent we need to decide on a specification, how we want the collision options to work going forward. This has been under-specified in the past.
Details
One of the advantages and reasons for the recent change to templated trees in the BVH is it gives us a more more customizable approach to collision, which opens up a lot more options.
Here there are 3 trees:

Dynamic
Areas
Statics

The changes make:

Dynamic collides with everything
Areas collide with everything
Statics collide with Dynamics and Areas

The trade off here is efficiency. By making the areas collide with everything, they are potentially colliding with a bunch of statics that they may not be interested in. I believe this can be solved already to some extent with the "monitoring" feature (which probably makes these areas dynamic) but this is reported to tank the performance where users have tried this.
Fixes #17238
Fixes #55965 (although could do with independently checking this)
Fixes @KoBeWi area / area collision bug (pers. comm.)
Alternative logic
An alternative logic we could choose (which would not fix the area - static collision, but would fix area - area collision) is as follows:

Dynamic collides with everything
Areas collide with areas and dynamics
Statics collide areas and dynamics

Note that the statics colliding with things should be essentially free, as statics (by definition) don't move once they have been setup. That is assuming that there is no cost in the physics if they aren't moving (which I can't verify). But if there was a cost we could just set them to collide test against nothing, which is currently the case.
Current situation
Just for reference, the current situation (written as though there are 3 trees, but there are actually 2 currently):

Dynamics collide with everything
Areas collide with nothing
Statics collide with nothing

Notes

This probably requires a bit of performance testing
An alternative is to have 2 trees, one for dynamics and areas, and one for statics. Having 3 trees gives the most options during testing though.
In addition if we use 2 trees as above, a different solution would be needed for the is_static that the physics uses. This in itself is a bit of a misnomer because afaik areas are currently considered "static", even if they are moving.
Once we are happy with an approach this can also be used in master, as the BVH code is shared.

This seems pretty comparable performance wise in a few simple tests so far, it may only make any difference in games with large numbers of moving areas. Specifically if you have a e.g. a 2D tilemap with large numbers of moving areas this could be most likely to be affected, e.g. bullet hell where the bullets are areas which do not normally collide against each other.
Please feel free to try the artifacts (green tick builds) and see if they fix your collision bugs / affect performance.
Otherwise I think this is probably worth trying out in one of the betas, if we get any adverse effects performance wise we can make adjustments as necessary. I think we will probably have to take the plunge in some way on this if we are to fix these longstanding area bugs - it may well be there are no appreciable negative effects.

Maybe @BimDav could weigh in or review, since he submitted https://github.com/godotengine/godot/pull/54997.

Closing this for now as we have merged #58557. We may revisit this after the beta, and we've properly assessed the area - static situation.

Re-opening as there seems to be some interest in changing this behaviour, and this PR contains at least the BVH side of this.


Nextflow version

Describe the Bug
Steps to Reproduce
Relevant Logs
Expected Behavior
Actual Behavior
Screenshots
Additional Context
Operating System:
AGC Version:
Was AGC setup with a custom bucket:
Was AGC setup with a custom VPC:

I'm running the most recent version of AGC v1.5.0.
When I tried to run the sarek example, this error popped up;
nextflow.exception.AbortOperationException: Nextflow version 21.04.3 does not match workflow required version: >=21.10.3
Check the nf-core page and newer sarek requires nextflow >=21.10.
How can I update the nextflow version in AGC?

We'll be addressing this in a future release. Code to update the version of Nextflow used is here: #450
For the time being you will need to use a version of the Sarek workflow that accepts Nextflow 21.04.3 using the -r flag in engineOptions.

Resolved in #450 and release 1.5.1


log-backup: fix uploading to gcs error

Signed-off-by: WangLe1321<EMAIL_ADDRESS>
What is changed and how it works?

Issue Number: Close #13106
What's Changed:
Modify est_len to real file size, so that the value of content-length in http header is equal to the size of http body when put object to gcs.

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Manual test (add detailed scripts or steps below)
test steps and test results is described in this document

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
support gcs storage in log backup

/run check-issue-triage-complete

/check-issue-triage-complete

/merge


[WIP] Entry type specific editor views

Still contains all commits from #1255. Needs to be rebased once that's merged.

Allow loading type entry type specific assets in editor head.

Make preview and outline Backbone view configurable.

REDMINE-17213

Coverage remained the same at ?% when pulling ae18d312ac6e2de5a2ed0d7a037c7788a6d3ac23 on tf:entry-type-edit into b897668333b575b11d6713311314c12a4a52fbaf on codevise:master.


Cannot find window.Prism object after loading css and script

Trying to load the css and js of Prism, I cannot find the Prism object (or window.Prism) to be able to run the Prism.highlightAll()
I load it from Gatsby dynamically by injecting the css first and the js after (local versions), and I can check that both are loaded in the Developer Tools from Chrome

The script is loaded with the manual label inserted

But no matter what, checking the window object, Prism is not there

I have also tried without the manual label, but nothing happens
What is going wrong here?

*Not related to prism but to importing files with gatsby-themes and static folders, closing the issue

I'm assuming you solved this?

I'm assuming you solved this?

Yes, completely, and totally unrelated to Prism, I'd have deleted the issue (if I knew how)


django-registry package is missing templates

It works on OSX but not on Centos.

Fixed thanks @davisc and @BerryDaniel.


Gallery build

Still deciding if i want to keep the images in mongoDB or just API call to FB album from AMC page


updated m,nf,nfin

Updated m,nf,nfin in examples/powertrain* to follow the convention as agreed upon during the virtual F2F:
nfin : Number of fins in an atomic transistor (equivalent to W in bulk technologies)
nf : Number of fingers that share diffusion
m : Number of instances of the transistor specified with nfin and nf

@stevenmburns , could you please approve?


4.1.3 bootstrap version supports IE 8?

Dear team,
Currently we are using bootstarp version 3.3.6 when in security scan we got an issue to upgrade required to version 4.1.3.
Please guide me on 4.1.3 bootstrap version supports IE 8?
If not then how do I fix it without upgrading to the latest version?
Thanks for your support.
Thanks,
Kondal

https://getbootstrap.com/docs/4.1/getting-started/browsers-devices/

in short no, Bootstrap 4.x supports IE10+ only. and i'm afraid we can't help/support 3.x anymore, particularly when it comes to fixing things so they also maintain compatibility with IE8.
my best suggestion would be to try and upgrade to 4.x on a test environment, and see if the way you're using it works acceptably in IE8. depending on which specific styles/features/widgets you're using, it may actually be ok.

Hi @tkr6743 you should update to Bootstrap v3.4.1 which contains security fixes: https://getbootstrap.com/docs/3.4/
https://blog.getbootstrap.com/2019/02/13/bootstrap-4-3-1-and-3-4-1/


numpy fails to build on newer CPUs (due to current openblas 0.2.14 dependency)

But we cannot upgrade to openblas 0.2.15 either, due to runtime issues (segfault?). Possible fix is to package the openblas 'develop' branch.
See discussions:
https://github.com/NixOS/nixpkgs/commit/73e9cb9748bdd5e3343972aafd094669d629ff3a#commitcomment-16220474
https://github.com/xianyi/OpenBLAS/issues/583#issuecomment-186578789
CC @FRidh.

Did you try with 2.15 yourself?
We could also go back to Atlast + Lapack. It would mean changing
https://github.com/NixOS/nixpkgs/blob/dc3a1bff576cd73ff7043c113d722842ec360f40/pkgs/development/python-modules/numpy.nix#L22
and the same line in scipy.nix. And of course
https://github.com/NixOS/nixpkgs/blob/dc3a1bff576cd73ff7043c113d722842ec360f40/pkgs/top-level/python-packages.nix#L12805

@FRidh: I just built numpy with openblas 0.2.15 and did python -c "import numpy. Nothing more. (numpy is just being pulled in as a dependency on my system, I don't really have any specific use for it at the moment.)
If upstream makes a new release in a week, I can wait for that.

Good. I think we do need to have a solution for the new stable.

They put out an RC: https://github.com/xianyi/OpenBLAS/releases/tag/v0.2.16.rc1

I'm now testing the RC.
@bjornfor , do you know whether nix.useChroot = true; would hide processor information?

I'm pretty sure it doesn't.

Evaluation with openblas 0.2.15: https://headcounter.org/hydra/eval/312337
Evaluation with openblas 0.2.16.rc1: https://headcounter.org/hydra/eval/312284
We get a segfault with scikitlearn when using 0.2.15, but not anymore with 0.2.16.rc1.
@bjornfor , could you try building the current PR?

That is, this one #13870

I've evaluated numpy/scipy/scikitlearn without issues using openblas 0.2.17. See https://github.com/NixOS/nixpkgs/pull/14267

Because we use openblas 0.2.17 now I am closing this.


write fully qualified urls into course sitemap

Pre-Flight checklist

[ ] Testing

[ ] Code is tested
[ ] Changes have been manually tested

What are the relevant tickets?
Completes one of the tasks in https://github.com/mitodl/ocw-hugo-themes/issues/673
What's this PR do?
This PR uses the newly added SITEMAP_DOMAIN env variable to construct fully qualified URLs in the course theme's sitemap.  This is being done to improve Google search results.
How should this be manually tested?

If you've never spun up a course locally before, read the readme to learn how to do so and make sure you have your .env configured with a course to run
Clone the branch of ocw-hugo-projects from this PR and make sure you point to it using COURSE_HUGO_CONFIG_PATH
Set SITEMAP_DOMAIN in your .env file to ocw.mit.edu, or anything you want to test with
Make a temporary edit to start_course.sh, setting the Hugo command at the end to:

hugo server \
  -p 3000 \
  --bind <IP_ADDRESS> \
  --config $COURSE_HUGO_CONFIG_PATH \
  --themesDir $THEMES_PATH \
  --baseUrl /courses/<your test course id> \
  --renderToDisk

Run npm run start:course (note that the course will not actually be accessible though the dev server)
Browse to the folder on disk where your course markdown is stored and look in the public folder at sitemap.xml.  Verify that the locations written within are fully qualified URLs that take into account the SITEMAP_DOMAIN we set along with the baseUrl setting that we set.

Only issue is failing lighthouse test


Fail to start pcfdev-v0.21.0+PCF1.8.2-linux

My apologies if this is the wrong place to ask for this sort of help; google searching shows similar questions in the past, so I hope I'm in the right place!
My machine is a Quad core AMD Phenom(tm) II X4 830 with 8Gb RAM running Debian Jessie and Virtualbox 5.1.  Not powerful by modern standard, but should be good enough :-)
I try to cf dev start and get
% cf dev start
Using existing image.
Allocating 3875 MB out of 7751 MB total system memory (5002 MB free).
Importing VM...
Starting VM...
Provisioning VM...
Waiting for services to start...
9 out of 53 running
9 out of 53 running
9 out of 53 running
9 out of 53 running
33 out of 53 running
53 out of 53 running
FAILED
Error: failed to provision VM: Process exited with: 1. Reason was:  ().

I have no proxy environment variables set.
The VM is clearly starting, but for some reason the provisioning fails.
Any ideas?

Addition; booting the VM single user and looking at the data in /var/pcfdev I see
+ cf start apps-manager
Starting app apps-manager in org system / space system as admin...
FAILED
Server error, status code: 500, error code: 170011, message: Stager error: Net::ReadTimeout

Hi @sweharris. Does this happen every time that you try to provision the VM? What happens when you run a cf dev destroy and then cf dev start again?

The Error: failed to provision VM: Process exited with: 1. Reason was:  ().  happens every time.
I've tried a stop/start; I've tried destroy/start.  I've destroyed the VM, deleted the OVA, made sure it was all unconfigured in virtualbox and restarted from scratch.  They all fail.   The only difference tends to be the "out of 53" lines (eg 8 out of 53, 37 out of 53), but I'm guessing that's just timing.

While booting into the VM, could you please run: df -h and print out the result?

I'm away from the console until this evening; is there a way I can ssh in from the host?

Yes, you can run ssh<EMAIL_ADDRESS>and then enter password which will be vcap.

So I did a destroy/start and looked at the system as it was building...
I see
[2016-10-25 14:43:40+0000] + main
[2016-10-25 14:43:40+0000] + install_buildpacks
[2016-10-25 14:43:40+0000] + pushd /var/vcap/packages/cloud_controller_ng/cloud_controller_ng
[2016-10-25 14:43:40+0000] + chpst -u vcap:vcap bundle exec rake buildpacks:install
+ for script in '/var/vcap/jobs/*/bin/post-start'
+ /var/vcap/jobs/rep/bin/post-start
[2016-10-25 14:44:21+0000] + [[ 0 -ne 0 ]]
[2016-10-25 14:44:21+0000] + popd
[2016-10-25 14:44:21+0000] + exit 0
Tue Oct 25 14:44:21 UTC 2016: Pinging rep...
Tue Oct 25 14:44:21 UTC 2016: Attempt 1 failed. Trying again...
Tue Oct 25 14:44:22 UTC 2016: Attempt 2 failed. Trying again...
Tue Oct 25 14:44:23 UTC 2016: Attempt 3 failed. Trying again...
Tue Oct 25 14:44:24 UTC 2016: Attempt 4 failed. Trying again...
...
Tue Oct 25 14:54:08 UTC 2016: Attempt 419 failed. Trying again...
Tue Oct 25 14:54:09 UTC 2016: Attempt 420 failed. Trying again...
Tue Oct 25 14:54:10 UTC 2016: Attempt 421 failed. Trying again...
Tue Oct 25 14:55:45 UTC 2016: Attempt 422 failed. Trying again...
Tue Oct 25 14:55:46 UTC 2016: Timed out pinging rep. Failing post-start.

so it looks like it failed in a different place, this time.
While that was happening
$ free -m
             total       used       free     shared    buffers     cached
Mem:          3733       3396        336          0         19       1075
-/+ buffers/cache:       2302       1430
Swap:         1174         54       1120

Plenty of disk space
$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            1.9G  4.0K  1.9G   1% /dev
tmpfs           374M  460K  373M   1% /run
/dev/sda1        57G   17G   38G  31% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
none            5.0M     0  5.0M   0% /run/lock
none            1.9G   32K  1.9G   1% /run/shm
none            100M     0  100M   0% /run/user
tmpfs           1.0M  212K  812K  21% /var/vcap/data/sys/run
cgroup          1.9G     0  1.9G   0% /tmp/garden-/cgroup

Huh.  And now I did a stop/start and it completed properly this time.  So out of 9 attempts it finally started and I'm able to cf login and select an org.
I don't know if there's a race condition or a timeout in the build script!  Very bizarre...

We do have a one hour timeout for provisioning but it does not seem like you are running into this, since the error message would clearer.
Are you perhaps running PCF Dev under nested virtualization? Though we try to accommodate slow provisioning, we usually attribute this kind of behavior to when slow I/O is present - such as what you might see when trying to running PCF Dev inside of another virtual machine.

Nope, no nested virtualization.  The disks are local SATA Segate ST1000's @3Gbps in a RAID-1 mirror.

I wonder if this could be an issue with Virtualbox and RAID. Seems unlikely, but this is very similar to #93.

Closing this due to inactivity and inability to reproduce. Please let us know if you're still experiencing this with the latest version of PCF Dev.

We received a report that errors like this can be due to poor I/O performance on some systems that can be fixed by reconfiguring the Virtualbox VM like so:
vboxmanage storagectl pcfdev-v0.447.0 --name SATA --hostiocache on

We'll investigate configuring the VM like this in the next release.

That definitely speeds up the startup process; for example starting the 53 services reduced from 310 seconds down to 261 seconds.  If everything else speeds up by 15% then that's good :-)


Make it explicit how to escape special characters in Text.Format function

Today I had to help a friend who couldn't figure it out because this feature hasn't been documented. There are only some examples of how to do it.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@StanislawSwierc : Thanks for your contribution to the Azure documentation! The author, @sharonlo101, has been notified to review your proposed change.

#sign-off


cannot push repo to github

Type: Bug
hello i am able to push to remote on vs code but it does not appear on github please help
VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:13:33.891Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
AMD Ryzen 5 5600H with Radeon Graphics          (12 x 3294)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
59.86GB (40.12GB free)

Process Argv
--crash-reporter-id 24ac87de-b2c6-4999-94b8-6cf0218eee10

Screen Reader
no

VM
0%

Extensions (20)

Extension
Author (truncated)
Version

gitlens
eam
15.0.1

codespaces
Git
1.16.22

copilot
Git
1.191.0

copilot-chat
Git
0.15.1

remotehub
Git
0.62.0

vscode-edge-devtools
ms-
2.1.5

debugpy
ms-
2024.6.0

python
ms-
2024.6.0

vscode-pylance
ms-
2024.5.1

jupyter
ms-
2024.4.0

jupyter-keymap
ms-
1.1.2

jupyter-renderers
ms-
1.0.17

vscode-jupyter-cell-tags
ms-
0.1.9

vscode-jupyter-slideshow
ms-
0.1.6

azure-repos
ms-
0.38.0

live-server
ms-
0.4.13

remote-repositories
ms-
0.40.0

pico-w-go
pau
3.7.6

intellicode-api-usage-examples
Vis
0.2.8

vscodeintellicode
Vis
1.3.1

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
tftest:31042121
vstes627:30244334
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
f8hc8238:30694864
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:31000449
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
showvideoc:31016891
dsvsc021:30996838
724cj586:31013169
fchga941:31046352
pythonprt:31039817
dwnewjupyter:31046869

hi can you please help there has been no response

/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


[WFLY-8737] Add Elytron SASL tests using JMS client

JIRA: https://issues.jboss.org/browse/WFLY-8737
Downstream JIRA: https://issues.jboss.org/browse/JBEAP-10814
This commit introduces ANONYMOUS and OTP SASL tests and it extends Elytron tooling in the AS TS.

Retest this please

Linux build hanging due to https://issues.jboss.org/browse/JBEAP-10990

Retest this please


"Submit code" button only appears after scrolling through the whole page

Oh very weird, thanks for reporting! Does it happen for every problem or just "Compound interest"?
Which browser are you using? Any addons that might disable Javascript like NoScript?

It happens for every problem. I am using Chrome 90.0.4430.72. I also tried disabling all extensions and it's the same.


[Bug] visualization title

Description

Distorted title in the visualization panel fixed
extra space on color theme dropdown options fixed

Bugs Resolved
Bug #1103

External PR raised
closing this


PROGRAM

🚀 Feature
(A clear and concise description of what the feature is.)
Have you read the Contributing Guidelines on Pull Requests?
YES
Motivation
Graph traversal BFS and DFS in python
Pitch
This program Graph traversal BFS and DFS implemented in python  to facilitate coders to code in python

/assign


Public API Documentation

Add documentation for public API

https://github.com/avito-tech/Konveyor/issues/2

@bagza please review new commit with discussed improvements


Use the Instance DownloadHandler

Used the Instance DownloadHandler if it was provided, otherwise use the shared one sets using the AgrumeServiceLocator. Currently it is not being used in the code.

👍


cyberpunk bars

Type of changes

[ ] Bug fix
[ ] New feature
[ ] Documentation / docstrings
[ ] Tests
[x ] Other

Looks cooler
Checklist

[ x] I've run the latest black with default args on new code.
[ ] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
[ ] I've added tests for new code.
[x ] I accept that @willmcgugan may be pedantic in the code review.

Description

Thanks but I like the red. Looks like a sunset.


4.x: Remove unnecessary fields from Http1ClientResponseImpl

Description
I've found some unnecessary fields in Http1ClientResponseImpl. It's not a public class and these fields can be removed without breaking compatibility.

Resolved conflicts after this commit.

@Verdent  could you please check this? The fact that we ignore the trailers if present may be a bug.

@Captain1653 Hi, please do not remove this field. It is absolutely correct it should be used in some way, but not removed. I will create an issue to investigate how it should be properly used and to add more per spec tests.

@Verdent Sure, no problem. Then I'll close my PR.


Provide working runtime conda environment for python 3.9

there is a requirement from Igor to run hdk in python 3.9 environment
please provide minimal conda runtime environment which is compatible for both hdk and python 3.9
for me even the following environment fails to resolve, this is a subset of ours
  - gxx_linux-64   12.*
  - gcc_linux-64   12.*
  - openjdk     17.*
  - python 3.9

(this is a part for Igor's benchmarking team)
Vadim reports that if we keep python 3.11, than other packages needed for benchmarking, e.g. ray
Please provide minimal benchmarking runtime environment compatible with HDK runtime environment

conda install -c conda-forge gxx_linux-64=12.* gcc_linux-64=12.* openjdk=17.* python=3.9 resolves for me with the latest conda. Could you clarify the problem?

I also tested our default conda env with python 3.9. For that I created a new environment with the default yaml and then installed python:
conda install -c conda-forge python=3.9

Then I built HDK with that environment, installed it, and ran import pyhdk with python. All looked good.

I was able to reproduce it by putting the very same packages into a .yml and running a create env -f test.yml:
conda.exceptions.UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package libstdcxx-ng conflicts for:
openjdk=17 -> libcups[version='>=2.3.3,<2.4.0a0'] -> libstdcxx-ng[version='>=9.3.0|>=9.4.0']
python==3.9 -> libffi[version='>=3.2.1,<3.3.0a0'] -> libstdcxx-ng[version='>=4.9|>=7.2.0']
openjdk=17 -> libstdcxx-ng[version='>=12']
gcc_linux-64=12 -> gcc_impl_linux-64=12.2.0 -> libstdcxx-ng[version='>=12.1.0|>=12.2.0']
python==3.9 -> libstdcxx-ng[version='>=7.3.0|>=7.5.0|>=9.3.0']

Package libzlib conflicts for:
python==3.9 -> sqlite[version='>=3.33.0,<4.0a0'] -> libzlib[version='1.2.11|1.2.11|1.2.11|1.2.12|1.2.12|1.2.12|1.2.12|1.2.12|1.2.13|>=1.2.11,<1.3.0a0|>=1.2.12,<1.3.0a0|>=1.2.13,<1.3.0a0',build='h36c2ea0_1013|h166bdaf_0|h166bdaf_1|h166bdaf_3|h166bdaf_4|h166bdaf_2|h166bdaf_1014|h36c2ea0_1012']
openjdk=17 -> libcups[version='>=2.3.3,<2.4.0a0'] -> libzlib[version='>=1.2.11,<1.3.0a0']
openjdk=17 -> libzlib[version='>=1.2.12,<1.3.0a0|>=1.2.13,<1.3.0a0']

Package gcc_linux-64 conflicts for:
gcc_linux-64=12
gxx_linux-64=12 -> gcc_linux-64[version='12.1.0|12.2.0',build='h4798a0e_11|h4798a0e_12|h3bb4806_10']

Package zlib conflicts for:
python==3.9 -> sqlite[version='>=3.33.0,<4.0a0'] -> zlib[version='>=1.2.12,<1.3.0a0|>=1.2.13,<1.3.0a0|>=1.2.13,<2.0a0']
python==3.9 -> zlib[version='>=1.2.11,<1.3.0a0']The following specifications were found to be incompatible with your system:

  - feature:/linux-64::__glibc==2.35=0
  - feature:|@/linux-64::__glibc==2.35=0
  - python==3.9 -> libgcc-ng[version='>=9.3.0'] -> __glibc[version='>=2.17']

Your installed version is: 2.35


Writing to Data Links

Pull Request Description

Closes #9292

Important Notes

Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests have been written where possible.
[ ] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

Converting to draft as some further work on copying files is needed


Meaning of "unirected"

Hi @farkhor ,
Is it correct that the -undirected flag has an effect only when -noDuplicateEdges was also used, in which case it prevents generating both x y and y x edges?
Thanks!

Hi @PJK,
No these two flags work independent of each other. -undirected constructs the specified graph only for the upper triangle of the adjacency matrix. -noDuplicateEdges disallows any probable repetition of one edge instance. For example, if -noDuplicateEdges is not enabled, an x y edge might appear multiple times in the output edge-list while with -noDuplicateEdges it is guaranteed that the instance (if appeared) is unique.
Cheers!

Ah, that makes sense. Thanks for clarifying!

To generate the lower triangle in an undirected graph, just run this command:
awk ' { t = $1; $1 = $2; $2 = t; print; } ' mygraph >> mygraph

This will break the sorting if you generated it as sorted, so sort again using:
sort -k1,1n -k2,2n <mygraph > mysortedgraph

Wish this was a parameter though


Fix #614 Add Selection dragging support to TextInputBase

Fixes issue #614
Notably this change moves text cursor index movement to mouse pressed, rather than mouse released (click). This is consistent with other text input fields such as VS, GitHub, and GW2's own chat, but requires that we also move setting the control's focus to global mouse pressed, from global mouse released.

This is looking pretty awesome!  I'm seeing some edge cases here that we'll want to be fixed, though.  I'm seeing the selection area persist after content is deleted if the text is selected right-to-left.  Selecting text left-to-right and then doing something to delete the text did not incur this issue.
You can see this behavior below:
https://gfycat.com/imaginarylividiberiannase

Good catch! The latest commit fixes that.
Did you find any other edge cases that need to be addressed?

Thanks!  I'll try again and check.  👍

Those issues appear to be resolved now and I haven't spotted any other issues in testing.  Thanks for the contribution!


Coloring isosurfaces and voxels in numpy array

Hey
i have been using vtkplotter and its really awesome how you can do so much with so little code. I have been using it visualize volumetric data of the mouse brain and i have some doubts. My input data is a list of brain structures with associated voxels. I create a volume object and then use isosurfaces to extract the mesh. Now i want to color the different structures whose voxels i know according to different colors in the isosurfaces as well (if i can get a mesh i can smooth it and make it look prettier)
Once i have this i have a list of gene expression values for the voxels. I want to then color the voxels with the intensity of the gene expression values. We can think of this as some list of values for each voxel in a structure and then i want the color to have a gradient that follows these provided values.
I havent been able to do the visualization of the voxel values according to gene expression values. I feel that if i change the labels according to the gene expression values then i can see the colors but i dont know if perceptually it will look good. Also it would be nice to figure out how to set the colors of the different voxels in isosurface.
Thanks once again for this amazing tool
    labels = list(label_dic.values())
    ts = [i for i in range(0, np.amax(labels), 5)]
    vol = Volume(rg, c=colors_)
    isos = vol.isosurface(threshold=ts)
    isos = isos.opacity(alpha = 0.3)

Uhmm.. the quetion sounds a bit complicated... Let me see if I understand it correctly:

You have a volume with multiple scalars associated to each voxel
You want to color the isosurface of one of the voxel scalars with the values that correspond to the position of such surface of another of the voxel scalars
(note that isosurface means by definition that all its points have the same value of a scalar)

If this is correct there is a possible solution using point probing and interpolation (dont worry I can work out an example for you if you need it)

it would be nice to figure out how to set the colors of the different voxels in isosurface.

You cannot! An isosurface is a 2D polygonal mesh it doesn't have voxels :)

I feel like i didnt explain it properly

I have a volume. That volume has multiple structures inside it. Each of these structures has a distinct label associated with it. So say volume is A. It has structures inside it a, b, c etc all voxels which belong to "a" are labelled i. all voxels which belong to "b" is labelled j and so on.

I want to color each of these structures differently(in the mesh and in the volume object in vtkplotter).

Also I have multiple variables that take different values in these voxels. I want to pass the value of these variables and color the voxels or the mesh i get from the voxels with a intensity value proportional to the value of the variable in these voxels. So say structure "a" has voxel i, j, k etc and variable x takes values xa, xb, xc in these voxels. I want to color the voxel i, j, k with the same color say k and the intensity of this color k is proportional to xa, xb, xc so that i can see the gradient or the hue of this variable x in these voxels. Also it will be nice to have a blending of colors so that i can visualize multiple variables at the same time in the volume.

It would be nice if i could transfer the coloring of the voxels in the volume object to the generated mesh although that is not a priority and simply having this volumetric colored view would be great as well

Hi Anurag, I see a couple of issues, probably in the terminology..
A Volume cannot have an "internal structure" unless you're calling "volume" a set of  elementary Volume objects.
Think of a Volume as sort of cubic grid of voxels (analogous to the pixels of a 2D image).
Infact your load_volume() function should be called load_surface() because it doesnt return the volume (it actually returns it as second argument but you dont use it)
I could not run your notebook because I miss imports:
from brainmap import AllenVolumetricData, ISHFetcher, AllenBrainReference
from mapper.ish_utils import  *
I think it would be easier if you attach some snapshot of the images you have as output .
You can also send one of these volumes as vti - you can save it with
vtkplotter.write(vol, 'filename.vti')
Also have a look at these examples to see if anything fits your purpose.
Cheers, M.

hey marco
so should i split my volume object into elementary volumes each containing only one structure and then display all the volumes together. Can an isosurface have interenal structure.
The imports are not needed. i provide the final data file you would get after usiing functions that use those imports so you dont need to run those imports but i think theres a way to do it ill try and let you know
thanks

so should i split my volume object into elementary volumes each containing only one structure and then display all the volumes together. Can an isosurface have interenal structure.

it all depends on what you mean by "internal structure".. and how these are positioned in space.
An isosurface is nothing but a polygonal mesh, made of vertices and faces. Both verts and faces can hold any number of vectorial or scalar properties.

The imports are not needed. i provide the final data file you would get after usiing functions that use those imports so you dont need to run those imports but i think theres a way to do it ill try and let you know

ok!

isos_list = [] vol_list = [] ts = [i for i in range(0, 100, 1)] for k, v in vol_dic.items():     vol_i = Volume(v, shape=(w,h,z), mode=0)     isos_i = vol_i.isosurface(threshold=ts)     isos_i = isos_i.opacity(alpha = 0.3)     isos_i = isos_i.smoothWSinc(niter=200, passBand=0.1, edgeAngle=15, featureAngle=100)     isos_list.append(isos_i)     vol_list.append(vol_i)
I split up my volume into multiple volumes each containing different structures and then i display them together.
I understand that the mesh has vertices and faces and so there is no question of displaying voxel properties in the mesh. So i will have to display the values of these variables in the volume object.
This is what i get as mesh and volume when i display all structures together. Now im trying to color the voxels in the volume according to the value of the variables in these voxels. I want to set the same color but with intensity varying according to the value of these variables. i think this will help
https://github.com/marcomusy/vtkplotter/issues/106

I have a volumetric array rg_tmp with unique labels 0 - background, 1 - soft background which i want to be visible and 50 the object of interest.
When i display this volume i get something like

which is what i expect. Then i try to color the individual voxels follwoing the example in the issues section
`
ind_0 = np.where(rg_tmp == 0)
ind_1 = np.where(rg_tmp == 1)
ind_50 = np.where(rg_tmp == 50)
vol = Volume(None, shape=rg_tmp.shape, mode=0)
vol.GetProperty().IndependentComponentsOff()
vol.GetProperty().SetInterpolationTypeToNearest()
img = vol.imagedata()
img.AllocateScalars(vtk.VTK_DOUBLE,4)
for x, y, z in zip(ind_50[0], ind_50[1], ind_50[2]):
img.SetScalarComponentFromDouble(x,y,z,0,255)
img.SetScalarComponentFromDouble(x,y,z,1,0)
img.SetScalarComponentFromDouble(x,y,z,2,0)
img.SetScalarComponentFromDouble(x,y,z,3,1.5)
for x, y, z in zip(ind_0[0], ind_0[1], ind_0[2]):
img.SetScalarComponentFromDouble(x,y,z,0,255)
img.SetScalarComponentFromDouble(x,y,z,1,255)
img.SetScalarComponentFromDouble(x,y,z,2,255)
img.SetScalarComponentFromDouble(x,y,z,3,0.0)
for x, y, z in zip(ind_1[0], ind_1[1], ind_1[2]):
img.SetScalarComponentFromDouble(x,y,z,0,150)
img.SetScalarComponentFromDouble(x,y,z,1,0)
img.SetScalarComponentFromDouble(x,y,z,2,0)
img.SetScalarComponentFromDouble(x,y,z,3,0.3)
#break

vol = vol._update(img)
show(vol)
`
and i get something like

when the output i want is the blue structure in previous picture to be colored red and the background (0 as invisible) and the soft background(1) an intermediate shade of red. Can you help me with what might be going wrong
Best
Anurag

Hi, I think I found a better solution that will not need you to split regions.
Do:
pip install -U git+https://github.com/marcomusy/vtkplotter.git
Then:
"""A Volume can have multiple
scalars associated to each voxel"""
from vtkplotter import *
import numpy as np
import pickle

with open('rg_tmp.pkl','rb') as f: arr = pickle.load(f)

vol = Volume(arr).printInfo()
nx, ny, nz = vol.dimensions()
r0,r1 = vol.scalarRange()
vol.addScalarBar3D(title='original voxel scalars')

# create a set of scalars and add it to the Volume
sc1 = np.linspace(r0,r1, num=nx*ny*nz)#.astype(np.uint8)
vol.addPointArray(sc1, "myscalars1")

# create another set of scalars and add it to the Volume
sc2 = np.random.randint(r0,r1, nx*ny*nz)
vol.addPointArray(sc2, "myscalars2")

# make input_scalars the active array (can set 0, to pick the first):
printc('Arrays in Volume are:\n', vol.getArrayNames(), invert=1)
vol.getPointArray('input_scalars')

# Build the isosurface of the active scalars,
# but use testscals1 to colorize this isosurface, and then smooth it
iso1 = vol.isosurface().pointColors('myscalars1').smoothWSinc().lw(0.1)
iso1.addScalarBar3D(title='myscalars1')

iso2 = vol.isosurface().pointColors('myscalars2', cmap='viridis')
iso2.addScalarBar3D(title='myscalars2')

show([(vol, __doc__),
      (iso1,"Colorize isosurface using\nmyscalars1"),
      (iso2,"Colorize isosurface using\nmyscalars2"),
     ], N=3, axes=1)

i get this error i add embedWindow("k3d") and run it in a jupyter notebook

show((vol, doc),(iso1,"Colorize isosurface using\nmyscalars1"))
doing it in this format helps also thanks for the passing doc part argument that changes the name of the volume object

sorry the doc doesnt do anything but the name works now


'Headers is not defined' error when executing Storyblok commands

Current behavior:
X An error ocurred to listing spaces: Headers is not defined when executing storyblok spaces or storyblok pull-components using the latest version (3.25.0).
Expected behavior:
No errors
Steps to reproduce:
Use storyblok-cli version 3.25.0 and execute storyblok spaces and storyblok pull-components
Observe the error

I'm with the same problem. I even installed isomorphic-fetch because of this but the error persists

Can confirm the same issue on my side. Downgrading to v3.24.2 worked.

Issue is related to the last version of storyblok-js-client which either requires native fetch support in node (node 18 or later) or a pollyfill.
I have created a bump in the required node version as a fix. We should consider adding tests for more node versions if we want to support this.

Can also confirm this issue, when trying to pull components through CLI. Running<EMAIL_ADDRESS>and<EMAIL_ADDRESS>
Downgrading to<EMAIL_ADDRESS>solved the issue

Last night I thought I finally upgrade to the latest version and now I have the same problem.
Had to downgrade to 3.24.2 this morning to be able to work.

Thank you so much for your fast response @ademarCardoso ! Liking Storyblok more and more 😁

This is still broken in 3.32.1


volunteers registration (view and form) updates

view updates:

after storing data in DB  show successful message
make sure ticket_type is public

form updates:

Make description field required.
Add help text for description: Please tell us something about yourself.

Once you are at it please also do this improovments:
In view, please get rid of the if request.method == "POST" line with form = VolunteerRegistrationForm(request.POST or None) this way we can get rid of one if statement so the code is easier to read (more if statement worse Cyclomatic complexity score results). See cfp_form_view as an example.
In template update the button to be nicer and uses Bootstrap styling. See egistration_form.html as an example.

There is an issue #125 that changes the directory structure to avoid conflicts, lets do the parent issue first.

Hi @ricco386, I would like to takea shot at this.

Hello @andela-ijubril sure go ahead. If you need more info or something is not clear just ask. Thanks

Hi @ricco386, I need more info on this issue. Thanks

PR #130 has been closed thanks @andela-ijubril


Not working with Python3

The get_dirty_fields function uses dict.iteritems() which has been removed in Python3. Can we find a fix for that?

A workaround for now is to replace for key, value in new_state.iteritems(): with for key, value in new_state.items(): in dirtyfields.py:31. Using this with Python2 creates a list of tuples, which can be memory expensive.

Thanks for raising, more than happy to look at a pull-request that would add support for py3.

There you go ;)
https://github.com/smn/django-dirtyfields/pull/30

For that kind of compatibility problem, it could be more interesting to use something like six, that is used for python 2/3 compatibility (https://pythonhosted.org/six/)

#30 has fixed this (and #31 has added py3 travis support)


can not get type of Theme

UnoCSS version
0.51.8
Describe the bug
The generic name "Theme" of defineConfig conflicts with the imported type "Theme", causing the inability to obtain the Theme type in uno.config.ts. Although it seems not to be a conflict in the source code, it becomes a conflict after being packaged.
As shown in the following picture:
defineConfig 的泛型名称Theme和导入的类型 Theme 重名了，导致uno.config.ts中无法获取到 Theme 类型。我看源代码好像不是重名的，但是打包后变为了重名？
如下图所示
Reproduction

System Info
No response
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Sounds like a bundler bug, workarounded by changing the generic name


mod: bump version of cert and queue packages

To fix external projects depending on lnd, we need to bump the queue
package to a new version for the changes to be picked up.

Sorry, I noticed the cert package has the same problem. Added another commit.


test again with Pardiso.jl

local tests failed due to wrong local mkl setting

Pardiso tests don't work on apple, it is just sufficient to have Pardiso in th environment. And may be if pardiso is updated with recent mkl it works. So wait for an update there.


Request: add issuemode.com to the filter

Evidence: https://issuemode.com/issues/sksamuel/avro4s/93033589
Original: https://github.com/sksamuel/avro4s/issues/723

Thanks a lot!


Using Noflo-ui libraries

Hello,
FBP seems nice, but I actually like the way you connect all the flo-nodes. I works great and it looks good. I was wondering if we could use then separate.
I would like to have nodes that are connected to ports of other nodes...just that. Some eventlisteners on the ports. Then I'd do some ajax calls and let magic happen. I'm not looking for a whole FBP solution that you guys are making.
Noflo as a javascript library to do just that, would be really amazing.

@xtrasmal NoFlo is just a JS library. Using Flowhub/NoFlo-UI is optional.
NoFlo ports are EventEmitters, which you can connect to. You can set up connections programatically if you want (or using the textual .FBP DSL) etc.
We often use the programmatic API in tests. Simple example: https://github.com/noflo/noflo-core/blob/master/spec/ReadEnv.coffee


Duplicate event

I'm having a duplication on my tested event in my React webpage, does anyone else experiencing this ?

yup I'm getting this same thing

same here

same here

So, mine worked copying the code from index.js. I don't know this will fix anybody who has this problems, but maybe work on index.js?

It's not working with React18, because:

Deprecations
react-dom: ReactDOM.render has been deprecated. Using it will warn and run your app in React 17 mode.

This module is only working with React16 and could work with 17 (I haven't checked that).
I do use React18 and tried to implement this module, but had the same issue with duplicates.
The already given solution from @sejun99 with the modification of index.js is at least not working for React18, because:

Deprecations
react-dom: ReactDOM.render has been deprecated. Using it will warn and run your app in React 17 mode.

I have this problem in Next.js too, but when I run a  production build it stops showing doubles 🤷


feat: move to using gatsbyjs

BREAKING CHANGE

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


external shared s3 client

Improve result retrieval performance. Benchmarks forthcoming.

When we execute the following simple task:
import pywren
import time
import cPickle as pickle
import boto3

def sleep_test(x):
    time.sleep(x)
    return x + 1

if __name__ == "__main__":

    N = 1024
    SLEEP_DUR = 100

    for use_ext_s3 in [True, False]:
        wrenexec = pywren.default_executor()
        futures = wrenexec.map(sleep_test, [SLEEP_DUR] * N)

        if use_ext_s3:
            s3_client = boto3.client('s3', 'us-west-2')
        else:
            s3_client = None

        pywren.wait(futures, s3_client=s3_client)

        results = [f.result() for f in futures]
        run_statuses = [f.run_status for f in futures]
        invoke_statuses = [f.invoke_status for f in futures]

        outdict = {'results' : results,
                   'run_statuses' : run_statuses,
                   'invoke_statuses' : invoke_statuses,
                   'N' : N,
                   'SLEEP_DUR' : SLEEP_DUR}
        pickle.dump(outdict, open("invocation.{}.{}.pickle".format(N, use_ext_s3), 'w'))

This is the behavior that is current in master, where we create new s3 clients inside each query:

and this is the behavior when we share them [use_ext_s3=True in the above code]:


wifi: network interface no longer reports NET_IF_UP

Describe the bug
I recently updated Zephyr from https://github.com/zephyrproject-rtos/zephyr/commit/40d224022608a3e5d68e95cc4d6f7606f1d48fb2 to https://github.com/zephyrproject-rtos/zephyr/commit/3ecb4916b58d04366b0c2acdb61de260abab2661. After doing so, the network interface stopped reporting that it was up (i.e. the NET_IF_UP flag never gets set). I was able to remove the net_if_is_up() check and attempting to connect to WiFi after doing so was successful.
The code path can be found here: https://github.com/golioth/golioth-firmware-sdk/blob/9ba878df3fd6040119da820cb73a5d864b32d526/examples/zephyr/common/net_connect.c#L67
I was able to demonstrate this on an nRF52840 board using an ESP32-C3 as the Wifi bridge (via the esp_at driver), as well as on the ESP32-C3 board directly. On the former, I added log lines to check if the flag was indeed not set:
        LOG_INF("Waiting for interface event: %s", iface->if_dev->dev->name);
        LOG_INF("Waiting for interface event: %s", net_if_is_up(iface) ? "true" : "false");

Logs:
[00:00:02.061,309] <inf> golioth_samples: Waiting for interface event: esp-wifi
[00:00:02.061,370] <inf> golioth_samples: Waiting for interface event: false

To Reproduce
Steps to reproduce the behavior:

Update west-zephyr.yml to use https://github.com/zephyrproject-rtos/zephyr/commit/3ecb4916b58d04366b0c2acdb61de260abab2661.
Follow instructions to build examples/zephyr/golioth_basics.
west flash and monitor logs.

Expected behavior
Previously, the interface reported that it was up and progress continued as it did after I removed the check with the newer Zephyr version.
Impact
This is a fairly significant blocker as we want to ensure that the network interface reports up prior to connecting, so removing the check is not a feasible workaround.
Environment (please complete the following information):

OS: Linux
Zephyr SDK v0.16.0
Commit: https://github.com/zephyrproject-rtos/zephyr/commit/3ecb4916b58d04366b0c2acdb61de260abab2661

This was fixed by https://github.com/golioth/golioth-firmware-sdk/pull/170 -- commit message provided below for anyone who runs into this in the future:
DORMANT state in case of WiFi means that interface is ready for WiFi mgmt
commands, such as "WiFi connect". This means that such interface will not
get into UP state automatically and it makes no sense to wait for that
event.

Above behavior was introduced some time ago in Zephyr upstream, however
none of the WiFi drivers were updated yet to follow this
behavior (remaining in DORMANT state before connecting to Access Point).
Since the first driver (ESP-AT) was converted in Zephyr mainline, add
support for such behavior.


Fix module name case

@vlad-ro : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

Thank you @vlad-ro
#sign-off


Option to change modes/conversation style.

Bing AI provides 3 modes: Creative, Balanced, Precise

All three are useful in their own regard so I was wondering if it is possible to implement the modes via slash command so you can change on the fly?

Thanks for providing the idea. Yeah, it makes sense implementing the conversation style but I couldn't have much time to do due to working on other projects. I'll most probably consider doing it soon but feel free to make a PR if it's not done soon.


feat: Include just scripts for changing & factory-resetting user-configuration of modules

Inspired from this:
https://github.com/blue-build/website/issues/27
This would make users more aware that they can change some module options & it would make that process more intuitive and easier.
F.e.

just default-flatpaks - lists possible configuration options with CLI selection
just default-flatpaks install-system - directly sends user to modify system install list
just default-flatpaks install-user - directly sends user to modify user install list
just default-flatpaks reset - resets user configuration to factory defaults

Tricky part of this is support for operating systems other then Universal Blue.
In that case, we can either install just package as a dependency if it doesn't exist, or
we can make a generic bash script intended for this usage only.
Another tricky part is usage of ujust in Universal Blue instead of just, which would make our commands less universal.
Universal Blue also includes their separate config made by @HikariKnight called ugum, which makes CLI selection & quick options possible. ugum is another Universal Blue exclusive, which would make this process a bit harder. Although, ugum is bash-compatible, so it's not the hardest part.

ugum is compatible with normal just as i wanted it to be self contained. ujust is just a script to make sure just always runs inside bash, since  it does not work in shells like fish

The main issue with this I see is compatibility, ince we aim to support multiple OS base images, but ublue is the only one with an unified system for default just commands and just pre-included. This would necessitate one of the following:

Only support just when basing on Universal Blue

Need to implement detection

Re-implement Universal Blue's just setup (or something compatible) for all supported images.
Figure out how to pull in conditionally and make use of Universal Blue's just system for all supported images.

Introducing just on all images might add bloat (bling✨) the user might not always want when using default-flatpaks or another module making use of this system. This would make it necessary to include an option for whether to use just in each module utilizing it, along with doing the just setup with each module required.
I'm not sure if all that is worth it for making just commands that are equivalent to doing rm -rf ... && cp -r ... or launching a pre-existing shell script.

I will close this issue for now, as It's concluded that this inclusion would be complex, with small gains, due to compatibility factor.
If something changes in the future, I can reopen this issue.


Weird styling issue in SegmentedControl on Android

I am observing a weird styling issue while using SegmentedControl on Android. In the below screenshot, observe that there is a very small part that is white.

When I inspect it in the Inspector, it looks like below. The small white part is not part of the view.

Below is the code to render the SegmentedControl
<SegmentedControls options={this.props.values}
    selectedIndex={this.props.selectedIndex}
    onSelection={this.props.onChange}
    enabled={this.props.enabled ? true : false}
    containerStyle={{flex: 1, height: 32}}
    tint= {'dimgrey'}
    selectedTint= {'white'}
    backTint= {'white'}
  />

If flex: 1 is removed and a fixed width is provided, then the issue goes away. Any ideas on how to fix the problem.
cc @GantMan

DISCLAIMER:  I suck at design.
Not sure we can do a fixed width there though.  Isn't the behavior of the segment to be a variable width to match the screen size?  Perhaps there's a nudge or negative padding we can add on the right side to get this to be flush.  I'm open to ideas.

I have never used negative padding or margins in css before but I guess you mean to just give a negative number instead of a positive number for the margin/padding value. I will give it a try and post the results.

negative numbers in padding/margins is something I do that makes REAL designers curse my name :)  But it gets stable results, for sure.

FYI I'm running into this same issue on iOS, so I don't think it's platform-dependent. I worked around it by adding marginRight: -1 to my optionContainerStyle, but it's weird that that's necessary.


Homepage UI Enhancement

Refine the user interface of the homepage to optimize user experience, incorporating improved design elements and navigation features for a more engaging and intuitive platform.

Hi, I would like to work on this issue can you assign it to me. Thank you

Yes a assign you this issue @GeorgeET15


More verbose errors

Hi,
Is there a way to get access to more verbose errors ?
I would love to use this plugin but for some reason my file can't be parsed, I'm getting the error:
The OpenAPI specification contained in %s is ill formed and cannot be parsed

I see that the Swagger Parser is quite old, maybe updating it would solve the issue.

Same here. I've not been able to parse an OpenAPI file with this extension for a very long time. Is this project still being maintained?

@lanmaster53 due to other commitment I do not have the time right now to maintain this project, any PR are appreciated and/or alternatively you could open a ticket at https://github.com/PortSwigger/openapi-parser so that the guys at PortSwigger implement the requested changes.