Trouble with installation

pip install https://github.com/RapidAI/RapidOCR/raw/main/release/python_sdk/sdk_rapidocr_v1.0.0/rapidocr-1.0.0-py3-none-any.whl -i https://pypi.douban.com/simple/ Looking in indexes: https://pypi.douban.com/simple/ Collecting rapidocr==1.0.0   Using cached https://github.com/RapidAI/RapidOCR/raw/main/release/python_sdk/sdk_rapidocr_v1.0.0/rapidocr-1.0.0-py3-none-any.whl (18 kB) Collecting six>=1.15.0   Downloading https://pypi.doubanio.com/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB) Requirement already satisfied: numpy>=1.19.3 in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from rapidocr==1.0.0) (1.21.4) Collecting pyclipper>=1.2.1   Downloading https://pypi.doubanio.com/packages/24/6e/b7b4d05383cb654560d63247ddeaf8b4847b69b68d8bc6c832cd7678dab1/pyclipper-1.3.0.zip (142 kB)      |████████████████████████████████| 142 kB 2.7 MB/s               Installing build dependencies ... done   Getting requirements to build wheel ... done   Preparing metadata (pyproject.toml) ... done Requirement already satisfied: Shapely>=1.7.1 in /Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages (from rapidocr==1.0.0) (1.8.0) ERROR: Could not find a version that satisfies the requirement onnxruntime>=1.7.0 (from rapidocr) (from versions: none) ERROR: No matching distribution found for onnxruntime>=1.7.0
But I do have onnxruntime on my Mac.
🍺  /opt/homebrew/Cellar/onnxruntime/1.9.1: 77 files, 11.9MB

You can try to reinstall the whl by the following code:

pip install https://github.com/RapidAI/RapidOCR/raw/main/release/python_sdk/sdk_rapidocr_v1.0.0/rapidocr-1.0.0-py3-none-any.whl

I have the exact same problem and the suggested reinstall code resulted in the same error re onnxruntime.

The cause of the problem is that the version of your python is too high.
Currently the package of onnxruntime only supports up to 3.9, you can try to install it by changing the version of python.

Okay I managed to install python3.8 via Homebrew by
brew search python, then brew install<EMAIL_ADDRESS>pip3 was installed in it.  But still getting error:
JimsMBPro:~ jim$<EMAIL_ADDRESS>install https://github.com/RapidAI/RapidOCR/raw/main/release/python_sdk/sdk_rapidocr_v1.0.0/rapidocr-1.0.0-py3-none-any.whl
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Collecting rapidocr==1.0.0
  Using cached https://github.com/RapidAI/RapidOCR/raw/main/release/python_sdk/sdk_rapidocr_v1.0.0/rapidocr-1.0.0-py3-none-any.whl (18 kB)
Collecting opencv-python>=<IP_ADDRESS>
  Downloading opencv_python-<IP_ADDRESS>-cp38-cp38-macosx_11_0_arm64.whl (27.9 MB)
     |████████████████████████████████| 27.9 MB 10.3 MB/s
Collecting six>=1.15.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
ERROR: Could not find a version that satisfies the requirement onnxruntime (from rapidocr) (from versions: none)
ERROR: No matching distribution found for onnxruntime

Okay I managed to install python3.8 via Homebrew by brew search python, then brew install<EMAIL_ADDRESS>pip3 was installed in it. But still getting error:
JimsMBPro:~ jim$<EMAIL_ADDRESS>install https://github.com/RapidAI/RapidOCR/raw/main/release/python_sdk/sdk_rapidocr_v1.0.0/rapidocr-1.0.0-py3-none-any.whl
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Collecting rapidocr==1.0.0
  Using cached https://github.com/RapidAI/RapidOCR/raw/main/release/python_sdk/sdk_rapidocr_v1.0.0/rapidocr-1.0.0-py3-none-any.whl (18 kB)
Collecting opencv-python>=<IP_ADDRESS>
  Downloading opencv_python-<IP_ADDRESS>-cp38-cp38-macosx_11_0_arm64.whl (27.9 MB)
     |████████████████████████████████| 27.9 MB 10.3 MB/s
Collecting six>=1.15.0
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
ERROR: Could not find a version that satisfies the requirement onnxruntime (from rapidocr) (from versions: none)
ERROR: No matching distribution found for onnxruntime

Try to install the onnxruntime package alone, then install the rapidocr package, following the code(add the douban pypi):

pip3 install onnxruntime -i https://pypi.douban.com/simple/
pip3 install https://github.com/RapidAI/RapidOCR/raw/main/release/python_sdk/sdk_rapidocr_v1.0.0/rapidocr-1.0.0-py3-none-any.whl -i https://pypi.douban.com/simple/

I have tried to install the rapidocr whl by the anaconda environment on the Mac, it's ok.

Sorry I'm not much help, I'm unfamiliar with this python install stuff.  But (after uninstalling the homebrew onnxruntime), installing it via pip fails:
JimsMBPro:/ jim$ pip3 install onnxruntime -i https://pypi.douban.com/simple/
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Looking in indexes: https://pypi.douban.com/simple/
ERROR: Could not find a version that satisfies the requirement onnxruntime (from versions: none)
ERROR: No matching distribution found for onnxruntime

try to create the virtualenv, and install the rapidocr in the env.
example code:

pip3 install virtualenv

virtualenv rapidocr --python=python3.7

source rapidocr/bin/activate

pip3 install https://github.com/RapidAI/RapidOCR/raw/main/release/python_sdk/sdk_rapidocr_v1.0.0/rapidocr-1.0.0-py3-none-any.whl

The first 3 commands seemed to work fine (though I had to change python to 3.8, the earlier version I installed).  But the last command still gives the same error:
JimsMBPro:~ jim$ virtualenv rapidocr --python=python3.8
created virtual environment CPython3.8.12.final.0-64 in 265ms
  creator CPython3Posix(dest=/Users/jim/rapidocr, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/Users/jim/Library/Application Support/virtualenv)
    added seed packages: pip==21.3.1, setuptools==58.3.0, wheel==0.37.0
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator
JimsMBPro:~ jim$ source rapidocr/bin/activate

(rapidocr) JimsMBPro:~ jim$ pip3 install https://github.com/RapidAI/RapidOCR/raw/main/release/python_sdk/sdk_rapidocr_v1.0.0/rapidocr-1.0.0-py3-none-any.whl
Collecting rapidocr==1.0.0
  Using cached https://github.com/RapidAI/RapidOCR/raw/main/release/python_sdk/sdk_rapidocr_v1.0.0/rapidocr-1.0.0-py3-none-any.whl (18 kB)
ERROR: Could not find a version that satisfies the requirement onnxruntime (from rapidocr) (from versions: none)
ERROR: No matching distribution found for onnxruntime
(rapidocr) JimsMBPro:~ jim$

I tried to install the rapidocr whl, it has no any problem. -_-!
If you still can't solve it here, please feel free to send me an email, which is more efficient.
My gmail is<EMAIL_ADDRESS>


The thumb sometimes doesnt response to the Touch Event

If I dont touch the thumb carefully or even touch and move thumb too fast, it will not move or respone anything. Maybe the function isInThumbRange has some problems. You should take a look about it

Could you provide more info for debugging? I have not seen this problem in the apps I used it in, so I need more to be able to reproduce.

Ok , here is scenerio .Suppose I have set the range is (0, 100).  If the min thumb is at initial position(minValue = 0), then I drag the min thumb, sometimes it doesnt move.
After some debugs, I found out that the area for touching in seekbar view is too small, so it cant capture the touch event if I touch outside the view a little bit.

I had the same problem. I made the thumb images larger and the problem went away, but that isn't a real solution.


feat: integrate Axiom

Summary
Closes: https://github.com/snapshot-labs/sx-monorepo/issues/156
Staging branch on: https://github.com/snapshot-labs/sx-monorepo/pull/4
This PR adds support for Axiom execution strategy (this one is mock from Axiom team).
When creating space you can now add Axiom execution strategy. With it enabled votes will be broadcast to highlight instance and later proven by Axiom.
Once voting window ends you can generate proofs from UI and execute transaction as-if votes were on-chain.
Test plan

Run yarn dev:full, you can change sepolia network's start index.
Mint & delegate to yourself this token https://sepolia.etherscan.io/address/0x6fd821e79cdf212ad8b06c59b28fe8c2185291d4#writeContract
Create space on Sepolia with ERC-20 Comp tokens voting/proposition power strategies using this contract 0x6fd821e79cdf212ad8b06c59b28fe8c2185291d4.
Use Axiom execution strategy (contract 0x6fd821e79cdf212ad8b06c59b28fe8c2185291d4, slotIndex 8).
Change max voting delay to something shorter (10 minutes).
After space is deployed go to settings and copy execution address, add it as treasury.
Send some ERC20 token to this treasury to use as execution.
Create proposal with axiom execution and vote on it.
Once voting period has ended you should see Finalize proposal button, click on it and wait some time (5-10 minutes).
Refresh page, it should show Execute proposal eventually, click this button.
Wait some time, refresh page, it should show link to proposal execution.

Alternatively use this space instead of creating your own: http://localhost:8080/#/sep:0x648b2C6710f92d59E2562a61E9bdF2Cbe8f87186

I've tried to create a proposal on your space here: http://localhost:8080/#/sep:0x648b2C6710f92d59E2562a61E9bdF2Cbe8f87186/proposal/5
When I click to finalize the proposal, it fail on Mana with this error:
{
    "jsonrpc": "2.0",
    "error": {
        "code": 500,
        "message": "unauthorized",
        "data": {
            "message": "request to http://ec2-44-197-171-215.compute-1.amazonaws.com:8000/query failed, reason: socket hang up",
            "type": "system",
            "errno": "ECONNRESET",
            "code": "ECONNRESET"
        }
    },
    "id": null
}

