Word wrapping makes the last word of a text line jumps into the next line as it gets longer during text advancement

I've noticed that on narrow screens, due to the nature of browser's word wrapping, if the last word of a particular text line is long, it may apear at the end of the line first, when not all of its characters have been shown yet:

Then, when the word is long enough that can't fit anymore, it "jumps" into the next line.

This probably isn't a good user experience and I don't seem to have noticed on other visual novel engines. It's not so bad on desktops, where the text box is so long that it doesn't happen very often, but on mobile devices this is kind of distracting in my opinion.
As for a fix, I think perhaps one way is to put all of the dialog piece inside of the text box element at once, but with opacity: 0, and then progressively changes the opacity of each character to 100%. This way the browser knows how long each word is at once and don't have to re-layout.

@FiveYellowMice Hi! Thanks for reporting this, I agree this is not an ideal behaviour, right now Monogatari uses a fork of Typed.js for the typewrite animation. Solving this will require some work since we would either have to solve it in that library or, create our own.
Doing the opacity change is a good solution but would need each character to be in it's own HTML element so we still need to figure out what's the best option to solve this.

A possible way to get rid of this behavior is to use the css trick I have explained in Discord to show the text word by word. Unfortunately, this is definitely not the good solution.

I added this in the main.css
[data-toAfter]:after {
  content: attr(data-toAfter);
}

and replaced yourWord by
An example that mixes both characters by characters and word by word
shin all of it emitting  {pause:100}   {pause:100}

This is possible to create a custom action that converts every word into a  element.

Just discovered Monogatari and found the same thing jarring.
If the text never contains HTML, i.e. there will never be bold or italics, characters could be simply moved over from one span to another.

  The future is
   yet to be decided

But presumably text will want to contain other elements sometimes, so I think the only answer is to walk the text's DOM and wrap characters in individual elements, then later step through them with setInterval or a recursive setTimeout.
DOM performance should be okay, because they're never large texts.
CSS { visibility: [hidden|visible] } rather than opacity would make most sense as the property to animate.

Having a  for every single character definetely sound like it could be a good idea, if DOM performance really isn't bad (never tested it).
Also, thanks for reviving the issue. I was planning to make a PoC at the start, but then just got busy and forgot. (Still don't have time for a PR though)

Hello again @FiveYellowMice and @Hyuchia ☺ I've made a small library to do wrapped typing. It's been a learning journey! It's the first thing I've ever put on Github.
https://github.com/ComedyTomedy/typewrapper
It's very basic, and has no fancy controls. It's pretty much what I said in my previous comment, but doesn't wrap characters in individual elements.

Neat!

Hello again @FiveYellowMice and @Hyuchia ☺ I've made a small library to do wrapped typing. It's been a learning journey! It's the first thing I've ever put on Github.
https://github.com/ComedyTomedy/typewrapper
It's very basic, and has no fancy controls. It's pretty much what I said in my previous comment, but doesn't wrap characters in individual elements.

Oh, the way you've created this is quite clever, awesome work !
I'm looking forward for compatibility with monogatari :eyes:

So I'm not sure if you've tried a couple CSS properties on the [data-component="text-box"] selector in main.css:
hyphens: auto;
word-break: break-all;

They can both do interesting thing with word-wrapping.

[data-component="text-box"]

It doesn't seem that an element matching this selector exists, I assume you are referring to [data-ui="text"] ?

word-break: break-all;

This would indeed stop the characters from jumping to the next line, but it would also break words into halves. It's not ideal, although it can be a viable compromise.

[data-component="text-box"]

It doesn't seem that an element matching this selector exists, I assume you are referring to [data-ui="text"] ?

this selector is used to add styles to the src/components/text-box/index.js component, which components are you trying to style?

I don't know what component it is since it doesn't have a data-component attribute, but this is the element I was trying to style. It's from the demo.
It looks like text-box only became a thing in v2, but the demo still uses v1, so that's why I can't find it. Anyway, they seem to be counterparts of each other, so I think we are on the same page as far as the effects of hyphens and work-break go.

Oh, ha. Ok, I'll see if I can look into that.


Local PubSub Helper

I would like a class like the LocalDatastoreHelper  to start the PubSub Emulator directly from my code.
I want to contribute on this if you guys plan to continue supporting this kind of feature.
Thanks.

There is a PubSubEmulator JUnit rule (example use) in spring-cloud-gcp that can be either ported or used as inspiration.

Yes, it's kinda like the LocalDatastoreHelper and it is just the execution of the beta emulator command.
Thanks for the inspiration, maybe I will use it on my projects. I asked here before developing anything to be sure this are a feature that will be supported to other GCP resources. I saw only the Datastore one.


Does not work with the latest Ledger build from Tesseract

The latest ledger build from tesseract broke the signing of tx's in safew.
It used to work fine but with the latest run it's no longer signing (https://github.com/tesseract-one/ledger-app-ergo/actions/runs/3613041599).
I guess the new ledger UI is to blame :)

Thanks for reporting it.
It will be fixed with the 0.6.9 coming soon.
(upgrade ledger-ergo-js from 0.1.1 to 0.1.14)


Update README

-"nomal"->"normal"
-"vruntime"->"runtime"
-"unpriviliged"->"unprivileged"

It is merged now. Thanks for your contribution.


I get a error

PS D:\Temp\VSCode\0-dimension-dictionary> vue add element-plus
 WARN  There are uncommitted changes in the current repository, it's recommended to commit or stash them first.
? Still proceed? Yes

📦  Installing vue-cli-plugin-element-plus...

added 1 package in 2s

1 package is looking for funding
  run `npm fund` for details
✔  Successfully installed plugin: vue-cli-plugin-element-plus

? How do you want to import Element Plus? Fully import
? Do you want to overwrite the SCSS variables of Element Plus? Yes
? Choose the locale you want to load, the default locale is English (en) zh-cn

🚀  Invoking generator for vue-cli-plugin-element-plus...
📦  Installing additional dependencies...

added 8 packages in 3s

1 package is looking for funding
  run `npm fund` for details
⚓  Running completion hooks...
 ERROR  TypeError: Cannot read property 'replace' of undefined
TypeError: Cannot read property 'replace' of undefined
    at D:\Temp\VSCode\0-dimension-dictionary\node_modules\vue-cli-plugin-element-plus\generator\index.js:45:45
    at runGenerator (C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vue\cli\lib\invoke.js:132:13)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at async invoke (C:\Users\Administrator\AppData\Roaming\npm\node_modules\@vue\cli\lib\invoke.js:92:3)
PS D:\Temp\VSCode\0-dimension-dictionary>

Duplicate of #6

+1

+1

+1

+1 三月份的问题到现在都没解决过的吗。。。

