词性标注模型加载报错

seg = pkuseg.pkuseg(postag=True)  # 开启词性标注功能
WARNING: features.pkl does not exist, try loading features.json
WARNING: features.json does not exist, try loading using old format
Traceback (most recent call last):
File "", line 1, in
File "/home/11103333/data/config/anaconda3/lib/python3.7/site-packages/pkuseg/init.py", line 234, in init
self.tagger = Postag(postag_dir)
File "/home/11103333/data/config/anaconda3/lib/python3.7/site-packages/pkuseg/postag/init.py", line 16, in init
self.feature_extractor = FeatureExtractor.load(modelDir)
File "pkuseg/postag/feature_extractor.pyx", line 318, in pkuseg.postag.feature_extractor.FeatureExtractor.load
FileNotFoundError: [Errno 2] No such file or directory: '/home/11103333/.pkuseg/postag/featureIndex.txt_0'

unzip the download file

unzip the download file

请问是解压哪个文件


feat: use separate bind for http ingress server

Fixes #1609
@alecthomas I took a stab at this one. Lemme know if there's a better approach here. :)

Noice


Carousel - Add swipe support.

Thanks @dimasikdimasik to open PR with my work :smile: but I'm not sure if it's enough to add swipe support to our carousel, so I'll open a PR when I'll be sure of my work :+1:


Create Mobile Nav 3

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

After building the component please raise a PR with a screenshot of the component and add the component in Navbar/nav-mobile/nav-3.html.
If you need to use any icon please use it from Hero Icons
Good luck.

@Rajdip019 i would like to do this. Thx.

You are already assigned to an issue. @xuann6

@Rajdip019 please assign this

@Rajdip019 I have created the component ........please assign

Have you finished the components which are already assigned to you? @rohan9024

@Rajdip019 yes, I have created a PR as well

Okay go ahead @rohan9024

@Rajdip019 done 👍


Add INC WoQ and remove ITREX dependency

What does this PR do?
I raise this PR based #841 . INC 3.0.2 released，we plan remove ITREX dependency and base INC to apply WOQ. @echarlaix

# quantize
from neural_compressor.transformers import GPTQConfig
from optimum.intel.neural_compressor import INCModelForCaudalLM
quantization_config = GPTQConfig(tokenizer=tokenizer_name, dataset=dataset_name)
model =  INCModelForCaudalLM.from_pretrained(model_name_or_path, quantization_config=quantization_config)
model.save_pretrained(“output_dir”)
# loading
model = INCModelForCaudalLM.from_pretrained(“output_dir”)

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


ENH: datasets: array API standard support

Towards gh-18867
I think this deserves its own issue. It should be quite simple to add support to scipy.datasets: just add a few xp.asarray wrappers.
However, there are performance concerns with device transfers - will it be possible to create the arrays on the desired device / of the desired type in the first place? Do we want to follow the pattern of the array-creation functions fft.{r}fftfreq by adding xp, device kwargs?
This is something of concern for downstream libraries as well e.g. second half of https://github.com/colour-science/colour/issues/1244#issuecomment-1936908020.
cc @rgommers @kelsolaar

The data loaders in scipy.datasets are quite different from fftfreq & co. For the latter, arrays are being created with standard array API functions - and hence we can create them on non-CPU devices fairly easily. For the former, we're loading data from binary files - there is no way to avoid loading them in CPU memory first. If you want them anywhere else, the device transfer cost has to be paid.
Looking at this more closely, I honestly don't know if there's much of a point of doing anything here. Writing
ascent = xp.asarray(datasets.ascent(), device=my_device)

is pretty much the same (maybe even clearer) as:
ascent = datasets.ascent(xp=xp, device=my_device)

Right, so we can probably just check off datasets in the tracker - I agree that there isn't much point in changing the one-liner.
For the downstream issue, is the performance save of python list -> xp array over python list -> np array -> xp array significant? If so, I suppose you just want to implement a getter function which takes in xp, right?

Okay. So as far as I can tell, the only thing one can do to help performance is try to create the arrays on the desired device at non-performance-critical times so that they can be used later.

I'll close this, since I think the discussion covers it for the scipy.datasets module - nothing to do here.

Okay. So as far as I can tell, the only thing one can do to help performance is try to create the arrays on the desired device at non-performance-critical times so that they can be used later.

That's part of how you optimize GPU-based workloads. But you also can't do it too early, because GPUs/accelerators are often memory-constrained.

@kelsolaar I imagine that having most computation performed on a GPU could outweigh the cost of device transfers with datasets stored on the CPU. Hopefully, this won't be a blocker for you downstream. (Even if some Colour operations ended up slower in some cases, being able to integrate in a GPU stack without forcing the user to manage which device their arrays are on still seems very valuable).


[BUG/Improvements] Pool Transactions not displaying

No Transactions displayed

“Show More” appears when there are no transactions (should only appear after 25 transactions and the page truncates)

I fixed the UI for recent transactions. Changes are in an open PR.

@sirpy @decentralauren @L03TJ3 One thing that is not clear to me: How do I get the data for the recent transactions?
I could filter events in the smart contract, but that won't provide all of the necessary data. The amount donated in a transaction is not available on-chain. The smart contract instead knows about flow rates and the total amount a supporter has contributed.

@krisbitney i'm not sure what you mean. all data should be from the subgraph.
If you mean right after user has performed an action and you want to display it for him then we need to either add some refresh for subgraph after user actions or add the action itself manually to the apollo cache

@krisbitney i'm not sure what you mean. all data should be from the subgraph. If you mean right after user has performed an action and you want to display it for him then we need to either add some refresh for subgraph after user actions or add the action itself manually to the apollo cache

No, that is not what I mean. The subgraph is itself limited to on-chain data, so modifying the subgraph won't help.
According to the figma, the transaction items in the "recent transactions" list should have G$ amounts. How do I get those amounts?

ok I see.
@decentralauren @patpedrosa What type of transactions is "recent transactions" supposed to show? donations? rewards distributions? probably the name should be changed to "recent X".
@krisbitney we'll need to update the subgraph. if it is donations we can add a DonationEvent record (create it in handleSupport) for rewards distribution txs we already have the EventData records

ok I see. @decentralauren @patpedrosa What type of transactions is "recent transactions" supposed to show? donations? rewards distributions? probably the name should be changed to "recent X".
@krisbitney we'll need to update the subgraph. if it is donations we can add a DonationEvent record (create it in handleSupport) for rewards distribution txs we already have the EventData records

Yes, for sure. I can add events for donations. Still, the donation events won't have the amount donated because the contract knows only about flow rates. The amount the user donated is a function of flowRate and the duration of the flow.

I can have the amount in the donations be flowing rates, so they will show how much the user donated so far but not the total amount the user will donate through the transaction. What do you think?

Well donations are either single or a flow rate.
both the donation amount and flow rate are known from the event.
if it is a flow rate then we can show next to the TX - 50G$/month
if it is a single donation then just show the amount - 50G$

@decentralauren @patpedrosa Transaction pool is showing. What do we need to do with the "Show more" button?

@L03TJ3 make action item for loading of transaction list

@L03TJ3 make action item for loading of transaction list.

[ ]  - should show payouts / donated amounts

The transactions list already displays in the ViewCollective component, with payouts and donated amounts

Unable to verify on UI but in code it shows it should show both donation + stewards payment so closing.
Show more button is defined here: https://github.com/GoodDollar/GoodCollective/issues/124
What has not been added was if it is a flow rate then we can show next to the TX - 50G$/month
not sure what to do with that
@patpedrosa @decentralauren

Unable to verify on UI but in code it shows it should show both donation + stewards payment so closing.
Show more button is defined here: #124
What has not been added was if it is a flow rate then we can show next to the TX - 50G$/month not sure what to do with that @patpedrosa @decentralauren

It looks like I misread that and made the donation amount a flowing rate. We can show all of the donation amounts in transactions in terms of a single unit (e.g. per month), but we cannot know whether the supporter intended to donate per day, per week, per month, etc.

Closing this ticket as the open item is in #167


Timeout@ 0001-01-01 00:00:00 +0000 UTC

This is the result of every run. Is there a solution？

I'm not able to recreate this.
I've tried looking into Dockerizing Avis, but, unfortunately, this is the kind of software that is not really amenable to containerization, since there are many running processes. It has proven more difficult than originally anticipated.
You need to make sure that you are using the instrumented version of ArduPilot, otherwise Avis won't be able to communicate with ArduPilot, and you'll see the timeout message that you see here.
After my vacation, I'll resume efforts to Dockerize Avis.


Fixes #1932

Fixes #1932

you didnt update the tests that this does anything..

it might be that this is skipped because of the 'if not cell.value' part


Default language

Hi,
How can I set up the default language with this structure?
I have two predefined language:
domainname.com/en/pagename
domainname.com/de/pagename
Both are working perfectly, but when I type domainname.com/pagename , the page is jumping to the main page (domainname.com).
I want make the english default, but without any redirection. So when I type domainname.com/pagename, that should be the english version as well (domainname.com/en/pagename).
Does anybody know how can I do?
Thanks,
L

Please post such questions on the forums. Here we only accept bug reports.


Fixed formatting

Fix: Properly aligned  $ npm install theroomjs --save within the box.

Hello @MaximilianHollis
Thank you for the PR!
As described in the contribution guide, we use conventional commits for commit summaries. It's more fun and would be great to see you use it next time :)


How to install ADB on Centos?

emulator -version
INFO    | Android emulator version <IP_ADDRESS> (build_id 12414864) (CL:N/A)
INFO    | Graphics backend: gfxstream
/home/cpz/.android/emulator/qemu/linux-x86_64/qemu-system-x86_64: error while loading shared libraries: libQt6CoreAndroidEmu.so.6: cannot open shared object file: No such file or directory
However, I've gone through the tutorial and installed it successfully on ubuntu

