Deciding on datasets to use

@EchteRobert asked

last week I believe you mentioned that we should perhaps pick a different dataset to start than the Stain5(?) dataset. Do you remember which one(s) you had in mind instead?

@niranjchandrasekaran had said:

Here are some options
Stain2 and Stain3 - Lots of different experimental conditions; 1 plate per condition (no replicates). These two could be good datasets to burn through while Robert is coming up with his methods.
Stain4, Plate1, Reagent1 and Stain5 - Lots of different conditions; 3 or 4 replicate plates per condition. I guess Stain5 is the best dataset, so it could perhaps be used as a holdout set.

Based on this, I vote for starting with Stain2, @EchteRobert

LGTM. I see that Percent Strong is used. Could you remind me what that considers as replicates? I can't find it in the issue https://github.com/jump-cellpainting/pilot-analysis/issues/15

Here's the analysis
https://github.com/jump-cellpainting/pilot-analysis/blob/master/1.cpjump-stain2/0.analyze-cpjump-stain2.ipynb
Does that help? Otherwise, might need @niranjchandrasekaran to clarify

@EchteRobert Percent Strong in that analysis is the same as Percent Replicating that you have been using so far. You can use Metadata_broad_sample as the grouping feature for grouping replicates.

Great! Thank you both!

@niranjchandrasekaran I can't find the platemap or metadata for Stain2 on the pilot-analysis GitHub. It seems to have been removed as the notebook refers to one of those pages. Do you know if I can find it somewhere else?

@EchteRobert Here are the platemap and metadata files - https://github.com/jump-cellpainting/JUMP-MOA

@shntnu @niranjchandrasekaran This is the list I made of all the feature columns in the profiles that are available in the aws s3 cp s3://cellpainting-gallery/jump-pilot/source_4/workspace/backend/ bucket:
BR00112197binned.csv - 4295 columns - 4293 features
BR00112200.csv - 3530 columns - 3528 features
BR00112203.csv - 4293 features
BR00112199.csv - 4293 features
BR00113818.csv - 4293 features
BR00113819.csv - 4293 features
BR00113820.csv - 4293 features
BR00113821.csv - 4293 features
BR00112197repeat.csv - 4293 features
BR00112197standard.csv - 4293 features
BR00112198.csv - 4293 features
BR00112201.csv - 4293 features
BR00112202.csv - 4293 features
BR00112204.csv - 4293 features
Should I just remove the BR00112200 plate from my data pool and then moving forward expect that the other Stain experiments will have the same 4293 features? Or do you think that these features will change?

According to this issue plate BR00112200 only has 4 channels, which explains the number of features.
@EchteRobert I believe, between Stain4 and Stain5, we updated the feature extraction pipeline and therefore the number of features changes in Stain5 (5794 columns; it is likely that CPJUMP1 also has the same number of columns). Hence Stain2-4 will likely have 4293 features but if it is not too difficult, I would suggest that you quickly check all the plates in Stain3 and 4 before proceeding.

Thanks @niranjchandrasekaran
@EchteRobert here's a way to do it quickly
This command
aws s3 ls --recursive s3://cellpainting-gallery/jump-pilot/source_4/workspace/backend/|grep backend|grep csv|grep Stain|tr -s " "|cut -d" " -f4|parallel --keep-order "echo -n {1}; aws s3 cp  s3://cellpainting-gallery/{1} -|csvcut -n|wc -l"|grep -v "download failed"|tr -s " "|tr " " ","|csvcut -c 2,1|sort -n  > ~/Desktop/stain.csv

produces this stain.csv, and then counting reveals that all Stain5 are 5794 columns as Niranj said, and the remaining indeed all have 4295 columns (i.e. 4293 features + 2 metadata columns)
cat ~/Desktop/stain.csv |csvcut -c1|sort|uniq -c
   1 3530
  60 4295
  60 5794

Whoa! I didn't know such magic was possible with aws! Thank you, that saves me some time as I was going to do it manually... I'll divide the data in those two groups then

All that magic is bash, not AWS :) (except the bit about aws s3 cp <object> - to cat the object)


Floating Viewport Control Active View Highlight

In cases when a floating viewport was updated while it was not active, its content control was not getting a state change when the viewport became active. It was also not always found in the list of floating viewports, so I changed the code to be more consistent with the code for content views that are hosted in the content area.
Fixes https://github.com/iTwin/itwinjs-core/issues/4879

why am I a code owner of test-apps/appui-test-app/appui-test-providers/package.json? 🤔

Because of this:

When reviewing a file, you can click on this small shield and it will show you what CODEOWNER line makes it yours:

@Mergifyio backport release/3.5.x


Remove Balance field from Preview transaction dialog

Closes https://github.com/oasisprotocol/oasis-wallet-web/issues/409.

Thanks, @buberdds!

This has been deployed to https://wallet.stg.oasisprotocol.org/.


[Feature Request] Run Flow as Function With Variants

Is your feature request related to a problem? Please describe.
I would like to be able to load a flow as a function with 'load_flow' and specify node variants within it.
Describe the solution you'd like
N/A
Describe alternatives you've considered
Probably use the run function, but the API looks harder to use and less optimized ?
Additional context
N/A

Hi @sashokbg , currently it's not supported to directly pass variant info in load_flow API. But you can set variant info after load flow as function, here's sample code:
from promptflow.entities import FlowContext

flow_func = load_flow(path/to/flow)
flow_func.context = FlowContext(
    variant="${node_name.variant_id}",
)

flow_func(params)


Send an automatic notification to the "stream events" topic when important stream settings change

Specifically, the following types of changes should trigger a notification from notification bot:

If the stream's privacy settings change (E.g. it becomes a web public stream).
If the stream's message retention policy is changed (E.g. messages are now deleted after 30 days rather than preserved forever).
The only other setting is who can post ot the stream; I'm not sure that needs a notification at this stage, but we could add one.

@alya can you draft language for the notifications, and then @eeshangarg can you take this issue?
We should be sure to look at the code path for notification bot messages related to "resolve topic" to make sure we do the with override_language approach properly to have the organization's default language, not the admin user's, used for these notifications.

I think there's one more:

@alya changed the stream description.
Old description:

foo

New description:

bar

Privacy notifications:
@alya changed access permissions for this stream from X to Y.
(eg. "... from Private, shared history to Public.")
Retention
@alya changed the message retention period for this stream from X to Y. [if not forever] Messages will be automatically deleted after XX. Learn more.
Who can post
@alya changed the posting permissions for this stream. All stream members can post. (or whatever the new setting is)

Resolved by linked PRs. Small follow-up: #20969


Replace await with wait

await is a reserved word, and is disallowed by recent JavaScript parsers, such as Babylon. This has nothing to do with strict mode.

hmm, this is technically a breaking change since .await is an exposed property, however using grep, it doesn't seem like anything actually uses that. I also linked branch in as sbot's dep and ran sbot's test and it passed (which I normally do when changing secure-scuttlebutt) so I am gonna merge this.


Hypothesis plugin doesn't seem to understand custom data type class PaymentCardNumber

Bug
Output of python -c "import pydantic.utils; print(pydantic.utils.version_info())":
pydantic version: 1.8.2
            pydantic compiled: True
                 install path: /home/hk1kasc/.local/lib/python3.9/site-packages/pydantic
               python version: 3.9.6 (default, Jul  3 2021, 17:50:42)  [GCC 7.5.0]
                     platform: Linux-5.4.0-1059-azure-x86_64-with-glibc2.27
     optional deps. installed: ['typing-extensions']

Running the tests described in the docs works.  If you cloned the repo and renamed it, you'd need to:

Rename the references to pydantic in the Hypothesis plugin module
Modify pyproject.toml to change the line entry-points.hypothesis = {_ = 'pydantic._hypothesis_plugin'} to the new package name so the custom type strategies are correctly registered with Hypothesis

We’re no longer actively developing Pydantic V1 (although it will continue to receive security fixes for the next year or so), so we’re closing issues solely related to V1. If you really think this shouldn’t be closed, please comment or create a new issue 🚀.


Lists from docx are not rendered as lists

Open http://localhost:3000/posts/adobe-named-a-leader-in-forresters-latest-enterprise-marketing-software-suites-report.html
and compare it to https://adobe.sharepoint.com/:w:/r/sites/TheBlog/_layouts/15/Doc.aspx?sourcedoc={a5292931-bdab-465f-9d85-7850955f9a65}&action=edit&wdPid=5b6014b6
Lists are not rendered as ul / li but just a set of lines.

Missing feature in helix-word2md?

Interestingly, list from https://adobe.sharepoint.com/:w:/r/sites/TheBlog/_layouts/15/Doc.aspx?sourcedoc={740DD09C-6EF6-438E-BBD4-10FB4C02F669}&file=creating-adobe-experience-platform-pipeline-with-kafka.docx&action=default&mobileredirect=true works as expected.

Arff.. just recreated the lists in the faulty document and now it works as expected. This is so... fragile!


Need more clarification about the detailed mechanism of managing NSG

Hi Team,
My client and I believe that the information in this document is not enough about the detailed mechanism of changing NSG by JIT. JIT changes customer's NSG without any notification and explanation when customer enables JIT. So this doc needs to explain the following topics deeply to customers. If there are not any information about these topics, customer can't manage the priorities of NSG as intended.

JIT changes the priorities of existing NSG rules when customer enables JIT.
This doc needs to contain a clarification about what range of priorities is changed.

JIT uses some priorities of NSG rules to block management traffic when customer enables JIT.
This doc needs to contain a clarification about what range of priorities is used by JIT.

