Problems in IE8 with AngularJs-ie8 build

I am using the Angularjs-ie8 build (v 1.3.13) (https://github.com/fergaldoyle/angular.js-ie8-builds) as well as ocLazyLoad and some polyfills. Everything is working fine for modern browsers, but it seems that in IE8 the only event triggering is fileLoaded.
There are no errors in the console.
I apologise for the vagueness of the issue but I am pretty much lost and not as familiar as I should with ocLazyLoad (my colleagues developed this part of the app).
Any suggestions of how to debug this issue would be highly appreciated.

I'll need to try with this ie8 build, my lib should work with angular 1.2.x and IE8 (last I checked), so I'm not sure the problem is entirely in my lib.

Hi again. I am glad to say the problem is solved and it wasn't related to your library, which works fine with the special Angular build for IE8.
I am very sorry if I have made you work for nothing.
Thanks anyway for your quick response.

No problem, glad you figured it out :)


Stop depending on tunnel.HttpsOverHttpsOptions for createTunnel()

by duplicating the interface. createTunnel() is only used internally for testing.
Even though we don't exporse it in public API surface, it is causing problem requiring dependent projects to have dev dependency on @types/tunnel.

The shape of tunnel.HttpsOverHttpsOptions has been stable over the years. There's only some minor updates. Hopefully duplicating is fine?

The shape of tunnel.HttpsOverHttpsOptions has been stable over the years. There's only some minor updates.

https://github.com/DefinitelyTyped/DefinitelyTyped/commits/master/types/tunnel/index.d.ts

"public.Azure.ms-rest-js - test dependent projects" failing because the latest published version has this bug #431


Druid basic authentication class composition config

The config is an option to specify classes of user/role managers, caches and notifiers.
If a config field is specified then the corresponding class is instantiated regardless of what type of Druid component runs it.

Hmmm, integration tests failed so I believe sometimes null is expected

@leventov How about using no-op implementation instead of null? There will be no null and an AssertException. The issue with the AssertException happened because the instances are registered in Lifecycle even if they are null.


Q# New Lints Ideas/Proposals

This issue is a place to gather ideas/proposals for new lints.
Future lints:

Dead Code

Quantum Specific Lints:

Gates that are identities if they are squared.
Measure a qubit that hasn't had gates applied to it.
Don't reset qubits when it is not needed.
Operations that don't maniupalte qubits can be functions instead operations.
RCA lints.

Current Lints:

DivisionByZero
NeedlessParens
RedundantSemicolons

@orpuente-MS please assign the task to me!


Help with Assistants: How do I get a response?

What is wrong with my code here?
final _openAI = await chatGpt.OpenAI.instance.build(token: chatApiKey,baseOption: HttpSetup(receiveTimeout: const Duration(seconds: 15)),enableLog: true);
    print ('retrieves assistant...');
    final assistants = await _openAI.assistant.retrieves(assistantId: 'asst_zzzzzzzzzzzzzzz'); // GPT-4o
    //
    String useModel = assistants.name;
    print('assistants.name ${assistants.id}');

    final _request = ThreadRequest(messages: [
      {
        "role": "user",
        "content": freeText,
      },
    ]);

    final _thread = await _openAI.threads.createThread(request: _request);

    final request = CreateRun(assistantId: assistants.id);
    final response = await _openAI.threads.runs.createRun(threadId: _thread.id, request: request);
    final response2 = await _openAI.threads.runs.retrieveRun(threadId: _thread.id, runId: response.id);

    print ('response: ' + response.status);
    await Future.delayed(Duration(seconds: 5));
    print ('response2: ' + response2.status);

Thanks in advance!

@Samuramu You want create follow this flow in https://platform.openai.com/docs/assistants/overview

How can I create a run with stream the response?

How can I create a run with stream the response?

@zhiquan911 this package yet not support , run with stream.


Query like match (a:Person) return count(distinct a) has an infinite loop problem

DataSet
ldbc sf100
Problem
While the  numbers of a exceeded BaseHashTable#maxNumHashSlots , the dead loop appears in the loop outside the method AggregateHashTable::increaseSlotIdx

Hello!
May i know the query that causes the infinte loop?
Thank you!


Reconsider the name ServiceResponseSchema.

Maybe ServiceResponseMapper, or else?

Agree. I think that ServiceResponseMapper is better. Because the purpose is to create SchemaWriter (it seems that SchemaWriter is also not good so much but). But, I don't have other good candidates.

@muga Thanks. Pushed a fixing PR #30.

#30 is merged. Closing.


Set the number of receiving threads to 2, but only one seems to be working

Set the number of receiving threads to 2, but only one seems to be working. Maybe I didn't understand the principle. Please give me some advice.

Could you please provide code that can reproduce?

@qeesung  How do I make sure that both threads set up here are working? I found that only one thread is working through source debugging

Although it's not clear what your purpose is, if you want all threads of acceptGroup to be running, you can register multiple channels into acceptGroup. Like the following:
bootstrap.bind(port1).sync();
bootstrap.bind(port2).sync();
bootstrap.bind(port3).sync();

@qeesung I want two threads to listen for client connections at the same time and use the same port. But your example needs to open multiple ports. One of netty's threading models is that there are multiple receiving threads and multiple working threads.

If you only call bind one time it will only use one thread to accept connections as there is only one ServerChannel. That said the accepted connections will be distributed across the threads. If you want to accept with multiple threads on the same port you need to use SO_REUSEADDR and call bind multiple times

@normanmaurer I set up reuse as you said and called bind () twice, but there may be two problems, one of which is that serverchannel is closed, and the other is that the port is being used.

This only works with the native wool transport

@normanmaurer
That is to say, if i use NioEventLoopGroup or EpollEventLoopGruop, the receiving thread can only use one. Multithreading does not work, does it?

@brucelwl After you enable SO_REUSEADDR option, you should specify the IP address when binding, otherwise, address conflict exception will be thrown.
Like the following:
serverBootstrap.bind("<IP_ADDRESS>", 8080).sync();
serverBootstrap.bind("<IP_ADDRESS>", 8080).sync();

Use the following command to check the connection in the LISTEN state
# netstat -plnt | grep 8088
tcp6       0      0 <IP_ADDRESS>:8088          :::*                    LISTEN      115825/java
tcp6       0      0 <IP_ADDRESS>:8088      :::*                    LISTEN      115825/java

@qeesung This is not a good solution. My case is to open two threads. If I open n threads, I need to set n IP addresses on the same machine.

as @normanmaurer  said, this should not work in netty

@qeesung So how to understand netty's multi-threaded receiving connection, multi-threaded read-write threading model


Update pom.xml

Please check if the PR fulfills these requirements

[ ] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)

What is the current behavior? (You can also link to an open issue here)
The fileio family of components was removed from the build while there was a breakage with Beam 0.6.0-SNAPSHOT.  The components-api-service-rest-all-components module still depended on the jar to include in the generated docker image.  With the nexus migration, the jar is no longer available from an old (working) version.
What is the new behavior?
Temporarily remove fileio from the components-api-service-rest-all-components module until the fix is committed.
Does this PR introduce a breaking change?

[] Yes
[X] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: failure :x:


WIP | List test cases

Codecov Report

Merging #556 into master will decrease coverage by 0.07%.
The diff coverage is 42.85%.

@@             Coverage Diff              @@
##             master     #556      +/-   ##
============================================
- Coverage     79.04%   78.97%   -0.08%
  Complexity      576      576
============================================
  Files            79       79
  Lines          2157     2159       +2
  Branches        278      278
============================================
  Hits           1705     1705
- Misses          273      275       +2
  Partials        179      179


executeRecaptcha not referentially stable — mention in docs?

I've just had an issue with using executeRecaptcha, and after debugging it turned out that this function actually changes its value. The first one is essentially just a stub that throws an error, and then, when reCaptcha loads, the value is updated with the working function.
Normally this isn't a problem, but I think that many people would expect that a function returned from a hook is referentially stable, as is usually the case with other hooks. So, when used in, say, a memoized event handler, it needs to be included as a dependency, otherwise the stub version is cached. I know you're supposed to include all functions, but it would be nice to have a reminder.
Besides, you could theoretically use the stub just by calling it fast enough. The hook even returns a loaded prop that could be used to check for it, but it's not mentioned anywhere.
I think this behavior needs to be explained in the docs, together with an explanation of how to use the function correctly.
Other than that, the library works great. Thanks!

Good point, thank you 👍.
I will try to roll out a fix for this bug in a day or two.

You can test this change in the latest canary branch by calling:
npm i<EMAIL_ADDRESS>

Finally gotten around to testing this — I don't know about executeRecaptcha specifically, but I now use the loaded prop to see when it's fine to use the captcha.
I actually previously caught some errors in Sentry due to the race condition I described earlier, but since I deployed the fix alongside your new version it all seems to be working fine.

Sounds great then! 👌
I'll merge and close this ticket when I have free time.
I was actually planning to release v1.1.0 this week, so keep an eye on that as well.

Merged as part of the v1.1.0 release


[BUG] Remove-PnPFile -SiteRelativeUrl returns an error about ServerRelativePath

I just updated my powershell module from a very old version to 1.11.0 and I started getting this error when trying to remove any file.  I don't use PnP very often so it's possible I'm missing something easy.  Thanks!
Expected behavior
Successfully removing a file
Actual behavior

Steps to reproduce behavior
Remove-PnPFile -SiteRelativeUrl "$url_root/test.docx" -Force -Recycle
What is the version of the Cmdlet module you are running?
1.11.0
Which operating system/environment are you running PnP PowerShell on?

[x] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

