Orchestrator: recommendation manaer sync

Now orchestrator stop the recommendation manager as soon as it receive the  ok message from the computing env. the latter send the ok message as soon as it receive the EOF from the data topic.
The problem is that in this state the recommendation manager could not have finished to request recommendation.
We need to find a sync method that exit only if all the following:

recommendation manager flume agent has no more events to process
orchestrator has received the eof message

otherwise we should avoid to use the recommendaion manager in an async way but to request recommendation directly in the flume "test" agent

perhaps the best way would be to send a zeromq message to the orchestrator as soon as the agent receive the EOF


Consider using the Shift functionality of QuickDrop to define vs execute the top level VI

We could combine the ability to define the top level VI and then execute it within a single QD plugin (rather than two).
I would suggest using 'shift' to define the top level VI because it happens less often. The regular non-shift shortcut would then be used to execute the VI.

Another option would be to use a text entry to set or run. This option would help with issue #5 as well.

I started implementing this capability.

Closed by #9


[WIP] Completely rework the Druid getting started process

rejigger the distribution packaging to make more sense
new getting started tutorial
new clustering tutorial

Coming soon:

new streaming ingestion tutorial
redo many parts of ingestion docs (in progress)

This PR depends on Tranquility server in a stable. This PR also depends on some CSS changes to Druid docs which are coming in a separate PR.
This will rework the Druid getting started process to be very similar to Imply's recommended getting started process. The packaging of Druid will also be similar to what Imply is doing.

I love this one. :thumbsup:

@fjy could you gzip examples/quickstart/wikiticker-2015-09-12-sampled.json? There's not much reason to have it there as a text file

@himanshug @navis @gianm @pjain1 added clustering docs. More changes to come.

@gianm @rasahner @himanshug These docs do not recommend using real-time nodes. Thoughts?

@pjain1 @rasahner @himanshug @navis @gianm
This is no longer WIP and is ready to be merged. There are lots of changes to the docs and distribution.

@gianm gzipped the file so it should be easier to read this PR

@himanshug addressed comments

@rasahner addressed comments

:+1:

+1 when author thinks it is ready.

I have no other comments.


feat: add moon orbit lab

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

To-Do:

[ ] Link the animated prototype somewhere/ add to preview modal.

Poject protoype here.

@Dario-DC, I have added some more user stories and tests for positioning of the elements.

@Dario-DC, I have made the following adjustments to the stories and tests:

Checked order of space, earth, moon divs in html.
Added user stories and tests for aligning items in the body.
Added a user story and test for adding transform: translateX(-50%); to .moon

The new stories now would guide the campers in detail.

@Dario-DC, the name has been updated in this commit. Seems fine or does it need to change?

@Dario-DC, the name has been updated in this commit. Seems fine or does it need to change? Should I update it in intro.json as well?

Yes, I would update the intro.json.

Done!

@moT01
We have recently opened up the canary testing again on discord.
So we will get some feedback from those testers on workshops and labs.
Plus, we will be able to test more and iterate from there once it is beta 👍


Fixing the semantics of CWD/CDQ/CQO

The bug was surfaced during semantic translation of cqto in
mov    %rdi,%rax
cqto
idiv   %rcx

The fix was made as per the Intel manual which says
IF OperandSize = 16 (* CWD instruction *)
    THEN
         DX ← SignExtend(AX);
    ELSE IF OperandSize = 32 (* CDQ instruction *)
         EDX ← SignExtend(EAX); FI;
    ELSE IF 64-Bit Mode and OperandSize = 64 (* CQO instruction*)
         RDX ← SignExtend(RAX); FI;
FI;

Please let me know the changes seems reasonable.

Hi @sdasgup3, thanks for the fix! The master branch of McSema is mostly deprecated in favor of using the use_remill_semantics branch (also you can try the thunk_resolution branch).


Composite Rules

While using composite rules to add my rules, i don't have the flexibility of using annotations. In this case, i realised the system expects Basic rule to be extended. Is there any specific reason for this?

Hi, no reason. The addRule method of CompositeRule should take an object which can be an annotated POJO, not only a Rule. I'll make this change for next release. Keep tuned.

Cool. Thank you.

Hi, this has been fixed in #41 . I've already updated the API to be able to use annotated POJOs with composite rules. It seems that it works as expected, but can you give it a try with version 2.3.0-SNAPSHOT? two heads are better than one :smile:

@raksha-rao I'm preparing to release v2.3 with this fix. If you still have any issue, please reopen the issue.
Kind regards
Mahmoud

@benas  I was using the previous version which is why I came across the discrepancy. My mistake. Thank you.


[Danmu Service] What does the argument "long id" in method likeDanmu() refers to?

Describe your question
/**
     * Likes a danmu.
     * If the user already liked the danmu, this operation will cancel the like status.
     * It is mandatory that the user shall watch the video first before he/she can like a danmu of it.
     *
     * @param auth the current user's authentication information
     * @param id   the danmu's id
     * @return the like state of the user to this danmu after this operation
     * @apiNote You may consider the following corner cases:
     *

     *
{@code auth} is invalid, as stated in {@link io.sustc.service.UserService#deleteAccount(AuthInfo, long)}

     *
{@code id} is invalid (<= 0 or not found)

     *

     * If any of the corner case happened, {@code false} shall be returned.
     */
    boolean likeDanmu(AuthInfo auth, long id);

What does "the danmu's id" means? Beaucase there is no attribute refers to "id" in the DTO class DanmuRecord. Does it means we should assign an id to each danmuRecord?
Similarly, when users are registering, should we assign an mid to each of them? When videos is being posted, should we assign a bv to each of them?

@sses7757 we will add a danmu id in the record dto? can't tell if we've discussed it

@Ray0v0
You shall assign a unique danmu ID for each danmu you import, like long sendDanmu(AuthInfo auth, String bv, String content, float time);. Likewise, as stated in long register(RegisterUserReq req);, you shall assign a unique user ID for each user you import or create.
Overall, this is not a bug since we have List<Long> displayDanmu(String bv, float timeStart, float timeEnd, boolean filter); to query your danmu IDs.

@Ray0v0 You shall assign a unique danmu ID for each danmu you import, like long sendDanmu(AuthInfo auth, String bv, String content, float time);. Likewise, as stated in long register(RegisterUserReq req);, you shall assign a unique user ID for each user you import or create. Overall, this is not a bug since we have List<Long> displayDanmu(String bv, float timeStart, float timeEnd, boolean filter); to query your danmu IDs.

Hello reviewer. I would like to ask further what is the mid & bv  format for those imported data? Or should our newly assigned mid & bv have consistenet format with them? Thanks.

@dequeueing
In general, the IDs have to be integers with at most 64bit size, and the BVs shall be strings starts with "BV" and only uses characters from [0-9], [a-Z] and [A-Z]. However, for simplicity, there is no length limitations for your generated BV code.


[python3] Remove static libraries belonging to python3 executable

python3.lib (which belonging to python3.exe) has the same symobls with python310.lib, caused the following link issue:
LNK2005	_Py_Finalize already defined in python.lib(python.exe)
LNK2005	_Py_Initialize already defined in python.lib(python.exe)
LNK2005	_PyRun_SimpleStringFlags already defined in python.lib(python.exe)

So remove it.
Fixes #23288.

So remove it.

move it into manual link?
The libraries are not exactly the same and the reason it breaks is again the MSBuild integration.
Maybe CC @Hoikas ?

move it into manual link? The libraries are not exactly the same and the reason it breaks is again the MSBuild integration.

I don't think it's useful to store an executable static library, is it?

python3.lib is the Python "limited API" library (see python3.dll) that lets you compile extensions for multiple versions of Python. I agree with @Neumann-A that it should be moved into manual-link. Deleting python3.lib is incorrect.


Fixed db-reset task on Windows

grunt db-reset:development did not work on Windows 8.1, because cmd.exe has special syntax to run multiple commands and set environment variables. I fixed this problem. The code was tested on Windows 8.1 and node 0.12.0

Thanks Ilya :+1:


Rule from #31 not working with markdown files

I suspect this is related to the enhancement provided in #31 where the plugin is configured to avoid autopairing in comments.
How to reproduce:

Add rule mentioned above.
Open a new .md file
Attempt to add a valid Markdown header like ##Something

...e/windowsrefund/.config/nvim/lua/plugins/ultimate-autopair.lua:27: attempt to index a nil value
stack traceback:
	...y/ultimate-autopair.nvim/lua/ultimate-autopair/debug.lua:104: in function '__index'
	...e/windowsrefund/.config/nvim/lua/plugins/ultimate-autopair.lua:27: in function 'check_rule'
	...autopair.nvim/lua/ultimate-autopair/extensions/rules.lua:54: in function 'check_rules'
	...autopair.nvim/lua/ultimate-autopair/extensions/rules.lua:73: in function <...autopair.nvim/lua/ultimate-autopair/extensions/rules.lua:69>
	[C]: in function 'xpcall'
	...y/ultimate-autopair.nvim/lua/ultimate-autopair/debug.lua:121: in function <...y/ultimate-autopair.nvim/lua/ultimate-autopair/debug.lua:120>
	...zy/ultimate-autopair.nvim/lua/ultimate-autopair/core.lua:40: in function <...zy/ultimate-autopair.nvim/lua/ultimate-autopair/core.lua:32>

Curious to hear your thoughts and/or answer any questions.

Can you please give me the contents of your config file containing the auto-pair config, or at least line 27?

Happy to report I appear to have solved this by identifying and removing a piece of the config that was leaning into core.disable. Something I believe I was testing but never fleshed out. My guess is that it may have created the race condition against the rule mentioned in #31. That said, it's now interesting to see that a markdown comment is not qualifying against the rule and as a result, pairing still works (which is counter to the objective of the anti-comment rule previously mentioned).
Here's my current config
return {
  {
    'altermo/ultimate-autopair.nvim',
    enabled = true,

    event = { 'InsertEnter', 'CmdlineEnter' },
    config = function()
      require('ultimate-autopair').setup({
        -- Disable autopair in the command line: https://github.com/altermo/ultimate-autopair.nvim/issues/8
        cmap = false,
        extensions = {
          rules = {
            rules = { { 'call', function(o)
              return o.incmd
                  or o.col == 1
                  or not pcall(vim.treesitter.get_node, { pos = { o.linenr - 1, o.col - 2 } })
                  or vim.treesitter.get_node({ pos = { o.linenr - 1, o.col - 2 } }):type() ~= 'comment'
            end
            } }
          },
          filetype = {
            p = 80,
            nft = {
              'TelescopePrompt',
              'text',
            },
          },
          -- Get Fly Mode working on strings: https://github.com/altermo/ultimate-autopair.nvim/issues/17
          fly = {
            nofilter = true,
          },
        },
        { '"', '"', fly = true, p = 11 },
        { "'", "'", fly = true, p = 11 },
      })
    end
  },
}