+1 this is a typescript issue (see #18 to see what happens if you ignore this issue and run the project)

This issue is already mentioned here.
If using Vue CLI, possible workaround is to go through "Manually select features" when creating vue project and then either unselect Linter / formatter, otherwise keep it selected but in the next step of installation select ESlint with error prevention only. Seems that other installation options have no effect on this error and thus may be used at discretion.


Added Floyd Warshall Algorithm in Java

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Floyd Warshall Algorithm in Java.
Checklist

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

Related Issues or Pull Requests
Fixes the issue #4875

Kindly solve merge conflicts as well.

Hi @ankitaggarwal23
I am not able to solve these DeepSource checks. Can you please help me?
Thanks!

Hi @ankitaggarwal23
I have made the required changes. Please review them.
Thanks.

Write the output in the way your code is producing.

Hi @ankitaggarwal23 ,
My code is producing the output in the same way as it is written in the comments.

Hey @bhav09,
You have merged the pr but my score has not increased because you have not added the level label.


always set ID parameter if not existing

if a step has no "id" defined but "id" is a valid parameter then we automatically generate and set one for the user. We can align to how Camel auto generates the IDs when starting a route.

Related issue: https://github.com/KaotoIO/kaoto-backend/issues/663


Fixed major lag spikes with gab engine

Seriously, it almost crashed my damn game.
The clear unused memory, basically prevent's the memory going crack mode (ex: 1103.12 MB).
(now reduced from my math calculations: 330.97 MB, meaning it dropped 772 megabytes of storage)
Seriously, annoying as hell

all you did was change 3 lines of code, ive seen better.


DREAM_ prefix in art installation English names

Overview of the problem
English names of art installation have DREAM_ prefix. Artists take their project names seriously and we should not change it.
I understand that it is some kind of import from Dreams issue, but until we have a better solution, I suggest to fix it in the UI.

@OriHoch actually, is this prefix really needed? I mean do we need the workaround of fixing it in the UI or can we just fix the DB?

It was that way because some art installations have the same name as the
supporting camp, so we just went with the convention of last year. Doesn't
have to be this way.
On Sat, 10 Mar 2018, 22:01 Artyom Katsap<EMAIL_ADDRESS>wrote:

@OriHoch https://github.com/orihoch actually, is this prefix really
needed? I mean do we need the workaround of fixing it in the UI or can we
just fix the DB?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Midburn/spark/issues/747#issuecomment-372061278, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHHcKJFweaykAtXPn9HG50IdnxCY3Dmjks5tdDE0gaJpZM4SlZ8c
.

OK. If We don't require uniqueness on group name, then we should clean up the DB. No reason to add code that nobody will understand why it is there.

It makes sense to require a unique group name, but per event per group type.
So the system should separate between Foobar the camp and Foobar the art
installation. This is the issue basically.
Then when we have it we can remove the ugly prefixes.
On Sat, 10 Mar 2018, 22:23 Artyom Katsap<EMAIL_ADDRESS>wrote:

OK. If We don't require uniqueness on group name, then we should clean up
the DB. No reason to add code that nobody will understand why it is there.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Midburn/spark/issues/747#issuecomment-372063108, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHHcKGd-t0VaH625fIbNSFPkvR4O-9vBks5tdDYygaJpZM4SlZ8c
.

need to change to an index that takes the event and camp type into account


Add 🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔🥔s (potatoes)

We definitely need more :potato:s, because, otherwise, what does all the :tractor: support from #4328 help us? (see also #4292)
Doing that was also requested before
Also, Einstein once said:

Friends are like potatoes. If you eat them, they are dead.

Which is just so true!
To quote Einstein some more:

What are you doing in my house?

At least that's what he said when I asked him about it.
ping @justmert @abhijit-hota what do you think?

It seems to need a feature request tag here.

@Hocuri might I recommend forking this project to speed up development: https://github.com/drtshock/Potato


walkStack from buffer

Hi,
I would like to walk the stack of a minidump file from a database and not from the file system because that's how I'm storing them. I get it from the database in the form of a node byte buffer.
What I want is sort of like this.
minidump.walkStack(buffer, [symbolPaths, ]callback)

Do you think that would be possible?
Thanks.

This would be very beneficial. I'm currently working on a service to handle electron crash reports and having the minidump parser coupled to IO has been a tad unwieldy

Ah yeah, after digging some more it appears Breakpad only runs on files - my C++ isn't that far out but yeah, it'd explain why this wrapper also only operates on files.
Might end up wrapping a buffer-to-tmpfs layer for this


在 websocket 的回调中无法使用 wechaty 吗

this.ws.on('message', (message) => {
      if ( wechaty 已登录 ) {
        Room.find({topic: 'test'})
          .then((to) => {
            to.say('hi')
          })
      }
    })

上面的代码无法运行， 错误：
[22:20:38:0410] [error] TypeError: __WEBPACK_IMPORTED_MODULE_6_wechaty___default.a.find is not a function
      at WebSocket.<anonymous> (/Users/steve/www/electron-projects/new-pigtk-client/dist/electron/main.js:107577:59)
      at emitTwo (events.js:106:13)
      at WebSocket.emit (events.js:194:7)
      at Receiver._receiver.onmessage (/Users/steve/www/electron-projects/new-pigtk-client/node_modules/.2.3.1@ws/lib/WebSocket.js:146:54)
      at Receiver.dataMessage (/Users/steve/www/electron-projects/new-pigtk-client/node_modules/.2.3.1@ws/lib/Receiver.js:389:14)
      at Receiver.getData (/Users/steve/www/electron-projects/new-pigtk-client/node_modules/.2.3.1@ws/lib/Receiver.js:330:12)
      at Receiver.startLoop (/Users/steve/www/electron-projects/new-pigtk-client/node_modules/.2.3.1@ws/lib/Receiver.js:165:16)
      at Receiver.add (/Users/steve/www/electron-projects/new-pigtk-client/node_modules/.2.3.1@ws/lib/Receiver.js:139:10)
      at Socket._ultron.on (/Users/steve/www/electron-projects/new-pigtk-client/node_modules/.2.3.1@ws/lib/WebSocket.js:142:22)
      at emitOne (events.js:96:13)
      at Socket.emit (events.js:191:7)
      at readableAddChunk (_stream_readable.js:178:18)
      at Socket.Readable.push (_stream_readable.js:136:10)
      at TCP.onread (net.js:560:20)

[22:20:38:0741] [info] Bot bot logout.

@zixia Need your help !

Need More Information
Sorry, you did not follow the ISSUE Template, and there's not enough information about your problem.
In order to help us to find the problem out, you should provide all the detail information about the issue. Please make sure you are following the ISSUE Template, answer all the question, and the more important: provide the steps to reproduce the problem.

Hope you had resolved your problem. I'll close this issue because there's not enough information about the question.


Max width/height

I would like to have one part of the split area to have a maximum width/height (in %), so the gutter will not be draggable past the specified max width/height for an area.
Is it possible to have a maxWidth/maxHeight option?

Check #131 for what's coming.


Allow creating V2 accounts for Static websites

Builds will fail till the corr. PR in azuretools is merged: https://github.com/Microsoft/vscode-azuretools/pull/395
Fixes #278

Do you have any more feedback on this PR?


Suppress surface upgrade warnings when showing SurfaceUpgradeTool warning

This fixes the warning spam reported here: https://github.com/godotengine/godot/pull/85222#issuecomment-1823451782
The problem comes from the fact that the SurfaceUpgradeTool callback was called for each out of date surface and the old surface-specific warning was still shown to the user.
This PR ensures that, if the surface update callback is handled, the only warning shown to the user is the own pointing them at the SurfaceUpgradeTool. We don't need the old per-surface warning in this case as the user can fix all meshes by running the tool.
The RenderingServer still has the warning for cases where the scene is run outside the editor.

This also updates the EditorProgress dialogue that runs after the upgrade tool is run. Previously it would start at 100%, then run through re-saving all the files (locked at 100%), then would appear to freeze while deleting the .import files. Now it properly progresses through re-saving all the files, and shows progress while deleting files.

Thanks!


Chisel: Feature request meta issue

Component
Chisel
Describe the feature you would like
context: https://github.com/foundry-rs/foundry/pull/3465#issuecomment-1324259466

need better ux for unknown commands, maybe a hint if the unkown command matches a !command

feature request:
convert unix epoch timestamp to readable date.  maybe the other way around too
https://www.unixtimestamp.com/

feature request:

more integration with cast.
call cast commands directly from chisel so u dont have to leave
use results of cast commands together with solidity commands (like set the value of some solidity var to the output of a cast cmd)

nit:
after an error the first new -> prompt is red

feature request:
a listing of local variables and their values
!listvar
myadddy 0x18989013980190890818901
myNumber 0x11 (17)
myString "Yo homie"

feature request:
convert from 64 bit numbers and back  (also maybe 128 and?)  replaces https://toolkit.abdk.consulting/math#convert-number

feature request:
rightpad(0x123)
0x123000000000000....000 (32bytes)

feature request:
i think the return value of anything you enter should be displayed after you type it.
so like:
uint y = 100 - 90
right now does nothing, i want it o display 10
values dont display if the expression is enclosed in (parens)

feature request:
ability to list files like doing ls from command line -- useful when trying to find ur imports

i got imports to work.  but the return value of a function called an instantiated contract does not display

feature request:
shortcuts, can we make it so you only have to enter the first two letters of the command?
!cl for !clear
!me for !memdump
etc...
maybe someday we can have some kind of global or user based aliases

This is a great list, thanks @devtooligan!
One thing that might be helpful is refactoring this issue so the top comment is a checklist with all of these in a list, such as in https://github.com/foundry-rs/foundry/issues/876 and https://github.com/foundry-rs/foundry/issues/3412? This makes it easier to track each request individually, instead of the separate comments. (If you’re feeling really ambitious and want to create separate issues for each then link to them here, even better, but I know that’s tedious so nw)

@mds1 sure.  i should have some time to do this next week.  for now it was just a quick dump to clean up the pr.  cheers!

Awesome thanks! 🙌

Thanks for the feedback @devtooligan, great suggestions & super useful! Have just cleaned up the README for review, so posting the existing checklist here:
Checklist

[x] REPL functionality

[x] Create temporary REPL contract (in memory, or temp file?).

[x] Implement forge-std/Test.sol so that cheatcodes, etc. can be used.

[x] Utilize foundry's evm module for REPL env.

[x] Implement network forking.

[x] Expression evaluation / inspection (i.e. the input 0x01 << 0x08 should inspect a uint of value 256)

[x] Support for primitive type expressions (i.e. primitive types, arithmetic ops, bitwise ops, boolean ops, global vars (msg, tx, block, & abi))
[x] Support for function call expressions (both local and external to the REPL contract)
[x] Support for array indexing (external + local)
[x] Support for mapping indexing (external + local)
[x] Clean up refactor

[x] Input history.
[x] Use forge fmt module to format source code when printing via the !source command or exporting to a Script file (?)

[x] Cache REPL History

[x] Allow a user to save/load sessions from their Chisel history.

[x] Fix session loading bug wrt non-serializable IntermediateOutput component.

[ ] Custom commands / cmd flags / etc.

[x] Inspect variable

[x] Inspect raw stack

[x] Inspect memory vars

[x] Inspect raw memory

[x] Inspect storage vars

[ ] Inspect raw storage slots / storage layout

[ ] Inspection verbosity configuration
[ ] Undo
[ ] Inspect bytecode / mnenomic of local or remote contracts.

[ ] Possibly use the forge debugger for this?

[x] Fetch contract interface from Etherscan ABI
[ ] Import remote sources from GitHub
[x] Enable / disable call trace printing

[x] Rip trace printing code from another module of foundry.

[x] On-the-fly network forking
[x] Export to file

[x] Export session to script contract if within project.

[x] Syntax highlighting
[x] Binary subcommands
[x] Tests.

[x] Cache

[x] Benchmarks.

[x] Session Source

[x] Building
[x] Executor
[x] Inspection
[x] Cloning

[ ] Optimizations (after MVP).

[ ] Speed up REPL execution time.

[ ] Use flamegraph to determine plan of attack.
[ ] Rework SessionSource clone, does not need to be a full deep copy.
[ ] Cache the backend within the executor so that it is not regenerated on each run. This causes lag with forks especially. We should keep the option to refresh each time to keep live state, but disable this by default.

[x] Finish README.

[x] Examples
[x] Migration from existing REPLs

[ ] First review.

[x] Support ENV var interpolation in fork urls
[x] Allow named sessions
[x] Rename !flush to !save
[x] Check fork URL validity
[x] Add builtin command shorthands
[ ] ...

feature request: execute a script and start the shell at the end of it :point_right: :point_left:
chisel script/script.sol

Crossposting some of my chisel feature request here:
feat(chisel): display raw stack values when logging variable
Describe the feature you would like
Currently with <32 byte types, their higher order bits aren't shown anywhere except the stackdump. Often when I'm fooling around with assembly I want to see the full in-stack representation of these types (higher order bits and all), so would be great if there was an additional field in the variable output like Raw: 0x1000000000000000000000000000000000000000000000000000000000000002 so we could easily observe these things. Another option would be a !raw [var]-esque command.
Here are some repro cases of higher order bits not being shown.
λ chisel
Welcome to Chisel! Type `!help` to show available commands.

➜ uint16 num = 2;
➜ assembly { num := 0x1000000000000000000000000000000000000000000000000000000000000002 }
➜ num
Type: uint
├ Hex: 0x2
└ Decimal: 2
➜ !sd
[0]: 0x1000000000000000000000000000000000000000000000000000000000000002
[1]: 0x33
[2]: 0xc0406226

➜ address addy = address(0xBEEF);
➜ assembly { addy := 0x100000000000000000000000000000000000000000000000000000000000beef }
➜ addy
Type: address
└ Data: 0x000000000000000000000000000000000000beef
➜ !sd
[0]: 0x100000000000000000000000000000000000000000000000000000000000beef
[1]: 0x33
[2]: 0xc0406226

Additional context
No response

Feature Request: Gas Reporting Per Line
After you run a command, it'd be great to see the gas cost of what you just ran.


Automated Cluster Clusters with Windows Worker Nodes

Problem
Currently all testing of the provisioning of Custom clusters with Windows worker nodes has to be handled manually or with bash scripts, therefore having the ability to run automated CI/CD tests for the provisioning of these clusters to ensure they are still working properly will be much more efficient on time.
Solution
This PR will allow for automation of Windows Custom Cluster nodes, to allow expedited regression/smoke testing.
Automated Testing
This PR is intended to add automated tests for the provisioning of Custom Clusters with Windows worker nodes. The additions of new Windows provisioning tests (1 Node all roles Admin User + 1 Windows Worker, 1 Node all roles Standard User + 1 Windows Worker, 3 unique role nodes as Admin User + 1 Windows Worker, 3 unique role nodes as Standard User + 1 Windows Worker) will cover basic regression testing scenarios.
Note: Running this suite of tests for Custom Clusters (including bother with and without Windows Nodes) often takes ~90 minutes to complete.

Needs squash to one commit.

Moving to here, so closing this PR:
https://github.com/rancher/rancher/pull/39558


PS4 component config fails when connected to secondary NIC

Home Assistant release with the issue:

0.89.0
Last working Home Assistant release (if known):
N/A
Operating environment (Hass.io/Docker/Windows/etc.):

Debian Linux venv
Component/platform:

https://www.home-assistant.io/components/ps4/
Description of problem:
PS4 component config fails if the PS4 is not on the default network interface of the Home Assistant host machine.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
N/A

Traceback (if applicable):
2019-03-09 15:06:12 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/opt/home-assistant/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
    result = coro.throw(exc)
  File "/opt/home-assistant/lib/python3.5/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/opt/home-assistant/lib/python3.5/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/opt/home-assistant/lib/python3.5/site-packages/homeassistant/components/http/real_ip.py", line 33, in real_ip_middleware
    return await handler(request)
  File "/opt/home-assistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py", line 68, in ban_middleware
    return await handler(request)
  File "/opt/home-assistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py", line 98, in auth_middleware
    return await handler(request)
  File "/opt/home-assistant/lib/python3.5/site-packages/homeassistant/components/http/view.py", line 112, in handle
    result = await result
  File "/opt/home-assistant/lib/python3.5/site-packages/homeassistant/components/config/config_entries.py", line 144, in post
    return await super().post(request, flow_id)
  File "/opt/home-assistant/lib/python3.5/site-packages/homeassistant/components/http/data_validator.py", line 46, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/opt/home-assistant/lib/python3.5/site-packages/homeassistant/helpers/data_entry_flow.py", line 86, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
  File "/opt/home-assistant/lib/python3.5/site-packages/homeassistant/data_entry_flow.py", line 80, in async_configure
    flow, step_id, user_input)
  File "/opt/home-assistant/lib/python3.5/site-packages/homeassistant/data_entry_flow.py", line 98, in _async_handle_step
    result = await getattr(flow, method)(user_input)  # type: Dict
  File "/opt/home-assistant/lib/python3.5/site-packages/homeassistant/components/ps4/config_flow.py", line 60, in async_step_creds
    return await self.async_step_link()
  File "/opt/home-assistant/lib/python3.5/site-packages/homeassistant/components/ps4/config_flow.py", line 72, in async_step_link
    self.helper.has_devices)
  File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
    raise self._exception
  File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/opt/home-assistant/lib/python3.5/site-packages/pyps4_homeassistant/helpers.py", line 21, in has_devices
    devices = ddp.search()
  File "/opt/home-assistant/lib/python3.5/site-packages/pyps4_homeassistant/ddp.py", line 100, in search
    data, addr = _send_recv_msg(host, broadcast, msg)
  File "/opt/home-assistant/lib/python3.5/site-packages/pyps4_homeassistant/ddp.py", line 89, in _send_recv_msg
    return sock.recvfrom(1024)
