Improve Glossary

This PR addresses the false statements mentioned in https://github.com/corona-warn-app/cwa-website/issues/1477#issuecomment-877214152.
This is a follow up to PR #1478.

Please don't merge this yet, I have one more thing to address.

@Ein-Tim

Please don't merge this yet, I have one more thing to address.

You could set the PR to Draft if you don't want it reviewed or merged yet.

I've now addressed one more inaccuracy and this is PR is ready to merge @dsarkar!

Okay, thanks for the feedback @GisoSchroederSAP! I'll revert the change for now, but please don't forget to adjust this, especially if every certificate has a different validity.

So, reverted. I can adjust the wording tomorrow (if needed). But tbh, the entry really is all about vaccination certificates, so why can't we leave "Impfzertifikat" there for now and only change it ones the entry was made more general? Please think about it again @GisoSchroederSAP.
Thank you for your work, have a goos night!

Basically, the intention of the whole article is to explain the proper separation of the "technical" validity from the "effective" validity.
And yes, at the time of writing this, I only had a sample of an vaccination certificate at hand.
In fact, the whole explanation could have been done as well with a travel passport and trans "translated" to certificates in general - but my concern is, most of the users are just focussed on the vaccination certificate.
As mentioned earlier: I am totally fine to name the article "Gültigkeit eines COVID-Zertifikats" 'cause COVID-Zertifikat covers all three types of certificates.

As mentioned earlier: I am totally fine to name the article "Gültigkeit eines COVID-Zertifikats" 'cause COVID-Zertifikat covers all three types of certificates.

Yes, but then the title covers all three types but not the entry, so this is (in my opinion) not really helpful for the user.
But I'm fine with that, I'll change the wording to "Gültigkeit eines COVID-Zertifikats" and I'm sure you'll come up with a more general explanation then.
Thanks for your feedback.

Title changed, ready for merge (from my POV)!

I suggest to change the title to
"Gültigkeit eines EU digitalen COVID-Zertifikats"
to match the official name on the document.

Before the example about the Impfzertifikat starts (before the text "In dem Zertifikat"), then add a sub-header in bold which says:
Impfzertifikat
otherwise the reference "in diesem Falle" has no meaning.

I am confused about the paragraph starting "Die Check App". Why is that here in a glossary about the Corona-Warn-App? Shouldn't the reference in this and the following paragraph be to the Corona-Warn-App and not to the Check App? In any case there is no app with this exact name. If the CovPassCheck-App is meant, then the proper name of this app should be used (see Google Play Store description).

The logic in the last sentence "Unerheblich davon..." is not so good and the sentence could be made simpler and more understandable.

I suggest to change the title to
"Gültigkeit eines EU digitalen COVID-Zertifikats"
to match the official name on the certificate documents.

Done in https://github.com/corona-warn-app/cwa-website/pull/1483/commits/a8374a566f8f312b778607c546367aef81863dbd.

Before the example about the Impfzertifikat starts (before the text "In dem Zertifikat"), then add a sub-header in bold which says:
Impfzertifikat
otherwise the reference "in diesem Falle" has no meaning.

Done in https://github.com/corona-warn-app/cwa-website/pull/1483/commits/a8374a566f8f312b778607c546367aef81863dbd too, but now I see the problem that the second bullet point is a bit out of context?

Concerning 3) and 4) I don't think that a Glossary should refer to an app at all.

Also done in https://github.com/corona-warn-app/cwa-website/pull/1483/commits/a8374a566f8f312b778607c546367aef81863dbd.

@GisoSchroederSAP Please take another look if these changes are fine with you. Thanks!

@Ein-Tim
Thanks for making the changes! I think the article is now much more understandable than it was before.
If @GisoSchroederSAP can soon add the information about the other types of certificate that would be perfect.

Since Giso (not mentioning him here intentionally) said he will take a (well deserved) summer break, I guess we won't here feedback from him in the next few weeks.
So maybe @dsarkar, could you take this over and get an approval on the changes? If not, please apply the on hold label here and we'll wait for Giso to return.
Thanks everyone enjoy the evening and sleep well! 😴

@Ein-Tim @MikeMcC399 @GisoSchroederSAP  Thanks! Merged.


Support slice with negative step

