🚀 Feature: Source code wrangler init --from-dash

Describe the solution
Implement the first phase of --from-dash, getting the source code into an initialized project replacing the boilerplate code.
Additional discussion: https://github.com/cloudflare/wrangler2/discussions/1623

This implementation should be agnostic from any source control & storage.
Encourage augmenting projects, i.e. TypeScript, and source storage (we currently provide GitHub repo creation).
The flag should only be done in empty projects.

for posterity, leaving a note after chatting with @JacobMGEvans : would be awesome to have multipart parsing support in undici


API generation script - Fix loadImages function

The processHtml.ts script assumes that we always have an src attribute in the img tags, and even though this is true for the latest API versions, for Qiskit historical versions, we can find cases like the following example:
Qiskit v0.41 release_notes.html line 23360

    <input id="_anim_slidera6548212aea7457ca5d2f940fabeaea3" type="range" class="anim-slider"

This PR adds an early return to the loadImage function to skip the images without a src attribute given that we can't find the image in the _images folder of the GitHub artifact.

Good idea @frankharkins! Thank you both for the review


Replace dash to slash for asdf lts syntax

Description:

asdf support lts-*, but setup-node support lts/*

When using the Node.js LTS code names in asdf and setup-node, there is a difference in the format of the code name. For example, asdf requires the code name with dashes included, while setup-node requires the code name with slashes included. This needs to be corrected.
Related issue:
https://github.com/actions/setup-node/pull/373
Check list:

[ ] Mark if documentation changes are required.
[x] Mark if tests were added or updated to cover the changes.

Hello @doong-jo. Thank you for your pull request. Could you please sync with the main branch and add a new syntax to versions.yml matrix ?


extend modal dialog for uploading from server

The modal dialog for uploading media from the server includes a checkbox for deleting originals while, other relevant settings remain hidden in the advanced settings.
This pull request adds support for enabling/disabling import_via_symlinks, skip_duplicates and resync_metadata while preventing invalid combinations (e.g. import_via_symlinks and delete_imported both enabled). The settings are used as defaults, except for resync_metadata which was only available through the CLI lychee:sync command but makes sense to include here as well (at least provided that skip_duplicates is enabled).
Localizations of the additional text on the modal panel missing (English only).
The corresponding changes to the back end to process the settings on the modal panel are in LycheeOrg/Lychee#894.

We usually don't care about const duplication. :)

We usually don't care about const duplication. :)

The latest commit on the front and back ends address code smells and should resolve the remaining issues (including some fixes).
While doing more debugging and testing, the following issues came up that are indirectly related:

StrategyDuplicate: resync_metadata updates the EXIF data except for the takedate. Is this on purpose?
FromURL: import always sets delete_imported to true, which should obviously not be possible. Am I missing something?
Exec: reports too many errors (e.g. updating metadata results in an error because no file was uploaded). This is just cosmetic but makes the progress report from importing a bit confusing.
Changing advanced Lychee settings do not get propagated to current lychee JS object (e.g. lychee.delete_imported only gets update after reloading the page).
Unlike other modal dialogs, the final import report panel cannot be dismissed/closed using ESC.

For now I just wanted to keep a record of those observations.

The latest commit on the front and back ends address code smells and should resolve the remaining issues (including some fixes).
While doing more debugging and testing, the following issues came up that are indirectly related:

StrategyDuplicate: resync_metadata updates the EXIF data except for the takedate. Is this on purpose?
FromURL: import always sets delete_imported to true, which should obviously not be possible. Am I missing something?
Exec: reports too many errors (e.g. updating metadata results in an error because no file was uploaded). This is just cosmetic but makes the progress report from importing a bit confusing.
Changing advanced Lychee settings do not get propagated to current lychee JS object (e.g. lychee.delete_imported only gets update after reloading the page).
Unlike other modal dialogs, the final import report panel cannot be dismissed/closed using ESC.

For now I just wanted to keep a record of those observations.

* StrategyDuplicate: `resync_metadata` updates the EXIF data _except_ for the `takedate`. Is this on purpose?

Well, until your changes resync_metadata was only available via a console command, correct? There is a separate console command to update the takedate so I think we may have thought that it's better not to overlap functionality between the two. That may not be applicable with the GUI, where we don't have a capability to update the takedate.

* FromURL: import always sets `delete_imported` to `true`, which should obviously not be possible. Am I missing something?

Doesn't it simply delete the temporary file from the import directory, which has the fetched content of the url?

* Exec: reports too many errors (e.g. updating metadata results in an error because no file was uploaded). This is just cosmetic but makes the progress report from importing a bit confusing.

Yeah, I have noticed it does that with skip_duplicates as well. What do you think we should do? Simply report success (making it indistinguishable from new file imports) or should it be reporting skipped/resynced files?

* Changing advanced Lychee settings do not get propagated to current `lychee` JS object (e.g. `lychee.delete_imported` only gets update after reloading the page).

Yeah... I guess we should just reinitialize using window.location.reload(). I see it's already being called in settings.js but maybe it needs to be added in another place there?

* Unlike other modal dialogs, the final import report panel cannot be dismissed/closed using ESC.

I see that upload.show defines that button as action. If you change it to cancel, it will probably do what you want. I worry though that it may then be possible to close it using Esc during import, which probably wouldn't be a good thing... But that's probably fixable (the handling of esc is defined in init.js; search for Mousetrap).

For now I just wanted to keep a record of those observations.

I hope I pointed you in the right directions, should you feel like doing something about them! :smiley:

* StrategyDuplicate: `resync_metadata` updates the EXIF data _except_ for the `takedate`. Is this on purpose?

Well, until your changes resync_metadata was only available via a console command, correct? There is a separate console command to update the takedate so I think we may have thought that it's better not to overlap functionality between the two. That may not be applicable with the GUI, where we don't have a capability to update the takedate.

* FromURL: import always sets `delete_imported` to `true`, which should obviously not be possible. Am I missing something?

Doesn't it simply delete the temporary file from the import directory, which has the fetched content of the url?

* Exec: reports too many errors (e.g. updating metadata results in an error because no file was uploaded). This is just cosmetic but makes the progress report from importing a bit confusing.

Yeah, I have noticed it does that with skip_duplicates as well. What do you think we should do? Simply report success (making it indistinguishable from new file imports) or should it be reporting skipped/resynced files?

* Changing advanced Lychee settings do not get propagated to current `lychee` JS object (e.g. `lychee.delete_imported` only gets update after reloading the page).

Yeah... I guess we should just reinitialize using window.location.reload(). I see it's already being called in settings.js but maybe it needs to be added in another place there?

* Unlike other modal dialogs, the final import report panel cannot be dismissed/closed using ESC.

I see that upload.show defines that button as action. If you change it to cancel, it will probably do what you want. I worry though that it may then be possible to close it using Esc during import, which probably wouldn't be a good thing... But that's probably fixable (the handling of esc is defined in init.js; search for Mousetrap).

For now I just wanted to keep a record of those observations.

I hope I pointed you in the right directions, should you feel like doing something about them! :smiley:

Well, until your changes resync_metadata was only available via a console command, correct?

Yes it's only part of lychee:sync. Actually, I incidentally stumbled over resync_metadata and thought it would make sense to offer this option on the import panel as well.
The purpose of the lychee:sync and lychee:takedate commands are slightly different and so I would argue that it does make sense to include updating the takedate with resync_metadata. I cannot imagine that this would interfere with existing workflows. In addition, a separate resync_metadata option could be added to lychee:takedate to update all EXIF data.

Doesn't it simply delete the temporary file from the import directory, which has the fetched content of the url?

Sounds reasonable. I'll have a closer look.

Yeah, I have noticed it does that with skip_duplicates as well. What do you think we should do? Simply report success (making it indistinguishable from new file imports) or should it be reporting skipped/resynced files?

I think it should be the latter. Currently StrategyPhoto and StrategyDuplicate do a pretty good job of accurately logging what is going on but the calling Exec is ignorant of all this and simply reports an undifferentiated 'Could not import file'. I also think this would probably involve some restructuring that I would not feel comfortable to make any propositions for.

Yeah... I guess we should just reinitialize using window.location.reload(). I see it's already being called in settings.js but maybe it needs to be added in another place there?

I see that upload.show defines that button as action. If you change it to cancel, it will probably do what you want. I worry though that it may then be possible to close it using Esc during import, which probably wouldn't be a good thing... But that's probably fixable (the handling of esc is defined in init.js; search for Mousetrap).

Thanks for the leads - that's very helpful. In particular, it might be nice to have the option to cancel the import in a controlled manner. I am thinking of ESC (and/or a cancel button) triggering a confirmation dialog to stop the import and redefine ESC to close the import dialog on completion. I'll look into this.

Well, until your changes resync_metadata was only available via a console command, correct?

Yes it's only part of lychee:sync. Actually, I incidentally stumbled over resync_metadata and thought it would make sense to offer this option on the import panel as well.
The purpose of the lychee:sync and lychee:takedate commands are slightly different and so I would argue that it does make sense to include updating the takedate with resync_metadata. I cannot imagine that this would interfere with existing workflows. In addition, a separate resync_metadata option could be added to lychee:takedate to update all EXIF data.

Doesn't it simply delete the temporary file from the import directory, which has the fetched content of the url?

Sounds reasonable. I'll have a closer look.

Yeah, I have noticed it does that with skip_duplicates as well. What do you think we should do? Simply report success (making it indistinguishable from new file imports) or should it be reporting skipped/resynced files?

I think it should be the latter. Currently StrategyPhoto and StrategyDuplicate do a pretty good job of accurately logging what is going on but the calling Exec is ignorant of all this and simply reports an undifferentiated 'Could not import file'. I also think this would probably involve some restructuring that I would not feel comfortable to make any propositions for.

Yeah... I guess we should just reinitialize using window.location.reload(). I see it's already being called in settings.js but maybe it needs to be added in another place there?

I see that upload.show defines that button as action. If you change it to cancel, it will probably do what you want. I worry though that it may then be possible to close it using Esc during import, which probably wouldn't be a good thing... But that's probably fixable (the handling of esc is defined in init.js; search for Mousetrap).

Thanks for the leads - that's very helpful. In particular, it might be nice to have the option to cancel the import in a controlled manner. I am thinking of ESC (and/or a cancel button) triggering a confirmation dialog to stop the import and redefine ESC to close the import dialog on completion. I'll look into this.

StrategyDuplicate: resync_metadata updates the EXIF data except for the takedate. Is this on purpose?

@kamil4 I think I found the culprit. In my view this was not intentional but rather a bug that prevented entries with value null from getting updated. Because I manually set takedate to null in the DB to check resync_metadata it never got updated but would have worked as expected when changing the value to anything else. I would appreciate if you get a chance to check LycheeOrg/Lychee@dbe06cd.

StrategyDuplicate: resync_metadata updates the EXIF data except for the takedate. Is this on purpose?

@kamil4 I think I found the culprit. In my view this was not intentional but rather a bug that prevented entries with value null from getting updated. Because I manually set takedate to null in the DB to check resync_metadata it never got updated but would have worked as expected when changing the value to anything else. I would appreciate if you get a chance to check LycheeOrg/Lychee@dbe06cd.

I think it should be the latter. Currently StrategyPhoto and StrategyDuplicate do a pretty good job of accurately logging what is going on but the calling Exec is ignorant of all this and simply reports an undifferentiated 'Could not import file'. I also think this would probably involve some restructuring that I would not feel comfortable to make any propositions for.

Yes, I'll look into it...

In particular, it might be nice to have the option to cancel the import in a controlled manner. I am thinking of ESC (and/or a cancel button) triggering a confirmation dialog to stop the import and redefine ESC to close the import dialog on completion. I'll look into this.

I have no idea how the front end could notify the server to cancel an ongoing operation. It doesn't mean that it can't be done though :smiley:. We already do something similar in the opposite direction, in that the server provides updates on the progress of the ongoing import. We added those not just because it's nice for the user to know what's going on, but because without periodic traffic over the open socket, the web browser would close it after a timeout, so the final status of an import operation would never be received. So perhaps it is possible to do something like that in the other direction as well.

I think it should be the latter. Currently StrategyPhoto and StrategyDuplicate do a pretty good job of accurately logging what is going on but the calling Exec is ignorant of all this and simply reports an undifferentiated 'Could not import file'. I also think this would probably involve some restructuring that I would not feel comfortable to make any propositions for.

Yes, I'll look into it...

In particular, it might be nice to have the option to cancel the import in a controlled manner. I am thinking of ESC (and/or a cancel button) triggering a confirmation dialog to stop the import and redefine ESC to close the import dialog on completion. I'll look into this.

I have no idea how the front end could notify the server to cancel an ongoing operation. It doesn't mean that it can't be done though :smiley:. We already do something similar in the opposite direction, in that the server provides updates on the progress of the ongoing import. We added those not just because it's nice for the user to know what's going on, but because without periodic traffic over the open socket, the web browser would close it after a timeout, so the final status of an import operation would never be received. So perhaps it is possible to do something like that in the other direction as well.

Thanks @kamil4. I just did some quick checks and everything looks good. I like the improved reporting during import and your clean-up with skip_duplicates - in particular, retiring force_skip_duplicates and resolving the logic of skip_duplicates settings (I had noticed the inconsistency too when resolving the code conflicts that resulted from your work on image rotation - but never got to commit them...).
I would still like to activate the ESC button to close the final import dialog (and possibly allow to cancel the import). Unfortunately, however, I am currently pretty busy with other things and it might be a while before I get around to look into this further. As a consequence it's probably best to postpone and open a separate PR once I get a chance to address those items.

I would still like to activate the ESC button to close the final import dialog (and possibly allow to cancel the import). Unfortunately, however, I am currently pretty busy with other things and it might be a while before I get around to look into this further. As a consequence it's probably best to postpone and open a separate PR once I get a chance to address those items.

Yeah, the current PR is complete and should be merged as-is. If you get around to activating the Esc button, just submit a new PR.

I get this when I try:
main.js?1612722657:4843
{description: "Server error or API not found.", params: {…}, response: SyntaxError: Unexpected token
 in JSON at position 161
    at parse (<anonymous>)
    at http://ly…}
description: "Server error or API not found."
params:
albumID: 0
delete_imported: "1"
function: "Import::server"
import_via_symlink: "0"
path: "/var/www/html/Lychee/public/uploads/import/"
resync_metadata: "0"
skip_duplicates: "0"
__proto__: Object
response: SyntaxError: Unexpected token in JSON at position 161 at parse (<anonymous>) at http://lychee.test/dist/main.js?1612722657:2:79369 at l (http://lychee.test/dist/main.js?1612722657:2:79486) at XMLHttpRequest.<anonymous> (http://lychee.test/dist/main.js?1612722657:2:82254)
message: "Unexpected token ↵ in JSON at position 161"
stack: "SyntaxError: Unexpected token ↵ in JSON at position 161↵    at parse (<anonymous>)↵    at http://lychee.test/dist/main.js?1612722657:2:79369↵    at l (http://lychee.test/dist/main.js?1612722657:2:79486)↵    at XMLHttpRequest.<anonymous> (http://lychee.test/dist/main.js?1612722657:2:82254)"
__proto__: Error
__proto__: Object

I'm unable to reproduce. Again, I suspect that your server and front end were out of sync.

I'm unable to reproduce. Again, I suspect that your server and front end were out of sync.

Nah most likely some other bug. Whatever I'm not using this functionality. :)

Implementing the option to abort the import process on the server in a controlled manner was an interesting exercise. In the end persistence prevailed and the solution is pretty simple. The ESC button provides a shortcut to cancel the import and once the import has finished closes the modal dialog. Now the PR includes all features I had planned at this point.

@evoludolab I did a minor tweak both on the front and back end of your pull request, please check if it still works. This simplified the code base slightly. :)

Looks indeed cleaner but unfortunately does not work anymore - I'm working on it. Just a heads-up, I had renamed the route at the last moment and forgot to change it in upload.js... Should be Import::serverCancel (not Import::server_cancel on l.35). Will take care of that too. Back soon.

Fixed. Session variables do not get automatically updated in a running session and need to be explicitly read again (once I learned about sessions this was the trickiest part to realize 😃). Thus, the call $store->start() in Exec.php is crucial but can be replaced by session()->start().
@ildyria Thanks for streamlining the cancel request on both ends and getting rid of those silly dummy parameters. I was sure there was a better way to communicate with the server - now I know how!

Now I am done here 😉


of Open Files

in dependency with LimitedMemoryStore

probably connected to
on windows, you can probably look at how many file handles are currently allocated by java by using Process Explorer https://technet.microsoft.com/en-us/sysinternals/processexplorer.aspx

Checked the<webserver> interceptor and looked at the file handles with Process Explorer. The Webserver was started like this:
    <serviceProxy port="7000">
         <webServer docBase="C:\Users\Predic8\Downloads" generateIndex="true" />
     </serviceProxy>

This points to my download folder and i started downloading files while watching the file handles. Every file handle that was opened was closed when the download completed.


command definition methods

Why use the CommandDefinition type as a parameter? I hope to maintain the same style as other method parameters, and the Dapper library will create the CommandDefinition type parameter. If you use CommandDefinition as a parameter in Dapper.Extensions, split it in the CommandExecuteAsync method, and Dapper will Create CommandDefinition type, I think this implementation is not elegant.

because of the more properties especially CancellationToken if you don't accept this pull request I appreciate that and I will close it

Let me explain again, it is true that using CommandDefinition has more properties, but it cannot be passed directly to Dapper, and creating objects multiple times will consume more performance. thank you so much for your suggestion.

I'm very sorry that I ignored your most critical code. I re-checked the source code of the Dapper library. I think your PR is very good. I hope you can resubmit the PR. I will be very willing to merge your PR. Sorry again!
Message ID: @.***>


unit test TestAllSourcesWithFileOutput is unstable

Build
https://github.com/networkservicemesh/cmd-exclude-prefixes-k8s/actions/runs/3176966860/jobs/5176870045

The problem is still actual https://github.com/networkservicemesh/cmd-exclude-prefixes-k8s/actions/runs/6430072106/attempts/1

Fixed here https://github.com/networkservicemesh/cmd-exclude-prefixes-k8s/pull/250

Seems like done


Hatch pattern not drawn correctly

Hatch entity is not always drawn correctly when is a pattern hatch type. The boundary is correctly drawn as a line but not as a shape.

Have you solved this problem???


Need help parsing }clients to compare to AD list for user maintenance

I have a relatively simple task that I am trying to perform - user cleanup in the IBM PA Cloud environment.
Users are currently set up in 3 locations:
TM1 }Clients
Active Directory
Planning Analytics subscription
I am trying to use TM1Py to automate cleaning up and synchronizing accounts.  I imagine someone else has already done the same thing.
Approach is this:
Download list of }clients into a data frame and use Email as key
Download list of active AD users and use Email as key
Download list of PA subscribers and use Email as key
Merge the 3 data frames
Loop through the merged data frame.  If AD Email is not filled in, then delete them as TM1 }Client and create a list to delete from PA subscription
I am able to load the AD users and PA users from a text civ file into data frames and they show up as a "table" with email in the first column, and all other "attributes" in columns to the right
I've been struggling to get the TM1 }Clients in same format.
I am running code like this:
with TM1Service(
base_url="https://myinstance.planning-analytics.cloud.ibm.com/tm1/api/tm1/",
user="myinstance_tm1_automation",
namespace="LDAP",
password="my password",
ssl=True,
verify=True,
async_requests_mode=True) as tm1:
users =  tm1.security.get_all_users()
print( type(users) )
print ( users )
output looks something like this:
[User:{"Name": "1234", "FriendlyName": "1234", "Enabled": true, "Type": "User"<EMAIL_ADDRESS>["Groups('RptView')"]}, User:{"Name": "abcd", "FriendlyName": "abcd", "Enabled": true, "Type": "User"<EMAIL_ADDRESS>["Groups('RptView')"]}
This populates a list with one column, with the associated fields attached to each }Client.  I do have an alias on }clients which represents the email address - I've also tried pulling that in with an mdx query, but struggling to get the alias attribute into the list.
Once I have the list populated, I can pull it into a data frame with code like this:
df = pd.DataFrame(users)
print(df)
print ( df.info() )
This has 100's of rows, but just one column as far as I can tell.
I was thinking that i could use the str.split function to break the one column up to many columns with code like this:
newdf = df[0].str.split(', ',  n=1,expand=True)
print ( newdf )
print (newdf.info())
This returns just Nan's
  0

0   NaN
1   NaN
2   NaN
3   NaN
4   NaN
..   ..
317 NaN
318 NaN
319 NaN
320 NaN
321 NaN
[322 rows x 1 columns]
<class 'pandas.core.frame.DataFrame'>
RangeIndex: 322 entries, 0 to 321
Data columns (total 1 columns):
Column  Non-Null Count  Dtype

0   0       0 non-null      float64
dtypes: float64(1)
memory usage: 2.6 KB
None
I have tried to add more column names into the code with the str.split, but it doesn't like anything that I've tried.
When I add the column definitions to the str.split function, I often get an error with a shape mismatch
Any advice or sample code?
Thanks!
Josh

I should add that I have tried several different mdx functions to load the data from PA - e.g. the line shown above specific to users:
users = tm1.security.get_all_users()
But also
execute_mdx_dataframe_pivot
execute_mdx_rows_and_values
probably I just need to use one of the other functions?

You should be able to use the plane execute mdx dataframe function. Read from the attributes cube for clients, or client properties depending on where you store the email.
Sent from Workspace ONE Boxer
On Nov 16, 2023 10:07 AM, jlobeltest @.***> wrote:
I should add that I have tried several different mdx functions to load the data from PA - e.g. the line shown above specific to users:
users = tm1.security.get_all_users()
But also
execute_mdx_dataframe_pivot
execute_mdx_rows_and_values
probably I just need to use one of the other functions?
—
Reply to this email directly, view it on GitHubhttps://github.com/cubewise-code/tm1py/issues/995#issuecomment-1814638654, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEK7GZVDG3CUDN6GV3ITFHLYEYT3DAVCNFSM6AAAAAA7NQIV5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJUGYZTQNRVGQ.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

I agree with @rclapp here.
Using the execute_mdx_dataframe function with a simple MDX against the }ElementAttributes_}Clients cube should provide you with what you want.
Here is an example. I am assuming you have an alias on the }Clients dimension with the Email Address:
from TM1py import TM1Service

with TM1Service(
        base_url="https://company.planning-analytics.ibmcloud.com/tm1/api/tm1",
        user="company01_tm1_automation",
        namespace="LDAP",
        async_requests_mode=True,
        password="YM1a8TryABC123") as tm1:

    mdx = f"""
    SELECT
    {{TM1SubsetAll([}}Clients])}} ON 0,
    {{[}}ElementAttributes_}}Clients].[EMAIL]}} ON 1
    FROM [}}ElementAttributes_}}Clients]
    """

    df = tm1.cells.execute_mdx_dataframe(mdx)


File Explorer Issue

Do you know how you got into this state? Does a refresh or reload fix it?

Does a refresh or reload fix it?

Yes that fixed it. I think I renamed it before, but I'm not sure anymore.
Feel free to close this issue because its probably not easy to reproduce, bug I'm very sure the bug is real.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Update on Problem 226: Nav Bar and Toggle Button Fix

Related Issue
Fixes:  #(issue no.)
Description
I have fixed both the navigation bar and the toggle button for problem number 226. I’ve also added a screenshot for your review. Please check it and update my progress points accordingly. Thank you!

Update on Problem 226: Nav Bar and Toggle Button Fix
Type of PR

[ ] Feature enhancement

Screenshots / videos (if applicable)

@Ek-ta-bharti Please see the conflicts . Resolve the conflicts . Ensure you pull all the latest changes before pushing your feature/bug fixes to the main branch. After resolving the conflicts, please open a new PR for review.
Thank you!

please have a check and let me know for any further changes


Feature: OS color theme adaptive markdown preview

Because #926 quietly removed my ability to contribute a fix for this (thanks a lot @bharney!), I am kindly requesting that the docs team adds support for an OS color theme aware markdown preview. This should be a "Use system setting" option in the existing configuration combobox.
### Tasks
- [ ] docs-preview: Add new contributes.configuration value to package.json
- [ ] docs-preview: Implement detection of OS color theme (often dark or light mode)

Fixed by switching to the markdown preview built into vscode.


Add Blog Subpage

We want to release articles/blog posts about our competition and other related events.
Our Jekyll theme already provides a blog post template and an auto-generated archive: https://phlow.github.io/feeling-responsive/blog/.

Related issue: #2

Our landing page (index.md) uses the frontpage.html layout, in which up to 3 widgets are predefined to link to other sections on our page. We can use them to link to the blog, regulations and join us pages or alternatively also to a page for the next contest.

Currently, if at least one post exists, the frontpage.html also displays a blog section before the content area.
We should move the welcome message above this display.

ToDo List

[ ] Landing page: The blog should be featured nicely on the landing page with either a widget or an overview of the lastest posts.
[ ] Side bar: The predefined sidebar must be adjusted.
[ ] Ad space: Maybe use it for the newsletter.

#24


another late night rambling: propelling ShapeShift dex to the next level

Much of the world's successful and/or industry leading FOSS projects have similar traits that distinguishes them from the rest: plugins, themes, customizability, resulting in a huge dev community. Let's take a prime example: WordPress. Regardless of what your opinions may be regarding PHP or WP itself, the matter of the fact is that it continues to be the platform of choice for more than half of the world's websites. We all make fun of WP, the numbers speak for themselves. The abundance of plugins, themes, and tools to develop a site that suits specific needs of bloggers, businesses, and the everything in between. At the same time, there's also a very clear reason why WordPress powered-sites are the most commonly hacked/defaced sites. In a senior research project during my senior year in college (almost a decade ago... fuck, we're getting old), nearly 64% of WP-powered websites in my county in Southern California were found to be either exploitable or already exploited --  simply because the SMB/SMEs never bothered to update outdated software. Most small to medium business hired  webdevs to create the site, then proceeded to neglect it without ever upgrading plugins, themes, or even the worldpress even as zero-day vulns were popping up left and right.
But no one can deny that WordPress has made an enormous impact on the growth of the web from 2012 to 2020. In fact, its arguable that WP ranks in the top 5 most influential FOSS platforms of web2. And consequently, an enormous secondary market of plugins and themes was born, and continues to be a 8-figure industry to this day.
Its my personal opinion these similar concepts from web2 will be an important factor in the success of web3 projects. AFAIK, ShapeShift is the only project atm that is truly trying to be a FOSS that aims to be chain-agnostic, is easily deployable locally, and has a community mindset of innovation and 'do whatever you want and contribute to the project as long as it adds value.'
Obviously comparing WP and ShapeShift platform is kinda like comparing oranges and apples, but is it really that different? Yes, security is absolutely paramount in an app that deals with assets and finance. But let's be real here: the abundance of DeFi projects and DEXes is something that can not be ignored. Without a truly game-changing model or idea, we will be fighting an uphill battle trying to compete with the new heavyweights of DeFi.
Although I am not directly in the eng. workstream, for months I've been battling with myself with this question: is what we're doing 'enough' to regain ShapeShift's influence and spot as a top exchange in crypto? Since we're in FOSS mode, should we be more focused on building a platform that really resonates with the traditional open source community of pluggability and customizability? The app store changed the game for smartphones, just as any it has for any platform that allowed everyone and anyone to build what they want on top of the existing OS/framework/software.
Take a look around the DeFi scene -- its mostly just forks of other projects, just on a different L2 or slightly modified. IMO the true FOSS spirit was never and isn't meant to be just a bunch of forks deployed on another network. Where's the innovation? Or at least experimentation with new UI/UX flows?
When WordPress was first conceptualized and launched as a blogging platform, no one would have guessed that it would quickly take over the web as the #1 CMS. What if ShapeShift takes the success stories of the widely adopted web2 foss projects and take inspiration. DeFi by definition should be decentralized, but it feels as if we're trying too hard to keep the users on the 'official' ShapeShift app -- which is not a bad thing, it makes sense from a business standpoint. But WordPress, Laravel, Vue, React, Chrome, VLC, Android, etc. etc. didn't become leaders in their field for having superior tech -- they are what they are because of the enormous dev community that innovated on top of the respective frameworks and softwares.
The ability for users to add their own custom plugins/modules to the platform undoubtedly brings risks. But just as you wouldn't install a random chrome extension without doing a little bit of research, I have faith that as the DeFi world matures, so will the end-users' ability to discern a a suspicious plugin/module from a legitimate one that adds value on top to their experience. The secondary marketplace and industry that could potentially grow out of this approach to the platform, in my opinion, would far outweigh the the handful of users that mindlessly install every plugin they see,  As the user numbers grow, naturally the dev community would follow and grow. Both popular and non-popular/new DeFi platforms would be compelled to integrate their services on top of the ShapeShift platform, without the DAO having to dish out bounties. Give them the platform and users, they will come on their own.
Imagine if ShapeShift platform became the <insert any FOSS project with huge third party dev/enterprise communities> pumping out plugins that can be integrated seamlessly on top of ShapeShift platform. The resulting ripple effect would be huge, and ShapeShift would once again be regarded as an organization pushing the boundaries of the status quo.
This would be a huge undertaking with major refactoring of the existing alpha platform, and I am not even sure if this is possible. But I am curious on what people think, and maybe start a discussion on how the platform can one day become a self-evolving and self-improving project thriving with developers, value adders, and take back the throne that ShapeShift had held for many years.
Remember:

looks like we've got Discussions unlocked! https://github.com/shapeshift/web/discussions
closing issue


assignment operator yields wrong value

Hi, first of all, thanks for pypscript, it's just awsome.
When doing this:
a = None or "foo"

a is incorrectly assigned the value None
however, when used in a function decorated with @pyscript_compile, the expression yields the expected behavior a="foo"
Pyscript:   1.3.3
Home Assistant Core installation: 2023.2.2
Python 3.10.9
Br Anders

Yikes - thanks for reporting.  I've pushed fix f77d859 and test cases 48b6a8f.


[MNOE-872] Expose session timeout config

Allows the frontend to warn the user when he will get logged off due to inactivity

This can be closed as task is continued on https://github.com/maestrano/mno-enterprise/pull/654


Generate documentation for an entire glint command tree

Generate some kind of simple docs page (maybe markdown or HTML) that can act as a reference when using a glint CLI

Hayleigh proposed the output be a JSON document


Dagger 2 annotation processing problem

Using Requery v.1.3.0 and Dagger v.2.9
When Dagger can't produce some graph dependencies, it is printing its errors to console.
When I'm using Requery with Dagger, and such error occures, I can only see tons of Requery errors in console, like 'cannot find symbol class (here is requery generated entity name)' though all classes generated successfully.
So, tldr: dagger can't generate graph -> no dagger errors in console (except the ones about missing dagger classes) -> lots of fake requery errors instead
May be this is due to wrong annotation processing order or smth?

If you are using gradle you may want to look at the output of gradle build directly instead of in an IDE. It maybe easier to find the source of the error that way. It is true if the annotation processor doesn't run then all code referencing the generated code will also show as an error, which can be confusing.

@npurushe there is also no useful info there. It was, but now only messages about not found entities (which are correctly generated)

Unfortunately there is not really anything that can be done about this. From my experience the dagger errors (or any processor errors) are usually are visible from gradle build on the command line and once fixed allow other annotation processors to work as normal. If your not able to see them I would suggest cleaning your build (gradle clean), and maybe also disabling things like incremental compilation.


New forum members with no user names

We are seeing some new forum users who have no user name recently. I just asked one of them about it and they said they signed up as "SanderM2001" but now the forum doesn't show their name:
http://forum.arduino.cc/index.php?topic=471644.msg3227796#msg3227796

Other examples of "no-name" users:
http://forum.arduino.cc/index.php?action=profile;u=725310
http://forum.arduino.cc/index.php?action=profile;u=729745
Forum thread for this issue:
http://forum.arduino.cc/index.php?topic=471161
UPDATE: The user name SanderM2001 now appears but still no user name for the other two.

The issue was identified and fixed. Thank you!

@Serjlee it seems this issue or a similar one is back. Here is a user profile with no name:
http://forum.arduino.cc/index.php?action=profile;u=39119

Some other users also reported the same thing happening to them today:
http://forum.arduino.cc/index.php?topic=478235
but in their case the issue has gone away already.

This user was unique and actually had an empty username, (and not simply an empty displayname) and it was like this since 2011.
Thank you for noticing us, as it was causing that weird issue described in the topic you linked.


Sampling-related parameters not needed at instatiation of inference object

Problem
The parameters sample_with_mcmc:bool, mcmc_method:str, mcmc_parameters:dict, rejection_sampling_parameters:dict are not needed to instantiate the inference object and make the signature look intimidating (even if they have defaults), while potentially confusing users about when what is done.
Solution
They can be moved to posterior/proposal instantation (even if this requires to pass them multiple times for multiple rounds).

Solver by #378


added BootstrapVue

It took up commits that happened when they froze the last time. But Bootstrap vue is in the packet.json and packetlock.json files

I saw a tutorial where someone added SASS, I wasn't 100% sure if to go on with it. I'll love your directions...I think I'm learning this! :)

I see the dependencies but I'm not sure I see it in the commit.


Owls104087 fix an intermitent failure in ItKubernetesDomainEvents#testK8SEventsDelete

The PR fixes an intermittent issue in nightly where the ClusterDeleted event is missing when deleting a domain and cluster resources.

Generate ClusterCreated/Deleted/Changed events even if the cluster is not referenced by any domain.
MakeRightOperation for deleting a domain waits until the current in-flight MakeRightOperation for the same domain completes. This is to close a race window where MakeRightDomain operation for deleting a cluster (which is referenced by domain) is interrupted by a subsequent MakeRightOperation for deleting the containing domain, which results in the ClusterDeleted event not being generated.

https://build.weblogick8s.org:8443/job/weblogic-kubernetes-operator-kind-new/14141

MakeRightOperation for deleting a domain waits until the current in-flight MakeRightOperation for the same domain completes.

Does this mean MakeRightOperation for deleting a domain will also wait in other cases such as rolling restart or introspection? I think we won't want to wait for a roll or introspection to complete if the domain is deleted.

MakeRightOperation for deleting a domain waits until the current in-flight MakeRightOperation for the same domain completes.

Does this mean MakeRightOperation for deleting a domain will also wait in other cases such as rolling restart or introspection? I think we won't want to wait for a roll or introspection to complete if the domain is deleted.

@doxiao, I'm going to be interested in this answer too. It would be inappropriate, unfortunately, to wait for a make-right to complete (e.g. if that includes starting up servers) if the domain has been deleted.

MakeRightOperation for deleting a domain waits until the current in-flight MakeRightOperation for the same domain completes.

Does this mean MakeRightOperation for deleting a domain will also wait in other cases such as rolling restart or introspection? I think we won't want to wait for a roll or introspection to complete if the domain is deleted.

yes, the MakeRightOperation waits on any in-flight operation to the same domain right now.


Issues running Mikro-ORM with NestJS on Vercel platform

Describe the bug
Trying to run a simple NestJS application with Mikro-ORM on Vercel platform.

Running/Building/Start dev on local environment doesn't have issues.

Stack trace
Neither EntityManager nor EntityRepository seems to be available as service when injecting into a Service class.
Tried with: constructor(@InjectRepository(Author) private readonly authorRepository: EntityRepository<Author>){}:
Error: Nest can't resolve dependencies of the AppService (?). Please make sure that the argument "AuthorRepository" at index [0] is available in the AppModule context.
Potential solutions:
- Is AppModule a valid NestJS module?
- If "AuthorRepository" is a provider, is it part of the current AppModule?
- If "AuthorRepository" is exported from a separate @Module, is that module imported within AppModule?
@Module({
imports: [ /* the Module containing "AuthorRepository" */ ]
})

