League\Glide\Api\Manipulator\Output::getQuality falls back to default if param is not string

if (!ctype_digit($quality)) {
            return $default;
        }

returns $default value, if $quality param is integer.

Yes, technically the getQuality() method will return the default value if a non-string is provided. However, this value will always be a string since it's accessed via the Symfony\Component\HttpFoundation\Request object, as you can see here.
What that means is, even if you pass in integers (like below), HttpFoundation will automatically convert them to strings, and the result is getQuality() should never actually recieve anything other than a string or null.
$glide->outputImage(
    'kayaks.jpg',
    [
        'w' => 300,
        'q' => 50
    ]
);

Please let me know if you have a particular use-case where this isn't the case.

Hello @reinink, thanks for the answer!
Im using glide like this:
$request = \Symfony\Component\HttpFoundation\Request::createFromGlobals();
$variant = $request->query->getAlnum('variant', 'thumb');
$variants = [
	'thumb' => [
		'fm' => 'jpg',
		'q' => '30', // Must be string https://github.com/thephpleague/glide/issues/59
		'fit' => 'crop',
		'w' => '500',
		'h' => '375',
		'sharp' => '10',
	],
	'thumbRect' => [
		'fm' => 'jpg',
		'q' => '30', // Must be string https://github.com/thephpleague/glide/issues/59
		'fit' => 'crop',
		'w' => '300',
		'h' => '300',
		'sharp' => '10',
	],
	'detail' => [
		'fm' => 'jpg',
		'q' => '50', // Must be string https://github.com/thephpleague/glide/issues/59
		'fit' => 'crop',
		'w' => '1600',
		'h' => '1200',
	],
];

if (!isset($variants[$variant]))
{
	$response = new \Symfony\Component\HttpFoundation\Response('', 400);
	$response->send();
	die();
}

$request->query->add($variants[$variant]);
$server->outputImage($request);

I'm modifying request with hardcoded image variant params and passing it to outputImage method...

Right, that makes sense. The Glide RequestFactory automatically converts all parameters to strings, which prevents this issue. However, it makes sense to allow integers as well, so thanks for pointing that out!

Closing this ticket. I've fixed this bug and it has been merged into the master branch and will be tagged shortly when I release v1.0! Hopefully not long now.


upgrade to go v1.22.7

Reason for Change:
Upgrade to go v1.22.7 for CVE fixes
Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] relevant PR labels added

Notes:

the only currently released version of NPM is in the 1.5 train, bypassing that requirement here since other relevant checks have passed


[Spike] DCOS-53721: update jobs config page

Update configuration tab of job details page to reflect new form options.
Included in this PR:

Updated General section
Container section (including docker parameters)
Schedule section
Labels section
Environment Variables section

Not implemented, to be done in separate tasks:

Run config section
Secrets
Volumes
Placement constraints

Testing
Create jobs with different configurations, for example:

With/without a schedule
With UCR, Docker, and no container
With/without environment variables
With/without labels
Ensure that the configuration tab reflects the job configuration.

Trade-offs
The job property being passed to the JobsConfiguration component is the result of a graphql query that returns a flattened but incomplete job config as well as a stringified complete job json configuration. I decided that changing the graphql query to include all necessary properties, as well as develop types for the return of the query, was out of scope for this work. For this reason, the complete parsed job json is used.
Dependencies
N/A
Screenshots
With labels and env vars:

With docker container + parameters:

With schedule:

@GeorgiSTodorov Thanks for the reminder about the translations! We poll jobs every 2s so the slight lag comes from waiting to get the updated job details.

@natmegs , file conflicts.

This should be postponed until #3866 has been decided or merged.

#3866 got merged 🎉

If a section has no data in the services configuration tab, we leave it empty. Is there a reason we need to show an empty state for the jobs configuration?

@mperrotti The table is used for the key/value sections like env vars and labels (anything that isn't the standard single value with a label). This is used in the services config components as well for example here https://github.com/dcos/dcos-ui/blob/master/plugins/services/src/js/service-configuration/ServiceLabelsConfigSection.js#L100

@mperrotti good catch on the empty env var section - the rest of the sections don't get displayed if they are empty but I forgot to filter out the secrets in the env object before checking whether it's empty. Should be fixed now

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


git clone fails due to "invalid author/committer line"

$ git --version
git version 2.17.0
$ git clone git@github.com:isagalaev/highlight.js.git
Cloning into 'highlight.js'...
remote: Counting objects: 30118, done.
error: object c15765f108a2799a540bf4fd7bd9aa85542a8720: missingNameBeforeEmail: invalid author/committer line - missing space before email
fatal: Error in object

work-around:
$ git clone \
    --config transfer.fsckobjects=false \
    --config receive.fsckobjects=false \
    --config fetch.fsckobjects=false \
    git@github.com:isagalaev/highlight.js.git

the offending commit appears to be an empty commit at the very root of the repo:
$ git log --oneline | tail -n 5
f3c214ec Документация keyword'ов в правилах CSS
cdc28436 Подсчет keyword'ов отдельно от релевантности, список keyword'ов CSS
43fc58e1 Документация и test.html
8e819059 Initial commit
c15765f1

$ git show c15765f108a2799a540bf4fd7bd9aa85542a8720
commit c15765f108a2799a540bf4fd7bd9aa85542a8720
Author:  <>
Date:   Sat Aug 19 12:20:57 2006 +0000

so there's probably no option to rewrite history to fix it

This is really annoying, however 😞

Git push --force ?

Maybe you need a newer git version? This surprises me as I’ve never had a single problem cloning the repository.

Maybe you need a newer git version? This surprises me as I’ve never had a single problem cloning the repository.

Or this issue is depend the operation system? My git version: 2.17.1 (Ubuntu Linux 18.04), not the latest, but not outdated.

Mac OS here. git version 2.28.0.
I have none of those fsck settings enabled.
 % git clone git@github.com:isagalaev/highlight.js.git          2.7.1
Cloning into 'highlight.js'...
remote: Enumerating objects: 25, done.
remote: Counting objects: 100% (25/25), done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 35652 (delta 7), reused 6 (delta 0), pack-reused 35627
Receiving objects: 100% (35652/35652), 10.83 MiB | 9.64 MiB/s, done.
Resolving deltas: 100% (23431/23431), done.

Still fails to clone on macOS, git version 2.37.0.
git clone https://github.com/highlightjs/highlight.js.git
Cloning into 'highlight.js'...
remote: Enumerating objects: 44237, done.
remote: Counting objects: 100% (108/108), done.
remote: Compressing objects: 100% (80/80), done.
error: object c15765f108a2799a540bf4fd7bd9aa85542a8720: missingNameBeforeEmail: invalid author/committer line - missing space before email
fatal: fsck error in packed object
fatal: fetch-pack: invalid index-pack output

Try cloning via ssh?

Same thing
git clone git@github.com:highlightjs/highlight.js.git
Cloning into 'highlight.js'...
remote: Enumerating objects: 44237, done.
remote: Counting objects: 100% (108/108), done.
remote: Compressing objects: 100% (80/80), done.
error: object c15765f108a2799a540bf4fd7bd9aa85542a8720: missingNameBeforeEmail: invalid author/committer line - missing space before email
fatal: fsck error in packed object
fatal: fetch-pack: invalid index-pack output

No idea.  Works here with pretty standard gitconfig and both Mac and latest (homebrew git):
% git -v
git version 2.37.0 (Apple Git-136)
josh.goebel@mac work % rehash
josh.goebel@mac work % git -v
git version 2.38.1
josh.goebel@mac work % git clone https://github.com/highlightjs/highlight.js.git
Cloning into 'highlight.js'...
remote: Enumerating objects: 44237, done.
remote: Counting objects: 100% (108/108), done.
remote: Compressing objects: 100% (80/80), done.
remote: Total 44237 (delta 49), reused 73 (delta 28), pack-reused 44129
Receiving objects: 100% (44237/44237), 13.86 MiB | 16.78 MiB/s, done.
Resolving deltas: 100% (29795/29795), done.
josh.goebel@mac work % rm -rf highlight.js
josh.goebel@mac work % /usr/bin/git clone https://github.com/highlightjs/highlight.js.git
Cloning into 'highlight.js'...
remote: Enumerating objects: 44237, done.
remote: Counting objects: 100% (108/108), done.
remote: Compressing objects: 100% (81/81), done.
remote: Total 44237 (delta 49), reused 72 (delta 27), pack-reused 44129
Receiving objects: 100% (44237/44237), 13.87 MiB | 18.00 MiB/s, done.
Resolving deltas: 100% (29826/29826), done.


Hidden entity filter card uses space

Entity filter cards apparently use space even when they are hidden (if they are empty). Is that expected behaviour?

Hmmm, that's an unfortunate side effect. The layout engine doesn't know a card is going to decide to show itself yes or no. So it will divide the screen in columns based on that a card config will produce a card.


Hide the language selector if there is only one language

Questions
Answers

Branch?
dev

Description?
Hide the language selector if there is only one language

Type?
improvement

Category?
MO

BC breaks?
no

Deprecations?
no

Fixed ticket?
http://forge.prestashop.com/browse/BOOM-1299

How to test?
BO: Install at least 2 languagesFO: You should see the selectorBO: Remove all the languages except oneFO: You should not see the selector

Thanks!


vendor: Update virtcontainers vendoring

Update virtcontainers version vendored into the runtime, addding the
new nsenter package so that our shims are now entering both network
and PID namespaces.
It also includes new Kata Containers agent protocol updates related
to networking and devices. Those are needed for latest network
support, block device passthrough, and devicemapper rootfs.
It also fixes some linter errors and improve the docs.
Shortlog:
4f9cb18 kata_agent: Add nouuid option for xfs filesystem
085848b kata_agent: Provide hotplugged device the right rootfs path
9ef18a6 kata_agent: Update host and guest paths for Kata
2c88b8e kata_agent: Wait for rootfs if it is a hotplugged device
15a4d17 kata_agent: Support block device passthrough
fd5b27f vendor: Update Kata agent protocol
0519e89 check: lint: ineffassign in qemu.go
ae661c5 network: Fix lint errors
5c73774 shim: Start shims inside PID namespace
6d7f6e5 shim: Add ability to enter any set of namespaces
f318b77 shim: Add the ability to spawn the shim in new namespaces
fefb087 pkg: nsenter: Introduce a generic nsenter package
43c05c2 utils: setup: Add some more prereq checks to the setup script.
1a25bad docs: developers: Add some developer docs
43c9ed3 kata-agent: add initial test for kata-agent networking
082ec3f kata-agent: add network gRPC support
4b30262 setup: #!/bin/bash in the wrong place
8b7fddf vendor: re-vendor kata-containers agent
Fixes #1043
Signed-off-by: Sebastien Boeuf<EMAIL_ADDRESS>

Replaces #1039 as it includes it.

lgtm

@grahamwhaley if metrics failures are not significant, please go ahead and merge this one :)