Thanks for your interest in our work.
The error indicates that the installation of qemu might be troublesome. You can try installing it again and see what happens.

Closing due to inactivity.


Issues with mutiple consecutive searches

Got a bug for you from info@!
===========
One problem that I’ve been having has been when I do multiple searches:
1 – Search #2 works fine
2 – Trying a search immediately after that takes me back to the original search screen.
3 – Search #3 is fine, as long as I’m on the search screen that provides the filters.  The problem seems to be if I search on the same screen that has my search results.
The person also said: "I love the beta site for creative commons search, particularly the ability to copy the attribution information so easily." which is a nice thing to hear :)

The person was using Chrome, fyi!

This is a duplicate of #194, will get fixed in v0.8


[<IP_ADDRESS>] Osmium Compressor gets stuck

The osmium compressor gets stuck after processing one bar and has to be broken down and placed again to be able to craft another.

Got it on the latest version of the dns teckpack(<IP_ADDRESS> ) with only 5 speed upgrade.
It accept only the 1st osmium bar then get stuck.


Deep copy experiment in experiment data?

The experiment data contains a reference to the experiment: https://github.com/Qiskit/qiskit-experiments/blob/fbe19dd01fbc8e572a27b8d9a06d1bed5a58f7da/qiskit_experiments/experiment_data.py#L57
If the experiment changes later, it corrupts the experiment data.
Is there an argument against deep-copying the experiment? I can see two potential arguments:

Performance.
If there are desired changes to the experiment, that we do want to record.

In principle a copy shouldn't be needed since the only things that should be able to change in an experiment after creation are the various set_*_options, which have their values snapshotted in the experiment data for each job execution.
When we serialize an experiement data we would need to serialize an experiment, which I think should be something along the lines of its init arg, kwarg values, and any set options so it can be reconstructed via something like:
# Deserialize Experiment class from saved args/kwargs/options
exp = SomeExperiment(*init_args, **init_kwargs)
exp.set_experiment_options(**e_opts)
exp.set_analysis_options(**a_opts)
exp.set_transpile_options(**t_opts)
exp.set_run_options(**r_opts)

and serialization would amount to serializing all those option and arg dicts.


add DNFT

Grant Application Checklist

[x] The application-template.md has been copied, renamed ( "project_name.md") and updated.
[x] A BTC address for the payment of the milestones is provided inside the application.
[x] The software of the project will be released under the Apache license version 2.0 as specified in the terms and conditions.
[x] The total funding amount of the project is below CHF 30k at the time of submission.
[x] The initial PR contains only one commit (squash if needed before submitting your PR).

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

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

Thanks for the application. It looks really interesting. I have a few questions:

Could you also integrate unit tests?
I think you can remove the ERC721 implementation. See https://github.com/danforbes/pallet-nft
Do you already have a mock-up of the front-end, which you could share?

Thanks for your advice. We have added unit tests and removed ERC721 implementation in the application file.
And here is a link to show the MVP demo which we participated in a Substrate hackathon(mentioned in the application file) recently.
Vedio: https://drive.google.com/file/d/1fwOFVHOJxPBYL3hVIvXHRPAJFlgDaAxQ/view?usp=sharing
Mock-up of the front-end: https://drive.google.com/file/d/1gDZWCPIl5RRjOREdINRL4GbNONuXr_hd/view?usp=sharing
This version is very simple and in Chinese language, and we will continue to optimize  and internationalize it.
Many Thanks.

Thanks for the application. It looks really interesting. I have a few questions:

Could you also integrate unit tests?
I think you can remove the ERC721 implementation. See https://github.com/danforbes/pallet-nft
Do you already have a mock-up of the front-end, which you could share?

Thanks for your advice. We have added unit tests and removed ERC721 implementation in the application file.
And here is a link to show the MVP demo which we participated in a Substrate hackathon(mentioned in the application file) recently.
Vedio: https://drive.google.com/file/d/1fwOFVHOJxPBYL3hVIvXHRPAJFlgDaAxQ/view?usp=sharing
Mock-up of the front-end: https://drive.google.com/file/d/1gDZWCPIl5RRjOREdINRL4GbNONuXr_hd/view?usp=sharing
This version is very simple and in Chinese language, and we will continue to optimize  and internationalize it.
Many Thanks.

