Cannot focus TextField inside RawKeyboardListener

Steps to Reproduce
This does not work:
Column(
      children: <Widget> [
        MaterialButton(
          child: Text("Focus Input!"),
          onPressed: () => _emailFocusNode.requestFocus(),
        ),
        RawKeyboardListener(
          focusNode: _emailFocusNode,
          child: TextField(
            controller: _emailInputController,
          ),
        )
      ]
);

This works:
Column(
      children: <Widget> [
        MaterialButton(
          child: Text("Focus Input!"),
          onPressed: () => _emailFocusNode.requestFocus(),
        ),
        TextField(
          autofocus: false,
          focusNode: _emailFocusNode,
          controller: _emailInputController,
        ),
      ]
    );

We are no longer able to provide the same focusNode to both the input and the RawKeyboardListener, because this leads to the exception below.
I believe this issue was introduced here: https://github.com/flutter/flutter/commit/7775c23784fdd7890a453031e0451fbed3731247#diff-2d74aabcc309c260810a6cca572e134eR1405
Target Platform: Android
Devices: Only tested on Emulator
Logs
════════ Exception caught by widgets library ═══════════════════════════════════
The following assertion was thrown building EditableText-[LabeledGlobalKey<EditableTextState>#16376](controller: TextEditingController#87504(TextEditingValue(text: ┤├, selection: TextSelection(baseOffset: -1, extentOffset: -1, affinity: TextAffinity.downstream, isDirectional: false), composing: TextRange(start: -1, end: -1))), focusNode: FocusNode#cddaa, debugLabel: (englishLike subhead 2014).merge(blackMountainView subhead), inherit: false, color: Color(0xdd000000), family: Roboto, size: 16.0, weight: 400, baseline: alphabetic, decoration: TextDecoration.none, textAlign: start, keyboardType: TextInputType(name: TextInputType.text, signed: null, decimal: null), dirty, dependencies: [MediaQuery, _FocusMarker, Directionality], state: EditableTextState#13845(tickers: tracking 2 tickers)):
Tried to make a child into a parent of itself.
'package:flutter/src/widgets/focus_manager.dart':
Failed assertion: line 747 pos 12: 'child != this'

Either the assertion indicates an error in the framework itself, or we should provide substantially more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
  https://github.com/flutter/flutter/issues/new?template=BUG.md

The relevant error-causing widget was
    TextField
lib\…\widgets\login_form.dart:38
When the exception was thrown, this was the stack
#2      FocusNode._reparent
package:flutter/…/widgets/focus_manager.dart:747
#3      FocusAttachment.reparent
package:flutter/…/widgets/focus_manager.dart:125
#4      EditableTextState.build
package:flutter/…/widgets/editable_text.dart:1822
#5      StatefulElement.build
package:flutter/…/widgets/framework.dart:4334
#6      ComponentElement.performRebuild
package:flutter/…/widgets/framework.dart:4223
...
════════════════════════════════════════════════════════════════════════════════

$ flutter doctor -v
[√] Flutter (Channel beta, v1.12.13+hotfix.6, on Microsoft Windows [Version 10.0.18362.535], locale de-DE)
    • Flutter version 1.12.13+hotfix.6 at C:\SDKs\flutter
    • Framework revision 18cd7a3601 (3 weeks ago), 2019-12-11 06:35:39 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\SDKs\android
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_SDK_ROOT = C:\SDKs\android
    • Java binary at: D:\Programme\JDK\bin\java
    • Java version Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/setup/#android-setup for detailed instructions).

[!] IntelliJ IDEA Ultimate Edition (version 2019.3)
    • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA 2018.2.5
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.dev/intellij-setup/#installing-the-plugins

[√] VS Code (version 1.41.1)
    • VS Code at C:\Users\puelo\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.7.1

[√] Connected device (1 available)
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.1.1 (API 25) (emulator)

! Doctor found issues in 3 categories.

CC @gspencergoog

This is working as intended. Focus nodes can only be hosted by one widget at a time, so providing the same node to two different widgets isn't allowed.  Before the referenced change, it was incorrect, but not enforced. Now it is enforced via an assert.
What is the use case that you are trying to solve that the second code snippet (the one that works) will not address?

Thanks for the answer. That makes sense.
Use-case: We have a very large form with multiple inputs on multiple rows. We want to support navigating between those inputs with a hardware keyboard (mainly "Tab" and "Shift-Tab"). I am not aware that this works out of the box and i tried to use the RawKeyboardListener on one input to catch the Tab/Shift-Tab presses to then navigate to the next Input (wrapped by another RawKeyboardListener). Catching the keys is no problem, but requesting focus on the other input is impossible while it is wrapped by a RawKeyboardListener (which it needs to be able to navigate further)

Actually, with the current stable release keyboard traversal with TAB and shift-TAB should be working out of the box.  If you want a specific order for your traversal, you might need to implement a custom FocusTraversalPolicy, but by default it uses a "reading order" traversal that should work for most needs.
The code you have above should be entirely unnecessary.

I tested this on an Android Emulator and an actual device (IPad Pro + Apple Magic Keyboard). Here are my results:
Android-Emulator (might just the emulator not handling it correctly tho):

Tab is working, but is adding a space character to the TextEdit
Shift-Tab is not working

IPad Pro + Apple Magic Keyboard:

Tab not working
Shift-Tab not working

This is the code it was tested on:
return Form(
    child: Column(
        mainAxisAlignment: MainAxisAlignment.spaceAround,
        children: <Widget>[
            TextFormField(
                focusNode: _emailFocusNode,
                decoration: InputDecoration(labelText: 'E-Mail', filled: true, fillColor: Colors.white),
                keyboardType: TextInputType.emailAddress,
                controller: _emailInputController,
                textInputAction: TextInputAction.next,
                onFieldSubmitted: (value) {
                    _passwordFocusNode.requestFocus();
                },
            ),
            TextFormField(
                focusNode: _passwordFocusNode,
                decoration: InputDecoration(labelText: 'Password', filled: true, fillColor: Colors.white),
                obscureText: true,
                controller: _passwordInputController,
                onFieldSubmitted: (value) {
                    _submitButtonFocusNode.requestFocus();
                },
            ),
            RaisedButton(
                focusNode: _submitButtonFocusNode,
                shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(5.0)),
                color: Theme.of(context).primaryColor,
                child: Text('Login', style: TextStyle(color: Colors.white)),
                onPressed: () => _loginBloc.dispatch(LoginButtonPressed(email: _emailInputController.text, password: _passwordInputController.text)),
            ),
            Container(
                child: state is LoginLoading ? CircularProgressIndicator() : null,
            )
        ],
    )
);

On the iPad Pro, this is because Flutter doesn't have hardware keyboard support on iOS (iOS doesn't provide public APIs that make it possible).
And the emulator doesn't emulate a hardware keyboard, so it's expected not to work.  Try it on a physical device with a keyboard, and it should work.

Alright. Thanks for clearing this up.
Is there a workaround to make this work on iOS devices? The RawKeyboardListener would probably still detect the presses, even for the hardware keyboard on iOS devices, right? So my "solution" provided above is one route (even if not the prettiest one).

No, unfortunately, it's the engine that doesn't have any iOS keyboard support, so it won't even generate any raw keyboard events.  There's just not any public API in iOS that provides keyboard events.  iOS apps can register to know when editing events happen, but not to get events about key presses in general.  See this issue for more context: https://github.com/flutter/flutter/issues/31945

Alright. Thanks you for taking the time to answer. I will close this issue.

How can I handle ESC key on TextField? Use case: I am writing autocomplete for flutter web application. And I need to close autocomplete menu when user presses ESC while typing in TextField. How can I do that?


Error message should include any product identifier

Description
When error is thrown, it should also include product ID, variant SKUs or keys or any other identifier so it's possible to uniquely identify the error product. Currently this is missing here:
https://github.com/sphereio/sphere-product-import/blob/master/lib/product-import.coffee#L316

I would go with variant SKU as there can be no product ID which can be logged.


Developing

Merged with following commits:

https://github.com/inexor-game/project-site/commit/5f9927fcdc94c087f0a1f9041cce6866da768d0a
https://github.com/inexor-game/codeigniter/commit/d9b756b9dc657103cb0241807b3b56c51f38dfca


esprima-six package cannot be found when installing

Hi,
It seems the esprima-six package is no longer referenced on NPM registries. The install is failing thus...
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/esprima-six
npm ERR! 404
npm ERR! 404 'esprima-six' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'derequire'

Seems we are not the only one blocked : https://stackoverflow.com/questions/33608630/what-happened-to-the-esprima-six-npm-module

same for me

I MIGHT have solved it locally by setting browserify version to "latest" in package.json and removing the options in gulpfile.js line 85.
Trying to figure how to create a project now…

Same here ; changing browserify version to "browserify": "^12.0.0" and deleting options line 85 of gulpfile did the trick.

I just pushed branch fix-assets-build according to your remark. Can you confirm this is ok?

There is still errors in npm install part (fsevents), probably due to my local setup (version of XCode) ; the install process goes till the end though, and app is running. Seems good for me :)

Here are the errors that @npanau mentioned:
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained. Upgrade to<EMAIL_ADDRESS>npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture<EMAIL_ADDRESS>
Beside that, it works. I do not undestand how to add languages files and so on however…

@nicofrand yep that's it. I'm also try to get openl10n-cli to work...


user defined activation function

Hello,
I would like to build RBF neural network using mxnet, but the gaussian activation function is not available (there are only sigmoid, relu and tanh)
could you please tell me how and where can I add it ?
Thanks!

Hi,
If you want the best GPU performance, you can add an operator under src/operator. activation-inl.h would be a good example.
If you just want a quick hack, you can try NumpyOp. Please see example/numpy-ops/numpy_softmax.py
If you managed to create an operator or a working RBF model, you are welcome to contribute to MXNET. Please consider put you work under example and submit a PR.
Thanks


Mention throws TypeError s.domNode.getBoundingClientRect is not a function

When I try to mention use with @ character in the quill editor, it sometimes throws TypeError s.domNode.getBoundingClientRect is not a function in the console and the suggestions does not appears.
Steps for Reproduction:
I tried to replicate the issue locally but couldn't. The issue appears frequently in Vercel (sometime it works after multiple page refresh), where I have deployed my code.

