[Fix Build farm]Fix ImageResizer Loc and change C# language version in ColorPicker to 8.0

Summary of the Pull Request
What is this about?
Since ImageResizerUI is now a .NET Core project, <EmbeddedResource Include="Properties\Resources.*.resx" /> is not required as .NET Core projects automatically include all the files in the Properties folder.
The version of VS in CDPX pipeline doesn't support C# 9.0, so this has been downgraded to 8.0 and use of is < and and features has been removed.
Errors on the build farm:
"S:\src\modules\imageresizer\ui\ImageResizerUI.csproj" (default target) (33) ->
[INFO] [6297]        (CheckForDuplicateItems target) ->
[INFO] [6298]          C:\Program Files\dotnet\sdk\3.1.200\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.targets(306,5): error NETSDK1022: Duplicate 'EmbeddedResource' items were included. The .NET SDK includes 'EmbeddedResource' items from your project directory by default. You can either remove these items from your project file, or set the 'EnableDefaultEmbeddedResourceItems' property to 'false' if you want to explicitly include them in your project file. For more information, see https://aka.ms/sdkimplicititems. The duplicate items were: 'Properties\Resources.cs.resx'; 'Properties\Resources.de.resx'; 'Properties\Resources.es.resx'; 'Properties\Resources.fr.resx'; 'Properties\Resources.hu.resx'; 'Properties\Resources.it.resx'; 'Properties\Resources.ja.resx'; 'Properties\Resources.ko.resx'; 'Properties\Resources.nl.resx'; 'Properties\Resources.pl.resx'; 'Properties\Resources.pt-BR.resx'; 'Properties\Resources.pt-PT.resx'; 'Properties\Resources.ru.resx'; 'Properties\Resources.sv.resx'; 'Properties\Resources.tr.resx'; 'Properties\Resources.zh-Hans.resx'; 'Properties\Resources.zh-Hant.resx' [S:\src\modules\imageresizer\ui\ImageResizerUI.csproj]
[INFO] [6299]        "S:\PowerToys.sln" (default target) (1) ->
[INFO] [6300]        "S:\src\runner\runner.vcxproj.metaproj" (default target) (2) ->
[INFO] [6301]        "S:\src\modules\colorPicker\ColorPickerUI\ColorPickerUI.csproj" (default target) (23) ->
[INFO] [6302]        "S:\src\modules\colorPicker\ColorPickerUI\ColorPickerUI_yxr1rklh_wpftmp.csproj" (_CompileTemporaryAssembly target) (60) ->
[INFO] [6303]        (CoreCompile target) ->
[INFO] [6304]          CSC : error CS1617: Invalid option '9.0' for /langversion. Use '/langversion:?' to list supported values. [S:\src\modules\colorPicker\ColorPickerUI\ColorPickerUI_yxr1rklh_wpftmp.csproj]
[INFO] [6305]

PR Checklist

[ ] Applies to #xxx
[X] CLA signed. If not, go over here and sign the CLA
[X] Tests passed

Info on Pull Request
What does this include?
Validation Steps Performed
How does someone test & validate?
Validated on pipeline https://github-private.visualstudio.com/microsoft/_build/results?buildId=14311&view=results and tested the MSI

/azp run

Forced CI test
https://dev.azure.com/ms/PowerToys/_build/results?buildId=117739&view=results


Different solar panels

Added the ability to add data and remove data

@abdulkwele1 last time we reviewed the next steps you were going through midterms and pretty exhausted, let's review the plan https://app.diagrams.net/#G17wk0s_iaCeqIKDHX9-9O-Y9IdAKPUQS2#{"pageId"%3A"ejhlyjYnlxptKf1cVuQr"} again when you have time during the bff office hours or anytime virtually after 5pm


enable debug mode

Description
Enabled debug mode for cloud watch
Fixes CCXDEV-5984
Type of change
Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)

Checklist

[ ] make before_commit passes
[ ] updated documentation wherever necessary
[ ] added or modified tests if necessary
[ ] updated schemas and validators in insights-data-schemas in case of input/output change

Codecov Report

Merging #704 (19fd3bf) into master (06d2fad) will increase coverage by 0.01%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #704      +/-   ##
==========================================
+ Coverage   52.52%   52.53%   +0.01%
==========================================
  Files          20       20
  Lines        2538     2541       +3
==========================================
+ Hits         1333     1335       +2
- Misses       1049     1050       +1
  Partials      156      156

Impacted Files
Coverage Δ

server/endpoints_v2.go
100.00% <ø> (ø)

server/handlers_v2.go
54.30% <0.00%> (-0.19%)
:arrow_down:

server/server.go
57.24% <66.66%> (+0.15%)
:arrow_up:

Continue to review full report at Codecov.

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


Details about MG custom roles out of date

policyDefinitionId or roleDefinitionId does not exist. If you are referencing a custom policy make sure that custom policy exists at or above the management group where the blueprint is saved. Custom role definitions are currently not supported for management groups.

Updated readme accordingly


Switch don't raise event Toggled

From @xamarindevelopervietnam on April 18, 2017 15:16
If you set FalseColor and TrueColor of Swich, it won't raise event Toggled or change IsToggle property
Bug
Bug
Version Number of Plugin: FormsCommunityToolkit.Effects.<IP_ADDRESS>-beta
Device Tested On: HTC One M9 (Android 6.0)
Simulator Tested On:
Expected Behavior
Actual Behavior
Steps to reproduce the Behavior
Feature Request:
Please fill in what you would like
Copied from original issue: FormsCommunityToolkit/Effects#50

Good catch! Will try to fix this...

Cheers!


⚠ Bofrost.de has degraded performance

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

HTTP code: 200
Response time: 1463 ms

Resolved: Bofrost.de performance has improved in b431718.


Unable to Start Blockchain

What happened:
Like for numerous others in the DeFiChain channels, the app won't start for me anymore. Since yesterday, it will display a spinning circle and then say "Unable to start blockchain".
When enabling console output, I keep getting a network error message.
I already deleted the blocks/chainstate/enhancedcs folders and tried again, same thing.
What are your environment parameters?

DeFi Wallet Version: 2.3.3
Operating System (OS): MacOS Catalina

Anything else we need to know?:

Debug.log won't add any new lines since yesterday, apparently due to the network error.

Hi @tame81 , there was a node issue on 05/04/2021 that may have cause the network error you faced, everything is back online now, can you try the following please:
Option 1 — Reset & Reindex (sync from 0%)

Settings > Reset & Reindex

**Option 2 — Snapshot (sync from 90%+)**

Ensure you’ve at least 27GB of extra space
Click on i located at bottom-left corner of app screen
Download Snapshot

Thank you for your patience.

Hi @izzycsy,
The problem is that I could not get into the app because it got stuck on the splash screen.
Because of no other workaround hints from the channels or your end, I had to delete everything. I then copied over a snapshot, now the app is syncing at around 90%. Hope it'll work afterwards.

Hi there,
Yesterday, I started the app on my mac (Version 2.3.3). It opened and did the syn process (I was at 99.8%).
Then it showed up an error that there is a mistake in blockchain state and that I should download the snapshot.
I tried that but after a while the app didnt react anymore. I closed it and when I tried to reopen the complete app did not show up. I deinstalled and reinstalled it but still the same. The app opens but the window does not show up anymore.
I already tried to delete the wallet_map.json and restart the app, but didnt work either.
can someone help out here? Thanks, CF

Hi @CryptoFabi , please follow the steps carefully while performing a reinstallation of DeFi Wallet.
In app directory:

Make a copy of the wallets folder, and paste in Documents (for example), so it’s easier to find it when restoring wallet later on.

Mac — Go to Folder:

/Users/<username>/Library/Application Support/Defi/wallets/

Delete DeFi folder

Delete defi-app folder

Then proceed with the following:

Download update from https://defichain.com/downloads/
Open DeFi-Wallet-2.3.3.dmg file
Prompt: “DeFi Wallet” can’t be opened because Apple cannot check it for malicious software. > OK
Go to System Preferences > Security & Privacy > Open Anyway

At this point, you can either wait for the app to sync to 100%
or
Download snapshot (27GB) and wait for app to sync to 100%

Restore wallet from backup (wallet.dat)
 – Guide the app to where where your wallet.dat is located

Hi @izzycsy,
It's better to copy the backed-up file wallet.dat from its safe location directly over wallet.dat in directory
~/Library/Application Support/Defi/wallets/. Otherwise you'll have the configuration file in ~/.defi point to the external location permanently. And if that happens to be on an external drive, it's bound to be disconnected sometime.
I'd also make sure to delete DeFi Wallet.app before re-installing it.

Dear @izzycsy
we already had email conversation. I followed your instructions to delete the DeFi Wallet, reinstalled, downloaded the Snapshot, replaced  "blocks", "chainstate" and "enhancedcs" folder, erased most of disk space to have space for close to 80GB on my hard drive and still having problems to restore the Wallet.
I have my passphrase and my wallet.dat
Using Mac OS Big Sur
DeFi Wallet 2.3.3.
What am I'm doing wrong?
Cant access my funds since a month and it would be great to get your guidance

... please follow the steps carefully while performing a reinstallation of DeFi Wallet.
In app directory:

Make a copy of the wallets folder, and paste in Documents (for example), so it’s easier to find it when restoring wallet later on.

Mac — Go to Folder:

/Users/<username>/Library/Application Support/Defi/wallets/

Delete DeFi folder

Delete defi-app folder

Then proceed with the following:

Download update from https://defichain.com/downloads/
Open DeFi-Wallet-2.3.3.dmg file
Prompt: “DeFi Wallet” can’t be opened because Apple cannot check it for malicious software. > OK
Go to System Preferences > Security & Privacy > Open Anyway

At this point, you can either wait for the app to sync to 100%
or
Download snapshot (27GB) and wait for app to sync to 100%

Restore wallet from backup (wallet.dat)
    – Guide the app to where where your wallet.dat is located

Hi @MrsZoggy , we've progressed to an automatic snapshot (as shown on your screenshot), click Download Snapshot. Or you can try reinstalling again by following the instructions above. Please try again. Thank you for your patience.


Build standard library specs with the currently released compiler first

Because @asterite want's the stdlib to compile with the current release, not just the next one.
PR mainly to see how much extra CI time this would cost.

So it looks like this costs about 2-6 minutes per build, depending on how high the load of the workers host is. But given it also now fails after 2-3 minutes already if the specs break on the last release, it's probably acceptable.

Yes, I think it's acceptable. Before committing I always do make clean crystal spec anyway, so even if it takes 1 hour to let us know that we broke something we didn't notice, it'll be ok :-)


False positive deprecation message on pagerTabIndicatorOffset variant

The deprecation message for the method indicates that the androidx.compose.foundation.pager.PagerState version should be used.
However, this applies to both versions of the modifier, including the one already using androidx.compose.foundation.pager.PagerState. The message seems to suggest an alternative that is essentially the same as the current implementation.
https://github.com/google/accompanist/blob/3af68c89ca6686b4b611f41e8d5e8cffe5f4b56e/pager-indicators/src/main/java/com/google/accompanist/pager/PagerTab.kt#L63-L73

ive also noticed this as well

This was deprecated on purpose. I will update the docs.
We won't be updating it going forwards so we recommend just copying the implementation to your own project.


Could not use library

Hello, in my old project I'm use your library, but now it's not building
Gradle error - Could not GET 'https://dl.bintray.com/drummer-aidan/maven/com/afollestad/easyvideoplayer/0.3.0/easyvideoplayer-0.3.0.pom'. Received status code 403 from server: Forbidden Disable Gradle 'offline mode' and sync project
Can you upgrade your project to alternative repo for use it? Link to the same problem from another person. Thank you!
https://stackoverflow.com/questions/67633762/received-status-code-403-from-server-forbidden-disable-gradle-offline-mode-an

hi
have you found any solution for this?


workspace root user cannot use nvm, npm or gulp

Hi,
I have noticed that the laradock user is the only user in the workspace container that is able to use the nvm, npm and gulp binaries. Is there any rationale behind this? Why can't the root user use these binaries?
I am trying to deploy a Laravel application to a DigitalOcean Docker 1-Click droplet but I cannot execute any gulp commands as root in the workspace container. I run into permission issues when trying to run gulp install --production as the laradock user on the server. Anything I can do to work around this?
I have been following this guide to deploy my application to production: https://github.com/LaraDock/laradock/blob/master/_guides/digital_ocean.md

The fix I found is:
docker-compose exec -T workspace bash -c 'export NVM_DIR=/home/laradock/.nvm; [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"; <nvm/npm commands>'

Which is basically just running the last 2 lines in the laradock user ~/.bashrc followed by my commands.
I too would like to know the rational behind not having the binaries available to root?

@philtrep
Perhaps if your solution can be generalized, it might be worth a pull request IMO for the sheer convenience of having access to those binaries as root.
What are your thoughts on this, @Mahmoudz ?

I'm having the same issue, i can not use gulp inside workspace all the rest of comands are working fine, Can you tell me how to fix it?

@KikeMendez
You can use the laradock user to run commands in the workspace like so:
docker-compose exec --user=laradock workspace bash
you should then be able to run gulp.

@edmundluong
Made the PR but note that this won't work for commands that don't load the .bashrc ie. docker-compose exec workspace bash -c '...'. I tried making it work for the best part of a day and my fix above is the only thing that does it...

I runned gulp but now I'm having this issue,
stream.js:74
throw er; // Unhandled stream error in pipe.
^Error: EACCES: permission denied, open '/var/www/laravel/public/css/app.css.map'
at Error (nativ

Using  docker-compose exec --user=laradock workspace bash I still get gulp command not found.

I just found a way for commands like docker-compose exec -T --user=laradock workspace bash -c 'npm-command'
You could to add the -i parameter to bash like docker-compose exec -T --user=laradock workspace bash -c -i 'npm-command' to make interactively inside the container and to load .bashrc


Columns that can be filtered

In the Grid column header filtering/sorting paragraph you say "for columns that can be filtered" but it's not stated when a column can be filtered.
It would be nice if there was some additional details to this statement.

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

ID: d636f921-c6d6-25c3-c1e8-15332844eb6d
Version Independent ID: 657c8193-2829-2c9d-65d0-f0dab5547756
Content: Filtering options - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/dev-itpro/user-interface/filtering.md
Service: dynamics-365-cross-app
Product: ****
Technology: ****
GitHub Login: @jasongre
Microsoft Alias: jasongre

@simonefinotti  , thank you for contacting us regarding this help topic. I have passed your comment on for consideration.

Bug 662877 created to track this issue

@simonefinotti Thanks for the feedback. I've added some more details to the article. In particular, columns who values are computed by code (and aren't represented as fields in a SQL table) are not filterable or sortable. Display/data methods are prime examples of columns that cannot be filtered or sorted on.


Entry in Admin panel not available

In the article it is written, to go to the teams admin center. The mentioned entry point does not show up in my admin center. When will it be available?
Best, Fritz

Dokumentdetails
⚠ Bearbeiten Sie diesen Abschnitt nicht. Er ist für die Verknüpfung von docs.microsoft.com zum GitHub-Artikel erforderlich.

ID: e5f1cdd1-09ff-f95d-6d50-e7880d34020f
Version Independent ID: 59219640-305b-30c1-bc10-87e2633d95db
Content: Öffentliche Vorschau in Microsoft Teams - Microsoft Teams
Content Source: Teams/public-preview-doc-updates.md
Service: msteams
GitHub Login: @cichur
Microsoft Alias: v-cichur

Hello @klatvo
Do you see the Update Policies option in the Teams Admin Center?

@klatvo We appreciate any feedback that improves the content in the Microsoft docs but we haven't had any response from you so we are going to close this issue.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


TiKV is not being run on crater

Crater is what prevents Rust regressions, so we want it to be run there. Right now it is on the "automatic" black list https://github.com/rust-lang-nursery/crater/blob/master/config.toml#L12995,
for consistently failing to build.
Crater's maintainer @pietroalbini suggests that they may re-enable those blacklisted items soon. If that happens we will be able to look at the error logs and figure out why tikv doesn't build there.
We will also want to deal with flaky tests - as a desperate step we might add a "flaky-tests" feature so that they can still be run, but crater won't have to deal with them, and casual users won't either.

If the auto-blacklist isn't reverted soon we can ask @pietroalbini to just take tikv off that list so we can see the error logs and fix the problem.

The tikv has been removed from the blacklist.

(the updated blacklist hasn't been deployed yet)


Selection of default upgrade policy

This PR is a temporary solution to #226.

I merged, because I'll need one function you've implemented here.


add oncotree terms

Closes #102, which is a non backwards compatible changes.
Adds the following terms from ONCOTREE for the Synodos LGG project:
Pilocytic Astrocytoma
Low Grade Glioma, NOS
Pilomyxoid Astrocytoma
Diffuse Astrocytoma
Glioblastoma Multiforme
Anaplastic Pilocytic Astrocytoma
Pleomorphic Xanthoastrocytoma
Oligoastrocytoma
High-Grade Glioma, NOS
Unknown
Adds the following libraryPreparationMethod:
Illumina TruSeq DNA Nano
Since I was working on tumorTypes already, I also tossed out a bunch of tumor values (mainly blood cancers) that are not currently used in any Portal files. This should help if we decide to import ONCOTREE wholesale down the road, because many of these would need to be changed.
When available, I converted the remaining terms to ONCOTREE values. The terms didn't actually need to change, just needed to update description to ONCOTREE abbreviation and change source.
Since I was already making a non b/w compatible change with #102, I also changed teratoma, to the ONCOTREE Teratoma.
After this is merged, can remap all instances of Low Grade Glioma to Low Grade Glioma, NOS and teratoma to Teratoma.

I also reorganized the CSV a bit to bring the tumorTypes into one block, and to bring the libraryPreparationMethods into one block.

OK, I only regenerated the docs so the new tumor terms are updated.

Oops, sorry, I thought that CI handled that? What should I do in the future to make sure the docs are updated?

Oh, np. Just go to docs/index.Rmd and hit "Knit" -- so it works more like nfosi/research right now.

Sounds good, thanks!

For posterity:

After this is merged, can remap all instances of Low Grade Glioma to Low Grade Glioma, NOS and teratoma to Teratoma.

is done


Fix races in LookupSnapshotTaker, CoordinatorPollingBasicAuthenticatorCacheManager

Both were susceptible to the following conditions:

Two JVMs on the same machine (perhaps two peons) could conflict by one reading while the
other was writing, or by writing to the file at the same time.
One JVM could partially write a file, then crash, leaving a truncated file.

:+1: for this PR.
some extra thoughts:
In newer versions of Druid code ... all lookup nodes check with coordinator at startup on what lookups they are supposed to load and lookup snapshots are not as important anymore. they were added originally so that historicals at startup know what lookups to load without waiting for coordinator to tell them later.
only major utility of snapshots at this point is for the corner case where historical process is starting but coordinator is down/non-responding and in that case historical falls back to locally persisted snapshot. however, I'm not sure if that is important enough to justify existence of lookup snapshots feature.

only major utility of snapshots at this point is for the corner case where historical process is starting but coordinator is down/non-responding and in that case historical falls back to locally persisted snapshot. however, I'm not sure if that is important enough to justify existence of lookup snapshots feature.

I think it is still important. I have a couple of customers where lookups are critical and in that case, coordinator downtime is not a good excuse for them not being available. (Especially since sometimes rolling upgrade documentation says that all coordinators must be taken down at once)
In fact, to help them out more we may also be looking to add more aggressive on disk caching features, so a server can restore all of its lookup data on boot (not just configuration) without access to any external services.

@gianm thanks for clarifying the usefulness of snapshot of configuration, let us keep it then.

In fact, to help them out more we may also be looking to add more aggressive on disk caching features, so a server can restore all of its lookup data on boot (not just configuration) without access to any external services.

We do that with some of our lookups which are custom extensions and use disk backed caches. In fact, to support improved cleanup of persisted data, I had added https://github.com/druid-io/druid/pull/5287 .
glad to know that lookups are getting more adoption :)

@gianm while thinking more about it, Druid processes should have different snapshotDirectory configured so that there is never an actual conflict ..as two processes might have different lookup configuration and you wouldn't want one to override another.
for peon processes, I think , snapshotDirectory should be some place within their task specific directories.

@himanshug,

for peon processes, I think , snapshotDirectory should be some place within their task specific directories.

But this would defeat the purpose of the snapshot directory, since it means peons cannot start up properly if the coordinator is unavailable.
What makes the lookup configuration different between different nodes? Is it just the tier? If so- maybe we should have one machine-wide lookup snapshot per tier?

@gianm yes , they can be different for different lookup tier and "technically", different peons can have different lookup tier (e.g. overriding druid properties for peon via task json).
so we either would eventually need to force all peons to be in same lookup tier, this is probably alright as I haven't seen any one exploiting the system to have different lookup tier for different peons or else each of them need their own snapshot directory.
third option of course is to leave things in current state and wait for users hitting specific limitations and then evolve things based on that feedback :)

@himanshug raised a follow up with separate files for each lookup tier: https://github.com/druid-io/druid/pull/5358


Filehelpers Version for .Net 3.5 references 4.0 framework

I am working on a .Net 3.5 project.
Trying to reference filehelpers.dll from directory FileHelpers_3.1.5_Build\Lib\net35 (from latest zip) results in a warning: (troughly translated from German) "filehelpers.dll or another dependency need a later version of .Net Framework as stated in project".
Looking into the dll (dot.peek) it says : msil, .Net Framework v4.0
Where do I find the .Net-3.5 Version?
Thanks
Clemens

Hello Clemens
I can confirm the described behavior. I might look into this issue, but cannot give you any guarantee when and if it will be fixed.
However the version in Lib/net20 (in nuget package) references the .Net Framework v2.0:
It should be possible to use that version in your .Net 3.5 project.
Does this allow to continue with your work for the moment?
Matthias

Thanks for verifying. I successfully use Lib/net20 for now.

Packaging is fixed on stable branch.
On master we need to see how we can support .Net Framework 2.0 (the one from 2005 :-)), as we now have linq code (only working from .Net Framework 3.5 on) in it.


created image classification

I created two different models for image classification using the keras library. One using a standard CNN the other using a ResNet CNN.

@Christoper-Harvey This is a great starting point! Please integrate MLflow into your pull request. At ai-platform, MLflow is a code dependency. Our README file describes this in more details.

Closed due to unresponsiveness.
@Christoper-Harvey feel free to open this pull request if you decide to integrate MLflow.


Multifactorial exploration -

Hi guys,
When trying to carry out a multifactorial exploration, I cannot select factors to compare, and I when I type them they disappear.
Any help would be appreciated.

Hi @jamesthomas232,
I cannot see too much from the screenshot, nor you did provide enough info to get a grasp of the dataset at hand.
Can you elaborate more on this maybe?
Federico

Hi @federicomarini,
Thank for getting back so quickly! I've sent a new screenshot, hopefully it will be more clear!

I have 19 samples (10 disease, 9 control) and ~56000 probes. Cell type refers to disease or no disease (annotated as IPF/Con) and Gender refers to Male or Female (annotated M/F)
I was aiming to use the multifactorial expression hopefully with these factors.
Is there any other information that could help? Please let me know!

And to clarify, I can neither select or type the factor available levels, and if I try to compose the matrix, it says "Error: a dimension is zero"

Thanks for the larger screenshot, this way I can have a cleaner look at it.
Hm, strange, it looks like it is not able to pick the values of the levels for the factor?
When I run it on the example dataset (from the airway package) I see something like this:

Can you reproduce that? (Load the demo, compute the vst data first)
If not, the problem can be more general. If you can get there, it might be something specific to the dataset you have at hand somehow.
HTH,
Federico

I can reproduce that with the demo package, I can select the factor available levels too, which is what I am struggling to do with my own dataset.
Many thanks,
James

Hm, ok, this is somehow tricky then.
Can you check that the factors are encoded as such (if you are providing the data as dds/transformed)?
Or otherwise: can you provide me with a smaller/anonymized version of the dataset you are using? If so, please reach out via email (you can see it in the maintainer field of the package description)

Hello, I am facing the same issue as above. Were you guys able to solve this?
When I try to select factors, it doesn't allow on my data, however, it works fine with example airway data.
Please let me know! Many thanks!

I had my raw counts data and metadata in .csv format but then I saved it as Text (tab delimited) format and uploaded to pcaExplorer web.
Then I faced the same issue as mentioned above.

Hi,
I'm afraid I didn't solve the problem, sorry! Best of luck.
Get Outlook for iOShttps://aka.ms/o0ukef

From: mars188 @.>
Sent: Thursday, October 27, 2022 8:58:30 AM
To: federicomarini/pcaExplorer @.>
Cc: Thomas, James @.>; Mention @.>
Subject: Re: [federicomarini/pcaExplorer] Multifactorial exploration - (#14)
CAUTION: This email originated from outside of the organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe.
I had my raw counts data and metadata in .csv format but then I saved it as Text (tab delimited) format and uploaded to pcaExplorer web.
Then I faced the same issue as mentioned above.
—
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffedericomarini%2FpcaExplorer%2Fissues%2F14%23issuecomment-1293138855&data=05|01|jt595%40exeter.ac.uk|d6c9a6092ac14a6ea71108dab7f11f3e|912a5d77fb984eeeaf321334d8f04a53|0|0|638024543483870832|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=QI0098IFR342f3TZRBcbxknXHA04Qy04UUvjcLSwSwE%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FATDRKJJOCQVNXC2IULDOO2LWFIY2NANCNFSM4YWUOOGA&data=05|01|jt595%40exeter.ac.uk|d6c9a6092ac14a6ea71108dab7f11f3e|912a5d77fb984eeeaf321334d8f04a53|0|0|638024543483870832|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=aRKoXn6xT7QXXTYV2Dq0EN2YdkO0fh0WQBcKrpBYQlA%3D&reserved=0.
You are receiving this because you were mentioned.Message ID: @.***>

I am afraid I cannot do too much without checking directly how the dataset seems to be formatted.
As I said above: a smaller/anonymized version of the dataset might be the way to go for me to try and help you a little more?

Dear @federicomarini
I have sent you a smaller/anonymized version of the dataset on the given email address (marinif@uni-mainz.de).  Please take a look at it and let me know the issue.
This multifactorial analysis is something crucial for me and pcaExplorer seems to provide the solution to what I am looking for.
Many thanks for your time and help.


JAVA Path does not handle whitespaces in MAC as it used to

Describe the bug
The path for JAVA (in the user bash profile) does not handle whitespaces appropriately. Please note that this was not the case for 1.15dev or for 1.14:
To Reproduce
This was my JAVA_HOME is set to:
export JAVA_HOME="/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home”
which exists and so on and on and works for 15-dev, somehow 15 does not seem to be able to cope with the whitespace I have tried:
export JAVA_HOME="/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home”
and does not work, and I have tried to copy Java in:
export JAVA_HOME="/Library/Internet/JavaAppletPlugin.plugin/Contents/Home”
and then it works.
This behavior was not present in 1.15dev and 1.14.
Other users with no blankspaces did not experience this issue.
Expected behavior
A clear and concise description of what you expected to happen.
** Version of Software Used**
1.15.0
Desktop (please complete the following information):

OS: iOS Mojave 10.14.5 (18F132)
MacBook Pro (Retina, 15-inch, Mid 2015)

@marcsit apologies for the inconvenience. we added some new functionality to dynamically attempt to get the JAVA_HOME without user intervention, but looks like we introduced a bug. We will definitely get this into the next minor version, if we don't deploy a hot fix before then.

Thanks Jordan, no rush at all! (By the way I am Marc Costa, from ESAC. You might remeber me from the IPDA and PDW meetings)

Putting quotes around the variable name in the shell script seems to fix it, at least to first order

Just merged this fix


[openshift-3.11] Bug 1857552: bump jenkins version to 2.235.1

Needs openshift/origin#25383

/test e2e-gcp

@waveywaves can you LGTM it?

/lgtm

one of the e2e test failed because of maven repo flake:
Downloaded: https://repo1.maven.org/maven2/javax/javaee-api/7.0/javaee-api-7.0.jar (1.9 MB at 5.4 MB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:10 min
[INFO] Finished at: 2020-08-11T10:28:53Z
[INFO] Final Memory: 12M/112M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project SampleApp: Could not resolve dependencies for project SampleApp:SampleApp:war:1.0: Could not transfer artifact com.sun.mail:javax.mail:jar:1.5.0 from/to central (https://repo1.maven.org/maven2): Connect to repo1.maven.org:443 [repo1.maven.org/<IP_ADDRESS>] failed: Connection timed out (Connection timed out) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // timeout
[Pipeline] echo
in catch block
[Pipeline] echo
Caught: hudson.AbortException: script returned exit code 1
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE

let's retest it:
/test e2e-gcp

/override e2e-gcp

/override ci/prow/e2e-gcp

/lgtm

Bumping jenkins plugins version of workflow-scm-step to 2.11 because of NPE.
ART request made here: https://issues.redhat.com/browse/ART-2140
Bump of jenkins core rpm made here: https://issues.redhat.com/browse/ART-2141


Feature/nw/rollup lwc

Critical Changes
Changes
Changes related to  https://github.com/SFDO-Community/declarative-lookup-rollup-summaries/issues/1317

expose an API property for a Label override
expose an API property to pass the current value
send only the API name in the custom event to the parent component.

Issues Closed

Also,  removed filters from the drop down list


Setting TextView background color?

Is there a way to set the background color of a TextView wrapped in a BoxView to some other color than the default / transparent?
I tried:

Providing a StyledString with a background (sets only the background of the string, not the entire area)
Looking for setters on TextView; there's a way to set the 'eeffect' but not the background
Looking at Layer which fills an area with a background: but I found no way to set which color

Hi, and thanks for the report!
Indeed it doesn't seem easy right now to achieve that. You'd have to write your own custom Layer + style the TextView.
There's a vague plan to bring "local theme override", where a subtree is given a different theme. You could redefine the "view" color for this tree, and this way both Layer and TextView would use the new color for what they think is the view background.

Thanks, that works. It was pretty easy to adapt Layer to fill with an arbitrary color instead of the default:
/** Fill a region with an arbitrary color. */
#[derive(Debug)]
pub struct ColoredLayer<T: View> {
    color: ColorStyle,
    view: T,
}

impl<T: View> ColoredLayer<T> {
    /// Wraps the given view.
    pub fn new(color: ColorStyle, view: T) -> Self {
        ColoredLayer { color, view }
    }

    inner_getters!(self.view: T);
}

impl<T: View> ViewWrapper for ColoredLayer<T> {
    wrap_impl!(self.view: T);

    fn wrap_draw(&self, printer: &Printer<'_, '_>) {
        printer.with_color(self.color, |printer| {
            for y in 0..printer.size.y {
                printer.print_hline((0, y), printer.size.x, " ");
            }
        });
        self.view.draw(printer);
    }
}

There's a vague plan to bring "local theme override", where a subtree is given a different theme. You could redefine the "view" color for this tree, and this way both Layer and TextView would use the new color for what they think is the view background.

That was kind of what I was looking for! It would be slightly more convenient.

@vmedea Do you mind if I use that under the same sort of "just cite the URL you got it from" terms that you see on StackOverflow these days?
I've been trying out Cursive becauseurwid is so painfully antithetical to what you get with static typing but I'm also very stubborn about my UIs looking exactly right and, until I saw that, I'd been thinking long and hard about whether it would be more difficult to learn enough Cursive internals to force the issue or just go back to wrestling with the devil I know.

I just pushed an update to the Layer view to let you customize the background color, very similar to how @vmedea did. It's not the perfect solution we want to get with proper sub-tree re-theming, but as a stopgap solution it's not completely terrible.

@vmedea Do you mind if I use that under the same sort of "just cite the URL you got it from" terms that you see on StackOverflow these days?

Sure, no problem !

I just pushed an update to the Layer view to let you customize the background color

That's even better :smile:

(it beats filling "holes" in the TextView with spaces...).

I thought about that too. I think a slight advantage if TextView handled it would be that there's no double drawing, right now with this solution there is flicker with the direct-to-terminal backends such as crossterm  But batching updates would be a better general solution to that, eventually.

I'll try to try it out soon.
(Given that they're mostly leisure, I can't predict what hobby project I'll feel like working on at any given time.)


Documentation: add ledger section to the design doc

The cosipbft part is not following a intro/development/conclusion, I was just throwing the different thoughts I had about the design.


Consistency on MASS names

Original report by Joseph Fowler (Bitbucket: joe_fowler, ).

Check this out:
#!bash

fowlerj@817jfmac:mass$ grep "chan_num" `find mass -name "*.py"`|wc
      26     160    2270
fowlerj@817jfmac:mass$ grep "channum" `find mass -name "*.py"`|wc
     191    1402   22040

So this means that channum appears 191 times in MASS and chan_num 26 times. Some of these are internal variable names and don't matter, but some are certainly named parameter arguments. We need consistency on whether to spell this with underscores. Ugh! On the other hand, it's a breaking change. We'll have to figure out a way to do it, perhaps as part of a larger reorganization.

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

Rename chan_num -> channum in TESGroup.read_trace() and .plot_traces()
Fixes #48.

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).

This is too broad of an issue. Let's just change this specific item as part of Mass 0.5.0.


Certificate expired

Description
I've just installed DBeaver, latest version, on a fresh Windows 11 computer. That went fine, but I cannot connect to my local PostgreSQL server. The error message says something about expired SSL certificates for the required driver download. I cannot copy the messages and it's on another computer. But it's very easy to try out: Install in a fresh environment and set up a Postgres connection.
One of the several error messages suggests to enable using the Windows trust store, which is already the default, so there's nothing to fix here.
I'm stuck now and cannot set up the environment I need. I'll have to try use the pgAdmin tool that I hate.
DBeaver Version
DBeaver Community 23.0.1
Operating System
Windows 11
Database and driver
PostgreSQL 15.2
Steps to reproduce
Install and setup Postgres connection
Additional context
Internet works fine for all software downloads.

Have you tried to disable using the Windows trust store in Preferences and restart DBeaver?

Sorry for the delay. I tried again on Monday but it immediately worked. Somebody must have fixed the broken certificate on their server.

Thank you for update.


Mesh is missing requested attribute: Vertex_Normal error

Bevy version
0.13.1
[Optional] Relevant system information
If your bug is rendering-related, copy the adapter info that appears when you run Bevy.
AdapterInfo { name: "NVIDIA GeForce RTX 4060", vendor: 4318, device: 10370, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "550.54.14", backend: Vulkan }

What you did
I created a custom shader that uses compressed normals and position data into a u32 . Meaning I only needed my custom attribute in my shader layout so I removed the rest of the standard layout items like POSITION and NORMAL
This is my code:
pub const ATTRIBUTE_VOXEL_DATA: MeshVertexAttribute =
    MeshVertexAttribute::new("VoxelTypeId", 988540917, VertexFormat::Uint32x2);

#[derive(Asset, TypePath, AsBindGroup, Debug, Clone, Default)]
pub struct ChunkMaterial {
    #[texture(1, dimension = "2d_array")]
    #[sampler(2)]
    pub texture: Handle<Image>,
}

impl Material for ChunkMaterial {
    fn vertex_shader() -> ShaderRef {
        "shaders/chunk_shader_new.wgsl".into()
    }

    fn fragment_shader() -> ShaderRef {
        "shaders/chunk_shader_new.wgsl".into()
    }

    fn alpha_mode(&self) -> AlphaMode {
        AlphaMode::Opaque
    }

    fn specialize(
            _pipeline: &bevy::pbr::MaterialPipeline<Self>,
            descriptor: &mut bevy::render::render_resource::RenderPipelineDescriptor,
            layout: &bevy::render::mesh::MeshVertexBufferLayout,
            _key: bevy::pbr::MaterialPipelineKey<Self>,
        ) -> Result<(), bevy::render::render_resource::SpecializedMeshPipelineError> {

        // The shader location needs to match the one in the prepass_io
        // https://github.com/bevyengine/bevy/blob/main/crates/bevy_pbr/src/prepass/prepass_io.wgsl
        let vertex_layout = layout.get_layout(&[
            ATTRIBUTE_VOXEL_DATA.at_shader_location(30),
        ])?;

        descriptor.vertex.buffers = vec![vertex_layout];
        // descriptor.primitive.cull_mode = None;

        Ok(())
    }

    fn prepass_vertex_shader() -> ShaderRef {
        "shaders/chunk_prepass.wgsl".into()
    }

    fn prepass_fragment_shader() -> ShaderRef {
        "shaders/chunk_prepass.wgsl".into()
    }
}

What went wrong
I get the following error from bevy:
Mesh is missing requested attribute: Vertex_Normal (MeshVertexAttributeId(1), pipeline type: Some("bevy_pbr::prepass::PrepassPipeline<bevy_voxel::voxel_engine::rendering::ChunkMaterial>"))
Additional information
More info can be checked by reading this message and the conversation that lead to it and after:
https://discord.com/channels/691052431525675048/866787577687310356/1231657933490753666
It contains a possible explanation from Jasmine on what is the problem.
A workaround I used is to supply the Normal attribute in my layout and then supplying dummy data to it just for it to be happy and then you my compressed data in the shader.
let vertex_layout = layout.get_layout(&[
    Mesh::ATTRIBUTE_NORMAL.at_shader_location(3),
    ATTRIBUTE_VOXEL_DATA.at_shader_location(30),
])?;

let mut normals: Vec<[f32; 3]> = Vec::new();
normals.resize(mesh.vertices.len(), [0.0, 0.0, 0.0]);
mesh.insert_attribute(Mesh::ATTRIBUTE_NORMAL, normals);

The issue is here: https://github.com/bevyengine/bevy/blob/13cac2eeff7e3c4da7ae636ba3766f59b4e343d0/crates/bevy_pbr/src/prepass/mod.rs#L402


Need 404 page layout

@AdamChlan can the layout include a text block we can customize?

@maneesha a hugo theme's files can always be overwritten by the project's own files if using the same path. So by adding to your project's layouts directory a 404.html you will ensure your project is using that rather than the theme's.
This is what the theme is using:
{{ define "main" }}

  {{ partial "breadcrumbs" . }}

404 Not Found

The page you requested cannot be found.

        Return to the home page

{{ end }}

That will work for us. Thanks.


Add o.size attribute to OutputProxy

Should be easy - check the output/output.py file to see how the output attribute proxying mechanism works.

Is it really as easy as adding size=(width, height)?

likely, yes. make sure it stays up-to-date if/when (width, height) are changed


Changing version to 1.2.0

Not actually sure if this works.
Tried to test it locally using wercker cli, but it gives me a 404 on the calls to dockerhub.
This is for #7

Thanks for the PR. Could you merge the three commits to one? Then I can merge it, and release it

Yep, just did :100:

Thanks!


Schedule exception fixes

Checklist

[x] Appropriate branch selected (all PRs must first be merged to dev before they can be merged to master)
[x] Any modified or new methods or classes have helpful JSDoc and code is thoroughly commented
[x] The description lists all applicable issues this PR seeks to resolve
[x] The description lists any configuration setting(s) that differ from the default settings
[x] All tests and CI builds passing

Description

Fetch exception dates in main GraphQL query. This allows us to do better UI-side validation of whether there are duplicate dates in the exceptions.

re #561

:tada: This PR is included in version 4.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


PLAT-54096: Add unit test for DatePicker, ExpandablePicker, TimePicker, internal/Picker

Issue Resolved / Feature Added
Added a11y unit test of DatePicker, ExpandablePicker, TimePicker, internal/Picker
Links
PLAT-54096
Comments
Enact-DCO-1.0-Signed-off-by: Baekwoo Jung<EMAIL_ADDRESS>

I applied all the above comments.

LGTM


Add zypper to orphaned packages

On non-SLES host, starting with the 15-SP6 image zypper appears as orphaned package.

Related failures: 15-SP6 job group | No orphans on 15-SP5 host | Orphaned zypper on e.g. Leap 15.5

zypper and orphaned? I had a good laugh!


Replace use of cryptography.utils.register_interface

$ pip show cryptography | head -2
Name: cryptography
Version: 38.0.1

$ ./bin/keylime_tenant --help
...
AttributeError: module 'cryptography.utils' has no attribute
'register_interface'. Did you mean: 'verify_interface'?

Latest cryptography lib dropped register_interface: https://github.com/pyca/cryptography/pull/7234
Recommendation is to just subclass directly, as was done in similar case here:
https://github.com/secdev/scapy/pull/3732/commits/488641868f8f5e54e6fe2dc7ba8fc4b30231d629
pylint exclusions aren't needed after this I think.
Proving keylime_tenant --help worked was the extent of my testing.

@crobinso Thanks for this contribution! It looks good except for some linting failures now that the utils module is no longer used in this file.

@crobinso just checking in to see if you saw this lint failure and my message about it. Thanks again for the contribution.

Lint should be fixed now, thanks!


Linked the 404 error page to the website

Linked the 404 error page to the website
Fixes: #280
Describe the changes you've made
A clear and concise description of what you have done to successfully close your assigned issue. Any new files? or anything you feel to let us know!
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
A clear and concise description of it.
Checklist:

[ ] My code follows the style guidelines of this project.
[ ] I have performed a self-review of my own code.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Screenshots

Original
Updated

original screenshot
updated screenshot

https://user-images.githubusercontent.com/53329034/116273411-586b5580-a79f-11eb-95a9-0d43229e8930.mp4

@coding-geek21 Great work!


Memory leaks on XML validation against XSD

Hey guys,
I have a simple node.js app that listens on a port for XML requests and then tests the XML against and XSD and replies with true or false.
Unfortunately I think you guys have a memory leak somewhere, because the memory usage grows in a linear fashion:

Here is the app sample code on:

node: 0.10.25
libxmljs: 0.8.1
npm: 1.3.x

var fs = require('fs'),
	libxml = require('libxmljs'),
	http = require('http');

fs.readFile('xsd.xml', 'utf8', function (err, data) {
	var xsdDoc = libxml.parseXmlString(data);
	http.createServer(function (request, response) {
		var payload = '';
		request.on('data', function(data) {
			payload += data;
		});
		request.on('end', function() {
			var mu = process.memoryUsage();
			console.log('=== [S]', Math.round(mu.rss/1024/1024*100)/100 + 'MB', '===');
			var requestData = JSON.parse(payload);
			var xml = libxml.parseXmlString(requestData.xml);
			xml.validate(xsdDoc);
			response.end();
		});
	}).listen(5000);
});

And for testing I have a simple bash script that runs this command in an infinite loop and sleeps 2 seconds after each cycle:
curl -X POST -H "Content-Type: application/json" -d @payload.json localhost:5000

If I comment this line:
xml.validate(xsdDoc);

and run the test again, here's what happens:

I made three heap snapshots and saved a log and a csv file.
They are all accessible here: https://www.dropbox.com/sh/9na0skv53wqh7kf/TMr4hn9NNH?lst
Here's the difference between the first and the last heap snapshot:
Snapshot #1:

Snapshot #3:

I hope this helps you guys narrow this down.

Hi,
I have same problem i don't find solution :(
I have  node.js v0.12.2 and i verify that xml/xsd validat.
Unfortunately we have a memory leak  because when i comment this line
xmlDoc1.validate(xsdDoc);

fixed in master and v0.14.3


Best practice for coordinate conversion

What is the best practice for singular or vectorized coordinate conversions? I think I can accomplish this in geoviews, but would using cartopy directly be a better approach?

Context: I'm using the annotators to pull data from the drawing. It comes back via point_stream which is a PointDraw data type. In order to reproject it at that point, I have to do a some massaging to point_stream.data and then I'm using cartopy to convert. But it seems like there should be a more direct approach using gv?

I've run into the same issue. I found the following code from the GSSHA_Workflow notebook (an older notebook) that doesn't seem to work:
projected = gv.operation.project(point_stream.element, projection=ccrs.PlateCarree())

However, some of the newer examples use a gv.util.project_extents which does seem to work but only for a box:
bbox = list(gv.util.project_extents((xs[0], ys[0], xs[2], ys[1]), ccrs.GOOGLE_MERCATOR, ccrs.PlateCarree()))

I've just been using pyproj:
from pyproj import Proj, transform

in_proj = Proj(init='epsg:3857')
out_proj = Proj(init='epsg:4269')

xs, ys = point_stream.element.array().T
projected_points = [transform(in_proj, out_proj, x, y) for x, y in zip(xs, ys)]

I suppose you could use the project_extents function and just repeat the point:
xs, ys = point_stream.element.array().T
x, y, _, _ = gv.util.project_extents((xs[0], ys[0], xs[0], ys[0]), ccrs.GOOGLE_MERCATOR, ccrs.PlateCarree())

@sdc50 I ran into those same issues!

Discussed during our meeting today - I was misunderstanding the terms involved.
crs - defines the projection that the data is currently in
projection - defines the destination projection that we are attempting to project onto
@sdc50 had a versioning issue which may resolve his problem. Once you confirm, I'm ready to close.

I updated to geoviews 1.5.4a1 and can confirm that it works.


unable to download from Youtube

youtube-dl  'https://www.youtube.com/watch?v=FeLO8yVrVx4'
[generic] watch?v=FeLO8yVrVx4: Requesting header
WARNING: Could not send HEAD request to https://www.youtube.com/watch?v=FeLO8yVrVx4: HTTP Error 404: Not Found
[generic] watch?v=FeLO8yVrVx4: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Confirmed with format 22 and 18. However the default format selection (prefers separate video and audio works. As long as you have ffmpeg installed, -f 136+140 should work instead of -f 22 (for the moment, at the throttled rate).

The video now says "This video has been removed for violating YouTube's Community Guidelines" so maybe was that.


document to add "boot2docker download behind firewall"

In order to upgrade from the existing boot2docker, I try to download iso directly as suggested after stop boot2docker, and noticed we need proxy.
Better to add extra documentation in http://docs.docker.com/installation/windows/#upgrading for this

export http_proxy/https_proxy
or
download the iso from https://github.com/boot2docker/boot2docker/releases directly and save into ~/.boot2docker

Or is it possible to reuse the system proxy ?

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).


edge line has different tessellation to face

when cut a cylinder from a cube, the edge and faces don't match.
on inspection the cylinder hole has 24 sides, while the edge 'highlight' line has 20 sides

image on user news group

I'll explain how this works. The faces and edges are tesselated separately. In OpenCASCADE, you can mesh faces using a standard algorithm, then you can traverse the triangles in the mesh. To tesselate 1D wires, e.g. if you create a Bezier curve, there are no faces and it uses a deflection algorithm to discretize the wire.
I've use the same algorithm that is aimed at 1D objects to tesselate the edges of the solids for visualisation. It should be possible to re-use the face mesh for the edge tesselation by finding the triangles that are connected to the wire and using those.


VueHeadMixin is deprecated and Vue 3 Options API doesnt work

Environment
Vue 3 / Nodejs
Reproduction
https://unhead.unjs.io/setup/vue/installation
Describe the bug
While unhead/Vue for Vue 3 / Composition API does work, when using Vue 3 - Option API as described on your page here it doesn't work. It says VueHeadMixin is deprecated. Pls what is the solution to that problem.
I could use Composition API but setup() lifecycle is launched before 'created', a phase when data is not yet available, and I need to put dynamic data in the headline and description. With Option API I can use data without the problem
Additional context
No response
Logs
No response

Plus on one this. I get the same warning and options API doesn't work in Vue 3

Thanks, I think this may have been accidentally marked as deprecated for Vue 3, it's only deprecated for Vue 2.
I'll try to fix this up soon, but rest assured it won't be removed.
As a side note, there is nothing you can't do in setup() that you can do in the options API. If you share your code I'd be happy to help you refactor it to work.

@Harlan you are right but I have a specific situation and prefer using Options API whenever possible. I have to send data to be used dynamically in the target page useHead() 'headline' and 'description' dynamic meta tags, upon clicking the ad on the source page via the router-link. Since data cannot be sent with props via router-link I use a 'dirty' workaround by triggering an additional function that writes data to the localStorage. Then I read those localStorage data in the target page inside the Composition API option() and use it in your useHead() function. I prefer to do this in Option API. Thanks for your kind attention

Just to be clear, I think supporting the Options API in Vue 3 makes perfect sense, some people will prefer using that syntax.
I was just saying that Unhead is quite powerful, so there's likely a workaround for using setup(), if you wanted to use it
Thanks for the background though

Hi Harlan, here is my code example of using Unhead inside Composition API setup() function. It takes meta 'title' 'content' and 'keywords' data from localStorage. (I write info into localStorage on every click on the car ad). It works but it is a kinda workaround solution. I am interested in finding out how to use useHead() function inside Options API so that I can use data normally, like via props. My solution works and Google SERP crawler detects and indexes some pages but doesn't work ideally. For example out of 100 pages with car data Google detected 20 items, and the headline is described as undefined. However when I run code locally on the localhost machine, every car page has a meta title, content and description properly.
I am writing this because your tool can be among the most important ones for the creation of SPA applications, which have problems with SEO. I don't prefer using Server site rendering solutions like Nuxt because of the many problems involved. If you nail this properly it would be perfect!
<script>
import { Tooltip } from 'bootstrap';  // we have to inport separately into component otherwise Bootstrap 5 tooltip doesnt't work with Vue 3
import validator from 'validator';
import { timeAgo } from '../utils/timeagohr.js';
import { useHead } from '@unhead/vue';
import axios from 'axios';

export default {
  name: 'detailed',
  setup() {
    let headline = localStorage.getItem("carHeadline");
    let carEngtype = localStorage.getItem("carEngtype");
    let carAge = localStorage.getItem("carAge");
    let carKm = localStorage.getItem("carKm");
    let carKw = localStorage.getItem("carKw");
    let carEquip = localStorage.getItem("carEquip"); // equipment list for meta keywords
    let carType = localStorage.getItem("carType"); // ad type for switching SEO keywords in head
    let descr = ', rabljena vozila, rabljena vozila na prodaju, polovni auti, rabljeni auti, rabljeni auto, nova vozila, novi auto';
    let keyw = 'rabljena vozila, rabljeni auti, auto-moto oglasi, nova vozila, novi auti, avtonet, avto net, mobile de, audi, bmw, peugeot, vw, fiat, ford, kia, citroen, mercedes, opel, honda, mazda';

    useHead({  // we use localStorage for transfer data between pages for SEO, because we cannot use props with router-link, and cannot use more params in a link (due to the history mode page refresh problem)
      title: headline, // we use dynamic data from classifieds in header, better for SEO & Google Search crawler

       meta: [
        {
          name: 'description',
          content: headline + ', tip motora ' + carEngtype + ', godina ' + carAge + ', kilometara ' + carKm + ', snaga ' + carKw + ' kW' + descr
        },
        {
          name: 'keywords',
          content: carEquip ? carEquip + ', ' + keyw : keyw
        },
      ],
    });
    return { useHead }
  },
  data() {
    return {
      adId: null,  // id of a clicked ad on Main.vue
      quizClicked: false, // if available, detect whether the user has clicked quiz button
      quizDisable: true,  // disable replies once the user clicked on chosen reply

Best

Another issue is that FB, X and Linkedin don't recognize OpenGraph og: tags set via useHead() or useSeoMeta() functions, although those tags are present on the page. For example FB Sharing Debugger ignores all og: tags with the the warning error 'The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags'. I tried all possible combinations with no avail. I even abandoned above localHost solution and fetched required data for the meta tags separately inside setup(). All meta tags are displayed in the Chrome Dev Console but cannot post a link to mentioned social networks (it takes default title and description form the main index.html page and not the specific data and image from page we are on.)

Another issue is that FB, X and Linkedin don't recognize OpenGraph og: tags set via useHead() or useSeoMeta() functions, although those tags are present on the page. For example FB Sharing Debugger ignores all og: tags with the the warning error 'The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags'. I tried all possible combinations with no avail. I even abandoned above localHost solution and fetched required data for the meta tags separately inside setup(). All meta tags are displayed in the Chrome Dev Console but cannot post a link to mentioned social networks (it takes default title and description form the main index.html page and not the specific data and image from page we are on.)

Make sure you are SSR all pages. This isn't an issue with Unhead.
For context, Unhead is used by Nuxt. I'm the author of nuxt-og-image which definitely works on all social platforms.

Make sure you are SSR on all pages and that you're not using useHead async without awaiting it. This isn't an issue with Unhead.
For context, Unhead is used by Nuxt. I'm the author of nuxt-og-image which definitely works on all social platforms.

Sorry I'm a bit confused now. Should I use async await with useHead/useSeoMeta or not. Right now I am using useSeoMeta() normay sync way and Google SERP indexed cca 50% of my page products fetched form the database inside ten tages period since website availability. With using site:www... to see what pages Google indexed, at the beginning most titles were 'undefined' and now after a week or so they were almost all substituted with real product titles. Here is the code:
export default {
  name: 'detailed',
  setup() {
    const route = useRoute();
    const adId = ref();
    let rawMeta = ref();  // car data for SEO only
    let descr = ref();

    adId.value = route.params.id;  // we use ad id here for creating meta data only (SEO)
    descr.value = '. Used cars, new cars';

    axios.get('/metadetailed/' + adId.value).then(res => {
      rawMeta.value = res.data[0];  // vehicle data for meta & SEO

      useSeoMeta({
        title: rawMeta.value.vehicle_headl.substr(0, 46) + ' - MySite',
        description: 'tip motora ' + rawMeta.value.vehicle_engtype + ', godina ' + rawMeta.value.vehicle_age + ', kilometara ' + rawMeta.value.vehicle_km + ', snaga ' + rawMeta.value.vehicle_ccm + ' kW' + descr.value,
        ogDescription: 'tip motora ' + rawMeta.value.vehicle_engtype + ', godina ' + rawMeta.value.vehicle_age + ', kilometara ' + rawMeta.value.vehicle_km + ', snaga ' + rawMeta.value.vehicle_ccm + ' kW' + descr.value,
        ogTitle: rawMeta.value.vehicle_headl.substr(0, 46) + ' - IntelliCars',
        ogUrl: 'https://www.mySite.com' +  route.fullPath,
        ogImage: 'https://www.mySite.com/images/' + rawMeta.value.image,
        ogImageWidth: '1200',
        ogImageHeight: '800',
        ogSite_name: 'mySite.com',
        ogImageType: 'image/png',
        ogTwitterImage: 'https://www.mySite.com/images/' + rawMeta.value.image,
        twitterCard: 'summary_large_image'
      })

    }).catch(e => console.log(e));

    return { useHead, adId, rawMeta, descr }
  },
  data() {...

Google is smart enough to parse meta tags from SPAs however all sites that use og:image will only ever look at the raw SSR HTML response. You have an async axios get that you aren't waiting so this won't be resolved for the SSR HTML response, you need to await it

Thanks for the og: functioning info. As for the async/await, I have useSeoMeta() block inside .then(), it triggers after Axios fetches the data. Is that not enough, do I need to convert the whole setup() method to async/await?

If you want to use async data then you will need to use async within setup, otherwise, you need to find an alternative way to structure your data layer. You could get around this by wrapping the component with one that just takes care of fetching via async, this way you can add a loading spinner as well for client-side navigation.

If you want to use async data then you will need to use async within setup, otherwise, you need to find an alternative way to structure your data layer. You could get around this by wrapping the component with one that just takes care of fetching via async, this way you can add a loading spinner as well for client-side navigation.
I think providing support for your issue is outside of the scope of me maintaining this package though.

Thanks, but using async with Composition API setup is known for a ton of problems. Can't you just provide functionality for Option API as said at the beginning of this thread? You said that the error shown is not real, have you fixed this? Pls would you provide a sample code about how to implement it, I cannot find it elsewhere

This is a Vue limitation not related to this package.

async with Composition API setup is known for a ton of problems

This isn't true? Again I have provided how you might architecture this.

Anyway thanks for your help and patience Harlan, much appreciated


[Embedders] JNI Demo Support

Work is already being done on this. Creating an issue to have some place to track progress.

#7 addresses this


How do I remove specific directories with v2?

We have different builds for each supported language and the directory structure is as follows:
build/nl-NL/...files
builds/de-DE/...files
...etc
With the v1 config, it was easy to remove all builds, even if only building the Dutch build. However, with v2, the plugin now only removes build/nl-NL/ and leaves build/de-De/ as it is.
How can I replicate the same behaviour with V2?
v1 Config
new CleanWebpackPlugin([
    resolve('build'),
    resolve('debug'),
    resolve('bundlesize'),
], {
    allowExternal: true,
    verbose: true
});

v2 Config (incomplete)
new CleanWebpackPlugin({
    verbose: true
});

I'm guessing build/nl-NL/ is webpack's output.path. See the docs for cleanOnceBeforeBuildPatterns and cleanAfterEveryBuildPatterns.
const { resolve } = require('path');

new CleanWebpackPlugin({
    cleanOnceBeforeBuildPatterns: [
        resolve('build/**/*'),
        resolve('debug/**/*'),
        resolve('bundlesize/**/*'),
    ],

    verbose: true,
    dry: true, // remove after testing
});

If you want to delete the directory itself not just the contents, remove the last /* from each pattern.

Aaahhh, I must've misunderstood the docs for cleanOnceBeforeBuildPatterns, this is indeed what I need!
Thanks a lot!


Unable to reset audio due to Agent Activation Runtime.

After doing research, it seems that this issue is caused by Cortana, primarily. The process is safe to stop, and in some situations can result in better performance. Primary observations seem to suggest that the process here can be handled in a couple of ways.
Aimed solution: a button which stops the service for Agent Activation Runtime.
Alternatively, for the time being, I will add a known bugs button in the about section, releasing in v0.3.0. Until then, I will add a warning to the main screen and a link to this issue.
The manual solution will be posted in the replies.

Manual solution.
To manually rectify this issue, open Services and follow the steps shown in this screenshot: here.
Visual representation of bug.
Here.


Reorganize restart tests

This PR enables MPI tests for restarts and changes a little bit the structure of the restart test. I changed the order of things because I need to add more complex cases, but I don't want to add more nesting levels. Now, I can push more tests to the test dict directly.

GPU + MPI also timed out a couple of times. I removed it and will work on it next.


[Bug]: Performance issues (UI)

Describe the bug
In our current release 1.0 (19) users are experiencing quite a lot of performance issues. I can confirm this as well.
Parts of the UI that are (very) unresponsive for me on a iPhone 11:

Dragging the savings/spending slider in LN quick setup.
Entering a PIN to open the app (numpad).
Entering an amount in the send flows on the (numpad).
Tapping on bitcoin asset to go to asset overview (takes 4 seconds).
Tapping on total balance to cycle through displayed unit of account.

Somewhat unresponsive (acceptable, but could use optimization as well):

Tapping send button to bring up send flow modal.
Tapping an activity list item to bring up transaction details.
Tapping on contacts icon and opening Contacts.
Tapping on profile picture or name and opening Profile.

It would be great if we could include some performance optimizations in our next release.
Reproduce

Go to parts of the app as described
Tap on corresponding UI elements
Wait for the UI to respond
Can take up to 1-4 seconds

Screenshots / Recording
No response
Operating system
iPhone 11 (+others)
Bitkit version
1.0 (19)
Log output
No response

Update: The responsiveness of the UI has definitely improved in build v23.
There is still room for optimization in certain areas, such as opening up the contact list, this is still a bit laggy (±1 second delay after tapping contacts icon).

Update: UI performance on iPhone has improved a lot over the past few months. For Android, multiple team members have been experiencing a significant increase in performance as well with some of the most recent builds. Performance optimization will be an ongoing process going forward, but I think we can close this particular issue.


Update workflow for changes in benchmark tooling

Google's Benchmark project has rearranged some of the files we need for the testing workflows. This commit points pip towards to correct requirements.txt for the latest versions of the framework. Alternatively, we could use -b <name> to ensure we always use the same version of the benchmark dependency.
mosullivan@melchior:~/source/repos/googlebenchmarks> git diff v1.8.0:requirements.txt HEAD:tools/requirements.txt
diff --git a/requirements.txt b/tools/requirements.txt
index 1c8a4bd..afbc596 100644
--- a/requirements.txt
+++ b/tools/requirements.txt
@@ -1,2 +1,2 @@
-numpy == 1.22
+numpy == 1.25
 scipy == 1.5.4

First of all, unfortunately it seems we can't control whether the Github-hosted runners for tests will have AVX512 compatible CPUs. This shouldn't be a problem in general, but it is for reasons I detail below.
By compiling and running the benchmarks using sde -knl I found that illegal instructions can be encountered during the benchmarks (despite the runtime checks in utils/cpuinfo.cpp) when using -O3 (specifically when -fvect-cost-model is not set to very-cheap). See:
mosullivan@sprvm-1:~/x86-simd-sort$ git status
On branch workflow-update
Your branch is up to date with 'origin/workflow-update'.

nothing to commit, working tree clean
mosullivan@sprvm-1:~/x86-simd-sort$ make -s -B bench
mosullivan@sprvm-1:~/x86-simd-sort$ sde -knl -- ./benchexe --benchmark_filter='avx.*reverse.*uint16'
2023-06-30T07:19:23+00:00
Running ./benchexe
Run on (8 X 2700 MHz CPU s)
CPU Caches:
  L1 Data 48 KiB (x4)
  L1 Instruction 32 KiB (x4)
  L2 Unified 2048 KiB (x4)
  L3 Unified 107520 KiB (x1)
Load Average: 0.15, 0.07, 0.01
TID 0 SDE-ERROR: Executed instruction not valid for specified chip (KNL): 0x55e418465820: vmovdqu16 ymm1, ymmword ptr [rax]
Image: /home/mosullivan/x86-simd-sort/benchexe+0x53820 (in multi-region image, region# 1)
Function: _Z11avx512qsortItJiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEvRN9benchmark5StateEDpOT0_
Instruction bytes are: 62 f1 ff 28 6f 08

As far as I can tell, this instruction would only occur for the _mm256_maskz_loadu_epi16 found in replace_nan_with_inf(uint16_t *arr, int64_t arrsize), but this shouldn't be being reached... Turns out that if you comment out this line then it won't encounter the illegal instruction:
https://github.com/intel/x86-simd-sort/blob/348343e907cade5647ec1eb995e87bb4fae97755/benchmarks/bench-qsort.hpp#L70
Obviously since want the "reverse" tests to actually have a reversed array, I tried a custom comparator in std::sort. It seems that the runtime check can work as expected with this change:
mosullivan@sprvm-1:~/x86-simd-sort$ git apply <<PATCH
diff --git a/benchmarks/bench-qsort.hpp b/benchmarks/bench-qsort.hpp
index ae02ac9..185ef19 100644
--- a/benchmarks/bench-qsort.hpp
+++ b/benchmarks/bench-qsort.hpp
@@ -66,8 +66,7 @@ static void avx512qsort(benchmark::State &state, Args &&...args)
     }
     else if (arrtype == "reverse") {
         arr = get_uniform_rand_array<T>(ARRSIZE);
-        std::sort(arr.begin(), arr.end());
-        std::reverse(arr.begin(), arr.end());
+        std::sort(arr.begin(), arr.end(), std::greater<T>());
     }
     arr_bkp = arr;

PATCH
mosullivan@sprvm-1:~/x86-simd-sort$ make -s -B bench
mosullivan@sprvm-1:~/x86-simd-sort$ sde -knl -- ./benchexe --benchmark_filter='avx.*reverse.*uint16'
2023-06-30T07:19:59+00:00
Running ./benchexe
Run on (8 X 2700 MHz CPU s)
CPU Caches:
  L1 Data 48 KiB (x4)
  L1 Instruction 32 KiB (x4)
  L2 Unified 2048 KiB (x4)
  L3 Unified 107520 KiB (x1)
Load Average: 0.22, 0.09, 0.02
---------------------------------------------------------------------------
Benchmark                                 Time             CPU   Iterations
---------------------------------------------------------------------------
avx512qsort/reverse_10k/uint16_t SKIPPED: 'Requires AVX512 BW ISA'

So, do you want me to make a new PR to fix this weird behaviour or put it in here?
Workaround:
diff --git a/benchmarks/bench-qsort.hpp b/benchmarks/bench-qsort.hpp
index ae02ac9..23c16ca 100644
--- a/benchmarks/bench-qsort.hpp
+++ b/benchmarks/bench-qsort.hpp
@@ -23,8 +23,7 @@ static void stdsort(benchmark::State &state, Args &&...args)
     }
     else if (arrtype == "reverse") {
         arr = get_uniform_rand_array<T>(ARRSIZE);
-        std::sort(arr.begin(), arr.end());
-        std::reverse(arr.begin(), arr.end());
+        std::sort(arr.begin(), arr.end(), std::greater<T>());
     }
     arr_bkp = arr;

@@ -66,8 +65,7 @@ static void avx512qsort(benchmark::State &state, Args &&...args)
     }
     else if (arrtype == "reverse") {
         arr = get_uniform_rand_array<T>(ARRSIZE);
-        std::sort(arr.begin(), arr.end());
-        std::reverse(arr.begin(), arr.end());
+        std::sort(arr.begin(), arr.end(), std::greater<T>());
     }
     arr_bkp = arr;

I think the benchmarks isn't compiled with the right attributes. We are compiling the entire file with-march=icelake-client and the compiler can chose to emit any instruction it wants for all of the non avx512 sorting code.
I wouldn't worry about it. This particular CI isn't a "Required" one to pass to enabling merging a PR. I am considering just getting rid of it all together.

I was thinking of zhoozhing this CI up a bit by having it run the benchmarks separately first and writing the results to JSON. This could then be split into qsort/qselect/partial_qsort comparisons using jq. Plus I could then have it exit when the CPU is not AVX512 compatible. Gets me worried for a moment when I see the little red x after a push, but I can let it go if it's not too important in the grand scheme of things 😄


test PR with Github API

Please pull this in!

Docs Build status updates of commit 17d1f4a:
:warning: Validation status: warnings

File
Status
Preview URL
Details
Dependent Files

tutorial-manage-data-disk.md
:warning:Warning

Details

tutorial-manage-data-disk.md

Line 51: [Warning] Invalid file link:(~/sizes.md).
Line 68: [Warning] Invalid file link:(~/sizes.md).
Line 134: [Warning] Invalid file link:(~/tutorial-automate-vm-deployment.md).
Line 182: [Warning] Invalid file link:(~/tutorial-automate-vm-deployment.md).

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


PHP 8.1 deprecations: passing null to non-nullable parameters of built-in functions

Issue description
Since PHP 8.1, the code of recaptcha emits some deprecations because passing null to non-nullable parameters of built-in functions is not allowed anymore. You can read the article in the PHP documentation that describes these deprecations if you want more info.
Below are the logs:
[21-Jan-2023 12:03:48 UTC] PHP Deprecated: strcasecmp(): Passing null to parameter #2 ($string2) of type string is deprecated in C:\project\vendor\google\recaptcha\src\ReCaptcha\ReCaptcha.php on line 168
[21-Jan-2023 12:03:48 UTC] PHP Deprecated: strcasecmp(): Passing null to parameter #2 ($string2) of type string is deprecated in C:\project\vendor\google\recaptcha\src\ReCaptcha\ReCaptcha.php on line 176
[21-Jan-2023 12:03:48 UTC] PHP Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in C:\project\vendor\google\recaptcha\src\ReCaptcha\ReCaptcha.php on line 185

Below are the related files:

https://github.com/google/recaptcha/blob/ed5645e799e43afa9eb181f214dc52f22982682d/src/ReCaptcha/ReCaptcha.php#L168
https://github.com/google/recaptcha/blob/ed5645e799e43afa9eb181f214dc52f22982682d/src/ReCaptcha/ReCaptcha.php#L176
https://github.com/google/recaptcha/blob/ed5645e799e43afa9eb181f214dc52f22982682d/src/ReCaptcha/ReCaptcha.php#L185

Environment

OS name and version: Windows_NT x64 v10.0.19044
PHP version: v8.1
Web server name and version:  Apache v2.4.52 (Win64)
google/recaptcha version: v1.2
Browser name and version: Google Chrome v109.0.5414.75

Reproducing the issue
Simply use recaptcha. I couldn't reproduce the issue, since it went into production and I haven't been able to reproduce it since.
Possible solution
A quick solution would be to cast the arguments into strings before passing them to the functions:
-if (isset($this->hostname) && strcasecmp($this->hostname, $initialResponse->getHostname()) !== 0) {
+if (isset($this->hostname) && strcasecmp($this->hostname, (string) $initialResponse->getHostname()) !== 0) {

-if (isset($this->action) && strcasecmp($this->action, $initialResponse->getAction()) !== 0) {
+if (isset($this->action) && strcasecmp($this->action, (string) $initialResponse->getAction()) !== 0) {

-$challengeTs = strtotime($initialResponse->getChallengeTs());
+$challengeTs = strtotime((string) $initialResponse->getChallengeTs());

should be fixed with PR #490

Merged and released.


Can dart to lua?

the dart is similar to ts so how to convert the dart to lua?

You could probably create a similar translator for Dart like this project, if you have access to the dart parser. But this project only uses TypeScript.


not all errors are displayed on build page

One of the most valuable features of CruiseControl is the ability to get a snapshot of a build. If only some errors are visible sometimes, we lose some of the core value.

I had a bit of a dig on this, then I checked the closed issues and realised it's been dealt with (serves me right for not checking for dupes first!): https://github.com/thoughtworks/cruisecontrol.rb/pull/24
Anyway, I think it might be worth amending the text we display to the user to be a bit more explicit in letting them know they might be missing out on some useful stuff.
diff --git app/views/builds/show.html.erb app/views/builds/show.html.erb
index cd24e57..d9491a9 100644
--- app/views/builds/show.html.erb
+++ app/views/builds/show.html.erb
@@ -70,12 +70,11 @@

           <% if @build.output_exceeds_max_file_display_length? %>

-              The size of the file you're viewing now is <%=<EMAIL_ADDRESS>%>, which is too big to display in the dashboard;
-              CC.rb is configured to truncate any files longer than <%= number_to_human_size(Configuration.max_file_display_length) %>.
-              You can override this value in site_config.rb by setting max_file_display_length
-              to your desired value in bytes (e.g. 50.kilobytes), or nil to allow files of any length.
+              The size of the file you're viewing now is <%=<EMAIL_ADDRESS>%>, which is too big to display in the dashboard;
+	           CC.rb is configured to truncate any files longer than <%= number_to_human_size(Configuration.max_file_display_length) %> which may mean useful information such as errors and warnings are not being displayed.
+	           You can override this value in site_config.rb by setting max_file_display_length
+	           to your desired value in bytes (e.g. 50.kilobytes), or nil to allow files of any length.  Note that this may impede performance.

-

File path: <%= @build.build_log.expand_path %>

           <% end %>


Chord pro format convert to sheet text

Hi
Thanks for this great lib. May i know how to convert the chordpro format to chords over text type ?
i try but seem can't. please advise
Thanks

You're welcome, and I'm glad you like it!
It was on my list to add this functionality, so I've started working on it tonight. In 0.8.3-beta, I've added a ChordProLyricLine.Split() method to convert a single ChordProLyricLne into "chords over text" by return a ChordLine and a LyricLine with correct indentation. I've added unit tests for it too, so you can see an example usage.
If I have time soon, I'd also like to add a ChordsOverTextTransformer class to easily transform an entire Document into chords over text format. And then I'd like to add options to the Blazor app to convert from ChordPro format into chords over text format. When I do that I'll probably change all the DocumentTransformer classes to implement an abstract Transform method instead of each having their own custom named method (e.g., ToChordPro). Since the library is still in beta, I'm still working on the final API. I hope the changes won't impact your usage too much.

Hi, Thanks for the advise, i will take a look the ChordProLyricLine function.
ya,the ChordsOverTextTransformer function will helpful with me.but just take your time,dont be rush.
Thank you

Release 0.8.5-beta has a new ChordOverLyricTransformer. The CLI app and the web app (chords.menees.com) also support converting to "chords over text" format.

Thank you very much !! This helpful for me !!
Just now i tested and aware 1 issues for convertion, if the text is not a engilsh (like jp cn etc..),the chord over text result will not accurately.
example
今日[G#5]何食べた？　好[G#5]きな本は？　遊(あ[EM7]そ)びに行くならど[D#]こに行くの？
convert result
G#5    G#5      EM7      D#
今日何食べた？　好きな本は？　遊(あそ)びに行くならどこに行くの？
i think is the font problem ? do you have any idea ?
Sorry disturb you again..

It's designed to work with a monospaced font (i.e., where every character is rendered with the same width). The whitespace used between the chords in the ChordLine are separated assuming that each character in the LyricLine below it will be rendered in the same width.
So, a ChordPro line like [C] Oh, [Am]thinkin' about our youn[G]ger years will render as:

However, your example looks like this:

The rendering in the browser's TextArea is using wider characters for the Kanji (?) characters like '今' than for the English characters like 'G' and punctuation like '?'. I don't know much about when a monospace font uses non-monospaced characters. There may be a "wider space" Unicode character that you can replace the standard spaces with in your own rendering. For example, see Regular and Unusual Space Characters.
The point is that ChordProLyricLine.Split() is just giving back ChordLine and LyricLine instances where the character counts are in sync. If some characters are rendered wider than others, then you'll have to account for that in your rendering.

I see,i have notice that will include many spacing in 1 characters,and this is depend on the font used.
I will try to do something in my rendering part,I think shouldn't be difficult.
Thank you for advise 👍


[ADD] pancakeswap

Don't add Wormhole token for now https://etherscan.io/token/0x7c8161545717a334f3196e765d9713f8042EF338

Wormhole contract was exploited for 120k ETH https://twitter.com/wormholecrypto/status/1489233259808571401

Close it.


(mr,fix) changes_count is a string not int

Ref: https://docs.gitlab.com/ce/api/merge_requests.html#list-project-merge-requests

Note: the changes_count value in the response is a string, not an integer. This is because when an MR has too many changes to display and store, it will be capped at 1,000. In that case, the API will return the string "1000+" for the changes count.

Ah, nice one @zaquestion! LGTM! 🎉


ISPN-7141 LimitedExecutorTest.testConcurrencyLimit random failures

https://issues.jboss.org/browse/ISPN-7141

The tests would work with single blocker as well, but I think this is good to be integrated as-is.

Pulling..

Integrated into master, thanks @danberindei !


eslint

also incorporate changes from https://github.com/juttle/juttle-elastic-adapter/pull/72
@VladVega

+1


encoding: stricter skip character list

I thought we'd have to change tests, but it turns out all of the test we have are for base58.
@oconnor663, PTAL?

skipChars is no longer used for anything except base58. Should we rename it to reflect that?
Also do we care about any of the crazy unicode whitespace characters like U+2028 LINE SEPARATOR?
:shipit: with whatever you think is best for those questions.


AnimationEditor: Add options for displaying function call keys

Adds an extra OptionButton to the AnimationTrackEditor bottom panel that gives three options for displaying the text on function call keys. Keys can show the full function call and arguments, just the function name, or no text at all.
This improves readability in the animation editor when large amounts of function call keys are being used.
This is a redo of #36740, since I accidentally deleted the fork for that pull request and therefore couldn't rebase it. Sorry about that.

I feel this could be automatic depending on how much space there is, plus it can show the full thing on hover. Additionally, showing combo in there is terrible usability as you wont be using this nearly as often and takes space and is annoying.

Alright. I honestly might just close this, because I don't even know where to start with making it automatic, and I'm so busy right now that I doubt I'd be able to figure it out in a reasonable amount of time.

alright


activeSlideKey weird behaviour: passes correct item but always mounst displaying first slide

I pass an index to activeSlideKey (also tried activeIndex/initialSlide/using strings as keys). The component seems to be aware of this as the buttons send you to ±1 or the desired index... but i get the image of the first slide onMount... anyone experience anything like this?

same question

I solved this by removing the component all together for that specific case, and just wrote standard Swiper HTML, and then initialised it inside useLayoutEffect hook. And then it worked as intended.

You need to add a key to your slide
example:
<Swiper activeSlideKey="1"}>
Slide 1
Slide 2
Slide 3

You need to add a key to your slide
example:
`
Slide 1
Slide 2
Slide 3
`

You need to add a key to your slide
example:
<Swiper activeSlideKey="1">

Slide 1

Slide 2

Slide 3

</Swiper>```


groupBy v2: Results not fully merged when caching is enabled on the broker

groupBy bySegment results are not sorted by the grouping dimensions, which means that when caching is enabled on the broker, they get stored in the cache in potentially unsorted order. When they get pulled back out on the broker, CachingClusteredClient attempts to merge the resulting sequences as if they were sorted (using a MergeSequence based on query.getResultOrdering), which leads to a not fully sorted sequence.
groupBy v1's mergeResults does not assume the sequence from CachingClusteredClient is sorted (it re-sorts it using an IncrementalIndex) so it works fine.
But groupBy v2's mergeResults assumes that the sequence it's combining is already sorted, which is true if caching is disabled (because the broker is merging sequences from data nodes, and they sort their results) but is not true in this case when caching is enabled.
We could fix this by sorting by-segment results in the cache or by somehow teaching groupBy v2 that in this particular case, it shouldn't assume the sequence it's combining is already sorted. But both of those would incur a performance penalty when caching is enabled, which is counterproductive to the purpose of caching… so I'm not sure what's best.
See https://groups.google.com/d/topic/druid-user/4gmKSw33EiM/discussion for the original report.

Out of the above two approaches, i think storing the sorted results in the cache might be better otherwise we would have to resort the results every time even if we hit the cache.
Agreed, there will be a performance penalty, but since we disable caching of groupBy queries by default, probably its ok.
Whatever strategy we choose we should also mention this in the groupBy docs that uncached queries are expected to become slower after caching.

Fwiw I haven't tested this, but I think things should work fine even now if caching is enabled on the historicals. They always re-sort their by-segment results whether or not they come from the cache (this happens in mergeRunners).
So this problem is really a broker cache thing -- and it would be a shame to pay the sorting penalty when caching is enabled on historicals.

I'd like to avoid having a performance impact on historicals, where sorting is not necessary, and doing it would be wasteful.
I would be fine with fixing this by just forcing cache to be disabled for groupBy v2 on brokers. If it works fine for historicals, then moving cache to historicals is a viable option for users to get groupBy caching. If we go this way, it'd be good to log a warning on broker startup if the user tried to enable groupBy caching.
I would also be fine with fixing this by sorting results when pulling from cache, but only on brokers. (It has to be when pulling, not when inserting, because it's possible the brokers and historicals share a memcache and a historical wrote in some unsorted results)
Both of those approaches mean that the query tool chest needs to know whether it's on a broker or not. I'm not sure of the best way to expose that (isBroker is probably wrong). Maybe "willMergeRunners"? (groupBy v2 does sorting & merging in mergeRunners, so that'd be enough info)

I'm working on this issue.

@gianm, what do you think about simply adding a flag to represent the cached bySegment result is sorted or not?

That could be part of a solution, but what behavior would be changed when the flag is set?

Oh, I mean adding the flat to the cache key of groupBys.

Is your idea that the broker would sort results before putting them in the cache, and would include "is sorted" as part of the cache key? And historicals would keep behaving as they do now -- results in cache are unsorted?

I realized that the behavior of GroupByMergingQueryRunnerV2 is different according to the cache is enabled or not. So please forget about my above comments.
So far, @gianm's first idea, disabling cache for groupBy v2 on brokers, seems good to me. I'll go with this way.

Hey, I'm just pointing to a discussion about a possible GroupBy performance degradation (5-6 times decrease) possibly caused by this :
https://groups.google.com/d/msg/druid-user/hf8SOEaP_jg/VWpob50jBwAJ
After upgrading from 0.9.2 to 0.10.1.

Hey guys, just wanted to let you know, that I went through enabling segment cache on brokers only to bang my head for a day why my groupByV2 queries weren't being cached at all before I found this.  It should really be mentioned in the caching documentation: https://druid.apache.org/docs/0.17.0/querying/caching.html#using-and-populating-cache
Would you like a PR for the doc change in caching.md?

updating the doc sounds good to me.


Figure out and implement scrolling while streaming

See what ChatGPT does
I thiiink you want to scroll if you're at the bottom, otherwise not scroll on streaming

Taking this

Please focus on the two others if we want to switch today 👍

Slack bot to v2 is way higher prio this one could be post switch almost :)

That goes without saying :)
On Fri, Sep 22, 2023 at 12:34 PM Stanislas Polu @.***>
wrote:

Slack bot to v2 is way higher prio this one could be post switch almost :)
—
Reply to this email directly, view it on GitHub
https://github.com/dust-tt/dust/issues/1648#issuecomment-1731193099, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACXUNOXCPKYRP76OAK4YF3X3VSSJANCNFSM6AAAAAA5B66DGE
.
You are receiving this because you were assigned.Message ID:
@.***>

(I should have clarified it though. I will un-assign it to allow someone
else to move on this one if I am still on the Slack bot).
On Fri, Sep 22, 2023 at 1:17 PM Aric Lasry @.***> wrote:

That goes without saying :)
On Fri, Sep 22, 2023 at 12:34 PM Stanislas Polu @.***>
wrote:

Slack bot to v2 is way higher prio this one could be post switch almost :)
—
Reply to this email directly, view it on GitHub
https://github.com/dust-tt/dust/issues/1648#issuecomment-1731193099,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACXUNOXCPKYRP76OAK4YF3X3VSSJANCNFSM6AAAAAA5B66DGE
.
You are receiving this because you were assigned.Message ID:
@.***>

Let's give it a try


Need migration details

Please add details on how organizations should migrate from older MRM to new retention tags / policies. For example, MRM has been in use for years. How to transfer all of the items that are tagged with existing MRM tags to new retention tags from the compliance center.

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

ID: 6c49609d-3a62-b9be-24bf-f8fa6948d390
Version Independent ID: df547c86-fbc7-4f87-e893-49d07b045373
Content: Learn about retention policies & labels to automatically retain or delete content - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/retention.md
Service: o365-seccomp
GitHub Login: @cabailey
Microsoft Alias: cabailey

@cabailey Please help us in resolving this issue. Thanks

@danmyhre   We don't have guidance or tools for this yet, but yes, it is something I would expect to see later

That is a pretty big deal / miss in functionality. Hopefully Microsoft will think through this and come up with a solution.


latest release

Mac OS denies execution, because "it's not possible to check the software on malware". I try to compile it with Xcode. Ventura 13.4 (22F66), M1-max

I can confirm, that it works after compiling. Xcode updated several things by its own. Cannot check it, I have no idea what I did. 🤣

The issue is mostly likely just because it's not notarized by Apple, see https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution
You can get around it usually by right clicking the pressing Open on the executable and allowing it to run at least once that way, then it will launch fine consecutively, you can also disable Gatekeeper but that's not recommended.

Thank you very much for the notice. Before the latest Ventura update, there were no issues.


chore: reference main branch of google-cloud-python

Adjust google-cloud-python links to reference main branch.

@orionnye Can you investigate the Build failures for this PR, and see if we can get this through?


[dif,silicon_creator,rom] add 5us+ delays after pin pull enables

As pointed out in #17862, when enabling pull ups/downs on real IOs, there is a delay of between when SW writes to the pinmux CSRs and when the physical pins are actually pulled up/down.
This fixes #17862 by:

adding 5us delay after pull up/down enablement is toggled in rom_start.S
adding 5us delay after pull up/down enablement is toggled in the silicon_creator pinmux driver
adding 5us delay after pull up/down enablement is toggled in dif_pinmux_pad_write_attrs()

One thing to note: the wait cycle counts to achieve a wait period of 5us (which is what @sha-ron noted we should wait for) are computed based on a 100MHz  clock. If the clocks are not yet calibrated yet, and running at a slower rate, the wait will end of being longer, so things should still be ok.
@sha-ron: when you say "I think 5usec should be enough for most IOs." How certain are you this is long enough? Or should we make this wait time OTP-configurable?

@timothytrippel We checked with our analog guys and 5us is enough guard for all IOs.

thanks for putting this together quickly @timothytrippel ! two comments;

Can you double check the disassembly to see if the multiplication is optimized away? (it should be but just wanted to make sure).
While the prototype of busy_spin_micros is ergonomic we can simplify it substantially for ROM:

Instead of us, we can make the unit of the argument cycles. It's the responsibility of the caller to pass in the correct value. We can hardcode 500 cycles for ROM and check this assumption in a unit test. This takes care of the multiplication.
We can use CSR_READ() instead of inline asm in c. (ibex_mcycle_read() uses inline asm which we can't test).
We can reset mcycle before spinning. This way we don't need to read mcycleh and mcycle in a loop. This would give us a max delay of ~40 s at 100 MHz which more than enough for us. Please take a look at this block in shutdown.c: https://github.com/lowRISC/opentitan/blob/0755bed76b736148f4149e58500fbadd117972c9/sw/device/silicon_creator/lib/shutdown.c#L387

If this makes sense and you'd like to work on it please feel free to add the new function to sw/device/silicon_creator/lib/drivers/ibex.{c,h}.

Fixed @alphan, with your suggestions. PTAL. Marking non-draft now too.


Settings Key shared across other applications

Hi all,
This is a quick question that made me wonder, if two applications have the same key in their settings classes i.e. TheKey
AppSettings.GetValueOrDefault(TheKey, _settingsDefault);

Would it be possible that those two applications are sharing the same object when they get it from AppSettings or would this be isolated to each app, because I have two apps that have share the same Key and I'm thinking I might need to change those key names?

Apps are sandboxed and the data is persisted to the app itself. Android used to have a concept of world readable, but that is a huge gap in security and they mostly don't support that.
On iOS you can do it between your bundled apps such as phone and watch with a group.


RGB(+W+W) support

Initial read/write support for RGB bulbs complete
. Needs testing, but seems to work with my Aeon bulb…taking into account the wonkiness of that bulb with Z-Way, at least.
References #193 .

@nfarina I think this is ready to merge, any feedback?

Just waiting for the word :)