Also tried with constructor(em: EntityManager) {}
Error: Nest can't resolve dependencies of the AppService (?). Please make sure that the argument SqlEntityManager at index [0] is available in the AppModule context.
Potential solutions:
- Is AppModule a valid NestJS module?
- If SqlEntityManager is a provider, is it part of the current AppModule?
- If SqlEntityManager is exported from a separate @Module, is that module imported within AppModule?
@Module({
imports: [ /* the Module containing SqlEntityManager */ ]
})

To Reproduce
Reproductible repository is available here: https://github.com/emulienfou/template-nestjs-vercel
Expected behavior
NestJs should be able to load dependency EntityManager from driver.
This is currently not the case.
Injecting from import { EntityManager } from "@mikro-orm/core"; seems to resolve the issue temporarily.
However, due to injecting from @mikro-orm/core I need to do something like this:
const conn = em.getConnection() as AbstractSqlConnection;
const knex = conn.getKnex();

Preview
https://template-nestjs-vercel-git-preview-beat-platform.vercel.app
Versions

Dependency
Version

node
20

typescript
5.4.2

mikro-orm
6.1.10

postgresql driver
6.1.10

mikro-orm/nestjs
5.2.3

nestjs
10.3.4

those problems are usually not about the place where you deploy to, but about dev vs production builds. have you tried to build your app for production and run it locally? i'd guess it will break the same


