Request failed: Request failed with status code 400 and Request failed: Request failed with status code 500

is there an update on the server? 400 code is a client-side error which means the data might not match what the server needs, while 500 code clearly indicates a server error or maybe it has been changed? can you check and update it? because it could be that the query_id expired faster than usual.

with a 500 error, don't pay attention to it, they're doing something with their daily tasks,

Looking for a solution with 400 errors

for the 400 error, check if your accounts are subscribed to the official bot channel


update full-quiz.ts

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

HI @ekta1000 !
Thank you so much for your interest in the Developer Quiz Site!
A couple of things to mention.
No.1:
We just updated our codebase to split up the quiz questions into separate file categories.  This will make it easier for people to contribute to. Please update your forked copy of the repo.
No.2:
Your quiz question about SQL categories already exists in the file. Please make sure to double check the file to see if your question exists already. Since this is a duplicate question, I am going to close this PR.
If you are still interested in contributing, please create a new quiz question and open up a new PR, and we would be happy to review it for you.
Happy coding!


docs: add description and demo

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


Question about the config files and model structure

Hi there,
Congrat and thank you for your great work.
After playing with the dataset, I finally can train both of the configs that you proposed; however, compared with the model structure in your paper, it has two configs for POMNet and Matching separately. Is it true to understand that you trained the KIM and MH modules independently, if that, how did you combine them for evaluation in table 3. Could you share?

Thanks
Tuan HL

POMNet includes KIM and MH, and these are trained together.

Hi, Thanks for your quick response and clarify.
As I see from the config files, it is separated. Sorry but am I missing something or you have not released | keep the config to train both modules together?

Thanks

The KIM and MH are defined [here] (https://github.com/luminxu/Pose-for-Everything/blob/main/pomnet/models/keypoint_heads/transformer_head.py)
If you go through the code during training, you can see them.
Did you generate the whole dataset, Tuan? If so, could you please show me how to do it, thanks.
And are the results on the test set close to the ones reported in the paper?

Thank you for pointing it out, I see :). It is my missing, the config makes me confuse a bit. I've tried to update the data, train, and quick evaluations but do not dive in through the training code.
For the dataset, yes I try to collect and adjust one by one, all is ok except for DeepFashion and Carfusion data, which I end up using my update coco format for them, removing the sub-category they provide and merging the new one into the author data annotation with update categories. So the evaluation is not the same as the report. The result after 40 epochs of pomnet is about ~40 PCK

@tuanho27, anh Tuân ở VinAI ạ?, giờ em mới nhận ra anh :D


Update Dataflow Python dev container images.

R: @y1chi

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Test failure is definitely unrelated. I filed a jira for it: https://issues.apache.org/jira/browse/BEAM-13859


error reporting model(x) vs model.predict(x)

System information.

Have I written custom code (as opposed to using a stock example script provided in Keras: no
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): v2.4.0-rc4-71-g582c8d236cb 2.4.0
Python version: 3.8.5

Describe the problem.
The error and warning messages seem to be different when model(x) is used instead of model.predict(x)  to make a prediction.
Is this intentional and documented somewhere?
For example, in the following simple model there is a warning when model.predict(x) is used, but none for model(x).
Moreover, it would be generally good to know which warnings (or errors) might not occur when a specific prediction method is used and also which warnings will be the same.
Standalone code to reproduce the issue.
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers
import numpy as np
model = keras.Sequential([
keras.layers.ReLU(threshold=3,  input_shape=(2,))])
x = tf.constant([[[[1,2,3,4,5]]]])
print (np.array2string(model(x).numpy(), separator=', '))
#print (np.array2string(model.predict(x), separator=', '))

Could observe the warning while using model.predict. Please find the Gist to reproduce the issue.

@rschumi0 This is a Duplicate of #https://github.com/keras-team/keras/issues/14979
I have opened it on behalf of you. Keras team looked into this issue already. Thanks for creating the issue.
I will close this issue here. Let us follow the progress here https://github.com/keras-team/keras/issues/14979


Optimize FAB autoscroll behavior

Right now the autoscroll is a constant speed.  Add some control over that speed, and set the default speed based on the tab BPM

Also, the app bar doesn't hide while autoscrolling.


Updating "Best practices: Naming lables" #2469

Hi @SuperQ  and @juliusv,
cc @beorn7 ,
This pr is about the issue #8718.
I have updated the documentation on Best practices: Metric naming, based on the discussion from the mentioned issue#. I request you to have a look at it and let me know what you think.
Signed-off-by: Gopi-eng2202<EMAIL_ADDRESS>

Hi @beorn7,
Resolved all the requested changes. Do have a look and merge this pr if no further changes are required.
Thank you


[CI] Refactor tests to reduce CI time.

Also xfail failing test from #8307.

CPU python tests 24m:42s->14m:26s.
GPU python tests 5m:27s->1m:54s.

Test XGBoost on Windows: 21min->12min

The failing MacOS tests are fixed in #8321

Apologies for the inconvenience, the failing test should be fixed by https://github.com/dmlc/xgboost/pull/8323 .

I'm still getting intermittent segfaults in the mgpu tests somehow.


[5.8] Pass down the serverVersion database connection option to Doctrine DBAL connection

I got into this issue while I was trying to run the migrations against Azure's MySQL
database. Azure's setup uses a gateway to proxy connections to the correct server,
which tricks PDO, because the gateway version is different than the actual server
that the migration runs. The server runs 5.7, while the gateway server runs a 5.6.
By using this option, we can manually pass the server version (5.7) and the correct
data types will be mapped. In my case, JSON columns were throwing an exception, even
though they are supported in the actual server.

Would love to get this on 5.7 as well, how can I make it? Should I send another PR to 5.7?

@tonysm 5.7 isn't supported anymore unfortunately: https://laravel.com/docs/5.8/releases#support-policy


Support for starred repositories

I frequently use stars to keep track of various repositories that I want to visit later. Having the ability to view and search my starred repositories would easily make this the most useful GitHub app on the App Store.
Keep up the great work!

Love this! We need to build out a profile tab first IMO.
Sent with GitHawk


initial commit - RegexFlow Regular Expression

When submitting a connector, please make sure that you follow the requirements below, otherwise your PR might be rejected. We want to make you have a well-built connector, a smooth certification experience, and your users are happy :)
If this is your first time submitting to GitHub and you need some help, please sign up for this session.

[x] I attest that the connector doesn't exist on the Power Platform today. I've verified by checking the pull requests in GitHub and by searching for the connector on the platform or in the documentation.
[x] I attest that the connector works and I verified by deploying and testing all the operations.
[x] I attest that I have added detailed descriptions for all operations and parameters in the swagger file.
[x] I attest that I have added response schemas to my actions, unless the response schema is dynamic.
[x] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[x] If this is a certified connector, I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff. If this is an independent publisher connector, I confirm that I am not submitting a connector icon.

If you are an Independent Publisher, you must also attest to the following to ensure a smooth publishing process:

[ ] I have named this PR after the pattern of "Connector Name (Independent Publisher)" ex: HubSpot Marketing (Independent Publisher)
[ ] Within this PR markdown file, I have pasted screenshots that show: 3 unique operations (actions/triggers) working within a Flow. This can be in one flow or part of multiple flows. For each one of those flows, I have pasted in screenshots of the Flow succeeding.
[ ] Within this PR markdown file, I have pasted in a screenshot from the Test operations section within the Custom Connector UI.
[ ] If the connector uses OAuth, I have provided detailed steps on how to create an app in the readme.md.

Dear @imreagocs-regexflow,
Thank you so much for submitting your connector artifacts, and congratulations on your pull request approval.
It looks like you bypassed the registration step for your connector. As we ask all our partners to register their connectors, can you please fill out our registration form.
Please let me know if you have any questions.
Thank you so much again for all your hard work with us.
Best regards,
Amjed Ayoub


feat(txpool): add missing txpool update checks

builds off of #2298
adds missing update checks on new block(s) for changed accounts:

update nonce
update balance

Codecov Report

Merging #2366 (7acc470) into main (4763aad) will decrease coverage by 23.63%.
The diff coverage is 4.44%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main    #2366       +/-   ##
===========================================
- Coverage   69.60%   45.97%   -23.63%
===========================================
  Files         485      485
  Lines       59723    59786       +63
===========================================
- Hits        41568    27485    -14083
- Misses      18155    32301    +14146

Flag
Coverage Δ

integration-tests
18.37% <4.44%> (+4.05%)
:arrow_up:

unit-tests
39.23% <4.44%> (-27.32%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

crates/transaction-pool/src/pool/mod.rs
46.90% <0.00%> (-8.20%)
:arrow_down:

crates/transaction-pool/src/pool/txpool.rs
49.54% <6.77%> (-13.53%)
:arrow_down:

... and 246 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

merging to unblock hive,
further testing tracked #2402


Make types compatible with Typescript 4.4

Platforms affected
None, Typescript type definition only
Motivation and Context
Typescript 4.4 has introduced a lot of changes in lib.dom.d.ts file, which raises a lot of compilation errors with the plugin.
These changes makes it compatible with it.
Description

Entry renamed to FileSystemEntry
FileEntry renamed to FileSystemFileEntry
DirectoryEntry renamed to FileSystemDirectoryEntry
Commented FileSystem interface which already exists into lib.dom.d.ts
Commented field duplications for those interfaces, to avoid error TS2687

     error TS2687: All declarations of 'xxx' must have identical modifiers.

Most of the changes are naming changes to follow Typescript renames.
However, this may require some changes on the application side if :

the old Type names were referenced in your code (migrate them to the new name, or make type alias with the old name if there are too much occurences of it in your code)
If you are on a TS version older than 4.4, you may miss the commented parts if you were relying on it in your code. In that case, I'd suggest to declare following interfaces somewhere in your code :

declare interface FileSystem {
    /* The name of the file system, unique across the list of exposed file systems. */
    name: string;
    /** The root directory of the file system. */
    root: FileSystemDirectoryEntry;
}

declare interface FileSystemEntry {
    /** FileSystemEntry is a file. */
    isFile: boolean;
    /** FileSystemEntry is a directory. */
    isDirectory: boolean;
    /** The name of the entry, excluding the path leading to it. */
    name: string;
    /** The full absolute path from the root to the entry. */
    fullPath: string;
    /** The file system on which the entry resides. */
    filesystem: FileSystem;
}

⚠ Important notes :

I updated doc/plugins.md file to reflect the naming changes, but I'm unsure of the pertinence of it given that we're going to have discrepancies (in namings) between native code's semantics and javascript's semantic. I can rollback these change if you prefer.
Due to the fact that these type definitions are incompatible with TS 4.3 (and before), and TS 4.4 has been released only recently (end of Aug 2021), we may consider providing a dedicated index.ts44.d.ts and tell people to reference it instead of the default index.d.ts
Some care should be added to the README's Upgrading notes section to pinpoint these changes (I didn't added any entry as I don't know which version of the plugin may be concerned by this change)

Testing
There wasn't any TS-based tests in place currently, didn't spent time to introduce it as I'd consider it as a whole dedicated topic.
Checklist

[x] I've run the tests to see all new and existing tests pass
[ ] I added automated test coverage as appropriate for this change.
[ ] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
[ ] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
[x] I've updated the documentation if necessary

Is it possible to get this merged at some point? 🙂

To maintain backwards compatibility with existing type definitions, we could add the following type aliases to the index.d.ts here:
type Entry = FileSystemEntry;
type DirectoryEntry = FileSystemDirectoryEntry;
type FileEntry = FileSystemFileEntry;

Other than that, this works well for me. @breautek any chance we might merge this?

As mentioned in my initial post, I'm not sure if putting these declaration into index.d.ts is viable (don't forget that FileSystemEntry doesn't exist on TS < 4.4)
I think we can't do better than providing a specific index.ts44.d.ts file for this purpose, and ask people to reference it once they migrate to TS 4.4+

@fcamblor yep, that makes sense! I missed that, sorry! Typescript 4.4 was first released a bit over a year ago, so I guess at some point people will be more likely to use 4.4+ and hit this issue. Not really any easy answer, is there 😞
One trivial tweak here if anyone runs into this is to add "skipLibCheck": true to the tsconfig.json
Seems that "breakages in node_modules and the JS standard libraries which you do not want to deal with" is a literal use case according to https://www.typescriptlang.org/tsconfig#skipLibCheck.
I'm having a quick fiddle to see if there's a way to have our cake and eat it though.

I've raised a slightly different pr at https://github.com/apache/cordova-plugin-file/pull/536 which rebalances the compatibility trade-off a bit differently to yours here @fcamblor .
It's slightly less-nice than master in terms of type accuracy, but this works happily with newer versions of TypeScript, so perhaps might still be worth considering?


Need to pre-build backbone

There are more than a half of the backbone functionality completely overriden. Important parts are model and collection constructors.
It becomes dangerous to receive untested backbone version upgrades.
In a simplest case, just include backbone into the build.
Consider stripping it down, with factored out Model, Collection, and probably, Events. Mix in other stuff for compatibility purposes only.

Done. 1.1.2 is prebuilt.


Feature Request: Modify URL allow/denylists in the admin panel

Type

[ ] General question or discussion
[ ] Propose a brand new feature
[x] Request modification of existing behavior or design

The simplified allow/denylists I sketched in https://github.com/ArchiveBox/ArchiveBox/issues/1250 would lend themselves well to an addition to the admin web UI.
A new page admin/core/urlfilter/ can provide access to the regexes as defined in ArchiveBox.conf and the simplified allow/denylists.
This should make it much more friendly for not so technically inclined users.
How badly do you want this new feature?

[ ] It's an urgent deal-breaker, I can't live without it
[ ] It's important to add it in the near-mid term future
[x] It would be nice to have eventually

[x] I'm willing to contribute dev time / money to fix this issue
[x] I like ArchiveBox so far / would recommend it to a friend
[ ] I've had a lot of difficulty getting ArchiveBox set up

I'm working on a way to dynamically set all of the configuration via the admin panel using https://www.dynaconf.com/django/

coming soon: https://github.com/ArchiveBox/ArchiveBox/pull/1327


crashes on launch

figma plugin crashes/closes as it is opening up.... never seen a figma plugin do the magic trick

could you try with the latest release today?
Also would love to know more about the file in your project. can you try with an empty file and see if it is still an issue?

Nope ,, didn't work with an empty file either
Here's a recording

That's really helpful! Thank you for sharing the video. Could you share more about your setup and install?

Figma desktop app
Running on Macbook Pro M1 Big Sur
btw similar behaviour in Chrome
Hope that helps
On Mon, Dec 6, 2021 at 4:10 PM Rody Davis @.***> wrote:

That's really helpful! Thank you for sharing the video. Could you share
more about your setup and install?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/material-foundation/material-theme-builder/issues/18#issuecomment-987403552,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB5OAL5ZP6BNEVCLPOBFOZ3UPVGIVANCNFSM5JHUM2KQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Can you try now? I think it was a font issue

Possibly related: https://github.com/material-foundation/material-theme-builder/issues/24
Please reopen if it is still an issue


Add OpenAPI integration

Description
As libraries zhttp and zod-endpoint do, integrate an openapi specification in your work would be a nice to have feature in this library

+1


OpenGL Context is now requested with ForwardCompatible Flag

Suggested change, please modify any way you see fit. Thank you
MESA drivers on Linux distros do not appear to return contexts higher than OpenGL 3.0 unless a Forward Compatible (no depreciated features) Core context is requested. The latest MESA drivers appear to sometimes not require this fix, but this improved behaviour appears unrealiabe under my limited testing.

Looks good to me. Thanks for the contribution!

No probs - hopefully I can contribute more in the future. I’ll watch out for any items that need some attention. I need to get more up to speed with the build process and the interop code but hopefully there is somewhere I can be useful
Sent from my iPhone

On 11 Jun 2018, at 02:34, Eric Mellino<EMAIL_ADDRESS>wrote:
Looks good to me. Thanks for the contribution!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Error on Intune upload : Must be a well formed XML string  : Accessibility.mobileconfig

When following this guide to upload the accessibility.mobileconfig file we see an error "Must be a well formed XML string"
https://learn.microsoft.com/en-us/microsoft-365/security/defender-endpoint/mac-install-with-intune?view=o365-worldwide#step-6-accessibility-settings

Trying to configure MS Endpoint for MacOS in InTune but at step 6 i'm running into the same error and i can't convert the accessiblity.mobileconfig from html to xml (at the start of the config file it states  which results in the error mentioned above.

Never mind!
https://github.com/microsoft/mdatp-xplat/blob/master/macos/mobileconfig/profiles/accessibility.mobileconfig
contains the proper XML accessibility.mobileconfig in XML format!
Thank you @Maximvelichko


How can I add modules?

I would like to add module, it is very usefull, you can add this feacture in the next release. Something like this:
jshell -v --add-modules jdk.incubator.httpclient
For to do tutorials that need others modules Java 9: HTTP Client and Process API in JShell

Thanks, I understand, but can't add modules in the web page anyway

Because it is standard module from Java 11, just import the package (import java.net.http.*;) and use HttpClient
Standard modules are already loaded.


Unable to sync with CPP Boost Named Semaphores

Windows Semaphore ctypes version:
Python version: 3.7 (tried on 3.9 as well)
Operating System: Windows 10

Description
I am unable to open() the instantiated semaphore. This is my python code. As you can see, I have commented out everything but the .open() code.
if __name__ == '__main__':
        cpp_semaphore = "CPPSem" # Pre-determined by CPP program
	# Initialize shared memory region
	semaphore = Semaphore(cpp_semaphore)
	try:
		semaphore.open()
		# semaphore.acquire(timeout_ms=0)
		# # Perform work here
		# semaphore.release()
	finally:
		semaphore.close()

I have a separate CPP routine running which has created the named semaphore using boost libraries and the CPP routine has not closed the semaphore yet. I am using the named semaphore simply as a means to synchronize access to shared memory between my python routine and this CPP routine.

CPP Code for reference.
What I Did
I have run the CPP code until line 39 where I am waiting to post() the semaphore. I am constantly faced with this error on the python code and python seems to be unable to find the named semaphore to open? (I am not sure if this is truly the case)
Below is the log from running the python routine.
Traceback (most recent call last):
  File "PyReader.py", line 52, in <module>
    semaphore.open()
  File "C:\Users\User\anaconda3\envs\msgrpc\lib\site-packages\semaphore_win_ctypes\__init__.py", line 162, in open
    raise WinError()
FileNotFoundError: [WinError 2] The system cannot find the file specified.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "PyReader.py", line 57, in <module>
    semaphore.close()
  File "C:\Users\User\anaconda3\envs\msgrpc\lib\site-packages\semaphore_win_ctypes\__init__.py", line 226, in close
    raise WinError()
OSError: [WinError 6] The handle is invalid.

I am able to use this to successfully .create() and use the created semaphores within python but it does not seem to synchronize with CPP boost created named semaphores.
If this is not yet supported, how do you synchronize CPP and python semaphores in your tests?

Hi Bertrand,
The C++ code for the tests is over here. The test uses the Windows API directly, so I don't have a boost example.
Looking at the boost source code, it looks like named_semaphore uses windows/named_semaphore on Windows. That ends up calling CreateSemaphoreA() and similar functions, so I believe boost and this project are compatible.
I wasn't able to find many online examples of the boost named_semaphore, but I noticed that the boost test code uses slightly different syntax to create the semaphore.
One unexpected thing I found when working on this project is that on Windows: "The semaphore object is destroyed when its last handle has been closed.". So another good test would be to confirm that you always have an open handle to the semaphore, otherwise Windows will destroy the semaphore.
Let me know if that helps.

Hi,
Thanks for getting back regarding this issue. I did note that "The semaphore object is destroyed when its last handle has been closed." and was careful to leave the handle "opened" for the CPP Boost iteration, if you refer to my CPP code segment, I system paused the code at line 39 which meant the semaphore was still "alive" and not yet dereferenced. As the handle on Python could not even be initialized, I think Boost semaphores for windows (in your findings CreateSemaphoreA()) may be incompatible with the CreateSemaphoreW() which semaphore_win_ctypes uses. The underlying mechanism as to why this is so remains unclear to me.
I unfortunately scrapped the Boost implementation as it did not seem to work. However, I did have success going instead with CreateSemaphoreW() through the #include <Windows.h> import which immediately worked. (Caveat: I need to first initialize the Semaphore on the CPP program prior to executing my python script).
Python code...

Cpp code...

Thank you for assisting me. This issue is resolved on my end.


Header logo for gltf article

gltf-export.zip

I'll close as the gltf is the trademark of khronos and the godot engine logo is already here.


Add InitServer function returning the http handler

This is a minimalist approach to somewhat solve #648, #553 and #549. It is minimally invasive and just moves around some code.
I'm looking for feedback on how this could be improved or generally if that's an approach worthy of merging :-)
An example of how this can be integrated into an app lives here: https://github.com/metafex/revel-modules/tree/master/server. Personally I'm running this in production now and don't have any problems with it yet.
The example server module depends on https://github.com/revel/cmd/pull/22 to generate the necessary code in the main function.

@metafex I'm very curious to look at this in more detail! I'll try to reply tomorrow after work, but first, sleep. :)

