Switch to typings included in the golden-layout package

The complete typings should be available in the golden-layout package soon:
https://github.com/deepstreamIO/golden-layout/pull/103
@basarat The Header interface has addTab and removeTab methods. Maybe these are easier to work with than appendChild/removeChild?

Thanks :rose:

The complete typings should be available in the golden-layout package soon

Will check when available. However export = style modules don't lend them selves to easy interface usage (e.g. I need the Config interface) so I will end up copying again. Its not bad since typings are just docs and its okay to add custom docs for your own project requirements.

The Header interface has addTab and removeTab methods. Maybe these are easier to work with than appendChild/removeChild

Maybe. Will explore in some other time. But the current layout was a pain to get working (search for setTimeout in appTabsContainer.tsx). So since it works I don't plan to touch it for a while. I do go through times when new features are bubbling through my grey matter and then take the time to clean up stuff that is in my head about the old code that is bugging me and being a potential blocker for other developers (hence we have these docs https://basarat.gitbooks.io/alm/content/contributing/) :rose:

@basarat FYI After seeing the pain you went through getting golden-layout to work, I decided to check out @phosphorjs -- so far it seems much easier to work with, and it's written in TypeScript too :smile:

I decided to check out @phosphorjs

I did that first. https://github.com/alm-tools/alm/pull/67 the first few commits are with PhosphorJS. The main blocker was that it didn't have drag and drop tab reordering. Probably should have asked as a feature, but other people were also hyped about golden layout so considered worth exploring
Also a key difficulty I had was the component heirarchy : react component to imperative layout to react component. Now that that work is done I feel more comfortable replacing golden layout with anything but else if need be. It hasn't leaked out of appTabsContainer.tsx :rose:


install --require-hashes's "all requirement must have a hash" error can be better

This is in continuation of #3052.
When uv pip install --require-hashes is used and a dependency is pinned but doesn't specify a hash, this error is emitted:
error: In `--require-hashes` mode, all requirement must have a hash, but none were provided for: setuptools==69.5.1

In comparison, pip emits this error:
ERROR: Hashes are required in --require-hashes mode, but they are missing from some requirements. Here is a list of those requirements along with the hashes their downloaded archives actually had. Add lines like these to your requirements files to prevent tampering. (If you did not enable --require-hashes manually, note that it turns on automatically when any package has a hash.)
    setuptools==69.5.1 --hash=sha256:c636ac361bc47580504644275c9ad802c50415c7522212252c033bd15f301f32

The pip error message is more helpful because it gives the expected hash and allows to quickly copy/paste the line.
BTW: the uv error has a minor typo "all requirement" instead of "all requirements"

Version: uv 0.1.32

Thanks.

I assume they only show this variant of the error when the requirement is pinned to an exact version?

I assume they only show this variant of the error when the requirement is pinned to an exact version?

Yes, only when pinned but missing hash.


Using Swarm with Agents

My new course is about distributing Elixir, my way :)
I'm using Swarm for registration and pubsub. I might even do some fault-tolerant stuff if I have time.
I'm bumping into a minor roadblock.
I have an agent-based server:
defmodule Dictionary.WordList do

  @me {:via, Swarm, __MODULE__ }

  use Agent

  def start_link(_) do
    Agent.start_link(&word_list/0, name: @me)
  end

  def random_word() do
    Agent.get(@me, &Enum.random/1)
  end

  ...

When another node connects to the one running this server, Swarm sends a {:swarm, :begin_handoff} to the Agent, which crashes it.
Is there a way that I can continue to use an Agent but still register its PID via Swarm?
Cheers
Dave

@pragdave It used to be that a nodeup event would involve a synchronization round automatically, but it looks like that changed at some point (I can't recall if I did so, or if that came through in a PR at some point, but it doesn't do so now).
It looks like (and I haven't confirmed this yet) we just need to ensure that if a node was in the tracking state, and not connected to any other nodes, then we need to handle nodeup events a little differently, basically the same way the tracker comes up if a cluster is formed right at startup, e.g.:
# cluster forms during startup
init -> cluster_wait -> cluster_join -> syncing -> tracking

# cluster forms while in tracking state (current behavior)
tracking -> handle_topology_change -> tracking

# cluster forms while in tracking state (desired behavior)
tracking -> cluster_join -> syncing -> tracking

The cluster_join state implicitly handles the topology change, the only big difference is that it enters the syncing state after updating the state of the tracker with the new node. Without this step, the node joining the cluster doesn't get an opportunity to receive the current state of the registry across the cluster, and it only contains registrations it made itself, or ones received after it was created, at least until the next anti-entropy pass occurs.

I pushed a PR which should fix this, but needs to be tested. If either of you can run a repro using that branch and confirm that it does fix the issue, I'll go ahead and get it merged.

As noted in #64 - it fixes the issue, however it uncovers a deficiency in how synchronization is handled, in that multiple tiebreaker die rolls occur at the same time, and we accept whichever one completes first, which results in "unhandled cast" messages for the orphaned die rolls. We should choose a node deterministically to coordinate the tiebreaking process, so that only one is ever needed.

Will you be creating a release with #63 and #64?

I can do that right away, unless you'd like to wait until I address the unhandled cast issue.

Actually, if you could, it would be tremendous. I'm just about to start recording the coding of this part.
 Thank you for all you do.
Dave

You bet! I've pushed it to GitHub/Hex as 3.2.0 :)

Hugs

Sorry about this, but that warning about the die roll turns out to be hiding a bug.

Here's my guess: there's a race condition during the dice roll.

So both sides send the payload to each other. Quite why this causes the right-hand window's app not to receive the Dictionary.Wordlist, I don't know.
This is with Hex 3.2.0

Yeah I noticed that when I was investigating, I'll get that addressed tomorrow, sorry for the trouble!

@pragdave I've pushed a fix to master which I believe addresses a number of issues and edge cases. Could you give it a try and let me know if you run into any problems? I did some testing locally and it appeared to work as expected
@slashdotdash Could you review commit 412bad9 and let me know if you have any concerns? If you have any questions I can explain the changes in more detail

It looks good! Many thanks.
On Thu, Feb 1, 2018 at 1:54 PM, Paul Schoenfelder<EMAIL_ADDRESS>wrote:

@pragdave https://github.com/pragdave I've pushed a fix to master which
I believe addresses a number of issues and edge cases. Could you give it a
try and let me know if you run into any problems? I did some testing
locally and it appeared to work as expected
@slashdotdash https://github.com/slashdotdash Could you review commit
412bad9
https://github.com/bitwalker/swarm/commit/412bad990c69748dac300bd69e6a26b988e71b07
and let me know if you have any concerns? If you have any questions I can
explain the changes in more detail
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bitwalker/swarm/issues/62#issuecomment-362382650, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAApmOHg9g9npOS34_4AyycpSNB095Eaks5tQhZqgaJpZM4RxpiL
.

No problem! Since it looks good, I will go ahead and get that released as 3.2.1 then :)
I'll close this issue for now, but feel free to either reopen it, or open a new one, if there are still issues with synchronization


Render React components with it's source...

and perhaps with an editable source and live preview!
This could potentially be implemented in storybook: http://stack.formidable.com/component-playground/

I don't think we should go ahead with this idea at this moment. react-storybook shouldn't take the component development out of the application. We should edit real files because otherwise using this module will become as good as using codepen or jsfiddle. At the same time as long as we are using this for development and not for component display, we can use devtools to see source code.

view source - yes
edit source - no

I would actually start to wonder the value of seeing even the source inline (other than to make this a complete component IDE of course).
Instead, what do you want Storybook to become? So far it is a place for seeing the different states a component might be in, while also providing hot-reloading, ideal for development. Does Storybook then become a living styleguide perhaps? A library so other developers on your team can see what components are available and how to use them? If this is the case, then there might be value in not necessarily story source code, but example usage source code? Could this be extracted from the story somehow and displayed, maybe?

@jeef3 It's too early to say where Storybook goes. Currently, it's only work as dev tool. But we are working on a static builder. See: #88
With that, we could publish our storybook into a set of static HTML files and publish to GitHub pages (or similar).
There is also an attempt to use markdown inside stories and render proptypes. See: https://github.com/kadirahq/react-storybook/issues/19#issuecomment-206584563
So, React Storybook could be used as a living style guide too.

If there is talk of adding support for displaying code example - I think it's worth looking at how material ui do it in their docs. Quite a nice implemtation. They store their code example in external js module & import it in twice to their page. One using the raw webpack loader, they pass the result of this file into a markdown component & the pass the regular loaded example to their page component that renders the example. This way their code example stays in sync with actual component rendered. See https://github.com/callemall/material-ui/blob/master/docs/src/app/components/MarkdownElement.js & https://github.com/callemall/material-ui/blob/master/docs/src/app/components/pages/components/FlatButton/Page.js

@stewartduffy using rawLoaders is a pretty interesting idea. @mnmtanish Check this.

With that, we could publish our storybook into a set of static HTML files and publish to GitHub pages (or similar).

I'm using this and it's a great feature. View source / edit source is complex and I'm not sure what value it adds to react development workflows.

Not sure if this is what everyone else had in mind but I'd rather see the component's implementation, not the source code. If I wanted to see the source code I'd look at the source code. If my story looked like this:
storiesOf('ProgressBar', module)
  .add('25%', () => (
    <ProgressBar progress={0.25} />
  ));

I'd like to see <ProgressBar progress={0.25} /> rendered somewhere in the storybook. Maybe as a separate panel above the action logger, or a separate tab?

@willdady that's what I had in mind when stating this ticket.

@willdady exactly!

Or maybe a panel showing the state and props just like React Devtools

Yes, that's definitely something that is missing to see what actual properties were used to display component in such state. As of now it only relies to having good enough description of the story.

@mnmtanish and @roonyh is working on project related to this.
See: https://github.com/kadirahq/react-storybook-story
We'll launch this soon. Anyway, you can use this right now as well.

Fixed with this addon

The info addon doesn't fix anything. It actually introduces another place that needs separate maintenance. The idea of "view source" is that one could see how the thing he's looking at is built, and the developer has less docs to maintain.


feat: add coinGeckoId to tokens in warp configs