V2-more-fnSignal

I think this approach makes more sense, use fnSignal if there's anything in there that could be a signal.

Note that this also adds _wrapProps() to e.g. inline components, which will only work if creating a signal is safe in there.


Cannot download video from olympics.com/fr

Hello
i'm french ,i have a desktop PC with windows10 64 bits . I use youtube-dl v2021.06.06
I want to download this video in 1080p :
https://olympics.com/fr/video/men-s-109kg-group-a-weightlifting-tokyo-2020-replays
but impossible youtube-dl displays me this error in cmd :(
"
[generic] men-s-109kg-group-a-weightlifting-tokyo-2020-replays: Requesting header
WARNING: Falling back on generic information extractor.
[generic] men-s-109kg-group-a-weightlifting-tokyo-2020-replays: Downloading webpage
[generic] men-s-109kg-group-a-weightlifting-tokyo-2020-replays: Extracting information
ERROR: Unsupported URL: https://olympics.com/fr/video/men-s-109kg-group-a-weightlifting-tokyo-2020-replays    "
Is there a way to solve this problem? thanks in advance

@grysor
Fixed in yt-dlp with https://github.com/yt-dlp/yt-dlp/pull/1483.
Just wait for the next release or compile from the master branch. :)
yt-dlp -v --ignore-config https://olympics.com/fr/video/men-s-109kg-group-a-weightlifting-tokyo-2020-replays
[debug] Command-line config: ['-v', '--ignore-config', 'https://olympics.com/fr/video/men-s-109kg-group-a-weightlifting-tokyo-2020-replays']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, err UTF-8, pref UTF-8
[debug] yt-dlp version 2021.10.31 (zip)
[debug] Python version 3.6.9 (CPython 64bit) - Linux-5.4.0-89-generic-x86_64-with-LinuxMint-19.3-tricia
[debug] exe versions: ffmpeg N-104315-g148ada5577-Nico-20211011-With-VP9-Timestamp-Fix, ffprobe N-104315-g148ada5577-Nico-20211011-With-VP9-Timestamp-Fix
[debug] Optional libraries: Cryptodome, keyring, mutagen, sqlite, websockets
[debug] Proxy map: {}
[debug] [OlympicsReplay] Extracting URL: https://olympics.com/fr/video/men-s-109kg-group-a-weightlifting-tokyo-2020-replays
[OlympicsReplay] men-s-109kg-group-a-weightlifting-tokyo-2020-replays: Downloading webpage
[OlympicsReplay] f6a0753c-8e6f-4b7d-a435-027054a4f8e9: Downloading m3u8 url
[OlympicsReplay] f6a0753c-8e6f-4b7d-a435-027054a4f8e9: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] f6a0753c-8e6f-4b7d-a435-027054a4f8e9: Downloading 1 format(s): hls-6313+hls-audio_group-ENGLISH
WARNING: Requested formats are incompatible for merge and will be merged into mkv
[debug] Invoking downloader on "https://vod-b.olympicchannel.com/output/tok1000691/hdntl=exp=1635746476~acl=%2f*~data=hdntl~hmac=42704f952d52548d1131f37d326ab8768cf994e66d307c72619b3a39a23259f2/video_1920_6000000.m3u8?aka_me_session_id=AAAAAAAAAACsgn9hAAAAAM6oKGsbjkIEMmX3ctQ9QUT3Sr9bbRrGj+7KIT%2fhPJZZFzgSskCBhp3GX7btKzdoyLcQcXDEvPto&aka_media_format_type=hls"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 1804
[download] Destination: +109kg (H) Groupe A - Haltérophilie _ Replay de Tokyo 2020 [f6a0753c-8e6f-4b7d-a435-027054a4f8e9].fhls-6313.mp4
[download]   5.1% of ~5.15GiB at  8.37MiB/s ETA 15:49^C
ERROR: Interrupted by user


