Points Not Counted

Related Issue
None
Description
This PR is related to PR glitch on leaderboard,the PR's deleted as of today (23rd July) are as follows -
#1267 - 10 Points
#1268 - 10 Points
#1271 - 1 Point
#1295 - 1 Point
#1296 - 1 Point
#1299 - 1 Point
#1301 - 1 Point
#1362 - 1 Point
Total Points - 26
Equivalent To  - Level 2 (25 Points)
Additonal Context:
N/A

hey when we fixed the leaderboard the added score is coming on the leaderboard,

will be removing the same.


Problem installing taffybar with cabal

I get problems when trying to install taffybar with cabal:
$ cabal-1.24  install taffybar
Resolving dependencies...
cabal-1.24: Could not resolve dependencies:
trying: base-<IP_ADDRESS>/installed-0d6... (dependency of taffybar-0.4.6)
trying: dbus-0.10.12 (dependency of taffybar-0.4.6)
next goal: libxml-sax (dependency of dbus-0.10.12)
rejecting: libxml-sax-0.7.5, libxml-sax-0.7.4, libxml-sax-0.7.3 (conflict:
requires pkg-config package libxml-2.0-any, not found in the pkg-config
database)
rejecting: libxml-sax-0.7.2, libxml-sax-0.7.1, libxml-sax-0.7 (conflict:
base==<IP_ADDRESS>/installed-0d6..., libxml-sax => base>=4 && <4.7)
rejecting: libxml-sax-<IP_ADDRESS>, libxml-sax-0.6.1, libxml-sax-<IP_ADDRESS>,
libxml-sax-<IP_ADDRESS>, libxml-sax-0.6, libxml-sax-0.5.1, libxml-sax-0.5,
libxml-sax-0.4, libxml-sax-0.3, libxml-sax-0.2, libxml-sax-0.1 (conflict: dbus
=> libxml-sax>=0.7 && <0.8)
Backjump limit reached (currently 2000, change with --max-backjumps or try to
run with --reorder-goals).

Installing the libxml2-dev package on my system solved it. Not sure how it worked.


last insert id with localStorgae

Hello ,
I want to have the last insert id of a table of a localstorage database.
Here is the code:
alasql('CREATE localStorage DATABASE IF NOT EXISTS Eisenhower');
alasql('ATTACH localStorage DATABASE Eisenhower AS myEisenhower');
alasql('SET AUTOCOMMIT ON');
alasql('USE myEisenhower');
var db = alasql.Database('myEisenhower');
var sql = "CREATE TABLE IF NOT EXISTS taches ( id_tache SMALL AUTO_INCREMENT PRIMARY KEY, description STRING, urgence REAL, importance REAL, ampleur REAL )";
db.exec(sql,'', function(data){ console.log("database created"); });
alert(db.databases.tables.taches.identities.id_tache.value);

The last command sends an error as it does not recognize property 'tables' of undefined.
I must do something wrong; or is it a bug?
Thanks.
Best regards.
David

Hey - thanks for a well described question.
To access the database tables you must replace db with alasql in the last line.
So try
alert(alasql.databases.tables.taches.identities.id_tache.value);

Please reopen the issue if it does not help...

Thanks,
I had also tried this, but it does not work.
I am wondering if I am using the wrong syntax to mix localStorage attachement (the 4 first lines)  and javascript assignement  ( var db = alasql.Database('myEisenhower'); ).
If it is wrong I can't figure out how to use classes of database attached to localStorage.
I did not find anything in documentation,wiki and google.
Thanks.
David


Engagement: selecting Community Organization for who you want to engage causes a 500 error

Prerequisites

[x] I've searched for existing issues

Describe the bug
When creating an engagement on the "Who do you want to engage?" step, selecting "Community Organization" results in a 500 error after clicking "Next".
To Reproduce
Steps to reproduce the behavior:

Create an Engagement for a Community
On the "Who do you want to engage?" step select "Community Organization"
Click "Next"
See 500 error

Expected behavior
Should have continued to the next step in the Engagement creation process.
Screenshots

@jobara This isn't finished yet— I'm working on it in #984.


Hi, where to get the training data

Hello @CountofMont and thank you for your interest to our repo. The dataset used for training our model is not publicly available, however we used the VolumetricCapture tools and the dataset structure shown in dataloader.py. To this end, you will be able to easily capture multi-view RGBD data for your purpose. Hope these help.


Support Google Service Authentication (access_token) instead of API Key

As also mentioned in another related issue, using Google API Keys is troublesome specially when stored in a javascript file (that anyone can read).
Instead, Google suggests using a Service Account; so any server-side code is actually authenticating to Google (using a private key or certificate), receives a temporary access_token which can then be passed to the URLs when accessing Google Services.
In the Geolocator config, only a Google API Key can be specified - could this be extended to allow an access_token which will then be instead used on URLs instead of the Key=xxx parameter?
I think that would solve a lot of security issues as well as enable all Google Services to work (at least for those ready to add a server-side component for the authentication)
Cheers

Anybody  got a work around to not use unrestricted keys ?


Modify adapter to allow modifying CDK lambda

This PR allows modifying the CDK lambda without messing about in the generated files at all. It simply adds a modifier to the adapter that gives the user access to the lambda function.
I was able to test and it works in my AWS account, but I can't update the playright tests because I do not know what infra is available and don't want to go mucking about in the account like that.

Summary by CodeRabbit

New Features

Introduced a new lambdaModifier functionality for AWS Lambda, allowing custom modifications before adding function URLs.
Added adapterImports property to support custom imports in adapter parameters.
New lambdaModifier function defined in the configuration for environment variable management.

Bug Fixes

Improved clarity by renaming variables and restructuring code for better readability.

Documentation

Updated type definitions to include new optional properties in AdapterOptions.

Hm. I thought it was working, but I think I deployed wrong and so it just looked like it was. I need to do some more work here.

It should work now.

@snowe2010 LGTM!

Thank you!


placement of sha256 checksums on releases page

sha256 checksums are not in a properly formatted files(or a file).
this makes it difficult to use them.

in case more information is required

example file( https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/SHA256SUMS ) with proper formatting.
58405101948aff46d5261e0a4d3e8f98ea3dc5366a9ada881ebe921eafd5f737  debian-edu-10.0.0-amd64-netinst.iso
de14801ab29ea71e606ff516e87b1ca68499de21098f994778f77121ea41323d  debian-mac-10.0.0-amd64-netinst.iso

most recent affected releases:
https://github.com/PowerShell/PowerShell/tree/v7.0.0-preview.2
https://github.com/PowerShell/PowerShell/releases/tag/v6.2.2
https://github.com/PowerShell/PowerShell/releases/tag/v6.1.5

current workaround(incomplete, not preferred):

Scroll up or down till you find it. Select the checksums on releases page and click Inspect Element and the copy the contents of

<ul>...</ul>

Remove the useless text ...

note- its not preferred because most people don't expect this to be how a popular project to provide checksums.

@TravisEz13 Is it possible to put all checksums in a file?

@snow8gaia Can you contribute a PowerShell script which takes a directory and uses Get-FileHash to generate the format you want?

thanks for powershell. sorry, can't do that; change of plans.

 this may not be the best place to start; **may not work**

for eg: directory is stored in $x and is known, cd $x and ->
foreach ( $file in gci -File *.*  )
{ echo ( (Get-FileHash $file).Hash + '  ' + $file.name )  >> checksums.SHA256 }

use gci -Path x for a target directory x. works without echo.
the format is more due to what is easy to do with the checksum
utilities in coreutils (https://www.gnu.org/software/coreutils/coreutils.html)
and Powershell has no alternative as of 26 Jul 2019.

links used -
https://askubuntu.com/questions/867246/sha1sum-of-files-in-a-directory
especially
https://ss64.com/ps/foreach.html
has a dark theme -
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-filehash?view=powershell-6#examples

might not respond to any future events.

Would we need a single file or multiple checksum files, one for each zipfile? 🤔

I think a single file is adequate as the file has the filenames in it.

If we assume we're doing something like the md5sum format we can fairly easily do this:
$Path = "/folder/path"
$OutputPath = Join-Path $Path 'hashes.md5'
Get-ChildItem -Path $Path |
    Get-FileHash |
    ForEach-Object { "$($_.Hash) $($_.Path | Split-Path -Leaf)" } |
    Set-Content -Path $OutputPath

This is what @snow8gaia  provided.  The syntax needs to be fixed, but we should use SHA256
foreach ( $file in gci -File *.*  )
{ echo ( (Get-FileHash $file).Hash + '  ' + $file.name )  >> checksums.SHA256 }

$Path = "/folder/path"
$OutputPath = Join-Path $Path 'hashes.sha256’
Get-ChildItem -Path $Path |
    Get-FileHash -Algorithm SHA256 |
    ForEach-Object { "$($_.Hash) $($_.Path | Split-Path -Leaf)" } |
    Set-Content -Path $OutputPath

we're doing something like the md5sum format we can fairly easily do

and it would avoid any errors that are only there when this https://github.com/PowerShell/PowerShell/issues/10209#issuecomment-515634742 is used.
well, the files would need to be verified with sha256sum on Linux distros and also on Windows. Its easy to get sha256sum on Windows using either->
scoop https://github.com/lukesampson/scoop/wiki/Example-Setup-Scripts
chocolatey https://chocolatey.org/packages?q=coreutils
git  https://gitforwindows.org/
https://www.msys2.org/
https://www.cygwin.com/
And Windows users do so because all projects only provide instructions to verify hashes using shasum or mdsum utilities. and they have become more popular due to WMF installation issues.

Would we need a single file or multiple checksum files, one for each zipfile?

well multiple files would be better as the user can just do
sha256sum -c file.SHA256 if they only need to verify one file. assuming they only need one file to install.
whereas for one single checksum file, they need to do
sha256sum --ignore-missing -c file.SHA256  to get a clean output instead of cluttered output that contains the string OK in it.

It would also be easier to manage multiple files in CI in case, there needs to be a rebuild of assets for one platform. As only the relevant file hashes will need to be updated.
Also, the builds could be only done for one platform at a time; if CI server is already at a certain %age of load.
I think the multiple files approach would  certainly decouple the hashes, but maybe more complicated than just appending to one file. Until you consider that there maybe errors while verifying hashes due to formatting.
So overall, I prefer the multiple files approach. It is actually simpler.

And choosing SHA256 is a good idea; it keeps useless discussions away.

I think having one hash file per file would be confusing.  I don't think that is a viable option.  The format clearly supports multiple files in the hash file, so we can have one file with all the hashes.

Any update on this?  I am having to download arm64 for Debian because there's no apt package in the Microsoft pool.  There's no great way to verify automatically unless we parse html.

I created https://github.com/PowerShell/PowerShell/pull/16147 to add the sha256 hashes.

One difference, according to the file spec, we are supposed to add an * before the file name for binary files.

Please provide feedback before the release of 7.2.  After the release of 7.2, we will only backport changes which are not breaking.
I only implemented sha256.  If you want to implement another hash format, you have the file location and can look at the final code (a bug was found during the release so look at the file in master not the PR), and implement another hash.

SHA256 is fine from my perspective!

We are going to be required to provide this format for the contents of our packages.
Generating this should be simple as we will have a task to just generate this.
Imagine this for packages, how much more difficult would this be to use?
{
    "Outputs": [
        {
            "Source": "/Accessibility.dll",
            "AzureArtifactsHash": "044D5A90000300000004000000FFFF0000B800000000000000400000000000000000",
            "Sha256Hash": "CF21AA06D52BE85EE2C995BC475E0A90E773AC59B9621D95A53C172FD98DB87F"
        },
        {
            "Source": "/api-ms-win-core-datetime-l1-1-0.dll",
            "AzureArtifactsHash": "044D5A90000300000004000000FFFF0000B800000000000000400000000000000000",
            "Sha256Hash": "913EAAA7997A6AEE53574CFFB83F9C9C1700B1D8B46744A5E12D76A1E53376FD"
        },
        {
            "Source": "/zh-Hant/WindowsFormsIntegration.resources.dll",
            "AzureArtifactsHash": "044D5A90000300000004000000FFFF0000B800000000000000400000000000000000",
            "Sha256Hash": "143F539D34A0653DF145CF3592AA64D60A05147F00ABAC14A6F43E2B59708EC1"
        }
    ],
    "CloudBuildId": "101010",
    "Repo": "https://github.com/powershell/powershell",
    "Branch": "doentexist",
    "CommitId": "6ee476e9c6d25f12257f5f97635c77b586bff314",
    "Version": "7.2.10",
    "Timestamp":<PHONE_NUMBER>
}


/blame switch cannot detect the source of vstest crash when all tests have run successfully.

This is more of a question/puzzle I am trying to solve and looking for some advise. So our unit test are triggered from jenkins . The unit tests are run via vstest comamnd. Occasionally we run into a situation where vstest will crash after all tests are run and are completed. At that point , the jenkins job fails to complete and is aborted after timeout is reached. This results in no trx is generated because jenkins build is marked aborted.
So I started looking at why jenkins jobs are being aborted even though all tests have run successfully. I found that there are situations when vstest process crashes. When I logged on to the computer running the tests I see a vstest dialog box awaiting user input to debug or close vstest. When I clicked close, although the vstest test run got aborted but trx was generated and jenkins job was completed as expected.
I have tried using /blame but I don't find any relevant info in it. What else can I use to find and troubleshoot the cause of crashing vstest in this case.

@pMaske Blame helps only when some test caused the run failure. In your case, it seems like vstest crashed unexpectedly.
We have one more feature in blame which is to create a crash dump in case of failures caused by a test, and few unexpected exceptions like StackOverflow, AccessViolation etc. Can you please try the option? https://github.com/Microsoft/vstest-docs/blob/master/RFCs/0024-Blame-Collector-Options.md
In addition, the you are seeing the error dialog as error dialog is enabled in windows error reporting. Can you please disable error dialog to appear in case of errors in Windows error reporting(WER). After this, dialog box will not appear awaiting user input.

Actually after some more debugging found out that vstest is not crashing by itself. So what happens is, Jenkins triggers the unit tests, After all tests are run the vstest is still hung and process is not completing. It appears some thread is locking it up. While Jenkins job is waiting for trx report to generate, which is not happening because vstest is hung even though all tests have run and completed, then after 200 minutes of wait when job is not completed, jenkins timeout kicks in and kills the process.
I have also seen the tests may hang at different tests every time. Some times, after all tests are run, sometimes halfway through and sometimes in way beginning, say after 15-20 tests. This is leading to a highly unstable environment. I am looking for some guidance as to how to isolate what is causing the tests to hang.

2198WPFdiagnostics.txt
I can't find any useful info in the diagnostics file either. I saw a similar thread. https://github.com/Microsoft/vsts-tasks/issues/5601

Currently we don't have option to create process dump on deadlocks.
We only support the ability to collect dump on test failure and few exceptions (like AccessViolation, StackOverflow).
I have opened an issue https://github.com/Microsoft/vstest/issues/1779 to support process dump creation on session timeout which will help debugging deadlocks in future.
For now, you can do following:

Log in the machine where tests are stuck and take process dump manually.
Analyze created process dump to check which threads are stuck. Threads will point you to exact code which is causing the issue.
Till you figure out the issues from process dump, you can add session timeout in your tests. Test will abort on session timeout and trx should get generated.

@pMaske Closing this issue as we are tracking this new support request via https://github.com/Microsoft/vstest/issues/1779


Tag as stable?

It's been a year since anything was added - and its working well as it is. Would it be possible to tag this as (say) v1.0.0 ?

bump @stof please

I just tagged it as 1.0.0


Switch from clap to a nom-based command-line parser

The TaskWarrior CLI is pretty expressive, in a non-traditional way:
# multi-word inputs:
task add this is my new task
# some commands take a task prefix, that can be either an id or a partial uuid
task 1 info
task b41508f5-e713-478f-927d-110715d65947 info
task b41508f5 info
# tags have a + prefix, and can either filter or specify
task +next list
task 1 modify +next

The clap library is not built for that sort of thing.  It's also not terribly friendly about distributing the syntax for subcommands over lots of modules.
Let's build a better solution that uses an actual parsing library that can express the similarities and differences between subcommands without too much redundancy.

This is almost a complete rewrite of the taskchampion-cli crate!  It's in progress at https://github.com/djmitche/taskchampion/tree/issue44 and is nearing completion.  Mostly, tests are left to write.

Correction: this was a complete rewrite of the crate :)


The kubeconfig secret generated by this provider is not in expected format.

This provider generates a kubeconfig secret with the name <cluster>-admin-kubeconfig, with the data keys super-admin.conf etc.
However, other providers create an admin level kubeconfig secret with the name: <cluster>-kubeconfig with the kubeconfig stored in a data key named value.
This is documented here: https://cluster-api.sigs.k8s.io/developer/architecture/controllers/cluster#secrets
It would be great if the kamaji provided matched the existing pattern, so external operators and tools could work seamlessly.
For example, after creating a Kamaji CAPI cluster, the clusterctl get kubeconfig ... command fails because the secret is not in the expected format.

My current setup is based on the said components:
NAME                      NAMESPACE                           TYPE                     CURRENT VERSION   NEXT VERSION
bootstrap-kubeadm         capi-kubeadm-bootstrap-system       BootstrapProvider        v1.7.3            v1.7.4
control-plane-kamaji      kamaji-system                       ControlPlaneProvider     v0.10.1           Already up to date
control-plane-kubeadm     capi-kubeadm-control-plane-system   ControlPlaneProvider     v1.7.3            v1.7.4
cluster-api               capi-system                         CoreProvider             v1.7.4            Already up to date
infrastructure-kubevirt   capk-system                         InfrastructureProvider   v0.1.8            Already up to date

My current clusters:
$: kubectl get clusters
NAME              CLUSTERCLASS   PHASE         AGE     VERSION
capi-quickstart                  Provisioned   4m22s

Retrieving the kubeconfig seems fine to me:
$: clusterctl get kubeconfig capi-quickstart | wc -l

sigs.k8s.io/cluster-api
20

I suspect something is related to #92, it would be great if you could provide a detailed report on how to reproducing.
Infrastructure providers are not important, here, since it's just a matter of how we replicate Cluster API resources.

Closing due to inactivity.


Bookstack integration with GLPI only works with a slash (/) at the end

I know it's counterintuitive and exactly the opposite of what the field help suggests, but if I leave the URL without a trailing slash, the integration doesn't work. And if I add a slash at the end of the URL, the integration works, but the redirection and search are performed with double slashes, resulting in no results being returned.
1.1) This is how is set up without the slash

1.2) With this config, my ticket page doesn't sync with Bookstack

2.1) This is how is set up with the slash

2.2) I finally get to see the integration

2.3) But in this case, the URL gets two slashes and the search doesn't work

2.4) If I manually remove the slash, it gets the page correctly

My bookstack was configured with docker compose file, and the line that I think has a job in this is the one below:
  - APP_URL="http://<IP_ADDRESS>"

This is how I set up, I tried with slash at the end, with no success.
I know this is not the best way to set up all the environment, but my company doesn't offer much support, and we try our best to test new solutions with our own machines and suggest new software at the company.

Found a solution!
Just added the code below on the /etc/nginx/nginx.conf file
location / {
    rewrite ^//(.*) /$1 permanent;^
}

@pedroalves5770
Hi Pedro,
thanks for sharing your problem and especially your solution here.
I use Traefik as a reverse Proxy so maybe that reverse proxy handles the traffic different.
Let me add something. GLPI connects with the PHP backend directly to Bookstack. So you can connect these 2 tools within a docker network. There is no client side connection to Bookstack. In that case you would not need to pass any reverse proxy that might be between the tools and you do not leave internal docker network. That will also improve speed and security.


Update effects.md

Added:
It's highly recommend not to use tag filtering in your policy rules when the policy relates to security setting,
when you use tags to filtering, resources without tag appear Compliance . Azure Policy exemptions
or Azure Policy exclusions are recommended.

@davidsmatlak
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@rfernandezdo Thanks for your contribution. I'll review the PR by end of the week.

Do not merge.
#please-close


Minor formatting

Proposed changes
Minor table formatting update for new switch (--file)

Deploy preview for docsdocker ready!
Built with commit df7ed10ccb1dfcf363ca67a0ec782b95402497df
https://deploy-preview-9362--docsdocker.netlify.com

@ollypom Minor formatting issue with the other switch added in UCP 3.2.x (--file)


[top/dv] Fix backdoor override

readelf may trancate the symbol name if long is over 85 chars
Since we need to find the symbol name exp_spi_device_rx_data to
replace the value, we can't trancate it
Before the fix:

1512: 20003698   128 OBJECT  LOCAL  DEFAULT    6 exp_spi_device_r[...]

After:

1512: 20003698   128 OBJECT  LOCAL  DEFAULT    6 exp_spi_device_rx_data

Signed-off-by: Weicai Yang<EMAIL_ADDRESS>

@msfschaffner
This should fix the failure in chip_spi_tx_rx. Thanks for reporting the issue.


feat: provide custom fields for purecloud when chat session is created

related: https://github.com/kiwicom/smart-faq/issues/667#issuecomment-418151182
🚨 Do not merge until https://github.com/kiwicom/graphql/pull/336 is merged
LiveURL: https://smartfaq-provide-custom-fields.surge.sh

need to run yarn relay so I need this fix https://github.com/kiwicom/smart-faq/pull/716 to be merged first.

:tada: This PR is included in version 1.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Feat/language switcher component

This PR implements https://github.com/okp4/ui/issues/234

Codecov Report

Merging #249 (1c866b4) into main (2f8774d) will increase coverage by 0.37%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #249      +/-   ##
==========================================
+ Coverage   97.16%   97.54%   +0.37%
==========================================
  Files          55       54       -1
  Lines         529      529
  Branches       73       73
==========================================
+ Hits          514      516       +2
+ Misses         14       12       -2
  Partials        1        1

Impacted Files
Coverage Δ

src/domain/task/helper/test.helper.ts
100.00% <0.00%> (ø)

src/domain/faucet/store/reducer/faucet.reducer.ts
100.00% <0.00%> (ø)

...omain/faucet/usecase/request-funds/requestFunds.ts
100.00% <0.00%> (ø)

...ain/faucet/usecase/request-funds/actionCreators.ts

src/domain/common/actionCreators.ts
100.00% <0.00%> (+33.33%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

Good job. A few small remarks to take into consideration, if don't mind. 😌

Thank you for your review, I'll make the changes 👍

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


Fix a few compiler warnings

Signed-off-by: Anton Blanchard<EMAIL_ADDRESS>

Hello Anton,
Thanks for contributing to HTX and pointing to us the overlooked warnings. We are unable to accept this pull request due to the following reasons:
htxd_shutdown_flag is a global variable which is used widely, is treated as an entity by itself. If I add it to the header file mentioned in the pull req., lot of other unnecessary inclusions of other headers would be required.
Right now, we don't have a htxd_time_driven_run_monitor.h. I'll take care of the declarations without creating one.
I might have to use htxd_time_driven_run_monitor_ecg() in other contexts also, so not making it static at the moment.
Another pull req. will be submitted to include the changes in a different manner for the same.


Chart series - multiple symbols

Thanks for your code, it works very well on my end. I was trying to stream from the chart session multiple tickers, but somehow, it only returns 1 ticker at a time. Was wondering if you have tried streaming multiple tickers before and got it to work?
This is what I tried so far, but has only managed to stream the first ticker:
def _add_chart_symbol(self, sym: str):
    """ Chart symbol - Only required for the first symbol """
    return "=" + json.dumps({"symbol": sym})

send(ws, "chart_create_session", [c_session, ""])
send(ws, "switch_timezone", [c_session, "Asia/Singapore"])
send(ws, "resolve_symbol", [
    c_session, "symbol_1",
    self._add_chart_symbol("BINANCE:ETHUSD")
])
send(ws, "create_series",
     [c_session, "s1", "s1", "symbol_1", "15", 300])
send(ws, "resolve_symbol", [c_session, "ss_1", "BITSTAMP:BTCUSD"])
send(ws, "create_study", [c_session, "st1", "st1", "s1", "Overlay@tv-basicstudies-121", {"symbol": "BITSTAMP:BTCUSD"}])

Sorry, please ignore me. The code seems to be working all of a sudden. Closing this issue.


Only allow dragging when draggable.

https://github.com/akiran/react-slick/issues/6

@stevemckenzie
according to slick
draggable  is to enable mouse dragging (for desktop devices)
swipe is to enable swiping (for mobile devices)
With draggable = false and swipe = true , draggable feature should be off on desktop and should work on mobile devices.
You fix turns of draggable on mobile devices  also.
Can you make changes to consider swipe option also ?

@stevemckenzie  Thanks for PR.
This on PR only fixes the issue partially
Fix for #6 is applied in commit 837466b


Support VC/VCD as a backend to create and manage volume lifecycle

With the ESX service vDVS supports only the local ESX host to create and manage volumes. Which by-passes all other mechanisms supported in ESX for volume creation/placement on datastores. Being able to integrate with VC/VCD ensures vSphere docker volumes are covered by the same storage policies users are already familiar with and by the same mechanisms thru which storage capacities are managed. Allows users to view docker volumes via the same interfaces as they do VMDKs created for VMs vs. using docker or vDVS CLI to view volumes.
Plus its best that all vSphere docker volume support use the same interfaces across container platforms.

This should become the defacto plugin backend with the CSI plugin version of vDVS. Closing this issue and will be handled as part of CSI plugin development.


[Suggestion] Use Meson instead of GYP

Hi, I'm porting a certain project's Python2 scripts to Python3 but irritatingly have to require Python2 anyway due to the libuv dependency. I've never even heard of GYP before so after some very brief research, this has apparently been the woe of many other GYP users and is a long-standing issue that will probably not be fixed before Python2's end of life in 2020. In fact, seems like some projects using GYP have moved to other build systems.
Meson is another build system based on Python, but it uses Python3 instead. Have you considered that as a replacement for GYP?

Thanks for the suggestion but there are no plans to switch to meson at this time.  Libuv is developed in close tandem with node.js, an as node.js uses gyp, so too does libuv.
Node.js may switch to cmake in the future and then libuv will follow suit.  Meson however is not on the table.

@jclc meanwhile there is some movement toward making GYP python3 compatible. Hope it matures.

Thanks for the responses. Hopefully the efforts will lead somewhere.


Add hsim js bindings build to CircleCI.

Motivation and Context

Add javascript binding build to CircleCI in order to prevent breakages of emscripten build.
How Has This Been Tested

CircleCI
Types of changes

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

Checklist

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

It is now passing and all feedback should be addressed.


[Bug] Millennium on Linux fails to start

Before Reporting

[X] I found no existing issues matching my bug
[X] My issue is not caused by a theme
[X] My issue is not caused by a plugin

Describe the Bug
First time installing. I ran the install script (curl -fsSL "https://raw.githubusercontent.com/SteamClientHomebrew/Millennium/main/scripts/install.sh" | sh), and everything looked fine. When running ~/.millennium/start.sh however, it errors and doesn't launch. Here is the output:
steam.sh[40907]: Running Steam on nobara 39 64-bit
steam.sh[40907]: STEAM_RUNTIME is enabled automatically
setup.sh[40943]: Steam runtime environment up-to-date!
steam.sh[40907]: Logging to console-linux.txt disabled via STEAM_RUNTIME_LOGGER
steam.sh[40907]: Steam client's requirements are satisfied
CProcessEnvironmentManager is ready, 6 preallocated environment variables.
[2024-12-21 20:09:44] Startup - updater built Dec  2 2024 21:26:10
[2024-12-21 20:09:44] Startup - Steam Client launched with: '/home/frost/.steam/steam/ubuntu12_32/steam'
12/21 20:09:44 minidumps folder is set to /tmp/dumps
12/21 20:09:44 Init: Installing breakpad exception handler for appid(steam)/version(1733265492)/tid(40995)
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2024-12-21 20:09:44] Loading cached metrics from disk (/home/frost/.local/share/Steam/package/steam_client_metrics.bin)
[2024-12-21 20:09:44] Using the following download hosts for Public, Realm steamglobal
[2024-12-21 20:09:44] 1. https://client-update.fastly.steamstatic.com, /, Realm 'steamglobal', weight was 900, source = 'update_hosts_cached.vdf'
[2024-12-21 20:09:44] 2. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2024-12-21 20:09:44] 3. https://client-update.steamstatic.com, /, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-12-21 20:09:44] Checking for update on startup
[2024-12-21 20:09:44] Checking for available updates...
[2024-12-21 20:09:44] Downloading manifest: https://client-update.fastly.steamstatic.com/steam_client_ubuntu12
[2024-12-21 20:09:44] Manifest download: send request
[09:44.486] INFO Loaded Millennium on nobara, system architecture x86_64
[09:44.487] INFO Hooked main() with PID: 40995
[09:44.820] INFO<EMAIL_ADDRESS>is up to date.
[09:44.821] INFO Ports: { FTP: 40453, IPC: 37839 }
[09:44.821] INFO Plugins: { core: Enabled }
[09:44.821] INFO Verifying Python environment...
ERROR: unsafe call to unsetenv count:1 var:'__PYVENV_LAUNCHER__'
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
ERROR: unsafe call to unsetenv count:2 var:'__PYVENV_LAUNCHER__'
[09:44.921] INFO Starting plugin backends...
[09:44.921] INFO Opting to use '8080' for SteamDBG port
[09:44.921] INFO Created thread<PHONE_NUMBER> for plugin 'pipx'
[09:44.922] INFO Starting frontend socket...
[09:44.922] INFO Startup took 434 ms
ERROR: unsafe call to unsetenv count:3 var:'__PYVENV_LAUNCHER__'
[09:44.922] ERROR [json.exception.parse_error.101] parse error at line 1, column 5: syntax error while parsing value - invalid literal; last read: '404 p'; expected end of input
[09:44.922] TRACE const std::string SocketHelpers::GetSteamBrowserContext() @ /home/runner/work/millennium/millennium/src/socket/await_pipe.h:234
[09:44.922] WARN Deconstructing 0 plugin(s) and preparing for exit...
[09:44.922] INFO All plugins have been shut down...
Fatal Python error: PyInterpreterState_Delete: remaining subinterpreters
Python runtime state: finalizing (tstate=0xf72952ec)

[2024-12-21 20:09:45] Manifest download: waiting for download to finish
crash_20241221200944_4.dmp[41029]: Uploading dump (out-of-process)
/tmp/dumps/crash_20241221200944_4.dmp
/home/frost/.steam/steam/steam.sh: line 906: 40995 Aborted                 (core dumped) "$STEAMROOT/$STEAMEXEPATH" "$@"
frost@myPersonalPC:~$ crash_20241221200944_4.dmp[41029]: Finished uploading minidump (out-of-process): success = yes
crash_20241221200944_4.dmp[41029]: response: CrashID=bp-211e209e-d1e2-4e67-bcae-aa4482241221
crash_20241221200944_4.dmp[41029]: file ''/tmp/dumps/crash_20241221200944_4.dmp'', upload yes: ''CrashID=bp-211e209e-d1e2-4e67-bcae-aa4482241221''

I'm running Nobara 39. I see the .dmp file, but to be honest I couldn't figure out how to read it.
Expected Behavior
The program launches.
Steps To Reproduce

Install using url -fsSL "https://raw.githubusercontent.com/SteamClientHomebrew/Millennium/main/scripts/install.sh" | sh
Try to run using ~/.millennium/start.sh

Operating System
Linux
Anything else?
No response

Its possible another application is using port 8080, which is required by Millennium to interact with steam.

Its possible another application is using port 8080, which is required by Millennium to interact with steam.

Thank you! This was the issue. Syncthing was using that port, and changing its port to something else fixed it.


Not able to download styles

Hey there,
unfortunately I'm not able to download the specific styles from the

download

link.
Via inspecting element I can copy them 👍 I saw an open issue #448
Cheers,
Daniel

:+1: this is very annoying guys, same here

Same to me.
Message from Chrome console: Not allowed to navigate top frame to data URL: [css data link].
If you click on link, you will see de css code.


Fix README badges

Fixed some typos on the README badges that were causing the repos
/cc @davidhadas

/lgtm

/approved

/approve


Update Travis.yml and added new CI test.

Same as #320

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

@adewaleo Why do we have two PRs with the same code?

Thanks for making the changes.
I originally tried making a PR from my fork, however a new third check (travis-ci/push) was failing probably because I added a new test to the travis.yml file. I believe Troy or Johan suggested making a PR of the main repo to pass the new test.
I wanted to make the verify load and lint tests separate because I thought of them as being conceptually different / separate tests. So if one fails, the author of the PR can quickly know why the test fails as it has a specific purpose.
Thanks for explaining why you merged both tests.


[wip] fixes #4335: warn if negative offset was provided

HI. I started working on this. I faced some challenges I need advice on.

First of all, I'm only familiar with mysql. Is negative offset invalid for all kind of databases? Should I consider database type?
Then I found offset function in querybuilder.js file, and extended an existing condition:

The problem with above solution was that negative offset values resulted in a warn log (orange in my case) and were automatically omitted (or converted to zero). I thought this automatic omitting makes bad logic/behavior is user's code hidden or hard-to-debug.
Later I  thought maybe it's not a bad idea if we threw an error in case of negative offset

The above solution can be and not be a breaking change. It can be a breaking change, because it did not use to throw an error, but can not be thought of a breaking change because the query would result to an exception throw (by the database) later anyway.
The final solution I came up with is this:

I thought if it would be a nice idea if we warn user that this behavior (providing negative value to offset) would be deprecated and throw in a future version?
Thanks if you really read all that :hearts:

@Ardeshir81 Makes sense to make negative value support deprecated! So what happens now if value is < 0? If I understand the code correctly, it is ignored, which is equivalent to passing 0, which is same is it worked before, right?
Could you also add integration test (test/integration2) for this?

No it is not the same as it worked before. As stated in issue (https://github.com/knex/knex/issues/4335), it resulted in querying negative offset on database which threw an error by the db itself (not the library).
I believe throwing an error is a good practice, because, in my case it helped me find a bad logic in my code, But automatic ignore/conversion to zero, may make library users' bugs hard-to-find-&-debug.
So yes! You got it correctly, it is ignored, which is equivalent to passing 0, but it log warns the user about it.
I'll add integration tests :+1: . But what is the deprecation process? Is it enough to just warn the user that passing negative values to offset will be deprecated in a future version ?

Is it enough to just warn the user that passing negative values to offset will be deprecated in a future version ?

Yup!

Heay @kibertoad . Nice profile picture :+1:
You answered my question about Is it enough to just warn the user that passing negative values to offset will be deprecated in a future version ?. But I read the discussion over and over again here and in the issue (https://github.com/knex/knex/issues/4335) and decided to revert the functionality to throwing an error. I think its a good practice, as like a bug is fixed.
I squashed the commit. And also wrote tests. I had problems understanding and running tests, so wrote one in a different style.
is it ok ?
thanks

Is the test and code ok @kibertoad ?

@Ardeshir81 Sorry for the delay, will review today.

Released in 0.95.3!


htps problem

Hi, I'm using TouchView for user testing and it's great! however it looks like it doesn't work on htps (safari mobile). Is there a way to fix it?

@SimoneReichlin how are you using it? If you're using the bookmarklet, keep in mind that is hosted on an http protocol, so you're likely getting errors attempting to load an http resource from an https page. The workaround would be to download the javascript and host it on an https site.


feat(oci): bump azidentity to v1.3.0-beta.2 to support Azure Workload Identity

As I pointed out here, we can add support for Azure Workload Identity to several controllers that rely on the oci package by just bumping the azidentity library to v1.3.0-beta.2. That is possible because the oci package itself relies on NewDefaultAzureCredential in case credentials are not passed explicitly while the updated function offers support for Workload Identity:
https://github.com/fluxcd/pkg/blob/946d9acf6e88cd807ff72119f5f5e96cbd690894/oci/auth/azure/auth.go#L65-L69
The question is whether FluxCD team would accept the usage of v1.3.0-beta.2 (which is very likely to land to v1.3.0 as is) or would rather prefer to wait for several months till the Workload Identity AKS extension turns GA (as explained below, azidentity will have v1.3.0 tag only after the extension is considered GA).
This PR is meant to either have the change accepted or, if not, explicitly indicate the fact that the project is waiting for v1.3.0.
Details

Support for workload identity was added to github.com/Azure/azure-sdk-for-go/sdk/azidentity in v1.3.0-beta.1 (https://github.com/Azure/azure-sdk-for-go/issues/15615#issuecomment-1350174008). The latest version at the time of writing is v1.3.0-beta.2:

https://github.com/Azure/azure-sdk-for-go/releases/tag/sdk%2Fazidentity%2Fv1.3.0-beta.1
https://github.com/Azure/azure-sdk-for-go/releases/tag/sdk%2Fazidentity%2Fv1.3.0-beta.2

Even though the "stable" version is expected to be released around April after the Workload Identity extension is promoted to GA (https://github.com/Azure/azure-sdk-for-go/issues/19765#issuecomment-1376512434), the current one is already functional.
The support for Workload Identity is available through WorkloadIdentityCredential and DefaultAzureCredential.
I believe the change should be safe, because Workload Identity authentication process will get triggered only in case several environment variables are available in a container with a FluxCD controller (code). Those variables get added to a pod by a Mutating Webhook only when special labels and annotations are present (docs), so there should be no difference for those users who don't have those labels/annotations on the respective k8s resources of FluxCD controllers.
I did a PoC with the source-controller, and it worked just fine (logs are listed below). I believe that will be the case for OCI repository controller and image reflector controller as well. Bucket controller has its own logic for authentication, so it'll require some adjustments before it supports Workload Identity, but I guess we don't have to modify all controllers at once :)

Logs
source-controller-57774ccfc5-64bvd manager {"level":"info","ts":"2023-01-14T23:33:34.841Z","msg":"logging in to Azure ACR for fluxcdtestacr123.azurecr.io/charts","controller":"helmrepository","controllerGroup":"source.toolkit.fluxcd.io","controllerKind":"HelmRepository","HelmRepository":{"name":"charts","namespace":"flux-system"},"namespace":"flux-system","name":"charts","reconcileID":"8c61bb40-7a54-40a4-b7b0-e3a1fbe9b875"}
source-controller-57774ccfc5-64bvd manager {"level":"info","ts":"2023-01-14T23:33:35.400Z","msg":"Helm repository is ready","controller":"helmrepository","controllerGroup":"source.toolkit.fluxcd.io","controllerKind":"HelmRepository","HelmRepository":{"name":"charts","namespace":"flux-system"},"namespace":"flux-system","name":"charts","reconcileID":"8c61bb40-7a54-40a4-b7b0-e3a1fbe9b875"}
source-controller-57774ccfc5-64bvd manager {"level":"info","ts":"2023-01-14T23:38:35.444Z","msg":"logging in to Azure ACR for fluxcdtestacr123.azurecr.io/charts","controller":"helmrepository","controllerGroup":"source.toolkit.fluxcd.io","controllerKind":"HelmRepository","HelmRepository":{"name":"charts","namespace":"flux-system"},"namespace":"flux-system","name":"charts","reconcileID":"bb59958b-0c44-4b35-871f-f7679c37d097"}
source-controller-57774ccfc5-64bvd manager {"level":"info","ts":"2023-01-14T23:39:01.314Z","msg":"logging in to Azure ACR for fluxcdtestacr123.azurecr.io/charts","controller":"helmchart","controllerGroup":"source.toolkit.fluxcd.io","controllerKind":"HelmChart","HelmChart":{"name":"default-podinfo","namespace":"flux-system"},"namespace":"flux-system","name":"default-podinfo","reconcileID":"a0faa635-370a-4ad8-bb37-e60e16f3607c"}
source-controller-57774ccfc5-64bvd manager {"level":"info","ts":"2023-01-14T23:39:02.021Z","msg":"pulled 'base' chart with version '0.3.2'","controller":"helmchart","controllerGroup":"source.toolkit.fluxcd.io","controllerKind":"HelmChart","HelmChart":{"name":"default-podinfo","namespace":"flux-system"},"namespace":"flux-system","name":"default-podinfo","reconcileID":"a0faa635-370a-4ad8-bb37-e60e16f3607c"}

@stefanprodan I see that the test job failed complaining about diff in oci/tests/integration/go.mod (https://github.com/fluxcd/pkg/actions/runs/3937973714/jobs/6740711323#step:5:1), I've just run make all and pushed the updated go.sum and go.mod for the integration test. I guess all checks will pass this time.

@phillebaba might be something of your interest since we had a brief discussion on workload identity for external-dns and cert-manager.

@weisdd can you please rebase your PR with the main branch.

@stefanprodan done

@stefanprodan I've just rebased my branch again to resolve another round of merge conflicts (azidentity got recently updated in main).

Will ensure this gets in after #472, and before we tag the new package version.

@hiddeco I think we need to do the same in kustomize-controller for SOPS decryption to work with workload identity.

@stefanprodan please fill an issue for this in kustomize-controller as it would require changing some additional logic as well I think (https://github.com/fluxcd/kustomize-controller/blob/main/internal/sops/azkv/config.go#L67), and I won't be able to make time for it this week.

Need to test if the bump of azidentity causes issues in other places where we e.g. make use of another Azure API subset.

@hiddeco I think we should delay this further, I don't feel comfortable with shipping this in Flux v0.40.0 without any E2E tests.

Matches my thinking as I am concerned we would have issues with https://github.com/fluxcd/source-controller/blob/main/pkg/azure/blob.go#L87 as well.


Additon new page "Reference Implementations" and "Developer Experience Kit" guide into two guides

Additon new page "Reference Implementations" and "Developer Experience Kit" guide into two guides

Conflict has been resolved please merge it again.


Problems

lease recover my USDT
Accidentally send USDT to OMNI address
Txid: a98ec988c6075d79bacfe2ec8b9dbe56b660de86f2d958645843392dd1e207f3
Send to OMNI address- 1HzTwXnKRZ4kFJPJuzereKyrCxhjQu3d8v
My USDT address- 1B7iy98nc3UvTesJgEYEteFWvDFAmn7Chn
And you can convert to OMNI?And you can convert to OMNI?And you can convert to OMNI?
Send to OMNI address- 1HzTwXnKRZ4kFJPJuzereKyrCxhjQu3d8v

This is a duplicate of #564.


Update free-programming-books-fa_IR.md

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s)
For resources
Description
این پروژه یک کار گروهی برای ترجمه آزاد یکی از بهترین کتاب های برنامه نویسیه
Why is this valuable (or not)?
it's a MUST especially for new developers
How do we know it's really free?
is licensed under the GNU General Public License v3.0 in Github
For book lists, is it a book? For course lists, is it a course? etc.
A book
Checklist:

[x] Not a duplicate
[ ] Included author(s) if appropriate
[x] Lists are in alphabetical order
[ ] Needed indications added (PDF, access notes, under construction)

Please add author names where appropriate.

since you submitted this PR, we've added a free-courses-fa.md file. Could you move the courses there? Thanks!


[ spi_host ] Cleanup AscentLint issues

Clean up remaining issues for spi_host in AscentLint report.
Also includes the removal of the "PASSTHRU" register field, an important change which seems stuck in review in #7135.

Thanks for the fixes, @martin-lueker. Can you squash the two commits together before merging to make the change atomic?

Last force push squashes and rebases the commits to make the changes atomic.

Thanks Michael.


Add "pop" method

The collection.pop() method removes and returns the last item from the collection:
Example
const collection = Collect([4, 1, 37, 2, 12])

await collection.pop()

// 12

await collection.all()

// [4, 1, 37, 2]

I would like to work on this issue

@skbro Cool, thank you!


[Firebase core] google-services.json missing only when running latest version

Describe the bug
I updated to
firebase_auth: ^0.16.1
firebase_core: ^0.4.5
when running it complains that the google-services.json file is missing.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':firebase_auth:processDebugGoogleServices'.
> File google-services.json is missing. The Google Services Plugin cannot function without it.
   Searched Location:
  C:\Users\zebco\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_auth-0.16.1\android\src\nullnull\google-services.json
  C:\Users\zebco\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_auth-0.16.1\android\src\debug\google-services.json
  C:\Users\zebco\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_auth-0.16.1\android\src\nullnullDebug\google-services.json
  C:\Users\zebco\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_auth-0.16.1\android\src\nullnull\debug\google-services.json
  C:\Users\zebco\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_auth-0.16.1\android\src\debug\nullnull\google-services.json
  C:\Users\zebco\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_auth-0.16.1\android\google-services.json

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

I have this placed in android/app though...

if I downgrade to an earlier version then it finds the file but I'm getting other issues (which is why I wanted to upgrade in the first place)!
flutter doctor output:

flutter doctor -v
[√] Flutter (Channel stable, v1.17.3, on Microsoft Windows [Version 10.0.18363.900], locale en-GB)
    • Flutter version 1.17.3 at D:\Repos\Flutter\framework\flutter
    • Framework revision b041144f83 (12 days ago), 2020-06-04 09:26:11 -0700
    • Engine revision ee76268252
    • Dart version 2.8.4

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at C:\Users\\zebco\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = C:\Users\\zebco\AppData\Local\Android\sdk
    • Java binary at: C:\Users\zebco\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6514223\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Users\zebco\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6514223
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code, 64-bit edition (version 1.46.0)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.11.0

[√] Connected device (1 available)
    • ONEPLUS A5010 • 790d7a64 • android-arm64 • Android 9 (API 28)

Hi @ISimplifyComplexity
Please try in a project, no issues with json

flutter doctor -v
[✓] Flutter (Channel dev, 1.20.0-0.0.pre, on Mac OS X 10.15.5 19F101, locale
    en-GB)
    • Flutter version 1.20.0-0.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision d9653445f4 (6 days ago), 2020-06-09 18:43:03 -0400
    • Engine revision e8c13aa012
    • Dart version 2.9.0 (build 2.9.0-14.0.dev 5c1376615e)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.46.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[✓] Connected device (4 available)
    • SM M305F   • 32003c30dc19668f • android-arm64  • Android 10 (API 29)
    • macOS      • macOS            • darwin-x64     • Mac OS X 10.15.5 19F101
    • Web Server • web-server       • web-javascript • Flutter Tools
    • Chrome     • chrome           • web-javascript • Google Chrome
      83.0.4103.97

• No issues found!

@TahaTesser I managed to resolve this by reinstalling flutter and refreshing all pub packages.

Hi @ISimplifyComplexity
Happy to see you resolved the issue
given your last message I feel safe to close this issue, if you disagree please write in the comments and I will reopen it.
Thank you

Yup this issue can be closed... The SMS issue is a show stopper. I'm now going to write my own custom Auth server with Twillio. When that issue is resolved I'll probably look at this again but it's just not workable.


Countdown value is not updating

I initialised variable in controller $scope.countdown = 1000.
<timer countdown="[[ countdown ]]" interval="1000" finish-callback="timer_finished()" style="font-size: 25px; padding-top: 20px; display: block;">         [[ hhours ]]:[[ mminutes ]]:[[ sseconds ]]         </timer>
Now later I make an api call get the actual countdown value and when the countdown variable is updated the timer does show the updated value.

You could also use ng-if on your timer element to check for your countdown variable.
This way, the directive will only be initialised when you have your date, and it will work. Original answer here:
https://github.com/siddii/angular-timer/issues/36


I can't listen to my Adhan song.....

Expected Behavior
(What did you expect to happen?)
Actual Behavior
(What actually happened?)
Steps to Reproduce the Problem

Specifications

Browser:
OS: Mac/Linux/Windows

This is a big problem, just read the following posts #82, #83, #84, #84, #85, #86, #87, #88, #89, #90, #91, #92, #93, #94, #95 and #96.) Sorry for your frustration but we are all in this together.........unfortunately.


Remove legacymode?

Just curious how long you want to support legacymode? We could remove a fair bit of clutter without it.

Perhaps add something to the readme specifying that version  X  and under support legacy mode, but everything after does not. Thoughts?

Agreed. Current version is 1.4. I propose releasing 1.4.1 with the current set of recent changes. Then remove legacy mode and bump version to 1.5 with legacy mode removed.
Removal of legacy mode could then coincide nicely with move to the new project name and distribution on pypi.

Sounds good!

Cool. Will you be managing the process of removing legacy and bumping the version and letting Nathan know i #28 that we're ready for PyPi? Or did you want us to do that?

Good question. I'd be happy if you guys took over!

Hi
I have started the unit tests, and then become bogged down in trying to create a Library.XML file that works properly. That will just have to wait.
Configuring a Traveis CI build and adding to PyPi can be done when you are ready.
Regards
Nathan

On 14 May 2017, at 18:27, Liam Kaufman<EMAIL_ADDRESS>wrote:
Good question. I'd be happy if you guys took over!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Tidy up the custom signal handler test

No need to check raw *.wasm files into the repo, and *.wat files can
typically be written inline in the test to avoid tabbing back and forth.

Thanks for tidying this!


Interrupts: HelloTimerInterrupts

This PR:

Includes an example for the timers interrupt handler events.
Targets issue #64 .
Documentation is still a WIP.
Docs lives in ./HelloTimerInterrupts/readMe.md

Related issues:

issue #79.
issue #78.
issue #77.


Dropped item entity

[x] Create an entity of an item
[ ] Item must be affected by gravity and physics
[x] Item must be sucked into the Player when nearby and disappear

@alexesmet


Question about MSLS

Great work!
May I ask why MSLS dataset is not used in your paper?  Will you use it in future work?

Hi @1994225000kk , we believe the datasets evaluated capture a good representative of our performance improvements and method's universal capabilities . We may consider benchmarking scores on MSLS data in the future, but do not have immediate plans as of now.
Closing this issue for now :), feel free to reopen in case anything is unanswered


Thread heaps aren't abandoned on MacOS

The _mi_heap_done function first checks if the default heap is initialized. If it's not initialized, the function exits early without abandoning the thread's default heap.
https://github.com/microsoft/mimalloc/blob/e946d56ba0c1aa795ffb00f862fd32046a62da8e/src/init.c#L232-L234
The problem is roughly that the thread-local variables have already been destroyed by the time _mi_heap_done  is called. The access to _mi_heap_default resets it to _mi_heap_empty so the mi_heap_is_initialized check always returns false.
It's a little confusing because I think the __thread variables are handled by libdyld while the pthread-specific variables are managed by libpthread. Source code for both are at https://opensource.apple.com/release/macos-10145.html. The __thread variables (libdyld) are managed by pthread_key_t under the hood. The order of destruction is unspecified, but it appears that the __thread variables are destroyed before thread_done is called. (I'm not sure if this is deterministic).
Apple LLVM version 10.0.1 (clang-1<IP_ADDRESS>)
macOS Mojave 10.14.6
For simplicity I'm linking to the static libmalloc-debug.a and building with -DMI_OVERRIDE=OFF.
Test program:
https://gist.github.com/colesbury/1e3e2600e6ea5b71717fb9bfc4285d44
Instrument _mi_heap_done e.g.:
static bool _mi_heap_done(void) {
  mi_heap_t* heap = _mi_heap_default;
  if (!mi_heap_is_initialized(heap)) {
    printf("heap not initialized\n");
    return true;
  }

  printf("heap done\n"); // This doesn't get called!
  ...
}

Here is an another example that leaks memory, in case it's easier to reproduce:
#include <thread>
#include <mimalloc.h>
#include <stdio.h>

void t1main() {
    void *p = mi_malloc(1024);
    if (!p) {
        printf("out of memory");
        abort();
    }
    mi_free(p);
}

int main() {
    while (1) {
        auto t1 = std::thread(t1main);
        t1.join();
    }
    return 0;
}

One fix is to have mi_pthread_key always store the current value of _mi_heap_default. The mi_pthread_key destructor is called with this value, which avoids the need to re-access _mi_heap_default during thread destruction.

Hi Sam -- Awesome for finding this -- I cannot test it today but I will merge early next week! Thanks!


[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 1.10.103 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


CSIC-19 Resizing functionality for NFS

PR

Resize functionality for the NFS

Testing

Created PVC with capacity 1 GB
Edited PVC with capacity 6 GB
Able to see resized PVC

Changes looks good , Please run go fmt for formatting.

pending: please check pool size after implementation of GetCapacity
lg for now

Merging this PR for now. Will add GetCapacity in next PR


Cleanup test framework

Actually, this is a bit messy. Use clear structure for our tests. Mockito could help (https://code.google.com/p/mockito/).

Travis is back to work (thanks, @Biocodr ). I opened another ticket to split integrations and unit tests (see #125). Currently, we're running at the limit of 50 minutes for the execution of all tests with Travis.


[refactor](remove unused code) remove storage buffer and orc reader

Proposed changes

remove olap storage byte buffer
remove orc reader
remove time operator
remove read_write_util
remove aggregate funcs
remove compress.h and cpp
remove bhp_lib

Problem summary
Describe your changes.
Checklist(Required)

Does it affect the original behavior:

[ ] Yes
[ ] No
[ ] I don't know

Has unit tests been added:

[ ] Yes
[ ] No
[ ] No Need

Has document been added or modified:

[ ] Yes
[ ] No
[ ] No Need

Does it need to update dependencies:

[ ] Yes
[ ] No

Are there any changes that cannot be rolled back:

[ ] Yes (If Yes, please explain WHY)
[ ] No

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 35.45 seconds
load time: 533 seconds
storage size:<PHONE_NUMBER>8 Bytes
https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230124044525_clickbench_pr_85076.html


[Bug]: JS object is in an error state but no error is displayed on debugger or browser console

Is there an existing issue for this?

[X] I have searched the existing issues

Description
JS object goes into error during execution but no error is displayed either on errors tab on the debugger or on browser console.
Steps To Reproduce

Go to JS object at this location and run function myFun1
Observe the execution error

Public Sample App
https://release.app.appsmith.com/app/scratch-pad/js-error-issue-62a7690dd901b06688ea14fb/edit/jsObjects/62a7690dd901b06688ea1513
Version
Cloud

Two issues here

Errors found while executing a js function don't get logged in the debugger.
myVar2: Input1.text.toString() causes parsing of the js object to be wrong.


Implement switchPage by index

Description
Add functionality to switch page by index

Relevant Issues : (compulsory)
Relevant PRs : (optional)
Type of change :

[x] New feature
[ ] Bug fix for existing feature
[ ] Code quality improvement
[ ] Addition or Improvement of tests
[ ] Addition or Improvement of documentation

@ptrthomas This needs some discussion. Let me know if I should open an issue for the same.
The trick here is iFrames are also treated as page, so if we blindly switchPage based on index we might just be switching to an iFrame rather than a tab.
A simple but dirty approach would be to increment the index from 0 only for non-iFrame targets.

@cueo have you tested that this works for normal cases ?

@cueo closing due to non-activity - feel free to re-open once you have added test cases


setup.py cannot handle torch extraversion

torch.__version__ is 2.2.0a0 But setup.py contains this line
install_requires=["torch >= 2.2"]
I believe 2.2.0a0 >= 2.2 is understood. But pip install -e . fails anyway.
My work around was to delete that setup.py line.  There might be a better way to describe than torch >= 2.2, may be a wildcard?
Here is additional detail.
Python 3.9.18 (main, Jan  4 2024, 00:00:00)
[GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import torch
>>> torch.__version__
'2.2.0a0'

and the quick and dirty workaround
[root@f1ab4f0c967f foundation-model-stack]# git diff
diff --git a/setup.py b/setup.py
index 6b22418..c655f25 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ setup(
     description="IBM Foundation Model Stack",
     url="https://github.com/foundation-model-stack/foundation-model-stack",
     packages=find_packages(),
-    install_requires=["torch >= 2.2"],
+##    install_requires=["torch >= 2.2"],
     extras_require={"hf": ["transformers >= 4.40.2"]},
     license="Apache License 2.0",
     classifiers=[

torch.__version__ is 2.2.0a0 But setup.py contains this line install_requires=["torch >= 2.2"]
I believe 2.2.0a0 >= 2.2 is understood. But pip install -e . fails anyway.

Version 2.2.0a0 is an alpha pre-release of 2.2.0, so it's not >= 2.2.

My work around was to delete that setup.py line. There might be a better way to describe than torch >= 2.2, may be a wildcard?

torch >= 2.2.* would include pre and post releases of 2.2.0, so if the alpha pre-release must be included, that should fix the issue.

Here is additional detail.

I don't have a 2.2.0a0 installation of PyTorch handy (I guess it's built from source?) - please let me know if the new filter works for you.

the filter 2.2.* works.  I'd appreciate you patch setup.py and merge.
diff --git a/setup.py b/setup.py
index 6b22418..e11f0f6 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ setup(
     description="IBM Foundation Model Stack",
     url="https://github.com/foundation-model-stack/foundation-model-stack",
     packages=find_packages(),
-    install_requires=["torch >= 2.2"],
+    install_requires=["torch >= 2.2.*"],
     extras_require={"hf": ["transformers >= 4.40.2"]},
     license="Apache License 2.0",
     classifiers=[


Tableau and EC2 cluster config, ssh key generation, and bug fixes

Clustering is now supported via a new tableau_join.sh script. Any node which is not the first of the group will skip the tableau_setup.sh script (because it conflicts with cluster configuration) and instead it will wait for the user to run tableau_join.sh

Note, most Tableau clustering features require a validated license. However, I was able to create the following configuration using only the default 14-day license trial.

Other services throw licensing errors (upon restart) if you try to enable them without proper licensing.


language-plutus-core: drop containers-5.11 dependency

This isn't in the Stackage snapshot, which causes issues for packages that depend on language-plutus-core. For example, if package A from the snapshot depends on containers, then attempting to build B which depends on A and language-plutus-core will fail because we have two versions of the containers dependency. Concretely, this is a problem for https://github.com/input-output-hk/plutus-prototype/pull/33.
We should probably try to stick within the Stackage snapshot as much as possible. We can of course update them, but the latest 11-series snapshot doesn't have containers-5.11, and the 12-series uses GHC 8.4.3, which isn't in our Nixpkgs pin.
We could update our Nixpkgs pin from the 18.03 release tag to the tip of the 18.03-release branch, but I think it might be better to wait for 18.09 unless we really want some GHC 8.4.3 features. (I also think it's probably good to be using the same base version as Cardano).

I'm a little skeptical this is a good idea.  However, the version of containers that ghc depends on comes from the Stackage snapshot, so is a 5.10 version. That means that core-to-plc indirectly depends on containers-5.10 and containers-5.11, and `cabal configure barfs.
You can reproduce this by checking out https://github.com/input-output-hk/plutus-prototype/pull/33 and running nix build -f default.nix core-to-plc.
Generally though, we're going to have problems if we override the dependencies like this outside our Stackage snapshot - the whole point of that is to have a consistent set of package versions to avoid issues like this! And it would be fine if we hadn't pinned containers to a new version.

This still seems to be something wrong with out Nix setup, as ghc should depend on containers-5.11 rather than two versions of `containers.
I also do not use stack, and this seems to be a problem entirely created by depending on snapshots rather than using a dependency solver. If our Nix setup is incapable of doing what stack does already with overrides in the stack.yaml file, that's also a little suspect.

I don't believe that the stanza in the stack.yaml causes containers-5.11 to be used for all transitive dependencies. So I think you would observe the same problem with just Stack.
I appreciate that you don't use Stack, but a combination of Stack and Nix (which basically uses a translation of the Stackage snapshot) seems to be the canoncial tooling here, and if our software is going to build within IOHK's infrastructure we need to work with that. Which indeed means not relying on a dependency solver.

I don't believe that the stanza in the stack.yaml causes containers-5.11 to be used for all transitive dependencies.

I feel like it does. If I remove my local .stack-work folder and type stack build, it rebuilds everything including Cabal. But I do not think it rebuilds GHC.

So I think you would observe the same problem with just Stack.

stack build succeeds for me.

With stack build alone, it does indeed cause containers-5.11 to be used for all dependencies that depend on containers.

I feel like it does. If I remove my local .stack-work folder and type stack build, it rebuilds everything including Cabal. But I do not think it rebuilds GHC.

Doesn't this suggest the opposite? If it was overriding the dependency used for ghc in the Stackage snapshot, surely it would have to rebuild GHC?
If stack build works then I don't know what's wrong any more. Maybe a bug in stack2nix? I'm all ears if someone has another suggestion that fixes the problem.

Doesn't this suggest the opposite? If it was overriding the dependency used for ghc in the Stackage snapshot, surely it would have to rebuild GHC?

Sorry, silly wording. Yes, I mean, it rebuilds transitive dependencies modulo GHC. I do not know how this works.

Building your branch with stack build does seem to work for me as well so I'm a bit perplexed.

To be clear, I'm talking about the ghc package, which I think is separate from the installation of ghc itself.
When I run stack build it doesn't seem to rebuild the ghc package. However, stack build does succeed, which is weird :/
Maybe @disassembler can help us. @cleverca22 also commented on my Slack thread suggesting that Nix can't override the containers version - perhaps this is a known deviation from what you can do with Stack and with the Nix build?

Generally, I think, keeping things simple is a good rule to get a stable system. Given that we are working with an LTS snapshot, let's please not use anything that is not in the snapshot unless absolutely necessary.
(And TBH I don't really care whether it is cabal's fault, stack's fault, nix' fault, or some other tools.)
Please remember, we will have to build all this stuff together with Cardano SL at some point. Anything fancy that we do now, we'll probably have to rip out at that point anyway.

Removing the dependency on containers-<IP_ADDRESS> gives me the exact same error in Nix. Is there something I should be doing to make this patch fix your branch?

This patch does fix my branch if you merge it in. The only other thing I
did was regenerate the package set (which you do need to do).
On Mon, 20 Aug 2018, 19:12 Vanessa McHale<EMAIL_ADDRESS>wrote:

Removing the dependency on containers-<IP_ADDRESS> gives me the exact same
error in Nix. Is there something I should be doing to make this patch fix
your branch?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/input-output-hk/plutus-prototype/pull/36#issuecomment-414411535,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABnuivtBfRNgqK-syNNksYyJHNhPcaE2ks5uSvv2gaJpZM4WDwRJ
.

Ah okay ./pkgs/generate.sh gets things working.

@vmchale

Might be sensible to implement our own lookupMax in PlutusPrelude.

Sure, the code is open-source, so copying it in with attribution is fine.

I looked into that, we can replicate what we have here, but the one in
containers uses unexported constructors.
On Mon, 20 Aug 2018, 21:12 Manuel M T Chakravarty<EMAIL_ADDRESS>wrote:

@vmchale https://github.com/vmchale
Might be sensible to implement our own lookupMax in PlutusPrelude.
Sure, the code is open-source, so copying it in with attribution is fine.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/input-output-hk/plutus-prototype/pull/36#issuecomment-414447627,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABnuit4z8Rq_UwUt9bKHnVgpJzuHHfsoks5uSxgigaJpZM4WDwRJ
.

I'm going to merge this for now.


Color Set "FontColor" Missing from Colors.xcassets

Run time error indicating that "FontColor" resource is missing.
There are no labels showing on the Drum Pads Mini App.
Text may also be missing in other areas.

Thanks.


Style stuff

Style stuff requested by @jread-usgs . I'm going to merge to get it up before tomorrow morning. All graphs are now year, but easily configurable to month or week.

Thanks @ldecicco-USGS


Fix code scanning alert - Variable name "e" doesn't conform to snake_case naming style

Tracking issue for:

[ ] https://github.com/YourLabXYZ/PIP-Installer/security/code-scanning/8

Duplicate issue :

https://github.com/YourLabXYZ/PIP-Installer/issues/10
https://github.com/YourLabXYZ/PIP-Installer/security/code-scanning/14


Add support for DebugInfoRef during DWARF transform

Fixes #850
This patch refactors and optimizes how we track cross-references between DIEs in the .debug_info. The entire logic in moved into separate module. Adds support for DebugInfoRef attributes.

@fitzgen would you be ok taking a look at this? I'd try to review but I know nothing of DWARF myself...


Ban Appeal

Hello, I was banned previously for being a bit toxic to the staff, It has been quite a while, maybe a couple years even since it occurred.
I would love the chance to play on your server again, I do regret and apologize for the things I said.

Has been approximately year and half since your ban. 'Bit toxic to staff' is putting it very lightly, considering the various things you said to staff, including the server owner herself. Does beg the question why you'd want to return to the server, after the high disdain you held the server at. Regardless will be declining this appeal as it is very plain and doesn't recognise the severity of your actions and your ban.

Ok. No excuse for my actions, all I could do is prove it via action. Truly am apologetic, the lack of emotion that is portrayed via text makes that hard to tell. I honestly don't remember the majority of the argument or things I said, just remember getting in to it with one person specifically. I didn't really expect to be unbanned but enjoyed the server enough to donate previously so I thought bygones could be bygones and start a new. Cheers to you all and a happy new year.

I genuinely hope you seek help, @CannaCasual. That was honestly shameful, embarrassing, and completely deranged.


Why is specifying the extension required when reading files?

Why is specifying the extension required when reading files?
When the wrong one is specified, an empty dataframe is returned.
In [41]: fasta = session.read_fasta_file("Ns.fa", options=bb.FASTAReadOptions()).to_polars()

In [42]: fasta
Out[42]:
shape: (0, 3)
┌─────┬─────────────┬──────────┐
│ id  ┆ description ┆ sequence │
│ --- ┆ ---         ┆ ---      │
│ str ┆ str         ┆ str      │
╞═════╪═════════════╪══════════╡
└─────┴─────────────┴──────────┘

In [43]: fasta = session.read_fasta_file("Ns.fa", options=bb.FASTAReadOptions(file_extension="fa").to_polars()

In [44]: fasta
Out[44]:
shape: (1, 3)
┌──────┬─────────────┬─────────────────────────────────┐
│ id   ┆ description ┆ sequence                        │
│ ---  ┆ ---         ┆ ---                             │
│ str  ┆ str         ┆ str                             │
╞══════╪═════════════╪═════════════════════════════════╡
│ chr1 ┆ null        ┆ NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN… │
└──────┴─────────────┴─────────────────────────────────┘

In [47]: fasta = session.read_fasta_file("/home/luna.kuleuven.be/u0079808/Downloads/Ns.fa", options=bb.FASTAReadOptions(file_extension="fasta",)).to_polars()

In [48]: fasta
Out[48]:
shape: (0, 3)
┌─────┬─────────────┬──────────┐
│ id  ┆ description ┆ sequence │
│ --- ┆ ---         ┆ ---      │
│ str ┆ str         ┆ str      │
╞═════╪═════════════╪══════════╡
└─────┴─────────────┴──────────┘

It would be nice if the extension and compression would be automatically be detected by checking the extension(s) if not explicitly set.
Also at the moment: fasta_sequence_data_type option can't be set as FastaSequenceDataType is not exposed.

Thanks for bringing this up... it's setup to potentially treat many files as one table (e.g. a directory of FASTAs), which is why if you're not using .fasta it needs to be specified. But you're right that can/should be improved to automatically detect in the single file case.
I'll look into it this afternoon and try to resolve at least for FASTA files (along w/ compression).

This should work now for FASTA and FASTQ, except for the last one example in that if the user explicitly passes an option for which extension to use biobear will respect that. I've made #154 to continue to make file path options inferable ordered in rough priority. If there's a particular one you're interested in, happy to do that first. Thanks again for raising this!


[MM-16528] Currently selected options in single select list are not highlighted

Summary

Tracked the problem down to CSS.
One word change fixes it.

Asaad:

Would this break how you expect the UX to work? We're not highlighting the item that's already selected (the one already in the text area of the select box) we're highlighting the item that they are hovering over or currently cursoring through.

Links

Fixes MM-16528

@cpoile Can you send me a screenshot of what you're talking about? I don't know which component we're even talking about (specifically).

@asaadmahmood Here you go:


fix typo

fixing a minor typo: "Routes names must be unique" => "Route names must be unique"

@MaxHorstmann  Thanks!


seems to work on android, not iOS

tested this plugin on android, seems to work well, but on iOS its not catching the visibility. I used the install example.

I just pushed a better example with a sub page (/page2). I tested it on iOS simulator. I cannot see any problems. Can you go into detail?
// open app
_StartScreenState.onVisibilityChanged(VISIBLE) - {_StartScreenState}

// go to page2
_StartScreenState.onVisibilityChanged(INVISIBLE) - {_StartScreenState, _Screen2State}
_Screen2State.onVisibilityChanged(VISIBLE) - {_StartScreenState, _Screen2State}

// leave page2
_StartScreenState.onVisibilityChanged(VISIBLE) - {_StartScreenState}
_Screen2State.onVisibilityChanged(GONE) - {_StartScreenState}


Add table-based localization feature

Hi there,
Great library! Just discovered this today doing a localization project, and it really helps out. However, I noticed it doesn't provide any support for tabled localizations. For example, I'm localizing a lot of storyboard where the table name with be basename of (for example) StoryboardName.storyboard, giving the table name StoryboardName. In order to support this, I've added additional properties with the prefix table... as you can see. The format I've chosen so far is that the tableName is a prefix, separated from the rest of the key by a period. Then the rest of the value is used as the tabled key, and can include further periods (the rest of the array is joined if there are more components).
I wasn't sure how to handle the CSV properties. Actually the same approach could be used, but it would be better to strip out the repeated code to fileprivate helpers or something. Since I would call this an initial quick and dirty implementation (on a deadline here!), I thought it would be better to submit what I've done so far and get your feedback.
Thanks!

Hi, glad to hear that the lib is being useful. And thanks for the pull request.
I totally agree that the "tabled localization" is a must have feature. Some thoughts about the PR: I can't help to worry about all the duplicate code that is generated, it makes the code harder to maintain. Also, it is not a big issue but I wouldn't have chosen the dot (.) as a separator. It is commonly used to conform the keys (MainScreen.title) which makes it less readable in those situations.
What I am really thinking about is that it would be nice to have this functionality straight in the main properties (in stead of the tableXXX properties). Just like with your implementation, if the table is not specified, it wouldn't be used at all.
What do you think? Would that be useful for your project?

Hi there,
Happy to make any changes!

What do you suggest as a better naming pattern? I just chose what first came to mind.

Agreed on the code duplication. Again, this was just to have a quick solution. Best solution would be Swift default arguments, but I'm not sure this would work with KVC. Also, not sure if Optional<String> arguments are even possible, so this could mean requiring three methods in total. I can look into it, though.

Apologies if replies are slow

I don't see how you can apply default arguments in this case.
About the format, I would define a format that allows us to know whether there is a table specified just by looking at the first character, this is faster than searching for a character/string in the whole value.
I suggest the following format: [TABLE].KEY
As mentioned, if the first character is not '[', we can simply use the whole value as the key, and the performance penalty is minimal.
If it starts by '[', we look up the index of "]."  and we extract the table and key from the value.
I chose those symbols for readability, don't hesitate to propose something else.

Hi there,
Got a chance to look at this. Good suggestions. Have indeed gone with the format [tableName].key. Also this is quite clean by defining LocalizedString() and handling everything there. Let me know what you thin.

Great Job! I really like the LocalizedString implementation.
The only issue is that the project doesn't actually build. I checked out your branch and I had to add Helpers.swift to the project in order to make it run.
Do you want to fix it before I merge the branch? I don't mind fixing it otherwise.
Thank you!

Hi,
That might be quicker - hard for me to find time to look during the week. As for the project, I actually had to do a bunch of things to run the project locally (needing to link swift libraries was the main thing) for development. Undoing those changes is why I forgot to link the helpers. Do you need these changes locally as well?
In any case, glad to help!

I finally took the time to push your changes!!! :D
Thanks for your contribution!

Great! And no problem


Specify VS2022

@angelazhangmsft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

LGTM. Can be merged into docs.

@Court72


soundfiles and taxonworks

Hello, some time ago I asked about incorporation of soundfiles into taxonworks, as we know it from OrthopteraSpeciesFile.
Unfortunately I do not find my old issues, so I open a new one here.
Is there any short summary about the status of soundfile integration in particular, and the taxonworks - OSF migration in general?
Greetings from Uruguay, Klaus

Hi @klausriede.  Nice to hear from you.  Here is the old issue: https://github.com/SpeciesFileGroup/taxonworks/issues/244.  Nothing new to report for it, it simply hasn't become a priority yet. As the data issues (see below) are largely resolved it will likely creep back to the forefront.
There has been major improvements to the OSF/SF import process.  I'd suggest you contact @LocoDelAssembly or Maria Marta directly with specific questions regaring the current status.


When clicking on a Topic you always land at the Top of the stream

When clicking on a topic on the web app, you land at the top of the stream and have to scroll to the bottom. If you return to that Topic, you still land on the top of the stream. This happens with all topics.
I tested this in other groups and found the issue to persist.

this is not actually happening for me. the first time I load a topic it is taking me to the top, which is probably not what we want, but not sure we can do much about that right now, more to think about. but then if I scroll down the next to I load the page or go to the topic it is taking me down to about where I was. it does seem to be one post off though, which I think was actually on purpose, and works well for chat posts (so you see last post above the new one) but when the posts are full post cards it feels slightly off to go to the one above

but @KrishaTerranIO id love to double check what is happening for you since I cant reproduce

Uploaded a video from this AM.
https://user-images.githubusercontent.com/92816219/209252452-decd2d91-3d06-40b0-8d45-7b061f34a1f0.mov
Though when I went back it's no longer happening?


where is the "class tvip_delay_configuration"

hi taichi,
I cant find the class class tvip_delay_configuration,would you pls tell me the location?

https://github.com/taichi-ishitani/tvip-common
See this repository

ths, what about the location of "tue_agent" ?

https://github.com/taichi-ishitani/tue
see this repository

@sky1993-oppo ,
Can you close this issue?


product/mapgrid/outer

One feature of SplitApplyCombine that's missing from the Flexiverse is product/mapgrid/outer. Like this, but without the intermediate allocation.
julia> foo(f, a, b) = map(splat(f), grid(a,b));

julia> foo(*, 1:5, 10:10:100)
2-dimensional KeyedArray(...) with keys:
↓   5-element UnitRange{Int64}
→   10-element StepRange{Int64,...}
And data, 5×10 Matrix{Int64}:
      (10)  (20)  (30)  (40)  (50)  (60)  (70)  (80)  (90)  (100)
 (1)    10    20    30    40    50    60    70    80    90    100
 (2)    20    40    60    80   100   120   140   160   180    200
 (3)    30    60    90   120   150   180   210   240   270    300
 (4)    40    80   120   160   200   240   280   320   360    400
 (5)    50   100   150   200   250   300   350   400   450    500

grid(f, xs...) can support functions, not just types.

I don't like this because f might be iterable.

mapview(T, grid(xs...)) in FlexiMaps returns a (lazy) view

I was thinking eager, to start with.

Do you have a specific usecase in mind? This can help understanding what the ideal approach would be.
I almost never reach for something like this myself.

If you have f : A -> B -> C and a : Vector{A} and b : Vector{B} then the two ways to combine them are inner(f, a, b) (aka map/zipWith) and outer(f, a, b).
outer is just the array way of writing a double loop.
Good demos and analysis are in Outer Product as an Introduction to APL and a Pretty Cool Thing in General.
Identity matrix
julia> outer(==, 1:5, 1:5)
2-dimensional KeyedArray(...) with keys:
↓   5-element UnitRange{Int64}
→   5-element UnitRange{Int64}
And data, 5×5 Matrix{Bool}:
      (1)  (2)  (3)  (4)  (5)
 (1)    1    0    0    0    0
 (2)    0    1    0    0    0
 (3)    0    0    1    0    0
 (4)    0    0    0    1    0
 (5)    0    0    0    0    1

Upper triangular
julia> outer(≤, 1:5, 1:5)
2-dimensional KeyedArray(...) with keys:
↓   5-element UnitRange{Int64}
→   5-element UnitRange{Int64}
And data, 5×5 Matrix{Bool}:
      (1)  (2)  (3)  (4)  (5)
 (1)    1    1    1    1    1
 (2)    0    1    1    1    1
 (3)    0    0    1    1    1
 (4)    0    0    0    1    1
 (5)    0    0    0    0    1

Multiplication table

julia> outer(*, 1:5, 1:5)
2-dimensional KeyedArray(...) with keys:
↓   5-element UnitRange{Int64}
→   5-element UnitRange{Int64}
And data, 5×5 Matrix{Int64}:
      (1)  (2)  (3)  (4)  (5)
 (1)    1    2    3    4    5
 (2)    2    4    6    8   10
 (3)    3    6    9   12   15
 (4)    4    8   12   16   20
 (5)    5   10   15   20   25

Menu
julia> meat = ["chicken", "pork", "beef"]
       style = ["fried rice", "lo mein", "broccoli", "with black bean sauce"]
       outer((m,s)->"$m $s", meat, style)
2-dimensional KeyedArray(...) with keys:
↓   3-element Vector{String}
→   4-element Vector{String}
And data, 3×4 Matrix{String}:
               ("fried rice")          ("lo mein")          ("broccoli")          ("with black bean sauce")
  ("chicken")    "chicken fried rice"    "chicken lo mein"    "chicken broccoli"    "chicken with black bean sauce"
  ("pork")       "pork fried rice"       "pork lo mein"       "pork broccoli"       "pork with black bean sauce"
  ("beef")       "beef fried rice"       "beef lo mein"       "beef broccoli"       "beef with black bean sauce"

Pascal's triangle

julia> outer(binomial, 0:12, 0:12)
2-dimensional KeyedArray(...) with keys:
↓   13-element Vector{Int64}
→   13-element Vector{Int64}
And data, 13×13 Matrix{Int64}:
       (0)  (1)  (2)  (3)  (4)  (5)  (6)  (7)  (8)  (9)  (10)  (11)  (12)
  (0)    1    0    0    0    0    0    0    0    0    0     0     0     0
  (1)    1    1    0    0    0    0    0    0    0    0     0     0     0
  (2)    1    2    1    0    0    0    0    0    0    0     0     0     0
  (3)    1    3    3    1    0    0    0    0    0    0     0     0     0
  (4)    1    4    6    4    1    0    0    0    0    0     0     0     0
  (5)    1    5   10   10    5    1    0    0    0    0     0     0     0
  (6)    1    6   15   20   15    6    1    0    0    0     0     0     0
  (7)    1    7   21   35   35   21    7    1    0    0     0     0     0
  (8)    1    8   28   56   70   56   28    8    1    0     0     0     0
  (9)    1    9   36   84  126  126   84   36    9    1     0     0     0
 (10)    1   10   45  120  210  252  210  120   45   10     1     0     0
 (11)    1   11   55  165  330  462  462  330  165   55    11     1     0
 (12)    1   12   66  220  495  792  924  792  495  220    66    12     1

Preserves associativity  f
julia> outer(*, outer(*, 'a':'d', 'A':'D'), 'α':'δ') == outer(*, 'a':'d', outer(*, 'A':'D'), 'α':'δ') # true

I think that isn't associative for associative f like *.
julia> outer(*, 1:3, 10:10:30)
2-dimensional KeyedArray(...) with keys:
↓   3-element UnitRange{Int64}
→   3-element StepRange{Int64,...}
And data, 3×3 Matrix{Int64}:
      (10)  (20)  (30)
 (1)    10    20    30
 (2)    20    40    60
 (3)    30    60    90

julia> outer(*, outer(*, 1:3, 10:10:30), 100:100:300)
ERROR: MethodError: no method matching grid(::KeyedArray{Int64, 2, Matrix{Int64}, Tuple{UnitRange{Int64}, StepRange{Int64, Int64}}}, ::StepRange{Int64, Int64})

but probably you are looking for 3d array, right?

Right.

julia> using AxisKeys

julia> outer(f, a, b) =
           KeyedArray(collect(Iterators.map(splat(f), Iterators.product(a, b)));
               NamedTuple(dimnames(a) .=> axiskeys(a))...,
               NamedTuple(dimnames(b) .=> axiskeys(b))...,
           )
outer (generic function with 1 method)

julia> ka1 = KeyedArray(1:2, i='a':'b')
1-dimensional KeyedArray(NamedDimsArray(...)) with keys:
↓   i ∈ 2-element StepRange{Char,...}
And data, 2-element UnitRange{Int64}:
 ('a')  1
 ('b')  2

julia> ka2 = KeyedArray(3:5, j='A':'C')
1-dimensional KeyedArray(NamedDimsArray(...)) with keys:
↓   j ∈ 3-element StepRange{Char,...}
And data, 3-element UnitRange{Int64}:
 ('A')  3
 ('B')  4
 ('C')  5

julia> ka3 = KeyedArray(6:9, k='α':'δ')
1-dimensional KeyedArray(NamedDimsArray(...)) with keys:
↓   k ∈ 4-element StepRange{Char,...}
And data, 4-element UnitRange{Int64}:
 ('α')  6
 ('β')  7
 ('γ')  8
 ('δ')  9

julia> @assert outer(*, outer(*, ka1, ka2), ka3) == outer(*, ka1, outer(*, ka2, ka3))

julia> outer(*, outer(*, ka1, ka2), ka3)
3-dimensional KeyedArray(NamedDimsArray(...)) with keys:
↓   i ∈ 2-element StepRange{Char,...}
→   j ∈ 3-element StepRange{Char,...}
◪   k ∈ 4-element StepRange{Char,...}
And data, 2×3×4 Array{Int64, 3}:
[:, :, 1] ~ (:, :, 'α'):
         ('A')  ('B')  ('C')
  ('a')  18     24     30
  ('b')  36     48     60

[:, :, 2] ~ (:, :, 'β'):
         ('A')  ('B')  ('C')
  ('a')  21     28     35
  ('b')  42     56     70

[:, :, 3] ~ (:, :, 'γ'):
         ('A')  ('B')  ('C')
  ('a')  24     32     40
  ('b')  48     64     80

[:, :, 4] ~ (:, :, 'δ'):
         ('A')  ('B')  ('C')
  ('a')  27     36     45
  ('b')  54     72     90

julia> outer(vcat, outer(vcat, ka1, ka2), ka3)
3-dimensional KeyedArray(NamedDimsArray(...)) with keys:
↓   i ∈ 2-element StepRange{Char,...}
→   j ∈ 3-element StepRange{Char,...}
◪   k ∈ 4-element StepRange{Char,...}
And data, 2×3×4 Array{Vector{Int64}, 3}:
[:, :, 1] ~ (:, :, 'α'):
         ('A')        ('B')        ('C')
  ('a')    [1, 3, 6]    [1, 4, 6]    [1, 5, 6]
  ('b')    [2, 3, 6]    [2, 4, 6]    [2, 5, 6]

[:, :, 2] ~ (:, :, 'β'):
         ('A')        ('B')        ('C')
  ('a')    [1, 3, 7]    [1, 4, 7]    [1, 5, 7]
  ('b')    [2, 3, 7]    [2, 4, 7]    [2, 5, 7]

[:, :, 3] ~ (:, :, 'γ'):
         ('A')        ('B')        ('C')
  ('a')    [1, 3, 8]    [1, 4, 8]    [1, 5, 8]
  ('b')    [2, 3, 8]    [2, 4, 8]    [2, 5, 8]

[:, :, 4] ~ (:, :, 'δ'):
         ('A')        ('B')        ('C')
  ('a')    [1, 3, 9]    [1, 4, 9]    [1, 5, 9]
  ('b')    [2, 3, 9]    [2, 4, 9]    [2, 5, 9]


Fix doc build by pinning VTK version.

@courtneyambrozic , something changed in the latest VTK update that breaks mayavi. I'm pinning the doc build job to the previous working version. I'm not sure that anything needs to be done for the CVPy build, but I wanted to let you know about my findings.
Here is proof of a successful run.
Am I okay to merge this update?

The issue was fixed in Mayavi version 4.8.1: https://github.com/enthought/mayavi/issues/1179. I was able to run pip install mayavi without installing an older version of VTK. I'm leaving the doc build as is for now.


Slow Navigation between screens

I'm not sure, what is causing this slow navigation between screens, specially the library screen and extensions screen, If anyone has any idea, how to improve the navigation, let me know

I think it's because of image loading, when I use smaller image, the library screen load a lot faster

I think I found the issue.


Is there any option to resize the preview dyanamically

The HelloCamera2 it is really good. I am looking for resizing the preview during Camera on. Is there any option could you please help me

Hi I'm new to android development, I usually add libraries to my project in dependencies using compile or implementation. Or .jar file. I couldn't find in documentation on how to add this library to my project. Please help. Thank you.

Hi I'm new to android development, I usually add libraries to my project in dependencies using compile or implementation. Or .jar file. I couldn't find in documentation on how to add this library to my project. Please help. Thank you.


Remove hardcoded repo paths when posting pr comments

This assumes some parameters are correct for organisations as well
as user repos, I'm not convinced but GitHub docs aren't clear.

Coverage decreased (-0.5%) to 58.67% when pulling 49156b7eced9583b6cb3d7e9432df08348a20ffa on fix-hardcoded into 167c5f4a50d5c53bddaaf204d94fa8f4d402407a on master.


Hive of Vec4f - static_assert - extented alignment

Not an issue but with Visual Studio 2022 - 14.32.31326 - /cpp lastest:
Related to:
typedef typename std::aligned_storage<sizeof(element_type), (sizeof(element_type) >= (sizeof(skipfield_type) * 2) || alignof(element_type) >= (sizeof(skipfield_type) * 2)) ? alignof(element_type) : (sizeof(skipfield_type) * 2)>::type aligned_element_type; // align element to be at-least 2*skipfield_type width in order to support free list indexes in erased element memory space
Produces this static_assert:
type_traits(987,19): error C2338: static_assert failed: 'You've instantiated std::aligned_storage<Len, Align> with an extended alignment (in other words, Align > alignof(max_align_t)). Before VS 2017 15.8, the member "type" would non-conformingly have an alignment of only alignof(max_align_t). VS 2017 15.8 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility (*only* for uses of aligned_storage with extended alignments). Please define either (1) _ENABLE_EXTENDED_ALIGNED_STORAGE to acknowledge that you understand this message and that you actually want a type with an extended alignment, or (2) _DISABLE_EXTENDED_ALIGNED_STORAGE to silence this message and get the old non-conforming behavior.
So by default it refuse to compile need to explicit: _ENABLE_EXTENDED_ALIGNED_STORAGE or _DISABLE_EXTENDED_ALIGNED_STORAGE.

Implemented, thanks-


Location and setting of parameters is a mess

At the moment, parameters are defined all over the place, sometimes with units, sometimes without.
The current function setup_relative_calculations.getSetupOptions() doesn't throw an error if you try run a calculation with a random variable that doesn't mean anything.
We need one place, where all simulation default parameters are stored. A simulation yaml file can overwrite defaults if they are assigned, but an error is thrown if there's something in the yaml file that's not seen
Also -- setup_relative_calculation has a mash up of repex/sams/neq code in hard-to-read if statements.
I think that we should:
have a file called defaults
class SimulationParameters():
class RepexSimulationParameters(SimulationParameters)
class NEQSimulationParameters(SimulationParameters)
class FAHParameters(SimulationParameters)
class MutationSimulationParameters()...
etc.
setup_relative_calculation should be straight up deleted, and we should have separate files called
run_repex.py, run_neq.py, run_fah.py ... and so on, and these should each have an entry point of
perses-repex
perses-neq
perses-fah
perses-mutate
etc, which just calls to
def run(filename=None):
sp = RepexSimulationParameters(filename)
do_setup(**sp)

sounds great. would it make more sense to include protein mutation simulations in the perses-repex and perses-neq entry points instead of having a separate perses-mutate entry point? we could make the default small molecule, but specify if we want to run on a protein mutation instead. And same thing would apply for the defaults file?