Freezing this issue until the [RFC](https://github.com/ietf-wg-jsonpath/draft-ietf-jsonpath-base finished.


Nil value

When installed and all inventory, none of my mechanic jobs, or ems jobs have items in there shop or armory. Upon further evaluation with F8, it tells me "attemt to perform arithmatic on nil value (field 'ammount'). I looked in the file system it directed me to and found no errors. The file process says @qb-target/client/framework/qb.lua:17. Any ideas?

fix
https://github.com/overextended/ox_target/pull/130


Spanish voice pleaseeee

Can you please add Sara (spanish) voice to the parameters? My chat speaks spanish and the LOVE they extension even without this<3

The current API we are using for the text to speech doesn't have a Sara voice. It does include a few other Spanish voices though:

Enrique, male, Spanish European
Conchita, female, Spanish European
Lucia, female, Spanish European
Mia, female, Spanish Mexican
Miguel, male, Spanish American
Penélope, male, Spanish American

If you want to learn some more about the voices you can read the 256-page documentation here  but on pages 18-20 should be all the information you need.

The current API we are using for the text to speech doesn't have a Sara voice. It does include a few other Spanish voices though:

Enrique, male, Spanish European
Conchita, female, Spanish European
Lucia, female, Spanish European
Mia, female, Spanish Mexican
Miguel, male, Spanish American
Penélope, male, Spanish American

If you want to learn some more about the voices you can read the 256-page documentation here  but on pages 18-20 should be all the information you need.

Thanks a LOT, you made my day <3


Add sltc

Official Website
https://www.sltc.ac.lk/
Example degree program
https://sltc.ac.lk/education/school-of-it-and-computing/bsc-hons-in-information-technology-in-software-engineering

@ceylongit Pull request merged. Thank you!


max_shard_size in quantization does not work

修改save_checkpoint函数里的：
processor.save_pretrained(output_dir, max_shard_size=max_shard_size)
max_shard_size选定切片大小为1GB但切出来的safetensors依然9GB，保持transformer里默认的大小。这个参数好像没有生效

Hello, we tried to solve the issue.
This is what we did:
Modify the Trainer class to override the save_checkpoint method, removing the max_shard_size parameter from the processor.save_pretrained call to address the issue with shard sizes.
You can review changes in this commit: https://github.com/mnmnk43434/modelscope-ms-swift-2586/commit/3e4f60a6aa2bd03d0ef2e8d475aee2bf98f9f195.

[!CAUTION]
Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.

If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.

fixed

fixed

并没有解决。GPTQ量化不支持max_shard_size，希望swift框架能对其做适配


FIX: Use correct script path on subfolder installations

I suppose it's going to be very complicated to add a test for subfolder?

Yes, especially since this plugin doesn't have any specs at all 😅


How to disconnect?

I have read and notify working.
But after doing a read, how do I get the node to disconnect from the ble device?

Thanks for that fantastic node! Unfortunately I also need to disconnect and reconnect my device after every request. A possibility to disconnect and reconnect would be very fine!
Perhaps this can happen, if a message with msg.disconnect arrives.

I have also the same use case, my ble device bread a disconnected for some operations.
Thank you for the very cool Node. 👍

Thank you for the feedback and sorry for late reply.
Unfortunately, this version of node tries to keep connection once it's established (re-connect on disconnection).
Will change the behavior in the coming major version update.

As of v4.0.0, connect/disconnect requests are available. Import the example flow after installing/updating the node.
But read Installation Note carefully when you install it on Raspberry Pi or other Linux boxes.


Data serialization in SSR mode is not possible

If you use a SSR framework like Next.js or Nuxt.js you can't use the Baqend JS SDK properly. Serialization and therefore correct client side hydration is not possible. This has to do with non-POJOs that can't be serialized on the server.
Because of that the framework triggers another call (client-side) on first render to Baqend to fetch the same data.
tl;dr: I don't know if this will ever be possible because the serialization can't handle functions or non-POJOs.

Hi,
thanks for the feedback, we are already discussing how we can improve the SDK here. I'm not familiar with Next.js. Do you know if instances of normal classes are supported? Or must all objects be plain POJOs?
We have a concept in mind that we remove the proxy like behavior with getters/setters how it is implemented right now and switch to normal instance properties. But I'm not sure if that will fix the issue here.
Feedback is very welcome for our next SDK iteration.

I just want to let you know that we are most done to habve pojo like Proxies which also should work with Next.js. If you want to give it a try let me know!

This is released with 3.0


chore(deps): update terraform terraform-ibm-modules/resource-group/ibm to v1.1.4

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/resource-group/ibm (source)
module
patch
1.1.0 -> 1.1.4

Release Notes

terraform-ibm-modules/terraform-ibm-resource-group (terraform-ibm-modules/resource-group/ibm)
v1.1.4
Compare Source
Bug Fixes

fix variable name in catalog validation json template (#535) (6cadceb)

v1.1.3
Compare Source
Bug Fixes

fix typo in catalog validation json template (#534) (c4eb24f)

v1.1.2
Compare Source
Bug Fixes

cleanup for catalog onboarding (#533) (ec38fcc)

v1.1.1
Compare Source
Bug Fixes

create ibm catalog manifest which will be used for onboarding to the IBM catalog module registry (#528) (87bd79c)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

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


proxmox.*.vmid has to be type "string" but received type "number"

The problem

2023-09-26 07:49:57.436	info	State value to set for "proxmox.0.qemu_iobroker.vmid" has to be type "string" but received type "number"
2023-09-26 07:49:57.968	info	State value to set for "proxmox.0.qemu_OpenMediaVault.vmid" has to be type "string" but received type "number"
2023-09-26 07:49:58.158	info	State value to set for "proxmox.0.lxc_influxdb.vmid" has to be type "string" but received type "number"

Version of nodejs
18.17.1
Version of ioBroker js-controller
5.0.12
Version of Adapter
2.1.0
Version of Proxmox
7.4-16
Operating system running ioBroker
Ubuntu LTS
Checklist of files to include below

[X] iobroker.current.log (Please share the logs in debug mode)
[ ] Contents of the JavaScript browser console (always include in cases of issues with the user interface)

Additional information & file uploads
No response

check GIT version

check adapter settings

corr


Workspaces in Sidebar don't show Avatar (loads default icon only)

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to Workspace and update the Avatar
Come back to Settings to see the Workspace list
All workspaces show default building icons only.

Expected Result:

Actual Result:
https://user-images.githubusercontent.com/3069065/128413189-fc6906ee-d583-4897-b1b8-bb26c2c34492.mp4
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
View all open jobs on Upwork

Triggered auto assignment to @conorpendergrast (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

Proposal
At the moment, we're only loading the default Building icon in the Workspace sidebar list. We also need to make changes in the MenuItem to accommodate an avatar image.

MenuItem.js

import Avatar from './Avatar'; // import Avatar

// Update prop type. allow icon to be either a URL or an icon element
icon: PropTypes.oneOfType([PropTypes.elementType, PropTypes.string]),

// Add a new propType to see if avatar is passed or icon
iconType: PropTypes.oneOf(['avatar', 'icon']),

const defaultProps = {
    focused: false,
    disabled: false,
    subtitle: undefined,
    iconType: 'icon', // make icon default so that existing code doesn't break
};

// View changes

 <View style={styles.flexRow}>
    {(icon && iconType === 'icon') && (
        <View
            style={[
                styles.popoverMenuIcon,
                ...iconStyles,
            ]}
        >
            <Icon
                src={icon}
                width={iconWidth}
                height={iconHeight}
                fill={iconFill || getIconFillColor(
                    getButtonState(focused || hovered, pressed, success, disabled),
                )}
            />
        </View>
    )}
    {(icon && iconType === 'avatar') && (
        <View
            style={[
                styles.popoverMenuIcon,
                ...iconStyles,
            ]}
        >
            <Avatar
                imageStyles={[styles.avatarNormal, styles.alignSelfCenter]}
                source={icon}
            />
        </View>
    )}

    ....
    ....
    ....
    ....

Reproduced!

Triggered auto assignment to @nickmurray47 (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

Hey @mananjadhav, your proposal looks good to me and looks like it would solve the avatar issue.

Triggered auto assignment to @roryabraham (Exported), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

Triggered auto assignment to @mallenexpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

Sorry, applied the wrong label. Looks like I needed the Exported label to get a contributor manager to hire @mananjadhav through UpWork. @mallenexpensify the proposal looks good and ready to be tested in a PR.

@mananjadhav I invited you to submit a proposal in Upwork. https://www.upwork.com/jobs/~01aec7d5c658828588. Please
The job price is $250 (the bonus for reporting the issue will be applied later).  If you see a job price of $1600, will you snap a screenshot and try to document the steps you took that led to seeing that price? We're trying to fix a bug in the Upwork platform where they're presenting the wrong price.
Please confirm here once you've accepted the job for $250 or if you've found any price issues. Thanks

Accepted the job with $250.

@mananjadhav, @mallenexpensify, @nickmurray47 Whoops! This issue is 2 days overdue. Let's get this updated quick!

Waiting for code to hit production


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>

Codecov Report

Merging #510 into master will decrease coverage by 1.48%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #510      +/-   ##
==========================================
- Coverage   72.59%   71.11%   -1.49%
==========================================
  Files           1        1
  Lines         135      135
==========================================
- Hits           98       96       -2
- Misses         37       39       +2

Impacted Files
Coverage Δ

src/service-consul.js
71.11% <0%> (-1.49%)
:arrow_down:

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 28a8b67...9f0426a. Read the comment docs.

Coverage decreased (-1.07%) to 65.241% when pulling 9f0426a1a552301808a7400a747db401869ccc1f on template-sync-1 into 28a8b67520d1eea52f9429efd7b91bcbb2950684 on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Remove docs from led-tests.

This test relies on many environment variables that are not set
correctly on led-tests making them fail.
Bug:
https://github.com/flutter/flutter/issues/60646

Landing as TBR to complete the docs migration.


[declarative-hack] Planning 8 ExternalLanguage hangs on unknown intent. Also hangs emulator

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.
Version
Local build from ComposableDialog branch
Describe the bug
The dialog in the repro steps causes the bot/conversation to hang and not respond. The emulator also hangs and we could not save a proper transcript file. We tried turning on stop on exceptions in Debugger but that resulted in too much noise from the Expressions library.
To Reproduce
Steps to reproduce the behavior:

Run testBot Json with Planning 8 Dialog.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
[bug]

no longer reproducable


Improve self-generated certificate

Currently if https is enabled, but there's no certificate, Jolokia generates one:

reflectively using sun.security.tools.keytool.CertAndKeyGen#getSelfCertificate() before #394
using custom ASN1 implementation (to be independent on things like BouncyCastle) after #394

In addition to a bug I made (not multiplying by 1000, so the certificate is valid for 4 days instead of 10 years), there are few more problems:

no SAN headers (cn is Jolokia Agent 1.7.1)

javax.net.ssl.SSLPeerUnverifiedException: Certificate for <localhost> doesn't match any of the subject alternative names: []
	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.verifyHostname(SSLConnectionSocketFactory.java:507)
	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:437)
	at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:384)
	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)
	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
...

using SHA1 digest which is disabled on newer JDKs (jdk.certpath.disabledAlgorithms in /etc/crypto-policies/back-ends/java.config)
using PKCS12 in the first place, which is unsupported in FIPS mode

Maybe it's good time to release 1.7.3 after fixing this issue.


{CI} Support check pull request branch

support branch check for pull request

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

For new extensions:

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

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

CI


renamed backend shape methods

Fixes #355

I will review this after the tests pass

Just took a look. This is fundementily broken so I'm just going to close this.


samples/drivers/watchdog: Not showing "Waiting for reset..." for nrf boards

Describe the bug
We are expecting to see the line "Waiting for reset...". However, we did not see it.
To Reproduce
Affected boards are

nrf51_pca10028 (frequency: occasional)
nrf52_pca10040 (frequency: 50:50)
nrf52840_pca10056 (frequency: almost always affected)

Steps to reproduce the behavior:

mkdir build; cd build
cmake -DBOARD=nrf52840_pca10056
make
make run

Screenshots or console output
Feeding watchdog 5 times
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS v1.14.0-rc1-1514-gcf91f8cf9001 (delayed boot 1000ms) *****
Watchdog sample application
Feeding watchdog 5 times
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
Feeding watchdog...
***** delaying boot 1000ms (per build configuration) *****
***** Booting Zephyr OS v1.14.0-rc1-1514-gcf91f8cf9001 (delayed boot 1000ms) *****
Watchdog sample application
Feeding watchdog 5 times
Feeding watchdog...
Feeding watchdog...

I am expecting Waiting for reset.. before the second and subsequent ***delay boot banners.
Environment (please complete the following information):

OS: fedora29
Toolchain: zephyr
Commit SHA or Version used: cf91f8cf9001bb31b3c8770104a516b1567a8636

Additional context

We see reset being performed, i.e., multiple delay boot/boot banners.

This is expected and correct behaviour, since we want watchdog to reboot after 5000ms of inactivity

Sometimes we do see the "Waiting for reset...", but it is very rare, 1 in 50 perhaps.
Experimentation says the MCU is resetted inside the last k_sleep(1000) call.

@kl-cruz could you please take a look at this?

@carlescufi  I'll have some time 8th April. If it is important please try to ask someone else

@cinlyooi-intel I works with today's source code version, I suppose this bug be fixed by other commits. FYI.

This is fixed now. as @overheat suggested. I tested on all nRF SoCs.


update director's page

I want to work on this issue. Can you please assign it to me ?

I would like to contribute to this repo, Can you assign me this issue please.............

please Assign this issue i would like to update the directors page


Enhancement: Allow use of any port on loopback redirect URL

As per RFC 8252 section 7.3 I am requesting that:

The authorization server MUST allow any port to be specified at the time of the request for loopback IP redirect URIs, to accommodate clients that obtain an available ephemeral port from the operating system at the time of the request.

According to my testing with a native app that uses a loopback redirect URL, OneDrive Oauth2 only allows the port specified in the Application Registration Portal.

Thanks for your feedback.
For new feature request (enhancement / suggestion), please use the OneDrive Developer Platform UserVoice at http://aka.ms/od-dev-uservoice, or the SharePoint Developer Platform UserVoice at http://aka.ms/sp-dev-uservoice.

The original request is very clear and does not require any further feedback. I would expect that it is obvious to the project leads why supporting the cited RFC section is a good idea. If not feel free to close this issue, because I do not intend to run a social campaign for it.


CLI installation error<EMAIL_ADDRESS>would be overwritten

When installing the cli I get an error. (deno 1.11, win10)
error: TS5056 [ERROR]: Cannot write file 'https://cdn.dreg.dev/package/<EMAIL_ADDRESS>because it would be overwritten by multiple input files.
Pasting the url in the browser prompted a "Not Found".
Also a newer version is available<EMAIL_ADDRESS>

Same error with Deno 1.11.5 ...


ACL for last will?

Hi. Sorry I am not sure where to ask this question. I have set-up VernMQ to use the DB for authentication.
All is working well from diffident development platforms. I am now using Flutter to develop a cross platform mobile app.
As part of the connect method you give it a last will topic and a will message. If I leave it black I get the error from VerneMQ
session stopped abnormally due to 'cant_parse_last_will'
If I put in some topic and message then I get this error
session stopped abnormally due to 'cant_validate_last_will_topic'
So it seems to me that I have to give it a last will topic that the ACL will allow. So I did that also. Here are the sub and pub ACLS.
[{"pattern": "@GINJVJRN386DEDA489947C838C309873C8BE37A2/#"}]
I can publish and subscribe to all topics that start with @GINJVJRN386DEDA489947C838C309873C8BE37A2/
If I give it a will topic of this
GINJVJRN386DEDA489947C838C309873C8BE37A2/willtopic
Then I get this error
"GINJVJRN386DEDA489947C838C309873C8BE37A2">>,<<"willtopic">>],<<"Will message">>,false] due to not_authorized
2021-07-19 13:04:28.263 [warning] <0.751.0>@vmq_mqtt_fsm:check_will:628 can't authenticate last will

So how do I set an ACL for this will topic?

Hahahaha OK nevermind it was my fault I got it working now.


Add distingiush endpoint to modtools

👓 @birakattack @madbook

relevant api docs for reference

:haircut_man:

I actually think this is a remnant of what we were going to implement at first @madbook. Now, I am only passing around moderator and '' in the client app. When it hits node-api-client, that's when I use the hash values.
I can delete the export.

:haircut_man:


Create wayfarer.go and Router#unbind methods

Using wayfarer.go(path, [params]) we can now require('wayfarer') across multiple files and dispatch a path from anywhere.  For example, I can declare my react routes in one file and then setup action functions in another file that can call wayfarer.go('/users').
router.unbind is mostly to make things easier to test.

Thanks for writing the patch, I appreciate it a lot.
However, the functionality you're describing is already possible with the current implementation. It's actually one of the reasons I wrote wayfarer.
./router.js
const wayfarer = require('wayfarer')

const r = wayfarer('/404')

module.exports = r

r.on('/foo', () => /* do something */)
r.on('/bar', () => console.log('bar path was called'))
r.on('/404', () => /* do something */)

./main.js
const r = require('./router')

r('/bar')
// => 'bar path was called'

The reason that this works is because wayfarer produces a singleton, which makes the teardown function you proposed in the tests unneeded. I hope this answers your question, let me know if I can help in any way. Cheers!

Woops!  I guess I'm so used to working with libs that return new instances I just wasn't paying attention.  That's embarrassing.
Wayfarer looks great, thanks for the heads up!


Add CMake support for qtcpp generator

The qtcpp generator should also create a CMakeLists file to support the CMake build tool

Someone which knowledge of CMake would need to help here and create a pull request.

Hey Jürgen, I'd be happy to help. Hopefully I will find some time soon to do this.

@GordanM would be awesome. Thx. I will also try to enable a colleague of mine.


How did you decide on nn.linear(661, 1024)?

I wonder where 661 comes from.
thanks.

661 is the square root of the amount of unique movies hard coded in, so that the input to the transformer can match the shape of the output of the embedding.
I'm not sure why the decision was made, but you can see the output shape of the movie embeddings
 nn.Embedding(   len(movies.year.unique()), int(math.sqrt(len(movies.year.unique())))  )
you can replace it with   int(math.sqrt(len(movies.year.unique())))   and it should fix the errors if you change the dataset size

thanks for your explaination, it's very clear!


Updates

Get workflows in sync with the skeleton
Run on 8.3
Added return types for migrations

Thanks!


DD addin creates duplicate features when exporting

When exporting to (FC, SHP, and kmz) DD creates duplicate features.  See screen grab below. To reproduce:

Create features (lines)
Save As file type
Open attribute table

Edited: This is not seen in circles

This is not seen in Pro.  See screen grab below.
\ncamposdt\Shared_Folder

The duplicate features seems to only happen with lines created from Distance and Bearing

currently looking at this issue and it boils down to the action of retrieving graphics from a list was performed twice. I'm hoping to get this narrowed down by COB today.

Fix is in this PR

I built the add-in and tested this functionality.
Created two lines using angle and distance. Output to feature class and shapefile, feature counts match.

Output to KMZ, features drawn in ArcGIS Earth, feature counts match.

@kgonzago - looks good.

This issue is no longer listed on the Known Issues page in the CMS.
Removing QC-Doc tag.


Abandoned Industrial Compound - two coolers

On the north side of the location, under the stairs of the tower by the rock there is a cooler on its side on a bunch of garbage, two coolers occupy the same space, so far in every instance of this location.

Details
Location object related, no associated quests. Item is shown as FF06C781 in console.
Game Version
<IP_ADDRESS>
New Game
Yes
Reproduction Steps
None necessary.

Addressing as part of issue #848


pam transaction aborted

Everything worked fine yesterday, I went to sleep and when I boot up the PC again and try to log in with ly on the xinitrc option I'm met with this: https://github.com/fairyglade/ly/issues/2
I've symlinked "/usr/lib/security/pam_loginuid.so" to "/usr/lib/pam_loginuid.so as nullgemm mentioned but it didn't do much. I don't know how to check if ly can access pam_loginuid.so or how to check my pam config or modules. I'm pretty sure I've done no edits to it whatosever.
When trying to log in with the shell option I can actually access my system, but startx is not working either. I'll add that nitrogen does start and load up my wallpaper before the Xorg server is killed, I'm using picom as my compositor and qtile as my window manager.
I'm starting my programs in this order:
nitrogen --restore &
dunst &
udiskie -s &
picom &
wal -R &
exec qtile start

It was a problem with some python libraries I deleted by accident while trying to delete some other package with pip.

Fresh installation of Arch with i3 on Rog M16 2022 getting pam transaction aborted
However able to login with xinit


Roll Engine from a5b860a2656f to d4216bcd019b (1 revision)

https://github.com/flutter/engine/compare/a5b860a2656f...d4216bcd019b
2021-09-24<EMAIL_ADDRESS>Roll Dart SDK from 6aa8a4aef43a to 7e8e12d4d296 (2 revisions) (flutter/engine#28829)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Improve getOperations logic and validations

The getOperations function and all associated helper functions currently require refactoring and improvements in their logic.

For instance, there is a (potential) recurring issue where the operation variable is reassigned during each iteration of the loop, as can be seen in the following snippet:

https://github.com/FuelLabs/fuels-ts/blob/3c1920e72d1459acb802952562c8dd6878153d9c/packages/providers/src/transaction-summary/operations.ts#L317-L323
It is crucial to ascertain whether this logic properly handles cases like a single transaction that involves the transfer of multiple assets among various addresses.
We can also improve the logic here and stop reassigning the operations variable if only one operation is expected.

Additionally, it is necessary to validate whether transactions of the Create type can in fact generate a Transfer Asset operation:

https://github.com/FuelLabs/fuels-ts/blob/3c1920e72d1459acb802952562c8dd6878153d9c/packages/providers/src/transaction-summary/operations.ts#L408-L413
Proper validation will ensure the reliability and maintainability of this code.

Completed via #1400.


Possible issues when converting to C#

This is rather a question than an issue. I didn't find any other channel to ask this question.
I guess most of the Win2D users will be coding in C#. With a quick glance, I didn't notice anything that 'requires' this library to be coded in C++/CLI.  Is there anything that could be blocking the conversion to C#?

This library isn't implemented using C++/CLI, it's implemented using C++/CX, which produces a WinRT component that can be consumed by C#.  The task of parsing an SVG file and render it with Win2D doesn't inherently require C++.  However, I chose C++ for this so that if a native app were to consume it then it wouldn't need to load the .NET runtime just to use it.
It's also worth calling out that Win2D is going to natively support SVG soon (see https://github.com/Microsoft/Win2D/issues/509).

Thanks for correction! Native SVG support will be a great addition to the features. Basically thats the only thing I'm still missing! Nice.


Read stored json with default UTF-8 encoding

@schnapster - could you please create a ticket for this PR? Also, what about UTF-16/32 This change will lock it to UTF-8 which is fine for most. Would be great to have defalt and ability to configure.

@baranowb for UTF-16/32, the use can simply provide a charset in the header. have a look a few lines above the code I changed, it always respects the charset parameter from the header first before deciding for defaults for specific content-types.
As for the ticket - I'm not that deeply involved with the project and its details. To avoid back-and-forthing through a bespoke bureaucracy process and guidelines, please feel free to do all the required steps on my behalf, including formatting/renaming of code if necessary. "Allow edits by maintainers" is enabled =) I'd be happy sign a CLA if necessary.
Best,
Dennis


WorldGen failure in new Frosty DLC

When activated, this mod loads into the game without issue, but when one tries to start a new base, worldgen fails. This is the relevant output from player.log:
[22:47:25.901] [37] [INFO] Generating world: expansion1::worlds/VanillaSandstoneDefault
[22:47:30.883] [37] [WARNING] Room has no centerpoints. Terrain Cell [ shape: TallThin size: 2] [290 features/ocean/SaltCave (55.9, 119.1)]
[22:47:31.691] [37] [INFO] Applied story trait 'storytraits/MegaBrainTank'
[22:47:31.734] [37] [INFO] Applied story trait 'storytraits/CritterManipulator'
[22:47:31.776] [37] [INFO] Applied story trait 'storytraits/LonelyMinion'
[22:47:31.864] [37] [INFO] Applied story trait 'storytraits/FossilHunt'
[22:47:32.010] [37] [INFO] Applied story trait 'storytraits/MorbRoverMaker'
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/IdealLandingSite, new size: 128x153
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/MarshyMoonlet, new size: 64x96
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/MediumForestyRadioactiveVanillaWarpPlanet, new size: 160x176
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/MediumForestyWasteland, new size: 160x176
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/MediumRadioactiveVanillaWarpPlanet, new size: 160x176
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/MediumSandyRadioactiveVanillaWarpPlanet, new size: 160x176
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/MediumSandySwamp, new size: 160x176
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/MediumSwampy, new size: 160x176
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/MiniRegolithMoonlet, new size: 96x96
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/MooMoonlet, new size: 96x80
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/NiobiumMoonlet, new size: 64x96
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/RegolithMoonlet, new size: 160x96
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/TerraMoonlet, new size: 160x274
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/TundraMoonlet, new size: 64x128
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/VanillaArboria, new size: 240x380
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/VanillaAridio, new size: 240x380
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/VanillaBadlands, new size: 240x380
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/VanillaForestDefault, new size: 240x380
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/VanillaOasis, new size: 240x380
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/VanillaOceania, new size: 240x380
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/VanillaSandstoneDefault, new size: 240x380
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/VanillaSandstoneFrozen, new size: 240x380
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/VanillaSwampDefault, new size: 240x380
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/VanillaVolcanic, new size: 240x380
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/WarpOilySwamp, new size: 128x153
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to expansion1::worlds/WaterMoonlet, new size: 80x174
[22:47:32.011] [INFO] [CGM WorldgenModifier]: Resetting custom planet size to dlc2::worlds/CeresClassicAsteroid, new size: 240x380
[22:47:32.011] [37] [WARNING] Worldgen Failure on seed V-SNDST-C-1686279328-HXNAM-D3-DH, modded=False
[22:47:32.012] [37] [INFO] Reporting error.
[22:47:32.012] [37] [INFO] WorldgenFailure:
[22:47:32.012] [37] [INFO]   at (wrapper dynamic-method) ProcGenGame.TemplateSpawning.ProcGenGame.TemplateSpawning.DetermineTemplatesForWorld_Patch1(ProcGen.WorldGenSettings,System.Collections.Generic.List1<ProcGenGame.TerrainCell>,SeededRandom,System.Collections.Generic.List1<UnityEngine.RectInt>&,bool,System.Collections.Generic.List1<ProcGen.WorldTrait>&,ProcGenGame.WorldGen/OfflineCallbackFunction)   at ProcGenGame.WorldGen.RenderOffline (System.Boolean doSettle, System.IO.BinaryWriter writer, Sim+Cell[]& cells, Sim+DiseaseCell[]& dc, System.Int32 baseId, System.Collections.Generic.List1[ProcGen.WorldTrait]& placedStoryTraits, System.Boolean isStartingWorld) [0x000cb] in <043309e6f0914d9f9e207a782760f195>:0
[22:47:32.115] [1] [INFO] Submitting crash...
Submitted crash!

Hi @MichealMcErlean,
thanks for bringing this to my attention! I uploaded a bugfix with v1.1.6. It should be available via Steam Workshop by now.
Please note that the floor lamp will not spawn in the Frosty biome as it is blocked by the Wood Pile. Reopen this ticket if the game still crashes at world generation.


docs: add mike to the documentation and update looks

Is this one ready?

@wolfv Still need to make the actual gh-pages branch

Looks good to me! If you have some time, maybe you can add the toggle thingy to rattler-build as well :)


Can get current file size from Progress Listener

Hello,
From the progress listener, we can get percentage, remaining time and rate of encoding.
I saw many other attributes which they could be convenient into the class AbstractProgressListener.php, like the Current File Size.
I tested to use these others attributes and I just had to put a new element with the attribute wanted into the array returned by the method getProgressInfo (in AbstractProgressListener.php).
It would be nice to integrate it !
Thank you :)

Hi, I know this is not the best place to post this, but I need some tips using this plugin. I want to create a progress bar, so for me is enough getting the percentage of the conversion. How did you do to retrieve it? I have tried this piece of code:
$format->on('progress', function ($video, $format, $percentage) {
echo "$percentage % transcoded";
});
It works, but I need to put it in a function to call it via $ajax and refresh the progress bar. I don't know how to do that because it is using the event handler. Then I your question, about using the ProgressListener, but I can't retrieve the data, it is always 0, in spite of the conversion is fine.
So could you tell me how to retrieve the info about percentage using the ProgressListener, or other way to get the percentage via $ajax?
Thank you very much!

Hi Ivan,
Your piece of code is good.
When I want to start an encoding, I put a flag into my database to notify a daemon script to run the encoding for the video downloaded, so it's a server thread which are used.
Then during the encoding I put the progress data into the database, with something like this:
$format->on('progress', function ($video, $format, $percentage) {

});
For getting the progress data in "real time" I use an ajax calling which it get data from database. So the thread used is this one used by the user connected to the website.
Hoping that help you :)