I see also this error in logs:
mana:dev: error LibraryError: RPC: starknet_estimateFee with params {"request":[{"type":"INVOKE","sender_address":"0x4d1815453874b0b0ddebff592485f151b9886dee32afd404846c318f54fb161","calldata":["0x1","0x1f8544918b5d9b4833fb2ba2d0c7ceb0d699ae7f2b8b23ea129c9a10fe8046c","0x232e20d533377ce3b5e4db31ecfaa561eb2b2f29af46dcc0eca9460eb4f89a3","0x16","0x65bba377","0x20","0x3","0x1","0x3a4129f0acec7dced75cbde55aae3c0f4da9fce26fa8cf93e722da56c3cf20c","0x3","0x2","0x65bba38c","0x0","0x1","0x65bba374","0x1","0x65bba374","0x0","0x1","0x65bba38c","0x1","0x65bba374","0x0","0x1","0x65bba38c","0x1"],"version":"0x100000000000000000000000000000001","signature":["0x71668b77650967b85c4f3893c9cc0005a33206bccf8409189f32038e9f293e8","0xfc331184e30cac69a132944240bf8c22c844d9120899d55eca95a5bab55dc3"],"nonce":"0x87","max_fee":"0x0"}],"block_id":"pending"}
mana:dev:  40: Contract error: {"revert_error":"Execution error at transaction index 0: Error in the called contract (0x04d1815453874b0b0ddebff592485f151b9886dee32afd404846c318f54fb161):\nError at pc=0:15647:\nGot an exception while executing a hint: Requested contract address ContractAddress(PatriciaKey(StarkFelt(\"0x01f8544918b5d9b4833fb2ba2d0c7ceb0d699ae7f2b8b23ea129c9a10fe8046c\"))) is not deployed.\nCairo traceback (most recent call last):\nUnknown location (pc=0:233)\nUnknown location (pc=0:5191)\nUnknown location (pc=0:11307)\n"}
mana:dev:     at RpcProvider.errorHandler (/Users/less/WebstormProjects/snapshot-labs/sx-monorepo/node_modules/starknet/src/provider/rpc.ts:123:13)
mana:dev:     at RpcProvider.fetchEndpoint (/Users/less/WebstormProjects/snapshot-labs/sx-monorepo/node_modules/starknet/src/provider/rpc.ts:142:12)
mana:dev:     at processTicksAndRejections (node:internal/process/task_queues:95:5)
mana:dev:     at async Account.estimateInvokeFee (/Users/less/WebstormProjects/snapshot-labs/sx-monorepo/node_modules/starknet/src/account/default.ts:141:22)
mana:dev:     at async HerodotusController.cacheTimestamp (/Users/less/WebstormProjects/snapshot-labs/sx-monorepo/packages/sx.js/dist.cjs/clients/starknet/herodotus/index.js:27:21)
mana:dev:     at async processProposal (/Users/less/WebstormProjects/snapshot-labs/sx-monorepo/apps/mana/src/stark/herodotus.ts:193:21)
mana:dev:     at async registeredProposalsLoop (/Users/less/WebstormProjects/snapshot-labs/sx-monorepo/apps/mana/src/stark/registered.ts:85:9)

Does it happen all the time? Looks like API/network issue and it's most likely temporary.
Second error is usually there if you interact with Starknet spaces and are on wrong network, but that would be unrelated there as this touches only EVM spaces.

Yes it happen all the time tried maybe 10 times, and for the second error I haven't interacted with Starknet space, it might come from earlier test

I could reproduce it now, looks like issue with Axiom API, I reported it to them.

@bonustrack should work, Axiom team said it could have been related to Alchemy being down.
I tested on my proposal via curl and on your proposal via UI and it now worked (but you will need to create second proposal to test with now).

Deployed subgraphs, will merge once fully synced so deployment is not broken.


vmware controller: Cannot update vSphere configuration with CSV file.

[Frequency]
Always
[How to reproduce]

Input parameter in vcenter.csv with TKey = 123

ex. vcenter.csv
  TKey,Name,Identifier,URL,UserId,Password,
  123,test1,test2,http://test3.com,test4,test5

Execute this command:

\bin\ant -f build-db-import.xml importVCenter -Ddb.dir=controller_db

Change the parameter of Name in same TKey

   ex. vcenter.csv
     TKey,Name,Identifier,URL,UserId,Password,
     123,foo,bar,http://foofoo.com,test4,test5

Execute this command:

\bin\ant -f build-db-import.xml importVCenter -Ddb.dir=controller_db

[Expected result]
Overwrite the column of TKey 123.
[Observed result]
Import was failed because the key 123 already exists.
# %ANT_HOME%\bin\ant -f build-db-import.xml importVCenter -Ddb.dir=controller_db -Ddb.admin.user=pgctbss
Unable to locate tools.jar. Expected to find it in C:\Java\lib\tools.jar
Buildfile: C:\Fujitsu\FSCTMG\app\setupvmware\install\build-db-import.xml

importVCenter:
     [java] VCenterImport execute failed to add row:  123 vcenter1 test1
     [java] VCenterImport execute ERROR: duplicate key value violates unique con straint "vcenter_pkey"
     [java]  Detail l: Key (tkey)=(123) already exists.

BUILD SUCCESSFUL
Total time: 0 seconds

I think build-db-import.xml can only use for adding row.
We need provide the way to change the row and delete the row.

The build-db-import.xml provides a basic functionality for importing the vSphere data needed for controller. The provided ant targets are meant to help integrating the VMWare installer in another installation software.
As it is already documentedin VMWareIntegration.pdf, these settings usually do not change once imported. If such case exists, than the SQL commands can be used.

Are there any reason vSphere settings should not change after importing?
At least deleting operation should be prepared. User often will want to change these settings especially VLAN and IP Pool. And sometimes user make typo in the settings.
SQL are difficult so we need to prepare another way.(Ex. ant or GUI)

Could you let me know how to use update vCenter entry function?

Just update the csv with some new values (the entry will be updated using tkey)  and invoke the same import command again. As it is described in [How to reproduce]
For now it is working for VCenter objects.

Thank you.
I think all objects need these function.  Can I use update function to another table?

Yes, for now only vCenter can be updated as the csv file includes its tkey which can identify the row which should be updated. Other tables consist of some data and references to other tables so the update strategy is not clear.
Therefore we provided additional target do delete the content of all tables. For this the following command can be used:
\bin\ant -f build-db-import.xml deleteAll -Ddb.dir=controller_db

not ok with GA1 2016/07/22

emptied tables with \bin\ant -f build-db-import.xml deleteAll -Ddb.dir=controller_db
tried to import as usual, errors occurred, see below:

A workaround for this is:

stop your bes and app domains
delete your vmware db,
ant -f build-db.xml CREATE.dbAndUser -Ddb.dir=controller_db
ant -f build-db.xml UPDATE.dbSchema -Ddb.dir=controller_db
ant -f build-db-import.xml importAll

@SylviaDehn could you please verify it on BES_GitHub_BUGFIX_Unit (128)? I have commited the final changes.

The solution can be verified on master branch now.

[Build] 2016/08/01
verified
The following sequence will update the settings:
ant -f build-db-import.xml deleteAll -Ddb.dir=controller_db
ant -f build-db-import.xml importAll -Ddb.dir=controller_db


Disable transformation in actor mode

Is there a way to disable the transformation of one specific actor in actor mode?
Background
I am trying to implement a simpler version of the CutterTool because the on-the-fly calculations limit the usability for very large meshes. So instead of showing the cutting effect and updating the large mesh, I only want to move a simple mesh, whose interior will be selected later.
I thought about using the actor mode for this, because retrieving the final transformation is easy. The problem is that the user would also be able to move the large mesh this way. Is there any way to disable the transformation for one specific actor only or a different approach to achieve this behavior?

yes, use mesh_not_to_move.pickable(False).


Assessments: bulk import should allow users to update retired apps

Description
Currently the bulk assessment UI will not update retired apps.  This causes some problems with processes such as records and legal holds where data may still need to be retrospectively updated.
Resourcing
We intend to contribute this feature

As a bonus, we have also enabled this feature for app-group bulk additions.


