Use --=

I swear that didn't work when I wrote this. Seems to now. Thanks!

I've heard rumours of it not working and seen people reverting back to filter.
Rather than avoid the problem I'd prefer to push the use of -=/--= to drive out a reported minimised reproduction (or multiple). :)
Thanks for the merge.


supervisors_and_registry.rb not working correctly

Migration of: celluloid/celluloid#430

@ioquatix, @sb8244 this is not a race condition. Insert a sleep for as long as you like and it still won't restart. It's that .actors is not being updated. Resolving

Actually, yes this is a race condition. But still it shouldn't be happening.

@digitalextremist thanks.


03-responding-to-slack-events.md

the wrong word was fixed  from "Add the the following line under the previous code" to "Add the following line under the previous code"
Summary
Describe the goal of this PR. Mention any related Issue numbers.
Requirements (place an x in each [ ])

[ ] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[ ] I've read and agree to the Code of Conduct.

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

@Sujin1135 Looks good to me. Could you sign our CLA? 🙇 https://cla-assistant.io/slackapi/python-slackclient?pullRequest=703

@seratch
I have just signed this CLA https://cla-assistant.io/slackapi/python-slackclient?pullRequest=703
Thank you!


Shortest Distance Between Words in Python

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Program to calculate the minimum distance between word1 and word2 in a list of words in python
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)

We cannot review Pull Requests without any corresponding Issues.
Thanks for your contributions!


fix: properly trim volume content before stripping percentage sign

This change set properly fixes the trimming of the volume file content before a potential percentage sign is stripped. Before this change and in the case if there is NO stripping happening the untrimmed content would be used which fails to parse to an int.

Well... this is embarrassing...
Other than that LGTM.


Worker processes and Baselines

Bl Image elements can now use worker processes to load images concurrently and minimise impact on the UI responsiveness.  However we may not always want to be forking processes.
Provide a mechanism to choose whether worker processes are used or not.

Bl Image elements now load the image cache in the current image by default.  To load them using a worker-process also load:
Metacello new
    baseline: 'GToolkitIPC';
    repository: 'github://akgrant43/gtoolkit-media:akg/src';
    load.

GToolkitIPC loads the required dependencies and provides a basic framework for forking and managing the worker processes.
Fixed by https://github.com/feenkcom/gtoolkit-media/commit/9b657cf8b332a4102d4651878d209d0b6a82ef5f


Hour-level granularity does not work

The docs aren't clear on time window granularity, they only give examples:

Use any form of /remind me [what] [when], such as:

/remind me to deploy on Oct 10
/remind me next Monday to review the requirements
/remind me that the specs on the rotary girder need checked in 6 months

I did not notice that these are actually all day-level granularity.
When I was testing my installation, I did
/remind me to set due date in 4 hours
This generated a reminder only a few minutes later:

NOTE: this could be considered either a documentation bug or a feature request—your call.

Great catch. I don't believe that we've ever tried this at more than a day-level granularity. Are you interested in submitting a PR to make this enhancement?

I was barely able to install the action—I'm not quite at the level of adding features quite yet! Sorry.

https://www.npmjs.com/package/parse-reminder is the package we use to parse natural language reminders into who, what, and when. They have an example of:

remind me in 10 minutes to change the laundry

So your 4 hour request is actually working.
> var parseReminder=require('parse-reminder')
> parseReminder('remind me set a due date in 4 hours')
{ who: 'me', what: 'set a due date', when: 2023-10-04T15:14:54.000Z }

We are using toLocaleDateString to format the date in the comments which doesn't show the time.
Your reminder should work, as long as you have your reminder action running on an hourly frequency it will remind you.
So this is probably a formatting "bug". But since the time at which you will be notified is based on the frequency of your reminder action, it will not always be accurate to show the time. So I'm inclined to leave it as is.
Thoughts?

In my experience, it did not wait 4 hours. It triggered almost immediately.
So I think there's probably still a real bug in there somewhere.
On Wed, Oct 4, 2023 at 8:17 PM steveoh @.***> wrote:

https://www.npmjs.com/package/parse-reminder is the package we use to
parse natural language reminders into who, what, and when. They have an
example of:
remind me in 10 minutes to change the laundry
So your 4 hour request is actually working.

var parseReminder=require('parse-reminder')> parseReminder('remind me set a due date in 4 hours'){ who: 'me', what: 'set a due date', when: 2023-10-04T15:14:54.000Z }

We are using toLocaleDateString
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleDateString
to format the date in the comments which doesn't show the time.
Your reminder should work, as long as you have your reminder action
https://github.com/agrc/reminder-action running on an hourly frequency
it will remind you.
So this is probably a formatting "bug". But since the time at which you
will be notified is based on the frequency of your reminder action, it will
not always be accurate to show the time. So I'm inclined to leave it as is.
Thoughts?
—
Reply to this email directly, view it on GitHub
https://github.com/agrc/create-reminder-action/issues/177#issuecomment-1747828101,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGCLRPIVJVWIDSU2UB7UOF3X5X4B3AVCNFSM6AAAAAA4GPHWJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBXHAZDQMJQGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

I think I'm affected by this issue as well. I was trying to use a 15 minute granularity for the reminders, and to test it, I defined a reminder like this:
/remind me to check on this in 20 minutes

When the create reminder action ran, this was the debug payload:
2024-02-13T19:41:16.8330145Z {
2024-02-13T19:41:16.8330766Z  "who": "nessita",
2024-02-13T19:41:16.8332664Z  "what": "check on this",
2024-02-13T19:41:16.8333555Z  "when": "2024-02-13T09:01:16.000Z"
2024-02-13T19:41:16.8334175Z }

The when value is correct and accurate, but the reminder was posted only after 4 minutes (that is the next time the "check reminders" action ran).


Possible fixes needed for αὐτόν

Parsing(PERSONAL_PRONOUN | MASCULINE | ACCUSATIVE | SINGULAR)
"αυτόν"
"Hebrews 2:7 16"
Parsing(PERSONAL_PRONOUN | MASCULINE | ACCUSATIVE | SINGULAR)
"αὐτον"
"Revelation 13:10 15"
Parsing(PERSONAL_PRONOUN | MASCULINE | ACCUSATIVE | SINGULAR)
"ἀυτόν"
"Hebrews 12:3 9"
Parsing(PERSONAL_PRONOUN | MASCULINE | NOMINATIVE | SINGULAR)
"αὑτός"
"Matthew 6:4 18",  "1 Corinthians 7:13 8"

These should all be fixed in the next update.


test data for kmermaid 10x input testing

In reference to PR - https://github.com/nf-core/kmermaid/pull/10

@apeltzer added a readme, thanks!


TypeError: Cannot read properties of undefined (reading 'map') on arraySelector

When we use the arraySelector notation and some results don't have the property, a TypeError: Cannot read properties of undefined (reading 'map') is thrown.
For example if the data is
const data = [
    {
        object: { nestedProperty: "value" },
        array: [{ prop1: "value1", prop2: "value2" }],
    },
    {
        object: { nestedProperty: "value" },
    },
 ]

and we have "array[prop2]" in searchableKeys

Pull request merged, closing issue


Replace np.NaN with np.nan in preparation for numpy 2.0

See https://numpy.org/devdocs/numpy_2_0_migration_guide.html#main-namespace

[ ] Closes #xxxx
[ ] Tests added
[ ] Changes are documented in docs/releases.rst
[ ] New functions/methods are listed in api.rst

@maxrjones the test failure here looks weird - is something going wrong with the workflows you set up earlier?

@maxrjones the test failure here looks weird - is something going wrong with the workflows you set up earlier?