Thanks. This is a very useful info. I haven't thought about the possibility of storing the % on the DB and then read it.

@QuentinLORIOT If you know what to do, please create a Pull Request.
@ivan0013 If you have generel questions about the usage which is not a bug, please ask them on http://stackoverflow.com/questions/tagged/php-ffmpeg


Add section to README for expected project structure to make it easier to contribute new implementations

MVP of https://github.com/intuit/user-data-for-fraud-prevention/issues/16
The vision for this repo is to have common functionality (in the common folder) but then multiple implementations tweaking the formatting etc for that specific problem space, e.g. HMRC in UK, California state taxes, Ireland personal taxes and so on.
This structure should be detailed in the readme or its own file and linked from the readme.

I'm a Grace Hopper OSD participant and I'd love to take this one :)

@reubenae can I get some clarification on what changes need to be made and where?

I did love to contribute to this as a part of Grace Hopper OSD 2021, can you please elaborate more on what exactly needs to be done?

Can I please get some inputs on what needs to be done?

Sure. So currently all implementation specific to HMRC (the tax agency in the UK) is within the hmrc folder https://github.com/intuit/user-data-for-fraud-prevention/tree/master/src/js
We expect the repo to maintain this structure, where common/non-specific code is within the common folder, and then implementation specific is within a specific folder.
The idea here is that two implementations may collect the same data, but require it in a different format. Hence this separation. It will also allow us to easily expand the code owners in the future.
This issue is just to document some of that in the readme to help out people coming to this repo for the first time.

