text:
cookie editing getting error on upload

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.05.18 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
hey there i am getting this error on upload

no info ?

open any editor, edit cookie.json
replace 'no_restriction' to  None is fine

like this?
On Tue, 31 May 2022 at 10:21, HeisenBerg? @.***> wrote:

open any editor, edit cookie.json
replace 'no_restriction' to None is fine
—
Reply to this email directly, view it on GitHub
https://github.com/wanghaisheng/youtube-auto-upload/issues/22#issuecomment-1141514595,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZDGH7ZJRIUOGOT5MSY6KOTVMU5PXANCNFSM5XLVPP7Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

like this
On Tue, 31 May 2022 at 10:21, HeisenBerg? @.***> wrote:

open any editor, edit cookie.json
replace 'no_restriction' to None is fine
—
Reply to this email directly, view it on GitHub
https://github.com/wanghaisheng/youtube-auto-upload/issues/22#issuecomment-1141514595,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZDGH7ZJRIUOGOT5MSY6KOTVMU5PXANCNFSM5XLVPP7Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

yeah

still same error

None instead none

working thanks

let me know

even putting 1 for policy its posting and videos private

can you paste the content of console

stuck here

1.try to find
'this is a schedule video task'

Hey, Wang!
I am getting the exact sample Timeout 30000ms error as mentioned by @simpelecase Above.
It seems to be occurring whenever publishpolicy is 1.
Is there a workaround?
What do you mean by 1. try to find "this is a schedule task"?

I  need screen recording and full log for that
for timeout issue 99% is caused by your network quality
for 1 it means publish at instant
for 0 means private
for 2 means publish at your schedule datetime

Is there somewhere in your code you could change the timeout limits of a playwright page?
And I can not seem to upload a custom thumbnail.
----The thumbnail file exists and I have the correct path to it
----I did not make many changes to "one-file example. py" except for setting the path for video, cookie and thumbnail"
I left tags and description empty bc I have youtube upload default set.
and turning | watcheverystep &   record screen to False

Good to see you are still responsive,
many other people on github simply publish their git repo and forget about it after.

I need screen recording and full log for that
I really  did not intend to ask twice

try  uninstall using pip uninstall ytb_up
install at the root directory
python setup.py install
3.run demo code

I reinstalled Pip, so thumbnail part is working now. But program still times out, when publish policy is not 0
ScreenRecording:
d1db7ebc-21f2-416e-a102-0b9bfe91f2f7.webm
Log:
whether run in view mode True
start web page without proxy
DEBUG: Firefox is now running
============tags ['']
cookies existing C:\Users\maxxu\PycharmProjects\AgentRoxyProject\cookie.json
<Locator frame=<Frame name= url='https://www.youtube.com/'> selector='yt-img-shadow.ytd-topbar-menu-button-renderer > img:nth-child(1)'>
checking login status True
start change locale to english
Click your profile icon .
Click Language or Location icon
choose the language or location you like to use.
finish change locale to english
DEBUG: Found YouTube upload Dialog Modal
DEBUG: Trying to upload "C:\Users\maxxu\PycharmProjects\AgentRoxyProject\Final.mp4" to YouTube...
DEBUG: Trying to detect verify...
there is no verification at all
DEBUG: Trying to set "[War Scene] The Japanese army fired planes to bomb the Chinese fleet ." as title...
click title field to input
clear existing title
filling new  title
DEBUG: Trying to set "[War Scene] The Japanese army fired planes to bomb the Chinese fleet ." as description...
DEBUG: Trying to set "C:\Users\maxxu\PycharmProjects\AgentRoxyProject\AgentRoxyThumbnail.png" as thumbnail...
DEBUG: Trying to set video to "Not made for kids"...
not made for kids task done
tags you give ['']
overwrite prefined channel tags
click show more button
DEBUG: Trying to set "" as tags...
clear existing tags
filling new  tags
uploading progress check task done
next next!
next next!
next next!
DEBUG: Trying to set video visibility to public...
Error feed:
Traceback (most recent call last):
File "C:\Users\maxxu\PycharmProjects\AgentRoxyProject\GunKingDownload.py", line 345, in
task()
File "C:\Users\maxxu\PycharmProjects\AgentRoxyProject\GunKingDownload.py", line 340, in task
instantpublish()
File "C:\Users\maxxu\PycharmProjects\AgentRoxyProject\GunKingDownload.py", line 249, in instantpublish
asyncio.run(upload.upload(
File "D:\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\lib\asyncio\base_events.py", line 646, in run_until_complete
return future.result()
File "C:\Users\maxxu\PycharmProjects\AgentRoxyProject\venv\lib\site-packages\ytb_up\youtube.py", line 401, in upload
await page.locator(PUBLIC_RADIO_LABEL).click()
File "C:\Users\maxxu\PycharmProjects\AgentRoxyProject\venv\lib\site-packages\playwright\async_api_generated.py", line 12189, in click
await self._impl_obj.click(
File "C:\Users\maxxu\PycharmProjects\AgentRoxyProject\venv\lib\site-packages\playwright_impl_locator.py", line 144, in click
return await self._frame.click(self._selector, strict=True, **params)
File "C:\Users\maxxu\PycharmProjects\AgentRoxyProject\venv\lib\site-packages\playwright_impl_frame.py", line 474, in click
await self._channel.send("click", locals_to_params(locals()))
File "C:\Users\maxxu\PycharmProjects\AgentRoxyProject\venv\lib\site-packages\playwright_impl_connection.py", line 43, in send
return await self._connection.wrap_api_call(
File "C:\Users\maxxu\PycharmProjects\AgentRoxyProject\venv\lib\site-packages\playwright_impl_connection.py", line 370, in _
return await result
File "C:\Users\maxxu\PycharmProjects\AgentRoxyProject\venv\lib\site-packages\playwright_impl_connection.py", line 78, in inner_send
result = next(iter(done)).result()
playwright._impl._api_types.TimeoutError: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for selector "tp-yt-paper-radio-button.style-scope:nth-child(20)"
Exception ignored in: <function BaseSubprocessTransport.del at 0x00000288FEADD360>
Traceback (most recent call last):
File "D:\lib\asyncio\base_subprocess.py", line 126, in del
File "D:\lib\asyncio\base_subprocess.py", line 104, in close
File "D:\lib\asyncio\proactor_events.py", line 108, in close
File "D:\lib\asyncio\base_events.py", line 750, in call_soon
File "D:\lib\asyncio\base_events.py", line 515, in _check_closed
RuntimeError: Event loop is closed
Exception ignored in: <function _ProactorBasePipeTransport.del at 0x00000288FEADECB0>
Traceback (most recent call last):
File "D:\lib\asyncio\proactor_events.py", line 116, in del
File "D:\lib\asyncio\proactor_events.py", line 108, in close
File "D:\lib\asyncio\base_events.py", line 750, in call_soon
File "D:\lib\asyncio\base_events.py", line 515, in _check_closed
RuntimeError: Event loop is closed
Process finished with exit code 1

@simpelecase
18926010461  try add me

authors: roxydoxyGits simpelecase wanghaisheng


text:
将画布的背景图设置为网络图片且和编辑器不同源，导出时抛出异常“Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported”。

这个没啥办法

这个没啥办法

这个插件支持二次开发吗？

你二次开发也没用啊，浏览器的限制

@好的，明白了，那只能暂时将网络图片转成Base64传入，感谢作者。🎊

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Datasets

May I know how to get the datasets?

Sure, you can find them on Google drive. https://drive.google.com/file/d/14bdK0qd-AvLfOASjX2G-ErGtiSV4LPfH/view?usp=sharing

Sure, you can find them on Google drive. https://drive.google.com/file/d/14bdK0qd-AvLfOASjX2G-ErGtiSV4LPfH/view?usp=sharing


text:
Add pull request template

🤔 Not Existing Feature Request?

[X] Yes, I'm sure, this is a new requested feature!

🤔 Not an Idea or Suggestion?

[X] Yes, I'm sure, this is not idea or suggestion!

📋 Request Details
Add pull request template.
Lots of template are already available, you can use any one.
📜 Code of Conduct

[X] I agree to follow this project's Code of Conduct.

Do you have example of it @theritikchoure ?

@warengonzaga , below I have mentioned a link for pull request templates.
https://github.com/axolo-co/pull_request_template
You can use any, I personally use Example - 6

@warengonzaga , below I have mentioned a link for pull request templates.
https://github.com/axolo-co/pull_request_template
You can use any, I personally use Example - 6

Interesting, I'll take a look.

authors: theritikchoure warengonzaga


text:
Can we create multiple child webgl context on parent widget  ?

I have a trouble when I call 2 widgets which contains webgl context on my parent widget :
If I take your webgl_animation_keyframes.dart and webgl_loader_gltf.dart from your example :
Column(
    children: [
        webgl_loader_gltf(),
        webgl_animation_keyframes(),
    ]
)

I've this result (only the second load) :

When I use 2 animated gltf differents, I have an animation conflict on the second child widgets and the first is black :
(Normaly the character should be in the top widget and c3po in the bottom widget)

I already check this kind of solution but it's hard to apply in flutter/dart context :
https://webglfundamentals.org/webgl/lessons/webgl-multiple-views.html
Do you have an explanation or solution ?
Thanks for your library 🙏

Hi @MapleNoise
now flutter_gl not support multi opengl contexts
but i think you wanted is use viewport to show multiple views
it is supported
have a look threejs example https://threejs.org/examples/?q=view#webgl_multiple_views
or
three_dart example
https://wasabia.github.io/three_dart_example/#/examples/webgl_camera
use viewport to show multiple

It's ok for me, don't forget to add/update the autoclear params in the render() function :
Works fine with .gltf
  render() {
    int _t = DateTime.now().millisecondsSinceEpoch;

    final _gl = three3dRender.gl;

    renderer!.setViewport(0, 0, 100, 100);
    renderer!.render(scene, camera);

    renderer!.autoClear = false;

    renderer!.setViewport(100, 0, 100, 100);
    renderer!.render(scene, camera2);

    renderer!.autoClear = false;

    renderer!.setViewport(200, 0, 100, 100);
    renderer!.render(scene, camera3);

    renderer!.autoClear = true;

    int _t1 = DateTime.now().millisecondsSinceEpoch;

    if (verbose) {
      print("render cost: ${_t1 - _t} ");
      print(renderer!.info.memory);
      print(renderer!.info.render);
    }

    _gl.flush();

    if (verbose) print(" render: sourceTexture: $sourceTexture ");

    if (!kIsWeb) {
      three3dRender.updateTexture(sourceTexture);
    }
  }

authors: MapleNoise wasabia


text:
BarItem

Can i customized barItem not only using icon but jpg or svg?

yes, you can convert SVG to iconData

authors: krisnachy watery-desert


text:
Can't make it work

Hi,
I'm trying to validate all the .html files under the /dist folder, but apparently I can't make this task work:
gulp.task('html', function() {
  return gulp.src("dist/**/*.html")
  .pipe(validator())
  .pipe(gulp.dest('dist/'));
});

I constantly get:
[My directory]\node_modules\gulp-util\lib\PluginError.js:73
  if (!this.message) throw new Error('Missing error message');
                     ^

Error: Missing error message
    at new PluginError ( [My directory]\node_modules\gulp-util\lib\PluginError.js:73:28)
    at [My directory]\node_modules\gulp-html\index.js:33:17
    at ChildProcess.exithandler (child_process.js:209:5)
    at emitTwo (events.js:100:13)
    at ChildProcess.emit (events.js:185:7)
    at maybeClose (internal/child_process.js:850:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)

What am I missing?
Help is appreciated, thanks!
P.S.
Node version is 5.8.0

Hello! Thanks for reporting this. This gulp plugin requires java command. Could you please try to display the version of Java?
$ java -version

Hi, thanks for the reply.
I've checked and it seems that I was having an older version of Java 7, but now I've just updated to the latest 8 version.
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b15)

So, now using the vnu from the CLI seems to work just fine:
java -Xss512k -jar vnu/vnu.jar --skip-non-html dist/

The only thing is that I'm still getting the above error message for the gulp-html. I guess I'm doing something wrong...

Hmm I think it's kind of bug of this gulp-html cuz this plugin unfolds the html file because of the gulp way.

I see, thanks for taking a look.  Looking forward for a fix maybe :)

Hey, is there any news on this? :)

@catalinred  check my pull request

authors: Vernando05 catalinred watilde

repo: watilde/gulp-html

license: mit

license_source: bigquery


text:
Setup rebar3_format

https://github.com/AdRoll/rebar3_format

4feb840bde0087d15251ce627ea141a0a2ed052c

authors: marianoguerra wattlebirdaz

repo: wattlebirdaz/rclref


text:
Fix Fullscreen

Why
Currently, when trying to make the current window fullscreen it throws exception
  Command FullScreenWindow not valid for browser Marionette::WebDriver (Exception)
         from lib/marionette/src/marionette/web_driver.cr:84:9 in 'execute'
         from lib/marionette/src/marionette/session.cr:833:16 in 'execute'
         from lib/marionette/src/marionette/window.cr:142:7 in 'execute'
         from lib/marionette/src/marionette/window.cr:134:5 in 'execute'
         from lib/marionette/src/marionette/window.cr:131:7 in 'fullscreen'
         from lib/flux/src/flux.cr:27:5 in 'fullscreen'
         from spec/flows/authorization_code_flux.cr:15:7 in 'call'
         from spec/flows/authorization_code_flux.cr:6:5 in 'flow'
         from spec/helpers/token_helper.cr:15:26 in 'prepare_code_challenge_url'
         from spec/token_spec.cr:11:45 in '->'
         from /usr/share/crystal/src/primitives.cr:266:3 in 'internal_run'
         from /usr/share/crystal/src/spec/example.cr:33:16 in 'run'
         from /usr/share/crystal/src/spec/context.cr:18:23 in 'internal_run'
         from /usr/share/crystal/src/spec/context.cr:330:7 in 'run'
         from /usr/share/crystal/src/spec/context.cr:18:23 in 'internal_run'
         from /usr/share/crystal/src/spec/context.cr:330:7 in 'run'
         from /usr/share/crystal/src/spec/context.cr:18:23 in 'internal_run'
         from /usr/share/crystal/src/spec/context.cr:147:7 in 'run'
         from /usr/share/crystal/src/spec/dsl.cr:201:7 in '->'
         from /usr/share/crystal/src/primitives.cr:266:3 in 'run'
         from /usr/share/crystal/src/crystal/main.cr:45:14 in 'main'
         from /usr/share/crystal/src/crystal/main.cr:119:3 in 'main'
         from __libc_start_main
         from _start
         from ???

Side Effects
When calling current_window.fullscreen no exception is thrown and windows is resize to full screen.

Thanks!

source: gharchive/pull-request

authors: eliasjpr watzon

repo: watzon/marionette


text:
Hide Unused Columns from Logbook

By submitting feature requests, you have the opportunity to contribute your ideas and inspiration to the Wavelog Dev-Team. Please be aware that not every feature request will be addressed or answered.
What Feature is Missing?
A way to hide unused/unwanted columns from the logbook. A second part is to then hide the data from the logbook dashboard if the column that is referenced is hidden.
Why is This Feature Important?
As an example, I use LotW and QRZ in place of sending a paper card. As such, I'd like to have an option to hide this column from the logbook as I don't need it, and seeing the red arrows makes me think the contact has not been confirmed. Another example is the QSL via column and QSL Msg columns. As part of this, removing these options from the overall tracking on the main logbook dashboard would allow for a cleaner dashboard to only show what each operator would like to see/uses.
Is This Feature Personal or Beneficial to Others as Well?
I believe this feature will benefit all users as not everyone uses all the columns, and by allowing user selection on what to hide, Wavelog become more customizable to suit each operators needs. It would also allow the logbook to be easier to read on mobile devices.

Hi @stevepanaghi - is this still an issue?
You can disable the QSL-Methods for Overview and search at Usersettings. This simply disables the icons in the UI, and preselects the chosen Methods at the most of the analytics views.
Disabling doesn't mean that the sync stops (if sync was set-up)

Looks like that solved my issue/request!
On Mon, Dec 2, 2024, at 12:39 AM, Joerg (DJ7NT) wrote:

Hi @stevepanaghi https://github.com/stevepanaghi - is this still an issue?
You can disable the QSL-Methods for Overview and search at Usersettings. This simply disables the icons in the UI, and preselects the chosen Methods at the most of the analytics views.
Disabling doesn't mean that the sync stops (if sync was set-up)
image.png (view on web) https://github.com/user-attachments/assets/9c9144c9-4079-43b6-b741-ece3da7357b3
—
Reply to this email directly, view it on GitHub https://github.com/wavelog/wavelog/issues/697#issuecomment-2510623771, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADCIBCQ63KUXOL7FN4OI66D2DPXAFAVCNFSM6AAAAABMAVQWG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJQGYZDGNZXGE.
You are receiving this because you were mentioned.Message ID: @.***>

repo: wavelog/wavelog


text:
Allow EdgeText to render child elements

Hello, me again!
Going one step further than in https://github.com/wbkd/react-flow/issues/1045, that would be great if the EdgeText component could render the specified children inside the wrapping <g> element (eg: just after the <rect> and <text>). Eg:
<EdgeText
  x={x}
  y={y}
  label="Hello world"
>
  <circle cx="40" cy="40" r="25" />
</EdgeText>

The reason I'm asking is that I'm going into some customisation that requires drawing some extra gimmicks next to the edge text. Since I'm already happily to use the EdgeText component, which handles the drawing of text and background rectangle perfectly, it would be ideal to keep using it instead of duplicating its code inside my own component.
Note: I'm happy to handle the positioning of the child elements myself

hey @gfox1984 :)
good idea, I will add it!