Now, I open a .md file, press gco to insert a new comment and from within the newly added comment, type ' or any character this plugin normally pairs. The expectation here is that pairing should not occur. However, it does. Worth noting is the markdown treesitter parser is installed.

There are 2 different unrelated problems:

The error is caused by the fact that vim.treesitter.get_node can return nil (sorry about not checking)

Corrected version of config
require'ultimate-autopair'.setup({
  extensions={
    rules={rules={{'call',function(o)
      local status,node=pcall(vim.treesitter.get_node,{pos={o.linenr-1,o.col-2}})
      return o.incmd
        or o.col==1
        or not status
        or not node
        or node:type()~='comment'
    end
    }}}
  }
})

Markdown comments have the tsnode-type html_block and not comment

Config which contains to disable in `html_block` (NOTE: may cause some incorrectness, but generally works)
require'ultimate-autopair'.setup({
  extensions={
    rules={rules={{'call',function(o)
      local status,node=pcall(vim.treesitter.get_node,{pos={o.linenr-1,o.col-2}})
      return o.incmd
        or o.col==1
        or not status
        or not node
        or node:type()~='comment' and node:type()~='html_block'
    end
    }}}
  }
})

Very interesting. I'll close this out tonight once I get a chance to incorporate. Thank you.

Working quite nicely over here. Thanks again. I can't help but wonder if these (now) known patterns might find their way into feature flippers at some point. Something along the lines of a boolean like disable_comments = true or something at a higher level. While obviously very powerful, I just don't know how likely it is that non programmers are going to be able to fully leverage rules  in order to carve out these bits of functionality as needs arise over time. Just something to think about. Thank you once again!

From your suggestion of creating something that makes disabling inside comments easier, I created the extension tsnode which can disable inside/outside of ts-nodes.
To disable inside comments:
require'ultimate-autopair'.setup({
  extensions={
    tsnode={outside={'comment'},p=50},
}})


feat: Files cache to persist photos with background tasks (#1593), but also for #413 (short living)

This PR allows the implementation of caches.
The first one is a "FilesCacheManager": by storing files on the local storage.
It is a requirement to persist photos with background tasks (#1593), but also for #413 (short living)
Will fix #1595

Codecov Report

Merging #1600 (e807ab3) into develop (2ea0da3) will increase coverage by 0.33%.
The diff coverage is 17.41%.

@@            Coverage Diff             @@
##           develop   #1600      +/-   ##
==========================================
+ Coverage     8.86%   9.19%   +0.33%
==========================================
  Files          161     163       +2
  Lines         6623    6733     +110
==========================================
+ Hits           587     619      +32
- Misses        6036    6114      +78

Impacted Files
Coverage Δ

...s/smooth_app/lib/data_models/user_preferences.dart
34.42% <ø> (+2.11%)
:arrow_up:

...mooth_app/lib/generic_lib/widgets/smooth_card.dart
0.00% <ø> (ø)

packages/smooth_app/lib/main.dart
17.34% <0.00%> (-0.55%)
:arrow_down:

...oth_app/lib/pages/onboarding/country_selector.dart
0.00% <0.00%> (ø)

...ges/smooth_app/lib/pages/product/summary_card.dart
0.00% <0.00%> (ø)

...es/smooth_app/lib/pages/scan/ml_kit_scan_page.dart
0.96% <0.00%> (ø)

...mooth_app/lib/widgets/smooth_product_carousel.dart
0.00% <ø> (ø)

...ages/smooth_app/lib/helpers/permission_helper.dart
3.22% <3.22%> (ø)

packages/smooth_app/lib/pages/scan/scan_page.dart
4.10% <3.38%> (+1.60%)
:arrow_up:

...ges/smooth_app/lib/pages/scan/scanner_overlay.dart
5.71% <5.88%> (+5.71%)
:arrow_up:

... and 2 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 e2aa72d...e807ab3. Read the comment docs.

I will change the PR to support both getTemporaryDirectory & getApplicationDocumentsDirectory.
But you are welcome to add any comment meanwhile

Thanks for your feedbacks @M123-dev, all applied 👍

Analyzing smooth-app...
warning • The left operand can't be null, so the right operand is never executed • packages/smooth_app/lib/cache/files/files_cache_impl.dart:48:17 • dead_null_aware_expression

3 little merge conflicts

I totally forgot this PR ☺
Comments from @monsieurtanuki are taken into account.

the merge conflict is fixed.

There are still 2 open conversations, so please wait before merging.
Thanks :)

ok to merge @g123k @monsieurtanuki ?


startup error messages

Here are some startup errors:
bruce@titanium [cifdb](master) > larch
  File "/usr/local/lib/python2.7/dist-packages/larch/builtins.py", line 345, in _plugin_file
    out = imp.load_module(plugin, fh, modpath, desc)
  File "/usr/share/larch/plugins/diFFit/cifdb.py", line 42, in <module>
    from larch_plugins.math import as_ndarray
Python Error at plugin '/usr/share/larch/plugins/diFFit/cifdb.py', line 0
   ^
ImportError: cannot import name as_ndarray
  File "/usr/local/lib/python2.7/dist-packages/larch/builtins.py", line 345, in _plugin_file
    out = imp.load_module(plugin, fh, modpath, desc)
  File "/usr/share/larch/plugins/wx/xrddisplay.py", line 63, in <module>
    from larch_plugins.math import index_of
Python Error at plugin '/usr/share/larch/plugins/wx/xrddisplay.py', line 0
   ^
ImportError: cannot import name index_of
==============================================================================
Larch 0.9.33 (2017-Apr-3) M. Newville, M. Koker, B. Ravel, and others
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609],
numpy 1.12.1, scipy 0.19.0, matplotlib 1.5.1, wxpython <IP_ADDRESS>
==============================================================================

The first one was resolved by editing line 42 of /usr/share/larch/plugins/diFFit/cifdb.py to read
from larch.utils import as_ndarray

instead of
from larch_plugins.math import as_ndarray

I don't quite understand how the file /usr/share/larch/plugins/diFFit/cifdb.py gets built.  It seems to be processed from something under plugins/difFFit/, but not in a way that is clear to me.
The similar change in /usr/share/larch/plugins/wx/xrddisplay.py seemed to work.  There seems to be some confusion in how @margaretkolbeannellen imports things from the math utilities plugin.  (Or something broken on my computer, I suppose....)
At this point, I see this upon start-up:
bruce@titanium [xraylarch](master) > larch
  File "/usr/local/lib/python2.7/dist-packages/larch/builtins.py", line 345, in _plugin_file
    out = imp.load_module(plugin, fh, modpath, desc)
  File "/usr/share/larch/plugins/wx/xrddisplay.py", line 65, in <module>
    from larch_plugins.xrd import calc_q_to_d,calc_q_to_2th,calc_d_to_q,calc_2th_to_q
Python Error at plugin '/usr/share/larch/plugins/wx/xrddisplay.py', line 0
   ^
ImportError: cannot import name calc_q_to_d
==============================================================================
Larch 0.9.33 (2017-Apr-3) M. Newville, M. Koker, B. Ravel, and others
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609],
numpy 1.12.1, scipy 0.19.0, matplotlib 1.5.1, wxpython <IP_ADDRESS>
==============================================================================

This stumps me.  When I ack for the string calc_q_to_d in the build directory, I don't get a hit.  When I ack for that string in  /usr/share/larch/, it is found in plugins/diFFit/XRDCalculations.py, which seems to be a generated file.  And I guess I don't really understand how plugin access is implemented in Larch.
HTH,
B

Bruce,
This error results from an older version of the code already exisiting in your path. If you start by removing/deleting the installed larch plugins directory (should be /usr/share/larch/plugins/ for you), and then perform an install, this error will go away. An out of date version of the script is creating the trouble.
Best,
margaret

Thanks Margaret.


Package structure

@constantinpape @KateMoreva
I found the package structure a bit confusing:
https://github.com/mobie/mobie-io/tree/develop/src/main/java/org/embl/mobie/io
The opening of n5 based files is "hidden" within "util". I think it should live on a similar level as ome.zarr
I would suggest to add an org/embl/mobie/io/n5 package and move the n5 loaders readers and so on there and only keep the helper classes in the util package.
What do you think?

I would suggest to add an org/embl/mobie/io/n5 package and move the n5 loaders readers and so on there and only keep the helper classes in the util package.

Yes, I agree. This would make more sense.

Great Thanks a lot!!


Add --no-escape flag for Markdown printer

Prerequisites
Put an x into the box(es) that apply:

[ ] This pull request fixes a bug.
[ ] This pull request adds a feature.
[ ] This pull request enhances existing functionality.
[ ] This pull request introduces breaking change.

For more information, see the Contributing Guide.
Description
This PR adds a new flag --no-escape to markdown (also its alias: md) commands to not escaping special characters. The issue has been discussed at length at #111 .
Note that the default behavior is that Markdown printer escapes the characters and you need to explicitly tell terraform-doc to not escape them.
Issues Resolved
Fixes #111
Checklist
Put an x into all boxes that apply:

[x] I have read the Contributing Guidelines.

Tests

[x] I have added tests to cover my changes.
[x] All tests pass when I run make test.

Documentation

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Code Style

[x] My code follows the code style of this project.

@metmajer Since "escaping" is now a new concept, I've changed the test golden files to be in normal non-escaped state and added a new file with escaped characters.

@khos2ow thanks for the PR, I'll provide some feedback over the next days!

@khos2ow if escaping is the default (escaping has to be disabled explicitly using --no-escape-flag), why are the existing golden files not in the escaped state then? These should reflect the default case. From your explanations, however, I understand that this is not the case?

@metmajer sorry for the delay. It indeed is disabled by default (set here).
All the existing golden files and corresponding test cases follow the same approach and I didn't want to change the logic in only one test. I mean flags --no-required and --no-sort are disabled by default but we explicitly enable them only in their corresponding test cases (TestPrintWithRequired and TestPrintWithSortByName) and this is the same case for --no-escape and TestPrintWithEscapeName.

@khos2ow likewise, and thanks. I should have taken the time to double-check on our default behavior. Current projects are keeping me busy like crazy. Cheers!


Update 'Archive team' examples to Graph SDK 5.*

