wrong errror message/exit code

Impact of the bug
WMA
Describe the bug
RATS I put wrong link to code in initial posting. EDITING IT NOW.
misleading/unclear error message from
https://github.com/dmwm/WMCore/blob/6362413ccbaeed76f9d09e33e11b5dab24a13eef/etc/submit.sh#L140-L142
this message is printed when the previous code could not decide if to use $VO_CMS_SW_DIR or
$OSG_APP or $CVMFS. Which to begin with should never happen, i.e. a failures would have been caught by previous code. And if it would happen "job environment does not contain init.sh" it likely useless and misleading. Bootstrap failures are only triggered when a job happens to run a on a broken machine (CVMFS mount failures e.g.) and unless they are very specific and we print attempted commands and full stdout/stderr, they are usually useless for finding/fixing the actual problem.
How to reproduce it
Need to run a job on a broken WN to trigger this.
Expected behavior
IMHO the full else clause should be removed.
The code which actually intializes python looks good to me.
Maybe the part which source cmsset_default.sh, which now only prints
======== WMAgent CMS environment load starting at Thu Feb  4 00:06:37 GMT 2021 ========
WMAgent bootstrap: WMAgent thinks it found the correct CMSSW setup script
======== WMAgent CMS environment load finished at Thu Feb  4 00:06:37 GMT 2021 ========

could also say WHERE it found CMSSW ($VO_CMS_SW_DIR|$OSG_APP|$CVMFS)
Additional context and error message
Add any other context about the problem here, like error message and/or traceback. You might want to use triple back ticks to properly format it.

It should take me 30min to get these fixes in, so let me get over with this sooner than later.


Locals.parser test failures with test-all

The c9561e4f2888e555f0f23e9f0047db19ae9417ca commit fixes the following test failures when run with load-all test-all.  Not sure why these fail, somehow the manifest get is f.  I made the tests pass, but I think there is some kind of bug or bad state that another test doesn't clean up properly that we should fix.
==== resource:basis/locals/parser/parser-tests.factor

resource:basis/locals/parser/parser-tests.factor: 16

Unit Test: {
    { "dobiedoo" [ 1 load-locals 1 drop-locals ] ( x -- y ) }
    [
        [
            { "dobiedoo ( x -- y ) ;" } <lexer>
            [ (::) ] with-lexer
        ] with-compilation-unit [ name>> ] 2dip
    ]
}

1: dobiedoo ( x -- y ) ;
           ^
Generic word current-vocab>> does not define a method for the POSTPONE: f class.
Dispatching on object: f
[Traceback]

resource:basis/locals/parser/parser-tests.factor: 25

Unit Test: {
    { "um" t }
    [
        [
            "um" parse-def local>> name>> qualified-vocabs last
            words>> keys "um" swap member?
        ] with-compilation-unit
    ]
}

Generic word qualified-vocabs>> does not define a method for the POSTPONE: f class.
Dispatching on object: f
[Traceback]

resource:basis/locals/parser/parser-tests.factor: 66

Unit Test: {
    { t }
    [
        [
            qualified-vocabs length H{ } clone
            [ "hey there!" qualified-vocabs push [ ] ]
            with-lambda-scope drop qualified-vocabs length =
        ] with-compilation-unit
    ]
}

Generic word qualified-vocabs>> does not define a method for the POSTPONE: f class.
Dispatching on object: f
[Traceback]

resource:basis/locals/parser/parser-tests.factor: 77

Unit Test: {
    { "V{ 99 :> kkk kkk }" }
    [
        [
            "locals" use-vocab { "99 :> kkk kkk ;" } <lexer>
            [ H{ } clone [ \ ; parse-until ] with-lambda-scope ]
            with-lexer
        ] with-compilation-unit unparse
    ]
}

Generic word search-vocab-names>> does not define a method for the POSTPONE: f class.
Dispatching on object: f
[Traceback]

See https://github.com/slavapestov/factor/pull/1374#issuecomment-116947982

I think this might be fixed, closing until I see it again.


Handle empty error responses

As mentioned in #21, there are some situations in which the same API request method returns an error payload or no error payload at all when an error occurs.
This code makes the APIError.error property optional, to accommodate that case. The APIClient will only try to decode an error payload if the response is not empty.

Works perfectly, thanks for the quick response!


How use external stylesheet?

I trying use external stylesheet in my app but not working? some idea?

Sorry, not using external stylesheet :/
Maybe ask the orginal creator of dompdf


Setting up Monitoring dashboard on Kibana

Description
Below metrics for each instance and cluster:

CPU utilisation, memory utilisation, Disk I/O, DB connection(in case of Postgres), Instance health.

Elastic search indexing metrics

Postgres metrics

Acceptance Criteria
Should be able to monitor instance and cluster on various metrics

Hi

Havn't started yet


firebase in app messaging documentation broken link

https://github.com/firebase/flutterfire/tree/master/packages/firebase_in_app_messaging/firebase_in_app_messaging#usage
has a broken link

Closing in favor of this issue: https://github.com/firebase/flutterfire/issues/6751


Expose ignoreIncludes as an option for mjml2html

Is your feature request related to a problem? Please describe.
ignoreIncludes is an option of MJMLParser, but you can't pass in that option when using mjml's default mjml2html export. For my node.js project, I would like to turn off includes for all my templates easily instead of going through all them and manually removing mj-include statements.
Describe the solution you'd like
Accept ignoreIncludes as an option to mjml2html and pass it along to be used when calling MJMLParser.
import mjml2html from 'mjml'
const output = mjml2html(`
<mjml>
  <mj-body>
    <mj-include path="./header" /> <!-- or 'header.mjml' -->
  </mj-body>
</mjml>
`, {
    ignoreIncludes: true
});

Describe alternatives you've considered
I've considered importing MJMLParser myself and passing the output to mjml2html myself, but I would be worried that the interface could change on me without being aware since MJMLParser is not part of the official documentation.
Additional context
I'm using mjml v4.6.2

This was an option in MJML3, dunno why we no longer expose it to be honest cc @kmcb777 can we add this for next release ?

It's now available in 4.6.3 👍

Thanks for the quick fix!


Fixed home page buttons

Added path to home page buttons; to make them functional.

Reviewed pull request and don't see any issues. The branch has no conflicts with the base branch. Continuing to merge.


\dots

KaTeX does not support the macro \dots which is a synonym for \ldots.  Also, it seems that both are supposed to work in text mode in addition to math mode. Here's the source, from latex.ltx and fontmath.ltx:
% fontmath.ltx
\def\mathellipsis{\mathinner{\ldotp\ldotp\ldotp}}%
% latex.ltx
\DeclareTextCommandDefault{\textellipsis}{%
   .\kern\fontdimen3\font
   .\kern\fontdimen3\font
   .\kern\fontdimen3\font}
\DeclareRobustCommand{\dots}{%
   \ifmmode\mathellipsis\else\textellipsis\fi}
\let\ldots\dots

Also suggests we should add the macros \textellipsis and \mathellipsis which work only in their respective mode.  Looks like there are a lot of other related \text... and maybe \math... symbols that are missing too, e.g. \texttrademark and \textregistered.  I'll work on a pull request...

\dots is discussed in #528. The problem is that with AMSMath it sometimes behaves like \cdots, and that's the behavior we'd like to model.
I'm not sure how important \mathellipsis is, but I guess we could add that, as a synonym to \ldots in our case. \textellipsis might be worth more discussion, since some might argue that the proper way of representing that would be using the unicode codepoint U+2026 to ensure that the meaning is retained if the text gets copied and pasted. Not sure whether that is relevant.
For trademark, registered and so on I guess we simply don't have the symbols included in our fonts. Otherwise #286 should have caught them.

Sorry, this is a duplicate then.  I'll try to implement the amsmath behavior, but continue discussion on #528.

P.S. If I understand symbols.js correctly, \ldots is already defined to be the unicode codepoint U+2026.  So should both \textellipsis and \mathellipsis do the same?

If we have a unicode symbol for this, then yes, by all means, make \textellipsis and \mathellipsis do the same, in their respective modes. I'd welcome a pull request to that effect.


FLAC 5.1 is not supported

According to https://developers.google.com/cast/docs/media#audio-codecs FLAC audio up to 24-bit/96kHz should be supported, but this does not seem to be the case for a movie that contains a 6 channel (5.1) FLAC stream.
The documentation doesn't mention a limitation on the number of channels, but we can perhaps automatically convert FLAC audio streams that have more than 2 channels.

This can be closed since there is now the --stereo option which can be used to recode to 2 channels.


New Obfuscator

This is my new obfuscator and officially release within a days...Is there is a way to decrypt.
https://raw.githubusercontent.com/mithuncoder/pyobfuscate/main/New Obfuscator.py
https://raw.githubusercontent.com/mithuncoder/pyobfuscate/main/obfuscator2.py
Two sample Obfuscator codes.

encrypt this code sample i give and i will try to deobfuscate
print("Hi, try find me :)")

i update the urls with your sample code..
https://raw.githubusercontent.com/mithuncoder/pyobfuscate/main/New Obfuscator.py
https://raw.githubusercontent.com/mithuncoder/pyobfuscate/main/obfuscator2.py


Add support for multiple repositories

This PR introduces a new repositories block in the nexusPublishing DSL. A sonatype repository is preconfigured.
In its current form this is a breaking change: publishToNexus and initializeNexusStagingRepository no longer exists. I could add them back as temporary aliases for publishToSonatype and initializeSonatypeStagingRepository. @vlsi @Vampire WDYT?
@szpak Please also take a look: config from the staging plugin now gets applied to all repositories and the stagingRepositoryId is set every time a InitializeNexusStagingRepository executed. We should probably warn if multiple such tasks for different repositories are present in the same build. WDYT?
Resolves #14.

publishToNexus and initializeNexusStagingRepository no longer exists

I'm fine with that. I can easily adapt to new task names

stagingRepositoryId is set every time a InitializeNexusStagingRepository executed

@marcphilipp , could you please make stagingRepositoryId a public (output) property of a InitializeNexusStagingRepository task?

@szpak Please also take a look: config from the staging plugin now gets applied to all repositories and the stagingRepositoryId is set every time a InitializeNexusStagingRepository executed. We should probably warn if multiple such tasks for different repositories are present in the same build. WDYT?