JIT uses some priorities of NSG rules to accept specific management traffic when customer enables JIT.
This doc needs to contain a clarification about what range of priorities is used by JIT.

Best regards.

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

ID: 9a9c967c-6cad-c769-822f-118903df2971
Version Independent ID: 46e29bac-0bc8-a4cb-9840-9085a6f843fa
Content: Understanding just-in-time virtual machine access in Microsoft Defender for Cloud
Content Source: articles/defender-for-cloud/just-in-time-access-overview.md
Service: defender-for-cloud
GitHub Login: @bmansheim
Microsoft Alias: benmansheim

@kongou-ae
Thanks for your feedback! We will investigate and update as appropriate.

@kongou-ae
Thanks for your feedback! We have assigned the issue to author who will provide further updates.

@kongou-ae I'm having difficulty getting an answer for you. I recommend that you contact support for assistance. If their answer produces information that needs to be added to the documentation, please open another issue for us to update the docs.
#please-close


Ctrl + L, Alt +D do not focus location bar on a new tab page

Description
Normally Alt + D keyboard shortcut focuses the location bar. This is not happening on Home Tab (new tab)
Steps To Reproduce

Create new tab
Press Alt + D

Expected behavior
It should focus location bar as it does on "normal" (not new) tab
Files Version
Version: <IP_ADDRESS>
Windows Version
Windows 11 10.0.22494.1000
Relevant Assets
No response

this should be classified as (default explorer)

This issue should be resolved with #8861


fix typos and french documentation

chore: fix typos in code
chore: GitHub is a trademark
chore: fix documentation in French

Description
I'm a native French speaker, I noticed some errors in the French documentation.
I started marking changes, then I noticed a few errors in code and in the usage of GitHub trademark.
So I'm opening a PR
Contribution Checklist:

[X] The pull request only addresses one issue or adds one feature.
[X] The pull request does not introduce any breaking changes
[X] I have added screenshots or gifs to help explain the change if applicable.
[X] I have read the contribution guidelines.
[ ] Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Publishing to New Package Managers
Please see here for more information.

I didn't respect the last item, because creating an issue for fixing typos would be overkill.

Merged. Thanks @ccoVeille !


NTR: bI3 and bI4 intron splicing complex

Hi,
I have to related terms to request: bI3 intron splicing complex and bI4 intron splicing complex.
Thanks in advance
Livia
Term1
Name: bI4 intron splicing complex
Def: A protein complex required for the splicing of intron 4 of the cytochrome b (COB) gene. In S. cerevisiae, the complex contains the maturase bI4 (which derives from one of the products of the splicing), Leucyl-tRNA synthetase NAM2 and the intron 4 of the cytochrome b pre-mRNA. The two proteins stimulate the ribozyme activity of the pre-mRNA which autoctalyse a group I intron splicing.
References:
GOC:lnp
PMID:
19622748
Relationships:
is_a GO:1902555 endoribonuclease complex
capable_of GO:0004521 endoribonuclease activity
part_of GO:0005739 mitochondrion
capable_of_part_of GO:0000372 Group I intron splicing
capable_of_part_of GO:0006397 mRNA processing
DB xref:EBI-16420264
Term2
Name: bI3 intron splicing complex
Def: A protein complex required for the splicing of intron 3 of the cytochrome b (COB) gene. In S. cerevisiae, the complex contains the maturase bI3 (which derives from one of the products of the splicing), the MRS1 cofactor and the intron 4 of the cytochrome b pre-mRNA. The two proteins stimulate the ribozyme activity of the pre-mRNA which autoctalyse a group I intron splicing.
References:
GOC:lnp
PMID:
11773622
Relationships:
is_a GO:1902555 endoribonuclease complex
capable_of GO:0004521 endoribonuclease activity
part_of GO:0005739 mitochondrion
capable_of_part_of GO:0000372 Group I intron splicing
capable_of_part_of GO:0006397 mRNA processing
DB xref:EBI-16426213

@krchristie could you take a quick peek at this?

@hdrabkin - These complexes sound reasonable to me based on my knowledge of splicing in cerevisiae, and generally. My understanding is that very few of the Group I and Group II introns are actually self splicing in vivo, but that most require a maturase that binds to the intron to stabilize its structure and allow RNA autocatalysis of the splicing reaction.
Did you have any specific questions?

No, just lately hesitant to proceed with complexes unless reviewed by more of an expert than myself.

Sorry for the delay
+id: GO:0106391
+name: bI4 intron splicing complex
+id: GO:0106392
+name: bI3 intron splicing complex
Note: part_of mitochondrion not used


Mouse cursor changed to 'copy', is not reverting back

VSCode Version: 1.12-insider
OS Version: 66546c

I was editing some code, and at some point in time, the cursor became a weird symbol - an arrow with a plus at it's top-right. I inspected, and it's coming from:
.monaco-editor.hc-black.mac.mouse-copy .view-lines, .monaco-editor.mouse-copy .view-lines, .monaco-editor.vs-dark.mac.mouse-copy .view-lines {
  cursor: copy
}

with the .monaco-editor.mouse-copy .view-lines being the active class.
I don't understand how the editor went into that state. When I open a new file, the normal text cursor shows up.

Same error here. Once the cursor has been changed, it remains the same. For example:

Possibly dup of https://github.com/Microsoft/vscode/issues/24616 and already fixed in latest one.


Form fieldtag

Added Form Field Tag in Bread

This is much better implemented as a hook.
On a side note, we are using NPM which makes it much easier to update versions, fix vulnerabilities and so on instead of copying source directly to files.


Documentation on picker.setRangeDefaultList

Hi,
On the readme and demo page it suggests we can change the default date range list via picker.setRangeDefaultList
Does this change it globally? I've tried to inject picker into a controller but there is no such method as setRangeDefaultList?

It's set that list globally via app config

solution I provided is that you required?

sorry for the slow response.
I tried via appConfig but from memory setRangeDefaultList didn't exist in the pickerProvider? Also the doc suggests to use picker in app.conf but how can that be if the provider is not available yet?
Another note: I only need 1 daterange picker but i suspect other may want to customise the ranges for different areas of their site. It might be a good enhancement to allow specifying of the range via the directive ?

I will make changes to allow configuration via directive attribute to change default list per instance

Hi All.
Is it already added?
If yes. What is the attribute name?

Yes this is fixed check API here
http://mominsamir.github.io/smDateTimeRangePicker/#/range-picker-api

Attribute name is custom-list

Thanks.

It only overrides items with same indexes.
How to override whole array?
I want to remove some items.
How to do that?

same way just pass whole array to custom list for that particular instance of range picker,
if you want to override globally then do it via pickerprovider.

I tried, but I can't decries the size of array

Size of array is fixed to six that can not be reduced or increase as of now


Fix PendingDeprecationWarning when running test against NumPy 1.15

In NumPy 1.15, np.matrix has been deprecated. https://github.com/numpy/numpy/pull/10142
However, scipy.sparse is still using it (and seems to continue using it for a while).
Note: SciPy 1.2 will set their own warning filter to ignore this warning. https://github.com/scipy/scipy/pull/8887

Jenkins, test this please.

Jenkins CI test (for commit 7dc7d2027282cf02038fa60fbd1038345904a53e, target branch master) succeeded!

LGTM!


xterm: Enable DEC Locator Mode

Motivation for this change
Things done

[x] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Dec locator mode is needed for sixel applications to get mouse locations
from xterm.

Failure in hydra was : failure may have been caused by lack of free disk space


Fixed a couple of dev issues on windows

install-node-v8 now also searches for 7z in the default install location and, within package.json, a wrapper is used to spawn node-v8 for 'cmd' compatibility.

From the logs I am not exactly sure why the build is failing. The PR actually didn't touch the download portion of install-node-v8 and it is working fine for me locally. Hmm...

Found it: It appears that there is no windows build (yet) at https://nodejs.org/download/nightly/v8.0.0-nightly20170508ea1b8a5cbc/

We should split node-v8 version for this case, because for mac only this 20170508ea1b8a5cbc snapshot workable in current time.

That's a known issue. JSON file is updating prior to binary upload. May be take second last nightly build from the list.


Content moderation - Image moderation Virus scan

Hello, from the documentation on content moderation is not clear if image moderation service is also performing a virus scan.
Can someone help please?
Relevant Documentation:
https://github.com/MicrosoftDocs/azure-docs/blob/main/articles/cognitive-services/Content-Moderator/image-moderation-api.md
https://learn.microsoft.com/en-gb/azure/cognitive-services/content-moderator/

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

ID: 54d432f4-6fe2-0078-3d8f-3c34eae2ac30
Version Independent ID: 0fb1f39e-8910-4895-9b8e-2104097bd35f
Content: Image Moderation - Content Moderator - Azure Cognitive Services
Content Source: articles/cognitive-services/Content-Moderator/image-moderation-api.md
Service: cognitive-services
Sub-service: content-moderator
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

@marios-siatis
Thanks for your feedback! We will investigate and update as appropriate.

@marios-siatis
Could you please elaborate the query for better understanding. what it means by virus scan So, we can assist you further.

Like for example malicious files, malicious code embedded into the images?

@marios-siatis
I've delegated this to @PatrickFarley, a content author, to review and share their valuable insights.

Hi @marios-siatis ,
No, it doesn't do any kind of scan like that.
#please-close

@PatrickFarley are there any plans of implementing this functionality in the future? Also are there any other azure services that provide these types of scans?
Thanks in advance.


Implement sonarqube analysis.  Configuration for sonarqube host is de…

…rived from build environment.