Description
This adds a coinGeckoId to get an approximate USD value of the token. Some tokens are not yet listed on Coingecko, so an appropriate substitute is chosen.
The motivation for this is https://github.com/hyperlane-xyz/hyperlane-monorepo/pull/4835 -- we are removing the special "deployment yaml" that was used by the warp monitor service in favor of WarpCore.
The corresponding zod change is in https://github.com/hyperlane-xyz/hyperlane-monorepo/pull/4835 here https://github.com/hyperlane-xyz/hyperlane-monorepo/pull/4835/files#diff-5d9f643079328fbbe587e59bc31d809c46b98037c045d2df3931b22acf87691fR50 and hasn't yet been released. I'm happy to get that zod change in and do an SDK release first if preferred, though as extra fields are permitted by our types I am cheekliy trying to save myself the hassle
Backward compatibility
Backward compatible (our schemas allow extra params, see above, happy to do the sdk release though)
Testing

Seems yarn build is forcing my hand to publish the SDK first 😭


Add to Builder methods to Datastore's classes

Datastore's ProjectionEntity, IncompleteKey, Entity and Key have static builder methods:
public static Builder builder(ProjectionEntity copyFrom)
public static Builder builder(IncompleteKey copyFrom)
public static Builder builder(Entity copyFrom)
public static Builder builder(Key copyFrom)

In other modules we use a toBuilder() instance method to create builders from entity objects. Should we use toBuilder() also in Datastore? Or is there a reason to prefer static builder(ResourceType copyFrom)? \cc @ajkannan @aozarov

It would be nice to add toBuilder, but I encountered some issues with inheritance when I tried to add those methods.  I briefly described the problem I ran into in #628.

Now I see, it seems more complex than I expected. I am closing this for now. Will reopen in case somebody else feels like those methods should be added. Thanks @ajkannan.


Fixes #104299

This PR fixes #104299 for release 1.48

Looks good, I tested it and works nicely.
As a follow up I have created this issue for references https://github.com/microsoft/vscode/issues/104374


Feature: Warning on substitions without !Sub

cfn-lint version: 0.3.2
It's pretty annoying if you add a substition and forget the !Sub:
          - Effect: "Allow"
            Action:
              - "s3:ReplicateObject"
              - "s3:ReplicateDelete"
            Resource:
              - "arn:aws:s3:::mycompany-${Environment}-mybucketname/*"

I'm not 100% sure if a ${value} always must be a substitution, since Cfn accepts this as valid string. But this could be a valid rule to give you a warning about this.

Or this:
RoleName: !Sub "{AppGroup}-lambda" 🤦♂

It's also used a parameter expansion in bash, so this could reek havoc for folks with complex userdata scripts in their EC2 instances:
http://www.gnu.org/software/bash/manual/bash.html#Shell-Parameter-Expansion

Totally agree, it's not as simple as it appears due to stuff like that. Just wanted to put it out there anyway to make it visible. These 2 cases literally took me 2 hours of my day that I could spend on more usefull things than waiting for CloudFormation deployments to break 😈

I wonder if it makes sense to build a contextual for things like UserData where all bets are off -- I mean, there's nothing to stop you from injecting another CloudFormation template into a file via cfn-init in the EC2 metadata.  What would THAT do to our linter?

Which properties does this (the parameter extension) apply to? Because we could make it a rule and just skip properties like UserData... But check the rest 🤔

Off hand, I'm thinking EC2 user data, Lambda function code blocks... others?

There might be another (partial) solution for this. For example, looking at the SQS resource (https://docs.aws.amazon.com/sns/latest/api/API_CreateTopic.html), a dollar sign is not allowed for the TopicName. That is something you can easily lint.
I can imagine that for many properties, a dollar sign is not an allowed character.

This one is released now.


Missing support: UILayoutGuide

Interesting work. One thing I missed here is support for UILayoutGuide's
I also like to build AutoLayout frameworks for my project. Maybe I'll use this for some inspirations. 😄

Hi @DevAndArtist 👋 Indeed, this feature is in progress therefore it should get merged soon. Glad you've found some inspirations here :)

@DevAndArtist done :)
https://github.com/nakiostudio/EasyPeasy/pull/14


Operation is unstable when disconnecting and reconnecting Wi-Fi during a call, or when disconnecting Wi-Fi and connecting to mobile (4G/5G)

Describe the bug
I am using dart-sip-ua to make calls via Asterisk.
Because the behavior of the mobile device is unstable when changing networks, I am reporting this.
background:
The device is connected to Asterisk using a client-server method, not a P2P connection.
I am using ICE to send the results to Asterisk to make WebRTC calls.
To Reproduce
Steps to reproduce the behavior:
The behavior is unstable on both iOS and Android, but it is particularly noticeable on Android, so I will give an example of an Android device.

Start a call between two devices (device <-> Asterisk <-> device)
Disconnect the Android device's Wi-Fi (It is assumed that there is no 4G connection)
2-1. The call is disconnected at this point
Reconnect the Android device's Wi-Fi. Of course, the call has already ended, so it cannot be resumed.

Expected behavior
If you are making a SIP call, the call should resume when you reconnect to Wi-Fi (confirmed with Zoiper SIP Client)
System Infomation()
Flutter SDK Version: 3.22.2
Target OS and Version: Android 10,11,12
sip-ua-dart version: 0.6.0

I have the same problem. Any solution?

The solution is rather complicated, and requires a change in _iceRestart and the transport, first comment out the terminate call in there, set iceRestarts true in the options...
Overload the transport library, ours looks like this, we use connectivity plus and a dart:io to check when we have wifi/mobile and can make a successful lookup of google's address.
when you have a successful internet, expose this function from transport.dart...
Somethiing like this:
  bool send(dynamic data) {
    // logger.d('send()');

    if (!isConnected()) {
      logger.e('unable to send message, transport is not connected. Current state is $status', stackTrace: StackTraceNJ());
      return false;
    }
    bool isOutgoing = data is OutgoingRequest;

    String message = data.toString();
    //logger.d('sending message:\n\n$message\n');
    if (isOutgoing) {
      OutgoingRequest outgoing = data;
      if (outgoing.method == SipMethod.UPDATE) {
        _reconnect(() {
          socket.send(message);
          disableDisconnectionEvent = false;
        });
        return true;
      }
    }

    return socket.send(message);
  }


Is 2.7.0-SNAPSHOT published somewhere?

I need JDK 21 compatibility #192 in one of my projects but I cannot find where 2.7.0-SNAPSHOT is published.
Thank you.

Deployed.  Please test and report back.

Thank you @gaul I was able to download 2.7.0-SNAPSHOT.


Update ledc_basic_example_main.c (IDFGH-11370)

the order of initializers should match the declaration, to be able to also use this code in C++

sha=007c2b155e2506d432d92c540227fb470af12372


dice: can't apply (...)x with label

If you have a die-roll expression that includes a label at the start, applying a modifier with ()x checked results in a syntax error

Fixed in 4.17.2


Include sample for DotNet.Watcher.Tools for development time.

In development should be have a way to run my project with dotnet watch run to gain development time when I test my app.

Hey @alexsandro-xpt. Thank you for opening this. We are currently trying to figure out the documentation gaps that would make this approachable. We've had prototypes of this working, but it takes a lot of configuration right now and its not in a state or pattern that we want to recommend to customers yet.

Alright @kendrahavens, I haved tested some it in my repository https://github.com/alexsandro-xpt/WatchRunDocker in both v1.1 and v2.0 dotnet core version at master and dotnetcore2 branch, may be this could help something.

Issue moved to dotnet/dotnet-docker #394 via ZenHub


Output to STDOUT / clipboard

Would it be viable to make to output the finished video to STDOUT or directly into the clipboard?
I only use wf-recorder for shorter videos/animations that last a few seconds and record a region on my screen. And 99% of the time, I don't need the file, but rather I'd like to just paste it in a chat to send to someone else.
I can see it's easy to output to files, but I don't see a simple way to output directly to the clipboard without. :thinking:
For example, we can make grim output to STDOUT by passing -, and then pipe that over to wl-copy, I'm hoping there could be a similar interface for wf-recorder.

I don't think writing the raw video contents to stdout is something wf-recorder should do. It already uses stdout for output meant to be user readable. You would probably be better off just writing to a temporary file and using cat if you really want the contents on stdout. If you do this directly with wf-recorder, it might get mixed with other output. Also, pasting this into chat probably won't have the desired result. In any event, you can try something like wf-recorder -o DVI-D-1 -m ismv -f /dev/stdout <<<Y 2>/dev/null.


Incidentally removing indents on line when inserting new lines with volar.format.initialIndent set to true in v1.1.2

The last error #2394 is fixed, but now it starts to remove the indents, whether volar.format.initialIndent set to true or false.
settings.json
  "volar.format.initialIndent": {
    "html": true,
    "javascript": true,
    "typescript": true,
  },
  "editor.formatOnType": true,

Before
····const foo = ref();
····const bar = ref();
····const baz = ref();|

After press enter
····const foo = ref();
····const bar = ref();
const baz = ref();
····|

Thanks for the report, this is a known limitation, there are too many edge cases to support formatOnType for initialIndent, so the current version ignores it for now.

Add a screenshot for this issue.


🚩: Milestone 2: Space Travelers' Hub | feature/header

🚩: Milestone 2: Space Travelers' Hub | feature/header - >>branch<< -
Here is a summary of what has been done:

Added the image app logo.
Created an empty navegation using <Navlink />.
Created a <Navbar /> component.

In this new Branch, I have ADDED the succeeding *📂 folders and **📄 files.

📂* src/components

**📄 Navbar.js

Component for the Navbar section in the App component.
This component create a list of Link components from the MenuData array.

📂* src/bd/

**📄 MenuData.js

I have added the MenuData.js file to the src/bd/ folder. This file contains the array of routes.

📂* src/styles/

**📄 Navbar.css

Styles for the Navbar component.

In this Branch, I have MODIFIED the succeeding 📂* folders and 📄** files

📂* src/

**📄 App.js

Created the routes estructure.

Thank you for taking the time to review this PR ⭐!

Thanks, @Ruthmy! Everything seems clear to me. I must highlight that your PR is very descriptive. Thanks, for that as well!


Support Ansible <IP_ADDRESS> (requires unreleased Vagrant 1.8.3)

In my testing, the only issue I've had with ansible-playbook <IP_ADDRESS> has been https://github.com/mitchellh/vagrant/issues/6793 and the empty tag list in the common role (which is fixed in #1017). We need to wait for Vagrant 1.8.3, but as soon as that is out, we should test with Ansible <IP_ADDRESS> and move our requirements to the latest version of both.

Closing as a duplicate of #806. Sorry!


Question: How can I create a Model-less Service?

I have a service on the server that is not connected to my DB, it is simply used to send emails using the create method.
How can I create a service for this on my frontend?