Just realized this was a duplicate of this issue (https://github.com/pnp/powershell/issues/2099).  I rolled back to 1.10.0 and resolved my issue.


Add AmbiguousVartype exception (inheriting from ValueError)

All responses as of 0.7.x required the vartype input.


verot-client does not work in safari

When calling from verto-client, call does not connect after streaming is  success.
It work's fine in chrome and firefox.
offer SDP is not generated after stream success log.
Screenshot of console

patch is welcome.
https://www.npmjs.com/package/@xswitch/rtc?activeTab=versions is a successor which is compatible and has some improvements.


Collection#add shouldn't parse a model instance

Fixes #3636, but in a backwards compatible way.
Reverts #3644, so that it can be added to v2 release.

The diff is a bit wonky because of the revert, here's what it looks like if #3644 were never merged: https://github.com/jashkenas/backbone/compare/5ea158506ff65def13b132b30f0b0c9ecb0d31a2...jridgewell:collection-parse-v1-2-1


Np 36915 fetch journal by identifier

Np 36915 fetch journal by identifier:

Added test case and implementation for successful fetch for FetchByIdentifierAndYearHandler

Renamed classes and changed package structure to distinguish between fetchByIdentifierHandler and fetchByIdentifierAndYearHandler classes. Also to distinguish between fetch and create handlers.

Change of plans, not making lambda for fetching journal with identifier only.


TypeError: (this.$slots.default || []).filter is not a function

Hi I'm using vueJs3 and I hit below error when I use the this lib. any idea?
Clamp.js?3f87:159
Uncaught (in promise) TypeError: (this.$slots.default || []).filter is not a function
at Proxy.getText (Clamp.js?3f87:159)
at Proxy.data (Clamp.js?3f87:25)
at resolveData (runtime-core.esm-bundler.js?5c40:5771)
at applyOptions (runtime-core.esm-bundler.js?5c40:5576)
at finishComponentSetup (runtime-core.esm-bundler.js?5c40:6339)
at setupStatefulComponent (runtime-core.esm-bundler.js?5c40:6273)
at setupComponent (runtime-core.esm-bundler.js?5c40:6213)
at mountComponent (runtime-core.esm-bundler.js?5c40:3969)
at processComponent (runtime-core.esm-bundler.js?5c40:3945)
at patch (runtime-core.esm-bundler.js?5c40:3556)

This library isn’t Vue 3 compatible yet.

Thanks, anyway the doc is misleading. I saw the section for Vue 3 setup, I though it is Vue 3 compatible.
Any plan for Vue 3 support?

I saw the section for Vue 3 setup

It is Vue CLI 3.


'duration‘ not working with type: 'spring' -> defaults to ~1000ms

Thanks for this great library! I'm very excited to see it grow.
-> see the title for issue - occurs both with vanilla RN and expo.
The animation works fine but duration only works with type: 'timing'
environment:

RN 0.63.2 /<EMAIL_ADDRESS>moti 0.6.0 and reanimated-2.0.0
(expo built with the starter project (npx create-react-native-app -t with-moti))

//...
import {View as MotiView} from 'moti';

export default function App() {
    const [visible, setVisible] = useState(true);

    return (
        <Pressable onPress={()=> setVisible(prev => !prev)}>
            <MotiView
                animate={{
                    rotate: visible ? '90deg' : '0deg',
                }}
                style={{height: 30, width: 30, backgroundColor: 'darkred'}}
                transition={{
                    duration: 100,
                    type: 'spring', //works with 'timing'
                }}
            />
        </Pressable>
    );
}

Durations only work for timings. There's no concept of duration with springs. You can use the other spring configurations, such as damping and mass: https://docs.swmansion.com/react-native-reanimated/docs/next/api/withSpring/

Thanks a lot!
For anyone else looking for a solution - this is how you can pass the spring-config to moti:
<MotiView                 animate={{                     rotate: visible ? '90deg' : '0deg',                 }}                 ...                 transition={{                     damping: 6,                     mass: 0.5,                     stiffness: 200,                     type: 'spring',                 }}             />

The docs needs alot better documentation for handling transitions and props overall with moti, understanding its a built on top of reanimated 2, but something is needed that is specific to the way moti works.


[SVCS-259] Files with conflicting hash maps return oldest modified date

Purpose
Files with the same hashes all have the same dates. They have the date of the first that was uploaded.
Changes
This problem was apparently caused by the fact that files with the same hash inherit a lot of the metadata for there twin, much of the metadata is over-written with new metadata, but date modified is left out.
Side Effects
This requires another PR in waterbutler to be fully effective.
https://github.com/CenterForOpenScience/waterbutler/pull/200
Ticket
https://openscience.atlassian.net/browse/SVCS-259

I commented on the WaterButler PR that I'm not sure this is the correct fix.  We'll discuss it over there.


Add validator's precommits

precommits
height
block_id_flag
validator_address (in valconspub)
timestamp

Available at /block?height=15300000
signature field


Static Adapter not generating index.html with proper script links for GH-pages deploy

Describe the bug
I have been trying to get a portfolio using svelte to deploy to GH-pages and no matter what configuration I use in the adapter I can't get it to load the .js files on the deployed site post build. The index.html generated in the build has /_app/immutable/{generatedfile}.js as failing to load.
Reproduction
I was able to reproduce the bug with a skeleton svelte app that I added two dummy pages and only the dependencies needed to use the static adapter. I am seeing the same results. See screenshots below:
index.html generated from build

svelte.config.js

console on github pages with  js files failing to load

Logs
Logs from the build and deploy

$ npm run deploy

><EMAIL_ADDRESS>deploy
> npm run build && npx gh-pages -d ./build -t true

><EMAIL_ADDRESS>build
> rm -rf build && vite build && touch ./build/.nojekyll

(node:16408) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
vite v3.0.2 building for production...
transforming...
✓ 15 modules transformed.
rendering chunks...
.svelte-kit/output/client/manifest.json                                     1.74 KiB
.svelte-kit/output/client/_app/immutable/layout.svelte-9147df0b.js          0.53 KiB / gzip: 0.35 KiB
.svelte-kit/output/client/_app/immutable/error.svelte-7d1ddec6.js           1.56 KiB / gzip: 0.75 KiB
.svelte-kit/output/client/_app/immutable/pages/index.svelte-ba0114b5.js     0.80 KiB / gzip: 0.47 KiB
.svelte-kit/output/client/_app/immutable/pages/lib/nav.svelte-ad49efb2.js   0.81 KiB / gzip: 0.44 KiB
.svelte-kit/output/client/_app/immutable/start-cd7304e7.js                  24.22 KiB / gzip: 9.04 KiB
.svelte-kit/output/client/_app/immutable/pages/page.svelte-f5bdb174.js      0.62 KiB / gzip: 0.40 KiB
.svelte-kit/output/client/_app/immutable/chunks/index-03969575.js           6.85 KiB / gzip: 2.80 KiB
vite v3.0.2 building SSR bundle for production...
transforming...
✓ 13 modules transformed.
Generated an empty chunk: "hooks"
rendering chunks...
.svelte-kit/output/server/manifest.json                             1.50 KiB
.svelte-kit/output/server/index.js                                  76.23 KiB
.svelte-kit/output/server/entries/fallbacks/layout.svelte.js        0.25 KiB
.svelte-kit/output/server/entries/fallbacks/error.svelte.js         0.74 KiB
.svelte-kit/output/server/entries/pages/index.svelte.js             0.34 KiB
.svelte-kit/output/server/entries/pages/lib/nav.svelte.js           0.32 KiB
.svelte-kit/output/server/entries/pages/page.svelte.js              0.26 KiB
.svelte-kit/output/server/_app/immutable/chunks/index-3e01a4ca.js   2.61 KiB
.svelte-kit/output/server/_app/immutable/chunks/hooks-bced8853.js   0.00 KiB
(node:16408) ExperimentalWarning: buffer.Blob is an experimental feature. This feature could change at any time

Run npm run preview to preview your production build locally.

> Using @sveltejs/adapter-static
  Wrote site to "build"
  ✔ done
Published

System Info
System:
    OS: Windows 10 10.0.19043
    CPU: (4) x64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
    Memory: 1.62 GB / 7.81 GB
  Binaries:
    Node: 16.13.2 - C:\Program Files\nodejs\node.EXE
    npm: 8.1.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Chrome: 103.0.5060.114
    Edge: Spartan (44.19041.1266.0), Chromium (103.0.1264.62)
    Internet Explorer: 11.0.19041.1566
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.63
    @sveltejs/adapter-static: ^1.0.0-next.38 => 1.0.0-next.38
    @sveltejs/kit: next => 1.0.0-next.390
    svelte: ^3.44.0 => 3.49.0
    vite: ^3.0.0 => 3.0.2

Severity
blocking all usage of SvelteKit
Additional Information
No response

Hi, please post a link to the repo with your reproduction. Also make sure that the .nojekyll file is added correctly. It has to be present in the gh-pages branch root iirc

Yes everything I read says you need a .nojekylll, I believe I have it being added in the build step. Can't believe I forgot to link the repo. Here is the link to the reproduction: https://github.com/tmallz/SPA-build-not-adding-repo-name

The deployed site is here https://tmallz.github.io/SPA-build-not-adding-repo-name/
initial html response:
<!DOCTYPE html>

		<meta charset="utf-8" />
		<link rel="icon" href="./favicon.png" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<meta http-equiv="content-security-policy" content="">
	<link rel="modulepreload" href="/_app/immutable/start-cd7304e7.js">
	<link rel="modulepreload" href="/_app/immutable/chunks/index-03969575.js">

it looks like base is not configured correctly, it requests https://tmallz.github.io/_app/immutable/start-cd7304e7.js but the file is at https://tmallz.github.io/SPA-build-not-adding-repo-name/_app/immutable/start-cd7304e7.js
have you validated that process.env.NODE_ENV is set to production ?
There's also https://vitejs.dev/config/shared-options.html#base (should be correctly configured by sveltekit but if not that may play a role)

process.env.NODE_ENV is not set I think. I'm having the same issue with workbox and service-worker.ts.
And I upgraded Kit and Vite from 2.9 to 3 today.

So it's always building and deploying as if process.env.NODE_ENV is development and not production? I took out the dev part from the paths line and still had the issue. See screenshot below. Do I need to manually set it to prod at this point?

Sincerely I don't know. I think we should avoid to put that replacements in config files since it is so common to replace NODE_ENV...

I opened https://github.com/sveltejs/kit/issues/5682.

I added a console log to verify that the build is indeed running in production mode, and it is. (See logs below) I am still seeing the reference errors in my Index.html. Is the response in the issue opened above addressing this issue? That is my understanding.
$ npm run deploy

<EMAIL_ADDRESS>deploy
npm run build && npx gh-pages -d ./build -t true

<EMAIL_ADDRESS>build
rm -rf build && vite build && touch ./build/.nojekyll

(node:9112) ExperimentalWarning: stream/web is an experimental feature. This feature could change at any time
(Use node --trace-warnings ... to show where the warning was created)
NODE_ENV:  production
NODE_ENV:  production
vite v3.0.2 building for production...
transforming...
✓ 15 modules transformed.
rendering chunks...
.svelte-kit/output/client/manifest.json                                     1.74 KiB
.svelte-kit/output/client/_app/immutable/layout.svelte-9147df0b.js          0.53 KiB / gzip: 0.35 KiB
.svelte-kit/output/client/_app/immutable/error.svelte-7d1ddec6.js           1.56 KiB / gzip: 0.75 KiB
.svelte-kit/output/client/_app/immutable/pages/index.svelte-ba0114b5.js     0.80 KiB / gzip: 0.47 KiB
.svelte-kit/output/client/_app/immutable/pages/lib/nav.svelte-ad49efb2.js   0.81 KiB / gzip: 0.44 KiB
.svelte-kit/output/client/_app/immutable/start-4928de1a.js                  24.22 KiB / gzip: 9.04 KiB
.svelte-kit/output/client/_app/immutable/pages/page.svelte-f5bdb174.js      0.62 KiB / gzip: 0.40 KiB
.svelte-kit/output/client/_app/immutable/chunks/index-03969575.js           6.85 KiB / gzip: 2.80 KiB
vite v3.0.2 building SSR bundle for production...
transforming...
✓ 13 modules transformed.
Generated an empty chunk: "hooks"
rendering chunks...
.svelte-kit/output/server/manifest.json                             1.50 KiB
.svelte-kit/output/server/index.js                                  76.23 KiB
.svelte-kit/output/server/entries/fallbacks/layout.svelte.js        0.25 KiB
.svelte-kit/output/server/entries/fallbacks/error.svelte.js         0.74 KiB
.svelte-kit/output/server/entries/pages/index.svelte.js             0.34 KiB
.svelte-kit/output/server/entries/pages/lib/nav.svelte.js           0.32 KiB
.svelte-kit/output/server/entries/pages/page.svelte.js              0.26 KiB
.svelte-kit/output/server/_app/immutable/chunks/index-3e01a4ca.js   2.61 KiB
.svelte-kit/output/server/_app/immutable/chunks/hooks-bced8853.js   0.00 KiB
(node:9112) ExperimentalWarning: buffer.Blob is an experimental feature. This feature could change at any time
Run npm run preview to preview your production build locally.

Using @sveltejs/adapter-static
Wrote site to "build"
✔ done
Published

Hey, I ran into the same issue, until I noticed that paths is a property of kit, not config.
So instead of
config={
kit{},
paths{}
}

it has to be
config={
kit{ paths{} }
};

in your exact case it would be
const config = {
  kit: {
    adapter: adapter({
      pages: 'build',
      assets: 'build',
      fallback: 'index.html',
      trailingSlash: 'always',
      precompress: true,
    }),
    paths: {
      base: dev ? '' : '/SPA-build-not-adding-repo-name',
    },
  }
};

Check out my fork of your repo, as you can see files in /build have the correct paths and the working hosted site

Hey, I ran into the same issue, until I noticed that paths is a property of kit, not config.
So instead of
config={
kit{},
paths{}
}

it has to be
config={
kit{ paths{} }
};

in your exact case it would be
const config = {
  kit: {
    adapter: adapter({
      pages: 'build',
      assets: 'build',
      fallback: 'index.html',
      trailingSlash: 'always',
      precompress: true,
    }),
    paths: {
      base: dev ? '' : '/SPA-build-not-adding-repo-name',
    },
  }
};

Check out my fork of your repo, as you can see files in /build have the correct paths and the working hosted site

This sovled the issue for me. Thank you @p-jeff! I will close this issue now


Add documentation for functions and structures

Add documentation to functions in all the files.
The documentation should be added in header files
Documentation should be compatible with doxygen format.

Documentation added.


Add last endpoint

Addresses #650

Thanks a lot for your effort @rfink - I restarted the tests over at Travis CI and they fail when run on io.js. Would it be possible for you to run the tests locally at io.js and see what's going on so that we can merge this in? This would be awesome :+1:

Ha, forgot about iojs (I'm such a dinosaur).  Do you know what version of iojs your build runs?  I just ran it locally with 1.6.1 (via NVM) and all passed.  I'm going to download the latest right now and try again.

Just confirmed working again with iojs 2.0.2 (via NVM)

@rfink I restarted the Travis CI build again (it's running on latest io.js, so v2.0.2) and it's still failing :cry:

Bummer.  I'll pull down the latest changes from master, merge them, and try again.

ping @rfink - did you have some time to check this?

Hey herom, I tried this locally a few times over the weekend, including in a fresh docker environment, and I've been unable to reproduce the errors.  I'm not really sure what's happening, these errors don't look to be related to the change, although I'm unable to verify.  What's your suggestion?

Never mind, I had to restart the tests several (more than 10x) times over at Travis CI, now the tests pass... let's see how long it takes when it gets merged in :smile_cat:

Hey, sounds great.  I've had a few issues with Travis CI as well recently.  Thanks again!


Compiler crashes with Cannot read property 'kind' of undefined

TypeScript Version:
Tested on both 3.2.2 & 3.4.0-dev.20190131
Search Terms:
Cannot read property 'kind' of undefined
Code
Got reduced the error down to this: When there are 2 files in compilation, and other contains some command, but isn't called, whole TypeScript compiler crashes on an exception.
HistTest.zip
Extract attached zip file to the directory, run "npm install" and then "webpack"
Expected behavior:
Either clear error what went wrong or a successful compilation.
Actual behavior:
Webpack throws an exception:
TypeError: Cannot read property 'kind' of undefined
at Object.isBinaryExpression (c:....\node_modules\typescript\lib\typescript.js:13389:21)
at getTypeReferenceTypeWorker (c:....\node_modules\typescript\lib\typescript.js:38553:51)
Related Issues:
#29365
#28810

Don't know if is the same cause, but I'm having the same error with the following code that, although is weird, tsc is not emitting any diagnostics and it crash without stacktrace (was able to get a stacktrace with ts-node).

class C<S> {
  a={}
  m(s: S) {
    const b = { ...this.a, ...s } = {   }
  }
}

class C<S> {
  a={}
  m(s: S) {
    const b = { ...this.a, ...s } = {   }
  }
}

My two cents, keep it up

@cancerberoSgx your issue is actually #29610 already reported and unrelated to this issue. Thanks.

Duplicate of  #28810 which already has PR #29339


Migration in different assembly than target assembly not happening 2nd time

Hi,
When I am trying to apply migrations 2nd time its not happening. I followed both the steps. However, in this migration, I am just trying to apply data-constraints on my both movie and moviereview classes. It gives me following error.

Source code is also available on git, you can check the same @ https://github.com/rahulsahay19/MovieReviewSPA-NG4
I tried my 2nd migration with below annotations on the class. Also, I am using Visual Studio 2017.
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace MovieReviewSPA.Model
{
    public class Movie
    {
        public int Id { get; set; }
        [Required]
        [StringLength(255)]
        public string MovieName { get; set; }
        [Required]
        [StringLength(255)]
        public string DirectorName { get; set; }
        [Required]
        [StringLength(10)]
        public string ReleaseYear { get; set; }
        public virtual ICollection<MovieReview> Reviews { get; set; }

    }
}

and
using System.ComponentModel.DataAnnotations;

namespace MovieReviewSPA.Model
{
    public class MovieReview
    {
        public int Id { get; set; }
        [Required]
        [StringLength(255)]
        public string ReviewerName { get; set; }
        [Required]
        [StringLength(500)]
        public string ReviewerComments { get; set; }
        [Required]
        public int ReviewerRating { get; set; }
        public int MovieId { get; set; }

    }
}

Thanks,
Rahul

Try to set --project and --startup-project when running the command, like this
dotnet ef --project ../MovieReviewSPA.Data --startup-project . <migrations add, database update, etc>


Bundle product price is presented without the tax

The product page - price is Net = 73:

In micro cart - we do have the price with tax (23%)

Acceptance criteria

[ ] Tax should be applied on the Bundle product page

To check: https://github.com/DivanteLtd/vue-storefront/blob/813857a51219cf0467bf5d437493630c12819d26/core/pages/Product.js#L142

It may be related to the issue we've discovered with the mage2vuestorefront: https://github.com/DivanteLtd/mage2vuestorefront/blob/ada7a243245597bd7634bbdfbb338307998f499d/src/adapters/magento/product.js#L103

On develop branch I get the same price on product page as in shopping cart

OK, seems like sth is wrong with my config then :/ Closing for now


However flickering related issues seem to have been fixed

Not seeing any regressions on subsurfaces

cool

I'm still getting problems with this
Sometimes it works perfect, sometimes some context menus dont get updated when hovered (highlight)
Sometimes context menus works perfectly but extension popups in firefox dont update (hightlight and text cursor)

are you on latest git

Im on rewrite-constraints which i assume you rebased
Im gonna test on main

https://github.com/hyprwm/Hyprland/assets/6665402/3216fd5d-06c8-4c20-8924-037c35d6a5ea

oops

I get the same issue in firefox but not firefox developer edition (beta)
maybe it's a ff bug?

We're running into an regression with wvkbd on the latest git main HEAD, which I think may be due to this merge. So I'll comment here (if you prefer a new issue, let me know). Keypresses on our virtual keyboard present a small popup which worked fine on Hyprland <= 0.36.0 (and other compositors) but now fail.
Please see https://github.com/jjsullivan5196/wvkbd/issues/65 for further details.

wrong commit but ye


Add the neuron JSON Schema

Thought this was the best way to proceed - we can generate a form directly from it using something like https://rjsf-team.github.io/react-jsonschema-form/. Does the schema look about right for the required parameters? (I haven't added REGEX yet... but it's not particularly essential for now)

All very valid points... no surprises really. My issue is that I'm still not very familiar with the workings of GeNN; I'll have a good read of the documentation. Also not quite sure of the C++/Python differences in implementation, and I guess some of the properties are redundant for that. Can't quite understand the need additional variables/parameters in the Py version though.

Jamie will bring more clarity - some of the additional stuff  was introduced by him while I was too busy to do a proper code review. So I have a number of blind spots where I am less informed than the  users ...

All fixed up in new commit...


Channel list funky on mobile because of icons

Fixed here: https://github.com/chrisbenincasa/tunarr/pull/443


Loading Large Dataset

My Epg Data is huge 21 MB in room database, can u help by pointing out any path to load data in program guide effciently. @oleksandrbalan  , my app depends largly on this library.

Hi, As this library is structured, it is difficult to handle very large datasets because you need to load all the events beforehand. I am developing a library specifically for this purpose and it can handle as large datasets as you want. I have tested it with 300K+ events.  I appreciate your feedback to improve the library https://github.com/sajidalidev/compose-epg-viewer/tree/develop


Add choice to print fan speed percentage

Adds an option to print the current fan speed percentage:
$ fw-fanctrl print speed
23%

Turns out adding the percentage was pretty trivial since the FanController holds this state. Printing the current RPM is slightly more complex since it needs to be retrieved from the hardware controller, and can be ambiguous on how to handle the case of multiple fans. But just getting the percentage satisfies my original use case
Closes #74

Sure! Would that be to edit the help argument on the printCommand.add_argument? I'm looking at the docs for choices and I'm not seeing a way to specify a description for each choice

Yes, sadly there is no other option than editing the global help.
The parser already have the RawTextHelpFormatter formatter class, so you should be able to use \n to create new lines.

With c08e559 the output looks like this
positional arguments:
  {current,list,speed}  current - The current strategy
                        list - List available strategies
                        speed - The current fan speed percentage


Generic tracker API

As a user / integrator I want to be able to add or remove tracking system.
Acceptance criteria

Tracker can be added when creating a MediaItem
Trackers are "active" when the media item it is attached to is current for the player.

Tasks

[ ] Tracker interface
[ ] Current item tracking
[ ] Tracker activation

Previous PoC assume that the MediaItem can't be changed during Playback and it is strongly linked to this assumption.
Indeed the idea is to instantiate Tracker with MediaItem. But to change MediaItem during playback we have to re create one (MediaItem is immutable).

Do we need to stop and start tracking session when 2 items with same mediaId and media uri are in the playlist ?
Playlist[item1(urn1,url1), item2(urn1,url1)...]

Even if the item is the same, if it's repeat itself whatever the reason, a new tracking session have to be started.
Restart a MediaItemTracker sessions when:

Same MediaItem is playing with reason REPEAT.
Seek to next or previous item that is the same.


Votes one day count to explore

Fixes #114

 Add field "1d_votes"

@ChaituVR Can you also get total votes since space creation?

Getting unique votes for the last one day works, getting all votes count (nonunique) works, but SQL is not able to get unique + all votes (i takes so much time and fails) tried many ways but no luck,
if this metric is not that important and just for sorting we can use nonunique
unique =  votes having same proposal and same voter
or any other ideas that can help?

This is not needed anymore for #127


Contracts deployed with truffle can't be verified

@tomasienrbc reported that if he deploys a contract with Truffle he can't verify it in etherscan with the output of truffle-flattener.

Absolutely! Actually, any example will work. The output of the truffle-flattener command is never the same bytecode as Truffle produces from what I can tell because there is additional "file" commands and spacing added in truffle-flattener that Truffle does not add in its compiler. The compiler should ignore spacing and comments but it doesn't.
Have you been able to to verify contracts using Truffle-Flattener? I suppose it's possible I'm doing something wrong but so far I haven't been able to make it work.

My solution has been to use truffle-flattener to flatten the contract and just add a new file with that Solidity code, then deploy that. That's the best I could come up with.

I can reproduce it. I don't use truffle migrate normally, but I want truffle-flattener to work with it too. Thanks for reporting this.

Ah! Makes sense.

I'm also in need of this feature since solidity-flattener is not working with oraclize contracts. Have you been working on this @alcuadrado ?

@haggins this is a known limitation. I recommend flattening the contracts before deploying them. If you have already deployed them you can use solidity-flattener.
I'm closing this issue as I have no intention to fix it, as it's not possible within a reasonable time. solidity-flattener uses a binary solc installation, which has some features that aren't exposed in solc-js.


Fixto disables scrolling on latest Chrome (Windows Only)

Somehow, when I visit my website with Chrome 61.0.3163.91 on Windows 10, I can't scroll (with my mouse scroll wheel) after fixto is loaded. When I disable fixto, scrolling works again. Tried the version 0.3.0 and 0.5.0 but same problem.
I don't have this problem on any other browser on Windows, and also not on Chrome on Mac.
Disabled Chrome extensions and tried in Incognito.
My domain is: https://3dscanexpert.com/
Any ideas?

Hello,
I checked it in a virtual machine, with trackpad (didn't have mouse wheel) and i was not able to reproduce. Chrome 61.0.3163.91 on windows.

I found the solution.
After removing this code from another script on my website, scrolling
worked again:
if ( ! $('body').hasClass('osx') ) { // disable for mac
$('body').smoothScroll();
}
So that might interfere with fixto.
On 27 September 2017 at 00:44, Burak Barakaci<EMAIL_ADDRESS>wrote:

Hello,
I checked it in a virtual machine, with trackpad (didn't have mouse wheel)
and i was not able to reproduce. Chrome 61.0.3163.91 on windows.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bbarakaci/fixto/issues/52#issuecomment-332357660, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATdCpLdfChEp2J4XuijpJrfH1Rt0vXH4ks5smX5egaJpZM4Pd7LM
.


[BUG] Regression: 0.14.3 causes grad_norm to be zero

Describe the bug
When I upgrade to DeepSpeed 0.14.3, training does not progress because all gradients and gradient norms are zero. From using git bisect, I think it's from this PR:
https://github.com/microsoft/DeepSpeed/pull/5613
but this was annoying to debug, because something else in 0.14.3 seems to be causing stochastic segfaulting during the first training step, and that made it hard to trace. (FWIW, here's a log from the segfaults, not sure what's going on there - it always happens during the first step of training)
[860301:1]:[860dbb3d-01:575573:0:579475] Caught signal 11 (Segmentation fault: invalid permissions for mapped obje\
ct at address 0x148186426110)
[860301:1]:==== backtrace (tid: 579475) ====
[860301:1]: 0 0x0000000000042520 __sigaction()  ???:0
[860301:1]: 1 0x00000000000b2e00 ucp_wireup_get_dst_rsc_indices()  /build-result/src/hpcx-v2.17.1-gcc-mlnx_ofed-ub\
untu22.04-cuda12-x86_64/ucx-02432d35d8228f44e9a3b809964cccdebc45703a/src/ucp/wireup/wireup.c:1369
[860301:1]:=================================
W0621 08:08:30.041000<PHONE_NUMBER>7648 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 575572 \
closing signal SIGTERM
W0621 08:08:30.043000<PHONE_NUMBER>7648 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 575574 \
closing signal SIGTERM
W0621 08:08:30.045000<PHONE_NUMBER>7648 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 575575 \
closing signal SIGTERM
W0621 08:08:30.047000<PHONE_NUMBER>7648 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 575576 \
closing signal SIGTERM
W0621 08:08:30.062000<PHONE_NUMBER>7648 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 575577 \
closing signal SIGTERM
W0621 08:08:30.067000<PHONE_NUMBER>7648 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 575578 \
closing signal SIGTERM
W0621 08:08:30.068000<PHONE_NUMBER>7648 torch/distributed/elastic/multiprocessing/api.py:858] Sending process 575579 \
closing signal SIGTERM
[860301:6]:[rank6]:W0621 08:08:30.113000<PHONE_NUMBER>2096 torch/_inductor/compile_worker/subproc_pool.py:126] Subpro\
cPool unclean exit
[860301:3]:[rank3]:W0621 08:08:30.105000<PHONE_NUMBER>4368 torch/_inductor/compile_worker/subproc_pool.py:126] Subpro\
cPool unclean exit
[860301:0]:[rank0]:W0621 08:08:30.102000<PHONE_NUMBER>8528 torch/_inductor/compile_worker/subproc_pool.py:126] Subpro\
cPool unclean exit

To Reproduce
Unfortunately, this may be tricky to reproduce, but I'm fine-tuning Llama-3-70B-Instruct on two 8x H100 machines, using DeepSpeed/HF Transformers/Accelerate/PyTorch/NCCL/Ubuntu 22.04. I'm not trying to use torch.compile (too many bugs), but there's a bunch of Triton code in the pipeline for speed reasons, which might be why torch/_inductor/compile_worker is running (?).
ds_report output
/home/alyssavance/miniforge3/envs/brr/bin/ds_report:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pyp\
a.io/en/latest/pkg_resources.html
  __import__('pkg_resources').require('deepspeed==0.14.3+fbdf0eaf')
[2024-06-21 08:52:55,080] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect)
Warning: The default cache directory for DeepSpeed Triton autotune, /home/alyssavance/.triton/autotune, appears to be on an NFS system. Whil\
e this is generally acceptable, if you experience slowdowns or hanging when DeepSpeed exits, it is recommended to set the TRITON_CACHE_DIR e\
nvironment variable to a non-NFS path.
[2024-06-21 08:52:55,564] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect)
/home/alyssavance/DeepSpeed/deepspeed/runtime/zero/linear.py:49: FutureWarning: `torch.cuda.amp.custom_fwd(args...)` is deprecated. Please u\
se `torch.amp.custom_fwd(args..., device_type='cuda')` instead.
  def forward(ctx, input, weight, bias=None):