Hi @sboeuf metrics are not currently blocking, but they are interesting to check what happened (as we improve them to the point where we can make them blocking).
It helps if you have a peek in the logs and see if you can tell why they failed.
In this case almost all the IO metrics fell below where we expected...
@sboeuf @amshinde @devimc , do we think there is anything in this revendor that could hit the storage IO? If so, let me know, and I can do some hand-runs to verify or disprove...

@grahamwhaley no, nothing in particular should impact the IO since most of this revendoring is related to Kata Containers (you don't test Kata, do you ?). And the other main thing is about putting our shims into some PID namespaces, which should not change anything regarding the IO.

@grahamwhaley We did move from virtio-block to scsi, which is supposed to be slower performance wise. We need to see how this has affected the I/O benchamarks.

@amshinde yes sure, but this is not part of this vendoring, it has already been merged in a previous PR.

@grahamwhaley -- I think this is an example of why we should have our metrics running in virtcontainers instead of runtime.  Majority of the metric-depleting-features and bugs will be introduced at that level instead of here.  What do you think?  It'd be easier to catch sooner rather than just when we revendor.
I guess this won't be an issue once we move to kata?

Ok so let me paste the errors here:
| Fail | storage-IO-linear-read-bs-16k   | 180000.000 | 158467.690 | 300000.000 | 66.7 %  |     1 |     0.000 | 0.00 %  |
| Fail | storage-IO-linear-write-bs-16k  | 150000.000 | 147874.290 | 300000.000 | 100.0 % |     1 |     0.000 | 0.00 %  |
| Fail | storage-IO-random-write-bs-16k  | 150000.000 | 141030.530 | 300000.000 | 100.0 % |     1 |     0.000 | 0.00 %  |

I have noticed that we have merged the vendoring PR #1037 from @amshinde introducing this metrics error:
| Fail | storage-IO-random-write-bs-16k  | 150000.000 | 145717.380 | 300000.000 | 100.0 % |     1 |     0.000 | 0.00 %  |

I am thinking those issues are the same. I am going to raise a test PR on the runtime repo with virtio-blk as the default driver for block devices, and we'll see if this improves things.

@sboeuf I think the failures are mostly due to SCSI changes. I am trying to make sense of the failures here, by how much performance has regressed due to SCSI.
@grahamwhaley Can you provide some insight.
@sboeuf  PR #1037 failed for PnP before it was merged, an earlier run did pass though:
https://clearlinux.org/cc-ci/job/clear-containers-runtime-16.04-PR/150/console

@amshinde , you asked for some insight. The easiest thing is to look back at a PR that passed. Having a look at the logs for #1038, we can see:
+------+---------------------------------+------------+------------+------------+---------+-------+-----------+---------+
| P/F  |              NAME               |   FLOOR    |    MEAN    |  CEILING   |   GAP   | ITERS |    SD     |   COV   |
+------+---------------------------------+------------+------------+------------+---------+-------+-----------+---------+
| Pass | storage-IO-linear-read-bs-16k   | 180000.000 | 219922.530 | 300000.000 | 66.7 %  |     1 |     0.000 | 0.00 %  |
| Pass | storage-IO-linear-write-bs-16k  | 150000.000 | 199772.880 | 300000.000 | 100.0 % |     1 |     0.000 | 0.00 %  |
| Pass | storage-IO-random-read-bs-16k   | 150000.000 | 200365.270 | 300000.000 | 100.0 % |     1 |     0.000 | 0.00 %  |
| Pass | storage-IO-random-write-bs-16k  | 150000.000 | 166210.260 | 300000.000 | 100.0 % |     1 |     0.000 | 0.00 %  |

We should note that storage tests are quite noisy anyhow, so we expect to see some variation, and whilst we are refining the tests and the bounds check values at present, sometimes we do see the occasional check fail - but - to see three of the checks fail all substantially below what we normally see and the lower bounds check, it does feel like something has regressed.
Let's see if we can get some info from #1046 ... if that also hints we have a regress, then we can do some multiple hand-runs to get better info.

@egernst Yes, we should probably run the metrics on both vc and the runtime(s).
Now we have the CI working with vc that does the magic re-vendoring, I think that is feasible (just had a peek at the scripts).
But, also, given the discussion of moving vc over to the kata-containers home, and that the metrics are not quite stable yet, I vote we delay implementing metrics on vc until the decision has been made as to where it lives for use with kata - OK?

@sboeuf could you please re-vendor, to include latest changes of virtcontainers

@devimc yeah I will, but we need to get the metrics CI fixed before we move forward on this.

@egernst @amshinde @devimc the re-vendoring PR is ready to be merged.

lgtm

Merging these changes despite being blocked by coveralls finishing.  I think this is appropriate given the known issue with coveralls never completing (is there an issue for this @sboeuf @jodh-intel?).
Since this is a vendoring pull only, I think the usefulness of coveralls is limited as well.

Hi @egernst - yep, that's fine. There is a strange issue with coveralls/github reporting somewhere. When coveralls appears to be "stuck", if you look at the end of the 16.04 build log, you'll generally see that coveralls did run, as happened here:

https://coveralls.io/jobs/34375926


Feat/icon view size 72

Добавлен размер 72
https://jira.moscow.alfaintra.net/browse/DS-7080

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.005%) to 82.455%

Totals

Change from base Build<PHONE_NUMBER>4:
0.005%

Covered Lines:
10579

Relevant Lines:
11725

💛  - Coveralls


Add Chani Picture

Optional: Try to add chani's picture to the main menu, and any place that
seems appropriate.

Completed, closed.


"Unable to modify the shortcut"

Steps to reproduce
Right-click title bar of PowerShell 7.1.2 (or any 7.x.x version) and choose Properties.  Make any number of changes in any of the tabs, then click OK.
Expected behavior
The expectation is that these settings would be saved.
Actual behavior
An error occurs:
---------------------------
Error Updating Shortcut
---------------------------
Unable to modify the shortcut:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\PowerShell\PowerShell 7 (x64).lnk.
Check to make sure it has not been deleted or renamed.
---------------------------
OK
---------------------------

I have seen solutions around the internet which involve steps like creating a new shortcut to the existing shortcut, yada yada (stuff that shouldn't be necessary).
Environment data
>$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.1.2
PSEdition                      Core
GitCommitId                    7.1.2
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Still exists in latest release.

PowerShell msi is installed on system, not user. It is how MSI works. The shortcut is protected by OS permissions.
You can create a custom shortcut and modify its properties.

It is hideous, regardless of if it is MSI's fault.  Someday, this will be realized and the issue will be addressed somehow.  Maybe I'm wrong, certainly seems like this issue is pretty specific to PowerShell, just can't think of another program to compare with because, nothing else needs to modify the shortcut to save these kinds of basic preferences.
  It's a garbage feature, period.  Windows terminal addresses this by taking over for it in this area.  That alone is enough to point out it could be addressed some other way, rather than blaming MSI.

If you use personal device you can change manually permissions on the shortcut file.

If you use personal device you can change manually permissions on the shortcut file.

It is an personal pc and it still doesn't let me create a shortcut that it recognize to be edited

Didn't realize @iSazonov teed this up for closure.  Great.  Oh well, moving on again.  Someday... It maybe Microsoft will just revive Windows PowerShell again and fix things there.

PowerShell msi is installed on system, not user. It is how MSI works. The shortcut is protected by OS permissions. You can create a custom shortcut and modify its properties.

I had this general problem too.
Thank you for the tip @iSazonov, it can be used as a temporary workaround.

Another workaround:

Drag and drop (copy) the shortcut from %ProgramData%\Microsoft\Windows\Start Menu\Programs\PowerShell to some place that does not require admin to edit stuff.

I chose target %USERPROFILE%\Desktop.

Edit the shortcut, I wanted to change font and did it from right click -> properties -> font.
Drag and drop while holding SHIFT (overwrite) your modified shortcut from  %USERPROFILE%\Desktop back to %ProgramData%\Microsoft\Windows\Start Menu\Programs\PowerShell.

Will ask for admin permissions.


Fix some typos in the docs

This fixes some minor typos that I noticed while reading the docs.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4a2806a).

Continue to review full report at Codecov.

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

Nice! Thanks for taking the time to fix all of these! 😁


[CANNOLI-160] Rename -fasta_reference to -reference.

Fixes #160

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/cannoli-prb/160/
Test PASSed.

Coverage remained the same at 18.194% when pulling 19c503d87d9fe0a60e2ba95593bf38e02042e8ac on heuermh:issue-160 into 7b0a89fd959e3bf48b25eb25a5496d6d0eae93a3 on bigdatagenomics:master.


If the static lib wasn't built with pie, it's incompatible with -pie …

…linking

ok, so the problem is the following: depending on the flags libc++_static got compiled with, we want to use either pie or no-pie. And that's dependent on the system we're running on... so we should start by inspecting the archive to determine its status


PDF first page is displaying as blank in Safari browser

PDF first page is displaying as blank in Safari browser
PDF first page is displaying as blank in Safari browser.
Configuration:

Web browser and its version: Safari Browser version : Safari Browser version 16.1
Operating system and its version: Apple macOS 10.14 (
PDF.js version:
Is a browser extension: No

Steps to reproduce the problem:

Open any PDF or PDF.js Demo in safari browser
2.First page is displayed as blank

What is the expected behavior? (add screenshot)
First page should display the content
What went wrong? (add screenshot)

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

PDF.js version:

The part of the ISSUE_TEMPLATE must always be provided.

Steps to reproduce the problem:

Open any PDF or PDF.js Demo in safari browser
First page is displayed as blank

If this is specific to just one browser, that unfortunately suggest a browser-specific bug (since otherwise you'd expect it to be consistently broken everywhere); please report this to the Safari-developers instead.


Display name attribute is not working for ldap

Describe the issue:
Display name attribute of the userstore configuration is not working for ldap as mentioned in the docs[1]. Furthermore this is not reproducible in IS-5.9.0.
How to reproduce:

Add the following configuration to the deployment.toml file under the userstore configurations.

[user_store]
display_name_attribute = "scimid"

Restart the server, log into management console and list the users. Then you will observe that users are not listed with scimid but listed with username.

Expected behavior:
When you list users in the management console, the Display Name Attribute is the name by which users should be listed.
Suggested fix
The following line needs to be added in [2] to get the comined username with the display name  similarly to the ReadOnlyLDAPUserStoreManager doListUsers method[3].
name = UserCoreUtil.getCombinedName(domain, name, display);

Then the user list retrive operation in [4] needs to be changed as follows.
                userList = doListUsersWithID(filter, maxItemLimit)
                        .stream()
                        .map(User::getUsername)
                        .toArray(String[]::new);

Environment information

Product Version: Latest WUM updated IS 5.10.0
Userstore: LDAP

Related issues:
https://github.com/wso2/product-is/issues/7194
[1] https://is.docs.wso2.com/en/latest/setup/configuring-a-read-write-ldap-user-store/#properties-used-in-read-write-ldap-user-store-manager
[2] https://github.com/wso2-support/carbon-kernel/blob/support-4.6.0/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/ldap/UniqueIDReadOnlyLDAPUserStoreManager.java#L807
[3] https://github.com/wso2-support/carbon-kernel/blob/support-4.6.0/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/ldap/ReadOnlyLDAPUserStoreManager.java#L1031
[4] https://github.com/wso2-support/carbon-kernel/blob/support-4.6.0/core/org.wso2.carbon.user.core/src/main/java/org/wso2/carbon/user/core/common/AbstractUserStoreManager.java#L5994-L5997

@GANGANI is this already fixed in public?

@GANGANI is this already fixed in public?

No. This issue is reproducible in the latest pack also.


Key encryption

Keys saved to file should be encrypted with a password

store wallets in a better location, probably not $APP, it's nice having them right next to the binary (keeps the clean up very simple), but would probably be good to have in a 'wallet' dir instead of files directly alongside to the binary.

DONE see https://github.com/iancoleman/wallet_gui_for_sn/commit/62cfb3cf1b0e12d8ba0fbaf3bb87b06f0d7f2b91

'backup' panel that shows the mnemonic should prompt for the password to decrypt the mnemonic

DONE see https://github.com/iancoleman/wallet_gui_for_sn/commit/8a943d9c7a5b1a5a3cd23e3e396048da9fbe2bf3 which uses aes-gcm-siv to encrypt the entropy, and argon2 to do key stretching on the password.

clear the mnemonic when navigated away from the 'backup' panel

DONE see https://github.com/iancoleman/wallet_gui_for_sn/commit/36122858174498e66f46a65e6e88eec908c95ace

'restore' panel needs to be completed, to allow loading from an existing mnemonic. This panel should also enable creating new random wallets.

DONE the restore tab is removed and is now part of the 'wallets' tab, which allows creating a new wallet with an existing mnemonic (as well as generate a new wallet with random mnemonic), see https://github.com/iancoleman/wallet_gui_for_sn/commit/d88fc1b55abedf64765167574ce36cd6c4ebc3ef

any signing operations should require the password to unlock the mnemonic

list of public keys for receiving should not require unlocking the mnemonic. Unfortunately eip2333 doesn't have an xpub type of concept to derive public keys, so this must be stored as a list of pubkeys and a buffer / gap used to ensure when new addresses are needed they're available.

DONE see https://github.com/iancoleman/wallet_gui_for_sn/commit/8a943d9c7a5b1a5a3cd23e3e396048da9fbe2bf3 which implements a Wallet struct

With most of this done the last bit about signing needing decryption will be moved to a separate issue and this one closed.


fix: remove use of label ctor in repo rule impl to avoid restarts

Removes the use of the Label constructor used for templating with a predeclared dependency on the files as private rule attrs. This removes the need for Skyframe to restart the rule each time a new dependency is encountered during the running of the repository rule.
From running bazel test //... in the test directory before this change:

Where as the profile after shows just the single invocation.
This is a similar issue we caught in rules_nodejs, https://github.com/bazelbuild/rules_nodejs/pull/2621 and there's further context in https://github.com/bazelbuild/bazel/issues/16162

@mattem this generally looks good to me, just needs fixing up so it passes CI

🤦 missed the commit of the typo fix.


Roles UI issues

Rancher versions: master 12/4
Results:

[x] When no roles, the Built-In and Created columns are in middle of page instead of on the right

[x] When you have roles, Created should be right justified and closer to the menu.  Currently it's too far to the left.

[x] When you have roles, Built-In is too close to Created column.  You should probably give it a bit more space between the two

[x] Clicking on Role name should take you to a details page, not the edit page.

[x] Make Role Name a required field

[x] Have all accordions open when you first go into Add Role

[x] Add Resource button is different color then Add Role & Add Policy buttons in Add Role

[x] Change e.g. Podsec to e.g. Developers

[ ] White box (accordian list item) is bigger then the Grey title box above it.

Version - 2.0 master 12/19
Verified all is fixed.


Model updates

Update str of models
Add ParkingPermit to admin with identifier list filter
Add migrations for zone and identifier changes
Add identifier to ParkingPermit model
Move zone filed to address model
Move zone fields from customer to address model
Remove consent_terms_of_use_accepted from customer model
Move low_commission_consent field to permit model

Amazing commits 🙏🏼


Semantic segmentation label of the result at different scale

Hello,
Thank you very much for sharing the code of your great project. I do have a question after running SAMPart3D on my own data.
After I finished training the MLP the output results folder have the output .npy and meshes are saved in vis_pcd. Then, is the semantics segmention like the PartObjaverse-Tiny_semantic.json saved somewhere? I assume for each scale, there should be a separate semantic json dict.

Hi, Thanks for your interest in our work!
The output results from training the MLP do not include semantic information. If you would like to obtain semantic details, you can use the script python tools/highlight_parts.py to highlight the parts and consult the LLM.

I see, thank you very much!


xvfb-run: new update url

Description of changes
Was just going through the package because of the unusual version as compared to other distros. The version itself is fine I suppose since this package doesn't directly track the xorg packages as Arch does.
Just updating the outdated Arch repo link from which the script is obtained.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Sigh. Closing.


Make HTTP sessions work

User simonahac reported a thorny problem on discord yesterday. See discussion beginning at 1:49PM yesterday.
They want to use a service that relies on sessions. First you POST to a login URL. The response sets a cookie and redirects to a resource. The resource only works if you provide the cookie value in the GET request.
This works out of the box in python, Postman, and most other clients. But not pixlet. Looks like the underlying cause is the default behaviour of golang's http.Client.
By default, go's client will ignore any cookies set in responses when making the redirect. When sending the redirected request, it would just copy over headers and cookies from the original outgoing response -- which won't have had the cookie set yet. This is the same for your httpcache client too.
If the client has a CookieJar, however, things work as expected. Cookies from responses will be added to the jar, and all the cookies from the jar will automatically be added to all outgoing requests from that point onwards, including on redirections.
https://cs.opensource.google/go/go/+/master:src/net/http/client.go;drc=b899e0b8cc1afc4534758c9ebe1e051e5220bfbd;l=88
I think this should be a safe change. Modules are instantiated separately each time we run a starlark script, so cookies from different runs won't be in the same cookie jar. There's only one existing community app (avatarsinpixels) that manually accesses the "Set-Cookie" header on a response. I've checked it works the same with and without this change.
Should also be OK with your cache -- since the cache key is the entire serialised request, different users will provide different login credentials and different cookies in their requests.

Don't think the netlify failures are specific to this change, are they? Looks like sw.js (service worker?) not found during npm run build:wasm. That sounds like an infra problem / command that needs to be updated.
5:17:53 PM: Failed during stage "building site": Build script returned non-zero exit code: 2
5:17:53 PM: mkdir -p ./src/go
5:17:53 PM: cp -f /opt/buildhome/.gimme/versions/go1.21.1.linux.amd64/misc/wasm/wasm_exec.js ./src/go/wasm_exec.js
5:17:53 PM: cp -f /sw.js ./src/go/sw.js
5:17:53 PM: cp: cannot stat "/sw.js": No such file or directory
5:17:53 PM: make: *** [Makefile:59: wasm] Error 1

Would completely understand if you're wary about making any change that could affect behaviour for all apps.
An alternative could be to add a new method to the http starlark module, so clients can specify the behaviour they want in their app. Something like app calls http.persist_cookies(), and under the hood that creates a new cookie jar and adds it to the client used by the module. On the other hand, configuration = complexity.
WDYT?

@dinosaursrarr Sorry, for some reason we were not getting notified of PR's in this repo. Will take a look and follow up now.

I think this makes sense. The Netlify errors are unrelated.
I'm going to look into whether we can or need to limit the size of this cookie jar though.

Not sure you need to limit it, if the module and client are instantiated anew each time a script is executed.

Ah that's a good point, but for exactly the opposite reason. We reuse the same HTTP client for multiple app executions (since there's currently no shared state). So this change won't work as is, since cookies would leak between apps. Instead we need to figure out some way to scope the HTTP client to each starlark.Thread.

Ah yes, the starlarkhttp.StarlarkHTTPClient is mutable global state, which is overridden in runtime.InitHTTP(). Remember getting confused by that when making this change.
Seems like one easy way to make the change is lazy loading the http client.

Change starlarkhttp.StarlarkHTTPClient to be a func() http.Client
Initial value can be a simple function that returns http.DefaultClient
InitHTTP can override it with a function that creates a new client using the given cache
starlarkhttp.LoadModule calls the factory method to get a new client, instead of passing in the existing value

Creating a client each time should be pretty lightweight and this seems like a minimal amount of plumbing changes.

 But this is rebased and resolved now.

Just a heads up, this hasn't fallen off my radar but it's taking a bit longer due to testing how it works with our production backend.


Unable to find the controller for path "/saml/login_check". The route is wrongly configured.

Hi guys,
I've spent a few days trying to get spbundle working in a symfony 4.4.3 application.
I followed the installation instructions carefully, a think the doco might be for an earlier version of symfony (I modified a few things eg. App rather than AppBundle, Entities placed in App/Entities.
Entities generated (output below)
Services are registered (output below)
Routes are confingured
IDP/SP metadata generated and exchanged (I'm using a simplesamlphp IDP)
I can access the SP metadata via:
http://localhost/saml/metadata.xml
I can initiate the SAML login process by visiting:
http://localhost/saml/login
It redirects to the IDP, prompts for a username and password and then presents the following error:

NotFoundHttpException
Symfony\Component\HttpKernel\Exception\NotFoundHttpException: Unable to find the controller > for path "/saml/login_check".
App\Security\User\UserCreator                  App\Security\User\UserCreator
App\Store\IdStore                                       App\Store\IdStore
user_creator                                                App\Security\User\UserCreator
id_store                                                       App\Store\IdStore
...

Here are the server logs following the login process:

[2020-01-28 04:06:48] request.INFO: Matched route "lightsaml_sp.login {"route":"lightsaml_sp.login","route_parameters":{"_route":"lightsaml_sp.login","_controller":"LightSaml\SpBundle\Controller\DefaultController::loginAction"},"request_uri":"http://localhost/saml/login","method":"GET"} []
[2020-01-28 04:06:48] php.INFO: User Deprecated: The "LightSaml\SpBundle\Controller\DefaultController" class extends "Symfony\Bundle\FrameworkBundle\Controller\Controller" that is deprecated since Symfony 4.2, use "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The "LightSaml\SpBundle\Controller\DefaultController" class extends "Symfony\Bundle\FrameworkBundle\Controller\Controller" that is deprecated since Symfony 4.2, use "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" instead. at C:\Users\gavinj\Documents\GitHub\lmap-autoship\autoship\vendor\symfony\error-handler\DebugClassLoader.php:378)"} []
[2020-01-28 04:06:48] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2020-01-28 04:06:48] request.INFO: Matched route "lightsaml_sp.discovery". {"route":"lightsaml_sp.discovery","route_parameters":{"_route":"lightsaml_sp.discovery","_controller":"LightSaml\SpBundle\Controller\DefaultController::discoveryAction"},"request_uri":"http://localhost/saml/discovery","method":"GET"} []
[2020-01-28 04:06:48] php.INFO: User Deprecated: The "LightSaml\SpBundle\Controller\DefaultController" class extends "Symfony\Bundle\FrameworkBundle\Controller\Controller" that is deprecated since Symfony 4.2, use "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The "LightSaml\SpBundle\Controller\DefaultController" class extends "Symfony\Bundle\FrameworkBundle\Controller\Controller" that is deprecated since Symfony 4.2, use "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" instead. at C:\Users\gavinj\Documents\GitHub\lmap-autoship\autoship\vendor\symfony\error-handler\DebugClassLoader.php:378)"} []
[2020-01-28 04:06:48] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2020-01-28 04:06:48] request.INFO: Matched route "lightsaml_sp.login". {"route":"lightsaml_sp.login","route_parameters":{"_route":"lightsaml_sp.login","_controller":"LightSaml\SpBundle\Controller\DefaultController::loginAction"},"request_uri":"http://localhost/saml/login?idp=http%3A%2F%2Flocalhost%2Fsimplesaml_idp%2Fsaml2%2Fidp%2Fmetadata.php","method":"GET"} []
[2020-01-28 04:06:49] php.INFO: User Deprecated: The "LightSaml\SpBundle\Controller\DefaultController" class extends "Symfony\Bundle\FrameworkBundle\Controller\Controller" that is deprecated since Symfony 4.2, use "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: The "LightSaml\SpBundle\Controller\DefaultController" class extends "Symfony\Bundle\FrameworkBundle\Controller\Controller" that is deprecated since Symfony 4.2, use "Symfony\Bundle\FrameworkBundle\Controller\AbstractController" instead. at C:\Users\gavinj\Documents\GitHub\lmap-autoship\autoship\vendor\symfony\error-handler\DebugClassLoader.php:378)"} []
[2020-01-28 04:06:49] php.INFO: User Deprecated: Calling the "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Calling the "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead. at C:\Users\gavinj\Documents\GitHub\lmap-autoship\autoship\vendor\symfony\event-dispatcher\EventDispatcher.php:58)"} []
[2020-01-28 04:06:49] php.INFO: User Deprecated: Calling the "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead. {"exception":"[object] (ErrorException(code: 0): User Deprecated: Calling the "Symfony\Component\EventDispatcher\EventDispatcherInterface::dispatch()" method with the event name as the first argument is deprecated since Symfony 4.3, pass it as the second argument and provide the event object as the first argument instead. at C:\Users\gavinj\Documents\GitHub\lmap-autoship\autoship\vendor\symfony\event-dispatcher\EventDispatcher.php:58)"} []
[2020-01-28 04:06:49] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2020-01-28 04:06:55] request.INFO: Matched route "lightsaml_sp.login". {"route":"lightsaml_sp.login","route_parameters":{"_controller":"Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction","path":"/saml/login","permanent":true,"scheme":null,"httpPort":80,"httpsPort":443,"_route":"lightsaml_sp.login"},"request_uri":"http://localhost/saml/login/","method":"GET"} []
[2020-01-28 04:06:55] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2020-01-28 04:07:07] request.INFO: Matched route "lightsaml_sp.login_check". {"route":"lightsaml_sp.login_check","route_parameters":{"_route":"lightsaml_sp.login_check"},"request_uri":"http://localhost/saml/login_check","method":"POST"} []
[2020-01-28 04:07:07] security.INFO: Populated the TokenStorage with an anonymous Token. [] []
[2020-01-28 04:07:07] request.WARNING: Unable to look for the controller as the "_controller" parameter is missing. [] []
[2020-01-28 04:07:07] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "Unable to find the controller for path "/saml/login_check". The route is wrongly configured." at C:\Users\gavinj\Documents\GitHub\lmap-autoship\autoship\vendor\symfony\http-kernel\HttpKernel.php line 130 {"exception":"[object] (Symfony\Component\HttpKernel\Exception\NotFoundHttpException(code: 0): Unable to find the controller for path "/saml/login_check". The route is wrongly configured. at C:\Users\gavinj\Documents\GitHub\lmap-autoship\autoship\vendor\symfony\http-kernel\HttpKernel.php:130)"} []
[2020-01-28 04:07:07] request.INFO: Matched route "_wdt". {"route":"_wdt","route_parameters":{"_route":"_wdt","_controller":"web_profiler.controller.profiler::toolbarAction","token":"eedaaf"},"request_uri":"http://localhost/_wdt/eedaaf","method":"GET"} []