The documented code snippet for archiving a team (at least) in C# is wrong.
While the current version throws an ArgumentNullException
var graphClient = new GraphServiceClient(requestAdapter);

await graphClient.Teams["{team-id}"].Archive.PostAsync(null);

The following statement works as expected:
var requestBody = new ArchivePostRequestBody();
await graphClient .Teams["{team-id}"].Archive.PostAsync(requestBody);

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

ID: a20088f1-c784-991b-952d-238b1b74fba5
Version Independent ID: 5b72dce5-7cea-d2fd-327e-dd1d8860ccd8
Content: Archive team - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/team-archive.md
Product: microsoft-teams
Technology: microsoft-graph
GitHub Login: @nkramer
Microsoft Alias: MSGraphDocsVteam

@MaWa19 - Thanks for reporting your issue. We will check this and update you soon.

@MaWa19  -   We see that Document has already been updated.Please let us know if you have any queries

We are closing this issue for now, please feel free to reopen it, if required.


Initial database setup with sample entries

Should migration files be gitignored?

Should migration files be gitignored?

who knows )))))

Should migration files be gitignored?

who knows )))))

Looked it up, don't think they should be ignored :)


fixed factual discrepancy, added forge, no more ugly numbers

note: forge needs you to run a command to install it as a server

merged


Always attach service_provider_sid to a carrier

Service provider sid was not attached when an account level carrier was created, thus Phone number fetch of carriers did not contain account-related carriers.
This now allows the Account user to create account level Carrier and then add a Phone number.
I still think that we should restrict /SP API to return only relevant account carriers. Now if there are more accounts all will be fetched.
Related PR was created to limit /SP API to scope for both VoipCarriers and Speech Creds
https://github.com/jambonz/jambonz-api-server/pull/96

@davehorton @kitajchuk this can be merged. This is just adding a Service Provider ID to when we create carriers regardless via which link. They all still need to be connected to an SP and they were not before, this is why Account user-created ones did not appear in the list of SP providers.

To test:
create an account user
login as an account user
Create a Carrier for the account user is responsible for
try to add a Phone number


refactor and license issues

What are the license issues?

@smolnp shouldn't we change the licenses on each file and Easy Paint to Paint ?
Cause Gr1n/EasyPaint is not being supported. That's why thought that I should change the name and details, where Easy Paint is mentioned

https://github.com/maifeeulasad/Paint/commit/78f181d9d54d378049ec922ee9f0137d99733376 , https://github.com/maifeeulasad/Paint/commit/2ca0fda9f9fb102d563d32ebbd3d94f1d2b01d20

Can it be more profitable to use unoccupied names - "OpenPaintQt", "OpenDraw", "EasyDraw", "EasyPencil" or any other? The name "Paint" is quite common and can cause confusion or legal problems.

It is also necessary to mention that the product is an offshoot of EasyPaint and point out the developers of EasyPaint.

Renaming the editor is not long, you just need to choose its name.

@smolnp I've already mentioned there contributions here, at the very first line of readme. OpenPaint sounds fun. If you are cool with it let me know. We can refactor then.

OpenPaint

https://openpaint.en.softonic.com/?ex=BB-1549.2, https://github.com/search?q=openpaint

Joss Drawing ? I'm quite sure there is no application name joss drawing.

@smolnp I've already mentioned there contributions here, at the very first line of readme. OpenPaint sounds fun. If you are cool with it let me know. We can refactor then.

Why isn't Joss Peter? :-))

Let's just keep it Joss Paint, and move on.

@smolnp doesn't the license look better now ?

ok, so keep it Joo Paint and move forward.
https://github.com/maifeeulasad/Paint/issues/14#issuecomment-747325072


Property.key might not be a PrivateIdentifier

https://astexplorer.net/#/gist/d3b754be4002e2073a4edf60cef78b90/999019efedfc3882485ab2be3340e217b9644b42
define({
  foo: null,
  bar: null,
})

Meriyah reports that both "foo" and "bar" are simple Identifiers and not PrivateIdentifiers.

Are these supposed to be PrivateIdentifiers? Can you elaborate?

Are these supposed to be PrivateIdentifiers?
I don't really know. It's just how mariyah handles it. :shrug:

Closing it. If still have the problem then please reopen the issue.


[Storage] Replay GCS Bucket Lock

@garrettjonesgoogle this PR is a duplicate of #3574.

Broken Appveyor (branch) tests are pubsub and logging unrelated. Second Appveyor (pr) passed. Merging into interim branch for now.


Add An Simple testing framework: Pest

A Pest (a testing framework) into Testing section.

Thanks.


SVG preview glitches

When you save the entry with a big svg it has to unwanted effects:

When it's too wide and in the aside section, the hole column goes under the main column. The image could be in the need of a "max-width: 100%"?
It doesn't have a max-height eighter. So it takes a lot of place if the image is tall.

Wrong project. Issue open in the right project here :
https://github.com/Solutions-Nitriques/image_preview/issues/9


Mouse on top edge of screen triggers Chrome "full screen message" in crouton window

I understand this is a security feature in chrome, but I was wondering if this feature could be disabled when running a fullscreen crouton window via the chrome extension.

i have the same issue and would like to disable it

Can't be disabled, sorry.  If you usually run full-screen, you may want to consider switching to the xorg target for X11.


Resizing while maintaining the ratio

Hi there,
First of all great plugin. Works very easy.
But I have one question.
Is it possible to resize a element but keeping the ratio?
Thanks

Noticed that this works with an image. But not working perfectly. The selection can be resized without respecting ratio but the image itself keeps it's ratio.

It is not possible. However if would make a good feature. I will think
about it.
The only reason an image preserve it's aspect ratio is because the default
value of the preserveAspectRatio attribute is true. If you change it, it
will behave a normal rectangle.
Actually the image container always behaves like that - only the image
itself will fit the container or it will preserve the aspect ratio - as you
defined.
Tim van Uum<EMAIL_ADDRESS>schrieb am Mi., 17.02.2016, 13:38:

Noticed that this works with an image. But not working perfectly. The
selection can be resized without respecting ratio but the image itself
keeps it's ratio.
—
Reply to this email directly or view it on GitHub
https://github.com/Fuzzyma/svg.resize.js/issues/10#issuecomment-185181416
.

Cool, for now this not really an issue for me but would be nice if this is a feature. For me it's just about the image resizing so for now I can deal with only the selection that doesn't respect the ratio.

+1! Great plugin. I'd love to be able to lock the aspect-ratio too while resizing.

This was actually pretty easy. The quick and dirty hack is to edit ResizeHandler.prototype.update. Change diffY's assignment to be equal to diffX / someAspectRatio.
If you like @Fuzzyma I can create a PR that applies this logic conditionally if someone instantiates the resize with a new option of aspectRatio.