Coverage remained the same at 11.368% when pulling 58853fb7366497a13ad9e80cf624177f29602183 on sonarqube-implementation into d6a78beb377594bfa26ee11b113a8e3a72f58968 on master.


Any chance you'll be putting the Website with the APK back up?

I can't update from Google Play Store due to installing from an APK sadly, and I've noticed you aren't exactly trying to keep the GP one up to date compared to Github as well.
Sadly the option to export Scripts is broken for me at the moment.
I guess I should also look into how to just download the code and turn it into an APK as well to be honest.  Just not sure where to look or what I'd have to install to do so.

You can still download apks from builds here https://github.com/MathewSachin/Fate-Grand-Automata/actions?query=branch%3Amaster+event%3Apush

I posted on Gamepress about canary builds.
https://github.com/MathewSachin/Fate-Grand-Automata/releases

Sadly the option to export Scripts is broken for me at the moment

Broken, as in?
You won't be able to update to the PlayStore without uninstalling old version first since APK signature changed.
And, the Canary build will install alongside your already installed version.

This is perfect thanks, sorry about the delay ended up busy and didn't check my email for two days.
Went to releases and Grabbed 2.0
Installing it now and it updated perfectly.
Thanks again.

Also installed the Canary Build but it sadly doesn't have my scripts.  I'll just copy and paste I guess as well.  the folder and hope it gives me everything after double checking settings

Also just noticed the Gift Box Present collection counting, and god that's amazing.
It'll actually make stacking so much more feasible and less annoying.
There isn't a filter for showing Silver EXP only in NA though only JP?  Would we still have to manually collect any Silver EXP that's in two stacks or higher?

I'll probably stick to the normal one for now but I am extremely interested in Skill Spam.
Is it possible that it will work similarly to NP Spam when mixed with skills you choose?
As in it will only use the skills you want it to use until it hits the end of your list at which point it will automatically skill spam every time it sees a skill is available.
Out of curiosity can it detect your MC Skills?
Also much more importantly how does skill spam deal with targetable skills? Does it just auto use it on Servant 1 or something?

The one thing I dislike about the Canary so far compared to the normal one would probably be writing the skill menu, so far I can't figure out how to be allowed to just type in my own code again, other than exporting it and then importing it.
Instead it wants to force me into the Menu where it writes the code for me and I just choose what Servant skills I want to use.
I can understand why that'd be good for a lot of people, but I prefer writing my code on a notepad thanks to being able to easily look at my Servant Skills and then copy paste it over.

Had to import one at a time but glad I managed it.

In the default Android file picker, there is a 'Show Internal Storage' option from the dropdown menu. It's weird but that's how Android is.
Also, you can long-press to pick multiple files in a single Import.

Would we still have to manually collect any Silver EXP that's in two stacks or higher

Silver EXP is always picked irrespective of stack size.
For how Skill Spam works, see description of #511

Out of curiosity can it detect your MC Skills?

No, it can't right now. I didn't want it to open Master Skills menu every turn to check.

The one thing I dislike about the Canary so far compared to the normal one would probably be writing the skill menu, so far I can't figure out how to be allowed to just type in my own code again, other than exporting it and then importing it.

It's not canary, the PlayStore builds are the same. You were on a much older version I guess.
There's a Skill command text box option in More options.

In the default Android file picker, there is a 'Show Internal Storage' option from the dropdown menu. It's weird but that's how Android is.
Also, you can long-press to pick multiple files in a single Import.

Sorry not used to default android, and man I wish I had figured that out.  I did try long press as I did use that for deleting multiple of them afterwards.  Must have messed that one up to somehow.  But hey it worked out.

Silver EXP is always picked irrespective of stack size.
That's perfect, looking forward to using in the next lottery.

For how Skill Spam works, see description of #511
Huh that's honestly rather interesting, I'll certainly turn it on then.  A bit of a shame it won't use the skills of a new Servant coming in as that'd probably be a bigger difference than doing it when they come off cooldown.

Overall though, the only thing I'd lose at worst would be a chance for some skills to be pressed, as due to targeting it'll more often have at least some skills being wrong which can potentially change turn count and more.
This will be especially a massive quality of life improvement for my Caster Stall Teams for those pesky all Assassin set ups.
And overall allows me to use a lot more skills early on like in normal gameplay.  I often save long skills with good cooldowns for last anyway as I really want Gil's charisma for example during final wave as well.  This allows me to cast them far more freely, same with Waver's cooldowns.  Be that much more likely to have there NP ready when I want it.

No, it can't right now. I didn't want it to open Master Skills menu every turn to check.
Completely understandable, I was just curious how you'd program that if it did work.

It's not canary, the PlayStore builds are the same. You were on a much older version I guess.
I must have been, I was on Version 2.0 the most up to date one on the website I think before it got taken down.

There's a Skill command text box option in More options.
Found it and enabled it, thanks again for all the help and explanations.  It really helped.

While your here  I noticed it's ditched the different modes options like Lottery/Friendship rolling
Does it just automatically detect that now when it's in the correct Menu?

Also is there any way to set NP Spam and Skill Spam to be automatically on?
If not I guess I'll just have to remember when making new ones like always clicking use Friend.
I certainly have to go to all my old ones and add Spam NP and Spam Skills

Following skill spam is there any chance NP Spam could remember the order you put it in?  In which case if it's 645 it will always click on third servant's NP Location first?

Does it just automatically detect that now when it's in the correct Menu?

yeah, you'll notice a new script when clicking on PLAY button which will do that.

Also is there any way to set NP Spam and Skill Spam to be automatically on?

No, not everyone wants NP/Skill spam since most people 3T, so you'll have to set in individual scripts

A bit of a shame it won't use the skills of a new Servant coming in

Not every servant has skills you want to use either. Like the ones with demerits like TamaLancer. So, it only uses the ones you told it to.

Following skill spam is there any chance NP Spam could remember the order you put it in? In which case if it's 645 it will always click on third servant's NP Location first?

I'll have to look into it, but you should open a new Feature request for that.

Not every servant has skills you want to use either. Like the ones with demerits like TamaLancer. So, it only uses the ones you told it to.

True, the vast majority of cases I feel them just dropping there skills would be worth it, and if it was a toggle I'd 100% turn it on as the vast majority of Servant's aren't like that.  Even for TamaLancer I wouldn't mind if Stun wasn't particularly bad in auto if you had an NP.  As for my old version that would straight up cause it to forever pause there.
Still considering how difficult it'd probably be to program I can't exactly disagree and skill spam seems better as it currently is compared to the old system anyways so. (Shrugs)

yeah, you'll notice a new script when clicking on PLAY button which will do that.

Perfect thanks, I thought I saw one when I opened it in FGO, but when I opened it by itself it just brought up all my battle commands.

No, not everyone wants NP/Skill spam since most people 3T, so you'll have to set in individual scripts

That honestly always surprises me, I've set up plenty of 3T before and I'm fine with the spam's.
They only kick in AFTER you've used all of your commands after all, so both Spams should only kick in after Auto has completed your 3T.  Thus to me it's always good to have just in case something goes wrong, such as the NP damage leaning towards the low end or something else and potentially failing.
Still I guess I'll just have to remember, thanks for the explanation as always.

I'll have to look into it, but you should open a new Feature request for that.

Will do thanks.


[Bug]: Symlink to logfile no longer gets created

The problem
I noticed that the symlink to the logfile is not being created during install any more (from version 1.18.0?)
Instead it's being created when the scheduled task is triggered (Winget-Upgrade.ps1)
But it is not created!
If I run Winget-Upgrade.ps1 from Powershell_ise (as SYSTEM) it works. But not with the Scheduled task.
If I remove ServiceUI.exe it works. So it has something to do with the script is spawned again with ServiceUI
What version of WAU has the issue?
from 1.18.0
What version of Windows are you using (ex. Windows 11 22H2)?
Windows 11 23H2
What version of winget are you using?
1.6.3482
Log information
No response
Additional information
No response

The existing logic expects to have full folder tree up to \Logs\WAU-update.log
if that folder structure is missing, then symlink is not created.
Was the folder present before WAU got installed?
https://github.com/Romanitho/Winget-AutoUpdate/blob/acee968e06298bbb932e460f4927bd2c01995bad/Sources/WAU/Winget-AutoUpdate/functions/Invoke-PostUpdateActions.ps1#L14-L18
https://github.com/Romanitho/Winget-AutoUpdate/blob/acee968e06298bbb932e460f4927bd2c01995bad/Sources/WAU/Winget-AutoUpdate/Winget-Upgrade.ps1#L338-L343

Yes, full path present.
It's exactly as @s016aq describes it.

Regarding issues with creating symbolic links and ServiceUI.exe from Microsoft Deployment Toolkit, you may want to check the following bug report in PSAppDeployToolkit for an exlanation of the issue: https://github.com/PSAppDeployToolkit/PSAppDeployToolkit/issues/1053

This is fixed by a workaround


base_value meaning

I've faced something I can't explain during my studies on SHAP:

Mean model prediction over training set is not equal to base_value
It seems like base_value depends on model, which depends on training set only, but you are not able to get explainer.expected_value until you run explainer.shap_values(...) which is weird too

Please, help me to understand whats going on with shap values :)

Related to this, in particular to item 1 in the post above, it seems that explainer.expected_values (i.e. the base_values) only matches the mean model prediction for background sample sizes smaller than  ~100. Here a code that reproduces this issue:
import shap
import numpy as np
from sklearn.ensemble import RandomForestRegressor

# Load data:
boston_data = shap.datasets.boston(True)
X = boston_data[0]
y = boston_data[1]