Your help would be greatly appreciated!
Cheers,
Gav

Hi @gavinjackson
Did you manage to find a solution for this? If you did, please let me know.
Thanks

I'm facing the same problem.
Do you have a solution @gavinjackson @luismilanese ?
Thanks

I'm facing the same problem.
Do you have a solution @gavinjackson @luismilanese ?
Thanks

No, I don't, @erichard
As a matter of fact, I quit this lib altogether and went on with hslavich/oneloginsaml-bundle which is way easier and its documentation makes more sense.

I found a solution in a closed issue. In fact I had a conflict between firewall. The url /saml/login_check was captured by a firewall with security: false.
Fixed for me. I think this issue could be fixed as well.


Update for lang.fr.json

Spelling fixes for French language file

Fixes #IssueNumber
Changes proposed:

[ ] Add
[ ] Delete
[X] Fix
[ ] Prepare

Please see https://github.com/vscode-icons/vscode-icons#globalization


Fixing broken "Get Docker Toolbox for Windows" link

Proposed changes
Fixing a broken link.

Thank you, @zmullett !


Save system: Temp scene states don't get "reset" on "loading saved game"

Cogito and Godot Engine Version:
Godot 4.2.1stable
Description:
Temp scene states don't get "reset" after loading a game, which cause undesired scene states.
Reproduction steps:

Delete all saves or start game on a new save slot.
Start in Lobby scene.
Save game.
Move over to Laboratory scene, pick up some items.
Move back to Lobby scene.
Load saved game.
Move over to Laboratory scene, note how the temp scene state got loaded, so the items picked up after saving but before loading are gone.

Expected behavior:
The temp scene state of the other scene should also "reset". This is not very straight forward.
One idea would be to do the following:
On loading a save slot:

Load player state of said slot.

Load scene state of said slot that the player is currently in.

Find save slot scene states of any other states and set these to be the new temp scene states.

If a scene doesn't have a save slot scene state, but a temp scene state, that temp scene state gets deleted.

The last point might not really work or might deleted temp scene states we expect to stick around.
Another workaround would be: on saving a save slot, convert all existing temp scene states to save slot scene states.
This would have to be tested and explored a bit.

This behavior also affects starting a new game, which also uses the temp scene state from the previous unrelated saved/played game.
I would suggest deleting the temp scene state files when starting a new game and when quitting the application.

Hey everyone,
I've just pushed an update, reworking the save system a bit that should resolve this issue, please see https://github.com/Phazorknight/Cogito/commit/0a3e062f126fdfd948de22ae962ccc992f0da861
@OvercastInteractive : I've made it that the temp save files gets deleted on quit (more precisely when cogito_save_manager exits the tree, which so far seems to work, even when returning to the menu and starting a new game)
Please note: Your previous save files will no longer be detected with this update! New save files will be created. This should make testing scene transitions easier/better.

Closing, assuming resolved.


Bug 1887392: bump kube to 0.20.1 and lib-go to master to pick up authn/z caching

/retest

/retest

/lgtm