Actually, I'm thinking it would be helpful to raise an event on EdgeText when you update its state (setEdgeTextBbox), along with the rectangle you're using. It would save the hassle of recomputing it and getting the timing right when we want to re-position the children...

Released in 9.5.1. The children should re-render when we update the sizes.

repo: wbkd/react-flow


text:
reproduce with berlin/brandenburg data

Remaining issue to figure out: The Bing Key is exposed in the source code at the moment which is suboptimal.

Upps... sorry guys. Bin falsch hier.

repo: wdr-data/reichweitenchecker


text:
Have three textviews, and a image view, hence a custom listview

We have four views, and when we drag right to left, we randomly  get a motion:CANCEL, and the swipe aborts.  Why?   Seems because we are leaving one view, and entering another.  Thanks.

Do any of your views react to scrolls or swipes as well?
As long as your views are static ones like textviews, buttons or (clipped) images, it should work properly.

Fixed, thanks!

authors: buryware wdullaer

repo: wdullaer/SwipeActionAdapter


text:
Api/flux prefix migration

Make flux respond both at / and at /api/flux so we can swap authfe over, then remove support for /
Part of https://github.com/weaveworks/flux/issues/217

Will this also need changes to standalone instructions?

at this stage no, but quite right.

In trying to figure out how to migrate this, I've realized that changing the router also changes the client. So, if we change the router to have a prefixed subrouter, the client will begin adding /api/flux to each request route. This makes the migration (as far as what we tell users to do, and whether they should upgrade fluxctl) really hard to predict.

authors: paulbellamy squaremo

repo: weaveworks/flux


text:
Gather Weave Net plugin and proxy info from report

Instead of using Docker, because after Weave Net 2.0 there are no proxy nor
plugin containers.
This has the drawback of not detecting the plugin/proxy in systems running
Weave Net < 2.0 , but I think we can live with it.
Fixes #2634

@2opremio did you check that this gets rid of the docker daemon log entries shown in #2628? Both for Weave Net 2.0 and pre-2.0 (not essential, but would be lovely).

did you check that this gets rid of the docker daemon log entries shown

Yes it does.

repo: weaveworks/scope


text:
WeaveNet issue. Continuously Creating network breakages between kubernets pods

HI,
I am running  simple Kubernetes cluster with single node acts as both (Master & worker) as well.......
1). In that I am facing an issue with Weanet Networking in kubernetes. Suddenly my pods are not able to communicate mongoDB running on another host and both are in same zone......But i am able  telnet from the server.

[root@prod-app1 weave]# curl http://172.31.1.231:27017
It looks like you are trying to access MongoDB over HTTP on the native driver port.
[root@prod-app1 weave]#

After restarting the weavenet pod only the application pods are able to connect  mongodb.

K8s version: 1.15
Weavnet Version: 2.5.2
uname -a: Linux prod-app1.gati.com 3.10.0-862.el7.x86_64
Docker version: 18.09.7
Can anyone please help me to resolve the issue. Thank you

Due to the Weavenet issue the pods are suddenly not working and gone to CreashLoopBackOff state

[root@prod-app1 ~]# kubectl get pod -n capiot
NAME                     READY   STATUS             RESTARTS   AGE
b2b-6d44c5d847-82zgp     1/1     Running            0          28h
b2bgw-66f9f95c85-j9pxf   0/1     CrashLoopBackOff   12         4h12m
dm-5cbd787874-bp6ld      1/1     Running            0          28h
gw-59f69487f7-8f7j8      0/1     CrashLoopBackOff   7          28h
mon-5fb8d485cb-jrt76     0/1     CrashLoopBackOff   8          28h
nats-c666bb65b-qlg6g     1/1     Running            0          28h
ne-f9b6468cc-tx74j       0/1     CrashLoopBackOff   7          28h
nginx-859c9759f8-2jqj6   1/1     Running            0          28h
pm-64f765f7f5-fngbw      0/1     CrashLoopBackOff   7          28h
redis-547fdbb749-nfw5r   1/1     Running            0          28h
sec-5bcb5f85fb-752xv     0/1     CrashLoopBackOff   7          4h12m
sm-59677d5bcc-l72g8      0/1     Running            7          28h
user-6c886f554-vcwl2     0/1     CrashLoopBackOff   8          28h
wf-d85b7c498-gpkpp       0/1     CrashLoopBackOff   9          28h
[root@prod-app1 ~]#