ah sorry about that. in order to test distributions on non-tagged commits with TestPyPI, we need to use 'no-local-version' (e.g., 0.1.dev159) rather than the default of 'guess-next-dev', but also there cannot be multiple releases with the same name. I used up a bunch of the devN names on TestPyPI (see https://test.pypi.org/manage/project/virtualizarr/releases/) when testing out the workflow, so the error is reporting that name conflict. This won't be a problem if we only run the workflow on releases (configured in https://github.com/zarr-developers/VirtualiZarr/pull/140), which is how xarray has their release workflow configured.
In summary, you can ignore the issue and merge in https://github.com/zarr-developers/VirtualiZarr/pull/140 so it doesn't show up if you want.


Allow changing of game speed with non-numpad +/- keys as well

For everyone lacking a proper, full keyboard with numpad, not being able to change the game speed with +/- is quite annoying, as currently the regular, non-numpad +/- keys cannot be used for this.
Thus, it would be awesome to add an option to the patch that modifies the key binding in order to allow game speed changes with the non-numpad +/- keys as well.
Currently, those keys are not used, i.e. the proposed change should produce no "collisions". I am not sure how the mapping of +/- keys behaves for different keyboard language layouts, though.

#432

In pull request #746

In pull request #746


hi how can i use iris_tracking graphs with "not a camera, but an image."

hello~
i appreciate your all supports
first, i success in making an "iristrakcinggpu arr"
next, i success in making an "test apk" with "libs/iristrakcinggpu arr" and "asset/face_detection_front.tflite" , "asset/iris_lanmark.tflite" , "asset/face_lanmark.tflite" ,  "asset/iris_tracking_gpu.binarypb".
"test apk" works well.
but my project already use "android.hardware.camera" so i have to use "iristrakcinggpu arr" with image , not camera
i tried finding a code and testing about that in few days. .
but i failed now
could you some comment or hint about that?
plz save me

Hi @bwjoe, Could you please respond to my above comment. Thanks!

hello
sorry about my late response.
i don't have enough time to find about this solution. ( my schedule is so busy..)
so i solve this problem with worng way , not correct way.
i just activate 2 camera objects.
and just get iris landmarks from mediapipe module with set "output : inputstream,"
anyway so i just skip this problem not solving.
so i have no error reports that you request.
thank you for all consideration

Hi @bwjoe, Thank you so much for responding and sharing your fix and glad to know you resolved. We are closing this issue now, Feel free to reach us back if you still have any similar query. Thanks!


How to use multi-field constraints on a form with real-time field validation

Great libraries—a joy to work with. I'm very close to successfully integrating them in my project but for one last challenge: handling of required fields when doing real-time validation of a form with at least one constraint on multiple fields.

const startBeforeEnd = v => {
  !v.hasOwnProperty('start')
  || !v.hasOwnProperty('end')
  || v.start < v.end
}

const TimelineFields = t.struct({
  start: t.Date,
  end: t.Date,
  name: t.String
});

const Timeline = t.refinement(TimelineFields, startBeforeEnd)

const options = {
  error: (v) => {
    if v.start? and v.end? and not v.start < v.end
    then "Dates in wrong order"
    else null
  }
}

const App = React.createClass({

  onChange(value, path) {
    this.refs.form.getValue();
  },

  render() {
    return (

        <Form
          ref="form"
          type={Timeline}
          onChange={this.onChange}
          options={options}
        />

    );
  }

});

The problem is this: the multi-field constraints are properly checked if this.refs.form.getValue() is used in the onChange handler, but this causes all fields to be validated. Thus all required fields the user hasn't reached yet immediately turn red.
I was using this.refs.form.getComponent(path).validate() before. It works great in that it only checks the field currently being modified, but it doesn't run the multi-field constraint checks. I don't see any way to validate and set errors manually, or to exclude certain constraints from the validation pass.
One idea was to wrap the fields in t.maybe so I can call this.refs.form.getValue() without having presence checks done. Assuming an appropriate required function is defined, checks could be done with a refinement:
const TimelineFields = t.struct({
  start: t.maybe(t.refinement(t.Date, required))
  end: t.maybe(t.refinement(t.Date, required))
  name: t.maybe(t.refinement(t.String, required))
});

Unfortunately it seems that subtype checks are not run unless the field has a value, so the required check is never made.
Another idea was to call either this.refs.form.getValue() only if all required fields have values, or this.refs.form.getComponent(path).validate() otherwise, but this is not ideal in that the validation for multi-field constraints would be less real-time than it could be.
Do you guys have any ideas on how I might do this?

Hi,
My suggestion would be to refactor the main type:
const startBeforeEnd = obj => {
  return obj.start.getTime() < obj.end.getTime()
}

const Range = t.refinement(t.struct({
  start: t.Date,
  end: t.Date
}), startBeforeEnd, 'Range')

// dates and name are now independent
const Timeline = t.struct({
  range: Range,
  name: t.String
})

const options = {
  fields: {
    range: {
      error: 'Invalid range'
    }
  }
}

const isRangeField = (path) => path.length === 2
const isRangeCompleted = (range) => range.start && range.end
const getRangeField = (path) => path[1]

const App = React.createClass({

  getInitialState() {
    return {
      value: {},
      range: {}
    }
  },

  onSubmit(evt) {
    evt.preventDefault()
    const v = this.refs.form.getValue()
    if (v) {
      console.log(v) // eslint-disable-line
    }
  },

  onChange(value, path) {
    const validation = this.refs.form.getComponent(path).validate()
    if (validation.isValid() && isRangeField(path)) {
      this.state.range[getRangeField(path)] = true
      if (isRangeCompleted(this.state.range)) {
        this.refs.form.getComponent(['range']).validate()
      }
    }
    this.setState({ value })
  },

  render() {
    return (
      <form onSubmit={this.onSubmit}>
        <t.form.Form
          ref="form"
          type={Timeline}
          options={options}
          value={this.state.value}
          onChange={this.onChange}
        />

          <button type="submit" className="btn btn-primary">Save</button>

      </form>
    )
  }

})

Note. If you don't like the additional "Range" legend:
const options = {
  fields: {
    range: {
      auto: 'none',
      error: 'Invalid range',
      fields: {
        start: { label: 'Start' },
        end: { label: 'End' }
      }
    }
  }
}

Closing for inactivity, please reopen if you need more help.


blog: A Simple Walkthrough of Kubernetes Pod Creation By Madhura Chaganty

Blog Metadata
Please provide the following information:

Title: A Simple Walkthrough of Kubernetes Pod Creation
Author: Madhura Chaganty
Position / Company: Engineering Manager @ Elliptic
Date: 3rd Dec 2024
Short description: Kubernetes (or K8s) has no shortage of resources and guides, yet diving into its complexities can still feel overwhelming, especially for beginners. This blog is my attempt at understanding and simplifying this crucial process of how a Pod, the fundamental unit of deployment in K8s, progresses from a simple YAML definition to a fully Running state in the cluster.
Google doc Link with the content: https://docs.google.com/document/d/1bUclrl46Dvd4gvZEVzCsmddcKA-YvG9K
Category: #kubernetes

Banner image
https://drive.google.com/drive/folders/1RwR-qGxTwyPjsnx9sY8mQLU31q3-iWC60fILKidnDIfBQ-CnFitdFoJP1HIufcI6j_lDQCXg
Notes
Please include the codes with code formatting
Is there other images you want to include the content? Please include their links here also.

Can I work on this?

Assigned @BusraEcemSakar thank you!🚀


BAPP-407: Fix copy in CB Verification card

[Polish] Fix copy in CB Verification card

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1


0.2pcb/0.3pcb/0.4pcb RPI Header may require on-board pull-up resistors

The I2C bus to pins 3 (RPH_G2_SDA) and 5 (RPH_G3_SCL) does not have on-board pull-up resistors but with Raspberry Pi HATs it is the responsibility of the controller SoC (Sonata FPGA) to provide bus termination when these pins are used as I2C rather than GPIO. Probing the Raspberry Pi 4 when driving the Sense HAT indicates the presence of pull ups, whilst no such resistors are present on the HATs themselves.
I2C pull-up resistors are typically 1.8k to 3.3k, and whilst the weak internal pull-ups of the FPGA pins may be enabled, these offer a resistance of between 10k and 37k (calculated from the Xilinx Artix-7 datasheet).
Experimentally, on one particular board enabling the internal pull-ups is sufficient to operate in Standard-mode (100kbit/s), but the SI starts to fall apart below Fast-mode (400kbit/s). (Aside: It does function with current I2C test software, but this may be only because the bit rate is actually around 290kbit/s with the current settings calculated by the software.)

With external pull-up resistors present (3.3k and 5.1k because they were to hand), operation up to Fast-mode Plus is possible (though, again this is a claimed 1Mbit/s, but actual measurements presently indicate 590kbit/s)

The two images above show Standard-mode operation (100kbit/s) and the longer rise time - although not especially marked - can be seen.

Resistors are now on the 0.6 PCB, 1.8K pull-ups. They are mounted somewhat "out of the way" to make it a little easier for someone to modify them:


lxd and docker group are not available to the user on first login

Mitigated by not installing everything upfront and forcing the user to launch the "reset_juju" script at the beginning. See c0c01b99dfcc4e2999206838ca60869f2c5b8137


comments on expenses double posting

Sometimes comments on expenses get double posted.
Examples:

https://opencollective.com/thelounge/expenses/3174
https://opencollective.com/thelounge/expenses/2984
https://opencollective.com/thelounge/expenses/2981

adding a bug label since this is still the case.


feat: add solana gas fees endpoint

closes #1042
Description
Simply add the gas fee endpoint supporting the parameters message
as getFeeForMessage supports a Message param, it feels simpler to support the base64 of the message so we don't even have to build the full tx to estimate fees but only compose instructions and send them through this endpoint
We could also send the full base64 tx and decode the message part but why would we build the full TX to estimate gas fees while we can do it earlier? We can discuss about it if needed
We don't have a notion of slow, medium, fast gas fees, getFeeForMessage returns the best fees for the TX to be executed as fast as possible regarding the history of priority fees of the last TXs
Screenshots
Small test using a basic send TX:

Overall looks sounds, just updates to vernacular and suggestion to use VersionedMessage.
We can update in the future to add rawTx as a possible param to estimate (simulate) from the raw unsigned tx depending on the most ergonomic usage in web.


Add support for monitoring ingress events.

Added support for monitoring ingress events.

Looks like the merge conflict is because there's no a switch statement in use.
Is this something you want me to fix on my branch? (can do)

I think this is good now - let me know if there's issues - thanks again.

LGTM

I do belive that the RBAC has been forgotten in that PR, my kubewatch doesn't have the rights to watch the ingresses, even when created with rbac.create=true.
I don't know if it's a good idea to discuss this here, I can create an issue if needed.


formal API documentation

[x] detailed & complete docstrings for all top-level namespace funcs?

tracked in #20
need #110
others?

[ ] docs/{conf.py, *.rst}
[ ] Read the Docs?

check out foliums doc style
@martinfleis says to maybe base on books theme?

This is the theme - https://github.com/executablebooks/sphinx-book-theme. I am using it for Xvec among other. No clue how to do the version switcher with that one, folium is using pydata theme which has it included. Let's start with the basics without it and we can re-iterate later. The GHA could be possibly based on those we have in PySAL? Or check the one in folium. That one is neat.


Only inject macro-introduced operators into module scope

Well, this is fun. Due to the use of the module-scope lookup table to
find operators, we need to carefully filter out any macro-introduced
declarations that aren't operators when forming the module-scope
lookup table. Otherwise, we can find macro-introduced static entities
within types... from completely unrelated scopes.
Fixes rdar://109219036.

@swift-ci please smoke test

@swift-ci please smoke test


The 1.3 version is not on the Packagist

@rigor789 Could you publish the latest version on the Packagist?

@HOFFMACHINE I thought that would happen automatically after tagging a version - I guess not.
Should be published now!

@rigor789 Thank you!


fix(toggleButtonGroup): color and border don't overflow now

By adding box-sizing: border-box; the component gets the correct behavior. Fixes #91
Current look:

tested with yarn link

I just realized this is due to us not setting box-sizing: border-box;.

Added


Update parameterized tests

Pull Request
🤨 Rationale
This PR addresses the first part of #1551. It migrates tests in nimble-components to the parameterizeNamedList utility and deletes the deprecated getSpecTypeByNamedList.
To complete #1551, parameterizeNamedList needs to be exported and used from nimble-angular, but this will be tackled in a separate PR.
👩💻 Implementation

Use parameterizeNamedList in the places where getSpecTypeByNamedList had been used (plus a few more places that weren't using either)
Delete getSpecTypeByNamedList

🧪 Testing
Ran unit tests
✅ Checklist

[ ] I have updated the project documentation to reflect my changes or determined no changes are needed.

@atmgrifter00, will you buddy this PR for me?


Pass event down to onChange

Main reason I want to do this is to render a set of custom html elements rather than simple strings. Passing evt up lets me avoid a bunch of string parsing and instead just process the html element (just found out about data-id :)
Useful for desynchronized groups where you can add items to one group but cannot add items to the other; adding to the other removes from the second list
/cc @cheton

Thank you for your pull request. It looks good to me. I'll publish a release soon.
However, there are too many parameters in the onChange method, I'd try to refactor this part in  the next major release.

Sounds good, I'm not sure if passing the sortable instance is really
necessary?
On Mon, Jul 18, 2016 at 11:25 AM, Cheton Wu<EMAIL_ADDRESS>wrote:

Thank you for your pull request. It looks good to me. I'll publish a
release soon.
However, there are too many parameters in the onChange method, I'd try to
refactor this part in the next major release.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cheton/react-sortable/pull/20#issuecomment-233362496,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADUIENZ6xgJ_Hi9n4O38nj2Wg5Pv0A6tks5qW5rvgaJpZM4JOweM
.

It's not necessary when using ref to store the sortable instance. I will plan to remove it as well.


SyntaxError: Cannot use import statement outside a module

Steps to reproduce
Install into feathers v4 app using js.
server/node_modules/feathers-authentication-management/dist/index.js:1
import setup from './setupAuthManagement';
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at Object.compileFunction (node:vm:352:18)
    at wrapSafe (node:internal/modules/cjs/loader:1027:15)
    at Module._compile (node:internal/modules/cjs/loader:1063:27)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:999:19)
    at require (node:internal/modules/cjs/helpers:102:18)
    at Module._compile (node:internal/modules/cjs/loader:1099:14)

Node.js v17.9.1

[ ] Tell us what broke. The more detailed the better.
[ ] Include the feathers-gen-specs.json file from your app.
[ ] Include the src/services/[serviceName]/[serviceName].schema.?s files if the issue involves the fields in one or more services.

These last 2 items usually allow us to regen enough of your app to recreate the issue.
We may otherwise ask you to provide a minimal GitHub repo or gist isolating the issue.
Expected behavior
Tell us what should happen
Actual behavior
Tell us what happens instead
System configuration
Tell us about the applicable parts of your setup.
Module versions (especially the part that's not working):
NodeJS version:
Operating System:
Browser Version:
React Native Version:
Module Loader:

What module version are you using v3 or v4 ? Usually this error is linked to the fact you are trying to import an ES module into a CommonJS module. You might have to set the type property to module in your package.json file if you are working with ES modules. Maybe it is related to typescript so that the code is not correctly transpiled. However I will not be able to help on that, @fratzinger might help ?

I'll publish a commonJS version of the package 👍

As far as I can see @fratzinger I have feathers-authentication-management v4 installed in my project and in the dist folder it seems js files are correctly transpiled, no import but require instead.

I ran into the same error today using ts-jest:
    Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

    By default "node_modules" folder is ignored by transformers.

    Here's what you can do:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
     • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/configuration
    For information about custom transformations, see:
    https://jestjs.io/docs/code-transformation

    Details:

    /Users/steven/Documents/github/b2b-backend/node_modules/feathers-authentication-management/src/index.ts:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import setup from './setupAuthManagement';
                                                                                ^^^^^^

    SyntaxError: Cannot use import statement outside a module

    > 1 | import {
        | ^
      2 |   AuthenticationManagementService
      3 | } from 'feathers-authentication-management';
      4 |

      at Runtime.createScriptFromCode (../../../.nvm/versions/node/v16.17.0/lib/node_modules/jest/node_modules/jest-runtime/build/index.js:1678:14)
      at Object.<anonymous> (src/services/auth-management/auth-management.class.ts:1:1)
      at Object.<anonymous> (src/services/auth-management/auth-management.service.ts:4:1)
      at Object.<anonymous> (src/services/index.ts:4:1)
      at Object.<anonymous> (src/app.ts:16:1)
      at Object.<anonymous> (test/services/users.test.ts:1:1)

But I'm really not sure why I'm having this issue as other feathers packages writtenin TS import just fine.

@sedouard What is strange is that your error is referencing the src folder instead of the dist folder.

Oh sorry! I did forget I messed with the feathers-authentication-management package.json file's main key. The error is the same though but instead points to dist/index.js:
    Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

    By default "node_modules" folder is ignored by transformers.

    Here's what you can do:
     • If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
     • If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
     • To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     • If you need a custom transformation specify a "transform" option in your config.
     • If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/configuration
    For information about custom transformations, see:
    https://jestjs.io/docs/code-transformation

    Details:

    /Users/steven/Documents/github/b2b-backend/node_modules/feathers-authentication-management/dist/index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){import setup from './setupAuthManagement';
                                                                                ^^^^^^

    SyntaxError: Cannot use import statement outside a module

    > 1 | import {
        | ^
      2 |   AuthenticationManagementService
      3 | } from 'feathers-authentication-management';
      4 |

      at Runtime.createScriptFromCode (../../../.nvm/versions/node/v16.17.0/lib/node_modules/jest/node_modules/jest-runtime/build/index.js:1678:14)
      at Object.<anonymous> (src/services/auth-management/auth-management.class.ts:1:1)
      at Object.<anonymous> (src/services/auth-management/auth-management.service.ts:4:1)
      at Object.<anonymous> (src/services/index.ts:4:1)
      at Object.<anonymous> (src/app.ts:16:1)
      at Object.<anonymous> (test/services/users.test.ts:1:1)

I think it is because my tsconfig is expecting commonjs modules?:
{
  "compilerOptions": {
    "target": "es2018",
    "module": "commonjs",
    "outDir": "./out",
    "rootDir": "./src",
    "strict": true,
    "sourceMap": true,
    "esModuleInterop": true
  },
  "exclude": [
    "test"
  ]
}

So I think when @fratzinger publishes a commonjs module version it should just work 🤞

I confirmed when I make the change in this project's .tsconfig file:
steven@Stevens-MacBook-Pro feathers-authentication-management % git diff tsconfig.json
diff --git a/tsconfig.json b/tsconfig.json
index f17e16f..b0bc86a 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -5,6 +5,7 @@
     "outDir": "dist",
     "moduleResolution": "node",
     "target": "ES2015",
+    "module": "commonjs",
     "downlevelIteration": true,
     "sourceMap": false,
     "declaration": true,

Then I can successfully import this module into my project. Not sure what effects adding the module key to your tsconfig does for others, though. Happy to make a PR if you'd like.

I confirm that this is a problem and it's my fault.
I messed up in a commit for version 4.0.1: https://github.com/feathersjs-ecosystem/feathers-authentication-management/commit/f7e6ec345fcaf113a6c38a6436a4135749f69edc#diff-b55cdbef4907b7045f32cc5360d48d262cca5f94062e353089f189f4460039e0L7
I changed from target: "es5" to target: "ES2105", not knowing that it would change from cjs to esm. I did this because vitepress forced me to. I add module: "commonjs" now. If pipeline succeeds, I publish a fix. I'll let you know here, when there's a new version.

Released as version 4.0.2. Please try it out and let me know, if that fixes your problem.


docker pull  unknown blob

(base) root@ubuntu:~# docker pull ghcr.io/cubefs/cfs-csi-driver:<IP_ADDRESS>.1
<IP_ADDRESS>.1: Pulling from cubefs/cfs-csi-driver
a8c7037c15e9: Pulling fs layer
ee77564112b3: Pulling fs layer
c9a8edccd926: Pulling fs layer
8ad28c0cab2b: Pulling fs layer
e7f6b46a46e9: Pulling fs layer
3ae92f87a760: Pulling fs layer
6d4b6ceb8d2a: Pulling fs layer
dc9b4b510e80: Pulling fs layer
error pulling image configuration: download failed after attempts=1: unknown blob

It seems that something wrong happens to the image, I'll rebuild it.

It's ok now.


Video Uploads stuck in Pending Processing

New install on a GoDaddy shared hosting acct.  I know not the best way to go.
I did a clean install of 7.2 mainly for the updated FFMPEG.EXE.  So I did a test video upload to 2 different albums, 2 different videos (2 different codec types (wmv, mp4)), and both are stuck in pending.  I tried forcing Cron.php, and no go.. Not even an email from the cron system.  with 7.1.6, I got an email, and it did process the videos.  Albeit, not entirely all videos, thus the reason for going to 7.2. Now it wont process any.
Bug?
Steve

Not a bug, likely a setup or install issue. Please open a thread for this: http://www.boonex.com/forums/

Ok.  Just so ya know... Im not a complete duffer when it comes to installing, setting up, configuring, and using Dolphin.  But I'll play devils advocate and give you the benefit of the doubt and redo the whole darn install.  Again. This time, lets use the top listed hosting on Boonex's own site.  HostForWeb.com.  Ive used them before, and they are great.  Love Cpanel, and a whole other list of options they provide.  Again, using shared hosting, but I have a dedicated IP.  WooHoo.  But, always a but, they don't have a way to stop and restart web services, so I can use my own PHP.ini (PHP5.ini) files.  Hmm.. So I had to have them up a couple PHP memory and max settings right off the bat.
Im on a tangent, I apologize.
To the point, Dolphin 7.2 setup again.  Test upload under the Administrator account another video.  Its a .wmv file that is 17 minutes long.  and lo and behold, it is stuck in Pending Processing.  Now, Thank you for the link to look at some "hints" as to what might be causing this, but to no avail has any of those hints actually shed any light as to the problem.
Question, now could this be a bug?

I'm not questioning your intelligence or anything. I've messed up installs before, and I do probably 10-20 a week. Heck, one time I downloaded a copy directly from BoonEx, and it was bad. But from what I've tested and used, video uploads work fine on 7.2, so this is more likely a setup or some other issue that needs to be troubleshooted.
But if you don't want to post to the forums, that's fine. Did you setup the cron job? If so, make sure to check the cron job notification email, and see if there are any messages about FFmpeg. If so, post them here. If a video is stuck in processing, it means the cron job is either not setup or can't process the video for some reason (e.g., it's hitting the memory_limit, or some other PHP limit).

My sincerest apologies.  It finally worked.  No changes were made to the settings..  It just took a half hour to publish.  This has been a little frustrating.  I had hoped that I could use the latest ffmpeg in 7.1.6, but decided to go to 7.2 since it had a more recent version. So Ive been rebuilding.
I consider this case closed.  However, should it take so long?

This is shared? There's probably some kind of resource limiting going on, which is throttling and thus slowing down the processing. This is unavoidable, but some hosts have higher limits than others. Also, with the HTML5 module, Dolphin converts the file into additional formats, which means you need to multiply the time it takes to convert one file. If you'll be uploading a lot of videos, especially of higher file sizes, a dedicated server is better if you need them uploaded and processed quickly.
Just to be sure, I also tested a WMV and MP4 file, and both processed successfully.


No test data yet, cannot run the baseline codes

In the parameter.py, we could find that multinli_0.9_test_matched_unlabeled.jsonl and multinli_0.9_test_mismatched_unlabeled.jsonl are set but we are not yet able to get the data.
So for the current stage, is there any quick fix that we could begin to play around with these codes?
Thanks

Seems fixed by the latest commit. Thanks
Closing the issue now.


Fix 9604 release 1.0

This PR creates a new chart for CRDs. The CRDs can either be helm templated, or manually applied via kubectl. This should work for the helm upgrade case and will definitely work for helm template in upgrade modes.
This PR enforces a two-step workflow across all releases independent of the installation model. One tradeoff is that helm template no longer generates one manifest from the istio.yaml chart.
This PR is untested as it is blocked on https://github.com/istio/istio/issues/9845
Cheers
-steve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: sdake
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS [sdake]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Stono offered the inspiration for this change (Thanks @Stono!).  Pretty simple and straightforward and not dependent on newer features of Helm which may not work particularly well.  Upgrade impact will need to be evaluated once the blocking issue with the main charts are resolved in the istio-1.0 branch.  I'll sort out the implementation for 1.1 as well - a simple forward port isn't all that viable.
Cheers
-steve

I think the consensus is to not touch 1.0 install - and fix things in 1.1.
Closing this PR.


Introduce 'requires'

This introduces the notion of a 'required' package:

Required packages must be present in any complete solution returned by the solver.
Requiring a package that is a logical child of the project root is not an error, but it is a no-op.
Requiring and ignoring the same package from a manifest is an error.

This is a root-only capability: listing required packages is, thus, a RootManifest method.

[x] Base type updates - interface and structs
[x] Set of bimodal tests
[x] Prepare() validation tests
[x] Add/update fail types as needed
[x] New logic in the solver itself
[ ] Docs

Addresses #42

Current coverage is 76.71% (diff: 47.36%)

Merging #114 into master will decrease coverage by 0.08%

@@             master       #114   diff @@
==========================================
  Files            23         23
  Lines          3400       3418    +18
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           2611       2622    +11
- Misses          599        605     +6
- Partials        190        191     +1

Powered by Codecov. Last update 71648f3...b6f7c44

This doesn't introduce any new failure types, or change any of the existing ones. That means we're leaving it on the tool to figure out if a given package-related failure is due to a real import, or a require.
This is fine for now, though in the future if we end up wanting to do any kind of lineage tracking, we might need more.


Remove old code related to FAKE

Hello @Krzysztof-Cieslak
When re-basing my PR #1733 on master I found this code that seems to be unused.
I think this is related to FAKE Targets Outline, which was removed in one of your recent commits.
Sending this change as a separate PR to make it easier to check

Thanks!


Migrate packages.config to PackageReference

Migrated all packages.config to PackageReference
Migrated Mapsui.Samples.Forms.Shared to .Net Standard 2.0 Project

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

The reason i made this pull request is that currently in the project there is a mixture of packages.config und projectreferences
The reason I Migrated Mapsui.Samples.Forms.Shared  to .Net Standard 2.0 Project is that

Mapsui.samples.Forms.WPF wouldn't compile with the shared project (Very strange errors).
Best Practice with Xamarin.Forms is now a .Standard 2.0 project instead of a shared project (All Default templates use now a
.NET a Standard Project instead of a Shared project).

The Consolidate checkin I made because in Mapsui.Samples.iOS.csproj old versions of Brutile.mbtiles and skiaSharp.views where used.

The migration was done with right click on packages.config migrate to ProjectReferences.

When this gets in I plan to make a Pull Request for migrating
from SkiaSharp.Svg to Svg.Skia (Because skiasharp.svg is still based on skia 1.60 and development stopped) and Svg.Skia is the successor.

Ah, loos good!
The svg migration is also very welcome. The situation with the older skiasharp dependency has to be resolved.
Only for the MapControl a shared project should be used. I saw there is another shared project that could be netstandard (Do not have the project open right now).
I see app.configs with bindingredirects are added. Are they really necessary?

I'll check if the binding redirects are needed probably needed only for the WPF Project (on .NET Framework).

I plan to make a Pull Request for migrating
from SkiaSharp.Svg to Svg.Skia SkiaSharp.Svg is still based on skia 1.60 and development stopped) and Svg.Skia is the successor.