/lgtm


add codegen e2e test

Description
add codegen e2e test for GMC
Issues
n/a
Type of change
List the type of change like below. Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would break existing design and interface)

Dependencies
Tests
this test should passed in every CI/CD job

@daisy-ycguo @zhlsunshine


fix(conditional-formatting): the maximum and minimum values are corre…

…cted automatically

close https://github.com/dream-num/univer-pro/issues/1353

Pull Request Checklist

[ ] Related tickets or issues have been linked in the PR description (or missing issue).
[ ] Naming convention is followed (do please check it especially when you created new plugins, commands and resources).
[ ] Unit tests have been added for the changes (if applicable).
[ ] Breaking changes have been documented (or no breaking changes introduced in this PR).

This bugfix should have unit test covered.

done


kafkaUserConfig.kafka.logCleanerMinCleanableRatio being cast to 0

First of all, thank you guys for your awesome work on this project! We're super grateful for the Pulumi team 😃

When upgrading from @pulumi/aiven 3.5.1 to 3.6.1, the value kafkaUserConfig.kafka.logCleanerMinCleanableRatio has a new default value — 0. Which is an invalid value.
The field means "if 50% of the log has already been compacted, don't allow the log cleaner to compact any more". So, "if none of the log has already been compacted, don't allow the log cleaner to compact any more" -> "so never compact" (when compaction is selected as the cleanup policy).
Furthermore, the Aiven API rejects the value of 0. You get this error message
{
  "errors": [
    {
      "message": "Invalid user_config: Invalid input for kafka: 0 is less than the minimum of 0.2",
      "status": 400
    }
  ],
  "message": "Invalid user_config: Invalid input for kafka: 0 is less than the minimum of 0.2"
}

Expected behavior
The default value should be 0.5, like in Kafka itself. I'd argue 0 is an invalid value, but I could be wrong there.
Current behavior
Match Kafka's default value of 0.5.
Steps to reproduce

Create an aiven.Service of serviceType: 'kafka', with @pulumi/aiven: 3.5.1. Don't specify kafkaUserConfig.kafka.logCleanerMinCleanableRatio.
Upgrade to @pulumi/aiven: 3.6.1

Note that you can then see the code work if you do specify the value, at 0.5.
Context (Environment)
I want to upgrade to the newest version :)
Affected feature
aiven.Service of serviceType: 'kafka'. This is also not a huge deal, because there's a workaround. (specify the value of 0.5 for kafkaUserConfig.kafka.logCleanerMinCleanableRatio).

The aiven.Service resource no longer exists. It has been moved into a couple of types (mainly aiven.ServiceIntegration). If you are still experiencing a similar issue, please confirm the issue still exists on latest (6.24.1), and open a new issue.


User stays on “Pay Request” screen even after user paid the received request to requester.

Frequency: 100%
App version: Staging build v1.5.2 (104694505)
Does not repro on: Play store build v1.5.1
Repro on: Samsung Galaxy A8+(8.0.0), Samsung Galaxy Note 5 (7.0)
Test Account:<PHONE_NUMBER>/Backup key
Repro Steps:

Launch the app.
Tap on Pay button on Payment Requested section.
Make sure Pay Request screen is open
Tap on “Pay” button.
Observed.

Current Behavior: User stays on “Pay Request” screen
Expected Behavior: User should redirect to the Wallet tab after sending the received request to the requestor.
Attachment: Android_PaymentRequestScreenRemainOpen.mp4 (Bug observed at 09 sec)

Hi @jmrossy I have verified this issue using latest Android internal build v1.2.0<PHONE_NUMBER>) & Testflight build v1.2.0 (26) and observed that issue is fixed.


Performance about parsing large xml(50M+)

Msxml-dom parses a 50M+ xml cosing about 30s. To make it fast according to https://pugixml.org/benchmark.html,  I try pugixml. However, pugixml uses 3min+. Is anything wrong?

pugixml should parse 50MB in under a second. Are you building pugixml in Release mode? Are you measuring the time it takes to call xml_document::load_file or does that include the time to process the resulting document?

Directly use the .hpp and .cpp in my project and the test is under release mode. 3min is wasted by load_buffer and traversal the xml node. Following the the main loader.
//xml_document m_doc,     std::wstring wsXmlText
pugi::xml_parse_result result = m_doc.load_buffer(wsXmlText.c_str()wsXmlText.size()*sizeof(wchar_t));
//std::cout << result.description() << std::endl;
return (result);
}

Can you measure the time for load_buffer separately from the traversal code? My best guess is that your traversal code is somehow inefficient, possibly quadratic somewhere. Not sure if you can share the code.

load_buffer costs about 0.29s. Most time is wasted by traveral the node, Following is test code:
https://github.com/DebbieDebbieli/TestXML
Thanks.

Thanks for the test code! Yeah I reproduced this issue with OpenStreetMap data and wow, wstring_convert is catastrophically inefficient here.
You can use PUGIXML_WCHAR_MODE as you noted, or alternatively you can use pugi::as_wide to perform the UTF8 -> UTF16 conversion and pugi::as_utf8 to perform UTF16 -> UTF8 conversion; this change alone speeds traversal up from 21s to 0.14s on a 19 MB file for me.
If you intend to work with wchar_t everywhere in the application then probably using wchar mode is a better option.

It looks like most of the time is spent in the wstring_convert constructor; you can also move it into the global namespace to the top of the file:
static std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>, wchar_t> convert;

and that cuts down the traversal time almost as much as using pugixml functions.

Thanks a lot and it's solved. I'll use pugi to replace the msxml in the project.

Glad this worked for you. I'd also note that I would recommend letting pugixml load the file directly, either by using xml_document::load_file or by loading raw bytes from the file and calling load_buffer on that - in your existing code std::wfstream has quite a bit of overhead as well.
pugixml will automatically handle all encoding conversions, e.g. in wchar mode it will convert the document from UTF8 to wchar_t as necessary.


[GSSOC'23]: Realtime Analog clock

Describe the project you want to add with tech stack
This is a analog clock project that  is synchronized and gives the real time output

I would like to be assigned with this mini project as a part of GSSOC'23, if you think it is of any worth and puts any value in the project stack, you may assign me. Thank  you🙂


[Q]: When using deepspeed for multi-machine distributed training and setting reported_to = "wandb" in the trainer arguments, wandb will initialize multiple identical wandb runs. For example, four machines will have four identical wandb runs. How can I set it to create only one run? Should I add the wandb initialization code in the train code?

Ask your question

Hi @1787648106, thanks for writing in! Would you mind sharing a minimal code example of your workflow so we can take a look and see what's possible? Thanks in advance!

Hi @1787648106, thanks for writing in! Would you mind sharing a minimal code example of your workflow so we can take a look and see what's possible? Thanks in advance!

hello, the launch shell:
deepspeed --hostfile /etc/mpi/hostfile --master_port=62234 train.py \          --deepspeed deepspeed.json \          ...          --report_to wandb \          --run_name xxxxxxxxx \
the train.py:
import wandb os.environment["WANDB_DISABLED"] = "false" os.environment["WANDB_API_KEY"] = "xxxxxxx" os.environment["WANDB_PROJECT"] = "xxxx" .... trainer = Seq2SeqTrainer(     model=model,     args=training_args,     ..... )
The above is the part of my code about wandb, thank you for your reply.

Hi @1787648106, thanks for your patience and apologies for the delay! I have been exploring this, but it seems the integration is managed by Deepspeed. In any case, I would recommend setting the env variable WANDB_RUN_GROUP to group your runs (see some more details in this report and this page from our docs). Please let me know if this is helpful!

Hi @1787648106 , since we have not heard back from you we are going to close this request. If you would like to re-open the conversation, please let us know!


Events and reasoning - can they work together?

Hi!
I've noticed that when I try to mix fact reasoning with events, first event fired is disabling reasoner. I'm attaching sample code to picture the problem. Please check attached code and the console output.
The goal is to have kind of stateful object (true/false in the example) and the domain ontology model as a set of rules. I've decided to implement state as a fact, maybe it's wrong approach. Since events are immediately retracted facts, I've created another fact as a still temporary but persisted medium (at least persisted longer than an event). After an event is handled, the state changing fact is asserted.
I've tested events both from the @when_start method and as the curl invocation. Both are disabling the reasoner (or there is some kind of exception in the background, but it's not logged on the console)
Which is also noticed, I can't identify nothing as an atomic operation or transaction-like approach. I've thought that adding new fact should destabilize the state. Other operations should be freezed for the reasoning time or until the state is steady again. In the output setter-facts are one after another and after them the fact value is switching (I've got strong Java background, in Java I'd check the flush() method on the sysout to ensure that it's not a matter of standard output).

Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
some fact is false
some fact set true
some fact set false
some fact is true
some fact is false
*** switcher set important fact to ::  true
some fact set true

The example is really simplified :)
My source code at the end (sorry for the formatting, I don't know why it looks so weird...)
`from durable.lang import *
RULESET_NAME = 'reasoning-and-events'
with ruleset(RULESET_NAME):
#logger
@when_all(+m.subject)
def output(c):
print('{0} {1} {2}'.format(c.m.subject, c.m.predicate, c.m.object))
#init state
@when_start
def start(c):
    #some fact is set
    c.assert_fact(RULESET_NAME, { 'subject': 'some fact', 'predicate': 'is', 'object': 'false' })

    #state switcher fact
    c.assert_fact(RULESET_NAME, { 'subject': 'some fact', 'predicate': 'set', 'object': 'true' })
    c.assert_fact(RULESET_NAME, { 'subject': 'some fact', 'predicate': 'set', 'object': 'false' })

    #NOTE: after posting an event, reasoner seems to be disabled
    c.post(RULESET_NAME, {'sid': '997', 'event': {'category': 'switcher', 'value': 'true'}})

@when_all(c.importantFact << m.predicate=='is', c.actionFact << m.predicate=='set')
def changeState(c):
    c.retract_fact(c.importantFact)
    c.assert_fact({ 'subject': 'some fact', 'predicate': 'is', 'object': c.actionFact.object })
    c.retract_fact(c.actionFact)

@when_all(c.extEvent << m.event.category=='switcher')
def tempChanged(c):
    print '*** switcher set important fact to :: ',c.extEvent.event.value
    c.assert_fact(RULESET_NAME, { 'subject': 'some fact', 'predicate': 'set', 'object': c.extEvent.event.value })

run_all()`

Hi, thanks for posting the question. I tried your scenario and it works as I expected. I noticed you posted the event using 'sid': '997', which effectively executes the event under a different reasoning session. I wonder if this was intentional. Please try this code:
RULESET_NAME = 'reasoning-and-events'
with ruleset(RULESET_NAME):
    #logger
    @when_all(+m.subject)
    def output(c):
        print('{0} {1} {2} {3}'.format(c.m.subject, c.m.predicate, c.m.object, c.m.id))

    @when_all(c.importantFact << m.predicate == 'is',
              c.actionFact << m.predicate == 'set')
    def changeState(c):
        print('observed {0} {1}'.format(c.importantFact.id, c.actionFact.id))
        c.retract_fact(c.importantFact)
        c.assert_fact({ 'subject': 'some fact', 'predicate': 'is', 'object': c.actionFact.object })
        c.retract_fact(c.actionFact)

    @when_all(c.extEvent << m.event.category == 'switcher')
    def tempChanged(c):
        print '*** switcher set important fact to :: ', c.extEvent.event.value
        c.assert_fact(RULESET_NAME, { 'subject': 'some fact', 'predicate': 'set', 'object': c.extEvent.event.value })

    #init state
    @when_start
    def start(c):
        #some fact is set
        c.assert_fact(RULESET_NAME, { 'subject': 'some fact', 'predicate': 'is', 'object': 'false' })

        #state switcher fact
        c.assert_fact(RULESET_NAME, { 'subject': 'some fact', 'predicate': 'set', 'object': 'true' })
        c.assert_fact(RULESET_NAME, { 'subject': 'some fact', 'predicate': 'set', 'object': 'false' })

        #NOTE: after posting an event, reasoner seems to be disabled
        c.post(RULESET_NAME, { 'event': {'category': 'switcher', 'value': 'true'}})

run_all()

One note on your question regarding atomicity: All actions are transactional and atomic. That is, if the process crashes in the middle of an action execution, no facts will be asserted nor retracted, no events will posted, the action will be retried when the process restarts. All actions related to the same reasoning session ('sid') are executed under the same logical thread, in other words only one action is executed at any given time, even when the action is asynchronous.

OK, it is not stopping the reasoner now, which is perfect :) the question now is if post or assert_fact methods are asynchronous? Is there an option to force reasoner to infer new facts in the synchronized way? Im posting my output with the sequence of output messages that I've expected them to appear:
 * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit) some fact is false #1 some fact set true #2 some fact set false #4 *** switcher set important fact to ::  true #6 some fact is true #3 some fact is false #5 some fact set true #7 some fact is true #8