:+1: great PR


Integrate Dokka into all SDK components and build API reference docs

Describe the Issue
Kotlin's documentation generation tool is called Dokka. API reference docs should be available for developers, and rebuilding them should be a part of every release. Looking at the diff in generated reference docs between versions is a strong tool for understanding changes between versions. Code-level documentation is also tightly integrated with Android Studio, e.g. shows up when you hover over components in the code. Generating docs would also help identify where documentation is lacking or not keeping up with style guide expectations.

I created a PR that adds simple configs for Dokka. In addition I think we could:

Add a doc generation step to release process
Check in the generated documentation

This should only be updated with releases, i.e. the reference docs reflect the most recent release and not head

Enable Github Pages pointing to the location where documentation is checked in to render the reference docs

Would love feedback on the PR and a discussion on how to proceed.


improvementSet index initial row count to -1.

Set index initial row count to -1. So when a new table created, we can tell the row count of a index is reported at least once or not. When a new table's row count of a index is never reported, the row count of that index would be -1 instead of 0.

run buildall

run buildall

run buildall

run p0


[changelog] Commits that contain multiple line ending types are not split correctly

I found a few commits from dependabot that contain line endings with both a CR/LF and LF \r\n and \n.
The current splitting logic, splits on \r\n and falls back to \n, it should split on both.
Example:
This is my title <LF>
<LF>
This is my body text <CR><LF>
More body text

This results in the "title" being parsed as:
This is my title <LF>
<LF>
This is my body text

This results in a problem later on in the processing of changelog labels because the regex matching does NOT match multi-lines.

Released in v1.4.0 -> https://github.com/jreleaser/jreleaser/releases/tag/v1.4.0


Correct SourceLiveTimer Parsing

fixes #109

Unfortunately GitHub won't let me inline comment there, but you have let best_split_time, which really should be best_segment_time and fall back to the split_time there, which doesn't make sense, cause one is segment time and one is a split time. So it should probably just be None instead of that fallback or something.

You don't use Time anymore, so you should remove that import.

I merged it manually https://github.com/LiveSplit/livesplit-core/commit/689a7e5d6042f00c9473109514f1cdf20653ce5c


Navbar Links Don't Reappear

Upon resizing the viewport to have the hamburger appear, if you click on the hamburger to populate the dropdown and then close the dropdown, upon resizing the viewport to show the links in the navbar, the links do not appear. However, if you click on the hamburger to populate the dropdown and do no close the dropdown and resize the viewport, the links in the navbar populate.

fixed by #1502


refactor(cmark/block): migrate syntax tree declarations to use Array

Pull Request Test Coverage Report for Build 106
Details

131 of 191 (68.59%)  changed or added relevant lines in 10 files are covered.
12 unchanged lines in 5 files lost coverage.
Overall coverage increased (+0.02%) to 74.528%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/cmark_html/html.mbt
11
12
91.67%

src/cmark/inline_struct.mbt
4
7
57.14%

src/cmark/mapper.mbt
2
6
33.33%

src/cmark/block_line.mbt
0
6
0.0%

src/cmark/block.mbt
4
17
23.53%

src/cmark/block_struct.mbt
104
137
75.91%

Files with Coverage Reduction
New Missed Lines
%

src/cmark/mapper.mbt
1
28.07%

src/cmark/block_line.mbt
1
22.73%

src/cmark_html/html.mbt
1
83.47%

src/cmark/block.mbt
2
44.44%

src/cmark/block_struct.mbt
7
79.62%

Totals

Change from base Build 104:
0.02%

Covered Lines:
1422

Relevant Lines:
1908

💛  - Coveralls


Fix api keys bugs

fixes #2730 (fixed by 234efaf)
fixes #2731 (fixed by 2fcfe62)

bors merge

bors merge

Merge by hand since we don't know why it fails with bors!


creating the members section with avatars inside the home page

Resolving #38

As I looked at it this isn't responsive for mobile quite enough.
I have a few ideas on how to fix it and add a dash of glitter to it if desired🪩

As I looked at it this isn't responsive for mobile quite enough. I have a few ideas on how to fix it and add a dash of glitter to it if desired🪩

@itaim18 let me know what is your suggestion 🙏

Okay😬

So, looking in, I would probably start with putting repeating style rules at the @layer components to get a better hold of their styles.
Then would modify the text in order for it to not cut out on mobile.
Then would see how to reuse the logic Of the circles to create this grid more elgenatlly.
In order to do it and add a bit more glitter to it, I probably would have created 4 flexed seperate rows with their unique data allowing them to move as long as the mouse is not hovering the current row.

Refs:

.placeholderSize {
    @apply bg-gray-700 h-[65px] md:h-[100px];
  }
  .placeholderCircle {
    @apply placeholderSize rounded-[50px] overflow-hidden;
  }


Manual Testing Sprint 6

There's no way for a new campus or community partner to check to see if their organization already exists in the system. There should be a check if your organization is here dropdown.

If the organization already exists the form wont allow them to submit
duplicate record..It prompts on submission " Community partner already
exists
"
On Wed, Nov 28, 2018 at 7:52 PM TarekRamesses<EMAIL_ADDRESS>wrote:

[image: image]
https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_22284674_49193523-2Df7789280-2Df344-2D11e8-2D98f0-2D30541e584a4e.png&d=DwMFaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=294ZEKJ1DmW7fzAMGD1GUjkbPXIKbG8_p5hcZUiBkik&m=coqwx8cG3gZEmSZP7mi7Mh7gq3uZ5_QIvamUZM29OYc&s=XiAqbrM7U57OdPdBLnAn2MCAaaLqbRbdfDYzlkGjED8&e=
There's no way for a new campus or community partner to check to see if
their organization already exists in the system. There should be a check if
your organization is here dropdown.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_uno-2Disqa-2D8950_uno-2Dcpi_issues_371-23issuecomment-2D442672918&d=DwMFaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=294ZEKJ1DmW7fzAMGD1GUjkbPXIKbG8_p5hcZUiBkik&m=coqwx8cG3gZEmSZP7mi7Mh7gq3uZ5_QIvamUZM29OYc&s=xd_X5LwxVdBxb5YjsbQd-QudJ4kKMLQ8eJL2-bEzliY&e=,
or mute the thread
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AYIzN-5FcZ5xZUlY96ihCbKr956zhzVSAVks5uzzptgaJpZM4YqaAh&d=DwMFaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=294ZEKJ1DmW7fzAMGD1GUjkbPXIKbG8_p5hcZUiBkik&m=coqwx8cG3gZEmSZP7mi7Mh7gq3uZ5_QIvamUZM29OYc&s=zKpBiKy52U7ZPKf1OYw1ylEt50DVsH3_E23YH5PubDs&e=
.

I understand that, but that means any community partner beginning to use the system will try and create their organizational profile. That opens the door for a typo in the name to create duplicate records, and they have to enter the entire form just to know if their community/campus partner exists. Seems less than ideal.

Engagement Type report doesn't appear to be working.

Get this error when submitting a community partner. It also accepted the below input:

So phone numbers aren't a full 10 digits, zip code has characters, and there was no mission area selected.

We may not show upload in final demo.
On Sat, Dec 8, 2018 at 1:26 PM TarekRamesses<EMAIL_ADDRESS>wrote:

[image: image]
https://urldefense.proofpoint.com/v2/url?u=https-3A__user-2Dimages.githubusercontent.com_22284674_49689842-2Dd81ff900-2Dfaec-2D11e8-2D9952-2D2c62e12e316a.png&d=DwMCaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=HjdGuJHcWByfFEVQu7f94InB5tsifsBHD99qc3LHtUc&m=P-Y5kxliY2zJhfJnJrd5fiMbvHX5R_xqz8oHtFO6QkU&s=7VEI_JcSXlKkrGMOfpWKatiO81YgeM4l6_QXFzqLqic&e=
After uploading, admin page is weird. Gaps in headers.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_uno-2Disqa-2D8950_uno-2Dcpi_issues_371-23issuecomment-2D445483647&d=DwMCaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=HjdGuJHcWByfFEVQu7f94InB5tsifsBHD99qc3LHtUc&m=P-Y5kxliY2zJhfJnJrd5fiMbvHX5R_xqz8oHtFO6QkU&s=x4eilFZdtSohrUVvD6MBrGch8IeYhnO1jPKtXoHCMY0&e=,
or mute the thread
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AMxRjmtMiTukJx0EaqRFCInvPhsMfo4vks5u3BJngaJpZM4YqaAh&d=DwMCaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=HjdGuJHcWByfFEVQu7f94InB5tsifsBHD99qc3LHtUc&m=P-Y5kxliY2zJhfJnJrd5fiMbvHX5R_xqz8oHtFO6QkU&s=eWtkTg7RWNJfEgeGgoT8YN2PpYeU6b2HwZ5XeHnonUs&e=
.


Messages do not send

I open the app, with my Twitch account bound. The tabs I had opened reload and connect. From thereon, none of the messages i type and send ever make it. I need to close and restart the app several times before it finally works, akin to playing a lottery.

Please use issue templates.
This is a known twitch issue, there is currently no known workaround or way to detect this
rel or dupe #1831

Closing in favor of #2614


Cannot import Rom

Issue summary
I cannot import sonic from my steam library.
Whenever I try to import the folder or directly via the steam API, I receive:

Importing 1 potential games...
Traceback (most recent call last):
File "C:\Users...\Anaconda3\envs\tensorflow\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "C:\Users...\Anaconda3\envs\tensorflow\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users...\Anaconda3\envs\tensorflow\lib\site-packages\gym_retro-0.6.0.dev33+gb7ac383-py3.5-win-amd64.egg\retro\import_main.py", line 4, in
main()
File "C:\Users...\Anaconda3\envs\tensorflow\lib\site-packages\gym_retro-0.6.0.dev33+gb7ac383-py3.5-win-amd64.egg\retro\scripts\import_path.py", line 14, in main
retro.data.merge(*potential_roms, quiet=False)
File "C:\Users...\Anaconda3\envs\tensorflow\lib\site-packages\gym_retro-0.6.0.dev33+gb7ac383-py3.5-win-amd64.egg\retro\data_init.py", line 355, in merge
known_hashes[sha] = (game, ext, os.path.join(path(), curpath))
UnboundLocalError: local variable 'ext' referenced before assignment

System information
I have Win10, Python 3.5.5 and the current github retro version.

I made a workaround by reinstalling it:

I uninstalled the whole package from my anaconda environment.
Instead of running python setup.py install, I ran pip install -e.
I imported the rom.
I ran python setup.py install

Apparently, it was important to import the game before installing(copying) it into the anaconda environment.


Installation on windows using zserge instead of webview

Device:

OS: Windows
Version: 10
Go Version: 1.15

Describe the bug
When running the installation on Windows, it is trying to use zserge/webview instead of webview/webview.
go get<EMAIL_ADDRESS>updating to
<EMAIL_ADDRESS>parsing go.mod:
        module declares its path as: github.com/webview/webview
                but was required as: github.com/zserge/webview

Cloning from the guark repository itself, seems to compile ok, but when trying to init I get an error:
2020/11/03 07:43:39 Request error: 404 for https://api.github.com/repos/guark/-vue/contents/guark.yaml
To Reproduce
Steps to reproduce the behavior:

go get -u github.com/guark/guark/cmd/guark

Expected behavior
Should use github.com/webview/webview dependency and not the older zserge/webview

this issue will be resolved after releasing v0.1.0, probably tonight or tomorrow morning :)...

Cool!   I have used webview when it was under zserge, but had to abandon because it was not compatible with some of the vue libraries I was using.   I am hoping that this new webview will work, and having your cli to build everything will be great!

v0.1.0 released can you check it now ?

Wow!   That was fast!
However, I am still getting the same error as when I did a clone on the repo.
2020/11/03 11:08:41 Request error: 404 for https://api.github.com/repos/guark/-vue/contents/guark.yaml

try ‘guark init —template vue’

Yeah, that was my bad.
Ok, some more fixes....
Looks like the template {{AppPkg}} was not expanded in go.mod, app.go and config.go.   I went ahead and did that manually.
Also, in your guart-build.yaml, it is required to change the path for the compilers.    I had to change mine to:
windows:
  cc: C:/TDM-GCC-64/bin/x86_64-w64-mingw32-gcc
  cxx: C:/TDM-GCC-64/bin//x86_64-w64-mingw32-g++
  ldflags: "-H windowsgui"
  windres: C:/TDM-GCC-64/bin/windres

Lastly, I am getting errors in the generated embed.go.    It is not escaping the paths properly:
⠇ Building Windows App...# example.com/test/myApp/lib
lib\embed.go:13:5: unknown escape
lib\embed.go:15:3: duplicate key "" in map literal
        previous key at lib\embed.go:13:3
lib\embed.go:15:5: unknown escape
lib\embed.go:16:3: duplicate key "" in map literal
        previous key at lib\embed.go:13:3
lib\embed.go:16:5: unknown escape
lib\embed.go:17:3: duplicate key "" in map literal
        previous key at lib\embed.go:13:3
lib\embed.go:17:5: unknown escape
lib\embed.go:18:3: duplicate key "" in map literal
        previous key at lib\embed.go:13:3
lib\embed.go:18:5: unknown escape

In the embed.go:13 is this line:
       "\css\app.1748279e.css": ...
It should be
       "\\css\\app.1748279e.css": ...
or, it might even work (even on windows) as
       "/css/app.1748279e.css": ...
Is there anything I can change to fix this?

I don’t have a windows machine to test this, but when you run guark init it should ask you to type your module name.
can you try with:
guark init —template vue —mod github.com/yourname/yourapp

embed files path should be with / because it will be served from a local http server

Here is the exact command and errors:
D:\Development\guark>guark init --template vue --mod example.com/test/myapp
✔ Remote template validated
✔ Template downloaded successfully.
⏺ Change the app module name to yours:.com/test/myapp
✔ App module name: example.com/test/myapp
✔ App module name refactored
⏺ Setup commands (Verify them before confirm):
  - "yarn install" (dir: ui)
  - "go mod download"
  - "go mod tidy"
  - "go mod verify"
Do you want to run this commands on your machine (Enter for No): Y
Do you want to run this commands on your machine (Enter for No): Y
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>|| ^5.0.0".
⠧ Running setup command: go mod downloadgo: errors parsing go.mod:
D:\Development\guark\go.mod:1: usage: module module/path
exit status 1

Here is the go.mod file:
module {{AppPkg}}

go 1.15

require (
	github.com/guark/guark v0.1.0
	github.com/guark/plugins v0.0.0-20201102173241-c94a1e1f818e
)

You can see that {{AppPkg}} was not expanded.
After manually fixing the token, I ran a guark build:
D:\Development\guark>guark build
✔ Build Initialized   🔨
✔ Build App UI        🎨
✔ Build Embeded Files 🗃
✔ Build Meta Files    ℹ
⠼ Building Windows App...# runtime/cgo
exec: "/usr/bin/x86_64-w64-mingw32-gcc": file does not exist
⠏ Building Windows App...# example.com/test/myapp/lib
lib\embed.go:13:5: unknown escape
lib\embed.go:15:3: duplicate key "" in map literal
        previous key at lib\embed.go:13:3
lib\embed.go:15:5: unknown escape
lib\embed.go:16:3: duplicate key "" in map literal
        previous key at lib\embed.go:13:3
lib\embed.go:16:5: unknown escape
lib\embed.go:17:3: duplicate key "" in map literal
        previous key at lib\embed.go:13:3
lib\embed.go:17:5: unknown escape
lib\embed.go:18:3: duplicate key "" in map literal
        previous key at lib\embed.go:13:3
lib\embed.go:18:5: unknown escape
exit status 2
⠋ Building Windows App...

What do I need to change to make the generated embed.go use / instead of ?

I got it.    I went into embed.go:56 and changed:
		embeds = append(embeds, &Item{
			ID:   strings.Replace(files[i], e.Root, "", 1),
			Path: files[i],
			Data: gzdata.Bytes(),
		})

to
		embeds = append(embeds, &Item{
			ID:   strings.Replace(strings.Replace(files[i], e.Root, "", 1), "\\", "/", -1),
			Path: files[i],
			Data: gzdata.Bytes(),
		})