Yes please :heart:, I just tripped over that https://github.com/mono/SkiaSharp.Extended/issues/91

So all binding redirects are removed because before it worked too without them.
So in my opinion this task is done.
As a side note I tried locally tried to migrate to svg.skia and the migration went pretty smooth (All SVG symbols worked)
I have to make a side by side comparison.
But this will be a different pull request (I don't want to do to much in one pull request)

As a side note I tried locally to migrate to svg.skia and the migration went pretty smooth (All SVG symbols worked)
I have to make a side by side comparison to see if everything looks the same (dimensions).
But this will be a different pull request (I don't want to do to much in one pull request)

A yes, please keep the PR small like this.
btw, merging can go fast but sometimes can take much longer. This time because of holidays but there can be all sorts of other reasons. That is just how it is.

@inforithmics btw, I you work on svg I would appreciate it if you add a unit test for this. Mapsui does not have a lot of tests at the moment, so I am asking more from you than from myself, but I intend to get the test coverage up. Perhaps you can use the rendering tests described here:
https://mapsui.com/documentation/rendering-tests.html
They are more like regression tests than proper unit tests but they helped me avoiding a lot of bugs. Rendering is hard to unit test, the setup of these tests help with that. Basically it compares images but some tolerance is allowed.

Hi folks! Thanks for using SkiaSharp.SVG when it first came out. I know it has been a rocky run, especially with me not actually maintaining it.
However, due to SVG being huge and I am not able to implement all the features - as well as a very good replacement library now existing, I am officially deprecating SkiaSharp.SVG.
As @dedmen states https://github.com/wieslawsoltes/Svg.Skia is a much better, more complete implementation.
Thanks for your support all this time, Mapsui is a really great library and to see it using SkiaSharp has always been awesome for me.


Section title color method

can i change section title color as programmatical way ? not from style
i cannot found method for changing sectionTextColor()
please help @neokree  :)

yes.
you can change the title text color. be whit me.
goto style.XML and inside branch

I know if change it from style , i ask for change text color in java code @amirhanifeh


[CloudAsset] Update client library version to use v1 endpoint.

The failure was GoogleCloudSamples.VideoIntelligence.AnalyzeTests.TestTextDetectionGcs, seems not relevant to my change.


[V5] When brush-select clearing the state, the original state of the element is not retained

Describe the bug / 问题描述

I think it is only necessary to clear the state set by "brush-select".
https://github.com/antvis/G6/blob/ab97b6a84c9b1ac7f599e34568714376278583f0/packages/g6/src/behaviors/brush-select.ts#L212
Reproduction link / 重现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤

Enable brush-select
Click canvas
All element states will be clear

G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
macOS, Windows
Browser / 浏览器
Chrome, Edge, Others / 其他
Additional context / 补充说明
No response

我们会尽快调整，只清除 brush-select 生成的状态

We're sorry that this is a known issue and we'll fix it soon.

@Aarebecca @yvonneyx
Any updates on this issue?


Added good experiment table books - Maybe soon-ish

Problem is, that the book stats is not in some hidden data, but only in the lore

Todo: serum, maybe ogher Rng Drops?

why don't you just use the average price

Wdym average price

Well instead of listing the valuable items, you can just get the price of the item and see if it's above a threshold

So I would have to translate the from the ore to the item, and then check its lb

The item in the table is not a normal enchanted book

Its just some book item with lore on what enchant the book has, no special attriutes hidden

Here, this is the nbt data of a enchanted book in the experiment table:
{
id: "minecraft:glowstone",
Count: 2b,
tag: {
overrideMeta: 1b,
display: {
Lore: ["§8Item Reward", "", "§9Chance II", "§7Increases the chance of a", "§7Monster dropping an item by", "§7§a30%§7."],
Name: "§fEnchanted Book"
},
AttributeModifiers: []
},
Damage: 0s
}
This is the lore of a real enchanted book:
{
id: "minecraft:enchanted_book",
Count: 1b,
tag: {
ench: [],
HideFlags: 254,
display: {
Lore: ["§9Rejuvenate V", "§7Grants §c+10❣ Health Regen§7.", "", "§7§7Apply Cost: §350 Exp Levels", "", "§7Applicable on: §9Armor", "§7Use this on an item in an Anvil", "§7to apply it!", "", "§a§lUNCOMMON"],
Name: "§aEnchanted Book"
},
ExtraAttributes: {
id: "ENCHANTED_BOOK",
enchantments: {
rejuvenate: 5
},
uuid: "57897b56-fbc6-4132-9329-57e33900c47d",
timestamp: "10/12/23 12:28 PM"
}
},
Damage: 0s
}
The table "book" is missing the extra attribute which basically says what kind of enchant it is,
thats why need to filter the item lore and compare it with this list

You can take first line of the book and look it up with SkyblockDataManager (theres a name to id map)

Sounds fancy


cli: give better hint what to put for --locale

Currently the help text reads "Use a specific locale, "pseudo" can be used to test localization."
I doubt that a user wants to know about "pseudo", instead I would give a concrete example how to put a language in there (e.g. what is the format).
@dbaeumer I suggest to do this for GA since people might want to tweak this.

In: https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/electron-main/cli.ts#L39

Agree.


Implement Sign a message plain text

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
MassaStation version
The version of MassaStation the bug is present in.
Desktop (please complete the following information):

OS: [e.g. MacOS, Windows...]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

how to q/a this? just all 'sign a message' windows when they are merged? @B-Naoufal


Add Structurizr Mini to community rendering tools

I've been poking away at a stripped back diagram renderer/explorer built on top of structurizr/ui, for those who want "real" Structurizr diagrams, with a few UI niceties thrown in, hosted on a static site.
I hope others find this useful.

Thanks for building the tooling ... I added Mini last week when I came across it. :-)
https://github.com/structurizr/structurizr.github.io/commit/2c98688968c390ac80f4eab7bbfc13d737c03fa4