Expected behavior:
The mention feature should show the suggestions
Actual behavior:
The following error is thrown in the console and the suggestions don't work
TypeError
s.domNode.getBoundingClientRect is not a function

I am using nextjs(react):
"next": "14.2.3",
"react": "18.3.1",
"react-quill": "^2.0.0",
"quill-mention": "^4.0.1",

Have you tried replacing react-quill with the forked react-quill-new in the interim until react-quill is updated? I made the fork and updated the type definitions there. Also follow https://github.com/zenoamaro/react-quill/pull/973 for updates on that.


feat: update redirect path

Hello, here are some changes about redirectPath, hope you can accept them.
Use configuration instead of hard coding, if shopify config has hostScheme and hostName, we should use them.
This change can solve a problem I have currently, I use http://localhost as the auth url for shopify app in development environment. But the code fixed https, causing redirection errors.

@limars874 thank you for the PR 🙌 . Looks good! Could you run npx changeset from your command line and generate a changelog for this for the auth package with a minor bump? It can be a simple 1 liner saying
Respect `shopifyApi.hostScheme` and `shopifyApi.hostname` in OAuth redirect, see #166

I haven't got around to adding a PR template yet that walks new contributors through this.

Released as<EMAIL_ADDRESS>🚀


Print out sample ID with comma in scpca-meta.json

This is just a small fix to make sure that the scpca-meta.json files in the checkpoints/rad directory contain a comma separated list for demultiplexed samples rather than a semi colon separated list.

Yes you should be able to!


Cleanup SerdeResolverUtils

Refactor SerdeResolverUtils logic
Add more tests in SerdeResolverUtilsTests
Fixed some random test warnings

Fixes #2370

@onobc The PR looks good. I am ok with merging it. We can make any further changes through subsequent changes if need be.

@onobc The PR looks good. I am ok with merging it. We can make any further changes through subsequent changes if need be.

Sounds good @sobychacko . The changes were straight forward to update though. Let me push the commit and we can decide which API to keep.

Finally! Haha just kidding. Great review - thanks for all the feedback @artembilan

@onobc checkstyle failed on me during the local build. Do you mind fixing it?

@sobychacko yep, my bad. I forgot to do final local build after last changes. Adjusting now.

Resolved via https://github.com/spring-cloud/spring-cloud-stream/commit/cc05160cc05825914a827c5511503770bde24d4d


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 398 ms

Resolved: ClamAV performance has improved in 8e8ad35.


No need for semicolon

Nice example of interpretator stupidness 👯 (taken from http://lurkmore.to/Javascript )
function foo(){}
foo()
[1,2,3].map(console.log.bind(console))  // Uncaught TypeError: undefined is not an object
however this works:
function foo(){}
foo()
;[1,2,3].map(console.log.bind(console))

Looks like a duplicate of this example: https://github.com/denysdovhan/wtfjs#tricky-return
That's why I close this. Thanks for reporting!


Add functions of row type for points and polygons tables.

Add a kind of polymorphism so that these functions can be called on whole rows with, e.g: select mz_calculate_min_zoom_landuse(p.*) from planet_osm_point p.

:zap:


Fix socket problem when debugging  cpp targets

Fix socket problem when debugging  cpp targets, error.Custom(EOF) would cause the connection to be closed when it should have been ignored.
NativeSocket.socket_recv(__s, buf.getData(), pos, len); will return "EOF"  when there is no more data when you build your code for cpp/windows. This is then wrapped  and thrown as  Error.Custom(EOF) and so  just ignoring haxe.io.Eof with the catch (e:Eof)  block in socket.hx wont be enough to handle end of file scenarios.

Wait is this why the debugger randomly exits sometimes while I’m inspecting variables?

Wait is this why the debugger randomly exits sometimes while I’m inspecting variables?
not sure how the debugger uses sockets but  i think this is more  OpenFL as its about how openFL handles sockets.

The debugger crash could be bore related to this tho https://github.com/HaxeFoundation/hxcpp/pull/908

Bless


Server -> Client Events?

Is ist possible to emit an event from the server and process it on the client? I am trying below. I have a setInterval running on my server to emit the number data to the client but doesn't seem to work. If I move my server code to the client it works perfectly. Not sure if this is possible or out of the scope of this package.
server.js
Meteor.startup(function(){   Event = new EventEmitter();   Meteor.setInterval(function(){     console.log("Emitting")     Event.emit('game-spin', {     number: 6     })   },2000); })
client.js
var listener; Meteor.startup(function(){   Event = new EventEmitter(); }) Template.gamePartial.onCreated(function() {     listener = function(data) {         console.log('Listening custom event', data);     };     Event.on('game-spin', listener); }) Template.gamePartial.onDestroyed(function() {     Event.removeListener('game-spin', listener); })

Closing. Found your eventddp package which does this perfectly.
https://atmospherejs.com/raix/eventddp

:)


[Relay][Any] Add shape func for dynamic shape

This PR aims to make interpreter and VM support dynamic shape.
Currently VM compiler can only compile the dynamic shape function without op fusion.
We also need to add shape function for many ops.
@jroesch @zhiics @wweic @tqchen @MarisaKirisame

I'm interested. Why doesn't anyone comment on it

Is this ready for review?

@junrushao1994 Yes, you can start to review this PR except for the VM compiler part.

Except WIP, this LGTM.

I see. So this PR mainly focuses on operators where we are able to pre-compute output types once they know their input value, not those that we only know the output types after computation is done (e.g. np.unique). Wouldn’t it be more informative if we come up with another name?
This occurs only when those input values are pretty much like scalars, like shape array (tuple of integers). In our previous practice, if they are known statically, we would prefer to put them into Attrs.
Just saying, will it be possible if we have some mechanism to put those scalars back to Attrs so that we can reuse previous efforts in defining TypeRelation?
Imagine we have primitive types in Relay, for example, then we allow one operator to produce tvm::Arraytvm::Integer as output. Then in the following up operator, we let the system to put these Integers as attributes, then we are able to reuse those TypeRelations we previously defined.

@jroesch @junrushao1994 @were Could you help review this PR again?


 Any suggestions on how to fix this problem?

Hi, disconnect_migration means that a client with the same client-id connected to another node, and the queue and messages for that client is terminated and migrated to the other node.
The dropped X messages means that the subscriber is too slow to handle the messages and there are more than max_online_messages (if the client is online) or max_offline_messages (if the client is offline) queued for delivery and it therefore has to drop messages.

Thanks for your response. I got a question about dropped X message in combination with QoS 1/2.

If the limit is exceeded of online/offline messages, are the dropped messages permanently lost?
Are offline messages stored in LevelDB?

@ioolkos Can you please confirm the behavior to #1 (If the limit is exceeded of online/offline messages, are the dropped messages permanently lost?) comment made by @HsiaoH above? I am facing the same problem.

@rohit5ram if you see dropped messages, your message scenario is not in balance. Those messages cannot "drop" and still be saved somewhere (into a resource) because the whole point is to protect resources. Yes, they are permanently lost. Note that this applies per consumer queue. That is, specific queues for specific consumers will be affected, not all the messages for all subscribers.
Most of the time this is caused by slow consumers. You can address this by increasing max_inflight_window, by using shared subscriptions (load balancing the consumer) and by lowering the QoS.
Of course, you can also just increase the max_messages settings. That's most likely just a shift of the problem but not a permanent solution. (unless you're lucky hitting the balance point with the config).

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

@ioolkos I configured as max_inflight_messages=20, max_online_messages=1000, max_offline_messages=-1
I am also working on improving the consumer performance after knowing that the messages are dropping randomly.
Cannot use shared subscriptions in K8S environment with cleanSession=false as its tricky to set a incremented clientId with HPA. I appreciate on any work arounds!
FYI
In past 3 hrs, 137 messages were dropped. I use a reactive stream 'Flowable' in the consumer side.
For Eg: Random Message drops are noticed even at inflow rate of 82.  blue color in the below grafana graph indicates drop count.
In: 82
Out: 50
Drop: 32

On a side note, Can you also enlighten me on this error message ERROR c.h.c.i.m.h.p.i.MqttIncomingQosHandler: Received more QoS 1 and/or 2 PUBLISH messages (MqttStatefulPublish{stateless=MqttPublish{topic=XXXX, payload=90byte, qos=AT_LEAST_ONCE, retain=false}, packetIdentifier=200, dup=true, topicAlias=0, subscriptionIdentifiers=[1]}) than allowed by receive maximum (65535)

On the error: I guess you're using MQTT v5 for that consumer. For that you have to configure receive_max_client in the vernemq.conf.  Set this to something lower than the full window of 65k messages. max_inflight_messages is the corresponding setting for MQTT v3/4.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

@ioolkos client has no restrictions configured.
FYI as you advised above, I have set max_online_messages , max_offline_messages, receieve_max_client to 50000
Question:

Did the scenario entered into a recurring loop when broker sent 65K messages in our case? Broker replaying QOS1 messages every 20secs because client couldn't acknowledge, and this process never stopped. The circuit breaker here is client restart.
Can you recommend any work arounds for shared subscriptions in K8S environment with cleanSession=false?

