text:
The calculation of the lunar start date throws a TypeError exception for Thailand and Cambodia

version: 0.47
stack trace:
"python39\lib\site-packages\holidays\calendars\thai.py", line 233, in _get_start_date
return _ThaiLunisolar.START_DATE + td(days=delta_days)
TypeError: unsupported type for timedelta days component: numpy.int32

I'm not really sure if that's a PH bug as it involves numpy based on what I'm seeing.
Could you provide more information on how to reproduce the issue?
Thank you!

I'm not really sure if that's a PH bug as it involves numpy based on what I'm seeing. Could you provide more information on how to reproduce the issue?
Thank you!

Apologies, I encountered a TypeError while using the 'get_holiday_names' method from the Prophet algorithm provided(version:1.1.5) by Facebook.
This error specifically occurred when calculating holidays for only Thailand and Cambodia among the available countries.
The numpy type is passed into the holidays code from Prophet.
I attempted to resolve the issue by modifying line 233, adding an integer type conversion, which prevents the error (return _ThaiLunisolar.START_DATE + td(days=int(delta_days)))
【Here is the full stack trace】
File "D:\Program Files (x86)\language\python39\lib\site-packages\prophet\forecaster.py", line 769, in add_country_holidays
for name in get_holiday_names(country_name):
File "D:\Program Files (x86)\language\python39\lib\site-packages\prophet\make_holidays.py", line 50, in get_holiday_names
return set(country_holidays(language="en_US", years=np.arange(1995, 2045)).values())
File "D:\Program Files (x86)\language\python39\lib\site-packages\holidays\registry.py", line 207, in call
return cls(*args, **kwargs)  # type: ignore[misc, operator]
File "D:\Program Files (x86)\language\python39\lib\site-packages\holidays\countries\thailand.py", line 151, in init
super().init(*args, **kwargs)
File "D:\Program Files (x86)\language\python39\lib\site-packages\holidays\observed_holiday_base.py", line 103, in init
super().init(*args, **kwargs)
File "D:\Program Files (x86)\language\python39\lib\site-packages\holidays\holiday_base.py", line 372, in init
self._populate(year)
File "D:\Program Files (x86)\language\python39\lib\site-packages\holidays\holiday_base.py", line 793, in _populate
self._populate_common_holidays()
File "D:\Program Files (x86)\language\python39\lib\site-packages\holidays\observed_holiday_base.py", line 183, in _populate_common_holidays
super()._populate_common_holidays()
File "D:\Program Files (x86)\language\python39\lib\site-packages\holidays\holiday_base.py", line 800, in _populate_common_holidays
pch_method()
File "D:\Program Files (x86)\language\python39\lib\site-packages\holidays\countries\thailand.py", line 436, in _populate_public_holidays
makha_bucha_date = self._add_makha_bucha(tr("วันมาฆบูชา"))
File "D:\Program Files (x86)\language\python39\lib\site-packages\holidays\groups\thai.py", line 138, in _add_makha_bucha
name, self._thai_calendar.makha_bucha_date(self._year, calendar)
File "D:\Program Files (x86)\language\python39\lib\site-packages\holidays\calendars\thai.py", line 266, in makha_bucha_date
start_date = self._get_start_date(year)
File "D:\Program Files (x86)\language\python39\lib\site-packages\holidays\calendars\thai.py", line 233, in _get_start_date
return _ThaiLunisolar.START_DATE + td(days=delta_days)
TypeError: unsupported type for timedelta days component: numpy.int32

Could be related to https://github.com/facebook/prophet/issues/2563, but I'm not sure.

@coderX-thinkerL thanks for providing more details. I'll look into our options here this week.

authors: PPsyrius arkid15r coderX-thinkerL


text:
Disable Checkbox not working

When I do disable_checkbox on a node, it doesn't work. Doing disable_node with same node disables the node but then it becomes grayed out which I do not want.
Here is how I initialized jstree:
                treeCheckbox.jstree({
                    'checkbox': {
                        'three_state':false,
                        'tie_selection': false
                    },
                    "plugins": ["checkbox", "themes"],
                });

jstree version: 3.3.8

Please provide an example so that I can see which  part is not working. If the only problem is the graying out - you can override it in your own CSS.

source: gharchive/issue

repo: vakata/jstree

license: mit

license_type: permissive

license_source: bigquery


text:
Synthesize default access modifiers

Add a default access modifier (likely private) and synthesize it on all declaration when public is not explicitly supplied.

I'm taking a look at this - can you clarify which declarations should have a synthesized private? I'm assuming things like import and namespace declarations don't make sense to label as private.

The idea is that all declarations that currently have an optional access modifier property, like FunctionDecl, SubscriptDecl, etc., should have a non-optional property instead, replacing the nil cases by a synthesized private modifier.

authors: kyouko-taiga nickpdemarco

repo: val-lang/val

license_source: github-api


text:
Improve debugging support with context value

Is your feature request related to a problem? Please describe.
Add capability to show context varibles in debugging mode

ref. HistoricVariableUpdate
Ensure
This is only available if history level is configured to FULL

license: MIT


text:
Cannot reach server from another host when config address function is not overwritten

Currently we can not reach the server from another host if you not overwrite the ip address in the config.
I think we should document this behavior and maybe also change the default behavior to accept request from all interfaces (use address 0.0.0.0 instead of localhost).
https://github.com/valence-rs/valence/blob/00668839bdfa026b15e7b5b0dd1cabb3f16d25a3/src/config.rs#L52-L60
To override the address we currently have to implement following function:
impl Config for Game {
    ...
    fn address(&self) -> SocketAddr {
        SocketAddrV4::new(Ipv4Addr::new(0, 0, 0, 0), 25565).into()
    }
}

See also: https://stackoverflow.com/questions/42435723/rust-tcplistener-does-not-response-outside-request
I can create a pr tomorrow, if needed

Yeah this sounds good. I wasn't aware 0.0.0.0 was a thing.

repo: valence-rs/valence


text:
Replace Option with ItemStack

Objective

Fixes #490

Solution

Replace all occurrences of Option<ItemStack> with ItemStack.
Add is_empty method to ItemStack with same semantics as vanilla isEmpty.
Add is_not_empty method to ItemStack.
Make the item count in ItemStack public and an i8.
impl {Encode, Decode} for ItemStack.

Hi, here is the progress so far, but i have a question about ItemStack.count:
Vanilla minecrafts tests if item stack is empty by checking if it is AIR or count <= 0 but ItemStack in valence does a lot to ensure count is in 1..=127 (ItemStack::STACK_MIN, STACK_MAX). As far as i can understand:

Exposing count as pub value violates this guarantee so i think it should be private.
There is no need to check if count <= 0 in ItemStack.is_empty. So only way to tell if item stack is empty is to check if it as AIR which is not exactly vanilla behaviour.
If ItemStack.count is i8 there is no need to use clamp because we can only check lowerbound.
Does ItemStack::STACK_MAX need to be 127? I think sometimes it is better to clamp count  to 1..=64 or 1..=ItemKind.max_stack? Maybe it is a good idea to add additional constructors to ItemStack or use wrapper struct in the future?

Yeah, the item stack count max needs to be 127 because the client can display that. We were enforcing 1..=127 because having a Some<ItemStack> with count <= 0 makes no sense. Enforcing 1..=ItemKind.max_stack is, IMO, vanilla behavior so it's out of scope for valence.
So I think it'll be fine to change the range to 0..=127.

So I think it'll be fine to change the range to 0..=127.

Did you mean to write -128..=127 here since I suggested making the count: i8 field public, or are you suggesting that we should enforce nonnegative counts?

Yeah, negative item counts don't really make sense. It's not really a big deal though, it would probably be better to be able to remove the clamping altogether.

source: gharchive/pull-request


text:
Fix local htmltest