Graph archetype

Most of the computations in robotics are expressed in the form of computational graphs. Whether you use ROS, ROS 2 or alternative frameworks, this seems to be the general consensus.

(an arbitrary ROS graph)
Besides their use for dev-purposes, these graphs are a fundamental tool when visualizing a robot's architecture. Most ROS-related graph representations are lacking. There's an interesting opportunity to get this right within rerun. That would make it much more useful for roboticists.

Thanks @vmayoral!

There's an interesting opportunity to get this right within rerun.

could you expand on this? Sounds very interesting!

Hey @nikolausWest,
I'll try to expand on both the motivation and on the technical approach, sure:

Motivation-wise: (As I believe you folks know already) Robots are networks of networks, with sensors capturing data, passing to compute technologies, and then on to actuators and back again in a deterministic manner. These networks can be understood as the nervous system of the robot, passing across compute Nodes, that represent neurons. Like the human nervous systems, real-time information across all these computational Nodes is fundamental for the robot to behave coherently. "Robot brains" are built with this same philosophy. Behaviors take the form of computational graphs, with data flowing between Nodes, across physical networks (communication buses) and while mapping to underlying sensors, compute technologies and actuators. Frameworks like ROS enables you to build these computational graphs and create robot behaviors by providing libraries, a communication infrastructure, drivers and tools to put it all together. Alternatives to ROS also bet into this graph-like concepts. In a way, robot behaviors derive from the dataflow across these graphs, thereby getting a good representation of such (computational) graphs is fundamental for robot visualization.
Technically (getting this right[^1]): Let me start by telling you what works with limitations and what doesn't, and then throw a few suggestions.