/home/alyssavance/DeepSpeed/deepspeed/runtime/zero/linear.py:67: FutureWarning: `torch.cuda.amp.custom_bwd(args...)` is deprecated. Please u\
se `torch.amp.custom_bwd(args..., device_type='cuda')` instead.
  def backward(ctx, grad_output):
^[[93m [WARNING] ^[[0m Please specify the CUTLASS repo directory as environment variable $CUTLASS_PATH
^[[93m [WARNING] ^[[0m sparse_attn requires a torch version >= 1.5 and < 2.0 but detected 2.4
^[[93m [WARNING] ^[[0m using untested triton version (3.0.0+45fff310c8), only 1.0.0 is known to be compatible
--------------------------------------------------
DeepSpeed C++/CUDA extension op report
--------------------------------------------------
NOTE: Ops not installed will be just-in-time (JIT) compiled at
      runtime if needed. Op compatibility means that your system
      meet the required dependencies to JIT install the op.
--------------------------------------------------
JIT compiled ops requires ninja
ninja .................. ^[[92m[OKAY]^[[0m
--------------------------------------------------
op name ................ installed .. compatible
--------------------------------------------------
async_io ............... ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
fused_adam ............. ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
cpu_adam ............... ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
cpu_adagrad ............ ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
cpu_lion ............... ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
^[[93m [WARNING] ^[[0m Please specify the CUTLASS repo directory as environment variable $CUTLASS_PATH
evoformer_attn ......... ^[[93m[NO]^[[0m ....... ^[[93m[NO]^[[0m
fp_quantizer ........... ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
fused_lamb ............. ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
fused_lion ............. ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
inference_core_ops ..... ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
cutlass_ops ............ ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
transformer_inference .. ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
quantizer .............. ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
ragged_device_ops ...... ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
ragged_ops ............. ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
random_ltd ............. ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
^[[93m [WARNING] ^[[0m sparse_attn requires a torch version >= 1.5 and < 2.0 but detected 2.4
^[[93m [WARNING] ^[[0m using untested triton version (3.0.0+45fff310c8), only 1.0.0 is known to be compatible
sparse_attn ............ ^[[93m[NO]^[[0m ....... ^[[93m[NO]^[[0m
spatial_inference ...... ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
transformer ............ ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
stochastic_transformer . ^[[93m[NO]^[[0m ....... ^[[92m[OKAY]^[[0m
--------------------------------------------------
DeepSpeed general environment info:
torch install path ............... ['/home/alyssavance/miniforge3/envs/brr/lib/python3.10/site-packages/torch']
torch version .................... 2.4.0.dev20240609+cu124
deepspeed install path ........... ['/home/alyssavance/DeepSpeed/deepspeed']
deepspeed info ................... 0.14.3+fbdf0eaf, fbdf0eaf, HEAD
torch cuda version ............... 12.4
torch hip version ................ None
nvcc version ..................... 12.5
deepspeed wheel compiled w. ...... torch 2.4, cuda 12.4
shared memory (/dev/shm) size .... 1007.73 GB

System info (please complete the following information):

OS: Ubuntu 22.04
GPU count and types: Two machines with x8 H100s each
Interconnects (if applicable): Two machines connected with 3.2 Tbps Infiniband over Mellanox Ethernet (RoCE)
Python version: 3.10
Any other relevant info about your setup

Launcher context
I'm using the HF Accelerate launcher
Docker context
N/A
Additional context
There's also stochastic NCCL deadlocking, which is really annoying but I haven't found the cause of it.

@mmhab, FYI

Hi @rosario-purple, few questions:

What is your DeepSpeed configuration?
Have you tried to revert the suspicious PR (#5613) and run without it? When you revert this PR, does the run completed successfully?
Do you use triton? Did you try disabling it?


add first nav, last nav

Please make sure these boxes are checked before submitting your PR, thank you!

[x] Make sure you follow Element's contributing guide (中文 | English).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

支持第一页 最后一页

感谢贡献。
pager 中的第一页和最后一页在任何情况下都是可见的，直接点击数字就可以，所以不会再加入额外的按钮。


AirbrakeAppender should not keep lock while waiting for response from remote server

Hi
Today we notice huge issue on our production servers. We spend two days to analize it and we found out that AirbrakeAppender holds lock in org.apache.log4j.Category.callAppenders(Category.java:205). We are using log4j 1.2.16 and it cannot be updated, so until its fixed we have to disable Airbrake on all our systems

Hopefully fixed in https://github.com/airbrake/javabrake


RegExp accepts invalid pattern '[^]'

This results in a single character match for every token, but it should probably raise an exception in the constructor.
void main() async {
  final r = RegExp('[^]');
  for (final x in r.allMatches('this is a string')) {
    print('${x.start} : ${x.end}');
  }
}

-->

0 : 1
1 : 2
2 : 3
3 : 4
4 : 5
5 : 6
6 : 7
7 : 8
8 : 9
9 : 10
10 : 11
11 : 12
12 : 13
13 : 14
14 : 15
15 : 16

Why do you consider this to be an invalid pattern? It's an inversion of the empty character range - which means it includes all characters.
Dart follows ECMAScript grammar for regular expressions, which indeed permits such expression, see here
CharacterClass ::
   [[lookahead ∉ { ^ }] ClassRanges ]
   [ ^ ClassRanges ]
ClassRanges ::
    [empty]
    NonemptyClassRanges

Apologies, thanks for the clarification.


Fix assets path for index.js query

Signed-off-by: Alex Bain (Level 5 US)/Alex　Bain<EMAIL_ADDRESS>TL;DR
Fix the assets path for index.js query to Flyte Admin. Without this change, my /console queries back to  https://avflyteconsole.scratch-alexbain.dev.l5.woven-planet.tech/api/v1/projects. With this change, /console queries to the Flyte Admin HTTP interface https://avflyteadminhttp.scratch-alexbain.dev.l5.woven-planet.tech/api/v1/projects instead. Other pages (e.g. /console/projects/avexampleworkflows/workflows) already queried to the Flyte Admin HTTP interface even without the change.
Since I am not a web developer and am not familiar with Flyte Console's codebase, it is not clear to me what is the correct behavior. At first, I thought that Flyte Console was removing its calls to Flyte Admin's HTTP interface and replacing them with its own gRPC calls. However, now I am not sure exactly what is the intended behavior. I just know this seems to fix my /console page for my Flyte Console.
Please see the thread https://flyte-org.slack.com/archives/CNMKCU6FR/p1650238772723579 for a full discussion of this issue.
TESTING:

This change is made on top of v0.54.0. Tested successfully by deploying the fixed Flyte Console in my test EKS cluster with other Flyte v0.19.4 component versions (for Flyte Admin, Propeller, etc).

Type

[x] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Smoke tested
[ ] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

PTAL @anrusina You'll have to tell me why this change works lol

I talked with the Flyte team and they are working on a different solution for this problem.


LUCENE-10598: Use count to record docValueCount similar to SortedNumericDocValues did

Add a count used to record docValueCount in Lucene80DocValuesProducer#getSortedSet, similar to what SortedNumericDocValues did.

Maybe also improve CheckIndex to verify that the count is still good after iterating over all values? Note that you will need to make the same change to Lucene70DocValuesProducer when backporting to branch_9x.

Note that you will need to make the same change to Lucene70DocValuesProducer when backporting to branch_9x

Thanks for your note.


clarification dataset

Hi, sorry for the trivial questions.
How can I find the labels for the train sets FB13 and WN11? I don't understand if they are one negative and one positive line each in a safe way. About WN11 what mean the numbers at the end of the entities?
And for the triple classification task, with dev dataset do you mean the val dataset?
So train -> train ; dev -> val ; test -> test?
Thank you.

@isabeauoliveri
Hi, all the triples in train.tsv of WN11 and FB13 are positive triples, negative triples are generated by negative sampling of training process.
Yes, train -> train ; dev -> val ; test -> test


Update Bundler and Migrate to Licensed v2

This PR updates bundler to latest version (licensed already supports Bundler 2.x)
I, @lildude, have extended on this PR, thanks @sheerun 🙇
The switch to Bundler 2 pulls in the latest version of Licensed which now has support for Git submodules. This means we no longer need to maintain our own method of caching the grammar licenses.
With this update, I've taken this opportunity to migrate our cached licenses to the new yaml format and location natively supported by Licensed v2 and have removed our old script in favour of calling licensed directly.

Ooo. I missed Licensed now uses Bundler 2. I also see it's come on a long way since we implemented it and I think we can now get rid of our custom license caching etc. We need to make changes to get the test passing any way.
Do you mind if I push the license-related changes to this PR?

not at all :)

Thanks @sheerun. I've pushed my changes and updated the title and OP.
@Alhadis & @pchaigno this PR is massive only because of the migration of all the license files from vendor/licenses/grammar/*.txt to vendor/licenses/git_submodule/*.dep.yml. The other changes are quite small.

I'll try it out soon-ish. Could you offer your thoughts on this in the meantime? I'd prefer to know sooner rather than later whether my suggested approach will suffice, or a different one is needed. 😉

Unable to reliably test this locally (it installed Bundler 1.x anyway), so I'm blindly assuming it works as intended. 😉

It shouldn't be installing Bundler as you can't use Bundler to install Bundler 😉 . It should use the version of Bundler already installed, provided it's any version 1.10 or later - this is the primary change. So if you've got 1.17.2 installed, it'll use that:
$ gem list bundler

*** LOCAL GEMS ***

bundler (default: 1.17.2)
$ script/bootstrap
You are replacing the current local value of path, which is currently nil
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 13.0.1
Installing rake 13.0.1
Fetching public_suffix 4.0.5
Installing public_suffix 4.0.5
Fetching addressable 2.7.0
Installing addressable 2.7.0
Using bundler 1.17.2   <------ 👀
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
[...]

If you've got 2.1.4 or both, it'll use the newer:
$ gem install bundler -v 2.1.4
Fetching bundler-2.1.4.gem
Successfully installed bundler-2.1.4
1 gem installed
$ gem list bundler

*** LOCAL GEMS ***

bundler (2.1.4, default: 1.17.2)
$ script/bootstrap
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Fetching rake 13.0.1
Installing rake 13.0.1
Fetching public_suffix 4.0.5
Installing public_suffix 4.0.5
Fetching addressable 2.7.0
Installing addressable 2.7.0
Using bundler 2.1.4   <------ 👀
Fetching byebug 11.1.3
Installing byebug 11.1.3 with native extensions
[...]

If we switch back to master with both versions installed:
$ git checkout master
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
$ gem list bundler

*** LOCAL GEMS ***

bundler (2.1.4, default: 1.17.2)
$ script/bootstrap
Fetching gem metadata from https://rubygems.org/.......
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Bundler could not find compatible versions for gem "bundler":
  In Gemfile:
    bundler (~> 1.10)

  Current Bundler version:
    bundler (2.1.4)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?

Could not find gem 'bundler (~> 1.10)' in any of the relevant sources:
  the local ruby installation
$

Ultimately, this is the big change:
-  s.add_development_dependency 'bundler', '~> 1.10'
+  s.add_development_dependency 'bundler', '>= 1.10'

I'll update the title to better reflect this.


add windows support

systeminformation doesn't work on windows :(

Well that's not too good 😅

Is not easy to get all this information from Windows platform, at least many of the native Node.js tools doesn't work properly on Windows.

Yeah.. I figured.. 😝

This looks extremely promising, though!

can you add notes that this plugin doesnt work on windows. I spent a couple hours until I found this

Yes please add on the top of the README that this is not supported on Windows.

..Works fine for me, with the exception of RAM info.

For me some times works and other times doesn't

systeminformation works (sort of) on windows. I'd close this issue and any problems on windows should directed to the systeminformation issues.

Continually throws following error in Windows 10:
Uncaught Error: Command failed: route get <IP_ADDRESS> 2>/dev/null | grep interface: | awk '{print $2}'
The system cannot find the path specified.

It is surprising to see this issue.
Hyperline has been working almost perfectly for me.
Only issue I have is that the network info is always at 0kB/s, but the ram, uptime, CPU and battery indicators work.

@kamisamamizu 💯 nice

It seems to work for me, but I have two freaking scrollbars all the time.
By the way, the little dancing bird and the spotify icon are normal?


1.29 release

r? @ashleygwilliams
(rust_highfive has picked a reviewer for you, use r? to override)


The ways to set instrumentation key behaves differently.

I have an Azure function, and integrated with app insights. I found that use different way to set ikey, it behaves differently.

use TelemetryClient telemetryClient = new TelemetryClient(new TelemetryConfiguration{InstrumentationKey ="your_key"}); , then no operation_id appears in app insights(no this item operation_id in app insights).

if use TelemetryClient telemetryClient = new TelemetryClient() { InstrumentationKey = "your_key" };, then the operation_id appears in app insights in azure portal.

so could somebody let me know what's the difference between them? thanks.
My sample code is as below:
public static class Function1
   {

       private static TelemetryClient telemetryClient = new TelemetryClient() { InstrumentationKey = "your_key" };  // the operation_id appears in app insight

// **the following way, no operation_id appears**
//     private static TelemetryClient telemetryClient = new TelemetryClient(
//     new Microsoft.ApplicationInsights.Extensibility.TelemetryConfiguration
//     {
//       InstrumentationKey = "your_key";
//     });

       [FunctionName("Function2")]
       public static HttpResponseMessage Run([HttpTrigger(AuthorizationLevel.Anonymous, "get", Route = null)]HttpRequestMessage req)
       {
           RequestTelemetry requestTelemetry = new RequestTelemetry { Name = "Function211" };
           var operation = telemetryClient.StartOperation(requestTelemetry);

           telemetryClient.TrackTrace("trace message 111", SeverityLevel.Error);
           telemetryClient.TrackException(new System.Exception("My custom exception 111"));

           operation.Telemetry.Success = true;
           telemetryClient.StopOperation(operation);

           return req.CreateResponse(HttpStatusCode.OK, "Hello ");
       }
   }

and I submitted an issue  before, it's also related to the ways to set ikey. I think somebody should point out the difference between them.

This sounds related to #826

I'm closing this ticket as out of date.
If you're still having issues, please reopen.


Appstudio update test-component-pac-kkcx

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-kkcx-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
21 seconds
clone-repository

✅ Succeeded
49 seconds
build-container

✅ Succeeded
23 seconds
deprecated-base-image-check

✅ Succeeded
20 seconds
sanity-inspect-image

✅ Succeeded
52 seconds
clamav-scan

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
14 seconds
sbom-json-check

✅ Succeeded
13 seconds
sanity-optional-label-check

✅ Succeeded
13 seconds
sanity-label-check

✅ Succeeded
9 seconds
show-summary

Pipelines as Code CI/test-component-pac-kkcx-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
21 seconds
clone-repository

✅ Succeeded
49 seconds
build-container

✅ Succeeded
23 seconds
deprecated-base-image-check

✅ Succeeded
20 seconds
sanity-inspect-image

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
52 seconds
clamav-scan

✅ Succeeded
14 seconds
sbom-json-check

✅ Succeeded
13 seconds
sanity-optional-label-check

✅ Succeeded
13 seconds
sanity-label-check

✅ Succeeded
9 seconds
show-summary

Pipelines as Code CI/test-component-pac-kkcx-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
5 seconds
init

✅ Succeeded
19 seconds
clone-repository

✅ Succeeded
30 seconds
build-container

✅ Succeeded
10 seconds
deprecated-base-image-check

✅ Succeeded
11 seconds
sanity-inspect-image

✅ Succeeded
9 seconds
clair-scan

✅ Succeeded
36 seconds
clamav-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
17 seconds
sanity-label-check

✅ Succeeded
16 seconds
sanity-optional-label-check

✅ Succeeded
5 seconds
show-summary


update: info command -> support Source-Registry.

This PR updates the ksync info-Command with the support of the KYVE Source-Registry instead of a static JSON-File.

Maybe just an idea to improve the information desplayed in the info command:


native SQL queries

We need these.

Uff, sorry @DavideD, I did not see that you had assigned this issue to yourself .... I hope you weren't actively working on it!

It's OK, just keep in mind that Gail is working on the support for parameters.

just keep in mind that Gail is working on the support for parameters.

Yes, I was deliberately not touching that.


game crashing instantly 1.17

when i start my game i get an instant code 0
mods used:
BetterThirdPerson - Fabric - 1.17 - 1.5.0
cr-compass-ribbon-fabric-2.7.2+1.17
WI-Zoom-1.3-MC1.17.jar
tweakeroo-fabric-1.17.0-0.10.0-dev.20210608.211857.jar
preview_OptiFine_1.17_HD_U_G9_pre20.jar
OptiFabric-v1.11.1
Mod Menu v2.0.2 for 1.17
minihud-fabric-1.17.0-0.19.0-dev.20210609.185508.jar
malilib-fabric-1.17.0-0.10.0-dev.22+beta.1.jar
FancyMenu [Fabric] v2.1.1 MC 1.17

idk what else to write
so
here is a screenshot i guess

latest.log

i guess some of the mods are incompatible

Maybe at least a log would help :)
Please send me your latest.log file, located at .minecraft/logs/latest.log.
Oh and there’s no Konkrete in your mod list. If that’s not a mistake, then it’s probably crashing because you don’t have all dependencies for FM.

ok https://github.com/Keksuccino/Konkrete/issues/2#:~:text=2 minutes ago-,latest.log,-Author here is the log btw

ouuf the link didnt work

i just added konkrete but its still crashing
latest.log
here is the newest log...

Oh, yeah I'm using GDlauncher, but I tried it with the normal one and it still crashed...

Please try to load the game with only FancyMenu, Konkrete and Fabric API.

ok ill try
one sec

mods.zip
here are all my mods if that helps...

game is starting

everything works without all the other mods

Well, then it’s a mod conflict. You need to check which one is incompatible and remove either FM or the other mod :D And please tell me which mod it is if you find it, so I can add it to the incompatibility list! :)

ok
thanks ill have fun checking that :\

its optifine :C

whyyyy

Because nobody uses Optifine in fabric, I think? :D There are enough alternatives you can try. But did you tried to load your mod setup without FM and Konkrete? It is working without these, right?

ye

i have played a lot with them

Okay, that’s good :) Well, I’m sorry, but you need to find an Optifine alternative or remove FM + dependencies to fix that. I don’t think I will fix Optifine incompatibilities on Fabric, because there’s no reason to even use that mod on Fabric, sorry..

wont*

and i already found one so everything is fine

wont*

?

!

Yeah, I don’t think I will fix them for Fabric, because there aren’t enough OptiFabric users.
Second: It’s just so rude to try correcting people you asked for help. I hate that.


Example doesn't return context.Succeed

First example in section "Create owner, manager, and administrator authorization handlers" never returns context.Succeed() but only executes it even though the description under it says it should.

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

ID: b66f8ffa-699c-8b11-0cab-805f5953805f
Version Independent ID: 7c151ed5-fd78-84fd-a08a-88912990c4ca
Content: Create an ASP.NET Core app with user data protected by authorization
Content Source: aspnetcore/security/authorization/secure-data.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Per the doc:
The ContactIsOwnerAuthorizationHandler calls context.Succeed if the current authenticated user is the contact owner.

The ContactIsOwnerAuthorizationHandler calls context.Succeed if the current authenticated user is the contact owner. Authorization handlers generally:
Return context.Succeed when the requirements are met.

That's sound correct.

The following is correct:
 if (resource.OwnerID == _userManager.GetUserId(context.User))
            {
                context.Succeed(requirement);
            }


How do this work when you need abstraction?

Scenario: You have Component X. Component X is a generic component in a "library" (assume this is a 1st-party shared-code style library, not 3rd party; ie. some git submodule, etc). Said component wants to be provided a certain well defined per-project entity "ThingA".
How does this Consumer/Provider relationship work when you want each project to be able to provide their own ThingA that guarantees the interface required by Component X but is not limited to it?
How do you make it so Component X has access to it's required Consumer, but said Consumer is required to be inside the library, and each project is free to create their own Provider that satisfies the Consumer for X, but said Providers are required to be outside the library.
Extra Optional Assumption: Assume that primarily the responsibility of Component X when using the context provided is to bridge functionality of the project, so the surface interface is consistent but the relationship is primarily in the sense of project passing project specific logic down for it to be called back (by Component X) to it in some other part of the project specific code.

What's this comment in relation to? I don't think you meant to make an issue here? (Same as the other issue you made)

@srcspider are you referring to context?

@amrdraz yes, see discussion in #23

I'm a little unclear on what you're asking here too.  But I think you're asking how you could write a library with a component that consumes a context value that must be provided by users of your library. In that case, you could do something like this:
Your library code
const ThingAContext = React.createContext(null);

// Export the provider for libraries using Component X.
// These libraries are required to supply their own context value.
export const ThingAProvider = ThingAContext.Provider;

// Export Component X for use however it is intended.
export const ComponentX = props => (
  <ThingAContext.Consumer>
    {thingA => {
      if (thingA === null) {
        throw Error('You must provide a value for Thing A');
      }

      return (
        <SomeInternalComponentThatRequiresThingA
          {...props}
          thingA={thingA}
        />
      );
    }}
  </ThingAContext.Consumer>
);

Code that uses your library
import {ComponentX, ThingAProvider} from 'some-lirbary';

// I need to specify my own value
<ThingAProvider value="My own value for thing A">

      <ComponentX foo={123} bar="abc" />

</ThingAProvider>

@bvaughn
This is clearly get us nowhere fast. I've given an answer to your post at the end, but the short of it is that it's not what I meant.
To make this "problem" as simple as possible I've boiled it down to a "fizzbuzz"-like problem instead. This way it's very simple and we just have to talk code. Solve the problem within the given limitations and any confusion goes away.
Template
https://jsfiddle.net/54s6p6ux/
class Player extends React.Component {
    render() {
        let chosenColor = undefined;
        return (

Player chose color {chosenColor}

        );
    }
}

// This simulates there being a boundry betweent the Player component
// and the game component. If there was none the obviously there is no
// need for a "context" system of any sorts at all!
function Chaos(/* no arguments allowed! */) {
    let comp = <Player/>;
    let randomTimes = Math.floor((Math.random() * 10) + 1);
    while ( --randomTimes > 0) {
        comp =
{comp}

    }
    return comp;
}

class Game extends React.Component {
    render() {
        return (
            <React.Fragment>

{this.props.name}

Game Colors: {this.props.colors.join(', ')}

                <Chaos/><Chaos/><Chaos/>
            </React.Fragment>
        );
  }
}

for (let i = 1; i <= 100; ++i) {
    let colors = [];
        for (let j = 0; j < 10; ++j) {
        colors.push(`c${i}-${j}`);
    }

    let container = document.createElement('div')
    document.body.appendChild(container);

    ReactDOM.render(
        <Game name={`Game ${i}`} colors={colors} />,
        container
    );
}

Limitations

you may not change the Chaos function at all!
only the Chaos function is allowed to work with Player (simulates realworld deep hierarchies)
the colors must pass though (no cheating using time based race conditions or other methods)

Objective
100 games are created on the page. Each game has 9 unique colors (names not important). Each game has 3 players. Each player randomly chooses one of the 9 colors.
A template with all the boring stuff is provided. You just have to fill in the code so that colors make it to the players and they print one at random.
Example
Here is the solution using the classic context system.
https://jsfiddle.net/8xqwfma1/

With regard to your example, just so it doesn't go unanswered:
The solution you provided, to my understanding has the same limitations as if I were to just have a random nodejs module exporting ThingA and every other module importing said module (you just did it with a lot more code). I would achieve the same result and suffer from the same limitation, that being that it is inherently a singleton context. I never want singleton contexts. Even if it is a single ThingA in the application, having it as a singleton means, "there can never be anything ThingA on the page."

@srcspider New context api is not singleton. Data you pass is kept in the tree. You may add many sibling providers and every consumer will consume data of only own provider.
const Cx = createContext(0);

const Component = () => (
  <>
    <Cx.Consumer>
      {value => value /* 0 */}
    </Cx.Consumer>
    <Cx.Provider value={1}>
      <Cx.Consumer>
        {value => value /* 1 */}
      </Cx.Consumer>
    </Cx.Provider>
    <Cx.Provider value={2}>
      <Cx.Consumer>
        {value => value /* 2 */}
      </Cx.Consumer>
    </Cx.Provider>
  </>
)

Every time your Chaos component is rendered, it will produce different outputs. This is not how React components are supposed to work.
That being said, here's how you could create the same "game" you've shown using the new context API: https://codesandbox.io/s/24y59mj0jn

The solution you provided, to my understanding has the same limitations as if I were to just have a random nodejs module exporting ThingA and every other module importing said module (you just did it with a lot more code). I would achieve the same result and suffer from the same limitation, that being that it is inherently a singleton context. I never want singleton contexts. Even if it is a single ThingA in the application, having it as a singleton means, "there can never be anything ThingA on the page."

No, although I guess I can see how you came to that conclusion. Maybe this example helps clarify?
import {ComponentX, ThingAProvider} from 'some-component-x-library';

<>
  <ThingAProvider value="foo">
    <ComponentX />
    <ThingAProvider value="bar">
      <ComponentX />
    </ThingAProvider/>
  </ThingAProvider>

  <ThingAProvider value="baz">
    <ComponentX />
  </ThingAProvider>

  <ComponentX />
</>

The context API supports overriding values via nested providers.

@bvaughn

That being said, here's how you could create the same "game" you've shown using the new context API: https://codesandbox.io/s/24y59mj0jn

The solution is wrong because you manipulated the Chaos function (see Limitations section in initial post). Chaos represents parts of the code you don't manipulate (such as 3rd-party intermediate components that sit between your root "Game" component and your "Player" component, in this case).
Based on what TrySound I posted the "solution" is this https://codesandbox.io/s/98jrv09qvw
@TrySound

@srcspider New context api is not singleton. Data you pass is kept in the tree. You may add many sibling providers and every consumer will consume data of only own provider.

Well I'm happy to be proven wrong. And you're right I was thiking that due to how simplistic it looks (all blog posts about it so far don't touch on it either I think).
But at the same time I don't feel too good by how complicated it seems to actually be internally. The fact it can't be used in the constructor or any function outside of render is a big led down still. I'm to assume that the reason it's not able to pass it directly to the constructor or some componentDidRecievedContext is not just some style choice? and has something to do with limitations behind the logic of workLoop, beginWork and updateContextConsumer in React's internals?
Seems I'm doomed to have to create 3 separate components each time I need to create one.
But again thanks for clearing up it's not a singleton pattern.

Closing based on clarification from @gaearon in #23

The solution is wrong because you manipulated the Chaos function (see Limitations section in initial post).

🙁Read between the lines of my solution and move the consumer into Player if you prefer.

The fact it can't be used in the constructor or any function outside of render is a big led down still.

My comment on issue #23- which you didn't respond to- showed how you could access context values in the constructor or outside of render. You just need to lift it up a level.

The solution is wrong because you manipulated the Chaos function (see Limitations section in initial post).

Right. I arbitrarily placed the Context.Consumer component within the Chaos component because (in the isolated example) it seemed to make sense. You can move the consumer into Player if you prefer, or anywhere between the Context.Provider and Player.

The fact it can't be used in the constructor or any function outside of render is a big led down still.

For anyone else who sees this thread in the future, this comment on issue #23 explains how you can access context values in the constructor (or elsewhere outside of render). You just need to lift the consumer up a level.
For example, "lifting up" can be done with a higher order function, like so:
function withColorsContext(Component) {
  return function ColorsContextConsumer(props) {
    return (
      <ColorsContext.Consumer>
        {colors => <Component {...props} colors={colors} />}
      </ColorsContext.Consumer>
    );
  };
}

Updated example at:
https://codesandbox.io/s/j2ny0xnw23


sideways scrolling option to roll left continuously

The scrolling of long lines goes back and forth, some people like it to just keep rolling to the left. This could be an option.

Do you mean like a loop?
I dont mind either, the current scolling seems ok to me, of course everyone different. Reminds of my early car days, installing aftermarket car audio with all manner of funky systems with displays from Pioneer, Alpine, Clarion.
If its an easy option, so be it.


[FLINK-10354] Revert "[FLINK-6328] [chkPts] Don't add savepoints to CompletedCheckpointStore"

What is the purpose of the change
This reverts commit 6f570e7b6810e1645a4f7094f17ab9e8559fa139.
Savepoints are once again counted as checkpoint, so that if failure happens between savepoint and next checkpoint, side effects on exactly one sinks manifested during savepoint, are taken into account.
Does this pull request potentially affect one of the following parts:

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

Documentation

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

How do we handle the situation when a savepoint is moved and cannot be recovered from anymore?

Unfortunately we will fail the recovery in this situation , but as discussed with @aljoscha this is a better situation than breaking consistency guarantees. This would be a faulty situation introduced by the user, but one the user can recover from manually.

In the long term, the plan is to differentiate between two kinds of savepoints: with(cancel-with-savepoint) and without side-effects (without cancel). The latter would be equivalent to last taken checkpoint, while the first one would stop the job creating a consistent savepoint.

The reverted changes looks good by itself, but I personally don't feel too comfortable giving a +1 here. Perhaps Till should give the final approval here.
If we do plan to revert this, we should at least have a big warning in the savepoints document page about how things could break.
Also as a side note, in the original JIRA discussion, it was mentioned that if we had FLINK-4815 merged, then it can be considered that we readd savepoints to the CompletedCheckpointsStore. How would that relate to the long-term solution that @dawidwys mentioned?

How simple was the revert? I.e. is it just a git revert or what did you need to adapt?

Yes, it was just a revert, I did not need to adapt anything.

I think falling back to earlier checkpoints/savepoints is orthogonal to this and covered in https://issues.apache.org/jira/browse/FLINK-4815.
As it is currently, you can have the (quite possible) scenario where you do a savepoint and then your job fails. This leads to data duplication in the sink.
I think the scenario where you do a savepoint, then delete that savepoint, and then try to recover is unlikely. And even if it does happen you can manually fix the situation by editing ZooKeeper entries (I think). There is no possible manual recovery for the above scenario (downstream systems possible have already consumed the emitted and committed data).
What do you think?
@tillrohrmann Is this "revert" still valid or where there changes in the meantime that could break things?

@dawidwys I looked at the code again and I think it's good to merge. It's a serious bug when it comes to exactly-once sinks.
Could you please also check and merge it on 1.5.x and 1.6.x so that we release the fix when we release new versions of these branches?


SDXL Turbo with 512x512 fails when loading compiled graphs

When using "stabilityai/sdxl-turbo" with "madebyollin/taesdxl", the compilation for inputs like 512x512 work but when we load the graphs the following error occurs:
2024-01-31 22:14:05.330 [stderr   ]   0%|          | 0/2 [00:00<?, ?it/s]
2024-01-31 22:14:06.029 [stdout   ] [ERROR](GRAPH:OneflowGraph_3:OneflowGraph) run got error: <class 'oneflow._oneflow_internal.exception.Exception'> Check failed: (2 == 1)
2024-01-31 22:14:06.030 [stdout   ]   File "oneflow/core/job/job_interpreter.cpp", line 307, in InterpretJob
2024-01-31 22:14:06.030 [stdout   ]     RunNormalOp(launch_context, launch_op, inputs)
2024-01-31 22:14:06.030 [stdout   ]   File "oneflow/core/job/job_interpreter.cpp", line 219, in RunNormalOp
2024-01-31 22:14:06.030 [stdout   ]     it.Apply(*op, inputs, &outputs, OpExprInterpContext(empty_attr_map, JUST(launch_op.device)))
2024-01-31 22:14:06.030 [stdout   ]   File "oneflow/core/framework/op_interpreter/eager_local_op_interpreter.cpp", line 84, in NaiveInterpret
2024-01-31 22:14:06.030 [stdout   ]     [&]() -> Maybe<const LocalTensorInferResult> { LocalTensorMetaInferArgs ... mut_local_tensor_infer_cache()->GetOrInfer(infer_args)); }()
2024-01-31 22:14:06.030 [stdout   ]   File "oneflow/core/framework/op_interpreter/eager_local_op_interpreter.cpp", line 87, in operator()
2024-01-31 22:14:06.030 [stdout   ]     user_op_expr.mut_local_tensor_infer_cache()->GetOrInfer(infer_args)
2024-01-31 22:14:06.030 [stdout   ]   File "oneflow/core/framework/local_tensor_infer_cache.cpp", line 210, in GetOrInfer
2024-01-31 22:14:06.030 [stdout   ]     Infer(*user_op_expr, infer_args)
2024-01-31 22:14:06.031 [stdout   ]   File "oneflow/core/framework/local_tensor_infer_cache.cpp", line 178, in Infer
2024-01-31 22:14:06.031 [stdout   ]     user_op_expr.InferPhysicalTensorDesc( infer_args.attrs ... ) -> TensorMeta* { return &output_mut_metas.at(i); })
2024-01-31 22:14:06.031 [stdout   ]   File "oneflow/core/framework/op_expr.cpp", line 602, in InferPhysicalTensorDesc
2024-01-31 22:14:06.031 [stdout   ]     physical_tensor_desc_infer_fn_(&infer_ctx)
2024-01-31 22:14:06.031 [stdout   ]   File "oneflow/user/ops/concat_op.cpp", line 55, in InferLogicalTensorDesc
2024-01-31 22:14:06.031 [stdout   ]     CHECK_EQ_OR_RETURN(in_desc.shape().At(i), out_dim_vec.at(i))
2024-01-31 22:14:06.031 [stdout   ] Error Type: oneflow.ErrorProto.check_failed_error
2024-01-31 22:14:06.032 [stderr   ] ERROR [2024-01-31 22:14:06] - Exception in __call__: e=Exception('Check failed: (2 == 1) \n  File "oneflow/core/job/job_interpreter.cpp", line 307, in InterpretJob\n    RunNormalOp(launch_context, launch_op, inputs)\n  File "oneflow/core/job/job_interpreter.cpp", line 219, in RunNormalOp\n    it.Apply(*op, inputs, &outputs, OpExprInterpContext(empty_attr_map, JUST(launch_op.device)))\n  File "oneflow/core/framework/op_interpreter/eager_local_op_interpreter.cpp", line 84, in NaiveInterpret\n    [&]() -> Maybe<const LocalTensorInferResult> { LocalTensorMetaInferArgs ... mut_local_tensor_infer_cache()->GetOrInfer(infer_args)); }()\n  File "oneflow/core/framework/op_interpreter/eager_local_op_interpreter.cpp", line 87, in operator()\n    user_op_expr.mut_local_tensor_infer_cache()->GetOrInfer(infer_args)\n  File "oneflow/core/framework/local_tensor_infer_cache.cpp", line 210, in GetOrInfer\n    Infer(*user_op_expr, infer_args)\n  File "oneflow/core/framework/local_tensor_infer_cache.cpp", line 178, in Infer\n    user_op_expr.InferPhysicalTensorDesc( infer_args.attrs ... ) -> TensorMeta* { return &output_mut_metas.at(i); })\n  File "oneflow/core/framework/op_expr.cpp", line 602, in InferPhysicalTensorDesc\n    physical_tensor_desc_infer_fn_(&infer_ctx)\n  File "oneflow/user/ops/concat_op.cpp", line 55, in InferLogicalTensorDesc\n    CHECK_EQ_OR_RETURN(in_desc.shape().At(i), out_dim_vec.at(i))\nError Type: oneflow.ErrorProto.check_failed_error')

Looks like it happens even with the default VAE!


Converted readPlaceAsset and readModelAsset to binary decoding

resolves #20

Whoops, bungled this. My deepest apologies!


Add support for --stability.level experimental features like livedebugging for the configValidator

See https://github.com/grafana/k8s-monitoring-helm/pull/627#issuecomment-2233300742
Currently, you cannot use stabilityLevel: experimental features in the configValidator alloy config because https://github.com/grafana/k8s-monitoring-helm/blob/64e01fcb7460fe6e61f7ad6277ae529a80aaacc2/charts/k8s-monitoring/templates/hooks/validate-configuration.yaml doesn't have a variable to set  --stability.level there as well

See https://github.com/grafana/k8s-monitoring-helm/pull/653#issuecomment-2264877553, I think this is not solved yet


Investigate replacing k3os

Potential replacements:

Talos Linux

Perhaps with Sidero Metal?

Replaced with Talos Linux, bootstrapped via Terraform


amplify push failed with the "A deployment is in progress" error

amplify -v
5.4.0

My amplify project manages the dynamodb tables. Up until today, whenever I added or changed schema, the push worked. Today something went wrong. I have googled and tried many solutions but with no success.

ampliy push
A deployment is in progress.
If the prior rollback was aborted, run:
"amplify push --iterative-rollback" to rollback the prior deployment
"amplify push --force" to re-deploy

amplify push
["Index: 0 State: {"deploy":"deploying"} Message: Stack:arn:aws:cloudformation:us-west-2:611452414879:stack/amplify-statsweb-dev-151014-apistats-VWR5V9BO4131/7eb5c9a0-2a17-11ec-900f-06c939e0aa2d is in UPDATE_ROLLBACK_FAILED state and can not be updated."]
An error occurred during the push operation: ["Index: 0 State: {"deploy":"deploying"} Message: Stack:arn:aws:cloudformation:us-west-2:611452414879:stack/amplify-statsweb-dev-151014-apistats-VWR5V9BO4131/7eb5c9a0-2a17-11ec-900f-06c939e0aa2d is in UPDATE_ROLLBACK_FAILED state and can not be updated."]

amplify push --force
["Index: 0 State: {"deploy":"deploying"} Message: Stack:arn:aws:cloudformation:us-west-2:611452414879:stack/amplify-statsweb-dev-151014-apistats-VWR5V9BO4131/7eb5c9a0-2a17-11ec-900f-06c939e0aa2d is in UPDATE_ROLLBACK_FAILED state and can not be updated."]
An error occurred during the push operation: ["Index: 0 State: {"deploy":"deploying"} Message: Stack:arn:aws:cloudformation:us-west-2:611452414879:stack/amplify-statsweb-dev-151014-apistats-VWR5V9BO4131/7eb5c9a0-2a17-11ec-900f-06c939e0aa2d is in UPDATE_ROLLBACK_FAILED state and can not be updated."]

I also deleted the deployment-state.json and then tried amplify push. It did not work
On the CloudInformation page, I clicked "continue update rollback" for the parent stack of "7eb5c9a0-2a17-11ec-900f-06c939e0aa2d". It did not work.
Any ideas on how I can resolve the issue?

When I click on continue update rollback, I get the following error:
Embedded stack arn:aws:cloudformation:us-west-2:611452414879:stack/amplify-statsweb-dev-151014-apistats-VWR5V9BO4131/7eb5c9a0-2a17-11ec-900f-06c939e0aa2d was not successfully updated. Currently in UPDATE_ROLLBACK_FAILED with reason: The following resource(s) failed to update: [NBATeam, GamePlayerStats, NBAGame, Player2KRatings, PeriodicGameOdds, GamePlayerStatus, TeamPlayer, Team, GraphQLAPIKey, GameTeamStats, NBAEloStats, GameOdds, GraphQLSchema, GameStats].


feat(checkbox): add --checkmark-width variable

Fixes https://github.com/ionic-team/ionic/issues/16803

Pull request checklist
Please check if your PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been reviewed and added / updated if needed (for bug fixes / features)
[x] Build (npm run build) was run locally and any changes were pushed
[x] Lint (npm run lint) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

The developer can change the stroke width of the checkbox checkmark and make it thicker

Does this introduce a breaking change?

[ ] Yes
[x] No

Other information

Merged. Thank you!


neba-171 Allow user-defined model name in the defineObjectsTag

#171

Coverage increased (+0.009%) to 91.975% when pulling deb05b433df896247cebbc20c293aec6623142dc on neba-171 into 195fad3e51b134becb8afba10dca2a54c22ee420 on develop.


Docs: AssetBundle.load isn't very useful

API Docs: https://docs.flutter.io/flutter/services/AssetBundle/load.html
Unfortunately, as viewed in this stack overflow post, it's not apparent to users what ByteData can be used for/with. Perhaps the docs for the load method should give an example or two.

Any update on this?


Dhruv Mehta Pledged successfully

You can ping us for a discussion about your dreams at<EMAIL_ADDRESS>


Implement Superellipse fuselage profiles

See also #909 (and associated PR #1005).

fix with #1021


Where can I find the MultiStepQueryEngine

I can't find the MultiStepQueryEngine inside the llama_index dependency.
I pip installed llama_index

@raywgs which version are you on / how are you trying to import MultiStepQueryEngine?

@raywgs  right now our 0.6.0 is in pre-release, use pip install llama-index --pre to install it.


[FEATURE] Click on JSON field shows modal dialog with the pretty printed JSON object

Feature Description
When a cell in the DataGrid results pane contains JSON is clicked (left clicked) the contents should be pretty printed in a modal dialog.
When the cell is clicked run JSON.parse() to ensure it is a valid JSON object, do this in a try  catch block if there is an error don't show the modal dialog (as it is not a valid JSON object).  The following code could be run when a cell is clicked (calling a function named showModalDialog to show the dialog) - use the MUI Dialog Component with  copy control in the upper right hand corner to copy the contents of the dialog (the JSON) to the clipboard and a close option:
function cellCicked(cellContents: any): void {
    try {
        // its an object
        showModalDialog(JSON.stringify(JSON.parse(cellContents), null, 2));
    } catch (error) {
        // its not an object
        return;
    }
}

Similar behaviour to the Snowflake query console as shown here:

https://www.loom.com/share/6dbb786c75e642308ed3b0f76257d0a2


run_tests.py script crashed on macOS

https://grpc-testing.appspot.com/job/gRPC_master/12733/config=dbg,language=c,platform=macos/console
Traceback (most recent call last):
  File "./tools/run_tests/run_tests.py", line 933, in <module>
    xml_report=args.xml_report)
  File "./tools/run_tests/run_tests.py", line 876, in _build_and_run
    add_env={'GRPC_TEST_PORT_SERVER': 'localhost:%d' % port_server_port})
  File "/jenkins/workspace/gRPC_master/config/dbg/language/c/platform/macos/tools/run_tests/jobset.py", line 403, in run
    if not js.start(cmdline):
  File "/jenkins/workspace/gRPC_master/config/dbg/language/c/platform/macos/tools/run_tests/jobset.py", line 323, in start
    self._add_env)
  File "/jenkins/workspace/gRPC_master/config/dbg/language/c/platform/macos/tools/run_tests/jobset.py", line 195, in __init__
    self.start()
  File "/jenkins/workspace/gRPC_master/config/dbg/language/c/platform/macos/tools/run_tests/jobset.py", line 211, in start
    env=env)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 709, in __init__
    errread, errwrite)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1307, in _execute_child
    data = _eintr_retry_call(os.read, errpipe_read, 1048576)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 476, in _eintr_retry_call
    return func(*args)
OSError: [Errno 22] Invalid argument

Adding @adelez  for triage.

I see this error is gone now. I'm going to add some logging.

I sent you a PR fixing this, it just needs to be merged


build: Update shader dependencies to latest

CI CrashDiagnosticLayer build queued with queue ID 226672.

CI CrashDiagnosticLayer build # 221 running.

CI CrashDiagnosticLayer build # 221 passed.


Can not found UMI

When I run NanoporeBC_UMI_finder.jar, the log file told me that can not find the UMI(0%),how can I fix the issue?Thanks!

please copy/paste more log information

Hi, I am running sicelore for integrating ONT long reads with Illumina 10X genomics 3' single cell data. I am able to run successfully till Nanpore UMI BC find step. At this step when I run NanoporeBC_UMI_finder.jar, I am not finding any UMIs. Since I did provide any config.xml separately the default xml in sicelore is being used by the app. Please let me know how I can fix this issue. Thank you!

please copy/paste more log information

Please visit Sicelore-2.1 github repository for this issue:
https://github.com/ucagenomix/sicelore-2.1


FLAML_sample_size cause train error

try to make a classification task on 0.9.5 and 0.9.4. But always exit with this exception:
[flaml.automl: 01-22 05:58:44] {2705} INFO - selected model: XGBClassifier(base_score=0.5, booster='gbtree',
colsample_bylevel=0.04654671402865765, colsample_bynode=1,
colsample_bytree=0.7848077464977525, gamma=0, gpu_id=-1,
grow_policy='lossguide', importance_type='gain',
interaction_constraints='', learning_rate=0.0011428762430722669,
max_delta_step=0, max_depth=0, max_leaves=1213,
min_child_weight=0.004718140051592224, missing=nan,
monotone_constraints='()', n_estimators=2, n_jobs=-1,
num_parallel_tree=1, objective='multi:softprob', random_state=0,
reg_alpha=0.013005064769265464, reg_lambda=581.173515441408,
scale_pos_weight=None, subsample=0.6150642735130163,
tree_method='hist', use_label_encoder=False,
validate_parameters=1, verbosity=0)
[flaml.automl: 01-22 05:58:44] {2739} INFO - [('xgboost', <flaml.model.XGBoostSklearnEstimator object at 0x7f19d8c5f490>), ('extra_tree', <flaml.model.ExtraTreesEstimator object at 0x7f19854695e0>), ('lgbm', <flaml.model.LGBMEstimator object at 0x7f1985469c70>), ('rf', <flaml.model.RandomForestEstimator object at 0x7f19854693a0>), ('catboost', <flaml.model.CatBoostEstimator object at 0x7f1981d54310>)]
[LightGBM] [Warning] Unknown parameter: FLAML_sample_size
_RemoteTraceback                          Traceback (most recent call last)
_RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/joblib/externals/loky/process_executor.py", line 436, in _process_worker
r = call_item()
File "/home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/joblib/externals/loky/process_executor.py", line 288, in call
return self.fn(*self.args, **self.kwargs)
File "/home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/joblib/_parallel_backends.py", line 595, in call
return self.func(*args, **kwargs)
File "/home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/joblib/parallel.py", line 262, in call
return [func(*args, **kwargs)
File "/home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/joblib/parallel.py", line 262, in
return [func(*args, **kwargs)
File "/home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/sklearn/utils/fixes.py", line 211, in call
return self.function(*args, **kwargs)
File "/home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/sklearn/ensemble/_base.py", line 42, in _fit_single_estimator
estimator.fit(X, y)
File "/home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/flaml/model.py", line 968, in fit
self._fit(X_train, y_train, **kwargs)
File "/home/studio-lab-user/.conda/envs/default/lib/python3.9/site-packages/flaml/model.py", line 151, in _fit
model = self.estimator_class(**self.params)
TypeError: init() got an unexpected keyword argument 'FLAML_sample_size'
"""
The above exception was the direct cause of the following exception:

I created a PR to fix this issue. If you'd like to share more about your use case or join the community, feel free to chat on gitter.

Thanks. Look forward to testing on new FLAML release.


Hero vertical space tweaks

Avoid 50px plus 45px double bottom margins if there are no buttons that require post-teaser space; keep just the .content-wrap 50px in that case
Avoid 20px empty "slug" if there is no slug text and there is no champion logo which would otherwise look cramped against the title

I haven't tested end to end with my code changes exactly, but did in-browser edits with the demo image we plan to use for CC24. IMO this looks better on a few counts, especially at large mobile / tablet sizes:

more useful campaign features are above the fold and it's easier to notice they exist
the red is less overwhelming
at some breakpoints, more of the background image features become visible and it is closer to symmetrical because the overall background aspect ratio is a bit closer to the original image's ratio


feat: platform pis stage first prototype

This PR adds a first version of the PIS DAG for the Platform Pipeline, using Cloud Run jobs.
Things missing:

Some PIS steps may fail because of credentials (like fetching google spreadsheets in otar step)

I'm organizing the code a bit more, I'll commit it ASAP.

@project-defiant just pushed those changes, you can take a look! :+1:

@javfg you can merge when ready, nicely done!


Fix code to allow Python code to import it

Hi! I was interested in running this in my Python application but noticed that in its original form that it was not possible to import this script and run it from Python. This PR fixes that, see the updated README to see how someone can run this script from Python.
I have cleaned up the existing Python code into something more manageable (not perfect still). Also, I have created a new flag --no-exception which should allow users to run from Python without it exiting their program.
I have also restructured some of the files in this repo to get them Python standard. Note that the script is still ran with robot-detect so it should be backwards compatible with anything existing.
Overall, this PR allows for extensibility of the code, gets files to standard practices, and cleans up code for developers.

Sorry, but you're sending me here a pull request that is basically a complete rewrite, includes commits that seem to mix unrelated things, many things are unexplained.
I'm not gonna spend time trying to untangle this. If you want me to look at it please split it up into small pieces that I can review separately.

@hannob I understand that. Because of moving files and packages to different names Github didn't do the pr nicely.  As it stands I would recommend people to use my fork unless you add functionality.
Cheers


Update README, autoprefixer in 1.3.1

Thanks, however, I'll make a separate release for Meteor 1.3, to remove the dependency on minifiers-js


Outcon Bid Adapter

I already removed the 3 files and left only the documentation. Thank you

Thanks for opening the PBJS PR. Please remove the test/spec/OutconSpec.js file from the PR -- there's no adapter test or JS in the docs PR. Thanks.

@TinchoF - please remove the test/spec/OutconSpec.js file from this PR

released with 2.35


Documentation for local firehose

there is no documentation for 'local' firehose, used by 'index' task.

Documentation has been added