Trajectory Plot not matching the rendezvous

Hello,
I have been using this sofware to have a first insight on the optimal trajectory to rendevouz with an asteroid (3deg inclination) from Earth. In order to  better visualize the results I decided to add the orbit trajectory both bodies, in addition to the Spacecraft one provided by the optimizer, using the same PSK files provided to the solver. However, when doing so, I have seen that sometimes the final position of the transfer trajectory do not match the one of the target (so is not doing the rendevouz properly, i guess).
To make more clear my point here I add two images, in which all the input parameters are the same except for the v_inf escaping the Earth. Green is Earht, red is Mars, and yellow is the asteroid.
Using Vinf = 5 km/s (There is a clear mismatch)

Using Vinf = 3km/s (Still there is a missmatch but not so obvious)

The way these additional lines are plotted is by taking the state vector of the different bodies, given in the J2000 Ecliptical, and projecting them in them in the x-y plane, as the document that explain MOLTO suggest (and is a bit outdated). I have also tried to do the figure by setting the inclination of the asteroid orbit to 0, that is, 'de-tilting' the orbit, and therefore keeping the eccentricity and semimajor axis equal to the real orbit, but there is no improvement.
I would like to know if this is probably an error of the optimizer, or there is some internal manipulation of the orbit by the software that I am not aware of and should take into account when plotting.
Regards.
PD: I have another question about the outputs of the fitness_nsga2 funtion. Could you provide an explanation about what does each variable (and each of its columns if matrix) means? Im talking about the three of them (Obj, Cons, outdata) but specially about he columns of outdata.

@Ernest6 Any idea on how you were able to plot the Earth and Mars orbit?

@su101195 I have modified the part of the code in charge of doing the plots quite a bit since I did that drawing. However, I can give you some guidelines that I think should be enough to do that figure.
First of all go to the molto_it.m function and comment the line that closes the figure (line 309 - close (hh);). Then on a separate code load the state vectors of the different bodies you want to plot (remember to include those bodies when loading the kernels). To do so you can use the mice library and some of its functions:

cspice_str2et.m, for setting the time vector in J2000 format. You may need to do some guessing about the dates required.
cspice_spkezr.m, for extracting the state vectors w.r.t. a reference frame (choose ECLIPJ2000) and for some given instants of time (the ones you got from the other function).

Then you can plot the first two rows (x,y coordinates) of the obtained matrix for each of the bodies in the previous figure you didn't close (State vector is in km, and molto plot in AU).
et0 	     = cspice_str2et('2020 Jan 01');
etall	     = et0+[0:3600*24:((365.25*3600*24)*2)]; %2 years
[statearth, ~] = cspice_spkezr('3',etall,'ECLIPJ2000','NONE','0');
plot(statearth(1,:)/149597870.7,statearth(2,:)/149597870.7,'g','Linewidth',2)


micro optimizations

Scope & Purpose
Micro optimizations for sorting and subqueries

[x] Strictly new functionality (i.e. a new feature / new option, no need for porting)
[x] The behavior in this PR can be (and was) manually tested (support / qa / customers can test it)
[x] The behavior change can be verified via automatic tests

Testing & Verification
This change is already covered by existing tests, such as shell_server_aql.
http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/9532/

Removed the change in SortExecutor, as it is unclear whether it is actually beneficial.
Other change remains in this PR

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/9538/


Quick fix for path with spaces bug

Targeted fix for https://github.com/dotnet/aspnetcore/issues/23336
Getting a quick fix out to unblock working on DDRIT tests.
Will keep the original issue open to investigate if this doesn't break cross-plat

I have updated it with a better fix. We can't use local paths because uses different separators in different platforms which clashes with how we do things on the server (see FilePathNormalizer) and breaks a whole bunch of tests. So the fix was to decode AbsolutePath to make it more inline with what we do on the server.


Catch the NoClassDefFoundError if it's thrown

Summary
See #89. It looks like newer versions of the JRE throw a different exception for Class::forName. It used to be ClassNotFoundException but Java 11 appears to be throwing the same exception but wrapped in a NoClassDefFoundError.
Additional Details
n/a
Checklist
Testing
(Remove this checklist and replace it with "N/A - no code changes" if this PR does not modify source code)

[x] I have manually verified that my code changes do the right thing.
[x] I have run the tests and verified that my changes do not introduce any regressions.
[ ] I have written unit tests to verify that my code changes do the right thing and to protect my code against regressions

Documentation
(Remove this checklist and replace it with "N/A - no code changes" if this PR does not modify source code)

[x] I have updated the "Unreleased" section of CHANGELOG.md with a brief description of my changes.
[ ] I have updated code comments - both GroovyDoc/JavaDoc-style comments and inline comments - where appropriate.
[x] I have read CONTRIBUTING.md and have followed its guidance.

Any chance of a 2.1.6 release?

Please release 🥺


Add file fields to Reference_Image and Submission

Overview
Following the discussion for issue #69 here, we would like to track any reference images and shape files uploaded by a User when creating a Submission.  This should be done by uploading a file to an S3 bucket and storing the reference to it in the database. This issue is to add a field to the Reference_Image entity to track a reference image uploaded to S3 as well as a field for tracking a shapefile upload to Submission.

Reference implementation for S3 submission: https://azavea.slack.com/archives/C02N5S81A69/p1664478012094939

The reference image upload endpoint should take multiple images and support batch uploads.


Housekeeping: update Go dependencies, remove binary file

Fixes #231

Usually the indirect dependencies get updated as we update things like prometheus/common.


Custom gstreamer pipelines, VideoPlayer error handling

Addresses #9.
Additionally, auto-detects if pipeline contains sources that are live instead of relying on argument
Custom pipelines are specified as string instead of gst::Pipeline only because creating gst objects requires running gst::init() beforehand. This leads to possible runtime errors instead of compile time, but I feel like that's a reasonable compromise, feel free to disagree.
Also, I made error handling optional and left panicking as a fallback. I'm not sure how I feel about that, maybe it should be required.

I'm happy to merge this now, thank you for the PR!


44th change

- Summary

- Test plan

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

👷 Deploy Preview for chimerical-tulumba-3f47dd processing.

Name
Link

🔨 Latest commit
4869b7ae81589ca6e4a4a814a4ee0676c3d21dd0

🔍 Latest deploy log
https://app.netlify.com/sites/chimerical-tulumba-3f47dd/deploys/63efbd2b5485ba00083d716c


jhipster-dotnet on sonarCloud and Sample Repository on github

Overview of the issue
Create jhipster-dotnet on Sonarcloud And create a Repository for Sample on Github

Thanks, will try to do it after my day work

The repository for sample is already created, few days ago:
https://github.com/jhipster/jhipster-dotnet-sample

The project has been created at sonarcloud

And the SONAR_TOKEN has been added too:

@UgoWithoutH : now you need to work on the GitHub Actions to push the Sonar Analysis
Don't hesitate to ping me if I miss something

Thanks @pascalgrimaud can you also do this for the sample repository please ?

done too:


Add hax cfg when running cargo hax

This actually overrides all RUSTFLAGS ... So maybe we want to be a little more intelligent 🤔

Oh, I'm seeing that PR only now, I'm doing something very similar in some local branch :smile:

Closing in favour of #314


https://raw.githubusercontent.com/FifthTry/fpm/main/install-fpm.sh is not working

sh -c "$(curl -fsSL https://raw.githubusercontent.com/FifthTry/fpm/main/install-fpm.sh)"

The above command is not working for the new mac because it is moving downloaded fpm binary inside /usr/local/bin directory and there is no bin folder present inside /usr/local. Hence it fails.

And fpm.dev/nightly.sh.


Text not being rendered properly (cutoff)

🐛 Bug
Text rendered using react-native Text component

Text rendered using ui-kitten Text component

As you can see the text appears cutoff
I've tried re-installing all ui-kitten packages but it didn't fix it
Code for text component:
<Text style={styles.text}>kitten</Text>
Code for style:
... {fontSize:48, alignSelf:'center'} ...
Bug or error on my side? Thanks for the help!