Simultaneous publishing in one build to 2 repositories (two Nexus instances) with all the workflow recalls a two-phase commit. As I understood @vlsi correctly, currently even him doesn't plan to use it that way.
I might add a warning once someone is trying to override already set stagingProfileId in GNSP, as for NPP it should be fine to operate on two stagingProfileIds in different repositories.

Simultaneous publishing in one build to 2 repositories (two Nexus instances) ...
currently even him doesn't plan to use it that way.

That's right.

I didn't look through all the code changes, but basically this seems nice.
One comment maybe.
Previously you could publish to one repository and change that repositories settings.
Now you can add additional repositories, but there is no clean way to remove one, is there?
So if you want to use the plugin only for an internal Nexus, you now always have the internal and the sonatype repository and tasks and so on.
It might be better to not add any repositories by default and have a convenience sonatype() method that adds and configures it, just like mavenLocal(), mavenCentral(), jcenter() and so on in standard Gradle.

I think that's a good idea! 👍

Now you can add additional repositories, but there is no clean way to remove one, is there?

@Vampire , that's done by NamedDomainObjectContainer#remove  and/or NamedDomainObjectContainer#clear.

Sure, but it's slightly awkward so I'm still in favor of the idea.

Also, would it undo all effects or only remove the domain object?
And besides that, I think I would also prefer explicit config here, with a convenience method. The change is breaking anyway.

Also, would it undo all effects or only remove the domain object?

Sure: https://github.com/marcphilipp/nexus-publish-plugin/pull/37/files#diff-c49d101bfac92e8a26ddf65517c33670R66-R68
That is the approach that Gradle's default signing { sign(publications) } plugin is using.

And besides that, I think I would also prefer explicit config here, with a convenience method

That's a different story.
Frankly speaking, I would love if the whole simple function be embedded right into https://github.com/Codearte/gradle-nexus-staging-plugin
As of now it requires me to wire me two plugins together, and there's Property<> impedance mismatch between the plugins.
Just in case, there are two cases:

Staging is mandatory (e.g. Sonatype Releases repository, or a corporate repository with staging requirement)
Staging is not required (e.g. publishing snapshots or repository with no staging requirement)

If only "create repository" was embedded into g-n-s-p, then it would be a superset of all the cases, and it would be just a way to go.
Alternative option is to deprecate g-n-s-p and add "publish/close repository" features to n-p-p

I'm not sure what you mean.
Why do you need to wire GNSP and NPP manually?
They autowire, you just configure their extensions accordingly and all is fine.

I want to retrieve and print the produced "staging repository id".
I need to prepare a mail that would mention "staging repository URL".
Later I would need to drop or promote that repository, so subsequent gradlew publishRelease should somehow populate staging repository id instead of N-P-P.
It is "funny" that N-P-P generates the id, however it never publishes the ID.

I do not want to declare "the same" repository information (e.g. URLs) twice

1. I want to retrieve and print the produced "staging repository id".
   I need to prepare a mail that would mention "staging repository URL".

That I didn't mean, it could be exposed by either plugin of course.

   Later I would need to drop or promote that repository, so subsequent `gradlew publishRelease` should somehow populate staging repository id instead of N-P-P.

If NPP didn't populate the id during the current run, GNSP will try to detect it by searching for the only open staging repository. I guess you could also set it by some argument if that is your use case by copying it out of the e-mail and pasting it as task parameter or project property.

   It is "funny" that N-P-P generates the id, however it never publishes the ID.

Well, it publishes it to the GNSP plugin that needs it.
Usually a build does not otherwise need it I guess.
But I didn't object to having it exposed.

2. I do not want to declare "the same" repository information (e.g. URLs) twice

Ah, right, if you don't work with sonatype repository you currently have to configure it in both.
Maybe here the communication between the plugins can be improved, e. g. by NPP setting the staging URL in GNSP or similar. But I'd say that should be a separate independent issue, don't you think?

3. Extension names are confusing.

You think so? I don't think I can agree.
The nexus publish plugin cares about publishing to nexus servers and adds a nexusPublishing extension.
The nexus staging plugin cares about closing and releasing staging repositories and adds a nexusStaging extension.

Typical development activity is "just publish a library to Central". Is is really that obvious that it has to be two different extensions to configure?

You don't actually need either of them.
You can just use standard Gradle maven-publish plugin and be good.
Then you upload the release, open the web interface, click on close and click on release.
The two plugins simply ease two aspects of this process.
nexus publish plugin can reduce some boilerplate by adding configuration and can work-around the problem you might have if you send artifacts from different IPs like on Travis.
But if you don't care to do the configuration yourself and don't have the problem of split staging repositories you don't need it.
nexus staging plugin can automate the closing and releasing of the staging repository by providing these actions as Gradle tasks, but if you don't want that, you don't need the plugin.

Maybe here the communication between the plugins can be improved, e. g. by NPP setting the staging URL in GNSP or similar. But I'd say that should be a separate independent issue, don't you think?

Here we discuss how multi-repository support could be added to NPP.
However there should be a discussion as well on "how GNSP would support that".
On the other hand, if GNSP supported initialization of the repository, then NPP would not be required.

The nexus publish plugin cares about publishing to nexus servers and adds a nexusPublishing extension.
The nexus staging plugin cares about closing and releasing staging repositories and adds a nexusStaging extension.

End user does not need that distinction.
End user (e.g. release manager) needs three things:

publish release candidate
promote release candidate as a release
drop release candidate

They do not need the separation between nexus publish vs nexus staging.

You don't actually need either of them.

You are right. Everything can be made from the UI, however that is time consuming and error-prone.

nexus staging plugin can automate the closing and releasing of the staging repository by providing these actions as Gradle tasks

Of course I need Gradle script to close the repository after all publications are done.
For me, it is obvious that if GNSP is for "automate the closing and releasing", then it is natural to teach it to "automate opening of the repositories".

Initially I wrote this plugin to workaround the split repo issue when publishing from Travis. TBH, at this point, I think it would be easier to add closing and releasing functionality to this plugin. @szpak I think we should discuss if/how we can merge the two plugins.

You don't actually need either of them.

You are right. Everything can be made from the UI, however that is time consuming and error-prone.

While you can of course also upload in the UI, I didn't suggest that.
You can upload the artifacts just fine with the standard maven-publish plugin as long as you do not do requests over different network cards like Travis does.
In the UI then just promote the release.

Of course I need Gradle script to close the repository after all publications are done.

Depends on the workflow.
There are people I know that prefer to double-check everything and then click the button to promote the release manually in the Web UI.

For me, it is obvious that if GNSP is for "automate the closing and releasing", then it is natural to teach it to "automate opening of the repositories".

Depends on your workflow.
And as long as the plugins stay separate I don't necessarily agree.
But that is just my opinion of course. :-)

Initially I wrote this plugin to workaround the split repo issue when publishing from Travis. TBH, at this point, I think it would be easier to add closing and releasing functionality to this plugin. @szpak I think we should discuss if/how we can merge the two plugins.

👍 🍾

@vlsi @Vampire I made the change discussed above. Does any of you have time for a review before I merge it?

The code looks good. On the other hand, I have not tried the feature in my projects.

@szpak I think we should discuss if/how we can merge the two plugins.
Do you by any change go to the JDD conference this year? :)

@szpak I'm afraid I not. Let's have a virtual meeting in early September, shall we?

@marcphilipp Sounds good. Let's stay in touch.

I'm a bit late to the party... Did you decide something on combining npp + gnsp into a single thing? From user point of view, this separation just triggers a "wtf", to be honest.

Stay tuned @slonopotamus. Good things are scheduled to come "soon" :).

FYI we're starting work on a joined plugin in a new repo at https://github.com/gradle-nexus/publish-plugin

@marcphilipp It's great news 👍


Performance issue after apply Meltdown/Spectre patches

Recently applied spectre patches and now seeing 30% slowdown can anyone else confirm

Actually, the total execution time is now 0.0000 sec. compared with 0.0000 sec before. So there is NaN% slowdown compared with the case without patches.

Have you tried time traveling? I did that and the slowdown was nonexistent. I don't get why people never try simple problem solving like this in their own.


[msquic] Allow windows build without openssl

Upstream's default TLS for Windows is schannel. However, OpenSSL is required for the 0-RTT capability.
Other platforms do always need OpenSSL, so they implicitly come with that feature.
The vcpkg-ci-msh3 test port is used to ensure that both configurations are tested also for Windows.

Thanks!


STARs and Minor Misc Fixes

Resolves #485.
Enables STARs under the same basic format as SIDs, and fixes a few other items I came across, such as:

Localizer draw distance not being drawn separately for each end
Undoes my previous removal of the circular reference between Aircraft and FlightManagmentSystem, who both have each other as a property (apparently this is not an issue in modern JS, and so I put it back to the way it was, as it is much easier to work with). Verified this does not adversely affect performance.
Adds various improvements to arrival spawning methods (now three methods available: cyclic, wave (different than it used to be!), and surge (new version of the old "wave", that takes more useful parameters: frequency, and entrail, where you specify the entrail distance during the heavy part of the push, and the math does the rest to achieve the desired frequency)
Adds explanations and diagrams of arrival spawning methods
Adds logic that checks to make sure the fixes referenced in an airport are all actually present in the fix listing (logs warnings)

Also worth noting that aircraft will now spawn at the first point along the STAR if spawning via stars. See ksfo.json to see how entries within the arrivals section is changed to acommodate spawning along a STAR.
Demo: http://erikquinn.github.io/atc/b/STARs

I suppose the planes won't descend without altitude restrictions, will they?

The demo is not working in safari!
It stops loading the airport when the plane rj85 is being loaded. I don't know why. It runs on Chrome tough.
When trying to start, I figured out, that taxiing wouldn't work. Not taxi, nor wait. I wasn't able to send "taxi" to the plane. When typing taxi runway 28R/L//(0)1R/L the game would put out the message "callsign, no runway RUNWAY xx". At least it did react to the message and I was able to "send" it

In investigating this^, I did stumble across one thing where issuing caf before taxiing will cause a false positive readback:

@jakobeng1303 The Safari issue is actually unrelated to this, as you'll see if you try to go to the normal zlsa.github.io/atc in Safari. That is related to a known issue, #477, which I updated to include Safari as well.
Taxiing is working fine from what I'm seeing...

When typing taxi runway 28R

Perhaps this is the issue; are you actually typing taxi runway 28R? If so, that would do it, as the correct command would be simply taxi 28r.
Ref. the last problem about timewarping, that is also pre-existing and being investigated in issue #483. If you could describe in greater detail with screenshots and/or console messages and/or s screen recording how that is happening, please head over to #483 and put your comments there so we can get it cleaned up.
But as it stands, I don't believe any of the above are related to this PR in particular.

@erikquinn You are absolutely right with the taxiing. My bad!
The problem with the other things is that all of them only occur in your demo, not in the regular game. That's why I thought, it might be helpful!

This is great! I would like to know exactly how surge and wave work, but apart from that, I say merge it! If/When we decide to have a center control mode, a 'star' command might be useful to have, however we don't need it right now.

@Fechulo I think that a star command might be very useful right now because it suits the purpose better than just route or rr. Another way could be callsign c(leared) xx (star)

@jakobeng1303  I said that it wasn't useful right now, because aircraft enter the airspace already following a star. In the case of Vienna you might be confusing stars with RNAV transitions. regarding the alternative command, I'd  personally stick with [callsign] STAR [name of STAR], since the command [callsign] C [name of STAR] might have conflicts with the 'CLIMB' / 'C' command.

@Fechulo that is probably the best one

Okay, if it seems good to you guys, we can go ahead. :smile: And then I think it'll be time to update the documentation to reflect the changes and tackle the pile of small bugs that have come up lately... (yawn!)
@Fechulo there are some thorough descriptions in the code, see airport.js in each of the zlsa.atc.Arrivalxxxxxxx definitions. I'll work on getting the other documentation in sync with what's shown there, but there should be enough detail there to outline it. Basically, the old "wave" is now called "surge" (but takes different parameters), and the new "wave" is just like "cyclic", but instead of rate of change of the arrival rate being constant, it will oscillate from the highest rate to the lowest rate in a sinusoidal pattern. There are pictures that explain it better in commented-out code.


Add the ability to query the compiler version and the C++ standard being used

This is largely adapted from the Cloud C++ APIs with the following changes:

added C++20 to the list of possible standards;
added "latest" as a possible C++ standard for MSVC;
added the C++ standard library vendor to the compiler info string, primarily to track STLPort.

The string I'm getting when running this code on my Mac is AppleClang-<IP_ADDRESS>30032-ex-2011-libcpp.
#no-changelog

On a second thought, this should be moved into the public C++ (I forgot Android cannot access api).


mit-scheme: avoid -march=native

Setting -march=native, which is what --build-from-source does, can fail
with an error that looks like this:
The object (#[compiled-closure 12 ("rtlcon" #x1) #x7 #xdf2f2 #x68483f]
#[compiled-procedure 13 ("cfg3" #x23) #x3 #xe29e2] plus-fixnum #[false
14 #x40202] . #[false 15 #x147a3]), passed as the second argument to
apply, is not the correct type.
Only Haswell and above (i.e., Haswell, Broadwell, and Skylake currently)
appear to be impacted.
Reported 23rd April 2016 to https://savannah.gnu.org/bugs/index.php?47767
Also, fix "configure: error: No MacOSX SDK for version: 10.10."
Reported 23rd April 2016: https://savannah.gnu.org/bugs/index.php?47769

Looks good and thanks for reporting upstream.

Great, and you're welcome :)


Adding rasterplot function to generic.py

I wonder how to best make unit tests (not in this PR, more in the future) for these functions. Maybe unit tests to test that various inputs do not error, and unit tests that produce a "picture book" of plots that can be manually controlled? This could also be useful as a documentation... Anyhow, I do not think that a pixelwise comparison with the "ground-truth" plot would work due to the dependence on the back-end...


Improve change token functionality

What type of PR is this?
Bug Fix
What does this PR do / why is it needed?

When downcasting ignore null value fields
Allow user to pass Versions or JSON String of Versions for processing

Which issue(s) this PR fixes:
N/A
Other notes for reviewers:
Does this PR introduce a user-facing change?
No

Can we add a test case that covers the problem that triggered this bugfix, showing it is not a problem anymore?

Hi - done


Hot reloading a page with streambuilder bugs out

I have a Streambuilder listening to a behaviourSubject broadcastStream, but whenever I Hot Reload or Hot Restart the code for any small change, The streambuilder stops seing what's on the tip of the stream, forcing me to re-do what I originally did to fill the stream

Unfortunately this is not enough information to diagnose the problem.
Please add the output of flutter doctor -v
and the code for a working minimal reproduction (main.dart).

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

I'm actually experiencing this problem.
When the app is hot reloaded, the streambuilder stream gets resetted and set to the initialData. Meaning no state is preserved on hot reload.
Happens on every single streambuilder I have. For example
  Widget _buildUserAvatar(UserService userService) {
    return StreamBuilder(
      stream: userService.loggedInUserChange,
      initialData: null,
      builder: (context, AsyncSnapshot<User> snapshot) {
        var user = snapshot.data;

        var avatar;

        if (user == null) {
          avatar = AssetImage('assets/images/avatar.png');
        } else {
          avatar = NetworkImage(user.profile.avatar);
        }

        return Container(
          child: null,
          decoration: BoxDecoration(
              image: DecorationImage(image: avatar, fit: BoxFit.cover)),
        );
      },
    );
  }

Loads well when the app is opened, once its hot reloaded the initialData is set to null and therefore state lost.
Here's the doctor output
[✓] Flutter (Channel dev, v0.10.0, on Mac OS X 10.14 18A391, locale en-NL)
    • Flutter version 0.10.0 at /Users/joelhernandez/Documents/code/flutter
    • Framework revision d954ae6850 (4 weeks ago), 2018-10-09 16:21:06 -0400
    • Engine revision bf377896ff
    • Dart version 2.1.0-dev.6.0.flutter-a50dfd6698

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.2)
    • Android SDK at /Users/joelhernandez/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 27.1.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.4)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 29.1.3
    • Dart plugin version 182.4999

[!] VS Code (version 1.25.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • iPhone XR • FA438BBC-174B-4CD2-88A1-781FB12304BC • ios • iOS 12.1 (simulator)

The state is preserved but also build() is run again and this causes StreamBuilder to re-subscribe.
You probably don't want to use StreamBuilder and instead subscribe imperatively to the stream yourself in initState

I experienced the issue too. It's not the end of the world, but it's kinda annoying that we have to avoid StreamBuilders in the upper hierarchy of our apps to keep hot-reload happy. At the same time I understand there are benefits to maintaining a disciplined StreamBuilder api.

If the stream is the same it shouldn't be rebuilt (see https://github.com/flutter/flutter/blob/aae968cd455cd6a4fbd3861afe0f5c55c75e6e2c/packages/flutter/lib/src/widgets/async.dart#L115). It sounds like you are creating a new stream on build accidentally.

Ah, good to know! Working through this saved me a bug. So, for stream-heavy apps that use bloc-style services injected via inherited widget, a couple of implications are:

Bloc methods that return streams should return the same stream instance if they want to trouble themselves with avoiding a connecting state on hot reload. (kind of standard behavior for app-level streams like 'user' or 'user-email')
Take care not to instantiate Bloc-like services in a build method b.c. Bloc instance change -> stream instance change (actually this is general good advice for Flutter rookies like me who care about managing a handful of high-level app service instances)

Ah, good to know! Working through this saved me a bug. So, for stream-heavy apps that use bloc-style services injected via inherited widget, a couple of implications are:

Bloc methods that return streams should return the same stream instance if they want to trouble themselves with avoiding a connecting state on hot reload. (kind of standard behavior for app-level streams like 'user' or 'user-email')
Take care not to instantiate Bloc-like services in a build method b.c. Bloc instance change -> stream instance change (actually this is general good advice for Flutter rookies like me who care about managing a handful of high-level app service instances)

I'm having the same issue, i set the user id from before i get to the home page which has 4 pages into it including a profile page and in the profile page i need the user id .. at first i can retrieve it from the bloc, but when i hot reload the stream returns null..
Do you have any idea how i can fix my issue..
Let me give you a clear picture first..
There's an
== InitializationPage in it i set the: BlocProvider<userInfoBloc>(bloc: UserInfoBloc, child ConnectPage).
==ConnectPage is a stateless widget in the build method i call
UserInfoBloc userInformationBloc = BlocProvider.of<UserInfoBloc>(context);
FirebaseAuth.instance.currentUser().then((currentUser){
      userInformationBloc.onUidChanged(currentUser.uid);
      Future.delayed(const Duration(milliseconds: 1000), () {
        _redirectToPage(context, HomePage());
      });
    });

==HomePage() has a NavigationTabBar with 4 Pages including ProfilePage()
==ProfilePage is a statefull widget, i've tried to call the bloc from the build method and from initState() but each time after reload it Uid from bloc returns null;
Any help is appreciated, thanks.

@zoechi Hi,
You mentioned "...subscribe imperatively to the stream yourself in initState",
Can you please provide a rough example of this?
Rolling my own Providers and Blocs (best way to do it, not using provider or builtValue), say for an AuthBloc, has an accounts stream accessed via bloc.accounts, the StreamBuilder stream prop  is bloc.accounts. The reload is re/unsubscribing from the stream and the StreamBuilder has no data. How then could  this stream data be set to the Screens State?
Thanks

Create stream outside widget, keep it as a singleton object, thus StreamBuilder work as usual


[Android build] IOException: The file exists

Describe the bug
When I build the demo android sample, It's successfully at first time, but I rebuild, it will show the error

Steps to reproduce

Build to apk, and installed
Rebuild but it can not because the error

LLMUnity version
2.2.4
Operating System
Windows

Hi! This could be due to an interrupted build.
Could you try again after deleting this folder?
C:\Users\[USER]\AppData\Local\Temp\[COMPANY]\[PROJECT]\LLMUnityBuild
The company name will be "DefaultCompany" if you haven't specified it in Unity

The above solution should resolve the issue, let me know if you still face it

Same happen to me on unity 6000.0.24f1. Need to restart my computer to build (and not clic on play button before).
I got the error even if i restart unity, directly whene scene open in editor.
IOException: Le fichier existe
System.IO.FileSystem.MoveFile (System.String sourceFullPath, System.String destFullPath) (at <321eb2db7c6d43ea8fc39b54eaca3452>:0)
System.IO.File.Move (System.String sourceFileName, System.String destFileName) (at <321eb2db7c6d43ea8fc39b54eaca3452>:0)
LLMUnity.LLMBuilder.HandleActionFileRecursive (System.String source, System.String target, LLMUnity.ActionCallback actionCallback) (at Assets/LLMUnity/Runtime/LLMBuilder.cs:37)
LLMUnity.LLMBuilder.HandleActionFileRecursive (System.String source, System.String target, LLMUnity.ActionCallback actionCallback) (at Assets/LLMUnity/Runtime/LLMBuilder.cs:47)
LLMUnity.LLMBuilder.MovePath (System.String source, System.String target) (at Assets/LLMUnity/Runtime/LLMBuilder.cs:79)
LLMUnity.LLMBuilder.MoveAction (System.String source, System.String target, System.Boolean addEntry) (at Assets/LLMUnity/Runtime/LLMBuilder.cs:118)
LLMUnity.LLMBuilder.Reset () (at Assets/LLMUnity/Runtime/LLMBuilder.cs:204)
LLMUnity.LLMBuildProcessor.b__5_0 () (at Assets/LLMUnity/Editor/LLMBuildProcessor.cs:58)
UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at <5d5fdc1eeb2a4f39b26caadc7b79ec7e>:0)