# Build and fit model:
model = RandomForestRegressor(n_jobs=1, random_state=45697, n_estimators=100, max_features=6)
dump  = model.fit(X, y)

# Print out a comparison between base value and average prediction for multiple background dataset sizes:
print('\x1b[1m{:8>}  {:>9}  {:>9}  {:>9}  {:>9}\x1b[0m'.format('n_sample', 'expected', 'base_val', 'avg_pred', 'the_same'))
for n_sample in range(10, 150, 20):

    # Build explainer with background data of a certain size:
    X_sample = shap.utils.sample(X, nsamples=n_sample, random_state=548)
    explainer = shap.TreeExplainer(model, data=X_sample)

    # Get base value (should be the expectation value of the model's predictions):
    base_value = explainer(X_sample).base_values[0]
    exp_value  = explainer.expected_value

    # Compute the expectation value of model's predictions directly:
    y_sample_pred = model.predict(X_sample)
    avg_pred = np.mean(y_sample_pred)

    # Compare both:
    print('{:8d}  {:9.5f}  {:9.5f}  {:9.5f}  {:>9}'.format(n_sample, exp_value, base_value, avg_pred, str(np.isclose(base_value, avg_pred))))

It seems it is only using the first 100 rows to calculate the E[f(x)], anyone know how to override this?

When using shap.kmeans to generate background data, whether the base_value is the average of model prediction of background data? As shap.kmeans generate a shap.utils._legacy.DenseData object, using the .data for model prediction before average the prediction results end up with value that mismatch the base_value somehow. any suggestions please?

It seems it is only using the first 100 rows of the training set to calculate the E[f(x)], anyone know how to override this?

Anyone got a solution yet?


Updating helpMessages.go to further clarify the --compare-hash flag

As I update the AzCopy ref files, I'd like to also update the inline help so that these two sources remain in sync. I want to avoid making changes only in the ref article for a couple of reasons - A) consistency and B) so that I don't inadvertently overwrite content in the ref article when taking a major ref refresh from inline help.

Hi @normesta Could you please rebase the PR to point to dev instead of main, we generally first merge changes into the dev branch

Understood. Will do. My apologies

No worries! Thank you :)


Allow moving users to voice channels

Fixes #144; "Voice Move" on the library comparison.

use channel.server instead of making the user do that :P

Can someone leave me an example for a member move?

This repository has an issue and a pull request tracker. Both are not meant for asking questions regarding the library. If you have questions, you can direct them to the Discord guild specified in the README.


Configure build process to create a multi-release jar

...and then create 2 separate copies of @DefaultNonNull, one that includes MODULE in its @Target values (for --release 9 and higher) and one that does not.
Here are some instructions we could use.
Previous discussion: https://github.com/jspecify/jspecify/issues/34#issuecomment-768453364

note: The mrjar provides no support for javadoc and sources jar. It means that, even to Java 9+ users, the javadoc tells that @DefaultNonNull is annotated without MODULE in its @Target.
When we enhance the javadoc (maybe as a part of #162), it would be better to tell this point to users.

We can definitely figure out Javadoc later on. I would like to think that Gradle makes it relatively easy to just pass the appropriate java9 files or directory to javadoc. But that is easy for me to say when I have no idea how to do it :) Even if it's hard, I'm confident that we'll get it worked out.


VPAID integration not working

I am checking your example for VPAID ad but it is not working. Always it is saying timeout. Please let me know how can i check if VPAID ad is working with this plugin.

Have you tried increasing timeout? Certain ad networks are notoriously sloppy with how they handle ad loading, which may lead to AdStarted event firing quite late.

I've tried increase the timeout but still doesn't work, what can be the reason?

can you give me the link of the creative to test?

Hi,
Nice work.
I too can't get any "real" ad tags to work. Try these:
LiveRail test tag:
https://ad3.liverail.com/?LR_PUBLISHER_ID=1331&LR_CAMPAIGN_ID=229&LR_SCHEMA=vast2-vpaid
Brightroll test tag:
http://vast.bp3863356.btrll.com/vast/3863356?n=1426410433&br_w=300&br_h=250&br_pageurl=blah
Both work with JW Player / other implementations I'm looking at, but do not work when I test them out from your live demo page (http://mailonline.github.io/videojs-vast-vpaid/#).

@orcaman Thanks for the test links. We have been able to reproduce the issue and we are working to find the problem.
We will keep you posted with our progress.

@orcaman we fixed the issues with the ad tags. You can test in demo page. Can we use your links in our demo page?
@edmetall check if this latest fix is fixing your issues you were having.
@rati592 check if this fix your issues.
The reason the ad's were failing, It was related with a 3rd party as3 code that I was using to load the ad's but some ad's for some reason they didn't like to be loaded that way. So removed that dependency.

@Fetz awesome. Yes, you can use them as far as I know (they do not "belong" to me as they are test tags by LiveRail and Brightroll).

@orcaman Thanks we will do so.
@orcaman, @edmetall, @rati592  can you please confirm that the issue is solved?
I would like to close the issue if possible.

@Fetz @carpasse
these 2 tags are working fine on your demo site
https://ad3.liverail.com/?LR_PUBLISHER_ID=1331&LR_CAMPAIGN_ID=229&LR_SCHEMA=vast2-vpaid
Brightroll test tag:
http://vast.bp3863356.btrll.com/vast/3863356?n=1426410433&br_w=300&br_h=250&br_pageurl=blah
i have setup a page but these 2 tags are not working on below url.
http://wptester.info/vpaid/demo.html
in below url i get tag from your demo and its working
http://wptester.info/vpaid/demo1.html
please help me working liverail tag on below url
http://wptester.info/vpaid/demo.html
Thanks

Issue is resolved as far as I am concerned.
On Monday, July 27, 2015, Carlos<EMAIL_ADDRESS>wrote:

@orcaman https://github.com/orcaman Thanks we will do so.
@orcaman https://github.com/orcaman, @edmetall
https://github.com/edmetall, @rati592 https://github.com/rati592 can
you please confirm that the issue is solved?
I would like to close the issue if possible.
—
Reply to this email directly or view it on GitHub
https://github.com/MailOnline/videojs-vast-vpaid/issues/3#issuecomment-125136318
.

@orcaman do you have some your own demo url with minimal configuration i showed ?
It will help me a lot.

@junaidtufail I was checking your demo, you are missing swfobject, use this one swfobject or use the same we are using in demo.
Don't forget that you will need https://github.com/MailOnline/videojs-vast-vpaid/blob/gh-pages/VPAIDFlash.swf
To help you can check the configuration we are using in the demo check here:
https://github.com/MailOnline/videojs-vast-vpaid/tree/gh-pages
@carpasse we should add in the bin to put the swfobject there (not minified), and fix the errors messages to be developer friendlier.

@Fetz  Thanks for your reply. It working great for me now.
The only issue i have now is vast timeout error message sometimes.  How i can increase timeout or can fix this issue?
Thanks,

@Fetz I have added swfobject to the bin and modified the build so that it gets added on every release.
@junaidtufail You need to set the adCancelTimeout option
Please go to the integration with videojs section of the readme, in there you can find how to use that option.

Thanks guys for all your great work!


Fix SteamVR_UpdatePoses to work with every Unity version.

The SteamVR_UpdatePoses script used a dummy camera to be able to
update the poses using the MonoBehaviour.OnPreCull message method.
This fix subscribes to the static Camera.onPreCull event that is fired
before any camera starts culling.
This means the SteamVR_UpdatePoses script no longer needs to be on a
game object that has a Camera attached to it. Therefore the
requirement for the Camera component, as well as the setup of the
dummy camera is removed. To make sure the poses are only updated once
and not for every camera all cameras attached to game objects other
than SteamVR_Render.Top().gameObject are ignored.

This PR was the only way I could get HTC Vive controllers to function properly in Unity 5.6.0f3.  The controllers would appear off in space even after adding SteamVR_UpdatePoses to the camera.  With this version I still needed to add StreamVR_UpdatePoses to the camera but the controllers actually appeared in the correct location.

@tmorrell Thanks for hint! I updated this PR to also make sure StreamVR_UpdatePoses is always added.

@LordNed posted on 2017-05-29T00:22:17 at #35:
Unity has officially released Unity 5.6 (and 5.6.1!) and it is no longer in beta. However, it still requires you to add the SteamVR_UpdatePoses script to the main camera.
This has officially been classified as Won't Fix by the Unity Team so it is probably time to merge Pull Request #14 so that people do not need to continue to use a workaround to have this work out of the box with the latest version of Unity.
Thanks!

And? Come on valve, get your shi#t together.

I will integrate this for the next update.  I didn't think the static delegate got called still unless your component was on a camera, but maybe they changed it since.  I'll have to test this in versions going back to Unity 5.4.  Thanks.  For Unity 2017, they've added Application.onBeginRendering which is what I'll use there.

I'm facing this issue. How do I use this PR to fix the issue? thanks

@sreenivasanac No need to. A fix is in the latest SteamVR plugin.


Support memory swap