In other words after asserting a fact I'd like to get an output of the reasoner and then set up another fact. Because in the middle of the calls the state is unstable and may cause my solution to fail. In this sequence the fact (state of the switcher) is being set to False before it is in the True state.

Hi, posting events and asserting facts only guarantees the data will be stored in the ruleset's beta nodes when the outcome is '0'. Scheduled actions are always dispatched asynchronous. Currently there are no no synchronization mechanisms other than two rulesets posting and reacting to events:

ruleset 'a' posts an event to ruleset 'b'
ruleset 'a' has a rule to react to ruleset 'b' reply


[WIP] Add Mailchimp Open Commerce Provider

DEMO: https://commerce-nine-brown-79.vercel.app/
Mailchimp Open Commerce Provider

Docs: https://mailchimp.com/developer/open-commerce/
API endpoint: https://api.open-commerce.io/graphql

Open Commerce Provider
Preview: https://commerce-nine-brown-79.vercel.app/
We are using this admin interface for demo: https://admin.open-commerce.io/
Storefront API URL: https://api.open-commerce.io/graphql
Available Features

Cart
Search
Custom Checkout
Custom Navigation

Steps to get started:

Duplicate site/.env.template and rename it to site/.env.local
Setup env variables related to open commerce provider, something looks like this:

COMMERCE_PROVIDER=@vercel/commerce-opencommerce
NEXT_PUBLIC_OPENCOMMERCE_API_URL=http://api.open-commerce.io/graphql
NEXT_PUBLIC_OPENCOMMERCE_IMAGE_DOMAIN=api.open-commerce.io

Run pnpm install and cd site && pnpm dev in the root folder

Troubleshoot
https://github.com/reactioncommerce/commerce#troubleshoot
For more information about the repository, check out the README file here: https://github.com/reactioncommerce/commerce
Custom Checkouts
The demo site use Example Payment Plugin for processing payments. To make the checkout flow works as expected, some prerequisite steps need to be handled:

Add and enable at least one flat-rate shipping option on the admin setting page. By default, we select the first shipping option to create the order
Enable the IOU Example payment method in the admin setting page
Fill in all the required fields in the Add Shipping Address step in the storefront
After processing checkout, check the orders page in the admin interface to confirm the order has been successfully created

We can also use Stripe as the default payment method by following steps:

Add and enable at least one flat-rate shipping option in the admin setting page. By default, we select the first shipping option to create the order
Enable the Stripe (SCA) payment method in the admin setting page
Add OPENCOMMERCE_STRIPE_PUBLIC_API_KEY env variable to the site/.env.local file
Add STRIPE_API_KEY env variable to the reaction API .env file with the private API key from Stripe
Modify the submit-checkout api endpoint to include additional steps for Stripe payment (eg: create/confirm payment intent, pass payment intent id to placeOrder request body,...).

Custom Navigation
By default NextJS only display two categories/tags of products in the navbar. This feature enables us to show the organized categories/tags as navigation in the admin to our storefront. Also, we can leverage this feature to show URLs that are not relative to the shop (eg: admin page, documentation page, ...). This feature is enabled by default, we can turn it off anytime by modifying the value in the commerce.config.json file.

@okbel I know this has been sitting here for a while, but would it be possible to review this connector?

Is there anything we can do here to move this PR forward? It's been six months?

Hey! This one is in our radar, but we've been working in some core data fetching updates. That's why we put a hold on merging new providers. It wasn't intentional, and apologies if it wasn't properly communicated.
We will take a look! If everything is up to date with the latest changes, then 🚀

@cond0r can you take a look? Thank you!

Thanks, everyone for checking, I checked the changes and figured that it will take some time to update this PR. I will get back to you guys when the PR is ready for review.

Really looking forward to having this merged. This will be huge for the Mailchimp Open Commerce community. Thanks @vannguyenn for working on this. 🙏🏻

@cond0r is there any timeline for review on this PR? I don't mean to bug you, just curious as I'm excited for this provider to be merged.

@cond0r is there any timeline for review on this PR? I don't mean to bug you, just curious as I'm excited for this provider to be merged.

@loan-laux unfortunately, I am no longer involved in this, so I cannot help to get this merged.

My bad @cond0r, sorry for disturbing you then. @okbel @lfades, who should be assigned for review here?

#759

Hey there! Thank you for your contribution. We have decided to take Next.js Commerce in a new direction and will be closing out current PRs and issues due to this change. Please see this PR for more details: https://github.com/vercel/commerce/pull/966


Group topics into days on topics overview page

I'm using abandoned but still working Voyager client for TJC. There the topics are grouped into Today, Yesterday, Tuesday, …, Older if today was Thursday (activity, not creation of first post). That way it's easier to find updated topics since last visit. Right now there's no way to distinguish topics with recent activity in SFOS Forum Viewer. A short time info at every topic in overview would be nice, too.

The only quick fix for this would be including this:
bumped_at  "2020-08-08T16:23:34.027Z"
It's the only date value in the json we can use, I can clean it a bit (like you see in threadview), but no easy way to group into days of the week etc (the 15m, 3h etc is also done browserside and it's a huge bit of recoding for very little use, if we get oauth topic tracking will be done forumside), let me know if including last bump date after number of posts would be something you'd want

Yes, that would help me, too. Maybe get some opinions of other users and make it optional if too many disagreement.

the (posts: x) line is pretty empty so shouldn't be an issue, but sure would be better to have that format parsed into more human-friendly version like happens in browsers, just not sure if this is something that can be easily plugged into an already available functionality (like pretty easy translation of linux time as you can add/subtract etc freely) and don't see myself spending too much time on it (and it would involve timezones so yeah... no way), will add in 0.7.5

Here's some kind of wireframe of what we could probably have on the main view. Formatting the date was pretty straight forward. I used the last_activity on this but surely we could change it to "created at" or whatever is available on JSON.