Most of us still rely on rqt_graph for (robot) graph visualization. This tool hasn't evolved alongside modern software concepts in robotics (aspects such as ROS Components as opposed to Nodes (or Nodelets) aren't depicted). There're plenty of limitations on this regard. You still can't easily properly represent other-than-pub/sub relationships into these graphs, for example client-server interactions such as ROS services.
Web-based alternatives to rqt_graph that I know are very lacking. For example Foxglove's Topic Graph is useless, probably resulting from a lack of understanding of the criticality of these graphs for demonstrating/showcasing/building/repairing/improving/debuging robots. There're other web-based robot graph visualizations that have been prototyped, but they simply lack the simplicity, (programming) usability, easy of customization and responsiveness that you folks at rerun seem to be taking at your core.
Suggestions:

Graphs should be simple to visualize, responsive and easy to custom programatically.
It should be possible to represent basic pub/sub interactions between nodes in the graph as well as other communication paradigms, capturing abstractions like ROS services or actions.
Ease of graph customization is key for succeeding in my opinion. Modern/custom aspects such as depicting subgroups within the graph to capture Components vs Nodes, or inter-network vs intra-network communications within a robotic system come to mind as relevantly unmet.
There's a huge opportunity in rerun to make use of  theSelectionPanel to further augment information by selecting a node in the graph. This information could/should bet set programatically within each graph node, and could be extracted/relied from data-frameworks like ROS. Things like frequency of interactions, bandwidth, latencies (max/mean/min), etc would be tremendously useful if used together with your already existing ploting capabilities (e.g. TimeSeriesView).

[^1]: I can only throw a few initial ideas on the getting right topic, as "getting it right" would likely require iterations and feedback for its achievement

@vmayoral: we're considering giving this a go soon. Would you be willing to feedback on some early designs / requirements to help us make sure we actually get it right?

I've written down a proposal for extending the data model to handle graphs here: https://github.com/rerun-io/rerun/issues/7431. This could be a first step to implement the use cases that @vmayoral describes here.

With #7500 the graph primitives have landed in Rerun. The next steps are working laying out these graphs, so that they can also be used to visualize ROS node/topic graphs.


About registrator use --net = host mode  questions

I have some question that when i use --net=host for docker run registrator. I get services ip is <IP_ADDRESS> from consul.  Thx.
some results:
curl "<IP_ADDRESS>:8500/v1/catalog/service/redis" | jq .
[
  {
    "ServicePort": 49153,
    "ServiceAddress": "<IP_ADDRESS>",
    "ServiceTags": null,
    "ServiceName": "redis",
    "ServiceID": "sky:redis_1:6379",
    "Address": "<IP_ADDRESS>",
    "Node": "sky"
  },
  {
    "ServicePort": 83,
    "ServiceAddress": "<IP_ADDRESS>",
    "ServiceTags": null,
    "ServiceName": "redis",
    "ServiceID": "sky:redis_2:80",
    "Address": "<IP_ADDRESS>",
    "Node": "sky"
  }
]

registrator image from:  gliderlabs/registrator:latest
consul image from: gliderlabs/consul-server

same issue here, with consul backend. I get <IP_ADDRESS> even when specifying --net host.
Should i try a previous version ?
Anyway to get troubleshootings logs for local ip discovery ?

Ditto

related to https://github.com/gliderlabs/registrator/issues/185?

Did someone found the solution to this ?

@MBuffenoir  Because useing --net=host and registrator default flag -internal=0（it's will register service ip is  'registrator' host ip adds to consul or etcd）, and you can use  -internal=1.

OK my mistake I was placing the -internal argument after the consul: argument and it was not interpreted correctly. All functionning properly now.

https://github.com/gliderlabs/registrator/issues/320


Web interface

It will support all output in a web interface?

Please review the guidelines for contributing to this repository.

https://github.com/JustArchi/ArchiSteamFarm/blob/master/CONTRIBUTING.md


Playback controls for transcoded files

This issue is about playback controls (play/pause, seeking) for files that are transcoded "on the fly" with ffmpeg. Currently playback controls do not work due to technical limitations. This continues the conversation from xat/chromecast-scanner#2 and xat/castnow#45.

I'm not sure using ffmpeg's -ss option will work. When Chromecast sends an range request it's asking for a specific byte range of the original file. Using the -ss option doesn't output byte range of the original file, it creates a new file with a different byte stream entirely. It may be possible to get it to work by fudging the bytes somehow (e.g., skipping forward some bytes to skip the headers/metadata of the ffmpeg -ss output), but if my understanding is correct it will be brittle.
Another thought I've had is to write the output of ffmpeg to a temp file and then serve range requests against that temp file. The problem here is that you can only seek forward as far as ffmpeg has already decoded.
That said, the -ss option should work well for the castnow --seek option.

Tempfile also was also my initial thought on this topic. Although it's not so "cool" like an on-the-fly thing, but if it does the job, why not :)
I think nowadays most videos are either .mkv or .mp4. And I guess that in most cases only the audio stream needs to be converted... which means that the whole tempfile will get created really fast.

I just did some testing with a temp-file. To stream from that temp-file (while it is getting created) to the HTTP response I used this module: https://github.com/jasontbradshaw/tailing-stream
The problem is that you cannot resume playback anymore as soon you hit "pause" once. So it's the same  problem like with the live transcoding we have at the moment.

Just noticed that the play/pause problem also occurs after the file is fully transcoded.

Interesting, setting output FPS to 25 will make play/pause work the first 10 seconds.
    ffmpeg(input)
      .videoCodec('libx264')
      .format('mp4')
      .fps(25)
      .outputOptions([
        '-movflags frag_keyframe+faststart',
        '-strict experimental'
      ])
      .pipe(output);

I got it to work using HLS (HTTP Live Streaming). Created a proof of concept demo repo over here: https://github.com/xat/hls-chromecast-demo

That's awesome! Are there any drawbacks to using HLS?
I've been trying to experiment with the temp file approach, but haven't had much luck or time. I had an issue getting Chromecast to send range requests in response to my ff/rw commands. I disabled options.disableSeek = true, but it seems like Chromecast just ignores the commands and doesn't send a new http range request at all. This was only happening when using plugins/transcode.js to serve the file - plugins/localfile.js received new http range requests in response to ff/rw commands just fine. I thought it may have to do with the headers sent by serve-mp4.js, but I replicated those in plugins/transcode.js and still no luck. Any ideas?

Sometimes the video lagged/stocked while transcoding it with HLS. I think I have to play around with the ffmpeg parameters. But that was the only drawback I experienced until now using HLS.
options.disableSeek is pure castnow internal option. Chromecast does not process that option. I think that we won't get seeking to work without an other approach like HLS. I also ran some tests last sunday where I just displayed the output of ffmpeg in an -tag on my local machine. But even in that simplified case seek/pause/play didn't work properly.


QUESTION: Radiograph

Is this a real app (Radiograph, the one in README)? I liked to get it.
https://raw.githubusercontent.com/lepoco/wpfui/main/.github/assets/screen-6.png

Yes, this is a real app
https://www.microsoft.com/en-us/p/radiograph/9nh1p86h06cg?activetab=pivot:overviewtab

Nice, thanks!


A request to the Telegram API was unsuccessful. Error code: 404. Description: Not Found