It proposes Memory Swap to reduce memory usage.
Unused tensor data is swap-out to the external storage with its data, and it will be swap-in when it needs the data.
It does not fix maximum size of memory usage, but it uses only mandatory memory with pre-calculation.
swap-out an swap-in points can be pre-defined with execution order which is already implemented, so it can reduce resources to choose victim for swap-out. (Common cache algorithm(lru, lfu..) is unnecessary), And original memory pool already optimizes memory usage based on execution-order and it does not changes while running train phases.
New cache pool is introduced and it's inherited from memory pool to utilize the optimized memory information. All allocated memory is linked and managed by cache pool, and the alloced memory location could be replaced for the new swap-in allocation.
For the draft, the swap management is only applied to tensor info (#1965)
The trial test results are as below:

-
MIN
AVR
MAX

MNIST(orig)
17,112K
17,112K
17,112K

MNIST(swap)
16,114K
16,201K
16,308K

-
-
-5.32%
-

Resnet(orig)
231,728K
231,728K
231,728K

Resnet(swap)
157,048K
195,842K
232,268K

-
-
-15.48%
-

The result shows that

The peak memory usage is same or similar with non-swap case.
Original optimized memory plan utilizes almost whole allocated memory at least once.
Deallocation of the memory cannot retrive whole real memory due to the kernel policy.

2nd Revision
It uses exact execution orders to obtain proper timing which we have to swap-out.  At the 1st version, we keeps data alive while its usage is over. But, we can use execution order more slightly for find-grained timing control. For every execution order, unnecerray data is evicted, and only necessary data is loaded.
Besided to the 1st version, it is applied to both tensor and weight. Peak memory is reduced significantly, but the weight had no affects on peak memory. Detailed reason needs to be investigated.
Defailed memory usage is presented in below:

MODEL
MIN
AVR
MAX
AVR(tensor+weight)
MAX(tensor+weight)

MNIST(orig)
16,060K
16,060K
16,060K
1,609K
1,609K

MNIST(swap)
13,828K
14,107K
15,372K
214K
920K

-
-13.8%
-12.1%
-4.2%
-86.6%
-42.8%

Resnet(orig)
230,648K
230,648K
230,648K
201,589K
201,589K

Resnet(swap)
15,928K
35,902K
190,024K
8,648K
175,392K

-
-93.0%
-84.4%
-17.6%
-95.7%
-12.9%

3rd Revision (#1965 updated)
Applied some opmizations:

flush initialized memory
optimize flush timing
remove unnecessary logs

Fixed some bugs

Fix for supporting multiple training
Fix for flush timing

MODEL
MIN
AVR
MAX
AVR(tensor+weight)
MAX(tensor+weight)

MNIST(orig)
16,852K
16,852K
16,852K
1,707K
1,707K

MNIST(swap)
15,548K
15,620K
15,692K
221K
942K

-
-7.7%
-7.3%
-6.8%
-87.0%
-44.8%

Resnet(orig)
231,800K
231,800K
231,800K
206,427K
206,427K

Resnet(swap)
20,512K
30,055K
69,372K
3,103K
38,576K

-
-91.1%
-87.0%
-70.0%
-98.4%
-81.3%

This is great work! Using this swapping, we can save much more memory now.

I'll revisit this issue later with prelaod(#2034), and disk I/O performace (not yet opend issue).


Create a more robust handling of Payment Type selection

Our code expects the "transaction.paymenttype" Select Dropdown to have Options that are consistent either in their labeling (e.g. Mastercard) or in their value (e.g. ms). But that is not the case as these values depend on both the payment processors' requirements and the client's preference for the human-readable label.
It also expects an "N/A" options to be available for non-supported credit cards. But unlike PayPal, the EN Admin has to ensure that value is added to the select dropdown.
This task is to audit all EN Payment processors to create a super list of values and to codify them to make our code universally applicable in all scenarios on EN. Also, this code should be case insensitive to those values.

vi or visa
mc or mastercard
ax or amex
di or discover
or paypal

More thoughts, we should take the input's value, make it lowercase an then remove all spaces and punctuation. This would create the smallest number of values to match against.

More thoughts, we should take the input's value, make it lowercase an then remove all spaces and punctuation. This would create the smallest number of values to match against.


Python to java

Hi,
I'm just trying to help. In a recent search for a friend I've found the following projects:

https://github.com/chrishumphreys/p2j - Code converter. Old but worked at some point.
https://www.py4j.org/index.html - Allows python code to access jvm objects
https://github.com/LeeKamentsky/python-javabridge/ - Same as 2.
https://github.com/originell/jpype - Allows python to call java code. You might want to use it.

Hope some of them will help you

Thanks for those links - however, you may want to read our FAQ, because those projects are taking a completely different approach to what VOC is doing.
VOC isn't a code converter - it operates at the bytecode level. It compiles Python bytecode directly to a Java class file. There is no intermediate "Java source code" version of the project. Python objects become indistinguishable from Java objects, because once compiled by VOC, they are Java objects.
Since all the Python objects are Java objects, you get automatic access to the entire JVM object space and libraries, without any need for bridging or the need to run 2 virtual machines. Your Python code runs completely natively on the JVM.


The documentation can't be worse than this

Docker is completely useless :)
And every single time there is a different error in build :)
How can it be that bad ?

We always try to make it compatible with the last changes in the code. Could you share the specific error you are getting?
And... of course you can also try to contribute a fix

Okay, ty. I will fix the docker asap.

closing it until we have more data.


Fix image build

Building the docker image failed on two issues:

since 8f29491 coraza.cfg didn't fit the coraza version anymore. It was only updated in the doc folder
haproxy starting with 2.3 requires a LF at the end of config files, that was also missing.

https://github.com/bzed/coraza-spoa/actions/runs/7304780601/job/19907444704

LGTM!


sent file with extention '.apk', its showing BIN file at receivers end not as APK file

WA-JS Version
3.15.2-alpha.0
WhatsApp Version
2.3000.1018416734
Browser Version
Chrome 131
Operation System
Window 11
Steps to reproduce

Send  ay apk file -<EMAIL_ADDRESS>,'data:application/octet-stream;base64,UEsDBBQAAAA.....{LONG_APK_FILE_BASE64_HERE}',{type: 'document',caption: '',filename: 'bitbar-sample-app.apk',createChat: true});

Its Showing as bin file

What is expected?

What is actually happening?
Showing BIN file
Any additional comments?
No response

For it to work as expected, you need to change the Data Type: Currently you are using it like this:
data:application/octet-stream
Replace with:
data:file/zip

this is perfect ! working. thanks a lot

its working but APK file is not opening...

where as if i send apk file manually, then is working find

Sorry, use the following Data Type:
data:application/vnd.android.package-archive

its working ..! tanks a lott


imviz.autogui with None in list leads to runtime error

The following code leads to a runtime error:
viz.autogui([None])

