Dosn't work?

I can't seem to get it to Authorize?
Is this up-to-date with the current API -- I don't see python listed on the site?
Thanks!
Casey

I'm pretty sure this covers only version 1 of the API -- are you trying to use v2?  If not, post some sample code and I can try to help.

Already started writing my own API connector.  Will be done within the next couple of days.

There's also this that supports v1 that @onlyhavecans and I have collaborated on:
https://github.com/vigetlabs/dnsimple


Remove in-publication step

Front-end changes for https://github.com/NASA-IMPACT/nasa-apt/issues/480

Removes the in-publication document status, and UI components
Adapts permissions so ATBD can be made public after requesting publications

Test together with https://github.com/NASA-IMPACT/nasa-apt/pull/553

Approved. Merging


chore(main): release 1.16.4

:robot: I have created a release beep boop
1.16.4 (2023-12-19)
Bug Fixes

🐛 Pairing code type issue (889fe8c)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/viarotel-org/escrcpy/releases/tag/v1.16.4 :sunflower:


fix the mwall / wild growth counter in 1090 / RL tibia

a few things has changed from 760 days, the ID of magic wall changed to 2128 ,  and the protocol changed a bit for animating text.   i have made a fix for RL tibia / 1090, but should still look at all the clients between 7.6 and 10.90, there's a lot of them :(

(Warning: do not merge this yet, i am not done yet)

ok all done, ready to (test? &) merge!


Attempted to get the 'ipcNative' object but it was missing

I try to run lens on my Ubuntu 24(Win11 24H2).
It returns error of "Attempted to get the 'ipcNative' object but it was missing" while i run the appimage.

Hello justing-fan,
Thank you for reaching out to Lens support!
Thank you for reporting a bug.
We are working on your issue. Stand by for further updates.
Regards,
Oleksandr from Lens


touch: Respect -h when getting metadata

Currently, if the stat function in the touch crate is used on a symlink, it will first try to get the metadata of the destination, even if the follow parameter is false. It will not get the metadata of the symlink itself if the symlink is not broken. It should now check follow first.
Minor change: the failed to get attributes for {path} context isn't currently being added to the error if the first fs::metadata call fails and follow is true. But this PR makes it so all errors have that context added to them. However, at some point in the past, it seems like all errors had that context added to them, so I figured it'd be fine (@tertsdiepraam tracked down this commit fixing an earlier issue).
The tests I added should maybe not run on FreeBSD because there's apparently an issue with nanoseconds or something? I have no idea what the difference there is, but I figured I'd set the nanoseconds field to 0 and let the CI run, just in case that works. Never mind, I added #[cfg(not(target_os = "freebsd"))] since there's not much chance of the specific behavior being tested here being different on FreeBSD.

@tertsdiepraam I don't know why some of the workflows are failing, but the failures don't seem to be related to touch?

We'll see what this run does :)
We do get unrelated errors quite often unfortunately. Recently especially on windows. But don't worry, we'll still look at the PR if there are some failures.

Welp, still failing, but at least the failures on that run were only on Windows.

Windows has been having problems recently. No need to worry about it (for you) 😄

Yay! Can we merge now?


RPC example

Full implementation of the storage sample

Coverage decreased (-0.2%) to 84.819% when pulling 5b173a05df387c81ccbf116e03814fb691ffd0ce on rpc-example into 159f4d4fafbe61700c944ab44b82ed56e0bfa371 on master.


Redirect classroom from /premium and allow teachers into HoC-2018

There doesn't seem to be an easy way to clean that up currently. Other HoC activities still depend on it in a few disparate locations.


Terrain Quantization

Opening for early review.There will be a lot of reorganization and generalization for other geometry rendered RTC.

[x] Add quantized mesh skirts
[x] Fix compression with normals
[ ] Add compression to meshes created from heightmaps
[ ] Remove all of the uniforms. Only a matrix multiply is needed to undo the scale and bias.
[x] Update picking commands
[x] Update ray-terrain mesh intersection tests.
[ ] Performance
[ ] Tests
[ ] Doc

@mlimper this work is inspired by our conversation at SIGGRAPH about WEB3D_quantized_attributes.  We are also going to implement that glTF extension.

Looks good so far.  Reasonably clean.

Reasonably clean.

I moved all of the quantization and packing to TerrainEncoding I was hoping it could be more general, but its terrain specific only because of the height component.

@mlimper this work is inspired by our conversation at SIGGRAPH about WEB3D_quantized_attributes. We are also going to implement that glTF extension.

Great, happy to hear that. Let me know if you discover things that could be improved in the extension.

Update #526 with roadmap ideas, e.g., dynamic number of bits based on the size of the bounding box.

That's all my comments so far.

Run Viewer, then zoom into Exton with the geocoder:

When terrain is on, zoom to the same spot and there is some flicker along the same horizontal strip.

@pjcozzi This is ready for another review.

For the same views as in the fog Sandcastle example:

memory
high alt
low alt

compressed CPU
224,368K
231,200K

uncompressed CPU
428,552K
426,096K

compressed GPU
216,600K
189,776K

uncompressed GPU
252,024K
192,020K

Update CHANGES.md for 1.17 including the removed classes (that we'll deprecate in 1.16).

For the same views as in the fog Sandcastle example:

"uncompressed" is before, and "compressed" is after, right?
The CPU results are, well, amazing.
Do you think the low altitude GPU results are suspect since there is such a small difference?

Seems like we get a lot more cracking.  Zoom into San Francisco.  See the dotted black lines in the water?

That is with terrain.

Here is just off the coast in South Beach without terrain:

If we can't track this down, worse case, I guess we can render the boundary (and/or perhaps skirts) with full precision.  Or maybe we use double the required precision (if it turns out to still be smaller overall) so that adjacent tile boundaries at the same LOD are guaranteed to match up.  Would need to think more about adjacent tiles at different LODs.

The CPU results are, well, amazing.

They are a little better than I expected but in the same area since the number of bits per vertex was reduced by half.

Do you think the low altitude GPU results are suspect since there is such a small difference?

I think the GPU results are much closer because the textures are stored there and aren't kept on the CPU.

I think the GPU results are much closer because the textures are stored there and aren't kept on the CPU.

Ah yes.  You could also test with Natural Earth to see, but we would not publish those numbers since they won't be a typical case.

The boundary artifact is the only issue.  This is ready (post 1.16) otherwise.

Here is just off the coast in South Beach without terrain

That is just the imagery. The same thing happens in master.

Here is just off the coast in South Beach without terrain

That is just the imagery. The same thing happens in master.

Ah, OK.  Can you reproduce the issue in SF?

Fixes #3265.

@pjcozzi The cracking issue with terrain was fixed. This is ready for another look.

Please don't forget the blog post and final memory numbers.

Looks good!


RedisClusterConnection stops operation after .RedisCommandTimeoutException

Setup: current master checkout of 3.1-SNAPSHOT: One thread, which has a single RedisClusterConnection<String,String>
The thread does a hgetall in a loop. You want to force a timeout on this thread. Do so by placing a VM breakpoint(pause all threads) in Utf8StringCodec.decode(). Let this hang for a bit(60 seconds I believe is the default timeout)
Now, once you're sure you've expired the timeout, remove the breakpoint and resume the JVM. The command you paused will throw from
FutureSyncInvocationHandler:59                return LettuceFutures.await(command, timeout, unit);
It doesn't seem to occur on a normal RedisConnection.
This is as far as I have made it. What happens next is the original caller gets an exception, which is perfectly fine. However, future calls to hgetall on the same connection will now simply timeout.
! com.lambdaworks.redis.RedisCommandTimeoutException: Command timed out
! at com.lambdaworks.redis.LettuceFutures.await(LettuceFutures.java:68) ~[tanknew1.jar:na]
! at com.lambdaworks.redis.FutureSyncInvocationHandler.handleInvocation(FutureSyncInvocationHandler.java:59) ~[tanknew1.jar:na]
! at com.lambdaworks.com.google.common.reflect.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:87) ~[tanknew1.jar:na]
! at com.sun.proxy.$Proxy95.hgetall(Unknown Source) ~[na:na]

Additional info: The pause all threads didn't seem to matter. I updated to just pause the single thread in the decode, and it broke the same way.
That was how to reproduce the error. Here is all I've managed to dig up so far.
Did a Thread dump. I have numerous requests blocked waiting for  lock on
com.lambdaworks.redis.RedisAsyncConnectionImpl.dispatch()
The guy who has that monitor is blocked on
at com.lambdaworks.redis.protocol.Command.get(Command.java:109)
which is a CountDownLatch.await()

Small update. Asking for a different key seems to not exhibit this behavior. Other keys do. The ones that block are all talking to the same redis master(placed a break in getConnection and looked at the key it was using to pull from pool)