[#2401] improvement(spark-connector): support alter namespace operation

What changes were proposed in this pull request?
Support alter namespace operation implementation.
Why are the changes needed?
Support to set namespace properties in Spark sql like:
ALTER DATABASE inventory SET DBPROPERTIES ('Edited-by' = 'John', 'Edit-date' = '01/01/2001');

Fix: #2401
Does this PR introduce any user-facing change?
No.
How was this patch tested?

SparkIT#testAlterSchema

cc @FANNG1.

@SteNicholas  thanks for your work, could you add related sql test in SparkIT?  please refer to  https://spark.apache.org/docs/latest/sql-ref-syntax-ddl-alter-database.html

@SteNicholas Hi, maybe @PengleiShi is doing this issue, too.

@FANNG1, I have added SparkIT#testAlterSchema to verify the alter namespace operation. PTAL.

@FANNG1, I have addressed above comments. PTAL.

LGTM except one comment

@SteNicholas  could you change the Spark SQL keyword to upper case? since #2437 is merged first.

@FANNG1, I will update this pull request tonight and change the Spark SQL keyword to upper case.

@FANNG1, I have addressed above comment and changed Spark SQL keyword to upper case. PTAL.

@FANNG1, I have addressed above comment and changed Spark SQL keyword to upper case. PTAL.

some minor comments, could you fix it?

merged to main, @SteNicholas thanks for your work!


Cite Original Paper in Function Definition

Following the conversation in #14, I can add citations of the original papers to the function definition for convenience.
However, @bencox gave two papers for the fft-based hauptmann and @jgroehl another. Do we just want to use what is in the reconstruction_algorithm class definition?

When in doubt we could double-check with those who implemented the particular algorithm.
But I would agree that we should mirror the citation from the class for now.

We could simply cite all papers mentioned in the code?

The papers Ben mentioned were the original publications of the algorithm and the one in the code is the one @jpoimala used as a reference for her implementation.
So citing all three is the best option, I think 🤔

@jgroehl Any particular formatting? (e.g. MLA, APA, etc) Preferably once that I can just copy and paste from google scholar.
But I can add those to the README, Class def, and function.

See https://github.com/IPASC/standardised-image-reconstruction/pull/24 for the fft-based algorithms

Done


Add continuous time echo state network

See:
Bhatnagar 2024
Roberts et al. 2022 (code here)
Ananatharaman et al. 2022

The code for Bhatnagar 2024 is here, thanks to @saakaarb


pull request for e2e test at 12/16/2016 15:15:20

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Inactive payment method or shipping method are showing in velocity footer content

Bug report
Title
Inactive payment method or shipping method are showing in velocity footer content
Issue Description
Inactive payment method or shipping method are showing in velocity footer content
Preconditions
Please provide as detailed information about your environment as possible.
1. framework Version- master

Steps to reproduce
1. step1- Configuration-> Sales-> Shipping Method/Payment Method
2. step2- Set Inactive any of these methods
3. step3- Check the inactive methods will be showing in footer

Expected result
The inactive method should not show in front
Actual result

Fixed


Load initial tab

I'm using non-headless chrome in --kiosk mode. In order to hide the address bar, we specify the url as the --app flag. This hides the tab bar and forces the window into a single-tab mode.
Calling c.NewTab(url) on a single-tab window opens a new window that is not in kiosk mode. It actually prevents the original window from making it to kiosk mode in the first place.
Thus, I am unable to get my hands on a tot.Tab instance (due to un-exported properties) for the initial tab created by chrome and its --app flag.
There are a couple ways this could be fixed.

tot.Chrome could automatically query /json for the first tab after the chrome process launches, and append it to Chrome.tabs
Provide a LoadTabByIndex(i int) (*tot.Tab, error) method that queries /json and fetches the ith index from the slice
Provide a ReloadTabs() error method that queries /json for all tabs and merges new connections (if applicable) into Chrome.tabs

Would love to hear your thoughts. Thanks for a great package!

@adamgoose Thanks for letting me know!
That's not a use-case I've explored. I like the first option you listed, I feel like that makes it more of a natural experience, but the other options are interesting as well and probably have independent value.
Is it possible for you to provide an example main.go that illustrates the issue? I'd be happy to play with it and get a better idea of what you're working with.

PRs are always welcome too 😉


Invalidate or Cancel previous requests if a new request has been sent

There are times (when typing on a text field for example) that multiple requests are sent to the server.
How can we handle this case, so that only the last one is to be processed on the client? (I assume there should be a way to invalidate or cancel the previous requests so that when the response comes from the server this is ignored).
Is there something out-of-the-box for this use case in axios or I will need to implement it on the client myself?
Thank you.

You should consider RxJS for these kinds of problems (this is a common demo). Aborting requests isn't currently implemented: https://github.com/mzabriskie/axios/issues/50

As @pstoica said, this isn't currently supported. There have been several proposals made, and a couple attempts to implement, but Promises by nature make it quite challenging to solve this. I hope to find some solution, but nothing has made it into master yet.

Has someone managed to combine axios & RxJS like this:
http://stackoverflow.com/questions/34612746/wrapping-promise-based-javascript-http-client-with-rxjs-observable
That "common demo" isn't really a solution unless you want to use RxJS mode widely in your application.

Any solutions to this issue since?


Use Jeweler, Update Dependencies

Use Jeweler for gemspec generation, and allow the use of the latest fog gem

+1 for allowing use of the latest fog gem


:bug: fix(bal-nav): Opening menu scrolls page back to top

Current Behavior
When clicking a tab in the main nav menu, the whole page is scrolled back to the top.
Expected Behavior
The page position should be kept when the menu opens
Steps to Reproduce

create page with enough content to scroll
add navigation with menu items
scroll down and open the menu

Version
16.2.1
Browsers
Firefox, Chrome, Safari, Microsoft Edge
Device
Desktop
Code Reproduction URL
No response
Additional Information
No response
Code of Conduct

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

/cib


eventmux: add helpers_test.go

Move test helpers there, where we can reuse them for other broker
implementations.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#103
#102
#101
#100  👈
#99
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @jespert and the rest of your teammates on  Graphite

Merge activity

Oct 1, 7:18 AM EDT: @jespert merged this pull request with Graphite.


CONCAT with eloquent WITH.

Hello, I want to concat firstname and lastname of customer but my schema is like this.
My tables
order
id
customer_id

customer
id
firstname
lastname

My query
$orders = Order::select('*')
            ->with('customer')
            ->get();

I try to select id and customer.firstname
$orders = Order::select(['id', 'customer.firstname'])
            ->with('customer')
            ->get();

But the query select is only select in order
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'customer.firstname' in 'field list' (SQL: select `id`, `customer`.`firstname` from `orders` where `type` = 2)

So how can I CONCAT this customer.firstname and customer.lastname with eagerloading?.
I read the example from this: http://datatables.yajrabox.com/eloquent/post-column-search
Thank you very much.

Now I use this query
$orders = Order::with(['customer'=> function($q){

            $q->select([
                id,
                DB::raw("CONCAT(CUSTOMER_TABLE_NAME.firstname,' ',CUSTOMER_TABLE_NAME.lastname)  AS fullname")
            ]);

    }])->get();

It work well and it work with Datatable searching too.
Thanks divanoli. From Laracast for help.

Yes, this will work. However, please note that there is a downside of using a collection/eager loading instead of query join statements. Your app may load longer when your data becomes large and sorting are arranged mostly as string unlike on database where in can be sorted by its data type. Regards!

@yajra , Thank you for help.
But now I got error when I use multi-filter-select.
http://datatables.yajrabox.com/eloquent/multi-filter-select
Undefined index: customer.fullname
at HandleExceptions->handleError('8', 'Undefined index: customer.fullname', '/var/www/Honda/vendor/yajra/laravel-datatables-oracle/src/yajra/Datatables/Engines/CollectionEngine.php', '160', array('row' => object(Order), 'column' => 'customer.fullname', 'keyword' => 'kan', 'data' => array('id' => '0002', 'vehicle_id' => '2', 'customer_id' => '3', 'sell_price' => '65,000.00', 'type' => 'เงินผ่อน', 'user_add_id' => '1', 'created_at' => '2015-09-03 19:02:53', 'updated_at' => '2015-09-03 19:02:53', 'vehicle' => array('id' => '2', 'vehiclemodel_id' => '2', 'creditor_id' => '1', 'invoice_id' => '1', 'color_id' => '1', 'vehicle_number' => 'JF62E-0002682', 'body_number' => 'MLHJF620965002682', 'status' => 'รถเก่า', 'cost_price' => '50,000.00', 'sell_price' => '55,000.00', 'sell_status' => 'ขายแล้ว', 'act_number' => null, 'act_number_time' => null, 'user_add_id' => '1', 'created_at' => '2015-09-01 21:59:33', 'updated_at' => '2015-09-03 19:02:53', 'vehiclemodel' => array('id' => '2', 'brand_id' => '1', 'code_name' => 'code_wave', 'name' => 'name_wave', 'cost_price' => '50,000.00', 'sell_price' => '55,000.00', 'size' => '120', 'user_add_id' => '1', 'created_at' => '2015-09-01 21:59:33', 'updated_at' => '2015-09-01 21:59:33')), 'customer' => array('id' => '3', 'fullname' => 'kane kain', 'detail' => array('id' => '3', 'customer_id' => '3', 'id_card' => '1112132332322', 'birthday' => '2007-09-01 00:00:00', 'house_period' => '8', 'house_status' => '3', 'house_rent' => '0.00', 'work_position' => 'asd', 'work_period' => '8', 'work_address' => 'asd', 'work_tel' => '8888', 'work_salary' => '88,888.00', 'work_etc' => '', 'work_etc_salary' => '0.00', 'couple_name' => '', 'couple_work_position' => '', 'couple_work_period' => '', 'couple_work_address' => '', 'couple_work_tel' => '', 'couple_work_salary' => '0.00', 'couple_work_etc' => '', 'couple_work_etc_salary' => '0.00', 'created_at' => '2015-09-03 19:02:53', 'updated_at' => '2015-09-03 19:02:53'))))) in CollectionEngine.php line 160

As you can see data array have my customer.fullname but I don't know why I get the error?
Thanks.

@dogrocker, will have to check this one. I think searching on eager loaded models is not yet supported on Collection Engine. I only tested it on first level of array. Please note. searching and sorting via eager loaded models is not yet fully supported. Will try to check this as soon as I can.

@yajra , Thank you for quick response.
I'll try to use join for now.

@yajra Was another solution found to optimize it?

When use
    public function query()
    {
        $query = Advertisement::with(['professional'=> function($q){

            $q->select([
                'id',
                DB::raw("CONCAT(professionals.name,' ',professionals.lastname)  AS fname")
            ]);

        }])
            ->orderBy('id', 'desc')
            ->select(['advertisements.*']);
        ;
        return $this->applyScopes($query);
    }

protected function getColumns()
    {
        return [
            'id',
            // add your columns
            'professional.fname'     => ['title'  => 'name'],
            'title'                 => ['title' => 'title'],
            'description'           => ['title' => 'description',
            'active'                => ['title' => 'active',
            'created_at'            => ['title' => 'Created at']
        ];
    }

Datatable return column fname with all data, but when search, show error.

Where are the error?


Issue 40 validate example data

This pull request:

adds example data
updates validation scripts
adds documentation for adding data and validating it

Issues that are still not working:

References in datapackage.json are to githubusercontent.com, not local...not sure how to fix?
Not sure how to validate a single file using CLI to the schema
GH Action?
tides.spec.json should probably be a profile?

Would love thoughts form @botanize and @j-meelah

High-level, I'm not sure about the utility of generating random data to validate. It's a bit circular, and I'm not sure there's any real benefit. For example, could the random data generation script help anyone translate their existing CAD/AVL data into TIDES?

References in datapackage.json are to githubusercontent.com, not local...not sure how to fix?

It doesn't seem like these references are a problem? Though the profile on your datapackage.json should be tabular-data-package.

Not sure how to validate a single file using CLI to the schema

frictionless validate data/example/data/vehicle_locations --schema spec/vehicle_locations.schema.json

GH Action?

For validation? why not just frictionless validate data/example/data/datapackage.json? Can even output json or yaml (--json, --yaml)

tides.spec.json should probably be a profile?

I'm not sure anything in the spec matches what we provided in tides.spec.json. Everything in the spec that describes a collection requires data resources. Maybe we could make a profile that describes a collection of tableSchema? Seems like a lot of work, and the only work tides.spec.json is doing is listing the remaining files in spec (description is in the table schema, path is nonsense, required is always false). I recommend removing tides.spec.json.
I started producing example data from Metro Transit in the jpr_sample_data branch. It's kind of a lot of work to produce! Do you want to look at that and see how we can merge our work?

It doesn't seem like these references are a problem?

I was trying to figure out how to make a local reference, which doesn't seem to be as easy in the current structure b/c navigating folders w/out code is...
My goal was to be able to validate the example data against the spec/schemas which were in that branch so that we could evaluate any changes to data that any spec changes brought about.

I recommend removing tides.spec.json.

I kind of agree, but also think it is useful for doing to auto-documentation generation.  For now, I'll make an issue for us to ponder it.

This would be cool if it worked, but it doesn't seem to be (or I can't get it to):

spaces in urls! here's a link that works https://repository.frictionlessdata.io/pages/dashboard.html?user=TIDES-transit&repo=TIDES&flow=validate+example+tides+data&run=3206719404

All, There are two things @botanize are in (what I would hope we both categorize as) healthy disagreement about that it might be useful for the broader community to weigh in on:

Sources: should we document them at the resource- or datapackage-level? (see discussions above)
Templates: should we include datapackage.json and csv templates that are auto-generated from the spec? Or just include documentation about datapackage.json in README.md?  Or some middle ground? (see discussions above)

Updated this PR to latest main and it is passing and I think is ready to merge @botanize ?

@e-lo, can you resolve or address the comments I left in my last review?


[Doc] Update system variables doc

Signed-off-by: amber-create<EMAIL_ADDRESS>What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

@mergify backport branch-2.5 branch-3.0


[BUG] When clicking on a link is not going to the link

Has this bug been raised before?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Description
You can see that there are a lot of links in the preview  but I'm not able to click to go to the link.
Steps to Reproduce
If you know the steps, follow the below format and provide steps to reproduce
For example:

Go to the example page.
2 scroll down
When you see "Do you like it? Please star our repo in Github.
You should be able to click on "Our repo in Github". But I'm not able to.

Environment

Windows 11:
Browser: Chrome

Screenshots
No response
Do you want to work on this issue?
No
If "yes" to above, please explain how you would technically implement this
No response

I would like to work on it

@Nitin6404 Here is the dev community, feel free to join and get in touch with us.

Thanks for reporting! This is good point.
Links are working good when editor is read only, but it should work for edit mode also.
This is how I see the solution to this problem with a good approach to UX:

When you hover over  link in edit mode, something like a small button should be displayed over it

So, when you click on edit it should show Link editor from @yoopta/link-tool package

To access to Link editor from @yoopta/link-tool package (if it passed to props tools) we can use useTools hook

@Nitin6404 It would be great!
Currently we are working on documentation for contribution.
Join to our community - https://t.me/YooptaEditor

Done in @v4.6.4
https://github.com/user-attachments/assets/d6f21270-0ba6-4477-95fc-3099ca98deb7


Minor bug when there are multiple datatables on a page

I'm using put_datatable with the default True value for cell_content_bar.
As you can see in the image below, clicking on a cell in the second datatable updates the cell content bar of the first table.

Environment Information

OS and Version:  Win 11
Browser and Version:  Chrome Version 111.0.5563.147 (Official Build) (64-bit)
Python Version: v3.11.2
PyWebIO Version: v1.8.0

Fixed in v1.8.1


How to add a customize message

Thank you for your reply. But  connecting to the ardupolit, the calculated CRC value is incorrect,I want to know the CRC_EXTRA should be setting whether or not ,and if yes ,how to set?

Hello, CRC_EXTRA is computed automatically from the message struct. If the CRC_EXTRA of the Go message doesn't match the one of the Ardupilot message, it means that the Go message definition is different than the Ardupilot one.
You have to write a .xml containing your dialect, and then:

use it into Ardupilot
use it to generate Go message definitions by using the Dialect importer, as described in the README:
https://github.com/aler9/gomavlib#dialect-generation


[flutter roll] Revert "LinkedText (Linkify)"

Reverts flutter/flutter#125927
context: b/300804374
Looks like a g3 fix might involve changing the names of widget on the customer app, and I am not sure if that would be the right approach forward. Putting up a revert to be safe for now.

@justinmc FYI there's a name conflic. I'll try to reland this with a g3fix later.

@LongCatIsLooong Thanks for helping out with this while I'm out!  Sorry for the breakage.  I'm not opposed to changing the name LinkedText to something else if that's easier.


Add UAE holidays

Hi @dr-prodigy , took a shoot at adding holidays for UAE after reviewing official calendars for the last 5-6 years. Apart from the usual issues with the islamic calendar, the tests proved accurate.
The UAE government also seems to extend public holidays duration arbitrarily by 1 or 2 days depending on the year, this is not something I implemented, would be a best guess situation.
Feel free to let me know if anything with this needs fixing, I hope this can be of help :-)
Cheers

Nice work.
A suggestion: you may consider shadowing https://github.com/dr-prodigy/python-holidays/blob/master/holidays/countries/singapore.py and make it explicitly clear when the holiday returned is estimated vs. an official date.  I don't think holiday should return estimates without being explicit about it.
If you have the time you can also load the actual dates for the past decade or so like for the Singapore module.

Good point, I will edit and resubmit. I had shadowed Egypt for the holiday pattern similarities, but did not have estimates there. About Singapore - do you have a source I can get the official dates from?

The actual dates for Singapore I got directly from the website of the
Ministry of Manpower, which is the official source. To memory this is
documented in the code.
I assume the UAE has a similar official source of information.
On Sun, Aug 9, 2020, 12:09 marcomasulli<EMAIL_ADDRESS>wrote:

Good point, I will edit and resubmit. I had shadowed Egypt for the holiday
pattern similarities, but did not have estimates there. About Singapore -
do you have a source I can get the official dates from?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dr-prodigy/python-holidays/pull/346#issuecomment-671003460,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGLWC73SBVC5FUONQNCL6FDR7YOOFANCNFSM4PYSMUDA
.

Hi, I added sources and the actual dates since 2017. The only governmental source which I found only has the last holiday dates for 2019 and all 2020; for the other years I had to rely on national newspaper websites, cross checking each holiday (as they are all officially announced/confirmed separately).
I will be able to add more information about the previous years further on, please let me know if anything needs fixing.
Cheers!

Code looks great to me, excellent!
One last bit: you also need to add testing code in tests.py. Of course this is as easy as just adapting some other country's test code to the UAE holidays. Please ensure that the tests ideally have 100% coverage of the code you wrote, and you can run them yourself before pushing as per here.
Tests not only ensure that the new code works, but also that future changes (including changes made by libraries that are being imported) don't cause it to stop working.
P.S. for the record I did not independently validate the dates.

Hi, thanks a lot for the comments and guidance - ran flake8 and tests, rewrote a few things to fit lines within 80 chars (apart from source links). Should something still need fixing please let me know. Cheers!

Thank you!
I have no further comments, it's up to @dr-prodigy

Hey there,
great collaboration work, brilliant! .. thanks a lot to you both! 👍
Just for the sake of completeness, last things I made:

moved target branch to "beta"
made some more code updates to avoid flake8 complaining for lines too long
had to revert f'{aaa}' strings (very elegant and effective, btw) to good old '{}'.format(aaa) to preserve Python2 compat

Merged and available in beta.. cheers! :-)