UPDATE: that fix only works when manipulating the TopLeft and BottomRight control points.  (I'm hiding all but the bottom-right control point via CSS.)
Hope that helps someone.  I'll hold off on that PR @Fuzzyma . Thanks again for the awesome plugin!

+1

so the question is: when to allow forced aspect ratios? Only at the corners? Or at the edges, too?
Its after all not that easy to implement because the resizing algo works with differences only and not with absolute values of width and height. I wonder why I made this decision back then...

To maintain the ratio diffX and diffY need to be the same in abs values, right? So before passing there values foward, I test then and make then equal to the higher diff. The only important thing is to remeber direction.
// Left-Top-Edge
        case 'lt':
                // We build a calculating function for every case which gives us the new position of the this.el
                this.calc = function (diffX, diffY) {
                    // The procedure is always the same
                    // First we snap the edge to the given grid (snapping to 1px grid is normal resizing)

                    if(Math.abs(diffX) > Math.abs(diffY)){
                        diffY =  diffX;
                    } else {
                       diffX = diffY;
                    }

                    var snap = this.snapToGrid(diffX, diffY);

...

// Right-Top
            case 'rt':
                // s.a.
                this.calc = function (diffX, diffY) {

                    if(Math.abs(diffX) > Math.abs(diffY)){
                        diffY = -diffX;
                    } else {
                       diffX = -diffY;
                    }

                    var snap = this.snapToGrid(diffX, diffY, 1 << 1);

...

// Right-Bottom
            case 'rb':
                // s.a.
                this.calc = function (diffX, diffY) {

                    if(Math.abs(diffX) > Math.abs(diffY)){
                        diffY = diffX;
                    } else {
                       diffX = diffY;
                    }

                    var snap = this.snapToGrid(diffX, diffY, 0);

...

// Left-Bottom
            case 'lb':
                // s.a.
                this.calc = function (diffX, diffY) {

                    if(Math.abs(diffX) > Math.abs(diffY)){
                        diffY =  -diffX;
                    } else {
                       diffX = -diffY;
                    }
                    var snap = this.snapToGrid(diffX, diffY, 1);


Update nitro.ts

Types of changes

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

Description

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes (if not applicable, please state why)

Hey @Maxp777
Could you explain why this change is needed?

like here https://nitro.unjs.io/guide/advanced/plugins

@Maxp777
But it works the same as what it is there right now. Also, this is how other modules are registering nitro plugins -> https://github.com/nuxt-modules/html-validator/blob/main/src/runtime/nitro.ts

@Maxp777
But it works the same as what it is there right now. Also, this is how other modules are registering nitro plugins -> https://github.com/nuxt-modules/html-validator/blob/main/src/runtime/nitro.ts

I don't understand why they added it then defineNitroPlugin


Error reading character data

I can't seem to login into procurement getting this error: [Error] Error reading character data for Kilsaber, if you are in offline mode you will need to login and update. If you received this error while logging in, the authenticated session may have expired or bad data has been returned by GGG or a network issue may have occurred - Please try again.

If you have a character with an expired name you will get this error. If that's the case you can log into the expired characters and give them a new name to fix the problem.

Running into this myself, and for a current character--nothing expired.

I have same problem. Load all to point "Loading TryDuelMyFists's inventory... "
Then Error reading character data for TryDuelMyFists, if you are in offline mode you will need to login and update. If you received this error while logging in, the authenticated session may have expired or bad data has been returned by GGG or a network issue may have occurred - Please try again.
I log in with sesion id and forum account name. Both correct. Sesion was fresh. 1.16.0 version.
Btw i hear is and option to go around and don't load Character data, or do it manualy. I have do that (have this wall of text) but idk what is the next step.

what's the option to go around and don't load Character data

empty list MyCharacters - DownloadOnlyMyCharacters=True

In the application installation folder there will be a folder with your profile name on it.  Can you please zip up the bin files for me and I will try and replicate and resolve this issue.

Hah, I went back to retry it and it worked. So never mind on my end!

If this is still an issue, update to Procurement 1.20.0 and create a new ticket if there are further issues.


segmentation fault (Linux only)

problem
Multiple calls of ENepanet (but also ENopen ENrun ENclose sequences) generate segmentation fault (Linux only).
example
pathname has to be changed, it must refer to an existing (correct) inp file
#include <stdio.h>
#include "epanet2.h"
int   main(){
    int errcode;
    errcode = ENepanet("/home/maurizio/EPANET/example-networks/Net1.inp","temp.txt","",NULL);
    printf("\nfirst run errcode = %d\n", errcode);
    errcode = ENepanet("/home/maurizio/EPANET/example-networks/Net2.inp","temp.txt","",NULL);
    printf("second run errcode = %d\n", errcode);
    return(0);
}

output:
maurizio@maurizio-VirtualBox:~/EPANET/build/Linux$ ./test1

first run errcode = 0
Segmentation fault (core dumped)

Solution
fixed in #63
new output:
maurizio@maurizio-VirtualBox:~/EPANET/build/Linux$ ./test1

first run errcode = 0
second run errcode = 0

merged, so closing


Don't decode querystring while adding apiExpanders

addExpandersToPath parses the current querystring, makes modifications, and then stringifies it again. stringify is called with encode: false so we need to call parseUrl with decode: false to match.
This should be backwards compatible unless there are expanders whose name includes an urlencoded character, or code somewhere which is already doing extra encoding to work around this bug.
Fixes #4718

I don't understand the failing unit tests yet. They are failing only in CI on Node 18, they work for me locally.

Looks like the test failures are a regression in Node 18.16.0: https://github.com/nodejs/node/issues/47563

@davisagli I added more tests just to be 100% sure.


Improved Chromebook Support

The demo I ran at RustConf ran on Chromebooks, specifically the Asus Chromebook Flip C302CA (which is also The Wirecutter's recommendation for best Chromebook). These machines were great to demo with, since they synced the browser's starting and home pages, auto-loaded the "never sleep" extension required to keep the demo running, and could be completed cleaned and rebooted in a matter of minutes. Chromebooks differ, and the Asus Flip featured a tablet mode that allowed the keyboard to be swung behind the screen on a 180° hinge. There's a few features that could better accomodate various Chromebook modes:

[ ] Support showing the virtual keyboard by default in tablet mode. The easiest way to trigger this is to give focus to an  or  element, but that implies that the cursor needs to be a "text input" element and not just a  to make this work cross-platform. The upshot is accessibility APIs can also be tapped into in this way.
[ ] Allow dragging to select a section of text using multitouch. At the moment the caret follows wherever you drag with your finger. It never initializes the "selection" logic to set a starting anchor caret and have the focus caret follow the user. (This may just involve changing out JS events that are mouse-specific events with touch-aware events.)
[ ] Allow edit.io to be installed as a native Chrome App.

cc @creationix

Unrelatedly, I'm now running demos on the Dell Chromebook 3380, which can be purchased from the outlet for just $230. It's so charming.


Issue with non english characters

Just got this using 2.7, conda environment w/ tensorflow. My library definitely has a lot of accents
---------------------------------------------------------------------------
UnicodeEncodeError                        Traceback (most recent call last)
<ipython-input-2-df9cbca52326> in <module>()
     19     if song and song.rating:
     20         if song.rating > 80:
---> 21             print("{n}, {r}".format(n=song.name, r=song.rating))

UnicodeEncodeError: 'ascii' codec can't encode character u'\xf1' in position 5: ordinal not in range(128)

I'm simply testing out the code for using pickle.

how is song.name read from itunes xml? itunes has utf-8 encoding, is the file being parsed as utf-8?


Maintenance: review Docs automation when triggered by Dependabot

Summary
As part of our PR merged workflow we have a step that builds and publishes the latest version of the documentation. The automation seems to be failing to retrieve AWS credentials whenever it's triggered by a PR merged by Dependabot (i.e. using @dependabot merge and letting the tool merge the PR).
We should review this case and assess if it's possible to fix this in a secure way.
Why is this needed?
So that the documentation can be rebuilt and published whenever there's a change related to dependencies that is triggered by Dependabot.
For example: Dependabot opened a PR to update a dependency related to the docs and we want to publish a new version that uses the new version.
Which area does this relate to?
No response
Solution
No response
Acknowledgment

[X] This request meets Powertools for AWS Lambda (TypeScript) Tenets
[ ] Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET

Future readers
Please react with 👍 and your use case to help us understand customer demand.

Yes, I agree with you actually.
I think we should enable merge queues instead, so we can review and queue the PR and it would follow a similar flow.
My request of using @dependabot merge was to tell the bot to merge whenever checks were green, so that would work similarly I think.

This is no longer an issue - closing.


Bugfix/issue78 issue82 issue83 issue84 issue85 issue86 issue87 metrics names corrections

Resolves #78
Resolves #82
Resolves #83
Resolves #84
Resolves #85
Resolves #86
Resolves #87

Closed as commits don't comply to sign requirements


What is the motivating use case for writable misa?

After the discussion on riscv/riscv-qemu#59 I realize I don't know myself.

Emulating less-capable systems.
Disabling C extension to help with code that requires proof that indirect jumps can't jump to the middle of an instruction.

On Sat, 22 Apr 2017 18:20:16 -0700, Andrew Waterman<EMAIL_ADDRESS>said:

| Emulating less-capable systems.
And emulating non-standard extensions that stomp on standard
extensions.
| Disabling C extension to help with code that requires proof that indirect jumps
| can't jump to the middle of an instruction.
| —
| You are receiving this because you are subscribed to this thread.
| Reply to this email directly, view it on GitHub, or mute the thread.*


Port the existing e2e smoke test (may be others) to the new mixer adapter 0.2 model

Before we can delete code existing code, we need to port the existing e2e tests (inside and outside mixer repo) to use the new adapter model.

This can be closed. We should track the move of APAs in a 0.3 issue.


List request as a dependency

What
At the moment we have a failing build with
Error: Cannot find module 'request'
   2021-02-16T14:43:29.32+0000 [APP/PROC/WEB/0] ERR Require stack:
   2021-02-16T14:43:29.32+0000 [APP/PROC/WEB/0] ERR - /home/vcap/app/node_modules/request-promise-native/lib/rp.js
   2021-02-16T14:43:29.32+0000 [APP/PROC/WEB/0] ERR - /home/vcap/app/node_modules/jsdom/lib/jsdom/browser/resources/resource-loader.js
   2021-02-16T14:43:29.32+0000 [APP/PROC/WEB/0] ERR - /home/vcap/app/node_modules/jsdom/lib/api.js
   2021-02-16T14:43:29.32+0000 [APP/PROC/WEB/0] ERR - /home/vcap/app/dist/main.js

This is due to a combination of factors, mainly upgrading notify-node-client  which used to use this and have since moved away and the fact that jsdom depends on it through request-promises-native, which along with request have been deprecated.
To give us some time and have a working deployment until we either replace jsdom or jsdom move away from deprecated packages, we list request as a dependency.
How to review

either build and deploy to own env
or check staging which has been deployed manually and has a "Test Jani deployment" text on organisations page

Who can review
anyone

closed in favour of https://github.com/alphagov/paas-admin/pull/1173


Frontend api endpoints implementation

@droegier,
I created this draft pull request so you can review the actual code on the endpoints integration between FE and BE for the chat function.
Actually, I have created the POST call function to BE endpoint to send the input from the user.
Since now, the BE is giving the same response to every input I didn't proceed with further tests on streaming the response on the UI. However, I was having issues implementing the response on the actual structure of the boilerplate. I was trying to use the same functions (OpenAIStream and StreamingTextResponse) of the "ai" module.
I don't know if you have any suggestions on this topic? I was aiming to test the Stream module on nodejs with the readable streams function, once I have the backend endpoint response fixed.
For the actual code, I had to create a new environment variable for the aws endpoint:
AWS_API_CHAT_ENDPOINT

@droegier
I made a few changes to the code with the new information from @SL1015.
I received information that the response from the endpoint should resemble the following example:
{
    "data": {
        "content": "Der Mutterschaftsurlaub dauert mindestens 14 Wochen."
    }
}

Consequently, I updated the existing code and tested it using a backend environment that I created, which consistently returns the same response for POST calls with the payload mentioned above. You can test it at this endpoint . As mentioned, the response remains constant. However, this provided an opportunity to test the frontend, which functioned properly.
The only aspect I was unable to test was the streaming response (as I could not replicate the streaming behavior on my backend). Therefore, all the code in this branch is tailored for non-streaming responses.
If you have the time, please test it and confirm if it meets the requirements for the demo.


Weired problem on Samsung note4

The demo from cardboard. (0.5.2/Unity5.3.1)
But after building, and when I install on note4 (5.5' screen), the weired phromblem appeared.
Through the carboard,  I saw 2 cubes, one in left eye, one in right eye.
But I use another phone (an oppo phone, 5''), with the same build installed, it worked. the VR show right.
Why?

It is fixed now, when update sdk to 0.5.2.


Fails on multiple cursors

If I have multiple lines selected at once and want to remove whitespace, it duplicates the last selected text to all changes, eg:

Thank you for reporting the issue!
I released v0.2.1 that supports multiple selections. I hope it works as you expect.

Thank you! All fixed:


Implement RenameAspireHostAsync RPC for Aspire Server

VS Sends us a notification when the AppHost project is renamed.  We should figure out what to do when this happens.  One thing we can do is try to rename the value in the azure.yaml file.  We'd likely need to use some of the new features of the v3 yaml package that allow us to do DOM like access do we don't lose any comments the user has.
We should also think about what, if any, caches we should invalidate when this operation happens.

I wonder if we're better of performing a string replacement. As a user, I certainly would want comments within azure.yaml to be updated as well.
Specifically, with YAML decoding/encoding and with yaml.v3, there are many issues dealing with unexpected whitespace/formatting diffs. This is best seen in yamlfmt's usage of yaml.v3 currently, with the list of issues captured.

@ellismg @weikanglim Not in scope for VS 17.10 Preview 2. Moving it to March iteration. Feel free to pull it in, if need be.

@abpiskunov @anvillan is this required for VS 17.10 Preview 3?


Fix cterm background to match terminal

The issue
When I downloaded the theme the background color was set to a specific black instead of matching my Hyper terminal background.
By replacing ctermfg=189   ctermbg=237 with ctermfg=White   ctermbg=Black
the background colors will match the terminals white and black.
Before change

After change

This is great, thanks for the fix 👍


Support references in document

Support intra document references
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#reference-object
I think most people uses this, even the petstore example uses this.

$ref is supported albeit maybe not in the most elegant way. It's used in thinks like schema and responses. Ill see if im missing areas

I have a failure with the following document (a strip down version of a real doc). The doc shows no problems in the swagger editor so I assume it is correct:
swagger: "2.0"
info:
  description: "My service rocks."
  version: "1.0.0"
  title: SOA Resource
  termsOfService: https://github.com/mdsol/resource_rocks
schemes:
  - https
consumes:
  - application/json
produces:
  - application/json

paths:
  /v1/resource:
    get:
      description: "A filtered collection of resource "
      operationId: getResource
      parameters:
        - $ref: "#/parameters/per_page"

      responses:
        "404":
          description: Resource  not found

parameters:
  per_page:
    in: query
    name: per_page
    description: The number of results per page
    required: false
    type: integer
    default: 25

seems legit. I'll see if I can come up with a trick to support both.

I'm learning how awesome enum serialization is in serde. Unfortunately I ran to a little gotcha with a enum approach for this

I'll look into a other alternatives

Cool, thanks! I've tested with a longer document and it works well!

@JordiPolo  what are your usecases for this crate atm? I realized yesterday that I could get alot more of of serde's enum support that I expected so I started a branch to do that but I realized that's going to probably be a breaking change. I kind of expected that this early in the process but now that I know someone is use this I'm a little bit hesitant to move too fast.

Thanks for reaching out!
No worries, break it as much as you want.
In my company we may need to write a converter from openapi to another spec format and maybe I can get away with using Rust.
At this moment I'm just checking what libraries are out there so if we do this I can have a sense of how difficult it is.

It's funny you mention that! That's exactly what I was going for with this. I started a similar thing where i work https://github.com/meetup/openbars. Think swagger codegen sans the java dependency and using handlebars. Its very rough and spent come bundled with templates but I plan to build a community around it. I have a  closed source and incomplete rust template but there's nothing stopping others from making open and sharable templates.

If you were to use mustache, you may be able to use all the templates from the swagger-codegen project. If you check the activity there, it is quite crazy the amount of collaboration and it would be difficult to build a community at any level near that.
There is another project called Autorest done in C# and worked on by paid developers by Microsoft but they can not maintain that level

I've started a tool based on your library. https://github.com/JordiPolo/oatool
Do not hesitate doing breaking changes, the code I've written is terrible and want to rewrite it all


HHH-18451 Fix CheckConstraints for Booleans with null value converters

This PR should fix the issue of Boolean Converters which change null values not being included in the check constraints generated. See the JIRA Issue for a detailed example.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license
and can be relicensed under the terms of the LGPL v2.1 license in the future at the maintainers' discretion.
For more information on licensing, please check here.

https://hibernate.atlassian.net/browse/HHH-18451

Thanks for taking the time.
I'll be able to fix it next week once I have  access to a computer again.

alright, done 👍

Done

Thanks!


Move Python Class docs to text files

The class-level descriptions for the generated python classes
that wrap the scala classes were contained in the WrapperClassDoc.scala
file as formatted strings that were selected from a case statement
based on ClassName. There were two major disadvantages to this: (1) the
file has to be edited and Codegen has to be rebuilt every time a new
class is added and (2) developers are likely to skip this step because
the documentation does not live with the code. The text of the formatted
strings has been moved to text files that are part of the projects that
they live with. Now WrapperClassDoc.scala reads the text file to provide
the wrapper generator with the class doc string for the python.
Reformatted the docstring for ImageReader.py to keep most line to 80
characters of less for readability.

@mabusch,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@mabusch: why are the text files all copied to a single directory instead of reading them from the source directories?

The text files are copied to a single directory because the jar files have all been copied to a single directory, which is where codegen then processes them. Thus, when the python wrappers are being generated and this text is being inserted, codegen no longer has the paths from the root down to the text – it only has class names.
From: Eli Barzilay<EMAIL_ADDRESS>Sent: Thursday, July 13, 2017 3:38 AM
To: Azure/mmlspark<EMAIL_ADDRESS>Cc: Maureen Busch<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [Azure/mmlspark] Move Python Class docs to text files (#62)
@mabuschhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmabusch&data=02|01|mabusch%40microsoft.com|c69656e8ffed4a5d08e608d4c9c2122c|72f988bf86f141af91ab2d7cd011db47|1|0|636355282747897631&sdata=%2BfrMo5joaQWuQwyd8kWsfwwnSWV8yGdwkdf0XSr8I2s%3D&reserved=0: why are the text files all copied to a single directory instead of reading them from the source directories?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure%2Fmmlspark%2Fpull%2F62%23issuecomment-314997559&data=02|01|mabusch%40microsoft.com|c69656e8ffed4a5d08e608d4c9c2122c|72f988bf86f141af91ab2d7cd011db47|1|0|636355282747897631&sdata=eq3zmUwP3LwS9ydRuFyAcKJupDsZs3t74JPTzKvzb%2B4%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZX3627WxBabpvvEvF9Ms_ICBLgIiVfyks5sNclPgaJpZM4OQDB4&data=02|01|mabusch%40microsoft.com|c69656e8ffed4a5d08e608d4c9c2122c|72f988bf86f141af91ab2d7cd011db47|1|0|636355282747897631&sdata=d0ONl%2BrI2GWf0PB2WiRSHKE6ib6CTJzl6a8kwx5e9JU%3D&reserved=0.


[FLINK-25576][Connectors][JDBC] Upgrade com.h2database:h2 to 2.0.206

What is the purpose of the change

Update com.h2database:h2 to latest version, 2.0.206

Brief change log

Updated POM with new version number

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): yes
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

@flinkbot run azure

@flinkbot run azure

@flinkbot run azure

@fapaul Can you merge? I'll also create a backport for 1.14 and 1.13 (to be sure)


Optionally update "latest" symlink on operator-sdk sync

we'll usually do it for 4.8 on Mondays, then 4.7 on Tuesdays, but we want to keep "latest" pointing to the latest 4.8, not the latest 4.7 we published later.

I am ok with this PR but actually we can programmatically determine whether the current version is the latest or not: https://github.com/openshift/aos-cd-jobs/blob/1daf61bf8c8f3dae88fc8585aabc93fde257026d/pipeline-scripts/commonlib.groovy#L100

Looks fine to me, but needs rebase. Fix and merge?

fixed & merged with human intervention for now, just because we need to use it nearly every week. but +1 for automating this.


Docs and initial ci

I think this broke flake. I.e. when running the template template/default:
╭─[/tmp/tmp.41XtcGzWLa/flake-modules-core/template/default]─[main*]─[bisect]
╰─ % nix build .#hello
warning: Git tree '/tmp/tmp.41XtcGzWLa/flake-modules-core' is dirty
error: value is a function while a set was expected
   at /nix/store/57zwl7b883kkya60akvg6wssl1qkxwl5-source/lib/modules.nix:689:24:

      688|           t' = opt.options.type;
      689|           mergedType = t.typeMerge t'.functor;
         |                        ^
      690|           typesMergeable = mergedType != null;

(use '--show-trace' to show detailed location information)

It needs https://github.com/NixOS/nixpkgs/pull/172813.
Let me check if I can polyfill it.

Done in #14. May need to do functionTo calls in less convenient locations later, in case e.g. overlays becomes a problem.


fix return type on useMMKVStorage hook to pass ts typecheck script

When compiling my project with react-native-mmkv-storage as a dependency, I get a compilation error related to the return type on the useMMKVStorage hook declaration.
> tsc  --noEmit --project ./tsconfig.typeCheck.json

node_modules/react-native-mmkv-storage/index.d.ts:3:82 - error TS1005: ',' expected.

3 export declare function useMMKVStorage(key:string,storage:MMKVStorage.API):[value:any,setValue:(value?:any)=>void];

I cannot simply exclude this file from my typecheck config because any file imported within a project will always get type checked, and importing the package import MMKVStorage from 'react-native-mmkv-storage'; links to index.d.ts which causes the error. This is causing a CI error in my project.
I propose in this PR simply updating the return type so that the compile script completes without error.

Hey @mateosilguero and @mmapplebeck thanks for the fix. If you find any other issues with the type definition files, please send in a PR. I am merging this.

Hey @mateosilguero and @mmapplebeck thanks for the fix. If you find any other issues with the type definition files, please send in a PR. I am merging this.

Awesome, thanks a lot! We appreciate this package. When can we expect the new version published?

Hey @mateosilguero and @mmapplebeck thanks for the fix. If you find any other issues with the type definition files, please send in a PR. I am merging this.

Awesome, thanks a lot! We appreciate this package. When can we expect the new version published?

Hopefully tomorrow.

new version released @mmapplebeck


Add flange bool property to grid connection set

Codecov Report

Merging #559 (dbb9e89) into master (d11e9dd) will decrease coverage by 0.02%.
The diff coverage is 36.84%.

:exclamation: Current head dbb9e89 differs from pull request most recent head a803422. Consider uploading reports for the commit a803422 to get more accurate results

@@            Coverage Diff             @@
##           master     #559      +/-   ##
==========================================
- Coverage   79.02%   78.99%   -0.03%
==========================================
  Files         177      177
  Lines       29618    29636      +18
==========================================
+ Hits        23406    23412       +6
- Misses       6212     6224      +12

Impacted Files
Coverage Δ

resqpy/multiprocessing/wrappers/grid_surface_mp.py
76.71% <0.00%> (-1.07%)
:arrow_down:

resqpy/grid_surface.py
73.20% <41.17%> (-0.42%)
:arrow_down:

resqpy/model/_xml.py
91.13% <0.00%> (ø)

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 d11e9dd...a803422. Read the comment docs.


[roles-0.1.0] Bug | Hat Id not valid

After succesful execution of the proposal to create a new hat tree. The Toast pops up that the Hat ID is not valid and when visiting Roles page it is stuck in loading (hatTree === undefined). Fixes after refresh

This needs a bit of a longer delay. Maybe "20" seconds. Search the codebase for "10_000"

Moving this issue back to Ready. It was implemented and merged, but the hardcoded config value doesn't seem optimal.
Currently set to 10 seconds, let's move it to 20 seconds. Search codebase for "10_000"


403s from the API should log out user

As a user who is cancelled, anytime the api endpoint comes back with 403 error, the user should be logged out automatically.
We return a 401 for when a user is not authorized to access a resources and 403 when they are disabled. So we should log them out on 403 and not on 401.

Confirmation from Brandon: All 403s from the API should log the user out of the UI. 401s can be sent for specific resources, but a 403 will always mean forbidden. This applies to all endpoints, even /me.


Create Search Bar Component

Develop the search bar with an input field and three quick-access icons for "Transport" "Pharmacy," and "ATMs." The search bar should be functional and filter content based on user input.
Check this figma file and this figma file

let me try this.

let me try this.

Fork dev branch
Create a new branch from that fork, please use branch names such as feature/name, bug/name etc. Based on the type of work you are contributing to repo.
Push your changes to newly created branch.
Raise a PR to dev with those changes. Changes will be reviewed and merged.

thanks for your advice.
I did it and waiting for the review.


Check if the paths in installer are all valid

Add checking if paths in installer are all valids.
If it isn't valid, ask the user to enter the path again.

Hey, buddy! If you haven't solved the problem yet, please assigne it to me!

Hey, buddy! If you haven't solved the problem yet, please assigne it to me!

Hi! Thank you so much!
It appears that is already a pull request on, but it doesn't solve the problem. Feel free to open another or work on the same PR.


How to do Validations In nativescript angular2 app

PSST! Want to get faster responses to bug reports and important issues? Help us keep the issue tracker organized by:

Reporting bugs. Please include all details about the problem and provide a sample app.
Proposing features and enhancements.
Discussing implementation details.

Please move all other content to Stack Overflow.

@sarvagayatri Here is a basic scenario for validation
login.component.html
<GridLayout #formControls rows="auto, auto">
  <TextField #email
    hint="Email Address"
    keyboardType="email"
    [(ngModel)]="user.email"
    row="0"></TextField>
  <TextField #password
    hint="Password"
    secure="true"
    returnKeyType="done"
    (returnPress)="submit()"
    [(ngModel)]="user.password"
    row="1"></TextField>
</GridLayout>

<Button,text="Login"  (tap)="submit()"></Button>

login.component.ts
import { Component, ElementRef, OnInit, ViewChild } from "@angular/core";
import { Router } from "@angular/router";
import { View } from "ui/core/view";
import { Page } from "ui/page";

import { User } from "user";

@Component({
  selector: "gr-login",
  templateUrl: "login/login.component.html"
})
export class LoginComponent implements OnInit {
  user: User;
  isLoggingIn = true;
  isAuthenticating = false;

  @ViewChild("formControls") formControls: ElementRef;
  @ViewChild("email") email: ElementRef;
  @ViewChild("password") password: ElementRef;

  constructor(private router: Router,
    private page: Page) {
    this.user = new User();
    this.user.email =<EMAIL_ADDRESS>    this.user.password = "password";
  }

  ngOnInit() {
  }

  submit() {
    if (!this.user.isValidEmail()) {
      alert("Enter a valid email address.");
      return;
    }
  }
}

user.ts
export class User {
  email: string;
  password: string;
  isValidEmail() {
       var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
       return re.test(this.email);
  }
}

For full working example you can refer to this sample application

so we wont be having predefined validation library as we have validations in aurelia/typescript ?

Hey @sarvagayatri
I recommend taking a look at Angular-2 Forms.
In the article above a sample validation of forms in Angular-2 is also described.
In the near future, we are also planning on releasing an extended data form control for Angular so you might want to keep track of our nativescrtip-telerik-ui controls.


Added ng-annotate to build

Added gulp ng-annotate build step to 'build' task and also cleaned out all directives, services, and providers. Also added ng-strict-di to all examples

@akoutmos You are my hero. Thanks man. Great work.
P.S. Ignore that Travis CI failed check thing. I created a Travis CI instance for our project without configuring it, so it chunked that error. I disabled it for now.


Adding additional image color and packing conversions for row images in order to save effort, space and improve performance

Click to expand!
Issue Type
Feature Request
Source
source
Tensorflow Version
tf 2.8
Custom Code
No
OS Platform and Distribution
any
Mobile device
any
Python version
n/a
Bazel version
n/a
GCC/Compiler version
n/a
CUDA/cuDNN version
n/a
GPU model and memory
any
Current Behaviour?
Presently there are  only limited  amount of color and packing conversion for images .
example : https://www.tensorflow.org/api_docs/python/tf/image/yuv_to_rgb   and  the packing  of the images is usually 1:1 type.
Majority of test images from cameras are originally decoded as I420, or NV12 packing  (4:2:0) and  they need to get converted into RGB (or BGR) 4:4:4.
It would be beneficial if https://www.tensorflow.org/api_docs/python/tf/image/ has a  NV12 (4:2:0) to RGB  layer more than YUV --> RGB (4:4:4 to 4:4:4).
There are multiple reason for it:
   1 - Both Intel and nVidia (and many others) decode videos into NV12
   2 - Majority of Images and Videos are stored in 4:2:0 packing  .
   3 - Reduce memory (or disk) footprint of using other tools to convert images  outside of TF (like FFMPEG, OpenCV...)
   4 - Most importantly, it will allow for quick/significant bandwidth reduction by fussing first layer of many NN with the color-conversion+packing, considering that all of them use RGB (4:4:4) images as input .
   5 - Finally, the user will be  using TF

Standalone code to reproduce the issue
There are many color/packing converter examples  of Images  available in many other places.
Find one wo  royalties.

Relevant log output
n/a

We may accept an external contribution for this.  We generally want to avoid TF from becoming an all-purpose image processing library though.  If there is a light-weight external library to do this conversion, that would be preferred.

Hi,
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The Tensorflow team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow space.


Include at least S3 key in "access denied"/"not found" error messages when importing

User Story

So that I can quickly recover from an S3 permission/metadata error, as a dataset maintainer, I want to receive error messages which mention the S3 key of the file in question.

Acceptance Criteria

[ ] Given a metadata file which the GDL does not have read access, when attempting to validate the metadata file, then the error message should include the S3 key of the file
[ ] Given an asset file which the GDL does not have read access, when attempting to validate the file checksum, then the error message should include the S3 key of the file
[ ] Given a metadata file which does not exist, when attempting to validate the metadata file, then the error message should include the S3 key of the file
[ ] Given an asset file which does not exist, when attempting to validate the file checksum, then the error message should include the S3 key of the file

Additional context

Tasks

[ ] ...
[ ] ...

Definition of Ready

[ ] This story is ready to work on, according to the team's definition

Definition of Done

[ ] This story is done, according to the team's definition

I put an estimate on this. Whoever is working on it, can they please estimate it before they start work.


01 nurbs

The first pull request for the interpolated NURBS feature.

The first approval of the merge for NURBS feature.


'is_handle_to_right_extreme' never true with single handle.

I would like to set up a single handle slider, range between 0 and 1000. When range = 1000, I would like the method 'is_handle_to_right_extreme' to return true when the handle reaches 1000, but currently, it does not. The 'is_handle_to_left_extreme' does return true when the handle is on the left (0).

According to the documentation for the method this method is called when the right handle is all the way to the right. With one handle you only have the left handle basically...


FDP-526 Update documentation for the MQTT protocol

Updates the documentation for the MQTT protocol, reflecting the changes
where the MQTT broker is connected to by configuration, instead of by a
device in the GXF databases.

All is well.


query number+one: Failed to parse JSON  (caused by ValueError('No JSON object could be decoded',));

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2020.09.20
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'--user-agent', u'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0', u'--ignore-config', u'--no-cache-dir', u'--ignore-errors', u'--quiet', u'--no-warnings', u'-j', u'ytsearch50:caparezza+chi+se+ne+frega+della+musica']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2020.09.20
[debug] Python version 2.7.16 (CPython) - Linux-4.19.0-11-amd64-x86_64-with-debian-10.6
[debug] exe versions: ffmpeg 4.1.6, ffprobe 4.1.6
[debug] Proxy map: {}
ERROR: query "caparezza+chi+se+ne+frega+della+musica": Failed to parse JSON  (caused by ValueError('No JSON object could be decoded',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 904, in _parse_json
    return json.loads(json_string)
  File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 797, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 3014, in _real_extract
    return self._get_n_results(query, n)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 3204, in _get_n_results
    query={'spf': 'navigate'})
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 897, in _download_json
    expected_status=expected_status)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 881, in _download_json_handle
    fatal=fatal), urlh
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 908, in _parse_json
    raise ExtractorError(errmsg, cause=ve)

Description

i work with option -j
since this version you won't find anything with + with ytsearch see debug

two questions

is it because of youtube or the program?
does it seem to me that it is getting worse and worse?


Breaking changes I want to put across an MC version boundary

Change the thoth's pattern to not be a placeholder
Rename GTP to teleport/great (I can't do that now because it will break existing ancient scrolls)

Make scrolls and ancient scrolls two different items instead of a property

Rename hexcasting:conjured to hexcasting:conjured_light


clr-tabs shows ExpressionChangedAfterItHasBeenCheckedError in console

[ x] bug
[ ] feature request
[ ] enhancement
Expected behavior
clr-tabs can exist in a popup with no error in the console
Actual behavior
The following error is seen in the console:
ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'false'. Current value: 'true'.
https://plnkr.co/edit/ouRMAG?p=preview
Reproduction of behavior
https://plnkr.co/edit/ouRMAG?p=preview
Environment details

Angular version: 4.1.3

Clarity version: 0.9.5

OS and version:  win10 latest

Browser: Version 58.0.3029.110 (64-bit) - chrome

This may not be a Clarity issue? Doing this removes the exception:
https://stackoverflow.com/questions/39787038/how-to-manage-angular2-expression-has-changed-after-it-was-checked-exception-w

We have the same issue if [clr-nav-level] is used outside of root html. (in our case - separate component for subnav)
<nav class="sub-nav" [clr-nav-level]="1">
...
</nav>

Hi @KevinABoucher, we have simplified and revamped our tab API for 0.10.0. In the new version, you can achieve the same results with the following markup:
<clr-tabs>
    <clr-tab>
        <button clrTabLink>Settings</button>
        <clr-tab-content *clrIfActive>
            (content for settings tab)
        </clr-tab-content>
    </clr-tab>
    <clr-tab>
        <button clrTabLink>Notifications</button>
        <clr-tab-content *clrIfActive>
            <(content for notifications tab)
        </clr-tab-content>
    </clr-tab>
</clr-tabs>

With the use of *clrIfActive now the tab content only gets created when it becomes active. You can read more about it here: https://vmware.github.io/clarity/news/0.10.0-alpha.5
See this plunkr for an example of lazy loading the tab when you click on it: https://plnkr.co/edit/m4e1HKN4UsiOkP0UKCMC?p=preview
You should see in the console that the component is only created when the second tab becomes active, which I think is what you are trying to achieve.
That plunkr is currently using the latest released clarity version 0.10.0-rc.1. If you are weary of using the rc version, we're releasing the official 0.10.0 version this week so you can wait to upgrade then.
Try it out and let us know if we haven't addressed your question. I'm closing this issue for now.


sourceSandboxName in developer-sandbox-def.json ignored in sandbox clone

Summary
Cloning developer sandboxes using SF CLI and the --definition-file flag still creates a sandbox from production org.
Steps To Reproduce
Prerequisite: having a developer sandbox (sandbox name: dev1)

Create a config/developer-sandbox-def.json file as described at the very bottom of https://developer.salesforce.com/docs/atlas.en-us.250.0.sfdx_dev.meta/sfdx_dev/sfdx_dev_sandbox_definition.htm. It should look as follows:

{
    "sandboxName": "dev1clone",
    "sourceSandboxName": "dev1"
}

Run sf org create sandbox --definition-file config/developer-sandbox-def.json --alias dev1clone --target-org productionAlias --no-prompt

I generated a new project using sf project generate and committed here - link. There's actually only the developer-sandbox-def.json file committed and relevant.
Expected result
A new sandbox (name: dev1clone) is being created and it's a copy of dev1 existing sandbox.
Actual result
A new sandbox (name: dev1clone) is being created and it's a copy of production.
Additional information
I fiddled around with different combinations of developer-sandbox-def.json settings and sf org create sandbox flags. The sourceSandboxName json setting seemed to be always ignored, no matter what.
On the other hand, when I run
sf org create sandbox --definition-file config/developer-sandbox-def.json --alias dev1clone --target-org productionAlias --no-prompt --clone dev1 (I added the -clone dev1 flag), it resulted in creating a cloned sandbox correctly. No matter if the sourceSandboxName was present in developer-sandbox-def.json or not.
To sum up, I got to the conclusion that --clone flag has always worked well but sourceSandboxName setting in developer-sandbox-def.json file has had totally no effect.
Here are two more SF CLI output examples. In both cases developer-sandbox-def.json looks like described in the Steps To Reproduce section above (it includes "sourceSandboxName": "dev1").
The only difference between them is that there's a SourceId 0GQ1i000000TQESGA4 line when I used the --clone dev1 flag.
$ sf org create sandbox --definition-file config/developer-sandbox-def.json --alias dev1clone --target-org productionAlias --no-prompt
Sandbox Create... 00:30:00 until timeout. 0%
 Field         Value
 ───────────── ────────────────────────────
 Id            0GRW60000000F3tOAE
 SandboxName   dev1clone
 Status        Pending
 LicenseType   DEVELOPER
 SandboxInfoId 0GQW600000006i9OAA
 Created Date  2024-09-27T11:30:18.000+0000
 CopyProgress  0%
---------------------
Sandbox Create Stages
… - Pending
… - Processing
… - Activating
… - Authenticating

$ sf org create sandbox --definition-file config/developer-sandbox-def.json --alias dev1clone --target-org productionAlias --no-prompt --clone dev1
Sandbox Create... 00:30:00 until timeout. 0%
 Field         Value
 ───────────── ────────────────────────────
 Id            0GRW60000000F5VOAU
 SandboxName   dev1clone
 Status        Pending Remote Creation
 LicenseType   DEVELOPER
 SandboxInfoId 0GQW600000006lNOAQ
 Created Date  2024-09-27T11:33:40.000+0000
 CopyProgress  0%
 SourceId      0GQ1i000000TQESGA4
---------------------
Sandbox Create Stages
… - Pending
… - Processing
… - Activating
… - Authenticating

System Information
I've noticed the issue using Windows 10 & Powershell 7, as well as in cloud GitLab pipelines using Bash.
{
  "architecture": "linux-x64",
  "cliVersion"<EMAIL_ADDRESS>  "nodeVersion": "node-v20.17.0",
  "osVersion": "Linux 5.15.0-1045-aws",
  "rootPath": "/usr/app/.npm-global/lib/node_modules/@salesforce/cli",
  "shell": "bash",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.2.3 (core)",
    "@oclif/plugin-commands 4.0.14 (core)",
    "@oclif/plugin-help 6.2.11 (core)",
    "@oclif/plugin-not-found 3.2.20 (core)",
    "@oclif/plugin-plugins 5.4.7 (core)",
    "@oclif/plugin-search 1.2.8 (core)",
    "@oclif/plugin-update 4.5.6 (core)",
    "@oclif/plugin-version 2.2.12 (core)",
    "@oclif/plugin-warn-if-update-available 3.1.15 (core)",
    "@oclif/plugin-which 3.2.13 (core)",
    "@salesforce/cli 2.59.6 (core)",
    "apex 3.4.9 (core)",
    "api 1.2.1 (core)",
    "auth 3.6.56 (core)",
    "data 3.6.5 (core)",
    "deploy-retrieve 3.12.7 (core)",
    "info 3.4.6 (core)",
    "limits 3.3.30 (core)",
    "marketplace 1.2.25 (core)",
    "org 4.5.8 (core)",
    "packaging 2.8.4 (core)",
    "schema 3.3.29 (core)",
    "settings 2.3.19 (core)",
    "sobject 1.4.[35](https://[EDITED]/-/jobs/3434331#L35) (core)",
    "source 3.5.19 (core)",
    "telemetry 3.6.12 (core)",
    "templates 56.3.18 (core)",
    "trust 3.7.27 (core)",
    "user 3.5.29 (core)",
    "sfdx-git-delta 5.45.0 (user) published 7 days ago (Fri Sep 20 2024)"
  ]
}

Thank you very much for your help!

Hi @stafik  - thanks for reporting this. We're looking into it, and agree that it's a little weird. We're looking at how to make it work more like org create scratch where the flags can override what's in the file, or updating how the --clone flag works, but this could also be a breaking change.

W-16883274

this was fixed (and added 2 new source flags) in RC if you want to give it a try:
https://github.com/forcedotcom/cli/tree/main/releasenotes/#2667-november-13-2024-stable-rc
will be promoted to stable next Wednesday.


Miniaturepets NPC laying eggs issue.

Pets lay eggs when chicken is set as invisible animal.

I am also experiencing this issue.

Hello,
Thanks for reporting this bug! It will be solved with MiniaturePets v2.5.4 since this is not a bug in the npcs plugin.


[licensing] Update licensing information for 6/14

Docs Build status updates of commit 5340929:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

licensing-information.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


TBD: make datasets usable (performance issue)

Description
User story

As a {}
I want / need {}
So that {}

Acceptance criteria

Criterion 1
Criterion 2
...

Definition of done (DoD)

Component tests have been written and pass
All CI tests passed for the pull request
Code review has been completed and code has been merged into sprint-release branch
All feature branches have been merged and closed
New feature code has been documented

DoD general criteria

Feature has been fully implemented
Feature has been merged into the mainline
All acceptance criteria were met
Product owner approved features
All tests are passing
Developers agreed to release

Stale and duplicated. Closing.


Implement Cloudflare Origin Issuer

This might not be possible, but would be good to investigate.

Looks like it should be possible:
https://api.cloudflare.com/#origin-ca-create-certificate


Is there a wait to generate only Enum types from GraphQL for Typescript?

Hi @deathemperor , questions are tracked in Discussions, moving :)
And for your question - at the moment, no. You can use only typescript plugin with onlyOperationTypes: true to get the minimum possible.


Add support for GCS

Which issue does this PR close?
Closes #293.
Rationale for this change
We want to support GCS files
What changes are included in this PR?
Just the standard Rust code and macros needed for supporting GCS.
Are there any user-facing changes?
No

Superseeded by #308


[BUG] - RKE1 Azure node template has Ubuntu 18.04 as default image. Docker fails to install during cluster nodes provision

Rancher Server Setup

Rancher version: v2.9 c5b4413
Installation option: Helm

If Helm Chart, Kubernetes Cluster and version: RKE1

Proxy/Cert Details:

Information about the Cluster

Kubernetes version:
Cluster Type: Downstream

If downstream, what type of cluster?: Azure

User Information

What is the role of the user logged in? admin

Describe the bug
The image field of the Azure RKE1 node template defaults to the Ubuntu 18.04 image. This Ubuntu version is end of life and docker fails to install during the node creation
To Reproduce
Create a node template with correct values for vm creation. Keep the image input field with the defaul value.
canonical:UbuntuServer:18.04-LTS:latest
The docker-install engine script is 24.0.sh
Result
Provision an Azure cluster fails. Nodes show the error: Docker failed to install
./24.0.sh
# Executing docker install script, commit: e5543d473431b782227f8908005543bb4389b8de
+ sudo -E sh -c apt-get update -qq >/dev/null
+ sudo -E sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sudo -E sh -c install -m 0755 -d /etc/apt/keyrings
+ sudo -E sh -c curl -fsSL "https://download.docker.com/linux/ubuntu/gpg" | gpg --dearmor --yes -o /etc/apt/keyrings/docker.gpg
gpg: WARNING: unsafe ownership on homedir '/home/docker-user/.gnupg'
+ sudo -E sh -c chmod a+r /etc/apt/keyrings/docker.gpg
+ sudo -E sh -c echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu bionic stable" > /etc/apt/sources.list.d/docker.list
+ sudo -E sh -c apt-get update -qq >/dev/null
INFO: Searching repository for VERSION '24.0.7'
INFO: apt-cache madison docker-ce | grep '24.0.7' | head -1 | awk '{$1=$1};1' | cut -d' ' -f 3

ERROR: '24.0.7' not found amongst apt-cache madison results

Expected Result
An Azure RKE1 cluster provision properly and gets active using an image value where the docker-engine script works.

The image canonical:UbuntuServer:18.04-LTS:latest is referenced in multiple repositories. Once the updated image is approved, I will proceed with updating the rancher/ui and terraform-provider-rancher2 repositories...

This issue can be validated by using the latest rancher/rancher head images.

Ticket #44944 - Test Results - ✅
Verified on Rancher v2.10-847b75ee9e6388c8fa6d77f1e4a7866616423a79-head:

Scenario
Test Case
Result

1.
Provision downstream RKE1 Azure node driver cluster w/ defaults
✅

Scenario 1 - ✅

Fresh install of Rancher v2.10-head
Provision a downstream RKE1 Node driver cluster using default image: canonical:ubuntu-24_04-lts:server-gen1:latest
Verified - docker successfully installed; cluster successfully provisions; all pods up and active; as expected


1.d Labeling tool and data structure

Which labeling tool and is there a specific data structure needed for the models choosen in 1.a?

Video of 10 annotation tools

CVAT
May be best choice since we can make an organization and split out task on it
Along able to export a variety of data structures

Copy and paste from chat gpt
timm is highly flexible and can work with a variety of data formats. However, to streamline the training process, it's recommended to organize your data in a standard format.
Common Data Format:
Image Folder:
This is a simple yet effective format.
Create a root directory.
Inside, create subdirectories for each class.
Place images belonging to each class in their respective subdirectories.
Example:
data/
├── class1
│   ├── image1.jpg
│   ├── image2.jpg
│   └── ...
├── class2
│   ├── image3.jpg
│   ├── image4.jpg
│   └── ...
└── ...
Yes, you can use CVAT to prepare data for timm.
CVAT (Computer Vision Annotation Tool) is a powerful tool for annotating images and videos. Once you've annotated your data, you can export it in various formats, including formats compatible with timm.

Export Your Data:
Choose an export format that aligns with timm's requirements. Common formats include:

Pascal VOC: A popular format for object detection tasks.
COCO: A versatile format for object detection, instance segmentation, and keypoint detection.
YOLO: A format specifically designed for object detection.

Prepare Your Data for timm:

Image Folder Format: Organize your images and annotations into a directory structure as described earlier.
Custom Dataset Class: If your data format is complex or requires specific preprocessing, create a custom dataset class that inherits from torch.utils.data.Dataset.

Additional Tips:
Leverage CVAT's Features: Explore CVAT's features like task management, quality control, and collaboration tools to streamline your annotation process.
Consider Data Augmentation: Use CVAT's built-in augmentation tools to increase the diversity of your training data.
Optimize Export Settings: Configure CVAT's export settings to match timm's specific requirements.
Consult timm's Documentation: Refer to timm's official documentation for detailed instructions on data preparation and usage.
By following these steps, you can effectively use CVAT to prepare your data for training models with timm.

We will use CVAT, use online or local install
Export as Pascal VOC format


Turn off the Drawer Header divider by default

Describe the desired behavior
Would like to have drawer header divider turned off by default, and turned on only when a new prop divider is set to true
Describe the current behavior

From docit. This alignment is awkward
Is this request related to a current issue?
Can be part of the drawer refactor

Would also be nice to have a drawer divider to turn off that vertical line on the right


CDP Refactor and bug fixes for release 4.0

Describe at a high level the solution you're providing
This PR is large (hopefully a one off) and it is intended to fix all build issues encountered in the current 3.6.1 release.
There are many improvements such as full Platform IO support for both the CDP library and the basic examples.
Is this a patch, a minor version change, or a major version change
Major version change is require here due to breaking changes in one API.
Are there open issues related to this PR?
#347 #294 #339
Testing Methodology. How can someone test your pull request?

Some "on-device" unit tests are available to validate the library code. Leveraging PlatforIO Unity test framework.
The changes were tested on a mini CDP cluster that included 1x DuckLink, 1x MamaDuck, 1x PapaDuck

** Documentation **
The project readme was updated.
A developer guide was added to provide project setup, build and tests instructions.
Additional context
Add any other technical detail or considerations here.

CDP 4.0 release notes (draft)
Breaking changes

Removed Arduino string support from the library. Use std::string instead. This change is one step towards platform agnostic CDP library.
The change affects all Arduino sketches that previousingly used the sendData() function.
The function now expects a std::string instead of Arduino String.

New features/tools

The library now supports PlatformIO. You can use the library in PlatformIO projects and no longer need the Arduino IDE.
Unit tests for the library. The tests are written using the PlatformIO Unity framework and currently have to run on one of the supported devices (Heletec LoRa v3, CubeCell, or LiLYGO TTGO T-Beam).
Completely refactored DuckLogger to use printf-like syntax. The new logger is more flexible and easier to use and you can use it your apps too.
Added PapaDuck-Basic example that does use any WiFi connection. It is a simple example that sends data to the network and receives data from the network. Messages are printed to the serial port.

Bug fixes

Fixed the cube cell board support.
Fixed the LoRa v3 board support.
Removed SPI support from DuckRadio which is not needed for any of the supported boards.
Fixed missing return value in some DuckUtils functions.
Fixed transmit timeouts in DuckRadio by enabling correct handling of interrupts.

Library dependencies updates
    -  arduino-timer         3.0.1   (updated)
    -  U8g2                  2.35.9
    -  ArduinoJson           7.0.3   (updated)
    -  CRC32                 2.0.0
    -  RadioLib              6.4.2   (updated)
    -  AsyncTCP              1.1.1
    -  ESP Async WebServer   2.7.0   (updated - new fork)
    -  PubSubClient          2.8

Other:

Removed compiler warnings
Added Github CI pipeline
Project README and DEVELOPER_GUIDE updates


fixed flaky tests

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type
Fixed flaky tests which use xtest.SpinWaitCondition
Please check the type of change your PR introduces:

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[x] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?
Sometimes tests using xtest.SpinWaitCondition fails.
Issue Number: #996 #741
It looks like that jobs' server performance degrades sometimes, which causes failed tests. I think, that using greater timeout value will help in such cases.

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

Comparison is base (c6e45cd) 68.48% compared to head (47b6cdf) 38.68%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #1029       +/-   ##
===========================================
- Coverage   68.48%   38.68%   -29.81%
===========================================
  Files         252      208       -44
  Lines       25155    22005     -3150
===========================================
- Hits        17228     8512     -8716
- Misses       7069    13139     +6070
+ Partials      858      354      -504

Flag
Coverage Δ

?

go-1.20.x
38.68% <ø> (-29.60%)
:arrow_down:

go-1.21.x
38.64% <ø> (-29.82%)
:arrow_down:

integration
?

macOS
?

ubuntu
38.68% <ø> (ø)

unit
38.68% <ø> (-0.05%)
:arrow_down:

windows
?

ydb-22.5
?

ydb-23.1
?

ydb-23.2
?

ydb-23.3
?

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

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


Support for multiple editors/prefixes

Right now it's only possible to configure a single set of TAG_ALIAS_PREFIXs and TAG_CMD_FMT_STRINGs. It would be really useful if this concept could be extended to allow the use of multiple editors. For example, I could configure tag such that a23 would open in Atom, v23 in vim, s23 in Sublime Text, and so on.
The editor I choose to open the search results of ag with really depends on the type results I get / what I'm searching for.

atom doesn't seem to accept atom {{filename}} +{{line_number}} I was trying to modify the TAG_CMD_FMT_STRING to use atom too. It'd an interesting feature for tag.

:+1:
I want to use tag from inside vim. I suggest the following
Check if the tag process is running as child of another known process (e.g. vim, emacs, Atom, [your favorite obscure hipster editor here]). For supported editors, we keep a mapping in the code that maps the editors process name to a TAG_CMD_FORMAT_STRING. Depending on what parent process has been detected, we write the according values to the alias-file. This would have the advantage, that we could use tag from the shell as well as from inside our favorite editors.

Hey @zx8, I think your problem can we solved with a bash function. For example:
case "$3" in
  v) vim "$1" "+$2";;
  n) nvim "$1" "+$2";;
  s) subl "$1:$2";;
  a) atom "$1:$2";;
  *)
    echo "unrecognized editor: $3"
    exit 1;;