I'm just going to use the same string.splitting as in threads view, it's quick and consistent (unless you can plug this format of yours into something for further manipulation (days passed counting etc)
On Sunday, 9 August 2020, Santeri wrote:

Here's some kind of wireframe of what we could probably have on the main view. Formatting the date was pretty straight forward. I used the last_activity on this but surely we could change it to "created at" or whatever is available on JSON.

--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67103146

--
Sent from my Jolla

Something like this could be done. We could also add there some kind of indication that "Latest activity" or "Created". It only depends on the thing that what do you want to show there.

Yeah just like browser, but the only thing to work with is see reply 1-2 a weird format from discourse API, if you want to spend hours just to implement some kind of handmade parsing that will change their format into minutes -> hours -> days (days of the week) - weeks -> months/years... Go for it(btw timezones are a thing and no idea if forum is cet or bst or finnish summer time or... And of course you need your device timezone and play with it too, fun fun fun), for now I'm going to just split the spring into (date time) format
On Sunday, 9 August 2020, Santeri wrote:

Something like this could be done. We could also add there some kind of indication that "Latest activity" or "Created". It only depends on the thing that what do you want to show there.

--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67103293

--
Sent from my Jolla

Sorry, couldn't quite catch your point. This parsing is already done by formatting so minutes->hours->days work and after 30 days ->months etc. no need to spend hours for that since JavaScript can already do that. Timezones etc. are good point, not sure about them either. It might be so that the formatter, that I use, uses the device local time and shows them based on that.

Cool, make a PR then when ready, will have a look, date alone is pretty bad, the minutes-hours... like browser does is probably the best approach (you could use subcategories... Or what's it called, generates a nice title on the right of a silicalistview, those dates could fit there to group items by date)
On Sunday, 9 August 2020, Santeri wrote:

Sorry, couldn't quite catch your point. This parsing is already done by formatting so minutes->hours->days work and after 30 days ->months etc. no need to spend hours for that since JavaScript can already do that. Timezones etc. are good point, not sure about them either. It might be so that the formatter, that I use, uses the device local time and shows them based on that.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67103449

--
Sent from my Jolla

Just curious is this a built in js function or you're using third party lib for that? If the latter make sure it's not gplv3 as that is a way in for license trolls and i don't have time for that, so would be time wasted (gplv3 is incompatible with MIT soake you sure you don't borrow any of such code)
On Sunday, 9 August 2020, Santeri wrote:

Sorry, couldn't quite catch your point. This parsing is already done by formatting so minutes->hours->days work and after 30 days ->months etc. no need to spend hours for that since JavaScript can already do that. Timezones etc. are good point, not sure about them either. It might be so that the formatter, that I use, uses the device local time and shows them based on that.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67103449

--
Sent from my Jolla

@szopin, This is built in JS stuff. And no need to worry about license stuff, I work in an open source company so I wouldn't jump on using third party libs without carefully planning it before.

I'm really unsure what careful planning was done with pushing a buggy coverpage we've now spent hours on discussing/fixing, so whatever, just fyi, if it's gplv3 it's out, we don't need that virus here, seen what happened at zeronet
On Sunday, 9 August 2020, Santeri wrote:

@szopin, This is built in JS stuff. And no need to worry about license stuff, I work in an open source company so I wouldn't jump on using third party libs without carefully planning it before.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67103904

--
Sent from my Jolla

I'm really unsure what careful planning was done with pushing a buggy coverpage

Never really stated that there was some careful planning when implementing coverpage so could you just stop whining about it all the time? There was a one real bug with the coverpage and that was the "Load more" so I personally wouldn't call it "buggy" unless I wanted to be offensive. The others were just some subjective opinions as I didn't like the content behind the refresh icon and you're ok with that, I just consider that content behind as a bad design.

we've now spent hours on discussing/fixing

I don't know what you're doing if it requires hours on discussing / fixing since it didn't require for me. On the other hand, this is just part of the developing process. It really takes time and no one writes bug free code all the time. If you don't have time to review stuff, you don't merge them in the first place.  I don't see any hurry for pushing new version after version. This is your repository so you decide what you want to merge there so I don't really get the attitude of complaining after merge. Pull requests are there for a reason, it's a request. You can always test them out when you have time and review them completely. When you say you don't have time maybe you should just completely ignore any PRs.
However, when I started developing here I suggested how we could've improved our communication but you were reluctant to take any actions. Feedback is always welcome but the feedback shouldn't be ranting and whining always about something being wrong. The second thing is that you really should elaborate yourself better. Some posts are just so cryptic that it really requires excessive questions to understand what you're really saying. Use for instance use cases when explaining, they're more understandable.

Yes, kanban is not happening, this is an open source project with contributors sacrificing their own free time (that includes maintainer), so no freaking way to make it corpo style, just not gonna happen. It was a known bug submitted in PR and not described in it, pls value other ppl's time, mine is very limited, so if your PR is just a prototype state so, so I won't waste time reviewing its functionality, that time could be used more productively (if fixing it took you less than an hour, just pls do that before submitting next time, it always takes longer to dredge through someone else's code), but yeah, whatever, I'm not gonna waste more time arguing
On Sunday, 9 August 2020, Santeri wrote:

I'm really unsure what careful planning was done with pushing a buggy coverpage

Never really stated that there was some careful planning when implementing coverpage so could you just stop whining about it all the time? There was a one real bug with the coverpage and that was the "Load more" so I personally wouldn't call it "buggy" unless I wanted to be offensive. The others were just some subjective opinions as I didn't like the content behind the refresh icon and you're ok with that, I just consider that content behind as a bad design.

we've now spent hours on discussing/fixing

I don't know what you're doing if it requires hours on discussing / fixing since it didn't require for me. On the other hand, this is just part of the developing process. It really takes time and no one writes bug free code all the time. If you don't have time to review stuff, you don't merge them in the first place.  I don't see any hurry for pushing new version after version. This is your repository so you decide what you want to merge there so I don't really get the attitude of complaining after merge. Pull requests are there for a reason, it's a request. You can always test them out when you have time and review them completely. When you say you don't have time maybe you should just completely ignore any PRs.
However, when I started developing here I suggested how we could've improved our communication but you were reluctant to take any actions. Feedback is always welcome but the feedback shouldn't be ranting and whining always about something being wrong. The second thing is that you really should elaborate yourself better. Some posts are just so cryptic that it really requires excessive questions to understand what you're really saying. Use for instance use cases when explaining, they're more understandable.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67104191

--
Sent from my Jolla

Yes, kanban is not happening, this is an open source project with contributors sacrificing their own free time (that includes maintainer), so no freaking way to make it corpo style, just not gonna happen

This just contradicts everything. Kanban or some kind of roadmap on what people are doing would just save time on the larger scale. GitHub offers the Projects where issues can be linked on Kanban style board. And btw, Kanban wasn't the only solution to improve communication.

It was a known bug submitted in PR

No it wasn't. I have never stated anywhere that it was a known bug so I don't really know where you draw that thing.  Multiple times have I tried to say that could we just leave it be but no the thing just keeps going.

Yah except you stating: we might need to remove pageno (just accidentally the reason for the known bug), again dude, whatever, people can and will come in as and when they want, you can spend hundreds of hours on kanban, noone is your employee, they will work on what they want, good luck kanbaning that, peace
On Sunday, 9 August 2020, Santeri wrote:

Yes, kanban is not happening, this is an open source project with contributors sacrificing their own free time (that includes maintainer), so no freaking way to make it corpo style, just not gonna happen

This just contradicts everything. Kanban or some kind of roadmap on what people are doing would just save time on the larger scale. GitHub offers the Projects where issues can be linked on Kanban style board. And btw, Kanban wasn't the only solution to improve communication.

It was a known bug submitted in PR

No it wasn't. I have never stated anywhere that it was a known bug so I don't really know where you draw that thing.  Multiple times have I tried to say that could we just leave it be but no the thing just keeps going.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67104388

--
Sent from my Jolla

Yah except you stating: we might need to remove pageno (just accidentally the reason for the known bug)

Posting this here yet still because you're accusing me of something that's not true. So me debugging after PR's done means that I knew it before making the PR? I don't see any logic, I see only that you want to see something. The fact that the PR was made 7 days ago and the comment about removing pageno 6 days ago quite well shows no causality of me posting  buggy CoverPage.

people can and will come in as and when they want, you can spend hundreds of hours on kanban, noone is your employee

It's no real argument to have some public plans. I don't see many people here developing this client and posting PRs thus we could well have kanban or some kind of roadmap. Nevertheless, as you stated, you are not willing to do this.

You had the solution "remove pageno?" at hand (me pointing out the bug day later lol), so you knew it was the issue, look why didn't you disagree last time when I said you knowingly PRed buggy code? Whatever dude, I'm out
On Sunday, 9 August 2020, Santeri wrote:

Yah except you stating: we might need to remove pageno (just accidentally the reason for the known bug)

Posting this here yet still because you're accusing me of something that's not true. So me debugging after PR's done means that I knew it before making the PR? I don't see any logic, I see only that you want to see something. The fact that the PR was made 7 days ago and the comment about removing pageno 6 days ago quite well shows no causality of me posting  buggy CoverPage.

people can and will come in as and when they want, you can spend hundreds of hours on kanban, noone is your employee

It's no real argument to have some public plans. I don't see many people here developing this client and posting PRs thus we could well have kanban or some kind of roadmap. Nevertheless, as you stated, you are not willing to do this.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67104651

--
Sent from my Jolla

Yeah, debugged it after I saw your comment day after PR.

why didn't you disagree last time when I said you knowingly PRed buggy code?

 Why I pointed out my disagreeing now => because you brought it up again in this thread quite explicitly and it has been a week to calm down.

Except you had it out at first comment, you knew it, then you went defensive: i can  PR buggy code fyou, whatever dude
On Sunday, 9 August 2020, Santeri wrote:

Yeah, debugged it after I saw your comment day after PR.

why didn't you disagree last time when I said you knowingly PRed buggy code?

 Why I pointed out my disagreeing now => because you brought it up again in this thread quite explicitly and it has been a week to calm down.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67104769

--
Sent from my Jolla

Except you had it out at first comment, you knew it

No I didn't. Please provide evidence to backup your claims.
What do you mean by first? You posted the first comment

I'm out, you can review the thread, waste of, but you seem to like it so go ahead
On Sunday, 9 August 2020, Santeri wrote:

Except you had it out at first comment, you knew it

No I didn't. Please provide evidence to backup your claims.
What do you mean by first? You posted the first comment

--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67104884

--
Sent from my Jolla

I'm out, you can review the thread, waste of, but you seem to like it so go ahead

I have no sympathy for someone accusing me of something that is simply not true and blaming afterwards again. This something is not first of all big deal but you made it big deal by starting whining and blaming again.
If you make a statement about something, provide the evidence. Otherwise, you can come as you're lying. I don't see in your head and I can't review the thread and find something that doesn't exist.

I'm out

And be out then really.  It took me a day to get back to you, don't claim it took you a day to realise you had bugs in your implementation with a possible fix right at hand? This conversation is over, go whine somewhere else

On Sunday, 9 August 2020, Santeri wrote:

I'm out, you can review the thread, waste of, but you seem to like it so go ahead

I have no sympathy for someone accusing me of something that is simply not true and blaming afterwards again. This something is not first of all big deal but you made it big deal by starting whining and blaming again.
If you make a statement about something, provide the evidence. Otherwise, you can come as you're lying. I don't see in your head and I can't review the thread and find something that doesn't exist.

I'm out

And be out then really.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67105026

--
Sent from my Jolla

How about you review that thread where you instantly have a possible solution you lying fuck?

This doesn't provide me anything because I don't see that as an issue. To me it is that you provided bug report of something that I then debugged and provided that pageno might be the issue on CoverPage. No need to start cursing here if you can't really even provide any backups to your claim. I have quite a lot freetime to start debugging instantly and I get GitHub notifications to my phone, which quite well explains why I have the solution right away too.

 You are also the only one who's whining about something, I'm asking you to provide evidence to backup your claim.

This doesn't provide me anything because I don't see that as an issue. To me it is that you provided bug report of something that I then debugged and provided that pageno might be the issue on CoverPage. No need to start cursing here if you can't really even provide any backups to your claim. I have quite a lot freetime to start debugging instantly and I get GitHub notifications to my phone, which quite well explains why I have the solution right away too.

 You are also the only one who's whining about something, I'm asking you to provide evidence to backup your claim.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67105158

--
Sent from my Jolla

I think I can implement it with pageno all of a suddeb

What the heck does this provide? If I start debugging instantly why the hell wouldn't I find out the solution quite quickly? Yet again this doesn't provide any information...

srsly go somewhere else we don't need liars in this project, if you want me to block you sure, go ahead

If you want to block me then go ahead. Couldn't really care less about your blocks, it's no offense to me. But what I do care is that when someone claims something, again, it needs to be backed up in some way. Your way is way too loose and open to subjective opinion so it's not an empirically objective. It's as logical as I would say that you're systematically interpreting my words in that way so that you can make such claim.

 If I start debugging instantly why the hell wouldn't I find out the solution quite quickly? Yet again this doesn't provide any information...

srsly go somewhere else we don't need liars in this project, if you want me to block you sure, go ahead

If you want to block me then go ahead. Couldn't really care less about your blocks, it's no offense to me. But what I do care is that when someone claims something, again, it needs to be backed up in some way. Your way is way too loose and open to subjective opinion so it's not an empirically objective. It's as logical as I would say that you're systematically interpreting my words in that way so that you can make such claim.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67105257

--
Sent from my Jolla

Literally at the beginning you jumped to: oh sure I can fix it, just need that pageno gone (minutes after bug report)

This doesn't provide anything objective. Knowing how the applications XMLHttprequests work and knowing that the pageno could cause issues on cover doesn't mean that I intentionally posted buggy PR.

now you're claiming you're a minority that needs preservation and protection, do that witg your country courts, idgaf

That's very low. By the way where do I claim such thing how did you come up with such manifestation?

On Sunday, 9 August 2020, Santeri wrote:

Literally at the beginning you jumped to: oh sure I can fix it, just need that pageno gone (minutes after bug report)

This doesn't provide anything objective. Knowing how the applications XMLHttprequests work and knowing that the pageno could cause issues on cover doesn't mean that I intentionally posted buggy PR.

now you're claiming you're a minority that needs preservation and protection, do that witg your country courts, idgaf

That's very low. By the way where do I claim such thing how did you come up with such manifestation?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67105331

--
Sent from my Jolla

In literally two minutes you knew

Sure.

 What courts? Do you really think something is going to court? I could claim the same thing that don't lie or even better don't manifest something that you don't have any clear objective argument behind that.

'Two minutes is all I need to know I submitted a buggy code'
Nice, it even rhymes
On Sunday, 9 August 2020, Santeri wrote:

In literally two minutes you knew

Sure.

 What courts? Do you really think something is going to court? I could claim the same thing that don't lie or even better don't manifest something that you don't have any clear objective argument behind that.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67105377

--
Sent from my Jolla

'Two minutes is all I need to know I submitted a buggy code'
Nice, it even rhymes

So it seems yeah. But that isn't constructive, is it?

 But that isn't constructive, is it?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67105416

--
Sent from my Jolla

Sending buggy code is also not constructive

Sending no code at all is not constructive. We have way different opinion on what's "buggy". But that's what you get, I bet no real developers can write code during their career and never "send buggy code".

 It's just funny how you make statements that you can't objectively backup because you interpret something in a way. Then when the same thing is pointed to you, you deny it. You contradict yourself by that.

 Just stop? Do I need to write: 'you're too autistic to add to our codebase' like corps do? Just be on your way, cya
On Sunday, 9 August 2020, Santeri wrote:

Sending buggy code is also not constructive

Sending no code at all is not constructive. We have way different opinion on what's "buggy". But that's what you get, I bet no real developers can write code during their career and never "send buggy code".

 It's just funny how you make statements that you can't objectively backup because you interpret something in a way. Then when the same thing is pointed to you, you deny it. You contradict yourself by that.
--
You are receiving this because you were mentioned.
 Just stop? Do I need to write: 'you're too autistic to add to our codebase' like corps do?  I stop when I want to stop. Write whatever you want to write, certainly won't do anything good to you.  but at the same time I'm working with code and contributed to this repository but yet still no one wants my code. Contradiction.

You're just awkward? Look this:
I stop when I want to stop. Write whatever you want to write, certainly won't do anything good to you.  but at the same time I'm working with code and contributed to this repository but yet still no one wants my code.
  Just stop? Do I need to write: 'you're too autistic to add to our codebase' like corps do?  I stop when I want to stop. Write whatever you want to write, certainly won't do anything good to you.  but at the same time I'm working with code and contributed to this repository but yet still no one wants my code. Contradiction.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67105543

--
Sent from my Jolla

You're just awkward?

What's your point / goal labeling me all the time by some names or characteristics? Do you think it makes you any better than your self claimed "lunatic".

Just good luck

Just good luck for you too? Never really wanted any harm to you. But what I don't get is the whining and your victimhood of time taking and pushing "buggy code" etc. The thing is just that you don't like me, don't really care what psychological stuff there happens, am I threat to you etc.

Good luck lunatic
On Sunday, 9 August 2020, Santeri wrote:

You're just awkward?

What's your point / goal labeling me all the time by some names or characteristics? Do you think it makes you any better than your self claimed "lunatic".

Just good luck

Just good luck for you too? Never really wanted any harm to you. But what I don't get is the whining and your victimhood of time taking and pushing "buggy code" etc. The thing is just that you don't like me, don't really care what psychological stuff there happens, am I threat to you etc.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67105642

--
Sent from my Jolla

@szopin, I think it might be wise to remove these comments from this repository, or what do you think? You can certainly develop your app in a way that you want. Not going to "interfere" any longer since there's too much friction between us.

Why don't you heed your own comments advice?
On Sunday, 9 August 2020, Santeri wrote:

@szopin, I think it might be wise to remove these comments from this repository, or what do you think? You can certainly develop your app in a way that you want. Not going to "interfere" any longer since there's too much friction between us.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67105982

--
Sent from my Jolla

Why don't you heed your own comments advice?

What do you mean by that? Then again it doesn't seem to help with my question. If you really think that it's good to have them here then let's go with that.

 Kek, you're really retired
On Sunday, 9 August 2020, Santeri wrote:

Why don't you heed your own comments advice?

What do you mean by that? Then again it doesn't seem to help with my question. If you really think that it's good to have them here then let's go with that.
--
You are receiving this because you were mentioned.

What do you mean by that? Then again it doesn't seem to help with my question. If you really think that it's good to have them here then let's go with that.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67106056

--
Sent from my Jolla

Okay then. Must've bitten you quite well to you going in a ranting mode

Sure dude, we made special.case for you calling: mommy! And outside of that get fucked, you have literally nothing except: this space between labels should be extra +25pixels ok?
On Sunday, 9 August 2020, Santeri wrote:

Okay then. Must've bitten you quite well to you going in a ranting mode
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67106157

--
Sent from my Jolla

"Must've bitten you quite well" lol explain, all

Okay then. Must've bitten you quite well to you going in a ranting mode

Bitten?  Dude, how about you submit a worthwhile piece of code or nothing? I'm fine with both, if you want to just complain, go ahead but without me, if you want to add something to the codebase I will support you.  Again, no need to regress to childlike behavior of interpreting or characterizing actions when you could just simply ask.
JavaScript date formatter provides nice way to format dates. This similar formatDate can also be used to have lots of other Formatter methods like for dates in general.
Just add the wanted date to replace the last_activity. I used the JSON timestamps for this so no need to format anything before creating new date.
var latestTime = new Date(last_activity)
var formatted = Format.formatDate(latestTime, Formatter.DurationElapsedShort)

Thanks dude, appreciate it

I've asked you multiple times, i don't really care, thanks for sharing, still doesn't fix the beef we have between us does it
On Sunday, 9 August 2020, Santeri wrote:

@szopin, I can more than willingly provide what I used on implementation since I like this app myself. Again, no need to regress to childlike behavior of interpreting or characterizing actions when you could just simply ask.
JavaScript date formatter provides nice way to format dates. This similar formatDate can also be used to have lots of other Formatter methods like for dates in general.
Just add the wanted date to replace the last_activity. I used the JSON timestamps for this so no need to format anything before creating new date.
var latestTime = new Date(last_activity)
var formatted = Format.formatDate(latestTime, Formatter.DurationElapsedShort)

--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/szopin/harbour-sfos-forum-viewer/issues/13#issuecomment-67108020

--
Sent from my Jolla

@szopin, I don't think you've explicitly asked here to provide the code for that. However, if you have well not it's provided to you. The fix for sort of "beef between us" is not to develop anything together. Thus I won't be contributing here any longer.

@szopin, I don't think you've explicitly asked here to provide the code for that. However, if you have well now it's provided to you. The fix for sort of "beef between us" is not to develop anything together. Thus I won't be contributing here any longer.

Awesome, I just wonder why it took you sooooo freaking long (54th comment in this thread alone), cya dude

Thank you very much, just updated, this helps alot now that I have a clue where to start reading without switching to web browser first.


missing doc

thx for this great project, i am struggling getting it to work.
how do i deploy prometheus to my K8s cluster, is there a sample we can use?

Using Helm --> https://github.com/helm/charts/tree/master/stable/prometheus


Add google/cel-spec as managed module

This module is a new dependency for the already managed module cncf/xds. See #339

Tested how files would be generated and sent to the BSR instances: https://github.com/bufbuild/modules/pull/345