When look into one of the pod logs it gives the following error "Not able to connect to Mongodb"

[root@prod-app1 ~]# kubectl logs -f -n capiot sec-5bcb5f85fb-752xv
WARNING: No configurations found in configuration directory:/app/config
WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment.
[2019-09-04T12:12:57.794] [INFO] [security] [sec-5bcb5f85fb-752xv] - Server started on port 10007
[2019-09-04T12:13:02.443] [ERROR] [odp-utils-nats-streaming] - Could not connect to server: Error: getaddrinfo EAI_AGAIN nats.capiot:4222
[2019-09-04T12:13:02.577] [ERROR] security [sec-5bcb5f85fb-752xv] - ERROR :: Unable to connect to Kubernetes API server
[2019-09-04T12:13:02.579] [INFO] security [sec-5bcb5f85fb-752xv] -
[2019-09-04T12:13:13.642] [ERROR] [security] [sec-5bcb5f85fb-752xv] - ------------------------- Database connection lost -------------------------
[2019-09-04T12:13:13.644] [ERROR] [security] [sec-5bcb5f85fb-752xv] - { MongoNetworkError: failed to connect to server [172.31.1.231:27019] on first connect [MongoNetworkError: connect EHOSTUNREACH 172.31.1.231:27019]
at Pool. (/app/node_modules/mongodb-core/lib/topologies/server.js:564:11)
at emitOne (events.js:116:13)
at Pool.emit (events.js:211:7)
at Connection. (/app/node_modules/mongodb-core/lib/connection/pool.js:317:12)
at Object.onceWrapper (events.js:317:30)
at emitTwo (events.js:126:13)
at Connection.emit (events.js:214:7)
at Socket. (/app/node_modules/mongodb-core/lib/connection/connection.js:246:50)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at emitErrorNT (internal/streams/destroy.js:66:8)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickDomainCallback (internal/process/next_tick.js:219:9)
name: 'MongoNetworkError',
errorLabels: [ 'TransientTransactionError' ],
[Symbol(mongoErrorContextSymbol)]: {} }
[root@prod-app1 ~]#

But  I am able to telnet from the host machine.

[root@prod-app1 ~]# curl http://172.31.1.231:27017
It looks like you are trying to access MongoDB over HTTP on the native driver port.
[root@prod-app1 ~]#

After Restarting the weavenet pod it is working fine and the application pods are able to connect the mongodb......But this issue is getting resolved for a specific amount of time only. After some using the again it is the same issue.

[root@prod-app1 ~]# kubectl get pod -n kube-system
NAME                                         READY   STATUS    RESTARTS   AGE
coredns-5c98db65d4-7xqff                     1/1     Running   4          5d5h
coredns-5c98db65d4-wpkkl                     1/1     Running   4          5d5h
etcd-prod-app1.gati.com                      1/1     Running   4          5d5h
kube-apiserver-prod-app1.gati.com            1/1     Running   4          5d5h
kube-controller-manager-prod-app1.gati.com   1/1     Running   4          5d5h
kube-proxy-g8p52                             1/1     Running   1          5d4h
kube-proxy-wt2kr                             1/1     Running   4          5d5h
kube-scheduler-prod-app1.gati.com            1/1     Running   4          5d5h
weave-net-qcftw                              2/2     Running   0          4h14m
[root@prod-app1 ~]# kubectl delete pod -n kube-system weave-net-qcftw
pod "weave-net-qcftw" deleted
[root@prod-app1 ~]#

Now all the pods are in Running state issue resolved for this movement. It will come again after sometime..

[root@prod-app1 ~]# kubectl get pod -n capiot
NAME                     READY   STATUS    RESTARTS   AGE
b2b-6d44c5d847-j7fnr     1/1     Running   0          95s
b2bgw-66f9f95c85-qlzn8   1/1     Running   3          95s
dm-5cbd787874-c6n8f      1/1     Running   0          95s
gw-59f69487f7-qlskd      1/1     Running   0          95s
mon-5fb8d485cb-hmsms     1/1     Running   0          95s
nats-c666bb65b-gwc7z     1/1     Running   0          95s
ne-f9b6468cc-z9mfn       1/1     Running   0          95s
nginx-859c9759f8-28jlq   1/1     Running   0          95s
pm-64f765f7f5-ghz8b      1/1     Running   0          95s
redis-547fdbb749-pfhn9   1/1     Running   0          94s
sec-5bcb5f85fb-4w4nn     1/1     Running   0          94s
sm-59677d5bcc-7jgwz      1/1     Running   0          94s
user-6c886f554-z629v     1/1     Running   0          94s
wf-d85b7c498-nx2lv       1/1     Running   1          94s

So, please can anyone help me to resolve the issue. Thank you.

Weave-net simply sets up iptables to masqurade the outbound traffic from the pods that is not destined for other pod's (i.e. traffic that leaves weave's overlay network). Check if the traffic is leaving the node but getting dropped in between the nodes? Does your node has multiple interfaces?

Can you tell me how do we know the node has multiple interfaces?
I am running Kubernetes in Offline mode and using the separate volume for working Directory....
Iptables configuration in /etc/sysctl.d/k8s.conf is
net.ipv4.ip_forward = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
[root@app-uat ~]# lsmod | grep br_netfilter
br_netfilter           22256  1 xt_physdev
bridge                146976  2 br_netfilter,ebtable_broute

Can you tell me how do we know the node has multiple interfaces?

If you run ip link show you should get a list of devices, then if you discount the loopback device lo, any bridges such as docker0, weave, any virtual devices beginning v, whatever is left are interfaces on your node.

The below is the  output of ip link show command... Here i am able to see only on interface.
[root@app-uat yamlfile]# ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens224: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 00:50:56:a9:bf:67 brd ff:ff:ff:ff:ff:ff
3: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default
    link/ether 02:42:6b:4e:6e:9e brd ff:ff:ff:ff:ff:ff
516: vethwepl2b8a17b@if515: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether 2a:dc:ab:02:37:46 brd ff:ff:ff:ff:ff:ff link-netnsid 3
4: datapath: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 3a:59:78:c1:f2:ff brd ff:ff:ff:ff:ff:ff
6: weave: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether 22:80:4d:e6:0e:34 brd ff:ff:ff:ff:ff:ff
7: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 8a:e3:c3:1c:f7:7f brd ff:ff:ff:ff:ff:ff
9: vethwe-datapath@vethwe-bridge: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master datapath state UP mode DEFAULT group default
    link/ether 0e:47:11:ff:c4:52 brd ff:ff:ff:ff:ff:ff
522: vethwepl4578f4a@if521: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether 92:8d:a9:09:8d:33 brd ff:ff:ff:ff:ff:ff link-netnsid 6
10: vethwe-bridge@vethwe-datapath: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether 66:07:05:f5:ea:e4 brd ff:ff:ff:ff:ff:ff
524: vethwepl452680a@if523: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether 02:43:a1:a3:d7:83 brd ff:ff:ff:ff:ff:ff link-netnsid 17
526: vethwepl58ab21b@if525: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether 32:db:10:1b:ce:92 brd ff:ff:ff:ff:ff:ff link-netnsid 16
528: vethwepl705aa52@if527: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether be:d0:fe:ee:d3:d3 brd ff:ff:ff:ff:ff:ff link-netnsid 19
530: vethwepl604c904@if529: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether 7e:a3:8c:79:6d:8b brd ff:ff:ff:ff:ff:ff link-netnsid 20
532: vethwepl07bcd2c@if531: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether e6:70:f1:51:e5:dd brd ff:ff:ff:ff:ff:ff link-netnsid 22
534: vethwepl66458ae@if533: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether be:be:8d:43:c0:2e brd ff:ff:ff:ff:ff:ff link-netnsid 23
536: vethwepl9aed25b@if535: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether d2:e3:36:74:d4:9b brd ff:ff:ff:ff:ff:ff link-netnsid 24
538: vethweplc460359@if537: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether ae:b2:90:c3:0c:29 brd ff:ff:ff:ff:ff:ff link-netnsid 27
540: vethwepled86a8e@if539: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether ae:4f:a6:b9:d2:56 brd ff:ff:ff:ff:ff:ff link-netnsid 36
542: vethwepld2ac26e@if541: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether ce:a0:9b:a8:f1:e9 brd ff:ff:ff:ff:ff:ff link-netnsid 37
544: vethwepl645331d@if543: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether 0a:f4:f0:83:83:b8 brd ff:ff:ff:ff:ff:ff link-netnsid 38
546: vethwepld97fcb6@if545: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether 22:c1:31:15:c9:7f brd ff:ff:ff:ff:ff:ff link-netnsid 39
548: vethwepl899db35@if547: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether 3a:92:b8:24:6a:89 brd ff:ff:ff:ff:ff:ff link-netnsid 40
550: vethwepl7660b31@if549: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether 2e:47:64:27:ea:28 brd ff:ff:ff:ff:ff:ff link-netnsid 1
552: vethwepld7e9f57@if551: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether c2:75:e9:27:65:53 brd ff:ff:ff:ff:ff:ff link-netnsid 2
554: vethwepl1346b4b@if553: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether 7a:92:2e:ff:ea:b2 brd ff:ff:ff:ff:ff:ff link-netnsid 4
556: vethwepl9f6de44@if555: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether c6:cd:98:55:a0:fc brd ff:ff:ff:ff:ff:ff link-netnsid 5
350: veth4c0239b@if349: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP mode DEFAULT group default
    link/ether 46:8c:26:49:52:75 brd ff:ff:ff:ff:ff:ff link-netnsid 0
373: vethweple2775c0@if372: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether ce:45:07:f8:4c:2c brd ff:ff:ff:ff:ff:ff link-netnsid 10
377: vethwepld9432f5@if376: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether ca:22:22:e9:3f:38 brd ff:ff:ff:ff:ff:ff link-netnsid 12
488: vxlan-6784: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65520 qdisc noqueue master datapath state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 92:c3:b7:4e:5e:b2 brd ff:ff:ff:ff:ff:ff
494: vethwepl2d035bd@if493: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether 66:05:70:f8:29:f5 brd ff:ff:ff:ff:ff:ff link-netnsid 11
496: vethwepl7457b53@if495: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether ba:e6:8c:42:05:29 brd ff:ff:ff:ff:ff:ff link-netnsid 26
498: vethweplf944488@if497: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether 9e:e6:86:57:02:ca brd ff:ff:ff:ff:ff:ff link-netnsid 29
506: vethweplb38c623@if505: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether 9a:1a:79:f6:f8:c6 brd ff:ff:ff:ff:ff:ff link-netnsid 32
510: vethwepl8ea2003@if509: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1376 qdisc noqueue master weave state UP mode DEFAULT group default
    link/ether c6:08:d4:72:7c:99 brd ff:ff:ff:ff:ff:ff link-netnsid 35