@bleemer4  Greetings! A group of devs, PMs and designers, along with artists and NFT creators are working on a NFT strategy for Kusama network (already ongoing: https://kusama.polkassembly.io/post/303). The effort includes the development of Asset creator platforms (RMRK.app and PolkadotAssetJS - funded by treasury) and the development and maintenance of two pallets to be natively deployed on Kusama: ORML NFT pallet and a PoC NFT Gallery to work as a first experimentation in the direction of a native application.

We would love to discuss your project to see how it could align with our efforts on this: let me know what you think!

@bleemer4  Greetings! A group of devs, PMs and designers, along with artists and NFT creators are working on a NFT strategy for Kusama network (already ongoing: https://kusama.polkassembly.io/post/303). The effort includes the development of Asset creator platforms (RMRK.app and PolkadotAssetJS - funded by treasury) and the development and maintenance of two pallets to be natively deployed on Kusama: ORML NFT pallet and a PoC NFT Gallery to work as a first experimentation in the direction of a native application.

We would love to discuss your project to see how it could align with our efforts on this: let me know what you think!

@bleemer4 Greetings! A group of devs, PMs and designers, along with artists and NFT creators are working on a NFT strategy for Kusama network (already ongoing: https://kusama.polkassembly.io/post/303). The effort includes the development of Asset creator platforms (RMRK.app and PolkadotAssetJS - funded by treasury) and the development and maintenance of two pallets to be natively deployed on Kusama: ORML NFT pallet and a PoC NFT Gallery to work as a first experimentation in the direction of a native application.

We would love to discuss your project to see how it could align with our efforts on this: let me know what you think!

Sounds cool. Very happy to hear that. Most our team members has AI related experience, and the original idea is to work well with AI training data(generation, swap, etc.).And we found NFT is a good way to describe data assets. We aim to make AI data worth to be spread and valued.
We're very glad to communicate with your team on NFT issues in the future.

@bleemer4 Greetings! A group of devs, PMs and designers, along with artists and NFT creators are working on a NFT strategy for Kusama network (already ongoing: https://kusama.polkassembly.io/post/303). The effort includes the development of Asset creator platforms (RMRK.app and PolkadotAssetJS - funded by treasury) and the development and maintenance of two pallets to be natively deployed on Kusama: ORML NFT pallet and a PoC NFT Gallery to work as a first experimentation in the direction of a native application.

We would love to discuss your project to see how it could align with our efforts on this: let me know what you think!

Sounds cool. Very happy to hear that. Most our team members has AI related experience, and the original idea is to work well with AI training data(generation, swap, etc.).And we found NFT is a good way to describe data assets. We aim to make AI data worth to be spread and valued.
We're very glad to communicate with your team on NFT issues in the future.

Thanks for the update and sorry for the late reply. In general, I’m happy with the application and willing to go ahead with it. But could you integrate the video and mockup into the application and also point out that the interface will be available in chinese as well as english. It would also be nice if you could publish an article as part of the grant.

Yep, we have updated the application file as you suggested.
Many thanks.

Thanks for the update and sorry for the late reply. In general, I’m happy with the application and willing to go ahead with it. But could you integrate the video and mockup into the application and also point out that the interface will be available in chinese as well as english. It would also be nice if you could publish an article as part of the grant.

Yep, we have updated the application file as you suggested.
Many thanks.

@bleemer4 Could you please provide an outline of what functionality is still missing from your current implementation that you're planning to develop as part of this grant?

@bleemer4 Could you please provide an outline of what functionality is still missing from your current implementation that you're planning to develop as part of this grant?

@bleemer4 Could you please provide an outline of what functionality is still missing from your current implementation that you're planning to develop as part of this grant?

Hi, @mmagician, thanks for your advice, we updated the application file and added an outline.

@bleemer4 Could you please provide an outline of what functionality is still missing from your current implementation that you're planning to develop as part of this grant?

Hi, @mmagician, thanks for your advice, we updated the application file and added an outline.

Hey @bleemer4. Care to share a quick status update on the project? Milestone 1 is by now delayed by 3 months and I can't see any implementation on your team's repositories. Unless you're actively working on this, we will terminate the grant due to inactivity.

Hi,Aleixo
Sorry for delay.
The reason is we're working in a local env, considering for so many NFT projects.
We'll organize the chain code and commit in next two days.
We're changing the UI&UX style,  the full milestone1 will be committed in the next week.
Hoping our project will surprise you once we submit the full milestone1.
Sorry for delay again.
------------------ 原始邮件 ------------------
发件人:                                                                                "w3f/Open-Grants-Program"                                                                                @.>;
发送时间: 2021年6月9日(星期三) 晚上8:19
@.>;
<EMAIL_ADDRESS>主题: Re: [w3f/Open-Grants-Program] add DNFT (#188)
Hey @bleemer4. Care to share a quick status update on the project? Milestone 1 is by now delayed by 3 months and I can't see any implementation on your team's repositories. Unless you're actively working on this, we will terminate the grant due to inactivity.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Sounds good @bleemer4, looking forward to the delivery.

@bleemer4  It seems you still haven’t delivered any milestones. Furthermore you publicly claim everywhere that you received a grant from the web3, for example:

https://dnft.world/
https://medium.com/dnft-protocol/we-want-you-b60f1dfeefb4
https://cointelegraph.com/press-releases/web3-grant-project-dnft-protocol-connects-with-the-isolated-nft-world
https://cryptoexploit.com/polkadot-web3-grant-project-dnft-is-connecting-the-isolated-nft-world/?utm_source=rss&utm_medium=rss&utm_campaign=polkadot-web3-grant-project-dnft-is-connecting-the-isolated-nft-world
https://write.as/cryptoadventure/dnft-protocol-a-crypto-platform-aiming-to-revolutionize-nft

You are only allowed to announce a grant, once you successfully delivered at least one milestone see Announcement Guidelines. Please clarify/update this. Also if you don’t deliver the milestone next week, we will highly likely terminate your grant.

Hi. David.
Sorry for delay, we have urgently deleted infos in the first two links, the others are third party article. We will pay attention in the publicity process.
The mileston1 will be committed in this week, as we checkout the list for millstone1 last week before we submit , we found some important docs missing.
Sorry for delay again.
---Original---
From: "David @.>
Date: Mon, Jun 28, 2021 14:56 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [w3f/Open-Grants-Program] add DNFT (#188)
@bleemer4  It seems you still haven’t delivered any milestones. Furthermore you publicly claim everywhere that you received a grant from the web3, for example:
https://dnft.world/
https://medium.com/dnft-protocol/we-want-you-b60f1dfeefb4
https://cointelegraph.com/press-releases/web3-grant-project-dnft-protocol-connects-with-the-isolated-nft-world
https://cryptoexploit.com/polkadot-web3-grant-project-dnft-is-connecting-the-isolated-nft-world/?utm_source=rss&utm_medium=rss&utm_campaign=polkadot-web3-grant-project-dnft-is-connecting-the-isolated-nft-world
https://write.as/cryptoadventure/dnft-protocol-a-crypto-platform-aiming-to-revolutionize-nft
You are only allowed to announce a grant, once you successfully delivered at least one milestone see Announcement Guidelines. Please clarify/update this. Also if you don’t deliver the milestone next week, we will highly likely terminate your grant.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@bleemer4 no milestone yet. Another deadline not met?
@Noc2 their website dnft.world is completely removed. They also postponed their listing and held several IDOs (so collected funds) yet. If you ask me, and ONLY if you ask me, they could disappear with all the collected funds at this exact moment. In MY conspiracy theory they used the grants as a way to gain trust from their investors, to not let their project look like a scam

@Noc2 I appreciate the effort you have taken a week ago to remind the founder of DNFT of their obligations to deliver their milestones. I would also like to inform you that some of us (not me) have performed in depth research on the founder (with intelligence systems not available for the average person). The results of that research were very shocking.
I pray to God that for whatever reason our research results were wrong and that this project will deliver the promised milestones. We are all trying to make the cryptocurrency world a better place. A decentralized world that can be trusted. Unfortunately though we also have to acknowledge that there are people that abuse this.
Personally I have also have proof of communications with the founder asking me to commit fraud for a 'new project'.
Perhaps all of that is not enough proof and perhaps we are looking at the best NFT cross-chain project here. May God be with us.

@bleemer4 no milestone yet. Another deadline not met?
@Noc2 their website dnft.world is completely removed. They also postponed their listing and held several IDOs (so collected funds) yet. If you ask me, and ONLY if you ask me, they could disappear with all the collected funds at this exact moment. In MY conspiracy theory they used the grants as a way to gain trust from their investors, to not let their project look like a scam

Thanks for your attention, we have submitted the millstone , we're constantly improving ourselves and learning from web3/substrate teams. Thanks for your advice.

@bleemer4 why is dnft.world gone?

@bleemer4 why is dnft.world gone?

We deleted the web3 info in our project website, in order to comply with the rules of Web3, and make up for our mistakes.
We're sorry for not understanding the rules before.
We made a quick adjustment when we knew it.
Sorry for not understanding the rules before @Noc2.

@bleemer4 that was not my question. We noticed that you removed Web3 from your website a few days ago.
But now the website is completely gone. dnft.world is not reachable anymore. Please help me understand why that is

In the process of upgrading, maybe not stable.As part of our cross chain products is ready for testing,we update the website.
Thanks for attention.
Could you please post this kind of questions in our telegram or our other community tools.We will be happy to solve it for you.
Thanks for your attention again.
---Original---
From: "Boris @.>
Date: Mon, Jul 5, 2021 18:48 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [w3f/Open-Grants-Program] add DNFT (#188)
@bleemer4 that was not my question. We noticed that you removed Web3 from your website a few days ago.
But now the website is completely gone. dnft.world is not reachable anymore. Please help me understand why that is
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@bleemer4 on my computer I managed to call the site again. I think it's a caching issue then. I tried to delete my cache on my smartphone but it still doesn't work there. I don't know if you have to do something on your end. Maybe it's also because dnft.world is not SSL-encrypted right now (http instead of https)

Please have a  try later, It's in upgrading.
Thanks for attention.
---Original---
From: "Boris @.>
Date: Mon, Jul 5, 2021 19:16 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [w3f/Open-Grants-Program] add DNFT (#188)
@bleemer4 on my computer I managed to call the site again. I think it's a caching issue then. I tried to delete my cache on my smartphone but it still doesn't work there. I don't know if you have to do something on your end. Maybe it's also because dnft.world is not SSL-encrypted right now (http instead of https)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

This grant has been terminated due to inactivity.


[BUG] Product Detail Pages where no product is found should 404

In PWA Kit version 3.0, we appear to have regressed returning a HTTP 404: Not Found for products that don't exist:
https://pwa-kit.mobify-storefront.com/global/en-GB/product/does-not-exist
https://scaffold-pwa-generated-pwa-v2.mobify-storefront.com/product/does-not-exist
In the PDP implementation, we should inspect the returned product, and if it doesn't exist, raise a 404.

@johnboxall the two links you posted above both show the same error on my side (seen below). You're saying the link at https://scaffold-pwa-generated-pwa-v2.mobify-storefront.com/product/does-not-exist formerly (at the time you posted this) showed a 404 - Product Not Found error page?

Like @bfeister I am seeing the same 404 pages from both your links @johnboxall .
I also loaded up PWA Kit v2.7.3 on my local and am seeing the same page there. In the network tab, the HTTP status returned for this request is 404

I loaded up v3 on my local and I see what you mean now @johnboxall
On v3, I see an HTTP 200 and a blank PDP page

Aside, I wonder if this means https://pwa-kit.mobify-storefront.com isn't running v3?


#227 Heapsort Algorithm added in c++

#227 <HeapSort Algorithm added in c++>
Issue kaustubhgupta#227 is fixed in C++, added the heapsort algorithm in C++ as HeapSort.cpp inside the folder C++ < added
in c++>
Fixes #227
Addition of C++ source code for HeapSort
Please delete options that are not relevant

[x ] Bug fix (non-breaking change which fixes an issue)
[x ] New feature (non-breaking change which adds functionality)
[x ] This change requires a documentation update

Checklist:

[ x] I have read the contribution guidelines before making this PR.
[ x] My code follows the style guidelines of this project
[ x] I have performed a self-review of my own code
[x ] I have commented in my code, particularly in hard-to-understand areas
[x ] I have made corresponding changes to the documentation (Language folder or any other readme instructed to)
[x ] My changes generates no new warnings
[x ] I have added tests that prove my fix is effective or that my feature works

@kaustubhgupta shall we merge it? The code seems unusually similar to the one available on geeksforgeeks.

@kaustubhgupta shall we merge it? The code seems unusually similar to the one available on geeksforgeeks.

It's the same, can't merge


Add self_link output to vm-instance module

Add self_link output to vm-instance module;
Update name description;
Update SSH instruction to use short-form.

Motivation: to remove any guess-work about what zone and project given instance belongs to.

I might consider "id" as the instructions change rather than the full self_link.

id doesn't work nicely with gcloud compute ssh .
gcloud compute ssh <id> requires to additionally supply zone and project.

I might consider "id" as the instructions change rather than the full self_link.

id doesn't work nicely with gcloud compute ssh . gcloud compute ssh <id> requires to additionally supply zone and project.

I think you may be confusing "id" and "name" (admittedly our documentation is not quite 100% on this). This appears to work just fine:
gcloud compute ssh projects/toolkit-demo-zero-e913/zones/us-east4-c/instances/vm2-0


NIFI-10826 Separate Maven Compile and Verify in ci-workflow

Summary
NIFI-10826 Separates Maven compilation and verification into separate build steps within the GitHub ci-workflow configuration.
The updated ci-workflow includes a Maven Compile step that calls mvn compile with two threads per core and excludes several assembly that are not necessary for initial compilation. The subsequent Maven Verify step calls mvn verify with existing arguments to run standard unit tests.
Additional changes include adjusting the lifecycle phase for nifi-h2-database to be invoked during compilation, and shifting NiFi Registry documentation unpacking to the prepare-package phase where it is needed.
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] Apache NiFi Jira issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[X] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[X] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[X] Build completed using mvn clean install -P contrib-check

[X] JDK 8
[X] JDK 11
[X] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

+1 LGTM and all checks pass, thanks for the improvement! Merging to main


Why is there a null return type if throws?

Given this model:
model Blog {
  id        Int      @id
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt
  name      String
  viewCount Int      @default(0)
  posts     Post[]
  authors   User[]
}

And this field resolver:
    t.field('blog', {
      type: 'Blog',
      args: { id: intArg({ required: true }) },
      resolve(_root, args, ctx) {
        return ctx.photon.blogs.findOne({ where: { id: args.id } })
      },
    })

I get a TS type error because resolve return type is not satisfied by photon return type:
Type '(_root: {}, args: { id: number; }, ctx: Context) => BlogClient<Blog | null>' is not assignable to type 'FieldResolver<"Query", "blog">'.
  Type 'BlogClient<Blog | null>' is not assignable to type 'Blog | PromiseLike<Blog> | { id: MaybePromise<number>; createdAt: MaybePromise<Date>; updatedAt: MaybePromise<Date>; name: MaybePromise<string>; viewCount: MaybePromise<number>; } | PromiseLike<...>'.
    Type 'BlogClient<Blog | null>' is not assignable to type 'PromiseLike<Blog | { id: MaybePromise<number>; createdAt: MaybePromise<Date>; updatedAt: MaybePromise<Date>; name: MaybePromise<string>; viewCount: MaybePromise<number>; }>'.
      Types of property 'then' are incompatible.
        Type '<TResult1 = Blog | null, TResult2 = never>(onfulfilled?: ((value: Blog | null) => TResult1 | Promise<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | Promise<TResult2>) | null | undefined) => Promise<...>' is not assignable to type '<TResult1 = Blog | { id: MaybePromise<number>; createdAt: MaybePromise<Date>; updatedAt: MaybePromise<Date>; name: MaybePromise<string>; viewCount: MaybePromise<number>; }, TResult2 = never>(onfulfilled?: ((value: Blog | { ...; }) => TResult1 | PromiseLike<...>) | null | undefined, onrejected?: ((reason: any) => TRe...'.
          Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible.
            Types of parameters 'value' and 'value' are incompatible.
              Type 'Blog | null' is not assignable to type 'Blog | { id: MaybePromise<number>; createdAt: MaybePromise<Date>; updatedAt: MaybePromise<Date>; name: MaybePromise<string>; viewCount: MaybePromise<number>; }'.
                Type 'null' is not assignable to type 'Blog | { id: MaybePromise<number>; createdAt: MaybePromise<Date>; updatedAt: MaybePromise<Date>; name: MaybePromise<string>; viewCount: MaybePromise<number>; }'.

At first I thought the possible null return type modelling the fact that the record may not exist in the database. But actually it seems that photon will throw in that case:
Using ts-node version 8.4.1, typescript version 3.7.2
🚀 Server ready at http://localhost:4000
Error:
Invalid `photon.()` invocation in /Users/jasonkuhrt/projects/prisma-labs/nexus-prisma/examples/blog/src/schema/Query.ts:22:12

Reason: Error occurred during query execution:
ConnectorError(RecordDoesNotExist)

    at PhotonFetcher.<anonymous> (/Users/jasonkuhrt/projects/prisma-labs/nexus-prisma/examples/blog/node_modules/@generated/photon/index.js:51:27)
    at Generator.throw (<anonymous>)
    at rejected (/Users/jasonkuhrt/projects/prisma-labs/nexus-prisma/examples/blog/node_modules/@generated/photon/index.js:6:65)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

Therefore I'm not sure what the null is doing? Working around the types is easy enough:
    t.field('blog', {
      type: 'Blog',
      args: { id: intArg({ required: true }) },
      resolve(_root, args, ctx) {
        return ctx.photon.blogs
          .findOne({ where: { id: args.id } })
          .then(maybeBlog => {
            if (!maybeBlog) {
              throw new Error(`No such user: ${args.id}`)
            }
            return maybeBlog
          })
      },
    })

But is silly, if that code is actually never going to be called.

Oh maybe the fact that it throws is a bug? Just saw https://github.com/prisma/photonjs/issues/288 now.

Yes, throwing an error seems like a bug in this case. Closing as a duplicate of #288 for now. In case you'd like to change this behavior, please reopen or open a new issue 🙏


Contribution: checkpoints AVAILABLE!

Hi guys,
First I would like to thank @junjun3518  for the excellent work of developing and sharing the code. I trained the model following the paper settings for two weeks on a V100 GPU using ratio=2 and 3. I would like to contribute to the project by sharing the checkpoints. Below are the download links.
nuwave x2:
https://drive.google.com/file/d/1pegayKs-i78yWlPuLIp-BCU8KxxCpBzd/view?usp=sharing
nuwave x3:
https://drive.google.com/file/d/12RUMjEALAs0EoEw6Fqf9ZkpTm3COX6sf/view?usp=sharing
The following are images of the training logs.
nuwave x2:
epoch:

loss:

val loss:

nuwave x3:
epoch:

loss:

val loss:

b-a01c-8df0b99c9e0e.svg)

Hey there @junjun3518 and and @freds0. Can I (or @junjun3518, if they'd like) share this model on the Hugging Face Hub?

Thank you for your great contribution! I want to use checkpoint to upsample music. What performance devices do I need?  Can a personal laptop run this model?

Yes, it is also runnable with CPU (but very slow).
For the music case, I don't recommend you to use this project since it is only trained with clean speech without music

Yes, it is also runnable with CPU (but very slow). For the music case, I don't recommend you to use this project since it is only trained with clean speech without music

Thanks for getting back to me so quickly. If I use music data to train the model, and then use the model to upsample, is that feasible?

I think that it is different from the instrumental of the source.
For example, it is hard to apply to electronic music, since high-frequency sounds of electronic do not correlate with low-frequency sounds.
For classic instrumental or piano, it is applicable.

Would you say 700 epochs are enough for training?


Fix using --help, --verbose, etc.

When running cargo fmt -- --help, no output would be displayed.
Closes rust-lang/cargo#7027.

This solution is a little sloppy, but I think anything else would require a much larger change.

Can you add a test ?

Sure.  However, there aren't any tests for cargo fmt that I can find.  I could set up an integration test to launch it.  It won't be completely trivial (it might require things like PATH modification), though.  Is that what you're thinking of?

@ehuss re test: I never did so myself, but is it possible to create a method which returns the binary's name, conditionally compiling the method on whether or not a test is run ?
Instead of below, do Command::new(get_binary()):
https://github.com/rust-lang/rustfmt/blob/466ddc9aba88dd33e28226642223c5285c47336a/src/cargo-fmt/main.rs#L121
#[cfg(test)]
fn get_binary() -> String {
    // absolute path should be returned
    "./target/debug/rustfmt"
}

#[cfg(not(test))]
fn get_binary() -> String {
    "rustfmt"
}

This would mean that cargo build needs to have run before, but anyway this is already required by some tests:
https://github.com/rust-lang/rustfmt/blob/dbac28b4b4f2adb135104593365943b3eab24685/src/test/mod.rs#L1074-L1078

I have updated with the different approach, and added some tests.  I just used the standard current_exe trick for now.  I'm actually working on adding a first-class way for tests to find the binaries in cargo, so hopefully sometime soon that won't be necessary anymore.

Thanks!


Confusing sentence, possible typo

Most computer langauges (such as Ruby, JavaScript and C) allow us to call a function from within itself. The use of this to solve a problem is called recursion and is a central idea in computer science. In functional programming it is frequently used instead of recursion, depending on the structure of the language.

The first "languages" is a typo. The last sentence:

The use of this to solve a problem is called recursion and is a central idea in computer science. In functional programming it is frequently used instead of recursion...

I think the second instance of recursion here was meant to be something else.

second thing is intended to be iteration. Agreed on typo.


[Mod Support Request] - Pixelmon

https://pixelmonmod.com/downloads.php
~899 Pokémon
1.16.5 Forge

Also interested in this, it seems rather complex because all pokemon entities in-game are displayed as pixelmon:pixelmon, and they use their own rendering engine so sprites would have to be made/compiled manually (which could be simplified by using something like https://github.com/msikma/pokesprite to source the sprites from).

@One-Nub Even if all pokemon share the same ID, the variants might already be supported by default if the entity renderer returns a unique texture for each one. The number of pokemon is still huge though.

Fortunately the renderer does indeed return a unique ID for each pokemon. Still a lot of pokemon to support, but I'm working on it!

@babybluetit That's awesome!

@babybluetit You're awesome, thank you!

Thank you both for your kind words! The pack has now been approved, you can download it from here.


Attribute conflict

Hello,
When i include your library in my gradle file, it gives error while syncing...
Error:(2) Attribute "entries" has already been defined
I cannot figure out what is causing this problem. Please Help!!

How you included this project as gradle ?
I am not able to do this :
compile 'com.github.davidpizarro:pickerui:1.0.1'

Hello Azra,
your method should work!
When i first included this library it didn't seem to work, but give it a little time for Gradle Sync..It should work..
In my case problem arose because i was having some problem with the attributes...
But, still if you want to include this project in a different way, you can just download the whole source code and use 'Import Library' feature of the Android Studio to include the library sub directory of the downloaded project. After that, you just need to update the line in settings.gradle file from
include ':app' to include ':app', ':library'
And then you can use the library!!

How can I change the TextView textSize? Is there any method or not?

You can change the textSize by using
'<pickerui:textCenterColor="#
pickerui:textNoCenterColor="#737373">'

Hello Dhruv,
This guy has not provided any kind of attribute to change text size of the PickerUI. But I suggest you try using the inbuilt android attributes textSize and check.
If that does not help, then I am afraid you cannot do anything if you are including this library using compile method. But if you are importing this library in the form of a module in your project, then you can go inside the Java files and make a getTextSize() function by yourself, in which you can call the textSize from inside.
This way it can be done!!

The 'entries' attribute has been already used in a different library, that is why i was getting that error.
So, either you can edit the source code by yourself and make the changes or
change the library that is using the same attribute or
just use download the whole source code and import the code as library explicitly.
I hope this helps.:P


Error: Could not find a production build in the '/app/.next' directory.

When I try to docker-compose up -d --build, the build is completed successfully but the calendso app container keeps restarting. Looking into docker logs, I get these errors:
+ /app/scripts/wait-for-it.sh db:5432 -- echo 'db is up'
db is up
+ npx prisma db push
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "calendso", schema "public" at "db:5432"

The database is already in sync with the Prisma schema.

✔ Generated Prisma Client (2.30.3) to ./node_modules/@prisma/client in 746ms

+ yarn start
yarn run v1.22.5
$ next start
ready - started server on <IP_ADDRESS>:3000, url: http://localhost:3000
info  - Loaded env from /app/.env
Error: Could not find a production build in the '/app/.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
    at Server.readBuildId (/app/node_modules/next/dist/server/next-server.js:1573:23)
    at new Server (/app/node_modules/next/dist/server/next-server.js:92:29)
    at NextServer.createServer (/app/node_modules/next/dist/server/next.js:107:16)
    at async /app/node_modules/next/dist/server/next.js:119:31
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
+ /app/scripts/wait-for-it.sh db:5432 -- echo 'db is up'
db is up
+ npx prisma db push
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "calendso", schema "public" at "db:5432"

The database is already in sync with the Prisma schema.

✔ Generated Prisma Client (2.30.3) to ./node_modules/@prisma/client in 684ms

┌─────────────────────────────────────────────────────────┐
│  Update available 2.30.3 -> 3.2.1                       │
│                                                         │
│  This is a major update - please follow the guide at    │
│  https://pris.ly/d/major-version-upgrade                │
│                                                         │
│  Run the following to update                            │
│    npm i --save-dev prisma@latest                       │
│    npm i @prisma/client@latest                          │
└─────────────────────────────────────────────────────────┘
+ yarn start
yarn run v1.22.5
$ next start
ready - started server on <IP_ADDRESS>:3000, url: http://localhost:3000
info  - Loaded env from /app/.env
Error: Could not find a production build in the '/app/.next' directory. Try building your app with 'next build' before starting the production server. https://nextjs.org/docs/messages/production-start-no-build-id
    at Server.readBuildId (/app/node_modules/next/dist/server/next-server.js:1573:23)
    at new Server (/app/node_modules/next/dist/server/next-server.js:92:29)
    at NextServer.createServer (/app/node_modules/next/dist/server/next.js:107:16)
    at async /app/node_modules/next/dist/server/next.js:119:31
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
+ /app/scripts/wait-for-it.sh db:5432 -- echo 'db is up'
db is up
+ npx prisma db push
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "calendso", schema "public" at "db:5432"

The database is already in sync with the Prisma schema.

✔ Generated Prisma Client (2.30.3) to ./node_modules/@prisma/client in 459ms

+ yarn start
yarn run v1.22.5
$ next start
ready - started server on <IP_ADDRESS>:3000, url: http://localhost:3000
info  - Loaded env from /app/.env

Also addressing this in my WIP dockerfile updates

please re-test with the current build

Closing for inactivity

I am experiencing this issue with the most up to date version of this repo

Are you experiencing the issue with your own built image or the provided image?

with my own built image

Experiencing the same issue with the current version of the repo after trying to build the image with the instructions provided in the README


Fix bad pixels when crop window is overlapping tiles

When the crop window is overlapping on tiles, AOVs (maybe diagnostics only) have incorrect pixels.

But the final image is correct.

Also happens with the uniform pixel/tile renderer.

Checkout the clear method.


Uncaught Error: Cannot call function 'getPosition' on missing remote object 138Error: Cannot cal...

[Enter steps to reproduce:]

While finding the position of the function.
While finding the project file.

Atom: 1.34.0 x64
Electron: 2.0.16
OS: Mac OS X 10.14.2
Thrown From: Atom Core
Stack Trace
Uncaught Error: Cannot call function 'getPosition' on missing remote object 138
Error: Cannot call function 'getPosition' on missing remote object 138
at throwRPCError (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:143:17)
at EventEmitter. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:354:7)
at emitMany (events.js:147:13)
at EventEmitter.emit (events.js:224:7)
at WebContents. (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:295:13)
at emitTwo (events.js:126:13)
at WebContents.emit (events.js:214:7)
At /Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:221

Error: Cannot call function 'getPosition' on missing remote object 138
Error: Cannot call function 'getPosition' on missing remote object 138
    at throwRPCError (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:143:17)
    at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/rpc-server.js:354:7)
    at emitMany (events.js:147:13)
    at EventEmitter.emit (events.js:224:7)
    at WebContents.<anonymous> (/Applications/Atom.app/Contents/Resources/electron.asar/browser/api/web-contents.js:295:13)
    at emitTwo (events.js:126:13)
    at WebContents.emit (events.js:214:7)

    at Object.exception (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:221:30)
    at metaToValue (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:225:28)
    at Object.remoteMemberFunction (/Applications/Atom.app/Contents/Resources/electron.asar/renderer/api/remote.js:125:16)
    at AtomEnvironment.getWindowDimensions (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:656438)
    at AtomEnvironment.storeWindowDimensions (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:1:656853)
    at WindowEventHandler.handleWindowBlur (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:286221)

Commands

Non-Core Packages
atom-beautify 0.33.4
atom-clock 0.1.16
emmet 2.4.3
goto-definition 1.3.4
teletype 0.13.3

Thanks for contributing!
We noticed that this looks like a duplicate of https://github.com/atom/atom/issues/16630 so you can subscribe there for updates if you'd like (we believe that this will be fixed in a future Electron upgrade).

Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


feat: Removes path based patching. Adds anchor based.

Should help with extensions which mess with the DOM.
Refs:

https://github.com/jfyne/live/issues/28

@AnaelBerrouet can you test this branch with your extensions?

@AnaelBerrouet can you test this branch with your extensions?

Will pull today and test

Ran the test without branch changes again as sanity test, with extension that adds DOM elements and caused problems previously, as expected doesn't work. Then added the branch changes to the import and ran the buttons example successfully even with extension active. Awesome work!

@AnaelBerrouet thanks for your help testing!


Upgrade CI to Ubuntu 20

Motivation and Context
Prepare for a May 31s deprecation of Ubuntu 16 CI images.
NOTE: Replacing stale PR #1516, some of those changes should probably be ported.
How Has This Been Tested
CI
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

clang-tidy apt URL needs to change.


[User Story] As a service developer I want call rest NGSILD API for temporal/history data stored in timeseries database using Scorpio broker

Details
Use NGSILD API with temporal query format to access timeseries data
Acceptance Criteria

Start with a normal temporal query in NGSI-LD API format, should receive a response based on time duration
Apply complex temporal query like aggregation function on temporal entity data using NGSILD API

Response should have value according to Aggregation method

Tasks
[] Analyse SQL complex query implemented by Scorpio Broker and evaluate if it make sense with timeseries db function
[] Adapt Scorpio Broker history manager to timescaledb
[] Create connection of Scorpio broker with timescaledb
Resources:

For reference implement aggregation query on temporal data form timeseries data base scorpio aggregation support

Notes

Socpio 4.1.15 store entity data in temporalentityattrinstance table on jsonb format and process it.
look in file for reference implementation of temporal aggregation query Scorpio history manager implementation link

Multiple temporal API are like below from standard which is handled in temporal query manager of scorpio but need to be adjusted for timescaledb query as timeseries hyperfunction aggregate, max,min query read data directly.

temporal/entities/
temporal/entities/{entityId}
temporal/entities/{entityId}/attrs/
temporal/entities/{entityId}/attrs/{attrId}
/temporal/entities/{entityId}/attrs/{attrId}/{instanceId}


Testing web-sys for input, heading and title elements.

Submitting this as it bitrotted heavily and I don't want to lose it.
Input needs some follow up work. I verified everything besides the exising history test is working in Chrome.
I wasn't able to get this to work via cli?
Is the new command:
cargo +nightly test --target wasm32-unknown-unknown

I ripped out the existing TODO comments and moved to checking off the readme instead.

Awesome, thanks!
That CLI command should work yeah (in web-sys) and it should spawn a server in the background. Could you gist the logs though if that's failing to execute?
(the test framework is still pretty new and we're trying to iron out the kinks!)


fix: Replaced the overrides for the progress element to follow the Figma requirements

Replaced the overrides for the progress element to follow the Figma requirements

I don't think we need to do anything with the progress bar, the progress bar out of the box from Carbon is working just fine. Theses changes make progress bar look like this on SPAR :(
We can specify if we want it to be vertical or not through a prop, and colours are already overridden with our colors.scss

As per discussed with Craig, this won't be part of the common repo


How to make infinite random group loops?

I tried setNumberOfLoops but this function is not suitable because the sets amount loop, and after Returns the the beginning, and I needed after a run out a magnifying glass to return to the top with a new random group Loops.
That's where I left off:
https://gist.github.com/gHashTag/efbc812ec486efc79d1fac883764e537

What do you mean by "infinite random group loops"?
Also, the gist link is broken.

"infinite random group loops" - Here is a similar project: http://play.mubert.com
My Gist:
https://gist.github.com/gHashTag/efbc812ec486efc79d1fac883764e537

@benvium help please


Merge master into datastore-v1beta3.

@pcostell, let me handle this?

:+1:  for my commits.

@dhermes Sure thing -- Just wanted lint to pass on my other PR and this seems like the right way to do that. Will close this out.

Sorry, I didn't realize @tseaver change made it into master. I just merged and pushed to datastore-v1beta3 so we should be all good.


Speed up the detection process

First of all, really appreciate your work and time.
With small input data patterns, it is doing a good job, but when input data patterns crossing more than 1 lakh, it is taking too much time. Is there any possibility which can speed up the process (maybe using on GPU)

Hi @sasi143, thanks for your interest in Spaczz. I am very interested in improving the speed of the fuzzy matching process, however, for reasons I'll outline below, I unfortunately do not think this will happen in the near future without additional contributor(s).
I believe the performance bottleneck(s) in spaczz's fuzzy matching come from the amount of time the code spends in pure Python iterating through and processing text and potential matches. I do not believe the fuzzy comparisons themselves are a bottleneck because they are done with RapidFuzz which is already written in C++.  I do need to do some profiling to confirm this though.
The pattern that spaCy proper uses to achieve it's rapid speed is dropping most of it's internal text processing code to C, and that is the pattern I would eventually like to follow. Unfortunately, I have almost no experience with C/C++, so without help from additional contributor(s) with C experience, my progress will be quite slow.  That being said, I do intend to work on it myself, I just can't make any promises about timelines. Also, while I think incorporating GPU support is an interesting idea, to be honest I have even less of an idea about how to implement that than dropping portions of the code down to C/C++.
In the shorter term here are some possible actions:

Raise the min_r1 threshold from the current value of 25 for your patterns. min_r1 is essentially a trade-off between speed and accuracy. Raising it will mean some potential matches will be missed because they won't be passed to further match optimization, but raising it should result in modest speed increases.
Think about rewriting some of your fuzzy patterns as fuzzy regex patterns, look at the "Approximate “fuzzy” matching" section in the Regex package documentation. spaczz supports these kind of patterns and they will likely run faster as Regex is mostly implemented in lower-level code.
I can run some profiling on spaczz to confirm my hypothesis of where the bottleneck(s) are. In addition I may discover some "easy-wins" where I have written something inefficiently even for Python.
I can try to rethink/redesign aspect of the fuzzy matching algorithm to potentially reduce the number of comparisons it currently does.

I'm sorry I can't give you a more definite solution or timeline right now. Hopefully as people continue to discover/use spaczz some more experienced programmers may become interested in contributing. As things stand, I will slowly be working on accomplishing these speed improvements myself.
I'll use this issue as a place to keep track of these updates as they come.

@gandersen101 Really thankfull to your well explaination and appreciate for your time. Keep doing good work and stay safe.

Issue #41 has turned into a performance discussion and I am planning to make some performance improvements very soon. I will provide a summary of those changes on this thread soon.

Issue #41 has turned into a performance discussion and I am planning to make some performance improvements very soon. I will provide a summary of those changes on this thread soon.

@gandersen101 Thanks for the inspiration. I started a low-level integration of rapidfuzz into spaCy, to attempt to improve performance https://github.com/explosion/spaCy/pull/11359
Any thoughts/ideas welcome there.

@kwhumphreys very cool. Best of luck! Obviously I have not put much time into spaczz over the past couple years but the functionality is something people have been looking for. Hopefully you can get an official implementation into spaCy proper.
I'm going to add an announcement to the README - essentially I intend to address some issues/ add some functionality with spaczz going forward but I don't know if I'll ever have the time to "Cythonize" this library to extent that it's fast-enough for many use-cases.


add CODEOWNERS to repository

@justinthelaw when you merge, make sure to check the setting to "Require Approval from Codeowners".


Fix clippy warnings

Closes:  #309
Description

Use variables directly in the format! & write! strings
Wrap fields with large sizes with Vec
Remove unnecessary allow clippy::large_enum_variant, clippy::ptr_arg, clippy::wrong_self_convention

PR author checklist:

[ ] Added changelog entry, using unclog.
[ ] Added tests.
[ ] Linked to GitHub issue.
[ ] Updated code comments and documentation (e.g., docs/).
[ ] Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

Applied requested changes. Thank you so much @hu55a1n1 🙏


Some methods/fields are not properly remapped (4.0.0-SNAPSHOT)

Describe the bug
Some methods/fields do not seem to be properly remapped. (Using yarn mappings, unsure if this occurs for other mappings formats)
To Reproduce
Steps to reproduce the behavior:

Download this mod: https://modrinth.com/mod/dev-tools-unlocker/version/1.0.0
Open it in recaf
Download and extract the latest yarn build for 1.21.1 (in this case, https://maven.fabricmc.net/net/fabricmc/yarn/1.21.1%2Bbuild.3/)
Apply the downloaded yarn mappings
Open com.eightsidedsquare.devtools.ModInit
The methods LivingEntity.getStackInHand (net.minecraft.class_1309.method_5998) and ServerCommonNetworkHandler.sendPacket (net.minecraft.class_8609.method_14364) & field ActionResult.PASS (net.minecraft.class_1269.field_5811) are not remapped

According to linkie, all of these fields & methods have existing mappings.
Additionally, they are definitely present in the mappings file:
$ rg method_14364 yarn-1.21.1+build.3-tiny
20059:METHOD	arr	(Lzg;)V	b	method_14364	sendPacket
20266:METHOD	arx	(Lzg;)V	b	method_14364	sendPacket

Exception
N/A
Screenshots

Problem:

method_5998 belongs to net/minecraft/entity/LivingEntity / class_1309
The method reference in the code is net/minecraft/entity/player/PlayerEntity.method_5998

PlayerEntity is class_1657

There is no way for Recaf to know that PlayerEntity extends LivingEntity without generating phantoms

And those will only generate what can be inferred
JPhantom does not find any code that strongly implies this, even though we may know it intuitively as people familiar with the game's logic

Solution: Add a secondary resource to the workspace with code that proves class_1657 extends class_1309

Phantom generation is also disabled by default ATM btw

Problem:
1. `method_5998` belongs to `net/minecraft/entity/LivingEntity` / `class_1309`

2. The method reference in the code is `net/minecraft/class_1657.method_5998` which is not `class_1309`

   * `class_1657` is `PlayerEntity`

3. There is no way for Recaf to know that `PlayerEntity extends LivingEntity` / `class_1657 extends class_1309` without generating phantoms

   * And those will only generate what can be inferred
   * JPhantom does not find any code that strongly implies this, even though we may know it intuitively as people familiar with the game's logic

Solution: Add a secondary resource to the workspace with code that proves class_1657 extends class_1309

Might want to slap this somewhere in the docs and/or present this to the user when first applying mappings.

Might want to slap this somewhere in the docs

Definitely planned. I've been focusing on the dev-docs first as they solidify. There's still a number of UI changes to make so I haven't really started hammering out user-docs.


Documentation

This is a minor change to allow readthedocs to compile the documentation.
I had to create a .readthedocs.yaml to force RTD to read the pyproject.toml and the already existing configuration file for the sphinx documentation building.
Unfortunately, I still cannot make the api and the autofunction documentation work at this time.
I still have to update the various sections to match the recent changes recently made. I'll open an issue as a reminder to myself.

Hi @Teusia,
Thanks for the updates! It seems there are some conflicts though, with changes I made some time ago (6781cf33d0a1c2e750d4d64e1db00c498c194a73), e.g. I updated the Github urls to https://github.com/astro-tiptop but your PR is cancelling those changes. Maybe some issue with the repository migration or some local changes you had ?
I opened (and merged) another PR with just the configuration file (#30), so we can have the build working (with the API, and it will also now build on PRs). Do you want to update your PR based on my changes on main before I make the release ? I can help if you need.

To simplify the git history and remove intermediate commits (which included FITS file) I will try the "Squash and merge" option.


Update evalml from selecting using pandas dtypes to selecting using Woodwork logical types

Closes #1290

@freddyaboulton Thanks for holding me accountable! 😁 I focused on removing use cases of the variables we created in gen_utils, and these were great spots to update too.
I wasn't sure how to update IDColumnsDataCheck without the 'exclude' parameter; I decided to go with including what I considered as reasonable columns to check for (int and categorical), as they cover our test case use cases.
Recently updated this PR to address OHE, SimpleImputer and the ID col check so would love it if you could take a second look 😁

@dsherry I went through and addressed your comments! I deleted the categorical_ww_type and others in place of just selecting the correct logical type/semantic tag, but I kept numeric_and_boolean_ww around. Reason is, the alternative would be to check if the semantic tag was numeric or the logic type was boolean. In the case where we also want to check categoricals, we would have to check if either 'numeric' or 'category' was in the semantic tags, or if the logic type was boolean. Keeping the list of logic types to check for seemed easier to understand, but lmk if you feel differently!


MVP for github webhooks and auto deploy

As an MVP it allows to do go run cli/main.go project connect <project path> --api-url http://localhost:9090 --http-url http://localhost:8080 which does following
It creates a project in control plane
Redirects user to install app (if no access currently)
Saves installation ID in a callback if user installs app on correct repo
and runs a rill start "project url" path if new changes are pushed (Currently works for public repo only)

Apart from some TODOs mentioned in code following things can be improved/added

It currently misses some edge cases around re-installation/re-authorization.
The installation handling has lot of common functionalities across APIs (is messy) and can be better handled with a state machine around installations state. Then it will be easy to fix the edge cases mentioned above as well.
It has no retries on API failures.
Need to add a service layer.
Handle DB transactions. Should rollback transactions in case of API failure.
Navigate to correct UI pages if installation is success/failure

#1830


Page doesn't work with Dark Theme

Consider using graphics that work with dark theme in future!

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

ID: ce725cf3-1fcb-9942-3b6f-63dade96b0d3
Version Independent ID: 0e724841-6fcc-d35a-167f-f5c7d2162f30
Content: Power BI Security - Power BI
Content Source: powerbi-docs/service-admin-power-bi-security.md
Service: powerbi
Sub-service: powerbi-admin
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Ahh, sorry, seems I'm not the first to make this comment!

@LouOtway - I'll take a look and fix these

Fixed, thanks for pointing this out.


OAuth: Auth should succeed when birthdate and gender are not returned by providers

ACTUAL:
Facebook auth fails when a user hides their birthdate or gender
EXPECTED:
Auth succeeds when birthdate or gender are hidden.
Change Summary:

Moved parsing logic to common function
Added tests for failing scenarios
Updated documentation

Before these changes, Facebook and Google json were parsed in separate functions. I checked for birthdate and gender properly in Google's parser, but didn't do so in Facebook's (oops). In addition, neither parser was tested because they were hard to test. These changes move parsing logic to a common function which minimizes provider specific code and allows me to test parse logic using a mock. This should also make new providers easier to add in the future.

Hello @drryanjames! Thanks for updating the PR.

In the file portal/models/flaskdanceprovider.py, following are the PEP8 issues :

Line 92:45: E703 statement ends with a semicolon

FYI added @pbugni as a reviewer as well


Extract Method and Extract Variable commands have disappeared

Environment data

VS Code version: 1.61.0
Extension version (available under the Extensions sidebar): v2021.10.1336267007
OS and version: Windows 10 Version	10.0.19042 Build 19042
Python version (& distribution if applicable, e.g. Anaconda): 3.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Relevant/affected Python packages and their versions: XXX
Relevant/affected Python-related VS Code extensions and their versions: XXX
Value of the python.languageServer setting: Pylance (version v2021.10.1)

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
When accessing command palette two commands were available:

extract variable
extract method
these commands are now missing

Actual behaviour
commands are missing
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

open command palette
search for word extract
notice commands extract variable and method are missing

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

@norbertnogacki-tomtom Starting with the latest release these commands are now supported via the light bulb.

Because we have not heard back with the information we requested, we are closing this issue for now. If you are able to provide the info later on then we will be happy to re-open this issue to pick up where we left off.


Ability to tag and remove a tag for an EKS resource

This is a feature request to leverage moto for mocking tag functions in the EKS client, including
tag_resource()
untag_resource()
list_tags_for_resource()
According to the latest published dev docs, this is not implemented yet at http://docs.getmoto.org/en/latest/docs/services/eks.html

Thanks for raising this @mmerrill3 - will mark it as an enhancement to add these methods.
If this is something you'd like to tackle yourself, PR's are always welcome!

Yeap, I was going to give it a whirl.  You can assign to me.

@bblommers could your approve the workflow since its my first contribution to this project?


fix: typo in function

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


isByteLength: a chinese charactor is three bytes?

const len = encodeURI(str).split(/%..|./).length - 1;
encodeURI('abc中文').split(/%..|./).length  === 10

a chinese charactor is three bytes?

In Node:
> Buffer.byteLength('中', 'utf8')
3
> Buffer.byteLength('文', 'utf8')
3

So, yeah, 中 and 文 are three bytes when encoded as UTF-8.

In general, on the Chinese website data validation habits, a Chinese characters is equal to two English letters.

Maybe something like https://github.com/sindresorhus/string-width is what you are looking for? It will test for string widths rather than bytes, and it does fulfill the requirement of 1 Chinese character being equivalent to two English letters.

Yes, thank you.
If the validator have like  isStringWidth (STR, {min: 0, max: 10}} ,  is very good.

isByteLength() counts UTF-8 bytes. I've updated the README to make this clear.
>>> 'abc\xE4\xB8\xAD\xE6\x96\x87'
'abc\xe4\xb8\xad\xe6\x96\x87'
>>> 'abc\xE4\xB8\xAD\xE6\x96\x87'.decode('utf8')
u'abc\u4e2d\u6587'
>>> print _
abc中文


Make GTEST location configurable.

GTEST_LIBDIR and GTEST_INCDIR are now configurable as parameters to make, which makes it easier to use the gtest library already on the system and not needing the one from third_party/.
Also: invoke yosys from YOSYS_PATH instead of just system yosys, as these might be two different things.

I like the solution WIP in #485 by @timkpaine to remove that awkward local building of gtest entirely. Better way to do it.
Tim, might be useful to break out as separate PR.
Will close my PR here.


epinio app logs should show a better error when there is no workload

Steps to reproduce:

Stage an app that fails staging (or maybe just create an application without a workload)
Try to fetch the application logs with epinio app logs

The command returns a 400 Bad Request but there is no error message indicating what the problem is.

For an application without workload, not even tried to stage I see, client side:

work@tagetarl:~/SUSE/dev/epinio> ep app create fox

🚢  Create application
Namespace: workspace
Application: fox

✔  Ok
work@tagetarl:~/SUSE/dev/epinio> ep app logs fox

🚢  Streaming application logs
Namespace: workspace
Application: fox

❌  failed to tail logs: Failed to connect to websockets endpoint. Response was = &{Status:400 Bad Request StatusCode:400 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Content-Length:[101] Content-Type:[application/json; charset=utf-8] Date:[Mon, 20 Jun 2022 10:44:38 GMT] X-Content-Type-Options:[nosniff]] Body:{Reader:0xc00088b1a0} ContentLength:101 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc0006a1e00 TLS:}
The error is: websocket: bad handshake

❌  error streaming application logs: Failed to connect to websockets endpoint. Response was = &{Status:400 Bad Request StatusCode:400 Proto:HTTP/1.1 ProtoMajor:1 ProtoMinor:1 Header:map[Content-Length:[101] Content-Type:[application/json; charset=utf-8] Date:[Mon, 20 Jun 2022 10:44:38 GMT] X-Content-Type-Options:[nosniff]] Body:{Reader:0xc00088b1a0} ContentLength:101 TransferEncoding:[] Close:false Uncompressed:false Trailer:map[] Request:0xc0006a1e00 TLS:}
The error is: websocket: bad handshake

And the server log contains

2022/06/20 10:44:38 EpinioServer: "msg"="ERROR" "error"="No logs available for application without workload" "requestId"="663cd8e1-de9c-4f2b-900e-62f2cdb2103c" "origin"="/wapi/v1/namespaces/workspace/applications/fox/logs?authtoken=[...]&follow=false&stage_id=" "error"="No logs available for application without workload"

The issue is not that the server does not provide a good error message.
The issue is that this error message cannot be returned for a websocket request.

The double report of the error happens because the error is for one printed directly to the UI via c.ui.Problem()..., and for two still returned to cobra, which then prints it again, with a different prefix.


fixes #59, baseurl to resolve // issue

Applied the ruleset for baseurls outlined here
http://downtothewire.io/2015/08/15/configuring-jekyll-for-user-and-project-github-pages/

Had to open new pull as last one was completely broken

@lukemcgregor Sorry for the delay, I finally got around to reviewing these PRs and merging them. Thank you for your contributions. When you get a chance can you update this PR so we can get it in.  Looks like the fix will make life easier for a lot of people. Cheers!

@joshgerdes try now. Thanks for making this awesome skin 👍


 How can I skip or avoid this?

I am getting the same thing and also have zsh, zsh bug?

I am getting the same thing and also have zsh, zsh bug?

I got this "fixed" for now by deleting fix_file rule, /usr/lib/python3.9/site-packages/thefuck/rules/fix_file.py

I got this "fixed" for now by deleting fix_file rule, /usr/lib/python3.9/site-packages/thefuck/rules/fix_file.py

Instead of deleting the rule file, you can exclude that rule, using either the config file or the environment variable.
Refer thefuck#settings

Instead of deleting the rule file, you can exclude that rule, using either the config file or the environment variable.
Refer thefuck#settings

I have observed the same behavior under Fish too. Excluding the rule fix_file, as suggested by @wereii and @divykj solves the issue for me.

Hello,
I have the same problem.  It doesn't work at all. I'm not sure if is the same problem as reported @elig0n but the symptom is the same.

Hello,
I have the same problem.  It doesn't work at all. I'm not sure if is the same problem as reported @elig0n but the symptom is the same.

@waldauf
I think you need to quote fix_file, i.e.
exclude_rules = [ "fix_file" ]

@elig0n

I think you need to quote fix_file, i.e.
exclude_rules = [ "fix_file" ]

It seems to me that this is the right cure! Thank you for your help. :]

I wish I could reproduce this one, but unfortunately I can't. It would be super helpful if the output of thefuck with export THEFUCK_DEBUG=true could please be posted by any of you still facing this issue.

DEBUG: Run with settings: {'alter_history': True,
 'debug': True,
 'env': {'GIT_TRACE': '1', 'LANG': 'C', 'LC_ALL': 'C'},
 'exclude_rules': [],
 'excluded_search_path_prefixes': [],
 'history_limit': None,
 'instant_mode': False,
 'no_colors': False,
 'num_close_matches': 3,
 'priority': {},
 'repeat': False,
 'require_confirmation': True,
 'rules': [<const: All rules enabled>],
 'slow_commands': ['lein', 'react-native', 'gradle', './gradlew', 'vagrant'],
 'user_dir': PosixPath('/home/corentin/.config/thefuck'),
 'wait_command': 3,
 'wait_slow_command': 15}
DEBUG: Received output: /bin/sh: line 1: fasd_cd: command not found
...
vim /bin/sh +1 && fasd_cd -d sds front [enter/↑/↓/ctrl+c]

...

The received output in fact matches one of the patterns in the fix_file rule:
https://github.com/nvbn/thefuck/blob/2a166a7dec3c872ef6be3870b50889500ca6a212/thefuck/rules/fix_file.py#L27
What needs an answer now is why is TheFuck getting such an output. Can you please share your setup? (OS, Shell, Python, with respective versions, etc.)
Thanks!

 Such as on macos:
$ /usr/local/bin/bash -c fasd_cd
/usr/local/bin/bash: line 1: fasd_cd: command not found

$ /usr/local/bin/bash --version
GNU bash, version 5.1.8(1)-release (x86_64-apple-darwin19.6.0)
Copyright (C) 2020 Free Software Foundation, Inc.
...

or on Arch Linux:
$ /bin/sh -c fasd_cd
/bin/sh: line 1: fasd_cd: command not found

eab1b0b65cf2# /bin/sh --version
GNU bash, version 5.1.8(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2020 Free Software Foundation, Inc.
...

Whereas some older don't:
$ /bin/sh -c fasd_cd
/bin/sh: fasd_cd: command not found

$ /bin/sh --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin19)
Copyright (C) 2007 Free Software Foundation, Inc.

How to avoid that line number being part of the error message?
Should that regular expression be removed from fix_file?

Or should the it be changed to ignore outputs containing line 1: and command not found?
Or should that verification be a second step?

What else could be done?

Until it's still an issue, fix_file can be either excluded or given a lower priority.

Same on Arch with Zsh

Hello,
I have the same problem.  It doesn't work at all. I'm not sure if is the same problem as reported @elig0n but the symptom is the same.

@waldauf I think you need to quote fix_file, i.e.
exclude_rules = [ "fix_file" ]

Fixed with this

Here's a workaround using environment variables, e.g. in your .zshrc:
# Workaround for <https://github.com/nvbn/thefuck/issues/1153>
export THEFUCK_EXCLUDE_RULES='fix_file'


docs(readme): 📝 add site that uses urara

urara.kwchang0831.dev will updates be kept?

Yes.

After a month, apparently urara.kwchang0831.dev is not updated:

plausible

I am sorry.

Since I cannot update my blog that uses Urara in a timely manner, I understand that I am no longer qualified to be listed on the Urara README #Sites.
I am sorry. Please accept the PR #38 to remove my site.
Thanks.


[Idea] Support for Mica effect/Blur effect for Windows 11

The title basically sums everything up. We would love to see the mica effect on vscode. As of now, we can only do this via extensions such as vibrancy but that makes the version unsupported and buggy.
However, official mica support would be awesome.

/duplicate of #133774 which in turn is duplicate of #115641 and others


Usage of the REST API

Hi @anderspitman!
First of all, let me thank you for the work you have done with boringproxy! I've been testing it for the last hours and it is awesome! Thank you very much!
Anyway, I have a doubt about the REST API of the platform. How can I find the documentation of the expected results from the GET methods or the accepted parameters for the POST methods? Making a simple GET call to the /users endpoint returns an HTML page, while I was expecting an XML or JSON formated response. Is this correct? Or am I doing the wrong request? Is there any plan to improve the REST API?
Thanks again for your help and keep up with the fantastic job! Best regards!

Hi @bodiroga, currently the API is mostly for internal use, since we're pre-1.0. That's why there's no documentation. That said, you might get pretty far by using /api/ endpoints, which return JSON. Everything else is for the web UI which is what you hit with/users. You can look in this file to get a feel for the available /api/ endpoints:
https://github.com/boringproxy/boringproxy/blob/2e0ff06c33a0d94172242adcea708058dde1aeb6/api.go
The plan is to improve the JSON API eventually (note that it isn't designed to be RESTful), but that's a fairly low priority.
May I ask what you're trying to accomplish with it? It might not be too much trouble to add specific features if needed.

Hi @anderspitman!
Thanks for your fast response! 👍🏻
I've tried what you suggested, but I'm only getting results for the /api/tunnels endpoint. Is there any way, using the admin access token, to list all available users? And what about clients and tokens? If I try to load https://<my_domain>.takingnames.live/api/users in my web browser, I get the following image:

Anyway, don't worry, I have achieved to parse the HTML response from the direct endpoints (/users, /tokens, /clients) to get the information I want, and, even if it is really ugly, it works 😉
Thanks again for your hard work!

Ah yeah I just checked the code and a lot of the functionality isn't actually implemented yet. But it didn't take very long at add GET support for /api/users and /api/tokens. You can use the master builds if you want to switch to JSON:
https://gemdrive.io/apps/delver/?drive=https://files.apitman.com&path=/public/boringproxy/master
Clients is currently a special case, since clients are scoped under users. You can get all the clients from /api/users, but you'll need to do a little extra work to extract them. May potentially add a separate GET /api/clients if there's a need.

Hi again @anderspitman!
Sorry for the late response, I didn't see the notification for the new message 😢
Sadly, I have create a small python library to easily interact with boringproxy's rest api (https://github.com/bodiroga/boringproxy-python-api), but I'm not using your newly created endpoints. I will try to update it once a new boringproxy version is released 👍🏻
Thank you very much for your support!

Sounds good :+1:


Implement cohort extraction endpoint

Are we sure that returning a JSON array with potentially 1 million ID's is feasible?

Are we sure that returning a JSON array with potentially 1 million ID's is feasible?

@alexanderkiel , as discussed - no -> paging will most likely be have to added in the next months:
https://github.com/medizininformatik-initiative/flare/issues/180


TextToSpeech Stream (StreamingSynthesizeRequest) Documentation

Please make sure you have searched for information in the following guides.

[X] Search the issues already opened: https://github.com/GoogleCloudPlatform/google-cloud-node/issues
[X] Check our Troubleshooting guide: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/troubleshooting
[X] Check our FAQ: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/faq
[X] Check our libraries HOW-TO: https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md
[X] Check out our authentication guide: https://github.com/googleapis/google-auth-library-nodejs
[X] Check out handwritten samples for many of our APIs: https://github.com/GoogleCloudPlatform/nodejs-docs-samples

Documentation Request
Hello,
I'm trying to use the new method ttsClient.streamingSynthesize but unsuccessfully. The error I'm getting is:
"Malordered Data Received. Expected streaming_config but received input. Send exactly one config, followed by text input"
After checking the documentation, the PR and the unit test of the version "@google-cloud/text-to-speech": "5.4.0" I couldn't find any example of the StreamingSynthesizeRequest populated. Also could not find any tts stream sample here.
Here is part of my code:
            const request = {
                streamingConfig: { voice: { languageCode: 'es-es', name: 'es-ES-Polyglot-1' } },
                input: { text: '¡hola!' }
              };

            const stream = await client.streamingSynthesize();
            stream.on('data', (response) => this.onData(response));
            stream.on('error', (err) => reject(err));
            stream.on('end', () => resolve());
            stream.write(request);
            stream.end();

Hi @brunocarneiro,
Thanks for your question. Since these libraries are mostly autogenerated, this documentation request is not something we can fulfill (it needs to be done either by the API, or it needs a handwritten sample).

If this is a question, please submit your question to text-to-speech  here). You can also submit it as a question to our Discussions tab to engage our community.
If this is a request for handwritten documentation, please submit it to googleapis/nodejs-docs-samples.
Although this isn't quite the same, there is an example for streaming with text-to-speech that seems to have the config slightly differently

Like @brunocarneiro mentioned, the example does not work and gives the following error:
Malordered Data Received. Expected streaming_config but received input. Send exactly one config, followed by text input

I've tried writing a streaming_config config first before writing the request object, but it's still the same error.


feat(policy): add statement on global reg

Hey! Seems like the links are broken?

oh good call @pietroalbini - not sure why but my docs -> markdown converter simply made spans to apply an underline and did not include the link. i'll make a PR to fix. thanks for catching- next time would you mind filing an issue?

Sure! Next time I'll file an issue :)


Implementing FPS Counter for Benchmarking

Added an FPS Counter for benchmarking purposes as requested in issue #13.
Changes Made:

Added Views/FPSCounter.h
Modified Core.h
Modified CMakeLists.txt to include Views/FPSCounter.h

Please review the changes and merge if they meet the requirements.

Closes #13.


wlroots doesn't detect NVIDIA gpu after kernel update

arch linux
hyprland ver: hyprland 0.40.0-1
after updating from linux 6.8.9.arch1-2 to linux 6.9.1.arch1-1 wlroots refuses to see nvidia gpu. Nothing else has changed on the system, just the kernel got updated.
nvidia-smi shows the gpu correctly too.
if i run export WLR_RENDERER_ALLOW_SOFTWARE=1 before running Hyprland - it launches, but works EXTREMELY poorly
downgrading kernel and headers back to linux 6.8.9.arch1-2 solves the problem, but i'd rather have latest kernel version.
and the crash report:
hyprlandCrashReport22711.txt
nvidia bs:
nvidia-dkms 550.78-1
nvidia-settings 550.78-1
nvidia-utils 550.78-1

Nothing else has changed on the system, just the kernel got updated.

You said it yourself, this is not a Hyprland issue.

Idk if you already tried other DEs/WMs, but check if the nvidia modules are loaded, I've had cases before where the dkms hook was skipped and had the same issue, and since nouveau is blacklisted with a modprobe.d file by nvidia-utils you're left with no display driver.

Idk if you already tried other DEs/WMs, but check if the nvidia modules are loaded, I've had cases before where the dkms hook was skipped and had the same issue, and since nouveau is blacklisted with a modprobe.d file by nvidia-utils you're left with no display driver.

sddm loads perfectly fine for me, it's the hyprland that just doesn't work.
regarding dkms hooks - they work correctly. i have run a bunch of tests on latest kernel, even cuda functions properly, but not hyprland.

Nothing else has changed on the system, just the kernel got updated.

You said it yourself, this is not a Hyprland issue.

if after a kernel update your software just breaks - it's not very nice
hyprland is the ONLY thing that broke on my system after kernel update, don't you think it is, therefore, more of a hypr-wlroots issue than the kernel's issue?

nvidia is not officially supported. Can't help you there

reported the issue to the kernel developers. i'll edit this comment when i get the response.

Maybe try latest nvidia drivers https://www.reddit.com/r/NixOS/comments/1cx9wsy/question_nvidia_555_beta_released_today/
@alexlnkp

Maybe try latest nvidia drivers reddit.com/r/NixOS/comments/1cx9wsy/question_nvidia_555_beta_released_today @alexlnkp

Huh, didn't know they released a new driver. Thanks!
I will try it out as soon as it's packaged; I'll update this comment.