The short answer is that you don't create a service without a model class.
There is an open issue for automatically creating a model class, which is certainly interesting, but I've been putting my time more into features that really make a big difference in the amount of boilerplates code one would typically need to write to accomplish more common tasks.  So this issue has naturally taken a back seat, since I feel like adding a couple lines of code per Service is acceptable.

OK, fair enough.
Do you have any insight as to how I would go about creating a frontend service for my given scenario?
Adding a few lines of code is 100% acceptable and something I am very prepared to do. My issue is I'm not very confident that I know where to start.
What do I use for a model, how to I limit the service to only calls to the create method? Any help at all would be great.

You would basically create it the same was as any service.  If I were in the same situation, I would just ignore the other methods and annotate the service as being limited to only one of the REST methods.  If you want to go a step further, you can setup a before hook on the client side that returns an errors.NotImplemented() from @feathersjs/errors.  If it's just to send emails you don't really need any instanceDefaults or setupInstance implementation.  After you follow the instructions for setting up any service (in the docs) you'll be able to do this kind of thing:
import { models } from 'feathers-vuex

const data = {
  to: '',
  subject: '',
  etc: '...'
}
new models.api.Email(data).save()

Or you could directly import the feathersClient and use the service:
import { feathersClient } from './feathers-client.js'

feathersClient.service('emails').create(data)

I guess that may be what you're looking for, possibly.  You don't need to use the feathers-vuex wrapper if you don't need Vuex for the service.  If I would have gotten more sleep in the last few days, I'd have caught that earlier.  haha.

Thats great.
I also feel that if I had gotten more sleep I would have been able to figure that out on my own.
I appreciate the time. Thanks!


feat: support hostname target

support hostname target

[x]  I hereby agree to the terms of the HertzBeat CLA
[x]  I have read the Contributing Guide
[x]  I have written the necessary doc or comment.
[ ]  I have added the necessary unit tests and all cases have passed.

close #1452

👍👍 hi, please help use fix the unit test error.
Error:  Failures:
Error:    IpDomainUtilTest.validateIpDomain:43 expected: <false> but was: <true>
[INFO]
Error:  Tests run: 37, Failures: 1, Errors: 0, Skipped: 0
[INFO]

updated the test case, improved the regex.
wish you all have a happy new year!

@ldysdu Happy New Year!

hi, it seem something wrong in Pattern.compile("^[-\w]+(\.[-\w]+)*$");
[INFO] -------------------------------------------------------------
Error:  COMPILATION ERROR :
[INFO] -------------------------------------------------------------
Error:  /home/runner/work/hertzbeat/hertzbeat/common/src/main/java/org/dromara/hertzbeat/common/util/IpDomainUtil.java:[39,34] illegal escape character
Error:  /home/runner/work/hertzbeat/hertzbeat/common/src/main/java/org/dromara/hertzbeat/common/util/IpDomainUtil.java:[39,39] illegal escape character
Error:  /home/runner/work/hertzbeat/hertzbeat/common/src/main/java/org/dromara/hertzbeat/common/util/IpDomainUtil.java:[39,43] illegal escape character
[INFO] 3 errors

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

hi, it seem something wrong in Pattern.compile("^[-\w]+(\.[-\w]+)*$");
[INFO] -------------------------------------------------------------
Error:  COMPILATION ERROR :
[INFO] -------------------------------------------------------------
Error:  /home/runner/work/hertzbeat/hertzbeat/common/src/main/java/org/dromara/hertzbeat/common/util/IpDomainUtil.java:[39,34] illegal escape character
Error:  /home/runner/work/hertzbeat/hertzbeat/common/src/main/java/org/dromara/hertzbeat/common/util/IpDomainUtil.java:[39,39] illegal escape character
Error:  /home/runner/work/hertzbeat/hertzbeat/common/src/main/java/org/dromara/hertzbeat/common/util/IpDomainUtil.java:[39,43] illegal escape character
[INFO] 3 errors

sorry for my poor java skill, and the poor network connection. 😂
a double slash should fix the illegal escape character issue hopefully.

@ldysdu No need to apologize, it’s a great job to take the first step contribute 👍

@all-contributors please add @ldysdu for code


This application cannot run on your computer. If you need to find a version suitable for your computer, please consult the software publisher.

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

VS Code Version: 1.92.2
版本: 1.92.2 (user setup)
提交: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
日期: 2024-08-14T17:29:30.058Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 6.2.9200
OS Version: Windows 10 (x64_
Steps to Reproduce:
1.When I open VS Code and edit files in VS Code, I receive the prompt:This application cannot run on your computer. If you need to find a version suitable for your computer, please consult the software publisher.

My try:
"I tried uninstalling and then re-downloading the installation package, but reinstalling still doesn't work.
But I didn’t have any issues yesterday, and I hadn’t received any prompts about this problem until today.

OS: Windows_NT x64 6.2.9200

VS Code seems to think you are on an old Windows version.
Please check whether the shortcut you launch VS Code from is configured to run in Windows 8 Compatibility mode.

OS: Windows_NT x64 6.2.9200

VS Code seems to think you are on an old Windows version.
Please check whether the shortcut you launch VS Code from is configured to run in Windows 8 Compatibility mode.

I checked the compatibility mode and did not enable Windows 8 compatibility, but the issue still persisted. I tried deleting the .vscode folder under C:\Users\xxx, then uninstalled VS Code. After reinstalling, the issue no longer appeared.


Change FiniteRange so that upper, lower can be changed after creation

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

It seems that we would not need it as we are not changing upper/lower in the TL anymore right?

OK, so you changed the code? Great, I think that is safer.
But I am also OK with saying that for such simple classes, it is OK to change attributes (I usually think of dataclass that way).
Your call.

I agree that setting attributes can be dangerous and is not desired so I would propose to close the PR.
In the future, if we have the need to change ranges (lower, upper) I guess we could expose update_range method on numeric domains.


Rename workflow_task to decision_task

Coverage increased (+0.06%) to 68.694% when pulling 3a4c9cfecc778420b93d776eee73f6f5741adbf0 on andrewjdawson2016:TemporalRenaming into 50a12eda6dc7057a410f0a3dbe81e946e4fceb91 on uber:master.


actix-web example fails to compile

https://maud.lambda.xyz/web-frameworks.html gives the example:
use maud::{html, Markup};
use actix_web::{web, App, HttpServer};

fn index(params: web::Path<(String, u32)>) -> Markup {
    html! {
        h1 { "Hello " (params.0) " with id " (params.1) "!" }
    }
}

fn main() -> std::io::Result<()> {
    HttpServer::new(|| {
        App::new()
            .route("/user/{name}/{id}", web::get().to(index))
    })
    .bind("<IP_ADDRESS>:8080")?
    .run()
}

However this fails to compile with:
error[E0599]: no method named `__maud_render_to` found for struct `RenderWrapper<'_, (String, u32)>` in the current scope
  --> src/bin/maud_demo.rs:5:5
   |
5  | /     html! {
6  | |         h1 { "Hello " (params.0) " with id " (params.1) "!" }
7  | |     }
   | |_____^ method not found in `RenderWrapper<'_, (String, u32)>`
   |
  ::: /home/isaac/.cargo/registry/src/github.com-1ecc6299db9ec823/maud-0.22.2/src/lib.rs:99:5
   |
99 |       pub struct RenderWrapper<'a, T: ?Sized>(pub &'a T);
   |       --------------------------------------------------- doesn't satisfy `RenderWrapper<'_, (String, u32)>: RenderInternal`
   |
   = note: the method `__maud_render_to` exists but the following trait bounds were not satisfied:
           `(String, u32): AsRef<str>`
           `(String, u32): Render`
           which is required by `RenderWrapper<'_, (String, u32)>: RenderInternal`
   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0277]: the trait bound `fn(actix_web::web::Path<(String, u32)>) -> PreEscaped<String> {index}: Factory<_, _, _>` is not satisfied
  --> src/bin/maud_demo.rs:11:76
   |
11 |     HttpServer::new(|| App::new().route("/user/{name}/{id}", web::get().to(index)))
   |                                                                            ^^^^^ the trait `Factory<_, _, _>` is not implemented for `fn(actix_web::web::Path<(String, u32)>) -> PreEscaped<String> {index}`

error[E0308]: mismatched types
  --> src/bin/maud_demo.rs:11:5
   |