@potateprogrammer because by default Text is also styled with lineHeight, which is less than 48. Try updating style with lineHeight or using category prop (that combines fontSize, fontWeight and lineHeight. Examples are here


how to disable the textarea.?

i need to disable all the text input area....   how can i do that.?

Duplicate of https://github.com/Leecason/element-tiptap/issues/420


cannot compress , ERROR

Anyone have ideas about this ? I am not node literate, just trying to compress my install.
\node_modules\uglify-js\
events.js:183
      throw er; // Unhandled 'error' event
      ^

Error: spawn C:\Users\USER\AppData\Roaming\npm\node_modules\uglify-js\ ENOENT
    at _errnoException (util.js:1024:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:190:19)
    at onErrorNT (internal/child_process.js:372:16)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
    at Function.Module.runMain (module.js:678:11)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3

Doesn't ring a bell. I'd say a crash in uglify-js is best reported to that project.


Items are not visible

I have added a Picker in layout as
<com.wefika.horizontalpicker.HorizontalPicker
android:id="@+id/child_age_picker"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:ellipsize="none"
android:marqueeRepeatLimit="-1"
android:padding="8dp"
android:textColor="@color/age_picker_text_color"
android:textSize="14sp"
app:dividerSize="8dp"
app:sideItems="3"
app:values="@array/child_ages" />
Picker is just drawn as blank while the items are in background scrolls  and event are also coming for selected items, but items are not visible
Please tell me the possible reasons for this issue.

What version are you using?
Is it inside of ScrollView or something similar?

I am  using below details:
Picker Version
compile 'com.wefika:horizontal-picker:1.1.1'
Android SDK Versions
multiDexEnabled true
minSdkVersion 14
targetSdkVersion 23
View is not directly under scrollview but there is a scrollview in parent hierarchy. I have tested it without scrollview but still it is not showing

I am able to identify the issue. hardwareAccelerated was set as false in Manisfest file.
android:hardwareAccelerated="false"_
Thanks


Fix name of tap argument

Tap specified in --tap= was ignored due to typo.

Oops, good catch, thanks @scpeters!

one of the joys of dynamic languages :sweat_smile:


Memory Leak when downloading files

Environment details

OS: Ubuntu 22.04.1 LTS
Node.js version: v18.12.1
npm version: 8,19.2
@google-cloud/storage version: 6.8.0

Hi all, I believe I have found a memory leak when downloading files.
Steps to reproduce

Create a new node project
Install @google-cloud/storage
Replace USER_BUCKET and USER_FILE in the below code
Run the below code using the "--expose-gc" flag. ie "node --expose-gc  index.js"

"use strict";
//orginal code from https://github.com/googleapis/nodejs-storage/issues/685

const { Storage } = require("@google-cloud/storage");
const { setTimeout } = require("timers/promises");

const BASE_MEMORY = process.memoryUsage();

const USER_BUCKET = "";
const USER_FILE = "";

const storage = new Storage();
const bucket = storage.bucket(USER_BUCKET);
const file = bucket.file(USER_FILE);

async function testDownload() {
  await file.download();
  await setTimeout(30000);

  console.log("*****************Exiting*****************");
  process.exit();
}

function logMemoryUsage() {
  let curr = process.memoryUsage();

  let dif = {
    rss: Math.round((curr.rss - BASE_MEMORY.rss) / 1000000),
    heapTotal: Math.round((curr.heapTotal - BASE_MEMORY.heapTotal) / 1000000),
    heapUsed: Math.round((curr.heapUsed - BASE_MEMORY.heapUsed) / 1000000),
    external: Math.round((curr.external - BASE_MEMORY.external) / 1000000),
    arrayBuffers: Math.round(
      (curr.arrayBuffers - BASE_MEMORY.arrayBuffers) / 1000000
    ),
  };

  console.log("Memory usage:", dif);
}

setInterval(logMemoryUsage, 1000);

testDownload();

This code downloads a file form GCP while printing out the memory usage compared to when the program started.
Personally I have been downloading rather large files >1gb and this is how I understand things to be working:

As the file downloads, the memory usage increases.
Once the file has finished downloading it is copied into a buffer which causes a large spike in the memory.
Once garbage collection runs all fields being printed but RSS return to normal.
RSS doesn't seem to ever return to the value before the file was downloaded.

This is a screenshot from the ubuntu System Monitor showing the memory usage as the program is being run.

Hi @Max-Tait thank you for opening an issue. I just want to clarify a few things. From your example code it looks like you are downloading the file to memory. I would expect your points 1 & 2 to be accurate in that situation. Is this issue you are seeing related to 4? I.E. you are expecting memory to return to baseline and this is where you believe there is a leak?

Hi @ddelgrosso1, yes that correct.

Thanks @Max-Tait. I will do some investigation and see if I can recreate. If you have any other logs / documentation from your testing that would also be helpful.

I wanted to circle back on this. After doing some more testing and reading I'm seeing a similar behavior with regards to RSS when reading and writing a file locally using Node fs.createReadStream / fs.createWriteStream.  However, for both tests I ran, heap utilization went up and down in a pattern that would indicate space was being reclaimed.
My understanding of RSS is that it would not automatically drop unless there was demand from other processes running on the system. Are you experiencing any out of memory issues or other problems?

I did some additional tests this morning to try and validate what I said in my previous comment. During this test I downloaded a 1.7GB file 5x utilizing createReadStream which is the underlying call download utilizes.
const s = new Storage({projectId: 'my-project'});
const b = s.bucket('my-bucket');
const f = b.file('my-large-file');

function testCreateReadStream() {
  for(let i = 0; i < 5; i++) {
    f.createReadStream()
    .pipe(fs.createWriteStream('output.txt'));
  }
}

testCreateReadStream();
setInterval(() => {
  console.log(process.memoryUsage()['rss']);
}, 10000)

Once I saw that RSS had flat lined I fired up a second program that simply kept allocating memory. As more and more memory was allocated by this second program the RSS of the above began to drop. This drop became even more pronounced once the OS began to run low on available memory. The image below is a capture of my test program using clinic.

I think the memory behavior you saw is not the result of anything the storage library is doing but rather how the underlying OS handles allocating / deallocating memory.

Going to close this out. In addition to the comments I made above with regards to RSS we recently reworked the internals of createReadStream to clean it up a bit.


Objects should not pass the type check for arrays

It seems that the type coercion for request parameters is converting an Object into an Array[Object] instead of failing the type check.
Originally reported here: https://github.com/apigee-127/swagger-tools/issues/438

This is not an issue here as the conversion logic from swagger-tools was not used for sway.  There is no implicit wrapping of non-array values in an array.


NOISSUE: Fix typo in JUnit4 to JUnit5 recipe

What's changed?
Small fix in the typo in the maven part of the recipe https://docs.openrewrite.org/running-recipes/popular-recipe-guides/migrate-from-junit-4-to-junit-5
The build closing tag does not have the correct format & is missing the /

What's your motivation?
I am using this recipe for migrating a bunch of modules & copying the recipe from the clipboard & pasting it the pom.xml leads to syntax error.

Thanks @varunu28 ! Very kind to immediately fix this. :) Must help folks that copy and paste this snippet.


Added navbar

Resolves #32

Looking good. Is there any chance you can move the toggle switch a bit down so it can be on the same line with the letters?

@kpham841 it looks like the navbar and saved locations are placeholders with no functionality implemented yet. I will merge this PR but feel free to create the issue for the functionality if we don't have them created already.


Litematica Printer prints blocks that aren't visible

I think it should only place blocks that are visible overlay mode, e.g. if I do single layer, it should only place blocks in that layer

Duplicate of #13


Reloading iOS/tvOS app causes exception when removing TextTrack event listeners

First of all, thank you so much for this library, we (the community) really appreciate all the hard work put into this and the dedication of THEOPlayer to support the react-native platform ❤  ❤
To reproduce:

Launch the iOS or tvOS example app
Press Ctrl+R to reload the app
Exception occurs in native code when calling player.textTracks.removeEventListener

Investigated:

Out-commenting the whole content of dettachTextTrackListListeners prevents the exception from happening

Fix merged on develop.


dart:jni

On Android, Flutter runs the DartVM in a process that also contains a JavaVM.  It would be useful to be able to communicate between the DartVM and the JavaVM.
One approach is to introduce a built-in dart:jni library that exposed JNI to Dart.  We could build this library on top of the DartVM C API, but I imagine it would be more efficient to build the library inside the VM.
Most developers wouldn't use dart:jni directly.  Instead, they'd use auto-generate Dart code that reflected the Java APIs that they wanted to access.  For that reason, dart:jni should be optimized for performance over programmability.

JNI enables programmers to write native methods to handle situations when an application cannot be written entirely in the Java programming language.
The Java Native Interface (JNI) is a programming framework that enables Java code running in a Java Virtual Machine to call and be called by native applications.
This does not means that JNI enables the Dart code to call directly the Java code executed in JVM because Dart code is not a native application (Dart is a scripting language).
P.S.
And I agree that this should work "Dart -> C++ -> JNI -> Java" but this requires first to call C++ code from the Dart script which is not the same as "Dart -> JNI -> Java"

JNI enables programmers to write native methods to handle situations when an application cannot be written entirely in the Java programming language.
The Java Native Interface (JNI) is a programming framework that enables Java code running in a Java Virtual Machine to call and be called by native applications.
This does not means that JNI enables the Dart code to call directly the Java code executed in JVM because Dart code is not a native application (Dart is a scripting language).
P.S.
And I agree that this should work "Dart -> C++ -> JNI -> Java" but this requires first to call C++ code from the Dart script which is not the same as "Dart -> JNI -> Java"

This sounds like a feature that Flutter could implement, but not something that makes sense in Dart in general. I recommend filing this feature request against Flutter directly.

Yes, we could certainly implement this feature using the DartVM C API.  However, I suspect there might be performance advantages to implementing this feature inside the C API.

Yes, we could certainly implement this feature using the DartVM C API.

It would be very interesting to look at the implementation.

https://github.com/flutter/engine/tree/master/sky/engine/bindings/jni is much of the code.  @jason-simmons is the author.

Since flutter added and then removed this I don't think we need to continue to consider it for the Dart SDK.
https://github.com/flutter/flutter/issues/4728


Prerender OpenGraph tags

Describe the feature
After asking around all over the place on Discord and looking through Nuxt v3 and Nitro docs I cannot find any mentions to an effective way to make nuxi generate prerender <head> tags to get a working OpenGraph configuration.
I'm highly surprised that no one is bringing this up, it feels like we're the only ones trying to deploy fully-static / jamstack style SPAs.
In Nuxt v2 there was at least an index.html template you could use to manually insert such tags but that's gone in v3.
Can you please either consider implementing such a basic and useful feature or at least document a solid workaround on how to handle this?
Things I tried:

Upgraded to Nuxt v3.7 and enabled headNext.
Used useHead(), useServerSeoMeta() and useSeoMeta() all of them producing identical results (i.e. no prerendered meta tags).

Additional information

[X] Would you be willing to help implement this feature?
[ ] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

This should work out of the box. Have you, perchance, disabled generation of your Vue site on the server with ssr: false?

ssr should always be enabled, particularly if you care about SEO.

@danielroe that clarifies a lot, I can confirm that works, thanks so much for the assistance, it's much appreciated.


README: Add react-native link as default installation

README.md should recommend using react-native link as default installation instruction.

This was udpated 👍


function ordering + solhint for 0.8

Description
Solhint updated + added support for contracts 0.8
Functions ordered correctly

Adding link to docs on solhint ordering https://github.com/protofire/solhint/blob/master/docs/rules/order/ordering.md


EUPL1.2

Is your feature request related to a problem? Please describe the problem you're trying to solve.
My license does not get detected as EUPL 1.2:
https://github.com/robstoll/atrium/blob/master/LICENSE.txt
Describe the solution you'd like
Improve your algorithm so that EUPL 1.2 get's detected as well.
But maybe the problem is on my part and I should format the license file differently? If so, then please let me know how I should format it. Thanks :slightly_smiling_face:

This text at the top of your license file is nonstandard for EUPL-1.2 and is probably causing it to not be detected:

Atrium © Copyright Robert Stoll<EMAIL_ADDRESS>2017, 2018
Licensed under:

I don't think that's the reason, e.g. https://github.com/nodemailer/mailparser/blob/master/LICENSE is detected as EUPL 1.1. even though there is a copyright at the beginning

But you are right, it is detected if I remove the copyright. I'll have to look where I need to place it then


upstream: Allow users of HttpPoolData to access the underlying pool.

