ReferenceError: exports is not defined

I'm new to javascript stuff and have been learning them by making a simple web app interface; and just ran into a problem that I couldn't solve with my beginner's luck :)
One js file I wrote which had a dependency that in turn has two CommonJS dependencies was rolled up into a buggy bundle.
The console in my browser says "Uncaught (in promise) ReferenceError: exports is not defined at chat.js:1333".
I'm sharing my code hoping someone can find out what is the problem and assist me. I would be very sorry if it was just a silly mistake on my part.
the chat.js made by rollup (without minification): https://www.dropbox.com/s/d2hh2ft8iolfbpj/chat.js?dl=0
the project: https://www.dropbox.com/s/20xa0dfyh9ra6jc/webapp.tar.xz?dl=0
So, the problem will pop up when you click "About" element, as soon as you click it and the page loads, it'll load js/chat.js, then the error will occur.
Thank you.

Here's the content of the file 'rollup.config.js':
// const replace = require('rollup-plugin-replace');
import { terser } from 'rollup-plugin-terser';
import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';

// `npm run build` -> `production` is true
// `npm run dev` -> `production` is false
const production = !process.env.ROLLUP_WATCH;

export default {
  input: ['src/main.js', 'src/chat.js'],
  output: [
    {
      dir: 'public/js',
      format: 'es',
      //format: 'iife',  // immediately-invoked function expression — suitable for <script> tags
      sourcemap: production ? false : true
    }, /* {
      file: 'public/js/bundle-system.js',
      format: 'system',
      //format: 'iife',  // immediately-invoked function expression — suitable for <script> tags
      sourcemap: production && false
    }, */
  ],
  moduleContext: {
    'node_modules/jquery/dist/jquery.slim.min.js': 'window',
    'node_modules/handlebars/dist/handlebars.min.js': 'window',
  },
  plugins: [
    // replace({
    //   'process.env.NODE_ENV': JSON.stringify('production')
    // }),
    resolve({

      // the fields to scan in a package.json to determine the entry point
      // if this list contains "browser", overrides specified in "pkg.browser"
      // will be used
      //mainFields: ['module', 'main'], // Default: ['module', 'main']

      // DEPRECATED: use "mainFields" instead
      // use "module" field for ES6 module if possible
      //module: true, // Default: true

      // DEPRECATED: use "mainFields" instead
      // use "jsnext:main" if possible
      // legacy field pointing to ES6 module in third-party libraries,
      // deprecated in favor of "pkg.module":
      // - see: https://github.com/rollup/rollup/wiki/pkg.module
      //jsnext: true,  // Default: false

      // DEPRECATED: use "mainFields" instead
      // use "main" field or index.js, even if it's not an ES6 module
      // (needs to be converted from CommonJS to ES6)
      // – see https://github.com/rollup/rollup-plugin-commonjs
      //main: true,  // Default: true

      // some package.json files have a "browser" field which specifies
      // alternative files to load for people bundling for the browser. If
      // that's you, either use this option or add "browser" to the
      // "mainfields" option, otherwise pkg.browser will be ignored
      //browser: true,  // Default: false

      // not all files you want to resolve are .js files
      //extensions: [ '.mjs', '.js', '.jsx', '.json' ],  // Default: [ '.mjs', '.js', '.json', '.node' ]

      // whether to prefer built-in modules (e.g. `fs`, `path`) or
      // local ones with the same names
      preferBuiltins: false,  // Default: true

      // Lock the module search in this path (like a chroot). Module defined
      // outside this path will be marked as external
      //jail: '/my/jail/path', // Default: '/'

      // Set to an array of strings and/or regexps to lock the module search
      // to modules that match at least one entry. Modules not matching any
      // entry will be marked as external
      //only: [ 'some_module'<EMAIL_ADDRESS>], // Default: null

      // If true, inspect resolved files to check that they are
      // ES2015 modules
      //modulesOnly: true, // Default: false

      // Force resolving for these modules to root's node_modules that helps
      // to prevent bundling the same package multiple times if package is
      // imported from dependencies.
      //dedupe: [ 'react', 'react-dom' ], // Default: []

      // Any additional options that should be passed through
      // to node-resolve
      //customResolveOptions: {
      //  moduleDirectory: 'js_modules'
      //}
    }),
    commonjs({
      // non-CommonJS modules will be ignored, but you can also
      // specifically include/exclude files
      //include: 'node_modules/**',  // Default: undefined
      include: [
        'node_modules/buffer/**',
        'node_modules/long/**',
      ],  // Default: undefined
      //exclude: [ 'node_modules/foo/**', 'node_modules/bar/**' ],  // Default: undefined
      // these values can also be regular expressions
      // include: /node_modules/

      // search for files other than .js files (must already
      // be transpiled by a previous plugin!)
      //extensions: [ '.js', '.coffee' ],  // Default: [ '.js' ]

      // if true then uses of `global` won't be dealt with by this plugin
      //ignoreGlobal: false,  // Default: false

      // if false then skip sourceMap generation for CommonJS modules
      sourceMap: production ? false : true,  // Default: true

      // explicitly specify unresolvable named exports
      // (see below for more details)
      //namedExports: { './module.js': ['foo', 'bar' ] },  // Default: undefined

      // sometimes you have to leave require statements
      // unconverted. Pass an array containing the IDs
      // or a `id => boolean` function. Only use this
      // option if you know what you're doing!
      //ignore: [ 'conditional-runtime-dependency' ],
    }),
    production && terser(),  // minify, but only in production
  ]
};

After trying 'bson', '../node_modules/bson/dist/bson.esm.js', '../node_modules/bson/dist/bson.browser.{umd,esm}.js', I just gave up and picked the last one which looked easy to use, and yes, it was easy, there was no problem.
'../node_modules/bson/dist/bson.bundle.js'; I can guess by the name, the two dependencies 'long' and 'buffer' are bundled together in this file. I think I have to keep using this one until I gain enough knowledge to make rollup work with modules with dependencies.

Hey folks (this is a canned reply, but we mean it!). Thanks to everyone who participated in this issue. We're getting ready to move this plugin to a new home at https://github.com/rollup/plugins, and we have to do some spring cleaning of the issues to make that happen. We're going to close this one, but it doesn't mean that it's not still valid.
We've got some time yet before the move while we resolve pending Pull Requests, so if this issue is still relevant, please @ me and I'll make sure it gets reopened and transferred to the new repo. :beer:


Small styling issue with the Version select on website

On Firefox I noticed this:

Setting the select style from width: 70px to width: auto; resolves this issue, but I couldn't find a way to create a PR for the website. If there's a way to do this please let me know!

hey @RockinRonE thanks for the report, try to fork the repo and create a pull request. give it a shot, otherwise, I will resolve it later as well. thanks


Inspect websocket traffic with Flipper

Description
I am using Flipper for debugging purposes, and opened an issue on the Flipper repo, but I was told that this would be a question for the React Native team.
I am building a React Native app (RN 0.62.0) with AWS Amplify / AWS AppSync on macOS Catalina. When running the app in both an iOS and Android simulator I don't see the websocket that AWS Amplify opens. I can see the websocket when I use the Inspector in the simulator dev menu, but I don't see the websocket in the Network plugin on Flipper. I do see regular requests on Flipper like POST and GET requests.
Within AWS Amplify I use DataStore which uses the @aws-amplify/pubsub package for websockets I think. Is there anyway to make the websocket connection show up on Flipper?
React Native version:
System:
    OS: macOS 10.15.2
    CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
    Memory: 132.64 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 13.5.0 - /usr/local/bin/node
    Yarn: 1.21.1 - /usr/local/bin/yarn
    npm: 6.13.4 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.9.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.3
      System Images: android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: Not Found
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  Languages:
    Python: 3.7.4 - /usr/local/opt/python/libexec/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.0 => 0.62.0
  npmGlobalPackages:
    *react-native*: Not Found

Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

Create a React Native project
Open a websocket
It won't show up in Flippers network plugin

Expected Results
I expect to be able to see all network requests (websockets) on Flipper, and not only POST, GET, HEAD etc.

workaround https://hackernoon.com/intercept-https-traffic-on-a-android-emulator-46023f17f6b3


Added Carthage to README and shared Xcode scheme

A shared scheme is now available in the develop branch.
Thanks for your pull request, and sorry for not replying a bit sooner...


Dollar Activity UI enhancement

Hi @llaske I have solved the problem for the issue https://github.com/llaske/sugarizer/issues/1212
Before
https://user-images.githubusercontent.com/91108730/221907223-106f7790-4823-4286-b081-5467d3ff619c.mp4
After
https://user-images.githubusercontent.com/91108730/221906063-7cce7fd2-83ce-4b44-a817-81df65d638f6.mp4

I have raise an another PR , See #1222


Resources from package as input for generators

we are using terminal command base R.Swift solution like this in our build phase:
swift run -c release rswift generate --accessLevel public --generators image,string,color,font,file "$SRCROOT/someOutputPath/R.generated.swift"
Is it possible to make R.Swift work with resources inside packages as input for the generating process? Let's say we have a package named UIToolkit in the project where we have assets that we want to use as input for the generated file.
For example, the hierarchy would look like this:

We are able to set the output path to this package, but we haven't found a way to specify that the assets in UIToolkit should be added to the generated output. Any ideas?
thnx a lot for any suggestions, help

You can call the rswift executable with either an Xcode project file, or a list of files:
rswift generate R.generated.swift --input-type xcodeproj --xcodeproj MyApp.xcodeproj
rswift generate R.generated.swift --input-type input-files --input-files Assets.xcassets Localised.strings


Populate PBJS onEvent/offEvent docs

The onEvent/offEvent docs in the PBJS Publisher API re-org somehow ended up blank. This ought to be fixed.

Closing with reference to PR #3116


Ingore the updater lock/config file

I noticed that this file is created on running, but it's an autogenerated artifact.
As such, my (personal) rule of thumb is to to ignore such files. I thought this might worth considering in this example?

Thanks for the PR @berkes. Can you update it so that it only includes the change to the .gitignore file?

Woops, sorry, I should've branched properly.
Fixed my main to only include the commit for this PR now.


ingress, gateway-api: Convert test fixtures to file based

Please refer to individual commit for more details, just a note that the changes are related to test files only, no logic changed.

/test


Fix location issue

Thank you!

Thank you!

Ok reverting this as we want users to be able to create non-locationable coupons.

I'm not sure user will see the coupons with no location attached, but I agre

Yup, just fixed that here tastyigniter/TastyIgniter@13f7e82a9ed801d20765af84b2dd999f4291a926 and ffc18e116aae37c35517081867adb8684bdf4528


Context channels API proposal

This API proposes a simple interface for dealing with channel updates / context sharing.
Some notes:

In this example channels are simply string names, but channels could potentially be richer objects
The first application to use a channel with a particular name (e.g. 'blue' or 'common') creates it.
Each channel represents a backing store of context objects indexed by their type.
For each channel, you can have one "instrument" type, one "contact" type, etc. If a different "contact" type is pushed, this represents an updated value for that type.
The methods are deliberately not called "publish" and "subscribe" to indicate that there is a persistence store in play.

Some further topics to be discussed:

Can context values be persisted between sessions?
Should there be an option to retrieve only the current value without updates, or ignore the current value and only getting new updates.
Should multiple different instances of the same type be supported on the same channel? (Gets complicated quickly...)
Does it make sense for context channels to be defined as part of application definitions, the same way intents are?

Makes a lot of sense, liked the point about not using "pub/sub". Would be good for the discussion to clarify why we need separate context objects for each channel (and simply not only a single object per channel), I suggest we at least keep with a single object per type (else this quickly turns into a full database/mini git like store)
Persisting between session is powerful, could also be used for sharing/storing workspaces with channel/objects, but I suggest we have this optional, in other words not part of the first version of this addition.
Context channels as par of app definition: propose to start simple and not make part of standard for first version.

Great work Riko.
I echo the comments made by Espen regarding the “depth” of the store. Storing history for each context-item type in a channel leads to unnecessary complexity. This is about sharing “current” context between applications, not providing a convenient mini-database.

The ability to share context by type is a very important one, arguably the main feature of this API. E.g. imagine a blotter that contains both a contact and instrument - when the row is selected, two separate context objects are updated, the instrument and the contact.
A market data app can watch only for instrument updates on the same channel, and a CRM app can watch only for contact updates.

If all updates are sent on the channel regardless, both the market data and CRM app would have to do further filtering to ignore unwanted updates.
If there is only one object that can be current at any point in time, you would need to use object wrapping or nesting to make it work.

We have found that two levels of grouping - by "channel" or "region", and then by object type - offers just the right mixture of granularity and simplicity to make the use cases work.
Sharing by type is part both of the Finsemble LinkerClient API, e.g.
FSBL.Clients.LinkerClient.publish({
    channels: ["blue"],
    dataType:"symbol",
    data:"AAPL"
});

FSBL.Clients.LinkerClient.subscribe("symbol", data => {
    // do something
});

and of the Glue42 context sharing API.

I think from understanding we have three requirements based on the call today (was there any requirement missed?):

Limiting the routing of messages based on channel id/color/object/theme
Getting the last cached value when some app joins the channel
Limiting the data app gets by a type

It would be good differentiate where the responsibilities/code is separated between the DesktopAgent and the App. As an app developer and not a DesktopAgent developer this is important for us to clarify.

Does app need to know what channel(s) they are in?

Ideally it would be nice that the app doesn't care what channel(s) they are in or have to care about  changing of channels as long they get the correct data.

Does app need to know if the data they received was through a current broadcast or through last cached value?

Ideally an app would have one mechanism/api/callback to get the data for broadcast and initial startup/subscription to channel.

Who does the limiting of data received by type?

App certainly would need to specify/know the "types" it cares about. Channel/DesktopAgent API could allow app to specify these types (hopefully only once for both broadcast and initial subscription) and then the Agent/ChannelsAPI restrict the data it sends to the app. I think most were not in the favor of of sending everything to the apps and let app ignore what it doesn't want.

Nice work Riko!
Couple of questions for my understanding:

If an application understands both types (eg fdc3.instrument and fdc3.instrumentList), should then two listeners be created?

If your application handles "all" types - would that be possible with by basically creating a listener for "blue" but without specifying the type?

Technically, an application could listen to several colour channels?

Could all of the above lead to confusion and race conditions regarding what context to actually use and thus create further complications for the API?

Thanks,
Johan

I think from understanding we have three requirements based on the call today (was there any requirement missed?):

Limiting the routing of messages based on channel id/color/object/theme
Getting the last cached value when some app joins the channel
Limiting the data app gets by a type

@vmehtafds that is very well summarised.

Does app need to know what channel(s) they are in?

Not necessarily - but I don't like magic as a developer. If an app is filtering messages by channel, I would like it to be right there, visible and explicit in the code. It feels like "not getting certain messages because I applied a filter in some other unrelated place" is a great recipe for subtle bugs.

Ideally it would be nice that the app doesn't care what channel(s) they are in or have to care about  changing of channels as long they get the correct data.

See above - I would prefer what channels an app are participating in to be explicit.

Does app need to know if the data they received was through a current broadcast or through last cached value?

A good question. There may be some advantage in distinguishing with an extra property that tells you. I have also seen people ask to receive only the most recent change, only future updates, or both. I didn't include this in my proposal so as not to overcomplicate the discussion.

Ideally an app would have one mechanism/api/callback to get the data for broadcast and initial startup/subscription to channel.

Yes.

Who does the limiting of data received by type?

An application that subscribes to updates can specify which types it is interested in. How we have implemented this in the past is that the receiving application effectively "registers" with the desktop agent the types it is interested in. This greatly cuts down on the number of messages flowing through the system, as only interested applications get certain updates, and is a big advantage of this approach.

App certainly would need to specify/know the "types" it cares about. Channel/DesktopAgent API could allow app to specify these types (hopefully only once for both broadcast and initial subscription) and then the Agent/ChannelsAPI restrict the data it sends to the app. I think most were not in the favor of of sending everything to the apps and let app ignore what it doesn't want.

Yes, as stated above, controlling the amount of data sent between applications is a big benefit. Similar to intents, only registered/known applications and types will be involved.

If an application understands both types (eg fdc3.instrument and fdc3.instrumentList), should then two listeners be created?

That is the intention - when we first implemented such an API we had one callback for all types, but then realised this callback always just contained a giant switch statement distinguishing by type. So it seemed to make the code cleaner and more isolated to have a callback per type.
This doesn't preclude having a callback for "all types" or a "set of types" of course, for the people interested in that.

If your application handles "all" types - would that be possible with by basically creating a listener for "blue" but without specifying the type?

Yes. I didn't include it in this example, but our real implementation had a handler for "all" types as well for the cases where that makes sense.

Technically, an application could listen to several colour channels?

Yes. This API enables coloured channels, but is not directly equivalent to coloured channel linking. For channel linking you would have one channel per application, but there are plenty of other use cases where a dedicated channel for a particular type of "hidden update" (i.e. under the covers) makes sense.

Could all of the above lead to confusion and race conditions regarding what context to actually use and thus create further complications for the API?

I don't see how it could lead to race conditions. What could happen is if a particular application subscribes to an update, and then updates the same piece of data inside the handler, thereby leading to a loop of updates.
But it is relatively easy to serialise updates from various applications to ensure they arrive in order.

Closing in favour of #90


feat: Add travel page to redirect to travel reimbursement typeform

Need https://ix.hackutd.co/travel-reimbursement.pdf to exist as a link to the policy doc as well


Do not loose downloaded files in mirror update

Fixes #651
Description of the Change
If some files during mirror update fail to download all downloaded files would be lost and redownloaded again in a second mirror update call.
This fix import files which have successfully been downloaded but mirror update is still marked as failed. What this doesn't fix is when aptly process is canceled. This I guess will be addressed with fix for #545
Checklist

[ ] unit-test added (if change is algorithm)
[ ] functional test added/updated (if change is functional)
[ ] man page updated (if applicable)
[ ] bash completion updated (if applicable)
[ ] documentation updated
[x] author name in AUTHORS

Thanks, I have more complete fix in the works, I'll push it soon (covers also aborted downloads).

Closing this PR in favor of #683


When will the iris API for Python release？

I think iris is just like face detection and face mesh, easy to develop it for Python, isn't it?

Duplicate https://github.com/google/mediapipe/issues/2605#issuecomment-938049615. You can achieve this with facemesh in python by setting refine_landmarks to True.

Duplicate #2605 (comment). You can achieve this with facemesh in python by setting refine_landmarks to True.

How can I get iris distance from camera through face mesh attention model, I think it's not available in face mesh API.

Unfortunately, FashMesh doesn't provide the iris distance data. It only has the iris landmarks.
We currently do have a plan to make a separate iris solution.

Unfortunately, FashMesh doesn't provide the iris distance data. It only has the iris landmarks.
We currently do have a plan to make a separate iris solution.

Please make it as soon as possible, this is my video tutorial about face mesh
https://www.bilibili.com/video/BV1ei4y1d7zA?
I want to make one for iris, too.


Data quality framework

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
(This section helps Arrow developers understand the context and why for this feature, in addition to  the what)
Describe the solution you'd like
When building DAG of transformations, I want to be able define tests which can prove data correctness. On the end of the DAG  I should be able to o review data quality and provide context to end user if required.
Like in Deequ I can check if all id's are unique or in some column I can find data in correct format. Other approaches Apache Glue, dbt test or Great Expectation
Describe alternatives you've considered
Instead of building framework it's maybe possible to extend Great Expectation
Additional context
Add any other context or screenshots about the feature request here.

Great Expectation


⚠ ClamAV has degraded performance

In c64b073, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 448 ms

Resolved: ClamAV performance has improved in 97f65d3.


Env variable to configure maven central repo

What is this PR for?
When deploying Zeppelin in private Cloud or within closed networks, it happens that Maven Central isn't directly reachable, so we want to configure our own proxy and do not have to wait for minutes long timeouts when importing external libraries. It is anyhow worth to let user configure maven central repo instead of hardcoding the URL.
What type of PR is it?
Improvement
How should this be tested?
Outline the steps to test the PR here.
Questions:

Does the licenses files need update?
Is there breaking changes for older versions?
Does this needs documentation?

updated travis access, could you run tests again please?

try close and reopen this PR to trigger Travis

Did you switch on 'zeppelin' repository from  https://travis-ci.org/profile  (https://zeppelin.apache.org/contribution/contributions.html#continuous-integration) ?
Also after that goto https://travis-ci.org/andreaTP/zeppelin/settings and switch on "Build pushes" and "Build pull requests".

I reopen this


Not able to register printer on rpi with osmc

I'm running an osmc distro on a raspberry pi (which is based on debian jessie I believe).
I run the connector:
osmc@osmc:~/cups-connector$ ./gcp-cups-connector
E1207 00:55:53.597552     682 gcp-cups-connector.go:34] Google Cloud Print CUPS Connector version 2015.10.05-linux
Google Cloud Print CUPS Connector version 2015.10.05-linux
E1207 00:55:54.690892     682 gcp-cups-connector.go:148] Ready to rock in local-only mode

And in chrome://devices/ I can see my cups printer show up. However, when I try to register it, I get an error: An error has occurred. Please check your printer and try again.
Listening with tshark like this $ sudo tshark -Y 'http.request or http.response', gives me the following output:
606  38.098091 <IP_ADDRESS> -> <IP_ADDRESS>  HTTP 469 GET /privet/info HTTP/1.1
608  38.115429  <IP_ADDRESS> -> <IP_ADDRESS> HTTP 1114 HTTP/1.1 200 OK  (text/plain)
610  38.124695 <IP_ADDRESS> -> <IP_ADDRESS>  HTTP 563 POST /privet/register?action=start&user=mymail%40gmail.com HTTP/1.1
611  38.127324  <IP_ADDRESS> -> <IP_ADDRESS> HTTP 242 HTTP/1.1 404 Not Found  (text/plain)

I do not have any custom configuration for the connector. Am I missing something or could it be a problem with the connector?

Chrome has a bug. The printer doesn't need to be registered; the connector handles that automatically. Try to print something, it should work fine.

You are right. It turns out the gcp-cups-connector is not needed at all. Why I tried to print a doc from google docs, it detected the printer in 'local destinations' and allowed me to register it for google cloud print. Thanks!
I wonder what's the purpose of the gcp-cups-connector script in that case?

I'm glad you got printing to work.
Re the purpose of gcp-cups-connector, you have left out a lot of details, but here's a guess. If your printer is Cloud Ready then you don't need the connector, and that sounds like what happened to you.


Requests fix

there are places in the code where the header values are int, but requests >= 2.11 only accept str and bytes. this PR fixes this issue and relax the requirements on requests version.

@t00f this is ready. Once it is merged, I think we can release bambou 2.1.1


A11y_Windows Terminal_Close Window_Color contrast: Color contrast ratio for 'Close all' button is less than 4.5:1 ratio

GitHubTags: #A11y_WindowsTerminal; #WindowsTerminal; #A11yTCS; #A11yMAS; #Win10; #DesktopApp; #ChromiumEdge; #ColorContrast; #MAS1.4.3; #C+E-H;
Check out Accessibility Insights! - Identify accessibility bugs before check-in and make bug fixing faster and easier
Environment Details:
Windows Terminal
Version: 0.10.781.0
OS: Windows 10 (Version 1909, Build: 18363.778)
Repro Steps:
1.Turn on the high contrast mode
2.Hit the URL "aka.ms/terminal" and install "Windows terminal (Preview)" application
3.Open "Windows terminal (Preview)" application
4.Tab to multiple tabs
5.Use "Alt + F4" to close whole window and pop up will be displayed
6.Verify whether 'Close All" button color contrast ratio is greater or equal to 4.5:1
Actual Result:
Color contrast ratio for 'Close all' button is less than 4.5:1 ratio
Expected Result:
Color contrast ratio for 'Close all' button should be greater than or equal to 4.5:1 ratio
User Impact:
Low vision users will find difficulty, if the color contrast ratio is less than 4.5:1 ratio
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={a73546c7-765f-489c-b18f-afb659fe99e6}
Attachment:

I'm pretty sure this is the same fundamental root as #5395 - these buttons are using the user-defined accent color. I'm not sure how we go about resolving this issue appropriately though.

Turn on the high contrast mode

The screenshot of the application does not match any known configuration of "high contrast mode" on the Windows operating system. The "contrast analyser" application would appear to be high contrast if it were enabled on the operating system.
Is this bug report valid?

On high contrast mode, this dialog looks like:

There is strong contrast between the button text and the button background, as is required.

Not able to reproduce the issue. color contrast ratio is equal to 4.5:1. Hence closing the bug.


⚠ SceneTime has degraded performance

In 925e156, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1557 ms

Resolved: SceneTime performance has improved in 7f81080 after 7 minutes.


Offers result should return both amout of buying and selling

Horizon's reuslt will give amount and price. But the price is only 7 decimals. It is not enough for BTC offers.
Example: User put a buy offer for BTC/CNY, the price is 64000. Horizon would return price 0.0000156, which equal 64102.
So, I suggest horizon return both amount of buying and selling. User could get the real price by calculation in such case.

Thanks for the report! Price is given as a ratio as well (see here), which should allow you to compute the price with complete accuracy.


Incomplete tables

I've noticed that classes and at least some monsters or races seem to have incomplete or empty tables. The class progression tables all seem to be empty after level 1. Many of the classes themselves have incomplete information (e.g. the Cleric has no class features listed other than spellcasting). At least some monsters lack table information (e.g. the Unspeakable Horror).
I'm running (on macOS) a build of the latest version of the cli using the latest of 5etools.

Can you share your included sources?
For the cleric, I have a feeling it is detection of inclusion (or not) of class features..
Unspeakable horror is a different issue.

And just in case here's my config:
{
  "paths": {
    "compendium": "z_compendium/",
    "rules": "z_compendium/rules/"
  },
  "from": [

    "PHB",
    "MM",
    "DMG",

    "TCE",
    "MPMM",
    "XGE",

    "SCREEN",
    "SCREENDUNGEONKIT",
    "SCREENWILDERNESSKIT",
    "SCREENSPELLJAMMER",

    "AI",
    "OOW",

    "AAG",
    "BAM",
    "SAiS",
    "SJA",

    "KftGV",

    "CoS",
    "VRGR",

    "EGW",
    "ERLW",
    "GGR",

    "SCAG",

    "FTD",

    "MCV1SC",
    "MFF",
    "MTF",
    "VGM",

    "DIP",
    "SLW",
    "SDW",
    "DC",

    "DoSI",

    "ESK",
    "LMoP",

    "BGDIA",
    "CM",
    "CoS",
    "IDRotF",
    "IMR",
    "GoS",
    "LoX",
    "OoW",
    "SJA",
    "WBtW",
    "WDH",
    "WDMM",
    "DSotDQ"
  ],
  "convert": {
    "book": [
      "PHB",
      "MM",
      "DMG",

      "TCE",
      "MPMM",
      "XGE",

      "VGM",
      "MTF",

      "SCREEN",
      "SCREENDUNGEONKIT",
      "SCREENWILDERNESSKIT",
      "SCREENSPELLJAMMER",

      "AI",
      "AAG",
      "BAM",

      "VRGR",

      "EGW",
      "ERLW",
      "GGR",

      "SCAG",
      "FTD"
      ],
    "adventure": [
      "BGDIA",
      "CM",
      "CoS",

      "DIP",
      "SLW",
      "SDW",
      "DC",

      "DoSI",

      "KftGV",

      "LMoP",

      "OOW",

      "IDRotF",
      "IMR",
      "GoS",
      "LMoP",
      "LoX",
      "OoW",
      "SJA",
      "WBtW",
      "WDH",
      "WDMM",
      "DSotDQ"
    ]
  },
  "useDiceRoller" : false,
  "template": {
    "monster": "/Users/roambot/Documents/DocLibrary/Games/Dungeons & Dragons/D&D 5th Edition/5e-cli-compendium.nosync/monster.txt",
    "background": "/Users/roambot/Documents/DocLibrary/Games/Dungeons & Dragons/D&D 5th Edition/5e-cli-compendium.nosync/background.txt",
    "spell": "/Users/roambot/Documents/DocLibrary/Games/Dungeons & Dragons/D&D 5th Edition/5e-cli-compendium.nosync/spell.txt",
    "race": "/Users/roambot/Documents/DocLibrary/Games/Dungeons & Dragons/D&D 5th Edition/5e-cli-compendium.nosync/race.txt",
    "item": "/Users/roambot/Documents/DocLibrary/Games/Dungeons & Dragons/D&D 5th Edition/5e-cli-compendium.nosync/item.txt"
    }
}

Fabulous. Nipped the cleric issue already. Sorting out the beastie.


Form integration technical documentation

When integrating Salt form controls with react-hook-form, there are a few issues identified to make consumer's life easier. This may include bug fixes to the component, or improved documentation or migration guide.
### Considerations (not to be all resolved)
- [ ] Dropdown / combo box popper behaviour when scroll off screen
- [ ] #3578
- [ ] #3637
- [ ] #3599
- [ ] #3612
- [ ] #3263
- [ ] #3697
- [ ] https://github.com/jpmorganchase/salt-ds/issues/3600

With OOO, shift 1 sprint late.

Remove from Cortado due to OOO.

will be done after DatePicker is released to core

Some basic examples to integrate with react-hook-form's validation / Controller: https://stackblitz.com/edit/salt-template-ttacfc

requires DatePicker, moving to backlog until the team has more capacity


Proposed breaking changes for Mapperly 4.0

A list of proposed breaking changes for Mapperly 4.0:
To be discussed, if a particular change on the list leads to major discussions, we should create a separate issue.

✅  Strict Mappings by default (level warning) (#1353)
1.1. Change the default severity of RMG012: Source member was not found for target member to Warning
1.2. Change the default severity of RMG020: Source member is not mapped to any target member to Warning
1.3. Change the default severity of RMG037: An enum member could not be found on the source enum to Warning
1.4. Change the default severity of RMG038: An enum member could not be found on the target enum to Warning
✅  Replace MapPropertyAttribute.ctor(string[], string[]) with MapPropertyAttribute.ctor(string, string[]) and MapPropertyAttribute.ctor(string[], string) since member paths are only supported on one side by Mapperly (https://github.com/riok/mapperly/pull/1354).
Change the default of MapperAttribute.AutoUserMappings to false.
Change the default of MapperAttribute.PreferParameterlessConstructors to false
Change the default severity of RMG060: Multiple user mappings discovered without specifying an explicit default to Error (requires MapperAttribute.AutoUserMappings default to false due to Before/After-Map).
✅  Change the enabled conversions check for underlaying enum types from ExplicitCast to a new EnumUnderlayingType conversion (#1176, #1352)

What is the justification of no. 3?

@wrestlerdude the idea is to get to a more explicit API and prevent accidental / non-intuitive use of a mapping method by Mapperly.

Why do you consider changing the severity to Warning a breaking change on no. 1? Am I missing something?  🤔

It is not really a breaking change, but we decided to postpone this change to the next major release since it may still need adjustments by all users that have TreatWarningsAsErrors enabled (which AFAIK is quite common).

We decided to not implement 3), 4) and 5) for now to keep breaking changes limited. All other breaking changes are merged.


Code doesn't work on iOS13.1.1, Xcode 11.1

I just started writing some swiftUI code and ended up having the same issue on sheet as you. Code looks great but it doesn't seem to work on both simulators and my device. Prob Apple silently changed something?
I updated Xcode to 11.1 this morning and it seems to show modals multiple times normally (I'm pretty sure I could not in Xcode 11)

Thank you for reporting! Just tried with Xcode 11.1, but I haven't run into any issues yet. Can you describe what you exactly tried?

I looked into this, and the reason it doesn't work is because the example project doesn't initialise BetterSheet properly in the SceneDelegate. Unfortunately you can't just use UIHostingController, you need to call UIHostingController.withBetterSheetSupport(...).
I also fixed some other issues in the example project in this pull request:
https://github.com/egeniq/BetterSheet/pull/3


Empty auxiliary tracks show up as crashed?

So empty tracks have two odd behaviors during rendering

Seems that the duration isn't inferred from the parent track causing it show up as crashed
Not automatically hidden
Wondering if we could have either of those two behaviors so that the perfetto writing software doesn't need to worry about pruning empty tracks etc

You will need to change the extension to .proto
sequence_test.proto.json

We're missing the joins in track_decider (and the corresopnding plugins) for counter_tracks that we have slice_tracks where we ensure there is at least one row for every track (e.g. [1]). Will send something to fix this.
[1] https://github.com/google/perfetto/blob/e1634e2743438b14e143026b46f857461ff14b99/ui/src/controller/track_decider.ts#L1003

https://r.android.com/3106003 fixes


Adding Darko Meszaros

Adding myself to the list of streamers!
Twitter: @darkosubotica

Hi, Did you forget to add the index entry at the top?

I sure did! Oops! Will add!

Change made!


how can we hide the room?

is there any solution to hide the room from users? as it should be visible to only admin and participants.

You can set private rooms.
Reference link.


Install vscode extensions, attempt #3

Initially we assumed that extensions would be default be installed in $HOME, which we wanted to avoid (#30, #31). But it turns out that code-server from conda-forge sets the --extensions-dir flag to ${CONDA_PREFIX}/share/code-server/extensions, which resolves to /srv/conda/envs/notebook/share/code-server/extensions - i.e., outside of $HOME. So I don't think we need to configure anything; we should just be able to install the extensions we want in the Dockerfile.
I tested this locally (macOS arm), and it worked:
docker build -t openscapes/corn:test . --platform linux/amd64
docker run -p 8888:8888 --platform linux/amd64 openscapes/corn:test jupyter lab --ip <IP_ADDRESS>

I had to remove the postBuild, as the awsv2 install was failing (on macOS).

I've been trying out the quarto extension with a locally built image with these changes. It wants to write to $HOME/.cache/, but it belongs to root? In the hub however, ~/.cache belongs to jovyan (which I assume is how it should be).  I don't see how these changes would cause that... any ideas @betolink?

I just ran the image built from main, and it also has ~/.cache owned by root... that must be fixed when it's deployed. So maybe that's not an issue here...

@ateucher Thanks for your help today! For your reference here is my final script. Has some extra error checking.
#!/bin/bash
# Required User: NB_USER

# Install VSCode extensions.
# These get installed to $CONDA_PREFIX/envs/notebook/share/code-server/extensions/

# Check if a filename argument is provided
if [ -z "$1" ]; then
    echo "Error: install-vscode-extensions.sh requires an input file of extension names (typically called vscode-extensions.txt)." >&2
    echo "Usage: RUN /pyrocket_scripts/install-vscode-extensions.sh <filename>"
    exit 1
fi

# Check if running as root and switch to NB_USER if needed
if [[ $(id -u) -eq 0 ]]; then
    echo "Switching to ${NB_USER} to run install-vscode-extensions.sh"
    exec su "${NB_USER}" -c "/bin/bash $0 $1"  # Pass along the filename argument
fi

echo "Running install-vscode-extensions.sh as ${NB_USER}"

ext_file="$1"

# Verify that ext_file exists and is a file
if [ ! -f "${ext_file}" ]; then
    echo "  Error: Specified file '$ext_file' does not exist."
    exit 1
fi

# Install each extension listed in the file
while IFS= read -r EXT; do
    if code-server --install-extension "$EXT"; then
        echo "  Successfully installed extension: $EXT"
    else
        echo "  Failed to install extension: $EXT" >&2
    fi
done < "$ext_file"

echo "  Success! install-vscode-extensions.sh"


Would you like to share the training data?

I'm wondering what the training data you use? Thanks~

Hi @created-Bi, thank you for your interest in this repository.
This library is a wrapper that provides the transformers API of aesthetic predictor published below:

LAION-AI/aesthetic-predictor: A linear estimator on top of clip to predict the aesthetic quality of pictures https://github.com/LAION-AI/aesthetic-predictor
christophschuhmann/improved-aesthetic-predictor: CLIP+MLP Aesthetic Score Predictor https://github.com/christophschuhmann/improved-aesthetic-predictor

Sorry for the confusion, and I will update the README in #18 with this information.


[FLINK-12570] Switch Task from ResultPartition to ResultPartitionWriter interface

What is the purpose of the change
This part of Shuffle API refactoring: make task not depend on the concrete implementation of ResultPartitionWriter (ResultPartition).
Brief change log

Move fail and finish methods to ResultPartitionWriter interface from ResultPartition
Make Task.producedPartitions a ResultPartitionWriter array, not ResultPartition
adjust other test implementations of ResultPartitionWriter interface

Verifying this change
refactoring covered by existing tests.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

based on #8416 atm

@flinkbot attention @zhijiangW

Thanks for the review @zhijiangW ! I've addressed comments

Is it required that either finish() or fail() are called before close()? Is their primary purpose to notify consumers?

Thanks for the review @zentol ! I changed the comments


[BUG] PyPI package missing dependency on conda_recipe_manager

Describe the bug
https://github.com/conda/grayskull/pull/539 missed adding conda_recipe_manager to pyproject.toml
To Reproduce
$ python3 -m venv .venv
$ .venv/bin/pip install grayskull==2.7.0
$ .venv/bin/grayskull --version
# ...
  File "/tmp/.venv/lib/python3.12/site-packages/grayskull/utils.py", line 14, in <module>
    from conda_recipe_manager.parser.recipe_parser_convert import RecipeParserConvert
ModuleNotFoundError: No module named 'conda_recipe_manager'

Additional context
Is https://github.com/conda-incubator/conda-recipe-manager available on PyPI yet? I couldn't seem to find it (would have created a PR otherwise)

Thanks for reporting it, it should be fixed with
#555
that dependency is not in pypi indeed, so, I am moving it to be optional

Version 2.7.1 should fix this. I am deploying the new version to pypi, thanks again :)

thanks for the quick fix!


Access to repository not available after sponsorship

Forgive me if there's a better way to contact you - I am new to all of this and couldn't find a way to message directly. I'll delete this later. I sponsored you but am still unable to see the repository. Thanks!

+1 -- Same here!

+1 -- same here

+1 -- same here

All of you should have access to the org now, sorry about my automation fail!


Archive account user flow

https://bithyve-workspace.slack.com/files/USH7J1J9F/F02BYNGAEUA/20210822_201252.mp4
Dear Developer,
Please feel free to reach out and ask further questions if the video doesn't work or seems inadequate.
Yours truly.

Now its redirecting back to Account Management screen, please check it once again and reopen if required


#PickhardtPayments: fast mode: prune distant edges from graph

Is your feature request related to a problem? Please describe.
For any payment between nodes A and B the lightning network might contain channels that are very distant from both A and B. Considering those for the MPP computation seems less beneficial compared to "closer" edges.
Describe the solution you'd like
Add a "fast mode" that prunes such edges from the graph to speed up the computation. This should be optional.

may be relevant: https://github.com/renepickhardt/mpp-splitter/issues/13 I am currently considering to basically multiply the cost of an edge with a number that increases exponentially with the topological distance of the edge from sender and recipient pair before pruning


Add eslint plugins

Issue Number:
91
Issue Description:
Fix client eslint config - missing plugins
Summary of solution:

Modified eslintrc.json file in client directory.
Added import, jsx-a11y & react plugins as configured in package.json

Can this issue be closed?
Yes
Should any new issues be added as a result of this solution?
Fix Eslint errors in the client/src directories
Have you named your branch in a descriptive way? Remember to name your branch in a unique and descriptive manner in order to properly reflect the issue or feature.
Yes. Branch name add-eslint-plugins
Thanks for contributing!

Great job you have your first merged pull request!


Burst not found by Elementum

Elementum thinks Burst is not installed:

But, I do have the latest installed:

Nevermind, was my own problem.
Cockpit runs on port 9090, so the JSONRPC fails to start.


Solang compiled contracts must work with Solana's APIv2

As Solana migrated to a new API for system calls, Solang compiled contracts do not work with its virtual machine anymore.

[ ] Remove sol_alloc_free_ syscall usage (not longer exists)
[ ] Solana emit should invoke syscalls via known constant addresses
[ ] Solana mock VM should mimic new syscall invocation

I've started work on the 2nd item. I think the first item needs to be done first though, so I've started on that now.

The aim solana v1.11 compatibility. For that, only the heap changes are needed


feat: add imgui features to feature table

This change exposes imgui's freetype, docking, and tables-api features to developers under the imgui-freetype, imgui-docking, and imgui-tables-api features respectively.
I wanted to use the docking and the new tables api features with hudhook so I figured I should PR this here.

Thank you! Will check it soon and merge it in.


Multi-node Setup: Web class does not properly configure database port

"database_port" is not properly set when web node is split from master node.
Puppet code:

# Zabbix Web Node

node 'MASTER' {
  file { '/etc/yum.conf':
    source => 'puppet:///modules/yum/yum.conf',
    owner  => root,
    group  => root,
  }
  class { 'apache':
      mpm_module => 'prefork',
  }
  class { 'apache::mod::php': }
  class { 'zabbix::web':
    zabbix_url      => '',
    zabbix_server   => 'MASTER',
    database_host   => 'MASTER',
    zabbix_api_user => 'whatever',
    zabbix_api_pass => 'crazysecurepassword',
    database_type   => 'mysql',
  }
}

Output:
/etc/zabbix/web/zabbix.conf.php

<?php
// Zabbix GUI configuration file
global $DB;

$DB['TYPE']     = 'MYSQL';
$DB['SERVER']   = 'c2t06545.itcs.hp.com';
$DB['PORT']     = '0';
$DB['DATABASE'] = 'zabbix_server';
$DB['USER']     = 'zabbix_server';
$DB['PASSWORD'] = 'zabbix_server';

// SCHEMA is relevant only for IBM_DB2 database
$DB['SCHEMA'] = '';

$ZBX_SERVER      = 'c2t06545.itcs.hp.com';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = 'c2t06545.itcs.hp.com';

$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>

MySQL not binding address properly:
First being that the MySQL server seems to be using "<IP_ADDRESS>" when it should be binding to the IP/hostname.

Issue with zabbix.conf.php.erb:
Currently
$DB['PORT']     = '0';

Should probably be
$DB['PORT']     = '<%= @database_port %>';

Hi,
I just pushed an fix for this, would you please test it?
Kind regards,
Werner

Greetings Werner,
I've tested this fix and it appears to be working as expected both with and without the "database_port" parameter for the zabbix::web class.
Thanks for the fix!
Sincerely,
elricsfate


Python3  'AnsibleUndefinedVariable: ''dict object'' has no attribute ''iteritems'''

Do you had problem with the role using python3?
TASK [timorunge.ssd : Configure SSSD service (from config)] ************************************
fatal: [<IP_ADDRESS>]: FAILED! => changed=false
msg: 'AnsibleUndefinedVariable: ''dict object'' has no attribute ''iteritems'''

It appears that this was fixed in commit 5c76032 which was first included in version 0.5.5.


Release 2.7.3?

Due do 3677349b367025dcc87075a3412130d6ee3381a3, can make a release? :)

@sksamuel

@gmethvin are you maintainer too?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sksamuel/pulsar4s/issues/329#issuecomment-869659294,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFVSGU3A2EN357SRXQOLDLTVBWKRANCNFSM47J7CJOA
.

2.7.3 has been released.


Compiler tests do not look for new-style imports to determine how files should be loaded

We look for require and reference in the text of the test to indicate that the test files should be loaded as found by the final file in the test. This is odd, but more importantly, it misses import ... from statements, meaning for a test to load in the order the code implies, you must use the text require( or reference path somewhere in your test.
We should replace this odd inference with a comment flag indicating if every file is meant to be included in the compilation (as running tsc at the root of the directory), or if only the last file is to be used as an entrypoint.

:+1:

We do have a flag for this nowadays - @noImplicitReferences: true, which forces the test into the mode where all files are found via the last file.


Add custom dialog sample for NodeJS

This is a port of @johnataylor's #343 in Node.
TODO:

[x] update inline comments
[x] update readme

It probably makes the most sense to have @johnataylor review this FIRST since this is a direct port of his C# version.

This got rolled into #363


Refactoring + Removal of things

I think this PR will break your browserstack testing but the testing locally works correctly.

Dan we love the thoughts, and we recent achieve some of this with the latest release. Please continue to send PRs Thanks!!!


Implement a flow name based filter. This filter functions as follows.

If the flow name is in the filter, then the flow runs on bare metal,
otherwise, the flow runs on container.

Could we add a feature to also filter on the basis of project name along with flow name? Project level filters would be more concise when setting up the filter configuration. It will also cover the following scenario: when new flows are added to a filtered project, those new flows automatically get filtered out as well. This is also the common case - generally we want to filter everything in the project, its a rare case otherwise.

Working on it.


fix: issue-2367

Signed-off-by: wang-mask<EMAIL_ADDRESS>
Ⅰ. Describe what this PR does
Fix issue-2367
Ⅱ. Does this pull request fix one issue?

fixes #2367
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/ok-to-test
/lgtm

/ok-to-test
/lgtm
/approve


enhancement: preview Image in ComfyUI

Is your feature request related to a problem? Please describe.
While genrating an image no preview is displayed
Describe the solution you'd like
Comfyui supports sending preview images to the client as callback https://github.com/comfyanonymous/ComfyUI/blob/a38b9b3ac152fb5679dad03813a93c09e0a4d15e/main.py#L151C1-L159C51

PR welcome!


fix: Consciencia negra day is not a national holiday

refs #

[ ] Tests with a significant number of years to be tested for your calendar.
[ ] Changelog amended with a mention describing your changes. Note Please do NOT change the version number here. It's the project maintainers' duty.

Sure! I would be happy to help! How can I add tests? Consciencia negra day is a holiday mandatory in some states, but not a national one. I've seen some of the states do have it setted correctly. Funny fact: carnival is said to be a non mandatory national holiday, even though it doesn't look like it in reality hahah. The BrazilBankCalendar class also I think should be the "official" Brazil class, which is usually what the companies follow over here, and what I used on my project.
Sources:
https://www.gov.br/pt-br/noticias/financas-impostos-e-gestao-publica/2020/01/portaria-divulga-feriados-e-pontos-facultativos-para-2020
https://g1.globo.com/economia/noticia/2020/01/01/veja-o-calendario-de-feriados-prolongados-e-de-pontos-facultativos-em-2020.ghtml

ok. I see. As I want to have this bug fixed quickly, I'll take your branch over and try to make a bugfix release as soon as possible.
Stay tuned!

(and I have time on my hands today, lucky you)

Version 10.2.0 was released and published on PyPI, including bugfixes for Brazil calendars.
Have fun upgrading!

https://github.com/peopledoc/workalendar/releases/tag/10.2.0
https://pypi.org/project/workalendar/10.2.0/

Great!! Thanks!!

we aim to please :o)


Allow disabling dependabot on forks

Is there an existing issue for this?

[X] I have searched the existing issues

Feature description
This is a duplicate of https://github.com/dependabot/dependabot-core/issues/2804
However, that issue has been linked to well over a thousand times, so it's impossible to see what the actual status of the issue is (without having to click to expand the fold several hundred times). The last visible comments are over a year ago. Is the team planning to add this? Is there anything I could do to help? Is there a timeline?

We're actively working on this and a permanent fix should land in the next couple of weeks. We'll share more around the time we''re ready to roll this out

I'm going to close as a duplicate of https://github.com/dependabot/dependabot-core/issues/2804. I realize that one is a bit noisy/hard to track, but it's still better for everyone if we keep discussion in one place.


feat: add notifications service and permission

Explanation
This PR adds Notification service and notification for generated identity.
Notification service uses rich notification api.
More Information
Closes #33
Screenshots/Screencaps
Before
N/A
After

Manual Testing Steps
Try to create new identity and see a notification with identity commitment
Pre-Merge Checklist

[x] PR template is filled out
[ ] IF this PR fixes a bug, a test that would have caught the bug has been added
[x] PR is linked to the appropriate GitHub issue
[x] PR has been added to the appropriate release Milestone

+ If there are functional changes:

[ ] Manual testing complete & passed
[ ] "Extension QA Board" label has been applied

PR template source from github.com/MetaMask

@iskdrews done, thanks!


Updated documentation to reflect newer Chaincode interface with Init method.

Updated documentation to reflect newer Chaincode interface with Init method.
Signed-off-by: Stanislav Liberman<EMAIL_ADDRESS>

@stanliberman :
Init is a constructor function, which will only be invoked by Deploy transaction. The parameters function and args point to the function implemented by the chaincode that the Invoke calls and passes the args. Similar behavior for the Query function. The Query function is not allowed to modify the state of the chaincode; it can only read and calculate the return value as a byte array.
Perhaps seperate the function and args part from the methods names ? So something like
The Init, Invoke and Query functions take function and args as parameters to be used by those methods to support a variety of transactions.  Init is a constructor function, which will only be invoked by the Deploy transaction.  The Query function is not allowed to modify the state of the chaincode; it can only read and calculate the return value as a byte array.

@muralisrini Thanks! I've updated the wording per your suggestion.

@stanliberman : LGTM, thanks!

LGTM. Thanks!


Added context information for message listener callback

Added additional context information, such as 'NSString* identifier' for message listener

I agree that having the identifier string present in the callback block would be a good design pattern, however, I don't think it provides enough added value to justify changing the public interface, which would require everyone to update their own code when updating the library. There's a few reasons for that:

Because of the semantics for how the listen method is called, the identifier string is known ahead of time in that context, and could be added to the scope of the block by the developer without risk or excessive coupling. The block is already inherently coupled to the identifier, because of how calling that method works. If you need the identifier inside the block, there's no harm in referencing it within that scope yourself.

If your project depends heavily on this type of pattern, you could easily add support for this by subclassing MMWormhole and overriding the listen method to change the callback block signature and injecting your own wrapper block that calls your new block along with the identifier, before passing that wrapped block and the identifier into the call to super.

I'm going to decline this. I think it's a neat idea, but I don't think it justifies changing the public API, and the functionality is easily providable to people who want it via subclassing.
Thanks,

Conrad


in CREATE TABLE, NOT NULL on object(dynamic) ignored

CrateDB version:  2.0.4
JVM version: 8
OS version / environment description: crate Docker image
Problem description:
You can declare a field of an object(dynamic) to be NOT NULL.  It creates the table wtihout error.  However, in columns is_nullable is set to TRUE.  It does not require the field on INSERT.  Checked documentation, and can't find anything regarding NOT NULL on column object fields.
`CREATE TABLE mytable (
    owner_id string NOT NULL,
    core object(dynamic) as (
        doctype string NOT NULL
    ) NOT NULL,
    ext object(ignored),
    meta object(dynamic) as (
        created timestamp
    )
) PARTITIONED BY (core['doctype']) ;`

cr> select table_name, column_name, data_type, column_default, is_nullable from  information_schema.columns where table_name like 'mytable%';
+------------+-----------------+-----------+----------------+-------------+
| table_name | column_name     | data_type | column_default | is_nullable |
+------------+-----------------+-----------+----------------+-------------+
| mytable    | core            | object    |           NULL | FALSE       |
| mytable    | core['doctype'] | string    |           NULL | TRUE        |
| mytable    | ext             | object    |           NULL | TRUE        |
| mytable    | meta            | object    |           NULL | TRUE        |
| mytable    | meta['created'] | timestamp |           NULL | TRUE        |
| mytable    | owner_id        | string    |           NULL | FALSE       |
+------------+-----------------+-----------+----------------+-------------+

core['doctype'] should not be nullable

hi @erik777, thanks for reporting, we will look into this.

The issue has been fixed and will be available with the next hotfix releases.
@erik777 Thanks for reporting!


Extension causes high cpu load

Issue Type: Performance
Extension Name: LiveServer
Extension Version: 5.5.1
OS Version: Linux x64 4.15.0-20-generic
VSCode version: 1.32.3

:warning: Make sure to attach this file from your home-directory: /home/nao/ritwickdey.LiveServer-unresponsive.cpuprofile.txt :warning:
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Hello, few questions,
When you're getting this issue? after load of vscode or after clicking to Go Live ?
Is this happen every-time ? or random ?
Please reply here https://github.com/ritwickdey/vscode-live-server/issues/278
Duplicate of https://github.com/ritwickdey/vscode-live-server/issues/278

[Note: This issue is closed by a javascript code (written by me).
https://gist.github.com/ritwickdey/ddf2ff0e3ca49354b773a4c4ce8cb53c]

I am Japanese.
My weak point is English.
Therefore, I can not answer appropriately.
I'm sorry.🙇
2019年4月8日(月) 20:22 Ritwick Dey<EMAIL_ADDRESS>
Closed #394 https://github.com/ritwickdey/vscode-live-server/issues/394.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ritwickdey/vscode-live-server/issues/394#event-2259348763,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AnB6yq4o1qLW-nEe05SJUkHqx7xDF9Xfks5veyaIgaJpZM4ccpGY
.

to answer.
It happens randomly.

Hi @anyfre. not a problem - even I'm not good in english.
Just another one question, is this happened just after clicking to "Go Live" ?

yes
2019年4月8日(月) 21:13 Ritwick Dey<EMAIL_ADDRESS>
Hi @anyfre https://github.com/anyfre. not a problem - even I'm not good
in english.
Just another one question, is this happened just after clicking to "Go
Live" ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ritwickdey/vscode-live-server/issues/394#issuecomment-480805982,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AnB6yqTWTeZJiQTG9m5LpUp54NjzotK4ks5vezJMgaJpZM4ccpGY
.


Capture stdout from mantid functions and save it in the logging files

After #58 , should capture the output of the mantid functions and pipe them in one of the logging files such that the terminal won't be so cluttered.

@Anders-Markvardsen Any idea how to capture this output (i.e. what the function, e.g. msapi.Fit outputs to the terminal)? Conventional methods do not work unfortunately.

This may not be quite what we want, but see line 32 of https://github.com/ISISScientificComputing/autoreduce/blob/master/QueueProcessors/AutoreductionProcessor/post_process_admin.py for a python method designed to separate stdout and stderr

Ah, I tried using contextmanager, unfortunately that does not work.

This is not doable at the moment (according to Martyn). @Anders-Markvardsen


Fix local run of integration tests

What this PR does / why we need it:
When running the workflow-service and the notification-service locally, there is a need to specify the notification-service port for the sake of the notification tasks.
Change type

[ ] New feature
[ ] Bug fix
[ ] Unit tests
[ ] Integration tests
[ ] CI
[ ] Documentation
[ ] Auto-generated SDK code

Impacted services

[ ] Workflow Service
[ ] Notification Service

Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.

/approve

/lgtm


How set same DKIM for different IPs ?

Hi,
I have configure haraka with DKIM on three different IPs. As below -
<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>. But for dkim passed I need to make records of all ips in my domain management panel. But I want that I'm make record only of 21 ip in panel and reflect of all.
For same I have copy-paste dkim(public,private,selector key) of 21 to other two ips. But it not working. While same for postfix working fine.

DKIM does not have anything to do with IPs.


Symbolic Formula predicts worse than model itself

Hi
I have been practicing about KAN. I have made regression implementation. My output layer has 1 node.
After implementation I got pretty good R2 and MAE on my dataset (including train val test). I wanted to get symbolic formula and I got it according to => https://kindxiaoming.github.io/pykan/Examples/Example_3_classfication.html
After that I created a code which gets the symbolic formula of KAN and calculate given inputs according to given formula.
The function is below:
def kan_symbolic_formula_prediction(formula, X):
    batch = X.shape[0]
    predictions = []  # Empty list for keeping predictions

    for i in range(batch):
        # Evaluation on symbolic formula on every single row
        expression = formula
        for j in range(X.shape[1]):
            expression = expression.subs(f'x_{j+1}', X[i, j])

        # Get output of formula
        predicted = float(expression.evalf())

        predictions.append(predicted)

    return predictions

Then I get prediction by using formula like that:
# Get results using symbolic formula
preds_from_kan_formula = kan_symbolic_formula_prediction(formula, X_train.to_numpy())

and here is metrics model.forward() and symbolic formula respectively:
print("MAE from formula on train data",mean_absolute_error(train_labels.numpy(),preds_from_kan_formula))
print("R2 from formula on train data",r2_score(train_labels.numpy(), preds_from_kan_formula))
MAE from formula on train data 0.15750130512335783
R2 from formula on train data -0.47894340657227064

print("MAE from model.forward() on train data",mean_absolute_error(train_labels.numpy(), train_preds.numpy()))
print("R2 from model.forward() on train data",r2_score(train_labels.numpy(), train_preds.numpy()))
MAE from model.forward() on train data 0.04164282
R2 from model.forward() on train data 0.8345471009872176

As you see symbolic formula performs badly. What do you think about it ?

Here is my full code => https://www.kaggle.com/code/seyidcemkarakas/kan-regression-graduate-admissions

Hi, since only a limited library of symbolic formulas is provided, it could be that the real symbolic formula is not supported in the library, not the formula is not symbolic at all. It might be helpful to start at the learned KAN plot a bit by calling model.plot().

Hi
It has been for a long time since this issue opening. I have rerun my codes and I am here again.
Here is the story:
I have a case => Regression case
my df contains 7 inputs and 1 output. In order to keep progress simple, I have only took first 2 columns as features.
target_column_name = "Chance of Admit "

X = df[list(df.columns.drop([target_column_name]+["Serial No."]))[0:2]]
y = df[target_column_name]

# Split whole data to train and remainings
X_train, X_temp, y_train, y_temp = train_test_split(X, y, test_size=0.2, random_state=0)

# Split remainings data to val and test
X_val, X_test, y_val, y_test = train_test_split(X_temp, y_temp, test_size=0.5, random_state=0)

# Covert data to torch tensor
train_input = torch.tensor(X_train.to_numpy(), dtype=torch.float32)
train_label = torch.tensor(y_train.to_numpy()[:, None], dtype=torch.float32)
val_input = torch.tensor(X_val.to_numpy(), dtype=torch.float32)
val_label = torch.tensor(y_val.to_numpy()[:, None], dtype=torch.float32)
test_input = torch.tensor(X_test.to_numpy(), dtype=torch.float32)
test_label = torch.tensor(y_test.to_numpy()[:, None], dtype=torch.float32)

dataset = {
    'train_input': train_input,
    'train_label': train_label,
    'val_input': val_input,
    'val_label': val_label,
    'test_input': test_input,
    'test_label': test_label
}

and I have trained my KAN model =>
# Create KAN
model = KAN(width=[len(X.columns),3,1], grid=5, k=11)

# Train KAN
results = model.train({'train_input': train_input, 'train_label': train_label, 'test_input': val_input, 'test_label': val_label},
                      opt="LBFGS", steps=50, loss_fn=torch.nn.MSELoss())

after training, simple I got performance of my model like that =>
# Predictions of train val and test datasets
test_preds = model.forward(test_input).detach()
test_labels = test_label

train_preds = model.forward(train_input).detach()
train_labels = train_label

val_preds = model.forward(val_input).detach()
val_labels = val_label

# Evaluate metrics
print("Train R2 Score:", r2_score(train_labels.numpy(), train_preds.numpy()))
print("Train MAE:", mean_absolute_error(train_labels.numpy(), train_preds.numpy()))

print("Val R2 Score:", r2_score(val_labels.numpy(), val_preds.numpy()))
print("Val MAE:", mean_absolute_error(val_labels.numpy(), val_preds.numpy()))

print("Test R2 Score:", r2_score(test_labels.numpy(), test_preds.numpy()))
print("Test MAE:", mean_absolute_error(test_labels.numpy(), test_preds.numpy()))

These are performance metrics
Train R2 Score: 0.7171265138589901
Train MAE: 0.05722126
Val R2 Score: 0.5901170704369715
Val MAE: 0.06389203
Test R2 Score: 0.686370707877747
Test MAE: 0.05353796

Now I want to plot model
model.plot(scale=2)

As you see all of the activation functions looks like ok, nothing is suspicious
Then I wanna try symbolic formulation only using x and abs
lib = ['x','abs']
model.auto_symbolic(lib=lib)

its done
#lib = ['x','x^2','x^3','x^4','exp','log','sqrt','tanh','sin','abs']
lib = ['x','abs']
model.auto_symbolic(lib=lib)
#model.auto_symbolic()

here is my formula =>
model.symbolic_formula()
([0.02*Abs(0.56*x_2 - 8.33) - 2.09], [x_1, x_2])

firstly : Why do I see only x_2 in this formula even though x_1's activation layers looks dark (not pale) ? As I know if an activation layer is pale that means this feature is not important for model. This is my first question.
Secondly:
I have created this function in order to use gicen formula.
def kan_symbolic_formula_prediction(formula, X):
    batch = X.shape[0]
    predictions = []  # Empty list for keeping predictions

    for i in range(batch):
        # Evaluation on symbolic formula on every single fow
        expression = formula
        for j in range(X.shape[1]):
            expression = expression.subs(f'x_{j+1}', X[i, j])

        # Get output of formula
        predicted = float(expression.evalf())

        predictions.append(predicted)

    return predictions

I tested manuelly to check this func works correctly
# Manuel prediction (optional)
manuel_single_inputs = [1,1]
kan_symbolic_formula_prediction(formula, pd.DataFrame([manuel_single_inputs]).to_numpy())

>>> [-1.9345999999999999]

function works correctly => Checked
and here is the remaining story =>
Still symbolic function doesnt correspond to the main model
# Get results using symbolic formula
preds_from_kan_formula = kan_symbolic_formula_prediction(formula, X_train.to_numpy())

print("MAE from formula on train data",mean_absolute_error(train_labels.numpy(),preds_from_kan_formula))
print("R2 from formula on train data",r2_score(train_labels.numpy(), preds_from_kan_formula))

>>> MAE from formula on train data 1.7811659989688393
>>> R2 from formula on train data -155.2165170931922

print("MAE from model.forward() on train data",mean_absolute_error(train_labels.numpy(), train_preds.numpy()))
print("R2 from model.forward() on train data",r2_score(train_labels.numpy(), train_preds.numpy()))

>>> MAE from model.forward() on train data 0.05722126
>>> R2 from model.forward() on train data 0.7171265138589901

What is your thoughts?

Reopening.

@KindXiaoming Hi Xiaoming. Sorry for this very low level question: I was facing somewhat the same problem, but since my input dimension is 20 (so I set the intermediate layer as width 41). When I plot the model the functions are not shown. Is there any way to view the whole plot instead of going into the figures folder and match the indices one by one?

Symbolic Formula Representation for Binary Classification Task:
I attempted to obtain a symbolic formula representation in the context of Explainable AI (XAI). The dataset details are as follows:
Task: Binary classification
Data Points: 2,095
Features: 21 (including class labels)
Imbalance Handling: SMOTE was applied to address class imbalance.
The KAN model showed good performance in predictions. However, when extracting the symbolic formula using model.symbolic_formula, the following things observed,
Accuracy of the Formula:
The formula achieved an accuracy of 0.50 on the training set and 0.84 on the test set.
Upon analysis, it is noticed  that the formula only predicts class 0.
The 50% training accuracy corresponds to predicting class 0 for half of the balanced data (due to SMOTE).
The 84% test accuracy aligns with the test set containing 84% samples labeled as class 0.
Behavior of Formula 2:
The values from Formula 2 were consistently negative across all datasets.
Because Formula 2 always produces negative values, they are always smaller than Formula 1 values, leading to predictions favoring class 0.
Any suggestions to improve the accuracy of symbolic formula would be apprecited.
Thanks in advance.


Images overlapping

As shown below:

Yep, configure grid layout presets in .streamlit/secrets.toml (used by client_app.py). My screen width is 2560 pixels wide, so the presets provided are set according to this screen width. Or uncheck the presets button and manually adjust the columns and width.

Hi @robmarkcole - I've added computed layout presets for different screen width resolutions. See the configuration section in the Readme.

Awesome thanks @asehmi


A error during downloading the datasets.

Hi, I run the download.py script but get some issues. Specifically, I receive some errors below:
Downloading .../PersonPath22/dataset/personpath22/raw_data/pixabay/lord-street-liverpool-city-28889.mp4
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x561ab69ca0c0] moov atom not found
.../PersonPath22/dataset/personpath22/raw_data/pixabay/lord-street-liverpool-city-28889.mp4: Invalid data found
when processing input
Failed to process pixabay video: lord-street-liverpool-city-28889, for uid: uid_vid_00162.mp4, exception: Command '['ffprobe', '-v
', 'error', '-select_streams', 'v', '-of', 'json', '-show_entries', 'stream=r_frame_rate', PosixPath('.../Person
Path22/dataset/personpath22/raw_data/pixabay/lord-street-liverpool-city-28889.mp4')]' returned non-zero exit status 1.