esac

Combine the above with:
export TAG_CMD_FMT_STRING='blah "{{.Filename}}" "{{.LineNumber}}"'

Should give you what I think you're asking for. Let me know if that works! I'll close this issue for now.


Revert "flip geometry types from double to float, per community feedback"

Based on community feedback, this change represents too much of a breaking change and compatibility issue.

fixes #280


tecnical alterations for secure protocol

https://github.com/github/covid-19-repo-data/pull/16

Spam


Problem # 1010: Invalid Transaction: Transaction has a bad signature

Once I transferred Karura KAR tokens to my wallet https://apps.karura.network/portfolio on the ledger in the Polkadot network.
At that time, the ledger did not yet support the Karura network through the Karura app in the Ledger, only the DOT app for the ledger was available.
Now when I add my DOT ledger to my node.js wallet, I go to the https://apps.karura.network/portfolio website connect my DOT js wallet (ledger dot js) and see my KAR tokens only in Polkadot chain, but I can't withdraw them because it gives an error 1010: Invalid Transaction: Transaction has a bad signature
If I add a new account to node.js through the Karura Ledger app, I don't have my tokens there. My Karura tokens are only held in a Polkadot Chain Ledger wallet on the Dot network.
I've tried switching 100 different kinds of network combinations - doesn't work. I tried switching and combinations of networks (Karura, Kusama, Dot) and switching different applications on the ledger. Does not work. It won't let me withdraw my tokens.
I will also add that earlier I could withdraw KAR tokens using the DOT app by signing the transaction on the site, but now when i click Transaction i have to open Karura app on ledger because if I open the DOT application to sign the transaction, it will not let me sign it and the wallet node.js will give an error Ledger error: Unknown Status Code: 28161
It turns out that I see my tokens in the Polkadot  network but I can’t withdraw them, and I don’t see my tokens in the Karura network, because I transferred them to the Polkadot network.