A recent change (#16544) moved the Http::ConnectionPool::Instance* returned from ThreadLocalCluster::httpConnPool() behind a new class HttpPoolData which no longer exposes the pool instance.
Nighthawk depends on the pool when terminating a benchmark here.
This PR proposes a HttpPoolData::pool() method which exposes the pool to Nighthawk in order to retain the original functionality. Happy to discuss alternatives if this isn't acceptable. Note - this breakage in Nighthawk will prevent an Envoy import into Google until / unless we find a workaround.
Risk Level: low, existing functionality isn't affected.
Testing: n/a, only accessor method added.
Docs Changes: n/a.
Release Notes: n/a.
Signed-off-by: Jakub Sobon<EMAIL_ADDRESS>

@alyssawilk as fyi and to propose alternatives if needed.

/retest

Ooh sorry about that breakage.  I wonder if we should have an at least advisory nighthawk build in Envoy CI?
Anyway, addressing today's problem, the goal here was to remove pool access because then folks can create streams directly, so adding an accessor would undo that.    How about adding a wrapper function for adding a callback which nighthawk can call?

@alyssawilk thank you for responding and don't worry about the breakage. As you pointed out, you really had no way of knowing.
Turns out @yanavlasov was also working on this problem and came up with a solution via a pre-existing friend class that is purely local to Nighthawk (so for now preferred):
https://github.com/envoyproxy/nighthawk/blob/3d8e9a91e4740b3635c67a617d93c94eeaf1e67b/source/client/benchmark_client_impl.h#L28-L41
My plan is to close this PR and discuss with @yanavlasov as to how we want to take this forward.
I am really glad that you mentioned an advisory Nighthawk build in the Envoy CI. That is something we would very much like. Do we need to start a wider discussion before we send a PR adding one?

glad you're sorted via the other PR. :-)
For CI, I'd say if nighthawk breaks once a quarter it may not justify the CI cost.  If it's more regular you could open an issue just to get other opinions (see if anyone objects really) and then do something like we do for Envoy filter examples, where we have that build as part of Envoy CI.


CollectionView.reveal() does not trigger firstVisibleIndexChanged

Problem description
The firstVisibleIndexChanged event does not appear to be triggered by a CollectionView when the index changes by a call to the reveal() method.
Expected behavior
I would expect the firstVisibleIndexChanged event to be triggered ANY time the index changes but it only seems to fire due to direct interaction by the user.
Environment

Tabris.js version: 2.2.0
Device: Samsung Note 8
OS: Android 7.1.1

Can you provide a snippet that reproduces the problem?

By having it not fire on programmatic changes you have more control over when to perform your work. Usually you would trigger data fetching on those events but when triggered programmatically you might not want that. If so you could do it right after the reveal() call.

That seems reasonable. I am using the CollectionView with a columCount of 7 to create a type of infinite scrolling calendar widget and scrolling the view needs to trigger changes in multiple cells and an external TextView depending on what "week" is at the top.
This works fine when scrolling manually but there are external triggers which should cause the calendar to scroll to a specific day and the firstVisibleIndex not firing was an issue.
It just occurred to me, while typing this, that I could just manually trigger the event right after the call to reveal(). That is probably what you are referring to in your answer.
Thanks for your time.


Java 21

Convert to Java 21 baseline
Fixes #376

Looks like this PR is ready to go? What's missing?

We were holding off on making the switch to java 21 as a baseline. We did this PR shortly after java 21 came out, so it was thought it may be better to wait a bit.
That being said, I'm totally open to revisiting it. This PR would need some updates since main has diverged a bit from this PR branch. But it's close.

@gastaldi I'm thinking that I will revisit this after RHBQ 3.15 ships. That way we have an rhbq-3.15 LTS branch with a Java 17 baseline and future versions can baseline on Java 21.
@cescoffier / @geoand  what do you think?

@gastaldi I'm thinking that I will revisit this after RHBQ 3.15 ships. That way we have an rhbq-3.15 LTS branch with a Java 17 baseline and future versions can baseline on Java 21.

Actually now that we have a 3.15.Final branch with a Java 17 baseline I think I will move main to Java 21. When RHBQ 3.15 comes out it will be branched from the 3.15.Final branch.

Since main has diverged so much since this PR was originally drafted, I'm going to close this in favor of #1234


Add Properties Wrapper and Type-Size Property.

More refactoring of Node Properties.

Put all typed-properties inside a Properties wrapper.
Add Size -- Fixes #86
Add support for root-level properties
Add sensible defaults to the Node object.
@Kashomon

(Depends on #165)

I'd like to rework this a bit =)


/tello/image_raw/compressed not publishing anything

Hello,
I am having issues where the /tello/image_raw/compressed topic isn't publishing anything. I see some camera raw packets being sent under the /tello/image_raw/h264 topic though, so are there any parameters to check within the launch file to modify? I'm using ROS Melodic and the latest version of tello_driver and the Tello Drone firmware.

Hey,
I am running tello_driver on Ubuntu 16.04 and ROS Kinetic, and also seeing similar behavior. Did you solve this, or @appie-17  do you have some suggestions?

I'm seeing the same thing, and on ROS Melodic like the OP. I'm not seeing anything on any image topic, in fact. I tried using another Tello ROS driver (flock tello) which gives me imagery but no IMU. I would prefer to use this package rather than flock because this one publishes more topics by default. Did either of you figure out how to get imagery?

@erinline I ended up getting video to work with tello_driver on ROS Kinetic and Ubuntu 16.04. I also started adding some autonomy alongside installation steps here: https://github.com/yoraish/botello

@yoraish thanks for the heads up! I'll try using your repo instead, since I was trying to add localization to Tello anyways :smile:


Memory leak: cancel-events event listeners are never deregistered

For every call to animateTopScroll
a new set of event handlers on document are created.
https://github.com/fisshy/react-scroll/blob/886a792b10e4c72731c3652c5922583e165b4798/modules/mixins/animate-scroll.js#L150
https://github.com/fisshy/react-scroll/blob/886a792b10e4c72731c3652c5922583e165b4798/modules/mixins/cancel-events.js#L5
We never deregister those event handlers when we are finished with the scroll.

Good catch, looking into it.

Event's should get removed in latest commit.
https://github.com/fisshy/react-scroll/commit/eda9f2b9dac503b6741fcbf0619a12c5f74517c1
Not published yet.

Nice, tested manually and works for me :)

fixed by #271


dashboard/app: send machine information to dashboard

Change syz-manager so that it will send machine info the first time a crash occurs.
Add a field in entities.Crash to store machine info.
Add a field in dashapi.BugReport to store machine info.
Change the HTML template and struct uiCrash to display machine info.
This commit does not belong to any branch on this repository.

In previous conversation, @melver mentioned a way to deduplicate (https://github.com/google/syzkaller/issues/466#issuecomment-665748228). Do we still want to implement that? If so, I think I will need to store the hash value as key somewhere in the database? What is the best way to do this?

In previous conversation, @melver mentioned a way to deduplicate (#466 (comment)). Do we still want to implement that? If so, I think I will need to store the hash value as keys somewheres in the database? What is the best way to do this?

There is already a facility for deduplication of this type of data via
the "text" entities. It is used for kernel configs in particular.
But this will require sending the machine info with every crash to the
dashboard. Avoiding even sending the info to dashboard with every
crash (which most likely will be the same) will require some thought
and some design, so I would not do it in the first revision. Perhaps
sending this info with every crash is not that bad.


Feature request: Windows 11 24H2 support

Description of the feature, modification, idea or suggestion

download url:
https://www.microsoft.com/en-us/evalcenter/evaluate-windows-11-iot-enterprise-ltsc
Proposed implementation details (optional)
No response

Duplicate: https://github.com/winsiderss/systeminformer/issues/1823
Switch to the Canary build for the latest kernel support: Help > Check for updates > Canary > Check


ContentType.FormData no longer sets the correct boundary

This PR: https://github.com/acacode/swagger-typescript-api/pull/168/commits/29d89ec74bfc1598c3b05a624efdd9f109051eb4
breaks the boundary setting for FormData.
Right now the header will look like this: Content-Type: multipart/form-data instead of something like Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryUAzmDsnaGSk1qaI3

Hello @Styn !
Thanks for this issue, can you fix that problem and create PR ?

Or if not, don't worry I'll fix that but I need a bit more time

I'll have a PR up soon

@Styn fixed in 5.1.5, thank you!


Issue: I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain.

Issue you'd like to raise.
I'm currently working on a project where I need to fetch all the sub-URLs from a website using Langchain.
How can we achieve this, below is my code
`from langchain.tools.playwright import ExtractHyperlinksTool, NavigateTool
Initialize the tools
navigate_tool = NavigateTool()
extract_hyperlinks_tool = ExtractHyperlinksTool()
Navigate to the website
navigate_tool.navigate("https://www.example.com")
Extract all hyperlinks
hyperlinks = extract_hyperlinks_tool.extract()
Print all hyperlinks
for link in hyperlinks:
print(link)`
I am getting below mentioned error
File "/home/hs/env/lib/python3.8/site-packages/langchain_core/load/serializable.py", line 97, in init
super().init(**kwargs)
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 1 validation error for NavigateTool
root
Either async_browser or sync_browser must be specified. (type=value_error)
Suggestion:
No response

🤖
Hello @deepak-habilelabs! Good to see you again. I hope your project is coming along well. Let's see what we can do about this issue.
From the error message you provided, it seems like either async_browser or sync_browser must be specified when initializing the NavigateTool and ExtractHyperlinksTool classes. These are likely the browser instances that the tools use to navigate to the URL and extract the hyperlinks.
Here's how you can modify your code to specify a synchronous browser:
from langchain.tools.playwright import ExtractHyperlinksTool, NavigateTool
from playwright.sync_api import sync_playwright

# Initialize Playwright
with sync_playwright() as p:
    browser = p.chromium.launch()

    # Initialize the tools with the browser
    navigate_tool = NavigateTool(sync_browser=browser)
    extract_hyperlinks_tool = ExtractHyperlinksTool(sync_browser=browser)

    # Navigate to the website
    navigate_tool.navigate("https://www.example.com")

    # Extract all hyperlinks
    hyperlinks = extract_hyperlinks_tool.extract()

    # Print all hyperlinks
    for link in hyperlinks:
        print(link)

    # Close the browser
    browser.close()

In this code, we first initialize Playwright and launch a Chromium browser. We then pass this browser instance to the NavigateTool and ExtractHyperlinksTool when we initialize them. Finally, we close the browser after we're done with it.
Please try this modification and let me know if it resolves your issue. If you're still encountering problems, please provide more details about your environment (Python version, LangChain version, etc.) and I'll be glad to assist you further.
For more information about the NavigateTool and ExtractHyperlinksTool classes, you can refer to the LangChain codebase:

NavigateTool class
ExtractHyperlinksTool class

I hope this helps! If you have any other questions, feel free to ask.
Best regards, Dosu
Sources

libs/langchain/langchain/tools/playwright/navigate.py
libs/langchain/langchain/tools/playwright/extract_hyperlinks.py

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.

AttributeError: 'NavigateTool' object has no attribute 'navigate'

_arun
below is my code
with sync_playwright() as p:
browser = p.chromium.launch()
navigate_tool = NavigateTool(sync_browser=browser)
extract_hyperlinks_tool = ExtractHyperlinksTool(sync_browser=browser)
for url in urls:
print(url,"url is ----------------------")
navigate_tool._arun(url)
print(navigate_tool._arun(url))
hyperlinks = extract_hyperlinks_tool._arun()
for link in hyperlinks:
print(link,"link is ------------------------------------------")

and i am getting these error
<coroutine object NavigateTool._arun at 0x7f0ab738f0c0>
/home/hs/CustomBot/accounts/common_langcain_qa.py:122: RuntimeWarning: coroutine 'NavigateTool._arun' was never awaited
print(navigate_tool._arun(url))
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Internal Server Error: /create-project/
Traceback (most recent call last):
File "/home/hs/env/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/home/hs/env/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/hs/env/lib/python3.8/site-packages/django/views/generic/base.py", line 69, in view
return self.dispatch(request, *args, **kwargs)
File "/home/hs/env/lib/python3.8/site-packages/django/views/generic/base.py", line 101, in dispatch
return handler(request, *args, **kwargs)
File "/home/hs/CustomBot/user_projects/views.py", line 1776, in post
file_crawl_status, file_index_status = generate_embeddings(
File "/home/hs/CustomBot/accounts/common_langcain_qa.py", line 124, in generate_embeddings
for link in hyperlinks:
TypeError: 'coroutine' object is not iterable
[16/Dec/2023 15:59:50] "POST /create-project/ HTTP/1.1" 500 89444
/usr/lib/python3.8/pathlib.py:755: RuntimeWarning: coroutine 'ExtractHyperlinksTool._arun' was never awaited
return self._cached_cparts
RuntimeWarning: Enable tracemalloc to get the object allocation traceback


chore: add levitate to detect breaking changes

Levitate detects if the Grafana APIs your plugin is using are compatible with a certain version of Grafana.
Followed the steps to add this: https://github.com/grafana/grafana-plugin-examples/#api-compatibility

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

closing this in favour for future work to add this to our workflow as a comment rather than check which blocks the pipeline


event payload

It seems that makecode currently assume a int payload to events but the spec says anything goes...

Need to update codegen to support argument in events.


After renaming a variant, wrong task name

How to reproduce

Create a variant study
Rename the variant
Launch the study
The task associated to this launch has the former name of the variant, it should have the updated name

Behavior observed: On Antares Web, the tasks of the simulations have the name of the associated study, the same applies to the variants. After renaming a variant and launching a study immediately after, the task associated with the launch have the previous name of the variant.

Screenshot creation variant

Launch simulation, the task have the name of the variant

Renaming the variant

Launching simulation, the task have the previous name

expected behavior:  When a variant is renamed, the tasks of future launched simulations must have its new name.


Support glm3 and glm4

Currently, llama.cpp has merged a PR for this model, which means that llama.cpp already supports gml3 and glm4. We hope to add support for this model @jmorganca
https://github.com/ggerganov/llama.cpp/pull/8031

👀

Hope to update the support soon!

Hope the same

https://github.com/ollama/ollama/issues/5553. @jmorganca

Hi folks! https://ollama.com/library/glm4

The model sometimes output a series of G;s

User: Who is america's president?
As of my last update in early 2023, the President of the United States is Joe Biden. However, political offices
are subject to change, so it's always best to check the latest sources for the current officeholder.

Today's date is 10th of July and in November there will be a new election/
Given that today's date is the 10th of July, if we're discussing an upcoming election in November, we would be
looking at either the midterm elections in the United States or another country's general election, depending on
the specific context.

For the U.S., the next major election would typically be the midterm elections, which are held two years after a
presidential election year. Since the last presidential election was in November 2020 (which you mentioned as
"today"), the midterm elections for 2022 have already passed. Therefore, if we're talking about an election that
is more than six months away from now, it would be the next general election for president.

The 2024 United States presidential election will take place on Tuesday, NovemberGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG

The model sometimes output a series of G;s ollama run glm4:9b-chat-q4_K_M

https://github.com/ggerganov/llama.cpp/pull/8031#issuecomment-2219752905

Can you please add also glm4 chat 1M?


”Șovarna”, ”Ohaba”, ”Studina” are listed in the drop-down menu

Description:
When user writes ”Șovarna”, ”Ohaba”, ”Studina” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Șovarna"

Expected results
The location appears in the drop-down menu as "Sat Șovarna, MEHEDINȚI (Șovarna)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Ohaba"

Expected results
The location appears in the drop-down menu as "Sat Ohaba, MEHEDINȚI (Șovarna)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Studina"

Expected results
The location appears in the drop-down menu as "Sat Studina, MEHEDINȚI (Șovarna)".


Fix all clippy warnings

Just fixing all the things that clippy warns about.
Pull request checklist:

[x] CHANGELOG.md was updated, if applicable

Thank you!

Thank you!


feat: add app.exception decorator to handle errors

Description
This PR addresses #480
This PR adds the optional app.exception decorator under the Robyn app in order to allow catching exceptions raised in the routes and handle them gracefully.
Example usage added in base_routes.py
@app.exception
def handle_exception(error):
    return {"status_code": 500, "body": f"error msg: {error}"}

@app.get("/sync/exception")
def sync_exception():
    raise ValueError("value error")

Hey @IdoKendo 👋
Great work on the PR 😄
Can you please add some integration tests in the integrations_tests folder?

Can you please add some integration tests in the integrations_tests folder?

Sure thing, added it. 😎

Hey @IdoKendo 👋
All looks good to me. 😄 Just there's one final merge conflict

Hey @IdoKendo 👋
All looks good to me. 😄 Just there's one final merge conflict

Hey @sansyrox no problem, I resolved the conflict! 😄


Getting started issue

I am following the steps in the quickstart. I've gotten stuck on:
fn routes create myapp /hello

I get: unexpected error: Post http:///v1/apps/myapp/routes: http: no Host in request URL
Am I missing an environment variable?

Hi @jakepearson noticed you closed this, did you figure out the issue?

I did. Last night, it failed this morning, it all worked. I'm guessing it might be related to opening a new shell. Thanks for getting back to me.


Missing semicolons in @page rule

var html = "";
var parser = new HtmlParser(new HtmlParserOptions(), BrowsingContext.New(Configuration.Default.WithCss(new CssParserOptions())));
var dom = parser.ParseDocument(html);
var styleSheet = dom.StyleSheets.OfType<ICssStyleSheet>().First();
var css = styleSheet.ToCss(); // -> "@page { margin-top: 25mm margin-right: 25mm margin-bottom: 25mm margin-left: 25mm }"

This was originally reported as https://github.com/mganss/HtmlSanitizer/issues/438.

CSS is not part of AngleSharp.Core.

CssStyleFormatter.cs is part of this repository, isn't it?

Yes, and? The issue seems to be in the serialization of the specific rule, not of a stylesheets in general. That makes a huge difference. The style formatter (as any formatter) does not know or need to know rules and their internals. It does not serialize declarations or rules.

@FlorianRappl Will you transfer the issue or shall I open a new one in AngleSharp.Css?


Use .Net Core task V0 does not work anymore

Required Information
Type: Bug
Enter Task Name: DotNetCoreInstallerV0 / Use .Net Core task (V0)
Environment
Azure DevOps Server (On-Premise)
Version: 17.143.28912.1
Issue Description
The task does not work since a few weeks. I understand that the task is deprecated (announcement) but because this task is embeded in Azure DevOps Server itselft - it's not updable with the Marketplace. So, on-premise environment is impacted by this.
Note 1: I have not the last version of Azure DevOps Server, but on-premise environments have some constraints and often not up-to-date.
Note 2: I know I can install manually the .NET Core SDKs on build agents, but it's a regression for users and not optimal to manage.
Requested: If you can not fix (make available again the releases.json file with updated information), can you provide a method to update the task on Azure DevOps Server without need to do a full update? Release theses tasks on the Marketplace would be nice ;)
Task logs
==============================================================================
Task         : .NET Core SDK Installer
Version      : 0.2.0
Author       : Microsoft Corporation
==============================================================================
Tool to install: .NET Core sdk version 3.1.101.
[command]C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -Sta -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command "& 'E:\TFSAgents\Build-SVB1171-01\_work\_tasks\DotNetCoreInstaller_b0ce7256-7898-45d3-9cb5-176b752bfea6\0.2.0\externals\get-os-platform.ps1'"
Primary:win-x64
Detected platform (Primary): win-x64
Checking if a cached copy exists for this version...
The cache does not contain the requested version of .NET Core. Downloading and installing it now.
Getting URL to download .NET Core sdk version: 3.1.101.
##[error]Unexpected token : in JSON at position 3
Troubleshooting
In the version 0.2.0 of the task, in releasesfetcher.js:
const DotNetCoreReleasesUrl = "https://raw.githubusercontent.com/dotnet/core/master/release-notes/releases.json";
This file is no more available.
Thanks!

Thanks @ChristopheLav for reporting the issue. We will have a look at it soon.

@ChristopheLav  Isn't UseDotNet@2 task not available on On-premise version??

@vineetmimrot Nope, only UseDotNet@0 is available in Azure DevOps Server 2019.0.1 (17.143.28912.1).

Hey @ChristopheLav ,
PFA updated dotnetcore installer task.
UseDotNetV2.zip
Instructions for installing it.

Install tfx-cli npm tool using npm install -g tfx-cli
run tfx login on cli
For Service URL: Pass your <on-prem url>/DefaultCollection
Personal access token: Pass your PAT token.
For any troubleshooting, you can use this doc
on failure of service url, you can try passing: <on-prem url>/tfs/DefaultCollection
After successful login, unzip the above package to some directory PATH_TO_DIR
run tfx build tasks upload --task-path PATH_TO_DIR

The new task will be available on your on-premise server with the name .Net Core Installer (with fix). Let me know if you have any issues.

Thanks @vineetmimrot, I will try tomorrow the fix.
If I understand correctly, a new task will be added. It is possible to update the current task or it will be an unsupported state?

@vineetmimrot I have tested the fix and it's work flawless. Thanks!
About new guid and new name: is it possible to update the current official task or it will be an unsupported state? I preferer to update the official task to prevent future needed user actions when we will moved to another version.
Before going ahead with your fix, I just want to be sure this possibility doesn't exist. Thanks!

To prevent any side-affect, I have given the package with different guid and name. In the next on-prem release upgrade, you may officially get an upgraded version of the task.
Though you can change the task name now by modifying the task.json file.

Excellent. I have test on a lab to change the guid/name, and the new version was added successfully. So the issue is now closed for me. Thank you so much for your quickly assistance! I appreciate.

I think this fix is not of a standard you expect from Microsoft. The DotNetCoreInstaller@0 is broken on every Azure DevOps Server (on-premise). The moment you install a new agent, builds using the DotNetCoreInstaller@0 no longer work.
As far as I've seen there is no fix/alternative for the on-premise Azure DevOps, because UseDotNet@2 is not available (yet). And installing a patched DotNetCoreInstaller@2 manually will not work for everyone. Maybe this DotNetCoreInstaller@2 should be made available via the Marketplace.
Fix:
I was able to fix it by copying the content of the {AgentWorkingDir}_tool\dncs from a working agent to the new agent.

@jochenjonc After installing the UseDotNet@2 task, you need to modify your build definition to either use this task or use version 2 of the task if you have modified the task.json as done by @ChristopheLav. Other than that copying the agent directory content is not needed. When the build definition runs on any agent, the task will be downloaded from the on-prem server to the agent and it will run.

@jochenjonc Also UseDotNet@2 task is available on the latest on-prem version. Which version of on-prem are you using?

@vineetmimrot I'm on version 17.143.28912.1

@jochenjonc Why you can’t install the patched task? Any administrator can do that. It’s a supported and officially documented action when you develop a custom task. Or do you encounter an error?

@ChristopheLav I don't encounter an error, I haven't tried also. I just thought there should be a less complex way to fix it.
But if what @vineetmimrot says that the UseDotNet@2 is part of a recent patch of Azure DevOps Server then the best way to solve it is to install the patch, I can live with that.

Today I updated to the latest patch of Azure DevOps, I now have version Dev17.M153.5, and UseDotNet@2 is available!


Fix malformed links

Fixes #494

Coverage remained the same at 81.008% when pulling 06eaf0641fadd0e339656d9093e24a32667607b8 on fix-malformed-links into d1230609a17c39d03600ebe839dc2aed908d3a0b on develop.


assign_coords with datetime64[us] changes dtype to datetime64[ns]

What happened:
When using xr.DataArray.assign_coords() to assign a new coordinate to the time dimension that is an array with dtype datetime64[us], after assigning, the dtype is datetime64[ns], resulting in the wrong dates, since the dates I am using are outside the valid range for the [ns] units.
What you expected to happen:
Preserve dtype of array when assigning as a coordinate.
Minimal Complete Verifiable Example:
import numpy as np
import xarray as xr
import cftime

tmp = np.random.random(12)

da = xr.DataArray(tmp, dims='time')

times=list()

for mth in np.arange(1, 13):
    times.append(cftime.DatetimeNoLeap(1250, mth, 1))

times64 = np.array([np.datetime64(t, 'us') for t in times])

da = da.assign_coords({'time': times64})

which gives for the original array:
In [49]: times64
Out[49]:
array(['1250-01-01T00:00:00.000000', '1250-02-01T00:00:00.000000',
       '1250-03-01T00:00:00.000000', '1250-04-01T00:00:00.000000',
       '1250-05-01T00:00:00.000000', '1250-06-01T00:00:00.000000',
       '1250-07-01T00:00:00.000000', '1250-08-01T00:00:00.000000',
       '1250-09-01T00:00:00.000000', '1250-10-01T00:00:00.000000',
       '1250-11-01T00:00:00.000000', '1250-12-01T00:00:00.000000'],
      dtype='datetime64[us]')

and for the array after assigning:
In [51]: da.time
Out[51]:
<xarray.DataArray 'time' (time: 12)>
array(['1834-07-22T23:34:33.709551616', '1834-08-22T23:34:33.709551616',
       '1834-09-19T23:34:33.709551616', '1834-10-20T23:34:33.709551616',
       '1834-11-19T23:34:33.709551616', '1834-12-20T23:34:33.709551616',
       '1835-01-19T23:34:33.709551616', '1835-02-19T23:34:33.709551616',
       '1835-03-22T23:34:33.709551616', '1835-04-21T23:34:33.709551616',
       '1835-05-22T23:34:33.709551616', '1835-06-21T23:34:33.709551616'],
      dtype='datetime64[ns]')
Coordinates:
  * time     (time) datetime64[ns] 1834-07-22T23:34:33.709551616 ... 1835-06-...

Anything else we need to know?:
Environment:
Output of xr.show_versions()
INSTALLED VERSIONS
commit: None
python: 3.7.8 | packaged by conda-forge | (default, Jul 31 2020, 02:37:09)
[Clang 10.0.1 ]
python-bits: 64
OS: Darwin
OS-release: 18.7.0
machine: x86_64
processor: i386
byteorder: little
LC_ALL: en_US.UTF-8
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
libhdf5: 1.10.5
libnetcdf: 4.7.3
xarray: 0.16.0
pandas: 1.1.0
numpy: 1.19.1
scipy: 1.4.1
netCDF4: 1.5.3
pydap: installed
h5netcdf: None
h5py: None
Nio: None
zarr: None
cftime: <IP_ADDRESS>
nc_time_axis: None
PseudoNetCDF: None
rasterio: None
cfgrib: None
iris: None
bottleneck: None
dask: 2.21.0
distributed: 2.22.0
matplotlib: 3.1.2
cartopy: 0.17.0
seaborn: None
numbagg: None
pint: None
setuptools: 49.3.1.post20200810
pip: 20.2.2
conda: None
pytest: None
IPython: 7.17.0
sphinx: 3.2.0

Thanks @andrewpauling -- I do think there's a bug here, but this issue happens to be more complicated than it might seem on the surface :).
Xarray standardizes around nanosecond precision for np.datetime64 dtypes, and casts any NumPy array of dtype datetime64 to nanosecond precision.  This is mainly motivated by pandas -- pandas requires nanosecond precision -- which xarray relies on for time indexing and other time-related operations through things like pandas.DatetimeIndex or the pandas.Series.dt accessor.  As you've noted this is unfortunate since it limits the supported time range for np.datetime64 types (see, e.g., discussion in https://github.com/pydata/xarray/issues/789).
Addressing this fully would be a challenge (we've discussed this at times in the past).  It was concluded that for dates outside the representable range that cftime dates would be used, and that over time we would build up infrastructure to enable some of the nice things you can do with np.datetime64 types with cftime objects.  The functionality now largely exists, and a nice benefit of doing this through cftime is that we also gain compatibility with non-standard calendar types, e.g. DatetimeNoLeap.  I encourage you to try and take advantage of that, and please let us know if there is something missing that you would like to see implemented or improved!
This is a long way of saying, without a fair amount of work (i.e. addressing this issue upstream in pandas) xarray is unlikely to relax its approach for the precision of np.datetime64 dtypes, and will continue casting to nanosecond precision.
However, the fact that your example silently results in non-sensical times should be considered a bug; instead, following pandas, I would argue we should raise an error if the dates cannot be represented with nanosecond precision.

Thanks @spencerkclark for the response, that makes sense. I have been able to get what I needed to work using cftime, it just seemed strange to me that xarray behaved as it did with datetime64.
I agree it would be nice if an error was raised when dates can't be represented, would this be difficult to implement? I have been hoping to contribute to some open-source projects so if it's not too complex I'd be happy to tackle it, and if you have any advice on where to start with this problem that would be great.

That would be great @andrewpauling!  I think this is the relevant code in xarray:
https://github.com/pydata/xarray/blob/1155f5646e07100e4acda18db074b148f1213b5d/xarray/core/variable.py#L244-L250
I want to say arguably we could use the _possibly_convert_objects function on datetime64 and timedelta64 data as well; you'll see this goes through a pandas.Series to do the casting, which has built-in logic to check that the values can be represented with nanosecond precision.  But it's up to you how you ultimately want go about things.
I agree this casting behavior is a bit surprising.  If we wanted to be a little more transparent, we could also warn when attempting to cast non-nanosecond-precision datetime64 data to nanosecond precision.  I'm not sure what others think; I know pandas doesn't do this, but it could be friendlier for users.


ELECTRON-695 (r53) - Fixing hover close button on notification

Description
Close tooltip is not displayed when hovering over on Close button
Describe the problem or feature in addition to a link to the ELECTRON-695
Fixing

After fixing

Related PRs
List related PRs against other branches / repositories:

branch
PR

ELECTRON-695
link

QA Checklist

[x] Unit-Tests
[ ] Automation-Tests

Attach unit & spectron tests results in PDF format against the above task lists for this branch

This is not required. We'll just merge it to master


Search feature is completely brokenand JSON is not collapsible

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
Prior to 1.20, command F would pop up a search bar
After 1.20, it no longer works. The JSON collapse arrows are also broken.
.bru file to reproduce the bug
No response
Screenshots/Live demo link
Before:

After:

Duplicate of https://github.com/usebruno/bruno/issues/2580. Thank you for reporting the bug. Since a related issue tracking the bug already exists, you can add a 👍 reaction to issue https://github.com/usebruno/bruno/issues/2580 instead.


REFPLTB-1500: Able to get the Radio Interface name with invalid Radio…

Signed-off-by: Manigandan Gopalakrishnan<EMAIL_ADDRESS>

Smoke tests for ['build-rpi-broadband'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/121119/


Segfault in ACPI table generation if no PCI devices instantiated

If hyperkit is launched with the -A flag and no PCI devices, it crashes.
In the code below, taken from src/lib/pci_emul.c, bi gets dereferenced even though it's NULL.
static void
pci_bus_write_dsdt(int bus)
{
	struct businfo *bi;

	/*
	 * If there are no devices on this 'bus' then just return.
	 */
	if ((bi = pci_businfo[bus]) == NULL) {
		/*
		 * Bus 0 is special because it decodes the I/O ports used
		 * for PCI config space access even if there are no devices
		 * on it.
		 */
		if (bus != 0)
			return;
	}

	dsdt_fixup(bus, bi->iobase, bi->iolimit, bi->membase32, bi->memlimit32,
		bi->membase64, bi->memlimit64);

	(void) pci_pirq_prt_entry;
	(void) pci_apic_prt_entry;
}

Thanks for the report @povik.
Does it work if you return before the dsdt_fixup call if bi == NULL?4
I notice that we seem to have removed src/lib/dsdt.asl in commit e25584d569205c2eadccc10987f445c2c7360628, I think that's the source to the massive binary array in acpitbl_build_dsdt which the dsdt_fixup call is modifying. We should probably reinstate that file as part of whatever fix we do here.

Does it work if you return...

If not then adding:
		if (pci_businfo[0] == NULL)
				pci_businfo[0] = calloc(1, sizeof(struct businfo));

before the loop in init_pci would perhaps be the next thing to try, this would arrange that there was a PCI bus even if no devices were specified which seems largely harmless.


Component name only allow first char to be uppercase

Version
2.5.16
Reproduction link
https://jsfiddle.net/50wL7mdz/337695/
Steps to reproduce
no special steps, change the componet name from MyTest to Mytest and <MyTest></MyTest> to <Mytest></Mytest> make it work, otherwise the componet just don't get rendered
What is expected?
The component should be there with content 自定义组件! surrended by h1
What is actually happening?
componet not there actually, if i change my componet name from MyTest to Mytest, the componet got rendered properly

I'm new to Vue so not quite sure if it is a bug or Vue component standard,

This is because youre using an html template and everything gets converted to lowercase before Vue gets it.
It has been asked multiple times so you should be able to find any extra information necessary 🙂 there is also a section about this in the docs


RZImport Caching

Enable a shared cache so fetch requests can be performed only once by loading the cache prior to starting the import. The cache is implemented as a set of dictionaries hanging off of the context's userInfo. The only public API expansion is -[NSManagedObjectContext rzi_cacheAllObjectsForEntity: and -[NSManagedObjectContext rzi_cacheObjects: forEntity:.
This should make it very easy to optimize very large data imports.

@KingOfBrian This looks good to me.  Lets just make sure that it is fully working in an app or two or write some test cases before we merge it.

@KingOfBrian Looks good to me too, but I agree with @arrouse, if we can get a few tests around this it would be helpful. Minimally a test that verifies the old behavior is the default (maybe our existing tests prove that), nice to have would be tests around the caching.

Added some tests, and updated the performance tests to use the new measureBlock: API.


Use PartitionsSpec for all task types

Part of https://github.com/apache/incubator-druid/issues/8061.
Description
PartitionsSpec is a class to describe the secondary partitioning method for data ingestion, but is being used by only Hadoop tasks. For more consistent behavior and configuration, all task types should use the same PartitionsSpec.
PartitionsSpec is the top interface and has one direct implementation, DynamicPartitionsSpec. DynamicPartitionsSpec is the new partitionsSpec and used by indexTask and kafka/kinesis IndexTasks.
DimensionBasedPartitionsSpec is the child interface of PartitionsSpec and represents the partitionsSpec based on dimension values. It has two implementations of HashedPartitionsSpec and SingleDimensionPartitionsSpec. These partitionsSpecs are used if and only if perfect rollup is configured.
This PR is backward-Incompatible for indexTask because the JSON form of tuningConfig doesn't have maxRowsPerSegment, maxTotalRows, numShards, and partitionDimensions anymore. However, it still could read the old JSON format. It should be compatible for other task types.

This PR has:

[x] been self-reviewed.
[x] added documentation for new or modified features or behaviors.
[x] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.

👍 after conflict resolved

@dclim @clintropolis thank you for the review!


Cleaned indexer code with upgraded langchain version and working azure openai keys

This code still uses local data folder for indexing. But the cleaned indexer code is needed with working azure openai keys as priority, so raising this PR for merging.

Hey @KaranrajM, give us instructions on how to test and verify this.
Think about writing a test case but that can be made into a separate PR

Sure @sameersegal, I can write a test case for this indexer, will raise another PR for it.


feat(n2n): add realm and user for onboarding provider

Description
Add the onboarding-provider realm
add a user for the newly added realm
Why
To be able to test the newest network to network features from the product-portal
Issue
N/A - Jira Issue: CPLP-3145
Checklist

[x] I have followed the contributing guidelines
[x] I have performed a self-review of my changes
[x] I have successfully tested my changes

@evegufy since we changed the process logic from setting up a technical user for the osps to the osps setting the auth data in the portal, the config has changed


Why Cocoa Pods not support?

Is your feature request related to a problem? Please describe.
I want to use that SMP in a Flutter library, but its not posible because SMP not compatible with Cocoapods.
Describe the solution you'd like
I want a tool for flutter or make this library compatible with cocoapods
Describe alternatives you've considered
make a new version for cocoapods.
Additional context
No response

Hi @francisco-sanabria-itti! We currently have no plans to support CocoaPods.
You can add native components to a Flutter app by doing the following:

https://docs.flutter.dev/platform-integration/ios/platform-views
https://docs.flutter.dev/platform-integration/platform-channels

Here's an example by another customer: https://github.com/aws-amplify/amplify-ui-swift-liveness/issues/85#issuecomment-2469818435
Thanks!


added twitter_handle

I have added twitter handle of minister of power.
Please let me know if I need to do any corrections!. As, I am very beginner to open Source.
Thanks😊

Seems good to me. Thanks very much for your contribution @eddejayaklu !
I'll be sure to add you to our list of contributors

@eddejayaklu The pleasure is mine! Looking forward to working together!


Readiness probe failed on v1.2.0-rc3 and AAD-Pod-ID v1.6.1

Describe the bug
A clear and concise description of what the bug is.
In this case I am deploying version AGIC v1.2.0-rc3 with AAD-Pod-ID Version 1.6.1. aks version : v1.16.7
kubectl get pods proves that the AGIC pod is not-ready, but running:
cosmos@cosmos-new-vm:~/work/dev/agic$ kubectl get pods

NAME                                   READY   STATUS    RESTARTS   AGE
appgw-ingress-azure-645976499d-qg7tg   0/1     Running   0          19s
mic-774b9c5d7b-z4z8p                   1/1     Running   1          15m
mic-774b9c5d7b-zrdsm                   1/1     Running   1          15m
nmi-pv8ch

To Reproduce
This is because the readiness probe fails, which will be clearer in the log output below.
cosmos@cosmos-new-vm:~/work/dev/agic$ helm upgrade --install appgw-ingress-azure -f helm-config.yaml application-gateway-kubernetes-ingress/ingress-azure --version 1.2.0-rc3

Ingress Controller details
Events:
  Type     Reason     Age               From                                        Message
  ----     ------     ----              ----                                        -------
  Normal   Scheduled  <unknown>         default-scheduler                           Successfully assigned default/appgw-ingress-azure-645976499d-qg7tg to aks-agentpool-41724381-vmss000001
  Normal   Pulling    89s               kubelet, aks-agentpool-41724381-vmss000001  Pulling image "mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.2.0-rc3"
  Normal   Pulled     88s               kubelet, aks-agentpool-41724381-vmss000001  Successfully pulled image "mcr.microsoft.com/azure-application-gateway/kubernetes-ingress:1.2.0-rc3"
  Normal   Created    88s               kubelet, aks-agentpool-41724381-vmss000001  Created container ingress-azure
  Normal   Started    88s               kubelet, aks-agentpool-41724381-vmss000001  Started container ingress-azure
  Warning  Unhealthy  3s (x8 over 73s)  kubelet, aks-agentpool-41724381-vmss000001  Readiness probe failed: Get http://<IP_ADDRESS>:8123/health/ready: net/http: request canceled (Client.Timeout exceeded while awaiting headers)

Output of `kubectl logs .

cosmos@cosmos-new-vm:~/work/dev/agic$ kubectl logs appgw-ingress-azure-645976499d-qg7tg
ERROR: logging before flag.Parse: I0628 18:09:49.947221       1 utils.go:115] Using verbosity level 3 from environment variable APPGW_VERBOSITY_LEVEL
I0628 18:09:49.987776       1 environment.go:240] KUBERNETES_WATCHNAMESPACE is not set. Watching all available namespaces.
I0628 18:09:49.987861       1 main.go:128] Appication Gateway Details: Subscription="624464ad-8d35-4795-8ff1-2b8297c43d42" Resource Group="cosmos-demo-rg" Name="appgateway"
I0628 18:09:49.987873       1 auth.go:46] Creating authorizer from Azure Managed Service Identity
I0628 18:09:49.987945       1 httpserver.go:57] Starting API Server on :8123

Any Azure support tickets associated with this issue.

@cosmos0703 can you please the logs for AAD Pod identity ? Look for mic and nmi pods in your cluster. Those might have some clues.
https://github.com/Azure/aad-pod-identity/wiki/Debugging#component-logs

@cosmos0703 please open this issue if you still need help.


Update: Detect download error and simplify the things

Have you tried real or virtual machine?

Real, all tested

Thank you for your contribution

:+1: I need to say thanks for you work, thanks again.

Script works well but almost no one know this script. We should spread.


fix: use self

Description
our web app met a js-error when runs on chrome m69, like below.
. Other guy does a thing to resolve this problem by rollup's context option, introduced in #5312.
But globalThis API is supported until chrome m71, therefore we met a error on chrome m69. -_-

Inspired by #5312, self maybe more appropriate because of browser compatibility, and self maybe more semantic.

Additional context
I tested this opinions on chrome console, there is the result.

What is the purpose of this pull request?

[X] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[X] Read the Contributing Guidelines.
[X] Read the Pull Request Guidelines and follow the PR Title Convention.
[X] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[X] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[X] Ideally, include relevant tests that fail without this PR but pass with it.

Vite's default browser support supports globalThis so I don't think we should change this. If you need to support older browsers, you can change it yourself through build.rollupOptions, or use @vitejs/plugin-legacy.


[PDI-13379] Password is not secure in new "Named cluster" dialog

Cherry-pick from master

@e-cuellar for review


test

Workflow files are the recipe for task automation. This is where actions are placed if I want to use them for a task.


codereview: hg clpatch is too strict

It'd be nice of hg clpatch's hgpatch could deal with a little fuzz (perhaps falling back
to using system patch, if available).

Example log:

$ hg clpatch 6255053
abort: codereview issue #6255053 is out of date: patch and recent changes conflict
(050271fb599f->40dc2beda77f)

$ hg clpatch --ignore_hgpatch_failure 6255053
edit src/pkg/net/http/request.go: patch did not apply cleanly
6255053:
	net/http: avoid a bunch of unnecessary CanonicalHeaderKey calls

	CanonicalHeaderKey didn't allocate, but it did use unnecessary
	CPU in the hot path, deciding it didn't need to allocate.

	I considered using constants for all these common header keys
	but I didn't think it would be prettier. "Content-Length" looks
	better than contentLength or hdrContentLength, etc.

	Reviewer<EMAIL_ADDRESS><EMAIL_ADDRESS>		dave: LGTM. Nice
	CC:
	Files:

$ curl http://codereview.appspot.com/download/issue6255053_2005.diff | patch -p2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5949    0  5949    0     0   6640      0 --:--:-- --:--:-- --:--:--  7040
patching file pkg/net/http/header.go
patching file pkg/net/http/request.go
Hunk #2 succeeded at 732 with fuzz 2.
patching file pkg/net/http/server.go
patching file pkg/net/http/transfer.go

Obsolete


Initial setup of all anylogic models

payload = scenario in json
scenario configured in django admin should be available in the CMS on casus level

Moved the issues of the names to #345, can merge without.
Open points:

parent_heat field blank=True
One to many relation at assets field for grid connection. Foreign key at asset level.


Generating own speaker embedding with ECAPA and OOM when running speaker_verification_cosine.py

Hi,
I've trained my own dataset with 2 gpus on the same devices following here.
But I am confused about how to generate speaker embedding if I want to use my own model and checkpoint to input a custom audio file like this way:
import torchaudio
from speechbrain.pretrained import EncoderClassifier
classifier = EncoderClassifier.from_hparams(source="speechbrain/spkrec-ecapa-voxceleb")
signal, fs =torchaudio.load('samples/audio_samples/example1.wav')
embeddings = classifier.encode_batch(signal)

Or is there any suitable way to preprocess my input file if I write something like this (I copy the function compute_embedding from speaker_verification_cosine.py):
import os
import torch
import torchaudio
import speechbrain as sb
from hyperpyyaml import load_hyperpyyaml
from speechbrain.utils.distributed import run_on_main

def compute_embedding(wavs, wav_lens):
    """Compute speaker embeddings.

    Arguments
    ---------
    wavs : Torch.Tensor
        Tensor containing the speech waveform (batch, time).
        Make sure the sample rate is fs=16000 Hz.
    wav_lens: Torch.Tensor
        Tensor containing the relative length for each sentence
        in the length (e.g., [0.8 0.6 1.0])
    """
    with torch.no_grad():
        feats = params["compute_features"](wavs)
        feats = params["mean_var_norm"](feats, wav_lens)
        embeddings = params["embedding_model"](feats, wav_lens)
        embeddings = params["mean_var_norm_emb"](
            embeddings, torch.ones(embeddings.shape[0]).to(embeddings.device)
        )
    return embeddings.squeeze(1)

arg = ['hparams/verification_ecapa.yaml', '--data_folder=/disk/data/lrs3/lrs3_wav/']
params_file, run_opts, overrides = sb.core.parse_arguments(arg[:])
with open(params_file) as fin:
        params = load_hyperpyyaml(fin, overrides)

run_on_main(params["pretrainer"].collect_files)
params["pretrainer"].load_collected(params["device"])
params["embedding_model"].eval()
params["embedding_model"].to(params["device"])

wavs, fs =torchaudio.load('test.wav')
lens = torch.tensor([1.0]).to(params["device"])
emb = compute_embedding(wavs, lens).unsqueeze(1)

I am not sure about what format should wavs and lens should be.
Or is there any simple way to do this?
Also, I cannot test my EER and minDCF when running speaker_verification_cosine.py.
Even if I set the command line like this way:
CUDA_VISIBLE_DEVICES=0,1 python3 -m torch.distributed.launch --nproc_per_node=2 speaker_verification_cosine.py hparams/verification_ecapa.yaml --data_folder=/disk/data/wav/ --distributed_launch --distributed_backend='nccl' --data_parallel_backend

Gpu0 is always out of memory, and gpu1 seems to do nothing.
Does anyone has any idea?

Hi @anitaweng just to quickly respond to your question on wavs and lens. Please take a look how it's handled in the interface for the pretrained speaker recognition model. SpeechBrain provides a load_audio(path_x) function. Lengths are explained here - if both files are of equal duration, they get both a '1.0', otherwise the long one is at 1.0 and the other is a relative 0.xyz... factor.
Do you have the same issue with single GPU training? (to sort out potential error sources)

Hi @anitaweng here is the function I used to extract Kaldi-based embeddings:
# Compute embeddings from the waveforms
def compute_embeddings_single(wavs, wav_lens, params):
    """Compute speaker embeddings.

    Arguments
    ---------
    wavs : Torch.Tensor
        Tensor containing the speech waveform (batch, time).
        Make sure the sample rate is fs=16000 Hz.
    wav_lens: Torch.Tensor
        Tensor containing the relative length for each sentence
        in the length (e.g., [0.8 0.6 1.0])
    """
    wavs = wavs.to(params["device"])
    wav_lens = wav_lens.to(params["device"])
    with torch.no_grad():
        feats = params["compute_features"](wavs)
        feats = params["mean_var_norm"](feats, wav_lens).to(params["device"])
        embeddings = params["embedding_model"](feats)
        embeddings = params["mean_var_norm_emb"](
            embeddings, torch.ones(embeddings.shape[0]).to(embeddings.device)
        )
    return embeddings.squeeze(1)

def compute_embeddings(params, wav_scp, outdir, ark):
    with torch.no_grad():
        with open(wav_scp, "r") as wavscp:
            for line in wavscp:
                utt, wav_path = line.split()
                out_file = "{}/npys/{}.npy".format(outdir, utt)
                wav, _ = torchaudio.load(wav_path)
                data = wav.transpose(0, 1).squeeze(1).unsqueeze(0)
                embedding = compute_embeddings_single(data, torch.Tensor([data.shape[0]]), params).squeeze()

                out_embedding = embedding.detach().cpu().numpy()
                np.save(out_file, out_embedding)
                write_vecs_to_kaldi(out_embedding, utt, ark)
                del out_embedding, wav, data

Please ignore related dependencies, but as you can see from the caller function, these lines in particular:
data = wav.transpose(0, 1).squeeze(1).unsqueeze(0)
embedding = compute_embeddings_single(data, torch.Tensor([data.shape[0]]), params).squeeze()

I set the length equal to the input wav length. This means we do not perform any kind of padding/chunking if the length of input wav suffices. It works for me. Maybe you wanna have a try.

Hi @anitaweng just to quickly respond to your question on wavs and lens. Please take a look how it's handled in the interface for the pretrained speaker recognition model. SpeechBrain provides a load_audio(path_x) function. Lengths are explained here - if both files are of equal duration, they get both a '1.0', otherwise the long one is at 1.0 and the other is a relative 0.xyz... factor.
Do you have the same issue with single GPU training? (to sort out potential error sources)

Hi @anautsch,
Thanks a lot for your information! I know what it means now. Also, it is great to know that SpeechBrain provides a load_audio(path_x) function. But how is it different from torchaudio.load()?
I think I can simply follow @underdogliu 's solution, since it works like what the original EncoderClassifier.encode_batch() does.
I face the OOM error when running speaker_verification_cosine.py on single gpu, too. That's why I try to use 2 gpus instead.

OOM relates to audio length and batch size. Checkout dynamic batching.
The differences are in audio normalisation etc after torchaudio.load (please checkout the code).

Thanks for your reply, then I will try to use dynamic batching help to calculate EER.

Got stuck when reading 'to calculate EER'. If you just want to know the EER of some DNN, try to save the scores first. Then, EER can be computed from the stored scores (if there's a problem with the EER computation or if you'd like to compare with other tools).

Sorry for my poor explanation. I just want to run speaker_verification_cosine.py, while I face the OOM problem. I will try the methods you mentioned above. Thank you so much.

Hello @anitaweng,
Any news concerning this issue, please? Thanks! :-)

Hello,
I'm closing this issue as there has been no activity since a very long time. Feel free to reopen if needed! Thanks.
Adel


When map is rotated, than click on feature doesn't work correct

If you rotate the map and than try to click on a Feature, you don't get the correct Feature. If you click at the area where the Feature should be in unrotated position, than you get the correct Feature.

If I run Samples.Mapsui.Wpf and select the MapInfo sample map rotation and feature selection seems to work correct.

Go to the Symbols-Symbols demo, rotate the map and click around the black markers. You tested it with marker, that are nearly rotation symetric. Try with asymetric ones.

ah, we need to take the rotation of the symbol into account and also take into account RotateWithMap.

This is fixed in skia and won't be fixed in wpf.


Win + Space shortcut doesn't work

Environment
Windows build number: [run "ver" at a command prompt]
PowerToys version: 0.19
PowerToy module for which you are reporting the bug (if applicable):

Steps to reproduce

press win + space
Expected behavior
show search

Actual behavior
nothing happend

Screenshots

@duongthien
this will be fixed in 0.19.1
Closing as duplicate of https://github.com/microsoft/PowerToys/issues/4578
Thanks.


Add continueIf, breakIf, continueUnless & breakUnless blade conditionals

This PR adds new conditionals to the blade compiler so we can write statements like
@for($i = 0; $i < 10; $i++ )

  @continueIf($i  == 2)

  @breakIf($i == 2)

  @continueUnless(($i % 2 ) == 0)

  @breakUnless(($i % 2 ) == 0)

@endfor

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Fix validation for "Fill in the Blank with Placeholder Text"

The validation should accept the first 2 words if we're going to request "the first few words". The 3rd word shouldn't be required.
Closes #6299.

Please change the title to be descriptive of the changes you have made and remove any references to other issues/PR's.
Also state which issues, if any, that this PR closes in the description each on its own line. For example: closes #1337
see Pull-Request-Contribute

Like that?

:+1:


Using native extensions

Hi,
In order to get my native extension working, it had to add the ID to the "Main-app.xml" aswell:
<extensions>
    <extensionID>com.cleanextension.CleanExtension</extensionID>
</extensions>

This was not documented on your "how to desktop-plattform" help page.
Maybe you add this little hint.
I am comming from FlashBuilder, and the ID is added automatically to the xml, so I forgot about this.

Thanks! I've added a note to the documentation for setting up Adobe AIR projects.

Thanks! I've added a note to the documentation for setting up Adobe AIR projects.


Ctrl-C should cause DFK to cleanup fast

Pressing ctrl-C (or sending termination signals in other ways) should invoke much more aggressive termination behaviour than exists now.

Since #610, the DFK will wait for tasks to complete at shutdown, even if the shutdown is caused by an at exit handler happening because of ctrl-C. Ctrl-C should cause all tasks to fail immediately, or cause the DFK to not wait for tasks to finish.

The implementation of this may be related to making non-lazy errors work properly: that also needs a mechanism to make unrelated tasks fail hard.
related: #223

#645 contains some code working towards this.

@benclifford Do we need to wait on #645 to close this ? Didn't #650 fix this ?

#650 should have fixed this, yes. #645 was some other stuff I was playing with that was more complicated and that I have mostly given up on.


list type is no longer supported?

Describe the problem
list and dict type are no longer supported from the source code. Could you update the docs to reflect it? Thanks

from source code

from the docs

System configuration

Django-Constance version: 4.1.3

Thanks for replying.
I meant it's not supported natively. If you pass list as the type, it will trigger this error since list is not declared in FEILDS.
https://github.com/jazzband/django-constance/blob/master/constance/forms.py#L109
And yes, I can add list as a "custom field"  with form fields and widgets. But it took me some time  digging through the source code to find out.


onFetchData fires at the wrong time

What version of React-Table are you using?
"react-table": "^6.8.6",
What bug are you experiencing, or what feature are you proposing?
I'm using a completely controlled component, and redux to hold my pages. When we click "next", onFetchData fires too early and it fetches the same page we already currently have.
Not sure why onFetchData is firing when the page isn't changing, it seems to always fire if we just click "next" or "previous".
               <ReactTable
                  data={this.state.data}
                  filterable={true}
                  pages={this.state.numPages}
                  columns={columns}
                  footerClassName={css(styles.tableFooter)}
                  defaultPageSize={folder.options.pageSize}
                  page={folder.options.page}
                  onPageSizeChange={(pageSize) => {
                    folderActions.updateOptions({
                      pageSize: pageSize,
                      page: (folder.options.pageSize * this.state.numPages) > (pageSize * folder.options.page) ? folder.options.page : 0
                    });
                  }}
                  onPageChange={(pageIndex) => {
                    folderActions.updateOptions({page: pageIndex})
                  }}
                  minRows={0}
                  manual
                  onFetchData={(state, instance) => {
                      this.pagination(state);
                  }}
                />

Currently don't have a sandbox but can provide when needed.

I looked into your guys' code, and it looks like even though I've set onPageChange function, this page change function is still being called, which is causing the inconsistency: https://github.com/react-tools/react-table/blob/master/src/pagination.js#L36-L42

So I looked into your guys' code, and it seems that the issue is this:
https://github.com/react-tools/react-table/blob/master/src/methods.js#L431-L439
Even though I've defined onPageChange and my own page prop, this onPageChange gets called which sets the newState with an updated page which will fire onFetchData.
This should use my page prop and not your own internal page variable if I've defined my own page prop.

I'm experience the same problem: sometimes I do a page change and it doesn't properly trigger.
onFetchData seems to be called with the old value of state.page.
I am using a reactTable for data coming from server but I'm not fully controlling the component as lightninglu10.

Hi, I'm also facing the same problem i guess.
I'm using ReactTable and controlling state with Mobx.
<ReactTable
   columns={toJS(columns)}
   data={data}
   page={page}
   pages={pages}
   pageSize={pageSize}
   onPageChange={setPage}
   onPageSizeChange={setPageSize}
   loading={loadingReactTable}
   onFetchData={this._fetchDataSendingProps}
   className={reactTableClasses}
   manual={manual}
/>

_fetchDataSendingProps = (state, instance) => {
   const { data } = this.props;
   this.store.fetchData({ data, state, instance });
};

// Store
@action
setPage = (page) => {
   this.page = page;
};

The case is:

Current page is 0
Click "Next"
ReactTable calls onPageChange (With var page 1) and also calls onFetchData (With var page 0)
My function setPage fires, setting observable page in my store to 1
The page render and ReactTable receive page={1}, calling another onFetchData (This time with page 1)

Workround for now is: implement my own pagination, so when i click my own buttons it doesn't trigger onFetchData, just use my store setPage and the ReactTable receives the page props when render occurs.
I guess whats happening is that ReactTables fires the onFetchData in both situations, when the user click on prev or next and when the ReactTable receives a differente page props, to solve this maybe the onFetchData must occurs only in one of those 2 situations.

Reading the https://github.com/react-tools/react-table/issues/837, I guess I was doing it wrong, don't need to use both onFetchData and onCallbacks, to have full control of my ReactTable, probably should use only the callbacks and forget about onFetchData.

This feature/issue has been tagged as one that will likely be fixed or improved in the next major release of React-Table. This release is expected to be completed in the next 6 - 8 months. Please see #1143 for more detail. If you believe this feature can be easily fixed, we invite you to fork the project, attempt the fix, and use it until the latest version is available. If the fix is simple enough, we will also consider it as a PR to the current version.

In case someone's facing this issue now, I had a bit of trouble with it not too long ago with making the table controlled.
The problem with combining onPageChange and onFetchData is that they called in a sync order. That means that when you want to manage the pages with a state, you miss the data fetching because setState is asynchronous and onFetchData will start before the page had changed.
A nice workaround I did was making a proxy for onFetchData - I wrapped it with setTimeout of 0 to activate onFetchData. That way it's set in the event-loop's queue after the async page set, so it will be fired when the page had been set.


format code wrapped in ```

Find way to add syntax highlighting for code

When code blocks have the language specified, I am able to get tree-sitter syntax highlighting. Would this help in this scenario?

Is this issue related to the chat or to other parts?

@cmpadden could you share some code snippet/example how did you achieve that, I'm not familiar with tree-sitter yet

yes @00sapo it would be great to add syntax highlighting for code blocks in chat

You can do this by either setting the filetype to markdown like the above or in nvim-0.9 you can tell the chatgpt filetype to use the markdown parser.
vim.treesitter.language.register('markdown', 'chatgpt'),

You can do the above in the context of the output window or if user is the one doing it you can use a filetype autocommand


Fatal Error JVM

Unhandled exception at 0x0000000066241B5F (jvm.dll) in hs_err_pid8748.mdmp: 0xC0000005: Access violation reading location 0x0000000000340020
We have carried out  stress-testing of our application where the library is used along with the Hazelcast IMDG.
OS used: Windows Server 2012 and Redhat Server
JVM used: oracle 8 version (on Win server) and openjdk 11 version (on Linux)
After about 2 hours our application stops with a JVM crash. The error is always the same  (Access violation reading location) but the place where this violation happens is random. When we switched to a standard java serialization the problem disappeared.

Try running with unsafe disabled, it gives a slight performance penalty. In
the past stuff like this happened because of unintended multithreading
which could cause ill-typed setField calls on unsafe. Without unsafe you'll
get an exception which might help finde the root cause (multithreading
related)
Am Do., 18. Feb. 2021 um 15:27 Uhr schrieb hogmuzzle <
<EMAIL_ADDRESS>
Unhandled exception at 0x0000000066241B5F (jvm.dll) in
hs_err_pid8748.mdmp: 0xC0000005: Access violation reading location
0x0000000000340020
We have carried out stress-testing of our application where the library is
used along with the Hazelcast IMDG.
OS used: Windows Server 2012 and Redhat Server
JVM used: oracle 8 version (on Win server) and openjdk 11 version (on
Linux)
After about 2 hours our application stops with a JVM crash. The error is
always the same (Access violation reading location) but the place where
this violation happens is random. When we switched to a standard java
serialization the problem disappeared.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/RuedigerMoeller/fast-serialization/issues/310, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABOQYDDZSDUEUZUNMZHES6LS7UPUBANCNFSM4X2MS2IQ
.


Also run tests for @liveblocks/yjs on CI

Somehow we forgot to add this to the CI test runs.

@jrowny @nimeshnayaju This morning, I noticed we have never been running the @liveblocks/yjs unit tests on CI. This PR enables that, but for some reason the client isn't sending the ROOM_STATE message (which is expected when using the v7 protocol), or maybe there is something wrong with the mock setup here, because the tests are failing. (I didn't dig deeper here yet, just opened this PR as a reminder to get this fixed.)

Will open a new one for this.


if showTimeSelect then it doesn't close on calendar click

It closes if I click a time, and that makes some sense, but I want it to close on clicking date too since it's very confusing to not close on click.

showTimeInput works better, nevermind.


Request client ID for Mozilla Accounts

For Thunderbird Sync we're using Mozilla Accounts. To be able to sign-in to Mozilla Accounts via OAuth we need a client ID.
I was told the following information is required for the client ID registration:

allowedScopes: https://identity.thunderbird.net/apps/sync
publicClient: true
redirectURI:

net.thunderbird.android://mozilla-accounts-redirect (release)
net.thunderbird.android.beta://mozilla-accounts-redirect (beta)
net.thunderbird.android.daily://mozilla-accounts-redirect (daily)
net.thunderbird.android.debug://mozilla-accounts-redirect (development/debug build)

See also: Client registration for Thunderbird (desktop)

Internal ticket: https://mozilla-hub.atlassian.net/browse/SVCSE-2149

The client ID assigned to us is efa9c851223c1162.
Currently we can't use it to request the Thunderbird sync scope. I'm hoping https://github.com/mozilla/fxa/pull/17296 will fix that problem.


Bug | Review and Fix all snyk high sev findings

What?

✅ Review and Fix all snyk high sev findings

Why?

Several high severity finding at https://app.snyk.io/org/binbashar/

Consider using an approach similar to renovate (https://github.com/renovatebot/renovate) uses where the PR gets automatically merged if the repo tests are passing. Most probably snyk also supports this feature, we must validate and make sure that we have the proper tests in order to activate it.
CC: @diego-ojeda-binbash

Consider using an approach similar to renovate (https://github.com/renovatebot/renovate) uses where the PR gets automatically merged if the repo tests are passing. Most probably snyk also supports this feature, we must validate and make sure that we have the proper tests in order to activate it.
CC: @diego-ojeda-binbash


Add browser test for graphql

This adds a full blown E2E test for graphql and apollo to test https://github.com/facebook/create-react-app/pull/5258.
This test hits a graphql endpoint from a development and production build and ensures data comes back (in a real browser).

😮


[SPARK-32685][SQL][FOLLOW-UP] Update migration guide about change default filed.delim to '\t' when user specifies serde

What changes were proposed in this pull request?
Update migration guide according to https://github.com/apache/spark/pull/30942#issuecomment-755054562
Why are the changes needed?
update migration guide.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Not need

FYI @cloud-fan @gatorsmile

FYI @cloud-fan @gatorsmile

Test build #133705 has started for PR 31051 at commit b28f4f9.

Test build #133705 has started for PR 31051 at commit b28f4f9.

Test build #133705 has finished for PR 31051 at commit b28f4f9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #133705 has finished for PR 31051 at commit b28f4f9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133705/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133705/

Test build #133715 has started for PR 31051 at commit 3013ece.

Test build #133715 has started for PR 31051 at commit 3013ece.

Test build #133715 has finished for PR 31051 at commit 3013ece.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #133715 has finished for PR 31051 at commit 3013ece.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133715/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/133715/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38293/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38293/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38303/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38303/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38303/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38303/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38303/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38303/

thanks, merging to master!

thanks, merging to master!


Update baidu-push.swig

the origin one is not support https
ref  http://zhanzhang.baidu.com/linksubmit/index

Thanks. :+1:


Update Docs “about/resume”

Automatically generated by Netlify CMS

Browser metadata
Path:      /blog/deploy-react-app-to-heroku/
Browser:   Chrome 101.0.4951.67 on Windows 10
Viewport:  2133 x 1032 @0.8999999761581421x
Language:  en-US
Cookies:   Enabled

Open in BrowserStack

Open Deploy Preview · Mark as Resolved


fix: PPreserve "" in single quote strings and '' in double quote strings.

…ble quote strings. (#27959)
Proposed changes
pick 27959

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall