Release a version compatible with Visual Studio 2017

Working with VS 2017 RC and I can't get T4 Toolbox working.
I tried renaming the vsix to .zip, unzipping, editing the manifest files, then putting it back together  but I get errors like the following:
Compiling transformation: The type 'TextTransformation' is defined in an assembly that is not referenced. You must add a reference to assembly 'Microsoft.VisualStudio.TextTemplating.14.0, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Adding a ref to Microsoft.VisualStudio.TextTemplating.15.0 doesn't seem to help.
Edit : Adding nuget package Microsoft.VisualStudio.TextTemplating.14.0 doesn't seem to help.

This actually would be really useful. The only reason we haven't completely switched to VS 2017 yet is because we generate all of our services using the T4 toolbox and couldn't get it to work in 2017. Same issues you are having.

Same pain here.. +1

thomasonb I am in your same situation !

+1

+1 here as well

No. Good. Deed. Goes. Unpunished.  😂
Aloha from Tokyo .... Hope all is well Oleg.
Get Outlook for Android
From: Inge Dalby
Sent: Tuesday, March 7, 5:35 PM
Subject: Re: [olegsych/T4Toolbox] Release a version compatible with Visual Studio 2017 (#41)
To: olegsych/T4Toolbox
Cc: Subscribed
+1 here as well
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/olegsych/T4Toolbox/issues/41#issuecomment-284655773, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA-NtNtaBs1w1A6bW3ei9RAfwPsGWx-Uks5rjRZ1gaJpZM4LFk4y.

same problem here

Exactly same problem here!!

+1

+1

+1

+1

I have modified the extension to work in Visual Studio 2017. It works for me at least, give it a try and let me know. My only focus was getting the extension to work in VS2017, so it probably won't work in earlier versions.
A VSIX can be downloaded and installed from here:
https://github.com/hagronnestad/T4Toolbox/releases/tag/vs2017-b1
My fork:
https://github.com/hagronnestad/T4Toolbox

Looks, that it works almost perfect! - THX a lot!

@hagronnestad thanks !
And I've had some issues building the code with 2017 (either original or the fork), opening the .sln just stalls the VS (Community edition + VS SDK checked on, if relevant).

I had to start the devenv /safemode - and then it opens ok,
and then you need to force NuGet (rebuild doesn't help, go to Manage NuGet for solution - and click 'Restore')
...then just set "Release' and rebuild all. Some tests still fail but it generates the right .vsix file (\src\T4Toolbox.vsix\bin\Release) and that's all you need.

@nsgaga I had the same problem, I should have mentioned it. I had to activate "Lightweight solution load for all solutions" to get it to load. I did turn it off afterwards though and it continues to load for me now.

+1

+1

@zamap and @ooswald, did you try my build? I've been using it for a couple of weeks, seems to work fine. If anyone have time to create a pull request to merge it into the original project please do.
https://github.com/hagronnestad/T4Toolbox/releases/tag/vs2017-b1

Hi @hagronnestad,
I'm working with your build for these last two weeks too, and it's working perfectly.
Thanks!!

@hagronnestad, tried to add custom command in context menu for project -> always run for all projects in solution

@hagronnestad Your extension works great! Only thing I thought I'd mention is that after the last VS update I had to uninstall and reinstall it to get it working again, but now it's working perfectly again.

@hagronnestad Have you thought about raising a pull request with your changes?

@olegsych Can you please merge the work from @hagronnestad for vs2017?

@sclarke81 Yes, I should probably do a pull request, I just wasn't sure if the changes I did would introduce any incompatibility issues or similar with older versions. Feel free to review my changes or fork my fork and make a PR.

@hagronnestad the version I have installed from your repo LGTM.

Must have! 👍

+1 - please update and test with new 15.2 as well @hagronnestad!

Also tested with 15.3 Preview 1 and Preview 2 and working fine!

+1

I started a PR #47, incorporating changes from @hagronnestad's fork. Unfortunately I can't get the T4Toolbox.VisualStudio.IntegrationTests to run. Can someone try installing the vsix from the latest ci build?

I got this error when I tried installing it:
08/08/2017 08:18:51 - Microsoft.VisualStudio.ExtensionManager.InvalidExtensionManifestException: Element 'Identity' has invalid value for attribute 'Version' ---> System.FormatException: Input string was not in a correct format.
at System.Version.VersionResult.SetFailure(ParseFailureKind failure, String argument)
at System.Version.TryParseComponent(String component, String componentName, VersionResult& result, Int32& parsedComponent)
at System.Version.TryParseVersion(String version, VersionResult& result)
at System.Version.Parse(String input)
at System.Version..ctor(String version)
at Microsoft.VisualStudio.ExtensionManager.ExtensionImpl.<>c.b__64_1(String s)
at Microsoft.VisualStudio.ExtensionManager.ExtensionImpl.VerifyStringValue[T](String value, ErrorInfo info, Func2 selector, Boolean isRequired, Int32 maxLength, T defaultValue)    --- End of inner exception stack trace ---    at Microsoft.VisualStudio.ExtensionManager.ExtensionImpl.VerifyStringValue[T](String value, ErrorInfo info, Func2 selector, Boolean isRequired, Int32 maxLength, T defaultValue)
at Microsoft.VisualStudio.ExtensionManager.ExtensionImpl.ExtractManifestData(PackageManifest manifest)
at Microsoft.VisualStudio.ExtensionManager.ExtensionImpl.ReadPackageManifest(XmlReader reader)
at Microsoft.VisualStudio.ExtensionManager.ExtensionImpl.ReadManifest(Stream manifestStream, String localeRelativeRoot, Boolean localize)
at Microsoft.VisualStudio.ExtensionManager.InstallableExtensionImpl.ReadVSIXManifestFromPackage(Stream stream, CultureInfo preferredCulture)
at Microsoft.VisualStudio.ExtensionManager.InstallableExtensionImpl..ctor(String path, CultureInfo preferredCulture)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.CreateInstallableExtension(String extensionPath, CultureInfo preferredCulture)
at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.CreateInstallableExtension(String extensionPath)
at VSIXInstaller.App.GetInstallableData(String vsixPath, Boolean isRepairSupported, IEnumerable1& skuData)    at VSIXInstaller.App.Initialize(Boolean isRepairSupported)    at VSIXInstaller.App.Initialize()    at System.Threading.Tasks.Task1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()

Thanks @floradu88. I figured out what was wrong with the integration tests and published a new version to the Visual Studio gallery. Can you try installing it from the Visual Studio Extensions and Updates dialog?

Getting this error (I have the VS 2015 version installed in VS2015 as well and it didn't require me to install another version of the .NET framework), what do you think?
8/15/2017 2:03:17 PM - Install Error : Microsoft.VisualStudio.ExtensionManager.MissingTargetFrameworkException: The extension 'T4 Toolbox for Visual Studio 2017' requires a version of the .NET Framework that is not installed.

The error oguiulfo is talking about is because the .net framework that is required is 4.7. We literally just fixed this at work today. It was found by extracting the vsix file and opening the extensions.manifest. We simply installed .Net Frameword 4.7 and that error went away and it installed successfully.

Ahh that explains it. I've been in crunch mode so long I didn't even notice 4.7 had come out. It says that 4.7 came default with Windows 10 Creator's update which explains why I don't have it - I'm still on Windows 7!

We are also on Windows 7. Unfortunately when my co-worker was looking for this fix, he uninstalled a .Net Framework and basically corrupted his entire dev system. He was able to get it working again after about 6 hours of troubleshooting.

Shoot. I thought that Visual Studio 2017 installed .NET 4.7. @thomasonb Which version of .NET do you have installed with VS 2017 on your Windows 7?

@olegsych The new version from here https://marketplace.visualstudio.com/items?itemName=OlegVSych.T4ToolboxforVisualStudio2017 was successfully installed and works on my vs2017 pro on windows 10

@olegsych Sorry it took a while for me to see this, I had just left work. On Windows 10 Creators update I believe comes with .Net 4.7. On Windows 7, I believe it is 4.5.2. That is the latest version I had on my system prior to installing 4.7

On a side note, Visual Studio 15.3 just released, and that might install 4.7 as well.

Thanks @floradu88, @thomasonb. For compatibility with older versions of Windows, I think it'll be best to revert T4Toolbox back to .NET 4.5.2.

I ended up downgrading .NET to v4.6 instead of v4.5.2 because that's what Visual Studio 2017 itself appears to require. Specifically, Microsoft.VisualStudio.Shell.15.0 has a dependency on an assembly built with .NET 4.6 and I couldn't build T4Toolbox with v4.5.2.
Version <IP_ADDRESS> was published a few minutes ago. Can someone running VS 2017 on Windows 7 without .NET 4.7 help verify it?


Question Numbers go off page

Steps to Reproduction:

Open app.html in browser
Select the all question set.
Notice that the circles with question numbers now extend beyond the viewport to the right.

I'm not sure what the ideal fix is, but just thought we should keep this issue for a later fix.

No longer relevant since we no longer have question numbers. Closing.


Aerowizard overwrites RTF (richtextbox)

Hi
I've some Troubles with aerowizard...
I want to create a formated text Output. But with the richtextbox it is alwas unformated inside the aerowizard page. If I use exactly the same code outside I get what I want.
It doen't matter if I add the text directly in rtf style or formating with selection.
Does anybody can help me?
Best regards
Originally posted: 2017-05-16T23:53:17

I have tested this and am not able to reproduce. If you will, please post an issue along with a sample on the new project site on GitHub (https://github.com/dahall/AeroWizard).
Originally posted: 2017-09-28T09:34:48


Attach Screenshots/Videos

Hi, I've seen there is an option to attach files to fixtures and tests. Is there a way, to automatically attach the screenshots and videos which are created on a failed test, without having to implement it for every fixture/test individually?

Any news about this ?

https://reportportal.io/docs/developers-guides/AttachmentsGuide/ - short article in our documentation.

I ended up using this, please check my issue about axios there, had to do some adjustments (as mentioned in the issue there)
https://github.com/rafalsep/testcafe-reporter-report-portal-reporter
I ended up using pnpm to have an easy patch file.


Copy-Paste-Paste messes up indentation

This is probably related to a number of other issues, but I think I've got a pretty clear example of exactly what doesn't work and consider it more appropriate to file as its own bug than as a comment to one of the others ( #4747, #5046, #9045, #10407, etc.).  Atom's behavior breaks what is for me a very basic, very common practice and I think I can provide test cases which spell out the problem pretty clearly.
I know that to duplicate a selection of lines I can type shift-cmd-D, and that's OK - I've learned to do it and I use it.  But I shouldn't need that command, because there is a technique I practice in every other text editor which does not require learning anything new.  That is Copy-Paste-Paste.  That is:
select entire lines of text (with triple-click-drag or cmd-left, shift-down, shift-down)

copy (do not change the selection at this point)
paste (pastes content in place, leaving selection at the start of the next line)
paste again (pastes a copy after the original, indented identically to the original)

Or, in shorthand, cmd-CVV.  In my experience, this is a universally successful way of accomplishing a frequently useful operation, except for atom.  Here's what goes wrong when I try it with atom.
In step 2, instead of pasting the content in place, it outdents the selection to the left margin.  In step 2, instead of pasting the second copy indented identically, it indents it by the indentation of the final line of the block.  That is, if the final line was indented 8 spaces more than the first line, it indents my second pasted block by 8 spaces.  If I paste again, it adds yet another level of indentation.
This is something I do under many circumstances, but probably the most common are to add a new "case" block to a switch statement or to duplicate a small function.
I'm sure this behavior is the result of enabling some other, desirable, behavior, but this is not behavior I would want or can imagine wanting under any circumstances.  When I copy-paste in place, I do not believe the pasted code should have changed in any way.

Closing this since it's a duplicate (of several of the referenced issues, plus others). Thanks for the detailed report though 🙇

Should I add it as a comment somewhere, then?


(chore) link to API documentation

Trello card URL:
https://trello.com/c/sb5gn0fQ/425-document-the-api-to-the-gds-standard
Changes in this PR:
Adds link to API docs in README

 Document the API to the GDS standard


refactor: Sync Scoping tree with Forms data

SUMMARY

Sync scoping tree in Native filters config modal:

Save selected scopes to redux
Get selected scopes from redux and populate them to the tree
Correct processing scoping per selected filter on left side of modal

Add Select field for filter type

Add Select element with options to choose type of filter
Choose appropriate initial value setter field (meantime only Input for all)

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
https://user-images.githubusercontent.com/56388545/102875497-8be25000-444c-11eb-9e1a-b3bc53592268.mov
TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[x] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #12171 (ff3a06b) into master (ba952ba) will decrease coverage by 2.70%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #12171      +/-   ##
==========================================
- Coverage   66.31%   63.60%   -2.71%
==========================================
  Files         994      484     -510
  Lines       49033    29742   -19291
  Branches     4977        0    -4977
==========================================
- Hits        32515    18918   -13597
+ Misses      16373    10824    -5549
+ Partials      145        0     -145

Flag
Coverage Δ

cypress
?

javascript
?

python
63.60% <ø> (-0.61%)
:arrow_down:

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

Impacted Files
Coverage Δ

superset/db_engines/hive.py
0.00% <0.00%> (-85.72%)
:arrow_down:

superset/db_engine_specs/hive.py
54.61% <0.00%> (-29.62%)
:arrow_down:

superset/db_engine_specs/presto.py
70.56% <0.00%> (-12.78%)
:arrow_down:

superset/db_engine_specs/mysql.py
79.59% <0.00%> (-12.25%)
:arrow_down:

superset/db_engine_specs/sqlite.py
65.62% <0.00%> (-9.38%)
:arrow_down:

superset/utils/celery.py
96.42% <0.00%> (-3.58%)
:arrow_down:

superset/examples/world_bank.py
97.10% <0.00%> (-2.90%)
:arrow_down:

superset/examples/birth_names.py
96.51% <0.00%> (-2.33%)
:arrow_down:

superset/views/database/mixins.py
80.70% <0.00%> (-1.76%)
:arrow_down:

superset/result_set.py
96.69% <0.00%> (-1.66%)
:arrow_down:

... and 520 more

Continue to review full report at Codecov.

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

Can you summarize what are changes made in this PR? filter scope components are shared by filter_box and native filter component, we need to understand why these changes are necessary. thanks!

Can you summarize what are changes made in this PR? filter scope components are shared by filter_box and native filter component, we need to understand why these changes are necessary. thanks!

We build this Scoping tree component instead old one, it placed in ConfigModal for native filters, it duplicates behaviour of old Scoping tree, but save it in nativeFilters redux location...
It's only part of work, we still need connect dashboard charts to this redux location instead old one
cc @amitmiran137 @villebro


[MLIR][tosa] Fixed tf.StridedSlice lowering to tosa with new_axis_mask/shrink_axis_mask

When using tf.StridedSlice with new_axis_mask/shrink_axis_mask we must take into account the new/deleted dimentioned in begin_mask & end_mask.

Hi @rsuderman
I would appreciate if you take a look at this fix, thanks.

kindly reminder

kindly reminder

Hello @AviadCo Sorry for the delay.

Hi @AviadCo Can you please resolve conflicts? Thank you!

Hi @AviadCo Can you please resolve conflicts? Thank you!

Hi @AviadCo Can you please resolve conflicts? Thank you!

Hi @AviadCo Can you please resolve conflicts? Thank you!

Hi @AviadCo I'm going to go ahead and close this PR, because it seems to have stalled. If you're still interested in pursing this (and responding to my comments), please feel free to reopen! Thank you for you contribution!


Gitignored Files Generated in Generators

Fixes #187

gitignored simultaions in temp-sense-gen
gitignored all generated files in ldo-gen
gitignored generated verilog files in dcdc-gen

okay, thanks. I will close this.


Live Share web doesn't show chat

Describe what happened:
What was your system configuration?
Product and Version [VS/VSCode]: VS Code for host
OS Version[macOS/Windows]: Mac OS Catalina
Live Share Extension Version: 1.0.2902
Target Platform or Language [e.g. Node.js]:
Steps to Reproduce / Scenario:
The host is on the current Live Share version using VS Code. Integrated chat shows up as "Session chat" when the session starts, and host starts audio call as well. Guest joins from the chrome browser and uses anonymous r/w.

No chat on guest's side
No audio call on guest's side
Shared terminal shows displays but doesn't pop up when clicked on.

logs.zip
Please attach logs to this issue:
You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue
Screenshots
If applicable, add screenshots to help explain your problem.

Updating this issue: When joining for the second time, the chat shows up as the cache is updated for the right flight info. However, audio still doesn't show up and the shared terminal cannot be accessed.

Good catch @evangrayk! Stay tuned... we'll be releasing a fix for both of these issues shortly.

Closing this as resolved. Thanks!


*: fix ci failure

What problem does this PR solve?
Issue Number: close #7120
Problem Summary:

broadcast data compression is enabled since https://github.com/pingcap/tidb/pull/41968

What is changed and how it works?
Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

a standalone PR for this fix make the rebuild take too much time. Let this fix merge along with https://github.com/pingcap/tiflash/pull/7116 or https://github.com/pingcap/tiflash/pull/7115

Fixed along with this PR https://github.com/pingcap/tiflash/pull/7116


find a monospace font for numbers

For example, the numbers listed in tooltips and on the map page would be easier to read if we use a monospace font:

@housegeoff if you can find a monospace Google Font that you like, please post a mockup here and I can hook up the overrides in code

Tried Source Code Pro, not a fan:

@davelandry haha it's a monospace font! What more do you want!? I'd either try the medium weight or for a different font Roboto Mono: https://fonts.google.com/specimen/Roboto+Mono

Ohhh Roboto Mono is nice, what do you think?


How do I get test result in the paper?

I have trained and obtained your pretrained model,
how do I run the test result in the paper?

In the main.py, we print test results after each epoch with _, mAP_1 = evaluator_1.evaluate(test_loader_target, dataset_target.query, dataset_target.gallery, cmc_flag=True). You can find the ReID test results in the training log. You can also see your generated images with tensorboard --logdir logs/market_init_JVTC_unsupervised/stage3/.


Problems rendering adjacent bold and italics

From @tedhudek on March 25, 2016 0:25

VSCode Version: 0.10.11
OS Version: Win10

Steps to Reproduce:

Render this text in VS Code:
Methods are named AbcObjectAction, where Object describes the object and Action indicates what the function does. For example, AbcDeviceCreate creates a device object.
Compare to GitHub rendering.  Having bold adjacent to italics causes Code to stay in italics mode after the closing italics marker.

Copied from original issue: Microsoft/vscode#4663

From @Tyriar on March 27, 2016 3:55
Reproduces in latest

From @tedhudek on March 28, 2016 17:18
Examples to test: (note that they all render correctly on GitHub)
italicsbold
bolditalicsbolditalics
bolditalics
_bold_

From @Tyriar on March 28, 2016 17:29

From @gregvanl on March 28, 2016 17:30
Using _ for italics works fine:
italicsbold
bolditalicsbolditalics
bolditalics
bold

From @Tyriar on March 28, 2016 17:36
It looks like the specific issue is that the current markdown parser does not consider adjacent * styles. See how the breakage first occurs  in *** styles, treating **bold***... as ``bold*...`
The last one is the exception to this, it would seem as though ** takes precedence over *** for some reason.

From @bpasero on June 16, 2016 16:7
I cannot reproduce with our new markdown extension.

From @Tyriar on June 16, 2016 19:16
Some more problem cases:
****bold italics****
****bold italics****
****bold italics****

\*\*\**italics****

Output on GitHub:
_bold italics_
_bold italics_
_bold italics_
italics
VS Code @ 93e65224d7598017bfa0b188a0d82b66a2ee9698:


chore(docs): Added storybook and sample line

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Mib2 technisat

Does this work with MIB2 TECHNISAT devices?

No, that's the MIB2 Standard, which is not supported.
https://github.com/jilleb/mib2-toolbox/blob/master/FAQ.md#when-will-you-make-a-toolbox-for-mib2-standard

cool thanks for reply, i need access to write files to fs


[feature] Address Django Deprecation Warnings [OSF-8655]

Purpose

Various Django features that we use will be removed or otherwise made backwards incompatible when v2.0 is released. Addressing these deprecations now will make the upgrade to Django 2.0  much smoother in the future, and will remove most of the logged deprecation warnings until we ugrade.

Upgrades
See the Django Deprecation Timeline for more info.

Add the on_delete argument to all ForeignKey and OnetoOneField fields.

on_delete will become a required argument in Django 2.0. In older versions it defaults to CASCADE.

Pass a tuple containing pattern_list and app_name to the .include() URL utility.

Support for the app_name argument is deprecated and will be removed in Django 2.0. Specify the app_name as explained in URL namespaces and included URLconfs instead.
Support for passing a 3-tuple is also deprecated and will be removed in Django 2.0. Pass a 2-tuple containing the pattern list and application namespace, and use the namespace argument instead.
Lastly, support for an instance namespace without an application namespace has been deprecated and will be removed in Django 2.0. Specify the application namespace or remove the instance namespace.

Use _meta.private_fields instead of _meta.virtual_fields

The private attribute virtual_fields of Model._meta is deprecated in favor of private_fields.

Upgrades NOT Included (noted and re-ticketed)

Middleware upgrades. See https://docs.djangoproject.com/en/dev/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware

Support for old-style middleware using settings.MIDDLEWARE_CLASSES will be removed in Django 2.0.

Upgrading dependencies that have deprecation warnings.

Side Effects

None expected.

Ticket

OSF-8655

Merged into release/next-djangole


how do I turn of the WIFI AP & connect wifi as Client

how do I turn off the WIFI AP & connect wifi as Client?
any anyone know how to turn off the AP and log on to the Home wifi.
I see the JSON document has WIFI SSID and Password Blank.

firmware/data/config.json
this is the file mentioned above.

Hi, device will try to connect your configed wifi only in Image Poster or Interval Shooting mode.


If diffEditor.insertedLineBackground or removedLineBackground is overriden, then you cannot see the cursor selection

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.75.1
OS Version: Windows 10 Pro 21H2

Steps to Reproduce:

Go to settings.json and override either insertedLineBackground or removedLineBackground
Open a file within a git repository and check the diff
Make any changes by adding or removing line
Select a removed text or added text. While the cursor selection work, you cannot see the highlighted text

I've tested with both the default and other custom color theme, it seems to occur in all situation. You can see the cursor selection when the color is not overriden

This is another comparison when nothing is selected. The diff lines still have the same color, making it harder to distinguish

This is because the colors are defined without any transparency. The solution is to use opacity in the colors you define. e.g. #08310088. @aeschli Could there be a way to show a squiggle if opacity is not used in some colors?

Thanks @alexdima . I can confirm setting the opacity lower would show the cursor selection. I can also see the squiggle if opacity is not set.


When expanding the app window a crash occurs

The error in visual studio can be seen here:

Steps to reproduce:

Start the app built natively

Try to expand to full windowed screen by clicking the expand window button. Or by clicking alt-enter to  put the app in full-screen mode. You can also try to just resize the window by clicking and dragging on the side of the window. Try to resize the canvas under the Canvas panel also creates this issue :

Notice the crash.

When using a html5 build the  resizing the of canvas with the canvas properties doesn't cause a crash. Though, the canvas/window always remains to its default/initial size values even if the canvas properties are modified. The values at the bottom of the app representing the canvas size update but the window itself does not resize. (Tested in firefox)

When compilling with Krom a compiler error appears which is possibly the thing causing this issue :
C:\armorui>node Kha/make krom
Creating Kha project.
Exporting asset 1 of 4 (DroidSans.ttf).
Exporting asset 2 of 4 (EmptyCanvas.json).
Exporting asset 3 of 4 (prefs.json).
Exporting asset 4 of 4 (color_wheel.png).
Compiling shader 1 of 8 (painter-colored.frag.glsl).
Compiling shader 2 of 8 (painter-colored.vert.glsl).
Compiling shader 3 of 8 (painter-image.frag.glsl).
Compiling shader 4 of 8 (painter-image.vert.glsl).
Compiling shader 5 of 8 (painter-text.frag.glsl).
Compiling shader 6 of 8 (painter-text.vert.glsl).
Compiling shader 7 of 8 (painter-video.frag.glsl).
Compiling shader 8 of 8 (painter-video.vert.glsl).

Patch opened at https://github.com/Kode/Kore/pull/270.


Changes for hamilton quaternion convention.

It is about time we got this switched over. Can we get the necessary changes in to EKF2 @priseborough . Closes #29.
The changes to the unit test should show you all that will need to be changed in EKF2.

Coverage remained the same at 100.0% when pulling a6bd1ee4853f859fb27f2e11979d8c8da7fba8f4 on hamilton into 74a120f5544103c3bcdf9f2c3c61f41af7cf3032 on master.

Coverage remained the same at 100.0% when pulling a9cedcbae5baa0b6a4292c11f1eaff00f07bd183 on hamilton into 74a120f5544103c3bcdf9f2c3c61f41af7cf3032 on master.

@jgoppert I want to keep the ecl EKF able to run as a standalone library without reliance on other PX4 libraries. I will have a look at the changes to conventions implemented in this PR and see how much work is involved to do this for all EKF operations.

OK, my motivation would be to have ecl using matrix for math like the rest of the px4 code base to reduce the firmware size and make sure we have independent unit testing.

Coverage remained the same at 100.0% when pulling a9cedcbae5baa0b6a4292c11f1eaff00f07bd183 on hamilton into 74a120f5544103c3bcdf9f2c3c61f41af7cf3032 on master.

The adaption to an existing quaternion convention is very welcome to me as I had problems with this librarie's quaternion convention in the past. The multiplication is the most important piece of the adaption and I'm really glad to see it change but I hope you are aware that other calculations like for example the dcm conversion also need to be compliant to the convention to have the perfectly predictable behavior.
I'm not sure if this is already the case and just wanted to mention. If you wish I would gladly take a look at all this soon.

@MaEtUgR I believe we have covered all conversions in the unit tests. For instance if you look at the changes in this diff to unit testing you see the impact of the quaternion multplication changes. Basically, it just inverts the multiplication order.

@priseborough as it was already mentioned this should only imply opposite order of all quaternion multiplications...

Coverage remained the same at 100.0% when pulling 2069851f0b441a3e910575ff8795c81b98e0accc on hamilton into 47c0a93140cc5b4ed89a24b21ad25874ede9dde1 on master.

Coverage remained the same at 100.0% when pulling 5072a18d7d15a88e87e629e741d779a5821674b8 on hamilton into 47c0a93140cc5b4ed89a24b21ad25874ede9dde1 on master.

Now also closes https://github.com/PX4/Matrix/issues/30.

@jgoppert @priseborough we currently have matrix cloned twice in PX4 which is a bit confusing. Could we just use the version that comes in through ecl?
 db4374882bba122cb55370c5ea5efacbb8aa11c1 src/lib/ecl/matrix (v1.0.2-4-gdb43748)
 34fccdd6806fbdf7635a6365d7ef112f3bbaab9a src/lib/matrix (v1.0.2-5-g34fccdd)

@dagar I'm usually bumping matrix a lot as I work on the estimators. I don't think we want to make IEKF and LPE dependent on ecl. Currently it seems ekf2 is grabbing the px4 version of matrix anywyas because it blows up when I pull in the hamilton quaternion patch. ecl should probably only have a copy of matrix lib for test purposes.

@MaEtUgR I think the static arrays is a good compromise with size based on the template. Let me know what you think. Can always go back to dynamic.

I just compressed the commits so this is easier to review.

It seems like coveralls stopped getting new builds. https://coveralls.io/github/PX4/Matrix

This is cleaned up again to the minimal diff.

Is there any concern with merging this or why is it still pending?

Coverage remained the same at 100.0% when pulling e69c33cf2114915f03ec91006575433f72738c8f on hamilton into 471e96ff6f5f22018b782441c6a8df19d8294181 on master.

@MaEtUgR We would need to get ekf2 converted over to this convention.

@priseborough Can you help me get this into ekf2 so we can close it. You should just have to modify your derivation script for the new quaternion multiplication definition.

OK, let's set up a call and you can walk me through the changes. I do wish to keep the ecl EKF  portable and usable outside the PX4 framework.

@priseborough great, I will contact you via skype.

Switching multiplications should not be too much of a hassle, let me know if I can help anywhere to speed things up 👍

@jgoppert @priseborough @LorenzMeier Can we take this in now please? I want to push the switch to the useful hamilton convention now. It's pending forever and if we are not switching soon the current way will also be used in a lot more interfaces (ask @julianoes ) and we will have the PX4 quaternion convention in future student books. Sorry for making this so urgent but otherwise nothing will ever happen. If noone writes back I'll merge and start converting multiplication to make submodule updates possible...

I will create a PR for the ecl library that uses the revised multiplication order and reference it to this PR.

I've been through the ecl and have a branch with the required changes https://github.com/PX4/ecl/tree/pr-ekfQuatMultOrder
I'm happy for this PR to be merged.

Let's start testing and adapting in PRs for all the clients.


Can't download the app in this page, since the link lead to a localhost address [(http://localhost/assets/app.zip)]

Can't download the app in this page(the part Download the ZIP), since the link lead to a localhost address, PR #6385 created related to this one.

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

ID: 38a38919-b557-4723-7ea9-b0fbafbfdc52
Version Independent ID: 2117c374-eda9-906e-392e-c55e1ebf8060
Content: Docker tutorial - Part 1: Build and run the todo list sample app
Content Source: docker/tutorials/your-application.md
Product: visual-studio-windows
Technology: vs-azure
GitHub Login: @nebuk89
Microsoft Alias: ghogen

@WilheimRy -- thank you for your feedback and proposed fix.  This issue is also being tracked in #5827.
@ghogen -- please look into this issue and PR #6385.
cc @nebuk89 for awareness

@WilliamAntonRohm thanks very much for the rapid response, however I don't have a local iis installed so I guess for me it would be a different case from #5827? Is there anything else I can try to resolve this? It seems my docker desktop app won't parse the localhost correctly.

@WilheimRy -- you're welcome, and thank you for clarifying.  Please consider these resources meanwhile:

Visual Studio on Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit


Create job for pulling devblog from GitHub

Create a job that pulls regularly (at a defined time) the devblog repository.

Created Application Lifecycle for jekyll2cms - will be implemented within this ticket, too

application_lifecycle.pdf


Make e2e test not often fail

Add an extra step to debug TiUP

Search logs by keyword "welcome" to reduce the result size
After this change, the "Test / UI" job has success 5 times continuously. (Although I don't know why the big result size causes the job not stable)

@breeswish , PTAL, thanks!


Web interface: One can set Borderless Media, but setting not displayed

Describe the bug
Under the media settings of a printer you have checkboxes for "Borderless". Checking it and saving the settings actually sets the printer to borderless (one can see in state file or when printing) but when opening the media settings the checkbox never appears checked, indpendent of the setting. The box should be checked when the media is already set to borderless. Also the Printing defaults should show the media not only with size and type but also with borderless status.
To Reproduce
Add a printer, must have capability of borderless printing (like the testpappl which comes with PAPPL). Enter media screen, set a media size and mark the borderless checkbox. Go to printing defaults. Only your selected size and media type is shown, no hint that you selcted borderless. Go back to media and you see that borderless is not checked, though it is active.
Expected behavior
When getting to the media settings again, the borderless checkbox should be checked when you have set borderless before. On Printing defaults the media dropdown should show whether the media is borderless.

[master b1820d4] Fix borderless check box (Issue #50)


Fixes up condition logic to be future proof for python 3.13

We were using a classproperty, which is not going to be allowed. We switch over to just using a class attribute.
Also fixes up type hints for conditions -- these were incorrect
Changes
How I tested this
Notes
Checklist

[ ] PR has an informative and human-readable title (this will be pulled into the release notes)
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future TODOs are captured in comments
[ ] Project documentation has been updated if adding/changing functionality.

Branch misspell


Is there an option to prevent the user from editing certain lines?

This seems to be a monaco issue where this feature is not present there.
Anyways I was curious whether you deem it possible to utilize something like this plugin to leverage this functionality (demo)
Do you think this (functionality not necessarily plugin) could be something to be considered to include in BlazorMonaco or could you offer some guidance as to how this could be achieved for users of BlazorMonaco.
I was trying to use the callbacks (e.g. OnEditorModelContentChanged, OnKeyDown) but they all broke down when typing fast. Probably because the round-trip to my server app is too long. Additionally this way I can only revert edits already done on the client. I was however looking for a way to prevent the edit in the first place.

Thanks for the suggestion, but I'm not sure if it would be good to add new things to BlazorMonaco which does not exist in Monaco Editor. That would start to differentiate BlazorMonaco from MonacoEditor. But, instead, I'm currently working on syncing BlazorMonaco better with Monaco Editor (like class names, property and method names, etc).
I, personally, think that the best option for you would be to use js and Blazor side by side and having those checks on the js side. You can even use that same plugin you've sent.


Array unique fails with cupy backed arrays during cpu/gpu setitem

When we call unique on a cupy backed dask array, we fail due to a setitem on a numpy array with a cupy array. Perhaps using np.empty_like rather than np.empty may help resolve this, though there may be more complexity due to the complex dimension/dtype handling:
https://github.com/dask/dask/blob/cdb89fe317a43393f6c89cd780b54a3260839fd3/dask/array/routines.py#L1041-L1059
import dask.array as da
import numpy as np
import cupy as cp

arr = np.random.randint(0, 5, 20)
darr = da.from_array(arr)
da.unique(darr).compute() # array([0, 1, 2, 3, 4])

arr = cp.random.randint(0, 5, 20)
darr = da.from_array(arr)
da.unique(darr).compute()
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-19-2d8a28a02ebf> in <module>
      9 arr = cp.random.randint(0, 5, 20)
     10 darr = da.from_array(arr)
---> 11 da.unique(darr).compute()

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/base.py in compute(self, **kwargs)
    281         dask.base.compute
    282         """
--> 283         (result,) = compute(self, traverse=False, **kwargs)
    284         return result
    285

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/base.py in compute(*args, **kwargs)
    563         postcomputes.append(x.__dask_postcompute__())
    564
--> 565     results = schedule(dsk, keys, **kwargs)
    566     return repack([f(r, *a) for r, (f, a) in zip(results, postcomputes)])
    567

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/threaded.py in get(dsk, result, cache, num_workers, pool, **kwargs)
     74                 pools[thread][num_workers] = pool
     75
---> 76     results = get_async(
     77         pool.apply_async,
     78         len(pool._pool),

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/local.py in get_async(apply_async, num_workers, dsk, result, cache, get_id, rerun_exceptions_locally, pack_exception, raise_exception, callbacks, dumps, loads, **kwargs)
    485                         _execute_task(task, data)  # Re-execute locally
    486                     else:
--> 487                         raise_exception(exc, tb)
    488                 res, worker_id = loads(res_info)
    489                 state["cache"][key] = res

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/local.py in reraise(exc, tb)
    315     if exc.__traceback__ is not tb:
    316         raise exc.with_traceback(tb)
--> 317     raise exc
    318
    319

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/local.py in execute_task(key, task_info, dumps, loads, get_id, pack_exception)
    220     try:
    221         task, data = loads(task_info)
--> 222         result = _execute_task(task, data)
    223         id = get_id()
    224         result = dumps((result, id))

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/core.py in _execute_task(arg, cache, dsk)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/core.py in <genexpr>(.0)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/core.py in _execute_task(arg, cache, dsk)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/core.py in <genexpr>(.0)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/core.py in _execute_task(arg, cache, dsk)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/core.py in <genexpr>(.0)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/core.py in _execute_task(arg, cache, dsk)
    113     """
    114     if isinstance(arg, list):
--> 115         return [_execute_task(a, cache) for a in arg]
    116     elif istask(arg):
    117         func, args = arg[0], arg[1:]

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/core.py in <listcomp>(.0)
    113     """
    114     if isinstance(arg, list):
--> 115         return [_execute_task(a, cache) for a in arg]
    116     elif istask(arg):
    117         func, args = arg[0], arg[1:]

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/core.py in _execute_task(arg, cache, dsk)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/optimization.py in __call__(self, *args)
    961         if not len(args) == len(self.inkeys):
    962             raise ValueError("Expected %d args, got %d" % (len(self.inkeys), len(args)))
--> 963         return core.get(self.dsk, self.outkey, dict(zip(self.inkeys, args)))
    964
    965     def __reduce__(self):

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/core.py in get(dsk, out, cache)
    149     for key in toposort(dsk):
    150         task = dsk[key]
--> 151         result = _execute_task(task, cache)
    152         cache[key] = result
    153     result = _execute_task(out, cache)

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/core.py in _execute_task(arg, cache, dsk)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/core.py in <genexpr>(.0)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/core.py in _execute_task(arg, cache, dsk)
    119         # temporaries by their reference count and can execute certain
    120         # operations in-place.
--> 121         return func(*(_execute_task(a, cache) for a in args))
    122     elif not ishashable(arg):
    123         return arg

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/utils.py in apply(func, args, kwargs)
     33 def apply(func, args, kwargs=None):
     34     if kwargs:
---> 35         return func(*args, **kwargs)
     36     else:
     37         return func(*args)

/raid/nicholasb/miniconda3/envs/cuml-dev/lib/python3.8/site-packages/dask/array/routines.py in _unique_internal(ar, indices, counts, return_inverse)
   1048
   1049     r = np.empty(u.shape, dtype=dt)
-> 1050     r["values"] = u
   1051     if return_inverse:
   1052         r["inverse"] = np.arange(len(r), dtype=np.intp)

cupy/core/core.pyx in cupy.core.core.ndarray.__array__()

TypeError: Implicit conversion to a NumPy array is not allowed. Please use `.get()` to construct a NumPy array explicitly.

conda list | grep "dask\|cupy\|numpy"
cupy                      8.5.0            py38ha0d87d6_1    conda-forge
dask                      2021.3.0+56.g913a192f          pypi_0    pypi
dask-cuda                 0.19.0a210326           py38_45    rapidsai-nightly
dask-cudf                 0.19.0a210326   py38_gad5452d7eb_288    rapidsai-nightly
dask-glm                  0.2.1.dev52+g1daf4c5.d20210326           dev_0    <develop>
dask-labextension         4.0.1              pyhd8ed1ab_0    conda-forge
dask-ml                   1.8.0              pyhd8ed1ab_0    conda-forge
numpy                     1.20.1           py38h18fd61f_0    conda-forge
numpydoc                  1.1.0                      py_1    conda-forge

Thanks for raising this. Probably best to use empty_like_safe https://github.com/dask/dask/blob/d7d041ce883c623911ca0fc962fbdb1cb626d39f/dask/array/utils.py#L376

My guess is it is not that simple as CuPy doesn't support structured arrays ( https://github.com/cupy/cupy/issues/2031 ), which is what this algorithm uses currently. We probably need to rewrite this to not use structured arrays to fix this issue

cc @pentschev @quasiben

@jakirkham is right, but to be honest I'm little puzzled why unique in Dask is using structured arrays, was it just implemented like that because it was clearer to understand or is there a deeper reason to do so?

np.unique provides a bunch of optional additional return values like the indices where the unique values were found, a mapping of where unique values exist in the original array, and frequency of unique values. As Dask expected an array to be returned in a few cases and we needed to be able to return multiple arrays, which may not be the same shape, type, etc., we used a structured array to pack them all into one array.
Additionally by returning a single array, this would lend itself to more easily being used in a tree reduction, which was left as future work ( https://github.com/dask/dask/issues/2851 ).
Now this isn't to say it needs to be done that way. It was just the easiest way to solve the problem at the time. We could solve this a different way (and that's basically what I'm suggesting above), but may take a bit of work to get right. It also may make some things like doing the tree reduction part harder (though that may not matter much given no one has done this work yet)

Thanks @jakirkham for the detailed explanation, it makes sense. For now, I think the only way to make it usable with CuPy would be indeed to rewrite that implementation.


Add tags and description to cards in TTS - Mastermind

Tags needed:
Mastermind:
-VP
-Tactic/card name
-Description with brief keyword explanation

VP and name successfully added, images harmonized.
Description requires creating a proper (structured) keyword knowledge base first. This to be dealt with in other ticket.


Functionaize opmode parsing.

Signed-off-by: Humble Chirammal<EMAIL_ADDRESS>

@wongma7 Please review :)


[Feature] Improved trees should grow from saplings

Pre-Request Checklist

[x] I have checked that I am on the latest version of Terra.
[x] I have searched github for similar features requests, including closed
ones, and found none.
[x] I believe this is within the scope of Terra.
[x] This feature request is for all of Terra, and isn't something that
should be implemented by a pack or addon.

Feature Description
I would like Terra trees to spawn from saplings based on biome.
What Problem Does This Solve?
When I destroy trees and replant them, they do not grow to be as interesting as the trees I find while exploring.
A Solution You'd Like
If possible, it would be great if saplings grow into upgraded trees based on their type and biome.
Alternative Solutions
I do not really have alternatives :/

@duplexsystem is this officially implemented in Terra now? It does not seem to be functional

It is implemented by not released


500 server error

I am working on my clients website. When I activate either bootscore-main or the bootscore child I created I get a 500 server error (see screenshot). If I activate a different wordpress theme eg TwentyTwentyOne there is no error.

When I activate the theme on my own server dev site there is no error.
Does anyone know if there are some server settings or something that would cause this to happen.
Thanks in advance.

Could you please share some PHP error logs from the server? This should show why the 500 error accured.

It is possible that the server's PHP memory limit is too low for scssphp.
Please try to install version <IP_ADDRESS> https://github.com/bootscore/bootscore/releases/tag/v<IP_ADDRESS> without compiler. If that works install latest version again and increase PHP memory limit in .htaccess or server settings in hoster's admin panel.

Haven't heard anything here for a while. Close the issue now.


Support for code_search and dependency_snapshots for RateLimits

Looks like there are more options under /rate_limit to return - https://docs.github.com/en/rest/rate-limit/rate-limit?apiVersion=2022-11-28. Particularly, there are code_search and dependency_snapshots that are not implemented now. Would be nice to support them as well

Thank you, @rufusnufus .
Would you like to create a PR or you like me to open up this issue to our other contributors to this repo?

Would be happy to contribute😃

Thank you, @rufusnufus !
It's yours.


Support

Hi,
I might be interested in this kind of project.
My question is first: what is the cross paltform support? I saw : "Linux: Update Wexflow to work on Linux (Mono) and create a setup project for Linux.". Isn't .net core better?
The only advantage at the moment is: simple for you to work with windows forms; .net core can provide a powerfull web server. So do you plan to migrate to .net core? Also you can control the steps from there.
Other stuff xml is great but json can also work nice. Think on double support?
Thanks

Hi,
Regarding the cross platform support, I'm going to do the following things:

Create a console application project that will be used as a daemon under Linux so it will run like a windows service (This concerns the port of the windows service to Linux).
Create a cross platform GUI (I'll probably use something like Eto.Forms).
Create an .sh script that installs everything.

That's all.
Regarding JSON, It's a good idea but I have already started with XML and I've done a lot of development so it would be very tough to migrate everything to JSON.
Kind regards,


BaseTexture not update when canvas resource update on ios

I get a problem with PIXI.BaseTexture on ios, and i'm not sure it is a bug or i use it in a wrong way.
I have a PIXI.BaseTexture with canvas resource,  the BaseTexture update when first update canvas, but later it doesn't work.
btw: it works well on pc & andriod

Its known bug, but I cant find previous issue. I dont even know if people reported it to safari, im not familiar with their bugtracker
Workaround: add clearRect on canvas when you draw on it.
Workaround without clearRect: ??

Its known bug, but I cant find previous issue. I dont even know if people reported it to safari, im not familiar with their bugtracker
Workaround: add clearRect on canvas when you draw on it.
Workaround without clearRect: ??

I clearRect when do init, then  use putImageData to update the canvas, it dose't work; but create a new PIXI.BaseTexture with the canvas.toDataURL, the new BaseTexture work well, the old has not effect.

its not a pixi bug, but a canvas problem with putImageData.


make supplier update work

The first of many PRs to get the supplier update working

I fixed the unit tests


segmentation fault when running cross build

On archlinux x86_64
Rust has been installed through rustup
on running
cross build
I have:
[1]    31972 segmentation fault (core dumped)  /home/rog/.cargo/bin/cross build
Reproduced on two machines with archlinux x86_64 installed on it

Interesting. I developed this tool on Arch Linux :-)
Does cross -V also segfault?
Was this with a binary release? Or did you cargo install cross?
What's the output of rustc -Vv?
Could you try to debug this on your side? cargo build cross in debug mode, and call it using gdb then run build and backtrace when it crashes?

the cross -V returns normal output:
cross 0.1.3 cargo 0.15.0-nightly (298a012 2016-12-20)
I just did a cargo install cross
Here is the result of rustc -Vv
rustc 1.14.0 (e8a012324 2016-12-16) binary: rustc commit-hash: e8a0123241f0d397d39cd18fcc4e5e7edde22730 commit-date: 2016-12-16 host: x86_64-unknown-linux-gnu release: 1.14.0 LLVM version: 3.9
I'm just a new dev on rust, thus I will share the result of debug with you as soon as I have my ways with cargo, gdb, backtrace and so on ;)

Just hit this while reproducing rust-lang/rust#25362
Backtrace (release mode, hang on a sec):
#0  0x00007ffff727c446 in strlen () from /usr/lib/libc.so.6
#1  0x000055555556e56e in std::ffi::c_str::CStr::from_ptr ()
    at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/ffi/c_str.rs:505
#2  0x000055555555d896 in cross::docker::run::hc3dbd9e9e9631cb2 ()
#3  0x0000555555564730 in cross::run::h376bda05649c20de ()
#4  0x000055555556139e in cross::main::h66d374f5448f0bea ()
#5  0x0000555555580b5b in panic_unwind::__rust_maybe_catch_panic ()
    at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libpanic_unwind/lib.rs:98
#6  0x000055555557a5d7 in std::panicking::try<(),fn()> ()
    at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/panicking.rs:436
#7  std::panic::catch_unwind<fn(),()> ()
    at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/panic.rs:361
#8  std::rt::lang_start ()
    at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/rt.rs:57
#9  0x00007ffff721c291 in __libc_start_main () from /usr/lib/libc.so.6
#10 0x000055555555b1ca in _start ()

With cross debug info:
#0  0x00007ffff727c446 in strlen () from /usr/lib/libc.so.6
#1  0x00005555555af1fe in std::ffi::c_str::CStr::from_ptr ()
    at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/ffi/c_str.rs:505
#2  0x000055555557e305 in cross::id::username ()
    at /home/jonas/.cargo/registry/src/github.com-1ecc6299db9ec823/cross-0.1.3/src/id.rs:15
#3  0x000055555557a766 in cross::docker::run (
    target=cross::Target::X86_64UnknownLinuxGnu, args=...,
    cargo_root=0x7ffff6c1e0a0, verbose=false)
    at /home/jonas/.cargo/registry/src/github.com-1ecc6299db9ec823/cross-0.1.3/src/docker.rs:68
#4  0x00005555555823c3 in cross::run ()
    at /home/jonas/.cargo/registry/src/github.com-1ecc6299db9ec823/cross-0.1.3/src/main.rs:290
#5  0x0000555555580997 in cross::main ()
    at /home/jonas/.cargo/registry/src/github.com-1ecc6299db9ec823/cross-0.1.3/src/main.rs:224
#6  0x00005555555c184b in panic_unwind::__rust_maybe_catch_panic ()
    at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libpanic_unwind/lib.rs:98
#7  0x00005555555bb2c7 in std::panicking::try<(),fn()> ()
    at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/panicking.rs:436
#8  std::panic::catch_unwind<fn(),()> ()
---Type <return> to continue, or q <return> to quit---
    at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/panic.rs:361
#9  std::rt::lang_start ()
    at /buildslave/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libstd/rt.rs:57
#10 0x0000555555585033 in main ()

Code at fault
getlogin()  returns a pointer to a string containing the name of the user
       logged in on the controlling terminal of the process, or a  null  pointer
       if this information cannot be determined.

Apparently getlogin() isn't the right thing to use.
BUGS
       Unfortunately, it is often rather easy to fool getlogin().  Sometimes  it
       does  not  work  at  all,  because  some program messed up the utmp file.
       Often, it gives only the first 8 characters of the login name.  The  user
       currently  logged  in on the controlling terminal of our program need not
       be the user who started it.  Avoid getlogin() for  security-related  pur‐
       poses.

This StackOverflow answer suggests to use getpwuid(getuid()) instead.
Sorry for the comment spam, I think I'm done now :)


Fix open workfile on launch in photoshop

Fixed AVALON_PHOTOSHOP_WORKFILES_ON_LAUNCH environment variable not being retrieved correctly.

I think openpype.lib.env_value_to_bool would be actually better choice.

I also modified the other getenv!


Send chaosbot commands via issue comments (WIP)

Alright I'm not sure what happened with the other branch, but here's a clean version.
There's a lot going on, so a brief explanation is as follows.
This provides the functionality to send commands to chaosbot by commenting with a command (see below)  on any given issue. Similar to how voting for PRs goes, there's a window in which votes are gathered. As it is currently set, any negative vote will cause the command to not be run.
Current commands include:

[x] reopening issues
[x] closing issues

Suggestions for new commands are welcome and can be implemented in the future.
Thanks go out to @phil-r  for providing a clean version.
Reopening this since it had full support last time, and just missed 1 vote. Tagging WIP until it reaches a passing state

chaosbot — remaining: -1:11, vote: 6-0, weighted total: 5.5, threshold: 6.5

You alright there chaosbot?

This might be a bug. I just repulled from the same branch. Also, any idea what's going on with Travis? It was working fine before and I can't seem to find the error it mentioned.

@rudehn Chaosbot requiring Travis didn't work, so it was disabled with a hotfix. Ironically, the hotfix broke Travis by adding an unused variable. That'll be fixed with #337.

@rudehn if the record file gets lost, we could see some weird bugs. Have you thought of committing it to the repo? Obviously, this introduces a lot of complexity. Just a suggestion though... I like the PR :+1:

@mark-i-m Yes it will rerun all commands if the file ends up missing. We also could save a datetime and only run commands that have been submitted after that datetime. When we update the datetime it would prevent us from ever retrieving old commands.


Update the sequence generators

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (95068fb) 100.00% compared to head (6c33807) 100.00%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #293   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           94        94
  Lines         3234      3224   -10
  Branches       255       251    -4
=========================================
- Hits          3234      3224   -10

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add FieldExport CRD and field export reconciler

Issue #, if available: https://github.com/aws-controllers-k8s/community/issues/740
Description of changes:
Creates a new FieldExport CRD as outlined this proposal. Also creates a new reconciler that reconciles changes to FieldExport and changes to any ACK resource recognised by the current controller.
The path for reconciling a FieldExport:

Ensure the FieldExport Source resource group matches the current controller's group
Mark as managed (add finalizer)
Describe the source object
3a. If no source object is found, stop reconciling
Use the gojq library to parse the unstructured source object
Write to ConfigMap/Secret

The path when any ACK resource is updated:

Ensure the resource has the synced condition set to true
List and filter all FieldExport types in the namespace that reference the current resource as its Source
For each matching FieldExport do steps 3 and 4 from the previous path

The reconciler converts all primitive types into strings (ConfigMap is a string-string map, Secret is a string-byte[] map). If the jq query returns a list of results, we will only take the first result (this PR does not support exporting slices/maps). If the jq query returns a struct, we will not take any action, treating the query as a failure.
The reconciler will not delete any values from the ConfigMap or Secret. If the referenced field is removed from the object, the reconciler will no-op, rather than overwriting the data with an empty string. When the FieldExport is deleted, the ConfigMap or Secret will also be left untouched - meaning it contains whatever was last written to it.
Upon creating a FieldExport CR, the reconciler will initially attempt to export the field. If it fails, it will not attempt to retry. After the first sync, the reconciler will only wait until the ResourceVersion of the source object changes for it to trigger a new update.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm

@RedbackThomson @jaypipes Sorry I'm late on this one, but is this a CRD that would be packaged with every controller just like the AdoptedResource correct? If so then mitigation work in the runtime and in the code-generator should be accounted for to not package this CRD. If I'm miss understanding this apologies.

@RedbackThomson @jaypipes Sorry I'm late on this one, but is this a CRD that would be packaged with every controller just like the AdoptedResource correct? If so then mitigation work in the runtime and in the code-generator should be accounted for to not package this CRD. If I'm miss understanding this apologies.

Correct. This CRD is handled exactly in the same way as AdoptedResource. The mitigation work we put in for OLM to not package it, I think we did that for the common CRD directory? Hopefully that code already removes this new CRD as well.

@RedbackThomson Looking again at this PR and the code we have here I think adding this would be covered by whats in place. Can you please take a look and confirm? Thanks!

@RedbackThomson Looking again at this PR and the code we have here I think adding this would be covered by whats in place. Can you please take a look and confirm? Thanks!

Exactly! I tried to future proof it, and I think this still holds.

Yeah, It looks that way, missed it on the first pass of looking at this PR.


Add promptfoo

Promptfoo's masterpiece. Too good to not be listed here. + they have special red-teaming eval features

The team is also awesome! https://github.com/mldangelo and https://github.com/typpo

Thanks for the suggestion.
Promptfoo is already added. (here)


[Screen Reader-Home Page-Blog]: Alt Attribute is not defined for the image showing near Documention link on blog page.

User Experience:
Users who depends on Screen Reader will get confuse if Atl attribute is not defined for the interactive images,then information about the image will get missed from users.
Test Environment:
OS: RS2 Version 1703(OS Build 15063.483)
Platform: Edge.
Tool Used: IE11 Developer (F12)
Repro Steps:-

Navigate to https://makecode.microbit.org/acc
Navigate to the Blog in header section and select it.
Navigate to the image showing near Documentation link in left panel.
Verify that alt attribute is defined or not for the image.

Actual Result:-
Alt Attribute is not defined for the image showing near Documention link on blog page.
Expected Result:-
Alt Attribute should be defined for the image showing near Documention link on blog page.
Note: This issue exists with NVDA +FF.
MAS Reference -
https://microsoft.sharepoint.com/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={d2d2051f-bdc8-4af7-8e18-38aae867e216}
Suggested Fix:
Using a text alternative on one item within a group of images that describes all items in the group
e.g.
Rating:

          < img src="star1" alt="">
           < img src="star2" alt="">
           < img src="star2" alt="">

Please refer the attachment.

Bug is verified on URL : https://makecode.com/ and bug still exists as Still alt is not defined for the image showing near Documentation.Hence Reactivated the bug and added the Active tag.

Verified on URL: https://makecode.com/ and issue is fixed now. Hence closing the bug


Amplify console for dummies.

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting questions.
[X] I have removed any sensitive information from my code snippets and submission.

App Id
NEW_APP
AWS Region
us-east-1
Amplify Hosting feature
Deployments
Question
Looking for some friendly help to guide me on using the AWS Amplify web console to deploy a web app.  Here is what I did in the console to get to a failure point:

Click New App >> Host Web App
Select GitLab repository >> click Continue
GitLab authorization successful && selected repository && selected branch >> click Next
Added app name
Left auto-detected app build settings as is:

version: 1
frontend:
phases:
# IMPORTANT - Please verify your build commands
build:
commands: []
artifacts:
# IMPORTANT - Please verify your build output directory
baseDirectory: /
files:
- '**/*'
cache:
paths: []

Checked "Allow AWS Amplify to automatically deploy all files hosted in your project root directory"
Opened Advance Settings && added to Build Image: "docker-compose.yml"  >> clicked Next
Clicked Save and deploy
RESULTS: Provisioning failed ... "[BUILD_CONTAINER_UNABLE_TO_PULL_IMAGE: Unable to pull customer's container image. CannotPullContainerError: Error response from daemon: pull access denied for docker-compose.yml, repository does not exist or may require 'docker login': denied: requested access to the resource is denied]"

The docker install instruction from the public git are very simple:
docker install
Install git, docker and docker-compose.
Note: don't forget docker's post-installation steps! (eg for linux).
Fetch the source:
$ git clone https://gitlab.com/
Copy the environment variables file
$ cd  && cp variables.env_example variables.env
Pull and run the docker containers
$ docker-compose pull
$ docker-compose up -d
You should be able to access the website at http://localhost:8080/
Rookie warning! I have never deployed an app before, but I follow instructions well.
I searched the internet and youtube for any guidance on using the Amplify console to deploy a dockerized application, but all guidance found uses command lines, not the Amplify console app setup web interface.
Where did I go wrong attempting to learn this process?  Does anyone care to make a video on how to use the Amplify console to deploy a docker container?

Hi @ImJimORourke 👋🏽 thanks for raising this question!
Amplify Hosting supports serving static web applications using popular frameworks like React, Vue, Angular, Gatsby, etc. and SSR applications using Next.js framework. During the build process for CI/CD applications, we run a build of your application using the specified build command (ex. yarn run build, npm run build) and then we serve the build artifacts.
Currently, deploying a containerized application using Amplify is an advanced workflow available via the Amplify CLI. Your application will actually be deployed to AWS Fargate during this workflow. This is because Amplify Hosting does not have container engines that run as host containers for your application. That is why the advanced workflow will have you deploy your application with AWS Fargate instead which is a serverless compute engine for containers.
Please see Advanced Workflows: Serverless containers for more instruction for deploying your application.

Thank you for the reply.  I guess I am a bit confused as the the purpose and functionality of the Advanced settings

Build image feature of the web console?  Could you elaborate?

Advanced settings
Build image
Use our default build container, or provide your own. Learn more
Reference your build image (E.g. /)

Hi @ImJimORourke sure, let me provide some further explanation. Those settings allow you to use your own custom build image instead of the image that Amplify uses by default. If you need to leverage specific dependencies that are not part of the default build image, then it can take a significant amount of time to install those dependencies.
The solution for this is to use your own Docker image that has the required dependencies which can reduce overall build times in this scenario. Please see Custom build images for step-by-step instruction for this.
Does that provide clarity for you?


[Indonesian Translation] Create README.id.md

Thank you for contribute with Indonesian language!
Note: You need to change the translations/Translations.md too. Follow these steps. Besides that, change the LICENSE link to ../LICENSE

Thank you for your response, i just changed it.

Note: You need to change the translations/Translations.md too.

sorry, but i see in other translation they didnt changed that, so i just change the flag of indonesia

Note: You need to change the translations/Translations.md too.

sorry, but i see in other translation they didnt changed that, so i just change the flag of indonesia

All the PR's are being reviewed by me and I am trying to make sure all are following the template

could you please resolve conflicts. <3

@esau-morais will you approve it?? @ilhamm24 please wait for the review...

Thank you for contribute with Indonesian language!!
Note: Please, make sure to complete these tasks:

[ ]  Add to the main README.md the country icon
[x]  Add to translations/Translations.md the language icon

Note: To make sure you the icon is the right, follow this template

Just need to make the first change request

@ilhamm24 update README.md in the root folder of the project.


Add autoload-dev for better autoloading of test classes

Issue
When running only a subset of tests, PHPUnit would throw errors of classes that can’t be found (like in https://github.com/timber/timber/issues/1467#issuecomment-435507869). For example, wenn running the tests for the image helper only:
phpunit tests/test-timber-image-helper.php

There would be 8 errors:
1) TestTimberImageHelper::testIsAnimatedGif
Error: Class 'TestTimberImage' not found

2) TestTimberImageHelper::testIsRegularGif
Error: Class 'TestTimberImage' not found

3) TestTimberImageHelper::testIsNotGif
Error: Class 'TestTimberImage' not found

4) TestTimberImageHelper::testIsSVG
Error: Class 'TestTimberImage' not found

5) TestTimberImageHelper::testServerLocation
Error: Class 'TestTimberImage' not found

6) TestTimberImageHelper::testCustomWordPressDirectoryStructure with data set #0 ('assets/thumb-test.twig', array(100, 50))
Error: Class 'TestTimberImage' not found

7) TestTimberImageHelper::testCustomWordPressDirectoryStructure with data set #1 ('assets/thumb-test-relative.twig', array(50, 100))

8) TestTimberImageHelper::testLetterbox
Error: Class 'TestTimberImage' not found

Solution
Apparently, autoload-dev can be used to autoload classes in a development environment. By loading the classes, PHPUnit will find the classes, even if only a subset of tests is loaded.
I guess @acobster will love this 😉.
Impact
Better testing 😎.
Usage Changes
None.
Considerations
When you want to test this pull request, you also need to run composer dump-autoload to see an effect.
Are there any drawbacks to using autoload-dev?
Testing
I did some manual testing using the CLI as well as PHPStorm’s Debugging feature.

OMG autoload-dev, where have you been all my life?? Oh, right there in the Composer docs, this whole time? Oh. :laughing:

Thanks for the add @gchtr! FWIW my standard had always been:
$ phpunit --filter TestTimberImageHelper

... which for some reason worked before this PR. Glad this covers us more fully now


perftools: Add ability to auto export grafana dashboards

In long running test we eventually want to export  an extract of prometheus metrics.
In addition to that, it is useful to also export grafana dashboard.

Create scripts that can export grafana dashboards
on grafana dashboard click share --> snapshot --> publish to snapshot.raintank.io
These snapshots should be correctly tagged in the description.

This is important to compare one release from next.

V 104 performance dashboard
V 1.1 performance dashboard
V 1.1 mcp performance dashboard

/Not stale

@richardwxn can this be closed by https://github.com/istio/tools/pull/150


#2958 - Part-time NOA Summary Based on e-Cert Values - Part 1

The dynamic population of the final awards was kept and the changed code is supposed to follow the same approach already in place, to be clear.
Part-time final awards are now retrieved from the disbursement effective amount (e-Cert effective values).

The controller service now has a specific method to populate part-time and a specific method for full-time (that was already in place and was not changed).

Date sent added to the result payload for the Ministry and Institution.
There was a previous check for COE completion that is now replaced for the disbursement status defined as Sent. which fits Full-time and Part-time since both need at least the e-Cert generated to have the final awards populated.

E2E Tests

Adapted existing E2E tests.
Added E2E tests for the Ministry (tests were missing for AEST and they were added based in the existing ones for student/institution)

Should get the student assessment award summary containing all federal and provincial estimated and final awards for a full-time application with two disbursements when the receipts are available.
Should get the student assessment award summary containing estimated and final awards for a part-time application with two disbursements when e-Cert was sent.
Should throw not found exception when assessment is not found.

Add new E2E test for Students

Should not generate final award values for a part-time application when the disbursement has not been sent yet.

Bug fix

The disbursement date_sent was mapped to the wrong DB date type, causing the wrong time to persist in the database.

Upcoming PR

UI-related changes.

Good job @andrewsignori-aot . Thanks for minor refactors and taking care of data type for date_sent.
Left some minor comments.


Fix regex that matches fenced code blocks

Without this, it does not match blocks below.
<!-- ` x 4 or over -->
<!-- and have spaces on the head -->
   ````lua
   print'Hello World!'
   ````

 ` x 4 or over
Thats a good point :+1:
But leading spaces is not correct. If something is indented by 4 spaces, markdown interprets this as a codeblock.

Sorry, this PR is not relevant anymore


WHERE statement using IN operand for list with one element

There is change in operations with IN operand used in WHERE statement In ClickHouse server version 1.1.54127.
When we use statement ... WHERE column IN ('specified_value')
we get error  DB::Exception: Not found column 'specified_value' in block.
If we specify WHERE column IN ('specified_value','') -- with two entries in list
then it works, or if we use equal sign instead of IN operand.
In previous version of the server it was working with single element in list.
g.c.

I think it has been fixed in master.

I can confirm that WHERE ... IN ... statement is broken, but in my case the problem seems to be weirder:
-- `table` has a MergeTree engine
CREATE TABLE table_buffer AS table;

-- some data was inserted to `table_buffer`

-- trying to insert the data from the `table_buffer` to the `table` with a filter that prevents dupes
INSERT INTO table SELECT DISTINCT
    id, date, timestamp, field1, field2, field3, field4, field5, now() AS created_at
FROM table_buffer
WHERE (id, date) NOT IN (
    SELECT DISTINCT id, date FROM table WHERE timestamp >= '2017-01-10 11:46:35' AND timestamp <= '2017-01-11 03:40:09'
);

Code: 16, e.displayText() = DB::Exception: There is no column with name field3. There are columns: id, created_at, date, timestamp, field1, field2, field3, field4, field5, field6, field7, e.what() = DB::Exception

(actual field list is a bit different).
We have this kind of problem right after updating from the 1.1.54083 with two separate MergeTree tables (~200M rows each). The problematic fields are of the UInt32 type, not sure if it is relevant or just a coincidence.

what was the reason for merging the #314 ?
the error now is more than misleading.
the _dummy column isn't mentioned anywhere in documentation.

the _dummy column isn't mentioned anywhere in documentation.
This is internal constant. You can find it in the same file.

the error now is more than misleading.
Do you have any example of same error which was not fixed?

i was a release behind. it seems to be working fine now.
sorry for disturbing


0066333333333333333333333333333333333333333333333333333.

Hey all,
I am new to working with node/nan and I'm trying to get my C++ module to work.
I have a C++ library which has a parent object ( A ) which is designed as a factory to build a child object ( B ).
The output from A is a unique pointer to B.
What have I tried?
I have wrapped both of those classes with NaN by extending the Nan::ObjectWrap class
ie A_wrap : public Nan::ObjectWrap and B_wrap : public Nan::ObjectWrap with a method on A_wrap that produces B_wrap.
However, I would like to store a reference of A_wrap within B_wrap.
This is where I am stuck trying to figure out how to configure the A_wrap factory to throw a reference to itself into B_wrap constructor so I can save it.
Happy to provide more info, I'm still reading more of the docs :)
Any help appreciated,
Thanks

Not sure what happened here.
Sorry.

Not sure what happened here.
Sorry.


[QUESTION] Better way of doing this assignment?

imdb.groupby(["actor_1_name","actor_2_name"])["actor_1_name","actor_2_name"].count().sort(["actor_1_name","actor_2_name"])
@amitkaps ?

@dhilipsiva This will not account for combinations where the actor 1 and actor 2 are same, but the order is different. One possible ways is this...
actor12 = imdb.pivot_table(index="actor_1_name", columns="actor_2_name",
                   values="movie_title", aggfunc=lambda x: len(x.unique()), fill_value=0)

actor12.unstack().sort_values(ascending=False).head()

Have pushed this to the repo.
The next question is how do you extend this for actor_1, actor_2 and actor_3? :-)

@amitkaps Wow! Nice! This is a much elegant solution. I was trying to solve an other problem when you were teaching about using pivots - so it is a little grey. Sure thing. I will try to come up with a solution when I find time. Will close this Issue for now 😄


Azure Deployment Node JS

I had deployed your project on Azure node JS server. Also i had created Mysql DB. Now i had hosted source code on server but unable to open any webpage. Kindly help me in finding the issue.
Following is my link and config.js file screenshot where i hosted.
https://android-projectx.azurewebsites.net/panel/

Did you set the necessary environment variables?

These are the env varialbes you need to set:
DATABASE_URL - mysql database url
ADMIN_USERNAME
ADMIN_PASSWORD

And of course NODE_ENV=production

Can you please guide or provide the steps to deploy app on Azure.


The fair random generator

I've wondered for a while whether it would be possible to make the tetromino random generator  a bit more fair like described in tetris.fandom.com/…/Random_generator?
Would you be interested in implementing this feature?

I actually think I implemented the 7 bag random generator some time quite long ago. I'll see if I can find that on some old drive and what could be done with it.
In general though I'm not so much interested in adding new features (that might infringe on copyrights) to vitetris myself.

Is it actually copyrighted?

I don't think trying to answer that question is going to help. My point was that I don't really have any plans to develop more features and that I'm a bit cautious when it comes to copying game elements.
But it turns out that I already implemented a random generator like this and used it in a time attack mode back in 2009.

Check this out: d0473a54d57aaf068d99f591d13f264d9a46bde7
I don't want all these changes to end up in master, so I'm not quite sure what to do with it.
Adding just the random generator as an option somehow seems a bit odd to me as it would change the difficulty (making it easier to get higher scores). What do you think?

Yeah, that has quite a few changes together with the new random generator code. Perhaps you could remove the random generator bit, if that makes you hesitant to merge it, and then add it to master.
But hey, at least now I can check this version out for myself to play with the bag-based RNG. :P
P.S. Turns out there's even another, supposedly more advanced elaboration of the tetris RNG: https://simon.lc/the-history-of-tetris-randomizers.

That's some interesting reading, thanks!


"IndexError: list index out of range" for run example when adding -i -t to ARGS_ALWAYS

I uncommented the lines for -i and -t in the config file, like this:
ARGS_ALWAYS = {
    'run': [
        '-t',
        '-i',
        '--rm',
    ],
}

When now running sudo userdocker run -v $HOME:$HOME debian bash, I get the following error:
Traceback (most recent call last):
  File "/usr/bin/userdocker", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python3.6/site-packages/userdocker/userdocker.py", line 42, in main
    parse_and_exec_cmd()
  File "/usr/lib/python3.6/site-packages/userdocker/userdocker.py", line 35, in parse_and_exec_cmd
    args = parse_args()
  File "/usr/lib/python3.6/site-packages/userdocker/parser.py", line 72, in parse_args
    specific_parser(subparsers)
  File "/usr/lib/python3.6/site-packages/userdocker/subcommands/run.py", line 37, in parser_run
    sub_parser = init_subcommand_parser(parser, 'run')
  File "/usr/lib/python3.6/site-packages/userdocker/helpers/parser.py", line 51, in init_subcommand_parser
    "const": args[0],
IndexError: list index out of range

yupp, i had initially expected people to decide between ALWAYS and AVAILABLE...

Ah yeah, sorry, missed that part.


Update to the latest fman version (new filesystem API) and more

:sparkles:Hey, I've finally got around to fixing the plugin to work with the latest fman version and also fixed a few issues/inconsistencies (see changelog below for the full list)! :sparkles:
Couldn't figure out how to fix the toggleselection via the old method of overriding the fman's command, so changed to the new API DirectoryPaneListener.on_command(command_name, args), but then when fixing issue #6 via handling of the toggle_hidden_files command, there is an interesting bug I don't yet know how to fix:

fman raises ValueError on the first Toggle hidden files if a pane is launched with hidden files hidden (and status bar is not updated this one time)

This is due to a lack of a pane filter on startup (so removing the filter to show hidden files raises an error) and as far as I understand, it's supposed to be handled in this fman Core code
class InitHiddenFilesFilter(DirectoryPaneListener):
	def __init__(self, *args, **kwargs):
		super().__init__(*args, **kwargs)
		# We need to do this somewhere when fman starts. We can't do it in the
		# __init__ of ToggleHiddenFiles, because fman instantiates commands
		# lazily.
		if not _is_showing_hidden_files(self.pane):
			_toggle_hidden_files(self.pane, False)

... but it's not :(, and when I tried to copy this to the toggleselection's __init__.py, I got rid of the ValueError, and the status bar started to reflect the Toggle hidden files command changes correctly, but the hidden files would NOT become visible in the pane itself! So obviously it's better to suffer through a single warning instead
But maybe you have an idea about how to fix it
Changelog entries since the latest release:
v0.3.1 — 07.08.2021

Fixed

:beetle: Hidden non-dotfiles always counted; (Windows) dotfiles (even without the 'hidden' attribute) not counted if option is set to hide
:beetle: Status bar is NOT updated when a visible hidden file/folder is selected and then hidden via Toggle hidden files

v0.3.0 — 07.08.2021

Fixed

:beetle: Hidden files not counted even when they're shown
:beetle: Not updating on pane changes via keyboard switch_panes command (e.g. with a Tab)

v0.2.1 — 05.08.2021

Changed

The currently active pane indicator from Pane: Left/Pane: Right to ◧/◨
The Dirs:/Files: indicators' to align with and without selection

v0.2.0 — 05.08.2021

Fixed

:beetle: Not working with the latest fman version (1.7.3) and its new file system API (blog, API)

Thank you for all the work and good description @eugenesvk!
I have currently no idea regarding the ValueError, but will make an issue for it.
Thanks again!


improve tablet page

talking about this page:

all tabletinfo calls should be with database parameter.
print tablet type and number in big letters in the beginning of the page.
get additional information from hive using this handler (for Monitoring+ users only):
/tablets/app?TabletID=72075186224037895&page=TabletInfo&tablet=72075186224043741
display information about bound channels and storage info
make shortcats to this hyperlinks (for Monitoring+ users only):

we need: App, Counters, Executor DB Internals, State Storage

and change design of the page to match vdisk and pdisk pages

about hive:

we need to show every channel of the tablet and it storage configuration

and history of storage (for every channel)
I suggest do combine these two objects and show cumulative storage information (like a table maybe)

Desided to organize additional info as collapsible table:
Columns: Channel, StoragePoolName (from BoundChannels), GroupId, FromGeneration, Timestamp
Visible row - the last entry from TableStorageInfo.Channels array. The rest of reversed TableStorageInfo.Channels are collapsed by default.


communePlanner base encoding error

happened after fixing source harvest position construction problem
encoding / decoding bug? Seems like wrong data was submitted, perhaps an empty value

Presently I don't need any help on this issue. Thanks

We can close this, reset your base plans. If you check out the commit history you will see I changed this file. That was because I noticed that baseplans were filled single and then it couldn't be split by ,
This means that sometimes you would get an entire base plan in 1 string which was decoded as an single one


tortoise, sync: faster requests for unavailable blocks

in the implementation block is requested if it crosses local threshold. however in verifying tortoise we will never know if block crosses local threshold, so node has to wait until it falls into full tortoise.
the reason why we don't know is that we count votes only for opinions that match our own, and as we don't have data our opinion definitely will not support such block.
we need a faster way to recognize if block is needed and request a fetch. several options:

count votes not only for our own opinion but for several distinct opinions, based on the opinion hash in the ballot. so that if we see that one of the opinions starts winning we request blocks that it supports.
run full mode in parallel with verifying. it will be a bit more expensive, but generally not a problem

copying here observation, which is likely the root cause of slow block downloading
i think i found the reason why it takes so long to request blocks sometimes.
there is this code https://github.com/spacemeshos/go-spacemesh/blob/develop/fetch/fetch.go#L486-L490
it gets random peers that registered as hash providers, but it doesn't check if we are connected with that peer.
so for example on my computer i loop with for almost 20 minutes.
peer was connected, then went away but this code thinks that it should use it, which is clearly not ok
2023-08-31T08:41:17.708+0200    WARN    fd68b.fetcher   failed to fetch blocks  {"node_id": "fd68b9397572556c2f329f3e5af2faf23aef85dbbbb7e38447fae2f4ef38899f", "module": "fetcher", "error": "hint: blocksDB, hash: 0xa7fda17e3b073d66aa94e251207faca321e39e7f000000000000000000000000, err: batched request failed w retries: peer is not connected: 12D3KooWCdy5ELnzUoA8kDzG26444DqjSjbNgGMKT3fHPJo7oLmP"}
...
2023-08-31T08:58:01.793+0200	WARN	fd68b.fetcher	failed to fetch blocks	{"node_id": "fd68b9397572556c2f329f3e5af2faf23aef85dbbbb7e38447fae2f4ef38899f", "module": "fetcher", "error": "hint: blocksDB, hash: 0xa7fda17e3b073d66aa94e251207faca321e39e7f000000000000000000000000, err: batched request failed w retries: peer is not connected: 12D3KooWCdy5ELnzUoA8kDzG26444DqjSjbNgGMKT3fHPJo7oLmP"}

should've been solved with https://github.com/spacemeshos/go-spacemesh/pull/4939


Cannot install backup 4.0 with rails 4.2

Dependency mismatch leads to an error when installing alongside rails 4.2:
Bundler could not find compatible versions for gem "thread_safe":
  In Gemfile:
    rails (~> 4.2.3) ruby depends on
      activejob (= 4.2.3) ruby depends on
        activesupport (= 4.2.3) ruby depends on
          thread_safe (>= 0.3.4, ~> 0.3) ruby

    rails (~> 4.2.3) ruby depends on
      activejob (= 4.2.3) ruby depends on
        activesupport (= 4.2.3) ruby depends on
          tzinfo (~> 1.1) ruby depends on
            thread_safe (~> 0.1) ruby

    backup (~> 4.0) ruby depends on
      thread_safe (= 0.1.3) ruby

That's because you shouldn't use it in a Rails project. From the documentation:

Using Bundler

Do not add gem backup to another application's Gemfile. This means you should not add Backup to a Rails application's Gemfile. Backup is not a gem library and should not be treated as a dependency of another application. Bundler can be used to manage an installation of Backup, but the reasons for why you might want to do this is beyond the scope of this document.

See also this issue for more information.

That's really a bummer since this way you can't use along with capistrano... :/
Any suggestions on how to solve it another way?

@Sija why are you using it in combination with capistrano? To install it?
I recommend creating a separate project installing it separately.


/org Missing in Xenial (Unity)

Hi, I've managed to get Unity working in Xenial.  I did not use the unity target, but rather, entered the chroot and manually sudo apt-get install ubuntu-destop.
Then, I can start a working Unity session using sudo xinit unity.  This requires the x11 target.
Problem
It works almost perfectly!  There's some weird glitches that I'm trying to iron out.  It seems the errors that occur mostly all mention the keyword org.
Researching, I found similar issues where users had reset using e.g.
sudo dconf reset -f /org/compiz/

But, it seems the issue boils down to the fact that the /org directory does not exist!
Now, I am not an expert on the window managers.  What package would I be looking for that is responsible for generating this /org directory?
Things I Have Tried

I have tried adding the xorg target but it does not help.
I have tried reinstalling basically anything to do with Unity (ubuntu-desktop, unity, compiz, etc.)  Does not help.

@msolters,
I'm not sure why you added the unity desktop yourself but that may be what's causing the problem.
When crouton adds desktops targets, it does things specifically for the chroot environment running under Chrome OS.
I would recommend that you update your chroot via crouton with the unity-desktop target, something similar to the following should work:
sudo sh ~/Downloads/crouton -t unity-desktop -u [-n xenial]
This way, packages that are already installed and updated will be skipped but other packages that are needed will be added.
Hope this helps,
-DennisL

Hey @DennisLfromGA, the issue is that part of the unity target is the unity-2d package.  This is unresolvable in 16.04.
The two solutions are

To remove unity-2d from prepare.sh mid-installation, or to remove it from the targets file (https://github.com/dnschneid/crouton/blob/58b76a38ce4125373da8dc4023a9ab9570269482/targets/unity#L20) and recompile crouton.  Both have the same result.
Do not use the unity target and manually install.

You get different outcomes for each.  If I use the unity target, with the workaround described above, Unity will only render a background and a weird X-shaped cursor.
If I install manually, I get the full UI (dash, menu, windows, etc.).  This is why I used the manual approach.
I will verify whether or not that /org folder is generated by using the target method.  I doubt it will be but we simply don't know yet.

@msolters,
Thanx for clarifying and good to know.

I get the same thing on my Acer C710 but didn't know why, maybe I'll re-install using your approach.
When I get to my Acer C710, I'll check to see if the /org folder is present.
I may even remove the unity target from crouton's targets files, update via crouton and then install the unity-desktop from within the chroot.
Thanx again,
-DennisL

Yeah manually installing, you also have to launch the xsession manually e.g. sudo xinit unity after entering the chroot of course.
The degree to which it works is amazing.  The glitches are almost all settings-related.  For instance, you can scale the Menus & UI from Unity's Display settings.  But, not all application fonts are resized.  I don't mean Chrome or Firefox, I mean Unity itself.  For instance, the text inside the Display settings dialog itself doesn't scale when that slider is changed.  But it does on vanilla Ubuntu 16.04 installed to the same Chromebook natively.  So there's something to do with how various settings are stored in this /org object or directory that is compromised with the Crouton approach.

I've tried installing unity using your method of installing xenial with target x11 and then running apt install ubuntu-desktop from the shell.
Problem is, sudo xinit unity gives me an xterm full of errors.
Any idea whats going on? Seems like essential services aren't starting. Are there any other packages that have to be installed for this to work?
Thanks

@msolters

Do not use the unity target and manually install.

How to run Unity after the manual installation (as startunity doesn't work)?

From the first post:

Then, I can start a working Unity session using sudo xinit unity. This requires the x11 target.

@blydro I have the same issue as you:

Problem is, sudo xinit unitygives me an xterm full of errors.


import can't find rapidfuzz.cpp_impl

I use Radpidfuzz in Voco, a privacy focussed voice control addon for the WebThings Gateway smart home controller.
I'm running into an issue loading rapidfuzz (import can't find rapidfuzz.cpp_impl), and I'm not sure what's causing it.
Is Rapidfuzz compatible with this method of installing it?
pip3 install -r requirements.txt -t lib --no-binary :all: --prefix ""

I just tried a similar installation:
pip3 install rapidfuzz -t lib --no-binary :all: --prefix ""

which correctly installed the module into lib/rapidfuzz.
>>> import rapidfuzz
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'rapidfuzz'
>>> import sys
>>> sys.path.append('lib')
>>> import rapidfuzz

I assume in your case either the shared object for cpp_impl is not created correctly (In my case thats lib/rapidfuzz/cpp_impl.cpython-36dm-x86_64-linux-gnu.so) or there is a problem with the search path.

@createcandle could you get it to work?

To be honest I just wanted to fix it quickly and was able to work around the dependency on Rapidfuzz.