10 |   fn main() -> std::io::Result<()> {
   |                ------------------- expected `std::result::Result<(), std::io::Error>` because of return type
11 | /     HttpServer::new(|| App::new().route("/user/{name}/{id}", web::get().to(index)))
12 | |         .bind("<IP_ADDRESS>:8080")?
13 | |         .run()
   | |______________^ expected enum `std::result::Result`, found struct `Server`
   |
   = note: expected enum `std::result::Result<(), std::io::Error>`
            found struct `Server`

error: aborting due to 3 previous errors

Some errors have detailed explanations: E0277, E0308, E0599.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `daat`

To learn more, run the command again with --verbose.

Cargo.toml:
[dependencies]
actix-web = "3.3"
maud = { version = "*", features = ["actix-web"] }

rustc --version --verbose
rustc 1.51.0-nightly (c8915eebe 2021-01-07)
binary: rustc
commit-hash: c8915eebeaaef9f7cc1cff6ffd97f578b03c2ac9
commit-date: 2021-01-07
host: x86_64-unknown-linux-gnu
release: 1.51.0-nightly

Thanks for reporting. I am reworking the documentation in #230 which will fix this as well.
In the mean time you can look at this other example which is tested and should work.

Thanks for reporting. I am reworking the documentation in #230 which will fix this as well.
In the mean time you can look at this other example which is tested and should work.

The other example works as expected. Thank you.

The other example works as expected. Thank you.


fixed: issue when wrapDraggableElements is disabled

By default the moveElement method creates an element wrapper that's being assigned to the dropTemp var. But when dragDroppableElements is being disabled this causes some weird things to happen, since Dragster isn't actually responsible for the wrapping anymore.
So I changed this behavior fix this issue.

Done!

Hi, do I need to change some other stuff as well or is everything OK now?

@webtrix during the last week I've been thinking about your solution from your previous PR and I'm missing one thing. IMO, we should expect a custom callback to run when wrapDraggableElements is set to false.
So, by default there will be run default dragster method to wrap elements, otherwise the custom callback should be run. There are places, where elements should be re-wrapped.
What do you think, would it work?

@sunpietro at this moment I personally don't see a need for this. Because when the default wrapping is disabled, the developer should know he's responsible for it.
In my case, a custom callback wouldn't even be used by me, since my elements are create dynamically by Angular 2 and dragster would only mess up my HTML code. So a custom callback, it sounds nice, and there are probably situations where this might be useful but at this point I wouldn't add it.
I rather have the possibility to set a elementSelector class in the finalParams so I can create a small block inside every draggable block so that only when a user pinches down on that element the block can be dragged. I've got it already working in my project, would be nice to create a PR for this as well.

@webtrix Please, submit any further PRs you've planned to do, then I'll make an another release.

OK, will do asap!
Only got one left 😉 then I'll stop bugging you 😄


Feature request: Debug Console command history suggestions in chronolological order instead of alphabetical order

When I start to type a command in the Debug Console, it suggests matching entries from my command history, which is great. However, the suggestions are presented in alphabetical order, instead of chronological order, which would be more intuitive. Most of the time, the debug console history is full of mistyped commands or iterations over the same function calls, and alphabetical order does not make sense here. Moreover, since the display of the preview of the command is shortened in the suggestion list, it is difficult (or impossible) to distinguish between many similar-looking commands. Having them listed from the newest to the oldest would clearly improve usability.

I don't have total control over the order of the filtered contents of the suggest widget currently, so we can't put history in a separate section and set the order. Because of this I find console history to be not that useful and I generally disable it: "debug.console.historySuggestions": false.
However, it seems when commands are otherwise a tie in fuzzy filtering, I can change the order of the tie-breaking. For example, I evaluated in this order

evaluated1
evaluated2
evaluated3
zEvaluated3

the first 3 that tie are sorted in recency order but the last is forced to the bottom due to being a worse match. Does this help at all?

If not what you had in mind, maybe give an example


replace syscall.Dup2 with syscall.Dup3

because golang has no dup2 syscall in ARM64 architecture.
we should use dup3 which exists both in X86_64 and ARM64 architecture.
Signed-off-by: Wang Long<EMAIL_ADDRESS>

@datawolf Thanks!
LGTM

Same as problem as onsi/ginkgo#209
(Just cross-linking related things)


Genius API is sometimes weird

Is your feature request related to a problem? Please describe.
Getting lyrics from its API behaves a bit weird sometimes.
Searching in their api "Peace Sells Megadeth" show the correct song, but "Peace Sells Remastered Megadeth" does not! And it even does not show Megadeth after the first results.
Describe the solution you'd like
Don't know how this could be solved.
Describe alternatives you've considered
Maybe we could search for a different API service which we could pass the song and the author as parameters, unlike Genius which is a general term.
Or maybe we could ask the user "is this lyrics wrong" yes -> "please type a search"?
I don't think this has a solution in the very near future, but tracking it could be useful, that's why I created this issue.
By the way, awesome project!! I'm enjoying a lot using it :)

Genius lyric doesn't work sometimes, especially when the query "{track} {artists}" has some additional info like "Remastered", "Remix", etc.
This might be addressed by using the unreleased Spotify lyric API from https://github.com/librespot-org/librespot, so don't need to rely on third-party APIs. I'm not sure what their plan is to release the new version, so for now, I'll stick with just using Genius API.
Related: #155

Searching in their api "Peace Sells Megadeth" show the correct song, but "Peace Sells Remastered Megadeth" does not! And it even does not show Megadeth after the first results.

My PR converts "Peace Sells Remastered Megadeth" into "Peace Sells Megadeth"! (it's pretty general)
Should suffice until (if) another lyrics source is added.


Fixes for async, UI, and typing for latest python and numpy versions

A collection of changes that removes quamash which doesn't support the latest Python versions, fixes for latest numpy versions which require using float64/complex128/int64 now rather than just float/complex/int. I had a previous pull request but the commits were messy so I squashed them together.
There are also some helpful changes from peteasa for the async code which got the UI working again.
So far I have only tested this on my Macbook pro with Python 3.12.

@peteasa, what operating systems and Python version have you tested this on?

see my discussion at https://forum.redpitaya.com/viewtopic.php?f=14&t=25423
The version of Python is 3.12.3
Note that I have found that for Ubuntu 24.04.1 they have made PIP installs more complex.  You have to add break-system-packages to the command line for example
python3 -m pip install --user -e .  --break-system-packages
This breaks the normal install process for pyrpl.  In my case I just install the required modules from the ubuntu repo in the normal way and then simply import the pyrpl library to my test code.
The next step on the RedPitaya version of pyrpl is to get the RedPitaya team to re-instate some sort of travis / Jenkins unit testing.  This should be possible once the basic python3 support is implemented on the main branch.  I will have a go at the unit tests next.

Hello @peteasa and @danielbrown2,
In the name of the Red Pitaya team, I thank you for taking the time to collect all the changes and fixes from various GitHub branches together into this one commit. We are grateful to you and the rest of the community members who contributed to the project.

Hello !
Thank you for this work, I was struggling trying to make qasync work for every environments on the py3.10_test branch but it looks like you managed to do it. This is great news !

@michaelcroquette: - That is understandable.  There are still a few differences between Daniel's branch and my own.  I have not pushed into https://github.com/peteasa/pyrpl all my changes just yet.  If I have time tomorrow I will tidy up the git history and maybe publish a complete set into https://github.com/peteasa/pyrpl.
Can you let me know the details of the failure?
Daniel is going a bit further and fixing issue 505 so my plan was to let RedPitaya team pull in all the current changes from Daniel and myself than add a further pull request to complete the "initial" job.
For your information I have attached the stdio output from the nose test run on my local branch to give you hope that there is indeed light at the end of the tunnel!
nose_stdio_end.log

Hello !
Thank you for this work, I was struggling trying to make qasync work for every environments on the py3.10_test branch but it looks like you managed to do it. This is great news !

Let me know if you have problems with my 2024 consolidated branch - https://github.com/peteasa/pyrpl/tree/2024_consolidated.  This does not have Daniel's bug fixes but has all the changes that I have made.  It also uses the original pyrpl fpga bitstream (I am working on https://github.com/peteasa/pyrpl/tree/bitstream_handling separately)
I just ran
python3 -m nose pyrpl
python3 -m pyrpl example_filename
jupyter notebook --NotebookApp.port=8754

and a test python script that I have with that branch and saw no problems in any of the three ways of starting pyrpl.

I have no issue running your code in standard python but when using IPython or Jupyter, the scope is not answering to any of the command from the gui. I could not run the nose test because I am on python 3.12 at the moment but I don't think they test that the scope works in IPython. Actually it works in a sense that it responds to python command but not to gui event. The issue is most likely coming from qasync and  the handling of the event loop which is different for python, IPython and Jupyter. I published an issue on the qasync repo but no response for now (https://github.com/CabbageDevelopment/qasync/issues/125).

Great.. thanks for the info.  As the gui can be run from python3 directly not a major issue.

@danielbrown2 I suggest you close this pull request.  I have merged it into my soon to be published consolidate_python3 branch.  If you have time then test out your changes with my new pull request to give the RP team more confidence that it works!


Raspberry Pi doesn't work on latest versions of Pi OS

Using Raspberry Pi 4 Model B Pi OS v5.0 from October 2023 works fine.  When using Pi OS v5.2 from March 2024 laptimes cannot be registered.  Both versions for v18.18.0 of node.  Service is running on both and no obvious errors from journalctl.  Both access DREM via port 8080 fine and DREM reports that timer is online.

Hi Mark,
We discovered this issue earlier this week and have updated the README to reflect the issue

Please note that the most recent release of Raspberry Pi OS "Bookworm" is currently not supported, please use "Bullseye" (Legacy) for the RPi operating system.

The timing hat is not the only hat impacted by this issue.
As soon as we have a solution we'll post it up


BeamDyn input file parameters are determined

How to obtain the matrix of mass and stiffness in the file 'NRELOffshrBsline5MW_BeamDyn_Blade', the layup design is re-done, and the mass and stiffness parameters need to be re-calculated.
best regards

Dear @EVElove444,
Well, that depends on what your data source is.  If your deriving the 6x6 cross-sectional mass and stiffness matrices from the cross sectional geometry and composite material properties, you can use a sectional-analysis tools such as VABS, PreComp, NuMAD/BPE, BECAS, ANBA, and/or SONATA.
Best regards,

May I ask how to deduce the 6x6 cross-section mass and stiffness matrix after obtaining the section characteristics according to PreComp or BPE?
Best regards,

I am very sorry to bother you. I have obtained the flapping inertia, EdgIner, flapping stiffness and EdgStff by using the section analysis tool. How can I obtain the 6x6 matrix of the mass and stiffness of each section?
Best regards,

Dear @EVElove444,
PreComp and BPE directly calculate and output the cross-section mass and stiffness matrices.  That said, while BPE can calculate the 6x6 matrices, PreComp is limited to calculating 4x4 matrices as PreComp does not consider the shear-related terms.
The form of the mass and stiffness matrices used by BeamDyn expressed in terms of simple beam properties (without sectional offsets and composite couplings) is documented here: https://openfast.readthedocs.io/en/main/source/user/beamdyn/input_files.html#distributed-properties.
Best regards,

Dear @jjonkman
I have used BPE to calculate the 6X6 mass and stiffness matrix of the blade, but there is no calculation of DAMPINGCOEFFICIENT. Do you have a tool that can calculate the damping coefficient and extract the 6x6 matrix from the BPE file?

Dear @EVElove444,
BPE does not calculate damping.
Damping in BeamDyn is specified via a stiffness-proportional constant (mu).  Typically you would have a desired damping ratio of a given blade mode and you could derive mu from that.
Best regards,

Dear@jjonkman
Typically you would have a desired damping ratio of a given blade mode and you could derive mu from that.It is common to question what the predetermined damping coefficients should be. Is it correct to assign a value of 0.01 to all of them?
Best regards,

Dear @EVElove444,
I would use mu = zeta/(pi*n_f), where zeta is the damping ratio and n_f is the natural frequency of the blade mode in Hz (at least for flapwise and edgewise bending and torsion).  In the absence of more information, I would use zeta in the range of 0.005 to 0.02, with the lower end being more conservative.
Best regards,

Hello, is it correct that Xcm and Ycm (are the local coordinates of the sectional center of mass,) are not 0 in the section features calculated by BPE? Is it different from the coordinate system in Openfast?
Best regards,

Dear @EVElove444,
The sectional center of mass offsets in BeamDyn should be the offsets relative to the BeamDyn reference axis.  You should use the same reference axis in BPE when calculating the sectional 6x6 mass and stiffness matrices.
Best regards,

Dear @EVElove444,
Hello, how is the reference system of the stiffness and mass matrices defined in BeamDyn?
Best regards,

Dear @EVElove444,
The reference axis in BeamDyn follows the axis defined via the key points and their initial twist in the BeamDyn primary input file.  See the online BeamDyn documentation on readthedocs for more information: https://openfast.readthedocs.io/en/main/source/user/beamdyn/input_files.html#geometry-parameter.
Best regards,


Host Down issue how to solve

There is a issue coming host down please help me

Do you have error messages or other information?

Do you have error messages or other information?

No


How to get lat/lon from mouse click position?

How can I get the GPS (lat/lon) point for the last clicked mouse position, and have this info displayed in the console continuously?
I have tried with the following code.

Click to see code
import time
import streamlit as st
from streamlit_folium import st_folium
import folium

def draw_folium_map():
   center = [53.4844, -2.2952]
   tiles = ["cartodbpositron", "Stamen Toner", "OpenStreetMap"]
   map = folium.Map(
       location        = [center[0], center[1]],
       zoom_start      = 15,
       zoom_control    = True,
       scrollWheelZoom = False,
       tiles           = tiles[0],
   )

   folium.Marker(
       location=[53.4844, -2.2952],
       popup=f"A location!",
       icon=folium.Icon(color="blue", icon="star"),
   ).add_to(map)

   return map

#----------------------------------------------------------------------
#  Main
#----------------------------------------------------------------------

m = draw_folium_map()

output = st_folium(m, key="map", width=650, height=600)

if not output['last_clicked'] == None:
   print('map:  ({}, {})'.format(output['last_clicked']['lat'], output['last_clicked']['lng']) )

st.write(output)

#xy = [ map['last_clicked']['lat'], map['last_clicked']['lng'] ]
#print('Lat: {}, Lon : {}'.format(xy[0], xy[1]))

while True:
   try:
       #if not map['last_clicked'] == None:
       #    print('map: ', map['last_clicked'])
       time.sleep(2)
   except KeyboardInterrupt:
       print('\n [INFO] Program Interrupted by user.')
       st.stop()
       exit(1)

What do you mean by "display continuously"? Your code essentially works, except the while True loop never ends, so it gets stuck. If you remove that loop, every time you click in a new place, it will print to the console again.

@blackary
Fantastic!  Now it works.
Yes, I have no idea why it didn't work the first time around. It would only print once and then not again.

Also, don't need the in browser write st.write(output).


updates documentation with region not found error

Adds information to the Readme in order to solve the region not found error.

@ronaldtse could you review this update? Pls do Rebase and Merge if its ok

@MatteoPierro thanks for this. @phuonghuynh sorry I missed your message earlier.
This makes me think the correct solution is to allow selection of the region in the interface where we add the queue. For example, you could have a queue in us-east-1 but also another in eu-east-1. We can fetch the region list from AWS API (i.e. which regions support SQS).
What do you think?

@MatteoPierro please feel free to let us know any other problems you encounter with the plugin. Thank you again for your contribution!

@ronaldtse I agree with you that the correct solution is to allow the region selection in the user interface.

Appreciate your thoughts @MatteoPierro !

@ronaldtse could we implement this ?

@phuonghuynh please do, thanks!


[BUG] Issue when trying to load a pandas dataframe with columns with dtype: datetime64[ns]

I'm trying to load pygwalker a dataframe with columns which are of  dtype: datetime64[ns]. When I  run pyg.walk(df) I get the following error:
[E 13:54:21.599 NotebookApp] Uncaught exception, closing connection.
    Traceback (most recent call last):
      File "/home/user/.virtualenvs/theo/lib/python3.10/site-packages/tornado/iostream.py", line 695, in _handle_events
        self._handle_write()
      File "/home/user/.virtualenvs/theo/lib/python3.10/site-packages/tornado/iostream.py", line 965, in _handle_write
        self._write_buffer.advance(num_bytes)
      File "/home/user/.virtualenvs/theo/lib/python3.10/site-packages/tornado/iostream.py", line 182, in advance
        assert 0 < size <= self._size
    AssertionError
Exception in callback None()
handle: <Handle cancelled>
Traceback (most recent call last):
  File "/usr/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/home/user/.virtualenvs/theo/lib/python3.10/site-packages/tornado/platform/asyncio.py", line 192, in _handle_events
    handler_func(fileobj, events)
  File "/home/user/.virtualenvs/theo/lib/python3.10/site-packages/tornado/iostream.py", line 695, in _handle_events
    self._handle_write()
  File "/home/user/.virtualenvs/theo/lib/python3.10/site-packages/tornado/iostream.py", line 965, in _handle_write
    self._write_buffer.advance(num_bytes)
  File "/home/user/.virtualenvs/theo/lib/python3.10/site-packages/tornado/iostream.py", line 182, in advance
    assert 0 < size <= self._size
AssertionError

If I cast those columns to strings, it "works", but then I lose the ability to filter by date ranges and any other features associated with dates.
Unfortunately, just tried different ways and it just crashes regardless of column dtypes.
dataframe shape: 6435 rows × 8 columns
Environment:
OS: Ubuntu 22.04
Python: 3.10.6
Jupyter notebook: 6.5.4

Confirmed it happens in docker container as well.

hello, what's the version of pygwalker?
The development is mainly in JupyterLab, so there might be some incompatibilities in legacy notebooks.

@Asm-Def can confirm that with Jupyter Lab this works as expected. I'm wondering why it won't work with latest version of notebook 🤔

@Asm-Def can confirm that with Jupyter Lab this works as expected. I'm wondering why it won't work with latest version of notebook 🤔

I'm not sure, but might because the displayed HTML output exceeds the default size limit of the stream buffer of NotebookApp.


add support for repairing format Checkstyle errors with Styler

See https://github.com/KTH/styler/
formatting

Related:
DevReplay suggests code fix ways based on your own coding style.
https://github.com/marketplace/dev-replay

FTR, @andre15silva is working on this


Include payment_method in PaymentIntent charges

A Payment Intent captured with a payment method should reflect the payment method in any charges created against it to match the behaviour of real Stripe.

Hello! is anyone able to take a look at this one (freshly-rebased with master) /cc @TastyPi


Norm 300 app logo

This has been reviewed, and should be ready to go live.

:warning: Validation status: warnings

File
Status
Preview URL
Details

msteams-platform/publishing/office-store-checklist.md
:warning:Warning

Details

msteams-platform/publishing/office-store-guidance.md
:warning:Warning

Details

msteams-platform/whats-new.md
:warning:Warning

Details

msteams-platform/publishing/office-store-checklist.md

Line 39: [Warning] Invalid file link:(~/concepts/bots/bots-create).

msteams-platform/publishing/office-store-guidance.md

Line 9: [Warning] Invalid file link:(~/publishing/apps-publish).
Line 73: [Warning] Invalid file link:(~/publishing/apps-publish#microsoft-teams-app-approval-process).

msteams-platform/whats-new.md

Line 15: [Warning] Invalid file link:(~/publishing/office-store-guidance).
Line 15: [Warning] Invalid file link:(~/publishing/office-store-checklist).
Line 16: [Warning] Invalid file link:(~/concepts/cards/cards-actions).
Line 17: [Warning] Invalid file link:(~/whats-new).
Line 18: [Warning] Invalid file link:(~/concepts/authentication/auth-tab-AAD).
Line 18: [Warning] Invalid file link:(~/concepts/authentication/auth-flow-tab).
Line 19: [Warning] Invalid file link:(~/resources/design/framework/command-box).
Line 20: [Warning] Invalid file link:(~/concepts/bots/bots-notification-only).
Line 21: [Warning] Invalid file link:(~/concepts/bots/bot-conversations/bots-conv-proactive).
Line 22: [Warning] Invalid file link:(~/concepts/cards/cards).
Line 22: [Warning] Invalid file link:(~/concepts/cards/cards-format).
Line 22: [Warning] Invalid file link:(~/concepts/cards/cards-reference).
Line 22: [Warning] Invalid file link:(~/concepts/cards/cards-actions).
Line 23: [Warning] Invalid file link:(~/get-started/app-studio-component-library).
Line 23: [Warning] Invalid file link:(~/get-started/get-started-app-studio).
Line 24: [Warning] Invalid file link:(~/concepts/bots/bots-context).
Line 25: [Warning] Invalid file link:(~/get-started/get-started-dotnet).
Line 30: [Warning] Invalid file link:(~/feedback).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Error when import: Failed to load the native TensorFlow runtime version GLIBC_2.28 not found

System information

OS Platform and Distribution: Ubuntu 18.04.1
TensorFlow version: 2.2.0
Hardware: Raspberry Pi 4 Model B Rev 1.4
Architecture: aarch64
Python version: 3.7.5 [64-bit]
Installed using: virtualenv and pip
ldd version: ldd (Ubuntu GLIBC 2.27-3ubuntu1.4) 2.27

Describe the problem
I used the wheel referred to in this tutorial tutorial and installed using pip successfully. However, when I tried to import TF I get this error:
ImportError: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/ubuntu/donkey/lib/python3.7/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so)
Some sources suggest downgrading python which is not an option for me as this wheel I'm using needs explicitly 3.7 (if there's another wheel I can use, I'm willing to use other version of python, but I prefer to stick with ubuntu 18.04)
Provide the exact sequence of commands / steps that you executed before running into the problem
sudo apt-get install python3.7 python3.7-dev  python3.7-venv
python3.7 -m venv donkey
source donkey/bin/activate
gdown https://drive.google.com/uc?id=1fR9lsi_bsI_npPFB-wZyvgjbO0V9FbMf
pip install tensorflow-2.2.0-cp37-cp37m-linux_aarch64.whl
Any other info / logs

Traceback (most recent call last):
  File "/home/ubuntu/donkey/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "/home/ubuntu/donkey/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
    _pywrap_tensorflow_internal = swig_import_helper()
  File "/home/ubuntu/donkey/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "/usr/lib/python3.7/imp.py", line 242, in load_module
    return load_dynamic(name, filename, file)
  File "/usr/lib/python3.7/imp.py", line 342, in load_dynamic
    return _load(spec)
ImportError: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/ubuntu/donkey/lib/python3.7/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "", line 1, in
  File "/home/ubuntu/donkey/lib/python3.7/site-packages/tensorflow/__init__.py", line 41, in
    from tensorflow.python.tools import module_util as _module_util
  File "/home/ubuntu/donkey/lib/python3.7/site-packages/tensorflow/python/__init__.py", line 50, in
    from tensorflow.python import pywrap_tensorflow
  File "/home/ubuntu/donkey/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 69, in
    raise ImportError(msg)
ImportError: Traceback (most recent call last):
  File "/home/ubuntu/donkey/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
    from tensorflow.python.pywrap_tensorflow_internal import *
  File "/home/ubuntu/donkey/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
    _pywrap_tensorflow_internal = swig_import_helper()
  File "/home/ubuntu/donkey/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
    _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
  File "/usr/lib/python3.7/imp.py", line 242, in load_module
    return load_dynamic(name, filename, file)
  File "/usr/lib/python3.7/imp.py", line 342, in load_dynamic
    return _load(spec)
ImportError: /lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/ubuntu/donkey/lib/python3.7/site-packages/tensorflow/python/_pywrap_tensorflow_internal.so)

Failed to load the native TensorFlow runtime.

See https://www.tensorflow.org/lite/guide/build_arm#cross-compilation_for_arm_with_bazel the note says that you need to have glibc >= 2.28 Thanks!

Thank you, although note you refer to is in fact in the page of TF "lite"

I'm adding this comment to help anyone reading this and having same problems. I tried different things recommended by many persons trying to help, but I always got stuck with something. I think this is because it's usually very easy to overlook some details when I ask for help for my specific setup (RPI4+ARM64+Ubuntu18) and I found out that it's very common to receive help with the assumption that I'm using Raspbian or that my OS is 32-bit or I'm asking for TF lite or even thinking that Ubuntu 18 would be the same as 20.
So what ended up working for me is building it from source following the official documentation tutorial here and it took 22 hours to compile. Don't be intimidated by the process; I know having a wheel file and just pip install looks way easier, but really building from source is quite straightforward. I also have the wheel file if you want (I will probably upload it on google drive or dropbox)
Because of the so many problems popping up, I don't remember them or their source. However, there were 4 errors that happened because I didn't give proper attention to some details:

Double check the .bazelversion file in the TF folder and make sure that this version really exists for ARM64 (at one point this created a problem for me because for a reason I don't know it was 1.3 and this version doesn't exist for aarch64)
If you are using a virtual environment: You must do the configuration (via the configure.py file) before building, don't forget to do this :-)
If you didn't create it with --system-site-packages, make sure you have got everything you need (numpy, keras-preprocessing ...)
I got an error when I tried to import TF complaining about the version of numpy (I don't remember it). I solved it by pip install --upgrade numpy


PyTorch Global Magnitude Pruning

enable global magnitude pruning by adding global_sparsity: True to GMPruningModifier configs

[x] refactor mask creators and masking objects to process lists of tensors instead of single tensors
[x] add option for global masking in mask creators and pruning modifier
[x] testing

Current status is this PR will be on hold until other algorithms are landed on main

Putting this back up for review

Overall looks good, 2 notes for the future to keep an eye on:

I'm worried about the memory hit we're going to take on creating a new tensor the size of all the params that are used to just calculate the threshold. This may be something we need to do on the CPU, or at least have an option for, instead of keeping the tensor on the current device
Also worried about the discoverability of global magnitude. As we're doing the refactor and renaming, it may make sense to break out GradualMagnitude and GlobalMagnitude into their own root level classes that extend the same base class so it's more discoverable and readily available in docs and tutorials

@markurtz updated to include child classes for pruning modifiers, note that we will have to be careful about ModifierProp serialization when inheriting from a class with more props.  Agreed on the memory issue, definitely something to keep an eye out for.
@natuan That implementation would move logic for when to group globally or not to two different places (the call site would have to pass in tensors separately), as implemented, the only place in the stack that cares about global or not, other than propagating, is the mask creator.  I do think adding support for a single tensor input would be good though.

@kevinaer resolved, thanks!


WorkspaceDriverTest fails with bazel @ HEAD

On Bazel CI bazel-integration-testing is failing in the downstream projects because of WorkspaceDriverTest (see logs).
The test relies on the existence of a file in the runfiles directory (e.g. see #L37). The file is not embedded into bazel anymore since https://github.com/bazelbuild/bazel/commit/c33ae8af469d615e490fbf503f7fad03e22ea1c6.

@maximn @ittaiz How should we fix this test?

Do you know by any chance if there is a different file we can rely on
existing?
On Tue, Feb 26, 2019 at 11:45 AM Yun Peng<EMAIL_ADDRESS>wrote:

@maximn https://github.com/maximn @ittaiz https://github.com/ittaiz
How should we fix this test?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bazelbuild/bazel-integration-testing/issues/111#issuecomment-467370326,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABUIF5F8rpsoCsCNnIes3MsA9rVqbpVpks5vRQJVgaJpZM4bRwCl
.

@iirina @meisterT What's the best way to proceed there?

I think this does rely on internals it probably should not rely on. What you seem want to test is the copyDirectoryFromRunfiles method, right? So what about setting up a test where you actually control the runfiles?

I kind of did this in https://github.com/bazelbuild/bazel-integration-testing/pull/112, I don't know if that fixes it entirely, but wouldn't mind a 2nd set of eyes.

I temporarily disabled Bazel integration test in Bazel downstream test, please ping us when it's fixed.
You can still view the build status with Bazel@HEAD at https://buildkite.com/bazel/bazel-at-head-plus-disabled/builds/99

@achew22 I think #112 isn't related to the above error of relying on test runner deploy.
Can you PTAL at #113?

@meteorcloudy can you please enable us again? I'm fairly certain the issue is resolved

@ittaiz Thanks for the fix!

It is green again https://buildkite.com/bazel/bazel-at-head-plus-disabled/builds/102


Edit Readme

The Readme was kind of empty so i just wrote some info

I reworded some of the sections, can you have a look into my changes to make sure I haven't missed any details?

As of now you can write instruments only in gdscript

Changed, any other details?

lemme see


[CDataTable] Add cell (double-)click event

    "@coreui/coreui": "3.0.0",
    "@coreui/icons": "1.0.1",
    "@coreui/vue": "3.0.0",

Currently the CDataTable has a row-clicked event. I would like to request an additional event when a cell is (double-?) clicked, which should return the cell and value of the clicked cell. We have business logic where the user is redirected to a route based on which cell (header/value) the user has clicked on. With the current available events I don't know which cell/value is clicked.
Could be like this:
http://tabulator.info/docs/4.5/callbacks#cell

Because there is no way to add an event on a slot (cells can be represented as slots), modification has been done on the 'row-clicked' event so the third argument with column name string is now available.


AddFilter not working for ApplicationInsightsLoggerProvider. Duplicate Events logged while using: .ConfigureLogging(logging => logging.SetMinimumLevel(LogLevel.Warning))

My goal:
(I am using Microsoft.Extensions.Logging.ApplicationInsights 2.9.1)

Filter to LogLevel.Information for any CategoryName

but when CategoryName contains "Microsoft", I would like the LogLevel to be LogLevel.Warning

Here's a snippet from: startup.cs
public static void ConfigureServices(IServiceCollection services)
{
services.AddSingleton<ITelemetryInitializer, OperationParentIdTelemetryInitializer>();
services.AddLogging(loggingBuilder =>
{
loggingBuilder.AddFilter("", LogLevel.Information);
loggingBuilder.AddFilter("Microsoft", LogLevel.Warning);
loggingBuilder.AddApplicationInsights();
});
services.AddApplicationInsightsTelemetry();
}
Result:

AddFilter does not work.

I made the filter work by adding .ConfigureLogging(logging => logging.SetMinimumLevel(LogLevel.Warning)): to my service class.

I  am seeing 2 logs for each call: _logger.LogCritical();
...
return new WebHostBuilder()
.UseKestrel()
.ConfigureServices(
services => services
.AddSingleton(serviceContext))
.UseContentRoot(Directory.GetCurrentDirectory())
.UseStartup()
.ConfigureLogging(logging => logging.SetMinimumLevel(LogLevel.Warning))
.UseServiceFabricIntegration(listener, ServiceFabricIntegrationOptions.None)
.UseUrls(url)
.Build();
}))