Ok @reubenae , I'll work on this


Rust and WebAssembly Working Group Meeting #46

Our next meeting will be Thursday, June 27th at 17:00 UTC.
Add agenda items here: https://paper.dropbox.com/doc/RustWebAssembly-WG-dcXi5F7Bqlvg10zd7dKve
As usual, we'll be holding open office hours, so if you have any questions about Rust and WebAssembly, feel free to add a bullet point to the agenda!
We use Zoom for video meetings, so make sure you've downloaded the client! (It's free, but you have to sign up.) Here is our meeting room: https://zoom.us/j/715879536
Anyone interested in Rust and WebAssembly is invited to join! Yes, that includes you!

cc @torch2424, as requested!

@fitzgen Yay! Thank you! 😄

Thanks for coming, everyone!


cmd/cue: vet: literal-only mode

Cue makes for a potentially nice representation format even just as a literal representation of the data, without any of the expressive power of identifiers, functions, definitions, etc.
As suggested by @crawshaw here, it might be good to have a literal-only vet mode (--literal ?).
Such a subset of cue would be more amenable to parsing by other languages that don't have the full cue machinery, while still providing a very readable syntax for config files and the like.
This could also be paired with a cue export type to render the output in Cue rather than JSON.

This is consistent with having a cue export mode type of CUE itself. That would be exactly that output.
Regarding the vet mode, I think the -c (concrete) option already does what you want. You may want to verify.

Regarding the vet mode, I think the -c (concrete) option already does what you want. You may want to verify.

That's a bit different. The -c option verifies that the output is concrete, but it still requires a full Cue interpreter to determine that concrete output. For example, cue vet -c succeeds on the following code:
import "strings"
x :: {
	y: strings.Join(["hello", "goodbye"], ",")
	...
}
z :: {
	z: 45
	...
}
w: x & z

So if you wanted to write a some code that reads the subset of cue accepted by cue vet -c, you'd have to implement all of cue, including the standard library. I'd like to see a format that really is just Cue literals, that could be implemented relatively straightforwardly in multiple languages and admits efficient and algorithmically simple runtime performance.
It could even have its own name - how about "Q (CUE) Strict Object Notation" or QSON for short?

@rogpeppe Cute how the S is repurposed as strict.
Fair enough. Should not be hard to implement. If a literal flag is set, one would walk over the ASTs of the parsed files (using ast.Walk) and verify there are only whitelisted nodes. I think just BasicLit, StructList, and ListLit, assuming you want to exclude BottomLit, and Ident in a Label position, comments, and the package clause. And probably attributes.
Another possibility is CUEL, but I agree it is helpful to look similar to JSON to express its familiarity.
Instead of --literal it code be a --mode=lit|graph|schema|all, which could also be used for export obviating the need for a separate gen command. See also #91.
Each output type could define the allowed modes. So for OpenAPI, there is only schema. For JSON there is only lit. For YAML it would be *lit|graph (I think).  For Proto it would be lit|schema (I think, and default depends on extension, if specified). For CUE it would be lit|graph|schema|*all, where the default may vary based on the extension, if specified.

For vet we would need both a --mode and --inmode or something like that.

If a literal flag is set, one would walk over the ASTs of the parsed files (using ast.Walk) and verify there are only whitelisted nodes. I think just BasicLit, StructList, and ListLit, assuming you want to exclude BottomLit, and Ident in a Label position, comments, and the package clause. And probably attributes.

This was my initial take on that whitelisting, FWIW: https://play.golang.org/p/571l3JrXsaS

This issue has been migrated to https://github.com/cue-lang/cue/issues/130.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


How to generate pano images from skybox images directly ?

You can use any offline tools to stitch the skybox images into panoramic images, e.g., from python or even Matlab.


How does formatting work with LSP

I have just updated to the latest build where odinfmt is now a separate binary. Previously Emacs LSP lsp-format-buffer worked when the options "formatter":{} section was in ols.json. Now with the formatter separated the LSP command to format the buffer no longer works. How do I get this working again as there is no option in the docs to allow the formatting through LSP?

That is correct. You can do it through odinfmt.json: { 	"character_width": 80, 	"tabs": true, 	"tabs_width": 4 }

I want the configuration be done the same with or without Ols.