Using 1.3 package without Laravel?

Error FATAL ERROR
generated by file vendor\basemkhirat\elasticsearch\src\Model.php on line 277:
Call to undefined function Basemkhirat\Elasticsearch\app()
is this package enable for native php application (without laravel) ?

Please give more details with code snippets

This is really near your documentation samples :
class Foo extends Model {

	public function __construct() {
		$this->connection = new Connection(...);
		parent::__construct();
	}

}

$allItems = Foo::all();

Fatal error: Call to undefined function Basemkhirat\Elasticsearch\app() in vendor\basemkhirat\elasticsearch\src\Model.php on line 277

If you are using without Laravel, you can try this fix
Find
Model.php line : 88

public function getConnection()
{
        return $this->connection ? $this->connection : config("es.default");
}

Replace

public function getConnection()
{
        return $this->connection ? $this->connection : !function_exists('config') ?  : config("es.default");
}

@basemkhirat maybe you should add check when we use this package without Laravel ?


Implement no-unused-vars

Feature request for shadowing ESLints no-unused-vars rule. Currently if you have:
<button onClick={e => this.close()}>Close</button>

You're not warned that you have an unused variable (e).

This case is handled by ESLint so it should already warn you:
.eslintrc
{
    "env": {
        "es6": true
    },
    "ecmaFeatures": {
        "jsx": true
    },
    "rules": {
        "no-unused-vars": 2
    }
}