socket.timeout: timed out

Additional information:
Currently, the component uses the default broadcast address (<IP_ADDRESS>) to find and connect to the PS4. If the PS4 is connected to a secondary network interface on the HA host, the outgoing packets never reach their destination.
A possible solution would be to allow specification of a broadcast address in the config flow. This would also allow the component to work with multiple PS4s on different network interfaces.

So by NIC you mean ethernet/wifi? Im not sure what the issue is exactly. Can you further elaborate? So you have a ps4 on a different LAN than your HA host?

Say you have 2 network interfaces on your HA host; eth0 and eth1.
eth0 is configured with address <IP_ADDRESS> and subnet <IP_ADDRESS>, so the broadcast address would be <IP_ADDRESS>.
eth1 is configured with address <IP_ADDRESS> and subnet <IP_ADDRESS>, so the broadcast address would be <IP_ADDRESS>.
Now in the routing table, at least one of these will normally have a default route. In my example I will assume the following:
$ ip route
default via <IP_ADDRESS> dev eth0 metric 600
<IP_ADDRESS>/24 dev eth0 scope link metric 302
<IP_ADDRESS>/24 dev eth1 scope link metric 302

In this scenario, any PS4 connected to the network on eth1 will be unreachable to the component since the broadcast address <IP_ADDRESS> will be routed through eth0. As a workaround, a route could be added that routes these broadcasts through eth1 instead, but then a second PS4 on eth0 can't be reached anymore.
If we can specify the broadcast address (or the network interface) during device discovery (default to <IP_ADDRESS> to cover most normal setups) and use this broadcast address for the final config entry of the PS4 as well, this problem will be fixed.
The idea behind this is to send the broadcasts for the PS4 on eth1 to <IP_ADDRESS> and for the PS4 on eth0 to <IP_ADDRESS>, which will both be automatically routed through the correct interfaces.

Hmm. I see. Ill add a manual entry form to specify device ip address. Just curious, is your HA Host also the DHCP server for your devices?

Yes it is. The DHCP server allows specification of the network interfaces it should act on.


propagated type computation does not instantiate generic methods

These two hints are produced from Flutter:
[hint] The argument type 'List<T>' cannot be assigned to the parameter type 'List<TextSpan>' (flutter/packages/flutter/lib/src/widgets/basic.dart, line 1388, col 40)
[hint] The argument type '(dynamic) → TextSpan' cannot be assigned to the parameter type '(dynamic) → T' (flutter/packages/flutter/lib/src/widgets/basic.dart, line 1388, col 60)

Neither of those seems right. Here's the source code:
class StyledText extends StatelessComponent {
  // ...
  TextSpan _toSpan(dynamic element) {
    // ...
    if (element is Iterable) {
      dynamic first = element.first;
      if (first is! TextStyle)
        throw new ArgumentError("First element of Iterable is a ${first.runtimeType} not a TextStyle");
      // BUG: Hints are from the line below.
      return new StyledTextSpan(first, element.skip(1).map(_toSpan).toList());
    }
    throw new ArgumentError("Element is ${element.runtimeType} not a String or an Iterable");
  }
  // ...
}

Speculation, but I think the explicit "dynamic" and the "[hint]" mean this error comes from the propagatedType code path. That path may not be aware of how to instantiate generic methods. I'm fairly confident that generic method instantiation and inference only deals with staticType right now.

https://codereview.chromium.org/1568643002/ gets most of the way to fixing this, but it doesn't handle return types. I need to understand that better--it looks like there's a mapping of (inferred?) return types that are tracked that override whatever the Element has declared on it. I'll need to think more on how to make that work with generic methods.

Another thing here -- propagated types will not be handled by our downwards/upwards inference. @leafpetersen, I wonder if we should just disable propagatedType related hints in strong mode. Thoughts? It seems like propagatedTypes were mainly about providing inference, which we don't need in strong mode as we have inference built in.

I think this still reproduces:
[hint] The argument type 'List<T>' cannot be assigned to the parameter type 'List<TextSpan>'

class TextSpan {
  TextSpan(List<TextSpan> list);
}
class StyledText {
  TextSpan _toSpan(dynamic element) {
    if (element is Iterable) {
      // BUG: Hints are from the line below.
      return new TextSpan(element.skip(1).map(_toSpan).toList());
    }
    return null;
  }
}

CL<PHONE_NUMBER> gets most of the way to fixing this, but it doesn't handle return types.

... return types were exactly the problem. Fixed in https://codereview.chromium.org/1582863003


chore: use logs for benchmarking

Description
Problem*
Paritial work towards #6844
Summary*
This PR shows an example of how we can pull our benchmarking data from the log files which allows us to decouple gathering and processing these values.
Additional Context
Documentation*
Check one:

[x] No documentation needed.
[ ] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

The time difference for compilation times basically boils down to reflecting that we're only measuring actual compilation now. The most significant omission is that we no longer track the time taken by the ACIR transformation passes which can be significant (I think worth tracking separately).


Option to have the menu open by default

Suggested by KerTin Ong in the marketplace comments

released in v2.0.0


fix planexecution controller to check parameter default also

What type of PR is this?
/kind bug
What this PR does / why we need it:
This PR fixes the issues of planexecution not passing the correct default params
and showing in logs:
PlanExecutionController: parameter cpus was required but not provided by instance zk

PlanExecutionController: parameter LOG_CLEANER_IO_BUFFER_LOAD_FACTOR was required but not provided by instance kafka

Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

I still feel like we should have only "default"... and NO required.   If the default is provided it is not required.  If the default is not provided it is required.

this PR has reference to a new param "Required" that isn't in the 0.3.     We can't cherry pick into 0.3 without bringing in all the code for the new param.

@kensipe that's what I thought initially also. And how I added parameters without required :false


Fetch contribs during compilation

DO NOT MERGE!
@dialelo I have addressed changes consistently across server project. Please pull my advances.

@raulraja please take a look! Note that for testing locally you'll need to recompile and republish the exercise jars.

LGTM! Great stuff!


"An error occurred" (TypeError: must be type, not classobj)

After "hey mycroft, play portishead on youtube", Mycroft says there was an error, and the below is written to /var/log/mycroft-skills.log:
13:22:52.031 - mycroft.skills.core:wrapper:607 - ERROR - An error occurred while processing a request in Youtube Skill
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/mycroft_core-18.2.2-py2.7.egg/mycroft/skills/core.py", line 598, in wrapper
    handler(message)
  File "/opt/mycroft/skills/skill-youtube-play/audio_skill.py", line 165, in adapt_handler
    handler(message)
  File "/opt/mycroft/skills/skill-youtube-play/__init__.py", line 40, in handle_play_song_intent
    self.youtube_play(title)
  File "/opt/mycroft/skills/skill-youtube-play/__init__.py", line 72, in youtube_play
    self.audio.play(videos)
  File "/opt/mycroft/skills/skill-youtube-play/audio_skill.py", line 29, in play
    super(AudioServiceB, self).play(tracks, utterance)
TypeError: must be type, not classobj

https://github.com/MycroftAI/mycroft-core/pull/1502   should fix it


docs: add installation guides for asdf and Mise

what
Docs for installing Atmos via asdf or Mise
why
As of recent, Atmos can be installed by asdf and Mise. Installation guides are not yet included on the website. This PR aims to fill this gap.
references
Plugin repo

Thanks @mtweeman!


💡 [REQUEST] - Add black linter workflow

[x] I am from GSSoC'23.
[x] I would like to be assigned this task.

Section
Description

Concise Description
As a project with multiple users contributing to it, it is essential to maintain a proper linting style to ensure better code readability by users. An excellent way to do this is by automatic linting checks using GitHub actions.

Solution Proposed
Add the black linter workflow to ensure a proper and uniform linting of the codebase.

Code of Conduct
By submitting this issue, you agree to follow our Code of Conduct.

[x] I follow the Contributing Guidelines of this project.
[x] I have checked the current issues for duplicate problems.
[x] I have read the readme of this repository.

Hi @metabiswadeep
Thank you for creating the issue. Please go ahead and start working on it. If you have any questions or need assistance during the process, feel free to ask.
Thank you for your contribution, and I'm excited to see your progress in resolving the issue.


chore(package): update sinon to version 3.3.0

Closes #46

Coverage remained the same at 78.378% when pulling 7d493e1fb50ece3bfa2e7bd1a43d01babffabf49 on greenkeeper/sinon-3.3.0 into d254ef6d1f0bd2b67cf7e7d7f594a9c93bf48fec on master.


potentially reduce memory usage inside infrastructure layer

Reduce use of options, use nulls.

Converted internals to a cake that uses non-native JS traits.


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1204 ms

Resolved: Bofrost.de performance has improved in ae6024c.


/v1/register-yourself service RequestHeaders require changes when RequestBody is empty

In the basic service , in the register-yourself service , when the incoming request comes with no requestBody , the following adjustments shall be made in the controller,
 if (Object.keys(req.body).length === 0) {
      body = req.body;
      user = req.headers["user"];
      originator = req.headers["originator"];
      xCorrelator = req.headers["x-correlator"];
      traceIndicator = req.headers["trace-indicator"];
      customerJourney = req.headers["customer-journey"];
    }

Priority:High;
AffectedFlow:Registration/register-yourself;

https://github.com/openBackhaul/TypeApprovalRegister/pull/258 covered the fix for this issue. Hence closing the same.


Found error when running replaced code on Program.cs

Consume your model
The last step is to consume your trained model in the end-user application.
Replace the Program.cs code in your myMLApp project with the following code:
Program.cs
Copy
using MyMLApp;
// Add input data
var sampleData = new SentimentModel.ModelInput()
{
Col0 = "This restaurant was wonderful."
};
// Load model and predict output of sample data
var result = SentimentModel.Predict(sampleData);
// If Prediction is 1, sentiment is "Positive"; otherwise, sentiment is "Negative"
string sentiment = result.Prediction == 1 ? "Positive" : "Negative";
Console.WriteLine($"Text: {sampleData.Col0}\nSentiment: {sentiment}");
Run myMLApp (select Ctrl+F5 or Debug > Start Without Debugging). You should see the following output, predicting whether the input statement is positive or negative.

Thanks for reporting this issue @IzzZulfa. We've recently updated the tutorials and the issue has been resolved. If you run into additional problems or have additional questions, feel free to open a new issue.


License?

This should really have a license file, assuming that it's intended for others to use.

Thanks, I forgot to give this a license. It is licensed under the MIT license. Added in 2105a857cbaf652b56feb8a371a7b571f3936cd2.

Wow, that was quick.  Thanks!


6565 add formula widgets options

Waypoint for #6565, PoC of creating a formula widget.
The code related to the actual widget creation is minor and straight forward, the big changes are mainly on how the models and collections are setup, which were kind of prerequisite to finalize the parent issue.
We were complicating things for ourselves by not following Backbone idioms, in summary:

Models

should only deal with their own business and only depend on what's essential
The internal structures are always flat now, please use the parse + toJSON methods to translate from/to the REST API format. This makes it much easier to use them.

Collections

utilizes the Collection#model prop to define how a model of its collection should be created. This way we can utilize the Backbone methods (create, add, etc.) only providing attrs (see widget creation below).
Sometimes a good place to coordinate with related, external deps, e.g. widget definition changes are synced to the dashboard models through the collection instead of convoluting the model.

Other noteworthy changes:

Introduced the LayerTable data model, which encapsulated a layer's data source state, i.e. basically the source table + query (which affects what columns are available).

The logic was ported from the olds models (cartodb-layer, CartoDBTableMetadata, and CartoDBTableData), but tried to keep the models here more focused and not exposing internal details to widget creation/editing that only really cares about the columns.

The baseUrl is common for all models/collections, so set it to the configModel, which is used to create the appropriate API URL.
:fire: a lot of unnecessary boilerplate and ceremony related to the forms.

E.g. creating widgets now just require knowing the attrs (compare to previous snippets…):
widgetDefinitionsCollection.create({
  type: 'formula',
  title: 'AVG homes',
  layer_id: layerDefinitionsCollection.at(1).id,
  column: 'homes',
  operation: 'avg'
}, {
  wait: true /* do not create widget model until definition is OK'd by API*/
})

There are still some smells related to passing around dependencies through several layers (of backbone views, not the cartodb/map concept, mind you!), I'll comment on that in a separate PR though (probably the next one).
@xavijam pretty please review? :bow:
@javierarce @acanimal @alonsogarciapablo FYI

retest this please

bump for review
I'm continuing in a separate branch for the time being, but would be good to get  feedback ASAP, if there's something serious I need to redo.

Maybe this has been talked offline, but why are there changes on the TabPaneViewFactory in this PR?

Hey, we agreed to keep tab-pane factory, what happened?

The only difference is
var createTextLabelsTabPane = require('../../components/tab-pane/create-text-labels-tab-pane');
…
createTextLabelsTabPane(…)

instead of :
var tabPanFactory = require('../../components/tab-pane/tab-pane-factory');
…
tabPaneFactory.createTextLabelsTabPane(…)

i.e. split up the files in two separate files, since the two functions are static and have no logic in common. For the new use-case here I don't need anything from the icons tab-pane so why have to require any of that?

:+1: LGTM… let's go!


MAINT: spatial.distance.jensenshannon returns nan for contrived input

The following code returns nan:
import numpy as np
import scipy.spatial
x = np.nextafter(0.5, 0)
p = [x, 1-x]
q = [1-x, x]
scipy.spatial.distance.jensenshannon(p, q)

This function has a few related issues and PRs, which I list below for ease of reference:

Duplicate with #20083


write_first_app.rst

Location: docs/locale/en_US/source/

Teri is working on it, too. A PR will be submitted by the end of this week.

Pls refer to https://github.com/lfapac-open-source-evangelist/fabric-docs-i18n/pull/58 for review.


[WIP] Load apiserver-network-proxy image from ocp payload

This PR enables to load apiserver-network-proxy image from OCP release payload only if its available. if image is not available in the OCP release image, its uses default override method.
What this PR does / why we need it:
apiserver-network-proxy image is available in ocp 4.11 reelase iamge. so we can read it from payload.
fixes # https://issues.redhat.com/browse/HOSTEDCP-301

/test e2e-aws-nested


some updates

added block drops.
changed top version.
changed top and modernui implemention line in build.gradle due to compile failures.

Would you mind if I upload it to curseforge

Please answer about uploading

Please avoid copying and pasting code directly from my pull request.
On a related note, I noticed that you uploaded it to Modrinth. While I understand that the code is released under the MIT license, meaning you are free to use it, I wanted to point out that the version you published does not follow Semantic Versioning. This could cause confusion if an official release is made later.
Since the changes for NeoForge 1.21.1 support have already been merged, I believe it would be better to leave the publication to the project owner.

I recommend u drop the thing u uploaded to modrith, "GUI Designs and GUI Resources" is under ARR/CC BY-NC-SA 4.0


Wrong translation

Hi there!
I wanted to start by praising your work. The app is wonderful and I find it extremely intuitive to use! Great! I noticed a small error in the translation. In the dashboard it says "Filamemt", although it should say "End of printing" or "Completion". I have attached a photo so that the position is clear.
Best regards and keep up the good work!

Hey there! This isn't the right place to report app-related issues. Please report them at mobileraker. However, I wanted to let you know that the issue you were facing has been fixed in the latest app update (version 2.6.9).

Related to https://github.com/Clon1998/mobileraker/issues/300


Fix typo in light/init.py

Description:
Just fix a typo.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] New dependencies have been added to the REQUIREMENTS variable (example).
[ ] New dependencies are only imported inside functions that use them (example).
[ ] New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[ ] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

Nice. To be clear, the existing method works but this PR makes the code more consistent.
Can be merged when tests pass.


[GHSA-5mwm-wccq-xqcp] The e-mail module of Python 0 - 2.7.18, 3.x - 3.11...

Updates

Affected products
Description
References
Severity
Summary

Comments
Correct/improve versions.  Correct spelling (e-ail).  Remove bogus link (python.com has nothing to do with the language).  Update correct link (to https).

Hey @terryjreedy 👋
I think this advisory might be about a core python module. We only review advisories as they apply to pypi packages.

I know, but the submission form required* that I select from a dropdown list that did not include Python and pip was the closest to that.  I have 0 idea how to bypass

IE, I left field blank and redisplayed form with field marked as required.

I know, but the submission form required* that I select from a dropdown list that did not include Python and pip was the closest to that. I have 0 idea how to bypass

Well... you don't. The requirement in the drop down comes from our scope which is package based
https://github.com/github/advisory-database/#supported-ecosystems