Any pointers?

Can you try to configure logging using IWebHostBuilder extension method as shown below/and docs example?
.ConfigureLogging(logging =>
        {
        logging.AddApplicationInsights("ikeyhere");

        // Optional: Apply filters to configure LogLevel Trace or above is sent to
        // ApplicationInsights for all categories.
            logging.AddFilter<ApplicationInsightsLoggerProvider>("", LogLevel.Trace);

            // Additional filtering For category starting in "Microsoft",
        // only Warning or above will be sent to Application Insights.
        logging.AddFilter<ApplicationInsightsLoggerProvider>("Microsoft", LogLevel.Warning);
        })
        .Build();


Multi-machine test is broken

Steps to repro: start multi-machine run, ^C during training. After eval & load best checkpoint, it throws:
Traceback (most recent call last):
  File "train.py", line 745, in <module>
    main()
  File "train.py", line 729, in main
    model = torch.load(model_f, map_location=lambda storage, loc: storage.cuda(args.local_rank))
  File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/torch/serialization.py", line 368, in load
    return _load(f, map_location, pickle_module)
  File "train.py", line 745, in <module>
    main()
  File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/torch/serialization.py", line 532, in _load
    magic_number = pickle_module.load(f)
  File "train.py", line 729, in main
    model = torch.load(model_f, map_location=lambda storage, loc: storage.cuda(args.local_rank))
  File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/torch/serialization.py", line 368, in load
    return _load(f, map_location, pickle_module)
  File "/home/ubuntu/anaconda3/envs/pytorch_p36/lib/python3.6/site-packages/torch/serialization.py", line 532, in _load
    magic_number = pickle_module.load(f)