test.jsx
<button onClick={e => this.close()}>Close</button>

$ eslint test.jsx --reset

test.jsx
  1:17  error  e is defined but never used  no-unused-vars

✖ 1 problem (1 error, 0 warnings)

Tested with ESLint 0.19.0

Sorry for this, I noticed it in a project which allows unused arguments in .eslintrc. Can confirm that this works as expected.


Unable to post comments - nothing happens

Hiya,
I've had an ongoing issue with codewars as I've been unable to post comments, issues or feedback etc.
Nothing happens when I click the post button and I've tried with numerous  kata over the months.
Please fix,
Thanks

Does your web console show you any errors?

No, it doesn't show any errors or other messages when I hit the post button.

Closing old issue. Please open a new one if this issue is still there.

yes.its still there..the issue is still there

Tried on firefox (including private mode so add ons are disabled) and chrome, but cannot add to the discussion, I see that Kazk has closed this but with no solution of how to fix the issue.

For anyone having this issue and can't find the email. You can re-send it from your account settings. https://github.com/Codewars/codewars.com/issues/1930#issuecomment-528154637


Grafana 4.1.1

Is there a reason the version of grafana used is 3.1.1 still? I'm going to try with 4.1.1, as it appears to be needed for some dashboards I'm trying to use, but wanted to check if there are known issues with upgrading from 3.1.1.

We have not attempted an update so far, simply because we didn't have the need for any new features, so if the upgrade is successful we're happy to merge it.

I think this can be closed? #40 was already merged.


Virtual Desktop support?

Hello,
Does not appear to work with Virtual Desktop (my preferred wireless link for Quest 2).  A) How do I uninstall SubmersedVR?  Or B) is there a way to make it work?
Thank you, much appreciated. :)
-g

Yes, that is how I tested the game. It should just work if you followed the instructions carefully.
There is not enough information in your descritption to help. What is the problem? Do you get the BepInEx Console at all?
To uninstall it, just remove the SubmersedVR.dll from the plugins forlder.

Interesting, ok, thank you.
Here is what happened:
I launched the game from inside the goggles, via Virtual Desktop.  I noted that a lot of command line code was running on the (non virtual) desktop screen.  The game then fired up inside the goggles.  However, the video was EXTREMELY laggy-- every time I moved my head, a chunk of the screen would freeze then move.
Now that I know it SHOULD work, I'll go over the instructions again and see if I missed something.  Thank you!

PS - I think the "BepInEx Console" is the command prompt with lines of code that flash by...  But it doesn't stay open so that I can review the commands and results.

I uninstalled SubmersedVR and am having the same performance issue.  So it must be a problem with the latest Subnautica update or perhaps another mod.  Apologies.

No worries. You can try just installing SubmersedVR and BepinEx if you would like.

Do you mean without BepInEx Tweaks and Configuration Manager?  (Or do you mean removing all other mods...)

I would just add SubmersedVR and BepinEX and then readd all other mods until you hit the problem, that way you can figure out which mod is causing the issue.

I gotcha.  Makes sense.  Thank you for the quick help-- hopefully I can get this working; excited to try your mod. :)


Method LinkList_Sort::isSorted

The implementation of the Linked List isSorted method in src/main/java/com/thealgorithms/sorts/LinkList_Sort.java has reported cyclomatic complexity 16 by lizard.
Part 1 steps:

[x] ~Manual calculation of cyclomatic complexity @tjog~ (Skipped)
[x] ~Manual calculation of cyclomatic complexity @kaggenius~ (Skipped)

Part 2 steps:

[x] Instrument code coverage manually (in a new branch called something like issue<No>/manual-instrument)
[x] Save the result of manual and automatic instrumentation, either in this issue by screenshot or in the branch and link to it.
[ ] Add tests to improve code coverage (on a different branch than before, called something like issue<No>/increase-coverage). Assignment PDF gives more detailed steps on what steps should be taken to identify types of tests to add etc.
[ ] Create a plan or draft for refactoring the function. A clear description is required to pass the assignment.

Manual instrumentation can be viewed in https://github.com/DD2480-2022-group-7/Java/commit/e24b6851f1129b023d45d1d1bfba61d8aee58bea . It reported the same result as jacoco at 85% coverage.

Before being able to increase coverage the unreachable branches needs to be addressed. The commit https://github.com/DD2480-2022-group-7/Java/commit/9b5de875d4d63175ccef595fb6abd4bb264844d6 begins on that work by making the interface/implementation consistent across the different sorting options you can provide. Next steps are hard to imagine without much refactoring. The proposed new purpose of this function is not sort and check it is sorted, but only "sort by this method and return the start Node". The control that something is actually sorted should be part of the test cases, which could call this method with a sorted list.
Next steps:

[ ] Refactor method isSorted to only perform a check on the Linked List (parameters change to only being a single Node instance)
[ ] Extract the sorting by a particular method to a new method sortWith that takes the parameters int p[] , int option
[ ] Change test cases to call sortWith followed by an assertTrue on the result of calling isSorted on the value returned by sortWith


Files do not exist

Hi,
I'm going to download .csd files using the following codes:
md.mmdataset(DATASET.highlevel, DATA_PATH)

md.mmdataset(DATASET.raw, DATA_PATH)

md.mmdataset(DATASET.labels, DATA_PATH)

However, it reports error as like:

[2023-08-29 05:32:28.669] | Error   | URL: http://immortal.multicomp.cs.cmu.edu/CMU-MOSI/language/CMU_MOSI_TimestampedWordVectors.csd does not exist
[2023-08-29 05:32:29.693] | Error   | URL: http://immortal.multicomp.cs.cmu.edu/CMU-MOSI/language/CMU_MOSI_TimestampedWords.csd does not exist
[2023-08-29 05:32:30.738] | Error   | URL: http://immortal.multicomp.cs.cmu.edu/CMU-MOSI/labels/CMU_MOSI_Opinion_Labels.csd does not exist

At the same time, I cannot access the URL http://immortal.multicomp.cs.cmu.edu/CMU-MOSI. It shows that I have no permission. How should I obtain these .csd files?
Thanks!

I have encountered the same issue. Have you resolved it?

Any updates?

Hello! The files should be back up on http://immortal.multicomp.cs.cmu.edu/. Please let us know if you have any more issues.

Thanks!


misspelling on website... that aside.. this an awesome package!

https://passwordless.net/
first page

Fixed - thanks


Go CLI: add missing recipe-run command

The recipe-run command is needed before the new Go CLI can replace the old python a8ctl.

Implemented in https://github.com/amalgam8/amalgam8/pull/433/commits/c611c730551e2aa62924502cc991aa1fc337fd54


README: Add how to actually create a project

Nothing in the README about how to actually create a project using svelte-starter-kit?!? 🤷♂
Easy to do and always a good idea to mention.
Like for ads, my brain don't pay much attention to the common layout so I didn't see the "Public template" and "use this template" button.
I was expecting something like npx svelte-starter-kit my-app.
Not having to clone the repo… that's well what we must do if we don't want to create a new repo on GitHub, right?

Source: GitHub doc “Creating a repository from a template”

Creating a repository from a template is similar to forking a repository, but there are important differences:

A new fork includes the entire commit history of the parent repository, while a repository created from a template starts with a single commit.
Commits to a fork don't appear in your contributions graph, while commits to a repository created from a template do appear in your contribution graph.
A fork can be a temporary way to contribute code to an existing project, while creating a repository from a template starts a new project quickly.


HTTP client API all-in-one [3/3]

This is Part 3/3 of #1382 broken up and reassembled into new commits.
Requires (includes) #1396, #1397 (with basho/riak_pb#190 (RIAK-2492)).
A two month worth of commits by @hmmr and @lehoff, squashed.
The odd change in riak_kv_qry_worker (preserving lists for records in the return value of query) goes with the list_to_tuple conversion now happening in riak_kv_ts_api. Native lists from riak_kv_qry:submit are immediately consumable by mochijson2:encode, and this is the form we would like to have the query results in wm_timeseries_query.

👍 94db162

@borshop merge


Export to GLB file changes the scale of bones and mesh

Describe the bug
After importing FBX file with bones and exporting it as GLB file makes bones shrink. See the attached FBX file as an example.
To Reproduce
Steps to reproduce the behavior:

Create a new Blender project.
Import the attached FBX file by going to File->Import->FBX
Now export the blender project as GLB file by going to File->Export->GLB
Create a new Blender project.
Import the exported GLB file and see the bones and everything is shrink.

Expected behavior
GLB file should keep the size of bones and mesh as it is.
Screenshots

.blend file/ .gltf
Canonical_Face_Mesh.zip
Version

OS: MacOS 10.15.4
Blender Version: 2.82a (2.82a 2020-03-12)

Additional context
NA