Ok, I see the problem now, but not sure how this happens. In CommandHandler:118
        while (!queue.isEmpty() && rsm.decode(buffer, queue.peek(), queue.peek().getOutput())) {

The queue is NOT empty. On the next time through after I break the connection via the UTF8Decoder pause, it has 2 things in it.
Head of the queue is my original clustercommand
Command [type=HGETALL, output=null]
Next in queue is the one I just retried
Command [type=HGETALL, output=MapOutput [output={}, error='null']]
rsm.decode is getting a null output, but returning false, which is exiting the while loop, abandoning my command that I just sent in.
Inverting the return at RedisStateMachine:81 to
        if (output == null) {
            return !stack.isEmpty();
        }

Sort of solves this problem(future commands work to that key). The old command is taken from the queue, completed, and loops over again, sending the result to my real command. But I haven't dug through RSM too much. I think the queue in CommandHandler should be removing the timed out Commands when they time out. Is that the intention of the above stack.isEmpty?
Also, with that small hack above, isMoved() in ClusterCommand NPEs due to otput being null. That could probably be checked for.

e5fbd1e has a patch that makes it not freeze. However, like I said above, I have no idea if this breaks other things.

Have a simple test case that reproduces this on standalone and cluster.
a80dfdd5311e004a2d31d749335f97c68998775b

Hi @taer I'll take a look on this.

@mp911de Think I found a solution(and updated the test as well) The inversion of that line in RSM is definitely incorrect.
I pushed a new version of BreakServer(should be called breakClient). See 3e20467

You're faster than me. Would you like to create a PR that contains the fix and the cluster setup (your test perhaps makefile-changes as well)?

Sure. I'm updating the test now to fit with the rest of the integration tests.  And am putting it someplace sane.
Since the command fix fixed both(standalone and cluster), and cluster setup in a test is much more prone to errors, I removed the cluster part.

There is a Cluster setup rule (see existing cluster tests) which might help you

Can I close this issue after #43 is merged?

It satisfies this case. I don't see if breaking anything else. I don't see it causing leaks, since if there is an output, the command will be taken from the queue in CommandHandler.java, GCing both.

Closing, everything is fine. Thanks @taer


Minimum value for max-throughput isn't updated

Describe the bug
According to the documentation for the command 'az cosmosdb sql database create' [https://learn.microsoft.com/en-us/cli/azure/cosmosdb/sql/database?view=azure-cli-latest#az-cosmosdb-sql-database-create()], the minimum value for --max-throughput can be 4000.

But according to these FAQs - https://learn.microsoft.com/en-us/azure/cosmos-db/autoscale-faq, this has been changed in 2022, to a minimum of 1000.

We have been using 1000 without any issues.
Please update the documentation to reflect the same.
Related command
az cosmosdb sql database create
Errors
-NA-
Issue script & Debug output
-NA-
Expected behavior
Documentation should be updated to say the minimum value can be 1000.
Environment Summary
azure-cli                         2.45.0 *
core                              2.45.0 *
telemetry                          1.0.8 *
Extensions:
aks-preview                       0.5.41
front-door                        1.0.17
Dependencies:
msal                              1.20.0
azure-mgmt-resource             21.1.0b1
Additional context
No response

Thank you for opening this issue, we will look into it.


Call to undefined function Illuminate\Support\enum_value()

I installed the package via composer and tried the basic example to fetch a feed.
$response = Bluesky::getAuthorFeed(actor: 'bsky.app');
$ret = $response->collect('feed');

I run immediately into an error: "Call to undefined function Illuminate\Support\enum_value()".
Any idea what might be causing this problem?
PHP 8.2.4 — Laravel 11.22.0

You should always use the latest version of Laravel.
enum_value() was added in v11.28.0.
Please run composer update.


Fix lint error

Fixes #9072

npm run lint:fix in the project folder should take care of it.

I made this branch in GitHub web UX, I can't connect to my dev box right now and don't trust my laptop at the moment.

Repo Policy Check error looks strange:
##[error]No hosted parallelism has been purchased or granted. To request a free parallelism grant, please fill out the following form https://aka.ms/azpipelines-parallelism-request

I'm going to force merge this one.  Not going to make anything worse, we can't have build errors in main.


Fixed links and spacing in winget-validation.md

[x] Have you signed the Contributor License Agreement?
[ ] Are you working against an Issue?

Microsoft Reviewers: Open in CodeFlow

Hi @ImJoakim
If possible, can you consolidate all the Fixes Links prs into one so we have a less verbose history?
Thanks

Hi @ImJoakim
If possible, can you consolidate all the Fixes Links prs into one so we have a less verbose history?
Thanks

My apologies, I'll do that right now 👍

Hi @ImJoakim
If possible, can you consolidate all the Fixes Links prs into one so we have a less verbose history?
Thanks

#1314


APK Build fail with errors "Superclass has no method named 'inheritFromElement'"

Running flutter build apk result in errors:
Building without sound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety

../../sdk/flutter/.pub-cache/hosted/pub.dartlang.org/provider-3.2.0/lib/src/delegate_widget.dart:194:18: Error: Superclass has no method named 'inheritFromElement'.
    return super.inheritFromElement(ancestor, aspect: aspect);
                 ^^^^^^^^^^^^^^^^^^
../../sdk/flutter/.pub-cache/hosted/pub.dartlang.org/provider-3.2.0/lib/src/provider.dart:259:19: Error: The method 'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'.
 - 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('../../sdk/flutter/packages/flutter/lib/src/widgets/framework.dart').
Try correcting the name to the name of an existing method, or defining a method named 'inheritFromWidgetOfExactType'.
        ? context.inheritFromWidgetOfExactType(type) as InheritedProvider<T>
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../sdk/flutter/.pub-cache/hosted/pub.dartlang.org/provider-3.2.0/lib/src/provider.dart:260:19: Error: The method 'ancestorInheritedElementForWidgetOfExactType' isn't defined for the class 'BuildContext'.
 - 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('../../sdk/flutter/packages/flutter/lib/src/widgets/framework.dart').
Try correcting the name to the name of an existing method, or defining a method named 'ancestorInheritedElementForWidgetOfExactType'.
        : context.ancestorInheritedElementForWidgetOfExactType(type)?.widget
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../sdk/flutter/.pub-cache/hosted/pub.dartlang.org/modal_bottom_sheet-0.2.0/lib/src/material_with_modal_page_route.dart:21:16: Error: Getter not found: 'opaque'.
        assert(opaque),
               ^^^^^^
../../sdk/flutter/.pub-cache/hosted/pub.dartlang.org/modal_bottom_sheet-0.2.0/lib/src/bottom_sheets/cupertino_bottom_sheet.dart:339:46: Error: No named parameter with the name 'shadowThemeOnly'.
    final isCupertinoApp = Theme.of(context, shadowThemeOnly: true) == null;
                                             ^^^^^^^^^^^^^^^
../../sdk/flutter/packages/flutter/lib/src/material/theme.dart:107:20: Context: Found this candidate, but the arguments don't match.
  static ThemeData of(BuildContext context) {
                   ^^
../../sdk/flutter/.pub-cache/hosted/pub.dartlang.org/modal_bottom_sheet-0.2.0/lib/src/bottom_sheets/material_bottom_sheet.dart:40:32: Error: No named parameter with the name 'shadowThemeOnly'.
      theme: Theme.of(context, shadowThemeOnly: true),
                               ^^^^^^^^^^^^^^^
../../sdk/flutter/packages/flutter/lib/src/material/theme.dart:107:20: Context: Found this candidate, but the arguments don't match.
  static ThemeData of(BuildContext context) {
                   ^^

FAILURE: Build failed with an exception.

* Where:
Script '/app/sdk/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 991

* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command '/app/sdk/flutter/bin/flutter'' finished with non-zero exit value 1

used the following Containerfile which was added after cloning this repo:
FROM frolvlad/alpine-glibc

RUN set -ex; \
    apk update; \
    apk add --no-cache \
        gradle \
        bash curl file git zip; \
    adduser -D appuser;

USER appuser

COPY --chown=appuser:root . /app/paymint/

ENV ANDROID_SDK_ROOT="/app/sdk" \
    ANDROID_HOME="/app/sdk"

RUN set -ex; \
    ANDROID_SDK_LICENSES="${ANDROID_SDK_ROOT}/licenses"; \
    mkdir -p "${ANDROID_SDK_LICENSES}"; \
    printf "\n24333f8a63b6825ea9c5514f83c2829b004d1fee" > "${ANDROID_SDK_LICENSES}/android-sdk-license"; \
    cd /app/sdk/; \
    wget https://storage.googleapis.com/flutter_infra/releases/stable/linux/flutter_linux_2.0.1-stable.tar.xz; \
    tar xf flutter_linux_2.0.1-stable.tar.xz; \
    rm flutter_linux_2.0.1-stable.tar.xz

WORKDIR /app/paymint/
RUN /app/sdk/flutter/bin/flutter build apk

Run with podman build --rm -t paymint_build_apk . and the errors as shown above happen.

some packages must be updated for the null safety support
for example start by updating the modal_bottom_sheet package to 2.0.0 and provider package to 5.0.0

Can you provide PR and merge the changes required to build the app using modern flutter version?

Is there any solution for this issue please?

Building the app with flutter 1.22.1 works, building with newer flutter versions may fail, the solution for this might be to upgrading the packages in pubspec.yaml as explained in: https://github.com/Paymint-Labs/Paymint/issues/3#issuecomment-802865889

for example start by upgrading the modal_bottom_sheet package version to 2.0.0 and provider package to 5.0.0

Is there any solution for this issue please?

Building the app with flutter 1.22.1 works, building with newer flutter versions may fail, the solution for this might be to upgrading the packages in pubspec.yaml as explained in: #3 (comment)

for example start by upgrading the modal_bottom_sheet package version to 2.0.0 and provider package to 5.0.0

Forgive me for asking, I'm a new developer. How do I get an older version of flutter, like 1.22.1? I have older apps and it seems the new version of flutter breaks them and they won't compile.


Cannot create teams with EDU_Class Template (again!!!)

Please see the log below for details. (Note: visibility MUST NOT be set in EDU_Class teams.)
New-Team : Error occurred while executing
Code: BadRequest
Message: Failed to execute Templates backend request CreateTeamFromTemplateRequest. Request Url:
https://teams.microsoft.com/fabric/apac/templates/api/team, Request Method: POST, Response Status Code: BadRequest,
x-telemetryid: 00-44fdd93998ef364da24de04641f76df3-23c1cabe8a198642-00
X-MSEdge-Ref: Ref A: E4D1557D948D4E489B339B476D0D5E0E Ref B: SG1EDGE0307 Ref C: 2021-08-26T09:44:44Z
Date: Thu, 26 Aug 2021 09:44:43 GMT
, ErrorMessage : {"errors":[{"message":"Team Visibility must be one of known types:
[Private,Public,HiddenMembership].","errorCode":"Unknown"}],"operationId":"44fdd93998ef364da24de04641f76df3"}
  RequestId: 91b3720b-92a6-492b-99bc-9ee596f33b36
  DateTimeStamp: 2021-08-26T09:44:44                                                                                HttpStatusCode: BadRequest                                                                                At D:\Documents\GoogleDrive\system_admin\azuread\lib\TeamsManager.ps1:59 char:23                                            + ...   $result = New-Team -DisplayName $longName -Description $longName -T ...                                             +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                     + CategoryInfo          : SyntaxError: (Microsoft.Teams...Cmdlets.NewTeam:NewTeam) [New-Team], ApiException
    + FullyQualifiedErrorId : Team creation failed.,Microsoft.Teams.PowerShell.TeamsCmdlets.NewTeam

Hello @lwchkg how are you?
I've just tried with 2.5.1 version to see if we had to correct any documentation and had no issues, however, can you share the cmdlet you used? Maybe it's different from mine.

I will give it a try. Many Thanks!!
Regards
Hardy
Von: Andres Mariano Gorzelany @.>
Gesendet: Mittwoch, 1. September 2021 22:43
An: MicrosoftDocs/office-docs-powershell @.>
Cc: HardyKrause @.>; Mention @.>
Betreff: Re: [MicrosoftDocs/office-docs-powershell] Cannot create teams with EDU_Class Template (again!!!) (#8251)
Hello @HardyKrause https://github.com/HardyKrause  I could create a edu team with the New-Team cmdlet you shared here. I advise you to try with 2.5.1
Hope this information helps you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/office-docs-powershell/issues/8251#issuecomment-910728026 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AF5FVHPUWRANRPL55LXEDCDT72F3PANCNFSM5C27O3TA .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .   https://github.com/notifications/beacon/AF5FVHJ7IYO2RESODODORO3T72F3PA5CNFSM5C27O3TKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGZEJWWQ.gif

@get-itips Thank you very much for the contribution and sharing this explanation. @lwchkg Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


A way to use VersionOf and AnyVersion given reference to a struct

Currently it doesn't seem to be possible to determine current version of a struct given a reference to a struct (clone() is not an option for the struct I have).

I'm not sure I understand. Could you explain a little more? Maybe provide some code you'd like to work that doesn't?

My original problem is to detect the fact that configuration file need to be updated.
The idea is to use the version of the file encoded in the vsn field of a top level struct and
compare it with versions of all structs used in the configuration.
In order to do that I need to visit each node of the tree and collect versions of the struct involved.
It has been a challenge because obake doesn't support types with generics which means container types are not working
out of the box.
Here is some code showing the configuration structure
#[derive(Deserialize, Serialize, Debug, Default, PartialEq, Validate)]
#[obake::versioned]
#[obake(derive(serde::Serialize, serde::Deserialize))]
#[obake(version("0.0.1"))]
pub struct ConfigFile {
  pub vsn: u16,
  #[serde(with = "humantime_serde")]
  #[serde(skip_serializing_if = "Option::is_none")]
  #[serde(default)]
  pub delay: Option<Duration>,
  // I cannot use obake(version(xxx)) on container type
  pub profiles: Vec<Profile>,
}

#[obake::versioned]
#[obake(derive(serde::Serialize, serde::Deserialize, PartialEq, Debug))]
#[obake(version("0.0.3"))]
#[derive(Validate, serde::Deserialize, serde::Serialize, PartialEq, Debug)]
pub struct Profile {
  pub id: String,
  pub name: String,
}

I wanted to write a helper function for each struct which would return the greatest version
impl ConfigFile {
  pub fn vsn(self&) -> Version {
    // p in map function bellow has type &Profile_v0_0_1
    let profiles_vsn = self.profiles
      .first()
      .map(|p|
        Version::parse(<VersionedProfile as VersionTagged<Profile>>::version_str(p))
        .unwrap_or(Version::from("0.0.0")));

  }

}

The code above fails
331 | ...on::parse(<VersionedProfile as VersionTagged<Profile>>::version_str(p)).unwrap_or(Version::from("0.0.0")));
    |              --------------------------------------------------------- ^ expected `&VersionedProfile`, found `&Profile_v0_0_1`
    |              |
    |              arguments to this function are incorrect
    |
    = note: expected reference `&VersionedProfile`
               found reference `&Profile_v0_0_1`

  pub fn vsn(&self) -> Version {
    // p in map function bellow has type &Profile_v0_0_1
    let profiles_vsn = self.profiles.first().map(|p|{
        let v: obake::AnyVersion<Profile> = p.into();
        Version::parse(v.version_str)
    });
  }

The above fails with
334 |         let v: obake::AnyVersion<Profile> = p.into();
    |                                               ^^^^ the trait `From<&Profile_v0_0_1>` is not implemented for `VersionedProfile`
    |
    = note: required for `&Profile_v0_0_1` to implement `Into<VersionedProfile>`

  pub fn vsn(&self) -> Version {
    // p in map function bellow has type &Profile_v0_0_1
    let profiles_vsn = self.profiles.first().map(|p| {
      let v: obake::AnyVersion<Profile> = (*p).into();
      Version::parse(v.version_str())
    });
    profiles_vsn.unwrap().unwrap()
  }

The above fails
334 |       let v: obake::AnyVersion<Profile> = (*p).into();
    |                                           ^^^^ ------ `*p` moved due to this method call
    |                                           |
    |                                           move occurs because `*p` has type `Profile_v0_0_1`, which does not implement the `Copy` trait
    |
note: `into` takes ownership of the receiver `self`, which moves `*p`

As you can see there is no easy way to get the version. The following works
impl ConfigFile {
  pub fn version(&self) -> Version {
    Version::parse(Self::VERSION).expect("expect ConfigFile to be versioned")
  }

  pub fn vsn(&self) -> Version {
    let inner = self.profiles.first().map(|p| p.vsn());
    let inner = inner.unwrap();
    if inner < self.version() {
      self.version()
    } else {
      inner
    }
  }
}

impl Profile {
  pub fn version(&self) -> Version {
    Version::parse(Self::VERSION).expect("expect Profile to be versioned")
  }
  pub vsn(&self) -> Version {
      self.version()
  }
}


Project list is not showing all projects added on first page

I have a Gitlab installation where we have a REALLY big list of projects (most of then are plugins for another application), but only a few are using Gitlab CI.
What happens is that it shows on first page only one project that is added to gitlab, and I have to go to the next page to see the others.
What I would like is that Gitlab sort the JSON with projects that have Gitlab CI enabled so that Gitlab CI can then show all of them on the first page.

I am having the same problem. I have well over 100 projects, and it only ever loads the first 100 (alphabetically, I think?), and the Activated on CI projects are not in the first 100, so it always shows 0 activated projects. If I scroll down to the bottom (triggering a load of "page 2") they show up, but even then the text at the top of the screen still says 0 Activated.


UF WFDB Conversion Code

@dvellanki , thanks for this! I think the PR has already been merged but I had a few thoughts that you might want to consider:

It would probably be wise to move towards using a deterministic mapping for your de-identification of patients. When you assign the IDs in a non-determinisic way you may run into collisions when you add more patients to the dataset later. It also makes it difficult to go back and update a file you've already processed.
You may consider adding some additional checks around your fs calculation. Do you know of cases when there is variability between sample intervals? If there is more than one distinct sample interval using the mean isn't reflective of the actual sample times.
The signals listed in the .hea should point to the .dat in the same directory. In this code you are appending a wfdb_files directory in front but since the .hea and .dat are in the same directory (as desired), they should have the same exact name. I'd remove the wfdb_files directory if you are keeping your .hea and .dat in the same directory.

    record_name = os.path.join('wfdb_files', str(pat_deiden_id) + '_' +
                                str(int(orig_fname_comps[1]) + rshift) + '_' +
                                str(int(orig_fname_comps[2]) + rshift) + '_' +
                                orig_fname_comps[3])

@briangow , please find our comments.
1 We store information about the random date shifts and de-identified mapping IDs generated for each patient in each study we provide de-identified data for. The final set of EHR/waveform data will be de-identified according to the Safe Harbor method. Patients/encounters/orders numbers/etc. will not share the same de-identified id, and random date shifts are patient-specific in order to preserve the capacity for time-series and longitudinal analyses in the final data set. Notes data will be de-identified using the Expert Determination approach.

Thanks for the feedback. I wasn't sure of the best way to specify the frequency here. It's pretty common in our data for patients to have multiple signals with different sampling intervals. The sampling frequency for waveform files which fall into this category (prior to conversion to wfdb) seems to default to the shortest sampling interval (usually 0.5 s). For the longer sampling intervals, there will be a measurement at each instant that data is recorded with gaps of missing measurements at 0.5 s intervals until a new measurement is recorded. For example, if the longer sampling interval is 1 s, there will be a measurement at time t = 0 s, followed by a missing value at t = 0.5 s, followed by a measurement at t = 1 s, followed by a missing value at t = 1.5 s, etc. I don't know how wfdb files handle missingness, but, assuming they allow for it, there shouldn't be an issue with just setting the frequency to 0.5 s for every wfdb file. We'll try that going forward.

That was just a folder I created for this branch, in the final submission , there would be no wfdb folder. The hea and dat files specific to the person id would appear directly under the person id folder.


Incorrect parsing of Astro component script tags

Have astro component like this
---
const { props } = Astro

const attrs = {}
---

<script is:inline {...attrs} set:html={props.src ? '' : props.code} />

<script>
	interface Attrs {
		'data-attrs'?: string
	}
</script>

running OXC 0.2 produces
 x Expected a semicolon or an implicit semicolon after a statement, but found none
         site:lint |    ,-[src/components/Script.astro:3:1]
         site:lint |  3 | <script>
         site:lint |  4 |     interface Attrs {
         site:lint |    :              ^
         site:lint |  5 |         'data-attrs'?: string
         site:lint |    `----
         site:lint |   help: Try insert a semicolon here

My guess is that oxc does not recognize script as typescript

Commenting out code
---
const { props } = Astro

const attrs = {}
---

<script is:inline {...attrs} set:html={props.src ? '' : props.code} />

<!-- <script>
	interface Attrs {
		'data-attrs'?: string
	}
</script> -->

Produces
x Unexpected token
         site:lint |    ,-[src/components/Script.astro:2:1]
         site:lint |  2 |
         site:lint |  3 | <!-- <script>
         site:lint |    :  ^
         site:lint |  4 |     interface Attrs {
         site:lint |    `----

This is harder than I thought 😅

Since it has error recovery, we don't need to struggle with the wired edge case, the only drawback is it may increase binary size.

Since it has error recovery, we don't need to struggle with the wired edge case, the only drawback is it may increase binary size.

Binary size + performance is not something I'd trade off for, I'll take a look at their compiler test suite.

They don't have too many test suites, https://github.com/ikatyang/tree-sitter-vue/blob/master/corpus/spec.txt, the most attractive feature of tree-sitter is the error recovery, they can always find the valid script tag, what every the source code is, this could solve our problem perfectly.

we need to improve the parser to balance out the angle brackets.
The parsing code is here https://github.com/oxc-project/oxc/tree/main/crates/oxc_linter/src/partial_loader
PRs are welcome.

@Boshen  this issue can be closed, not sure why it didn't auto close on my PR being merged


feat: Implement Spark-compatible CAST from String to Decimal

Which issue does this PR close?
Closes #325.
Rationale for this change
We currently delegate to DataFusion when casting from string to decimal and there are some differences in behavior compared to Spark.
This PR implements a Spark-compatible cast from String to Decimal.
What changes are included in this PR?
An implementation of parse_decimal copied from arrow-rs, modified to be compatible with Spark's behavior.
How are these changes tested?

The test underCometCastSuite now passes.
Unit tests were introduced in cast.rs.

@kevinmingtarja, thank you for helping me with a draft. Could you please take a look?

@andygrove @vaibhawvipul Could you please take a look?

@andygrove @vaibhawvipul Could you please take a look?

Apologies @sujithjay I had missed this ping. I will review this early next week.

This is looking good @sujithjay. CI is failing due to clippy warnings. If you run clippy locally you should be able to see the same warnings as well as suggestions for fixing.

@sujithjay I took the liberty of fixing the clippy issues and fixing the conflicts

@sujithjay  I will close this PR for now since it has been inactive for a while. Feel free to reopen this or create a new PR if you continue work on this.


Make plan_id not required for update operation

Hi, according to spec, plan_id is not required for update operation. It's already fixed in 2.x branch, but not in 1.x. it would be nice if you could make 1.0.3 release with this simple fix.

Thanks for reporting. We'll review and consider another 1.0.x release. I'm curious if you've tried the latest 2.0?

Yep, I've tried 2.x, but it's requires major spring-boot version upgrade which we can't do atm because of some other libraries depends on spring-boot 1.x code which is no longer there.

Indeed, that's a significant requirement for upgrading to 2.0. Thanks for the additional context.


Restrict URL preparation to HTTP/HTTPS

Requests treats all URLs starting with the string 'http' as HTTP URLs.
Preparation with IDNA breaks non-standard URIs like http+unix. Requests
now prepares only URLs with prefix http:// and https://.
Signed-off-by: Christian Heimes<EMAIL_ADDRESS>

http+unix is used in Docker, Custodia and SSSD, e.g. https://github.com/latchset/custodia/blob/master/custodia/client.py#L60 with URI like http+unix://%2Fvar%2Frun%2Fcustodia.socket/secrets for HTTP over Unix sockets on socket file /var/run/custodia.socket.

This looks entirely reasonable to me, thanks @tiran!

One note though: can we get a test for this?

Cool, thanks @tiran! All tests pass, so it seems like it's good to go. Thanks so much! :sparkles: :cake: :sparkles:


[Client] Incorrect references to the docs in the code

All the links that I found in the code are here:

https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-certificates/src/index.ts#L221
https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-secrets/src/index.ts#L143
https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/keyvault/keyvault-keys/src/cryptographyClient.ts#L672

These links should be updated to accomodate the new formatted links of the docs which are being pulled from the blob and have versioning in them https://azure.github.io/azure-sdk-for-js/keyvault.html
cc: @ramya-rao-a

@sadasant Please sync up with @daviwil on the best way we want to document the credential parameter to our constructors.
We should be consistent regarding this matter across our libraries.
So, please co-ordinate with @HarshaNalluru for storage as well


Auth Next: Allow contracts to authorize subcontract calls

Currently there is an inconsistency in the auth framework where accounts can authorize arbitrary call trees via signing them, but contracts only implicitly authorize the sub-contract calls, but nothing else. So, for example, the xfer call can't be performed on behalf of the invoker contract. While this case is not as frequent as account-based authorizations, it still might appear in practice (e.g. when sub-contract needs to safely pull token from the invoker contract).
Potential solutions are:

Provide a host function that adds sub-call authorizations for the next contract call
Add a version of the contract call function that accepts additional sub-contract authorizations

Wanted to add some context about why a solution to this inconsistency is important to have for Soroban.
Consider any vault contract (like DAI, xcyloans, or a Blend lending pool) that contains a function that, from an Address, attempts to transfer funds into it using the auth-next pattern:
fn vault_deposit(env: Env, from: Address, amount: i128) {
    from.require_auth(); // check from has signed off on depositing funds
    // ... some contract specific logic
    let token_client = // whatever token is being deposited
    token_client.xfer(&from, &env.current_contract_address(), &amount); // contains an underlying call to `require_auth` for `from`
    // ... some contract specific logic
}

Contracts (like a DAO attempting to lend funds, or a smart wallet) would not be able to call this deposit function without the implementation of this feature.
This could push contract designers to expose two functions, one with approval logic for contracts, and one with auth-next logic for users (or anyone who can add signatures to the call tree). Another option would for them to only expose the approval based function and not support auth-next in favor of allowing contracts to use their protocol.


react-router 2

@chentsulin any interest in using (react-router-redux)[https://github.com/rackt/react-router-redux]? Keeping routing state in the store is very useful imo (: I don't mind adding it

@slightlytyler feel free to open a new PR. I will merge it.


testing: Don't silently ignore nested t.Cleanup calls

What version of Go are you using (go version)?

$ go version
go version go1.15 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/user/.cache/go-build"
GOENV="/home/user/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/opt/go/path/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/opt/go/path"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/home/user/.gimme/versions/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/home/user/.gimme/versions/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/user/go-test/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build146632005=/tmp/go-build -gno-record-gcc-switches"

What did you do?
Call t.Cleanup from inside of a cleanup function,
package main

import (
	"fmt"
	"testing"
)

func TestCleanup(t *testing.T) {
	t.Cleanup(func() {
		fmt.Println("cleanup initial")
		t.Cleanup(func() {
			fmt.Println("nested cleanup")
		})
	})

	fmt.Println("run test")
}

What did you expect to see?
Either the newly added Cleanup function to be run immediately after the initial clean up (to respect LIFO order) or for the Cleanup call to cause the test to be marked as failed.
What did you see instead?
The nested cleanup function is ignored silently,
=== RUN   TestCleanup
run test
cleanup initial
--- PASS: TestCleanup (0.00s)
PASS
ok  	command-line-arguments	0.004s

I believe this is a misuse of t.Cleanup, your second call is only registered when the first one is run (at the end of the tests) and not at the beginning of the test

This does seem like a misuse of t.Cleanup. Silently failing seems odd though.
/cc @mpvl

CC @rogpeppe

I'll send a CL.


Set-NetShare without modified params produces errer

The Function tries
[Netapi]::NetApiBufferFree($bufptr) | Out-Null
But since there was no change $bufptr is not initialiezed.
Move the line up in the If - case

Pushed Verion 1.0.16 with Bug Fix


Facing fatal error in browser when getaccount and getfollowedbycount functions are called

Php code
require DIR . '/vendor/Instagram/vendor/autoload.php';
$instagram = new \InstagramScraper\Instagram();
$account = $instagram->getAccount('zainoun_');
echo "Number of follows: {$account->getFollowedByCount()}\n";
Output in browser:
Fatal error: Uncaught InstagramScraper\Exception\InstagramException: Response code is 200. Body:       Login • Instagram         <link rel="preload" href="/static/bundles/es6/ConsumerAsyncCommons.css/638f1bd337c8.css" as="style in /var/www/html/domainname.com/public_html/vendor/Instagram/vendor/raiym/instagram-php-scraper/src/InstagramScraper/Instagram.php on line 431
Kindly share your suggestion to fix above issue. Thanks in advance.

see this. For some reason instagram won't let you fetch info without logging in for certain ip addresses.


Error while upgrading to 0.4.1633558788 mediapipe pose

Error while upgrading mediapipe pose npm version from 0.2.1614787780 to latest i.e. 0.4.1633558788
Calculator::Open() for node "poselandmarkgpu__poselandmarkbyroigpu__poselandmarkmodelloader__LocalFileContentsCalculator" failed: Failed to read file third_party/mediapipe/modules/pose_landmark/pose_landmark_full.tflite. [type.googleapis.com/mediapipe.StatusList='\n\xe1\x01\x08\x02\x12\xdc\x01\x43\x61lculator::Open() for node \"poselandmarkgpu__poselandmarkbyroigpu__poselandmarkmodelloader__LocalFileContentsCalculator\" failed: Failed to read file third_party/mediapipe/modules/pose_landmark/pose_landmark_full.tflite.']
put_char @ pose_solution_simd_wasm_bin.js:9
write @ pose_solution_simd_wasm_bin.js:9
...
...
...
r @ camera_utils.js:7
(anonymous) @ camera_utils.js:7
requestAnimationFrame (async)
q @ camera_utils.js:7
a.video.onloadedmetadata @ camera_utils.js:7
ReactTest.js:327 RuntimeError: abort(undefined) at Error
    at jsStackTrace (pose_solution_simd_wasm_bin.js:9)
    at stackTrace (pose_solution_simd_wasm_bin.js:9)
    at abort (pose_solution_simd_wasm_bin.js:9)
    at _abort (pose_solution_simd_wasm_bin.js:9)
    at pose_solution_simd_wasm_bin.wasm:0x517665
    at pose_solution_simd_wasm_bin.wasm:0x517520
    at pose_solution_simd_wasm_bin.wasm:0x51767e
    at pose_solution_simd_wasm_bin.wasm:0x19398
    at pose_solution_simd_wasm_bin.wasm:0x14436
    at SolutionWasm$send [as send] (eval at new_ (pose_solution_simd_wasm_bin.js:9),

Hi @mehtapaxshal,  Could you please have a look at this https://github.com/google/mediapipe/issues/2267#issuecomment-875862168

Any updates on this issue? Looking forward for the fix and unblock our team.

Any updates guys?

Thanks for the patience.  I did stage a new version of pose recently, and it does not exhibit this error.  Can you try upgrading?

@mhays-google I did try the new version just now and still errors out. FYI, I tried the npm version - 0.5.1635988162
Let me know if you need any other information to debug more about this issue.
cc @sgowroji

@mhays-google Anything I can try on my end or is there any debug information you would like me to send to you to figure out the issue?

I'm sorry that this is still blocking your team.  This error:
"Failed to read file third_party/mediapipe/modules/pose_landmark/pose_landmark_full.tflite"
The path is internal, but the file is still part of the bundle.  This tells me that the tflite file is not getting read correctly, and is probably missing.  Take a look at the network tab and make sure that this file is being downloaded with a 200.    I use promises to sync everything, so it shouldn't be an issue.

@mhays-google Thanks for your response.
I checked the network tab and I can see 200 responses from the network.

Btw, just making sure the way I am calling the file is correct or not. I am doing like this:
const pose = new Pose({locateFile: (file) => {       return https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>}});`

You are actually looking for pose_landmark_full.tflite, not pose_web.binarypb
I see 'pose_landmark_full.tflite' being loaded, but I do not see pose_landmark_full.tflite getting loaded.  Look in your options and set model_complexity to 0, just as a sanity check.  Tell me if that works.

I tried setting model_complexity to 0, still no luck. I don't see  pose_landmark_full.tflite in the network tab i.e. not getting loaded. What can cause this issue?

Hi mehtapaxshal, can you tell me if the demo at code.mediapipe.dev/codepen/pose works on your machine (that is, the same machine on which you are experiencing this error?)
If the solution fails to start, it won't load the file.  You can try calling await pose.initialize();.  This will force everthing to try to initialize before sending your first frame.

@mhays-google Figured out the issue. I was missing some configurations in my code that wasn't loading the required file. I am able to make it work now with the latest version. Thanks a lot for your help.
Thanks @sgowroji
Appreciated!

Hi @mehtapaxshal, Glad you are issue resolved and thank you for sharing the update.


[STYLE CHANGE] Improving sidebar of home page

Description:
The sidebar of the homepage looks so simple
Reason for Change:
As the sidebar of blog.html it too can be enhanced.
Current Styling:
Simple white colour need to be changed
Proposed Styling:
It  can be matched with the home page design i.e. greenish colour or as recommended.
Screenshots or Design Mockups (optional):

Priority Level (optional):

[ ] Low
[X] Medium
[ ] High

@akshitagupta15june Please assign it to me under GSSOC'23

can u suggest UI like u want to add some greenish I want to see how will it look

can u suggest UI like u want to add some greenish I want to see how will it look

Sure


Wrong project name when the mouse is not in the schedule

Related to update from https://github.com/AllenNeuralDynamics/dynamic-foraging-task/pull/694
When the animal ID is not in the schedule, the project information will be forced to set as default. This is problematic. When the animal is training in the ephys rig without the schedule information, the project will also be set to default after clicking start (usually we'd like to use a different project information). Please cancel the force default setting.

Or make the default optional so that we can disable the default settings in the ephys rig

Adding a parameters in ForagingSettings.json that disables auto filling the project name seems like a good solution.
Or changing the logic so that the default doesn't get set if the project name has already been manually configured.

The second solution seems to be more universal.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Alex Piet @.>
Sent: Thursday, October 10, 2024 3:35:09 PM
To: AllenNeuralDynamics/dynamic-foraging-task @.>
Cc: Xinxin Yin @.>; Author @.>
Subject: Re: [AllenNeuralDynamics/dynamic-foraging-task] Wrong project name when the mouse is not in the schedule (Issue #770)

Adding a parameters in ForagingSettings.json that disables auto filling the project name seems like a good solution.
Or changing the logic so that the default doesn't get set if the project name has already been manually configured.

—
Reply to this email directly, view it on GitHubhttps://github.com/AllenNeuralDynamics/dynamic-foraging-task/issues/770#issuecomment-2406156748, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2CTX5SIXVKLUBMYB5M7KGTZ236J3AVCNFSM6AAAAABPXWIVVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBWGE2TMNZUHA.
You are receiving this because you authored the thread.Message ID: @.***>


drivers: wireless: Refactor gs2200m.c

Summary

Remove unnecessay code from gs2200m_irq()
Fix irq control in case that work_available() returns false

Impact

All use cases with gs2200m driver

Testing

Tested with spresense:wifi

@jerpelea


How do i import TcpServer from this package?

I'm trying to reproduce the sample server but I can't figure out how to import the TcpServer from your package. The package exports an MqttServer but I can't find a word how to use it. Can you please provide an example how to use your module?

Hi,
thanks for asking. The sample demoServer is an example on how to use the TcpServer.
If you just want to run an MQTT server then demoServer will do the job. If you want to add custom logic on how to handle authentication and authorization then you'll want to clone and adapt the demoServer, e.g. see the conformanceServer which is a variant of the demoServer specifically for conformancetesting with IotTestWare.
The MQTTserver takes a sockConn object and will use the Readable and Writable streams in the sockConn to communicate with the network layer.
In the demoServer the sockConn is created by TcpServer using NodeJS API's , but you could also create a sockConn based on Deno API's using the TcpServer in /deno or you could  base the sockConn on websocketstream (this in currently not implemented in Opifex, but should be fairly easy to add).
Or any other type of connectivity that can deliver a reliable connection and is capable of interfacing to Readable/Writable streams.
Hope this helps.
Feel free to ask more questions!
Kind regards,
Hans

Ah. I see. Now I know what you mean. I think it would be helpful if your sample code would show directly how to use the MqttServer class instead of wrapping it in another class in a different directory. I was under the impression the API of your package expects me to use the TcpServer.

Thanks for the feedback!
I tried at first to make the code use either the Deno or NodeJS version of TcpServer based on platform detection, but since Deno works as well with the NodeJS version I decided to skip platform detection.
I will try to document this a bit better.
Thanks again,
Hans

I have just added an [architecture section] (https://github.com/seriousme/opifex/blob/main/README.md#architecture)  to the README.
Does this help?
Kind regards,
Hans

I think it helps a bit. Ideally I would like a bit of example code (like the demoServer.ts) that I can just copy & paste and get started, just show me how to use the real API right away. A tiny package like yours has to prove it's usefulness really quickly. If I would have been able to get the mqttServer up and running in a few minutes I probably would be using it right now in my project. Honestly I just assumed that you forgot to export the TcpServer. I found the MqttServer class, but I couldn't find a good example and assumed TcpServer was part of the API you are providing, not example code. It makes sense for me now once I read your reply, but it really didn't occur to me before.
Does this make sense?

Hi,
I have just updated the README with a simple example.
Hope this improves readability.
KInd regards,
Hans

Thank you! Much better!


Task was killed due to the node running low on memory

In my case , I deployed the vllm service on 2 GPUs A800. but when I doing mutiple requests, I meet the ray OOM error. Could you please help check this problem?
my model is fine-tuned llama-70b
my transformers version is 4.34.1
my cuda version is 11.8, V11.8.89
my vllm version is 0.2.1.post1
When I was doing muti requests, An error came.
ERROR:    Exception in ASGI application
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/vllm/engine/async_llm_engine.py", line 28, in _raise_exception_on_finish
task.result()
File "/usr/local/lib/python3.8/dist-packages/vllm/engine/async_llm_engine.py", line 351, in run_engine_loop
has_requests_in_progress = await self.engine_step()
File "/usr/local/lib/python3.8/dist-packages/vllm/engine/async_llm_engine.py", line 330, in engine_step
request_outputs = await self.engine.step_async()
File "/usr/local/lib/python3.8/dist-packages/vllm/engine/async_llm_engine.py", line 191, in step_async
output = await self._run_workers_async(
File "/usr/local/lib/python3.8/dist-packages/vllm/engine/async_llm_engine.py", line 220, in _run_workers_async
all_outputs = await asyncio.gather(*all_outputs)
File "/usr/lib/python3.8/asyncio/tasks.py", line 695, in _wrap_awaitable
return (yield from awaitable.await())
ray.exceptions.OutOfMemoryError: Task was killed due to the node running low on memory.
Refer to the documentation on how to address the out of memory issue: https://docs.ray.io/en/latest/ray-core/scheduling/ray-oom-prevention.html. Consider provisioning more memory on this node or reducing task parallelism by requesting more CPUs per task. Set max_restarts and max_task_retries to enable retry when the task crashes due to OOM. To adjust the kill threshold, set the environment variable RAY_memory_usage_threshold when starting Ray. To disable worker killing, set the environment variable RAY_memory_monitor_refresh_ms to zero.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/uvicorn/protocols/http/httptools_impl.py", line 435, in run_asgi
result = await app(  # type: ignore[func-returns-value]
File "/usr/local/lib/python3.8/dist-packages/uvicorn/middleware/proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "/usr/local/lib/python3.8/dist-packages/fastapi/applications.py", line 284, in call
await super().call(scope, receive, send)
File "/usr/local/lib/python3.8/dist-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.8/dist-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/usr/local/lib/python3.8/dist-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, _send)
File "/usr/local/lib/python3.8/dist-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/usr/local/lib/python3.8/dist-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/usr/local/lib/python3.8/dist-packages/fastapi/middleware/asyncexitstack.py", line 20, in call
raise e
File "/usr/local/lib/python3.8/dist-packages/fastapi/middleware/asyncexitstack.py", line 17, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.8/dist-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.8/dist-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.8/dist-packages/starlette/routing.py", line 69, in app
await response(scope, receive, send)
File "/usr/local/lib/python3.8/dist-packages/starlette/responses.py", line 277, in call
await wrap(partial(self.listen_for_disconnect, receive))
File "/usr/local/lib/python3.8/dist-packages/anyio/_backends/_asyncio.py", line 597, in aexit
raise exceptions[0]
File "/usr/local/lib/python3.8/dist-packages/starlette/responses.py", line 273, in wrap
await func()
File "/usr/local/lib/python3.8/dist-packages/starlette/responses.py", line 262, in stream_response
async for chunk in self.body_iterator:
File "llama_vllm_common_service.py", line 400, in stream_results
async for request_output in results_generator:
File "/usr/local/lib/python3.8/dist-packages/vllm/engine/async_llm_engine.py", line 436, in generate
raise e
File "/usr/local/lib/python3.8/dist-packages/vllm/engine/async_llm_engine.py", line 430, in generate
async for request_output in stream:
File "/usr/local/lib/python3.8/dist-packages/vllm/engine/async_llm_engine.py", line 70, in anext
raise result
File "uvloop/cbhandles.pyx", line 63, in uvloop.loop.Handle._run
File "/usr/local/lib/python3.8/dist-packages/vllm/engine/async_llm_engine.py", line 37, in _raise_exception_on_finish
raise exc
File "/usr/local/lib/python3.8/dist-packages/vllm/engine/async_llm_engine.py", line 32, in _raise_exception_on_finish
raise AsyncEngineDeadError(
vllm.engine.async_llm_engine.AsyncEngineDeadError: Task finished unexpectedly. This should never happen! Please open an issue on Github. See stack trace above for the actual cause.

I met the same error. @WoosukKwon Can you give some help? Decrease swap-space in vllm or change RAY_memory_usage_threshold or RAY_memory_monitor_refresh_ms in ray?

I am also getting the same. Anyone else resolved this issue?

Hey, Any updates on this issue?


openai-monitor-log.png

Before selecting the "Create pull request" button:

adding openai icon

Describe the summary, scope, and intent of this PR:
adding openai icon

AFTER YOUR PR HAS BEEN CREATED, expand this section for tips and additional instructions.
These are common guidelines for contributions across the repos managed by the Cloud Architecture Content Team (CACT). Some repositories may have additional specific requirements that are not listed here.
Guidance for all contributors

Topic
Guidance

Draft PR
If your PR will be a work-in-progress for more than a day or two, select the Convert to draft link in the upper right of the page (under Reviewers) to change it to a draft. For future reference, you can also do this using the Create pull request button drop-down during PR creation.

ms.date metadata
Don't update an article's "ms.date" metadata property unless you've done a full freshness review of the content. A full freshness review includes changes required to correct or improve the full technical accuracy of the article.Don't update "ms.date" if you're doing targeted changes to improve non-technical aspects of the article, such as editorial quality, art improvements, article template alignment, etc.If you've changed any "ms.date" properties for work that wasn't part of full review for freshness, please reset them to their previous value.

Placement and linking
If you're creating a new article or articles, include updates to the related TOC.yml file to propose where the article(s) should be placed. Also consider other places within the document set where it would be beneficial to cross-reference and link to your new article(s).

PR build
After you open your PR, and for each successive commit that you push to your branch, the publishing platform will run validation on the files in your pull request. A summary of the build results for each file will be inserted inline into your pull request, which includes any build suggestions/warnings/errors. PRs cannot be merged until all build errors and most warnings are resolved.

Publishing
Following a successful merge, most repos publish to the live site at least once per (business) day, usually around 10am Pacific.

Additional resources
Learn.Microsoft.Com contributor guide

Additional guidance for private repos and internal contributors

Topic
Guidance

PR size
If your PR is more than ~5 lines of changes, or you'd like for the changes to go through editorial or larger review, open a contribution request at https://aka.ms/Contribution and include a link to the PR in response #8. Once it's processed, you'll be notified of the next steps.

PR title prefix
Select the Edit button to the right of the PR title if you need to revise it. The following prefixes are reserved for specific contribution types:[Quality Check] - maintenance work related to content quality (edit passes, art improvements, template alignment)[LinkFix] - recurring/adhoc PRs to correct link URLs[Pipeline] - new/updated contributor success pipeline content[WIP] - a work-in-progress draft requiring several days/weeks

PR preview
Following successful build of your PR, publishable files will also include Preview URL links to staged previews of your new/updated articles. Be sure to review these for verification of your intended contributions, or to send to other internal contributors for review.

PR sign-off (public repo)
If an article you own is updated in a public repo PR, you are responsible for sign-off. You will be automatically notified via email. The PR will not be merged until you've had a chance to review and sign-off.

PR sign-off (private repo)
After you've completed your proposed changes, addressed build warnings, and completed all review work, you can begin the sign-off process for review and merge:If your PR is in draft mode, remove "[WIP]" from the title and select Ready for review button at the bottom of the PR.Enter "#sign-off" in a new comment. This comment indicates that you're confident the work meets or exceeds Microsoft's standards for publication, and will trigger the review process.Your PR may be selected for initial review by the CACT. Following CACT review, you may receive questions or requests for additional changes. You should have initial feedback from CACT review within a few business days. If you have an urgent request or need to contact the team, please mention @MicrosoftDocs/cloud-architecture-content-team-pr-reviewers in your PR and someone will get back to you. After CACT review is complete, a CACT #sign-off will be added.Final review/merge is done by the PR review team. The PR team may also respond with feedback, categorized as "Blocking" (requires action from you), or "Non-blocking" (to be addressed in a future PR).

Additional resources
Learn.Microsoft.Com internal contributor guideAuthoring templates: architecture-center-pr, well-architected-prTo contact the CACT use e-mail, or @mention our GitHub team in your PR comments using: @MicrosoftDocs/cloud-architecture-content-team-pr-reviewers

@MicrosoftDocs/cloud-architecture-content-team-pr-reviewers - Please review the proposed changes. If you want to move forward with the content, add a sign-off.
#label:"aq-pr-triaged"
#label:"pending-content-team/business-approval"
Cc: @MicrosoftDocs/public-repo-pr-review-team

@shdowofdeath - thanks very much for your contribution.
This type of change requires updates to the corresponding/master Visio diagram. As such, we'll close this PR and bring your change through our internal repo and diagram updating process. Look for the updates to propagate out in the near future..
#please-close


cleanup / silence warnings

@gabetax

:+1: on green

blaeh ... when deprecations fail the test just hangs ... going back to warns :(


[R11 Bugbash] We shouldn't have an Edit->Undo menu if it isn't universally applicable throughout the app

Describe the bug
There is an "Edit" -> "Undo" in the top level menu. However that only applies whatever that was entered into the text box last. It doesn't undo anything else in the UI around the WSYIWYG editor for the dialogs, etc. I assume undo also works in the "Show Code" mode since it is essentially a multi-line text box.
Should we even expose that if Undo is not universally supported throughout the app?
Version
            Bot Framework Composer

            Version:  1.2.1-nightly.191674.827857c
            Electron: 8.2.4
            Chrome: 80.0.3987.165
            NodeJS: 12.13.0
            V8: 8.0.426.27-electron.0

Browser

[x] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior

Screenshots

Additional context

closing as a duplicate of #8115


Create two instances of postgres database using Dockerfile.

Hi,
I have a dockerfile which creates the postgres container instance.
FROM postgres
CMD ["postgres"]
I have environment variable set in deployment.json file as follows:
"db": {
"version": "1.0",
"type": "docker",
"status": "running",
"restartPolicy": "always",
"settings": {
"image": "${MODULES.db}",
"createOptions": {
"Env": [
"POSTGRES_PASSWORD=postgres"
],
"HostConfig": {
"PortBindings": {
"5432/tcp": [
{
"HostPort": "5432"
}
]
},
"Mounts": [
{
"Target": "/etc/timezone",
"Source": "/etc/timezone",
"Type": "bind"
},
{
"Target": "/etc/localtime",
"Source": "/etc/localtime",
"Type": "bind"
},
{
"Target": "/var/lib/postgresql/data/",
"Source": "/var/local/",
"Type": "bind"
}
]
}
}
}
}

I am creating a docker image from this and deployed it as a iotedge module.
I am using sequelize ORM to populate this database by taking the data from backend using api call.
My question is can I create two instances of database inside same docker container one is getting populated using sequelize orm and another one is getting populated using some code in dotnet core.
so basically I want one container with two databases running inside it getting populated using two different techniques.
Can any one give some comments on this?

Sounds like you'd want a docker-compose.yml file to mount your *.sql's to /docker-entrypoint-initdb.d
https://github.com/docker-library/docs/tree/master/postgres#initialization-scripts
You can also add your environment variables to the docker-compose file and have it do multiple different containers at once if you needed.
https://docs.docker.com/compose/environment-variables/
For further help you could try the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repositories are for issues with the image and not necessarily for questions of usability


BCHDCC-79 Modify Keyword Search Behavior on an Exact Subcategory Match

Description

If you perform a keyword search and that keyword happens to be an exact match with a subcategory keyword, have the search perform in the same way as if that subcategory check box was checked and that subcategory was searched.
Match the keyword to the main category and subcategory in the filter results dropdown, ensure the check box associated with that subcategory keyword is checked. The results for a search with an exact subcategory keyword match and using the subcategory filter should return the same list.
A search for a non-keyword/subcategory match should clear the subcategory checkbox and perform a new search just based on the keyword.
Motivation and Context

BCHDCC-79 - If you type the exact category, enable the checkboxes to show for search

Screenshots

Libraries Added
Migrations to Run: Yes / No
Tests to Run
Recompile js assets before testing
Internal Checklist

[x] My code follows the code style of this project (https://rubystyle.guide/).
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

@anna-dorigo I broke the index into smaller methods for clarity and readability, let me know how this looks and if it's easier to follow. Thanks!


METRON-281 Simplify deployment to alternative AWS region

METRON-281
To use an alternative AWS region, the user has to manually define the new AWS region along with lookup and redefine the Centos 6 AMI identifier that applies for their chosen region. The AMI identifiers can be difficult to find as they are not on the primary page for the CentOS 6 image.
This was simplified so that a user only has to specify the region they wish to deploy Metron to. The user no longer has to lookup and redefine the AMI identifier.  At the same time, the user can choose to override the image setting to override and use a specific AMI identifier, if desired.

+1 glad to have this. Puzzled why west stopped working though. I'll try to remember to dig into that. Think it's worth a Jira?

Thanks. I wasn't sure if it deserved a JIRA or not.  Since it works in all AWS regions except us-west-2, I was assuming that it is more likely to be something about my AWS environment and not something that is Metron specific.  On the other hand, I don't really know.  It could be a Metron problem.

+1 by inspection


REQUEST: --fs-subjects-dir in fmriprep 1.3.x

Dear all,
I am using  fmriprep version 2.1.0. in a python script and want to give in already processed freesurfer data:
  subprocess.run(['fmriprep', str(subject_path), str(path_output_fmriprep)+'/participant/', 'participant', '--fs-subjects-dir', str(path_freesurfer), '--fs-license-file', str(path_fs_license)])
It does not find the command --fs-subjects-dir. Is it not included in 2.1.0? but in 2.2.1 it does work.
I use a docker container with FROM tigrlab/fmriprep_ciftify:latest, which uses I think not the 2.2.1 version of fmriprep.

It looks like --fs-subjects-dir was added in version 1.5.3. We don't have versions 2.1.x or 2.2.x, so I'm not sure what those correspond to.

Sorry, I meant 20.2.1

So it looks like ciftify's BIDS App uses fMRIPrep 1.3.2: https://github.com/edickie/ciftify/blob/421f87d59bd08775e846847fceb8e8430ea81bc8/ciftify/bidsapp/Dockerfile
This would be a good issue to raise in ciftify. My guess is that that version was chosen to avoid changing derivatives, so upgrading to 20.2+ might be involved. If they need to continue using 1.3.x, it would not be terribly difficult to backport https://github.com/nipreps/fmriprep/pull/1901.

@edickie, can we safely assume ciftify will upgrade to 20.2.x at some point? (we recommend that as it is tagged LTS and situations like this issue will have it harder to regress)

Closing this as it is a ciftify issue


Added overloaded exec to return Future

Hi @regiskuckaertz
Do you think returning a Future from exec will be idiomatic? If yes, raised a PR for this addition :)

It can't hurt 😉 I wonder though, why would you be using the alpakka client if you can just grab ScanamoAsync and directly get a Future[_]?
You'll have to run fmt (perhaps you need to pull the latest master, I changed some rules recently)

That's a good point but doesn't org.scanamo.ScanamoAsync use
com.amazonaws.services.dynamodbv2.AmazonDynamoDBAsync
which is inherently blocking?
https://aws.amazon.com/blogs/developer/aws-sdk-for-java-2-x-released/
The AWS SDK for Java 2.x utilizes a new, nonblocking SDK architecture built on Netty to support true nonblocking I/O. The 1.11.x version already has asynchronous variants of service clients, but they are a managed thread pool on top of the synchronous clients, so each request still requires its own thread.
and build.sbt contains
val awsDynamoDB = "com.amazonaws" % "aws-java-sdk-dynamodb" % "1.11.504"
Moreover, I guess converting to Future will make codebase composable and might reduce boilerplate. What do you think?

@regiskuckaertz
Run scalafmtAll and fixed the other issues. The changes are good to be reviewed if you think they are useful 😃

Great! Glad it helped 😄
Thank you for quick replies 👍


Requirement Request: Critical Issues Check

Description
Maintain a list of known security or critical issues of each component version, and notify users about them if user is using an outdated version. This can be integrated with Cluster Diagnostics.

Category

Security

Value

Keep user safe.

Score: 4

Workload Estimation

7 Person Day (effort of creating an issue list is not counted)

Covered by the clinic service.


Chrome web store version is behind

LOVE this extension!! Unfortunately the version uploaded to the web store seems to be behind. It's on 0.5.2 but this repo is on 0.5.3. Most significantly the web store version doesn't have dark mode D:

Hi, I'm yearning for dark mode myself, but I have multiple devices and wouldn't want to install the extension manually on each of them.
I'd appreciate if the update gets published to the store.
I'd do it myself, but the chrome policy does not want multiple extensions with the same functionality, so I'm afraid the original makers are really the right people to push any changes.


Allow creating blank issues

Many new issues were created mistakenly with "team: infra" issue, the hypothesis is users just scrolled to the bottom and clicked lowest issue template, which is the infra one.
This PR will re-enable the option of opening a blank issue to mitigate the problem.

Example mislabeled issues (which has "team: infra" label initiallly):

https://github.com/flutter/flutter/issues/64764
https://github.com/flutter/flutter/issues/64777
https://github.com/flutter/flutter/issues/64821
https://github.com/flutter/flutter/issues/64825
https://github.com/flutter/flutter/issues/64839

/cc @godofredoc @keyonghan

Doesn't it still redirect to stack overflow?

We definitely do not want to do this and encourage the community to file issues against us for issues that belong on Stack Overflow.

@sidrao2006 The option of stack overflow will remain. There will be a new link at the bottom for openning blank issues.
@kf6gpe Sorry for the confusion, this change will keep the stack overflow option.

More examples:

https://github.com/flutter/flutter/issues/64959
https://github.com/flutter/flutter/issues/64955
https://github.com/flutter/flutter/issues/64906
https://github.com/flutter/flutter/issues/64902
https://github.com/flutter/flutter/issues/64863
https://github.com/flutter/flutter/issues/64861

@sidrao2006 The option of stack overflow will remain. There will be a new link at the bottom for openning blank issues.
@kf6gpe Sorry for the confusion, this change will keep the stack overflow option.

Alright, that should be fine

As the filer of #64825 I can provide a data-point - it's not that I "scrolled to the bottom and selected that option", it's that of the options offered, that was the only one with "bug" in the description, so it seemed like the closest match. I'm not sure whether I would have picked an "other issue" or blank option over one with "bug" in the description.
Maybe a better fix, from my perspective, would be if "I have a problem with my flutter application" was more clearly appropriate for a bug in Flutter widgets. Now that I more carefully read all the sub-text on that option in the screenshot in this bug I can see that I should probably have selected that one, but when I was just skimming through trying to file a bug that option was very much filtered out at the bold text - "it's not a problem with my application, next!"

Thanks, @ravenblackx, for the clarification! I think that makes sense as a starting point.


Refactor embeddedWrapper to ratioKeeper

Approach:
.ratioKeeper {
  position: relative;
  display: inline-block;
  overflow: hidden;

  .ratioKeeper-ratio {
    display: block;
    width: 100%;
    padding-bottom: 100%;
  }

  .ratioKeeper-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    &.centerVertically {
      top: 50%;
      transform: translateY(-50%);
    }
  }

}

Demo:
http://jsfiddle.net/c2bk3trb/9/
See also: https://github.com/suitcss/components-flex-embed/blob/master/lib/flex-embed.css
Add smarty block function (see smarty_block_box):
  {ratioKeep ratio=0.5}
  {/ratioKeep}

  {ratioKeep width=400 height=200}
  {/ratioKeep}

@njam please review.

CM/SmartyPlugins/block.ratioKeeper.php: Apply formatting

Rest looks good, feel free to merge after adjusting it.


fix migration ,change the migration  #d1a0d96

Remove the transaction sentence, because it's a wrong usage and it dose not work in
mysql DDL action,it may cause an implicit commit. See
detail info in mysql-de-refman
Change drop() to dropIfExists() function to avoid none tables exceptions
Closes #678

Nice done.


Packer image created as "Legacy BIOS" instead of "UEFI"

When creating a VM from the finished packer image it only boots if you set the Boot Configuration to Legacy BIOS when creating the VM.  Is there a way to create a UEFI disk image instead?

Hello @ktinthecloud this is on the roadmap

@tuxtof do you have an ETA?

@ktinthecloud you can test https://github.com/nutanix-cloud-native/packer-plugin-nutanix/pull/32


Set CUDA_USE_STATIC_CUDA_RUNTIME to control legacy FindCUDA.cmakebehavior

Set CUDA_USE_STATIC_CUDA_RUNTIME in rapids_cuda_init_runtime to control legacy FindCUDA.cmake behavior too.

@gpucibot merge


iOS: Limit of images

Hi 👋🏽, thanks for this lib.🎉
Is possible have a prop to limit the amount of images for iOS, like in android?

Right now it's not. I'm hoping that iOS allows that to be a configuration in the future.

Hi, is there any possible to skip the multipage option.
thanks in advance.


Remove unnecessary import of cupy.fft

Rel #3420.
This PR removes unnecessary import of cupy.fft, which is naturally imported without the line.

Let me close this PR as the numpy.fft is available via import numpy; numpy.fft or from numpy import *; fft.


WIP alternative encoding support

Description of Changes
Please check that the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] Add a changelog entry (for non-trivial bug fixes / features)
[ ] CI passes

Log Files
Logs / Second
CPU Average (%)
Memory Average (MB)

1
1000
2.4483085
28.36099

1
5000
6.2588444
34.140625

1
10000
11.224601
42.37756

1
50000
39.51694
98.16541

1
100000
70.897125
161.3245

10
100
4.7415447
27.572603

10
500
8.17263
34.10264

10
1000
12.396843
44.140896

10
5000
46.397846
88.91945

10
10000
79.411644
172.45985

Log Files
Logs / Second
CPU Average (%)
Memory Average (MB)

1
1000
2.4483085
28.36099

1
1000
2.810393
27.902613

1
5000
6.896904
36.78408

1
5000
6.2588444
34.140625

1
10000
10.94849
44.22629

1
10000
11.224601
42.37756

1
50000
39.51694
98.16541

1
50000
39.069164
109.42066

1
100000
78.850914
241.70528

1
100000
70.897125
161.3245

10
100
4.7415447
27.572603

10
100
4.9484506
28.987877

10
500
7.9656262
37.15221

10
500
8.17263
34.10264

10
1000
12.396843
44.140896

10
1000
11.758974
45.51495

10
5000
44.587456
137.25095

10
5000
46.397846
88.91945

10
10000
79.411644
172.45985

10
10000
83.415565
197.03111


Suggestions for changing string

"Results" seem to be used after another word like "YouTube Results" så i guess it should be "results" with small startingletter, but i dont know if it used other placer.

"New Tab" and "Current Tab" is not translateable.
They appear when adding a text event and entering af web page to open.

"Women"

"Woman"
Its one of the icons for the popup event.

Change:
"Tv"
To:
"TV"

Maybe change "Speech" to "Speech bubble".
Just like there is "Thought bubble".
Its a type for the popup event

"Flip Tail?" should properly not be a question.
But just "Flip Tail" or better "Flip tail horizontal" or "Flip tail horizontally".
Its on the popup event.

Maybe change "Background (Transparency)" to "Transparent background".

"If you add a large number of clips to your timeline, this could reduce playback quality for people with slower internet connections."
Maybe change "your timeline" to "the timeline".

This string:
Play/Pause media
Should just be:
Play/Pause

Shoud italics be italic without s ?
The string appear two time in Transifex.

Seems to be a missing "(" or maybe the ")" should be removed ?
There was a problem saving your project, so it was backed up to your browser's storage i.e., you can close or reload this page and it will be recovered). Please try again.

This string is a little confusing:
"You can only use 20 images per slideshow."
Can i maximum use 20 images per slideshow ?
Or do i have to use exactly 20 images per slideshow ?
Maybe change the string to use "max" if that is the maximum allowed images to use.


stream_for docblock: $resource accepts Iterator

As per function's code - stream_for accepts Iterator, which is not mentioned in acceptable types for $resource

Cool, thank you!


Add WeightStandardization link hook

This PR adds Weight Standardization.
Please wait for the experimental result of CIFAR-10 until tomorrow.

It's possible that the name of function would be standardize(x, eps, axis).
I'm wondering if cudnn.batch_normalization_forward_training speeds up while the moving averages are not needed.

hmm...
If using cudnn.batch_normalization_forward_training,
normalized_weight, _, _ = (
    cudnn.batch_normalization_forward_training(
        weight, gamma, beta, running_mean, running_var, None, None, eps, 0, ...))

Four more vector all 1 or 0 is needed (gamma, beta, running_mean, running_var).
I wonder memory consumption, how about your opinion?

Please wait for a while response to reviews.
This is experimental result.

ResNet20(3-3-3) with pre-activation
300epoch with reducing learning rate, 0-149: 0.05, 150-224: 0.005, 225-299: 0.0005.
NesterovAG, batchsize=128

Like said in original paper, GN+WS and BN+WS are better than GN.
BN is the best in this experiments because batchsize is large.

Another design choice is
$(x - \mu) / (\sigma + \epsilon)$

vs
$(x - \mu) / \sqrt{\sigma^2 + \epsilon}$

The former is visually cleaner (when an article has a max-page limit), but I believe the latter is mathematically cleaner.  The authors used the former.

Another design choice is
$(x - \mu) / (\sigma + \epsilon)$

vs
$(x - \mu) / \sqrt{\sigma^2 + \epsilon}$

The former is visually cleaner (when an article has a max-page limit), but I believe the latter is mathematically cleaner. The authors used the former.

Hmm, github code by authors also uses the former.
Next commit will follow the author, and it can return later if there is problem.
https://github.com/joe-siyuan-qiao/pytorch-classification/blob/e6355f829e85ac05a71b8889f4fff77b9ab95d0b/models/layers.py#L20

Computing the true gradient needs some efforts.  The implementation of F.normalize could be referred, if you'd like to write the code.

#4190: fix for large eps
#4769: fix for norm = 0

Other options I come up with are:

Drop support for large eps

TODOs: Remove tests and add notes to the docstring

Implement standardize with existing Chainer functions

TODOs: (It could be mentioned that the backprop fails if some std = 0.)

Add eps to variance

TODOs: Explain the difference in the docstring.  The default value doesn't have to be 1e-5.

Computing the true gradient needs some efforts. The implementation of F.normalize could be referred, if you'd like to write the code.

#4190: fix for large eps
#4769: fix for norm = 0

Other options I come up with are:

Drop support for large eps

TODOs: Remove tests and add notes to the docstring

Implement standardize with existing Chainer functions

TODOs: (It could be mentioned that the backprop fails if some std = 0.)

Add eps to variance

TODOs: Explain the difference in the docstring.  The default value doesn't have to be 1e-5.

Thank you for your suggestion!
I have tried to fix for large eps and norm = 0, following F.normalize.

Is https://github.com/chainer/chainer/pull/6678/commits/c3deacf23044408639b6fc7e9f5c97a193184975 for performance enhancement?

Something wrong in my differentiation implementation even if same = 'no' (non-zero variance)...
Someone could you review in this differentiation?
(Also I continue to check implementation.)

The tolerance for fp16 avoided the backward tests. 🤔
ref: https://github.com/hitsgub/chainer/compare/weight_standardization...crcrpar:modify_ws?expand=1

The tolerance for fp16 avoided the backward tests failures of fp32&64🤔
ref: https://github.com/hitsgub/chainer/compare/weight_standardization...crcrpar:modify_ws?expand=1

Thank you @crcrpar !

Following other normalization functions, double backward implementation of ~chainer.functions._standardize is temporarily suspended.

@toslunar Could you review this?

Jenkins, test this please.

Jenkins CI test (for commit 492c2cc1db4bde0a8d2195bda502f59b1a305f04, target branch master) failed with status FAILURE.

Jenkins, test this please.

Jenkins CI test (for commit e01272412ba19d29163dcff7158a20a673c9e4f9, target branch master) succeeded!

Jenkins, test this please.

Jenkins CI test (for commit e01272412ba19d29163dcff7158a20a673c9e4f9, target branch master) failed with status FAILURE.

CIs, test this please.

Jenkins CI test (for commit e01272412ba19d29163dcff7158a20a673c9e4f9, target branch master) failed with status FAILURE.

CIs, test this please.

Jenkins CI test (for commit dd19549bdcf7058d60b05e69eee312c8d0e60061, target branch master) failed with status FAILURE.

Jenkins, test this please.

Jenkins CI test (for commit a0350b6d4e648c642a8736378040f55ba6f1901d, target branch master) failed with status FAILURE.


Ouput only Somatic option doesn't seem to work in the latest revision of var2vcf_paired.pl

In the last revision (and perhaps some earlier ones) the option -M in var2vcf_paired.pl doesn't seem to have any effect on the output. I cross-tested the outputs from the new previous tool with an older version, and the old TSV output from TestSomatic.R with the new tool, and all runs output STATUS=Germline mutations as well.
Do you mind taking a look?
Thanks in advance!
P.S. If I can help in any way, please tell me!

Hi @OgnjenSB do the STATUS=Germline calls have a filter field set at all?

Yes, they do.

So they are soft filtered?
I think the -M may be a misnomer and isn't supposed to hard filter anything out.

Correct, they are soft filtered. The script used to remove all but somatic mutations in the previous versions. Also, in the code there is evidence of revisions at that particular line which changed the behavior (I know for sure it worked correctly in 1.4.6).
Although this can be manually or otherwise edited, I assume this is a bug.

We took a decision to soft filter instead of hard filter here as it's fairly trivial to hard filter soft filtered variants (but not the other way around).

We might have misunderstood each other. These are lines from the VCF that has the option -M set:
1	1247589	.	C	G	95	SN1.5;P0.05	STATUS=Germline;SAMPLE=TUMOR;TYPE=SNV;SHIFT3=0;MSI=4.000;MSILEN=1;SSF=0.3;SOR=0;LSEQ=CCAAGGGAGTGGGGGGGGGG;RSEQ=GGGGCCGGGCGCCCACCTCT	GT:DP:VD:ALD:RD:AD:AF:BIAS:PMEAN:PSTD:QUAL:QSTD:SBF:ODDRATIO:MQ:SN:HIAF:ADJAF:NM	1/0:9:7:6,1:2,0:2,7:0.7778:0,2:13.4:1:24.7:1:1:0:60:1.333:0.8:0:1	1/1:7:7:6,1:0,0:0,7:1:0,2:7.1:1:34:1:1:0:57.1:6:1:0:0.7
1	3701663	.	T	C	170	PASS	STATUS=Germline;SAMPLE=TUMOR;TYPE=SNV;SHIFT3=0;MSI=5.000;MSILEN=1;SSF=0.04913;SOR=2.08948;LSEQ=TGCAGCACCTTGAGGTCCTG;RSEQ=GGGGGCCGGGCGCAGTACAG	GT:DP:VD:ALD:RD:AD:AF:BIAS:PMEAN:PSTD:QUAL:QSTD:SBF:ODDRATIO:MQ:SN:HIAF:ADJAF:NM	1/0:80:41:16,25:16,23:39,41:0.5125:2,2:20.6:1:31.9:1:1:1.08582:60:40:0.5195:0:1.4	0/1:39:13:11,2:12,14:26,13:0.3333:2,2:20.8:1:33.7:1:0.03714:6.12:60:12:0.3243:0:1.2
So when you asked if the filter is set AT ALL, I said yes, meaning that filtration at that field works normally. But no, apart from the STATUS=Germline in the INFO field, nothing is added to the line.
In short, the -M option doesn't do anything. It has no effect on the output whatsoever.

Hi @OgnjenSB, the fact that one of the variants has the P0.05 filter indicates to me that the filter here https://github.com/AstraZeneca-NGS/VarDict/blob/master/var2vcf_paired.pl#L177 is working for the -M option. If you run the same variant in tumor-only mode can you confirm that it doesn't get the P0.05 filter?
The other variant is a bit funny. Wondering if @zhongwulai could comment further but it looks like it may be a complex variation site..? The genotypes for the tumour and normal seem inverted, that is VarDict seems to think that the variant is on different alleles for the tumour and normal, if I'm not completely mistaken.
In bcbio we tend to additionally set a REJECT filter to any variant that has STATUS=germline.


Refresh page impagination is not corrent

HI,
If you refresh page F5 the layout is not correct.

after refresh

Best reagrds

Reloading in general is not a problem and works as expected. Maybe you have some error in console. You need to check or some css selectors are affected or something like this. On my projects its working fine also on https://mudex.azurewebsites.net/object-edit
Could you please check your console, or send me a sample solution where this problem exists?

Hi,
I have no errors.

Using package 6.1.0
<PackageReference Include="MudBlazor" Version="6.1.0" />

i added initialization in app.razor.cs but this is in external library which is loaded.
Best regards

Hi,
my project use a razor library.
The MainLayout and initialization it is in a razor library not in main project.
This could be the problem?
best regards

Not sure, can you create a small solution where the problem occurs, and send it to me?

Thanks. I will check it asap

Ok, there is a problem on my side if application is ServerPrerendered. (sorry didn't check before I always use WebAssembly)
However I#ve created a new Version with a workaround for you.  Use Version 1.7.11
<PackageReference Include="MudBlazor.Extensions" Version="1.7.11" />
And pass then true to the InitializeMudBlazorExtensionsAsync Method.

    protected override async Task OnAfterRenderAsync(bool firstRender)
    {
        if (firstRender)
            await JsRuntime.InitializeMudBlazorExtensionsAsync(true);
        await base.OnAfterRenderAsync(firstRender);
    }

I will change this later on with a better solution, but hopefully that should help first
Working now.
MudBlazorTemplates3.zip

Good work.
Best regards

everything works perfect

closed with 1.7.11


Does not work with Ecma 6.0 since it is enabled in GAS

After updating the working env in Google to Ecma the following error is noticed
ReferenceError: SKIP_RE is not defined

Ecma 6.0 can be enabled in GAS now?
That's breaking news for me! :-D
I would love to fix it when I got time, and Pull Request is welcome!

It's Google version of ECMA - Chrome V8 - still worth to switch :-)
Details here
https://developers.google.com/apps-script/guides/v8-runtime
D>
W dniu 27.03.2020 o 05:14, Huan (李卓桓) pisze:

Ecma 6.0 can be enabled in GAS now?
That's breaking news for me! :-D
I would love to fix it when I got time, and Pull Request is welcome!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/huan/gast/issues/21#issuecomment-604805507, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABRJBD6VDDVZNYTTRIXSNZLRJQR2PANCNFSM4LUPFNRQ.

Awesome! I have just read them and feels so good.
Thank you for your PR and the fresh information!

:-)
Take care in this strange times!
D.
W dniu 27.03.2020 o 15:34, Huan (李卓桓) pisze:

Awesome! I have just read them and feels so good.
Thank you for your PR and the fresh information!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/huan/gast/issues/21#issuecomment-605033829, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABRJBD6YFD77BH4ZHZVPS4LRJS2PFANCNFSM4LUPFNRQ.


about the artile "Doctrine Second Level Cache with Translations and Redis"

I learned more form you article.
but, i have some questions?can you help me? thanks!
about Doctrine Second Level Cache and DoctrineCacheBundle? What did they do separately?
i want use DoctrineCacheBundle for type predis, Can you write a document about it?
thanks again

i got an error,
Second level cache does not support scalar results.

i got it

Hi,
sorry for not replying but I just now got the notification on GitHub.
Happy to hear that you solved your problems.

thx


Call methods on Spatie\Image\Manipulations

Pull Request Test Coverage Report for Build 8

3 of 3 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 6:
0.0%

Covered Lines:
63

Relevant Lines:
63

💛  - Coveralls


I can not switch display / non-display of status bar in Zen mode

VSCode Version: 1.10.1
OS Version: Mac OSX 10.12.3

Steps to Reproduce:

Switch to Zen mode
cmd+shift+p View: Toggle Status Bar visibility

Toggle Side Bar works in Zen mode
Toggle Activity and Status bar doesnt work in Zen mode.
@bpasero was this intentional?

Yes this is intentional, please add in your settings
"zenMode.hideStatusBar": false

I know that setting.
I wanted to switch when I was in Zen mode.

Not supporeted, reopening this as a feature request

For future visitors - this issue is actually fixed. The preference mentioned above is visible in the Settings panel.
Just search for Zen mode, and toggle the "hide status bar" setting off. You will need to close and open Zen mode again for it to take effect.


provide improved JSON bundle

Currently, we have a GitHub Actions CI that uses pywcmp's bundle workflow to publish a first pass/working level JSON file of all topics.
There are a few issues with this workflow:

centres should be bound to countries only (per https://github.com/wmo-im/wis2-topic-hierarchy/pull/29#issuecomment-1460056820)
the list will explode as domain topics begin to populate
this workflow should be part of this repository, not pywcmp.  Note that there will be some relation to #26 (which in contrast would provide different inputs to codes.wmo.int)

Assigning to @antje-s and @josusky; additional help is welcome (cc @wmo-im/tt-wismd)

When going through csv files exactly, I noticed that so far the mapping between the centres and the respective country is missing.
country.csv includes always centre-id as child value and centre-id.csv does not contain a column with an assignment to a country...

In addition, I wonder how this center ID is linked to the name of RSMCs?

...maybe we can call a py-script from the action, which does the merge. A first suggestion for such a merge script I put to a new branch:
https://github.com/wmo-im/wis2-topic-hierarchy/blob/JSON_bundle/merge2json/mergeTopic.py
But so far it contains only a fixed number of levels and can certainly be improved by an experienced programmer.

When going through csv files exactly, I noticed that so far the mapping between the centres and the respective country is missing. country.csv includes always centre-id as child value and centre-id.csv does not contain a column with an assignment to a country...

see #39

ET-W2AT Washington 13-15 November 2023
the publication mechanism is agreed, and need to be implemented


Error when POST a new model.

This is the error when posting a model:
Am I missing something required in the environment?  Python 3.6?
<IP_ADDRESS> - - [29/Mar/2020 21:29:41] "POST /api/init HTTP/1.1" 201 - [2020-03-29 21:29:41,320] ERROR in app: Exception on /api/model [POST] Traceback (most recent call last):   File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 2446, in wsgi_app     response = self.full_dispatch_request()   File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1951, in full_dispatch_request     rv = self.handle_user_exception(e)   File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1820, in handle_user_exception     reraise(exc_type, exc_value, tb)   File "/usr/local/lib/python3.6/dist-packages/flask/_compat.py", line 39, in reraise     raise value   File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1949, in full_dispatch_request     rv = self.dispatch_request()   File "/usr/local/lib/python3.6/dist-packages/flask/app.py", line 1935, in dispatch_request     return self.view_functions[rule.endpoint](**req.view_args)   File "/usr/local/lib/python3.6/dist-packages/app/api.py", line 107, in model     name = db.add_model(model, name=name)   File "/usr/local/lib/python3.6/dist-packages/app/db.py", line 69, in add_model     name = _random_name()   File "/usr/local/lib/python3.6/dist-packages/app/db.py", line 85, in _random_name     adj = rng.choice(list(open(os.path.join(here, 'adjectives.txt')))) FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.6/dist-packages/app/adjectives.txt'

and here is the code.  trying to post a trained model.
`with open('model.dill', 'rb') as f:
model = dill.load(f)
config = {'flavor': 'regression'}
s.post('http://localhost:5000/api/init', json=config)
r = s.post('http://localhost:5000/api/model', data=dill.dumps(model))
print (r.text)
`
Output:

500 Internal Server Error
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Fixed! We use somes files to generate random model names, to package them we need to include them in the MANIFEST.in file.

My pleasure, I really want to use this in our environment ASAP.

@kevinsteger cool! I'll change the logging tomorrow.


[REQUEST]

implement Php code executer also
We want plugin in php code also

No, no, no, no! PHP is evil!


StargateSG-1 - Bugfix

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

Changes / Description
-Fix Balance, Climb, Open Lock, and Xeno-Languages skills, not rolling because of bad values.

Character Sheet Info Roll20 Internal Use only.

Hello @Hexenstag!
Thank you for contributing to the community repo! When changing name attributes, please ensure that sheet workers are implemented to handle the name change and transfer existing data. This will prevent any data loss for existing players. Once you've made this update, we can get this merged for you.
Thank you!

@kfroll20 I apologize for my ignorance as I'm not familiar with HTML, I'm only trying to update these sheets so they are usable, as the skills in question do not function currently, but if I understand correctly these changes will not break any existing characters now.