authors: KrishnaKoppineni bboreham murali-reddy

repo: weaveworks/weave


text:
WIP: In the build container, request install/upgrade of openssl

It seems that the install of libssl causes builds to break, because Python can no longer load the SSL code.
Example: https://circleci.com/gh/weaveworks/weave/8855

Replaced by #2940


text:
[FAD-95] IPFS

Description

Containerized IPFS and file uploader.
Read the packages/ipfs/README.md and I can demo it on Monday before you two look at the PR.

Checklist

[ ] CHANGELOG has been updated (if appropriate)
[ ] Environment variables updated (if appropriate)

Closing due to the changes when implementing [FAD-108]

repo: weavik/free-artist-dao


text:
fix(doc-core): When the close action of the search box is triggered, …

Description
全局搜索框，直接点击关闭的时候，搜索内容应当置空
Related Issue

Types of changes

[ ] Docs change / Dependency upgrade
[x] Bug fix
[ ] New feature / Improvement
[ ] Refactoring
[ ] Breaking change

Checklist

[ ] I have added changeset via pnpm run change.
[ ] I have updated the documentation.
[ ] I have added tests to cover my changes.

Thank you


text:
Release v2.36.0

What's Changed
New Features 🎉

feat(module-tools): improve logs in watch mode by @chenjiahan in https://github.com/web-infra-dev/modern.js/pull/4729
feat(builder): improve time logs format by @chenjiahan in https://github.com/web-infra-dev/modern.js/pull/4702
feat(builder): include tslib in lib-polyfill.js by @chenjiahan in https://github.com/web-infra-dev/modern.js/pull/4712

Bug Fixes 🐞

fix(server): use cjs format hmr-client to fix hmr issue by @chenjiahan in https://github.com/web-infra-dev/modern.js/pull/4719
fix(module-tools): move init watcher from onStart hook to createCompiler by @10Derozan in https://github.com/web-infra-dev/modern.js/pull/4733
fix(plugin-garfish): only override assetPrefix default value by @chenjiahan in https://github.com/web-infra-dev/modern.js/pull/4725
fix(plugin-proxy): failed to run networksetup command in Windows by @chenjiahan in https://github.com/web-infra-dev/modern.js/pull/4700
fix(builder): mismatched directory name containing node_modules by @chenjiahan in https://github.com/web-infra-dev/modern.js/pull/4720
fix(main-doc): fixed wrong ports in MFE docs by @kirillbashtenko in https://github.com/web-infra-dev/modern.js/pull/4722

Docs update 📄

docs: add descriptions for AppContext properties in https://github.com/web-infra-dev/modern.js/pull/4726

Other Changes

chore(builder): simplify assets rule by @9aoy in https://github.com/web-infra-dev/modern.js/pull/4701
chore(builder): update rspack to 0.3.5 by @9aoy in https://github.com/web-infra-dev/modern.js/pull/4730
chore(builder): use rspack.xxxPlugin instead of builtins configuration by @9aoy in https://github.com/web-infra-dev/modern.js/pull/4728
chore(module-tools): bump swc-plugins 0.6.4, remove unused deps by @chenjiahan in https://github.com/web-infra-dev/modern.js/pull/4709
refactor(plugin-module): use buildConfig.hooks to realize afresh by @10Derozan in https://github.com/web-infra-dev/modern.js/pull/4651
chore(runtime): remove unused redux-logger dependencies by @chenjiahan in https://github.com/web-infra-dev/modern.js/pull/4713
refactor(module-tools): by @10Derozan in https://github.com/web-infra-dev/modern.js/pull/4651

更新内容
新特性 🎉

feat(module-tools): 优化 watch 模式下的日志 由 @chenjiahan 实现， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4729
feat(builder): 优化时间日志的格式 由 @chenjiahan 实现， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4702
feat(builder): 拆分 tslib 到 lib-polyfill.js 中 由 @chenjiahan 实现， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4712

Bug 修复 🐞

fix(server): 使用 cjs 格式的 hmr-client 来修复 hmr 问题 由 @chenjiahan 实现， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4719
fix(module-tools): 将 init watcher 从 onStart 钩子移动到 createCompiler 中 由 @10Derozan 实现， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4733
fix(plugin-garfish): 只对 assetPrefix 的默认值进行覆盖 由 @chenjiahan 实现， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4725
fix(plugin-proxy): 修复 Windows 下运行 networksetup 失败的问题 由 @chenjiahan 实现， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4700
fix(builder): 错误匹配了包含 node_modules 的目录 由 @chenjiahan 实现， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4720

文档更新 📄

docs: 增加 AppContext 属性的描述， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4726

其他变更

chore(builder): 简化 assets 规则 由 @9aoy 实现， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4701
chore(builder): 升级 rspack 到 0.3.5 由 @9aoy 实现， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4730
chore(builder): 使用 rspack.xxxPlugin 代替 builtins configuration 由 @9aoy 实现， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4728
chore(module-tools): 升级 swc-plugins 0.6.4, 移除无用依赖 由 @chenjiahan 实现， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4709
refactor(plugin-module): 使用 buildConfig.hooks 重新实现各插件功能 由 @10Derozan 实现， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4651
chore(runtime): 移除未使用的 redux-logger 依赖 由 @chenjiahan 实现， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4713

merge libuild to module tools, add buildConfig.hooks to support load, transform and renderChunk

support buildConfig.tsconfig, refine the scenarios for custom tsconfig, so replace dts.tsconfigPath with this.
disable buildConfig.transformLodash by default:
This optimisation was introduced in version 2.22.0 to reduce code size by modularising lodash import, but it may also cause some compatibility issues, so in version 2.32.0 a new transformLodash configuration has been added to manually disable this optimisation. In this version, this optimisation is turned off by default, and lodash is not processed separately by default.
only use swc transform when enable transformImport, transformLodash or externalHelpers.
swc conversion was introduced in version 2.16.0, but the implementation still has some problems, such as format cjs does not have "Annotate the CommonJS export names for ESM import in node", sourceType commonjs support is poor, etc. In this version, swc conversion is no longer used in full, and all kinds of limitations and judgements are removed, and only swc is used as a supplement to some features.
remove unuse dependecies and improve code quality.
support debug mode to print debug logs.
fix some css module bugs.
support buildConfig.jsx: preserve .
support glob input in js and dts generator.
support banner and footer.
refactor(module-tools):
将 libuild 合入模块工程，添加 buildConfig.hooks，支持 load, transform 和 renderChunk 钩子。
支持 buildConfig.tsconfig 配置，用来完善自定义 tsconfig 的场景，请用它来替换 dts.tsconfigPath
默认禁用 buildConfig.transformLodash：
此优化是由 2.22.0 版本引入，通过模块化 lodash 的导入从而减小代码体积，但这也可能导致一些兼容性问题，因此在 2.32.0 版本新增了 transformLodash 配置，可以手动关闭此优化。在此版本，默认关闭此优化，默认不对 lodash 作单独的处理。
只有在开启 transformImport, transformLodash 或 externalHelpers 时才使用 swc 转换。
swc 转换是在 2.16.0 版本引入，但实现仍存在一些问题，例如 format cjs 没有 “Annotate the CommonJS export names for ESM import in node”，sourceType commonjs 支持不佳等等，在此版本，不再全量使用 swc 转换，移除各种限制和判断，只使用 swc 作为部分功能的补充。
移除未使用的依赖并提升代码质量。
支持 debug 模式打印调试日志。
修复一些 css module 问题。
支持 buildConfig.jsx: preserve 选项。
支持 glob 模式输入在 js 和 dts 生成器中。
支持 banner 和 footer 配置。 由 @10Derozan 实现， 详情可查看 https://github.com/web-infra-dev/modern.js/pull/4651

The v2.36.0 version will be released on October 14th as we are on vacation.

authors: caohuilin chenjiahan


text:
[Feature]: Support asset module

What problem does this feature solve?
Bundle

[ ] support preserve relative path in publicPath: auto https://github.com/web-infra-dev/rspack/issues/8748#issuecomment-2548493524
[ ] turn on output.publicPath: 'auto' for bundle
[ ] support module.generator.experimentalLibPreserveImport in https://github.com/web-infra-dev/rspack/pull/8724

Bundleless

[ ] close https://github.com/web-infra-dev/rspack/issues/8748
[ ] turn on module.generator['asset'].publicPath: 'auto' for bundleless
[ ] support module.generator['asset'].experimentalLibReExport in https://github.com/web-infra-dev/rspack/pull/8724

What does the proposed API look like?
input
└── src
    ├── assets
    │   └── react.svg   // <--
    └── index.tsx

output
./dist
├── esm
│   ├── assets
│   │   └── react.mjs     // <--
│   ├── index.d.ts
│   └── index.mjs
└── static/svg
    └── react.svg         // <--

// dist/esm/assets/react.mjs
import url from '../../../static/svg/react.svg';
export default url;

related issue:

https://github.com/web-infra-dev/rslib/issues/230
https://github.com/web-infra-dev/rslib/issues/199

When wil this feature be released?

When wil this feature be released?

There's no exact time. Check this issue to track.

authors: SoonIter Timeless0911 noshower

repo: web-infra-dev/rslib


text:
chore: add rust hot update test feature

Related issue (if exists)

Summary

🤖 Generated by Copilot at 50a05bb
This pull request adds a new function test_hmr_fixture to the rspack_testing crate, which tests the hot module reloading (HMR) feature of the rspack tool. It also updates and adds some examples to demonstrate and compare the HMR feature with the normal build feature. The examples use hard-coded fixture paths and console log statements.

Walkthrough

🤖 Generated by Copilot at 50a05bb

Add a new function test_hmr_fixture to the rspack_testing crate that tests the hot module replacement (HMR) feature of the compiler for a given fixture (link, link, link)
Add two examples of how to use the test_hmr_fixture function in the test-cli.rs and test-hmr-cli.rs files (link, link, link)
Add a new test.config.json file to the simple example to provide some configuration options for the testing framework or the compiler (link)
Add some console log statements to the index.js file in the simple example to demonstrate or debug the HMR feature or the module caching behavior (link, link)
Add the expected output of the compiler for the simple example in the main.js file (link)

Do we need hot update tests for rust, because I don't know how to do hot update tests in rust because of the lack of this tool
@ahabhgk @h-a-n-a

I don't suggest add hmr test at rust side, hmr can't works without @rspack/dev-server, which is written in js, so normally we test hmr at js side.

I don't suggest add hmr test at rust side, hmr can't works without @rspack/dev-server, which is written in js, so normally we test hmr at js side.