Should I care about this issue? Because this error only occurs about 6 times, the rest of the script looks fine.

I figured it out. Following the docs, I should manually download these 6 video files.


Docs: improve Flatcar section

This commit makes it more clear, that
Flatcar only faces issues on AWS EKS ENI
mode.
Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[x] Are you a user of Cilium? Please add yourself to the Users doc

This commit makes it more clear, that Flatcar only faces issues on AWS EKS ENI mode.

Sorry for the confusion, I didn't mean to accept my suggestion “as-is”: I copied the block that was coming below, because I couldn't create a suggestion on that block in the GitHub interface. But the block is not duplicated:

Please fix (and wrap the last line of the paragraph).

I'm sorry for the mess I did. Should be fine now.

Thanks!

/test


MongoError: No more documents in tailed cursor

i am getting two errors
i thought it was related to changing up to mongo 3. same thing with mongo 2.6.10 but same thing
db.on('error',function(err) {
   ^
TypeError: Object airshop has no method 'on'

but i am also seeing something worse when streaming on a tailable cursor
here is the code : https://raw.githubusercontent.com/petergdoyle/estreaming/master/node/mongo_connect/streaming_client_mongojs.js
here is the error: MongoError: No more documents in tailed cursor at Function.MongoError.create (/home/vagrant/estreaming/node/mongo_connect/node_modules/mongojs/node_modules/mongodb-core/lib/error.js:31:11) at nextFunction (/home/vagrant/estreaming/node/mongo_connect/node_modules/mongojs/node_modules/mongodb-core/lib/cursor.js:579:50) at /home/vagrant/estreaming/node/mongo_connect/node_modules/mongojs/node_modules/mongodb-core/lib/cursor.js:538:7 at queryCallback (/home/vagrant/estreaming/node/mongo_connect/node_modules/mongojs/node_modules/mongodb-core/lib/cursor.js:215:5) at Callbacks.emit (/home/vagrant/estreaming/node/mongo_connect/node_modules/mongojs/node_modules/mongodb-core/lib/topologies/server.js:94:3) at null.messageHandler (/home/vagrant/estreaming/node/mongo_connect/node_modules/mongojs/node_modules/mongodb-core/lib/topologies/server.js:235:23) at Socket. (/home/vagrant/estreaming/node/mongo_connect/node_modules/mongojs/node_modules/mongodb-core/lib/connection/connection.js:259:22) at Socket.emit (events.js:95:17) at Socket. (_stream_readable.js:765:14) at Socket.emit (events.js:92:17)
there is a fixed issues filed at mongo: https://jira.mongodb.org/browse/NODE-435
i am using mongojs-1.0.1 now, i was using 0.18.2
<EMAIL_ADDRESS>node_modules/mongojs
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

This is due to a change in the mongodb-core methods. PR #207 resolves this.

Did you ever get this to work using the latest versions?

Is the error MongoError: No more documents in tailed cursor this still an issue in latest mongojs version? Could you post some example code to reproduce the problem or send a pull request with a test?

Sure I will try and get back.
On Jul 9, 2015 1:00 AM, "Christoph Walcher"<EMAIL_ADDRESS>wrote:

Is the error MongoError: No more documents in tailed cursor this still an
issue in latest mongojs version? Could you post some example code to
reproduce the problem or send a pull request with a test?
—
Reply to this email directly or view it on GitHub
https://github.com/mafintosh/mongojs/issues/205#issuecomment-119847150.

I am still getting the issue unless I use "mongojs": "0.18.2"
/home/vagrant/estreaming/node/mongo_connect/streaming_client_mongojs.js:9
db.on('error',function(err) {
   ^
TypeError: Object airshop has no method 'on'
    at Object.<anonymous> (/home/vagrant/estreaming/node/mongo_connect/streaming_client_mongojs.js:9:4)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)
    at node.js:929:3

https://github.com/petergdoyle/estreaming/blob/master/node/mongo_connect/package.json
here is the program i am using here: https://github.com/petergdoyle/estreaming/blob/master/node/mongo_connect/streaming_client_mongojs.js
If i switch to use the latest version of mongojs, here is the dependency list that get installed (i don't need mongoose, that was what i was using before mongojs)
<EMAIL_ADDRESS>node_modules/JSONStream
├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>
<EMAIL_ADDRESS>node_modules/mongojs
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
<EMAIL_ADDRESS>node_modules/mongodb
├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
<EMAIL_ADDRESS>node_modules/mongoose
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>├──<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>└──<EMAIL_ADDRESS><EMAIL_ADDRESS>

sorry there are two issues. the one i just commented on is already being looked at... but if i take the code out to listen on events

db.on('error',function(err) {
    console.log('database error', err);
});

db.on('ready',function() {
    console.log('database connected');
});

I still get the error
/home/vagrant/estreaming/node/mongo_connect/node_modules/mongojs/node_modules/mongodb-core/lib/cursor.js:251
      throw err;
            ^
MongoError: No more documents in tailed cursor
    at Function.MongoError.create (/home/vagrant/estreaming/node/mongo_connect/node_modules/mongojs/node_modules/mongodb-core/lib/error.js:31:11)
    at /home/vagrant/estreaming/node/mongo_connect/node_modules/mongojs/node_modules/mongodb-core/lib/cursor.js:595:54
    at queryCallback (/home/vagrant/estreaming/node/mongo_connect/node_modules/mongojs/node_modules/mongodb-core/lib/wireprotocol/2_6_support.js:100:5)
    at Callbacks.emit (/home/vagrant/estreaming/node/mongo_connect/node_modules/mongojs/node_modules/mongodb-core/lib/topologies/server.js:95:3)
    at null.messageHandler (/home/vagrant/estreaming/node/mongo_connect/node_modules/mongojs/node_modules/mongodb-core/lib/topologies/server.js:246:23)
    at Socket.<anonymous> (/home/vagrant/estreaming/node/mongo_connect/node_modules/mongojs/node_modules/mongodb-core/lib/connection/connection.js:262:22)
    at Socket.emit (events.js:95:17)
    at Socket.<anonymous> (_stream_readable.js:765:14)
    at Socket.emit (events.js:92:17)
    at emitReadable_ (_stream_readable.js:427:10)

so the program looks like this now:
var mongojs = require('mongojs');
var JSONStream = require('JSONStream');

var url = 'mongodb://localhost:27017/airshop';

var db = mongojs(url, ['results']);

//or ... create a cursor and use the console command
var cursor = db.results.find({}, {}, {tailable:true, timeout:false});

// since all cursors are streams we can just listen for data
cursor.on('data', function(doc) {
    console.log(doc);
});

Thanks for your code demo. We're currently working on a solution for the first missing on functionality error. I guess the problem with tailable cursors is somewhere buried in mongodb-core. I'll file a bug report there and get back to you again.

Sorry for being lacy about the issue. Found out that tailable cursor retry has to be implemented by mongojs and has no support in mongodb-core :hankey:

Should be fixed in version 2.0 (released just some seconds ago)

Thanks!
On Dec 2, 2015 3:37 AM, "Christoph Walcher"<EMAIL_ADDRESS>wrote:

Should be fixed in version 2.0 (released just some seconds ago)
—
Reply to this email directly or view it on GitHub
https://github.com/mafintosh/mongojs/issues/205#issuecomment-161253742.


[Fix] Keyboard nav issues

This is a combination of a few things:

making the change requested in Issue #557 where we need the Enter key to be able to close the Keyboard Shortcuts Panel when open
I found that the event.key value for the spacebar key is not 'Space' at all 😳 but is either ' ' or 'Spacebar' on older browsers
Added the throttle enhancements to the DayPicker that had been made to the DateInput in Pull Request #682 (fixing Issue #514)

Coverage increased (+0.009%) to 85.533% when pulling 4465651c00767bcfbbe153d9ee1bd7d962708f2a on fix_keyboard_nav_issues into f0b6f2f99d52220c014f2f88be74722419d4ed61 on master.

I think this is a patch.  These are all just fixes, there isn't any breaking changes and nothing new really.  Now the Keyboard Shortcuts Panel will close using the Enter key where as before it was only Spacebar and Esc but that was really a miss, so I consider this fixing that not adding something new.

Coverage increased (+0.009%) to 85.533% when pulling 0cb4ea13e0073635d7cdfda12c65818d5ebe07b7 on fix_keyboard_nav_issues into f0b6f2f99d52220c014f2f88be74722419d4ed61 on master.


Add Frequently Asked Questions to docs

I've added some initial FAQs to the documentation, which we can build off of over time.
Based off of PR #329.

Coverage remained the same at 76.583% when pulling ca0345efedb84fd9108724de2b86ea78550df141 on alubbock:faq into bf80cc8633b7ee6ca2cf1309d371720279520da7 on pysb:master.

Coverage decreased (-2.03%) to 74.552% when pulling ca0345efedb84fd9108724de2b86ea78550df141 on alubbock:faq into bf80cc8633b7ee6ca2cf1309d371720279520da7 on pysb:master.


Provide Windows requirements

This event was introduced in API contract v5, but that information is not present in this document. To find out, we would have to navigate to the TextBoxBeforeTextChangingEventArgs documentation, that's not even linked from this page.
Please incorporate the Windows requirements into this (and other) event documentation (and optionally add links to the respective argument types).

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

ID: b79700e3-57c4-f7be-7149-2fbf8a2e24cf
Version Independent ID: 226ef2af-7a17-5461-6bf7-9ba7f612dd13
Content: TextBox.BeforeTextChanging Event (Windows.UI.Xaml.Controls) - Windows UWP applications
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.ui.xaml.controls.textbox.yml&version=GBlive&_a=contents
Product: uwp
Technology: winrt-reference
Git Login: jwmsft
Microsoft Alias: jimwalk

@mimisasouvanh is this tracked by any work on the engineering side?

Thanks for the feedback, @tim-weis!
I've added the cross-link you mentioned (and similar to a number of other TextBox event topics). The missing requirements info is being tracked as an engineering bug and should be fixed in the near future.


requiring fields bug

Open the following GeoForm application:

Geo Form Without Symbols
http://ess.maps.arcgis.com/home/item.html?id=663ec154e748421383a5183bca2b5c8e

Scroll down to the bottom of the form, click on the map and then press submit.  Your form entry should go through.  Without refreshing the page, try step 2 again and notice that it will fail with requiring certain fields.
Salesforce ID: BUG-000083969
Salesforce Submitter: Alexander Nohe
Salesforce Submit Date: 12/11/2014 4:52 AM
Salesforce Bug Type: Usability
Salesforce Severity: Medium
Repro Data: (n/a)
Work Around: (n/a)
Product: ArcGIS Online
Functional Category: ArcGIS Online Application Templates
Client Platform: Windows 7
Version Found: 3.5
Planned Version Fixed: (n/a)
Comment: (n/a)

I think this is because closest address has a default space in its  value at start. Then it gets cleared out. I think this should be fixed if we have that trim() bug fixed. #362

Yes, it appears this has been addressed with #362. Can you confirm @CTDisasterManagement ?

Yes @driskull this is same as #362.
First time entry is submitted because "Closet Address" has space in it.But after submission the value gets reset to EMPTY and that is the reason entry cannot be submitted.
Issue is fixed and available in Development Repository.
Thanks!

cool. i'll close this.


[curveplot] Improve *.dat export

Feedback from a user. That's not a high priority at all.
Tested with silx 2.1.1.
The dat export with multi curves is like exporting multiple scans instead of multiple curves.

Run examples/plotCurveLegendWidget.py
Export as dat
Import the dat file with pymca

Notice that there is 3 scans, and 2 counters per scans.

They would expect a single scan, with the 4 counters (3 counters + 1 axes).
BTW during the export we can notice that:
(bliss2.2) valls@lvalls:~/workspace/silx.git(fix-get-display-mode)$ python examples/plotCurveLegendWidget.py
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Qt: Session management error: None of the authentication protocols specified are supported
X ['Y'] %.7g 2 [-3.14159265 -3.14120843 -3.14082421 ...  3.14082421  3.14120843
  3.14159265] [[-0.56797773  0.67579871 -0.03870308 ... -0.52785258 -0.67234882
  -0.98853755]]
X ['Y'] %.7g 2 [-3.14159265 -3.14120843 -3.14082421 ...  3.14082421  3.14120843
  3.14159265] [[-1.22464680e-16 -3.84222170e-04 -7.68444284e-04 ...  7.68444284e-04
   3.84222170e-04  1.22464680e-16]]
X ['Y'] %.7g 2 [-3.14159265 -3.14120843 -3.14082421 ...  3.14082421  3.14120843
  3.14159265] [[-1.         -0.99999993 -0.9999997  ... -0.9999997  -0.99999993
  -1.        ]]

There is an extra print somewhere.

This part of the code hasn't changed much in the last 6/7 years, so it's a bit risky to change the behavior now...
The most recent recent change looks to be "Save error-bars when saving a plot" #3199 (from 2020...)
I guess it was saved with different scans rather than counters because it allows for each curves to have a different number of points.
What could be done is:

check that all curves have the same number of points (+ probably no error bars) and then save as a single scan... but that's kind of obscure behavior IMO
provide yet another save options that save all curves as one scan eventually clipping the curves that are longer or filling the ones that are too shorts

BTW, there is indeed a print:
+++ b/src/silx/io/utils.py
@@ -423,7 +423,6 @@ def savespec(
     ncol = data.shape[0]
     assert len(labels) == ncol

-    print(xlabel, ylabel, fmt, ncol, x_array, y_array)
     if isinstance(fmt, str) and fmt.count("%") == 1:
         full_fmt_string = "  ".join([fmt] * ncol)
     elif isinstance(fmt, (list, tuple)) and len(fmt) == ncol:

In this case maybe you can close this issue, until somebody else request that. As i said, the user will use the HDF5 reader from PyMCA anyway, and will not export anymore to .dat.
Just remove the print.

PR #4192 removes the print.
I'm closing this issue then


Bug: Incorrect StoreProduct.description

On iOS only, it looks like the StoreProduct.description api can sometimes/always return an incorrect string in the form of

<RCStoreProduct: some-hex-number>

Reported via Twitter DM.

I've been investigating this a bit. Leading theory is that StoreProduct.description is shadowing the built-in description field in Objective C (which is like toString() in Kotlin), which causes the underlying RevenueCat RCStoreProduct.localizedDescription() call to not even be made.
I think the quickest fix is to rename StoreProduct.description to StoreProduct.localizedDescription, same as in the RevenueCat iOS SDK.


remove buffer from src/hdr buffer list if the buffer is killed

Once the buffer was killed it should be removed from the list of source and header buffers; Otherwise a new call to cmake-ide-run-cmake will cause minor issues since the file is closed while trying to apply new flags.

Pull Request Test Coverage Report for Build 297

1 of 4 (25.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 68.271%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmake-ide.el
1
4
25.0%

Totals

Change from base Build 296:
-0.3%

Covered Lines:
383

Relevant Lines:
561

💛  - Coveralls

Pull Request Test Coverage Report for Build 297

1 of 4 (25.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 68.271%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmake-ide.el
1
4
25.0%

Totals

Change from base Build 296:
-0.3%

Covered Lines:
383

Relevant Lines:
561

💛  - Coveralls

Pull Request Test Coverage Report for Build 297

1 of 4 (25.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 68.271%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmake-ide.el
1
4
25.0%

Totals

Change from base Build 296:
-0.3%

Covered Lines:
383

Relevant Lines:
561

💛  - Coveralls

Pull Request Test Coverage Report for Build 297

1 of 4 (25.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 68.271%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmake-ide.el
1
4
25.0%

Totals

Change from base Build 296:
-0.3%

Covered Lines:
383

Relevant Lines:
561

💛  - Coveralls

Looks good, but could you add a test please? I don't want a regression for this to be introduced.

@atilaneves If you give me some more time I can write some test for that (maybe around late august). It could be that i need ert-async since i need to wait until cmake is successfully run

@0x17de Sure, it's your fix, so whenever you can.


Enable universal checkpoint for zero stage 1

Generalize universal checkpointing in DS:

Enable for zero stage 1
Move conversion script into DS

Tested with Megatron-DS GPT using companion PR https://github.com/microsoft/Megatron-DeepSpeed/pull/265
Fix #2921

[ ] readthedocs
[ ] Tutorial

@stas00, FYI

Amazing! Thank you for starting to work on this super-essential feature, Tunji!