See https://blender.stackexchange.com/a/109976/43930 for some context here. In glTF, and in many other programs, bones are considered "joints" that do not have a length except the distance to the next joint. Since the bones above are leaves (not connected to anything) there is no persistent concept of their length outside of Blender.

If your use case requires a stable bone length for something, consider adding an additional bone to the end of each.

@donmccurdy  Thank you for the reply. I see your point. I see the bone distance and everything seems correct. It's the mesh which is getting bigger. I am setting up Length scale to centimetre in my project. But I guess the mesh is bigger. Do you think I can keep the scale as it is? I am applying all the transformations before exporting to GLB.
I cannot add more bones because this is going to be used for Android ARCore Face Augmentation asset.
Thank you!

But I guess the mesh is bigger. Do you think I can keep the scale as it is? I am applying all the transformations before exporting to GLB.

Could you share a .blend in the final state before you would export? My guess is that the scale change is coming from something in the FBX file, it's pretty common to get a 100x multiplier with FBX. Note that glTF's units are in meters, perhaps your scene settings need to match that?

Here: test.blend.zip
You are right. My scene settings are centimetre. Because ARCore suggest to have units in centimetre. See here.
Thank you very much. I guess it also has problem with the rotation too. Not sure if they are related.

Hello,
For units, cf #365

@julienduroure  Ahh I see. Thank you! I guess I will wait for that enhancement. Till then I will try to scale it down in my code and see if that works.

@dhaval85 I'm also facing the same problem. You found any solution for this?

@dhaval85 I'm also facing the same problem. You found any solution for this?

Nope. I also abandoned my project. So never tried to make this work. But as suggested make sure the units are same. In case it doesn't work then you will have to scale it down after you import it.


Question on output copy

I wondered what is the purpose of output copy, I tried and paste the result in a word file, but to find that all fraction lines were lost.
However, if you use the button Open with MS Word, it's quite OK.
So, I still dont know the right use method of output copy.

Output copy can be used with inline equation mode. It is a very old Calcpad feature that came before "pro" equations and MS Word export.
I keep it for compatibility, but this is also a the most basic way to copy your output in any software, even in Notepad.
Imagine, you want to include your results in a LaTeX document. Then, you can copy the inline output and decorate it with LaTeX tags. Or any other. You are free to do whatever you want.

Of course, if you want to use MS Word, the built in export is better than copy. That is why we made it.
In the same way, when we add LaTeX export, it will be better than copy as well. :)

Output copy can be used with inline equation mode. It is a very old Calcpad feature that came before "pro" equations and MS Word export.
I keep it for compatibility, but this is also a the most basic way to copy your output in any software, even in Notepad. Imagine, you want to include your results in a LaTeX document. Then, you can copy the inline output and decorate it with LaTeX tags. Or any other. You are free to do whatever you want.

Of course, if you want to use MS Word, the built in export is better than copy. That is why we made it. In the same way, when we add LaTeX export, it will be better than copy as well. :)

OK, now I understand it's for pure text,maybe the menu could be more clear as "text copy".

Output copy can be used with inline equation mode. It is a very old Calcpad feature that came before "pro" equations and MS Word export.
I keep it for compatibility, but this is also a the most basic way to copy your output in any software, even in Notepad. Imagine, you want to include your results in a LaTeX document. Then, you can copy the inline output and decorate it with LaTeX tags. Or any other. You are free to do whatever you want.

Of course, if you want to use MS Word, the built in export is better than copy. That is why we made it. In the same way, when we add LaTeX export, it will be better than copy as well. :)

I tried to paste in Notepad++, still find that the denomination lines were missed.

Probably, you did not switch to "inline" mode:

Notepad does not support Html, so it cannot be expected to preserve the formatting.

Probably, you did not switch to "inline" mode:

Notepad does not support Html, so it cannot be expected to preserve the formatting.

Yes,Ned, you're right. After checking inline mode the paste will not miss fraction lines. However, I think most units may defaultedly set to be inline mode.


Tune price markup in product details page

I want to tune modify the generated html that is generated by the gross tag here.
I don't find where is that tag defined. I found that the span is generated by django-prices but I don't know where the gross tag is defined.
Any help ir more than wellcome.
Thanks

I spotted it. I didn't see it in the last verion of django-prices but it is in v.0.7.0.

Saleor still uses v.0.7.0 version of django-prices, but we're working on a new version of prices and django-prices which have slightly different API.


Missing packages after install

After installing v0.8 or v0.9, running "make px4_sitl jmavsim" causes several errors with missing packages. On a fresh install, I have to manually add the packages:
run run-console.bat
cd Firmware
pip3 install --upgrade pip
pip3 install kconfiglib
pip3 install --user jsonschema
pip3 install future
make px4_sitl jmavsim

Thanks @chrismiller7
@MaEtUgR Howdy! What's the best way to sort this. We should add these dependencies, but are we closer to an updated WSL2 solution that can use the linux PX4 install scripts instead?

@chrismiller7 Thanks a lot for reporting this! I would change the toolchain immediately but the biggest problem I currently have with the Cygwin toolchain is that the Cygwin base system grew significantly in size and is now bigger than what fits in a single file MSI installer. So whenever I try to update the toolchain and build new versions I cannot create an installer for it anymore. This would need some kind of file splitting in the installer generation which I'm not yet familiar with. We could at least add the necessary commands to the Cygwin toolchain documentation to enable users in the meantime.
@hamishwillee Yes, I finished writing the basic instructions: https://github.com/PX4/PX4-user_guide/pull/1747 The instructions use 1:1 the existing setup scripts. If you're interested @chrismiller7 you can give this a try. I'm happy to hear any feedback.

OK, I have created a patch for the cygwin docs in https://github.com/PX4/PX4-user_guide/pull/1755. The note can be removed when this issue is fixed.


python310Packages.sensor-state-data: 2.12.0 -> 2.12.1

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 202551 run on x86_64-linux 1

51 packages built:

home-assistant-component-tests.bluemaestro
home-assistant-component-tests.bthome
home-assistant-component-tests.govee_ble
home-assistant-component-tests.inkbird
home-assistant-component-tests.kegtron
home-assistant-component-tests.moat
home-assistant-component-tests.oralb
home-assistant-component-tests.qingping
home-assistant-component-tests.sensorpro
home-assistant-component-tests.sensorpush
home-assistant-component-tests.snooz
home-assistant-component-tests.thermobeacon
home-assistant-component-tests.thermopro
home-assistant-component-tests.tilt_ble
home-assistant-component-tests.xiaomi_ble
python310Packages.atc-ble
python310Packages.bluemaestro-ble
python310Packages.bluetooth-sensor-state-data
python310Packages.bthome-ble
python310Packages.govee-ble
python310Packages.inkbird-ble
python310Packages.kegtron-ble
python310Packages.moat-ble
python310Packages.oralb-ble
python310Packages.pysnooz
python310Packages.qingping-ble
python310Packages.sensor-state-data
python310Packages.sensorpro-ble
python310Packages.sensorpush-ble
python310Packages.thermobeacon-ble
python310Packages.thermopro-ble
python310Packages.tilt-ble
python310Packages.xiaomi-ble
python39Packages.atc-ble
python39Packages.bluemaestro-ble
python39Packages.bluetooth-sensor-state-data
python39Packages.bthome-ble
python39Packages.govee-ble
python39Packages.inkbird-ble
python39Packages.kegtron-ble
python39Packages.moat-ble
python39Packages.oralb-ble
python39Packages.pysnooz
python39Packages.qingping-ble
python39Packages.sensor-state-data
python39Packages.sensorpro-ble
python39Packages.sensorpush-ble
python39Packages.thermobeacon-ble
python39Packages.thermopro-ble
python39Packages.tilt-ble
python39Packages.xiaomi-ble


Fixed issue with Github client tests timing out

Description of the PR

Added a new build tag to separate githubclient_test.go to run only on Merge.
Added a new function in Makefile deal with the merge testing.
Added a new workflow in Ci pipeline.

Fixes #898
PR Checklist

[ ] All commits have a Developer Certificate of Origin (DCO) -- they are generated using -s flag to git commit.
[ ] All new changes are covered by tests
[ ] If GraphQL schema is changed, make generate has been run
[ ] If collectsub protobuf has been changed, make proto has been run
[ ] All CI checks are passing (tests and formatting)
[ ] All dependent PRs have already been merged

@jeffmendoza  I have implemented the changes that you asked for.  Is there any other change that's on your mind?

@mihaimaruseac done the suggested changes

You need to add the Signed-off-line to the last commit. Since you have to redo that one, please note that the nit is that we need an empty line there, without any trailing whitespace.

Done @mihaimaruseac

The trailing whitespace is still there (line is   instead of empty), but don't worry about this, will fix in another PR with some other changes there.


Process is not killing itself on fatal error (docker)

I am using docker (via OpenShift) with Mongo Connector and elastic2-doc-manager in their latest versions.
Everything is ok until I am getting for any reason ReadTimeoutError because one of the requests to the Elastic took more than 10sec.
In this case, the mongo-connector should send a SIGNAL to kill itself, It will help the Docker restart automatically (recover) and try to continue from the last oplog entry.
In my case, I noticed that the connector was "stuck" in this error for about 20 hours, And when I restarted it manually the connector failed to trace in time the changes happened in the MongoDB (there are about 20,000 updated per hour).

Can you post the trackback you're seeing in the logs? Also what version of mongo-connector and elastic-doc-manager are you running?

I am using elastic2-doc-manager version 0.3.0 and mongo-connector`s version from the latest commit on master branch.
Looks like a missing exception in the wrap_exceptions for ConnectionTimeout.
I just created a related issue mongodb-labs/elastic2-doc-manager#44 and opened a pull request.
Should handle this.

Mapping the error to OperationFailed would cause mongo-connector to ignore the error and not exit. The real issue is that the elastic doc manager does not handle timeouts on its Elasticsearch client. That error should currently be uncaught and mongo-connector should exit. It should not be "stuck". Can you post the ReadTimeoutError error message or stacktrace that you're seeing?

I can`t export the traceback but, The error is: ReadTimeoutError: HTTPConnectionPool(host='hostname', port=9200): Read Time out. (read timeout=10)
Maybe it is not exit because I used --continue-on-error ? But it even did not continue... just got stuck

Have there been any updates on this? I'm still seeing this issue!


psycopg2 v2.8 dynamic table descriptions.