EOFError: Ran out of input

No explanation?

Oh, is it still broken? I haven't seen this error in any of my testing

Have you tried Ctrl c with multiple machines?
On Sun, May 5, 2019, 6:21 PM Yaroslav Bulatov<EMAIL_ADDRESS>wrote:

Reopened #7 https://github.com/cybertronai/transformer-xl/issues/7.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cybertronai/transformer-xl/issues/7#event-2319899811,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHZJMAPQKN3U2AC2GGTHRDPT6BZPANCNFSM4HKSGMXQ
.

Probably need to broadcast the interrupt signal
On Sun, May 5, 2019, 6:24 PM Ben Mann<EMAIL_ADDRESS>wrote:

Have you tried Ctrl c with multiple machines?
On Sun, May 5, 2019, 6:21 PM Yaroslav Bulatov<EMAIL_ADDRESS>wrote:

Reopened #7 https://github.com/cybertronai/transformer-xl/issues/7.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cybertronai/transformer-xl/issues/7#event-2319899811,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHZJMAPQKN3U2AC2GGTHRDPT6BZPANCNFSM4HKSGMXQ
.

Just tried it with 2 machines and it didn't crash. But it didn't seem to evaluate things correctly either


ARROW-13614: [C++] Add decimal support to min_max/hash_min_max