Data from node.js wallet:

from
https://apps.karura.network/portfolio

chain
Karura

version
2100

nonce
0

method
balances.transfer(dest, value)

info

lifetime
mortal, valid from 3,215,018 to 3,215,050

Data from ledger
Nonce 0
Era Phase 10
Era Period 32
Block 4de31441d6cb731b83289b818c5ba5ad532065a08f001cdcb382889cacf84dc2

How can I see my KAR tokens in the Karura network if they are in the DOT network?
How can I withdraw my tokens if I get 1010: Invalid Transaction: Transaction has a bad signature?
How can I get them out?

:link: zboto Link

https://polkadot.js.org/ doesn't see my KAR tokens on ledger in any chains from Karura or Dot


Kotlin version of MongoDB Async Guide

see: https://guides.micronaut.io/latest/micronaut-mongodb-asynchronous.html

Fixed by https://github.com/micronaut-projects/micronaut-guides/pull/807


Feature/tdi 35766

Added initial implementation of tSplunkEventCollector component. Unit and integration tests are still to be added. Any comments are welcome.

Very nice work Dmytro! I made a few comments that should be corrected before we merge this.

Fixed most of the problems found during the first review:
-removed Talend6SchemaConstants usage;
-remove "created by..." headers;
-formatted the code;
-added internationalization for messages;
-removed unneeded try-catch block;
-added some exceptions to runtime for sending failures;
-fixed validation in Sink;
-added some tests, some more are to be added in the nearest future.
Please, review the code if you have some time.

I'm going to merge this, and can you handle the remaining issues directly? Again, nice work.