⚠ API - Lens has degraded performance

In 0eb1189, API - Lens ($LENS_API_URL) experienced degraded performance:

HTTP code: 503
Response time: 625 ms

Resolved: API - Lens performance has improved in f4e4e52 after 6 minutes.


Add Farsi translated messages in the locale

Signed-off-by: Yazdan Ranjbar<EMAIL_ADDRESS>Farsi translated messages in the locale
What problem have you solved?
I added Persian/Farsi locale package
How did you solve the problem?
I've just added a django.po file that contains translated messages.
Have you written tests? Have you included screenshots of your changes if applicable? There is no need for that
Did you document your changes? There is no need for that

Coverage decreased (-2.5%) to 94.244% when pulling 9fd9b1d1a80ac5e6d0bf1b441298a50b50d1ac5e on YazdanRa:master into eb0808c45fecb7353b9d08903ffbe12690964e9a on django-import-export:master.


Update feedback from as per designs

https://www.pivotaltracker.com/story/show/96983042
Form should now have:

comments
petition title / link (optional)
email address (optional)

LGTM :cake:

:+1:

Thanks all, please merge when ready


directive isOwner and isOwnerOrHasRole works at field level but not query level

Using your example code, the field-level isOwner and isOwnerOrHasRole directives are working as expected, but when used a the query level, they don't seem to be restricting the query results to nodes owned by the querying user. In fact, after adding some logging, the directives don't appear to be firing at all on the query level.
Should I expect to be able to restrict query results to nodes owned by the querying user? Do I need to implement a different directive?

Hi Tim,
Thanks for the message and question!
Directive resolvers fire on fields, not on types.  I will refactor this repo to use the new Schema Directives API soon.  Until then, please check out https://www.apollographql.com/docs/graphql-tools/schema-directives.html and you should be on your way!


polish translate

Codecov Report

Merging #64 into master will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##              master       #64   +/-   ##
===========================================
  Coverage     100.00%   100.00%
  Complexity       354       354
===========================================
  Files             25        25
  Lines            908       908
===========================================
  Hits             908       908

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 279b405...6141db0. Read the comment docs.

Thank you!


timesyncd doesn't seem to sync if the clock is too far off (DNSSEC?) - thus breaking all DNS

Describe the bug
I'm bringing up new RPis and their clocks are often wrong.
Even though upstream systemd has given timesyncd exceptions to be able to skip dnssec check for ntp sync, it doesn't... appear to be working.
If I set the date manually, often by time I check timesyncd will have already taken care of kicking in and it reports that it's synced.
Steps To Reproduce
Steps to reproduce the behavior:

Skew the clock badly.
Enable timesyncd.
Reboot and see if your DNS works

If I read it right, their workaround only works for systemd-resolved.  A general workaround is to use hard-coded IP addresses for NTP (our routers actually do that IIRC).

That commit seems to indicate that it should bypass DNSSEC for timesyncd. This would get my clock back in sync, thus resolving DNSSEC errors for the rest of the system. But timesyncd isn't doing its job. I assume that's because: date wrong -> dnssec failure. But maybe timesyncd also fails if the clock is just too askew?
I'll try to look more later, maybe I have to opt-in large corrections? Seems a bit weird to me. Or do we maybe use timesyncd in a non-standard way?

I ran into this on a Raspberry Pi 3B. I'm using systemd-networkd including systemd-resolved. At some point DNS started failing, and I noticed the system clock was out of sync by about 4 hours and not synchronizing anymore. The log of systemd-resolved was full of DNSSEC signature-expireds:
Jun 01 16:31:10 obsidian systemd-resolved[655]: [🡕] DNSSEC validation failed for question pool.ntp.org IN SOA: signature-expired
Jun 01 16:31:10 obsidian systemd-resolved[655]: [🡕] DNSSEC validation failed for question NIXos.pool.ntp.org IN DS: signature-expired
Jun 01 16:31:10 obsidian systemd-resolved[655]: [🡕] DNSSEC validation failed for question NIXos.pool.ntp.org IN SOA: signature-expired
Jun 01 16:31:10 obsidian systemd-resolved[655]: [🡕] DNSSEC validation failed for question pool.ntp.org IN SOA: signature-expired
Jun 01 16:31:10 obsidian systemd-resolved[655]: [🡕] DNSSEC validation failed for question NIXos.pool.ntp.org IN DS: signature-expired
Jun 01 16:31:10 obsidian systemd-resolved[655]: [🡕] DNSSEC validation failed for question NIXos.pool.ntp.org IN SOA: signature-expired
Jun 01 16:31:10 obsidian systemd-resolved[655]: [🡕] DNSSEC validation failed for question 1.NIXos.pool.ntp.org IN DS: signature-expired
Jun 01 16:31:10 obsidian systemd-resolved[655]: [🡕] DNSSEC validation failed for question 1.NIXos.pool.ntp.org IN SOA: signature-expired
Jun 01 16:31:10 obsidian systemd-resolved[655]: [🡕] DNSSEC validation failed for question 1.nixos.pool.ntp.org IN AAAA: signature-expired
Jun 01 16:31:10 obsidian systemd-resolved[655]: [🡕] DNSSEC validation failed for question 1.nixos.pool.ntp.org IN A: signature-expired

I'm not sure what changed, because I was able to install NixOS just fine. It also was offline before for some time without this problem happening (as far as I noticed at least), and it started happening after it was online for some time without break.
Also, the systemd-native workaround should be working on NixOS as well, I can't find anything that indicates a non-standard setup that might overwrite tha workaround.
Checking systemctl cat systemd-timesyncd is the standard original systemd unit file that includes the relevant Environment= line and as far as I can see it isn't overridden. I also checked /proc/[PID of the systemd-timesyncd process]/environ and it includes SYSTEMD_NSS_RESOLVE_VALIDATE=0.
For now, I worked around the issue by specifying my NTP servers by IP (I used the ones by the German PTB).


Less logging please

Is there any way to cut down the logging to the console.  My console is always full of the logs from polling the devices every 5 mins.  Please provide an option to enable/disable verbose logging.

Bug is in homebridge not in this plugin.
It is fixed in the homebridge pre release.


Update Mauritius in order to support mobile and landlines

Hi Florian!
This PR should fix an issue with Mauritian numbers.  As per Wikipedia, Mauritian mobile numbers consist of 8 digits (always beginning with 5), and landline numbers consist of 7 digits (always beginning with 2, 4 or 6).  Before this PR, all Mauritian landline numbers would unfortunately fail validation.
Please let me know if any additional work is required :-)
Thanks!

Hi @floere !  Checking in: are you happy with these changes?  Anything additional you need me to do?

Hi @johanmeiring! I was busy at work, then holidaying/got sick. I am very happy, thanks so much for this excellent PR 🙇🏻♂ Released in 2.20.6 🚀