```

Bit of a hack, but now it compiles.

However, window is blank.   It does not start the ui.

How can I help track this down?

Blank window you can fix it with:
CheckNetIsolation.exe LoopbackExempt -a -n="Microsoft.Win32WebViewHost_cw5n1h2txyewy"

because windows webview by default blocks localhost!
About the embed error, can you please open a new issue for it.

Awesome!   Never would have thought that.   It is now working!     👍 👍

Thanks, If you use chrome, I think this issue not exists if you use chrome as a engine.

This is brilliant!    I actually have Quasar now running in a go app.....this is exactly what I have been looking for!   And I didn't have to do anything special to babel or vue config to make it work.   Absolutely brilliant!

This issue is fixed in v0.1.1.


Documentation feedback

Hi, I just started learning Riverpod, thought you might appreciate some feedback on the docs. In no particular order:

It's a really neat idea. I like it.
None of the links in the docs work, e.g. they point here which is 404: https://pub.dev/documentation/riverpod/latest/all/Provider-class.html
There are loads of different providers and there's nowhere in the docs where they are all listed and the differences between them are clarified. For example here it says:

Provider is the most basic of all providers. It exposes an object that never changes.
We could replace Provider with other providers like StreamProvider or StateNotifierProvider, to change how the value is interacted with.

But I don't think there's anywhere in the docs where it really lists them in a nice table like this:

Provider Type
Description

Provider
Basic provider for values that never change. If you try to watch() it then ??? happens.

FutureProvider
Provider for a Future where only the completion status of the future changes. This is useful for async tasks that happen exactly once, for example loading config files.

StreamProvider
Provider where the state is a stream. watch()ing the stream causes the widget to be rebuilt when a new value appears on the stream.

StateProvider
Not exactly sure about this? Does watch() get notified when the state changes? If so how is it different to StateNotifierProvider?

StateNotifierProvider
???

etc.

On the StateNotifierProvider it says:

This provider is used in combination with package:state_notifier.

But none of the examples show that and all of the classes seem to be in riverpod_flutter?

There aren't any examples for providers with mutable state, where I would manually trigger an update. For example:

class AppState {
  int x;
  int y;
  int z;

  void doThing() {
    this.x += 1;
    notifyWatchersSomehow();
  }
}

Maybe there's something similar to Flutter's setState()? It seems like an odd omission - I'd expect 90% of app state to be big heterogenous collections of mutable state, rather than simple int counter things that are always shown as examples. The TodosNotifier example is better but it still completely reassigns the entire state object to trigger updates, which I doubt is a typical use.
This example seems to essentially trigger an update via state = state but it's not an official example so I'm not sure if that's the best option.

Sometimes you do watch(provider) and sometimes watch(provider.state). Maybe I missed it but I didn't see any explanation of why.
I'd appreciate some more explanation of how it all works up front. I suspect it's pretty much impossible to use this without understanding at least vaguely how it works, and the current guide is a load of "if you want this, then do this" rather than "when you call watch() it does this".

Hope that helps! Like I said, it seems like a great project and I really want to learn how to use it but there's definitely a slightly inconvenient focus on "how to do a counter" and "how to do a todo list" rather than "this is how it works" and "how to do an app with state that is more complicated than just a list or an integer".
Thanks!

Thanks a lot for the feedback! I really appreciate 😄
Overall I agree with what you said. The main issue is finding time to edit the documentation at the moment. I'm quite busy with writing a devtool.
Good call on the broken pub links. I'll fix those

On the StateNotifierProvider it says:

This provider is used in combination with package:state_notifier.

You don't have to import it. Riverpod exports it for you. Riverpod's StateNotifier is state_notifier's StateNotifier

There aren't any examples for providers with mutable state, where I would manually trigger an update

That's because this is not recommended by the library.
With Riverpod I would like to push immutable state, because this is more maintainable.
It supports ChangeNotifier for backward compatibility (as a mean to help the transition between Provider and Riverpod). But you should avoid it.

Sometimes you do watch(provider) and sometimes watch(provider.state). Maybe I missed it but I didn't see any explanation of why.

Eh I thought I mentioned it in the doc. I'll add it.

Like I said, it seems like a great project and I really want to learn how to use it but there's definitely a slightly inconvenient focus on "how to do a counter" and "how to do a todo list" rather than "this is how it works" and "how to do an app with state that is more complicated than just a list or an integer".

It's difficult. The issue is, what people expect from a doc vary between person.  Some want a step by step tutorial.
Overall a major issue is, I don't have enough time to properly work on the documentation. All the time that I spend writing doc is time that I could spend developing other things.
That's especially so because you can find tutorials about Riverpod written by third-party.
In the ideal world, Riverpod would have other maintainers to help me with those. But considering there's no monetary reward, it's difficult to find help.

Thanks for the reply! That all make sense and I totally appreciate the time constraints.

With Riverpod I would like to push immutable state, because this is more maintainable.

Ah I wondered if that might be the case. I find the idea of immutable state a bit awkward in languages like Dart & Javascript where everything is a reference, pretty much everything is mutable by default and it's really difficult to control when things are copied (e.g. there's no deep copy function in either).
Fine in C++ or Rust where you can provide a proper optimised data structure that does cheap copy-on-write and so on, so it appears to be immutable but actually does things efficiently behind the scenes. But anyway...
Here's the real app I'm writing (it runs a HTTP server that returns your location). How would you modify it to use Riverpod idiomatically? (I only started it today; it probably doesn't close everything properly).
class ServerInfo {
  bool running = false;
  String address = "";
  int port = 0;
  LocationData currentLocation;
}

class ServerNotifier extends StateNotifier<ServerInfo> {
  ServerNotifier() : super(ServerInfo());

  HttpServer _server;
  Location _location;
  StreamSubscription<LocationData> _locationSub;

  startServer() async {
    if (state.running) {
      return;
    }
    // Update state.
    state.running = true;
    state = state;

    // Enable background mode. Initialize requests permissions for wakelocks etc.
    // It does nothing if permission is already granted.
    bool backgroundExecutionInitialized = await FlutterBackground.initialize(androidConfig: backgroundConfig);
    if (!backgroundExecutionInitialized) {
      state.running = false;
      state = state;
      return;
    }
    bool backgroundExecutionEnabled = await FlutterBackground.enableBackgroundExecution();
    if (!backgroundExecutionEnabled) {
      state.running = false;
      state = state;
      return;
    }

    // Start listening to the position.
    _location = new Location();

    bool _serviceEnabled;
    PermissionStatus _permissionGranted;

    _serviceEnabled = await _location.serviceEnabled();
    if (!_serviceEnabled) {
      _serviceEnabled = await _location.requestService();
      if (!_serviceEnabled) {
        await FlutterBackground.disableBackgroundExecution();
        state.running = false;
        state = state;
        return;
      }
    }

    _permissionGranted = await _location.hasPermission();
    if (_permissionGranted == PermissionStatus.denied) {
      _permissionGranted = await _location.requestPermission();
      if (_permissionGranted != PermissionStatus.granted) {
        await FlutterBackground.disableBackgroundExecution();
        state.running = false;
        state = state;
        return;
      }
    }

    await _location.enableBackgroundMode();

    _locationSub = _location.onLocationChanged.listen((event) {
      state.currentLocation = event;
      state = state;
    });

    // Start the server.
    _server = await HttpServer.bind(
      InternetAddress.loopbackIPv4,
      4040,
    );

    state.address = _server.address.host;
    state.port = _server.port;
    state = state;

    handleRequests(_server, () => state.currentLocation);
  }

  stopServer() async {
    if (!state.running) {
      return;
    }
    // Update state.
    state.running = false;
    state.address = "";
    state.port = 0;
    state = state;

    if (_server != null) {
      _server.close();
      _server = null;
    }
    if (_locationSub != null) {
      _locationSub.cancel();
      _locationSub = null;
    }
    if (_location != null) {
      _location = null;
    }
    await FlutterBackground.disableBackgroundExecution();
  }
}

final serverProvider = StateNotifierProvider((ref) => ServerNotifier());

I'm guessing something like this:?
class ServerInfo {
  ServerInfo(this._running, this._address, this._port, this._currentLocation);
  bool _running = false;
  bool get running => _running;
  String _address = "";
  String get address => _address;
  int _port = 0;
  int get port => _port;
  LocationData _currentLocation;
  LocationData currentLocation => _currentLocation; // Immutability is already broken here because you can modify the contents of LocationData. There's no (easy) way to return a copy.
}

And then instead of:
    state.running = true;
    state = state;

You do
    state = ServerInfo(true, state.address, state.port, state.currentLocation);

That seems really tedious so I feel like I'm missing something.

And then instead of:
    state.running = true;
    state = state;

You do
    state = ServerInfo(true, state.address, state.port, state.currentLocation);

That seems really tedious so I feel like I'm missing something.

My recommendation is to use StateNotifier in combination with freezed.
It's another package of mine, that allows cloning objects
So you can do things like:
state = state.copyWith(running: true);

Another possibility is to have an assert in debug mode that prevents reading .state inside ConsumerWidget.build

@rrousselGit
I might take a look into improving the documentation. I expect to have some time this coming week I can work on it.

I also noticed that the documentation isn't beginner focused, yet.
Therefore I wrote an introduction article: https://felixblaschke.medium.com/riverpod-simplified-an-introduction-to-flutters-most-advanced-state-management-package-c698b4d5a019
Feel free to use it or extract parts to explain Riverpod concept to a beginner audience.

My recommendation is to use StateNotifier in combination with freezed.
It's another package of mine, that allows cloning objects
So you can do things like:
 state = state.copyWith(running: true);

Ah ok, I think that's the key thing that is missing from the docs! I don't think it's used in any of the examples I could find either.

Therefore I wrote an introduction article: https://felixblaschke.medium.com/riverpod-simplified-an-introduction-to-flutters-most-advanced-state-management-package-c698b4d5a019

Good work, though I have to say it doesn't cover anything that isn't already covered by the docs, and it didn't address any of the questions I had here. Maybe in the next instalment? :-D

Good work, though I have to say it doesn't cover anything that isn't already covered by the docs, and it didn't address any of the questions I had here. Maybe in the next instalment? :-D

I thought this was a generic issue about the quality of documentation.
Sure everything is somehow covered by the docs but it's spread everywhere. The readme uses StateNotifierProvider with ConsumerWidget, some decision diagram hints to use Consumer. The simple counter uses StateProvider along wit Consumer. The concept page of providers on riverpod.dev uses StreamProvider.
There is no common thread inside the documentation, starting from the most simple usage, guiding towards more advanced techniques (like i.e. composition).
For a new user Riverpod looks very complex with many different things. This is why I recommended beginners to start exactly with two simple things (Consumer + StateProvider). The documentation should also do that, but also hint that there is more to discover.

I ran into this somewhat just now. I wanted to use Riverpod for a pure Dart project, but the documentation for that use case is quite minimal. I'd be happy to contribute some more documentation for that @rrousselGit  but I'm not even sure I correctly understand what the correct (or your recommended) approach is to then write documentation for.
For instance how should ProviderContainer be used for the pure Dart case? Is there supposed to be a single one (or a tree of them)  that is then passed through to different classes the way build context is in Flutter?
Sorry if this is too off-topic for this issue, if it is let me know, and I'll raise a separate issue for this.

@maks I'd suggest raising a new issue indeed
Dart-only projects need more than just documentation. They most likely need some extra APIs to make things easier, but that needs to be discussed as I don't fully understand the use-case.

There aren't any examples for providers with mutable state, where I would manually trigger an update

That's because this is not recommended by the library.
With Riverpod I would like to push immutable state, because this is more maintainable.
It supports ChangeNotifier for backward compatibility (as a mean to help the transition between Provider and Riverpod). But you should avoid it.

I shall review statenotifier for a third time. However my conclusion, so far has been that I like explicit builds and I believe changenotifier results in more readable and flexible code and rate those as higher importance than immutability in the state class.
To be brutally honest. I actually find the examples on the homepage to be quite unreadable.

I'm here a few months later to reiterate the points @Timmmm mentioned in his original issue post as I tried to use Riverpod for the first time today.
The docs are quite hard for beginners with Riverpod to follow as they mention different Providers and methods (Providers, FutureProviders, autoDispose, context.read) without a guide as to how it all works for the use cases.
I am aware @rrousselGit  is currently pressed for time to make changes to the docs. Does anyone have a link to any beginner-friendly resources to help understand Riverpod. I checked out @felixblaschke article and found it helpful and would like to know if other resources also exist beyond combing through the current docs.

Is there any progress being made on this issue?

Not sure if this is of any help, but I have an updated guide to Riverpod here:
https://codewithandrea.com/videos/flutter-state-management-riverpod/
It doesn’t cover as much stuff as the documentation, but it follows a linear structure.

@rrousselGit I think you do a great job with the Riverpod documentation, but @bizz84 I consider your article to be the unofficial Riverpod manual! Personally I found it invaluable for getting to grips with Riverpod. I find reading documentation with a specific application example like yours very helpful and would humbly suggest that the article be linked in the Riverpod Readme.
The only gap I've found in both the Riverpod documentation and @bizz84's tutorial is an example of how to get a reference to a StateNotifierProvider rather the state object its notifying about. What I mean by that is that I tend to use StateNotifierProvider's as "viewmodels" so just as in @bizz84 tutorial on them I would have one that has methods on it like in the article:
eg.
class CreateProfileModel extends StateNotifier<CreateProfileState> {
  CreateProfileModel({@required this.dataStore})
      : super(const CreateProfileState.noError());
  final DataStore dataStore;

  Future<bool> createProfile(String name) async {
   ...
  }
}

and then somewhere else is say a onPress() I would need to get a ref to it to call the createProfile(). In Provider, this per the article, this would be:
final model = context.read<CreateProfileModel>();
model.creatProfile('...');

whereas in Riverpod I figured out I need to instead do:
 final model = ref.read(createProfileModelProvider.notifier);

Not sure if it's me being slow, but that .notifier part was something I couldn't easily find in the Riverpod tutorial docs and took me a little while to figure out on my own.

Documentation rework hasn't quite started yet on my side as I've been busy with the v1 release – which is coming today.
With that out of the way, the next steps are documentation and the Riverpod devtool, so expect some changes soon.

I completely agree with / had some of these same questions as the OP:

There aren't any examples for providers with mutable state, where I would manually trigger an update.

I see ChangeNotifierProvider mentioned in the Concepts -> Providers, but not in the API Reference -> All Providers in the nav bar on the side of the docs. If this is intentional, I think it would be more helpful to also mention ChangeNotifierProvider in the All Providers. I understand that you prefer using immutable state, and I'm all on board with that after 5+ years of professional Haskell programming in the past, but like the OP says in another comment above, I find that mutable state + manual notification is sometimes a better fit for Dart, for me. I wish Dart had better support for immutability (namely data classes / records without boilerplate, and immutable containers with efficient modification), but in the mean time, it seems simpler (less code, more efficient, and not any more error prone) to e.g. just hide a mutable array inside a ChangeNotifier sometimes.

Sometimes you do watch(provider) and sometimes watch(provider.state). Maybe I missed it but I didn't see any explanation of why.

In my case, I got really confused by the "don't use ref.read in build" example in the docs. After looking at it enough times, I realized that the point was probably that you're read/watching provider.notifier and not plain provider, but an explanation of when or why you'd want to do that would be helpful. Reading the docs up to that point, my impression was that you always do read(provider), and so at first I didn't notice the difference, and then had a hard time guessing why it worked / what it meant.

I'd appreciate some more explanation of how it all works up front. I suspect it's pretty much impossible to use this without understanding at least vaguely how it works, and the current guide is a load of "if you want this, then do this" rather than "when you call watch() it does this".

Specifically, a prominent explanation of when ref.watch(thing) will trigger a rebuild would be really helpful. For example, from the docs it was not clear to me when a provider like boolProvider here would notify its listeners:
final boolProvider = Provider.family<bool, String>((ref, name) {
  final set = ref.watch(setProvider);
  return set.contains(name);
});

Some experimentation showed me that this works the way I would hope, i.e. changes to setProvider trigger a rebuild of all the providers in the boolProvider family, but those providers don't themselves notify their listeners unless their computed bool actually changes. But, before doing the experiment, it seemed entirely possible to me that all the ref.watch(boolProvider(name)) listeners would be notified, since the docs didn't say anything about it either way. It seems what's going on here is that when boolProvider(name) gets rebuilt, Riverpod compares the old and new output using ==, and only notifies listeners on a change, but it would be helpful if the docs actually said that.

Closing in favor of #1035
I'll still treat these points. But there's no reason to have multiple issues for it 😄


Hardware choice and frequencies

I wanted to purchase some freakwan-compatible hardware, but had trouble matching the models listed on the readme to those available. I also couldn't find any info on what frequency is recommended. There's a lot of choice between 433, 868, 915, 923 MHZ, 2.4 and 5 GHz. Lastly, it's not clear to me what the relation is between the LoRa module and the frequencies available. I found SX1276 modules with 923, 915, and 868 MHz, but not 433. Perhaps the list of recommended hardware could be expanded upon a little to include selection criteria?
The closest I found to "LILYGO TTGO T3 v2 1.6 LoRa module" was this: https://fr.aliexpress.com/item/32872078587.html, which is branded as TTGO LoRa32 v1.2 _ 1.6 which I'm guessing is the correct one. But it seems there's also a T3 model which supports 2.4 GHz?

Hi @minosimo sorry for this late reply.
If you are in Europe¹ you can use both 433 or 868 MHz, so my suggestion is to choose one frequency and buy a couple of boards that uses the same frequency. We tested both frequencies, but 868 MHz had less interference when we tried² here: you could get different results since it depends on what you have around, but anyway both works well. In north of Italy 433 MHz is more used for example.

it's not clear to me what the relation is between the LoRa module and the frequencies available.

In different part of the world the frequencies used change (see 1.2 section of https://lora-alliance.org/wp-content/uploads/2021/05/RP-2-1.0.3.pdf) so the boards are made to cover all the frequencies available.
The board in the link you provided is fine, if you look at the photo of the back you will read T3_V1.6.1: I have one of this with freakwan installed.

But it seems there's also a T3 model which supports 2.4 GHz?

LoRa uses only sub-gigahertz radio frequency bands, I think that 2.4 GHz is related to WiFi that is supported by ESP32 itself.
¹ I'm supposing from the aliexpress link.
² https://twitter.com/antirez/status/1632664872658821120

Hi,
Actualy there are LoRa modules for 2.4G (SX1280) with 12 and 27dbm.
Anyway it needs to have 1280 support, from what i seenow FreakWan still have only 1276 support and waiting for 1262/68 and 1280 :)

@vladbondarenko oh thanks, I did not know about SX1280! :)

Can you paste the wan_config for the board lilygo? 868 module


Evaluate the use of tmpdirs across all storage mounts

Sprinkled across every storage provider, we create a tmp directory and write to them. Is this a concern? E.g. shouldn't we mount some place permanently (at least for the life of the container)?

More data - tmpdirs are necessary inside docker containers because mounted dirs are volumes, and you can't mv across them


Pytorch 1.0 patch

Added pytorch 0.4.1 and 1.0 distributed examples at etc/examples.
The 2 main distributed learning example for Pytorch 1.0 is c10d-Parallelism-example and c10d-onnx-mpi
Added Seldon's ONNX serving example using nGraph in the Seldon community folder.
LCM code changes to make pytorch MPI backend compliance.

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

Few more things:

There is this Replace Image with the path to the folder containing your file created in step 6 in few of the examples that needs to be removed from there (just copy/paste issue I'm sure)
check the examples READMEs for the names of the scripts and the folders
rename c10d-Parallelism-mpi to lower case (per @animeshsingh request from earlier)

Thanks @sdmonov for the review, I updated the readme with the correct naming and make it consistent with the current branch.

LGTM


Swagger tags to group API

How to group api using "tags" keyword on the Swagger definition ?

Thanks in advance.

Are you referring to Platformatic DB automatic routes or routes that you add yourself?

I referring to Platformatic DB automatic routes.

Sorry @mcollina , it is not urgent, but it seems don't working. This is a repo quick sample with only automatic routes definitions.  https://github.com/clabnet/platformatic-quick-start
All routes are grouped into "default" tag.
Am I forgetting something? Thank's

I just shipped v1.9.0 with this feature

The v1.9.0 run fine. Thank's @mcollina.


ClassFinder: Fix issue with old string helper methods

When using the package with Laravel 6, the string helper methods in ClassFinder are deprecated causing the Send Notification screen to break when viewed in Nova.
This PR provides fixes to the ClassFinder method and two unit tests to check the find and findByExisting methods return a collection as expected.
The controller tests mocked the ClassFinder methods so it wasn't able to pick up the string helper changes to the framework.

Thanks a lot!


Create Business: Trim all entries

Remove any space characters and alike on the beginning and the end of every property

could be done in the sync-service....?


Making a requirements.txt to install all dependencies

Right now, in order to run the project, there are multiple dependencies that need to be installed.
Making a requirements.txt file and install requirement.txt through command line, instead of installing each dependency is more convenient and can be installed through. This way even when new dependencies are added, there will be no need to update REAME or any other file and all the dependencies can be installed by the command: pip3 install -r requirements.txt

@nandikajain  All most done generating the PR Soon.

@Kashish121  @vinitshahdeo  @nandikajain  Just a Quick status from my side.
I had added the requirement.txt for portscanner. The app is up and running perfectly. Just added some img for the same.

Is this issue still needs to be addressed!
If yes, you can assign it to me!

@Kashish121 @vinitshahdeo @nandikajain Just a Quick status from my side.
I had added the requirement.txt for portscanner. The app is up and running perfectly. Just added some img for the same.
Generated the PR for Same

@vinitshahdeo

assign me this please

@nandikajain  I would like to work on this issue


My first branch

Add my first file

I have created a new branch, created a new file and made a commit

I created a new branch. created a file and made a commit


Elastic wave propagation

Could anyone provide an example of elastic-wave propagation simulation using MFEM? Thank you!

I believe @martemyev worked on this a few years ago.
Mikhail, can you help @nebulaekg?

OK. I know Mikhail personally. We were in the same project.


[BUG] Docs are unclear for youtube_player_iframe - YoutubePlayerIFrame

Describe the bug
The docs don't sufficently cover how to generate a player without Full Screen support and cue a video within said player.
The number of variations I have tried have resulted in no video being cued.

I also don't think that YoutubePlayerControllerProvider isn't accepting the controller being passed to it properly

Same, I can't get videos to load or cue on web ('an error occured' in the player frame).  :( :(

I also don't think that YoutubePlayerControllerProvider is accepting the controller being passed to it properly.

@BarryCarlyon YoutubePlayerControllerProvider is an inherited widget, so make sure that the player is under descendant BuildContext of the provider.

Same, I can't get videos to load or cue on web ('an error occured' in the player frame).

@CosmicPangolin Can you post how you're doing it currently ?

I have a problem with setting up the player too. In my case I want to have 4 Youtube players on one page. I use a stack to place multiple players. However on each reload a seemingly random selection of the players work, the others give the error message "An error occured. Please try again later". Sometimes it is one video working, sometimes two. Very rarely it has been three videos working. Can it have something to do with loading 4 videos not beeing fast enough?
Here is a portion of my code
`class MainPageState extends State {
late final YoutubePlayerController _controllerStream1;
late final YoutubePlayerController _controllerStream2;
late final YoutubePlayerController _controllerStream3;
late final YoutubePlayerController _controllerStream4;
bool videoLoaded = true;
var result;
@override
void initState() {
super.initState();
_controllerStream1 = YoutubePlayerController(params: const YoutubePlayerParams(showFullscreenButton: false, showControls: true))
..onInit = () async {
await _controllerStream1.loadVideoById(videoId: _videoIds[0]);
};
_controllerStream2 = YoutubePlayerController(params: const YoutubePlayerParams(showFullscreenButton: false, showControls: true))
..onInit = () async {
await _controllerStream2.loadVideoById(videoId: _videoIds[1]);
};
_controllerStream3 = YoutubePlayerController(params: const YoutubePlayerParams(showFullscreenButton: false, showControls: true))
..onInit = () async {
await _controllerStream3.loadVideoById(videoId: _videoIds[2]);
};
_controllerStream4 = YoutubePlayerController(params: const YoutubePlayerParams(showFullscreenButton: false, showControls: true))
..onInit = () async {
await _controllerStream4.loadVideoById(videoId: _videoIds[3]);
};
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
backgroundColor: Colors.grey,
body: Stack(children: [
Positioned(
child: PointerInterceptor(
intercepting: false,
child: ResizebleWidget(
onDrag: (windowIndex, width, height) {
setState(() {});
},
windowIndex: 0,
child: Container(
padding: const EdgeInsets.all(5),
child: YoutubePlayer(
key: ObjectKey(_controllerStream1),
aspectRatio: 16 / 9,
enableFullScreenOnVerticalDrag: false,
controller: _controllerStream1,
),
),
),
),
),
Positioned(
child: PointerInterceptor(
intercepting: false,
child: ResizebleWidget(
onDrag: (windowIndex, width, height) {
setState(() {});
},
windowIndex: 1,
child: Container(
padding: const EdgeInsets.all(5),
child: YoutubePlayer(
key: ObjectKey(_controllerStream2),
aspectRatio: 16 / 9,
enableFullScreenOnVerticalDrag: false,
controller: _controllerStream2,
),
),
),
),
),`


Bugfix/pass missing templateName prop to Stepper in Workflow (GA4 event tracking bug fix)

Hey, I just made a Pull Request!

I noticed that templateName prop is not passed down from Workflow component to Stepper component. I caught this bug when I captured create event with Google Analytics 4 event tracking (analytics.captureEvent). As a result, the template name is getting retuned as unknown on the GA4 dashboard. This change should fix it.
:heavy_check_mark: Checklist

[X] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[X] All your commits have a Signed-off-by line in the message. (more info)

@iamEAP I went ahead and fixed this up, would be good to get this in the release tomorrow!


Add type hitting in next release

I recommend that add type hitting in next release.
And also, I think the code of bottle is too complex. It can be more clean and simple.

Then improve it? Pull requests welcomed.
But as said in other issues: I will not accept large patches that were generated by automated tools like black or other pep-8 auto-formatters, or patches that touch large areas of the file.  Small patches that improve specific parts of the project (not just formatting) are welcomed, though.


Point History chart does not work for skill groups child

could not reproduce, steps attempted:

Create Project with Group Skill with multiple children.

Assign two events, one for today and today-n where n > 1 for current user, to a single group child skill

Ensure that current user has no other skill events in the project

Preview client-display

Point History chart was displayed as expected, unlocked

Create Project with Group Skill with multiple children

Assign two events, one for today and today-n where n > 1 for current user, to a single group child skill

Export group child skill to catalog

Create 2nd project

Import child group skill from step 1.

Ensure that no other events exist in either Project 1 or Project 2 for current user beyond events added to Group Child Skill in step 2.

Point History chart was displayed as expected, unlocked

PR: https://github.com/NationalSecurityAgency/skills-service/pull/1393

:+1:


Progress bar with step not working dynamically

Reproduction link
https://2vqekl.run.stackblitz.io
Steps to reproduce
Progress bar with step not working dynamically
What is expected?
bar not change
What is actually happening?
bar change color

Environment
Info

ng-zorro-antd
9.3.0

Browser
chrome 84

@filippocazzarolli Thanks for your feedback. Unfortunately we cannot open the reproduction link you provided. Could you please provide another one?

The progress bar with [nzStep] don't update state after change it.
Sorry i have trouble with stakblitz....  I followed you I pasted the code
import { Component } from '@angular/core';

@Component({
  selector: 'my-app',
  template: `
    <nz-progress [nzPercent]="percent"></nz-progress>
    <nz-progress [nzPercent]="percent" [nzSteps]="5"></nz-progress>
    <nz-button-group>
      <button nz-button (click)="decline()"></button>
      <button nz-button (click)="increase()"></button>
    </nz-button-group>
  `
})
export class AppComponent  {
  percent = 0;

  increase(): void {
    this.percent = this.percent + 10;
    if (this.percent > 100) {
      this.percent = 100;
    }
  }

  decline(): void {
    this.percent = this.percent - 10;
    if (this.percent < 0) {
      this.percent = 0;
    }
  }
}


does rouge_score = evaluate.load("rouge") support other languages?

Hi all,
I am doing summarization tasks using rouge score which I found in https://huggingface.co/learn/nlp-course/chapter7/5?fw=pt :
!pip install rouge_score

import evaluate

rouge_score = evaluate.load("rouge")
scores = rouge_score.compute(
    predictions=[generated_summary], references=[reference_summary]
)

But the scores for some languages are even 0 like Marathi or Bengali.
Does it support languages other than English?
if not, is there any method that I could use?
Thanks!

I have the same question for Chinese evaluation too #465 . But after scanning the documents of rouge-score, I am afraid that  I have to turn to another implementation for Chinese. As there are many packages for Chinese, I suggest you find another package for the computation of Marathi or Bengali. And then just replace rouge_score.compute() with your implementation.


Add base image notifiers

Issue #, if available:
Description of changes:
Add GH workflow that sends out notifications regarding new base image and builder-base updates.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approved


AWS LoadBalancer Support

I would love a use this project for our Kubernetes cluster running in AWS. Unfortunately it doesn't seem that this project supports AWS ElasticLoadBalancers yet. I know that lego itself supports Route53 which is Amazons DNS provider, we just need the load balancer integration.
Whould this be possible to implement?

I run several clusters using kube-lego and ELBs without issue. Where are you getting tripped up?

Oh cool!
I didn't try it out because I couldn't find any reference to AWS ELBs in the README, it only mentions GCE load balancers and nginx.
I also tried to dig through the issues, but still found no mention of AWS ELBs, but I'll definitely give it a try now, Thanks!

Glad to help! One thing that is good to know when using the nginx ingress controller and ELBs is that you should enable ProxyProtocol for both the controller and ELB to allow the whitelist annotations to work correctly. It will also make the ingress controller logs more useful since the real source IP will be shown.


Turn remaining top navbar "hover dropdowns" to "click dropdowns"

All links in the top navbar are dropdown menus. And you need to click on them to see the dropdown menu... except for these two:

For coherency, I turned them from "hover dropdown" into "click dropdown". It'll also allow mobile device users to actually be able to see the dropdown menus for these two items.

Updated!

I fixed the conflicts.
cc @syphar :)


Reevaluate current exercises and bring them into a proper exercise tree

This is to prepare for the launch of v2.
It will propably not happen during this year, and there is currently a very basic tree set up to be able to participate in the beta.
I'd like to discuss how to organize the current exercises in the tree.
Especially I want to do the following:

[ ] Decide upon which exercises should be core exercises

[ ] Order the core exercises

[ ] Categorize exercises and label them correctly
[ ] Make remaining exercises successors of core exercises, depending on their labels and difficulty

My initial thought was that deciding which exercises are core or not will be easier if they are all categorised first, and then choose the easiest from each 'basic' category to be a core exercise.
I think that while many of the exercises are not implemented for this track, we could also probably still mirror many of the other tracks in their choice for core exercises, in order to remain consistent.

The checklist is not necessarily in order ;) Of course we can categorise and tag before deciding upon core exercises.
Simply taking core exercises from other languages, might work out, but it has to bone carefully.
Some concepts are just different to other languages. In erlang there is absolutely no mutability, so exercises that are in core just to introduce this feature won't make any sense in erlang. On the other hand side we do have pattern matching, a feature relatively unique to FP languages, this has to be introduced carefully, and I am even thinking about introducing an exercise tailored to it, which could be the second or third core. But I'm absolutely not sure about that right now...

Yeah, I totally agree with you about certain aspects being language specific or FP specific. There are some concepts that apply well here that don't apply well on other tracks, and vice versa.
I feel that an exercise to those more niche aspects of FP or Erlang would be really good. While it is good to have core content, there is little point to having so many language tracks if we don't specialise!

I will close this for now.
Eventually we might do the track anatomy project which solely purpose it is to fix any issues with a tracks order of exercises.


T85D0 Eufy Smart Lock

Requesto to add T85D0 Smart Lock unlocking and lcking feature.
Debug (device) attributes:
Properties

name: Front Door
model: T85D0
serialNumber: T85D0K1024260CFC
hardwareVersion: <IP_ADDRESS>
softwareVersion: <IP_ADDRESS>
type: 202
stationSerialNumber: T85D0K1024260CFC

Commands
Voices

Unknown

Debug (station) attributes:
Properties

name: Front Door
model: T85D0
serialNumber: T85D0K1024260CFC
type: 202
hardwareVersion: <IP_ADDRESS>
softwareVersion: <IP_ADDRESS>
connected: false

Commands
Voices

Unknown

work with bropat to add support. https://bropat.github.io/eufy-security-client/#/supported_devices


FloatingLabelFontSize

How to change or increase font size of floating label?

Hi you can try to check this library: https://github.com/Chivorns/SmartMaterialSpinner.
Hope it can help what you need


SEO module doesn't appear to be working

The SEO attributes only appear to use the defaults defined in settings.js. None of the pages built end up using the SEO objects defined in the layouts.

Great catch! Luckily, it was a one-liner fix in the blog post layout in #16 . Thanks for filing this!


Fix typo in anchor-text-decoration docs

Just a minor documentation fix: typo in anchor-text-decoration description.

Merged! Thanks @msmichellegar!


Citizen Voices / Pitch Not Deterministic

I'm noticing that the same citizens from launch to launch have different voices. I'm using Citizen.seed to determine these things, it's possible this seed is not persistent. We might need to use their name or something.

This was due to string.GetHashCode not being persistent between launches of the game. Citizens now use a deterministic hashing method on their seeds.


Optional properties in inferred mapped type causes auto-completion to break.

Bug Report
Optional properties in inferred mapped type causes auto-completion to break.
🔎 Search Terms
Inferred mapped type with optional properties no auto-complete
🕗 Version & Regression Information
I believe it never worked.
⏯ Playground Link
https://tsplay.dev/mpnLBw
💻 Code

type A1<T extends object> = {
  [K in (keyof T | 'autoCompleteProp')]:
    K extends 'autoCompleteProp'
    ? boolean
    : K extends keyof T
    ? T[K] extends object
    ? A1<T[K]>
    : object
    : never;
}

type A2<T extends object> = {
  [K in (keyof T | 'autoCompleteProp')]?: // <---- this is the only difference compared to A1
    K extends 'autoCompleteProp'
    ? boolean
    : K extends keyof T
    ? T[K] extends object
    ? A2<T[K]>
    : object
    : never;
}

function makeA1<T extends A1<T>>(t: T) {
  return t;
}

function makeA2<T extends A2<T>>(t: T) {
  return t;
}

makeA1({
  autoCompleteProp: true, // <-- you CAN autoComplete 'autoCompleteProp' here
  bla: {
    autoCompleteProp: true, // <-- you CAN autoComplete 'autoCompleteProp' here
    blubb: {
      autoCompleteProp: false, // <-- you CAN autoComplete 'autoCompleteProp' here
      bleh: {
        // <-- you CAN autoComplete 'autoCompleteProp' here
      }
    },
  },
});

makeA2({
  autoCompleteProp: true, // <-- you CAN autoComplete 'autoCompleteProp' here
  bla: {
    // <-- you CAN'T autoComplete 'autoCompleteProp' here
    blubb: {
      // <-- you CAN'T autoComplete 'autoCompleteProp' here
      bleh: {
        // <-- you CAN'T autoComplete 'autoCompleteProp' here
      },
    },
  },
});

🙁 Actual behavior
No auto-completion offered by editor or IDE in marked lines when pressing CTRL + SPACE or a
Edit: You can enter autoCompleteProp: '', in the lines where auto-completion fails. The compiler will complain that autoCompleteProp must be a boolean. Thus, the information about the optional property is there, it's just that it never appears in the auto-completion results.
🙂 Expected behavior
Auto-complete suggestion for "autoCompleteProp" in every line marked with <--

I think this has bitten me in the past and it would be lovely to get this fixed.
So far this is what I've gathered:

the origin of the problem can be narrowed down to those lines
with required properties the inferredType (eg: { autoCompleteProp: true; someProp: {}; }) doesn't pass the compareTypes check and thus the instantiatedConstraint (A1<{ autoCompleteProp: true; someProp: {}; }>) gets assigned to inference.inferredType
with optional properties the same inferredType ({ autoCompleteProp: true; someProp: {}; }) passes the compareTypes check and thus inferredType stays assigned to inference.inferredType as-is.
the compareTypes check is simply using compareTypesAssignable under the hood so the logic here makes sense - with optional members the inferredType is assignable to the instantiatedConstraint but with required ones it isn't.
getCompletionsAtPosition ends up looking up properties of this inferredType and it fails to see autoCompleteProp there because the inference "locked" the type param to an object without this property

Part of the question here is - should this autoCompleteProp?: boolean be part of the inferred type? If we assume that makeA1/makeA2 are really identity functions - should this property be available on the returned object? I guess the choice here is somewhat arbitrary and there is no good/bad answer here. A decision had to be made about this and it's not part of that type.
That raises an issue with the autocomplete though. I knew about some other, somewhat similar, issues with "locked" inferences - eg. this PR by @andrewbranch. So I've thought that maybe a similar approach could be taken here. We could avoid "locking" the inference when resolving those types for the completions "request" .
I've experimented with this a little bit and, while I broke some stuff, I think I also got somewhat promising results here. I learned that it's definitely not as easy as just using instantiatedConstraint over inferredType 😅
However, the problem I see with this is that the mentioned compareTypes is concerned with type params/arguments but what I would truly like to do is to avoid locking the inference for the object at a given position, a mapped type like this can be nested somewhere in the parameter and doesn't have to appear "at the top-level" of the parameter. Does anyone have any ideas how to approach this?

I hope this gets fixed soon.
I have a simple case similar to this and I think the offender here is the combination of extending Partial and keyof T.
it also sounds similar to https://github.com/microsoft/TypeScript/issues/45617
Playground


Countly platform metric is undefined

Check out the metrics at /dashboard#/5c6ec2b13fd4432348b811a0/analytics/views, and select 'platform' instead of 'all segments', and then select 'undefined'. That's where most of the platform metrics are going, which means the platform value is undefined.
You can try selecting a specific platform and see that most of them have zero data points. I think one of them had two data points.
undefined platform

VS
All segments

@SgtPooki I've added to the board as P1, as understanding platform distribution is very important when prioritizing bugs reported on  niche one vs one that most of our users are at.

@hacdias would you mind solving this one?

@SgtPooki I no longer have access to ipfs' countly so I can't really debug. I can tackle it if I get access.

@lidel can you ensure @hacdias has permission to countly?

I was able to create cohorts based on platform, and it looks like we're getting some data..


Opening gallery from another image without showing current image in lightbox

Trying to open gallery by click another image but I don't want this particular image to be in lightbox so using following code.
$(document).on('click', '#main-image', function(event) {
        event.preventDefault();
        $('.thumbnail').ekkoLightbox();
    });

and HTML code for that,

If you really do think you have a bug, please:

[x] Provide a link to your site or a full example
http://codepen.io/gunjanpatel/pen/QppVgM
[x] Browser name and version
Firefox 51.0.1 (64-bit)

what's the bug here?
If you want to open a gallery from another element then programmatically call it http://ashleydw.github.io/lightbox/#programatically-call

I hope you have checked link I provided and tried to click on image.
Yes, I know programatically-call but that will also include image which I clicked into gallery. I don't want that image included in gallery.

In other words, I want to open gallery slideshow on click of image and that image should not be in the slideshow. In above example I need all images having thumbnail class into gallery slideshow when I click on #main-image.

Assign the other image a click event and within the handler trigger  the click of the gallery.

Thanks @ashleydw it was tricky. It worked now even without using trigger.
I have updated code in above link and it works now even with ekkoLightbox method.
$(document).on('click', '#main-image', function(event) {
  event.preventDefault();

  // Only trigger first image  click to avoid multiple triggers
  $('[data-toggle="lightbox"]:first').ekkoLightbox();
});

hi @ashleydw  and thanks for your work on this project.  Quick question, is this the preferable method to opening a gallery from an "unrelated" link?
My scenario is that I want to open the gallery from a "open gallery" button that doesn't have an image.
Thanks in advance.
Ignacio

I am currently doing it like this but I wondere if I am not missing anything obvious...
I am adding custom data- attributes and checking for those
JS
`$(document).on('click', '[data-toggle="lightbox"]', function(event) {
event.preventDefault();
var $the_button =  $(this);
if ($the_button.data('behaviour') == 'open-gallery') {
var target =  $the_button.data('gallery-target');
$('#'+target + ' div:first-child').ekkoLightbox();
    } else {
    	$(this).ekkoLightbox();
    }
});`

Markup
`open gallery

`


I could not find anything on the IoT Portal similar to the documentation to check a device status.

I could not find anything on the IoT Portal similar to the documentation to check a device status.

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

ID: df65aaa6-995a-f041-8dcf-05dcfcf8320d
Version Independent ID: 97e76d87-bd6b-8238-1534-881d5e8bf486
Content: Connect an MXCHIP AZ3166 to Azure IoT Central quickstart
Content Source: articles/iot-develop/quickstart-devkit-mxchip-az3166.md
Service: iot-develop
GitHub Login: @timlt
Microsoft Alias: timlt

Hi @DougAtClir, can you please give us some  more infomation regarding your scenario so we know how best to assists you.
We typically try to keep the Azure-Docs channel scoped to feedback directly about the docs.

Hello @DougAtClir , do you mean you can't complete this step? https://docs.microsoft.com/en-us/azure/iot-develop/quickstart-devkit-mxchip-az3166#verify-the-device-status

FYI: @timlt

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

Hello @DougAtClir can you kindly add more information of the issue you are facing? Thanks!

We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Does ctrlr support compiling panels to Linux VST and LV2 yet?

Hi, I was taking a look at ctrlr as a quick solution to make editor plugins for my hardware that I can use in my DAW. Problem is, there doesn't seem to be any mention of compiling panels to be used on Linux, but rather just the ctrlr software working on Linux to compile panels for native use only on Mac and Windows computers.
Unless compiling to at least Linux VST is already available in ctrlr, as someone who is looking to switch from Windows entirely over to Linux at home in the future for desktop computing, I feel like people like me are left out when it comes to ctrlr. And even if ctrlr can compile panels to Linux VST already, I'd still like to see it be able to do LV2 panels as well, since LV2 is both a royalty-free and a fully open format. What would make implementing this so easy (theoretically) is that there is a fork of JUCE that can compile to LV2, and since ctrlr is already built off of JUCE to begin with, how hard would it be to switch to using this fully GPL version of it?
If I was better at programming, then I could likely just mod ctrlr or make an alternative to it based on that aforementioned LV2 fork of JUCE. But anyways, if there's anything else about this that I should know about and any updates relating to this, please leave a reply. Thanks!

I've been thinking the same thing.
DISTRHO has quite some extra patches and fixes, but basic LV2 support in JUCE is being focused on at https://github.com/lv2-porting-project/JUCE and is being used by ChowDSP and Surge for their LV2 builds
(nothing against DISTRHO, but it's good to focus the community. FalkTX is also supporting the LV2-porting-project with this effort)
Over the years I've never been able to properly build Ctrlr on Linux. Have seen a number of topics pass by, so will try it again soon.
LV2 plugin builds (preferably cross-platform!) would certainly be nice, the number of LV2 hosts is growing every year!

DISTRHO has quite some extra patches and fixes, but basic LV2 support in JUCE is being focused on at https://github.com/lv2-porting-project/JUCE and is being used by ChowDSP and Surge for their LV2 builds
(nothing against DISTRHO, but it's good to focus the community. FalkTX is also supporting the LV2-porting-project with this effort)

But isn't the DISTRHO project also focusing on LV2 support? Why is the LV2 Porting Project fork any better (other than being able to use it to make closed-source software, since the DISTRHO fork is completely GPLv3)?

Over the years I've never been able to properly build Ctrlr on Linux. Have seen a number of issues/comments about this pass by the past year, so will try it again soon.

So maybe I should find a different (and probably more manual) solution that can work on Linux while I wait for ctrlr to start using one of those two forks of JUCE? Any ideas for that case?

@tristanbay the lv2-porting-project minimizes the changes in juce for just the lv2 support. distrho fork contains many other patches/fixes.
The former has a higher chance of acceptance at juce-HQ. Unless you need some specific stuff from the distrho fork then I'd go for the porting-project first.