Maybe there is something wrong with the description of my proposal. I want to add the test method of rebuild to the rust layer, through the changed and removed files, to facilitate testing possible problems in the rebuild process

IMO test at rust side enable better debug experience, so rebuild test at rust side is nice to have, you can checkout packages/rspack/tests/WatchTestCases.test.ts for reference, it's written in js but the main idea is using writeFile to trigger the rebuild, I think we can do the same in rust side.

IMO test at rust side enable better debug experience, so rebuild test at rust side is nice to have, you can checkout packages/rspack/tests/WatchTestCases.test.ts for reference, it's written in js but the main idea is using writeFile to trigger the rebuild, I think we can do the same in rust side.

So it makes sense, right? So I'm going to follow up

Thank you!

repo: web-infra-dev/rspack


text:
Generate .dist.yml where compat_features are sourced from BCD

These are cases where the source YAML doesn't include compat_features,
but the generated .dist.yml does, based on BCD tags.

@foolip rebase needed here, otherwise ready to go. Thank you!

authors: ddbeck foolip

repo: web-platform-dx/web-features


text:
[CHECKLIST] Implement successful deposit flow

Overview
The goal of this checklist is to create a comprehensive list of tasks that collectively make up the successful and unsuccessful deposit flow for dApp users.
Deposit Flow
Note: Assumes a user has already connected their wallet and created their note account.
Deposit Scene-1 | Data Input

Selects token to deposit into bridge - if non-bridged asset (e.g. webbETH) then force deposit and wrap flow
Select destination chain
Select amount to deposit

Deposit Scene-2 | Confirmation

User confirms they have copied the new spend note
User selects 'Deposit'

Deposit Scene-3 | Deposit In-progress

Display the progress of the deposit
User can select 'New Transaction' that will move progress view into accordion component to the right side and display deposit scene-1

Right-sided component

Task Checklist

[x] https://github.com/webb-tools/webb-dapp/issues/705
[ ] https://github.com/webb-tools/webb-dapp/issues/717
[ ] [TASK] Fix notification card for deposits and wrap and deposit
[ ] [TASK] Validating deposit inputs (e.g. balance)
[x] [TASK] Improve leaf fetching and fix caching
[x] Implement Deposit Scene-1 | Data Input
[x] Implement Deposit Scene-2 | Confirmation
[x] Implement Deposit Scene-3 | Deposit In-progress
[x] Implement successful Deposit transaction
[x] Test deposits for each chain with bridged asset
[x] Test deposits for each chain with non-bridged asset (e.g. deposit and wrap flow)

Relevant Figma Links
Figma Prototype
Wireframe File

Closed in #719

repo: webb-tools/webb-dapp


text:
unity 2019LTS Build Failed

I use unity 2019.4.4f1 for run unity action and get failed ，but I use 2019.2.11f would get pass

my repo
git@github.com:ZhouJiaZhi/test-secret.git

And I have another two question
1.could this support git submodule ？
2.my repo using nuget for import third party package,could this support ?
reference :
git@github.com:GlitchEnzo/NuGetForUnity.git

Did you update the license for 2019.4?
Could you also please provide http links instead of an ssh reference?

@webbertakken
Below is the https link, Thank you for you
https://github.com/ZhouJiaZhi/test-secret.git

You will have to update the license.
From your logs:
LICENSE SYSTEM [2020727 10:28:18] bbc1cb99063843499779e57fc056d8ad != 9EA140DC-07DC-50A4-8CED-7830F267F477