Update arch display link
Upgrade hugo to v0.133.1
Fix a bunch of spellcheck errors
Add a push secret blog post
Clarify the explanation a bit
Clean up some syntax in Key Concepts
Fix multiple docs and testing problems
Align htmltest versions with homepage-container
Fix pattern filtering
docs: add EDB to the rag-llm-gitops validated pattern (#457)
Added Workshop to menu (#463)
Add /livereaload.js to htmltest ignore*

This is an automated message:
You can preview this docs PR at http://466.docs-pr.validatedpatterns.io
Note that they get generated every five minutes, so please wait a bit.

repo: validatedpatterns/docs


text:
segmentation fault

When I run the command：tempo2 -gr plk -f example1.par example1.tim，P0 and P1 equivalents can be calculated well, but nothing can be displayed when drawing is enabled, and an error is reported:

why is this？I am using the conda command to download directly.

Sorry, is this an issue with libstempo or tempo2?

Yes, I don't know if it's the Mac system or tempo2. Because my colleagues ran into the same problem when they ran tempo2 on Mac, it can work if they switched to Linux

You'll need to try asking on the tempo2 repo page - maybe it's the same issue as https://bitbucket.org/psrsoft/tempo2/issues/70/segmentation-fault-with-the-plk-graphics.

repo: vallis/libstempo


text:
Trying to understand the effects of ViewEncapsulation on the component

Hi,
Thanks for the great component - I needed to style a dropdown list and the Rich demo works well.
I am trying to understand the effect of putting
"encapsulation: ViewEncapsulation.None  // Enable dynamic HTML styles"
in my component that houses the ng-select component.
Will this have any other effect on the rest of the component? It doesn't as far as I can tell visually but it clearly changes the ng-select control so I am wondering if I need to watch out for other effects?

When you set the ViewEncapsulation to 'None' on a component, Angular adds that component's styles to the global CSS. If there's no need to do this, then you can remove the line entirely to localize the CSS to that component's view.

authors: arswaw rodneyjoyce


text:
Add support for 'branchingLogic' on 'sub_settings'

The 'branchingLogic' setting option currently only works on top level settings.  It has no affect on 'sub_settings'.

Created a PR to fix it - #98.

@mmcev106 here is a PR to update docs - https://github.com/vanderbilt/redcap-external-modules/pull/101.

repo: vanderbilt/redcap-external-modules


text:
Transition development + testing to ES and provide ES + CJS for export

Currently, this lib is written as ES+ with the dist files and tests being provided as CJS.
Now that Node.JS has experimental support for ESM (EcmaScript Modules), see if it's viable to run/develop/test the code natively in ES6.
Milestones

[x] convert tests to ES
[x] remove chokodir watcher
[x] verify the import entry-point works

In GitLab by @evanplaice on Jan 19, 2019, 00:06
changed the description

In GitLab by @evanplaice on Jan 19, 2019, 00:06
changed the description

In GitLab by @evanplaice on Jan 19, 2019, 00:07
changed the description

Completed in 0.8.0


text:
Add release badges

In GitLab by @evanplaice on Jan 18, 2019, 23:07

[x] npm version
[ ] github version

In GitLab by @evanplaice on Jan 18, 2019, 23:26
changed title from {-11-} to {+Add release badges+}

In GitLab by @evanplaice on Jan 18, 2019, 23:26
changed the description

In GitLab by @evanplaice on Jan 18, 2019, 23:26
assigned to @evanplaice

In GitLab by @evanplaice on Jan 18, 2019, 23:26
Added in 0.4.2

In GitLab by @evanplaice on Jan 18, 2019, 23:26
closed


text:
procuct & category classes ready

prog1 1st pull request

prog1 pull request merged


text:
Support MessagePack data representation

This PR adds a C++ abstraction to build and read MessagePack data.

Jeez, Friday evening fail. Yet another wrong branch name...

repo: vast-io/vast


text:
Database lock when running two SoS on the same system

This is perhaps hard to reproduce, but I'm again on the cluster but 2 different compute nodes. One node runs one interactive SoS command and the other runs a task based command. The SoS project folders are different. However I got an error on database lock in one of my command.
WARNING: Failed to set step signature for step 68ec857ec4de65a4: database is locked

Not sure how to reproduce it reliably, but perhaps there are some first principle based diagnostics (eyeballing the code ...) that can give a hint of what is going on?

There is still a unprotected global signature database, used to track steps with output outside of the current project directory... perhaps this can be removed.

Is this ~/.sos/step_signatures.db the file in question? I still see it generated after I removed it and ran my workflow on current master. Looks like it is still being used? I tried to run two workflows from two folders, and still got for one of them:
[WARNING: Failed to clear workflow database: database is locked
WARNING: Failed to write workflow signature of type workflow and id 75df8719e260ce54: database is locked

In fact it now looks worse:
INFO: Step lm_less03 (index=108) is ignored with signature constructed
WARNING: Failed to set step signature for step a6b2e54eb4987efd: database is locked
WARNING: Failed to write workflow signature of type tracked_files and id a6b2e54eb4987efd: database is locked
INFO: Step lm_less03 (index=109) is ignored with signature constructed
WARNING: Failed to set step signature for step de08897f9353e0c8: database is locked
WARNING: Failed to write workflow signature of type tracked_files and id de08897f9353e0c8: database is locked
INFO: Step lm_less03 (index=110) is ignored with signature constructed
WARNING: Failed to set step signature for step e3ab9d75217c2d15: database is locked
WARNING: Failed to write workflow signature of type tracked_files and id e3ab9d75217c2d15: database is locked
INFO: Step lm_less03 (index=111) is ignored with signature constructed
WARNING: Failed to set step signature for step b44ddb5bfe4d2711: database is locked
WARNING: Failed to write workflow signature of type tracked_files and id b44ddb5bfe4d2711: database is locked
INFO: Step lm_less03 (index=112) is ignored with signature constructed
WARNING: Failed to set step signature for step 150328a38c102e83: database is locked
WARNING: Failed to write workflow signature of type tracked_files and id 150328a38c102e83: database is locked
INFO: Step lm_less03 (index=113) is ignored with signature constructed
WARNING: Failed to set step signature for step 61849aee778e6686: database is locked
WARNING: Failed to write workflow signature of type tracked_files and id 61849aee778e6686: database is locked
...

This file should be gone now

authors: BoPeng gaow

repo: vatlab/SoS


text:
Is wand dead?

wand has not been updated for a while. It links to version 6 of imagemagick and cannot work with the newer 7, which has been around for a while. The URL for wand wand-py.org is also down,
SoS uses wand in two places, mostly generating png preview of other images or PDF. If wand is indeed dead, we should seek for other methods, perhaps using the imagemagick command line directly.

Just checked, https://github.com/emcconville/wand is active, the cited problem is discussed at  https://github.com/emcconville/wand/pull/347 and can hopefully be fixed soon.


text:
Fix CI pylint

pylint fails due to some weird error, and we should fix it.

I guess I found a similar issue mentioned in Here, the command "s -R|grep .py$|xargs" will only list all files not the path, so that's why it will give a bunch of error about missing module name.
Can I make a PR with the new command?

I have alredy started working on this on the test branch, which changed the command to pylint src/sos. There are still a bunch of pylint error though.
I think you can create a PR against the test branch.

Sure, sounds good.

Because pylint gives many many warnings, I added a file .github/linters/.python-lint to disable many of the warnings that I deemed non-essential. This pylint configuration file is used by super-linter, a linter that I use for other projects, but I am not sure if pylint.yml uses this file.
I suspect that .pylint.yml uses something like .pylintrc on the project home directory.

Ok, I can look it up and add the configuration file to the command.

I think you are right that the pylint use .pylintrc file as configuration file

This is completed.

repo: vatlab/sos


text:
Break when devices are found, instead of continuing to search

Small change, just stops it searching longer than it has to. Maybe this will save a few milliseconds on systems with many devices :)

Thank you!

authors: stuarthayhurst vchlum

repo: vchlum/wireless-hid


text:
⚠ Spryr has degraded performance

In 34513a5, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3101 ms

Resolved: Spryr performance has improved in 0a21a24 after 17 minutes.

repo: vcsphere/upptime


text:
⚠ Spryr has degraded performance

In da1fc8f, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 6557 ms

Resolved: Spryr performance has improved in c77ba35 after 15 minutes.


text:
⚠ Spryr has degraded performance

In c1fe391, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3602 ms

Resolved: Spryr performance has improved in cb60600 after 7 minutes.


text:
Support for InfluxDB 2.0 API

Please add support for relaying InfluxDB 2.0 API endpoints.
Also filed upstream.

+1

authors: anderfany mjiderhamn

repo: veepee-oss/influxdb-relay


text:
Refine default approval amount for deposits

User Story
As a Console user
I want an approval amount (comparable to other exchanges I'm familiar with) pre-populated when making deposits, that I can then edit to adjust if I need to
So that I can minimise the amount of decisions I have to make, fields I have to complete if I'm happy with what is set by default
Acceptance Criteria

The default approval amount is updated accordingly

Tasks

[ ] Review the amounts our competitors use and propose a new default for Vega based on this (see background / additional details below)
[ ] Share and agree with team and key stakeholders
[ ] Implement
[ ] QA Test (verify a/c are met and no bugs/defects/regressions have been introduced functionally or visually)
[ ] Release

Background / additional details
This came up in discussion with Barney during sprint planning on Wednesday 8th March where he directed that we should review what our competitors use as default approval amounts i.e. DYDX and uniswap and do the same as them - what is the common / avg amount they use.
There was also a slack thread related to this a good while back https://vegaprotocol.slack.com/archives/CFXA4EGN7/p1657733387359709

Looks like at least some platforms use MaxUint256 from @ethersproject

repo: vegaprotocol/frontend-monorepo


text:
docs: Adding/updating ACs for rewards spec

Adding/updating ACs for the newly changed market creations rewards
Closes #1210

@ze97286 Addressed comments. Added a new test but not sure whether the interpretation there is correct so grateful if you could check that one 👍

repo: vegaprotocol/specs


text:
feat: separate local cache

Description

Separating data stream listening & caching out into a separate module. Also, segregating slower/heavier feeds from lighter weight ones such that the heavier ones only run when requested.
Testing

Added new unit tests and tested locally. Integration tests are main test bed
Breaking Changes

Should be broadly contained behind-the-scenes
Closes

Hmm, I thought the socket closed errors were all wrapped, I guess not! Thanks

repo: vegaprotocol/vega-market-sim


text:
Review of all website pages for consistency

We noticed when doing final review for the LP Dashboard page and also for the Programmatic Trading page that the LP dashboard centralised heading didnt line up with the nav bar at the top.

That got us thinking "isnt anything else centralised like this?" and it turned out its a bit inconsistent.
User Vega is

But Community isnt

We also noticed fonts sizes arent always consistent, and it got us thinking ... "now that the website is pretty stable and well established, we should probably ask David to do an overall review to make sure we're consistently styled / spaced etc across all pages."
Thats what this ticket is for! Priority TBC but I said I'd make one and I have!
I should stress this is not intended to spark some massive redesign of loads of pages.  We have neither the time, nor resource, nor inclination to undertake such a task!  More just to get some tweaks here and there to make sure its a consistent feel to website throughout.

Once the full nav redesign is done we should ask David to look at this.


text:
Eth key rotation - Cannot remove old ethereum key from Multisig (remove_signer fails to return successful status)

Test test_ethereum_key_rotation - failure can be see by running this test
After ethereum key rotation occurs and confirms via an event the test adds the new eth key to the MS contract and then removes the old key from the MS contract.
In both add and remove signer trx, the submitter/account is the ganache main eth address and private key.
Adding the key to the contract works ok and status is 1 and is_valid_signer function returns True. Event confirms.
Remove signer step fails to confirm ok on the contract.
-- GetERC20MultiSigSignerRemovedBundlesRequest used to return signature bundle and nonce
-- trx submitted to add enough eth to perform removal trx with gas
        transaction = self._multisig.functions.remove_signer(
            old_signer,
            int(nonce),
            bytes.fromhex(signatures)).buildTransaction({
            'gas': 1000000,
            'gasPrice': 0,
            'from': account.address,
            'nonce': w3.eth.getTransactionCount(account.address)
        })
        self._send_raw_transaction(account, transaction)

Trx fails
old_signer is original validator ethereum address
nonce and signatures is taken from API GetERC20MultiSigSignerRemovedBundlesRequest
Tried removing fist before adding signer but witnessed same failed status.

Hey @vega-paul thanks for the ticket. I think we need somebody from smart contracts who can help with this. (Since Capsule has nothing to really do with smart contracts). @emilbayes could probably help

authors: karlem vega-paul

repo: vegaprotocol/vegacapsule


text:
Add class-validator support

for issue #114
Adds class-validator support
Usage example
/// @Max(5)
count Int

@Max(5) will be parsed and added to CreateDto, UpdateDto and Entity
/// @Max(5)[create, update]
count Int

@Max(5) will be parsed and added to CreateDto and UpdateDto only
/// @Max(5)[create]
/// @Max(10)[update]
count Int

@Max(5) will be parsed and added to CreateDto while @Max(10) will be parsed and added to UpdateDto
Even supports multiline decorators
/// @IsUrl({
///   disallow_auth: false
/// })
url: string

Please review and let me know what can be improved! Thank you!

Dear Liwei, thanks a lot for your interest in this project and your PR. We however stopped using this package ourselves and thus decided to suspend development until a new maintainer is found.

@sebthom what are you guys using instead?

@sebthom what are you guys using instead?

@system32uwu we use a completely different approach now. we changed our API from REST to GraphQL

@sebthom what are you guys using instead?

@system32uwu we use a completely different approach now. we changed our API from REST to GraphQL

Thought so, thank you.

repo: vegardit/prisma-generator-nestjs-dto


text:
2024 Roadmap

Hello guys, not sure how many are still following the updates of this project.
We are making lots of improvements now, mostly a redesigned quant trading platfrom which only focuses on the crypto market, i.e. remove those unrelated parts of the original VeighNa project.
Here is our roadmap for 2024, please let us know if you have any suggestions!

[ ] 0.1.0

[ ] provide same API as the original vnpy project (for modules/classes/functions)
[ ] implement a new Fluent-Design UI
[ ] update BINANCE trading gateway module (vnpy_binance)

[ ] 0.2.0

[ ] implement new quant strategy modules for crypto markets (both backtesting and trading)
[ ] update OKX trading gateway module (vnpy_okx)

[ ] 0.3.0

[ ] release the first version of documents, maybe also a new official website
[ ] update Bybit trading gateway module (vnpy_bybit)

Hello Veighna, I am using your OKX and MT5 API for a long period of time. Glad to see you have continuation plan for this. May I ask if you have any plan for MT5 gateway?

Hello Veighna, I am using your OKX and MT5 API for a long period of time. Glad to see you have continuation plan for this. May I ask if you have any plan for MT5 gateway?

Sure, I will add MT5 on to the roadmap. Please let more people know we are starting to update now.

New milestone! First version (0.1.0) of VeighNa Evo has been released.

Hello Veighna, I am using your OKX and MT5 API for a long period of time. Glad to see you have continuation plan for this. May I ask if you have any plan for MT5 gateway?

vnpy_mt5 has been updated to VeighNa Evo version, please hava a look:
https://github.com/veighna-global/vnpy_mt5

Hello Veighna, I am using your OKX and MT5 API for a long period of time. Glad to see you have continuation plan for this. May I ask if you have any plan for MT5 gateway?

vnpy_mt5 has been updated to VeighNa Evo version, please hava a look:
https://github.com/veighna-global/vnpy_mt5

Actually, MT5 gateway should have a potential problem. Different forex brokers have different timezones, which I cannot set in the current version of the MT5 gateway file. For me, I have three different forex brokers, which means three MT5 terminals connected to three vnpy terminals while the same gateway is used. I have to modify the gateway as well as the MT5 EA, querying the broker name and setting different timezones for time conversion.
The trading time is another significant issue. The bar generator must be changed for each broker.
Overall, I have to modify the code to adapt it. I was wondering if your official side could provide a comprehensive solution to resolve these issues.
Thanks.

Hello Veighna, I am using your OKX and MT5 API for a long period of time. Glad to see you have continuation plan for this. May I ask if you have any plan for MT5 gateway?

vnpy_mt5 has been updated to VeighNa Evo version, please hava a look:
https://github.com/veighna-global/vnpy_mt5

Actually, MT5 gateway should have a potential problem. Different forex brokers have different timezones, which I cannot set in the current version of the MT5 gateway file. For me, I have three different forex brokers, which means three MT5 terminals connected to three vnpy terminals while the same gateway is used. I have to modify the gateway as well as the MT5 EA, querying the broker name and setting different timezones for time conversion.
The trading time is another significant issue. The bar generator must be changed for each broker.
Overall, I have to modify the code to adapt it. I was wondering if your official side could provide a comprehensive solution to resolve these issues.
Thanks.

or this should be posted in MT5 repository?

In v0.3.0 implement new quant strategy modules for crypto markets (both backtesting and trading), will this version support portfolio strategy?

In v0.3.0 implement new quant strategy modules for crypto markets (both backtesting and trading), will this version supports portfolio strategy?

Yes, we would prefer one strategy module that can support different types of strategies as much as possible.
Compared with the original VeighNa team, they prefer to provide different modules for each type of strategy.

authors: LotuSrc laye0619 veighna-global


text:
Add code snippets or file sharing tools

What's the Problem?
Sometimes we need to share some brief code snippets or transfer files with others, it will be very useful if there's a transfer tools.
Solution/Idea
I used to use a website to transfer files, but i have no idear how to embed it to DevToys.
Alternatives
I have no idear.
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

DevToys Version
No response
Comments
No response

This feature would require the internet capability for the app, and is therefore probably out of scope for DevToys features.

repo: veler/DevToys


text:
Local system stand up via docker compose

The goal of this work is to streamline the Unify CLI user experience.
A user should be able to stand up a working Unify Datomic system with docker-compose up or the equivalent. They should be able to backup to restore datasets created this way in this local system, and/or move a local dataset to a prod environment, or a prod dataset down to local dev.
They should also be able to query via json from languages other than Clojure, as well as query from Clojure via edn, json, or transit.
The scope of work for this feature is:

create a simple docker compose system for either a dev or Postgres backed Datomic transactor instance
create a container for executing unify
create a container for the datomic-query-service
backup and restore CLI wrappers
simple yml config for standing things up and specifying eg local directories where Datomic database file data goes

Resolved by #15 - except for backup/restore wrappers, which will be added in a follow on PR.

repo: vendekagon-labs/unify


text:
Add Wallet BitPay test button

Button trigger intercom popup

https://www.figma.com/file/iXF0PWGB77ibA9mygIrLOC/Chainsfr_lucas_2?node-id=42%3A0

repo: ventureum/Chainsfr


text:
BUG: Missing 'name' field in CoMID measurement-values-map

Mval struct does not contain the ‘name’ field in it.
TCG document ([https://trustedcomputinggroup.org/wp-content/uploads/TCG-Endorsement-Architecture-for-Devices-r38_5May22.pdf] "section 5.5.3.1.12 measurement-values-map" lists the fields to be kept in measurement-values-map. It contains "name" field. Same is not reflected in [https://github.com/veraison/corim/blob/9a7830b4a3c319a5e0d5f14c986c828f8417a158/comid/measurement.go#L166]
Due to this, cocli does not support/add the name field while generating comid.cbor even if we manually add a name field in comid.json.

Wrong repository: Correct one created https://github.com/veraison/corim/issues/56

repo: veraison/swid


text:
next-css breaks on data:image/svg+xml URLs

3rd party CSS files from libraries such as mapbox-gl contain data:image/svg+xml URLs like this:
.foo {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill='%23333333' fill-rule='evenodd' d='M4,10a6,6 0 1,0 12,0a6,6 0 1,0 -12,0 M9,7a1,1 0 1,0 2,0a1,1 0 1,0 -2,0 M9,10a1,1 0 1,1 2,0l0,3a1,1 0 1,1 -2,0'/%3E %3C/svg%3E");
}

With the most basic installation of next-css, and pages with this import at the top:
import 'mapbox-gl/dist/mapbox-gl.css'

You can visit the page ok by directly visiting the URL in the browser (SSR), but client side route navigations to the page get stuck forever in loading state, and the page never transitions. No error appears in console.
This is particularly problematic because trying to load the 3rd party CSS the styled-jsx way is also broken, due to a stylis bug. Using next/head to import the CSS via a stylesheet link from CDN loads too slow, causing the library to emit a warning. I'm running out of options!
Versions:

@zeit/next-css@1.0.1
next@8.0.0-canary.10

Hi, thanks for creating an issue. We currently recommend using https://nextjs.org/docs/basic-features/built-in-css-support as the plugins have been deprecated in favor of the built-in support.

authors: jaydenseric timneutkens

repo: vercel/next-plugins


text:
suspense documentation may need updating

Bug report
This isnt a software bug, more of a document error/query, but you dont have  a issue classification for that.
Description / Observed Behavior
https://swr.vercel.app/docs/suspense says:
Suspense is currently an experimental feature of React. These APIs may change significantly and without a warning before they become a part of React.... Note that React Suspense is not yet supported in SSR mode.

I think Suspense SSR is now a feature....
https://github.com/reactwg/react-18/discussions/37
Is this documentation still relevant/up-to-date?
Thanks
What kind of issues did you encounter with SWR?
Expected Behavior
How did you expect SWR to behave here?
Repro Steps / Code Example
Or share your code snippet or a CodeSandbox link is also appreciated!
Additional Context
SWR version.
Add any other context about the problem here.

You could open the issue or even a PR correcting the observed notes on the official docs repo vercel/swr-site.

Suspense is still not recommended for data-fetching libraries, please see #1906 for more details.

authors: guilherssousa laurencefass shuding

repo: vercel/swr


text:
Maximum cache size

Is there some way to limit the cache? I would like to set a limit in GB and when that is reached the packages that have not been requested for the longest time are evicted from the cache.

There is no such thing in the config file. https://github.com/verdaccio/verdaccio/blob/master/conf/full.yaml
I think would be hard to implement, verdaccio does not support background jobs or at least wasn't in the original sinopia. If it make sense or not to implement, let's wait more thoughts.

Maybe it is something that makes more sense to add to the docker file.

that's a good point

How about making this a cronjob of some sort which simply does a find on the local store on the tarballs and automatically deletes all tarballs which have not been accessed for a specific amount of time. This way, the meta data is kept intact and verdaccio can once again fetch the tarballs if necessary.

I think this feature should be in a (future) local storage plugin, due in next major releases will be multiple ways to storage tarballs via plugins and won't make sense whether users decides, for instance, to store in a database. I think  #131 provides a cleaner solution to this issue.

authors: jonaskello juanpicado silkentrance

repo: verdaccio/verdaccio


text:
用上传配置成功开启openclash后,如何添加单节点并保存到上传的配置文件里?

用上传配置成功开启openclash后,如何添加单节点并保存到上传的配置文件里?

自己写yaml，或者去节点与策略组页面，先读取配置文件，然后添加节点信息，最后应用

感觉有bug，照你的办法弄了之后，订阅如果有过滤节点的话，某些规则集会错乱。
vernesong notifications@github.com 于 2020年12月31日周四 14:39写道：

自己写yaml，或者去节点与策略组页面，先读取配置文件，然后添加节点信息，最后应用
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vernesong/OpenClash/issues/1131#issuecomment-752864042,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APBBAN477DB5J4UEJ7YWCK3SXQMCRANCNFSM4VO7LZMQ
.

一直都是上传配置，要改节点增减广告规则或者变换加密格式也是改好再上传呗，从来没事，倒是内置的自动生成经常出差，有心理阴影了

如果要订阅后保持策略组，请勾选保留配置

如果要订阅后保持策略组，请勾选保留配置

如果要订阅后保持策略组，请勾选保留配置

保留策略组的配置，配置文件我修改过分流，上传修改后的配置文件是可以成功启动openclash的，然后我想更新下节点，就在订阅链接里输入机场链接，更新过程中节点，策略组全部替换成功，配置文件也提示写入成功，我就想用更新后的节点运用保存的策略组配置，然后点击启动openclash，但是启动openclash失败，提示DNS无法获取监听端口。要如何解决呢？

repo: vernesong/OpenClash


text:
FlinkCDC 在 insert 部分 支持 where 条件过滤

CDCmysql 表：A（startup_mode:initial)
目标表：B
insert into B
select *
from A
where id >10000
运行之后，我看日志，FLINK依然会把 表A 全表进行 切分操作，而不是 按照 id>10000 做快照进行同步，请问有什么方法可以不要A表全量快照切分吗？很慢的。

I think we need a filtering logic for the chunk key column in the snapshot phase.

CDC 中 WHERE 条件不能下推，什么时候能解决呢，感觉很二！

Closing this issue because it was created before version 2.3.0 (2022-11-10). Please try the latest version of Flink CDC to see if the issue has been resolved. If the issue is still valid, kindly report it on Apache Jira under project Flink with component tag Flink CDC. Thank you!

authors: Oloong PatrickRen ruanhang1993 sakinsun

repo: ververica/flink-cdc-connectors


text:
Documentation not searchable when using https

https://docs.vespa.ai/search.html?q=foo
Logs an error in the browser console:
jquery.min.js:4 Mixed Content: The page at 'https://docs.vespa.ai/search.html?q=foo' was loaded over HTTPS, but requested an insecure script 'http://doc-search.vespa.ai/vespa_documentation_search_proxy/search/?jsoncallback=jQuery2240877675790577271_1523268842851&query=foo&hits=400&ranking=documentation&_=1523268842852'. This request has been blocked; the content must be served over HTTPS.

Officially, "HTTPS is not supported for GitHub Pages using custom domains" so I must admit I was surprised to learn that https://docs.vespa.ai/ even worked. 😃
Seems GitHub is the process or rolling out Let's Encrypt certificates for custom domains, but if you look at https://vespa.ai/ it is still (as of writing) giving the generic *.github.com certificate and thus insecure.
Short answer; we haven't done the work needed to support HTTPS for our docs pages yet, but I'll keep this issue open so we can address that. Shouldn't be too much work.

In the meantime, I'm afraid you'll have to use insecure version, i.e.:
http://docs.vespa.ai/search.html?q=foo

@lesters : Resetting milestone in light of both https://docs.vespa.ai and https://vespa.ai now properly working and our plan to move a bit around on the doc search shortly anyway.

This has now been fixed: https://docs.vespa.ai/search.html?q=foo should now work as intended.

authors: frodelu lesters zhaakhi

repo: vespa-engine/vespa


text:
Remove one of the tests for generic services.

Keeping GenericServicesTest for now.
FYI: @bjorncs

Thanks, I didn't notice that the point here was the deployment spec. The services.xml was probably just copied from the generic services test.


text:
Revoke package c.y.vespa.curator from PublicApi

Probably just used internally.

Of course, sorry for that.


text:
Support for axios 1.6.0 with impors from "./unsafe/*"

Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch @vespaiach/axios-fetch-adapter@0.3.1 for the project I'm working on.
I needed to support axios version 1.6.0
Here is the diff that solved my problem:
diff --git a/node_modules/@vespaiach/axios-fetch-adapter/index.js b/node_modules/@vespaiach/axios-fetch-adapter/index.js
index 527e282..649926f 100644
--- a/node_modules/@vespaiach/axios-fetch-adapter/index.js
+++ b/node_modules/@vespaiach/axios-fetch-adapter/index.js
@@ -1,8 +1,9 @@
 import axios from 'axios';
-import settle from 'axios/lib/core/settle';
-import buildURL from 'axios/lib/helpers/buildURL';
-import buildFullPath from 'axios/lib/core/buildFullPath';
-import { isUndefined, isStandardBrowserEnv, isFormData } from 'axios/lib/utils';
+import settle from 'axios/unsafe/core/settle';
+import buildURL from 'axios/unsafe/helpers/buildURL';
+import buildFullPath from 'axios/unsafe/core/buildFullPath';
+import * as browserUtils from 'axios/unsafe/platform/browser';
+import * as utils from 'axios/unsafe/utils';

 /**
  * - Create a request object
@@ -106,7 +107,7 @@ function createRequest(config) {

         // In these cases the browser will automatically set the correct Content-Type,
         // but only if that header hasn't been set yet. So that's why we're deleting it.
-        if (isFormData(options.body) && isStandardBrowserEnv()) {
+        if (utils.default.isFormData(options.body) && browserUtils.default.isStandardBrowserEnv()) {
             headers.delete('Content-Type');
         }
     }
@@ -127,7 +128,7 @@ function createRequest(config) {
     }
     // This config is similar to XHR’s withCredentials flag, but with three available values instead of two.
     // So if withCredentials is not set, default value 'same-origin' will be used
-    if (!isUndefined(config.withCredentials)) {
+    if (!utils.default.isUndefined(config.withCredentials)) {
         options.credentials = config.withCredentials ? 'include' : 'omit';
     }

This issue body was partially generated by patch-package.

Would be great to have this merged in to support axios v1 🥹

Hello, do we have any updates on this? I'm trying to update the axios version to 1.6.5 but I'm getting this error when trying to build my extension

I have the same issue @pablovinc
I think @vespaiach might no longer update this repo

By the way as a workaround you can just // @ts-ignore these imports

By the way as a workaround you can just // @ts-ignore these imports

If the implementation needs to be changed, wouldn't that just remove the error message but still breaking the code?

Actually, you can copy this code, and then import it directly. It worked for me.
axios: 1.6.7
// adapter.js

import axios from 'axios';
import settle from 'axios/unsafe/core/settle.js';
import buildURL from 'axios/unsafe/helpers/buildURL.js';
import buildFullPath from 'axios/unsafe/core/buildFullPath.js';
import * as utils from 'axios/unsafe/utils.js';

/**
 *
 * Note:
 *
 *   This function is for backward compatible.
 *
 *
 * Update an Error with the specified config, error code, and response.
 *
 * @param {Error} error The error to update.
 * @param {Object} config The config.
 * @param {string} [code] The error code (for example, 'ECONNABORTED').
 * @param {Object} [request] The request.
 * @param {Object} [response] The response.
 * @returns {Error} The error.
 */
function enhanceError(error, config, code, request, response) {
  error.config = config;
  if (code) {
    error.code = code;
  }

  error.request = request;
  error.response = response;
  error.isAxiosError = true;

  error.toJSON = function toJSON() {
    return {
      // Standard
      message: this.message,
      name: this.name,
      // Microsoft
      description: this.description,
      number: this.number,
      // Mozilla
      fileName: this.fileName,
      lineNumber: this.lineNumber,
      columnNumber: this.columnNumber,
      stack: this.stack,
      // Axios
      config: this.config,
      code: this.code,
      status: this.response && this.response.status ? this.response.status : null
    };
  };
  return error;
}

/**
 * Note:
 *
 *   From version >= 0.27.0, createError function is replaced by AxiosError class.
 *   So I copy the old createError function here for backward compatible.
 *
 *
 *
 * Create an Error with the specified message, config, error code, request and response.
 *
 * @param {string} message The error message.
 * @param {Object} config The config.
 * @param {string} [code] The error code (for example, 'ECONNABORTED').
 * @param {Object} [request] The request.
 * @param {Object} [response] The response.
 * @returns {Error} The created error.
 */
function createError(message, config, code, request, response) {
  if (axios.AxiosError && typeof axios.AxiosError === 'function') {
    return new axios.AxiosError(message, axios.AxiosError[code], config, request, response);
  }

  const error = new Error(message);
  return enhanceError(error, config, code, request, response);
}

function isStandardBrowserEnv() {
  if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative'
                                           || navigator.product === 'NativeScript'
                                           || navigator.product === 'NS')) {
    return false;
  }
  return (
    typeof window !== 'undefined'
    && typeof document !== 'undefined'
  );
}

/**
 * Fetch API stage two is to get response body. This funtion tries to retrieve
 * response body based on response's type
 */
async function getResponse(request, config) {
  let stageOne;
  try {
    stageOne = await fetch(request);
  } catch (e) {
    return createError('Network Error', config, 'ERR_NETWORK', request);
  }

  const response = {
    ok: stageOne.ok,
    status: stageOne.status,
    statusText: stageOne.statusText,
    headers: new Headers(stageOne.headers), // Make a copy of headers
    config,
    request,
  };

  if (stageOne.status >= 200 && stageOne.status !== 204) {
    switch (config.responseType) {
      case 'arraybuffer':
        response.data = await stageOne.arrayBuffer();
        break;
      case 'blob':
        response.data = await stageOne.blob();
        break;
      case 'json':
        response.data = await stageOne.json();
        break;
      case 'formData':
        response.data = await stageOne.formData();
        break;
      default:
        response.data = await stageOne.text();
        break;
    }
  }

  return response;
}

/**
 * This function will create a Request object based on configuration's axios
 */
function createRequest(config) {
  const headers = new Headers(config.headers);

  // HTTP basic authentication
  if (config.auth) {
    const username = config.auth.username || '';
    const password = config.auth.password ? decodeURI(encodeURIComponent(config.auth.password)) : '';
    headers.set('Authorization', `Basic ${btoa(`${username}:${password}`)}`);
  }

  const method = config.method.toUpperCase();
  const options = {
    headers,
    method,
  };
  if (method !== 'GET' && method !== 'HEAD') {
    options.body = config.data;

    // In these cases the browser will automatically set the correct Content-Type,
    // but only if that header hasn't been set yet. So that's why we're deleting it.
    if (utils.default.isFormData(options.body) && isStandardBrowserEnv()) {
      headers.delete('Content-Type');
    }
  }
  if (config.mode) {
    options.mode = config.mode;
  }
  if (config.cache) {
    options.cache = config.cache;
  }
  if (config.integrity) {
    options.integrity = config.integrity;
  }
  if (config.redirect) {
    options.redirect = config.redirect;
  }
  if (config.referrer) {
    options.referrer = config.referrer;
  }
  // This config is similar to XHR’s withCredentials flag, but with three available values instead of two.
  // So if withCredentials is not set, default value 'same-origin' will be used
  if (!utils.default.isUndefined(config.withCredentials)) {
    options.credentials = config.withCredentials ? 'include' : 'omit';
  }

  const fullPath = buildFullPath(config.baseURL, config.url);
  const url = buildURL(fullPath, config.params, config.paramsSerializer);

  // Expected browser to throw error if there is any wrong configuration value
  return new Request(url, options);
}

/**
 * - Create a request object
 * - Get response body
 * - Check if timeout
 */
export default async function fetchAdapter(config) {
  const request = createRequest(config);
  const promiseChain = [getResponse(request, config)];

  if (config.timeout && config.timeout > 0) {
    promiseChain.push(
      new Promise((res) => {
        setTimeout(() => {
          const message = config.timeoutErrorMessage
            ? config.timeoutErrorMessage
            : `timeout of ${config.timeout}ms exceeded`;
          res(createError(message, config, 'ECONNABORTED', request));
        }, config.timeout);
      })
    );
  }

  const data = await Promise.race(promiseChain);
  return new Promise((resolve, reject) => {
    if (data instanceof Error) {
      reject(data);
    } else {
      Object.prototype.toString.call(config.settle) === '[object Function]'
        ? config.settle(resolve, reject, data)
        : settle(resolve, reject, data);
    }
  });
}

// your axios.js

import axios, { isAxiosError } from 'axios';
import fetchAdapter from './adapter';

const instance = axios.create({
  baseURL: '',
  timeout: 300000,
  adapter: fetchAdapter,
});

authors: PedroS11 bardisg gbyesiltas iwgyyyy pablovinc

repo: vespaiach/axios-fetch-adapter


text:
order.subscribe and asset.subscribe not worked even if authenticated

When order or asset changed, it received nothing.
@haipome

Can you please share the alertcenter and accessws logs?

Can you please share the alertcenter and accessws logs?

accessws log
[2018-09-12 01:56:10.686153] [189] [trace]aw_server.c:793(on_message): new websocket message from: 1:192.168.0.107, url: /, size: 47
[2018-09-12 01:56:10.686293] [189] [trace]aw_server.c:813(on_message): remote: 1:192.168.0.107 message: {"id":2,"method":"order.subscribe","params":[]}
[2018-09-12 01:56:10.686307] [189] [trace]aw_server.c:50(send_json): send to: 1, size: 57, message: {"error": null, "result": {"status": "success"}, "id": 2}
[2018-09-12 01:56:14.272820] [189] [trace]aw_server.c:793(on_message): new websocket message from: 1:192.168.0.107, url: /, size: 47
[2018-09-12 01:56:14.272952] [189] [trace]aw_server.c:813(on_message): remote: 1:192.168.0.107 message: {"id":3,"method":"asset.subscribe","params":[]}
[2018-09-12 01:56:14.272965] [189] [trace]aw_server.c:50(send_json): send to: 1, size: 57, message: {"error": null, "result": {"status": "success"}, "id": 3}

[2018-09-12 01:57:02.935763] [189] [trace]aw_message.c:37(on_orders_message): order message: {"event": 1, "stock": "BTC", "order": {"source": "", "user": 5, "deal_fee": "0", "left": "1", "taker_fee": "0", "amount": "1", "id": 1, "market": "BTCUSDT", "price": "7000", "type": 1, "deal_stock": "0", "side": 1, "mtime": 1536717422.8469379, "maker_fee": "0", "ctime": 1536717422.8469379, "deal_money": "0"}, "money": "USDT"}

[2018-09-12 01:57:29.300001] [189] [trace]aw_message.c:37(on_orders_message): order message: {"event": 3, "stock": "BTC", "order": {"source": "", "user": 5, "deal_fee": "0e-20", "left": "0e-8", "taker_fee": "0", "amount": "1", "id": 1, "market": "BTCUSDT", "price": "7000", "type": 1, "deal_stock": "1", "side": 1, "mtime": 1536717449.22048, "maker_fee": "0", "ctime": 1536717422.8469379, "deal_money": "7000"}, "money": "USDT"}
[2018-09-12 01:57:29.329548] [189] [trace]aw_message.c:37(on_orders_message): order message: {"event": 3, "stock": "BTC", "order": {"source": "", "user": 31, "deal_fee": "0e-12", "left": "0e-8", "taker_fee": "0", "amount": "1", "id": 2, "market": "BTCUSDT", "price": "7000", "type": 1, "deal_stock": "1", "side": 2, "mtime": 1536717449.22048, "maker_fee": "0", "ctime": 1536717449.2204709, "deal_money": "7000"}, "money": "USDT"}
[2018-09-12 01:57:30.196404] [189] [trace]aw_server.c:793(on_message): new websocket message from: 1:192.168.0.107, url: /, size: 43

alertcenter seems received a error msg
[2018-09-12 01:55:14.535744] [vip]ac_main.c:89(main): server start
[2018-09-12 01:55:14.561388] [error]ac_server.c:60(on_error_msg): peer: 127.0.0.1:45600 error: decode msg error: -1

I do not see any error on the logs you have shared. Please check all service logs and be make sure all services are healthy.

Thanks @okanck . I checked the logs.
I think they are all very healthy, but also no notify recived.

But the subscribe not need  authenticated works well

Because the kafka server problem.
btc_server message delivered error.
Solved.

@tornodo Thanks. How did you solve this problem?

@tornodo if at all possible could you provide a brief example of how you got the websocket auth to work? I have the unauthenticated requests working properly, but am confused how to properly implement the auth and sign methods.

@giancarlopetrini Just return the user_id. You can use JWT or something others (like session...) to auth or sign. It's very simple.
Example response: {"code": 0, "message": null, "data": {"user_id": 1}}

@tornodo awesome, got it. Thanks!!!

@giancarlopetrini Just return the user_id. You can use JWT or something others (like session...) to auth or sign. It's very simple.
Example response: {"code": 0, "message": null, "data": {"user_id": 1}}

Say example if we use JWT token, we will be passing JWT token along with the accesses auth request.How does the accessws application knows the user_id for that token. To vew the user ID from the token the secret key is must, where we need to give the secret key

@tornodo
hai,  what are payloads(data) give to create a token

authors: JebasinghMathan2311 codeman-crypto giancarlopetrini ohld okanck tornodo


text:
[RSDK-3404] Add comment to camera proto regarding intrinsic and distortion parameters for transform cameras

This PR adds a short comment to the camera proto file because users seemed to be confused when transform cameras errored if they were passed intrinsic and distortion of the underlying camera. These underlying parameters are not used for transforms and they should be left empty. The transforms will then use an empty cameraModel for initialization and function properly.

another thing you'll want to do it make all the derived proto files, too

Yeah, I think I get it a little bit better now, I was under the assumption that users were only running into this for transform cameras, but the error can occur any time that the camera's parameters are set to zero, right?

repo: viamrobotics/api


text:
Data-1289: Add alerting on data apis

Adding organization tag and view to grpc metrics in order to be able to add alerting policies for specific orgs.
Ticket: https://viam.atlassian.net/browse/DATA-1289

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

I think you need to do this exact change but in app, not goutils. goutils is for our public, open source code for golang utilities
@edaniels Do you have a recommendation of where in app I should be making this change?

talked offline to just use @AdamMagaluk's statz lib

authors: CLAassistant edaniels gloriacai01

repo: viamrobotics/goutils


text:
RSDK-7244: Emit disconnect events on data channel close

This fixes RSDK-7244, which describes how the TS SDK does not attempt reconnect when a disconnect occurs.
The TS SDK attempts to reconnect to the peer in a backoff loop. This happens whenever a disconnect event occurs.
The TS SDK currently listens to iceconnectionstatechange close events on the RTCPeerConnection to emit the disconnect necessary to start the reconnection. These events are never being emitted, as confirmed with browser WebRTC logging. connectionstatechange events are not emitted either.
Instead, we must listen to the RTCDataChannel close events which is actually what goutils already does to know when to close the RTCPeerConnection.
https://github.com/viamrobotics/goutils/pull/287: exposes the RTCDataChannel
https://github.com/viamrobotics/viam-typescript-sdk/pull/289: this PR listens to close events on the RTCDataChannel
TODO

[ ] Bump to @viamrobotics/rpc@0.2.5 once https://github.com/viamrobotics/goutils/pull/287 is merged and published

Apologies for the thrash here - I'm going to close this PR and reopen it when pushed to upstream so I can stack some PRs.

repo: viamrobotics/viam-typescript-sdk


text:
feat: 有没有办法做到类似于Android模拟器那样添加按键啊？

主要是玩游戏的时候希望可以使用wasd行走之类的。
另外就是Qtcrcpy好像是做到了，不过不知道是怎么做的。
其实如果有思路的话我来做也可以。

为什么不设计为自动跟踪吸附的悬浮菜单
主要是需要做更底层的修改而且可能有性能损失，不过确实有方案，可以参考electron-scrcpy

好的，谢谢回复，我去看看。

为什么不设计为自动跟踪吸附的悬浮菜单
主要是需要做更底层的修改而且可能有性能损失，不过确实有方案，可以参考electron-scrcpy

好吧，我似乎理解错了，你想要的是添加对游戏的增强功能，如游戏键位映射
后续有计划添加支持

安卓上面使用什么软件啊

authors: 596142041 mingshuisheng viarotel

repo: viarotel-org/escrcpy


text:
Fix Create cache dirs

For Create cache dirs use zsh_user_group for the group instead of zsh_user

Thanks!

Hi @popstas do you know why my pull request is not in the project or is there a reason for it?

Hello, @ne1800, something weird happened, commit was merged into nowhere - https://github.com/viasite-ansible/ansible-role-zsh/commit/38da8b5800547fee4505030ac1d8e86c5ecd93f0
I've added your change manually.

repo: viasite-ansible/ansible-role-zsh


text:
🛑 Melody is down

In 37b2f67, Melody (https://melody.line.me) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Melody is back up in 490d29f after 1 minute.

repo: vichaos/upptime


text:
is possible to use this model without labelling the objects in boxes?

Hi! I just have a question related to the labelling of  the images .,.i need to use something similar to your model of segmentation, but i need that the final images there not cover by a box around the objets detected. Is possible to do this in your model ? .. for example, changing the labelling part?
Thanks

Yes it is possible. “visualize_boxes_and_labels_on_image_array” function is used in evaluation script to overlay mask and boxes on final image. You will have to check this function for disabling the overlay of boxes on final image. You could find this function in object_detection/utils/ visualisation_utils.py


text:
examples: fix stale pageContext when hitting back button

In examples/auth, fix stale pageContext when hitting the back button in the browser. Fixes #1275
CC @jgalminas

I wonder if this shouldn't be the default? For example, we can add this to pageContext.httResponse.headers whenever the HTML contains the pageContext JSON script.
Alternatively, one could argue that it's just how browsers work and that it's expected that the user should hit the reload button.

I wonder if this shouldn't be the default? For example, we can add this to pageContext.httResponse.headers whenever the HTML contains the pageContext JSON script.

Good idea :+1: On top I would create a config for the user to be able to change this behavior. For some pages the user knows that the pageContext is always going to be the same and may want to allow caching. What do you think?

Sounds good 👍. Correct first, then performant.

Awesome, let me reject this PR and I'll come up with a better one soon

👍 If you do the PR before the V1 design release, then I think we can push the docs directly to V1 docs branch (same for the data hook docs btw.).

authors: AurelienLourot brillout

repo: vikejs/vike


text:
Don't name security groups manually

Again, another resource that will lead to name crashes if deploying multiple stacks.

Closed in 807bd2e

repo: villasv/turbine


text:
git: add gitattribute

Add a .gitattributes file for syntax highlighting of Dockerfile.

cc: @lambdalisue

See also:

https://github.com/zchee/denops-dockerfile/blob/gitattribute/Dockerfile.vim
https://github.com/zchee/denops-dockerfile/blob/gitattribute/Dockerfile.neovim

repo: vim-denops/denops-dockerfile


text:
Typo(?) in the README.md

In the readme, vim-denops/denops-helloworld.vim is introduced as a test of installation. It instructs to type :HelloDenops command, but this gives an error E492: Not an editor command: HelloDenops.
Seeing the denops-helloworld.vim repository, :DenopsHello command is introduced, and it works well in my environment. Is the :HelloDenops command in the readme of this repository a typo of :DenopsHello?
My Vim environment

Ubuntu 20.04
Vim 8.2.3459
deno 1.14.2 (release, x86_64-unknown-linux-gnu)
v8 9.4.146.16
typescript 4.4.2

Already fixed.
https://github.com/vim-denops/denops.vim/pull/140

authors: Hayashi-Yudai lambdalisue


text:
Textobjects command "it" is confused when php is embedded in the opening tag

I am editing this piece of code
	<dl class="contactinfo<?php echo $moduleclass_sfx; ?>">
	<?php
	for ( $i=0; $i<sizeof($contacts); $i++ ) {
	}

	?>

if I cit the
 tag, I get this
	<dl class="contactinfo<?php echo $moduleclass_sfx; ?>

instead of the expected result which should be
	<dl class="contactinfo<?php echo $moduleclass_sfx; ?>">

I cannot reproduce this issue.
After pressing cit, I get this:
<dl class="contactinfo<?php echo $moduleclass_sfx; ?>

"> has been correctly removed.

The problem is that the "> should not have been removed.
This is probably going to be hard to fix, because php has a very difficult syntax.

authors: amzaf brammool lacygoill

repo: vim/vim

license: Vim


text:
:tab drop does not fire BufEnter or TabEnter

Hello!
I would expect :tab drop file, where file is any file on the file system, to fire both TabEnter and BufEnter.  However it doesn't:
$ vim -N -u NONE -c 'au BufEnter * echom "BufEnter"' -c 'au TabEnter * echom "TabEnter"'

[inside vim]
:tab drop file
:messages

In the messages I would expect to see (assuming file has 42 lines and 153 characters):
TabEnter
"file" 42L, 153C
BufEnter

I actually see:
"file" 42L, 153C

:tabedit file behaves as expected (as above), and :drop file behaves as expected (as above without the TabEnter).
I'm on Vim 8.0.525.  I also found a report of what appears to be the same bug from 2011: BUG with autocmd BufEnter and 'tab drop'.

Andy Stewart wrote:

I would expect :tab drop file, where file is any file on the file system, to fire both TabEnter and BufEnter.  However it doesn't:
$ vim -N -u NONE -c 'au BufEnter * echom "BufEnter"' -c 'au TabEnter * echom "TabEnter"'

[inside vim]
:tab drop file
:messages

In the messages I would expect to see (assuming file has 42 lines and 153 characters):
TabEnter
"file" 42L, 153C
BufEnter

I actually see:
"file" 42L, 153C

:tabedit file behaves as expected (as above), and :drop file behaves as expected (as above without the TabEnter).
I'm on Vim 8.0.525.  I also found a report of what appears to be the same bug from 2011: BUG with autocmd BufEnter and 'tab drop'.

I'll add it to the todo list.
--
TIM: To the north there lies a cave,  the cave of Caerbannog, wherein, carved
in mystic runes, upon the very living rock, the last words of Olfin
Bedwere of Rheged make plain the last resting place of the most Holy
Grail.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Thank you.

Looks like it is intentional [1] and dates back to vim 7.1 at least
[1] https://github.com/vim/vim/blob/master/src/buffer.c#L5010,L5012

If it was intentional, is it a good idea? Without these events plugins can't know about files that are opened via :tab drop. For anyone who needs a :tab drop that produces these events I wrote a plugin.

Thank you!

authors: LemonBoy airblade brammool ohjames


text:
Include several missing files in Filelist for packaging/distribution

Files need to be listed in Filelist (which is included into the Makefile) in order to be included in the tar archive.  Fedora (at least) uses the archive from make unixall so anything not listed there will be excluded from their package.  See PR #13551 for a recent case; this is part of the follow-up.
This is part of a two-patch series: see PR #13601 which adds a CI job to check for such overlooked files.
These files were discovered to be missing from Filelist, and thus distribution tarballs:

editorconfig plugin
extra files for Rust support
readme for Haiku OS builds

It seems like all of them ought to be included, but I don't know whether they might have been excluded deliberately.  Ping @gpanders for editorconfig, @lilyball for Rust/Cargo, and @bitigchi for Haiku.
Incidentally, the SRC_HAIKU variable actually appears to be unused in makefiles... Is it actually used for building on Haiku?

I was not involved in adding the EditorConfig plugin to Vim, so I cannot give you any guidance there.
I did recently update the Rust runtime files, however. None of those files were intentionally omitted, so please include them.

Thanks, makes sense.

authors: chrisbra gpanders psimonyi


text:
Update coding style documentation

Related issue: #15932
This updates the current coding style documentation located under runtime/doc/develop.txt.

There are OK s and Ok s in the provided examples.  The
older examples use OK.  Can you please pick one and use it?

I need the opinion of @chrisbra and @yegappan on removing tabs from the code and if we want to enforce to always add { on operators such as ifs and whiles.

I need the opinion of @chrisbra and @yegappan on removing tabs from the code and if we want to enforce to always add { on operators such as ifs and whiles.

I am not attached to either of those. (Personally I have a strong opinion on the use of tabs and try to avoid as much as possible, but that is just me). If no-one has an issue with changing those, then let's make this change.

authors: chrisbra saccarosium zzzyxwvut


text:
Only spell-check comments and strings in Inno Setup files

Use @Spell to avoid spell-checking Inno Setup directives and file names,
to avoid showing many spelling errors for any .iss file.

Note: I tried contacting Jason Mills whose email is mentioned in the comment in the beginning of this file, as recommended by the contributors guidelines, but this email doesn't work any longer, so I'm submitting it here.

Codecov Report

Merging #2739 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2739      +/-   ##
==========================================
+ Coverage      75%      75%   +<.01%
==========================================
  Files          92       92
  Lines      134149   134149
==========================================
+ Hits       100614   100621       +7
+ Misses      33535    33528       -7

Impacted Files
Coverage Δ

src/version.c
80.8% <0%> (-1.02%)
:arrow_down:

src/gui.c
47.68% <0%> (-0.11%)
:arrow_down:

src/terminal.c
56.72% <0%> (-0.05%)
:arrow_down:

src/misc1.c
84.41% <0%> (+0.06%)
:arrow_up:

src/gui_gtk_x11.c
47.78% <0%> (+0.09%)
:arrow_up:

src/os_unix.c
54.61% <0%> (+0.13%)
:arrow_up:

src/term.c
60.37% <0%> (+0.21%)
:arrow_up:

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 b571c63...9b39005. Read the comment docs.

Use @Spell to avoid spell-checking Inno Setup directives and file names,
to avoid showing many spelling errors for any .iss file.
Note: I tried contacting Jason Mills whose email is mentioned in the
comment in the beginning of this file, as recommended by the
contributors guidelines, but this email doesn't work any longer, so
I'm submitting it here.

Try this address for Jason: mills.jason@gmail.com
--
Latest survey shows that 3 out of 4 people make up 75% of the
world's population.
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \
\\  an exciting new programming language -- http://www.Zimbu.org        ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Thanks, I've sent the patch to Jason at the new address and, at the very least, the email was accepted.

I see no issue with accepting this PR and merging it into the master.

I'll include the patch now.

authors: brammool codecov-io jase413 vadz


text:
Incorrect parsing of floats/doubles

Hello :)
When using the ini-parser to load floats/doubles from a file, it will read X.0 as X0.0.
For example when reading "1.0", the value you get is "10.0" as the dot seems to be ignored.
Example config file with floats/doubles
[example]
boolean = true
double = 1.0
float = 1.0
integer = 1
long = 1
string = modified
enum = ANOTHER_EXAMPLE

Example code for loading the float
public void test() {
        Ini ini = new Ini();
        try {
            ini.load(new File("src/test/resources/example.ini"));
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
        System.out.println(ini.getValue("example", "float", Float.class));
    }

It also doesn't matter whether you cast the value or not.
Is this expected behaviour or a bug?

definitely seems like I bug.  I"ll try to take a look tomorrow.

Thank you :)
It works if you just leave out the dot by the way.

I wrote the following test:
@Test
public void floattest() throws IOException {
    Ini ini = new Ini();
    ini.load(Thread.currentThread().getContextClassLoader().getResourceAsStream("samples/floattest.ini"));
    assertEquals((float)1.0, (float)ini.getValue("example", "float", Float.class), 0);
    assertEquals((double)1.0, (double)ini.getValue("example", "double", Double.class), 0);
}

}
I can't duplicate your results.
What operating system and jdk are you using?

Sorry for the late answer, I'm using Windows 10 with OpenJDK 8.
openjdk version "1.8.0_352"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_352-b08)
OpenJDK 64-Bit Server VM (Temurin)(build 25.352-b08, mixed mode)

I don't have Windows, but I've tried to duplicate your results with multiple JDKs and the test that i wrote passes every time:
    @Test     public void floattest() throws IOException {         Ini ini = new Ini();         ini.load(Thread.currentThread().getContextClassLoader().getResourceAsStream("samples/floattest.ini"));         assertEquals((float)1.0, (float)ini.getValue("example", "float", Float.class), 0);         assertEquals((double)1.0, (double)ini.getValue("example", "double", Double.class), 0);     }

    @Test
    public void floattest() throws IOException {
        Ini ini = new Ini();
        ini.load(Thread.currentThread().getContextClassLoader().getResourceAsStream("samples/floattest.ini"));
        assertEquals((float)1.0, (float)ini.getValue("example", "float", Float.class), 0);
        assertEquals((double)1.0, (double)ini.getValue("example", "double", Double.class), 0);
    }

I just tried cloning the repo and building it for myself (logs).
The build failed due to failing tests, for example 3.14 was parsed as 314 again.

I'm sorry.  I was finally able to test this with windows 10 and the test that I wrote passes.   Only one test failed due to CRLF issues, orderIsMaintained, which I fixed with: 79c170829bbbcef8a97b2381f8d30773e941fd76
I'm going to have to close this ticket.    This is the environment that I used:
$ mvn -version
Apache Maven 3.9.1 (2e178502fcdbffc201671fb2537d0cb4b4cc58f8)
Maven home: C:\Users\vince\Apps\apache-maven-3.9.1
Java version: 1.8.0_362-362, vendor: OpenLogic-OpenJDK, runtime: C:\Users\vince\Apps\openlogic-openjdk-8u362-b09-windows-64\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

authors: UeberallGebannt vincentrussell

repo: vincentrussell/java-ini-parser


text:
Dropdown trigger programmatically

Bonjour,
J'ai découvert avec joie ces composants qui sont bien pratiques.
Est ce qu'il serait possible sur le composant Dropdown d'exporter une fonction open ou quelque chose du genre pour afficher le dropdown via un événement ?
Mon besoin est que j'ai un bouton qui sert à valider un formulaire et si ce formulaire est valide alors je déroule la dropdown.
Merci dans tous les cas pour le travail effectué.

Bonjour,
Cela vient d'être publié en 0.19.3
La variable active: boolean permet de contrôler l'ouverture du Dropdown.
Ci-dessous un exemple:

<button on:click={() => active = !active}>active: {active}</button>

<Dropdown {active}>
    <button>Drop me!</button>

Option 1

Option 2

Option 3

Option 4

</Dropdown>

Parfait merci

authors: vdelacerda vincjo

repo: vincjo/gros


text:
Update Cosenary Instagram-PHP-API version?

Right now, it's still ~2.0, while the master branch of Cosenary Instagram-PHP-API has some nice updates like getRateLimit()

We're using the latest version of @cosenary's Instagram package already. ~2.0 means it will take all version up to 3.0. The latest version of @cosenary's Instagram package is 2.3.

So the latest update in @cosenary's Instagram package master branch not included until he releases version 2.4 or 3.0?

Yes, that is correct. Hopefully it will be soon since Instagram has updated their API recently.

repo: vinkla/instagram


text:
make the attribute filed more flexible to accept scope and other hash…

… options
The attribute section can be made flexible to handle other hash options like scope etc. In order to do it, it can be not be symbol only, so changed it to use eval() function. The original attribute still work fine, and can support Array for multiple attributes as well.

Sorry, solution needs more work, close it for now.


text:
V9958: Will not work if Interrupt Mode 2 is enabled

This module is not compatible with interrupt mode 2.  For stock RC2014, and stock RomWBW, the interrupt mode is typically set to mode 1.
If you have other modules, such as the CTC, and have them configured with a RomWBW build with mode 2 enabled - then please note this module will not work as currently configured.
Basically the board ignores the M1 control signal.  This will need to processed for the chip selection, such that it does not activate during IM2 interrupt acknowledge cycles.
MSX did/does not use IM2.
It may be possible to bodge the module to fix this.  I don't have any hardware that operates with IM2 so it's a little difficult for me to confirm what's required.

Interrupt acknowledge cycles should not assert /RD, only /IORQ and /M1, so I think the older version should be fine?
I have tested the v1.4 board in an IM2 system (with pull-ups in the data bus for the interrupt ack cycle) and it works.

authors: eluancm vipoo


text:
SOAP UI problems

We been having a few problems with the current verison of the 2.5 branch.
This is error we are having
SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://mycompany.jira.com/rpc/soap/jirasoapservice-v2?wsdl' : failed to load external entity "http://mycompany.jira.com/rpc/soap/jirasoapservice-v2?wsdl"
The link actual returns a valid WSDL. The extension also worked before, with our own branch that we were maintaining with all the improvements made in a previous PR.
I have reason to believe this is because of the recent upgrades to add proxy configuration. Wasn't exactly sure what the actual cause is. /cc @jeffreyguo
Intial thoughts is that it is trying to inject null params into the proxy config which causes an error within SoapClient

Closing this, as its like 4 years old.. I don't use the project anymore :P

repo: vipsoft/JiraExtension


text:
[viostor] io hung can not recover

Describe the bug
windows io hung can not recover
To Reproduce
I downloaded the code from the master branch and reset it to commit 379f2910b85bb6b32a0991904d2402420957bdb6 for compilation
My VM originally had a driver version of 24000
I replaced it with the viostor I compiled myself

start a vm
I have a local file like windows-2022-legacy-datacenter.raw, and I use SPDK AIO bdev to start the virtual machine with the vhost user protocol
Use fio to stress test the C driver
fio --name=fio-randwrite --filename=C:\test --direct=1 --iodepth=32 --rw=randwrite -thread -time_based -refill_buffers -norandommap -randrepeat=0 -group_reporting --blocksize=64k -numjobs=32 -size=30G -runtime=60000 --ioengine=windowsaio --cpus_allowed_policy=split
Stop SPDK, and after sleeping for 2 minutes, start SPDK again
windows io hung and can not recover

Final black screen

Host:

Disto: [e.g. Fedora, Ubuntu, Proxmox]
Kernel version ：5.4.56
QEMU version ： 5.2.0
QEMU command line  ：I'm sorry, I can't provide that
libvirt version ：4.7.0
libvirt XML file : I'm sorry, I can't provide that

VM:

Windows version : windows server 2022 datacenter
Which driver has a problem：viostor
Driver version or commit hash that was used to build the driver：379f2910b85bb6b32a0991904d2402420957bdb6

Additional context
The version before 379f2910b85bb6b32a0991904d2402420957bdb6 had no issues and could automatically recover fio

@lixianming19951001
Thank you for reporting the issue.
If possible, can I ask you to dump the VM memory to a dump file with "dump-guest-memory -w"
command (you will need to install vmcoreinfo device as well) and share it with me?
Thanks,
Vadim.

@vrozenfe
I tried （add  to the XML, then reproduce it and execute virsh qemu-monitor-command test_lxm_3 --hmp dump-guest-memory -w test.dmp） and got a 4GB file. I'm not sure if it meets your requirements. If it does, how can I share it with you?
Best regards,
Li.

Hi all，
Just to update that we have a fully blk function test recently, and also detect a regression issue https://issues.redhat.com/browse/RHEL-70446  that should be introduced from the same commit.

repo: virtio-win/kvm-guest-drivers-windows


text:
Add authentication disclaimer to docs

Currently, the documentation has no mention that sending data such as passwords (which is suggested in the docs) is sent in plaintext and is not encrypted or authenticated. A disclaimer should be added to make users aware that they should not send credentials in plaintext as this is bad practice and illegal in many places including the EU.
This is sort of related to the fact that Mirror doesn't support message encryption or message authentication. #40
List some other similar projects where this enhancement exists
The MLAPI, for example, solves this by allowing message encryption and authentication to the whole message, including protocol headers allowing encryption and authentication for all transports and on a per message basis.

You could keep the advertisements for yourself...

You could keep the advertisements for yourself...

Oh jesus. I honestly hope you are not being serious..
There is no way to give any monetary support to my projects. I do this non profit. I gain nothing. I reported security flaws in the List Server a few days ago to vis in private but I have not gotten any response. But since this is about Mirror I was going to make GitHub Issues, and I read the contribution guidelines, that's literally where that subtitle is from.
I have actually spent time here researching the security of Mirror to try to help improve it. These are not yo average bugs, but security flaws.
Stop being pathetic.

:tada: This issue has been resolved in version 3.4.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: MichalPetryka TwoTenPvP vis2k


text:
Enable code generation for provenance node.

We need a copy code that generates the code.
Copy the code or insert a new cell with the code.

Show a preview of generated code in the bottom.

repo: visdesignlab/persist


text:
Add headerand footer  secton and logo to the website

This will enhance the website styling and layot of the webpage
assign me i like to work on it @vishanurag

give me this task because i have made my project on blog reading
and i have code of header and footer.(i have attached image)
@vishanurag

repo: vishanurag/Canvas-Editor


text:
connect ECONNREFUSED, (node:0.6.5, express:2.5.1, connect:2.0.0alpha1)

I am getting the following:
Error: connect ECONNREFUSED
at errnoException (net.js:616:11)
at Object.afterConnect [as oncomplete] (net.js:607:18)
Am I doing anything wrong?
node:0.6.5, express:2.5.1, connect:2.0.0alpha1

When I try node:0.5.0, express:2.4.0, connect:1.8.2 I get the following:
Error: ECONNREFUSED, Connection refused
at Socket._onConnect (net_legacy.js:601:18)
at IOWatcher.onWritable (net_legacy.js:186:12)

ok. I fixed the versions and moved one step forward.
express@3.0.0alpha1-pre
connect@2.0.0alpha1
node 0.6.5

repo: visionmedia/express


text:
Windows cmake improvements

Description
Improve workings of CMake on Windows:

Moved some Windows specific functions to a new file, VisItWindowsFunctions.cmake
Make VISIT_INSTALLED_VERSION_XXX vars used as destinations in 'install' commands be relative. This will help in the modernization effort.
Moved copying of files (movie template, resources, hosts, python modules, qt plugins) to the build step instead of configure step. Doing it during configure required copying to all the possible  build types (Release, Debug, MinSizeRel, RelWithDebuginfo), which is unnecessary.
Tried to minimize if(WIN32) code blocks, and consolidate with logic used for other platforms where possible (like when the VISIT_CONFIG_SITE_FILE is actually included).
Fixed ability to run datagen target outputs on Windows, cleaned up and modernized CMake in the datagen CMakeLists.txt

Misc improvements:

Remove check for OSMESA_SIZE, it is no longer used
Use lowercase for CMake functions in root CMakeLists.txt, FindVisItPython.cmake, VisItMacros.cmake
Moved CTest logic into its own file: VisItCTest.cmake
Moved Linux install of system libs into a function in VisItFunctions.
Moved mpich install logic  into a function in VisIt Functions
Added setting of CMAKE_LIBRARY_OUTPUT_DIRECTORY for plugins to VISIT_PLUGIN_TARGET_OUTPUT_DIR (renamed from VISIT_PLUGIN_TARGET_RTOD since it now doe both RUNTIME and LIBRARY output dirs, based on platform).
Updated GenerateCMake with new plugin function name and updated all the plugin's CMakeLists.txt.

Type of change
* [ ] Bug fix
* [ ] New feature
* [ ] Documentation update

[X] Other~~
CMake improvements

How Has This Been Tested?
Compiled and installed on Windows and Linux with success.
Successfully ran the regression tests on Linux.
Reminders:

Please follow the style guidelines of this project.
Please perform a self-review of your code before submitting a PR and asking others to review it.
Please assign reviewers (see VisIt's PR procedures for more information).

Checklist:

[X] I have commented my code where applicable.~~
- [ ] I have updated the release notes.
- [ ] I have made corresponding changes to the documentation.
- [ ] I have added debugging support to my changes.
- [ ] I have added tests that prove my fix is effective or that my feature works.
[X] I have confirmed new and existing unit tests pass locally with my changes.~~
- [ ] I have added new baselines for any new tests to the repo.
- [ ] I have NOT made any changes to protocol or public interfaces in an RC branch.

Sorry I hit update branch button in this PR. I was confused about which PR I was in

repo: visit-dav/visit


text:
🛑 Vistaar Digital is down

In ddb27f7, Vistaar Digital (https://www.vistaardigital.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Vistaar Digital is back up in 405dd01.

repo: vistaardigital/uptime


text:
Change style attribute value from svg

Hello everyone,
I need to change fill color from some path elements inside my .svg. How should I approach this?
We can pretend this is my .svg file:
<svg [...]>
  <defs>
    [...]
  </defs>
  <path
           style="clip-rule:evenodd;display:inline;fill:#00ff00;fill-rule:evenodd;stroke:#000000;stroke-width:0.03818662;stroke-linejoin:bevel;image-rendering:optimizeQuality;shape-rendering:geometricPrecision;text-rendering:geometricPrecision"
           id="tx-port-1"
           d="m 55.931318,146.94475 c 0,-0.40091 -0.325738,-0.72665 -0.726648,-0.72665 -0.400909,0 -0.726648,0.32574 -0.726648,0.72665 0,0.40091 0.325739,0.72665 0.726648,0.72665 0.40091,0 0.726648,-0.32574 0.726648,-0.72665 z"
           class="fil15 str0" />
  <path
           style="clip-rule:evenodd;display:inline;fill:#00ff00;fill-rule:evenodd;stroke:#000000;stroke-width:0.03818662;stroke-linejoin:bevel;image-rendering:optimizeQuality;shape-rendering:geometricPrecision;text-rendering:geometricPrecision"
           id="tx-port-2"
           d="m 55.931318,146.94475 c 0,-0.40091 -0.325738,-0.72665 -0.726648,-0.72665 -0.400909,0 -0.726648,0.32574 -0.726648,0.72665 0,0.40091 0.325739,0.72665 0.726648,0.72665 0.40091,0 0.726648,-0.32574 0.726648,-0.72665 z"
           class="fil15 str0" />
</svg>

And this is my template, if it matters
<template>
    <MySVG ref="mysvg"/>
</template>

It would be ideal for me if we could reference the elements by its id's ('tx-port-1' and 'tx-port-2').
I can edit the .svg file in any way if necessary.
I believe this should be very simple, so I'm sorry if this is a dumb question, but after a whole day searching I still can't find any useful resource to help me with this. Can anyone help here?
Edit: fixing code formatting

Well, I figured out a solution.
It was to use d3, of course! I thought I could solve my life without adding another dependency to the project, but I think it wasn't possible.
If anyone's interested, here is my working JS code:
import * as d3 from 'd3';

let ledElement = d3.select('.tx-port-1');
ledElement.style("fill", green)

(I had to add a class to the elements on the .svg so I could select them from the JS, because I couldn't select them via id for some reason and don't have a lot of time to spend on this right now.)
bonus, adding a blinking animation to the element:
ledElement.append("animate")
                    .attr("attributeType", "XML")
                    .attr("attributeName", "fill")
                    .attr("values", "#ff0000;#ff0000;#999999")
                    .attr("dur", "1s")
                    .attr("repeatCount", "indefinite");

repo: visualfanatic/vue-svg-loader


text:
How to set default value in select option

I am creating the editable combo as follows...
$(this).editable({
title: 'Select priority',
type:'select',
placement:"right",
emptytext: '.',
toggle:'click',
send:"always",
source:[
{value:3,text:'Low'},
{value:2,text:'Medium'},
{value:1,text:'High'},
]
});
I want to set the  value 1(text:'High ) as default ...How can i do this....

Eons later...
@poorman question, simply add data-value="" to
"< a id="feed_type_id" class="editable editable-click" href="#" >Medium< /a >"

repo: vitalets/x-editable


text:
Use vitepress next

어떤 문제가 있었나요?

Vitepress 1.x.x draft 버전 출시

어떤 부분을 수정했나요?

Vitepress 버전업

그 외

~anchor를 통한 header 참조가 정상적으로 동작하지 않는 것으로 보임~ -> alpha.1에서 고쳐짐

resolved

resolve #255
resolve #259
resolve #261
resolve #265
resolve #266

vitest와 같이 vitepress v1을 프로덕션에서 사용하고 있는 경우가 있는 것으로 보아 v1.alpha.1을 미리 적용해도 될 것으로 보임


text:
404 error fetching bindings_wasm_bg.wasm when running rollup on the browser

Describe the bug
Hi everyone, not sure if this is the correct place to post this, I already posted on Stack Overflow without luck.
I'm trying to use the package @rollup/browser on my project to generate a dynamic bundle as described here
I know it might sound as if this is not a vite issue, however when running the code I get the following errors:

My first question is, what exactly is the http://localhost:5175/node_modules/.vite/deps/bindings_wasm_bg.wasm file? Do I need to add a specific plugin for this file to exist?
Then there are other problems with the MIME type, which I think I already have a workaround for, and the last error in the screenshot I think it's probably related to the missing file.
Any suggestions about this?
Reproduction
https://github.com/eltaiguer/vite-rollup
Steps to reproduce
Run:
yarn install
yarn dev
Open the console and Click on the "run" button
System Info
System:
    OS: macOS 14.0
    CPU: (10) arm64 Apple M1 Pro
    Memory: 98.56 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.14.0 - ~/.nvm/versions/node/v18.14.0/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 9.3.1 - ~/.nvm/versions/node/v18.14.0/bin/npm
  Browsers:
    Chrome: 117.0.5938.149
    Safari: 17.0
  npmPackages:
    @vitejs/plugin-react: ^4.0.3 => 4.1.0
    vite: ^4.4.5 => 4.4.11

Used Package Manager
yarn
Logs
$ tsc && vite build --debug
  vite:config bundled config file loaded in 14.76ms +0ms
  vite:config using resolved config: {
  vite:config   plugins: [
  vite:config     'vite:build-metadata',
  vite:config     'vite:watch-package-data',
  vite:config     'vite:pre-alias',
  vite:config     'alias',
  vite:config     'vite:react-babel',
  vite:config     'vite:react-refresh',
  vite:config     'vite:modulepreload-polyfill',
  vite:config     'vite:resolve',
  vite:config     'vite:html-inline-proxy',
  vite:config     'vite:css',
  vite:config     'vite:esbuild',
  vite:config     'vite:json',
  vite:config     'vite:wasm-helper',
  vite:config     'vite:worker',
  vite:config     'vite:asset',
  vite:config     'vite:wasm-fallback',
  vite:config     'vite:define',
  vite:config     'vite:css-post',
  vite:config     'vite:build-html',
  vite:config     'vite:worker-import-meta-url',
  vite:config     'vite:asset-import-meta-url',
  vite:config     'vite:force-systemjs-wrap-complete',
  vite:config     'commonjs',
  vite:config     'vite:data-uri',
  vite:config     'vite:dynamic-import-vars',
  vite:config     'vite:import-glob',
  vite:config     'vite:build-import-analysis',
  vite:config     'vite:esbuild-transpile',
  vite:config     'vite:terser',
  vite:config     'vite:reporter',
  vite:config     'vite:load-fallback'
  vite:config   ],
  vite:config   optimizeDeps: {
  vite:config     disabled: 'build',
  vite:config     force: undefined,
  vite:config     include: [ 'react', 'react/jsx-dev-runtime', 'react/jsx-runtime' ],
  vite:config     esbuildOptions: { preserveSymlinks: false }
  vite:config   },
  vite:config   build: {
  vite:config     target: [ 'es2020', 'edge88', 'firefox78', 'chrome87', 'safari14' ],
  vite:config     cssTarget: [ 'es2020', 'edge88', 'firefox78', 'chrome87', 'safari14' ],
  vite:config     outDir: 'dist',
  vite:config     assetsDir: 'assets',
  vite:config     assetsInlineLimit: 4096,
  vite:config     cssCodeSplit: true,
  vite:config     sourcemap: false,
  vite:config     rollupOptions: { onwarn: [Function: onwarn] },
  vite:config     minify: 'esbuild',
  vite:config     terserOptions: {},
  vite:config     write: true,
  vite:config     emptyOutDir: null,
  vite:config     copyPublicDir: true,
  vite:config     manifest: false,
  vite:config     lib: false,
  vite:config     ssr: false,
  vite:config     ssrManifest: false,
  vite:config     ssrEmitAssets: false,
  vite:config     reportCompressedSize: true,
  vite:config     chunkSizeWarningLimit: 500,
  vite:config     watch: null,
  vite:config     commonjsOptions: { include: [Array], extensions: [Array] },
  vite:config     dynamicImportVarsOptions: { warnOnError: true, exclude: [Array] },
  vite:config     modulePreload: { polyfill: true },
  vite:config     cssMinify: true
  vite:config   },
  vite:config   esbuild: { jsxDev: false, jsx: 'automatic', jsxImportSource: undefined },
  vite:config   resolve: {
  vite:config     mainFields: [ 'module', 'jsnext:main', 'jsnext' ],
  vite:config     browserField: true,
  vite:config     conditions: [],
  vite:config     extensions: [
  vite:config       '.mjs',  '.js',
  vite:config       '.mts',  '.ts',
  vite:config       '.jsx',  '.tsx',
  vite:config       '.json'
  vite:config     ],
  vite:config     dedupe: [ 'react', 'react-dom' ],
  vite:config     preserveSymlinks: false,
  vite:config     alias: [ [Object], [Object] ]
  vite:config   },
  vite:config   configFile: '/Users/jose/Projects/ikayzo/rollup-test/vite.config.ts',
  vite:config   configFileDependencies: [ '/Users/jose/Projects/ikayzo/rollup-test/vite.config.ts' ],
  vite:config   inlineConfig: {
  vite:config     root: undefined,
  vite:config     base: undefined,
  vite:config     mode: undefined,
  vite:config     configFile: undefined,
  vite:config     logLevel: undefined,
  vite:config     clearScreen: undefined,
  vite:config     optimizeDeps: { force: undefined },
  vite:config     build: {}
  vite:config   },
  vite:config   root: '/Users/jose/Projects/ikayzo/rollup-test',
  vite:config   base: '/',
  vite:config   rawBase: '/',
  vite:config   publicDir: '/Users/jose/Projects/ikayzo/rollup-test/public',
  vite:config   cacheDir: '/Users/jose/Projects/ikayzo/rollup-test/node_modules/.vite',
  vite:config   command: 'build',
  vite:config   mode: 'production',
  vite:config   ssr: {
  vite:config     format: 'esm',
  vite:config     target: 'node',
  vite:config     optimizeDeps: { disabled: true, esbuildOptions: [Object] }
  vite:config   },
  vite:config   isWorker: false,
  vite:config   mainConfig: null,
  vite:config   isProduction: true,
  vite:config   css: undefined,
  vite:config   server: {
  vite:config     preTransformRequests: true,
  vite:config     sourcemapIgnoreList: [Function: isInNodeModules],
  vite:config     middlewareMode: false,
  vite:config     fs: { strict: true, allow: [Array], deny: [Array] }
  vite:config   },
  vite:config   preview: {
  vite:config     port: undefined,
  vite:config     strictPort: undefined,
  vite:config     host: undefined,
  vite:config     https: undefined,
  vite:config     open: undefined,
  vite:config     proxy: undefined,
  vite:config     cors: undefined,
  vite:config     headers: undefined
  vite:config   },
  vite:config   envDir: '/Users/jose/Projects/ikayzo/rollup-test',
  vite:config   env: { BASE_URL: '/', MODE: 'production', DEV: false, PROD: true },
  vite:config   assetsInclude: [Function: assetsInclude],
  vite:config   logger: {
  vite:config     hasWarned: false,
  vite:config     info: [Function: info],
  vite:config     warn: [Function: warn],
  vite:config     warnOnce: [Function: warnOnce],
  vite:config     error: [Function: error],
  vite:config     clearScreen: [Function: clearScreen],
  vite:config     hasErrorLogged: [Function: hasErrorLogged]
  vite:config   },
  vite:config   packageCache: Map(1) {
  vite:config     'fnpd_/Users/jose/Projects/ikayzo/rollup-test' => {
  vite:config       dir: '/Users/jose/Projects/ikayzo/rollup-test',
  vite:config       data: [Object],
  vite:config       hasSideEffects: [Function: hasSideEffects],
  vite:config       webResolvedImports: {},
  vite:config       nodeResolvedImports: {},
  vite:config       setResolvedCache: [Function: setResolvedCache],
  vite:config       getResolvedCache: [Function: getResolvedCache]
  vite:config     },
  vite:config     set: [Function (anonymous)]
  vite:config   },
  vite:config   createResolver: [Function: createResolver],
  vite:config   worker: {
  vite:config     format: 'iife',
  vite:config     plugins: [
  vite:config       'vite:build-metadata',
  vite:config       'vite:watch-package-data',
  vite:config       'vite:pre-alias',
  vite:config       'alias',
  vite:config       'vite:modulepreload-polyfill',
  vite:config       'vite:resolve',
  vite:config       'vite:html-inline-proxy',
  vite:config       'vite:css',
  vite:config       'vite:esbuild',
  vite:config       'vite:json',
  vite:config       'vite:wasm-helper',
  vite:config       'vite:worker',
  vite:config       'vite:asset',
  vite:config       'vite:wasm-fallback',
  vite:config       'vite:define',
  vite:config       'vite:css-post',
  vite:config       'vite:build-html',
  vite:config       'vite:worker-import-meta-url',
  vite:config       'vite:asset-import-meta-url',
  vite:config       'vite:force-systemjs-wrap-complete',
  vite:config       'commonjs',
  vite:config       'vite:data-uri',
  vite:config       'vite:worker-post',
  vite:config       'vite:dynamic-import-vars',
  vite:config       'vite:import-glob',
  vite:config       'vite:build-import-analysis',
  vite:config       'vite:esbuild-transpile',
  vite:config       'vite:terser',
  vite:config       'vite:load-fallback'
  vite:config     ],
  vite:config     rollupOptions: {},
  vite:config     getSortedPlugins: [Function: getSortedPlugins],
  vite:config     getSortedPluginHooks: [Function: getSortedPluginHooks]
  vite:config   },
  vite:config   appType: 'spa',
  vite:config   experimental: { importGlobRestoreExtension: false, hmrPartialAccept: false },
  vite:config   getSortedPlugins: [Function: getSortedPlugins],
  vite:config   getSortedPluginHooks: [Function: getSortedPluginHooks]
  vite:config } +15ms
vite v4.4.11 building for production...
  vite:esbuild 12.54ms tsconfck init /Users/jose/Projects/ikayzo/rollup-test +0ms
transforming (1) index.html  vite:resolve 1.96ms bindings_wasm_bg.wasm -> /Users/jose/Projects/ikayzo/rollup-test/node_modules/@rollup/browser/dist/es/bindings_wasm_bg.wasm +0ms
✓ 35 modules transformed.
dist/index.html                                 0.46 kB │ gzip:   0.30 kB
dist/assets/react-35ef61ed.svg                  4.13 kB │ gzip:   2.14 kB
dist/assets/bindings_wasm_bg-48cddf5d.wasm  5,452.66 kB
dist/assets/index-d526a0c5.css                  1.42 kB │ gzip:   0.74 kB
dist/assets/index-334d7831.js                 459.30 kB │ gzip: 137.60 kB
✓ built in 844ms
✨  Done in 2.24s.

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Update about this, I notice that when I run yarn build I see a bindings_was_bg.wasm file under the assets folder, however, I have no idea how is that file is being expected under node_modules

I'm experiencing the same issue.
Here's a minimal reproduction repo: https://github.com/curran/rollup-v4-browser-vite-demo
In that repo:

Running npm run dev fails
Running npm run build does produce the WASM asset
Running npm run preview works! The code runs and uses the correct WASM asset

This leads me to believe it is an issue isolated to the dev server setup.
Also, I was encountering a related issue around MIME types for the WASM asset, which I solved here https://github.com/curran/rollup-v4-browser-vite-demo/pull/2 , but I'm not sure if this is a symptom of the underlying problem which is that Vite does not serve the file in dev at all, so of course the MIME type will be incorredt.
Here's a StackOverflow post about the same/similar error https://stackoverflow.com/questions/77276441/vite-react-wasm-errors-when-running-rollup-browser-side
I'm currently trying to figure out what to do for migrating to v4 to support the browser build of Rollup in a Vite-based app. Sharing my research so far here.
I reviewed the migration guide https://rollupjs.org/migration/ but nothing is mentioned there about WASM for the browser build. I also see that in https://github.com/rollup/rollup/blob/master/CHANGELOG.md#general-changes There is this hint:

The browser build now relies on a WASM artifact that needs to be provided as well (#5073)

I'm currently trying to decipher https://github.com/rollup/rollup/pull/5073 to find out if there's anything we can do outside of Vite itself to make it work.
To summarize the issue, I see two possibilities:

The Rollup browser build may not be using the right path for the WASM asset when running Vite's npm run dev.
Vite may not be serving the file at the right path when running npm run dev.

Looking forward to solving this issue! Any clues would be greatly appreciated.

what exactly is the http://localhost:5175/node_modules/.vite/deps/bindings_wasm_bg.wasm

That's how rollup bundles in the browser, using WASM: https://github.com/rollup/rollup/blob/master/browser/package.json#L23
To get it to run, add "@rollup/browser" to optimizeDeps.exclude, which prevents the prebundling and messing up of paths to the .wasm file.
See:

Amazing! Thank you so much! That works for me.
I've included the fix here https://github.com/curran/rollup-v4-browser-vite-demo/blob/main

Duplicate of #8427

authors: curran eltaiguer sadn1ck sapphi-red

repo: vitejs/vite