@floere All good, life happens.  Hope you're feeling better.  And thanks so much for the merge and the release, much appreciated!


Warning is printed on ruby 1.9.3 for #object_id

This library will not support 1.9.3 soon, so I am saying this is a #wontfix.


Performance Query!!

Hey, this is not an issue rather a query.
I'm using softether to bypass my isp restrictions. I've installed the server software on my vps and I'm using softether SSL vpn. But, I've found that the connection is pretty slow. As it is https, i'm pretty sure it isn't being throttled by the isp. So, theoritically I should get similar speed on browsing over the vpn as much as I'm getting without it. or even better with ssl vpn's compression enabled (note:my client system is pretty capable so compression decompression might not bother it that much). I do want to mention that my Server System is in a different geographic location and has a visible latency. Also the server system has only a single core and 512MB RAM. but, i'm the sole user of the vpn.
So, here's my question. What could be reason for the slow speed. I'm using mutiple tcp streams. Is it because of the latency issue or the weak hardware on the server. Please, reply so that I could make necessary updates to the hardware.

You do not need fast hardware. you need only good bandwidth.
Test your server speed. you can use speedtest to do this. Google "speedtest centos"


chore(ux): use appropriate icon for help dropdown

This PR applies further adjustments to the user/help dropdown menus. We now get the proper "help" icon on large viewports, which converts to a kebab on smaller viewports.
Desktop:

Tablet:

Mobile:

PR Storybook available here

Looks good to me! Thank you!


Update example webpack output in asset-management.md

the webpack version in the console output is too old (2.6.1)
the console output is too verbose, which doesn't seem to be the default setting

Sorry, I forgot to update the rest of the article. I followed along and updated accordingly.

Thanks!


RFC: remove double dispatch from pass plumbing

This is an experimental branch refactoring the pass organization and some of the structures used for code generation. The intention is to simplify the code and remove the reliance on RTTI and dynamic dispatch when not needed, and generally prepare for larger changes to code generation. An attempt has been made to stage the early parts, in order to 1) gather early feedback and drop the changes if not palatable, 2) ensure that the code remains functional at each intermediate step, and 3) ensure that the changes are understandable.
Currently in the series there are two changes:

Structure the pass manager around the Program type, rather than the generic Node*. More likely there was an early attempt to structure passes such that they could be run at any part of the AST (giving fine-grained control), but in reality they are only used at the whole program level. Leaning in to this provides more robust types in the APIs.
Convert the Visitor to use a statically-defined template-based dispatch rather than relying on the double virtual dispatch and manually-constructed vtable. For now, this continues to rely on RTTI for the Expression and Statement base types and has a couple of kludges, which will be removed subsequently.

The "coming soon" changes are:

Clean the CodegenLLVM pass to use a structured return value rather than expr_ and expr_deleter_ during code generation. This uses the new Visitor pattern, which allows for such a return and will make the code more robust and easy to understand (using the control flow for return values, rather than a lookaside value in the object).
Convert the Expression* and Statement* base types to wrappers of an exhaustive variant. Prior to this, separate changes may be required to clean-up the use of is_literal and other metadata that has been hidden away in these classes. This will remove any need for RTTI, and clean the kludges introduced above.

All feedback and opinions welcome!

Interesting approach, seems like a nice cleanup on first glance although
How does this impact compiletime, size, execution speed (if measurable on the few passes we have)

I'm not going for the performance angle, but I added a benchmark for basic compilation (will send separate pull req for all these commits once they start to make sense, that commit is now in the stack).
Measuring before:
-----------------------------------------------------------------------
Benchmark                             Time             CPU   Iterations
-----------------------------------------------------------------------
BM_compile/parse_while_loop    89932842 ns     43255410 ns           30
BM_compile/passes_while_loop  183938901 ns     78489637 ns           19

And after:
-----------------------------------------------------------------------
Benchmark                             Time             CPU   Iterations
-----------------------------------------------------------------------
BM_compile/parse_while_loop    84139538 ns     39948835 ns           31
BM_compile/passes_while_loop  157490936 ns     70854450 ns           18

There's quite a bit of variability there (and the divergence between Time and CPU means something else is going on), but the CPU time is probably the best metric here, and I generally observed it being 5-10% faster.
I didn't observe any specific difference in the binary sizes (just checked the benchmark binary, which includes the passes). I'm not sure if compile time is affected, but I didn't really notice anything outrageous.


Bumping prod-playbooks NS & Demo to 5.4.6

Conflicting PR. Removed from build MANAGEMENT_TOOLS-merge#1892. See the console output for more details.
Possible conflicts:

PR #62 kennethgillen 'pub-omero equivalent to demoserver'

ome-demoserver.yml

--conflicts

Has this been deployed to production yet i.e. do we have logs? If yes, i'd vote for getting this is as this reflects the state of prod servers and fix the conflicts on #62 (where changes were requested).

Yes,
Deployed live:
ome-demoserver: ara:///reports/dcb55552-a03c-4643-a378-a4bd6e6f43f2.html
ns-web: ara:///reports/1ba0f44c-7e33-4670-b999-6305cda59769.html
ns-web-pub: ara:///reports/997b97c8-96f0-4d65-a404-cbb61b1c4231.html
I'd also prefer to make changes to the pub-omero PR.

Empty PR description. Please add a short summary of the PR scope and some testing instructions.

Updated. Sorry @snoopycrimecop.


Pipelines appear not to trigger on file change if listening to a cron pipeline repo

Create Pipeline A that loads files from an external source (s3, wget, etc)
Pipeline A is set up with an input.cron of one hour
Pipeline A sees "new" data as scheduled
Create Pipeline B that triggers on file change from atom input of repo A
Pipeline B will never trigger.
Create repo C and manually commit files from Repo A to Repo C.
Update Pipeline B to to take atom input from Repo C.
Pipeline B now triggers.

Strangely enough if you set up the automatically generated cron repo as input that triggers jobs no problem.

thanks @bpb. We'll repro this and get a fix. @jdoliner

So, I think I have reproduced the error here.  @bpb please let me know if there is any part of the following that is not consistent with your situation.  I'm also modifying the title of the issue to match the underlying problem.
Behavior
A pipeline that is subscribed to a repo, where the repo is the output of a cron triggered pipeline, will not run.  Actually, it seems like such a pipeline can't even be successfully created.  When you run create-pipeline to create such a pipeline, the worker pod get stucks in an endless CrashLoopBackoff.
How to reproduce
Consider the following pipeline spec:
{
  "pipeline": {
    "name": "copy"
  },
  "transform": {
    "cmd": [ "/bin/bash" ],
    "stdin": [
      "cp /pfs/query/output.json /pfs/out/copied.json"
    ]
  },
  "input": {
    "atom": {
      "repo": "query",
      "glob": "/"
    }
  }
}

If you manually create the query repo, put an output.json file into it, and create this pipeline, everything happens as expected:
$ pachctl create-repo query
$ pachctl create-pipeline -f copy.json
$ pachctl put-file query master output.json -c -f README.md
$ pachctl list-job
ID                                   OUTPUT COMMIT                         STARTED       DURATION           RESTART PROGRESS  DL       UL       STATE
3983a10a-0da3-4a91-b54c-cfd216b50f4a copy/039687fd7aa9446fa79ae96293cbfe78 2 seconds ago Less than a second 0       1 + 0 / 1 15.26KiB 15.26KiB success
$ pachctl list-repo
NAME                CREATED             SIZE
copy                4 minutes ago       15.26KiB
query               4 minutes ago       15.26KiB

However, if you instead run the cron example (which creates the query repo as the output of a cron triggered pipeline) and then try to create the copy pipeline, the pipeline is not triggered:
$ pachctl list-job
ID                                   OUTPUT COMMIT                          STARTED            DURATION  RESTART PROGRESS  DL  UL   STATE
a6928098-2b5e-4305-8b45-e1af574949c1 query/ad509999b1cf48c99946e139fdf7ba08 24 seconds ago     1 second  0       1 + 0 / 1 26B 660B success
1cd91b4f-ce88-4e0f-bf0a-3b42cd043230 query/2a46247e49d44407967d372fc59baaaf About a minute ago 1 second  0       1 + 0 / 1 26B 365B success
ccd96b26-f046-45e1-ab52-7205d8b516be query/320e796879a94436ad342e7175f2c097 About a minute ago 1 second  0       1 + 0 / 1 26B 750B success
ad2e8680-d174-4781-9e2e-9696df3a7267 query/7546e0e2ae274fc2b914ff1b7f6b401a About a minute ago 2 seconds 0       1 + 0 / 1 26B 746B success