Reimplementing dynamic table description discovery while maintaining support for psycopg2 2.8.

Thanks for this patch, however I don't see much value in adding extra cast to tuple() just to use unpacking generalization. IMO, the current form is more readable.


Handle pre-existing file uploads in declaration data

Bug found during G12 QA: if a supplier goes back and edits the Modern Slavery statement (multiquestion) section, then re-submits, it gives an error that the existing file hasn’t been uploaded. This is because the form macro doesn't set the value on the file upload input (for good reason - it's a security hole).
Therefore we need to address this on the validation side. I can recreate it with the new unit test. It's a complete hack, given the short timescale - better suggestions very welcome!

Obviously not ideal, but probably the most sensible thing we'll get with such short notice. Tests still running...


#2179 Conditional register the StorageProperties bean

Description

Make runnable without the staging db configuration.
Related properties key is

polaris.storage

Related Issue :

#2179
How Has This Been Tested?

Delete polaris.storage properties in your 'application.yaml'
Run Metatron Discovery
Run normally

Need additional checks?
Changed the condition of the classes that autowiring the StorageProperties.
(Especially in the data preparation and data connection)
Please check related logic @joohokim1 @ufoscw  😄
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.

Additional Context
It is configured in the 'local' profile, so a user who not using the 'local' profile can run.

run build
deploy to 4


Workflow resource files can be io.BytesIO buffer of file names

With the new abstract file store all file resources that are associated with a workflow template or a workflow run can either be represented as a filename (pointing to a file on the local file system) or a io.BytesIO file buffer. We need to ensure that all functions that consume these objects can handle both cases.

Closed by commit 7688a7f21f4bcc39764396d32cd22b36a36cc6ea


Drop custom Proto plugin runner scripts

Looks like in the Protobuf Gradle plugin v0.8.13 it's now possible to specify a plugin as just a .jar file and the plugin will take care of the execution and create the runner scripts on the fly.
It probably worth dropping our custom runner scripts in favor of the built-in functionality.

Closed in favor of #235.


use email_validator library for Email validator instead of regex

Implements outcome of conversation in #427 using email_validator to validate email address.

Should be ready to merge now.
One thing to consider is improving install docs to mention extras, but that could be another PR.


Improve mobile responsiveness for group expense page in react

The group expenses page is not responsive in Mobile.

I would like to work on this issue.

Okay


Master