LICENSE SYSTEM [2020727 10:28:18] bbc1cb99063843499779e57fc056d8ad != C02Z51CCLVDQ```

well,I renewed my license again today but failed, may I use this license in your repo? And do you know when your license will expire

No, kindly use your own license.
You should renew your license using the exact same steps you followed before, using the alf file that's generated by the unity version that you would like. See https://unity-ci.com/docs/github/activation

OK, I will try it later, Thank you

authors: ZhouJiaZhi webbertakken

repo: webbertakken/unity-actions


text:
WebDataset no longer has a length argument (documentation)

In the docs, it's mentioned that "you can specify an explicit size using the length= argument to WebDataset"
https://github.com/webdataset/webdataset/blob/2eaa96e6a266ad0ae1a1433e86eb6c2d3b7c50f8/docs/sharding/index.html#L177-L179
This is no longer true, as there is no length= argument to WebDataset.
https://github.com/webdataset/webdataset/blob/45724cdfcc0935c63ac6952c5f6b0ada9fa44f37/webdataset/dataset.py#L29-L39
I'm not sure if the documentation is out of date in mentioning a removed parameter, or if the parameter should be there, but got removed accidentally.

Thanks for the report. The v1 documentation is a bit out of date. Use webdataset.FakeLength for setting the length in v1. If you want to force a specific epoch length, use .repeat().slice(num_samples)
(In v2, you can use .with_length(n))
The __len__ method had to be removed because PyTorch considers having a __len__ method on an IterableDataset to be wrong.

Updated the documentation.

authors: tmbdev wongjoel

repo: webdataset/webdataset


text:
Question: How to manage admin panel with only one email (admin's emails)

I want to manage the admin only with one email. So no one else can request a login url.
Best Regards.

Oh I see.
May be I'm doing something wrong, but.
here is my steps.
/admin is available from Chrome and Firefox
Logout from Chrome (/admin/logout)
Request url for another email (/admin/login)
3.1 it says Access denayd
/admin is still available in Firefox and Chrome
note, no access tokens are created from admin panel.Am I missing something?
http://178.128.163.248 for my example
Thanks in advance.

repo: webdevstar/React-Ecommerce


text:
Cucumber 2

Feedback/questions more than welcome!

this uses the oficial cucumber2 now, I fixed tags as well (the syntax has changed between v1 and v2).
The remaining problem is that this doesn't automatically load step_definitions that are not listed in require opt. I will have to think about it a bit. I think how it worked with v1 was that step_definitions folder that was adjacent to a feature file was loaded recursively

what we've been using now is to have one "entry" file that we load in require section of the wdio.conf.js file, that loads everything else. But that doesn't seem optimal.

Cant wait for this to get merged.

Cucumber.js already released v3 🙈

authors: christian-bromann lgandecki pantherqin

repo: webdriverio/wdio-cucumber-framework


text:
Added code coverage

Added code coverage
Added unique build number from git commit numbers
library is shared
library will have unique number

:+1:  after removing old probet references

@yannick-polius and @shwetabhandare please re-review

:+1:

@KjellKod make sure that code coverage works if the rpm build and tests are executed as root user

:+1:

authors: KjellKod craig-cogdill yannick-polius


text:
refactor(Client): added logging for response trackingId

https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-264725
For users of the future:
🚀  This was an awesome resource for understanding HTTPSURLConnection!
Here is a secondary resource

requestTrackingId used to be trackingId
those requestTrackingId's were already there, should I leave them there or do you want me to replace them as suggested?

let's just make sure that logs make sense, when we're saying request that the request ID is used and when we say response the response ID is used

authors: emanuallan lalli-flores

repo: webex/webex-java-sdk


text:
Explain how to use docker/build-push-action with deployment-key configs

This PR adds a recipe for using docker/build-push-action with multiple Deploy Keys (#78) to the docs.

You can't access the ssh/git config from within the Dockerfile, if they are not inside docker's build context (which is the path of the checked-out repo by default).

repo: webfactory/ssh-agent


text:
Handling 401s from GitHub

We want to send an organization alert, not raise an error.

Current situation is that, by silencing the 401, we miss the invalid credentials check. We need to still raise, but catch it higher up.
Seems like a more generic way to handle this situation is warranted; perhaps something in Replicator#backfill.

Have had a similar situation with Intercom.

repo: webhookdb/webhookdb


text:
fix style _removeValue

value was not defined here. I think we want to delete the key?

Indeed. Thanks!

authors: modulesio ngokevin

repo: webmixedreality/exokit


text:
Add monospace fonts

On non-desktop systems (Magic Leap/Android), fonts availability is controlled via fonts.xml. Right now we just use the single system font, but we can theoretically support any font we can get a file for.
One notable missing font is a monospace one, which is required for in-XR devtools rendering.
This PR adds Inconsolata as the default monospace font for non-desktop Exokit.

Tested and works in <canvas>.
There is an unrelated bug in CanvasRenderingContext2D.measureText -- it seems to use metrics of the old font that was set.


text:
Inconsistency between system scalar type serialize/parseValue methods

Hi, after upgrading my project from 0.10 to 0.11 version I get some weird behaviors with system scalar types when using inputs with variables. I don't really get why we have a differents between serialize/parseValue methods.
Here an example IntType::parseValue no more accepts string but IntType::serialize does:
(new IntType())->serialize('9') !== (new IntType())->parseValue('9'); // 9 !== null

In JS implementation both methods has the same behavior so why in PHP we add these differents?
I override system scalar types to use 0.10 version right now but this is not the best solution... I'm just trying to understand the reason why...
How I override system scalar types without using reflection:
// Override scalar types
$overrideScalarTypes = \Closure::bind(function () {
    self::$internalTypes = [
        self::ID => new MyType\IDType(),
        self::STRING => new MyType\StringType(),
        self::FLOAT => new MyType\FloatType(),
        self::INT => new MyType\IntType(),
        self::BOOLEAN => new MyType\BooleanType()
    ];
}, null, \GraphQL\Type\Definition\Type::class);
$overrideScalarTypes();

This can maybe helps some people encountering same issue.

As far as I remember it was done in #170. It was actually a valid issue (at least for strings and booleans). A related issue in graphql-js - https://github.com/graphql/graphql-js/issues/771 (yet they seem to fix only string case, not boolean or int).
So do you need to accept strings as integer input?

Sorry for the long delay with a response, I suggest to send a PR after I merge #248 (hopefully on this weekend)

This problem is fixed in #248 as the serialize and parseValue methods have been aligned together.

Nice! Thank you @danez :+1: .

@mcg-web Can you check if the new version works for you and close if it is OK?

It seems to be OK! Thank you @vladar and @danez :+1:

authors: danez mcg-web vladar

repo: webonyx/graphql-php


text:
Add "use strict" to every file included

I'm using the script-loader (https://github.com/webpack-contrib/script-loader) to import some old libs. What I noticed is that at the top of the imported script is appended the "use strict" sentence but I dont want it.
Is there a way to disable this behaviour?

@mattiaocchiuto Did you use babel-loader or es6's import? see this.

script-loader does add anything here, see @wuxiandiejia comment please :)

repo: webpack-contrib/script-loader


text:
refactor: Webpack 4.x compatibility

Compatibility issues

[ ] N/A

Commit message body
 - Updates code style to Prettier
 - Updates engines
 - Updates peerDependencies
 - Enforces commit message formatting
 - Migrates to CircleCI 2.0
 - Removes deprecated React JSX support

BREAKING CHANGE: Drops support for NodeJS 4.x

BREAKING CHANGE: Drops support for Webpack 2.x

BREAKING CHANGE: `loaderUtils.getOptions()` is not backwards compatible

BREAKING CHANGE: JSX Support was deprecated in `v0.4.0` Please use [svg-inline-react](https://www.npmjs.com/package/svg-inline-react) package

@mernen @d3viant0ne @michael-ciniawsky Could I get a status update on this?

@bebraw @d3viant0ne @SpaceK33z @TheLarkInn Hi all, I'm not trying to be a pest, but is there anything I can do to help you get this released? Our team would really appreciate it. Thanks!

@d3viant0ne did you abandon this change / project?

I migrated to https://www.npmjs.com/package/svg-url-loader and it works fine for me. In case anyone else is interested. I removed all dependency to this lib.

@msphn Thanks for the tip. Unfortunately, this loader has a lot of useful features that aren't included in that other loader (classPrefix is really important for me).
Fortunately, this still works with Webpack 4 (for me).

Can I help you, to get this PR into production?

Is there any chance this could get pulled at some point? Is there any issue in the code that prevents that? Update would be very welcome in our team.

It is sad that this PR just sits here. Any change it can be integrated in a new release?

Is there someone over at the core Webpack team that can add someone else as a maintain to this repo? Or maybe transfer ownership if it isn't going to be maintained with the rest of Webpack?
@sokra @jhnns @TheLarkInn @spacek33z

⬆  @webpack @webpack-contrib

@bebraw, @TheLarkInn, @spacek33z - Anyone know what happened to @d3viant0ne ? His last contribution was in February?

@will-russell He (amongst some other developers me included) isn't active in the project anymore.

@will-russell He (amongst some other developers me included) isn't active in the project anymore.

@bebraw - thank you for the reply!
Who was left in charge of the project; do they know this is hanging out there?
RE: @TheLarkInn @spacek33z

@will-russell I think it's up to the current contrib team to maintain. Someone show pick up the PR and merge.
CC @evilebottnawi.

In todo

Are there any news on this issue?

Are there any news on this issue? @TheLarkInn @SpaceK33z

🦗🦗🦗

Also waiting for this

authors: SuneRadich aramin bebraw d3viant0ne dazlious ddx32 elliottregan evilebottnawi liorgreenb msphn randak will-russell

repo: webpack-contrib/svg-inline-loader


text:
Adding build time in build stats

Webpack outputs build time when building, e.g. Time: 4716ms in following output :
Hash: 374e0bb6b1cd7f3b7bb7
Version: webpack 1.14.0
Time: 4716ms
    Asset  Size  Chunks             Chunk Names
bundle.js  5 kB       0  [emitted]  main
    + 5 hidden modules

Build time is a very useful data and I couldn't find a way to add it in grunt-webpack stats.
Is it possible to add build time in grunt-webpack stats ?

Oh actually just saw a timings item in the stats part of the options. Can't test it right now but it probably works. Feel free to close my issue then :)
But maybe adding it to the example configuration file would be a good idea ?

repo: webpack/grunt-webpack


text:
docs(concepts): fix grammar

Just a small fix.

Thanks!

authors: EugeneHlushko chenxsan


text:
Feature/introduce api versioning badge

Introducing a Badge component for api versioning.
E.g.:

Cherry picked from https://github.com/webpack/webpack.js.org/pull/4217.
Usage
Just use <Badge text='' /> in any .mdx files, no need to import it as it's registered as a global component.

Nice one, what about adding a link to the release notes?

Nice one, what about adding a link to the release notes?

@montogeek Once I wanted to add it, but it would be too messy. Thus I avoided it. Feel free to add it if you find any nice way handling it.

@montogeek Once I wanted to add it, but it would be too messy. Thus I avoided it. Feel free to add it if you find any nice way handling it.

@chenxsan What is your idea?
I would create a map/dictionary:
{
  '5.8': 'https://releaseurl'
}

@chenxsan What is your idea?
I would create a map/dictionary:
{
  '5.8': 'https://releaseurl'
}

@chenxsan What is your idea?
I would create a map/dictionary:
{
  '5.8': 'https://releaseurl'
}

Looks good.

@chenxsan What is your idea?
I would create a map/dictionary:
{
  '5.8': 'https://releaseurl'
}

Looks good.

authors: chenxsan montogeek


text:
asset/source option to change line endings from CRLF to LF

Feature request
When using type: 'asset/source', I get a string which contains \r\n. I want the string to be consistent on all platforms regardless of if the file on the file system was CRLF or not. The feature request is to add a way of changing all \r\n to \n as part of the imported string.

What is the expected behavior?
Imported string should have LF line endings
What is motivation or use case for adding/changing the behavior?
I am using the imported string in useState in react. The \r\n is causing an unnecessary re-render because the code changes it to \n and my useEffects get called twice, with basically the same string (but with different line endings).
How should this be implemented in your opinion?
Breaking change
Always replace CRLF with LF
Option
Maybe an option to process the text before, or an option to set the line ending.
Are you willing to work on this yourself?
maybe, depending on how many changes it needs

Sorry, out of scope webpack, you can write a plugin

@alexander-akait Would the plugin process the file first before the asset/source happens?

You can also create loader (it will be even easy), and remove newlines using RegExp, it is not safe to move this logic in core

authors: ChocolateLoverRaj alexander-akait

repo: webpack/webpack


text:
[Bug or Feature?] Top-Level Await Dynamic Import Incompatibility with Provide Plugin Causing Undefined Variables

Bug report

What is the current behavior?
All variables exported from an ESM that contains a top-level awaited dynamic import are undefined.
If the current behavior is a bug, please provide the steps to reproduce.
if(isElectron){
   var { IPC } = await import('../../ENV/electron')
}
export const something = () => {
   IPC?.on('json',() => {...})
}

This case demonstrates that some logic depends on a dynamic module, and something is provided by ProvidePlugin, but it's undefined at runtime. This issue can be resolved by replacing await import() with require(), but this makes the ESM code impure.

What is the expected behavior?
Expect the provide-plugin to work correctly when a variable is exported from an ESM that contains a top-level awaited dynamic import.

Other relevant information:
webpack version:  ^5.95.0
Node.js version: 23.1.0
Operating System: win11
Additional tools:

just try to use await sync
require()

just try to use await sync require()

I know , but I suppose "This issue can be resolved by replacing await import() with require(), but this makes the ESM code impure."

Unfortunately I can't help without a real example, it should work and we have tests on such cases, I'll temporarily move it to discussions, as soon as you provide an example we will try to understand why it doesn't work in your case

authors: Callme-VR Kane-Kuroneko alexander-akait


text:
webpack 2: ordering problem with mixed import and export * from 'x'

using v2.0.7-beta, I see Uncaught TypeError: Cannot redefine property: b on load.
Seems to be using the names from utility, combinatorics, and math for all the re-exports, instead of using each of them. Note that peekable is exported next, and imported from later.
When I re-order the peekable import before the exports (i.e. just below lodash), the error goes away.
Note:
./utility exports isIterable, isEmpty, size, and iterator.
./combinatorics exports combinations and product.
./math exports inclusive.
These 7 names are re-exported for each of the export * generated lines.
Error is thrown on line 6 at page load.
Source:
import { property } from 'lodash'

export * from './utility'
export * from './combinatorics'
export * from './math'
export * from './peekable'
export * from './repeatable'

import { isIterable, iterator } from './utility'
import { peekable } from './peekable'

Generated: (with a few line breaks added)
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash__ = __webpack_require__(1);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash___default = __WEBPACK_IMPORTED_MODULE_0_lodash__ && __WEBPACK_IMPORTED_MODULE_0_lodash__.__esModule ? function() { return __WEBPACK_IMPORTED_MODULE_0_lodash__['default'] } : function() { return __WEBPACK_IMPORTED_MODULE_0_lodash__; }
/* harmony import */ Object.defineProperty(__WEBPACK_IMPORTED_MODULE_0_lodash___default, 'a', { get: __WEBPACK_IMPORTED_MODULE_0_lodash___default });
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__utility__ = __webpack_require__(271);
/* harmony namespace reexport */ [["b","size"],["f","isEmpty"],["i","isIterable"],["j","iterator"],["l","combinations"],["s","product"],["t","inclusive"]].forEach(function(i) { Object.defineProperty(exports, i[0], {configurable: false, enumerable: true, get: function() { return __WEBPACK_IMPORTED_MODULE_1__utility__[i[1]]; }});});
/* harmony namespace reexport */ [["b","size"],["f","isEmpty"],["i","isIterable"],["j","iterator"],["l","combinations"],["s","product"],["t","inclusive"]].forEach(function(i) { Object.defineProperty(exports, i[0], {configurable: false, enumerable: true, get: function() { return __WEBPACK_IMPORTED_MODULE_2__combinatorics__[i[1]]; }});});
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__combinatorics__ = __webpack_require__(998);
/* harmony namespace reexport */ [["b","size"],["f","isEmpty"],["i","isIterable"],["j","iterator"],["l","combinations"],["s","product"],["t","inclusive"]].forEach(function(i) { Object.defineProperty(exports, i[0], {configurable: false, enumerable: true, get: function() { return __WEBPACK_IMPORTED_MODULE_3__math__[i[1]]; }});});/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__math__ = __webpack_require__(999);
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__peekable__ = __webpack_require__(344);
/* harmony namespace reexport */ [["b","size"],["f","isEmpty"],["i","isIterable"],["j","iterator"],["l","combinations"],["s","product"],["t","inclusive"]].forEach(function(i) { Object.defineProperty(exports, i[0], {configurable: false, enumerable: true, get: function() { return __WEBPACK_IMPORTED_MODULE_4__peekable__[i[1]]; }});});/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__repeatable__ = __webpack_require__(595);
/* harmony namespace reexport */ [["b","size"],["f","isEmpty"],["i","isIterable"],["j","iterator"],["l","combinations"],["s","product"],["t","inclusive"]].forEach(function(i) { Object.defineProperty(exports, i[0], {configurable: false, enumerable: true, get: function() { return __WEBPACK_IMPORTED_MODULE_5__repeatable__[i[1]]; }});});/* harmony export */ exports["r"] = reverse;/* harmony export */ exports["q"] = enumerate;/* harmony export */ exports["g"] = some;/* harmony export */ exports["o"] = every;/* harmony export */ exports["c"] = smaller;/* harmony export */ exports["d"] = larger;/* harmony export */ exports["a"] = first;/* harmony export */ exports["p"] = last;/* unused harmony export reduce *//* unused harmony export ifilter *//* harmony export */ exports["n"] = imap;/* harmony export */ exports["u"] = flatten;/* harmony export */ exports["m"] = chain;/* harmony export */ exports["k"] = pluck;/* unused harmony export initial *//* unused harmony export partition *//* unused harmony export slice */var _marked = [reverse, enumerate, ifilter, imap, flatten, initial, slice].map(regeneratorRuntime.mark);

Seems to work correctly if I re-order the peekable import like so:
import { property } from 'lodash'
import { peekable } from './peekable'

export * from './utility'
export * from './combinatorics'
export * from './math'
export * from './peekable'
export * from './repeatable'

import { isIterable, iterator } from './utility'

Note: not sure if it's an ordering problem or not; could be a side effect of something else.

:+1: :smile:


text:
HMR support to multi entries

What kind of change does this PR introduce?

ref #7829

Did you add tests for your changes?

not yet

Does this PR introduce a breaking change?

no

What needs to be documented once your changes are merged?

no

Should work with webpack@latest. Feel free to report new issue with reproducible repo.

authors: kamijin-fanta vankop


text:
ESLint plugin doesn't recognize typescript-eslint's stylistic(-type-checked) or strict-type-checked rulesets

Coming over from https://github.com/JoshuaKGoldberg/template-typescript-node-package/pull/601, my ESLint config contains these plugins (among others) under extends:
"plugin:@typescript-eslint/strict",
"plugin:@typescript-eslint/stylistic",
"plugin:@typescript-eslint/strict-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",

...and Knip only recognizes strict from them:
 $ pnpm run lint:knip

> template-typescript-node-package@1.28.40 lint:knip /Users/josh/repos/template-typescript-node-package
> knip

Unlisted dependencies (3)
@typescript-eslint/eslint-plugin-strict-type-checked     .eslintrc.cjs
@typescript-eslint/eslint-plugin-stylistic               .eslintrc.cjs
@typescript-eslint/eslint-plugin-stylistic-type-checked  .eslintrc.cjs
 ELIFECYCLE  Command failed with exit code 3.

Fun fact - if you add stylistic.*|strict.* to the regex in https://github.com/webpro/knip/blob/d3e6f01f6bf2bd437e774c1d615c3c2bc5c56032/src/plugins/eslint/helpers.ts#L77, it works right. Would you be up for this as a bandaid fix pending the big TODO comment in that file?
https://github.com/webpro/knip/blob/d3e6f01f6bf2bd437e774c1d615c3c2bc5c56032/src/plugins/eslint/helpers.ts#L69-L71

:rocket: This issue has been resolved in v2.15.2. See Release 2.15.2 for release notes.

Thanks for reporting this, and thanks for the work in @typescript-eslint/* v6!

:rocket: This issue has been resolved in v2.15.3. See Release 2.15.3 for release notes.

authors: JoshuaKGoldberg webpro

repo: webpro/knip

license: ISC


text:
Add Netlify plugin

Adds a Netlify plugin!

With the addition of this PR we can also now support the .prettierrc.toml extension: https://github.com/webpro/knip/blob/main/packages/knip/src/plugins/prettier/index.ts#L18.

With the addition of this PR we can also now support the .prettierrc.toml extension: https://github.com/webpro/knip/blob/main/packages/knip/src/plugins/prettier/index.ts#L18.

Yes, this is great!

Thanks for merging!

:rocket: This pull request is included in v4.2.0. See Release 4.2.0 for release notes.

Thank you! Very good idea, great execution 🙏
I did minor changes in your work after a major refactoring today, but nothing essential.

authors: uncenter webpro


text:
small typo

asserts -> assets

I also found a dead link. The new link may not be correct, please check. Thanks.


text:
www.appr.tc, apprtc.net, should redirect to appr.tc

Otherwise, they will have different permissions, cookies, etc.

@samdutton Tis is purely a code change right (no domain owner etc needed)? I assume here https://github.com/webrtc/apprtc/blob/master/src/app_engine/apprtc.py#L535. If so I could take a look in case you do not have cycles to spare.

I think we probably want to do this via DNS (and remove that apprtc.net hack), but if for some reason we can't do that, we could do it as you suggest.
@samdutton, can you try the DNS changes first?

I tried DNS changes yesterday — seems broken now for apprtc.net, am chasing
with the domain host.
On 3 Feb 2016 8:09 p.m., "Justin Uberti" notifications@github.com wrote:

I think we probably want to do this via DNS (and remove that apprtc.net
hack), but if for some reason we can't do that, we could do it as you
suggest.
@samdutton https://github.com/samdutton, can you try the DNS changes
first?
—
Reply to this email directly or view it on GitHub
https://github.com/webrtc/apprtc/issues/221#issuecomment-179433699.

...and for www.appr.tc, I also tried DNS changes and came up against
problems. Will try again.
On 4 February 2016 at 09:31, Sam Dutton dutton@google.com wrote:

I tried DNS changes yesterday — seems broken now for apprtc.net, am
chasing with the domain host.
On 3 Feb 2016 8:09 p.m., "Justin Uberti" notifications@github.com wrote:

I think we probably want to do this via DNS (and remove that apprtc.net
hack), but if for some reason we can't do that, we could do it as you
suggest.
@samdutton https://github.com/samdutton, can you try the DNS changes
first?
—
Reply to this email directly or view it on GitHub
https://github.com/webrtc/apprtc/issues/221#issuecomment-179433699.

OK. Maybe we should just have a table in the code and redirect accordingly. We'll need to do this for apprtc.appspot.com anyway.
e.g. REDIRECT_DOMAINS = ['apprtc.appspot.com', 'apprtc.net', 'www.apprtc.net', 'apprtc.webrtc.org', 'www.appr.tc']

I've basically just copied your suggestion, I've not actually tried it yet ;).

Long story short (a lot of support chats with the domain hosting
company...) I have finally, apparently, managed to get www.apprtc.net and
apprtc.net redirecting to https://appr.tc.
Please let me know if any problems with this.
On 5 February 2016 at 09:38, Christoffer Jansson notifications@github.com
wrote:

I've basically just copied your suggestion, I've not actually tried it yet
;).
—
Reply to this email directly or view it on GitHub
https://github.com/webrtc/apprtc/issues/221#issuecomment-180272716.

Awesome! Any chance of adding apprtc.appspot.com to that list? ;) Or do we have to use the redirect hack for that?

I think apprtc.appspot.com may have to go in the Python...
On 5 February 2016 at 12:45, Christoffer Jansson notifications@github.com
wrote:

Awesome! Any chance of adding apprtc.appspot.com to that list? ;) Or do
we have to use the redirect hack for that?
—
Reply to this email directly or view it on GitHub
https://github.com/webrtc/apprtc/issues/221#issuecomment-180338247.

authors: KaptenJansson juberti samdutton

repo: webrtc/apprtc


text:
🛑 DragonBoat Times is down

In 16d1665, DragonBoat Times (https://www.dragonboattimes.com) was down:

HTTP code: 521
Response time: 170 ms

Resolved: DragonBoat Times is back up in 85f5a04 after 8 minutes.

repo: webworldview/uptime


text:
FileNotFoundException: Could not find file '...\minigame\wasmcode\c2f2148f99ca3e03.webgl.wasm.code.unityweb.wasm.br'.

Unity2021.3.5f1c1用最新版的转换插件"导出WEBGL并转换为小游戏(常用)"报错：
Usage: .../Assets\WX-WASM-SDK/Editor/Brotli/win_x86_64/brotli.exe [--force] [--quality n] [--decompress] [--input filename] [--output filename] [--repeat iters] [--comment commment] [--verbose] [--window n]
FileNotFoundException: Could not find file '...\minigame\wasmcode\c2f2148f99ca3e03.webgl.wasm.code.unityweb.wasm.br'.
System.IO.FileSystem.CopyFile (System.String sourceFullPath, System.String destFullPath, System.Boolean overwrite) (at :0)
System.IO.File.Copy (System.String sourceFileName, System.String destFileName, System.Boolean overwrite) (at :0)
System.IO.File.Copy (System.String sourceFileName, System.String destFileName) (at :0)
WeChatWASM.WXEditorWindow.Brotlib (System.String filePath) (at Assets/WX-WASM-SDK/Editor/WXEditorWindow.cs:1011)
WeChatWASM.WXEditorWindow.GenerateBinFile (System.Boolean isFromConvert) (at Assets/WX-WASM-SDK/Editor/WXEditorWindow.cs:648)
WeChatWASM.WXEditorWindow.DoExport (System.Boolean buildWebGL) (at Assets/WX-WASM-SDK/Editor/WXEditorWindow.cs:1339)
WeChatWASM.WXEditorWindow.OnGUI () (at Assets/WX-WASM-SDK/Editor/WXEditorWindow.cs:1256)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at :0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at :0)
UnityEditor.DockArea.OldOnGUI () (at :0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at :0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at :0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at :0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at :0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at :0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at :0)
UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at :0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at :0)
UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at :0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at :0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at :0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at :0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at :0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at :0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at :0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at :0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at :0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at :0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at :0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at :0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at :0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <79f3a9d75afc454f9a46d7c9960e4a65>:0)

same here

请问项目路径是否包含空格？

的确，去掉空格后又报如下错误：
Win32Exception: ApplicationName='node', CommandLine='--experimental-modules dump_wasm_symbol.mjs 项目路径/out', CurrentDirectory='Assets/WX-WASM-SDK/Editor/Node', Native error= 系统找不到指定的文件。
System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) (at :0)
System.Diagnostics.Process.Start () (at :0)
(wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) (at :0)
WeChatWASM.UnityUtil.CreateCmdProcess (System.String cmd, System.String args, System.String workdir) (at Assets/WX-WASM-SDK/Editor/UnityUtil.cs:286)
WeChatWASM.UnityUtil.RunCmd (System.String cmd, System.String args, System.String workdir, System.Action`3[T1,T2,T3] progressUpdate) (at Assets/WX-WASM-SDK/Editor/UnityUtil.cs:234)
WeChatWASM.WXEditorWindow.DoExport (System.Boolean buildWebGL) (at Assets/WX-WASM-SDK/Editor/WXEditorWindow.cs:1358)
WeChatWASM.WXEditorWindow.OnGUI () (at Assets/WX-WASM-SDK/Editor/WXEditorWindow.cs:1256)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at :0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at :0)