Can you rebase on latest master so as to get a passing AppVeyor build?


Updated example web app

I updated the sample web application because I thought the old site didn't look very good and the code was very messy. The video is a demonstration of the new site.

https://github.com/timmaffett/material_symbols_icons/assets/85431690/18c9c936-fd56-4554-b186-c08db06d18b6
Edit: The link system is not working yet, but I will work on that in the near future

I appreciate the work you have put in on this.
One of the primary things I am trying to accomplish with the example is to have a live preview of adjusting the icon flexible font axis settings with the icons that are on display.  The way you have changed the UI to go to a second page for icon settings adjustment defeats this.  The idea is that you can interactively play with the settings in real time and see the results immediately.
I was also actually trying to get all of the code into the single file so that it shows up on the example page on pub.dev - I know this not a good way to architect a 'real' application, and you example accomplishes that much better.
I also like the icon preview on the search dropdown, providers, and your use of GridView.builder() to make the grid..,
In general a much better example of how to program a proper flutter app!
Do you think you would want to make the changes to put the settings adjustment back top/front page and make the adjustments alwats visible and 'live' ?
Thanks again!

oh, and another thing I was trying to accomplish with the Splittable.flexibleRow() class is that as you dynamically resize a web window or on different mobile screens the settings section re-splits the settings widget rows in a sensible fashion (you can provide specific split widgets for different screen widths for each row).
I have not looked closely at your app to see if this is preserved but I thought I would mention it, this is important to preserve this behavior, although there may be a better way to accomplish it.

Thanks for the feedback, I will work on that

Hey, I the example again. I hope it now works like you expect. I also fixed the urlStrategy bug and removed the android, ios, windows, macos and linux folders. I think, the project is just for web. Here is a video of the updatet app. The performance should be a bit better on other computers, my laptop is not the best and when I also record a video, he reaches his limits.
https://github.com/timmaffett/material_symbols_icons/assets/85431690/c5d8b73f-332e-4fb5-9778-656c18deae7c