👋 This pull request has been marked as stale because it has been open with no activity.  If you do nothing this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details.


Usability problem in recordedit column ignore behavior?

When a column is marked to ignore only in edit context, it is completely hidden on the record-edit page. For my use case, the non-editable fields are often identifying information that cannot be changed for the record. Having this information hidden makes the whole edit UX confusing/risky as there is no obvious display showing what record is being edited!
I would have assumed that this app would consider both the detailed context and edit context, and cover three cases:

No applicable ignore context: show current value and make it editable
Only entry / edit ignore context: show current value but no edit controls for this field
Both entry / edit and detailed context: completely hide column

The detailed context applies to the mode where a current record is being edited. For the mode where new records are created, I think the current behavior is correct in only considering the entry / create contexts.

This is no longer applicable.


-webkit-app-region: drag not working after hiding element on top of it with CSS transform

I'm hiding a button in my titlebar (-webkit-app-region: drag) with a CSS transform (for animation). The button has -webkit-app-region: no-drag for being clickable.
The issue is that after hiding the button the window isn't movable in the first try in that specific area of the titlebar.
Steps to reproduce with this gist: https://gist.github.com/DerNivel/0b850b89c6e510486f13

Click on the button in the titlebar (button hides with CSS transform)
Try to move the window in the area where the button was before hiding (The window isn't movable)
Release the mouse and try again (Now it is movable)

OS: Windows 10 Version 1511

The -webkit-app-region attribute doesn't work very well with complex CSS rules, and I can reproduce the same thing in Chrome extension. I suggest making an Chrome app that can reproduce this problem, and then report it to Chromium's issues list.
I'm closing this since it is a bug of Chromium/blink, and we are not able to fix it on Electron's side.


where to place the gnina/scripts

I place gnina/scripts  outside of the directory of gnina/(at the same directory level)，I got the ModuleNotFoundError: No module named 'caffe'), is the place i placed wrong?

No, you don't have the caffe python library in your PYTHONPATH.

Yes, I have not install it(as i saw caffe in the gnina), then which vesion it need?

You need to build and install gnina.  Only our custom version of caffe will work.  Alternatively, depending what you are doing, you can build and install libmolgrid.

i had build and install gnina

As stated in the scripts README, you need to set your PYTHONPATH to include caffe python modules
export PYTHONPATH=/usr/local/python:$PYTHONPATH

Thans for response, sorry for make stupid actions.


Profiles follow-up

Update CredentialManager, InboundTransportManager, InboundSession to accept a Profile instance. Route outbound messages with a Profile rather than a context.
General refactoring: combine InjectorError and ProviderError into InjectionError.

Codecov Report

Merging #820 (e6b4b7e) into master (a027d5e) will decrease coverage by 0.07%.
The diff coverage is 96.17%.

@@            Coverage Diff             @@
##           master     #820      +/-   ##
==========================================
- Coverage   98.86%   98.79%   -0.08%
==========================================
  Files         270      270
  Lines       15013    15046      +33
==========================================
+ Hits        14842    14864      +22
- Misses        171      182      +11


Query editor in web UI prints "undefined"

My Environment

ArangoDB Version:        3.6.0
Storage Engine:             CocksDB
Deployment Mode:       Cluster
Deployment Strategy:   Manual
Operating System:        Ubuntu 19.10

Execute the following steps:

open web UI, go the "queries"
enter RETURN SLEEP(10) into the textarea
press "Explain"
press "Execute", and before the query finished, click on "Running queries"
once the query is completed, there will be a green notification bar at the bottom. If so, click on "Editor"
the results box below the textarea will then contain the string "undefined", and the developer tools in Firefox show the following JS error: TypeError: e.extra is undefined

Still a problem in 3.8.1, I do get a different error message in Chrome, however:
queryView.js:2048 Uncaught TypeError: Cannot read properties of undefined (reading 'profile')
    at renderQueryResult (queryView.js:2048)
    at queryView.js:817
    at Module._t (each.js:20)
    at restoreCachedQueries (queryView.js:815)
    at render (queryView.js:778)
    at r.query (router.js:953)
    at r.waitForInit (router.js:208)
    at r.query (router.js:943)
    at renderSubView (navigationView.js:248)
    at HTMLLIElement.<anonymous> (navigationView.js:233)


Fixed the usage of the shortestPath function like in the commit 3b660…

…af55ee8f6fa34336a47fde71c9e93504175
In addtion to the comments on https://github.com/orientechnologies/orientdb/pull/9337. This PR only contains the relevant changes.

Codecov Report

Merging #9386 into develop will increase coverage by 2.25%.
The diff coverage is 100.00%.

@@              Coverage Diff              @@
##             develop    #9386      +/-   ##
=============================================
+ Coverage      54.18%   56.43%   +2.25%
- Complexity     35534    40138    +4604
=============================================
  Files           2423     2432       +9
  Lines         192002   214465   +22463
  Branches       35026    41569    +6543
=============================================
+ Hits          104035   121038   +17003
- Misses         73029    77357    +4328
- Partials       14938    16070    +1132

Impacted Files
Coverage Δ
Complexity Δ

.../sql/functions/graph/OSQLFunctionShortestPath.java
51.51% <100.00%> (-0.70%)
37.00 <0.00> (ø)

...rient/server/distributed/ODistributedMomentum.java
0.00% <0.00%> (-40.00%)
0.00% <0.00%> (-7.00%)

...e/impl/local/paginated/wal/OLogSequenceNumber.java
53.57% <0.00%> (-25.01%)
11.00% <0.00%> (-2.00%)

...rver/distributed/task/OAbstractReplicatedTask.java
33.33% <0.00%> (-16.67%)
1.00% <0.00%> (-1.00%)

...ibuted/impl/OTransactionOptimisticDistributed.java
89.28% <0.00%> (-10.72%)
9.00% <0.00%> (+5.00%)
:arrow_down:

...ies/spatial/functions/OSTGeomFromTextFunction.java
45.45% <0.00%> (-10.11%)
2.00% <0.00%> (ø%)

...t/graph/stresstest/OGraphShortestPathWorkload.java
72.15% <0.00%> (-5.07%)
11.00% <0.00%> (ø%)

...t/server/distributed/task/OAbstractRemoteTask.java
77.27% <0.00%> (-4.55%)
14.00% <0.00%> (-1.00%)

...ologies/spatial/shape/OLineStringShapeBuilder.java
91.30% <0.00%> (-3.70%)
13.00% <0.00%> (+7.00%)
:arrow_down:

...s/spatial/engine/OLuceneGeoSpatialIndexEngine.java
72.34% <0.00%> (-3.22%)
11.00% <0.00%> (ø%)

... and 169 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 13da25f...3048270. Read the comment docs.


Don't change the response from 200 to 204 for empty implicit response body

The openapi3 emitter currently generated a 204 (No content) response if the implicit body of the return type has no properties. Actually, the current implementation isn't even consistent in this, as pointed out in #2513.
I think the current behavior is problematic because it creates all kinds of edge cases:

Why only implicit bodies and not explicit bodies?
What if a body property is added in a new api-version?
What about implicit body parameters that have a known or unknown @visibility?

I think it will be far easier for users if we simply make them be explicit and specify the 204 explicitly if that is their intent -- which can be easily done with the NoContentResponse in the http library.
Playground Link

Implementation issue https://github.com/microsoft/typespec/issues/2868


Does this work with android?

Hi i want to know if i make request to the sever from android device will it work?

Hi @asimashfaq, yes it should work. I'm not an Android developer but I think you should take care at where you save the JWT from the auth server, so that it will be accessible only to your app.


Linting throws npm error because linter returns with non-zero status