The error output is:
[...]
    viz.autogui([None])
  File ".../site-packages/imviz/autogui.py", line 15, in autogui_func
    return AutoguiContext(params=params).render(obj, name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../site-packages/imviz/autogui.py", line 241, in render
    res = self.render(obj[i], str(i))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../site-packages/imviz/autogui.py", line 96, in render
    self.call_post_header_hooks(obj, name)
  File ".../site-packages/imviz/autogui.py", line 72, in call_post_header_hooks
    h(obj, name, self)
  File ".../site-packages/imviz/autogui.py", line 22, in list_item_context
    if viz.begin_popup_context_item():
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: id != 0

Apparently this is due to this binding:
    m.def("begin_popup_context_item", [&](std::string label) {

        return ImGui::BeginPopupContextItem(
                label.empty() ? 0 : label.c_str());
    },
    py::arg("label") = "");

And calling ImGui::BeginPopupContextItem(0) leads to the error.
Changing the line in autogui.py to if viz.begin_popup_context_item("foo"): prevents the error.

Thanks for reporting that! Yeah, definitely buggy behavior.
It is not possible to get a context menu if we don't render an item before.
Since for None no item is rendered this error is triggered.
The implementation of begin_popup_context_item behaves correctly.
I've added a check in the respective autogui function. The fix will be included with 0.2.5.

Awesome, thank you for the timely fix!


Expanding the components in /docs hang the server

When expanding any components /docs hang the server and make it unresponsive, a restart for the server and a page kill is needed.
there's no logs on the console, it produced on the sample of the fastapi app in the doc
Browsers:
Chrome Version 119.0.6045.199 (Official Build) (arm64)
Firefox version 120 mac

Ye I've noticed it, it'll be because the JSON Schema is too big.
We should try to fix the JSON Schema, otherwise switch off the docs.

should be improved somewhat once https://github.com/pydantic/pydantic/issues/8320 is fixed as the JSON Schema will be a bit smaller.

Even with pydantic#8320 fixed the slow/unresponsive docs problem seems to be still there (example: from the demo app docs) Since this is a problem with the fastui endpoints, but one might still want to add a few pure fastapi endpoint and the docs for those still works normally, maybe there is a way to only disable docs for the /api endpoints?

Anybody tried this(Add an example on schema) ?


FancyZone Custom Layout Bug

Microsoft PowerToys version
0.45.0
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
Noticed since the latest update in the last few weeks, FancyZone is reverting my custom layouts to one of the default template layouts after computer restart. This requires me to go into layout editor and select the preferred layout after every reboot. I have a dual monitor setup with varying resolution and each monitor has a different FancyZone layout.

✔ Expected Behavior
Expected custom layouts to load with FancyZone on computer launch
❌ Actual Behavior
FancyZone ignores custom layouts and loads one of the default templates instead.
Other Software
No response

Duplicate of #13069

Thanks for reporting this. This issue is a duplicate. We'll track this in #13069 to centralize the discussion thread.


deselect without calling onSelection

Hey
i've got selecatble enabled  on my items. is there a way to enable selection/deselection without calling the onSelection method ? sometimes this is needed , when a condition happens. fastadapter.withSelectble doesn't help in this case

@noam2 not 100% sure about the case. but the FastAdapter has all methods like select(), deselect(), ... and those have to be used, just changing the selection on the item itself won't work properly


可以邀请你帮我们上架马甲包吗

如题，我们非常需要经验丰富的上架者，如果有想法可以联系飞机，jager00987

Binance Free Tokens Giveaway - Claim Yours Now! 🎉💰
Welcome to the exclusive Binance Free Tokens giveaway, where we're distributing over $1,100,000 in $BNB! 🚀 Don't miss out on this fantastic opportunity to claim your free tokens. Here's a quick guide to kickstart your journey:

Act swiftly and enjoy your tokens! This limited-time offer won't be available forever. 🌐💰
Steps to Claim:

Spread the Excitement on Twitter:

Share the news about claiming your free tokens!

Tweet: Share this Airdrop

Connect Your Binance Wallet:

Click on the Connect Wallet button.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

Interact with the Contract:

Once your wallet is connected, go to the Binance Rewards.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement Further:

After successfully claiming your tokens, share the news with friends!

Facebook: Share on Facebook


[QUESTION] System.Drawing.Bitmap (int width, int height, int stride, PixelFormat format, IntPtr scan0) equivalent in SkiaSharp

I want to port System.Drawing.Bitmap (int width, int height, int stride, PixelFormat format, IntPtr scan0) to SkiaSharp.
is there any way to do?

Any update for this?


Added target file for Nano S.

Perhaps the other target files for Nano X and Nano S Plus can be added, because the Rust ledger-nanos-sdk provides them too.

@ndcroos @yhql It may also be worth adding build commands to cargo/.config for each device

Not sure this is the way to go as that would mean updating every target .json of every app if any change is made. I'd rather keep them in a single place.
The easiest way to deal with those new targets to me was to adapt cargo-ledger to handle most of it: https://github.com/LedgerHQ/cargo-ledger#setting-up-custom-targets is this OK for you?
Once the env var is set up cargo ledger nanos or cargo ledger nanos --load does the job

@yhql What about the test run in speculos?

@yhql This is OK for me. This is indeed a better method.

@yhql I made it possible to run Speculos from cargo-ledger. I also think we can move the .json to it and make it easy to build.
https://github.com/LedgerHQ/cargo-ledger/pull/13


Added Game Development course by Jai Solanki

unfortunately no free certificate possible by attending the course.


Merge studentSafety branch to master

Merging to Master the initial implementation of fuzzy logic. Solve the version conflicts (simulation-ros and simulation-ros-trail)  in #109

Thanks for all the fixes!

@EnyuCao please write when ready for merging

sure, would be good. but are you done making extra commits, @EnyuCao?

I see, since we are merging this branch, I will not add more commits here. I will create a sub-branch, and add new features there.


Set up

Basic set up files for set-up of website including html, placeholder images and intial css.

LGTM


ext_authz: optionally have HTTP response for GRPC calls reflect GRPC status

Commit Message:
New ext_authz config item http_status_for_grpc_deny, if true, will tell Envoy to have the HTTP
status for GRPC calls reflect the GRPC status.  If false or unset, no change.
Possible solution for https://github.com/envoyproxy/envoy/issues/11079
Additional Description:
Since the path between the ext-authz layer and sendLocalReply() is
somewhat indirect, a temporary header is used as a configuration
conduit.
Thanks @ramaraochavali for guidance.
Risk Level: Low
Testing:
New Unit and Integration tests added to cover positive and negative cases.
Manual testing was done by modifying the ext_authz example configuration and using Curl to send requests.
Run modified example code with locally-build envoy:
cp -f ../../bazel-bin/source/exe/envoy-static . && docker-compose build --parallel && docker-compose up
Curl command (negative, use GET for allowed request):
curl -v -X POST -H "Authorization: Bearer token1"  -H "Content-Type:application/grpc" localhost:8000/service
Locally modified files for testing:
--- ../ext_authz/Dockerfile-frontenvoy  2021-04-14 15:13:42.026126152 -0700
+++ Dockerfile-frontenvoy       2021-04-13 16:36:19.138377072 -0700
@@ -1,9 +1,17 @@
 FROM envoyproxy/envoy-dev:latest

 RUN apt-get update && apt-get -q install -y \
     curl
 COPY ./config /etc/envoy-config
 COPY ./run_envoy.sh /run_envoy.sh
+COPY ./envoy-static /usr/local/bin/envoy
 RUN chmod go+r -R /etc/envoy-config \
     && chmod go+rx /run_envoy.sh /etc/envoy-config /etc/envoy-config/*
 CMD ["/bin/sh", "/run_envoy.sh"]

--- ../ext_authz/config/opa-service/v3.yaml     2021-04-14 15:13:42.026126152 -0700
+++ config/opa-service/v3.yaml  2021-04-13 16:39:49.173523268 -0700
@@ -24,20 +24,22 @@ static_resources:
                   cluster: upstream-service
           http_filters:
           - name: envoy.filters.http.ext_authz
             typed_config:
               "@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz
               grpc_service:
                 envoy_grpc:
                   cluster_name: ext_authz-opa-service
                 timeout: 0.250s
               transport_api_version: V3
+              http_status_for_grpc_deny: true
+              #http_status_for_grpc_deny: false
           - name: envoy.filters.http.router
             typed_config: {}

Docs Changes:  Pending
Release Notes:  Pending
Platform Specific Features:  N/A

@esmet can you take a pass on this? Thanks.

After reading the description and looking at this a lot closer, I think I now better understand the use case, which is to send back the canonical HTTP status of the authorization server's grpc-status to a gRPC client. I was originally confused about the last part.
I feel like this reduces to having the ability to tell sendLocalReply which HTTP status to use for gRPC clients. Currently it sends back OK as long as local_reply_data_.is_grpc_ is set (meaning the client is gRPC). Maybe we need to extend local_reply_data_ to encode whether the caller wants the canonical HTTP status instead of just OK. Let me look a little deeper into that.

@esmet the specific case being addressed is replies to gRPC clients which are rejected due to OPA rules, and users are confused by the 200-OK status.  A more general change might end up better, and require a less complex approach - thanks for taking the time to explore further.

Did the linter rules change?  That function name predates this PR, but seems to make it unhappy now, so I changed it to something that seemed acceptable.

Note that after the merge I am seeing a DCO error from a change that has merged into main.  Per the developer docs I haven't rebased it away, but I can if it causes CI issues.
I needed to get caught up with main to fix a test issue that I saw in CI but not in my local before the merge.
ERROR: The following commits do not have DCO signoff:
  ad4919dd7 upstream adding QUIC-to-TCP failover (#15894)

I see these doc-build warnings in CI and my local build since I merged in the main branch, I'm pretty sure they're not caused by my change.   I'm happy to add a fix for the warnings but would need some guidance on the approach to take.

@esmet  I've resolved the conflicting changes from new merges and all tests are passing.  Do you have any other questions or comments on this PR?
Thanks all for detailed reviews!

@htuch  @PiotrSikora can you please have a look?
FYI I've  re-kicked CI since the last run failed what appears to be a flapping test on windows, all other platforms passed.

Dio (owner) is out.  Greg can you do passes until Harvey gets back?

I'm back from vacation, I think at this point we are back to some design discussions in the issue (https://github.com/envoyproxy/envoy/issues/11079#issuecomment-870742887) so it probably makes sense to hold off on further changes in this PR until we've come to consensus there as to the approach.
@markdroth suggested an alternative, can others please comment in the issue on whether that seems reasonable/preferred?
/wait

I like the idea of building the mechanism for the server to specify gRPC/HTTP status codes and leaving policy to the server.

withdrawing this, we will look for a less invasive way to resolve the issue in a new PR.


Fix the PSBT JSON serialization, using serde-derive

This re-introduces serde-derive, but adds version pinning instructions to the README.
I hope that's fine. I failed to add hex support for the values of maps (like partial_sigs: BTreeMap<PublicKey, Vec<u8>>). For that I fear we'd need some helper crate like serde_with. Even though, I'm sure in theory it's possible to do manually, but I couldn't figure it out.

Pushed a few more changes:

only do the special treatment for human-readable serializers (JSON)
add special module for BTreeMap<K, Vec<u8>> where the K is serialized as a string and the value is hex
add special module for BTreeMap<K, Vec<u8>> where the K is NOT serialized as a string and the value is hex


[Nightly]fix logout

Coverage remained the same at 53.224% when pulling 78e51a1cee7624a5a43d6ed8a9384e68b435ad10 on sigsbee:fixbat into 2692ac5a202d798bc153000d6de7a523c784fa2f on vmware:drone.


Any plans to upgrade to pydantic 2?

Causing version conflicts with other libraries. Was wondering if there are any plans to upgrade.

Yes! @stikkireddy

same problem, my pydantic is 2.5, cannot work with this

+1

@stikkireddy any suggestions of how can I make compatible with Pydantic v1 and v2?

does #109 solve your issues @stikkireddy @0-1CxH @adambenari @qedpi ?

does #109 solve your issues @stikkireddy @0-1CxH @adambenari @qedpi ?

Yes, it works with pydantic==2.5.2


feat: add Down Caret to Report Titles

Details

This PR adds Down Carets to the Report Titles.
Fixed Issues

$ https://github.com/Expensify/App/issues/42073
PROPOSAL: N/A
Tests

Verify that the down carets are displayed on the report titles:

Go to #admins room of a workspace
Create a public room #social
Create a group of users (FAB -> Start chat -> Add people -> Start group)
Create an expense report (FAB -> Track expense). Open the receipt preview and verify the down caret is displayed.
Assign a task to a user, open the task. Verify the down caret is displayed.
Verify other types of reports, ensure each report type has the down caret displayed.

Offline tests

N/A
QA Steps

[ ] Verify that no errors appear in the JS console
[ ] Do the tests from the above.

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

@Expensify/design

Requested access to the issue OP doc in https://github.com/Expensify/App/issues/42073#issuecomment-2113435133, once granted will start working on the checklist.

@Expensify/design could you take a quick pass at the screenshots for this PR?

triggering a build for design...

Looking pretty good!
Small thing that might not be related to this PR: the overflow ellipsis uses the same style as the room name, which feels weird when there is a description present which causes the workspace name to be in the top line

Yeah, that is out of the scope of this issue.

Tested on iOS and looks great to me!

Yeah I think this is looking good! Man that little caret is so helpful haha.

the overflow ellipsis uses the same style as the room name, which feels weird when there is a description present which causes the workspace name to be in the top line

This is definitely a bummer, but I understand it's not in scope for this issue. It would be ideal to come up with a separate/follow-up fix for this though, as it looks pretty meh when it happens.

Looks like we have some conflicts, awaiting for conflicts to be resolved so this can be merged.

@kosmydel bump on conflicts, thanks!

@kosmydel bump on conflicts, thanks!

Done ✅

cc @grgia

I've pulled the main and retested it to keep it up-to-date.

🚀 Deployed to production by https://github.com/Julesssss in version: 1.4.79-11 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


E: Unable to locate package python-openssl

Link to doc page in question (if any):
https://github.com/streamlit/streamlit/wiki/Contributing
Name of the Streamlit feature whose docs need improvement:
When I try to run the line below, it causes the error in the title.
It was solved as I replaced python-openssl by python3-openssl in my case.
--- below ---
sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev
xz-utils tk-dev libffi-dev liblzma-dev python-openssl mysql-client libmysqlclient-dev unixodbc-dev
What you think the docs should say:
I don't know. I just wanted to let you know.

This has been corrected. Thanks!


Issue 2 of the newsletter

This is a call to everyone out there who works in open bioinformatics - please share interesting stuff! This could be a new project launch, an interesting update or release, a link to useful resources (e.g. some nice biology related icons or an open source tool that could be useful, etc. If you aren't sure about something, feel free to drop me a line personally to discuss it, e.g. via twitter or email (yochannah@gmail.com).
Promoting yourself or your workplace is totally ok here - this is literally what the newsletter is for, within reason! You can see our last newsletter content here: https://github.com/OBF/newsletter/blob/master/newsletters/2018-07.md
I'll use HackMD to author this one.

Interesting link: creative commons (free to re-use!) icons for biology: https://innovativegenomics.org/resources/educational-materials/glossary/

Interesting link: https://github.com/opendigitalsafety/Digital-Safety-for-Open-Researchers  this is a really interesting project, acknowledging the fact that working openly as an academic can sometimes bring grief and digital harassment (I've briefly experienced this, once, when I tweeted from a talk about research I didn't know was controversial), and trying to create resources to help people manage and avoid this.

Possible interesting link:
Just World Licence: Open source licence for the good: https://github.com/raisely/jwl
via https://wdrl.info/archive/238

Make sure to mention the next travel fellowship deadline - https://github.com/OBF/obf-docs/blob/master/Travel_fellowships.md

It might be nice to have a short blurb on each of the OBF GSoC projects, too. https://summerofcode.withgoogle.com/organizations/5340733272227840/

All three of the April 2018 OBF Travel Fellowship blog posts are up now, we can include this along side the reminder about the December 15 call deadline:
https://news.open-bio.org/2018/05/22/saving-science-from-itself-2018-elife-innovation-sprint/
https://news.open-bio.org/2018/08/18/city-of-roses-they-call-it-portland-oregon-usa/
https://news.open-bio.org/2018/08/29/the-color-of-bioinformatics/

We can also have a bit about the new OBF logo design :)

Thanks @peterjc !

I know there was a talk about this at BOSC 2017, but it might be interesting to mention JOSS again briefly and encourage people to sign up as reviewers.

Maybe @nf-core? https://nf-co.re/

@ewels and @ababaian thanks for the suggestions! Everyone else, keep 'em coming in! 👍

Draft begun, but not finished, here: https://hackmd.io/s/H1MmxM06Q#

@bebatut - it might be nice to include some notes about CoFest in the newsletter - e.g. "cofest occurs every N months on x day, and ~insert some notes about welcome project types here~" - could you help suggest some wording maybe? ✨

Sure. I can do that. In which section? "Community updates"?

That would be great!
On Sun, Nov 18, 2018 at 4:38 PM Bérénice Batut<EMAIL_ADDRESS>wrote:

Sure. I can do that. In which section? "Community updates"?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OBF/newsletter/issues/3#issuecomment-439706352, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AI14joA-ZrMA4OWro9to3n1q-wKetoinks5uwY0dgaJpZM4VZ_kK
.

Done!

@bebatut  that looks great - thanks! <3

add this to the interesting links: https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1006419

Okay, I'm declaring this issue frozen. Please add any new items to #8!

This letter has been sent!


Produce a diff between the experimental version of AGE for PostgreSQL 14 branch and AGE for PostgreSQL 13 branch

Hello, I am Mahmudul Islam Maruf & Intern @Bitine

@Maruf13 @eyab Sorry, this issue will be closed shortly. It was found that the experimental PG14 branch deviated too much to bring it up to the current PG13. We will be creating an alpha/PG14 from PG13 instead.


Add Resource Request: DataWeasel

What is the resource called?:
DataWeasel
What is the link to the resource?:
https://www.uni-giessen.de/de/fbz/fb11/institute/psychiatrie/down/dawe
Please provide a short description of the resource (1-3 sentences):
This software allows for logfile analysis, i.e., searching, filtering, calculating, and batch mode with a graphical user interface.
Which step of the research cycle does the resource belong to?:
Data analysis
Please judge the accessibility of the resource:
Open (i.e., everything in the resource is free and open to use)
If possible, please provide the exact path where you want this resource to go?:
Data analysis > Data extraction > ...

added


question size message

Hello:
Incredible work in the library, its functionality in the number of shipments is simply perfect.
Now I find a problem I have very large messages and I was wondering if it was possible to easily read messages of more than 255 characters.
And this would be awesome for the library!

Hello zhapwey,
this should allready work fine. The library has no limitations for string sizes. The Pointer to the payload string may be declared to 255 Bytes but can hold more than this. The string is allways terminated by a zero.
You may have problemes watching this strings in debug windows, but it is valid. Use memory windows instead. The codesys string libs only supporting strings < 255 Byte too. So I'd wrote some string functions in CommonTypsAndFunctions for strings bigger than 255 Bytes, like find.
Actually the lib is config for max payload size of 2000 bytes. This is your max string size.
You are able to change this size in:
`TYPE COM_CONFIG :
STRUCT
//max payload size
MaxPayloadSize : UDINT := 2000;
//max topic levels
MaxTopicLevels:UINT := 25;
//Max Topic elemt size
MaxTopicElementSize:UINT:=255;
END_STRUCT
END_TYPE`
This resists in your MQTT_IN_OUT var.
Try it, report me and give me a star ;)
BR
Stefan

hello:
Yesterday's tests change the definitions of several strings in the string library (255) one string (2048).
MQTTSubscribe
PayloadString: STRING (2048)
TestOutOfTheBoxTLS
the message where you save in subscribe payload.
Now that I have updated the library with callbacks I am going to try it because I was using an older version.
regards
I put your well-deserved star.

hello:
We understand your message in the place. To work with large strings that string libraries do not work with more than 255 characters.
I am now working with the stringutils that allows me to work with string pointers and the limitations are much lower,
Thanks for your help,

Hi,
Sounds great, please let me know if it works as expected, or not ;)
BR Stefan


ModuleNotFoundError: No module named 'fcntl' and 'pwd'

it is wrong that ModuleNotFoundError: No module named 'fcntl' and 'pwd' when i execute 'gunicorn -c conf.py ocr_server:app'
my configuration is win10 , python 3.9

it is wrong that ModuleNotFoundError: No module named 'fcntl' and 'pwd' when i execute 'gunicorn -c conf.py ocr_server:app'
my configuration is win10 , python 3.9

win10不用gunicorn，直接
python ocr_server.py


Add support for HTTP POST encryption ( using JWT )

Added a new type of alert ( extend from HTTP POST ). This type will encrypt JSON alert using JWT ( JSON Web Tokens ).
Example of useage:
alert: jwt_post
http_post_jwt_key: "secret"
http_post_jwt_algorithm: "HS256"
http_post_url: "url_here"

You need to add "PyJWT==1.7.1" To requirements.txt. Because running docker test uses requirements.txt instead of setup.py (see Docker-test file)

You need to add "PyJWT==1.7.1" To requirements.txt. Because running docker test uses requirements.txt instead of setup.py (see Docker-test file)

I have added "PyJWT==1.7.1" to requirements.txt. Can you check again? Thank you

I have added "PyJWT==1.7.1" to requirements.txt. Can you check again? Thank you

I am getting the following error.
You need to follow the fork / clone repository on GitHub to the original repository.

Command execution example
git remote add upstream git://github.com/Yelp/elastalert.git
git fetch upstream

git merge upstream/master
git push origin master

I am getting the following error.
You need to follow the fork / clone repository on GitHub to the original repository.

Command execution example
git remote add upstream git://github.com/Yelp/elastalert.git
git fetch upstream

git merge upstream/master
git push origin master

I have resolved all the conflicts. Can you check again? Thank you

I have resolved all the conflicts. Can you check again? Thank you

@skyghost2210
Any way you could push this PR to https://github.com/jertel/elastalert ?


Dev 2205

Do staging/aarnet/pawsey now need to have galaxy_manage_systemd: yes in their host vars?

yes they do

But having it in galaxyservers.yml is fine as it's over-rideable at the host var level


Fix: prevent race condition in loadYouTubeAPI

What does this change?

loadYouTubeAPI and the equivalent function in youtube-player that we replaced in #434 have a bug which causes a potential race condition. Since the youtube iframe api script is loaded before window.onYouTubeIframeAPIReady is defined, there is a possibility that the script will finish loading, the youtube api will be "ready", and the ready function will be called before it's defined. If this happens, the promise returned by loadYouTubeAPI never resolves and YoutubeAtomPlayer isn't made aware of the fact that the player is ready. For players with an overlay, the placeholder is never removed and the YoutubeAtom component appears as a black rectangle.
This PR removes the race condition by defining window.onYouTubeIframeAPIReady before the script is loaded, guaranteeing that the function can't be called before it is defined.
Although in theory this failure mode is possible on main at the moment, in practice it doesn't occur because onYouTubeIframeAPIReady is consistently defined before the youtube api is ready. Only when a second script is loaded as in #447 does the failure occur, and then only rarely.

How to reproduce the error

to reproduce the failure mode on main, add a timeout of 5 seconds to the list of scripts loaded in loadScripts, simulating a second script which takes a long time to fetch and run.

new Promise((resolve) => {
    setTimeout(() => resolve, 5000);
}),

the youtube script finishes loading and calls window.onYouTubeIframeAPIReady before _scriptsPromise resolves and before youtubeAPIReady is called to define window.onYouTubeIframeAPIReady

Thanks both!


wrong camera index

when i run the command it gives index 0 , but it only shows this device when i enter index "1" for capturing

nevermind i think i forgot to use DSHOW

Glad you sorted it! 👍

oh PS :  this could use manual typing ^^


OSM roads data

Need to replace the OSM roads data on OSF and edit the link in the jupyter notebook. I probably deleted them on accident when cleaning up the OSF project prior to registration.

Uploaded file to OSF and updated code and metadata.


How to remove/rename table successfully?

If I remove/rename a table with a migration, RailsAdmin still retains an association to that previous table name. Any thoughts on how to successfully clear out any previous associations?
The error I get is "ActiveRecord::StatementInvalid (PGError: ERROR:  relation "TABLE_NAME" does not exist"

RailsAdmin retains nothing: it reads all files and conf at startup.
You've left the old TABLE_NAME somewhere, I guess.

Check association names in related models. That's the only thing I can think of. Otherwise you guys are in the twilight zone.
Post the full stack so I can get an idea.

Hi bbenezech,
Just solved the problem. I didn't know rails_admin uses .rb files under model folder to check what tables exist. Even though I rolled back the database using rake db:rollback, somehow image_qualities.rb was left in the model folder. Deleting that file solved the problem. :(
Thank you!

No problem. Closing this, then.


WIP: update rating-limit-connections for amazon linux 2

Since our domain already migrated to Cloudflare with more control on network traffic, I think we could remove related configs on EC2 side.


Enhance container entities tables and relationships

This PR is enhancing the container entities tables (adding more information) and relationships (consistent order from parent to child).

@miq-bot add_label providers/containers
@miq-bot add_label enhancement
@miq-bot add_label ui
cc @h-kataria @blomquisg @abonas

looks good. Verified in UI.


Integrate with kaminari or will_paginate

I find this project the best one to implement the json api under a rails project.
The only thing I really miss is some kind of pagination integration (I know that it's still not in the json api spec, sadly), anyway, it'd be very useful some kind of integration with kaminari or will_paginate, with the ability to pass the page and page size to return.
It'd be awesome to also support different page size for included resources and to have some kind of config for a max_size (to block requests for 100000 items)
I guess this will be a placeholder until json-api/json-api#236 gets resolved

I could really use this feature and can help if needed.

I've gotten a paginated sample using the api-pagination gem to achieve link headers. It would be nice to be able to use a mixin or something instead of overwriting the index fully as well as an alternative for the filter hack (maybe a extra params option?).
Controller:
def index
    resources = paginate<EMAIL_ADDRESS>context),
                                context: context, sort_params: @request.sort_params)), per_page: 10
    render json: JSONAPI::ResourceSerializer.new(resource_klass).serialize_to_hash(resources,
                                include: @request.include,
                                fields: @request.fields,
                                attribute_formatters: attribute_formatters,
                                key_formatter: key_formatter)
end

Resource:
filter :page
def self.apply_filter(records, filter, value)
  case filter
    when :page
      records
    else
      return super(records, filter, value)
  end
end

@7h3kk1d, I'm starting to look at pagination today. At this point I'm thinking the system will support multiple pagination systems, with the option to define a default paginator and each resource can override this with a different paginator. The idea being that as a resource evolves, over several supported versions, there may be a desire to switch pagination styles.
A paginator will be involved in parsing the request parameters, as well as contributing to the Arel relations used to build up the result set. Thus there won't be a need to override the index method.
I'm hoping to create several default paginators, and allow the creation of others in individual projects.
Of course all of this is subject to change. I'm open to any suggestions.
I'm starting the work in the jsonapi_rc2 branch, since I believe that will be released before I get the pagination complete. I'll post a note here when I get an initial version pushed, hopefully in a day or two.

@lgebhardt Yeah that sounds good. It's similar to how activemodel serializer handles serializers. It would be nice for the paginator  to also be able to modify the link headers and/or response hash to give pagination data. Are you looking at any sort of change that would introduce the meta attribute?
If you need anything just let me know.

@7h3kk1d I plan on having the paginator produce the required links. The location and format will conform to the updated spec.
I do need some help in defining what the default types of pagination should be. At this point I have a rough idea that we will support "paged", "offset", and possibly "cursored" styles. But I'm not sure on the full set of details of how each of these will work. So any help on defining paginators would be most appreciated.

Does the spec actually outline pagination?
Default should probably be no pagination. Cursor/limitoffset/paged would be the 3 most common I think. Should also probably give custom cursor names for either timestamps or ids.

I've pushed some changes to https://github.com/cerebris/jsonapi-resources/tree/jsonapi_rc2 that start the pagination work. There are currently two very similar paginators, offset and paged. Paged is really a specialized version of the offset, so they are very similar. No docs yet, but they'll added soon. And the default is no pagination.

Is there any plan on adding the cursor pagination?
I ask because in the readme there is # built in paginators are :none, :offset, :cursor, :paged, but it's the only part in the repo where it mentions the cursor paging, in the code there is only offset and paged

@xdmx it is possible to write custom paginators that live outside of core JR. However I have been digging into this and believe to implement cursor based pagination the current sort context will need to be available inside the paginator, which it currently isn't.
@lgebhardt shall I go ahead and submit a PR for passing the order_options to pagination classes?


Flashcard swiping animation

Flashcards now have swiping animation that follows finger/cursor, and when clicking next. Let me know if there are any issues 😄

@lucieyang1 Looks great, not going to merge for now. Because we would need to integrate with the other parts of the code base.


Scrolling inside child controller doesn't work

Now I have a very simple configuration.
Only one controller added to DAPagesContainer.
This controller has UIScrollView and UILabel with very long text.
Everything is fine but when I scroll the text up to the end the scrolling  (text scrolling) stops and it's not possible to scroll the text neither up or down. Here is small example of my code:
UIViewController *vc = [[UIViewController alloc] init];
vc.title = @"Info";
CGSize vcSize = self.view.frame.size;
UIScrollView *myScroll = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, vcSize.width, vcSize.height)];
UILabel *myLabel = [[UILabel alloc] initWithFrame:myScroll.frame];
myLabel.text = self.video.desc; // very long text
myLabel.lineBreakMode = UILineBreakModeWordWrap;
myLabel.numberOfLines = 0;
[myLabel sizeToFit];
myScroll.contentSize = CGSizeMake(myScroll.contentSize.width, myLabel.frame.size.height + 60);
[myScroll addSubview:myLabel];
[vc.view addSubview:myScroll];
self.pagesContainer.viewControllers = @[vc];
Could you help me? What could be the reason of such a strange behavior?

Hi guys,
Solved the Table View hang Problem. Follow the below steps.

Open DAPagesContainer.m file
find scrollViewDidScroll method.
set the self.scrollView.userInteractionEnabled = YES instead of NO.

Solved the problem ... while initialising the DAPagesContainer, have
self.pagesContainer.view.autoresizingMask = UIViewAutoresizingFlexibleWidth;
instead of
self.pagesContainer.view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
i.e just remove the UIViewAutoresizingFlexibleHeight.
Let me know if it worked for you.


Field called type raises error

Hi I have a model that has a type column like:
//user.js
DS.Model.extend({
  type: DS.attr('string') // ie. free, paid, admin
});

When I create a factory like so:
const user = make('user', { type: 'free' });

I get an error that says:
"Assertion Failed: You tried to push data with a type 'free' but no model could be found with that name."

It looks like FixtureBuilder changes the modelName from user to free then when it gets pushed into the store it is breaking. Are there any workarounds for this?

I see this comment:
https://github.com/danielspaniel/ember-data-factory-guy/blob/master/addon/converter/fixture-converter.js#L19-L21
Not sure what the workaround is yet though?

does this help give you a clue?:
https://github.com/danielspaniel/ember-data-factory-guy/releases/tag/v2.7.5

yes it does...