:white_check_mark: Build TimeHACK AppVeyor-113 completed (commit https://github.com/TimeHACKDevs/TimeHACK/commit/529dc47a7d by @lempamo)


Add Pacific design elements

Once pacific design elements are received from the designer, these need to be added to the site

I'm calling this done for now.


Memory footprint potentially high

Currently application data is persisted on to disk, but there is an additional in memory caching layer for fast read/write. However, the size of the cache is treated as unlimited. That means a user with a lot of bookmarks has a lot of data, but additionally the aka server is holding all of the data in memory as well.
In this case, we are sacrificing RAM space for performance, but my hunch is that the majority of users don't need the fastest performance, and would rather want aka to be lightweight and small, both in application size but memory (ram) footprint.

Check out https://www.npmjs.com/package/level.

In the commit above, i was able to migrate to using level as the datastore. I was even able to create an additional index layer to lookup bookmarks by their route. This is a really good way as our RAM footprint is basically none now and we are relying on level for performance which is supposedly really good (and we barely query it, just one for the index and once for our datastore).


Android 10 support

Like Clip Stack

hello!
do you have the older versions like 1.5 or 1.6?
i'm still using Android 4.0.4 ICS on some devices, this v2 of clipsync doesn't install.

hello!
do you have the older versions like 1.5 or 1.6?
i'm still using Android 4.0.4 ICS on some devices, this v2 of clipsync doesn't install.

@rd1 https://github.com/pishangujeniya/clipsync-android/releases.
Isn't it another topic?

@rd1 https://github.com/pishangujeniya/clipsync-android/releases.
Isn't it another topic?

sure I'll make a new thread

sure I'll make a new thread

Like Clip Stack

Thanks for the link,
I will try releasing an updated version if there is any work around to run with Android 10

Like Clip Stack

Thanks for the link,
I will try releasing an updated version if there is any work around to run with Android 10

Thanks brother 🙂
Also Join app uses a similar workaround. link
Waiting for updates🙌🏻


The "change" is to them non-executable: mode 100755 -> 100644.
The repo is detected as dirty by both git.exe and go-git itself.
File modes on Windows is a pain. To that end, a workaround of setting core.filemode option to false on clone would be acceptable, but i couldn't find a way to do it.

closing in favor of https://github.com/src-d/go-git/issues/378


Auto-created publish profile from download doesn't proactively communicate need to complete step

Describe the bug
The auto-created publish profile when you create from ABS is incomplete (needs other resources created).  You dont' find that out though until you try to publish and get a somewhat inscrutable error.  We should have some form of proactive communication of what to do after it's create for you.
Version

Browser

[X] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[X] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Create bot in composer
Create azure bot in abs portal
Open in composer
Connect to existing bot (from step 1)
Try to publish
<error; publish profile not provisioned yet>

Expected behavior

Screenshots

Additional context

Attaching image from @cwhitten for additional discussion context.


Why can I just do a raster operation?

Why can I just do a raster operation? v071

I think a bit more information than this might be helpful. Like screen shots and possibly an upload of your SVG file.

And do you mean "can't execute just a raster operation"?

And do you mean "can't execute just a raster operation"?

https://user-images.githubusercontent.com/61805701/135907797-3c0b5a73-6195-4c6b-8457-9798df58d061.mp4
kocka 10x10.zip

You need to keep clicking the big button until the window closes.
If you want to Execute just the Raster operation, then select just the Raster Operation in the tree, then Right Click and select Execute.
@Taterize: Do you think we should reduce the number of clicks needed to Execute?

In panes there's a go button. You can get that and if you're confident that everything will go fine hit it and it'll just go.

There are some questions as to what the best interface might be and what you'd be best off using. There's a lot of panes and this might hide things that maybe users would want to use more frequently but that sort of UX and UI work isn't clear as to what kind of default would be best.


🐛 Bug Report: Github Action Plugin 404 error

📜 Description
After I consent the redirect url / popup window returns a  ERROR 404: PAGE NOT FOUND Looks like someone dropped the mic!
https://backstage-mydomain.com/api/auth/github/handler/frame?code=0a8290a1aa4d2c93cc81&state=6e6f6e63653d657176774e43316e32424d4c41514862566f42374c4125334425334426656e763d646576656c6f706d656e74266f726967696e3d68747470732533412532462532466261636b73746167652d6e65772e6f62736572766162696c6974792e7372652e6c7974782e636f6d26666c6f773d706f7075702673636f70653d72656164253341757365722b7265706f2b726561642533416f7267
If I navigate directly to https://backstage-mydomain.com/api/auth/github/handler/frame?env=development. I get the same result ERROR 404: PAGE NOT FOUND Looks like someone dropped the mic!
There are no errors in the log (not even the 404).
👍 Expected behavior
The consent screen is controlled by the OAuth provider, and will do things like prompting the user to log in with an account, and possibly reviewing the set of requested scopes. If the login request is accepted, the popup window will be redirected back to the /handler/frame endpoint of the auth backend. The redirect URL will contain a short-term authorization code, which is picked up by the backend and exchanged for long-term tokens via a call to the OAuth provider. The Access and possibly ID Token is then handed back to the main Backstage page via postMessage. If the OAuth provider implements offline refresh, a refresh token will be stored in an HTTP-only cookie scoped to the specific provider in the auth-backend plugin.
👎 Actual Behavior with Screenshots

👟 Reproduction steps
Follow the documentation for setting up github action plugin, run it on K8 / minikube.    All the localhost examples work but that's not particularly useful.
📃 Provide the context for the Bug.
No response
🖥 Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

I finally figured out that I was incorrectly configuring the ingress on K8.  Once I commented out the path to port 7007 it worked.
        paths:           - path: /             pathType: Prefix             backend:               service:                 name: backstage_svc                 port:                   number: 80           # - path: /api/auth/github/handler/frame           #   pathType: Prefix           #   backend:           #     service:           #       name: backstage_svc           #       port:           #         number: 7007

Hmm this is strange, how do you have the Backstage deployed? It looks like /api is hitting the frontend instead of being proxied through to the Backstage. Could be some misconfiguration in the ingress or something like that.


Invalid argument supplied for foreach()

C:\MAMP\htdocs\eye\vendor\picqer\api-client\src\Client.php
`    protected function parseRawHeaders()
{
$parsedHeaders = [];
    foreach ($this->rawResponseHeaders as $header) {
        $headerPieces = explode(':', $header, 2);

        if (! isset($headerPieces[0]) || ! isset($headerPieces[1])) {
            continue;
        }

        $parsedHeaders[$headerPieces[0]] = trim($headerPieces[1]);
    }

    return $parsedHeaders;
}`

…\vendor\picqer\api-client\src\Client.php1005
foreach ($this->rawResponseHeaders as $header) {
stuck on this i cant get any data, on laravel

What is de request you are doing? And what is de error you are getting?

https://gyazo.com/eff297fdc6bc13af7df2ed5cfca5ba28
https://gyazo.com/ed73a2b18a55126267fd6a144788f2a1
https://.picqer.com/api/v1/orders?orderid= (tested in postman)
require '../vendor/autoload.php';                                 $apiClient = new Picqer\Api\Client('**', '**');                                 $apiClient->enableRetryOnRateLimitHit();                                 $apiClient->setUseragent('Eye');                                 $orderid_data = $_GET['id'];                                 $results = $apiClient->getOrderByOrderid($orderid_data);                                 var_dump($results);

Do you still have issues @ddeem? I'd like to help. Cannot reproduce this.

I had the same issue, this error occurred for me when I was using the wrong subdomain credentials. This also happens when you leave the subdomain field blank. Make sure you are using the correct subdomain (and API key). The subdomain can be found at the base uri from your picqer account: https://[example-subdomain].picqer.com. More details at: https://picqer.com/en/api/basics


Experiencing poor app performance or stuttering animations in a long list view with images.

Hi, I'm facing poor app performance or stuttering animations in a long list view with big images when place ads in between the list. If I remove the ads the scrolling is smooth. Please advise.

Hi @ko2ic you can wrap the platform channel code with new thread rather than using main threat. For example:
 @Override
 public void onMethodCall(MethodCall call, Result result) {
  if (call.method.equals("sleep")) {
   new Thread(new Runnable() {
    public void run() {
     try {
      Thread.sleep(10000);
     } catch (InterruptedException e) {
      e.printStackTrace();
     }
     result.success("Good morning!");
    }
   }).start();
  } else {
   result.notImplemented();
  }
 }

Can confirm this is a big issue as it breaks the smooth behavior of an application.
When scrolling through a ListView.builder which contains ads every nth item, the Choreographer complains:
I/Choreographer( 7590): Skipped 33 frames!  The application may be doing too much work on its main thread.
At 60fps that is 550 milliseconds of frozen view during an animation.

I've tried to add threading but it's not that simple. The PlatformView cannot be modified from a different thread than the one it was created from, so moving the hard word in the methodcall to a separate thread (not the main thread) breaks because the PlatformView needs the main thread.
I've places some simple milsecond meassures and most of the time seems to be in the loadAd call. Which is odd because according to docs it is supposed todo it's work in a background thread.
https://developers.google.com/android/reference/com/google/android/gms/ads/doubleclick/PublisherAdView#loadAd(com.google.android.gms.ads.doubleclick.PublisherAdRequest)

I tried running on dev channel of flutter with v1.8.0, certainly it fixes the low performance issue but on plugin side the ads are not displaying the images. It just not showing any image, it's blank but onClick is working. Please update the plugin to support flutter v1.8.0. Thanks.

@theneshofficial That sounds like a separate, but very important/breaking, issue. I think you should open a new issue for that, perhaps with a screenshot.

I am also having this issue, is there any update on how to fix this?

Did anyone found any solution to the poor performance issue?
I also have a problem with stuttering scroll when implementing multiple banners.

I could not find a solution to this problem, and as a result, this issue is stopping us from releasing an iOS application. The team I work for had to start making a native iOS application. I am hoping that this gets resolved.

Is this plugin still updating?
This bug is problematic, and stopping me from releasing an app to the stores.
Can anyone come with a solution for this?

Any updates on this please

Does this plugin https://pub.dev/packages/pigeon from flutter team help to solve the issue? I guess might improve the communication between platform channels. Worth trying.


Start Node is not marked as dirty, and thus never visited on subsequent path queries

Adding a graph.markDirty(start); right infront of the while loop in the search function seems to fix this.

Hi, could you please share a test case where this is failing so we can add test coverage for this?

Hi, I can confirm this issue, I couldn't reproduce it using a small graph. adding @BonsaiDen fix resolves the issue, sample code:
var graph = new Graph([
    [1,1,1,1],
    [1,0,1,0],
    [0,0,1,1]
]);
var start = graph.grid[0][0];
var end = graph.grid[1][2];
var result = astar.search(graph, start, end);
console.log(result);
result = astar.search(graph, end, start);
console.log(result);


Instructions doc

Create instructions for how to add conference and restaurant.

[ ] Also Add criteria for Validation fields too

Create Google Doc


Enable container-based infrastructure and cache ~/.m2/repository for faster Trav

@jmazzitelli I after all came to the conclusion that this is a better home for the cmdgw itests. First, adding them to hawkular looked like too much overhead for Travis (log length over limit, diskspace problems, making the build slower) and second this is a little bit closer to the subject under test.
An apparent disadvantage of this approach is that we will have to maintain the distro for the tests both here and in hawkular.
Could you please review and eventually merge?


Upgrade stern

We're using defunct version. We should use this version:
	go install github.com/stern/stern@latest

Assigned to @Qalifah https://github.com/argoproj/argo-workflows/issues/8625.


docs(fix): Filter.whereFieldName(s?) -> Filter.create().whereFieldName(s?)

fixes: #24100
Grep'ed the following methods found in Filter.Inner API doc and added .create() calls if appropriate:

expand()
whereFieldId()
whereFieldIds()
whereFieldName()
whereFieldNames()

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

[x] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] 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.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

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

run website precommit


Encrypt Sqlite Database

Highest priority

https://github.com/ericsink/SQLitePCL.raw

https://learn.microsoft.com/en-us/dotnet/standard/data/sqlite/encryption?tabs=netcore-cli

https://www.bricelam.net/2023/11/10/more-sqlite-encryption.html

#49 will close this. This will now use data protection on windows, keychain on mac os, and nothing on linux for the time being.


Deprecated selectors?

Description of Issue
When looking at the code of this project, at the tweet.py file, I can see it is using some selector:
    t.user_id_str = tw["data-user-id"]
    t.username = tw["data-screen-name"]

Or in users.py it uses:
        group = ur.find("div", "user-actions btn-group not-following ")

But those selectors  don't exist anymore on the mobile view of twitter site.
How is it even working?

Twint does not scrape Twitter
It replicates the requests that your browser would do like:
https://twitter.com/i/search/timeline?vertical=default&src=unkn&include_available_features=1&include_entities=1&max_position=-1&reset_error_state=false&f=tweets&q=%20from%3Ausername
if you run twint with --debug, it creates two log files. One about the requests made, and the other for the content of the latest request

Thanks.


Alert severity change doesnt reflect on the styling, the class is applied but no style changes applied

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Steps:

import Alert from MUI
Apply severity
See no changes to the look and feel, inspect element, css-classes applied, however no look and feel changes

Current behavior 😯
When you change the severity of the Alert, it should change the text color, background color, border color. I see the classes being applied .MuiAlert-outlinedInfo, however no styles are applied.
Expected behavior 🤔
When changing the severity, classes should be applied and the required styles.
Context 🔦
I cant complete the customizing of the Alert component for my Design System due to this issue,.
Your environment 🌎
System:
OS: macOS 12.4
Binaries:
Node: 14.17.1 - /usr/local/bin/node
Yarn: 1.22.11 - /usr/local/bin/yarn
npm: 6.14.13 - /usr/local/bin/npm
Browsers:
Chrome: 99.0.4844.84
Edge: Not Found
Firefox: Not Found
Safari: 15.5
npmPackages:
typescript: ^4.4.4 => 4.7.3

@jeshals You tell about a design system: Maybe you're trying to apply a custom theme?
On my side, I have this working, at least for the "root":
const theme = createTheme({
  components: {
    MuiAlert: {
      styleOverrides: {
        root: ({ ownerState }) => ({
          ...(ownerState.severity === "error" &&
            ownerState.variant === "standard" && {
              backgroundColor: "#FCEBE9",
              color: "#751A0C",
            }),
          ...(ownerState.severity === "warning" &&
            ownerState.variant === "standard" && {
              backgroundColor: "#FFF6E5",
              color: "#93541B",
            }),
          ...(ownerState.severity === "info" &&
            ownerState.variant === "standard" && {
              backgroundColor: "#E5F3FB",
              color: "#004B6F",
            }),
          ...(ownerState.severity === "success" &&
            ownerState.variant === "standard" && {
              backgroundColor: "#E6F9ED",
              color: "#006730",
            }),
        }),
        icon: ({ ownerState }) => ({
          ...(ownerState.severity === "error" &&
            ownerState.variant === "standard" && {
              color: "grey",
            }),
          ...(ownerState.severity === "warning" &&
            ownerState.variant === "standard" && {
              color: "#FFAD00",
            }),
          ...(ownerState.severity === "info" &&
            ownerState.variant === "standard" && {
              color: "#008EDB",
            }),
          ...(ownerState.severity === "success" &&
            ownerState.variant === "standard" && {
              color: "#0EC54F",
            }),
        }),
      },
    }
  }
}

But still got an issue:
The "icon" prop gets overriden by .MuiPaper-root-MuiAlert .MuiAlert-icon

As far as I investigated, it seems that .MuiPaper-root-MuiAlert .MuiAlert-icon is calculated based on the palette.
The only way I found was to add a ".MuiAlert-icon" section inside the root, but it feels dirty:
//[...]
      styleOverrides: {
        root: ({ ownerState }) => ({
          ...(ownerState.severity === "error" &&
            ownerState.variant === "standard" && {
              backgroundColor: "#FCEBE9",
              color: "#751A0C",
              /** 🤮 🤮 🤮  **/
              ".MuiAlert-icon": {
                color: "grey",
              },
// [...]

Hope it'll help

Please provide a CodeSandbox reproducing the issue. The issue template is a good starting point. If the issue is reproduced, we can re-open it.


feat: add possibility to clear all sshKeys from config

@alexgg @jaomaloy Please review this small change.

thanks @aTEraGOU looks good

Pending on https://github.com/balena-os/configizer/pull/20

@aTEraGOU could you please add a footer with a Change-type: patch? It's needed for CI checks to pass. Thanks.

@alexgg should be ok now?


Players are unable to check their own stats if they are missing the jobs.command.admin.stats permission.

I removed jobs.command.admin.stats from being inherited by default. Players are unable to check their own stats unless they also have that permission node.

jobs.command.admin.stats only allows or prevents stat checking of another player. If player don't have this one, then he can only check hi own stats.


MM-43667 - start trial from invite guest user

Summary
This PR adds the logic to prevent users to invite guest unless they are in free trial or paid features. Also display the call to action and indicator letting admins know that inviting guests is a restricted feature.
Ticket Link
https://mattermost.atlassian.net/browse/MM-43667
Related Pull Requests
n/a
Screenshots

Release Note
NONE

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

@annelieseklein @marianunez the current design for end users  (which is not yet implemented, this PR takes care only to the feature restriction to admins) shows in the action modal a "back" button, which if clicked should open back the Invite people modal. In this implementation the modal is showing the CTA to start the trial and as a secondary button the "View Plans" CTA button. My question is, for admins do we want to keep it this way? or we want admins to also have the "Back" button which will open again the "Invite People" modal?

@pvev

Can we make the "Copy Invite link" on the modal a secondary button please?
Can we please change the copy for the modal to say "Invite people" instead of "Invite members"

@annelieseklein are you referring to this modal?

Yup!

@pvev

Can we make the "Copy Invite link" on the modal a secondary button please?
Can we please change the copy for the modal to say "Invite people" instead of "Invite members"

@annelieseklein are you referring to this modal?

Yup!

ok, thanks!

@annelieseklein @stevemudie friendly reminder on this one :)

LGTM!
Small thing, on the tooltip description can we please change "paid" to "professional"? Thanks! Great job!