追踪到此处：

            // 如果是2021版本，官方symbols产生有BUG，这里需要用工具将embedded的函数名提取出来

#if UNITY_2021_2_OR_NEWER
var path = "Assets/WX-WASM-SDK/Editor/Node";
var nodePath = "node";
#if UNITY_EDITOR_OSX
nodePath = "/usr/local/bin/node";
#endif
WeChatWASM.UnityUtil.RunCmd(nodePath, string.Format($"--experimental-modules dump_wasm_symbol.mjs {dst}"), path);
UnityEngine.Debug.LogError($"Unity 2021版本使用Embeded Symbols, 代码包中含有函数名体积较大, 发布前使用代码分包工具进行优化");
#endif

请安装最新的Node，由于Unity2021自己生成的symbols文件有问题，因此我们开发了工具去生成，该工具以来node。


text:
ReferenceError: UrlLink is not defined

然后我试图这样引入也失败import {UrlLink}  from 'wechaty'

const { UrlLink } = bot

repo: wechaty/puppet-padlocal


text:
v1.11.57

upgrade "@juzi.bot/whatsapp-web.js": "1.15.10"

需要描述下这个分支的用途。

duplicated with https://github.com/wechaty/puppet-whatsapp/pull/145

repo: wechaty/puppet-whatsapp