The example app was indeed designed and tested on linux, windows and mac desktop, web versions for chrome, firefox and safari, and also Android and IOS versions for various sized phones.  That is one of the reasons that there is the option to run it with the example\lib\main_device_preview.dart which gives you the ability to test your layout in a variety of form factors.  It should work well at tall/skinny layouts as well as wide/short layouts.
One other nice feature of the current search parameter is that it filters the entire 'large' icon list as you type - showing the options in dropdown, with icon preview, is nice, but I think that it is also useful to filter the large list in real time also.  (My eyesight doesn't really allow me to see too much with the tiny previews for example)
It may be that I should just include your example app as an alternate we only example - until/if/when you feel like testing on desktop and mobile we could expand on that.
Again, I appreciate the work that you have put in to this and it your example is very nice.


Incorrect path for example YAML in 'Coarse Parallel Processing Using a Work Queue' task page

The example are not fount. Update it, please.

Page reported in issue (in the issue title):  https://kubernetes.io/docs/tasks/job/coarse-parallel-processing-work-queue
/language en

/retitle Incorrect path for example YAML in 'Coarse Parallel Processing Using a Work Queue' task page

We should update the links to ensure the proper functioning of the task page.
/priority backlog
/triage accepted

I will try to help with it.
/assign

PR https://github.com/kubernetes/website/pull/45022 raised to help with this.


⚠ Bofrost.be has degraded performance

In a5ad507, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 802 ms

Resolved: Bofrost.be performance has improved in ef7ce9c after 2 hours, 12 minutes.


Common timezone information

We should update https://github.com/XENONnT/straxen/blob/88d3e4eae830b9b415e5e58db8274531b79393fb/straxen/rundb.py#L280 such that all timestamps are returned with a proper timezone information to avoid confusion between UTC and LabTime.

This became an error inducing issue when setting the GPS_sync (https://github.com/XENONnT/straxen/pull/1045) and was solved with <datetime>.replace(tzinfo=datetime.timezone.utc)
https://github.com/XENONnT/straxen/blob/78cf9aa37cbcc8f39d17cfbd1c19ef45341c71b6/straxen/plugins/acqmon_processing.py#L284-L285


Update Base58 codec and remove Bitcoin support:

Reopening the closed PR #3575 sorry fo the problem @scottschurr and @howardhinnant!

ohoh, what happened ?

Oops.  One more mechanical change needed.  The clang-format continuous integration check is failing.
We need to reformat a little bit of the code to make clang-format happy.  You can do that yourself by running clang-format over the changed files.  Or you can cherry-pick the changes that clang-format will make from this commit: https://github.com/scottschurr/rippled/commit/1483ffe434966d64a1278ee695e0e1af98ac22ce
Sorry that I missed that earlier.

  Looks great.  :+1:


MSID: 95028 Version: 1 DOI: 10.1101/2<IP_ADDRESS>9576

MSID: 95028
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>9576
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=95028
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>9576

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/95028v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>9576
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/95028/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

Need to fix capitalisation of methods title


Several fixes

Changes:

Added a travis build check that prevents the appearance of dead links
Removed many projects which were unmaintained and outdated
Fixed links to moved documents
Removed duplicated references

Overall, in this PR I avoided making any major change that could be controversial and haven't added any new resource.
The explanation for every change is in its respective commit message.

Nice! 👍

@canesin could you also enable Travis in the repo?

@corollari why Travis in an awesome repo ? :thinking:

Added a travis build check that prevents the appearance of dead links

@ixje could you ping @lllwvlvwlll on Slack ? It appears GH changed how the webhooks works.

done


NNEF to NNIR - Fix

This pull request introduces 2 alerts and fixes 3 when merging 6cb429fdc5f24eb0bc1720f0523403734a230a1a into af4ec494c04a5ec10bd87e18b6ea267f13d0d9f2 - view on LGTM.com
new alerts:

2 for Unused local variable

fixed alerts:

2 for Variable defined multiple times
1 for Unused import

Comment posted by LGTM.com

@hansely Can I merge this?

Yes, they are already included in nnir. So no need to import twice. You can merge it


Make install script

Use constructor to create install scripts for linux-64 and win-64. The linux package is currently huge 578.4 MiB.

[x] add post install scripts for windows to install non conda dependencies vi pip
[ ] write gh-action to automatic build the install scripts for releases.
[ ] add post install script to install matlab engine

identify matlabroot  with matlab -batch matlabroot
build and install matlab enginecd matlabroot/extern/engines/python

Mac and Linuxpython setup.py build --build-base=$(mktemp -d) install

Windows Powershell:python setup.py build --build-base=$env:temp install

I'm currently stuck on automatic uploading windows packages to anaconda cloud. The anaconda client fails silently.
https://github.com/ARB-Lab/CNApy/actions/runs/430046637


10/13 Publish

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

2017-03-09-profile/docs-ref-autogen/storage/account.yml
:white_check_mark:Succeeded
View (azure-cli-2017-03-09-profile)

latest/docs-ref-autogen/dls/fs.yml
:white_check_mark:Succeeded
View (azure-cli-latest)

latest/docs-ref-autogen/vmss.yml
:white_check_mark:Succeeded
View (azure-cli-latest)

latest/docs-ref-conceptual/authenticate-azure-cli.md
:white_check_mark:Succeeded
View (azure-cli-latest)

latest/docs-ref-conceptual/create-an-azure-service-principal-azure-cli.md
:white_check_mark:Succeeded
View (azure-cli-latest)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Revert "Sema: Apply @escaping to typealiases with underlying function type"

Reverts apple/swift#4347. This segfaults on the Linux Swift build and breaks the Linux libdispatch build.
https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-15_10/7383/
https://ci.swift.org/job/oss-swift-incremental-RA-libdispatch-linux-ubuntu-15_10/1377/

@swift-ci please smoke test osx platform

@swift-ci please smoke test

#4347's problems have been fixed.


Is JSONstore dead?

Having constant problems with this, keeps returning 503. Don't bother with this api.

Have you literally even seen the last three issues?

We're having technical issues that will be resolved in the next few days.

dup #62


Store the password in the Secure enclave

It would be nice to store the password in the Secure Enclave similar to how https://github.com/maxgoedjen/secretive does.
I didn't find a Golang library that allowed this and for now it is stored as an issue/would be nice to have at some point. This would also imply not being compatible with the normal pinentry-mac.

This seems to not be possible currently:

The only keychain items supported by the Secure Enclave are 256-bit elliptic curve private keys (those that have key type kSecAttrKeyTypeEC).

from https://developer.apple.com/documentation/security/ksecattrtokenidsecureenclave.


Should not allow user to tap "Sign in with Google" when a signing is in progress

Objective C or Swift: Swift
iOS version: 10.3.2
Firebase SDK version: latest release
FirebaseUI version: latest release
CocoaPods Version: latest release

Step 3: Describe the problem:
Steps to reproduce:

Show picker view screen
tap google, then login
Show picker view with a progress bar.

Observed Results:
User can tab the login buttons even though previous is already in progress.
Expected Results:
User cannot tab any login buttons

@whchan Thanks for the feedback.
I will review issue with our UX designer, probably will add transparent view below activity indicator.

Fixed in FirebaseUI 4.3.2


BC_21: Slider ball is not rolling out on clicking play button

SEVERITY: Major
MODULE: Bar Chart
OS/BROWSER: Windows 7 / Chrome 45.0
STEPS TO REPRODUCE:

Navigate to URL: http://static.gapminderdev.org/vizabi/release/v0.5.1/preview/barchart.html
Bar chart page will be loaded
Click on axes menu
Select x-axis drop down as Time
Click on Play
Note that slider ball will not move farther & Play button below label “interaction button” also converted into Pause

ACTUAL RESULTS:
Slider ball is not moving farther on clicking the play but at the same time Play converted into Pause in right menu of interaction button
EXPECTED RESULTS:
Slider ball should keep moving on clicking the Play
SCREENSHOT:

Actually the opposite is happening now. It never goes to Pause mode on Preview page. I'll take a look

Time shouldn't even be allowed there

resolved long ago


Add cosmos container

Resolves #298
Unable to create cosmos container
Creating new cosmos container
Terraform changes

Added resource block to add new cosmos container

/test

:robot: pr-bot :robot:
:runner: Running tests: https://github.com/UCLH-Foundry/FlowEHR/actions/runs/4880727904 (with refid 5b112d31)
(in response to this comment from @damoodamoo)

/test

:robot: pr-bot :robot:
:runner: Running tests: https://github.com/UCLH-Foundry/FlowEHR/actions/runs/4880918189 (with refid 5b112d31)
(in response to this comment from @jedheaj314)

/test

:robot: pr-bot :robot:
:runner: Running tests: https://github.com/UCLH-Foundry/FlowEHR/actions/runs/4881554381 (with refid 5b112d31)
(in response to this comment from @jedheaj314)

:robot: pr-bot :robot:
:runner: Running tests: https://github.com/UCLH-Foundry/FlowEHR/actions/runs/4881985943 (with refid 5b112d31)
(in response to this comment from @jedheaj314)

/test


No net framework build in latest release

https://github.com/sunnamed434/BitMono/releases/tag/v0.20.1-alpha.36

Was somehow fixed in latest release


rename getting started to fix broken link

Fixes #2634

[URGENT] - @castrojo @thesuperzapper I need a LGTM here to merge this. The title change broke the master branch (glad we are not pointing to it yet!)

/lgtm

Thank you @DavidSpek ! With urgency we did not test the branch and it got broken. Hopefully this fixes it. Testing now

thanks, makes sense to me.
keep in mind that any proper file rename needs

fixing existing links
adding redirect rules

@RFMVasconcelos should we rename this to installing-kubeflow, and add a redirect?


Could you provide an ARM build of the Docker images?

It builds just fine with Docker Desktop for Mac on an M1, but it would be more convenient to be able to simply pull it from Docker Hub. 😎

+1 would love to get a native arm build for our apple silicon!

.

Yup it will be great if you push native ARM build image

@kdambekalns , @as206em
I have released ARM64 docker image from 3.19.0.


Add support for MSC3946: Dynamic room predecessor

MSC3946 enables us to specify the predecessor room using a new state event instead of the create event.
This doesn't have much effect on the sliding sync proxy, but it does affect the list of rooms that are returned under certain circumstances.
As I understand it, predecessor rooms should normally be excluded from the list of returned rooms, so the proxy will need to determine the predecessor using the new state event if present. I believe this will be needed if the include_old_rooms filter is active.
I implemented this stuff in matrix-js-sdk - happy to help if you have any questions.  The most relevant code is probably in findPredecessor in room-state.ts.

We do similar things for m.room.create as part of supporting the include_old_rooms flag. It should be easy to replicate the lookup.
The problem is that we had assumed that predecessors never change. But now it can. Will have to update some SQL and also the caches.
Relevant source:
https://github.com/matrix-org/sliding-sync/blob/main/state/rooms_table.go#L15
https://github.com/matrix-org/sliding-sync/blob/main/state/rooms_table.go#L49 need to be more selective about what "latches on"


Release 1.2.11

docket:

#411

This release unblocks Pants work which upgrades to subprocess32.

Noting I bumped #379 from 1.2.11 to 1.2.12 in the hopes of getting this smaller change out in advance.

Noting I bumped #379 from 1.2.11 to 1.2.12 in the hopes of getting this smaller change out in advance.

perfect, thanks

This is now released:

https://pypi.python.org/pypi/pex/1.2.11
https://github.com/pantsbuild/pex/releases/tag/v1.2.11


Add 1440P modes

I would like to see 1440P @ 60, 144, and 165hz modes to test my gaming monitors (if possible). Thanks!

I think the pixel clock for 1440p60 is beyond the capability of the current hardware.

Is there a way to upgrade the hardware to support 1440p and 4k 60fps. Can you give me clue to what I should upgrade ? Thank you.


SPIKE: how to query mediaflux for directory count and directory depth?

This is extremely similar to #392 and #393, and the goal is to ensure that this is actually possible, and to determine how difficult this is to implement
Scope one week for addressing this
This directory should be easy, as the Accumulator gives client the number of assets and Collection assets (directories become assets)
There is uncertainty as to how to find the directory depth

If this requires more than one week to determine the depth, then this might not be required immediately (no user has demanded this)

Returns almost immediately with all the paths.  A couple seconds on project g
"/princeton/tigerdata/projectg/1/7/7/3/17736/17736-h"
asset.query :collection 1734250 :action get-path  :where "type='application/arc-asset-collection'"
	:path -id "1734557" -version "1" "/princeton/tigerdata/projectg/1/7/7/3/17734"
	:path -id "1734631" -version "1" "/princeton/tigerdata/projectg/1/7/7/3/17734/17734-h"
	:path -id "1734698" -version "1" "/princeton/tigerdata/projectg/1/7/7/3/17737"
	:path -id "1734833" -version "1" "/princeton/tigerdata/projectg/1/7/7/3/17735"
	:path -id "1734861" -version "1" "/princeton/tigerdata/projectg/1/7/7/3/17735/17735-h"
	:path -id "1735001" -version "1" "/princeton/tigerdata/projectg/1/7/7/3/17738"
	:path -id "1735025" -version "1" "/princeton/tigerdata/projectg/1/7/7/3/17739"
	:path -id "1735129" -version "1" "/princeton/tigerdata/projectg/1/7/7/3/17732"
	:path -id "1735275" -version "1" "/princeton/tigerdata/projectg/1/7/7/3/17732/17732-h"
	:path -id "1735338" -version "1" "/princeton/tigerdata/projectg/1/7/7/3/17730"
	:path -id "1735349" -version "1" "/princeton/tigerdata/projectg/1/7/7/3/17730/17730-h"


Pass "additional Properties" to Destination-Service on destination-retrieval

We have a use-case in which we need to set an individual header for each of our microservice when communicating with eachother.
We are using CAP - which internally uses the cloud-sdk to retrieve destinations via a mapping defined in the package.json.
It is cumbersum to add this header to every single request manually so we would like to set it once (e.g. in the destination mapping part in the package.json so it takes effect on getting the destination).
Setting these Static headers does work but appearently only in the UI and only for all users of a destination, meaning that a user of the destination cannot customize how they want to use it any further.
(Of course as soon as this is implemented in the cloud-sdk CAP has to implement this reading from the package.json and forwarding it to the call of the cloud-sdk too)
It may also come in handy to not only set these values hard-coded in the package.json but setting it at runtime if the value is dynamic (e.g. some ids?). So on retrieval of the destination from the destination-service one could add the properties at runtime to make it even mroe flexible.
For now we have a single wrapper function for all our inter-service-calls which adds this header in a hacky way...
We also considered creating a new destination for every combination of header-values we need but this gets cumbersome very quick
Our solution does work - however it is still a workaround and adds plenty of technical dept to our project

Hey @JanPfenning, I think I have a broad understanding of your request, but could you please make an example of how you would expect this to look like. That would help me understand your requirements better.

Hi @JanPfenning , we did not hear you for a while, so I'll close the ticket.
Please share more details as requested here and reopen the ticket.
Thank you very much for your understanding.


some quesion about Graph classify

❓ Questions & Help
I am study the classify of Graph,  not the node classfiy , but I am confusing about the data.y, if I have two classes, can I only set the data.y to be 0 or 1. and is there some exampe how to classify graph not node in the expample code.

Yes, you can do this. An example can be found here.

thank you for your reply, I have read the Mutag_gin code, but I find it is not suitable for me, because its' node feature is a one hot encoding, but my node_feature is just a numerial number; so it perform poor, is there any other example to classify graph?

Well, you can use any node features you like. It is just that MUTAG does not provide any node features, so we create them by ourselves. The example code stays the same, it just expects a different number of input features.

ok, I got it , maybe my graph is not suitabe for it so it perfom poor,  another question about the MessagePassing class, when I read the document of the class, it says the 'update' function will perform the aggregation, but I saw the code, you perform the 'message' function, then the aggregation, finally the 'update' function, so is there two aggregation operate?
It seem I have so many quesion, thank you for reply me again!

No, the update function does not implement the aggregation. It takes the aggregated messages and combines them with the old feature information.

when I implement the GinConv or GCN conv to my dataset, my dataset is a 30 node graph with full connect, which means it has 900 edge, and each node has two feature, which is a umerial number, for exampe[0.1, 0.2], I got a confuse result that the train acc and test acc always be 50%,No more, no less, It just 50%, and I check my pred, it's not just both 1 or 0, it's random, but the correct pred always be the half of the total, I have stuck in this problem for many day, could you give me some advice?

I guess your model cannot learn anything when operating on fully-connected graphs. All node features should be (nearly) identical.


Cherry-pick from Bitcoin repo, 1ec0c0a: small changes for OSX build

Cherry-pick from Bitcoin repo, 1ec0c0a: adds "const" suffix to several lines in txmempool.h and miner.h to make this build succeed under OSX w. clang++ and Boost lib 1.66+

Thanks!


Request: Multiple Sound Effect Support

I know that by setting up a custom event, I can select multiple sound effects for that event. I can use that for a Channel Points redeem where someone redeems a Shuba Duck, throws a Shubaduck at me, and the bonk sound effect is randomly chosen from a handful of Shuba sound clips.
But that doesn't work for the Barrage events unless I add the same throwable multiple times and assign it each of the different sound effects.  If I wanted to do a custom Barrage event and allow, say, all the default fruits and their splats plus all the Shuba splats, I can't use the sound effect gallery in the custom events because the fruits will get Shuba Splats and vice-versa.
If adding multiple splat sounds to a single throwable isn't doable, a "duplicate throwable" button would be helpful.
I'm not sure if this would also be a concern or not, but while I was trying to figure out how to set up what I wanted, I ended up choosing the same sound effect twice and the second one got a '2' appended to it. The file name doesn't bother me, I'm just wondering if it's holding all this stuff in memory, including two copies of the same file, which would make duplicating emotes like I want suck up a ton of resources at some point.

I'll look into this when I have some time, it would definitely be useful for that situation.
KBonk does currently make duplicates in storage whenever you import something that already exists, mainly just to make sure nothing gets overwritten by accident. Pretty much just for a situation where two files happen to have the same name, but different contents. I'll also look into a more robust system that only makes a new copy if a file in that situation instead of just doing it by default if it detects any duplicate.

The most recent update now prevents duplicate files from being created if the contents are the same. However, adding multi-sound effect support for specific items would require a good bit of UI redesigning that I don't think I have the time for right now unfortunately. The workaround of duplicate items is more efficient now, at least, since they'll all point to the same file!