(Telegram-Airdrop-Bot) MacBook-Air:Telegram-Airdrop-Bot azeemsaim$ python main.py
Database tables created.
Traceback (most recent call last):
File "/Users/azeemsaim/Telegram-Airdrop-Bot/main.py", line 409, in
bot.remove_webhook()
File "/Users/azeemsaim/Telegram-Airdrop-Bot/lib/python3.9/site-packages/telebot/init.py", line 377, in remove_webhook
return self.set_webhook()  # No params resets webhook
File "/Users/azeemsaim/Telegram-Airdrop-Bot/lib/python3.9/site-packages/telebot/init.py", line 352, in set_webhook
return apihelper.set_webhook(self.token, url, certificate, max_connections, allowed_updates, ip_address,
File "/Users/azeemsaim/Telegram-Airdrop-Bot/lib/python3.9/site-packages/telebot/apihelper.py", line 295, in set_webhook
return _make_request(token, method_url, params=payload, files=files)
File "/Users/azeemsaim/Telegram-Airdrop-Bot/lib/python3.9/site-packages/telebot/apihelper.py", line 158, in _make_request
json_result = _check_result(method_name, result)
File "/Users/azeemsaim/Telegram-Airdrop-Bot/lib/python3.9/site-packages/telebot/apihelper.py", line 185, in _check_result
raise ApiTelegramException(method_name, result, result_json)
telebot.apihelper.ApiTelegramException: A request to the Telegram API was unsuccessful. Error code: 404. Description: Not Found
(Telegram-Airdrop-Bot) MacBook-Air:Telegram-Airdrop-Bot azeemsaim$ python main.py
Traceback (most recent call last):
File "/Users/azeemsaim/Telegram-Airdrop-Bot/main.py", line 409, in
bot.remove_webhook()
File "/Users/azeemsaim/Telegram-Airdrop-Bot/lib/python3.9/site-packages/telebot/init.py", line 377, in remove_webhook
return self.set_webhook()  # No params resets webhook
File "/Users/azeemsaim/Telegram-Airdrop-Bot/lib/python3.9/site-packages/telebot/init.py", line 352, in set_webhook
return apihelper.set_webhook(self.token, url, certificate, max_connections, allowed_updates, ip_address,
File "/Users/azeemsaim/Telegram-Airdrop-Bot/lib/python3.9/site-packages/telebot/apihelper.py", line 295, in set_webhook
return _make_request(token, method_url, params=payload, files=files)
File "/Users/azeemsaim/Telegram-Airdrop-Bot/lib/python3.9/site-packages/telebot/apihelper.py", line 158, in _make_request
json_result = _check_result(method_name, result)
File "/Users/azeemsaim/Telegram-Airdrop-Bot/lib/python3.9/site-packages/telebot/apihelper.py", line 185, in _check_result
raise ApiTelegramException(method_name, result, result_json)
telebot.apihelper.ApiTelegramException: A request to the Telegram API was unsuccessful. Error code: 404. Description: Not Found
(Telegram-Airdrop-Bot) MacBook-Air:Telegram-Airdrop-Bot azeemsaim$

Same problem 💔 , if you could fix it , post the way please

Sorry for the delay. I’ll look into that and update you guys soon.


Synchronize file headers

I mentioned a while back that I would champion ObjectTK when the time came. We're still a ways away from any major re-implementation, but for now, I'll do some small PRs to bring the code style up to snuff. This will synchronize all the file headers, and also update the gitignore to ignore Rider-specific files.
Closes #4

@Perksey Ready for review.


General Grievance: Watch walmartgiftcardbalance.mydurable.com

General Grievance requests the watch of the watch_keyword walmartgiftcardbalance\.mydurable\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

walmartgiftcardbalance\.mydurable\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


Fix camera display overlay

Related with this issue https://github.com/ros2/rviz/issues/1148
backport this to iron

Linux
Linux-aarch64
Windows

https://github.com/Mergifyio backport iron


attest-build-provenance

Sign tarball and deb with the new GitHub feature.
I didn't sign my private builds before, now I can. Neat.

This works, but the gh attestation behaviour is weird: https://github.com/cli/cli/issues/9045
I'm not going to use it yet.


Ensure that the SDK returns meaningful error codes upon Pairing and connection

The SDK should return meaningful errors upon specific errors on the Astarte wire. Currently, a generic ASTARTE_ERR is returned, but more details should be given when possible (e.g.: something like ASTARTE_BAD_CREDENTIALS when pairing doesn't succeed with a 401/403)

Closed by https://github.com/astarte-platform/astarte-device-sdk-esp32/pull/30


Add 'triangle' or 'carat' for fermata

From andrew.hankinson on September 10, 2014 18:04:27
The @-shape on <fermata /> is missing a value for a "short pause," or triangle-shaped fermata. This should be added.
Original issue: http://code.google.com/p/music-encoding/issues/detail?id=203

From<EMAIL_ADDRESS>on September 10, 2014 15:37:57
There's an "angular" value that represents a triangle above or below the dot.  Is that not what you're asking for?

From andrew.hankinson on September 10, 2014 15:40:36
I'm looking at @-shape on <fermata /> and not seeing it there (MEI 2013 Guidelines). All I see is 'curved' or 'square.'
Am I missing something?

From andrew.hankinson on September 10, 2014 15:42:21
Ah! I see it's been added now.

From<EMAIL_ADDRESS>on September 11, 2014 07:30:35
Remember that the 2013 Guidelines represent a particular point in time in MEI's development.  The latest (and sometimes greatest) version is always in /trunk.  Even there it's difficult to keep the Guidelines in sync with the ODD.  I make more of an effort to keep the RNG schemas in sync with the ODD, but they sometimes lag behind a bit too.

From andrew.hankinson on September 11, 2014 09:54:51
I know that, but it's easier to read the documentation than troll through the schema, so I missed it.

From andrew.hankinson on September 12, 2014 03:26:18
Closing since it's already implemented.
Status: Invalid


Getting ValueError when fitting model

I'm getting the following error:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-13-23f3b9353ae8> in <module>
      3
      4 est=XGBClassifier()
----> 5 est.fit(X_train, y_train)

~/anaconda3/lib/python3.7/site-packages/dask_xgboost/core.py in fit(self, X, y, classes, eval_set, sample_weight_eval_set, eval_metric, early_stopping_rounds)
    515             missing=self.missing,
    516             n_jobs=self.n_jobs,
--> 517             early_stopping_rounds=early_stopping_rounds,
    518         )
    519

~/anaconda3/lib/python3.7/site-packages/dask_xgboost/core.py in train(client, params, data, labels, dmatrix_kwargs, **kwargs)
    240     """
    241     return client.sync(
--> 242         _train, client, params, data, labels, dmatrix_kwargs, **kwargs
    243     )
    244

~/anaconda3/lib/python3.7/site-packages/distributed/client.py in sync(self, func, asynchronous, callback_timeout, *args, **kwargs)
    754         else:
    755             return sync(
--> 756                 self.loop, func, *args, callback_timeout=callback_timeout, **kwargs
    757             )
    758

~/anaconda3/lib/python3.7/site-packages/distributed/utils.py in sync(loop, func, callback_timeout, *args, **kwargs)
    331     if error[0]:
    332         typ, exc, tb = error[0]
--> 333         raise exc.with_traceback(tb)
    334     else:
    335         return result[0]

~/anaconda3/lib/python3.7/site-packages/distributed/utils.py in f()
    315             if callback_timeout is not None:
    316                 future = gen.with_timeout(timedelta(seconds=callback_timeout), future)
--> 317             result[0] = yield future
    318         except Exception as exc:
    319             error[0] = sys.exc_info()

~/anaconda3/lib/python3.7/site-packages/tornado/gen.py in run(self)
    733
    734                     try:
--> 735                         value = future.result()
    736                     except Exception:
    737                         exc_info = sys.exc_info()

~/anaconda3/lib/python3.7/site-packages/tornado/gen.py in run(self)
    746                             exc_info = None
    747                     else:
--> 748                         yielded = self.gen.send(value)
    749
    750                 except (StopIteration, Return) as e:

~/anaconda3/lib/python3.7/site-packages/dask_xgboost/core.py in _train(client, params, data, labels, dmatrix_kwargs, **kwargs)
    182
    183     # Start the XGBoost tracker on the Dask scheduler
--> 184     host, port = parse_host_port(client.scheduler.address)
    185     env = yield client._run_on_scheduler(
    186         start_tracker, host.strip("/:"), len(worker_map)

~/anaconda3/lib/python3.7/site-packages/dask_xgboost/core.py in parse_host_port(address)
     29     if "://" in address:
     30         address = address.rsplit("://", 1)[1]
---> 31     host, port = address.split(":")
     32     port = int(port)
     33     return host, port

ValueError: not enough values to unpack (expected 2, got 1)

While trying to fit the model:
import pandas as pd

from dask.distributed import Client, progress
#from sklearn.ensemble import RandomForestClassifier
#from sklearn.model_selection import train_test_split
import joblib
from dask import dataframe as ddf
import numpy as np
from dask_ml.model_selection import train_test_split
from dask_ml.xgboost import XGBClassifier, train, predict

client=Client(processes=False,threads_per_worker=8,n_workers=1, memory_limit="16GB")

#split dataset into train and test
X_train, X_test, y_train, y_test = train_test_split(df["Store Area"], df[Y_column])

est=XGBClassifier()
est.fit(X_train, y_train)

Any idea why this might be happening?

Looks similar to https://github.com/dask/dask-xgboost/issues/30? I don't believe that was ever resolved.
FYI, I don't think dask-xgboost will be helpful on a single machine (which you're using with processes=False) but I may be wrong.

This looks similar I think. So you say it is impossible to use Dask with XGBoost now?

No. I think you don't want to be using dask-xgboost with
Client(processes=False).
On Fri, Dec 6, 2019 at 3:33 PM datainvestor<EMAIL_ADDRESS>wrote:

This looks similar I think. So you say it is impossible to use Dask with
XGBoost now?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask-xgboost/issues/64?email_source=notifications&email_token=AAKAOIXMSJIPBTCIBN6L3FDQXLAL7A5CNFSM4JW3QX2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGFM55I#issuecomment-562745077,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKAOIQHC7SNL3TO6GIRFILQXLAL7ANCNFSM4JW3QX2A
.


There should be a tutorial for adding sign-in with Microsoft to a .NET Core web app

Currently there are "Quickstart" and "Tutorial" for adding sign-in with Microsoft to ASP.NET web app where I think the tutorial one provides great detail of how to implement the sign-in with the identity platform. However, this is not available for .NET Core web apps.
For .NET Core web apps, only the Quickstart guide is available and provides very little detail about the code sample.
I would like to suggest that Microsoft provide a detailed or the "Tutorial" version of how the code works or even how to add sign-in with Microsoft to .NET Core code from scratch without referencing to the code sample. Otherwise please let me know if this kind of thing is available somewhere else.
Additionally, a tutorial for PHP would also help PHP developers out there.
Thanks.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: bf04450a-028e-cc23-d9b3-880a1b5c0fd5
Version Independent ID: ac05d3c4-0379-0f34-9e17-787fb95b7189
Content: Tutorial: Create an ASP.NET web app that uses the Microsoft identity platform for authentication - Microsoft identity platform
Content Source: articles/active-directory/develop/tutorial-v2-asp-webapp.md
Service: active-directory
Sub-service: develop
GitHub Login: @jmprieur
Microsoft Alias: jmprieur

Thanks for the feedback! We are currently investigating and will update you shortly.

@pitawatn
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.

@JamesTran-MSFT, @SatishBoddu-MSFT : I propose we assign this one to @mmacy who has a plan to get the tutorials from the incremental samples.
Meanwhile, @pitawatn, you have a great incremental sample in GitHub. The readme explain the code as well. See https://docs.microsoft.com/azure/active-directory/develop/sample-v2-code#web-applications

#please-assign @mmacy

@pitawatn Yes, we absolutely need an ASP.NET Core web app tutorial here on docs.microsoft.com. As @jmprieur says, we're starting work now on new  multi-part tutorial series, and an ASP.NET Core web app will be one of the first sets that we do.
Closing this issue as we are tracking this internally in this Azure DevOps work item:

ID
Tags
Title

1476595
app-dev; GTD; Tutorial
[GTD] tutorial | web app | ASP.NET Core | SERIES

#please-close


Added a StateStoreCleaner for cleaning up old state store files based on some retention

Signed-off-by: Yinan Li<EMAIL_ADDRESS>

@ydailinkedin can you help review this?

Updated cace7f4 to fix the dependencies.

LGTM.


Map download

Facility to be able to get a PDF of a map of the annotations in a document

A full solution for this will remain out of reach for the foreseeable future, I'm afraid. It would require a bigger investment. Both in terms of development time, as well as with regard to maintaining it as a production setup (see below).
A smaller, limited solution, however, is possible: I managed to get halfway decent results with the html2canvas JavaScript library. With some limitations, html2canvas allows you to create programmatic screenshots in the browser. See, for example this actual screenshot...

...and the programmatic rendering, a PNG file generated with html2canvas for the map.

I think this is a reasonable workaround for now. But keep in mind that html2canvas is limited to generating an image exactly as things appear in the browser. That includes properties such as same aspect ratio and (more or less) resolution. I believe enhancements would be possible. (Such as opening another much larger Leaflet map in an offscreen page element.) But this would take more work & experimentation.
Notes on a server-side solution: a full solution for producing a print-quality image, with user-configurable size/aspect ratio would likely involve a server-based solution. The server would have to run something like a headless Chrome instance, which could then generate large raster images, based on a set of input parameters (map base-layer, map bounds, GeoJSON data overlay, maker images etc.) After rendering the high-res raster image, exporting it to different formats (JPG, PDF, etc.) would be the easy part.
Overall, development effort for such a solution would be much more significant, and deployment & maintenance of the combined system would be more complex.

P.S.: the PNG screenshot feature is now available on the test instance.

Update: html2canvas will only work if map tiles are fetched with a specific HTTP setting. This setting is now enabled in the geotagger plugin.
However, with this setting enabled, map tiles are only displayed if, in turn, the tile server explicitly allows cross-domain requests (by setting the appropriate HTTP header in their responses: Access-Control-Allow-Origin: *). This is typically the case for open tile servers (OpenStreetMap, Digital Atlas of the Roman Empire, etc.)
The CAWM tile server, however, does not have this setting enabled. This means their map tiles now show blank in the Recogito user interface. I have therefore removed CAWM from the list of pre-set basemap choices.
@eltonteb: do you have any active contacts at the CAWM? If so, we could ask them if they can enable the Access-Control-Allow-Origin: * HTTP response header on their end.


Update sbt-sonatype to 3.9.5

Updates org.xerial.sbt:sbt-sonatype from 3.8 to 3.9.5.
GitHub Release Notes - Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.xerial.sbt", artifactId = "sbt-sonatype" } ]

labels: sbt-plugin-update

Coverage decreased (-1.9%) to 94.0% when pulling 0f1b29a85b689959867134b79438288462623f76 on scala-steward:update/sbt-sonatype-3.9.5 into cc542fa6a0c118677a94867c631cfd3799170ec5 on iheartradio:master.

Superseded by #144.


Retrive VM information

I am using the latest SDK version
I have searched existing issues and Troubleshooting wiki

Environment

sdk package version:

python version: 3.8

vSphere version: 7.0

Hi,
I'm using the SDK to retrieve all powered on machines and I added mapping from VM id to IP address using the following code:
vsphere_client.vcenter.vm.guest.Identity.get(vm=vm_id).ip_address
How can I add more information such as cluster and folder for each VM?
Thank you

Solved it by iterating over the clusters using the "vsphere_client.vcenter.Cluster.list()" to retrieve the cluster id and add it as a filter to the VM.FilterSpec().


[5.7] Make sure Nav background does not flash, when going back/forward across pages

Rationale: Removes a flash when navigating across half-scrolled pages
Risk: Low
Risk Detail: only affects the initial loading of the nav
Reward: Medium
Reward Details: Users will no longer see a color shift in the nav
Original PR: https://github.com/apple/swift-docc-render/pull/229
Issue: rdar://64168365
Code Reviewed By: @marinaaisa
Testing Details:
Go to a page and scroll midway
Click on a link
Two finger swipe back in Safari
Assert the nav does not change color/flash

@swift-ci test


Handling the content type to work with payload.

The server was crashing if you search for a payload and don't find any content type.

Thanks, I will think about how to handle this error in the future, but for now LGTM


rust-analyzer wants

The following is a small list of issues rust-analyzer would like to see fixed/implemented, I have been asked to create this issue for an upcoming VSCode meeting so that it can be tracked.

[ ] https://github.com/microsoft/vscode/issues/73120 for Rust, this is one of the worst painpoints that exists in VSCode, especially since people tend to write very rich documentation, and it’s painful to scroll down to the error.
[ ] Have VSCode improve how it renders and exposes richer diagnostics. The Rust compiler (henceforth referred to as “rustc”) has incredibly nice diagnostics, but only when rendered in the terminal. rustc's diagnostics have a ton of information (something most languages do not have) and rendering these diagnostics in VSCode in a way that keeps them useful is basically impossible. It’s really common for Rust users to look at the compiler output by running their project manually in the terminal because the inline diagnostics don't show everything nicely, and more often than not, make things more confusing. (Just on Monday, November 7, one of the main people behind the diagnostics messages of rustc now commented on this matter). There are a few open issues that could make this situation better:
https://github.com/microsoft/vscode/issues/54272#issuecomment-617670458 might allow rust-analyzer to render the output inside of VS Code as the Rust compiler renders diagnostics in the terminal.
https://github.com/microsoft/vscode/issues/3220 and/or https://github.com/microsoft/vscode/issues/85682: would allow rust-analyzer to render rustc-like diagnostics inline (in the style of Sublime’s Phantom Text). Implementing this feature would possibly be the diagnostics endgame for rendering Rust (and Rust-style) diagnostics.
[ ] https://github.com/microsoft/vscode/issues/145377: many users of rust-analyzer would love it if the debounce time was short and snappy as if it were when rust-analyzer implemented this feature using the decorator API. While the argument for the debounce time is that it makes updates on them less confusing and distracting, a lot of people get the impression that the server/client is rather unresponsive as the updates are no longer instantaneous.
[ ] A recent issue: when rust-analyzer returns a user-facing error via the ShowMessage LSP notification, rust-analyzer tells the user to check the error logs for more information, because it’s common to have too much information inside the pop-up/toast. To make this smoother, we would love to be able to add a button to the pop-up that switches the view to rust-analyzer’s log. Unfortunately, the LSP implementation of VSCode does not permit overwriting this functionality, as its immediately handled here: https://github.com/microsoft/vscode-languageserver-node/blob/ee58574201ba76d0da63b6826262220939996399/client/src/common/client.ts#L1001-L1015 preventing overwriting the message handlers for the notification in any form.
[ ] https://github.com/microsoft/vscode/issues/155531: this is considered to be a still-unresolved issue by us, but it was locked for some reason. We feel that either VSCode has to verify the diagnostics coming from the LSP protocol and handle empty ones appropriately (whatever that my be), allow the client to somehow handle this case itself (currently the exception is thrown before the client receives the diagnostics) or the LSP has to define that error messages are not allowed to be empty. While this isn’t the biggest issue for rust-analyzer, it is legal for rustc to emit messages with no associated message. Worse, this can occur by accident on the user’s part. It is as simple as writing or emitting a compile_error!(""). rust-analyzer then immediately emits an empty diagnostic as that is what the macro states,  causing diagnostics for the opened file to freeze and no longer update until that code is removed, which is not a great experience. The user expectation is that VS Code is resilient against such bugs, and to its credit, it is in nearly all cases.

I have been asked to create this issue for an upcoming VSCode meeting so that it can be tracked.

@Veykril Were you asked by a VS Code team member to create this list?

@andreamah No, I was, albeit indirectly through Stephen Kreyenbuhl and Ranjit Gupta. I'm told that some VS Code team members at Microsoft are meeting with a group from my employer that includes those folks.
I've been told that the meeting might be focused on other subjects (namely, fork points), but since this is a summit that discusses all things VS Code, my management chain and I thought (not Ranjit and Stephen, to be clear) this was an opportune time to raise these points, some of which can hopefully be addressed with little engineering effort on the side of Microsoft (or even through a contribution by me).


module 'tensorflow.python.keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects'

Describe the bug
A clear and concise description of what the bug is.
报错 ： module 'tensorflow.python.keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects'
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
import hanlp

Describe the current behavior
安装了graphviz 之后 再运行 代码开始报错，卸载掉graphviz 重新安装 tensorflow对应版本依然报错。
Expected behavior
A clear and concise description of what you expected to happen.
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):Linux 18.4
Python version:3.6
HanLP version:2.0.0a67

Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

[x] I've completed this form and searched the web for solutions.

你的tf版本不对，请重新 pip install hanlp -U


Hide files

Hello, whether to provide the function to hide files or folders.

Hello,
Only the file started by dot are hidden automatically
https://github.com/general03/flask-autoindex/blob/master/flask_autoindex/entry.py#L61
Nothing on folder or callback enabling that


Can't open vim.org web site.

Works for me.  Must have been a temporary outage.

Works for me too. http://www.vim.org/ redirects to https://www.vim.org/ and then the usual Vim site homepage appears.
@SharonMina : Your 404 screen seems to be in Chinese, but I don't know if you are in mainland China, in Hong Kong, in Taiwan, or even using a Chinese localization outside China. Depending on where you are, it might or might not mean that your country is (or was) blocking the Vim site.
Best regards,
Tony.

That page says it cannot connect. Maybe temporary DNS or connection error, or a local network configuration error, or it's blocked by the ISP, or affected by the sea cable issues in Asia recently.

Thanks. We need vim. Please don't give up Maintenancing it.


feat: add more logging for on chain events

Why is this change needed?
With the current logging it's hard to determine if we dropped an on-chain event or never received it in the first place. This feature adds a log in the first place where our code is responsible for handling on-chain events to give us better insight into this moving forward.
Merge Checklist
Choose all relevant options below by adding an x now or at any time before submitting for review

[x] PR title adheres to the conventional commits standard
[x] PR has a changeset
[x] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore)
[x] PR includes documentation if necessary.

PR-Codex overview
This PR enhances the logging for on-chain events in the L2EventsProvider class in the @farcaster/hubble package.
Detailed summary

Added more detailed logging for different types of on-chain events in L2EventsProvider.
Logs now include event name and specify the event type being processed.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Do we still need this?

Closing since this is not actively being worked on. Can always reopen if circumstances change.


[Installation]: vLLM KV Cache Initialization Error Despite Sufficient VRAM

Your current environment
K8s cluster running VLLM
root@vllm-d49b46dc9-n9877:/vllm-workspace# python3 collect_env.py
Collecting environment information...
PyTorch version: 2.4.0+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Ubuntu 20.04.6 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Clang version: Could not collect
CMake version: version 3.30.2
Libc version: glibc-2.31

Python version: 3.10.14 (main, Apr  6 2024, 18:45:05) [GCC 9.4.0] (64-bit runtime)
Python platform: Linux-6.6.13+bpo-amd64-x86_64-with-glibc2.31
Is CUDA available: True
CUDA runtime version: Could not collect
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA RTX 6000 Ada Generation
Nvidia driver version: 550.54.15
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                       x86_64
CPU op-mode(s):                     32-bit, 64-bit
Byte Order:                         Little Endian
Address sizes:                      46 bits physical, 57 bits virtual
CPU(s):                             64
On-line CPU(s) list:                0-63
Thread(s) per core:                 2
Core(s) per socket:                 16
Socket(s):                          2
NUMA node(s):                       2
Vendor ID:                          GenuineIntel
CPU family:                         6
Model:                              143
Model name:                         Intel(R) Xeon(R) Gold 6426Y
Stepping:                           8
CPU MHz:                            3297.861
CPU max MHz:                        4100.0000
CPU min MHz:                        800.0000
BogoMIPS:                           5000.00
Virtualization:                     VT-x
L1d cache:                          1.5 MiB
L1i cache:                          1 MiB
L2 cache:                           64 MiB
L3 cache:                           75 MiB
NUMA node0 CPU(s):                  0-15,32-47
NUMA node1 CPU(s):                  16-31,48-63
Vulnerability Gather data sampling: Not affected
Vulnerability Itlb multihit:        Not affected
Vulnerability L1tf:                 Not affected
Vulnerability Mds:                  Not affected
Vulnerability Meltdown:             Not affected
Vulnerability Mmio stale data:      Not affected
Vulnerability Retbleed:             Not affected
Vulnerability Spec rstack overflow: Not affected
Vulnerability Spec store bypass:    Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:           Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:           Mitigation; Enhanced / Automatic IBRS, IBPB conditional, RSB filling, PBRSB-eIBRS SW sequence
Vulnerability Srbds:                Not affected
Vulnerability Tsx async abort:      Not affected
Flags:                              fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64
 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cat_l2 cdp_l3 intel_ppin cdp_l2 ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fs
gsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb intel_pt avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local split_lock_detect avx_vnni avx512_bf16 wbnoinvd dtherm ida arat pln
 pts hfi vnmi avx512vbmi umip pku ospke waitpkg avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg tme avx512_vpopcntdq la57 rdpid bus_lock_detect cldemote movdiri movdir64b enqcmd fsrm md_clear serialize tsxldtrk pconfig arch_lbr ibt amx_bf16 avx512_fp16 amx_tile amx_int8 flush_l1d arch_capabilities

Versions of relevant libraries:
[pip3] flashinfer==0.1.2+cu121torch2.4
[pip3] numpy==1.26.4
[pip3] nvidia-nccl-cu12==2.20.5
[pip3] pyzmq==26.1.0
[pip3] torch==2.4.0
[pip3] torchvision==0.19.0
[pip3] transformers==4.43.4
[pip3] triton==3.0.0
[conda] Could not collect
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.5.4@
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      16-31,48-63     1               N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

My Issue
vLLM KV Initialization Error Despite Sufficient VRAM
Description
I'm encountering an error when trying to initialize the KV cache for the vLLM server. The error suggests that the model's maximum sequence length is larger than the maximum number of tokens that can be stored in the KV cache. This is happening despite having a GPU (NVIDIA RTX 600 Ada) with 47 GB of VRAM, which should be more than sufficient according to the model card (which states only 35 GB is needed).
Model card:
https://huggingface.co/hugging-quants/Meta-Llama-3.1-70B-Instruct-AWQ-INT4

My GPU on the kubernetes node (nvidia-cmd output)

Error Message
ValueError: The model's max seq len (131072) is larger than the maximum number of tokens that can be stored in KV cache (30880). Try increasing `gpu_memory_utilization` or decreasing `max_model_len` when initializing the engine.

Environment

Model: hugging-quants/Meta-Llama-3.1-70B-Instruct-GPTQ-INT4
GPU: NVIDIA RTX 6000 Ada Generation (49140 MiB VRAM)
CUDA Version: 12.4
Driver Version: 550.54.15

vLLM Command
python3 -m vllm.entrypoints.openai.api_server \
    --model hugging-quants/Meta-Llama-3.1-70B-Instruct-GPTQ-INT4 \
    --gpu-memory-utilization 1 \
    --api-key [REDACTED]

Additional Information

The error occurs during the initialization of the KV cache.
The nvidia-smi output shows that the GPU has 49140 MiB of VRAM available.
I've already set --gpu-memory-utilization to 1, which should allow the use of all available GPU memory.
I am using the official vllm/vllm-openai docker image

Questions

Why is the KV cache size so limited (30880 tokens) when I have 47 GB of VRAM available?
Is there a way to increase the KV cache size to accommodate the model's maximum sequence length (131072)?
Are there any other settings I should adjust to resolve this issue?

Any help or insights would be greatly appreciated. Thank you!

Ok but if i set
            - --max-model-len
            - "30000"

i an getting ```
ValueError: The model's max seq len (30000) is larger than the maximum number of tokens that can be stored in KV cache (
3984). Try increasing gpu_memory_utilization or decreasing max_model_len when initializing the engine.
How could that be?

If the context length is >32k, we enable chunked prefill, which reduces the max size of the activations. Since you set to 30k here, we dont.
Add --enable-chunked-prefill and it should work


⚠ Bofrost.de has degraded performance

In d032f59, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 827 ms

Resolved: Bofrost.de performance has improved in 79a5032.


Resium with React Native

Hello,
I want to know if Resium is available also to React Native?
thank you,
Nir

Not supported. Please see documentation: https://resium.darwineducation.com/guide#limitations

https://resium.reearth.io/guide#limitations


BUG: Fix problem with Scipy.integrate.solve_bvp for big problems

This commit solves fatal errors when solve_bvp is used for a big problem, i.e. size > 50,
and the unknowns include parameters that need solving.
This commit includes tests, with and without Jacobians for both the function and the boundary conditions.
The new tests adapt already existing tests to make them easier to compare and understand.

All looks correct now, merging. Thank you for the contribution!


Add encoding parameter to open resource

Add encoding parameter to open_resource method and pass it to built-in open function
Remove skip mark from unittests, that checks this functionality

This PR fixes #5504

Thanks for getting this started. I've made the change to open_instance_resource and Blueprint.open_resource as well; added version markers, added a change log, and refactored the docs and tests a bit.


Text color unselect tabs

The text color in the unselected tabs is the same color as the tabbar background color and it doesn't look like.  How to fix it?

Hi @pepobit,
Unfortunately, I haven't found an easy way to do this, as you'll need to implement a custom renderer with a custom "drawing" method that will update the Android-views associated with the tabs both on initialization (i.e. OnElementChanged) and whenever a new tab has become selected (i.e. the renderer's Element's OnCurrentPageChanged). The Android-version of the tabs, which you'll want to update can be accessed as the direct children of the bottom bar's ItemContainer, which, however, requires you to access the BottomBar-object through reflection first (see my post here: https://github.com/thrive-now/BottomNavigationBarXF/issues/51). In addition, as you'll be modifying the native views frequently, it's probably smart to both cache the tabs you've discovered, as well as wrap them in wrapper-objects to facilitate easier changes to their core properties.
All in all, it's a bit of work, but can be done. Unfortunately, however, I can't, at present, help you more than by just giving pointers...
Good luck!
Best regards,
Alexander.

Hi Alexander,
In FixedMode = true; I need to change the FixedInactiveIconColor and ActiveTabColor but giving error
System.InvalidOperationException: This BottomBar already has items! You must call SetFixedInactiveIconColor() before setting any items.
I have got the ItemContainer container object in rendrer how should i processed further.
Thanks in Advance,
Harsh

Hello Alexander,
Thanks for the help i was able to change the SetActiveTabColor.
I do not understand how to get native Android controls used to render the tab icons and captions.
Just by which method i get those and change the color of them.

Hi Harsh,
The native tab controls are simply child views of the bottom bar's ItemContainer already mentioned above. So if you first get the bottom bar control itself using reflection, you could then access its ItemContainer to iterate over the child views using the ChildCount and GetChildAt methods. These child views are actually ViewGroups, therefore contain further controls - namely the icon and label. These have the following resource IDs - BottomNavigationBar.Resource.Id.bb_bottom_bar_icon and BottomNavigationBar.Resource.Id.bb_bottom_bar_title - and can thus be retrieved using FindViewById (one's an ImageView the other a TextView). Make sure to use AppCompat to enhance what you can do with these controls...
Most of this information can be gathered from the source code of the Bottom Navigation Bar project itself, as well as from debugging with/inspecting the Android layout using the Android device monitor's interactive screenshot tool.
Good luck!
Alexander.


Can submit a form with empty values after sending the filled up one

Steps to reproduce:

Fill up form
Submit
Click submit again
Notice that after step 2. form was cleared but you still could send the form (see network logs for details). Request fails with 400, but the form is sent after incorrect validation.

Probably #361 will fix this

Couldn't reproduce after the #361 was merged.


Added volume shared content label

Sure @lulf, we could do that with SELinux command too. Closing this PR.