@DanielGavin I have an ols.json in the root of my project and an odinfmt.json in the root. For some reason the LSP didn't pick it up. Restarting the LSP seemed to fix it. Strange


Fix instantiate_with_code benchmark

The time for executing the big benchmark contract was included in the component c which is only meant to include the instrument cost. Execution cost is charged separately via gas meter. We make sure to return early from the contract to make sure that it is independent of c.
Once we switch to wasmer we probably need a smarter solution.

/benchmark runtime pallet pallet_contracts

/benchmark runtime pallet pallet_contracts


Add TemperatureDelta (WIP)

Fixes #218
Add TemperatureDelta
Replace Temperature arithmetic with TemperatureDelta where appropriate
Add tests

@SirRufo Can you look over and comment?
I made a stab at this, but having problem with arithmetic doing things like Temperature.FromDegreesCelsius(10) * 2 == Temperature.FromDegreesCelsius(20).
See TemperatureTests.cs for commented tests. I think these should be doable, but my brain gave up and wants to sleep :-)

On a side note, the whole inherit units stuff was a side track, as I wound up not using it when I realized the conversions were different. I am keeping it, as it's been a topic of discussion before. Might come in handy later.

We cannot add two temperatures or multiply a temperature by a n (which is just adding for n times), because it does not make sense at all.
If we measure two cubes with each have a side length of 1 m, putting them together will indeed double the volume (2 * 1 cbm = 2 cbm), but the temperature of both (20°C measured for each) will not double - it will remain the same at 20°C. If the temperature is different (10°C and 20°C) then putting both together we will have a total temperature of 15°C (assuming both are of the same homogene material and ideal conditions).
The whole temperature arithmetic has to be done with the delta values.
BTW: I would also remove the - operator from temperature type.

Thanks, yes I think you are right. As much as 2 * 20 degrees Celsius should be 40 degrees Celsius, this must be multiplied by a temperature delta of 2 degrees Celsius. After a good night's sleep I finally realized that the different temperature scales have different zero points in addition to different scaling factors, so you can't simply multiply by two, but you can multiply or divide by some amount within each scale - the TemperatureDelta.
I'll remove the number arithmetic and only keep the Delta arithmetic with regards to Temperature, including the negate - operator. Same thing there.
So, the next thing that comes to mind. Are there other unit classes beyond Temperature that also has this problem of arithmetic with numbers not making sense?
Logarithmic units come to mind, but we already have a special case for these.

@SirRufo Please review again. I found that * and / operators would not work with TemperatureDelta. I realized that you need to perform those operations within the context of a particular unit, due to different zero points of different units.
Temperature.FromDegreesCelsius(20) * TemperatureDelta.FromDegreesCelsiusDelta(3) // NOT 60 degrees C..
Temperature.FromDegreesCelsius(20).Multiply(3, TemperatureUnit.DegreeCelsius) // 60 degrees C

Am I mistaken, or is this the path we must take for multiplication and division?
I've added some more tests now and all arithmetic seem to work as I expect now. Fahenheit and Celsius have different scales and different zero points, so they should cover most cases.
By the way, I did not mean to hijack your PR, but I went down a rabbit hole and have yet to climb out.

I only have a look at the units ...

x°C * y°C = x*y°C2.

Sure we need this?
That are the ones I see at first:
double operator /( TemperatureDelta a, TemperatureDelta b )
TemperatureDelta operator /( TemperatureDelta a, double b )
TemperatureDelta operator *( TemperatureDelta a, double b )
TemperatureDelta operator *( double a, TemperatureDelta b )

Useful units (which are new to your lib) dealing with TemperatureDelta would be:

heat capacity, with unit [J K−1]
specific heat capacity, with unit [J kg−1 K−1]

HeatCapacity = Energy / TemperatureDelta
SpecificHeatCapacity = HeatCapacity / Mass
SpecificEnergy = Energy / TemperatureDelta
SpecificHeatCapacity = SpecificEnergy / Mass

but that is another story

x°C * y°C = x*y°C

Where did you see this? I thought I removed all Temp * Temp calculations and tests.
What I did add, was Temperature Multiply(double factor, TemperatureUnit unit) and Temperature Divide(double divisor, TemperatureUnit unit), as in my previous example.
The TemperatureDelta operator overloads you mention should also be implemented, if you were asking to implement them?
Good point about the new units HeatCapacity and SpecificHeatCapacity, you are welcome to add these units and operator overloads in a PR.

So from what I can tell, this PR is now ready to merge.

Default arithmetic with Temperature removed
Custom arithmetic for Temperature and TemperatureDelta is added, also a custom Multiply() and Divide() method since this is easy to get wrong for the consumers of the lib.
TemperatureDelta added with default arithmetic, which should cover the examples you gave above


fix: add ca-certificates to the docker image

Fixes: #496
Signed-off-by: Pavel Aborilov<EMAIL_ADDRESS>

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

Thanks! Can you please rebase your PR to latest code - I have merged https://github.com/argoproj-labs/argocd-image-updater/pull/492 which fixes the deprecation warnings in golangci-lint.

Thanks! Can you please rebase your PR to latest code - I have merged #492 which fixes the deprecation warnings in golangci-lint.

done


CI should run in containers

Looks like we would not be able to merge this PR because of merge conflicts. Please rebase, fix conflicts, and force push to your branch.

Will close this PR. It's trying to achieve too many things.
One problem is that CI should run the in-container build,
The other is that the in-container build fails and does too many things
I'll create separate tickets and PRs


"Drăgușeni", "Podriga" and "Sarata-Drăgușeni" are listed in the drop-down menu

Description:
"Drăgușeni", "Podriga" and "Sarata-Drăgușeni" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Sarata-Drăgușeni" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sarata-Drăgușeni, Botoșani (Drăgușeni)".


Update cli.py

When DEPREL (8th field) is "root", HEAD (7th field) should be 0 in Universal Dependencies.

Yasuoka-san, Thank a lot! I'd like to merge your commit.


#9322: Move tt_eager to under ttnn as experimental

Ticket

#9322

Problem description

Moving tt_eager to under ttnn as experimental

What's changed

The intent is to create one library whereby tt_eager is brought in as experimental.
This PR simply sets up a symbolic link for now, but the idea is to update the CMakeLists.txt within ttnn to build one library.

Checklist

[ ] Post commit CI passes
[ ] Model regression CI testing passes (if applicable)
[ ] New/Existing tests provide coverage for changes

Trying out post-commit on this, and I'm expecting it to pass


add telnet CMD to nameServer

telnet Nameserver 9875 port
for example  telnet <IP_ADDRESS> 9875

Welcome . CMD for example

consumerProgress -g zzHelloSubGroup
consumerConnection -g zzHelloSubGroup
producerConnection -t zzHello -g zzHelloSendGroup
topicStatus -t zzHello

topicStatus -t zzHello
#Broker Name                      #QID  #Min Offset           #Max Offset             #Last Updated
broker-a                          0     0                     20                      2017-03-03 16:19:36,904
broker-a                          1     0                     19                      2017-03-03 16:19:36,916
broker-a                          2     0                     18                      2017-03-03 16:00:37,802
broker-a                          3     0                     18                      2017-03-03 16:00:37,813

Changes Unknown when pulling d349ee5edd460fcbe041a7f4ba8d43f8965dadc6 on Ah39:master into ** on apache:master**.

Changes Unknown when pulling 5e662a2bf567aabd29f6703849a4cc1f5bc424f5 on Ah39:master into ** on apache:master**.

Changes Unknown when pulling 5e662a2bf567aabd29f6703849a4cc1f5bc424f5 on Ah39:master into ** on apache:master**.

Changes Unknown when pulling 5e662a2bf567aabd29f6703849a4cc1f5bc424f5 on Ah39:master into ** on apache:master**.

Please notice your pr topic and relate the JIRA in the descriptions.

https://issues.apache.org/jira/browse/ROCKETMQ-117

@Ah39 Could you modify your PR topic?  http://rocketmq.incubator.apache.org/docs/pull-request/,please refer to it ~

here is the new https://github.com/apache/incubator-rocketmq/pull/81

Coverage increased (+0.2%) to 31.008% when pulling dffb20e349980b86fdb3e22b97c2b33a6baffbc9 on Ah39:master into a947fe21ba9bbdea08d20661eacabe7c88677363 on apache:master.

@Ah39 ， do you create a brand new pr with the same issue, if so IMO, this pr can be closed and let's review the pr of #81

if any update for this pr, we will close it~


Added tests and some improvements

I added some basic unit tests for the ExpoPushNotifications class. I also removed the getReceipts API call since it is obsolete.
Solves #7

Thanks for this @Livijn I will review this tonight!


Add Embedery

📝 Description
Add Embedery.com to the showcase. We are proud users of ChakraUI.
💣 Is this a breaking change (Yes/No):
No

Hey @Pinguii! Thank you for your submission, I just went through the site and I see that this was mainly done in Tailwind, I was interested in what part of this website is using Chakra UI? 🙌🏼

Hi @aacevski thank you for reviewing our website.
We do use Chakra UI quite a bit in our main application compared to our landing website, although on the landing website we have some forms and Chakra UI components implemented and we are currently transitioning some of our landing pages to Chakra UI components.
Let us know if you want to see anything more specific.
Thank you again.

@Pinguii we currently don't accept community submissions to the showcase page. Thank you for taking the time to open a PR though 🙌 we hope you enjoy working with Chakra UI!

Hi, @nikolovlazar that's fine, thank you both for taking the time to consider the change.


Update request: hyprland 0.36.0 → 0.37.1

Package name:hyprland
Latest released version: 0.37.1

Current version on the unstable channel:0.36.0
Current version on the stable/release channel:0.32.3

[X] Checked the nixpkgs pull requests

Notify maintainers
@wozeparrot
@fufexan

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

Checked the nixpkgs pull requests

Clearly you didn't.
https://github.com/NixOS/nixpkgs/pull/296446

Checked the nixpkgs pull requests