Actually, the worker pod for the copy pipeline doesn't even come up in k8s.
Status:         Running
IP:             <IP_ADDRESS>
Created By:     ReplicationController/pipeline-copy-v1
Controlled By:  ReplicationController/pipeline-copy-v1
Init Containers:
  init:
    Container ID:       docker://90197e40c91aec4e75be082beb99980accb5ff4ed9ad962b02f2938e1d85df10
    Image:              pachyderm/worker:1.5.3
    Image ID:           docker-pullable://pachyderm/worker@sha256:fc1d207d5aa7820c82628cae179e174cb1a5b60fcc9afcadfef72e0c51f2192a
    Port:               <none>
    Command:
      /pach/worker.sh
    State:              Terminated
      Reason:           Completed
      Exit Code:        0
      Started:          Tue, 29 Aug 2017 12:41:29 -0400
      Finished:         Tue, 29 Aug 2017 12:41:29 -0400
    Ready:              True
    Restart Count:      0
    Environment:
      PPS_WORKER_IP:             (v1:status.podIP)
      PPS_POD_NAME:             pipeline-copy-v1-5cqbr (v1:metadata.name)
      PPS_ETCD_PREFIX:          pachyderm_pps
      PPS_NAMESPACE:            default
      PPS_PIPELINE_NAME:        copy
    Mounts:
      /pach-bin from pach-bin (rw)
      /scratch from pachyderm-worker (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-c8nbj (ro)
Containers:
  user:
    Container ID:       docker://74dd8342f922942a8cc0d8513e209637e9d0fe648e90641152661c3513b1475d
    Image:              ubuntu:16.04
    Image ID:           docker-pullable://ubuntu@sha256:34471448724419596ca4e890496d375801de21b0e67b81a77fd6155ce001edad
    Port:               <none>
    Command:
      /pach-bin/guest.sh
    State:              Waiting
      Reason:           CrashLoopBackOff
    Last State:         Terminated
      Reason:           Error
      Exit Code:        2
      Started:          Tue, 29 Aug 2017 12:43:03 -0400
      Finished:         Tue, 29 Aug 2017 12:43:03 -0400
    Ready:              False
    Restart Count:      4
    Requests:
      alpha.kubernetes.io/nvidia-gpu:   0
      cpu:                              0
      memory:                           64M
    Environment:
      PPS_WORKER_IP:             (v1:status.podIP)
      PPS_POD_NAME:             pipeline-copy-v1-5cqbr (v1:metadata.name)
      PPS_ETCD_PREFIX:          pachyderm_pps
      PPS_NAMESPACE:            default
      PPS_PIPELINE_NAME:        copy
    Mounts:
      /pach-bin from pach-bin (rw)
      /scratch from pachyderm-worker (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-c8nbj (ro)
  storage:
    Container ID:       docker://f831a7c2f412861f0221c50387dad354b595214c6143bc75c82d72dbdeec1b77
    Image:              pachyderm/pachd:1.5.3
    Image ID:           docker-pullable://pachyderm/pachd@sha256:79ce19d7258752d196f632250949aa2c68f86ec55bfb578400cdd7067c9ec133
    Port:               <none>
    Command:
      /pachd
      --mode
      sidecar
    State:              Running
      Started:          Tue, 29 Aug 2017 12:41:31 -0400
    Ready:              True
    Restart Count:      0
    Environment:
      BLOCK_CACHE_BYTES:        64M
      PFS_CACHE_SIZE:           16
      PACH_ROOT:                /pach
      STORAGE_BACKEND:
    Mounts:
      /pach from pach-disk (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-c8nbj (ro)
Conditions:
  Type          Status
  Initialized   True
  Ready         False
  PodScheduled  True
Volumes:
  pach-bin:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
  pachyderm-worker:
    Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
    Medium:
  pach-disk:
    Type:       HostPath (bare host directory volume)
    Path:       /var/pachyderm/pachd
  default-token-c8nbj:
    Type:       Secret (a volume populated by a Secret)
    SecretName: default-token-c8nbj
    Optional:   false
QoS Class:      Burstable
Node-Selectors: <none>
Tolerations:    <none>
Events:
  FirstSeen     LastSeen        Count   From                    SubObjectPath                   Type            Reason                  Message
  ---------     --------        -----   ----                    -------------                   --------        ------                  -------
  2m            2m              1       kubelet, minikube       spec.initContainers{init}       Normal          Created                 Created container
  2m            2m              1       kubelet, minikube                                       Normal          SuccessfulMountVolume   MountVolume.SetUp succeeded for volume "pach-disk"
  2m            2m              1       kubelet, minikube                                       Normal          SuccessfulMountVolume   MountVolume.SetUp succeeded for volume "pachyderm-worker"
  2m            2m              1       kubelet, minikube                                       Normal          SuccessfulMountVolume   MountVolume.SetUp succeeded for volume "pach-bin"
  2m            2m              1       kubelet, minikube                                       Normal          SuccessfulMountVolume   MountVolume.SetUp succeeded for volume "default-token-c8nbj"
  2m            2m              1       kubelet, minikube       spec.initContainers{init}       Normal          Pulled                  Container image "pachyderm/worker:1.5.3" already present on machine
  2m            2m              1       kubelet, minikube       spec.initContainers{init}       Normal          Started                 Started container
  2m            2m              1       default-scheduler                                       Normal          Scheduled               Successfully assigned pipeline-copy-v1-5cqbr to minikube
  2m            2m              1       kubelet, minikube       spec.containers{storage}        Normal          Pulled                  Container image "pachyderm/pachd:1.5.3" already present on machine
  2m            2m              1       kubelet, minikube       spec.containers{storage}        Normal          Started                 Started container
  2m            2m              1       kubelet, minikube       spec.containers{storage}        Normal          Created                 Created container
  2m            40s             5       kubelet, minikube       spec.containers{user}           Normal          Pulled                  Container image "ubuntu:16.04" already present on machine
  2m            40s             5       kubelet, minikube       spec.containers{user}           Normal          Started                 Started container
  2m            40s             5       kubelet, minikube       spec.containers{user}           Normal          Created                 Created container
  2m            9s              10      kubelet, miniku    Command:
      /pach/worker.sh
    State:              Terminated
      Reason:           Completed
      Exit Code:        0
      Started:          Tue, 29 Aug 2017 12:41:29 -0400
      Finished:         Tue, 29 Aug 2017 12:41:29 -0400
    Ready:              True
    Restart Count:      0
    Environment:
      PPS_WORKER_IP:             (v1:status.podIP)
      PPS_POD_NAME:             pipeline-copy-v1-5cqbr (v1:metadata.name)
      PPS_ETCD_PREFIX:          pachyderm_pps
      PPS_NAMESPACE:            default
      PPS_PIPELINE_NAME:        copy
    Mounts:
      /pach-bin from pach-bin (rw)
      /scratch from pachyderm-worker (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-c8nbj (ro)
Containers:
  user:
    Container ID:       docker://74dd8342f922942a8cc0d8513e209637e9d0fe648e90641152661c3513b1475d
    Image:              ubuntu:16.04
    Image ID:           docker-pullable://ubuntu@sha256:34471448724419596ca4e890496d375801de21b0e67b81a77fd6155ce001edad
    Port:               <none>
    Command:
      /pach-bin/guest.sh
    State:              Waiting
      Reason:           CrashLoopBackOff
    Last State:         Terminated
      Reason:           Error
      Exit Code:        2
      Started:          Tue, 29 Aug 2017 12:43:03 -0400
      Finished:         Tue, 29 Aug 2017 12:43:03 -0400
    Ready:              False
    Restart Count:      4
    Requests:
      alpha.kubernetes.io/nvidia-gpu:   0
      cpu:                              0
      memory:                           64M
    Environment:
      PPS_WORKER_IP:             (v1:status.podIP)
      PPS_POD_NAME:             pipeline-copy-v1-5cqbr (v1:metadata.name)
      PPS_ETCD_PREFIX:          pachyderm_pps
      PPS_NAMESPACE:            default
      PPS_PIPELINE_NAME:        copy
    Mounts:
      /pach-bin from pach-bin (rw)
      /scratch from pachyderm-worker (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-c8nbj (ro)
  storage:
    Container ID:       docker://f831a7c2f412861f0221c50387dad354b595214c6143bc75c82d72dbdeec1b77
    Image:              pachyderm/pachd:1.5.3be       spec.containers{user}           Warning         BackOff                 Back-off restarting failed container
  2m            9s              10      kubelet, minikube                                       Warning         FailedSync              Error syncing pod


%source_dir% incorrect when using UNC paths

Setting Project Settings / Default Target Directory to "%source_dir%" results in converted file being incorrectly written to C:\SERVER_NAME\SHARE\PATH\ folder on local system instead of \SERVER_NAME\SHARE\PATH\ on server as intended.
Reason:  Leading "" UNC path qualifier is apparently missing in %source_dir% variable.

Next build will have some UNC fixes.


Add note about this being supported natively in Firefox

The Firefox DevTools console now has native support for server-sent console messages. I’ve tested in Firefox Nightly: see screenshot.
I’m not sure when this will reach Firefox stable, but still, I think it’s worth noting in your README that this support exists in Firefox natively.

Interesting, I will absolutely add it.

A notice about Firefox Nightly has been added in version 0.1.4, thank you :+1:.


cryptopia

Hey, I'm just wondering, I have seen in your description

I use it for various altcoin trading platforms that use SignalR.

Have you maybe tried using it for cryptopia?
Thank you

Seems it was easier than I expected, thanks anyway.


Odevin refuses to connect locally - Goes to OpenAI

Is there an existing issue for the same bug?

[X] I have checked the troubleshooting document at https://opendevin.github.io/OpenDevin/modules/usage/troubleshooting
[X] I have checked the existing issues.

Describe the bug
There was the issue of OD demanding OpenAI through token and it was posted that this was patched out, but I don't see it. I followed the instructions, set it up, but OD still wants to connect to OpenAI, even though I set the localhost:port to my current local OpenAI-like server. This same server (VLLM) works fine with other similar software solutions, so I know the problem isn't with it.
Current Version
ghcr.io/opendevin/opendevin:0.4.0

Installation and Configuration
export LLM_API_KEY="KEY" -v $WORKSPACE_BASE:/opt/workspdocker run     -e LLM_API_KEY     -e WORKSPACE_MOUNT_PATH=$WORKSPACE_BASE     -v $WORKSPACE_BASE:/opt/workspace_base     -v /var/run/docker.sock:/var/run/docker.sock     -p 3000:3000     --add-host host.docker.internal:host-gateway     ghcr.io/opendevin/opendevin:0.4.0

Model and Agent
Should be a TheBloke model, but it insists on ChatGPT3.5
Reproduction Steps
No response
Logs, Errors, Screenshots, and Additional Context
No response

@zeta274 Can you please start the app in the browser, and enter the model in the Settings there? The model name you enter and save in the UI is the model name that will be used.

@zeta274 Can you please start the app in the browser, and enter the model in the Settings there? The model name you enter and save in the UI is the model name that will be used.

It says "LiteLLM: Network Problem"

LLM Provider NOT provided. Pass in the LLM provider you are trying to call. You passed model=meta-llama/Meta-Llama-3-8B-Instruct

@zeta274 that doesn't look like a valid model name to me. You might want something like ollama/Meta-Llama-3-8B-Instruct

Going to close this one as I think it's just a model name issue (and the fact that it needs to be set in the UI)

But feel free to ping this thread if you're still having trouble!

I'm not using Ollama, I'm on VLLM, with the OpenAI-like API.

@zeta274 Can you add the model name in the UI? Please if it still doesn't work, tell what exactly are you passing, both in the command to run and in the UI.


Maximum of 65535 frames/

Noticed in the TekkenGameState you're capping out of 65535 frames of gamedata, is there a reason here?
Another aside, is that if I remember correctly (at work rn) rage arts show the improper amount of startup frames (probably because of the super flash). Is this because you're missing another "ComplexMoveState" for rage art startup?
Nice job with this btw, if you want any help let me know

Yeah, that's because the number I'm using to order frames caps at 0xFFFF.  I don't actually know what that number is, it's not the game timer, just something that goes up 1 each frame and doesn't reset. At some point I need to replace it with the actual in game frame counter, but I haven't found it yet.
Rage move startup is definitely including the super flash frames right now, I haven't looked into to sorting it out yet so I don't know how easy/difficult it'll be to fix.

I have a fork where i've found static values for frame count (which I get as an 8byte number, probably more than enough frames), and I've also found static memory addresses for player1/player2 data. After making these changes, I get the block and hit frames and damage to show up perfectly, but startup and attack type(mid/high etc) aren't updating properly. I've tried scanning for startup values, but I can only find the 8 offset values, which are how the current app works. To get move startup frames, did you just scan for 11 while doing an i11 move etc. If not, let me know so I can try to figure that out.


Utilize react components in the markdown files

Describe the solution you'd like
When create markdown pages, I'd like to be able to call some components (i.e. cards for all the colors) so I don't have to write a bunch of html
mdxjs seems to be the preferred library for Gatsby, but open to strong contenders.
Describe alternatives you've considered
Having the components render on a sample page, then copying/pasting the html into markdown

I've been eyeing mdx for this: https://www.gatsbyjs.org/packages/gatsby-plugin-mdx/?no-cache=1

https://mdxjs.com/

Isn't this the same thing? (install looks the same: https://mdxjs.com/getting-started/gatsby)
I tried it a few weeks ago, but got some errors and gave up pretty quickly.....

It's alive! #108


memory leak when config SVProgressHud

when use SVProgressHUD.setBackgroundColor lead memory leak

I've updated the component and addressed several bugs. Please review version 2.3.0, and should you find any remaining issues, your feedback would be greatly valued.


[BUG] Showing Infinite Sekelon Loading on Getting Started Page

Describe the bug
As I was exploring the web components and found https://web-components-beta.vercel.app/ where I'm not able to see the content of the getting started page.

Getting 403 error from the backend on this API.

To Reproduce
Steps to reproduce the behavior:

open https://web-components-beta.vercel.app/docs/intro/getting-started

Expected behavior
It should load the content from the API.
Screenshots

Desktop (please complete the following information):

OS: MacOS M1
Chrome
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

HI @nishant23122000, thanks for finding the bug. As seen in console, there is CORS issue.

Hey, @tanya17-05 It's because the backend is deployed on Heroku and they removed their free tier services. we have to find other alternatives to Heroku.  Ex. Cyclic , Render.


2.1.0

@melloware just FYI that the GitHub Release will be created automatically when this PR is merged


TransIP SOAP API is deprecated

The documentation (https://api.transip.nl/rest/docs.html) stated:
"we strong advise to switch to the new REST API because the SOAP API has been deprecated."
So maybe an idea to switch to REST API V6? 😃

Hi @basst85
I'm aware of the fact that the V5 API has been deprecated. I am planning on rewriting the library to make us of the V6 API, especially since there still is no .Net library available: https://www.transip.nl/developers/repositories/
Unfortunately, I'm currently occupied with other projects and this one has a lower priority for me.


Replace Pollution law with International Waters Draft

The primary reason for the pollution law was to protect the Danube as it is an International body of water. That protection is better served by a draft concerning International Waters and Waterways.
The pollution law was too broad and could be used to prohibit a wide range of activities, bringing it into conflict with the Constitution.

I'm closing this as I feel it would the issue would be better dealt with by dealing more broadly with Treaties and how they are to be implemented in Liberland.


Add Saving of Individual Docking Results to Avoid Losing Everything

Description
Provide a brief description of the PR's purpose here.
Todos
Notable points that this PR has either accomplished or will accomplish.

[ ] Point 1 ...

Questions

[ ] Question 1 ..

Status

[ ] Ready to go

Developers certificate of origin

[ ] I certify that this contribution is covered by the MIT license as defined in our LICENSE and adheres to the Developer Certificate of Origin.

This has been addressed in #679, @apayne97 we should probably close (thanks for all your help), ill leave that to you at your leisure?


Stepper active, completed parent access

Hello All,
I wanted to change the design of the "td-stepper-header" background for the completed and active state through the SCSS but I couldn't find any classes that are accessible through SCSS except for the mat-icon class that are changed according to the state.
I have tried using the following scss using ng-reflect property for both active and completed state but it is not effective in production mode:

td-step-header[ng-reflect-active="true"] {
      background: #FEC107 !important;
      .td-step-header {
        .ng-star-inserted {
          color: #000;
        }

        .td-circle {
          background: #fff !important;

          span {
            color: #616161;
          }
        }

        .td-step-label-wrapper {
          span {
            color: #616161;
          }
        }
      }
    }

So, Is there a way to change the background color of "td-stepper-header" through accessing the parent level of the mat-icon determining the state of stepper that are completed and active like the following image here below:

Thanks any help regarding this would be really appreciable!

Hey @kcprabase did you solve this?

Not yet!
Thanks
On Sat, Jul 21, 2018, 8:55 PM kelvin knighton<EMAIL_ADDRESS>wrote:

Hey @kcprabase https://github.com/kcprabase did you solve this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Teradata/covalent/issues/1190#issuecomment-406802848,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgKlzLL1V-M4y7v_3SMqBCMs4qlyTcORks5uI0RxgaJpZM4VHQsj
.

Sure. thanks!
On Sat, Jul 21, 2018, 9:09 PM kelvin knighton<EMAIL_ADDRESS>wrote:

I think you should reopen the issue, maybe someone with more covalent
experience can be of some assistance (Go back on gitter & let them know
you're issue still stands and that you're grateful for any help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Teradata/covalent/issues/1190#issuecomment-406803649,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AgKlzG7K5TpY8WyJh91X-e_mGK79-5Yxks5uI0eugaJpZM4VHQsj
.

this component is deprecated and will not be supported future versions please use https://material.angular.io/components/stepper/overview


Ability to output portfolio holding amount

Is there a way I can get cointop to output my current holdings? Specifically the entire holdings in fiat. If not can this be implemented?

@Emobe the total portfolio value in fiat is visible at the top of the chart as seen in this example:

Or did you mean output the holdings as in by running a command?

being able to check the total portfolio value from the command line would be indeed fantastic. Is there a way to achieve that?
Thanks !

@wokawoka there's isn't a way yet. I'll include this feature in a future release!

@wokawoka there's isn't a way yet. I'll include this feature in a future release!

great, we are really looking forward for it, it would be just great!
As a side note, is there by chance a way to retrieve the bitcoin dominance value from the command line?
Also, I'm trying to retrieve the value listed on this page https://www.coingecko.com/en/coins/fear-greed-sentiment-set-ii  without success, "cointop price -c greed" doesn't work. Any idea?
Thank you for the extremely useful work you are doing!!!

The commands cointop holdings and cointop holdings --total have been added and are available in the latest commit (install with go get to try it out).
Here's an example of the output:

Feedback welcomed :)

Thanks! This is definitely what I was looking for, going to try it out :)

Working perfect thanks.
Is there a way to specify a specific coin's holdings too? e.g cointop holdings btc would output bitcoin holdings and balance in fiat? It's okay if not, I could use some filtering with other commands if so

Not yet but filtering options and output formats (ie csv) will be added this week before publishing a new release

Hey @wokawoka mind creating a separate issue for those bugs and suggestions to track them separately? thanks!

No worries, does what I wanted to do for now. Thanks for being so quick and I look forward to the filtering!

Here are examples of some new flags for the holdings command:
Default holdings table view:
$ cointop holdings
    name        symbol       price      holdings         balance         24h%   %holdings
Bitcoin         BTC       11833.16            10        118331.6        -1.02       74.14
Ethereum        ETH          394.9           100           39490         0.02       24.74
Dogecoin        DOGE    0.00355861        500000          1779.3         1.46        1.11

Output to csv:
$ cointop holdings --format csv
name,symbol,price,holdings,balance,24h%,%holdings
Bitcoin,BTC,11833.16,10,118331.6,-1.02,74.16
Ethereum,ETH,394.48,100,39448,-0.18,24.72
Dogecoin,DOGE,0.00355861,500000,1779.3,1.46,1.12

Output to json:
$ cointop holdings --format json
[{"%holdings":"74.16","24h%":"-1.02","balance":"118331.6","holdings":"10","name":"Bitcoin","price":"11833.16","symbol":"BTC"},{"%holdings":"24.72","24h%":"-0.18","balance":"39448","holdings":"100","name":"Ethereum","price":"394.48","symbol":"ETH"},{"%holdings":"1.12","24h%":"1.46","balance":"1779.3","holdings":"500000","name":"Dogecoin","price":"0.00355861","symbol":"DOGE"}]

Human readable numbers (adds comma and dollar signs):
$ cointop holdings -h
    name        symbol        price     holdings           balance        24h%  %holdings
Bitcoin         BTC      $11,833.16           10        $118,331.6      -1.02%     74.14%
Ethereum        ETH          $394.9          100           $39,490       0.02%     24.74%
Dogecoin        DOGE    $0.00355861      500,000          $1,779.3       1.46%      1.11%

Filter coins based on name or symbol:
$ cointop holdings --filter btc,eth
    name        symbol     price        holdings         balance         24h%   %holdings
Bitcoin         BTC     11833.16              10        118331.6        -1.02       74.16
Ethereum        ETH       394.48             100           39448        -0.18       24.72

You can of course combine flags:
$ cointop holdings --total --filter btc,doge --format json -h
{"total":"$120,298.37"}

For all other options, see help command:
$ cointop holdings --help

@wokawoka since that token is a low market cap token then looking up by symbol won't work. Try using the coin name slug:
$ cointop price -c 'fear-greed-sentiment-set-ii'
$238.53

Closed by https://github.com/miguelmota/cointop/commit/97facbe48daf2c234203bb886f81fc269ee27f9d, https://github.com/miguelmota/cointop/commit/d8f88d8cf3b73d9186beaa051e569b8d9cac3d7c, https://github.com/miguelmota/cointop/commit/832284dc263dad8b0bb685ed25382e13222ed672, and https://github.com/miguelmota/cointop/commit/261f893c61a0a7687a85c784a69fedcf0e32df4b

Hey, thank you SO much for implementing the commandline portfolio and dominance features! You really rock!
Sorry for replying so late, the past month has been a kind of hell for me and I had to put everything on pause so that I visited this issue only now.
Just a last question: do you by chance think that it would be possible to include the possibility of adding a fixed amount of euros or dollars to the portfolio? I guess that at the moment that's not possible since we are talking about fiat and euros and dollars are not listed on coingecko, but it would indeed be very useful in many cases (for example when you want to monitor the total amount you reserved to crypto on an exchange).
Thank you again for the extremely useful work you are doing!

@miguelmota
sorry to bother again, but I'm playing with the "cointop holdings" command; it's really a great feature, but is there by chance the possibility to pass the currency like for single coins with the "-f eur" or "-f usd" parameter?
This would give the possibility to monitor some coins in dollars while getting the total portfolio value in another currency. Probably there's already a way to achieve that in cointop but I'm missing it...
Thank you!

@wokawoka that's a great suggestion! can you open a new issue with your comments to keep track of it separately? thanks!
@wokawoka the convert flag has been added now which you can try out by updating/installing cointop with go.
Example:
$ cointop holdings -h --convert eur
    name        symbol    price holdings        balance    24h% %holdings
Ethereum        ETH     €278.49      100        €27,849 -15.87%   100.00%

@miguelmota

that's a great suggestion! can you open a new issue with your comments to keep track of it separately? thanks!
I'm going to do it right now! Thanks

the convert flag has been added now which you can try out by updating/installing cointop with go.
Thank you! You are so fast! I'm looking forward to using this option on the next release (I'm using snap)


node 8 version is outdated, yarn too

Screenshot:

I will look into upgrading it myself but maybe you can help me here?

I have updated cypress/base:8 and cypress/base:10


Minecraft install needs overhaul.

Minecraft's function needs several improvements.

I did update Minecraft and forge install. Seem to be working a bit better. checks for Java before install and Forge seems to install work with any extra work. I may release a final update soon with error checking.


[T4A4][F12-A3]Wang Yu

@WangYu-g
Some comments added. Please ack & close the PR after reading comments.


Update for CUDA12.5.1

xref: https://github.com/conda-forge/cuda-feedstock/issues/36

@conda-forge-admin , please re-render

Looks like CI was not automatically started on main when this merged. So have manually started it


Remove redundancies from altair plot methods

This PR removes some of the redundancies in altair plot methods when annotating data points with texts.

LGTM.


[experiment] attempts to use jest globals instead of a custom environment

(this is an experimental branch to explore the guidance in https://github.com/bufbuild/connect-es/issues/658)

the above passing CI is very suspicious because it doesn't pass locally.

The DataCloneError seems to confirm the suspicion in https://github.com/bufbuild/connect-es/issues/658#issuecomment-1576410472, that Jest clones globals to prevent individual tests from modifying it.
Thanks for confirming that globals won't work 👍  We will look into publishing an environment as an npm package.


feat: remove kakarotup and associated usage from README

This PR removes Kakarotup from the project as discussed in #138, the script brings a lot of complexity which might be overkill for now since we are already offering a docker image.
The current README has been updated to use make build, which enables building from source using cargo.

Closes #138
Pull Request type
Please check the type of change your PR introduces:

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

@Eikix I have fixed the typo, so I guess running spell check again should pass.


Update documentation to include recommended processing for 10x scRNA 5' V2

Hey @rob-p and @Gaura -
I've started working with 10x 5' V2 data, and wanted to utilize alevin-fry for processing of the raw data. I initially found some discussions from @k3yavi on the alevin repo, describing how the only change needed to handle this different data type was to switch alevin's -l ISR to -l ISF (e.g. here). However, I ended up getting far fewer cells detected for each sample, and the results didn't seem to make sense nearly as much as the same data processed via cellranger.
Digging deeper, I discovered a very fruitful and helpful discussion here, where effectively the conclusion was to run alevin with -l ISR as normal, but switch alevin-fry generate-permit-list's expected orientation from -d fw to -d rc. This made a huge difference both in the example data analyzed by @allyhawkins here and in my own data; for me I detected almost 60% more cells that passed QC filters, and a totally different (and much more sensible) set of clusters and markers characterizing them after making this change.
For others interested in processing data of this type, and assuming it isn't somewhere already that I've missed, it might be helpful to elevate the cellranger vs alevin-fry comparison doc linked above to a polished vignette here and/or mention this more clearly on the main alevin-fry docs or within the generate-permit-list page. I'm curious as well regarding how this approach would/could get handled within the simpleaf and nf-core/scrnaseq frameworks.
Thanks as always!

hey @jeremymsimon  @rob-p I am processing some 10x5' V2 data last week and the number of reads per cell is much fewer than the cellranger output. I then found this issue and indeed changing to -d rc made a difference.
Thanks!
Tommy

Thanks, @crazyhottommy! @DongzeHE : We should figure out the best way to add this information to the documentation — something like a table of protocols with notes or some such.

Just supporting previous comments that (1) changing to -d rc made a huge difference to my 5prime data 🥳, and (2) it would be great for users to have this clearer in the documentation.
From my user point of view, I actually think the highest priority for the alevin ecosystem should be a unified documentation page. Maybe something a bit like the scanpy docs, i.e. tutorials and API in one obvious and natural place (I think scvi also has nice docs).
A follow-up question on usage of -d/--expected-ori - are there ever circumstances where you would recommend using both? Assuming you know what the chemistry is. Thanks!


Add micro-interactions consistently everywhere

@shahsank3t and @darth-coder00, if this is not relevant anymore, can you please close the issue?

Closing as all micro interactions are implemented


Plugin zsh-syntax-highlighting stopped working

I left comments at an issue there but the omz glue code seems to be the culprit — https://github.com/zsh-users/zsh-syntax-highlighting/issues/270#issuecomment-191179960

Might be because their installation instructions ignore $ZSH_CUSTOM. See discussion on the issue over there.

@apjanke You're right. Thanks — this has been resolved.


Swift 3 Support

Hi!
Will you add Swift 3 support in the near future?

We now have a Swift 3.0 branch (thanks to a PR via @jedmund)


create ci test.yml to run tests on Ubuntu with python 3.8 and 3.9

Hi @samanyougarg I would like to work on this issue if some context is provided

Hi @samanyougarg I have raised a PR which has workflow test.yml and have added a dummy test class to validate the same.


Inconsistency in the tx_metadata field

Hi, after a discussion with Kevin, it seems that the metadata field needs to be configured as an ARRAY in the txs table instead of a single file.
This is how it looks like as an array:
CREATE TABLE txs (
  txid            hash                   PRIMARY KEY,
  in_blockid      hash                   NOT NULL REFERENCES blocks (blockid) ON DELETE CASCADE,
  fee             lovelace               NOT NULL,
  withdrawals     withdrawal ARRAY,
  metadata        tx_metadata  ARRAY
);
CREATE TYPE tx_metadata as (
    label         uinteger,
    metadata      jsonb
);

In this case, a transaction has a list of metadata types each with a label and a json. The metadata described in Appendix E of the shelley design spec (https://hydra.iohk.io/job/Cardano/cardano-ledger-specs/delegationDesignSpec/latest/download-by-type/doc-pdf/delegation_design_spec), which we can call 'user-defined metadata' is a single map from uints keys to 64 byte values. Hence, declaring metadata as an array sugests that we will have other types of metadata. In this case a transaction will really have an array of 'labeled' maps. Is this correct?
If a single transaction can only have a metadata field, then the correct design would be more like this:
CREATE TABLE txs (
  txid            hash                   PRIMARY KEY,
  in_blockid      hash                   NOT NULL REFERENCES blocks (blockid) ON DELETE CASCADE,
  fee             lovelace               NOT NULL,
  withdrawals     withdrawal ARRAY,
  metadata        jsonb
);

Which means that there’s only one type of metadata, there's no label for it and it is encoded in json.
However, this is the current state:
CREATE TABLE txs (
  txid            hash                   PRIMARY KEY,
  in_blockid      hash                   NOT NULL REFERENCES blocks (blockid) ON DELETE CASCADE,
  fee             lovelace               NOT NULL,
  withdrawals     withdrawal ARRAY,
  metadata        tx_metadata
);
CREATE TYPE tx_metadata as (
    label         uinteger,
    metadata      jsonb
);

One transaction has one metadata label and one metadata map (encoded as json). The label in this case loses its purpose.

@vargasmontero Please be aware that you are looking at a straw man specification of the Shelley schema. The actual schema will be different to what you are currently looking at.
The Persistent library we use to access Postgres from Haskell does not support arrays.

@erikd thank you for the explanation.
Let me, then, share with you our core requirements and please let us know if we're aligned.
We basically need a way to filter by txid and metadata key. From the Shelley design doc, metadata is a map from uint keys to 64byte values.
This can be achieved if we get something like this:
CREATE TABLE tx_metadata (
  txid       hash REFERENCES txs(txid),
  key        uint,
  value     bytea,
)

Or by using a jsonb type if the map keys within the jsonb can be indexed. In this case, we would be looking at something like this:
CREATE TABLE txs (
  txid            hash                   PRIMARY KEY,
  in_blockid      hash                   NOT NULL REFERENCES blocks (blockid) ON DELETE CASCADE,
  fee             lovelace               NOT NULL,
  withdrawals     withdrawal ARRAY,
  metadata        jsonb
);

Why do we care about this?
We will all utilize metadata for varied purposes (Track & Trace, Product Authentication, New Balance, identities, credentials verification). How do we store data is different for all of us, but what doesn't change is our querying pattern. We will all look a the txid for data authentication (is this tx part of my HD wallet, etc) and we will all look at the keys for the specific information we want to have. How to interpret the values is a concern of a higher layer (application itself).
More information about all our use cases is here: https://input-output.atlassian.net/wiki/spaces/PSG/pages/1197080787/Metadata+Requirements
Please lmk if there are any questions.

Yes, @erikd is right that you'll need to restructure the arrays into e.g. tables to do this, since the library doesn't support native arrays.  This should still be searchable.  I am assuming that the library supports jsonb, but this might also be unavailable?
The underlying issue is that @vargasmontero is asking for the metadata to be replicated (so a missing array in the straw man, or a missing table in the actual schema) - needs to be checked against the ledger spec and then added.

@vargasmontero I think https://github.com/input-output-hk/cardano-db-sync/pull/229 addresses this.

Closing this.


form_chtSeries variable names & object names

In the forms, control object names need to be clarified and adjusted before code variables can be analyzed.

Just some documentation.
Code
Sub GetControls()
    Dim targetForm As Object
    Set targetForm = 'each form
    Dim targetControl As control
    For Each targetControl In targetForm.Controls
        Debug.Print targetControl.name
    Next
End Sub

Results
form_chtGrid

Label2
txt_cols
txt_height
Label3
txt_width
Label4
btn_grid
txt_vOff
Label5
txt_hOff
Label6
chk_down
chk_zoom

form_chtSeries

list_series
btn_setXRange
txt_xrange
btn_xrangedown
txt_yrange
btn_yrange
btn_ydown

form_newCommands

Label1
CommandButton1
CommandButton13
CommandButton15
CommandButton16
CommandButton17
CommandButton18
CommandButton19
CommandButton20
CommandButton21
CommandButton22
CommandButton23
CommandButton25
CommandButton26
CommandButton27
CommandButton28
CommandButton29
CommandButton30
CommandButton31
CommandButton32
CommandButton33
CommandButton34
CommandButton35
CommandButton36
CommandButton37

note: CommandButtons(i) for i = 1, 13, 15 to 23, 25 to 37

Replacing control names on the form and in the code
This code will replace the names of the controls in the design of the form and in the code behind the form. Right now I was just testing it by appending NEW to the old names as the new names, that way I could easily reverse it with len()-3.
Anyhow, this was kind of fun. You can use it to do your control renaming however you'd like and then just merge that into the project. I figured I'd leave that up to you given they are your forms. I only did the testing on chtSeries hence the length of the arrays being fixed.
Public Sub FindReplaceInModule()
    Const CHTGRID As String = "form_chtGrid"
    Const CHTSERIES As String = "form_chtSeries"
    Dim targetProject As VBIDE.VBProject
    Dim targetModule As VBIDE.VBComponent
    Dim targetCode As VBIDE.CodeModule
    Dim controlIndex As Long
    Set targetProject = Application.VBE.VBProjects("bUTLAddIn")
    Set targetModule = targetProject.VBComponents(CHTSERIES)
    Dim targetForm As Object
    Set targetForm = targetModule.Designer

    Dim newControlNames() As String
    ReDim newControlNames(0 To 6)
    Dim oldControlNames() As String
    ReDim oldControlNames(0 To 6)

    For controlIndex = 0 To 6
        oldControlNames(controlIndex) = targetForm.Controls(controlIndex).name
        newControlNames(controlIndex) = oldControlNames(controlIndex) & "NEW"
        targetForm.Controls(controlIndex).name = newControlNames(controlIndex)
    Next

    Set targetCode = targetModule.CodeModule

    Dim findWhat As String
    Dim replaceWith As String

    Dim numberOfLines As Long
    numberOfLines = targetCode.CountOfLines
    Dim lineNumber As Long
    Dim lineText As String

    For controlIndex = 0 To 6
        findWhat = oldControlNames(controlIndex)
        replaceWith = newControlNames(controlIndex)
        For lineNumber = 1 To numberOfLines
            lineText = targetCode.Lines(lineNumber, 1)
            If InStr(1, lineText, findWhat, vbTextCompare) > 0 Then
                targetCode.ReplaceLine lineNumber, Replace(lineText, findWhat, replaceWith, , , vbTextCompare)
            End If
        Next
    Next
End Sub