Best Practice:
Can applying restriction on client using [restrictions.receiveMaximum](https://hivemq.github.io/hivemq-mqtt-client/docs/mqtt-operations/connect/#restrictions) based on its capacity avoid issue 1?

@rohit5ram the client thinks it gets more messages in a receive window than allowed. It therefore disconnects.
You should be fine, if you have a server side override (receive_max_client) set. Normally, you would have a receive_max set from the client.
The receive_max is basically a performance statement of the client about itself. (I can handle X messages in a window).
With receive_max_client set, you should not see the issue again.

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.


[FEA] Get the explain output automatically on CPU cluster without the need to add the code

For the https://nvidia.github.io/spark-rapids/docs/get-started/getting-started-workload-qualification.html#2-get-the-explain-output feature using function explainPotentialGpuPlan to print query plan in GPU and also not-supported-messages, we need to add some code such as:
val mydf=spark.sql("select count(distinct TBL_ID) from t")
val output=com.nvidia.spark.rapids.ExplainPlan.explainPotentialGpuPlan(mydf)

I wish this feature can print all query plans(in GPU) and not-supported-messages without the need to add the code in CPU Spark 3.x context.

@tgravescs  you are right, i think this is already in Spark 3. Let me close this one


GIF Avatars play even animated gif option turned off

4.0.2
Misskey
stock android 9

what server that allow you to set gif to avatar image?
I've tested on misskey.io, it convert GIF to thumbnail PNG as "avatarUrl" API response.

Thanks


[Fix] Firebase Auth v<IP_ADDRESS>

Fixed SignInWithCredential parameter type
This fixes #326

Now it doesn't show this error but there is no return from SignInWithCredential. Is there any change need in the implementation?


MINOR: Skip sending fetches/offset lookups when awaiting the reconnect backoff

Logging can get spammy during the reconnect blackout period because any requests we send to ConsumerNetworkClient will immediately be failed when poll() returns. This patch checks for connection failures prior to sending fetches and offset lookups and skips sending to any failed nodes. Test cases added for both.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Merged to trunk.


runtime: TestStackWrapperStackPanic failure on windows-amd64-2016

https://storage.googleapis.com/go-build-log/07ca05df/windows-amd64-2016_8338c7a2.log
##### GOMAXPROCS=2 runtime -cpu=1,2,4 -quick
--- FAIL: TestStackWrapperStackPanic (0.00s)
    --- FAIL: TestStackWrapperStackPanic/sigpanic (0.00s)
        --- FAIL: TestStackWrapperStackPanic/sigpanic/CallersFrames (0.00s)
            stack_test.go:676: runtime.Callers
            stack_test.go:676: runtime_test.testStackWrapperPanic.func1.1
            stack_test.go:676: runtime.gopanic
            stack_test.go:676: runtime.panicmem
            stack_test.go:676: runtime.sigpanic
            stack_test.go:676: runtime.asyncPreempt
            stack_test.go:676: runtime_test.TestStackWrapperStackPanic.func1.1
            stack_test.go:676: runtime_test.testStackWrapperPanic.func1
            stack_test.go:676: testing.tRunner
            stack_test.go:676: runtime.goexit
            stack_test.go:684: panicking wrapper runtime_test.I.M missing from stack trace
FAIL
FAIL	runtime	27.302s

CC @aclements @cherrymui @mknyszek @danscales

Marking as release-blocker since runtime.asyncPreempt is involved. (We can re-evaluate that once we better understand the root cause.)

2019-11-21T14:55:12-8bbfc51/windows-amd64-2008

2019-12-05T17:23:50-50535e6/windows-amd64-2012
2019-12-05T03:44:34-7bdef2d/windows-amd64-longtest
2019-12-04T21:29:42-ae2e244/windows-amd64-2012
2019-11-27T20:27:15-9174e2c/windows-amd64-2016
2019-11-26T12:03:08-20bf6a4/windows-amd64-2016

The failure is always when running with -test.cpu=1,2,4.

The failure is always TestStackWrapperStackPanic/sigpanic.

The test makes a call to I.M(nil) which is expected to call nil and therefore panic.  It looks like if a preemption signal occurs as we make the call that a call to asyncPreempt is inserted and that call immediately panics.  The stack trace is then not what we expect.  I'm not sure why.
This doesn't seem all that crucial, though it does mean that in some failure cases we will print the wrong stack trace.
CC @aclements @cherrymui

If we preempt the thread right at the point of the exception, we may inject a asyncPreempt call, and then the exception handler runs (before asyncPreempt runs), which injects a sigpanic call. Then we could see sigpanic right on top of asyncPreempt. In traceback, normally we would not elide wrappers if it is the immediate caller of sigpanic, but we will if the immediate caller is asyncPreempt. If this is the case, we could see the stack trace like that.
I'm not familiar about the ordering of Windows' SuspendThread/ResumeThread and exception handling, so not sure if this could actually happen.

I've been seeing this pretty often in TryBot runs. (Not as frequent as the race deadlocks, but still frequent enough to be annoying.)
2019-12-09T15:12:29-f6774bc/windows-amd64-2012
2019-12-06T19:49:21-b2a5893/windows-amd64-2008
2019-12-06T01:11:02-a037582/windows-amd64-longtest
2019-12-05T22:16:02-eeb319a/windows-amd64-2012
2019-12-05T17:23:50-50535e6/windows-amd64-2012

This hasn't happened on the builders since 2019-12-09.  The findflakes program reports only a 0.14% chance that the failure is still happening.
That said I have no idea what would have changed to fix this.

I can easily reproduce this at current master (817afe83578d869b36e8697344bb2d557c86b264) and at f6774bc with the following patch and script:
--- a/src/runtime/proc.go
+++ b/src/runtime/proc.go
@@ -4469,6 +4469,7 @@ func sysmon() {
 		if delay > 10*1000 { // up to 10ms
 			delay = 10 * 1000
 		}
+		delay = 10
 		usleep(delay)
 		now := nanotime()
 		next := timeSleepUntil()
@@ -4563,7 +4564,8 @@ type sysmontick struct {

 // forcePreemptNS is the time slice given to a G before it is
 // preempted.
-const forcePreemptNS = 10 * 1000 * 1000 // 10ms
+//const forcePreemptNS = 10 * 1000 * 1000 // 10ms
+const forcePreemptNS = 10 * 1000 // 10us

 func retake(now int64) uint32 {
 	n := 0

cd $GOROOT/src/runtime
VM=$(gomote create windows-amd64-2016)
GOOS=windows go test -c && \
gomote put $VM runtime.test.exe && \
gomote run $VM ./runtime.test.exe -test.run TestStackWrapperStackPanic/sigpanic/CallersFrames -test.count 1000000

Running with ./runtime.test -test.run TestStackWrapperStackPanic/sigpanic/CallersFrames -test.v, we can see the traceback when the test passes:
runtime.Callers
runtime_test.testStackWrapperPanic.func1.1
runtime.gopanic
runtime.panicmem
runtime.sigpanic
runtime_test.I.M
runtime_test.TestStackWrapperStackPanic.func1.1
runtime_test.testStackWrapperPanic.func1
testing.tRunner
runtime.goexit

(normally it stops when it reaches runtime_test.I.M, but I tweaked it.)
What I don't fully understand is how we go from asyncPreempt to sigpanic in the bad traces. This is a nil panic, so the exception is synchronous. We should be injecting the sigpanic call at the exact PC/SP where the exception happens, so I don't see how asyncPreempt slips in there.

If we tweak the test to print the PC in the stack trace, we see that the runtime.asyncPreempt frame is at the very first instruction of asyncPreempt. This suggests that we injected that call and then immediately injected the sigpanic. Maybe it's possible in Windows for SuspendThread to stop a thread between when it causes an exception and when the VEH runs? If that's the case, preemptM would see the thread at the faulting instruction, tweak the frame to inject the asyncPreempt call, then resume the thread, which would run the VEH and tweak the frame again to inject the sigpanic call.

Maybe it's possible in Windows for SuspendThread to stop a thread between when it causes an exception and when the VEH runs?

This is also my previous guess. One possibility would be printing the wrapper function if the previous frame is asyncPreempt. This will make the wrapper included in the stack trace. But the stack trace will look like
sigpanic
asyncPreempt
wrapper
...

which looks like asyncPreempt itself panics. I think this can happen with nil pointer dereference panics in general.
Another possibility is that when injecting a sigpanic, if the PC is the entry PC of asyncPreempt, just overwrite the PC instead of pushing another frame. This will make the stack trace correct. Losing preemption is probably not a problem, as sigpanic enters the runtime, which will probably preempt it synchronously at some point.

I implemented both approaches. Using @aclements's repro, both fix this.
Personally, I prefer option 2.

Thanks!
I assume by option 2 you mean overwriting the asyncPreempt frame. I certainly like that option better, as it's much more localized to the cause of the issue. Changing the traceback logic, on the other hand, is several dominoes away from the actual cause.

Yes, by option 2 I meant overwriting the asyncPreempt frame. Thanks.


Uncaught TypeError: Illegal constructor Error

Hi,
I am getting this error:
Uncaught TypeError: Illegal constructor
    at n (prism.js:1)
    at prism.js:1
    at prism.js:1
    at Array.forEach (<anonymous>)
    at Prism.plugins.toolbar.hook (prism.js:1)
    at Object.run (prism.js:1)
    at Object.highlightElement (prism.js:1)
    at HTMLDocument.highlightAll (prism.js:1)

It seems to be showing when I add the "Copy to Clipboard Button" package.
My browser I am getting the error is Google Chrome Version 62.0.3200.0 (Official Build)
Here is a screenshot of the error in dev tools:

For now I am just going to live with out adding this plugin. I thought I'd let you know anyway.
p.s. Normal setup works fine no problem. It only appears with this plugin addon.

Is Clipboard.js included on the page? Do you have a public, reproducible example?

@mAAdhaTTah I don't have clipboard.js installed on that website. Also I have prism running in the backend of a custom cms so I can't show you the URL.

You need Clipboard.js installed. That's what handles the clipboard interactions.

Same issue here

This was also a problem with webpack.
The problem was the same: use clipboard/lib/clipboard.js instead of the dist. This seems to be an issue with how they transpile.

Any chance your browser is Chrome v61?
Chrome v61 added a window.Clipboard which is probably causing an namespace collision with copyToClipboard plugin.

Did it really? We check window.Clipboard to determine whether to inject/provide the CDN version. If Chrome has a window.Clipboard already, we can't check inject the correct one.
Poking at it in the console, it doesn't appear to... do anything. I can't new it, it has no static methods, although there are a few prototype methods, and I can't find any documentation on it. There's also a ticket open @ Clipboard.js to change the global name: https://github.com/zenorocha/clipboard.js/issues/468
Hoping Chrome will provide some docs on this feature so maybe we can figure out how to detect it properly or Clipboard.js changes the global name. I don't have a solution off the top though.

Hi,
The same issue I got in the latest version of Chrome.
[Version 61.0.3163.79 (Official Build) (64-bit)]
Screenshot from devTool

Interesting points was not aware of needing Clipboard.js installed.
Actually I am running Chrome V63 see here:

@ayumihamsaki Anything after 61 will have this problem, as that's when the global Clipboard object was introduced. The plugin normally installs Clipboard.js at runtime for you, if you don't install it yourself, but with the introduction of window.Clipboard in Chrome 61, this check fails, as window.Clipboard already exists. It's just not the Clipboard.js instance we're expecting here.

I was having the same problem with Prism installed manually in a Wordpress theme.
Adding clipboard.js explicitly solved the issue in Chrome 61 and Canary (63.0.3213.0).
@mAAdhaTTah Chromestatus has an entry for Asynchronous Clipboard API. It also has a couple links to demos and docs.
The links point to an explainer and the proposal at wicg
Hope this helps

@caraya Thanks, that might be it, but Chrome 61 (or 63) doesn't have a navigator.clipboard property. I'm still not sure the cause.
Just so everyone knows, this can be resolved by including Clipboard.js yourself, either in a script tag or bundled into your JS. It's specifically the plugin's behavior to fallback to a CDN version if it doesn't find Clipboard.js that is failing.

In my scenario
<script src="prism.js"></script>
<script src="prism-toolbar.min.js"></script>
<script src="copy-to-clipboard/prism-copy-to-clipboard.min.js"></script>

i just inverting the position of the copy-to-clipboard plugin to be the first one to be loaded, and problem solved!.
<script src="copy-to-clipboard/prism-copy-to-clipboard.min.js"></script>
<script src="prism.js"></script>
<script src="prism-toolbar.min.js"></script>

However loading the plugin before the main component seems a bit strange...
NS

I added:
$("<script />", { type: "text/javascript", src: "https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.5.8/clipboard.min.js" }).appendTo("head"); right after Prism = function () { in prism.js.
It's essentially the same thing as adding the clipboard script to <head> but I wanted to keep it contained to the script itself.

@timhemendinger I tried that but didn't get it to work - do you have a diff ?

If you're using PrismJS in a custom wordpress plugin, you can enqueue "clipboard.min.js" before you enqueue "prismJS" like so...
wp_register_script( 'prismJS', plugins_url('/includes/prism.js',__FILE__ )); wp_register_script( 'clipboardPrismJS', 'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.5.8/clipboard.min.js' ); wp_enqueue_script('clipboardPrismJS'); wp_enqueue_script('prismJS');

So the require step doesn't work either because window.Clipboard was found initially. The only way this works is to load up the Clipboard first and assign the correct instance to window.Clipboard D:.

@Golmote Would it be a terrible hack to do something like this instead:
/(native code)/.test(window.Clipboard.toString())

This version of the fix is here: #1206.


make build interrupt causes errors for go targets

Interrupting the go binary build causes errors
e.g:
[INFO] Go: Get github.com/u-root/cpu/cmds/cpu
^Cmake: *** Deleting file '/home/sylv/Repo/9elements/system-transparency/cache/go/src/github.com/u-root/u-root/.git/config'
make: *** Deleting file '/home/sylv/Repo/9elements/system-transparency/cache/go/src/github.com/go-debos/debos/.git/config'
make: *** [modules/go.mk:96: /home/sylv/Repo/9elements/system-transparency/cache/go/src/github.com/u-root/u-root/.git/config] Interrupt
make: *** [modules/go.mk:118: cpu] Interrupt
make: *** [modules/go.mk:68: /home/sylv/Repo/9elements/system-transparency/cache/go/src/github.com/go-debos/debos/.git/config] Interrupt

[sylv ~/Repo/9elements/system-transparency]$ make toolchain
[INFO] Go: Get github.com/go-debos/debos
# cd /home/sylv/Repo/9elements/system-transparency/cache/go/src/github.com/go-debos/debos; git pull --ff-only
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

    git branch --set-upstream-to=<remote>/<branch> master

#111 fixes this issue.


Choosing scatter chart results in lost results

SQL Operations Studio Version: sqlops 0.23.6 (8a3011756318a2ded1e6e84332230a2b2bf9c544, 2017-11-06T21:51:43.232Z)
OS Version: Windows_NT x64 6.1.7601

When switching chart types to scatter, results and charts will disappear. You must re-run the query to fix this. Changing chart types does not fix this.
Steps to Reproduce:

run query
click view as chart
change chart type to scatter
results and chart will disappear
change chart type again to verify results and charts are lost.

This is all most likely related to #37


[Question] How can I access the Virtual Machines externally using noVNC ?

Hi everyone,
I'm developing a web application that uses Harvester as virtual machine management platform. I want to access the virtual machines through novnc externally instead of Harvester UI, and I don't want to install a VNC server on every virtual machine.
How can I do this?
Thanks.

Maybe you can try this method: https://kubevirt.io/2019/Access-Virtual-Machines-graphic-console-using-noVNC.html


GEODE-5768: New ContinuousQuery tests using DataSerializable objects

@pivotal-jbarrett those debug statements are cleaned up and GEODE-5746 will take care of your other concerns.


feat: support PATCH methods

Hi, I would like to support PATCH methods as other methods. Could you take a look into it? If there's something I missed, please let me know. Thanks!

thanks @kenkoooo, would you mind also updating the changelog ?

Thank you for reviewing! I updated CHANGELOG.

Sorry @kenkoooo I was unavailable during the week and just merged another PR so would you mind resolving the conflicts?

@tiagolobocastro No worries! I resolved the conflicts.

According to its summary, the job was canceled because "nightly" failed.
https://github.com/paperclip-rs/paperclip/actions/runs/2280158035

I pushed https://github.com/paperclip-rs/paperclip/pull/422/commits/5a97fdef42ce49440dc7a4916808ae8501c56985 to avoid canceling the stable linter even if the nightly linter failed.
We can fix the code to pass the nightly linter, but I guess we don't want to apply the nightly rules.

Hi @kenkoooo seems with your changes the clippy and fmt are not even running anymore for some reason.

Cool. So I reverted my latest change on lint.yml.

@tiagolobocastro Would you mind publishing the latest version to crates.io? Thanks!


implement flatten from itertools

The itertools crate offers a flatten method. From the docs, "This is more or less equivalent to .flat_map with an identity function."
Implementing this in Rayon should be fairly straightforward, since we support flat_map. You basically have to extend the ParallelIterator trait with a new adapter that invokes flat_map. Naturally we should include some documentation.
There is however one complication. Lacking impl Trait, we can't embed a closure type in the signature. Moreover, implementing the Fn trait directly is not possible on stable Rust. This will therefore require creating a custom adapter Flatten -- this could be a cut-and-paste job from flat_map, but that's unappealing. Another option would be to implement the ParallelIterator trait for flatten and have it invoke flat_map during the drive function. Something like this:
impl<I, F, PI> ParallelIterator for Flatten<I>
    where I: ParallelIterator<Item=PI>,
          PI: IntoParallelIterator,
{
    type Item = PI::Item;

    fn drive_unindexed<C>(self, consumer: C) -> C::Result
        where C: UnindexedConsumer<Self::Item>
    {
        self.flat_map(|x| x).drive_unindexed(consumer)
    }
}

For a general overview of how the parallel iterator traits work, see the README.

Another option would be to implement the ParallelIterator trait for flatten and have it invoke flat_map during the drive function.

That would be my preference.


MatSelect Memory Leak

Describe the bug
The bug that we have found is in terms of the MatSelect component, but I believe the MatCheckbox also suffers the same issue. If you have a MatSelect component in your page it renders the options in a seperate DOM element. I am talking about the UL element, the issue comes in that it never disposes,if you navigate away from that page and then navigate back to it, it recreates the UL element, thus doing navigation a couple of times would result in having n-number of UL elements with the inner LI or Span elements. I see from the repo that a dotnetobjectreference is created for each MatSelect element that is then stored in Javascript, thus leads to the memory reference never being disposed and can cause your application to freeze. The issue gets worse when you have a couple of MatSelects in a table and each row contains one MatSelect. If you click on any MatSelect it causes each one of them to actually rerender and create a additional UL element in the DOM.
To Reproduce
Steps to reproduce the behavior:

Create a new blazor-wasm project.
Install the latest MatBlazor nuget package.
Add a MatSelect to a page, also ensure you have atleast two pages, so that you can navigate.
Run the Blazor app, click on the MatSelect and then close it, navigate to another page in the app and then navigate back to the first page.
You will notice in developer tools that a new MSc-select UL is created in the Dom, keep on doing this and check the memory usage of the page climb by pressing ctrl+escape on the tab.
If you want to see it get even worse add the MatSelect to a table that has multiple rows, with each row having a MatSelect and the data source of the MatSelect should preferably be a List and not static options.

Blazorfiddle link
You can see this behavior on the MatBlazor website as well. Click on The MatSelect menu item, then navigate away and then navigate back.
Expected behavior
The UL element in the DOM should get destroyed after using it.
Additional context
The memory leaks happens especially if the MatSelect has a List data source and not a static set of options. The reason why I am pointing to a memory leaks is that the DOM elements keep replicating and they don't get destroyed. Also what is the most worrying is that for each MatSelect a dotnetobjectrererence is created and this resides on Javaadcripts side, and they don't get exposed. We can easily get the application to run up to 4gig of RAM thus crashing the browser.
I believe the issue to be that the UL element is getting renderes outside the  tag and then Dotnet does not have a pointer to it, but this is just an assumption.
Please let me know if you need any additional information.

This seems like a huge issue that would prevent anyone from using the MatSelect in a production environment. Is there any update on when this may be addressed? I really like the MatBlazor controls and appreciate the efforts of the contributors, but it seems like alot of issues remain unresolved. It would be nice to see the existing components fixed and polished before moving on to add new components.

@chris1411 Hi! I can only speak for myself but I haven't had so much time lately since I recently became a father which occupies a great deal of my time right now :)
But to address your last sentence - I can tell you that almost all work of the contributors goes to fixing bugs or reviewing PR's. I don't think anyone (or perhaps @SamProf ) of the active contributors is developing new components.

@lindespang I totatally understand and thanks for the clarification on development efforts.
After digging into this some more, it looks like if you use the FullWidth="true" on the MatSelect, it correctly anchors the list to the select element instead of the body, and therefore disposes of the list when the MatSelect is disposed. So there is a workaroud. However it looks like the MatMenu has the same issue since they are both built on top of the same mdc-menu components, and i don't believe there is a way to anchor that element currently.
I'm not very familiar with the mdc components, but is there any reason why we would not want to anchor the list to its parent element? Seems like it would fix this issue if we make that the default behavior for both the menu and the select.

@SamProf Do you have an any answer to @chris1411 question? From what I can see in the changeset I can see that you added a condition to only anchor to parent if "Fullwidth" but otherwise anchor to body. (The proposed change from the PR was to always anchor to parent)

Any update on this?

In my own commercial project using MatBlazor, I've noticed components not disposing.  I created a base-class that uses BaseMatDomComponent as its base, so I can check the Disposed property before calling this.StateHasChanged();
That's enough to stop my own component from being disposed.
However, if I inherit directly from  Microsoft.AspNetCore.Components.ComponentBase, and add the Disposed property myself, then my components dispose as expected.
So this i still an issue.  Although I must admit, I'm still stuck on 2.6.2 because a MatSelect doesn't work properly in server-side Blazor.


[UIE-156] Generate source maps for type declarations

This makes "Go to source definition" in VS Code work correctly for imports from Terra UI packages. Currently, it takes you to the CommonJS build output for the package. With this change, it takes you to the original TypeScript file.

Generates a source map for .d.ts files which map back to the original .ts source file. This will allow editors such as VS Code to go to the original .ts file when using features like Go to Definition.
-- https://www.typescriptlang.org/tsconfig#declarationMap

One more thing to do here... probably need to exclude these source maps from the published package since the published package does not include the original source files.


Please separate out the section for skype from teams

Please separate the Skype for Business and Teams section. We are trying to move AWAY from skype and ensure all employees are on teams, so it would be very helpful if you indicated the differences so we can block the skype-only domains to ensure nobody is using that product anymore.

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

ID: 66bd8666-3566-a901-b25b-eb6baba6264a
Version Independent ID: e9f6310f-2207-8c81-d31a-3d5a80beb26b
Content: Office 365 URLs and IP address ranges - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/urls-and-ip-address-ranges.md
Service: o365-administration
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@LauraWi Please help us in resolving this issue. Thanks

I have notified the engineering team of this request, and they are aware of the problem. My understanding is that they are working on a resolution, but that there may be some overlap in IP address ranges between the two services, at least in certain configurations. Hopefully, we will see these services separated in a future update. -Kelley


Find new slot for bi-Weekly sync?

Follow up from #61

[ ] adjust schedule here: https://github.com/bfh/opensource/blob/main/docs/md/goals/join.md

Re-use & update: https://nuudel.digitalcourage.de/Y6yNkqWKFqv3JEooz9SnIWS3/admin


Inconsistency in XLA Compiled Models with tf.experimental.numpy.triu and tf.math.reduce_min with Extra Concat Output

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.15.0
Custom code
Yes
OS platform and distribution
Ubuntu 22.04.3 LTS
Mobile device
No response
Python version
3.10.0
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
cuda : 12.2 / cudnn 8.9.04
GPU model and memory
Tesla V100S-PCIE-32GB
Current behavior?
I've encountered inconsistent behavior in XLA compiled models when using tf.experimental.numpy.triu combined with tf.math.reduce_min, and an additional concatenation node is returned from the model. This issue seems to be similar to #62533, particularly regarding the conditions that trigger the error—specifically, the data type(only int8 input tensor will trigger this error) involved and the dataflow of the models.
This behavior is only seen on gpu.
Standalone code to reproduce the issue
import tensorflow as tf
import numpy as np

class Model1(tf.keras.Model):
    @tf.function(jit_compile=True)
    def __call__(self, inp):
        triu = tf.experimental.numpy.triu(inp, k=0)
        reduce_min = tf.math.reduce_min(triu, axis=0)
        return reduce_min,

class Model2(tf.keras.Model):
    @tf.function(jit_compile=True)
    def __call__(self, inp):
        # Forward pass logic using TensorFlow operations
        # inp: [57, 22] : int8
        triu = tf.experimental.numpy.triu(inp, k=0)
        trans = tf.transpose(triu, perm=[1, 0])
        concat = tf.concat([trans, trans], axis=0)
        reduce_min = tf.math.reduce_min(triu, axis=0)
        return reduce_min, concat,

inputs = [
tf.cast(tf.random.uniform(shape=[57, 22], minval=-128, maxval=128, dtype=tf.int32), tf.int8),
]
model1 = Model1()
model2 = Model2()
device = "gpu"
with tf.device(device):
    tf.config.run_functions_eagerly(True)
    out1 = model1(*inputs)
    out2 = model2(*inputs)
    print(f'=========eager_output(version:{tf.__version__})================')
    try :
        for i in range(min(len(out1),len(out2))):
            np.testing.assert_allclose(out1[i].numpy(), out2[i].numpy(), rtol=0.001, atol=0.001, err_msg=f'at checking {i}th')
        print("XLA_eager does not trigger assertion")
    except AssertionError as e:
        print("XLA_eager triggers assertion")
        print(e)
    tf.config.run_functions_eagerly(False)
    out1 = model1(*inputs)
    out2 = model2(*inputs)
    print(f'=========compiled_output(version:{tf.__version__})================')
    try :
        for i in range(min(len(out1),len(out2))):
            np.testing.assert_allclose(out1[i].numpy(), out2[i].numpy(), rtol=0.001, atol=0.001, err_msg=f'at checking {i}th')
        print("XLA_complie does not trigger assertion")
    except AssertionError as e:
        print("XLA_complie triggers assertion")
        print(e)

Relevant log output
=========eager_output(version:2.15.0)================
XLA_eager does not trigger assertion
=========compiled_output(version:2.15.0)================
XLA_complie triggers assertion

Not equal to tolerance rtol=0.001, atol=0.001
at checking 0th
Mismatched elements: 21 / 22 (95.5%)
Max absolute difference: 127
Max relative difference: 1.
 x: array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
      dtype=int8)
 y: array([ -92,    0, -124,  -38,  -61,  -30, -112, -118,  -75, -120, -127,
       -112,  -86,  -96, -126, -127, -120, -125,  -75, -122, -109, -125],
      dtype=int8)

@Gwihwan-Go,
Hi,
Providing additional outputs does not result in matching outputs. This behavior is expected. Inside the call function you are generating the value for tensor, which in each calls generates different random values because XLA currently ignores TF seeds to random operations which makes the output different for obvious reason. Please refer known issues from XLA section. Also Providing additional outputs does not result in matching outputs. This behavior is expected. Thank you!


Do you planing make wiki documentation on GitHUB?

Hello,
What you think about documentation on GitHUB or example usages?
Now I can not search WIA or TWAIN example on .NET in Internet? How about write in Wiki with smaple code ready to compile?
Thanx.

+1

Check out: https://docs.microsoft.com/dotnet/


cm-rgb: init at 0.3.4

Motivation for this change
This is a set of utilities to control AMD Wraith Prism RGB LEDs.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/220

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/226


Issue running Raspberry image update sample

[Enter feedback here]
cannot get past this section
confirmed the json config files are correct

/adu/du-config.json
/adu/du-diagnostics-config.json

on restarting the service  with this command
systemctl start deviceupdate-agent

then checking status
 systemctl status deviceupdate-agent

this is the result

root@raspberrypi3:/# systemctl status deviceupdate-agent
● deviceupdate-agent.service - Device Update Agent daemon.
     Loaded: loaded (/lib/systemd/system/deviceupdate-agent.service; enabled; vendor preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Tue 2024-02-20 15:33:18 UTC; 1s ago
    Process: 3311 ExecStart=/usr/bin/AducIotAgent -l 0 -e (code=exited, status=255/EXCEPTION)
   Main PID: 3311 (code=exited, status=255/EXCEPTION)

nothing of any use in logs - it periodically recreates 3 logs files with the following content
2024-02-20T15:04:05.0875Z 2901[2901] [D] Log file created: /adu/logs/du-agent.20240220-150405.log [zlog_init:185]
2024-02-20T15:04:05.0881Z 2901[2901] [E] Invalid agent arguments [ADUC_Json_GetAgents:259]
2024-02-20T15:04:05.0883Z 2901[2901] [I] Uninitializing config info. [ADUC_ConfigInfo_UnInit:525]
2024-02-20T15:04:05.0883Z 2901[2901] [E] Cannot initialize config info. [main:928]

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

ID: 17de4614-f12f-1ea1-5d20-a2d65111de52
Version Independent ID: 6a05ed78-88bc-3f1d-4df9-916b0c4e18ef
Content: Device Update for IoT Hub tutorial using the Raspberry Pi 3 B+ reference Yocto image
Content Source: articles/iot-hub-device-update/device-update-raspberry-pi.md
Service: iot-hub-device-update
GitHub Login: @eshashah
Microsoft Alias: eshashah

ignore this sorry


[RFC] ARCH_OPT_FLAGS should be disabled by default

MKL-DNN has an optimization option ARCH_OPT_FLAGS as described below:
set(ARCH_OPT_FLAGS "HostOpts" CACHE STRING
    "specifies compiler optimization flags (see below for more information).
    If empty default optimization level would be applied which depends on the
    compiler being used.
    - For Intel(R) C++ Compilers the default option is `-xHOST` which instructs
      the compiler to generate the code for the architecture where building is
      happening. This option would not allow to run the library on older
      architectures.
    - For GNU* Compiler Collection version 5 and newer the default options are
      `-march=native -mtune=native` which behaves similarly to the descriprion
      above.
    - For all other cases there are no special optimizations flags.
    If the library is to be built for generic architecture (e.g. built by a
    Linux distributive maintainer) one may want to specify ARCH_OPT_FLAGS=\"\"
    to not use any host specific instructions")

But it's default value cause a problem when we build and distribute MKL-DNN binary in some situation.
For example, GCC 5 generates newer CPU instructions supported by the detected processors even if as (assembler) in older binutils in your machine doesn't support them. Actually I got the following errors in CentOS 6 with manually installed GCC 5.5.
# make
[  1%] Building CXX object src/CMakeFiles/mkldnn.dir/common/batch_normalization.cpp.o
/tmp/ccs0bO1c.s: Assembler messages:
/tmp/ccs0bO1c.s:211: Error: suffix or operands invalid for `vpsrlq'
/tmp/ccs0bO1c.s:212: Error: suffix or operands invalid for `vpmovsxdq'
/tmp/ccs0bO1c.s:213: Error: no such instruction: `vextracti128 $0x1,%ymm2,%xmm2'
/tmp/ccs0bO1c.s:214: Error: suffix or operands invalid for `vpmuludq'
/tmp/ccs0bO1c.s:215: Error: suffix or operands invalid for `vpsrlq'
/tmp/ccs0bO1c.s:216: Error: suffix or operands invalid for `vpmuludq'
/tmp/ccs0bO1c.s:217: Error: suffix or operands invalid for `vpmovsxdq'
...

A similar issue was also reported in OpenCV project.
It also might be a problem especially for building an application using MKL-DNN on virtualization environment such like Travis and CircleCI which run on EC2 or GCE, because we can't know which kind of processor is used in advance. It has a chance to generate a non-portable binary unintentionally and randomly, and it must be hard to debug.
With these reasons in mind, I think ARCH_OPT_FLAGS should be disabled by default, or define a reasonable fixed default value (e.g. -mavx for AVX instructions) by clarifying hardware requirements. What do you think about it?

BTW, we can easily use GCC 6 or 7 on CentOS 6 with https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/ or https://www.softwarecollections.org/en/scls/rhscl/devtoolset-7/, which should support pretty much all we need on recent architectures.

Yes, simply upgrading binutils is the solution for the former case. I concern about the case a building environment is different from a running environment.

Hi @okapies,
Yeah, I would probably agree with that it makes sense to be more robust w.r.t. to the architecture we support when default build settings are chosen. On the other hand we are performance library and use all the possibilities to get the best performance.
So let me talk to the team and come back to you.
But whatever the decision would be, we will definitely have to proper document current behavior. So thanks for noting that issue!

Since there is a clear workaround (pass -DOPT_ARCH_FLAGS="") that can be applied during packaging, I'm inclined to close this one as will not fix. (And the binutils situations is clearly an Ubuntu bug...).

Leaving this open until we update the README


ModuleNotFoundError: No module named 'APDrawingGAN.options'

When I run the code

Explain how to fix the error ...
Thank

When I run the code

Explain how to fix the error ...
Thank

Please download from APDrawingGAN as follows:
https://github.com/yiranran/APDrawingGAN
and copy the code to APDrawingGAN folder.

We downloaded the package and extracted it in the mentioned folder :

&
The following error has occurred
Please help ...
ModuleNotFoundError: No module named 'APDrawingGAN.data.face_landmark'

You should keep our files in the APDrawingGAN folder.
-face_landmark.py
-train.py
PS. To avoid this kind of confusion, we plan to embed the source code of APDrawingGAN in our archive soon.
Thank you for your contact.

as the error mentioned that it did not find 'APDrawingGAN.data.face_landmark'. I think you should grab the face_landmark.py which currently under your /APDrawingGAN folder into the /APDrawingGAN/data. Hope this can help.

It is discussed in this issue :
Error 1 ) ModuleNotFoundError: No module named 'APDrawingGAN.options'
Corrected by : Download https://github.com/yiranran/APDrawingGAN & extracted it in the ./APDrawingGAN folder
Error 2 ) ModuleNotFoundError: No module named 'APDrawingGAN.data.face_landmark'
Corrected by : Move file location face_landmark.py from ./APDrawingGAN folder to ./APDrawingGAN/data folder
Error 3 ) ImportError: cannot import name 'Ui_Form' from 'ui.ui' (C:\Users\farza\AppData\Local\Programs\Python\Python38\lib\site-packages\ui\ui.py)
Now how do I fix this error ⬆?
Help fix the error
Thanks

When I run the code

Explain how to fix the error ...
Thank

Please download from APDrawingGAN as follows:
https://github.com/yiranran/APDrawingGAN
and copy the code to APDrawingGAN folder.

as the error mentioned that it did not find 'APDrawingGAN.data.face_landmark'. I think you should grab the face_landmark.py which currently under your /APDrawingGAN folder into the /APDrawingGAN/data. Hope this can help.

It is discussed in this issue :
Error 1 ) ModuleNotFoundError: No module named 'APDrawingGAN.options'
Corrected by : Download https://github.com/yiranran/APDrawingGAN & extracted it in the ./APDrawingGAN folder
Error 2 ) ModuleNotFoundError: No module named 'APDrawingGAN.data.face_landmark'
Corrected by : Move file location face_landmark.py from ./APDrawingGAN folder to ./APDrawingGAN/data folder
Error 3 ) ImportError: cannot import name 'Ui_Form' from 'ui.ui' (C:\Users\farza\AppData\Local\Programs\Python\Python38\lib\site-packages\ui\ui.py)
Now how do I fix this error ⬆?
Help fix the error
Thanks

It seems that we have some missing files on our remote repo. We will make a further update ASAP. Thanks for your patient!

We had pushed a new version. Hope it fixed.

When I run the code

Explain how to fix the error ...
Thank

Please download from APDrawingGAN as follows:
https://github.com/yiranran/APDrawingGAN
and copy the code to APDrawingGAN folder.

as the error mentioned that it did not find 'APDrawingGAN.data.face_landmark'. I think you should grab the face_landmark.py which currently under your /APDrawingGAN folder into the /APDrawingGAN/data. Hope this can help.

It is discussed in this issue :
Error 1 ) ModuleNotFoundError: No module named 'APDrawingGAN.options'
Corrected by : Download https://github.com/yiranran/APDrawingGAN & extracted it in the ./APDrawingGAN folder
Error 2 ) ModuleNotFoundError: No module named 'APDrawingGAN.data.face_landmark'
Corrected by : Move file location face_landmark.py from ./APDrawingGAN folder to ./APDrawingGAN/data folder
Error 3 ) ImportError: cannot import name 'Ui_Form' from 'ui.ui' (C:\Users\farza\AppData\Local\Programs\Python\Python38\lib\site-packages\ui\ui.py)
Now how do I fix this error ⬆? Help fix the error Thanks

We had pushed a new version. Hope it fixed.

When I run the code

Explain how to fix the error ...
Thank

Please download from APDrawingGAN as follows:
https://github.com/yiranran/APDrawingGAN
and copy the code to APDrawingGAN folder.

as the error mentioned that it did not find 'APDrawingGAN.data.face_landmark'. I think you should grab the face_landmark.py which currently under your /APDrawingGAN folder into the /APDrawingGAN/data. Hope this can help.

It is discussed in this issue :
Error 1 ) ModuleNotFoundError: No module named 'APDrawingGAN.options'
Corrected by : Download https://github.com/yiranran/APDrawingGAN & extracted it in the ./APDrawingGAN folder
Error 2 ) ModuleNotFoundError: No module named 'APDrawingGAN.data.face_landmark'
Corrected by : Move file location face_landmark.py from ./APDrawingGAN folder to ./APDrawingGAN/data folder
Error 3 ) ImportError: cannot import name 'Ui_Form' from 'ui.ui' (C:\Users\farza\AppData\Local\Programs\Python\Python38\lib\site-packages\ui\ui.py)
Now how do I fix this error ⬆? Help fix the error Thanks

Thank you very much for your guidance and help . But again the following error occurs .
New Error ) TypeError: exceptions must derive from BaseException
https://user-images.githubusercontent.com/57835828/119436105-d08e5200-bd30-11eb-8e80-ca5a4a0007c4.mp4
Is it possible to connect to my system with AnyDesk software ( This application is for desktop control of people from remote places ) and teach me the run of this project ?
I have all the necessary libraries and directories in my system .
Please set a time for me to give you the address of my AnyDesk to teach you how to run this project .
Is it possible ?

I have done some search on your new error. It seems that the python version does matter. We ran our project on python3.6 basically. I think it's better to rebuild a conda environment with python3.6 and run on it.

I Run the project with Anaconda
But the following error occurs and cannot be fixed :
Click : Error Link
ModuleNotFoundError: No module named 'face_recognition'
&
I installed it from this link
pip install face-recognition

If possible, send me your email so that I can give you my AnyDesk ID to connect to my system and run the project , Please .
Thanks

I have done some search on your new error. It seems that the python version does matter. We ran our project on python3.6 basically. I think it's better to rebuild a conda environment with python3.6 and run on it.

I Run the project with Anaconda
But the following error occurs and cannot be fixed :
Click : Error Link
ModuleNotFoundError: No module named 'face_recognition'
&
I installed it from this link
pip install face-recognition

If possible, send me your email so that I can give you my AnyDesk ID to connect to my system and run the project , Please .
Thanks

Recorded video file of running all the steps Click Link
1 ) In the first stage run with Anaconda :
cd sse
sse.exe "-i index_file -v vocabulary -f filelist -n 8"

call conda activate py36df
python demo.py

Error :

ImportError: numpy.core.multiarray failed to import
Traceback (most recent call last):
File "demo.py", line 3, in
import cv2
File "C:\Users\farza.conda\envs\py36df\lib\site-packages\cv2_init_.py", line 5, in
from .cv2 import *
ImportError: numpy.core.multiarray failed to import

2 ) In the second stage run with VSCode :
cd sse
sse.exe "-i index_file -v vocabulary -f filelist -n 8"

Error :

sse.exe : The term 'sse.exe' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1

sse.exe "-i index_file -v vocabulary -f filelist -n 8"

  + CategoryInfo          : ObjectNotFound: (sse.exe:String) [], Com
 mandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

Suggestion [3,General]: The command sse.exe was not found, but does exist in the current location. Windows PowerShell does > not load commands from the current location by default. If you trust this command, instead type: ".\sse.exe". See "get-help > > about_Command_Precedence" for more details.

+
call conda activate py36df
python demo.py

Error :

Load sse list with length  518
base-img imgdata/CelebAMask-HQ\16.jpg
drawOriSkin= True
QPixmap::fromImage: QPixmap cannot be created without a QGuiApplication
QPixmap: Must construct a QGuiApplication before a QPixmap

Help me get the Run Code .
Thanks


v2.1.1 Release

Ok, that was a drama. v2.1.1 release is now the latest from npm with fixes to v2.1.0 (which should be considered a broken release).
You can run npx nx g @simondotm/nx-firebase:migrate to update your workspace to the latest 2.1.1 schemas.
These recent feature updates have been fairly tricky, but I think we're good now.
Please share here if any problems arise.

Hello Simon,
can I ask you a question about a thing or two regarding the function generator?

In the /project.json file the functions generator generates
"lint": {
      "executor": "@nx/linter:eslint",
      "outputs": ["{options.outputFile}"],
      "options": {
        "lintFilePatterns": ["apps/test-sdm-fire-function/**/*.ts"]
      }
    },
    "test": {
      "executor": "@nx/jest:jest",
      "outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
      "options": {
        "jestConfig": "apps/test-sdm-fire-function/jest.config.ts",
        "passWithNoTests": true
      },
      "configurations": {
        "ci": {
          "ci": true,
          "codeCoverage": true
        }
      }
    },

... I was wondering about
"lint":"lintFilePatterns"
and
"test":"configurations"
I don't see them declared in any of the generator files.
Can you please tell me how you generated those two blocks of code?

The @nx/node generator takes care of those.
When you run nx g @simondotm/nx-firebase:function the plugingenerates a customised @nx/node app project.


[feat] Columns Component - Markdown support for item's description

Currently in columns component, description_md is only supported for description under the value.
It will be great if there is markdown support for all the item as well, allowing for hyperlinks and text formatting as well.
A potential solution would look like -
JSON_OBJECT("icon", "check", "color", "green", "description_md", "[Collaboration Tools](https://collabtools.local)")

I implemented this, it'll be in v0.31


No Code Streaming for Claude 3.5 Sonnet, only gpt4o

there is no code streaming for Claude 3.5 Sonnet, but gpt4o code streaming works, also preview is quicker with gpt4o compared to Claude 3.5 Sonnet

not an issue with the artifacts app per se., it's just streaming works different for Anthropic models


On prepareEncoder errors, ensure resources are released

Sometimes resources are not released. This fixes that

Hello,
This code is not totally safe (stop and release method can throw exceptions) and you repeat code.
Instead of that you can call stop() method provided by BaseEncoder that implement that code in a safe way. Also you should implement that in AudioEncoder.
After that modification I will check and accept your PR.

Hello,
This code is not totally safe (stop and release method can throw exceptions) and you repeat code.
Instead of that you can call stop() method provided by BaseEncoder that implement that code in a safe way. Also you should implement that in AudioEncoder.
After that modification I will check and accept your PR.

Thank you for the suggestion! I have made the change as directed. Please review at your convivence

Thank you for the suggestion! I have made the change as directed. Please review at your convivence


Do not mistake three slashes for comment lines

The current version of presciidoc currently interprets three forward slashes at a beginning of a line as a comment line and when ran with the -c option, removes such lines from the output:
$ cat test.adoc
/// This is not a comment
$ presciidoc -c test.adoc
$

AsciiDoctor however defines line comments as exactly two forward slashes at the beginning of the line followed either by the end of line or any character other than another forward slash. As a consequence, the asciidoctor utility interprets lines starting with three forward slashes as regular paragraphs:
$ asciidoctor -so - test.adoc

/// This is not a comment

I believe presciidoc should match this behavior.

This is now resolved in presciidoc version 0.3.0.
Thanks for the bug report!


Add support of Addic7ed defining multiple versions compatibility

Stuff like that:

Also moves version(s) detection/normalization to a separate service object.

Coverage remained the same at 100.0% when pulling 2a4b467b6e38f0f6e9aad076a9d85cf7c4c939c2 on add-support-for-multiple-versions-on-addic7ed into 766c8caaa0ec862db6e628e9a044f452fe90e9d0 on master.


Consul catalog backend

Hey. It would be really sweet if traefik could use the catalog api of consul as a backend. Is this something you have planned to add or would want to include?
cheers!

Hi @keis, yes I agree, but as I said here: https://github.com/emilevauge/traefik/issues/146, there is no label notion in Consul services. Maybe I could use tags using a special format but it would have been better with labels :)

It would be useful (I think) even without labels/tags support. I'm going to try hacking around a bit and see if I can get something to work.


No tests found, exiting with code 1

🐛 Bug Report
When the root directory contains the word "Layout", Jest fails with the error "No tests found, exiting with code 1"
If I remove the word "Layout" from the root directory name, it works.
Eg.
/home/username/workspace/LayoutBugFix - Jest fails
/home/username/workspace/testBugFix - Jest works
To Reproduce
Use the word "Layout" as part of the root directory name. Eg.
/home/username/workspace/LayoutBugFix, then run Jest (npm run test)
Expected behavior
Jest should work without any root directory name restriction.
envinfo
  System:
    OS: Linux 4.19 CentOS Linux 7 (Core)
    CPU: (16) x64 Intel(R) Xeon(R) Platinum 8275CL CPU @ 3.00GHz
  Binaries:
    Node: 14.16.1 - /usr/bin/node
    Yarn: 1.22.10 - /usr/bin/yarn
    npm: 6.14.12 - /usr/bin/npm
  npmPackages:
    jest: ^26.4.2 => 26.4.2

I see you  are using Jest 26.4.2, does this issue not happen to 26.6.3?
Would you please share a repo so that everyone can help to check? A repo to reproduce the issue is important because it also contains Jest config as well as other configurations.


add urls+configs for awa dataset

Adding URLs + configs for the awa2 dataset to ri-public-examples.
I thought about how to have the download_files script also download all the raw image files. Copying and pasting the link of every image file into data_urls.csv is obviously a terrible idea. In the end I decided to add some custom logic to download_files.py such that if the downloaded URL is a zip file, we'll also unzip it. This allows me to upload the raw image directory as a zip file, and the script will unzip the image files after it's downloaded. Feel free to try it out!
Tagging @asamant22 on this since it seems like you're adding more data files to Dropbox - I can update this PR accordingly.
Closes RIME-8929
@RobustIntelligence/ml

@jerryjliu Added one more directory for models: https://www.dropbox.com/home/Root/Public Artifacts/ri-public-examples.tar/ri-public-examples/examples/awa2/data/models.

https://www.dropbox.com/home/Root/Public Artifacts/ri-public-examples.tar/ri-public-examples/examples/awa2/data/models

@asamant22 i'm confused, there's already a models folder in awa2/models (which seems to contain the same files), why add another folder?


Add Builds for Static Linking MsQuic

@thhous-msft I'm going to need some help with this one. How is static linking supposed to work?

You need to add base_link to the link list, after all the static stuff.
https://github.com/ThadHouse/quiccomm/blob/main/commlib/CMakeLists.txt#L15 (You can also add warnings if you want to turn on warnings as errors)

You need to add base_link to the link list, after all the static stuff.
https://github.com/ThadHouse/quiccomm/blob/main/commlib/CMakeLists.txt#L15 (You can also add warnings if you want to turn on warnings as errors)

Thanks!


Add regex field for completion suggester.

Can anyone look at this pull request, please?

Sorry for the delay. Will do so over the next hours and days.

I refactored completion suggester to support all current options in this commit which will be released in 5.0.59. See the tests for usage, and report errors as you find them.

Thanks a lot! I don't really deserve to be enlisted in contributors though.


Next.js App Router react-dom server error

Describe the bug
I'm getting the following error when I try to render a chart using ReactPDFChart in Next.js:
ReactServerComponentsError:

You're importing a component that imports react-dom/server. To fix it, render or return the content directly as a Server Component instead for perf and security.
Learn more: https://nextjs.org/docs/getting-started/react-essentials

The error was caused by importing 'react-pdf-charts/dist/index.js' in './pdfs/report.tsx'.

Versions:
"next": "13.4.8",
"@joshuajaco/react-pdf-renderer-bundled": "^3.1.12",
"recharts": "^2.8.0",
"react-pdf-charts": "^0.2.1",

I am also using @joshuajaco/react-pdf-renderer-bundled instead of regular react-pdf because of another bug with Next.js. I'm unsure of whether that has any implications on this particular case.
Reproduction
Using some chart, for example:
pdfs/report.tsx
...
  <ReactPDFChart>
    <PieChart width={500} height={300}>
      <Pie
        data={data}
        dataKey="value"
        nameKey="name"
        cx="50%"
        cy="50%"
        outerRadius={80}
        fill="#8884d8"
        label
      >
        {data.map((entry, index) => (
          <Cell
            key={`cell-${index}`}
            fill={COLORS[index % COLORS.length]}
          />
        ))}
      </Pie>
      <Legend />
    </PieChart>
  </ReactPDFChart>
...

This is how I render it and return it to the client, on a route.jsx API "page" (which worked without the charts):
some-api/route.jsx
const pdfBuffer = await renderToBuffer(
  <ReportPDF
    assessmentData={assessmentDataJson}
    companyData={companyDataJson}
    userStats={newUserStats}
    stats={stats}
  />
);

return new Response(pdfBuffer, {
  headers: {
    "Content-Type": "application/pdf",
    "Content-Disposition": `attachment; filename="invoice.pdf"`,
  },
});

Validations

[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that you're confident that this is a legitimate bug. To ask a question open a GitHub Discussion.
[X] The provided reproduction is a minimal reproducible example of the bug.

Does it work if you add use client on the file which imports react-pdf-charts?

It doesn't

I was able to get around the ReactServerComponentsError by using experimental.serverComponentsExternalPackages, but recharts is now failing to render on the server because it's using some client code that Next 14 can't run in a route handler. 😠
Here's where I got to: https://stackblitz.com/edit/stackblitz-starters-zt49kv?file=package.json
It currently fails with:
TypeError: Super expression must either be null or a function
node_modules/react-smooth/es6/Animate.js (19:112)
node_modules/react-smooth/es6/Animate.js (34:2)
node_modules/react-smooth/es6/Animate.js (314:2)

I was able to get around the ReactServerComponentsError by using experimental.serverComponentsExternalPackages, but recharts is now failing to render on the server because it's using some client code that Next 14 can't run in a route handler. 😠
Here's where I got to: https://stackblitz.com/edit/stackblitz-starters-zt49kv?file=package.json
It currently fails with:
TypeError: Super expression must either be null or a function
node_modules/react-smooth/es6/Animate.js (19:112)
node_modules/react-smooth/es6/Animate.js (34:2)
node_modules/react-smooth/es6/Animate.js (314:2)

Hi,
Have you ever found the solution to this problem? I have a couple charts that I need to render into a PDF in a route handler. This seems like the most elegant option, but I am stuck on the Animate.js issue.

I am getting this issue "Module not found: Error: Can't resolve 'react/jsx-runtime" and "Module not found: Error: Can't resolve 'react-dom/server" in react app where my react and react-dom both are pointing to version 17. How can I resolve it

I don't know how to resolve it. It seems to be a bug (or limitation of) Next.js. I've opened an issue with them here. Feel free to upvote it to raise its priority.

I don't know how to resolve it. It seems to be a bug (or limitation of) Next.js. I've opened an issue with them here. Feel free to upvote it to raise its priority.

I am not using nextjs I have a react app with version 17 but I am getting the same error

Can you please create a repo with your setup and share it with me? I can take a look.


LIVE-8139: fix Can't Open Device error with speculos bot test

📝 Description
Fix error during scan account with speculos.
❓ Context

Impacted projects: coin-framework
Linked resource(s): LIVE-8139

✅ Checklist

[x] Test coverage
[x] Atomic delivery
[ ] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

@haammar-ledger it's LGTM 👍


Trinity.TSL: move [Index] support out of codegen

Currently, [Index] attribute is interpreted by the TSL codegen, which will then generate an inverted index service for each of these fields. However, to make indexing more flexible, we should remove the index codegen, and migrate the indexing capabilities to an ICell-based framework, where indexer modules can claim their indexing capabilities, and arranged by our system. It is even possible that one field is indexed by multiple indexer modules claiming different capabilities (some good at range searches, some good at FTS, etc).

Hey @yatli does this enhancement manifest itself as a breaking-change? I am using index on RDF-Triple Axioms and Object the reference objects. I am using "struct" to model and represent object values resolution vs. object references projections where I need to reference the ICell-based framework. Also to have the object-reference in a triple-store representation accessible by other indexer module is great as differing search and inference strategies can be deployed; what type, if any, metadata does the GE compute engine generate.

@TaviTruman you can save the generated code and incorporate it with the tsl project (with the nuget package, we can add custom code to a tsl assembly and access the internal components). I feel like this is a better way to approach the index problem, as filling the indexer code into the codegen will bring in too many assumptions, which may or may not suit a user's need.

@yatli Okay that works for me.

@TaviTruman btw we can also adapt the current bigram as such a "index module". Are you using the raw query inteface (feed in string, get a list of cell ids) or the LINQ interface? The LINQ part could be a more general one and it could serve all index modules, and thus we can split this part out so that we can maintain the bigram index more easily. :)

I'm using the LINQ interface and yes your right regarding the more general use-case; I had a thought about that a few weeks ago as it makes sense for reuse while just passing in a expression as parametric control for indexing. Separating out away from Bigram indexing will make space for idiosyncratic optimizations and behavior enhancement and this is a good thing.

Moving this item to Future.


Plugin settings implementation

I've been trying to implement settings into my c# plugin for weeks. I looked at other plugins who have them and copy pasted their code. No luck. Xaml elements don't load. Please help

Have you implemented this interface? https://www.flowlauncher.com/docs/#/API-Reference/Flow.Launcher.Plugin/ISettingProvider

Yes. Made a UserControl page and everything, It doesn't show up.

https://github.com/Tomkov1c/Lorem-Ipsum-Generator

I tried copying another plugin's settings implementation. Didn't work. Pls help


improve actors for myjobs [development_package_myjobs]

/sandbox/code/github/threefoldtech/jumpscaleX_threebot/ThreeBotPackages/myjobs/actors/myjobs.py

[ ] use model.index.sql ... index as much as possible
[x] have parameters to make it easy to query jobs & workers & actions
[x] make interface more compelte

first make a mockup then ask Kristof to verify

can be done in 2x less code at leas if not 5x
code of actors should always be novice developer friendly read (even non developers should understand), its just using our SAL/CLIENTS/...

work is on https://github.com/threefoldtech/jumpscaleX_threebot/blob/development_web_blog/ThreeBotPackages/myjobs/actors/myjobs.py , sql.index not used

obsolete


add prop to control the automatic hiding of the carousel

I was running into an issue on Android (RN 0.52) where my slides were not displaying on mount. They would only appear after setting the apparitionDelay to >100. I tested this in production mode and the problem persisted. Using inspector I could see that the opacity of the list had correctly updated from 0 to 1 (caused by the built-in state.hideCarousel defaulting to true), but the slide was not displayed. I think it was stuck in the hidden state due perhaps to FlatList being a PureComponent.
This PR lets us override the initial hiding of the carousel. The default is still true.

Hi @michaelduminy,
It's been a while since you submitted the PR. If you're still interested in getting this merged, could you please add a description of the prop in the relevant documentation?

Whoops! Forgot to do this. I no longer need the functionality. If someone wants to take it up I'll leave my fork available.


when Run Indexing,An error occurred：❌ create_final_entities  None

details:
├── create_base_text_units
├── create_base_extracted_entities
├── create_summarized_entities
├── create_base_entity_graph
└── create_final_entities❌ Errors occurred during the pipeline run, see logs for more details.
I don't know what to do, and I don't know how to verify that the model's answer is valid.

The error message was found in the log file: model "nomic-embed-text" not found, try pulling it first
So after running the code'nomic-embed-text', the problem is solved


Unable to reload projects from history

Describe the bug
I am unable to work on any projects from the chat history. I encounter numerous errors on npx next build , most recent was what appeared to be a linting error which i attempted to manually resolve but still encountered the same issue. ive spent a lot of tokens having to restart projects or trying to resolve the issues automatically.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-zpde1s
Steps to reproduce
1 log in
2 select chat from the repository
3 encounter errors when compiling
Expected behavior
i expect to be able to pick up where i left off when selecting a chat from the history.
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 117
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 114672967,
  "usedJSHeapSize": 87087271,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = nuworldagency
Chat ID = cf2d0288b6c2

Additional context
Error:
An unknown error occured while running an action.

Can you try loading from StackBlitz.com > Collections > Bolt instead and see if that works better?


OLSSI session sponsor

per Allen R:
OLSSI will sponsor the session "Practicing organizational care: Using human-centered approaches to facilitate change in your library"
I don't know how to create that connection, but we can figure that out...

Hi Ken, we will also need to add RPC sponsor for poster session "Teaching to the Same Audience: Collaboration between Instruction and Special Collections Teams". Since this is for a poster; should I create a separate issue?

@tuckerk3 - Yes -- please create a separate issue -- that will require similar but different approach.
We don't have an RPC logo do we... Do you have any desire to mock one up?

@kenirwin Hi Ken, sure I will put together a mock up.


chore: Add markdown syntax support - Issue 572

[ ] Because this PR includes a bug fix, relevant tests have been included.
[x] Because this PR includes a new feature, the change was previously discussed on an Issue or with someone from the team.
[ ] I didn't do anything of this.

I added markdown syntax support that was requested based on the description from here https://github.com/NomicFoundation/hardhat-vscode/issues/572
I made sure to disable any solidity extension to recreate it

After applying changes, while plugins are disabled

Can we get this merged, @kanej @OmarTawfik ?

Can we get this merged, @kanej @OmarTawfik ?

I will take a look.

Thanks @michaeltomasik, I was tested locally and merged.


Windows failures

This is a tracking bug for this AppVeyor failure, which initially looks to be a problem with nox (since @nox.session and @nox.parametrize ought to exist).
I am currently attempting to rebuild with the nox.py file renamed to noxfile.py to see what happens.

I figured out what this was. AppVeyor was running the nox.py file at the root directory instead of the nox executable.


check for $MSYSTEM at the start of every build script

currently only buildmypkg(64).sh checks for correct compiler bitness environment before proceeding. Users can however, invoke the wrong build script (bld_*.sh) by hand.
Very easy to implement. Just copy-paste.

added you as a collaborator of this repo ＼(^o^)／

coreupdate.shとinst_vase.shにもcheckは必要では？
if [ $MSYSTEM != "MSYS" ]; then
echo "You MUST launch MSYS2 using msys2_shell.bat"
echo "OR set the PROCESS environment variable: MSYSTEM , to 'MSYS', prior launching mintty.exe"
exit
else

また、*_64.shですが
echo "You MUST launch MSYS2 using mingw64_shell.bat"
echo "OR set the PROCESS environment variable: MSYSTEM , to 'MINGW64', prior launching mintty.exe"

にしないとメッセージがおかしい気がします、だよね？神尾田(@AinoMegumi)
したがってIssueはreopenするべきです。
・・・ところでget_patch.shは何をしていて、どこで呼ばれているのでしょう・・・・

coreupdateはどんなMSYSTEMでも構いません。
inst_baseは最初のSetupしか実行しません

たしか　*_64.sh のError messageがおかしいです…　to MINGW32→ to MINGW64

actually I found only one file with the wrong error message and I have just fixed that. Please double check.

get_patch.sh is called by ./buildmypkg(64).sh

ああ、おかしいのはbld_bzip2_64.shだけか。じゃあこれでfixedで。

get_patch.sh is called by ./buildmypkg(64).sh

そこか、ぜんぜん違うところを探していた・・・。

I'll just leave this issue opening here for a few days in case we miss something.

Extrat "else" without matching "fi" broke some scripts. Fixing...

fixed


feat: support qvalue weighting in Accept headers

Motivation
Improves compatibility with attestantio's beacon client, and other libraries in general.
Description
Adds a utility function to parse and prioritize Media Types based on the Accept header and RFC-9110.
Preserves the default behavior of returning json instead of a 406 (since the beacon-API doesn't seem to like HTTP 406).
Adds unit tests for the new function.
Closes https://github.com/ChainSafe/lodestar/issues/5966
Steps to test or reproduce
Tested with yarn test:unit --scope @lodestar/api

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

@nflaig lint / type errors from the previous CI runs should now be resolved

This will become increasingly important once more APIs support ssz and json format

Can't come soon enough! Json is great for debugging but very, very slow :(
More immediately this will stop rescue-proxy from crashing lodestar here: https://github.com/Rocket-Rescue-Node/rescue-proxy/blob/master/consensuslayer/consensus-layer.go#L184
This function creates an index based on 0x01 credentials and is required for us to support non-rocketpool validators, a feature we're excited to roll out. Thanks for the quick reviews!

More immediately this will stop rescue-proxy from crashing lodestar here: https://github.com/Rocket-Rescue-Node/rescue-proxy/blob/master/consensuslayer/consensus-layer.go#L184

Right, the response when getting validators without specifying pubkeys / indexes is even bigger than the state response on mainnet. We should look into supporting ssz for this API, it is also quite frequently used by the validator client.

This looks really nice!  Thank you for the contribution!

:tada: This PR is included in v1.12.0 :tada:


Nistats has no continuous testing support for Windows platform

We should add Appveyor for Nistats, the way we have for Nilearn.

Good point -- though not an emergency. B