Clearly you didn't.
#296446

I did. It did not occur to me to look at the closed ones as the nixpkgs search returns 0.36.0 in the unstable branch leading one to believe that no one had submitted an update request. What is the delay between PR merge and the search page reflecting the change?

I did. It did not occur to me to look at the closed ones as the nixpkgs search returns 0.36.0 in the unstable branch leading one to believe that no one had submitted an update request.

Ah. Apologies for being snarky then.

What is the delay between PR merge and the search page reflecting the change?

PRs merged in master usually land in nixos-unstable in 2-7 days, depending on the load on Hydra. You can track the progress here.


Make sure tile ranges are integers.

If tile_position is given as a float, the x ranges could also be floats, which doesn't work with range iterators.

LGTM!


method name is not good: DifferDriver#makeDiffArtifacts()

interface DifferDriver {

    DiffArtifacts makeDiffArtifacts(DiffArtifacts diffArtifacts)

this method should rather be named "stuffDiffs" to better illustrate what it does

renamed makeDiffArtifacts() to differentiate()


Sortino Ratio Indicator Implementation

Description
Implementation of the SORTINO indicator class alongside the required unit tests and sample data. Addition of SORTINO method in QCAlgorithm.Indicators class.
Related Issue

 [https://github.com/QuantConnect/Lean/issues/6140](Issue)
Motivation and Context

No sortino ratio indicator exists, these changes implement this functionality.
Requires Documentation Change

Requires addition to the available indicators that users may need to use.
How Has This Been Tested?

This change was unit tested using the standard unit test classes and the indicator was validated using sample data with a 10 period trailing sortino ratio.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Refactor (non-breaking change which improves implementation)
[ ] Performance (non-breaking change which improves performance. Please add associated performance test and results)
[ X ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[ X ] My code follows the code style of this project.
[ X ] I have read the CONTRIBUTING document.
[ X ] I have added tests to cover my changes.
[ X ] All new and existing tests passed.
[ X ] My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

Hey Martin, apologies for dropping the ball here. I am getting over a bout of Covid and got swamped with everything I missed while down. All that is left is sourcing test data to validate Downside Deviation and Sortino, I’ll make sure to get this over to you this weekend!
Jerrod Smith
Vexor Holdings, LLC

From: Martin-Molinero @.>
Sent: Thursday, January 27, 2022 10:32:02 AM
To: QuantConnect/Lean @.>
Cc: Jerrod Smith @.>; Mention @.>
Subject: Re: [QuantConnect/Lean] Sortino Ratio Indicator Implementation (PR #6150)
Hey @JerrodDevhttps://github.com/JerrodDev! Just checking in on the ETA for the requested changes for this PR
—
Reply to this email directly, view it on GitHubhttps://github.com/QuantConnect/Lean/pull/6150#issuecomment-1023337952, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AWYTNOHKADVDIMDRPVELLSDUYFQPFANCNFSM5LUJRSWA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>


Approximating gaussian kernel

Coverage remained the same at 26.741% when pulling 4f6b9bd12060e720048188172da7368f7a31c3fb on jakubnabaglo:master into 2145c304b887ce392f05125d7950224c700346a2 on chengsoonong:master.


SA init test moved into table tests

What this PR does / why we need it:
In my webhook PR, I refactored init tests, but in the meantime, SA test landed. This just moves the SA test into the table tests thus fixing the code duplication.

FYI @sivaramsk


migration from LESS2 (ng1) to LESS3 (ng6) allow to use option javascriptEnabled

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting

Area
- [x] devkit

can we merge this PR?
https://github.com/angular/devkit/pull/866/files
I try to migrate from ng1 to ng6. In our less files there are many mixins.
now I got error like:
ERROR in ./src/styles/main.less (./node_modules/raw-loader!./node_modules/postcss-loader/lib??embedded!./node_modules/less-loader/dist/cjs.js??ref--15-3!./src/styles/main.less)
Module build failed:

    .transitionExt(top ease 250ms);
  ^
Inline JavaScript is not enabled. Is it set in your options?
      in /Users/dev/app/src/styles/core/base.less (line 239, column 4)

als temporary solution for back-compatibility is adding "javascriptEnabled:true" to less compiler.
is it possible to add in angular.json or package.json this option?

Duplicate of #10430


main navigation extended

Display feed icons in the main navigation only if requested.

Categories can now be display in the main navigation independently of the
setting if pages are displayed or not.

a new MENUITEMS_MIDDLE and MENUITEMS_AFTER can be used to add links to the
main navigation in this specific locations.

Cannot be merged.

I mean, there are some conflicts. ;-)

since this PR changes README.rst it will conflict with PR #60. so once you merge #60 i will update this one here.

Ok, #60 has been merged now.

hi duilio. updated this PR now. the second commit makes DISPLAY_FEEDS_ON_MENU behave as all other DISPLAY_*_ON_MENU (default is True).

fixed as suggested.

I'm trying to re-sync my fork with HEAD. When will this be merged?

i'll consider your comment as endorsement for my PR :)
i'm waiting myself so i can continue with #67

any thoughts on this PR's future?

no time only now or no interest and i should close the PR?

/cc @duilio

Sorry, just very busy at work and didn't have time to look into this ;-)


single tags (without closing tag)

Allow creation of single tags (without closing tag) like:

<CX=html_button text="with spaces !"/> NOTE />

It may be created by two tags, existent example:
[[~ int valid_cpp_code_block_here = 0; ~]]


NPC's not showing handheld items on 1.9

What version of ViaVersion are you using? Type /ver viaversion
0.7.2
What version of Spigot are you using? Type /ver
http://prntscr.com/amaydi
What plugins are you using? Type /plugins
http://prntscr.com/amayez
NPC plugin is custom in our lobby, spawned via packets.
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
LilyPad
How does this error happen? login? Using an item?
Handheld items of our spawn NPC's are only visible to 1.8 clients (http://prntscr.com/amayvf)
On 1.9 clients all NPC's have no item in their hand - http://prntscr.com/amayq0

Fixed when #301 get merged.


adjust the number of rays

Hi, how to adjust the number of rays in each step of the rendering phase? I saw the argument ray just used in training.

In rendering parse, function names evaluation and render_video is accepting a number of rays.
However, to predict the WebGL. we haven't support for number of rays.
You can simply -no_webgl to avoid the crash.
But if you really want WebGL.
These following line are split mpi into 2 pieces and rendered.  You can change the bigy into more pieces to fit your memory.
https://github.com/nex-mpi/nex-code/blob/eeff38c712ac9a665f09d7c2a3fdf48ae83f4693/train.py#L451-L453

I got it. Thanks a lot!


Add nonisolated Shared.withLock

Recently Shared's withLock had @MainActor added due to the need to isolate mutations of the internal value to the main actor. However, composing Shared into other APIs may require locked access to the shared state without such a requirement.
This PR adds an additional overload of withLock that doesn't allow mutation of the stored Value, allowing it to not be isolated to the main actor.

Hi @jshier, thanks for the PR! Can you share a bit of code to demonstrate where this is helpful?

It's generally helpful anywhere you need nonisolated access to the protected Shared state, like any locking mechanism. In this particular instance I was wrapping a @Shared instance in another wrapper to expose additional API. While I can generally guarantee the wrapper is access on the main actor, there are specific APIs that should be accessible from outside the main actor, and should be synchronous. In that case, withLock requiring the main actor prevents safe access, while a version of it that doesn't need mutation support and so is not isolated does not.
@MainActor
@propretyWrapper
struct SomeWrapper {
  @Shared(.inMemory("SomeWrapper")) private var state = State()

  var projectedValue: Self { self }
  var wrappedValue: State {
    get { state }
    nonmutating set { state = newValue }
  }

  nonisolated func isSomeState(): Bool {
    guard let someValue = $state.withLock { $0.someValue } else { return false } // Error

    ...
  }
}

As an aside, I could really use better guidance on this pattern, I really don't know if this is going to work right.

Why is this property wrapper @MainActor? If you dropped that then you could do this right?
guard let someValue = state.someValue else { return false }

Because I use withLock in other places to ensure atomic mutation and it was easiest just to add it. I see no other mechanism to ensure atomic updates.

To step back, I'm writing a wrapper for @Shared that gives access to specific APIs needed for what is essentially a set of locally cached flags. It needs to have both synchronous and asynchronous interfaces to its query and refresh APIs, and eventually needs to respond to a system Notification to reset and refresh its state (this is all integrating with an existing system). It's pretty unclear how this pattern is supposed to work, but here's what I have so far:
@MainActor
@propertyWrapper
struct Flags {
    @Shared(.inMemory("SharedFlags")) private var flags = SharedFeatureFlags()

    var projectedValue: Self { self }

    var wrappedValue: SharedFeatureFlags {
        get { flags }
        nonmutating set { flags = newValue }
    }

    var publisher: AnyPublisher<SharedFeatureFlags, Never> {
        self.$flags.publisher
    }

    nonisolated func refresh(flagSet: FlagSet) {
        Task { await self.refresh(flagSet: flagSet) }
    }

    nonisolated func does(
        _ flag: Flag,
        in set: FlagSet,
        have access: FlagAccess
    ) -> Bool {
        guard let response = $flags.withLock({ $0.responses[flag] }) else { return false }

        if access.contains(.accessible), !response.hasAccessibility(for: flag) {
            return false
        }

        if access.contains(.capability), !response.hasCapability(for: flag) {
            return false
        }

        if access.contains(.subscription), !response.hasSubscription(for: flag) {
            return false
        }

        return true
    }

    func refresh(flagSet: FlagSet) async {
        @Dependency(\.flagClient) var flagsClient

        self.flags.isLoading[group] = true

        var isNewTask = false
        let task: Task<FlagResponse?, Never>
        if let existingTask = flags.refreshTasks[group] {
            task = existingTask
        } else {
            let newTask = Task { await flagsClient.fetchAvailability(flagSet) }
            self.flags.refreshTasks[group] = newTask
            isNewTask = true
            task = newTask
        }

        let response = await task.value

        if isNewTask {
            // Mutate in locks to ensure atomicity.
            self.$flags.withLock { flags in
                flags.refreshTasks[group] = nil
                flags.responses[group] = response
                flags.isLoading[group] = false
            }
        }
    }

    nonisolated func refreshAll() {
        Task { await self.refreshAllTasks() }
    }

    func refreshAll() async {
        let tasks = self.refreshAllTasks()

        for task in tasks {
            await task.value
        }
    }

    @discardableResult
    private func refreshAllTasks() -> [Task<Void, Never>] {
        flags.responses.keys.map { group in
            // Start refreshes in parallel.
            Task { await self.refresh(group: group) }
        }
    }
}

struct SharedFeatureFlags: Equatable {
  var responses: [FlagSet: FlagResponse] = [:]
  var isLoading: [FlagSet: Bool] = [:]
  fileprivate var refreshTasks: [FlagSet: Task<FlagResponse?, Never>] = [:]
}

This example seems like it can drop @MainActor too. There are only two places using withLock. The first is in a synchronous context here:
guard let response = $flags.withLock({ $0.responses[flag] }) else { return false }

But that can just be flags.responses[flag], done without explicit locking (locking implicitly happens in the ValueReference already).
And the second usage of withLock is here:
self.$flags.withLock { flags in
  flags.refreshTasks[group] = nil
  …
}

And this is a legitimate use of withLock, but you are in an async context and so you can do await $flags.withLock.
The only time you would run into trouble is if you had a synchronous endpoint that wanted to mutate shared state. However, that is not a legitimate thing to do, and so you would just need to mark that one single endpoint as @MainActor and then call it from an effect.

Overall, the thing I'm confused about with your PR is that it isn't actually adding anything that isn't already possible with the tools right now. Adding this method:
public func withLock<R>(_ transform: @Sendable (Value) throws -> R) rethrows -> R {
  try transform(self._wrappedValue)
}

…is the exact same as if you were to do transform(self.wrappedValue), and that's all public API. So this API shouldn't be needed, unless I'm misunderstanding something.

This example seems like it can drop @MainActor too. There are only two places using withLock. The first is in a synchronous context here:
guard let response = $flags.withLock({ $0.responses[flag] }) else { return false }

But that can just be flags.responses[flag], done without explicit locking (locking implicitly happens in the ValueReference already).

Perhaps I misunderstand the purpose of withLock, but I don't know of any way to make such direct property access actually safe. That is, even if access to the value is locked, access to that value's properties is not. So while access to flags may be safe, even if that value is ultimately locked, calling .responses[flag] = newValue is not within that lock and so unsafe. I've written many versions of withLock that are intended to provide safe access to the value and all of its properties, all the way down, so that's how I used it here.

And the second usage of withLock is here:
self.$flags.withLock { flags in
  flags.refreshTasks[group] = nil
  …
}

And this is a legitimate use of withLock, but you are in an async context and so you can do await $flags.withLock.

This may be safe but it's not equivalent. In addition to the overhead of another suspension point, introducing that second suspension point removes the ordering guarantees I was trying to make, to ensure later callers always have the response available as quickly as possible rather than having to create another Task. If access to the value directly is safe I can just write my own atomic mutator.
Looking at the implementation of withLock again, it doesn't seem to actually do what I expect, which is wrap the work being done under the hood in a lock. Instead, the only lock I see is what lives way down under the currentValue. So how is Shared thread-safe at all?

For that matter, without the @MainActor annotation, how would the wrapper be safe? Regardless of the safety of the stored value, I also need to guarantee ordering and that things are done atomically.

Hi @jshier, sorry things have been busy so just coming around to this.

Looking at the implementation of withLock again, it doesn't seem to actually do what I expect, which is wrap the work being done under the hood in a lock. Instead, the only lock I see is what lives way down under the currentValue. So how is Shared thread-safe at all?

I looked into this more and I think I see why there is some confusion. The withLock method was actually originally called withValue, and the "safety" of this tool came from the fact that withValue is run on the @MainActor. There is no actual lock involved, as you pointed out, and it's only the main actor providing the thread safety.
However, during some biking shedding of syntax, it was proposed that it could be called withLock, and I think we were juggling a lot of things at the time and unfortunately were convinced. However, in retrospect that does not seem right considering there is no lock involved whatsoever. It really should be called withValue, and maybe someday soon we will start the deprecation/rename dance.

Hi @jshier, I'm inclined to close this because I still don't think it really provides anything new that can't be done with the existing tools.
If you are an non-async context you can just access/mutate the shared state directly, and if you are in an async context you go through withLock (which should be renamed to withValue):
struct Foo {
  @Shared var count: Int

  func doSomething() {
    count += 1
  }

  func doSomethingAsync() async {
    await $count.withLock { $0 += 1 }
  }
}

If there is still a problem can you please provide a complete code sample demonstrating the problem? So far the code samples above are missing lots of parts, and so it's hard for me to see where the actual problem is.


On Windows, closing a minimized window causes the app to be stuck in an invalid state

On Windows, minimizing an app causes a WindowEvent::Resized event to be fired with {width: 0, height: 0} and a WindowEvent::Moved event to be fired with {x: -32000, y: -32000} (not sure if that's a static value or somehow related to monitor size). If the window is closed while minimized, the plugin persists these values to disk which causes the app to be stuck in an invisible state until the .window-state file is deleted. I also tested this on Linux and neither event is fired on minimize so it doesn't cause an issue. I'd be happy to attempt to fix this, but not sure if this is something that should be fixed upstream in Tao. Thanks!
Tauri info:
Operating System - Windows, version 10.0.19043 X64
Webview2 - 94.0.992.47

Node.js environment
  Node.js - 16.6.2
  @tauri-apps/cli - 1.0.0-beta.10
  @tauri-apps/api - 1.0.0-beta.8

Global packages
  npm - 7.20.3
  yarn - 1.22.11

Rust environment
  rustc - 1.55.0
  cargo - 1.55.0

App directory structure
/node_modules
/public
/src
/src-tauri

App
  tauri.rs - 1.0.0-beta.8
  build-type - bundle
  CSP - default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  distDir - ../build
  devPath - http://localhost:3000
  framework - React

@wusyong @lemarier @amrbashir is the event values here correct? the Moved one seems crazy.

whoops, my bad. Closed by accident. I need to be more careful with referencing issues in descriptions :/

The recommendation is to ignore the events when the window is minimzed and not save them.

I wasn't aware when I made that comment that we don't provide any way to detect minimized state, so I opened an issue at tao for it  https://github.com/tauri-apps/tao/issues/257.
I will PR a workaround soon until the above mention issue gets added.

Thanks for the fix!


Remove version: eTeks.SweetHome3D version 6.5.2

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-6.5.2/SweetHome3D-6.5.2-windows.exe/download
Status Code: 200
(Automated message - build 897)

URL: https://sourceforge.net/projects/sweethome3d/files/SweetHome3D/SweetHome3D-6.5.2/SweetHome3D-6.5.2-windows.exe/download
OK
(Automated message - build 923)

Close with reason: Package still available.;


QR Code Generator in JS

I will be creating an website which will have the feature of QR code generation for different links, texts and many more.

/assign

@subhasis003 there is already a QR code generator present on the website. If you have any improvements, you are welcome to make them on the already present website, no need to create a new one.

/assign

@subhasis003 status update?

I have created a qr  code generator website and it is in my github profile you can check it out and here is the link to access it:
https://github.com/swarupsahu08/QR-code-generator

@swarupsahu08 your own website will not count as a contribution to this project. If you want to make a Hacktoberfest Contribution, you will have to add new features to the QR code generator that is present on this website. Then you can make a PR and your contribution will be counted.

ok let me see how I can add value to it

@lovishprabhakar Can I add the size feature for the qrcode for different screen sizes( It means the resolution of qrcode would based on user's preference and there would be options to change the length and breadth of the qrcode.

Go for it @swarupsahu08

@lovishprabhakar thanks

@lovishprabhakar I have put the pull request ,waiting for the approval for merge


Include 'Enum' type as part of a TableRelation definition

Is your feature request related to a problem? Please describe.
Somehow related to #4703 : How should I refactor my table relations in C/AL in case my field has an EnumTypeId/Name assigned? Code below does not compile ('Type' field is an Enum. Enum contains the value 'Operational').
TableRelation = "NVT Status".Code where (Type=const(Operational));

"Reference 'Type' in application object 'NVT Status' does not exist",

Describe the solution you'd like
Provide support for table relations converted from C/AL to AL.
Same remark for AL, can you provide a sample code on how to include enum types in the table relation definition?

@esbenk

This is supported in upcoming spring release. Please try with the bcinsider.azurecr.io/bcsandbox-master docker images.
We have added support for marking an table Option field as an enum, but that is to generate symbols for AL code to work with. In C/AL and C/SIDE it is still just seen as an Option. We are not planning to back-port more enum functionality to C/AL.

This is supported in upcoming spring release. Please try with the bcinsider.azurecr.io/bcsandbox-master docker images.
We have added support for marking an table Option field as an enum, but that is to generate symbols for AL code to work with. In C/AL and C/SIDE it is still just seen as an Option. We are not planning to back-port more enum functionality to C/AL.

Why are you not adding the enums request?

We are working on adding enums, but the work associated is much higher than just adding an event. We need to make sure that all the places that uses the enum are handling "unknown"/new values added.

We're in 'hybrid' mode, leaving us with the main part of the objects (5000+) still in C/AL, but gradually updated with the EnumTypeId, EnumTypeName properties in C/AL to support new modules to be developed in AL. In AL, we thus need to be able to define a proper table relation as in the original post.

It is supported in the latest CU for the fall release and in the upcoming spring release. If you have a failure in on of those please provide complete repro steps.


Support for non Android gradle modules

My android project has some pure Java sub-modules.
It would be great to be able to use Hugo with those as well.
This could likely be done by having Hugo log to slf4j-api instead of android.util.Log.

+1

I will not be adding this. Someone is free to send a PR for it.


Improve speed of subgraph indexing

Subgraph indexing is SLOW. 3-4 days for 1 month of data.
Any time we make changes to the subgraph, it's a multi-week process to get the data live. Not cool.
Ideas:

Once we're on the decentralised network, pay more to indexers to speed up the pace of indexing. I'm unsure if this would make a difference.
Launch on Graph Substreams (release date TBC)
Look at other options, such as Outserv. Moralis?

At the moment, for each block the we index, we calculate a large number of metrics, and probably end up re-calculating the same balances many times over.
Another approach (that we could benchmark) might be to index balances for specific tokens/contracts and then use GraphQL aggregate operations (https://dgraph.io/docs/graphql/queries/aggregate/) for calculations.
e.g. for each block, for the treasuryStablecoinValue metric, we loop through all defined stablecoin tokens and get balances for each of them in all of the wallets, along with some edge cases.
The stablecoin value is then calculated again a few more times, e.g. for market value, for liquid backing, etc.
This probably extends the indexing time quite significantly.
Instead, what if, for each stablecoin token (extending the example), the balance is calculated just once. Attributes/flags are attached to that balance record, e.g. liquid, category (= stable).
To get the treasuryStablecoinValue metric, we run a query equivalent to: sum all records where category = stable.
Essentially, the burden is shifted from compile-time to run-time.
There is no mention about the query fees varying by the time per query, but I will check that: https://thegraph.com/docs/en/querying/billing/

More on this, based on our conversations in Discord:

market value returns 58 records (wallet-token permutations), which is 1,740 records for 30 days of data @ 1 block/day. Processing that client-side isn't going to be arduous.
We can default the dashboard to display 30 days of data upon initial load, which would ensure that the charts load quickly

Queries would become something like:
query {
    TokenRecord(where: {category = "Stable", liquid = true, timestamp > 2022-07-11})   {
        balance
        value
    }
}


Trace output from validator script not shown in log

When I run the contract in https://gist.github.com/j-mueller/efbdba13ef6297f68f785e111ce256ae (gist doesn't seem to be working in the alpha playground)
with the trace below, the transaction fails (as expected) but the log message "Hello" is not shown.
When I inspect the JSON that's returned from the server, I can see the log message in the emulatorLog field under contents. So presumably it's just a matter of rendering it.

Environment
https://alpha.plutus.iohkdev.io/ version b091bea4611d4d11145124b69f3fb52384a2843a
The issue does not appear in https://prod.playground.plutus.iohkdev.io/ which shows the log messages as expected.

I've tracked this down to 3e96d851d3e6098b0a9ca27dfc4269bef6acfc0b, which introduced prettier (but less detailed) rendering.
Amending now...


[Request] 1.16.5 release with bugfixes

Request: Publish a build for 1.16.5 that includes the changes from merge #2208

Stop bugging us, it'll happen when it happens. This does nothing other than make us annoyed.


kitty0.24.4 : "ld: -stack_size option can only be used when linking a main executable" in aarch64-darwin

Describe the bug
Can't build kitty 0.24.4 in aarch64-darwin.
Steps To Reproduce
nix build ./nixpkgs#kitty

Expected behavior
Sourcing python-remove-tests-dir-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/181f5jiqivbw5lz3ng9qz47fb2612kwm-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/update-on-ubuntu
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/crkc2hadcrrkk68h8w3bhcbp46w1n76b-fix-zsh-completion-test-1.patch
patching file kitty_tests/shell_integration.py
applying patch /nix/store/9kirvfylq19rphrja772l59vzq992vj9-fix-zsh-completion-test-2.patch
patching file kitty_tests/shell_integration.py
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
building
CC: ['clang'] (11, 1)
[65/65] Compiling kitty/gl-wrapper.c ... done
[6/6] Linking kittens/choose/subseq_matcher ... done
Linking kittens/unicode_input/unicode_names ...
clang -Wextra -Wfloat-conversion -Wno-missing-field-initializers -Wall -Wstrict-prototypes -std=c11 -O3 -fwrapv -fstack-protector-strong -pipe -fvisibility=hidden -D_FORTIFY_SOURCE=2 -DKITTY_HAS_RS_SIG_ARGS -Ikitty -I/nix/store/mqdppmn4n37dkqwx71g88a8pa5h676gj-python3-3.9.10/include/python3.9 -Wall -O3 -shared build/unicode_names-unicode_names.c.o -ldl -lncurses -framework CoreFoundation -L/nix/store/mqdppmn4n37dkqwx71g88a8pa5h676gj-python3-3.9.10/lib -lpython3.9 -Wl,-stack_size,1000000 -framework CoreFoundation -o build/kittens/unicode_input/unicode_names.so
ld: -stack_size option can only be used when linking a main executable
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)

Notify maintainers

@tex @rvolosatovs @Luflosi
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"aarch64-darwin"`
 - host os: `Darwin 21.4.0, macOS 12.3`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.7.0`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

https://github.com/kovidgoyal/kitty/issues/289

I apply the patch work:
diff --git a/setup.py b/setup.py
index 688e770..fcfe52b 100755
--- a/setup.py
+++ b/setup.py
@@ -199,7 +199,7 @@ def get_python_flags(cflags: List[str]) -> List[str]:
         ldlib = sysconfig.get_config_var('VERSION')
         if ldlib:
             libs += [f'-lpython{ldlib}{sys.abiflags}']
-        libs += (sysconfig.get_config_var('LINKFORSHARED') or '').split()
+        libs += sysconfig.get_config_var('LINKFORSHARED').replace('-Wl,-stack_size,1000000', '').split()
     return libs

This might be worth a PR.

This seems to be a problem recently introduced in Nixpkgs. I don't yet know when exactly it was introduced.

This is a brutal git bisect, my guess is that this started to break due to a change that landed on a staging branch first.

Alrighty, I've narrowed things down. The root cause is from #157775, in particular c7c3187d9897b304c85542130ece7bacc44906a9.
@veprbl, thoughts on reverting that commit? If so, any chance it could make it into the current staging-next push #165406?

(cc @FRidh)


:bug: added check in unformatCurrency for invalid use of '-'

Description
Fixes issue #2174
addresses the bug in the listed issue so that '-' returns an expected string value from unformatCurrency
Type of change

[x] react-i18n Patch: Bug (non-breaking change which fixes an issue)
[ ]  Minor: New feature (non-breaking change which adds functionality)
[ ]  Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] I have added a changelog entry, prefixed by the type of change noted above (Documentation fix and Test update does not need a changelog as we do not publish new version)

Bump; could we please have an Admin Web Foundations review? 🙏🏻


Add blog cta to bottom of index page

This one closes #18
Suggestions for better copy are welcomed.

This is awesome @burden! :tada: I really really appreciate you getting involved in the project. This is going to be amazing


Add support for visual line mode

Nevermind this takes more than this to support. Ignore me

It's supported now. @avegancafe


Bestiary fixtures out of date and data missing/wrong from endpoints

Can somebody update bestiary fixtures again? Last time was from 2023.
Many monster sources are empty array from bestiary and v2/monsters endpoints.
Monsters stats are not correct from bestiary and v2/monsters, base_hp/attack/defense is equal of max_hp/attack/defense, this "base" must be hp when mob is lv 1, correct?

It's hard to use the data when it's not updated. :(


README: change imgui-go to cimgui-go

According to https://github.com/inkyblackness/imgui-go, ther epository was discontinued.
The current project for Go is cimgui-go at the moment. It is auto-generated what makes it extremely easy to keep up with Dear ImGui's @latest

Thank you, @gucio321!


*: bump to v0.10.0+git for master

Description of the change: revert v0.10.0 to target master.
Motivation for the change: post-release PR.

/test e2e-aws-helm

/test e2e-aws-go


Fix passkey redirect

When logging in via passcode, a fetch request would be made to /login/passkey/finish, which in turn would redirect to the callback URL, resulting in a CORS error.
This fixes this by just updating the session cookie from this request. When the browser then redirects to /, the user will then already be logged in and redirected to the callback URL. Also renamed the cookie values to something more unique to logout :)

Ah, I had noticed that stuff didn't always work. Though I guess it only worked on the second try when I was already logged in... Nice fix!
I'm kind of inclined to prefer either adding a flag to LoginUser saying if it should redirect or not, or adding redirect: "manual" to the fetch call in services/passkey/passkey.templ, since otherwise it seems like LoginUser always should be used when logging users in. But idk, maybe that's weird, what do you think @adriansalamon?

Ah, I had noticed that stuff didn't always work. Though I guess it only worked on the second try when I was already logged in... Nice fix! I'm kind of inclined to prefer either adding a flag to LoginUser saying if it should redirect or not, or adding redirect: "manual" to the fetch call in services/passkey/passkey.templ, since otherwise it seems like LoginUser always should be used when logging users in. But idk, maybe that's weird, what do you think @adriansalamon?

There is also HX-Redirect that we could use?

There is also HX-Redirect that we could use?

Unfortunately not, since that request is made with fetch directly (since you need some custom javascript to call navigator.credentials.get anyways.


When is the next release date?

Hi!
I'd like to find out when you plan to do the next release, because there have been fixes already after 2.8.1 😃

Hello @GinoPane,
I just released version 2.8.2 and version 3.0.0 is on the way! It should be released in at most two weeks.
Thank you for reaching out!


Better Use of Kotlin Self Type

Also fix Sonar - don't run on external pull requests

Coverage remained the same at 100.0% when pulling 1c1f875e699e7231726e1e31566cad14ca201522 on jeffgbutler:master into b23d9a3057af875e3eadf7e86ff05218a28b13fe on mybatis:master.