When running npm run lint-staged npm throws an error because, I guess, the linter exits with a non-zero status:
> npm run lint-staged
> project@ lint-staged C:\Users\user\Projects\project
> lint-staged

  source\script\component\accordion.js:2:1
  ×  2:1  Unexpected space between function name and paren.            no-spaced-func
  ×  2:1  meg is not defined.                                          no-undef
  ×  3:1  Unexpected newline between function and ( of function call.  no-unexpected-multiline

  3 errors
�  scripts:lint found some issues. Fix them and try again.

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "lint-staged"
npm ERR! node v4.5.0
npm ERR! npm  v3.8.5
npm ERR! code ELIFECYCLE
npm ERR! project@ lint-staged: `lint-staged`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the project@ lint-staged script 'lint-staged'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the project package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     lint-staged
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs project
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls project
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\Users\user\Projects\project\npm-debug.log

package.json looks like this:
{
  "scripts": {
    "scripts:lint": "xo",
    "lint-staged": "lint-staged"
  },
  "lint-staged": {
    "*.js": "scripts:lint"
  },
  "pre-commit": "lint-staged"
}
```

Is this a bug or how can I otherwise prevent the npm error?

When you run npm run lint-staged, you will get an npm error messages. But you should not if you running it in pre-commit hook (you will get pre-commit's ones).


ReferenceError: text is not defined

Hi, got this problem: if there is a input element in swal, then I get back the error in subject.
swal is raised only if "input: text" is commented.
It's the first time I see this: probably I am still missing something.
This is the code:

CLICK HERE

Sweetalert is the latest available.
Please help!

text => 'text'


Provide Enclave TLS design doc

Duplicated to https://github.com/alibaba/inclavare-containers/issues/748


Zone page rework

Description
Design reworked these pages a little to make them a little more logical (List of zones and then Overview, Ingresses, Egresses, ...  similar to meshes).
We should do this here.

First half of this is here https://github.com/kumahq/kuma-gui/pull/1586 (second half - numbers of things in the zone table, will be a separate PR)

I made an issue for the second half of this, so I can close this one. Judging that this one is just tracking the "nesting"
https://github.com/kumahq/kuma-gui/issues/1608

Closed by https://github.com/kumahq/kuma-gui/pull/1586


CIV-6282 Judicial Decision doc preview

Before creating a pull request make sure that:

[x] commit messages are meaningful and follow good commit message guidelines
[x] README and other documentation has been updated / added (if needed)
[x] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
https://tools.hmcts.net/jira/browse/CIV-6282
Change description
Judges and Legal advisors have the ability to review the PDF that will be created following their decision. Additional screens have been implemented to preview the document before CYA screen.
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

[ ] Don't merge as new screen title page is yet to confirm with Steve by Alex


Handle gopkg.in semver "-unstable" tags

Follow up to https://github.com/golang/dep/pull/587#issuecomment-302993042

http://semver.org/#spec-item-9

A pre-release version MAY be denoted by appending a hyphen and a series of dot separated identifiers immediately following the patch version. Identifiers MUST comprise only ASCII alphanumerics and hyphen [0-9A-Za-z-]. Identifiers MUST NOT be empty. Numeric identifiers MUST NOT include leading zeroes. Pre-release versions have a lower precedence than the associated normal version. A pre-release version indicates that the version is unstable and might not satisfy the intended compatibility requirements as denoted by its associated normal version. Examples: 1.0.0-alpha, 1.0.0-alpha.1, 1.0.0-0.3.7, 1.0.0-x.7.z.92.

Fixed by #587

@carolynvs @sdboyer is this fixed? My PR only handles branches, as Sam pointed out in #587 -- I thought there was more work to be done to handle semver tags with -unstable on them

Oops, my mistake! 😊


Logging not writing OcelotRequestId

Hi, im using Ocelot v2.0.4 and I'm facing a minor issue with logging (or maybe my configuration is wrong).
In my case I am using basic implementation.

My configuration file:
"ReRoutes": [
{
"DownstreamPathTemplate": "/api/values",
"DownstreamScheme": "http",
"DownstreamHost": "localhost",
"DownstreamPort": 57670,
"UpstreamPathTemplate": "/api/values",
"UpstreamHttpMethod": [ "Get" ]
}
],
"GlobalConfiguration": {
"RequestIdKey": "OcRequestId"
}
Downstream WebApi is recieving the OcRequestId header

I'm just trying to log incoming requests and responses somehow, not implementing custom things.

@xxsybreedxx hey thanks for contributing! The config looks OK to me so not sure why it doesn't work.
I will have a look when I get a chance! On my open source holiday at the moment ;)


nicer error when hitting recursion error while serializing

fix pydantic/pydantic#5348

Codecov Report

Merging #630 (b434b3b) into main (c9a83c8) will increase coverage by 0.04%.
The diff coverage is 96.42%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #630      +/-   ##
==========================================
+ Coverage   94.02%   94.07%   +0.04%
==========================================
  Files          98       98
  Lines       13283    13282       -1
  Branches       25       25
==========================================
+ Hits        12490    12495       +5
+ Misses        787      781       -6
  Partials        6        6

Impacted Files
Coverage Δ

src/serializers/type_serializers/function.rs
96.53% <96.00%> (+1.38%)
:arrow_up:

src/serializers/errors.rs
87.75% <100.00%> (+2.97%)
:arrow_up:

Continue to review full report in Codecov by Sentry.

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


Handle proc-macro functions as the proc-macro they resolve to

Fixes https://github.com/rust-analyzer/rust-analyzer/issues/11212

bors r+


issue when opening app after install

Hello,
I did build latest version Tailscale_1.34.2-1_x86_64.qpkg and install, when I try to open it via qnap portal is getting me to page with error
Get "https://<IP_ADDRESS>:443/cgi-bin/authLogin.cgi?sid=k0gygokg": x509: cannot validate certificate for <IP_ADDRESS> because it doesn't contain any IP SANs
How i Can troubleshoot ?
Best regards

Are you using tailscale up from the CLI? The latest release is 1.34.1: https://github.com/tailscale/tailscale-qpkg/releases/tag/v1.34.1

The packages marked pre-release and named qnap-* are for the QNAP Package Center. If you've manually installed those and are trying to click the Tailscale icon to authenticate: in the Control Panel > General Settings do you have "Force secure connection (HTTPS) only" checked? That doesn't currently work, QNAP only has a self-signed certificate but then forces it to be used. The issue is tracked in https://github.com/tailscale/tailscale/issues/6903

We will try to get the package into the AppCenter. We do not have a schedule of when that might happen.

@ulfklose thanks you for checking it also, this work when I turn off this ssl ...


Failed to create package: Cannot modify packages for remote host "entropic.dev"

I know it’s early days and probably I’ve missed something obvious. I’ll also try to understand the reason myself and update the issue as I do. But I thought others might run into the same problem so why not create it for everyone to track.
Here is what I did

[x] successfully installed the CLI

[x] successfully logged in using my GitHub account @gr2m

[x] created a new folder with a Package.toml and an index.js
[registries."https://entropic.dev"]
token = "ent_v1_6afb7369-8d64-43a5-bc95-841eba208500"

module.exports = () => {
  console.log('It me, @gr2m!')
}

[ ] I get an error when running ds publish in the same folder
$ ds publish
ERR! Failed to create package:
ERR! Cannot modify packages for remote host "entropic.dev"

Any pointers much appreciated

What does your Package.toml look like?

Oppsie doopies, I passed the wrong content in my issue description, fixed it now.
The content is
name =<EMAIL_ADDRESS>version = "1.0.0"

i had success with<EMAIL_ADDRESS>-- likely try ds login --registry=https://registry.entropic.dev and then change the namespace accordingly

🎉 wonderful, that did the trick!
To summerize,

[x] I updated the Package.toml file to include the registry. subdomain
- name =<EMAIL_ADDRESS>+ name =<EMAIL_ADDRESS>  version = "1.0.0"

[x] I run ds login --registry "https://registry.entropic.dev" and created and hit the create new token button


Link back to vue storefront after payment

Prerequisites
Hey i'm developing a module for vue storefront which makes different payment options available from payment services. For some payments i use the createOrder Button to go to a third party service like paypal do the payment and then ### come back.
Goal Scenario:
When the user is linked back to the shop, i want to open directly /checkout#payment or Thankyou page  to either adjust the payment or tell the user everything worked fine.
My Problem:
I'm looking for best practice to directly when loading the pwa with special parameters rout to /checkout#payment page or the ThankYou Page. or even better go there Without extra work.
My Solution so fare:
link to landing page "home.vue" and give some parameters to analyse if payment success or payment failed. From there trigger Events / State changes to show the checkout#payment page or Thank you page.  See example code below.
Code so far in Home.js
mounted () {     var url_string = window.location.href     var url = new URL(url_string)     var a = url.searchParams.get('a')     console.log('THB:', a)     if (a === '1') {       // Success       this.$bus.$emit('checkout-after-paymentDetails', {}, {})     } else if (a === '2') {       // ERROR       this.$router.push(this.localizedRoute('/checkout#payment'))       alert('Payment failed.. Please Repeat.')     } else if (a === '3') {       // back       this.$router.push(this.localizedRoute('/checkout#payment'))     }   } }
Thanks for every help!

Hi @ThomasBaier thats really great you’re working on extension like this! Can you please precise your question?
In general I’d suggest just adding a dedicated route inside your module (via router/index you’ve got probably inside the module) and redirect users to this specific url. Inside it you can just redirect (programmatically in JS) the user to any section they wanted


Could you please share a link to a complete, functional example based on the guide?

Overview/summary
Could you please share a link to a complete, functional example based on the guide?

I'm attempting to create a very simple Shopify app from scratch. While I've mostly managed to follow the instructions in the readme, I faced some challenges, and I believe having a comprehensive working example would have made the process much smoother.
I'm confident that other developers would also find it helpful!
Here's my app so far mostly works, but it has issues:
https://github.com/ConnorIngold/picker-io
Issues I think I could resolve on my own if I had a full official working example to reference 😅
Perhaps also add the link to the readme too.
Thank you!

@mkevinosullivan I'm aware of that repo, however, I was hoping for something backend and basic based on this repo, and its readme guide. Like if you take all the parts of the readme together what would it look like?
From there I could expand on it and perhaps add in a Vue frontend.
About a year+ back there was a YouTube video on the ShopifyDevs channel covering this, but since the updates to the app, it's outdated now.
I've since done a good chunk of work on https://github.com/ConnorIngold/picker-io and have pretty much got what I want but would be nice to see how the original authors go about it 👍
Thanks.


Installation issue

Hi! Firstly, my plug stopped working. I tried to reinstall the integration, but I see these errors:
[custom_components.hacs] <Integration ha0y/xiaomi_miot_raw> GitHub returned 404 for https://api.github.com/repos/ha0y/xiaomi_miot_raw/git/trees/v1.0
[custom_components.hacs] GitHub returned 404 for https://api.github.com/repos/ha0y/xiaomi_miot_raw/git/trees/v1.0

There is something wrong with your HACS. It got the wrong version number. Try clear HACS cache, or reinstall HACS, or manually install the integration.

您好，我在HACS上安装成功了，但在配置中安装集成时点按MIOT图标没有反应是怎么回事？我的设备是群晖docke,Homeassistant0.9115.4版；我想添加小米万能遥控器及其下挂的红外、射频设备。

@1ban5599 检查一下python版本是否为3.7，本插件暂不支持3.7，请升级。另外，本插件支持众多设备，但唯独不支持小米万能遥控器及其下挂的红外、射频设备。

@ 1ban5599检查一下python版本是否为3.7，本插件暂不支持3.7，请升级。另外，本插件支持众多设备，但唯独不支持小米万能遥控器及其下挂的红外，射频设备。

请问知道哪个版本支持小米万能遥控器及其下挂的红外，射频设备吗？其实我用米家APP也能满足需要，只是入坑HASS后想折腾折腾。

There is something wrong with your HACS. It got the wrong version number. Try clear HACS cache, or reinstall HACS, or manually install the integration.

Thank, manual installation worked for me. But how can I clean the HACS cache?

There is something wrong with your HACS. It got the wrong version number. Try clear HACS cache, or reinstall HACS, or manually install the integration.

Thank, manual installation worked for me. But how can I clean the HACS cache?

I have no idea about it, as I don't use HACS.


Thruster with Rails Full Page Caching - 404 after cache sweep

I have a very old blog I am trying to bring up to Rails 8 with Thruster.
The app uses Rails full page caching, ie:
caches_page :index, :show

On the posts controller. What I have found is that on the first load of the posts index, everything works great - rails writes the cache file into public/posts/index.html. However I think Thruster then caches the static file on the next load.
Later, when I add a new post, the cache gets swept, removing posts.html from the public folder.
At this stage, if I navigate back to /posts, the rails action does not run as Thruster immediately returns a 404. So Thruster must check if the cached file it has on disk still exists before serving it, and if it is not there, it does not fall back to the Rails action. At this point it is stuck as there is no way to expire the cache and rebuild the index.
Is there any setting I might be missing to make this work out of the box, or some sort of "no cache" header I can set to tell Thruster to not cache this sort of asset?

This problem is related to x-sendfile. I enabled debug, and this is the trace where the request gets cached for the first time:
{"time":"2024-11-16T16:51:44.912372513Z","level":"DEBUG","msg":"X-Sendfile sending file","path":"/rails/public/posts.html"}
{"time":"2024-11-16T16:51:44.912768281Z","level":"DEBUG","msg":"Cache: added item","key":6566495710094405687,"size":367,"expires_at":"2025-11-16T22:40:56.912664736Z"}
{"time":"2024-11-16T16:51:44.912808727Z","level":"DEBUG","msg":"Added response to cache","path":"/posts","key":6566495710094405687,"expires":"2025-11-16T22:40:56.912664736Z","size":367}
{"time":"2024-11-16T16:51:44.914714285Z","level":"INFO","msg":"Request","path":"/posts","status":200,"dur":4,"method":"GET","req_content_length":0,"req_content_type":"","resp_content_length":7807,"resp_content_type":"text/html","remote_addr":"<IP_ADDRESS>:40044","user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0","cache":"miss","query":""}

Notice "size":367 is being cached. However the response is much larger than that - about 8kb compressed, 31kb uncompressed. So I am guessing it is caching the header response with x-sendfile location, but I am not sure on that.
After the cache is expired on the rails side (/rails/public/posts.html is now deleted), on the next request for /post Thruster seems to go back looking for th file again, but its not there. I am not sure if Rails / Rack is giving the 404, or Thruster generates it.
{"time":"2024-11-16T16:54:06.957689567Z","level":"DEBUG","msg":"X-Sendfile sending file","path":"/rails/public/posts.html"}
{"time":"2024-11-16T16:54:06.957746705Z","level":"INFO","msg":"Request","path":"/posts","status":404,"dur":0,"method":"GET","req_content_length":0,"req_content_type":"","resp_content_length":19,"resp_content_type":"text/plain; charset=utf-8","remote_addr":"<IP_ADDRESS>:43166","user_agent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0","cache":"hit","query":""}

Disabling x-sendfile fixes the problem, at least in part (more on that below). What does Thruster cache for a x-sendfile response with a cachable header? It looks like its caching the wrong thing (not the file content, but the header to serve that file), causing it to need to go back to the Rails server to read the file again on every request, but not giving Rails a chance to recreate that file or change the response.
Even with x-sendfile disabled the behavior is a little unexpected. When Rails answers /post, the default header returned specifies "no-cache/private". However once Rails does the full page caching the Static middleware serves the file, same as for assets. There is only a single configurable http header for this, so all static files get served with 1 year cache age. That can be worked around by adding some extra middleware in Rails. This is not a Thruster problem. I am only mentioning it in case someone comes across this in the future.

Just notice #27 has reported something similar.


Repetition phrase fixed

Great catch! I've addressed the duplicate wording issue in the "Site content" section.
Issue #425

You are congradulating yourself with "great catch" :P
FYI - For trivial fixes like this, you don't need to open an issue. You can just open a PR and fix directly.
/lgtm
/approve


U.I Freezing

OS: Windows 10
Issue Descriptions: The Player freezes randomly and for a random amount of time after playing a song and waiting a moment, no buttons work or anything to skip songs or thumbs up, no hotkeys, I'm using the latest update from today. The music still plays but I can't do anything on the player. This has been happening for a month or two. It hhappens even when the player is not minimized.
Steps to Reproduce: I'm not really sure how to reproduce this, it just seems to happen every time I start listening to a song and then while playing a game I see that it has randomly frozen, not sure what causes it exactly.

This was fixed in 4.0.2 that was released recently

Not fixed. I completely uninstalled the app and reinstalled 4.0.2 and it does the same thing.

I see the same thing with 4.0.3 intermittently. Using windows 10 with latest chrome installed. I'm seeing the same problem with the slack windows app interestingly enough.

For the record the version of Chrome you have installed makes no difference here. GPMDP has an internal version of Chrome that is based on the Electron Framework.

Seems like my problems are cured if I disable windows notifications for these two apps. Interesting...

I am running 4.0.3 and am still experiencing the freezing. This needs to be reopened. @MarshallOfSound
I just tried disabling notifications from the app and haven't experienced freezing yet. I will update later if I run into a freeze or not

Seems like my problems are cured if I disable windows notifications for these two apps. Interesting...

This is exactly the same thing that fixed it for the other people reporting it.  I thought I had handled it but maybe not.  Just like other issues without me being able to repro it, it becomes quite tricky.   If anyone is available for a teamviewer session at some point ping me here or on Gitter and I can take a look again 👍

@MarshallOfSound I originally did not have this issue originally but then my computer messed up and I had to wipe and reinstall windows due to unrelated problems. It is interesting that the issue started after I wiped the machine. I would be willing to teamview one day. I want to make sure I can consistently cause the issue and remove it by enabling and disabling the notifications for the application before I do so though

@jasekiw That is actually really interesting.  This is a quote from the last guy (who I thought I fixed it for)

This started with a new Windows install.

Maybe this is a bug at the OS level and only new installs of a certain build are experiencing it.

@MarshallOfSound  The interesting thing is that I believe the build of the fresh install is the same as my other computer with does not experience this bug. You were mentioning in another issue that there are some optional dependencies that can help. I may go through that list and see if that machine has any of those installed. Also it has been hours since I disabled notifications for the app and there hasn't been a single freeze so it is definitely related to the notification system in windows.

I see the same thing on a fresh install on Linux today.  google-play-music-desktop-player-4.0.3-1.x86_64 on Fedora 24, 64-bit.

Let me amend my previous comment. It appears to only be an issue when the playback API is enabled and the remote app (Android) is connected or has previously connected.

@jfmcbrayer Your issue sounds like same symptoms but different cause.  Can you ensure that you don't have a firewall blocking the PlaybackAPI port (5672)

I unblocked the PlaybackAPI port in firewalld before experiencing those problems. The problems started after the client connected.

@jfmcbrayer Do you have the mdns libraries installed on your distro.  avahi?

Not sure if this will help at all, but I had the same issue but the main issue for me was after a rebuild of windows 10, the major difference between versions was the anniversary update, which I had blocked until this time. I realise there are a LOT of other patches in between I had also been holding back due to this, but I am just hoping it may help. Disabling the notification popup in the player also fixed this for me but was not required before the rebuild.

avahi-0.6.32, corresponding releases of avahi-gobject, avahi-libs, avahi-autoipd, avahi-glib, and avahi-ui-gtk3.

My fix for this should fix it, the problem is (looking at the released version) I pushed out a built version without my change (I don't even know how).  Next update should fix

I'm experiencing this issue as well even with the latest update. My laptop works fine but I recently upgraded my PC with new parts and had to reinstall Windows 10 (went from Enterprise to Education and AMD to Intel CPU). It freezes and with each time I right click the taskbar icon, it "updates" a frame (as if it is like a video frame).


toggling between watch mode and non-watch mode

When I call watcher.close() or watcher.unwatch('**/*.js'), I can't seem to start watching files again.
Is there some special step I need to take if I unwatch all files and then decide to watch some files again?
Any idea why I wouldn't be able to start watching files again after unwatching them?
thanks!

I also have this output:
                               ```js

if (watcher) {
// Stop watching.
console.log('\n\n => Watched paths before "unwatch":', watcher.getWatched());
watcher.unwatch('**/*.js');
console.log('\n\n => Watched paths after "unwatch":', watcher.getWatched());
}

=> Watched paths before "unwatch": { '/Users/Olegzandr/WebstormProjects/poolio': [ 'test' ],
'/Users/Olegzandr/WebstormProjects/poolio/test':
[ '_suman',
'fixtures',
'test-canonical.js',
'test-hook-params.js',
'test-poolio-w-suman.js',
'test-repeated-inits.js',
'test.js' ],
'/Users/Olegzandr/WebstormProjects/poolio/test/_suman':
[ '.readme',
'examples',
'logs',
'suman.globals.js',
'suman.hooks.js',
'suman.ioc.js',
'suman.once.js',
'suman.order.js',
'suman.reporters.js' ],
'/Users/Olegzandr/WebstormProjects/poolio/test/fixtures': [ 'sample-file.js', 'sample-file1.js', 'worker1.js' ],
'/Users/Olegzandr/WebstormProjects/poolio/test/_suman/examples': [ 'one.js', 'three.js', 'two.js' ],
'/Users/Olegzandr/WebstormProjects/poolio/test/_suman/logs': [] }
=> Watched paths after "unwatch": { '/Users/Olegzandr/WebstormProjects/poolio': [ 'test' ],
'/Users/Olegzandr/WebstormProjects/poolio/test':
[ '_suman',
'fixtures',
'test-canonical.js',
'test-hook-params.js',
'test-poolio-w-suman.js',
'test-repeated-inits.js',
'test.js' ],
'/Users/Olegzandr/WebstormProjects/poolio/test/_suman':
[ '.readme',
'examples',
'logs',
'suman.globals.js',
'suman.hooks.js',
'suman.ioc.js',
'suman.once.js',
'suman.order.js',
'suman.reporters.js' ],
'/Users/Olegzandr/WebstormProjects/poolio/test/fixtures': [ 'sample-file.js', 'sample-file1.js', 'worker1.js' ],
'/Users/Olegzandr/WebstormProjects/poolio/test/_suman/examples': [ 'one.js', 'three.js', 'two.js' ],
'/Users/Olegzandr/WebstormProjects/poolio/test/_suman/logs': [] }

When you unwatch a glob pattern as in the example you provided, the actual impact is like adding a post-facto entry to the ignored option. I'm not sure I can think of a good way to un-unwatch in that scenario (i.e. surgically remove the part of the ignore that conflicts with the new request to watch). I'm willing to consider it a bug nonetheless.
This also explains why the .getWatched() output hasn't changed. It's still watching all that stuff, just filtering the events based on what you've decided to start ignoring.
On the other hand, if you were to watcher.unwatch('/Users/Olegzandr/WebstormProjects/poolio') it would actually tear down the underlying watch and clean up after itself, and I'd think re-watching would work.
But if you use watcher.close() and create a new instance each time then I don't see why you'd still be having this problem.
That said, my primary recommendation would be to reconsider whether you actually need to pause/resume watching in the way you're attempting. Can't you just make decisions in your own code about when to take action in response to events or not?

Thanks for the info - I am using chokidar as part of a library, not an end-application. Basically I am working on Suman, a test runner, and on a file-save I want to execute and/or transpile the test file that changed. I want to give the users of my lib the ability to watch and un-watch files/folders, and using globs would be convenient, but I can manually unwatch each file path, if that is the only way to get this to work.
I could manually ignore events for filepaths that should be unwatched, but really I think it would be ideal if chokidar managed this internally. I'd also rather not create and destroy instances of a watcher to get that behavior, it would be best to use the same watcher instance I think.

You might still have similar problems if you try to unwatch file paths that are a subset of what chokidar has set watcher instances on.
I should mention that chokidar does try to take measures to address your use case. If you unwatch, then set to re-watch the exact same glob pattern, it should work (https://github.com/paulmillr/chokidar/blob/master/index.js#L596-L60). It's when dealing with subsets and intersections of globs that it gets messy.

I think it would be ideal if chokidar managed this internally

The problem with doing it in the way I think you've described is that you're often not freeing any resources, you're actually adding processing overhead. So I think you have to be pretty careful about your approach to really accomplish your aims here.
Based on what you've described, I don't think unwatch is the best approach. I think you should keep a toggle on your side of whether certain paths should be executed at any given time and leave the watch implementation simpler.

Ok no prob, I will see if unwatching / re-watching specific file path(s) works, if not I will do that bookkeeping that you mention, the performance effect in my lib won't matter, just feels like a bit of extra work :)

:( Bummer TBH it seems you guys don't have it quite right
I am calling unwatch on specific filepaths in a loop:
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/_suman
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/fixtures
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/test-canonical.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/test-hook-params.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/test-poolio-w-suman.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/test-repeated-inits.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/test.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/_suman/.readme
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/_suman/examples
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/_suman/logs
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/_suman/suman.globals.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/_suman/suman.hooks.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/_suman/suman.ioc.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/_suman/suman.once.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/_suman/suman.order.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/_suman/suman.reporters.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/fixtures/sample-file.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/fixtures/sample-file1.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/fixtures/worker1.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/_suman/examples/one.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/_suman/examples/three.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/_suman/examples/two.js
 => The following file path is being unwatched => /Users/amills/WebstormProjects/oresoftware/poolio/test/_suman/logs/.readme

but after calling unwatch on these, they are still listed:
 => Watched paths after "unwatch": { '/Users/amills/WebstormProjects/oresoftware/poolio': [],
  '/Users/amills/WebstormProjects/oresoftware/poolio/test':
   [ '_suman',
     'fixtures',
     'test-canonical.js',
     'test-hook-params.js',
     'test-poolio-w-suman.js',
     'test-repeated-inits.js',
     'test.js' ],
  '/Users/amills/WebstormProjects/oresoftware/poolio/test/_suman':
   [ '.readme',
     'examples',
     'logs',
     'suman.globals.js',
     'suman.hooks.js',
     'suman.ioc.js',
     'suman.once.js',
     'suman.order.js',
     'suman.reporters.js' ],
  '/Users/amills/WebstormProjects/oresoftware/poolio/test/fixtures': [ 'sample-file.js', 'sample-file1.js', 'worker1.js' ],
  '/Users/amills/WebstormProjects/oresoftware/poolio/test/_suman/examples': [ 'one.js', 'three.js', 'two.js' ],
  '/Users/amills/WebstormProjects/oresoftware/poolio/test/_suman/logs': [ '.readme' ] }

but even though they are still listed, and even after calling watch on each of them again, they are not re-watched. Major bummer, will do a workaround for now.

Ok, so this does work however - if I want to "unwatch" files, I run
watcher.close();
watcher = null;

unfortunately, this doesn't give me or the user the option to unwatch specific files, just all the current files. Then when I want to start watching again, I create a new watcher instance and start over. I don't find this ideal, but this is what is working for me for now.

Hello,
I am noticing weird behavior when unwatching a specific file as well but a little but different than the one @ORESoftware reported. In my case, with latest chokidar from npm, after I unwatch a specific file, I immediately perform a file system move but the change event is being triggered, although I expect the event not to.
The weird part is that if I call getWatched before I make the move, sometimes the file is included there (after i call unwatch) and some times it does not, but the behavior stays the same. Another thing i notice is that, in both cases the file which i ignored is listed under the _ignoredPaths.
Is there a latest update regarding unwatch/watch or this still work in progress?


⚠ haccp has degraded performance

In 7b37c4b, haccp (https://www.haccp.or.kr) experienced degraded performance:

HTTP code: 200
Response time: 14367 ms

Resolved: haccp performance has improved in 3e05419.


[FEA] Update changelog to include benchmarking label

We added a new label benchmark.  We need to update the changelog creation tool to include issues and PRs labeled with benchmark.

@sameerz Hey, just got back from holiday. Can you also provide the section priority of benchmark like https://github.com/NVIDIA/spark-rapids/issues/573#issuecomment-677053903? Thanks!

Let's treat benchmark like performance and use the same deduplication rules that are already there for performance.


./run-asm-pipeline.sh -m diploid merged_nodups.txt polish.fasta

...detecting misjoins in round 0 assembly:
:) -p flag was triggered. Running with GNU Parallel support parameter set to true.
:) -c flag was triggered, starting calculations with 5% saturation level
:) -w flag was triggered, performing cursory search for mismatches at 500000 resolution
:) -d flag was triggered, depletion score will be averaged across a region bounded by 1000000 superdiagonal
:) -k flag was triggered, starting calculations with 55% depletion as mismatch threshold
:) -n flag was triggered, performing mismatch region thinning at 1000 resolution
...Dumping 500000 resolution matrix
Could not read hic file: null
:( Juicebox dump is empty! Perhaps something is wrong with the hic file or the requested resolution is too high. Exiting!
:) -w flag was triggered, performing cursory search for repeat at 500000 resolution
:) -t flag was triggered, flagging regions with coverage higher than 2
...Dumping 500000 resolution coverage track
Could not read hic file: null
:( Juicebox coverage dump is empty! Perhaps something is wrong with the hic file or the requested resolution is too high. Exiting!
mv: cannot stat 'depletion_score_wide.wig': No such file or directory
mv: cannot stat 'depletion_score_narrow.wig': No such file or directory
mv: cannot stat 'mismatch_wide.bed': No such file or directory
mv: cannot stat 'mismatch_narrow.bed': No such file or directory
mv: cannot stat 'coverage_wide.wig': No such file or directory
mv: cannot stat 'repeats_wide.bed': No such file or directory
awk: fatal: cannot open file merged_nodups.txt.0_asm.superscaf_track.txt' for reading (No such file or directory) awk: /public/msq/3DDNA/3d-dna-master/edit/overlay-edits.awk:20: fatal: cannot open file merged_nodups.txt.0_asm.scaffold_track.txt' for reading (No such file or directory)
:) No more input edits to be done. Moving to polishing!
:( No resolved files are found. Please rerun the pipeline to include the scaffold segment. Exiting!

Hello hzaumsq,
I am not sure what is your question here, but it seems that the Hi-C map was not created: Could not read hic file: null. Check your dev/stdout for Java message regarding this.
Best,
Olga

Hi hzaumsq ,
Did you solve this issue? I have got the same problem.
Best,
Tianyu

chmod  777 run-asm-pipeline.sh

chmod 777 run-asm-pipeline.sh

Hi hzaumsq,
Thanks for your prompt reply.
I have tried this, the attributes of  run-asm-pipeline.sh is -rwxrwxrwx. But still reported the same error.
Best,
Tianyu

Hi Tianyu,
I also meet the same error.
Have you fixed this error?
Best,
licheng

chmod 777 run-asm-pipeline.sh

Hi hzaumsq,
Thanks for your prompt reply.
I have tried this, the attributes of run-asm-pipeline.sh is -rwxrwxrwx. But still reported the same error.
Best,
Tianyu

Hi Tianyu,
I also meet the same error.
Have you fixed this error?
Best,
licheng


zecwallet-lite: init at 1.7.13

closes #166005
i've been using this for a day without issue.
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 180960 run on x86_64-linux 1

1 package built:

zecwallet-lite


Should do a instant sync after database upgrade

Currently after database upgrade, all tables are recreated, but because no sync is happening, the app was left empty with no records.

Done


npx create-next-app -e cms-makeswift makeswift-test and cd makeswift-test & npm run dev produces an error

I haven't made any edits to the code yet, just a starter project.
I have created an "Index" page on my Makeswift project dashboard, set its path to "home". It should be at "http://localhost:3000/home" as the helper indicates below the page path field.
I have added the secret key to my .env.local.example as described in docs, but when I access the http://localhost:3000/home it says:
Server Error
TypeError: Only absolute URLs are supported
Console output is:
TypeError: Only absolute URLs are supported
at getNodeRequestOptions (D:\makeswift\makeswift-test\node_modules\next\dist\compiled\node-fetch\index.js:1:63538)
at D:\makeswift\makeswift-test\node_modules\next\dist\compiled\node-fetch\index.js:1:65069
at new Promise ()
at Function.fetch [as default] (D:\makeswift\makeswift-test\node_modules\next\dist\compiled\node-fetch\index.js:1:65003)
at fetchWithAgent (D:\makeswift\makeswift-test\node_modules\next\dist\server\node-polyfill-fetch.js:53:39)
at getStaticProps (D:\makeswift\makeswift-test\node_modules@makeswift\runtime\dist\next.cjs.js:152:21)
at Object.renderToHTML (D:\makeswift\makeswift-test\node_modules\next\dist\server\render.js:451:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async doRender (D:\makeswift\makeswift-test\node_modules\next\dist\server\base-server.js:912:38)
at async cacheEntry.responseCache.get.isManualRevalidate.isManualRevalidate (D:\makeswift\makeswift-test\node_modules\next\dist\server\base-server.js:1017:28) {
page: '/[[...path]]'
}
My OS is WIndows 10

@milaabl, the environment variables should be added to .env.local, so make sure to rename .env.local.example to .env.local 😄

@migueloller, yes, that solved the issue! :)


Fixed typo

@HavardOveras : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@HavardOveras Thanks for the typo fix.