can you also delete the Assets/StreamingAssets/undream* folder, restart Unity and wait for it to be downloaded again?

ok i deleted temp folder and streamingAssets content folder, restart unity , it start downloading zip file in temp folder, extract it in streamingassets folder, remove the zip file from temp folder, "Download Complete"
i click play mode (android demo scene) > all is ok no error.
Build on android > UnauthorizedAccessException: Access to the path 'undreamai_windows-avx2.dll' is denied.
the temp folder get all the platforms but the streaminasset folder can't be totaly empty, it stay some platforms with windows-avx2.
The LLMBuilder.cs script can't remove the undreamai_windows-avx2.dll , need to stop it before .

Maybe ? https://www.forrestthewoods.com/blog/debugging-a-dynamic-library-that-wouldnt-unload/

Thank you! I free the library here.
It needs some investigation..

yes :) , that why i think about looking inside the dll....
thank you to look at it !


Strange solution

Description

I cleaned up some bad shutdown code
I tried to sidestep our race condition and it seems to work (for now)

The strange solution:
We tru to bypass bug on https://github.com/python/cpython/issues/103911#issuecomment-2333963137
by taking this branch  https://github.com/python/cpython/blob/d8f3c1e8f9c384fa6a473c3923f3b26ad6257cac/Lib/subprocess.py#L1850
May have security implications, keeping FD's open is definitely not clean
result
Running on a branch in a loop , ideally this produces a clean crash that leads to a  fixable cause
After a few hunderd tests: it seems to actually fix it
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
[ ] If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)

Processing this pull request

Merged into branches master in e6db1b5a25ee044290dc53d4a85fe5d7533ca6fe


Add TLS support

Add env vars and TLS support for those wanting to use MQTT TLS. I've built and tested this image and confirmed it is working after setting the TLS env vars.

Great stuff, thanks for the PR 😄


Rustdoc and Mdbook deployments are broken

Describe the bug
We're not publishing rustdoc or mdbook any more, because something is broken in the deployment flow: https://github.com/penumbra-zone/penumbra/actions/runs/3554976970

hopefully addressed by #1671


Send session data

It would be nice to see sesson data in sentry issues. I plan to implement it, could such a PR be accepted?

Session data may frequently be sensitive, so I don't think it should be added as a default.

@Jean85 ok, what about disabled by default + some easy way to enable it in config?

That would be better...

@Jean85 added #144
let me know if its acceptable

First and foremost, we should differentiate between $_SESSION and the session service, it's not the same.
Second, the sentry-php behavior shouldn't be changed, too much stuff relies on that; the bundle should adapt itself to that, not the other way around.
Third, I think we should clarify what stuff should or shouldn't be sent from the session to Sentry; I fear that sending the whole session data is detrimental at the end.

@Jean85 well, current sentry-symfony-bundle + sentry-php behavior is kind of strange - for not logged in users it send all session data(including symfony internals session data), for logged in users - do not send any session data.
as for me - most logical way would be mimic sentry-php behavior, with username instead of session_id and _SESSION array in $user['data']

ok, in my case I have such a bug with bundle - session data is not send for logged in users.
I have solved it using simple EventSubscriber
<?php
namespace App\SomeBundle\EventSubscriber;

use Sentry\SentryBundle\SentrySymfonyEvents;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpFoundation\Session\Session;
use Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent;

class MySentryEventSubscriber implements EventSubscriberInterface
{
    /** @var \Raven_Client */
    protected $client;

    /** @var Session */
    protected $session;

    public function __construct(\Raven_Client $client, Session $session)
    {
        $this->client = $client;
        $this->session = $session;
    }

    public static function getSubscribedEvents()
    {
        // return the subscribed events, their methods and priorities
        return array(
            SentrySymfonyEvents::PRE_CAPTURE => 'onPreCapture',
        );
    }

    public function onPreCapture(Event $event)
    {
        if ($event instanceof GetResponseForExceptionEvent) {
            $this->client->user_context($this->session->all(), true);
        }
    }
}

@Jean85 issue is closed on my side. Not sure what should we do with bundle - let me know.

I would avoid changing the bundle further for now; there are plenty of extension points, as you did use.
If this will be requested by more users, I would reconsider implementing something new.


LaTeX view not updating when string input updated

Title is self explanatory. Take this code for example:
import SwiftUI
import LaTeXSwiftUI

struct TestView: View {
    @State var varLatex = "$a$"

    var body: some View {
        VStack {
            Text(varLatex)
            LaTeX(varLatex)
            Button("Switch") {
                varLatex = "$b$"
            }
        }
    }
}

#Preview {
    TestView()
}

When the button is clicked, varLatex is updated and so is the Text view. But the LaTeX view is not updated... I have tried on multiple examples: whenever the input is updated, the view does not. And there is no workaround...
It feels like the LaTeX only works with constant strings, since iterating with ForEach over a constant list of strings works perfectly.
My knowledge in Swift is too little for me to open a PR... I hope this can be fixed soon!

have some issue. Fix is highly demanded and appreciated

Same experience here.
However, @colinc86 I've figured out that this problem was introduced at some point after version 1.1.0 based on my having created a project in early June 2023 that used LaTeXSwiftUI, and having everything work as expected.
For example, the code below works with version 1.1.0:
import SwiftUI
import LaTeXSwiftUI

struct ContentView: View {

    @State var radius = 0.0

    var body: some View {
        VStack {
            Text("\(radius)")
            Slider(value: $radius, in: 0...100)
            LaTeX("$$A=\\pi ^2$$")
            LaTeX("$$A=\\pi (\(radius))^2$$")
        }
        .padding()
    }
}

With the latest version, 1.3.0, when you drag the slider, the view is not updated.
I hope this helps. Thank-you for developing this package – it's really useful for myself as a Computer Science and Mathematics teacher, and, for my students.

Follow-up: it is version 1.2.3 where the code in my comment above breaks. Any version lower than that and the LaTeX view updates as expected.

The past few months have been very busy for me, so I apologize for not keeping up with this as much as I would have liked. I've updated the package to version 1.3.1, and it should work now with the examples you all have provided (which I very much appreciate). Thank you for the feedback!

Completely understand about being busy – no need to apologize. Can confirm on my end as well that 1.3.1 works as expected, trying out the example I provided earlier. My students and I very much appreciate your efforts to build and maintain this package. Thanks!

No need to apologise indeed, thank you for this great package!


add county_source to the sdk

ClickUp: https://app.clickup.com/t/86b2rzryh
you may need to run npm run build to build the code before testing.
I added an example address to the example file. To test, run the us_street example and see that the output for county_name is Johnson and the county_fips is 48251.
If you uncomment line 33 in the example, enabling geographic county source, you'll see the output for county_name change to Tarrant and county_fips change to 48439
Once this is approved I'll revert the changes to examples/us_street.js

@ducanbeu
I'll revert the changes in the example file after it's been reviewed, I just left the changes there for ease of testing.


Add save/load state examples to README file

Hello again,
This is a rather simple pull request, just added load/save state examples to the readme file.

Super, thanks @ninjadynamics! Looks like your git repository is in a tangle though -- you have a merge commit and some commits from master in there, and there are merge conflicts.
It might be easiest to start a new branch based off bfirsh:master, then cherry pick the commits you want to keep.
Also: would you mind putting the saving state example at the end of that little block of examples? I think have running frames and controls first makes more sense as a narrative of how it works.

Hi! Sure, I'll try to do some housekeeping! This is actually my first time collaborating on github, so sorry about that! '^__^

Alright, I think I have everything in order now. :)
My repository contains only 3 little changes:

Replaced "let" with "var" to fit the project code style (also the linter was complaining)
Added the save/load state examples to the readme file (at the end of the block, as requested)
Added 'workflow_dispatch' to the workflow file, so that JSNES can be built on demand on the GitHub 'Actions' tab

Wonderful, thanks. Unfortunately it still looks like your branch is broken. You might want to google how to rebase a git branch, or create a new branch and cherry pick.

Unfortunately, I can't see any conflicts on my side... Should I "refork" JSNES, apply the changes and create a new pull req?

You don't need to refork -- probably best to make a new branch, then cherry pick the commits you need. GitHub docs should be able to help you out here, and I can also do myself when I have a bit more time :)

I tried rebasing as you suggested. All tests green and GitHub reports no merge conflicts. If it doesn’t work, I don’t know what else to do. 😐


Stable/3.3.1

Hi @jacmoe,
This PR includes some fixes for your library which is already in conan-center.

Fixes library sources and recipe licenses. The license for sources is BSD 3-Clause, please fix it also in Bintray properties
Fixes fPIC for Windows

Please create stable/3.3.1 branch in your repo based on these changes. I'm going to submit another version 4.1.0 of this library so you can keep both version in different branches.
CI jobs will only submit artifacts to bintray from stable branches.

@pvicente these look great. Thanks for putting the time into them.
@jacmoe do you have a chance to merge these soon? That would be totally awesome

@shearer12345  there is also https://github.com/jacmoe/conan-assimp/pull/8 for version 4.1.0 it would be great if @jacmoe merges it too.