text:
change: default http port to 8080

默认启动端口改为 8080

OK

authors: axibx jamesbee

repo: weimob-tech/go-project-boot


text:
Consider adding functional tests to this project

Functional tests are an integral ingredient of highly-quality, maintainable commands. WP-CLI tries to make it as easy as possible to add functional tests to your package with its wp scaffold package-tests command:
https://github.com/wp-cli/scaffold-package-command#wp-scaffold-package-tests
I'd encourage you to consider adding functional tests to your package :) By starting your functional tests early on, it also makes it much easier to maintain your project over time.

We love test and I'll consider to learn a bit of behat as soon as I can.

@danielbachhuber ever seen those warnings:
0.22s$ composer validate --strict
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
./composer.json is valid, but with a few warnings
See https://getcomposer.org/doc/04-schema.md for details on the schema
require.wp-cli/wp-cli : unbound version constraints (>=0.23.0) should be avoided
The command "composer validate --strict" failed and exited with 1 during .
Your build has been stopped.

??

Yep, see history of https://github.com/wp-cli/scaffold-package-command/pull/56

I have one last question. I've gitignored following
composer.lock
composer.phar
installer

just because all seems to work without them. But i can't find what the best practice is, said that the scaffolded .gitignore was not ignoring them. Where could I find documentation about what and why check into the repo?

But i can't find what the best practice is, said that the scaffolded .gitignore was not ignoring them. Where could I find documentation about what and why check into the repo?

There isn't documentation about these specifically.
composer.lock is something you should commit to your project, because it locks new installations of your project to specific dependency versions.
composer.phar and installer aren't necessary in the installation step because composer is pre-installed on Travis, CircleCI, and other CI systems. I've created an issue to remove it https://github.com/wp-cli/scaffold-package-command/issues/59

Thanks for help and for all the fish :)

authors: danielbachhuber pioneerskies


text:
Refractor fill function (Ok)

Sorry for the last pull request, Travis CI wasn't working and me neither : ).
Anyways, the new fill function should be marginally quicker and arguably more maintainable.
Don't hesitate if you have any remarks or question about the change,
I'm glad you like it

Thanks for submitting this PR! This is actually the first PR to be merged into the library. Expect to see a link to your GitHub profile on the special thanks page when I wrap up the 0.6.4 release.
Please feel free to submit additional PRs if you see any other areas of the codebase that could use refactoring. If you'd like to open up any design discussion or ideas for features, please feel free to open an issue.
Thanks for your time and effort!

authors: TApplencourt welchbj

repo: welchbj/tt


text:
Unreliable notifications

Hi
I have a device using a nRF52 chip that sends a notification immediately after the notification is enabled to initially populate some fields in my Android app. I noted that this is not reliable and could narrow it down to something happening on Android, as I control the nRF52 and could verify that the notification is indeed sent. There is no log entry, it just does not happen. I have 4 characteristics, but get notifications for any number between 0 and 4 when I initially connect. Later, the notifications do work.
What I tried so far:

Delaying the observe() call all together or individually spaced for up to 2 seconds in between calls
Delaying the response from the nRF52 in the same manner

My code to set up notifications look like that:
private suspend fun setupAmountNotification(peripheral: BluetoothPeripheral) {         peripheral.getCharacteristic(             UUID.fromString(SERVICE_UUID),             UUID.fromString(CHAR_AMOUNT_UUID)         )?.let {             peripheral.observe(it) {value ->                 Log.i(TAG, "Notification for amount")                 val parser = BluetoothBytesParser(value, ByteOrder.LITTLE_ENDIAN)                 runOnUiThread{                     onAmountNotification(parser.getIntValue(FORMAT_UINT32))                 }             }         }     }
In turn, I get this log (the other observe functions are analogous):
D/MainActivity: Peripheral eo-4095 has CONNECTED D/BluetoothGatt: setCharacteristicNotification() - uuid: e44e1403-14b3-457c-xxxx-34bf34932966 enable: true D/BluetoothGatt: setCharacteristicNotification() - uuid: e44e1402-14b3-457c-xxxx-34bf34932966 enable: true D/BluetoothGatt: setCharacteristicNotification() - uuid: e44e1401-14b3-457c-xxxx-34bf34932966 enable: true D/BluetoothGatt: setCharacteristicNotification() - uuid: e44e1404-14b3-457c-xxxx-34bf34932966 enable: true I/MainActivity: Notification for reservoir I/MainActivity: Notification for status

Are you just missing the first notification you are expecting? And do later ones arrive normally?
If so, I might have an idea what it could be. I store the lambda for the callback after the enabling of the notification succeeded. So the is indeed a race condition if the first notification comes in immediately because the coroutine runs on a different thread.

Yes, I am just missing the first one, later ones do arrive normally. So your assumption could be correct. However, I tried to delay the response of the nRF52, but this did not really result in a different behaviour. And by delay I mean values between 10 an 1000 ms. Does it really take that long to store the lambda?
I worked around it by first reading the values manually and then wait for the notification for all subsequent values. It does work, but is less elegant than what I intended.
Is there anything I can try to make it work? It is not really a breaking bug though.

Ok, let me try a fix tomorrow....

I released a new version (0.1.2) with a possible fix. Can you try it?

Will do tonight!

Works like a charm! Thank you so much for your effort and work. And quick too!

Works like a charm! Thank you so much for your effort and work. And quick too!

authors: clemens- weliem

repo: weliem/blessed-android-coroutines


text:
请问 tabbar iconPath icon.png 用的是什么系列的图标呀

tabbar选的很有眼光，审美在线，我想在这个基础上加几个tabbar图标，请问这个图标是什么系列或者名称或者包的呢？多谢哦

tabbar选的很有眼光，审美在线，我想在这个基础上加几个tabbar图标，请问这个图标是什么系列或者名称或者包的呢？多谢哦

不是网上的免费图标，是从我以前项目里随便拿几个来用的，公司UI自己画的

cool 多谢回复 节日快乐

authors: welives wozzup

repo: welives/taro-react-starter


text:
Removal of ticketing on requesting

What is it and who's it for?
As we remove the ability to book a ticket for the building, we also need to remove this functionality from the new requesting flows
Implementation
Remove reference to booking a ticket from within the requesting flows (remove text and CTA)

@DominiqueMarshall - do you have a visual for how this confirmation screen should look without the reference to ticketing?

authors: DominiqueMarshall cbowskill


text:
Turn .container into a utility component

Who is this for?
Devs/maintenance
What is it doing for them?

One step closer to getting rid of utility classes, see #10018 for more details
I had to add isContainer to Space as Container and Space are both styled components and I couldn't find another way to merge them - if we hate it, let's discuss.
Something is up with styled-components and type declaration where it ruins the rendering of the rest of the file (see screenshots). If we move that type declaration in its own right, it renders it properly. Extra faff, but so much more readable.

I don't love the isContainer

Same, I really don't like it!
I just realised there might be a simpler solution, it looks the same to me as prod does, so idk if I was just too close to it when I originally made the PR? Do confirm if I'm missing something?

Ha, that would work. It did actually cross my mind when I first looked at it and then I got caught up in trying to find a way to combine styled components and forgot.

Think that's what happened to me too 😅 sometimes we just have to walk away and come back. I'll merge on Monday 👍

authors: gestchild rcantin-w


text:
Release 1.1.0

Description
Release 1.1.0
Checklist

[x] Change wellcomeml/__version__.py
[x] Add changelog
[ ] make dist
[ ] Verify new package was generated correctly on the pip registry
and GitHub releases

Codecov Report

Merging #278 (28bc28b) into main (e81be34) will decrease coverage by 58.77%.
The diff coverage is n/a.

:exclamation: Current head 28bc28b differs from pull request most recent head b4e2f0f. Consider uploading reports for the commit b4e2f0f to get more accurate results

@@             Coverage Diff             @@
##             main     #278       +/-   ##
===========================================
- Coverage   86.10%   27.33%   -58.78%
===========================================
  Files          41       41
  Lines        2296     2290        -6
===========================================
- Hits         1977      626     -1351
- Misses        319     1664     +1345

Impacted Files
Coverage Δ

wellcomeml/ml/clustering.py
17.82% <ø> (-72.28%)
:arrow_down:

wellcomeml/metrics/ner_classification_report.py
8.69% <0.00%> (-91.31%)
:arrow_down:

wellcomeml/datasets/conll.py
12.50% <0.00%> (-87.50%)
:arrow_down:

wellcomeml/ml/cnn.py
12.24% <0.00%> (-78.58%)
:arrow_down:

wellcomeml/io/s3_policy_data.py
14.49% <0.00%> (-76.82%)
:arrow_down:

wellcomeml/ml/bilstm.py
15.60% <0.00%> (-75.89%)
:arrow_down:

wellcomeml/spacy/spacy_doc_to_prodigy.py
25.00% <0.00%> (-75.00%)
:arrow_down:

wellcomeml/ml/spacy_ner.py
20.00% <0.00%> (-73.85%)
:arrow_down:

wellcomeml/datasets/winer.py
8.27% <0.00%> (-73.80%)
:arrow_down:

... and 20 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e81be34...b4e2f0f. Read the comment docs.

Will run make dist when approved.

 Release new version WellcomeML

Starting to release...

Uploaded correctly. We're on 1.1.0 on pipit

And on GitHub. 🎉

authors: aCampello codecov-commenter

repo: wellcometrust/WellcomeML


text:
Create a topic for edits to the Miro VHS data

The editing script then forwards the new item to the topic, so the catalogue transformer gets it immediately.
In theory the reporting pipeline could subscribe to it as well.
It doesn't cover edits of the form “toggle the isClearedForCatalogueAPI” parameter, but we can easily add that later.

@kenoir All good now?

repo: wellcometrust/platform


text:
Add language support for search engine

I'm trying to add search engine to my website. Unfortunately, it seems that my language is not supported by Zola & tabi:
Error: Failed to serve the site
Error: Tried to build search index for language pl which is not supported

Or maybe I should ask Elasticlunr developers...?

I believe Zola uses elasticlunr-rs. Related discussion: https://github.com/mattico/elasticlunr-rs/issues/13
If elasticlunr supports it and Zola is updated to use the last elasticlunr, tabi will work with its search index (with no changes).

OK, I don't see support for my language. I have to investigate it.

authors: stalkerGH welpo

repo: welpo/tabi


text:
11.4修改登陆方法 应该是username

public Object login(@Param("name")String name,

应该是
public Object login(@Param("username")String name,

好

authors: wendal xing-kenny

repo: wendal/nutz-book