Yes I agree ;-)
Been busy with the family, but I am going to be on it this week :-D

Awesome. That's great news :)
--
John Shearer
On 27 March 2018 at 13:11, Jacob Moen<EMAIL_ADDRESS>wrote:

Yes I agree ;-)
Been busy with the family, but I am going to be on it this week :-D
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jacmoe/conan-assimp/pull/7#issuecomment-376501821,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADquLdyOk27vgGzk8UxNIxI9i3dh73mtks5tiixVgaJpZM4Sm_IF
.

any update on this @jacmoe?
The Conan team would like to have this changes available in the official conan package.
Thanks!

Uhm, whoops - yes :smile:
After two times the flu and a new computer I am getting ready to do this!
Thank you for your patience.
I am very close to having set my new machine up the way I want it, so ...

I merged this directly into stable/3.3.1 :)
Github is apparently not intelligent enough to recognize it, or I am not intelligent enough to do it properly?

Yeah, maybe it didn't catch the way you did the merge. But dont worry, I see the commits there.
Thank you so much @jacmoe!


Documentation

The only docs we have its the README and features like that introduced by #21 are not easy to understand if you are not an experienced developer.
What if we strat proper documentation like in other CTA projects like ctapipe/protopipe?

I have a question about using this. I am using the CorsikaParticleFile and I don't understand the particle_description parameter. They don't seem to correspond with particle IDs I know. For reference, I want to look at all the muons from an event.

Hi @mathewpotts
The particle_description is what is written by CORSIKA, you can find it's definition in the CORSIKA manual, Table 10 on page 135 (page number on the page) / 147 (page number of the PDF).
It's a composite value of the particle id and other information:

particle description encoded as:
part. id×1000 + hadr. generation × 10 + no. of obs. level
[for additional muon information or id 95/96:
part. id×1000 + hadr. generation

So to get the particle id, you need to compute:
particle_description // 1000

The scikit-hep particle package can help you with this a bit:
from particle import Particle, Corsika7ID

In [8]: Corsika7ID.from_pdgid(Particle.from_name("mu-").pdgid)
Out[8]: <Corsika7ID: 6>

In [9]: Corsika7ID.from_pdgid(Particle.from_name("mu+").pdgid)
Out[9]: <Corsika7ID: 5>

https://github.com/scikit-hep/particle
Small example:
import numpy as np
from corsikaio import CorsikaParticleFile
from particle import Corsika7ID, Particle

MUON_IDS = [
    Corsika7ID.from_pdgid(Particle.from_name("mu-").pdgid),
    Corsika7ID.from_pdgid(Particle.from_name("mu+").pdgid),
]

with CorsikaParticleFile("./DAT000006") as f:
    for e in f:
        particle_ids = e.particles["particle_description"].astype(int) // 1000

        # boolean mask for all muons
        muons = np.isin(particle_ids, MUON_IDS)

        # count them
        ids, counts = np.unique(particle_ids[muons], return_counts=True)

        # print as dict
        for cid, count in zip(ids, counts):
            p = Particle.from_pdgid(Corsika7ID(cid).to_pdgid())
            print(p, count)


Jobs migration: tests

Summary
Port tests from v3.x if any exists and add relevant cases as needed

Is this relating to jobs? Are there any frontend functions relating to jobs? Backend testing is covered under https://github.com/SciCatProject/scicat-backend-next/issues/626.
(Sorry if I unassigned anyone improperly; I first thought this was the backend issue)


bug: Some URLs are not being generated correctly

Relative source URLs referencing external content are not being generated correctly.
Example:
CLA link from here:
https://kubernetes-contributor.netlify.com/guide/contributor-cheatsheet/#signing-the-cla
Original:
[cla]: /CLA.md#how-do-i-sign

After being imported:
[cla]: /CLA.md#how-do-i-sign

It should be expanded to reference the full github url below:
[cla]: https://github.com/kubernetes/community/blob/master/CLA.md#how-do-i-sign

/kind bug
/priority important-soon
/assign

That 404's when viewing it on the contributor site. The link generator should update the link so that it works - It'd link to the GithHub page by updating it to be this:
https://github.com/kubernetes/community/blob/master/CLA.md
It does that for MANY URLs for example, in contributing.md the e2e test url is this:
[document detailing e2e testing](/contributors/devel/sig-testing/e2e-tests.md)

That link would break on the contributor site because it is a file reference. The process_content function will expand it to this:
[document detailing e2e testing](https://github.com/kubernetes/community/blob/master/contributors/devel/sig-testing/e2e-tests.md)

For reference:
https://github.com/kubernetes-sigs/contributor-site/blob/fe36c430d92ed0a81cb85e154fa092f55912a3be/hack/gen-content.sh#L68-L89
I do need to update it to say it does not use the shortner anymore, but will update it with the github.com address


Scheduler usage

I'd like to make use of the scheduler so that I can check login status on a thread, and set up the realm once logged in on the main thread.
I'm using Scheduler::invoke on a scheduler created with Scheduler::make_default(). Is there something I'm missing?
            auto scheduler = realm::util::Scheduler::make_default();
            std::thread loginThread ([this, username, scheduler]()
                                     {
            try
            {
                std::future_status status;
                // TODO: Improve security with JWT based login
                std::string credentials = "{ \"username\": \"" + username + "\" }";

                std::cout << "Logging in..." << std::endl;
                auto userFuture = app->login (realm::App::credentials::function (credentials));
                std::cout << "Waiting for response" << std::endl;

                do
                {
                    switch (status = userFuture.wait_for (50ms); status)
                    {
                        case std::future_status::deferred:
                            std::cout << "deferred\n";
                            break;
                        case std::future_status::timeout:
                            std::cout << "timeout\n";
                            break;
                        case std::future_status::ready:
                            std::cout << "ready!\n";
                            break;
                    }
                } while (status != std::future_status::ready);

                user = userFuture.get();
                std::cout << "Logged in. User ID is " << user.identifier() << '\n';

                scheduler->invoke ([this]
                                   {
                                       setupSyncedRealm();
                                       setupSubscriptions();
                                       setupObservers();
                                   });
            }
            catch (const realm::app_error& e)
            {
                std::cout << "Error logging in: " << e.message() << std::endl;
                return;
            } });

            loginThread.detach();

@adamski The scheduler is not intended to be used this way, its purpose is to perform change calculations for notifications and notify the callback when they are ready.


Enable special color when force-push is needed

What do you think?
It looks like this:

green (or grey, not sure) text on orange is not so readable. Complementary color to orange is blue. maybe would be more visible ?

OK, this is not properly visible in any combination.
Let's go with brown/orange color like this:

looks better indeed.


Add support for comments/term reference in nls

Most translation tools allow specifying a comment/description to help with translation as often just the phrase along is not enough, consider the following 2 strings:

While I can certainly take a good guess at what the right translation is, it's hard to know for sure without knowing additional context since the work has several meanings which may not be the case in different languages. For example remote could mean a physical remote control, remote access or a location far away.
Another very ambiguous example:

Just discovered we can do this already via LocalizeInfo


fix link to gh-action

Changed link to third-party gh-action (zephraph/toolchain -> oxidecomputer/actions-rs_toolchain).
Fixes that.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
89

Relevant Lines:
175

💛  - Coveralls


New auto ml tabular classification bean

Modify Notebook: Auto ml tabular classification beans.ipynb

[X] Use the notebook template as a starting point.
[X] Follow the style and grammar rules outlined in the above notebook template.
[X] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[X] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[X] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[X] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

There are still 3 review comments to address


Question: Why is this popular?

For some reason, this repo is really popular but what's the purpose? You could use reqbin instead. What makes postwoman different than other websites for this?

Good question! Actually I don't have a clear answer, but I think devs love an open source alternative. That's why.

Good question, good answer. 😄

I think reqbin and other alternatives are aimed more at being a website that allows you to make requests.
Postwoman is much more than that - whilst our service can be used as a website, it's really a lightweight application and we have a lightweight proxy server (2MB in memory) to facilitate using Postwoman for testing local services.
We also offer WebSocket and GraphQL support which isn't as common as plain HTTP requests. In other words, our application is as powerful (or getting to be as powerful) as the more heavy applications whilst remaining very lightweight.

Got it!


Mangasee - If title has changed, manga will stop updating

Describe the bug
If Mangasee changes the title on a manga, the manga will stop updating even though the URL is the same.
Mangasee will change the title of a manga that has a romaji title, if that manga gets an official english title.
Reproduction steps

Add a manga
Wait
?????
Mangasee changes title
Kaizoku/Mangal stops finding updates

Expected behavior
The manga should still get updates.
Additional context
No response

This is not mangal, go to them.

This is not mangal, go to them.

The issue is how Kaizoku runs the search (exact title search), this is something for Kaizoku to fix, not mangal.

This is not mangal, go to them.

The issue is how Kaizoku runs the search (exact title search), this is something for Kaizoku to fix, not mangal.

Oh thats interesting, i have yet to see oae do any work on the project since february tho, so it might be a while lol

This is not mangal, go to them.

The issue is how Kaizoku runs the search (exact title search), this is something for Kaizoku to fix, not mangal.

Oh thats interesting, i have yet to see oae do any work on the project since february tho, so it might be a while lol

It could probably be fixed somehow in Mangal though, but it should rather be that Kaizoku should notice that the search gives back no results when running it and let you update it or something.


Multithreaded Computation or slow CPU

Hi,
I'm really like this approach to the problem.
The thing is when I use big sets of small rolls (typically around 70 units) it's freezes.
My question is my computer slow ( i5-4460 with 8 Gb of RAM) or is this computation single-threaded?
How can I work is around?
Thank you in advance

Hi @TheDammedSon,
This code is actually expansion of Serge Kruk's code: cutting_stock.py, the code accompanying his book Practical Python AI Projects.  Which is meant for learning rather than production usage.
In Optimization Problems like Cutting Stock Problem, the time to solve the problem (as well as problem space) increases exponentially with the increase in input size.
I think your machine is good. This implementation is not optimized for higher inputs or multi-threads.
The work around is to either use some production ready Cutting Stock Solver or learn OR-Tools and optimize this Cutting Stock Solver.
Helpful links:

Constraint solver beginner questions: can it be multi-threaded? How can I improve speed?

@TheDammedSon if you successfully increase the speed of this algorithm, please feel free to create a Pull request.


It's dropped in v9. We still support CUDA 9.0 in v8.

ah yes, sorry!


Aggregate the dockerfile runs

The idea was to set up a bunch of dockerfile containers to run on the same runner. Not sure if this is worth it, since the current setup is easier to read and maintain.
Aggregating would reduce the number of runner required but increase the code complexity


Prevent swipe for a single slide

I am using a php while loop to load slides from sql..
When I have multiple slides swipes work okay, but when there is only 1 slide you can still swipe right and left and it just loops the same slide again.. Is there a simple way to prevent this and have it fixed?
Best Regards,
Greg

hmm
if ( count( $yourVariable) > 2 ) {
// then include your swiper stuff
}

@paOol the question is for the swipe functionality only, without switching off all other functionality which could include customisations.
The logic is to use the swiper api onInit callback function to modify the slider setting and trigger the swiper update.

Could anyone, or @klihelp, expand on the answer above? I have a site using Swiper were pages often have just one slide. For these I want to remove autoplay, and disable any touch swipe action.
Here's the sort of thing (not working) that I've tried:
var mySwiper = new Swiper ('.swiper-header', {
  'onInit': function(){
    if ( mySwiper.slides.length > 2 ) {
      this.autoplay = false
    }
  },
  direction: 'horizontal',
  loop: true,
  autoplay: 2000,
  autoplayDisableOnInteraction: true,
  spaceBetween: 16,
  nextButton: '.swiper-button-next',
  prevButton: '.swiper-button-prev',
});

In the above code, the slides.length is not accessible there.
Interesting, if I remove the 'if' statement, and just set autoplay to false in the onInit function, the swiper slides once, then stops.
What am I doing wrong please...


Do geometry calculations

Various parts of the game engine "rely" on being able to tell whether Thangs contain or intersect each other, or how far away their nearest edges are. Thangs are either ellipses or rectangles, and may be rotated.
I haven't actually finished the geometry calculations to determine most of the rectangle-rectangle, rectangle-ellipse, or ellipse-ellipse distances, intersections, or containment, especially with rotation.
So currently most of the calculations which would depend on those are hacked around--instead of Thangs being able to collect or melee attack each other if they're touching, instead they can do so if their center points are closer than their attackRange or collectRange or whatever silly nonsense property I have. This is fiddly and not good.
Since this is so CodeCombat-agnostic as to not require figuring out good test cases within the game engine itself, I've pulled out the relevant code into a Codepen so it'll be easy to play with:

http://codepen.io/nwinter/pen/itsgx
Update--Julia has made some progress here: http://codepen.io/julenka/pen/DkEtb
Fork that, have fun, and do however much you want to do toward:

Getting my simple tests at the bottom to work by calculating distances from edges instead of centers
Adding more tests to make sure
Making it work with rotation
Filling in methods like Thang.intersects and Thang.contains in addition to Thang.distance.

It might be helpful to also add a simple graphics layer that draws the shapes you're working with in Thang's toString() method (before it returns the string).
Or if one prefers, they can hack on the Vector and Rectangle code in the repo itself, with some of it being in the physics.Physical Component in the level editor. Adding tests to our testing system would be pretty sweet, too.

After doing quite a bit of digging and maths, the few remaining methods might not be worth it to implement if the current approximations are "good enough." In specific, there's no practical analytic solution to those problems, so root finding or some other iterative approximation is necessary. While certainly doable, the cost of computation is high (at least in comparison to the other geometry tests). If there's enough desire for them still, I'll implement them and you can decide if/when to use them.

Let's call it done, then! Nice work, everyone.

huzzah!

Seems I spoke to soon. I believe I've found an analytic solution.


Disease performance improvements

Raycast should never be done before trycomp.
Also fixed some IDE warnings but there's still more.

This PR broke the disease outbreak event

bet it's this method which needs a cleanup


Add option to disable insertion of snippets

This pull request adds an option "EnableSnippetInsertion" (default: true) that allows configuring whether snippets should be inserted when completing a method/function call.
I tried to keep insertion of snippets if the function was a declaration even if snippets are disabled but this comes with a lot of edge cases so I left it out. The auto-implement functionality can always be used to generate the implementation with all the parameter declarations filled in.

Thanks!


to create new several failed output checks for contains-string matcher

According to creating new matcher #134 we need to add some new checks

@Graur done


Add line and line stop to plattform api

Great job so far, almost there.
Besides my comments, please have a look at the spec/ioki/platform_api_spec.rb. There you can add some specs for the added endpoints 👍

Thank you for the review Tom. I will look on it and apply the changes.


A strange issue when changing to monarchy

When I change from despotism to monarchy I get a bunch of "this city cannot support unit" messages. One of my cities (size 4) cannot support even a single unit. I'll try to compare this with original.

I noticed this too when I switched to Democracy. Not sure what happened, but there's definitely something wrong here.

I think cities support non-caravan/non-diplomat units up to their population limit for free in Despotism, but cost a shield each in Monarchy and Democracy.

I believe this is currently implemented as such, or has something gone wrong?
Can someone confirm there's something wrong with the current unit costs implementation, because I couldn't find anything (yet).

Can we confirm that this is a bug and steps to reproduce it?
I'm checked and it seems to work correctly...
Moving to alpha.2 milestone.

I believe this is working as intended because cities support non-caravan/non-diplomat units up to their population limit for free in Despotism, but cost a shield each in Monarchy and Democracy.  If a city has no shields in Monarchy and Democracy, it can't support any non-caravan/non-diplomat units.

Thank you. I'm going to close this issue. If we find any proof that something is wrong, we can reopen it or make a new issue.


unRaid V<IP_ADDRESS>

Hello,
Sorry if this isn't the right place to ask this - I see the dockerfile on Github was updated to support the new version of Cloudberry <IP_ADDRESS>. In unRaid I have the older 3.1.3 version on a fresh install. I check for updates in the GUI but none show as available. Is this something on my end or your end?
Thank you!

Gotcha. So we'll need to wait for the next version of Cloudberry to be released so it can be testeD?

See https://github.com/jlesage/docker-cloudberry-backup/issues/27 for latest news on this.


Laboratory work #1, Chistyakova Vasilisa - 19FPL2

The deadline is not that far - consider pushing changes so that we can review them.

Open another PR with lab_2.


Layers should use floating point tensors in their interface

This way the layers can be 2 times faster, because of float-based vectorization of various linear operations.

Moved to 0.3 as it may require significant adjustments in the accuracy tests & the optimization module.

Using double in the end as using floats impacts negatively the numerical optimizers.


Implement a menu technology which uses the inexor tree for loading menu items, actions and submenus

Tiles Menus (a flat 2D menu)
Arbitrary tiles configuration:

e.g. 3x3 tiles = 9 tiles = 9 menu entries
e.g. 4x4 tiles = 16 tiles = 16 menu entries
e.g. 5x3 tiles = 15 tiles = 15 menu entries

Why tiles?

clearly arranged
takes less room than 1D menus
easy navigation with keyboard and without mouse
you can represent simple dialogues using menus

e.g. Yes/No or Ok/Cancel: 1x2 tiles
e.g. Map voting for 4 maps: 2x2 tiles with map screenshot as background

you can represent a 1D menu as well (e.g. 1x10 tiles)

Web User Interface (inexor-game/ui-client-menu)
Navigation

[ ] The current tile is highlighted
[ ] You can navigate using WASD and the arrow keys
[ ] Select a tile/menu entry by pressing Enter, Return, Space oder Left Mouse Button
[ ] Navigate back by pressing ESC, Backspace or Right Mouse Button
[ ] Directly select a tile by pressing number keys

[ ] The numeration is like the NUMPAD (1 left bottom, 9 right top)

[ ] Best practices

[ ] By default, the center tile is highlighted for shortest paths
[ ] By default, the most often used menu entry is in the center position

Inexor Tree Data Structure
Again: everything is in the tree

/tree/ui

/currentmenu

/name = [String] 'NewGame'
/row = [Number] 1
/column = [Number] 1

/menus

/[name] = [Node, String] (z.B. 'NewGame')

/label = [String] 'Start New Game'
/description = [String] 'Starts a new game'
/rows = [Number] 3
/columns = [Number] 3
/startRow = [Number] 1
/startColumn = [Number] 1
/actions = [Node]

/back = [String] e.g. OpenMenu('MainMenu'), CloseMenu()

/entries = [Node]

/[rownumber] = [Node, Number]

/[columnnumber] = [Node, Number]

/label = [String] 'New Bot Game'
/styles = [Node]

/normal

/color [String]
/backgroundColor [String]
/backgroundImage [String]

highlighted

/color [String]
/backgroundColor [String]
/backgroundImage [String]

/action = [String] e.g. OpenMenu('NewBotGame'), CloseMenu(), OpenApplication('TextureBrowser'), ExecuteCommand('CMD LINE COMMAND')

InexorFlex
Service MenuManager

[ ] createMenu(name, description, rows, columns)
[ ] removeMenu(name)
[ ] setDescription(name, description)
[ ] setDimensions(name, rows, columns, startRow, startColumn)
[ ] setBackAction(name, action)
[ ] setEntryLabel(name, row, column, label)
[ ] setEntryStyleNormal(name, row, column, color, backgroundColor, backgroundImage)
[ ] setEntryStyleHighlighted(name, row, column, color, backgroundColor, backgroundImage)
[ ] setEntryAction(name, row, column, action)
[ ] openMenu(instanceId, name)
[ ] closeMenu(instanceId)
[ ] openApplication(instanceId, applicationName)
[ ] executeCommand(instanceId, commandLineApiCommand)
[ ] loadMenu(tomlFile)
[ ] saveMenu(tomlFile)

REST API

[ ] POST /menus

MenuManager.createMenu

[ ] DELETE /menus/[name]

MenuManager.removeMenu

[ ] POST /menus/[name]/backAction

MenuManager.removeMenu
...

CommandLineAPI Commands

[ ] menu create <name> <description> <rows> <columns>
[ ] menu remove <name>
[ ] menu description <name> <description>
[ ] menu dimensions <name> <rows> <columns>
[ ] menu entry label <name> <row> <column> <label>
[ ] menu entry style normal <name> <row> <column> <color> <backgroundColor> <backgroundImage>
[ ] menu entry style highlighted <name> <row> <column> <color> <backgroundColor> <backgroundImage>
[ ] menu entry action <name> <row> <column> <action>
[ ] menu open <instance_id> <name>
[ ] menu close <instance_id>

@aschaeffer can you please document what the intended use-cases are?
E.g. is this used as a general means of navigation through the entire main UI? Or is this used as a menu for ingame interactions? E.g.

vote for next map
Load map Yes/No

Thanks!

I think I found the relevant wiki page: https://github.com/inexorgame/inexor-core/wiki/User-interface-Menu


Feature/4555 Load Market Info within Market

Just a little light cleanup, but otherwise looks good!

So, there is a little more work to do re: integrating the data into the selector, but I will actually take that on in course w/ my market view wrap up.


PREVIEW: The property 'value' cannot be found on this object. Verify that the property exists.

I realized builds started to fail in the latest preview.
https://github.com/byndit-demo/App-C/actions/runs/8138002495/job/22237806182

Looks like a bug

This should be fixed in the latest version of ContainerHelper (hence uptaken by AL-Go)


ImportError: libinference_engine.so Openvino to Tensorflow

Thanks @PINTO0309 for help . I am running following command and getting the error
openvino2tensorflow --model_path openvino/320x320/FP32/u2net_320x320_opt.xml --model_output_path saved_model_320x320 --output_saved_model True
Traceback (most recent call last):
File "/home/user/.local/bin/openvino2tensorflow", line 66, in
from openvino.inference_engine import IECore
File "/home/naeem/.local/lib/python3.6/site-packages/openvino/inference_engine/init.py", line 1, in
from .ie_api import *
ImportError: libinference_engine.so: cannot open shared object file: No such file or directory
Can you guide me what I am doing wrong.Thanks

After installing openvino, you can use
$ source /opt/intel/openvino_2021/bin/setupvars.sh

After installing openvino, you can use
$ source /opt/intel/openvino_2021/bin/setupvars.sh

@PINTO0309 Thank you very much for help . The above given command solve my error
source /home/user/intel/openvino_2021/bin/setupvars.sh

@PINTO0309 Thank you very much for help . The above given command solve my error
source /home/user/intel/openvino_2021/bin/setupvars.sh


Update codeowners

Update codeowners

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

Comparison is base (c0e190f) 95.63% compared to head (db8bfe3) 95.62%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #733      +/-   ##
==========================================
- Coverage   95.63%   95.62%   -0.01%
==========================================
  Files         136      136
  Lines       30882    30882
==========================================
- Hits        29533    29532       -1
- Misses       1349     1350       +1

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


Update Developer Guide for v1.1

Codecov Report

Merging #23 (ec88654) into master (1f2efb7) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #23   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1f2efb7...ec88654. Read the comment docs.


MVP with Custom Views

Hi all,
This is not an issue but a topic of discussion.
What do you think about Custom Views? Is MVP still applicable?
For example let's say that you have a fragment that contains a couple of Custom Views.
One way is to consider the fragment as the MVP view with its own presenter. The fragment/view would ask from the presenter to load data for each view and then the presenter will call the appropriate fragment/view methods. Then the fragment will call Custom View methods to set their data.
Another solution is to make each Custom View a "full" MVP view (view interface, presenter etc). So each custom view will ask the presenter for data etc.  In case the Custom Views have the need to communicate with each other we could use the fragment as a "controller" which is registered as a listener to the Custom Views callback interfaces. The fragment will be notified of a custom view event and will ask from another custom view to reload its data based on that event (the other custom view will use the full MVP cycle of course).
What is your opinion?
Thanks

Customs views should not break current MVP implementation. It should work the same way as it does right now. There is actually a custom view I'm using for displaying pictures and it has logic inside but this has no impact on the MVP implementation. Unfortunately View on android are not composable so we have to deal with this.


Springboot functions build takes too long

Hello Func team.
Spring boot default function created using func create -l springboot myfunc takes too long to build.
A performed a test on my machine it took 22m28s just for func build
As a comparison a Quarkus default function (also jvm/maven basedt) took 2m36s under the same machine/conditions.
Maybe here is not the right location for this issue, but the idea is to raise a discussion about improvements that could be made to have this builder faster such as, review and fine tune pom.xml dependencies for SB bp or use a different customized paketo builder for SB functions.

/cc @salaboy

@jrangelramos yes... that's because it is using spring native builds by default.. there is an open PR that will fix that.. I will try to finish it today.

@jrangelramos this is the right place for this discussion

I think we can close this one now, as the template has been changed to use non-native build, which can be enabled again by setting an ENV variable for the buildpack. IF this is still a problem please reopen.


Question about OCLR_Sync datasets

Dear author, thank you very much for your contribution to the field of moving object segmentation. You have not only opened the source code, but also created rich simulation data.
However, when I used the OCLR_Sync dataset, I found that its format was inconsistent with the data loading code in the repository. OCLR_Sync dataset link provides amodal segmentation, each object has a picture, instead of the repository code example using a picture of the different color discrimination.
Could the images of instance segmentation of OCLR_Sync  be uploaded and shared? Thanks!

Thanks for pointing this out.
I have modified the OCLR dataset code, such that the current default OCLR dataset directly loads amodal masks as inputs and convert them into modal masks https://github.com/Jyxarthur/flowsam/blob/04d92018baef163b0008adbc9d3a1c4d89f8ea62/data/dataloaders/oclrsyn_loader.py#L31
Please contact me if there are any issues or errors with this update.

Thanks!


[Feature request] Add a note to each tab

The ability to add a note to each tab would be nice, and easier to organize things.

+1


Add Crop & Lock to PowerToys Quick Launch Menu

Description of the new feature / enhancement
Simple request, I would like for Crop & Lock to be available on the PowerToys quick menu so it can be invoked by mouse instead of only keyboard shortcut (many other similar tools like text extractor are already here)

Scenario when this would be used?
Sometimes I'm in a situation where mouse would be more convenient, in particular when I'm using touch or when remote machines and keyboard shortcuts may or may not be forwarded.
Supporting information
It'd be nice if every feature you can launch

There are two modes for Crop & Lock, any ideas on how to implement a mode selection functionality?
Also, I believe Crop & Lock activates on the current focus window. Will it be able to recognize the correct window when launching from the quick launch menu?

There are two modes for Crop & Lock, any ideas on how to implement a mode selection functionality?

I think the default option (especially when you are using touch or remote login) should be to reparent - since it helps to minimize the amount of space the window occupies.  The option to set the default mode for mouse (reparent or thumbnail mode could be driven through  the settings)

Will it be able to recognize the correct window when launching from the quick launch menu?
This is the tricky one - Maybe a workaround could be to use the last window in focus as the target window?

Maybe it could have a default mode and then hold shift or use alternate mouse button to draw the alternative box.

From: ceebu @.>
Sent: Thursday, February 22, 2024 7:37 AM
To: microsoft/PowerToys @.>
Cc: Shawn Keene @.>; Author @.>
Subject: Re: [microsoft/PowerToys] Add Crop & Lock to PowerToys Quick Launch Menu (Issue #31110)
There are two modes for Crop & Lock, any ideas on how to implement a mode selection functionality?
I think the default option (especially when you are using touch or remote login) should be to reparent - since it helps to minimize the amount of space the window occupies. The option to set the default mode for mouse (reparent or thumbnail mode could be driven through the settings)
Will it be able to recognize the correct window when launching from the quick launch menu?
This is the tricky one - Maybe a workaround could be to use the last window in focus as the target window?
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PowerToys/issues/31110#issuecomment-1959469206, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABAGIFS7CQJ4S46CFNY5R6LYU5CZLAVCNFSM6AAAAABCHPTH3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJZGQ3DSMRQGY.
You are receiving this because you authored the thread.Message ID: @.***>

Or could it be acceptable that the quick-list launched operation only performs a default action?

From: Shawn Keene @.>
Sent: Thursday, February 22, 2024 9:17 AM
To: microsoft/PowerToys @.>; microsoft/PowerToys @.>
Cc: Shawn Keene @.>; Author @.***>
Subject: Re: [microsoft/PowerToys] Add Crop & Lock to PowerToys Quick Launch Menu (Issue #31110)
Maybe it could have a default mode and then hold shift or use alternate mouse button to draw the alternative box.

From: ceebu @.>
Sent: Thursday, February 22, 2024 7:37 AM
To: microsoft/PowerToys @.>
Cc: Shawn Keene @.>; Author @.>
Subject: Re: [microsoft/PowerToys] Add Crop & Lock to PowerToys Quick Launch Menu (Issue #31110)
There are two modes for Crop & Lock, any ideas on how to implement a mode selection functionality?
I think the default option (especially when you are using touch or remote login) should be to reparent - since it helps to minimize the amount of space the window occupies. The option to set the default mode for mouse (reparent or thumbnail mode could be driven through the settings)
Will it be able to recognize the correct window when launching from the quick launch menu?
This is the tricky one - Maybe a workaround could be to use the last window in focus as the target window?
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/PowerToys/issues/31110#issuecomment-1959469206, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABAGIFS7CQJ4S46CFNY5R6LYU5CZLAVCNFSM6AAAAABCHPTH3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJZGQ3DSMRQGY.
You are receiving this because you authored the thread.Message ID: @.***>

Or could it be acceptable that the quick-list launched operation only performs a default action?
…

IMHO, this would work for me - Not the OP, but I prefer keeping the frequent operation simple - Using settings to drive the expected behaviour is better, as it does not confuse the user with many options.


My first revup bar

Topic: bar

Reviews in this chain:
└https://github.com/miguel-ribot-skydio/revup/pull/2 My first revup bar

#
head
base
diff
date
summary

0
4bb89a4c
d1433464
diff
Jan 13 5:13 AM
1 file changed, 1 insertion(+)


Email change not working

Users are not able to change their email on edit profile. An error is displayed that the save was unsuccessful. You need to re-enter the password to confirm the change but a modal isn't being displayed and longer - I'm pretty sure one used to pop-up.

Hmm. So this is working for me. I am challenged with the password popup when I try to change my email. I get a failure message if the password I enter is incorrect but otherwise it saves my changes.

This is what I get on roadmap-stage. No modal pops-up to enter password.

i can change my email address and save the change so this appears to be fixed. if i try to change it to another email that's already registered i get an unhelpful error msg (screenshot). will create a new issue to revise the error msg so users understand why the save was unsuccessful. closing this issue.


Epic and Parent links incorrectly show up in revision 0

Describe the bug
Currently only "Issue Links" are parsed for revisions. Epic Links and Parent Child relations are not currently removed from the latest revision and thus they always show up in the initial issue (revision 0). This causes errors during import, because the target workitem of the link does not exist yet in Azure DevOps.
To Reproduce
Steps to reproduce the behavior:

Create a Jira Issue and save it
Add a Epic Link a Parent link or both
Export the issues with the tool
Notice the link is present in the revision 0 instead of the revision it was added in.

Expected behavior
Historical items in the issue changelog of type "Epic Link", "Parent" should be handled in JiraItem.BuildRevisions and removed from the initial revision.
It's possible for an issue to have an Epic Link and a Parent link. That would logically both translate to a "Parent-Child" relationship in Azure DevOps, I'm not sure if\how that case is currently handled.

To be honest I don't follow the issue here. Can you give concrete examples?

See https://github.com/solidify/jira-azuredevops-migrator/pull/564#discussion_r1004660876


Calling start_mission() results in fail-safe, refusing to arm.

I have a code segment that uploads a series of waypoints (mission_items) as part of a mission_plan.  The aircraft accepts the mission_plan and associated mission_items.. but when calling start_mission() it throws an exception and refuses to arm.  The error indicates that there is no take-off command in the mission set.
Looking at the MAVSDK-Python example mission.py, the example uploads the mission_plan, arms the aircraft, and then calls  "await drone.mission.start_mission()" with no take-off command being explicitly issued.  Has this changed?  I am running on an RPi with a manually launched mavsdk_server() process.  The connect works fine, and using similar code, I can arm, take-off, land, and disarm with no issues.

I will have to check on this later this evening. I am actually using an Aurelia X6 with a Blue Cube Autopilot.  My code is running on a raspberry pi connected to the Telem2 port over Mavlik protocol.

Ok, sorry for the delay.  I am using mavsdk v1.4.0 and protobuf 3.20.1 on RaspberryPi.  I am manually running the SDK server and after upload of a mission plan and after I call "await drone.mission.start_mission()", the sdk server reports the following:
[01:54:06|Debug] MAVLink: info: Flight plan received (system_impl.cpp:250)
[01:54:21|Debug] MAVLink: critical: Auto: Missing Takeoff Cmd (system_impl.cpp:250)
[01:54:21|Debug] MAVLink: warning: Mode change to AUTO failed: initialisation failed (system_impl.cpp:250)

The upload (from my software log) looks like the following, and it appears to be successful:
13:53:25: [INFO] MAVLINK COMM 1 [MANDO]	: Connecting to Drone with [mavsdk_server:50051]
13:53:25: [INFO] MAVLINK COMM 1 [MANDO]	: Connected!
13:53:25: [INFO] MAVLINK COMM 1 [MANDO]	: Communications timeout set to 3 seconds.
13:54:04: [INFO] MAVLINK COMM 1 [MANDO]	: Processing Mission Flight Plan
13:54:04: [INFO] MAVLINK COMM 1 [MANDO]	: Uploading Mission to Aircraft
13:54:04: [INFO] MAVLINK COMM 1 [MANDO]	: - Mission plan has 11 elements to upload.
13:54:06: [INFO] MAVLINK COMM 1 [MANDO]	: Mission upload completed.
13:54:20: [INFO] MAVLINK COMM 1 [MANDO]	: Starting Mission
13:54:21: [INFO] MAVLINK COMM 1 [MANDO]	: Attempting to start mission
13:54:21: [ERROR] MAVLINK COMM 1 [MANDO]	: Error aircraft refused to start mission: ERROR: 'Error'; origin: start_mission(); params: ()

I do get past the arm failsafe.  The X6 will arm and the props start to spin, but it never actually performs a take-off and following the mission.  I can also download the mission that was uploaded using QGroundControl and it does match.  It does not however include a take-off card.
Any help would be appreciated.

Yes... X6 is the frame and Blue Cube is the FMU.  We are running the Ardupilot firmware... I think that is the one recommended by Aurelia.  I am guessing what you describe is the case, the autopilot is expecting a take-off command.  I will take a look at the mission_raw plugin and see what it entails.  I also have an X6 with an mRo X2.1 AutoPilot (also running Ardupilot) and it seems to want the take-off command as well.

So what if I manually send the drone.action.arm() and drone.action.takeoff() commands to the drone and then call the drone.mission.start_mission() command?  Is there anything in the start_mission() command that expects that the drone is on the ground before executing?

That could work, it is a good idea! start_mission() in MAVSDK just changes the mode to "mission".
For instance PX4 does not need a takeoff mission item, but start_mission() won't arm, you have to call arm() too.

@JonasVautherin, it worked.  Added the arm() and takeoff() commands... then issued the start_mission() command.  All worked except that once the mission was over, it did not land.  I had to manually land it with the controller.  Apparently the set_takeoff_altitude() and set_return_to_launch_after_mission(True) throw an exception.  The set_takeoff_altitude() does set the value but still throws an exception.  Not sure what is happening with set_return_to_launch_after_mission().  This may be the Cube autopilot as well.  Thanks for your help on this... it got me pointed in the right direction!

What are the exceptions being thrown?

I don't know if switching to mission mode is supported for ArduPilot yet.

Just to chip in here, I have also managed to control an ArduPilot system (physical Rover but also simulated drones and fixed wings). I am using the MissionRaw class from MavSDK to upload my missions. I have noticed (perhaps this is normal but I was unaware) that every mission you upload in this manner (using upload_mission method) requires a home and a takeoff before any waypoints. Without a home point established, the vehicle will reject arming.
    // Add Home Position (which is current position)
    missionItems.push_back(makeMissionItem(0, 3, 16, 1, 1, 0, 0, 0, 0, lat_deg, lon_deg, alt_m, 0));

    // Add Takeoff (required for ArduPilot missions)
    missionItems.push_back(makeMissionItem(1, 3, 22, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0));

Additionally, if you'd like to RTL/ land, you should upload a raw mission item with this format (see the Mavlink docs for further info). I have had limited success with some of the more complex Mavlink commands using the MavSDK so have resorted to using their MissionRaw class in general, which works quite well.
    // Land at current location
    missionItems.push_back(makeMissionItem(<sequence>, 3, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0));

For setting velocities and altitudes, use the same Mavlink docs to find the required command. See MAV_CMD_DO_CHANGE_SPEED for instance...


Support BigInt

Hi, is there any plan to add BigInt to the supported APIs?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt

Bugint is also a syntax change and it is not possible to polyfill syntax changes unfortunately. We will very likely never have a polyfill for BigInt


add properties to req

Hello,
I have a middleware that adds an request-id to the Object req which is passed to every middleware. Middlewares, that are executed later, use this request-id. At the moment (express 4), it seems save to use the name req_id for this property. But express or other middleware that i get from npm might use this property in another way in the future. There could be a conflict.
What ist the best way to work around this problem?
Is there another way to pass data between middlewares?
Is there a list of reserved property names that might be used by express in the future?
Thanks for your help
Michael

At the moment (express 4), it seems save to use the name req_id for this property.

I'm not sure where that comes from, as Express 4 doesn't add a req.req_id (or expect) anywhere in the codebase (or even a req.id), so it is probably from some third-party middleware you are using somewhere.

What ist the best way to work around this problem?

There isn't anything official to segment this, but usually the pattern I like to follow is to either (a) prefix my project's properties with the project's name (like req.todoAppId) or (b) create a bag to store things in for my project (like req.todoApp.id).

Is there another way to pass data between middlewares?

See above.

Is there a list of reserved property names that might be used by express in the future?

All the properties used by Express are listed at http://expressjs.com/en/4x/api.html (and by extension, since we are extending Node.js, those listed at https://nodejs.org/api/http.html#http_class_http_incomingmessage and https://nodejs.org/api/http.html#http_class_http_serverresponse). Unless Node.js can provide a list of reserved property names they may add in the future, there isn't a way we can provide it, since it's just the objects from Node.js core.

Also, one approach you can take is using Symbol(). It'll never conflict and you can just export it from your package for people to use. The only difficult thing here is type checking, since TypeScript lacks the ability to type check computed properties today, but it's probably not a problem for you 😄

Oh yes, symbols. For JS-based projects, symbols within your project is likely the best solution.

I'm not sure where that comes from, as Express 4 doesn't add a req.req_id (or expect) anywhere in the codebase (or even a req.id), so it is probably from some third-party middleware you are using somewhere.
Perhaps I was not clear enough. req.req_is added by a module I wrote.

I'll try to use Symbol().
Thans for your help!


Bump version to 1.13.1

Not sure why the bot didn't pick this up.
https://conda-forge.org/status/#version_updates doesn't show any issues for this feedstock.
There are no dependency updates in the diff.

Checklist

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

CI failure seems unrelated:
conda.CondaMultiError: Downloaded bytes did not match Content-Length
  url: https://conda.anaconda.org/conda-forge/linux-ppc64le/libstdcxx-devel_linux-ppc64le-11.3.0-hcb32637_19.tar.bz2
  target_path: /home/conda/feedstock_root/build_artifacts/pkg_cache/libstdcxx-devel_linux-ppc64le-11.3.0-hcb32637_19.tar.bz2
  Content-Length: 9607486
  downloaded bytes: 8705000


Update ExportMenu.js

I want to add some functionality then anybody download image then they wiill be not facing
Carbon.png already exists
Because i use Random string Function to generate random strings as your wish 8 Bit 16 Bit 4 Bit
Because i like carbon.now.sh application

[x] Integration tests (if applicable)

Closes #

Hey @neerajcodes. Sorry for the delay here. We actually prefer to keep the images names constant, since you can choose to change the name in the file dialog, and operating systems like MacOS will automatically append a number like carbon (1).png
Thanks for the suggestion.


gitlab-runner: don't bundle prebuilt docker images

Motivation for this change
Gitlab runner pulls the helper image from their registry by default.
This is another attempt of https://github.com/NixOS/nixpkgs/pull/66225  which got reverted because of https://gitlab.com/gitlab-org/gitlab-runner/issues/4509. But this issue is fixed now.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

/cc @max-wittig

@globin @zimbatm Build locally. This change is required to support GitLab Runner 14.5.0+

Nice thanks 👍