Implementing the GBGCN in google colab

Hi,
After installing setup.py file from the mentioned frame work in the GitHub, I tried to run the GBGCN.py file by this command in Google Colab, "! python  GBGCN.py  train --tag 'true' --SL2 0.001 --L2 0.001 --lr 1e-2  --layer 2 --alpha 0.6 --beta 0.01
". The below Errors showed: ( Any help to solve these errors and run the file properly would be appreciated! Just to mentioned that when I tried to run the whole data on GBGCN.py, it was not successful. I think the not enough RAM on colab was the problem( my colab RAM is around 12 GB) so I tried to reduce the size of BeiBei data set( 0.01 of the data set) to tackle this issue. Then these errors showed)
INFO:root:Environment Arguments(OrderedDict([('dataset', 'BeiBei'), ('device', [0]), ('sample_epoch', 500), ('sample_worker', 16), ('epoch', 500), ('tag', 'true')]))
INFO:root:Dataloader Arguments(OrderedDict([('batch_size', 4096), ('batch_worker', 2), ('test_batch_size', 128), ('test_batch_worker', 2)]))
INFO:root:Hyperparameter Arguments(OrderedDict([('embedding_size', 32), ('act', 'sigmoid'), ('pretrain', True), ('SL2', [0.001]), ('L2', [0.001]), ('lr', [0.01]), ('layer', [2]), ('alpha', [0.6]), ('beta', [0.01])]))
INFO:root:{'comment': '固定参数', 'user': 'user', 'visdom': {'server': '<IP_ADDRESS>', 'port': {'BeiBei_itemrec': 16670, 'BeiBei_grouprec': 16670, 'BeiBei_SIGR': 16670, 'BeiBei': 16670, 'comment': '16671 is temporary'}}, 'training': {'test_interval': 5, 'early_stop': 50, 'overfit': {'protected_epoch': 10, 'threshold': 1}}, 'dataset': {'path': './BeiBei', 'seed': 123, 'use_backup': True}, 'logger': {'path': './log', 'policy': 'best'}, 'metric': {'target': {'type': 'NDCG', 'topk': 10}, 'metrics': [{'type': 'Recall', 'topk': 3}, {'type': 'Recall', 'topk': 5}, {'type': 'Recall', 'topk': 10}, {'type': 'Recall', 'topk': 20}, {'type': 'NDCG', 'topk': 3}, {'type': 'NDCG', 'topk': 5}, {'type': 'NDCG', 'topk': 10}, {'type': 'NDCG', 'topk': 20}]}}
INFO:root:{'BeiBei': {'GBMF': ''}}
DEBUG:root:Load BeiBei/BeiBei/BeiBei-neg-500-123-default.pkl
DEBUG:root:finish loading neg sample
INFO:root:GPU search space: [0]
INFO:root:Auto select GPU 0
WARNING:visdom:Setting up a new session...
Exception in user code:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 159, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw)
File "/usr/local/lib/python3.7/dist-packages/urllib3/util/connection.py", line 80, in create_connection
raise err
File "/usr/local/lib/python3.7/dist-packages/urllib3/util/connection.py", line 70, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.7/http/client.py", line 1277, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1323, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1272, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.7/http/client.py", line 1032, in _send_output
self.send(msg)
File "/usr/lib/python3.7/http/client.py", line 972, in send
self.connect()
File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 181, in connect
conn = self._new_conn()
File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 168, in _new_conn
self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fd8435d5c50>: Failed to establish a new connection: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.7/dist-packages/urllib3/util/retry.py", line 399, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='<IP_ADDRESS>', port=16670): Max retries exceeded with url: /env/GBGCN_true-32-0.01-0.001-0.001-2-0.6-0.01-sigmoid-True-True (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd8435d5c50>: Failed to establish a new connection: [Errno 111] Connection refused'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/visdom/init.py", line 711, in _send
data=json.dumps(msg),
File "/usr/local/lib/python3.7/dist-packages/visdom/init.py", line 677, in _handle_post
r = self.session.post(url, data=data)
File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 578, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='<IP_ADDRESS>', port=16670): Max retries exceeded with url: /env/GBGCN_true-32-0.01-0.001-0.001-2-0.6-0.01-sigmoid-True-True (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd8435d5c50>: Failed to establish a new connection: [Errno 111] Connection refused'))
INFO:visdom:Socket refused connection, running socketless
ERROR:visdom:[Errno 111] Connection refused
ERROR:websocket:error from callback <function Visdom.setup_socket..on_close at 0x7fd84346ec20>: on_close() takes 1 positional argument but 3 were given
File "/usr/local/lib/python3.7/dist-packages/websocket/_app.py", line 407, in _callback
callback(self, *args)
Traceback (most recent call last):
File "GBGCN.py", line 556, in
torch.optim.SGD)
File "/usr/local/lib/python3.7/dist-packages/librecframework-1.3.0-py3.7.egg/librecframework/pipeline.py", line 633, in during_running
model_class, other_args, trainhooks, optim_type)
File "/usr/local/lib/python3.7/dist-packages/librecframework-1.3.0-py3.7.egg/librecframework/pipeline.py", line 239, in during_running
model.load_pretrain(self._pretrain[self._eam['dataset']])
File "GBGCN.py", line 102, in load_pretrain
pretrain = torch.load(path, map_location='cpu')
File "/usr/local/lib/python3.7/dist-packages/torch/serialization.py", line 381, in load
f = open(f, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: ''

Visdom-related Exception
The reason of such exception is that there is not visdom server working on the given ip and port in config/config.json.
We have updated librecframework to 1.3.2 to support disabling visdom.
PS: We have added install.sh to help install librecframework from sources.
The method to disable visdom is setting visdom->server to empty string in config/config.json.
If you want to use visdom to visualize training processes, you can install visdom by pip and then start it following Docs:
pip install visdom==<IP_ADDRESS> [--user]
python -m visdom.server -port XXXX

PS: The port should be matched visdom->port->BeiBei in config/config.json
FileNotFoundError
The reason of such exception is that the pretrain flag is set to True by default for GBGCN while BeiBei->GBMF in config/pretrain.json is empty string.
You can add --no-pretrain flag to disable it when starting the code.
The better solution is:

Train GBMF firstly.
Set BeiBei->GBMF in config/pretrain.json to the path of the best GBMF model as pretrain model.
Train GBGCN.

For memory issue, you can try to sample some users and items from the raw dataset.
The main memory consumption comes from the user-item graph (190080×30782).

Beside exceptions above, the new implementation (v0.6) of DGL changes some features, which will raise
DGLError(Cannot assign node feature "h" on device cuda:0 to a graph on device cpu. Call DGLGraph.to() to copy the graph to the same device).

We will fix it soon.

Beside exceptions above, the new implementation (v0.6) of DGL changes some features, which will raise
DGLError(Cannot assign node feature "h" on device cuda:0 to a graph on device cpu. Call DGLGraph.to() to copy the graph to the same device).

We will fix it soon.

You can try the new codes (both librecframework and this repo)

Thanks for your time and consideration.


The options to fix an issue disappears if you adjust the line first

Not sure if that title was understandable… :/
If you cross one road over another or over a sidewalk, you're asked if you want to connect them, and can do that with one click. But maybe the new road you drew needed an adjustment, and instead of having to drag two points you just want to drag one, so you first adjust the road, and the you want to click the button to connect to the road you crossed. Well, after adjusting the road, that option is now gone, and all you can do is ignore:

If you click away from the road and then mark it again, the other options reappears. But they should't disappear in the first place :)

Oh yeah this is a bug…


Added a clear local storage button to about.html and form.js

added a clear local storage button to aboutus.html and form.js

Looks fine, type attribute has typo which doesn't affect the functionality.  Is 'image' even an attribute for button?


tippy dropdown

Hi, is it possible to make a dropdown like in tippy.js? i could not find an example.

Thanks for your help.

That dropdown is made with this package :p
import 'tippy.js/themes/light-border.css'

<Tippy
  content={<DropdownContent />}
  placement="bottom"
  animation="fade"
  arrow={true}
  theme="light-border"
  trigger="click"
  // Need to ensure it can be tabbed to directly after with no clipping issues
  appendTo="parent"
  onMount={() => setAriaExpanded('true')}
  onHide={() => setAriaExpanded('false')}
>
  <button aria-haspopup="true" aria-expanded={ariaExpanded}>
    Dropdown
  </button>
</Tippy>

Thanks @atomiks i will try this.

@atomiks how could you modify this example to hide the tooltip/popover when something within <DropdownContent/> is pressed?
For example, I have an instance where I am using this as a popover menu with trigger='click' and interactive='true' which allows me to click the content elements, but obviously does not trigger the popover to close.
Any thoughts would be appreciated! Thanks.

You could grab access to the instance via the onCreate prop, then pass it down to <DropdownContent />
https://codesandbox.io/s/festive-flower-5h4uz
function App() {
  const [instance, setInstance] = useState(null);

  return (
    <Tippy
      content={instance ? <DropdownContent hide={instance.hide} /> : ''}
      onCreate={setInstance}
    >
      <button />
    </Tippy>
  );
}

function DropdownContent({hide}) {
  return <button onClick={hide} />;
}

Inside <DropdownContent /> you can now call hide() upon clicking something.
(Note: that instance is not a class that uses this, so you can safely destructure every property or method on it and not run into problems).


add Overview workbook for Defender for IoT

PR Checklist

[X] Explain your changes, so people looking at the PR know what and why, the code changes are the how.

Hey,
I'm Gal from Microsoft Defender for IoT,
We want to implement Application Insight's workbook blade in our extension. I've looked on other extensions in Azure to see their implementation process and I think I have it all covered in my PR here. If there is anything missing, please ping me directly so I could fix it ASAP.
A few notes:

This is a POC, so we might upload another fix here in the near future.
We would like to have this workbook "hidden" for now, so it'll be able to implement it only via our extension.

If adding or updating templates:

[X] post a screenshot of templates and/or gallery changes
[X] ensure your template has a corresponding gallery entry in the gallery folder
[X] If you are adding a new template, add your team and template/gallery file(s) to the CODEOWNERS file. CODEOWNERS entries should be teams, not individuals
[X] ensure all steps have meaningful names
[X] ensure all parameters and grid columns have display names set so they can be localized
[X] ensure that parameters id values are unique or they will fail PR validation (parameter ids are used for localization)
[X] ensure that steps names are unique or they will fail PR validation (step names are used for localization)
[X] grep /subscription/ and ensure that your parameters don't have any hardcoded resourceIds or they will fail PR validation
[X] remove fallbackResourceIds and fromTemplateId fields from your template workbook or they will fail PR validation

the team you're trying to add to codeowners doesn't exist yet. you'll need to do that before you can complete this PR

Hey,
how can I create a new team?

Onboarding instructions, info about creating teams is here:
https://github.com/microsoft/Application-Insights-Workbooks/blob/master/CONTRIBUTING.md#recommended-setup-for-contributing

one other nit: if you are expecting a long tail of items, so that the bar charts have a LOT of items, you might not want to split them side by side, or they'll be very crowded.  other alternatives:

stack them up as full width
use tabs instead, make a links/tabs step that conditionally hides/shows one chart or the other
use grids instead, and use the "bar" renderer for the count column.  this effectively gets you a horizontal bar chart, and you could turn filtering on above the grid and people could filter the grid and sort as appropriate

one other nit: if you are expecting a long tail of items, so that the bar charts have a LOT of items, you might not want to split them side by side, or they'll be very crowded. other alternatives:

stack them up as full width
use tabs instead, make a links/tabs step that conditionally hides/shows one chart or the other
use grids instead, and use the "bar" renderer for the count column.  this effectively gets you a horizontal bar chart, and you could turn filtering on above the grid and people could filter the grid and sort as appropriate

Thank you for your suggestions!!
I've made the workbook in this PR to be a bit more "simple". As I mentioned in our mail thread, Yair from my group will continue the effort of creating more templates, and he would love to work with you on best practices.
Thanks again!


feat: update go to 1.22

Go 1.19 has several CVEs.  Updating to 1.22 mitigates these.

Thanks for your PR @AbrohamLincoln! Would you mind removing the merge commit from this PR?


docs(hmac-auth) enforce headers, validate body, and multi algorithms

@thibaultcha, I have updated the code with the advised changes. Please review, thanks


ListElementPointer(List): Update code to tally with comments

The constructor’s header comments state that this object is backed by
a defensive copy of the list that is passed in as parameter. However,
the code does not reflect this behaviour.

The constructor should use create a defensive copy of the list to
prevent unintentional modifications to the backing list whenever the
list passed in as parameter is modified.

Let’s update ListElementPointer(List<String>) to create a defensive copy
of the list.

@Zhiyuan-Amos btw why does getHistorySnapshot() return a ListElementPointer? It assumes that callers would use it as a ListElementPointer, and its even more strange when you see that ListElementPointer takes a List<String> in its constructor...
If history is an ordered collection of items, then expose it as a list?

@damithc Approve?

Changes Unknown when pulling 3f112c97d31efaf8dc10be1dd871992ca123ecd6 on Zhiyuan-Amos:list-element-pointer-bug into ** on se-edu:master**.

@Zhiyuan-Amos btw why does getHistorySnapshot() return a ListElementPointer? It assumes that callers would use it as a ListElementPointer, and its even more strange when you see that ListElementPointer takes a List in its constructor...
If history is an ordered collection of items, then expose it as a list?

@pyokagan Yup, what you said sounds right. I'm wondering whether we should actually shift the storing of the history of user input in CommandBox instead of Logic, since CommandBox functions as a View-Controller.
That way, does it make better sense to use a ListElementPointer since CommandBox will only use its history in the context of a ListElementPointer?

If we think of history as simply filling the command box with some text when the up/down key is pressed, then it is fine to store that data in the command box itself. i.e. history is local to the command box. Rest of the code doesn't need to know about it. But if we think of history as representing the history of user actions (i.e. it goes beyond just the command box), then it should be in a more central location.

I think the initial reason why we decided to leave history at a more central location is that it should capture both commands and user input.
However, since we have decided not to do it that way and that we have separate histories (user input history & command history), then should the user input history be placed in the command box instead of logic?

I'm of two minds about it. Our current architecture style follows an n-tier approach where the model is a tier that sits behind the logic tier. Attaching micro-models to various parts of the GUI is a different architecture style altogether. While there is no rule that we have to follow one architecture style exclusively, mixing of styles should be a deliberate and justifiable decision. There is value in giving examples of multiple architecture styles given that this is used for teaching, as long as it is done carefully and not at the expense of simplicity of the design.

@Zhiyuan-Amos

since CommandBox functions as a View-Controller and user input is somewhat like its model,

Ah yes, this makes me notice something. If we are modeling the user's input history as part of the domain, then why isn't the input history stored in the model layer?
It seems like a code smell to me when we have to, in addition to the Model object, pass separate CommandHistory and UndoRedoStack objects to the command, which indicates to me that we are storing user state in too many different locations which is unwieldy.

As an aside, regarding the "history" feature:
imo, I think the feature should be removed. It was sold to me as a "nice to have" feature that would have a negligible impact on code base size since it was thought that it could piggy back on the undo/redo architecture. But now it turns out that it's not the case, and now it's yet another feature in addressbook-level4, which already has the problem of feature/scope creep.


fix: n-historical-states state serialization panel

Motivation
The metric name for state serialization was changed in #7109 so need to apply the new name to Grafana Dashboard
Description

Fix state serialization metric on n-historical state row. As of Sep 2024 it takes ~300ms to ~330ms to serialize states for both mainnet and holesky

there are 2 missing panels for same metric when archiving states, also the buffer pool which I don't see they fit the current Dashboard. We can discuss/address them in #7098

:tada: This PR is included in v1.23.0 :tada:


winget source update causes error 0x800700B7

Brief description of your issue

When I attempt to search for a package, list packages, or update sources, the command fails with an error.
Steps to reproduce

winget source update
Expected behavior

Expecting command to execute without error.
Actual behavior

An unexpected error occurred while executing the command:
Install failed: An internal error occurred with error 0x800700B7. See http://go.microsoft.com/fwlink/?LinkId=235160 for help diagnosing app deployment issues.
0x800700b7 : Cannot create a file when that file already exists.

Environment
[winget --info]
Windows Package Manager v0.2.2941 Preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19042.610
Package: Microsoft.DesktopAppInstaller v1.11.2941.0

Is this issue still happening?

Is this issue still happening?

It is no longer happening to me after reinstalling Windows.

It is no longer happening to me after reinstalling Windows.

@denelon I am still expierencing this on my dads pc
scenario:
Windows: Windows.Desktop v10.0.22000.132
Paket: Microsoft.DesktopAppInstaller v1.15.11694.0
error happens on executing: winget upgrade
1 user with local admin rights winget executed as this user with local admin rights and Windows Terminal with admin rights
Logfile
`021-08-14 12:51:46.197 [CORE] Subkey 'Software\Policies\Microsoft\Windows\AppInstaller' was not found
2021-08-14 12:51:46.197 [CORE] Setting action: Get, Type: UserFile, Name: settings.json
2021-08-14 12:51:46.207 [CORE] Setting action: Get, Type: UserFile, Name: settings.json.backup
2021-08-14 12:51:46.216 [CORE] Valid settings file not found. Using default values.
2021-08-14 12:51:46.217 [CORE] WinGet, version [1.0.11694], activity [{D507AD97-5EEA-49E2-8E55-4E0F0E94C7E8}]
2021-08-14 12:51:46.217 [CORE] OS: Windows.Desktop v10.0.22000.132
2021-08-14 12:51:46.217 [CORE] Command line Args: "C:\Users\servi\AppData\Local\Microsoft\WindowsApps\winget.exe" upgrade
2021-08-14 12:51:46.218 [CORE] Package: Microsoft.DesktopAppInstaller v1.15.11694.0
2021-08-14 12:51:46.218 [CORE] IsCOMCall:0; Caller: winget-cli
2021-08-14 12:51:46.225 [CLI ] WinGet invoked with arguments: 'upgrade'
2021-08-14 12:51:46.225 [CLI ] Found subcommand: upgrade
2021-08-14 12:51:46.225 [CLI ] Leaf command to execute: root:upgrade
2021-08-14 12:51:46.225 [CLI ] Executing command: upgrade
2021-08-14 12:51:46.226 [CORE] Setting action: Get, Type: Secure, Name: user_sources
2021-08-14 12:51:46.239 [CORE] Setting action: Get, Type: Standard, Name: sources_metadata
2021-08-14 12:51:46.240 [REPO] Default source requested, multiple sources available, creating aggregated source.
2021-08-14 12:51:46.240 [REPO] Adding to aggregated source: winget
2021-08-14 12:51:46.240 [REPO] Source past auto update time [5 mins]; it has been at least 6 mins
2021-08-14 12:51:47.621 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2021-08-14 12:51:47.622 [CORE] Found matching extension.
2021-08-14 12:51:47.630 [REPO] Remote source data was not newer than existing, no update needed
2021-08-14 12:51:47.691 [CORE] Examining extension: PFN = Microsoft.Winget.Source_8wekyb3d8bbwe, ID = IndexDB
2021-08-14 12:51:47.691 [CORE] Found matching extension.
2021-08-14 12:51:47.759 [REPO] Opening SQLite Index for ImmutableRead at 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2021.814.512.342_neutral__8wekyb3d8bbwe\Public\index.db'
2021-08-14 12:51:47.759 [SQL ] Opening SQLite connection: 'file:/C:/Program Files/WindowsApps/Microsoft.Winget.Source_2021.814.512.342_neutral__8wekyb3d8bbwe/Public/index.db?immutable=1' [1, 40]
2021-08-14 12:51:47.761 [REPO] Opened SQLite Index with version [1.3], last write [2021-08-14 06:12:04.000]
2021-08-14 12:51:47.873 [REPO] Adding to aggregated source: newstore
2021-08-14 12:51:47.873 [REPO] Source past auto update time [5 mins]; it has been at least 6 mins
2021-08-14 12:51:48.090 [CORE] Setting action: Set, Type: Standard, Name: sources_metadata
2021-08-14 12:51:48.214 [REPO] Creating PredefinedInstalledSource with filter [None]
2021-08-14 12:51:48.214 [REPO] Creating new SQLite Index [4294967295.4294967295] at ':memory:'
2021-08-14 12:51:48.214 [SQL ] Opening SQLite connection: ':memory:' [6, 0]
2021-08-14 12:51:48.308 [REPO] Examining ARP entries for Machine | X64
2021-08-14 12:51:48.353 [REPO] Examining ARP entries for Machine | X86
2021-08-14 12:51:48.393 [REPO] Examining ARP entries for User | X64
2021-08-14 12:51:48.704 [FAIL] E:\BA\98\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(184)\AppInstallerCLI.exe!00007FF7F7D70B45: (caller: 00007FF7F7D6CD33) Exception(1) tid(287c) 800700B7 Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist.
2021-08-14 12:51:48.872 [CLI ] Caught wil::ResultException: E:\BA\98\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(184)\AppInstallerCLI.exe!00007FF7F7D70B45: (caller: 00007FF7F7D6CD33) Exception(1) tid(287c) 800700B7 Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist.
`

@denelon I think I have found the root cause.
This will / can happen if a computer has more than one user.
Using winget logged on user1  the error comes up
using winget logged on with user2 winget upgrade does not throw an issue.
Proposal: Winget appx should be deployed system wide for all user accounts.
if a new user is created it should be provisioned similar to other system appx like calc etc.
currently winget is a per user installation as per design of appx. if I install winget on a user that has no local admin rights this error might spawn.
i have seen also different scenarios where winget was not executable in the user context where it was not specificially installed. means if I install winget in user1 on Windows 10 it i cannot run winget with user2. for Windows 11 (or here) this seems to be different.

@Karl-WE thanks for digging into this one! We may not be able to change the behavior for the MSIX package, but at least we might be able to provide a better error in the short term.

Thanks for reopening and working on a remediation @denelon. If there is anything I could provide or test a private build please let me know.

I think it's fixed as part of this commit, where we change to use package full name instead of package family name for installed packages indexing, this will avoid duplicate entries causing ERROR_ALREADY_EXISTS
https://github.com/microsoft/winget-cli/pull/1395/files#diff-1d47bcf6a8ced8a2bf524dafe8086d9c7105d9cf7c942bd14254a99e18e1b36a

@yao-msft please let know if there is a release that should test.

Hi @Karl-We The fix is merged but not released yet, I'll definitely update this thread when it's released. Thanks.

@Karl-WE this should be in the current Pre-release version here at GitHub.

I will check and report back if there if it is fixed in my scenario. Thanks for the quick fix @yao-msft @denelon

just to be sure it is this release?
https://github.com/microsoft/winget-cli/releases/tag/v1.0.12576 @denelon

Yes, this v1.0.12576 release should contain the fix. Please feel free to reopen the issue if it's not working for your scenario. Thanks.

I will do so. If I can confirm you might want to add it to fixed issues list in the release history

@denelon can confirm the issue is gone with 1.0.12576

I do see this exact issue now.
winget upgrade results in error 0x800700b7
Log file says:
2023-02-20 21:54:20.978 [FAIL] D:\a_work\1\s\external\pkg\src\AppInstallerRepositoryCore\Microsoft\Schema\1_0\Interface_1_0.cpp(190)\WindowsPackageManager.dll!00007FFFD256B1AD: (caller: 00007FFFD2571449) Exception(1) tid(61c8) 800700B7 Eine Datei kann nicht erstellt werden, wenn sie bereits vorhanden ist.
Anything I can do about it?


Logs list does not get updated immediately after add log command

Technically resolved as now we do not allow toggling between panels.

Refer to #204 for this.
TLDR; we do not have a central UI manager where we can attach listeners to ensure every component (visible to the user) is up to date.
As of now, logs is the only one capable of pulling the latest copy of session log.


TST: Fix flaky listing test.

Since this reads layer names from multiple files, there's no guarantee that they will be in order since the filesystem can iterate in any order.

Thanks @QuLogic ! Could you see if this PR would be better aimed at the master branch? We're very close to stopping development on the maint-1.7 branch.

Well, I kind of assumed you might merge up. I did make an earlier PR #427 to master but then later 1.7.x releases were made with the same error, so I targeted it instead. This does seem to be mostly applicable to master as well.

I changed this to target master.

Coverage remained the same at 84.363% when pulling 59aa512a6a8f923e430dec23c6ca76c3c43a4629 on QuLogic:fix-listing into f7fc2bc9381c88ca8328af84cde196f23776e475 on Toblerity:master.

Coverage remained the same at 84.363% when pulling 59aa512a6a8f923e430dec23c6ca76c3c43a4629 on QuLogic:fix-listing into f7fc2bc9381c88ca8328af84cde196f23776e475 on Toblerity:master.


A11y_Azure Tools Storage Explorer_SAS URL_AI4D: (StorageExplorer/table '') An element of the given ControlType must support the Table pattern.

GitHubTags
#A11yTCS;#A11ySev2;#A11yWCAG;#DesktopApp;#AI4D;#Azure Tools Storage Explorer;#BM-AzureToolsStorageExplorer-Win32-Sep2021;#WCAG4.2.8;#Win32;#A11yAuto; #A11yMAS;
Environment Details:
Application Name: Azure Tools Storage Explorer
Windows Version: Windows 10
Note Section
This issue is also observed in Toggle Explorer Pane - Tree View and Add Manage Access Policies
Repro Steps:
1.Open Azure Tools Storage Explorer
2.Tab till the "Blob containers" and press Enter.
3.Click on any existing blob container.
4.Navigate to "Upload" button and Upload a blob/file by using "Upload Files" control.
5. Blob gets uploaded, right click on blob and select "Get Shared Access Signature" control and hit enter. Navigate to "Create" button and hit enter.
6.Open AI4D and Verify
App:
StorageExplorer
Element path:
table ''
Issue Details:
An element of the given ControlType must support the Table pattern. Section 508 502.3.10
How To Fix:
1. Make sure the element has the appropriate ControlType property for its function.
2. If the current ControlType is correct, modify the element to support the Table pattern.
This accessibility issue was found using Accessibility Insights for Windows, a tool that helps debug and find accessibility issues earlier. Get more information and download this tool at https://aka.ms/AccessibilityInsights.

Related to #4978 , I think the display: table we have is messing things up.

Closing this bug as it is an Electron App .For Electronic apps no need to log AI bugs

Oh ok. That works too!

#Closed


[feature]: Tag source type

Like dataview, it would be nice to query files based on tags as not all of as use folders.

+1

I did some research and... it seems Dataview exposes API that other plugins can use. I'm considering implementing Dataview queries as a type of source for my plugin - this way it'll be very easy to migrate existing Dataview tables and it'll also save some code on filtering :)

I implemented tags source and related source, both allow filtering by tags, so I'm closing this one.


Typeahead Upgrade: User Suggestions for Direct Messages

This PR implements functionality to improve the typeahead feature in the compose box. It allows users to switch to a direct message (DM) with a user when they start typing at least three characters of the user's name in the topic input.
Fixes: https://github.com/zulip/zulip/issues/31804

Screenshots and screen captures:

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Implemented both of your suggestions and  updated  for the review .


Add documentation for runnable command enable configs

This updates the documentation for the RunnableCommand enable configs that were added as part of #7288.

build


Changed service_parameter_sets to service_plans

The topology service was modified to rename service_parameter_sets to service_plans

@gmcculloug @syncrou
Please review


Add Laravel Vapor Support

I am thinking about leaving the vapor config file inside this PR, because this can also be used without Vapor.
Figured it could come in handy is people want to see what the config looks like that we have been using.

This is in reference to https://github.com/ci-on/laravel-nuxt-tailwind-boilerplate/issues/7

For Laravel Vapor users, you might also want a github action trigger for auto-deployment on pushes/merges etc.
more info: https://github.com/marketplace/actions/laravel-vapor


Revise readme

Hello,
I have edited readme and added:

Supported Exercises
What was found
What Worked
What Didn't Work and Future Improvements
Pros and Cons of our app
Demo video (which we send to Aarne)

I also did some refactoring of the code and added comments.

Great job

Thank u 😊


Dropdowns not working even after being initialized

Prerequisites

[X] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
I initialized the dropdowns (using the .dropdown-toggle selector), based on the example in the docs, yet it does not work when I click on it. There are no errors or anything.
Reduced test cases
JS:
import { Dropdown } from "bootstrap";

document.addEventListener("DOMContentLoaded", () => {
  document.querySelectorAll('.dropdown-toggle').forEach(el => new Dropdown(el))
})

HTML:

  <button type="button" class="btn btn-dark dropdown-toggle" data-bs-toggle="dropdown" aria-expanded="false">
    Sort By
  </button>

    Created at
     Title

What operating system(s) are you seeing the problem on?
Windows, Linux
What browser(s) are you seeing the problem on?
Chrome, Firefox
What version of Bootstrap are you using?
v5.2.3

For sure, you can try
const inst = bootstrap.Collappse.getOrCreateInstance('yourSelector')
inst.toggle()


Not working with some mods.

I have created a custom mod pack using the CurseForge app but its not working.
I get this error:
The game crashed whilst initializing game
Error: java.lang.RuntimeException: Could not execute entrypoint stage 'client' due to errors, provided by 'imm_ptl_core'!
Exit Code: -1
I have also attached the crash log
latest.log
crash-2021-12-11_15.39.14-client.txt
I have the following mods in the pack:
Carpet
gnembon
fabric-carpet-1.16.5-1.4.44+v210714.jar
Dynamic FPS
juliand665
dynamic-fps-2.0.2.jar
Fabric API
modmuss50
fabric-api-0.42.0+1.16.jar
Immersive Portals
qouteall
immersive-portals-0.102-mc1.16.5-fabric.jar
Lithium (Fabric)
jellysquid3_
lithium-fabric-mc1.16.5-0.6.6.jar
Pehkui
Virtuoel
Pehkui-3.0.0+1.14.4-1.18.jar
Sodium
jellysquid3_
sodium-fabric-mc1.16.5-0.2.0+build.4.jar

Use this sodium https://github.com/qouteall/sodium-fabric/releases


Getting the WorldOriginPtr with unity > 2021.2

Hello petergu684,
thank you very, very much for such a nice project!
Unfortunately I need to continue my development with the unity version 2021.2 and the problem is that the methods for getting the unityWorldOrigin are discontinued from that version.
Are there any replacements I can implement to keep the same functionality that the pointcloud is visualized directly where they got recorded or is it simply not possible from that version to get the alignment process of both done?
Thank you very, very much for your or anyones help!
BR,
Birkenpapier

var unityWorldOrigin = Microsoft.MixedReality.OpenXR.PerceptionInterop.GetSceneCoordinateSystem(UnityEngine.Pose.identity) as Windows.Perception.Spatial.SpatialCoordinateSystem;

Thank you @petergu684 very, very much for your quick answer!
I don't have currently access to a Hololens over the weekend so I'll come back to you on Monday with the results.
Thank you once again very, very much!

Hello again @petergu684,
I've tested now the application with that line and unfortunately the same problem still persists:

The pointcloud is smaller and looks more away from the real scene and also fades away when your move your head.
May this be regarded to the update from unity 2019.4.17 -> unity 2021.3.8?

Are you by any chance using WLT or similar packages that changes the camera transformation?

No, nothing like that or similar was installed by me.
I have used your unity sample and opened it with the higher unity version of 2021.3.8.
After that I needed to install OpenXR and setting up the project for whatever reason again for Hololens 3d deployment.
That was all that I needed to change to make it runable on that version.
Could that be maybe the reson why the point cloud visualization gets distorted?
May I ask you for your OpenXR settings if you open the project with that version if that is not to much to ask?
Thank you very, very much in advance for your answer.
BR,
Birkenpapier

Sorry but I have no idea. One suggestion is to open a clean project in the newer version rather than porting from the old one, although I did not have any issue porting mine from 2019 to 2021 but who knows. The Unity version I am using is 2021.3.11 with OpenXR backend and everything works fine.
I am not sure what OpenXR settings you are looking for, but it should be the standard way. In Project Settings - XR Plugin-in Management, under UWP tab, I have "Initialize XR on Startup" ticked and "OpenXR" and "Microsoft HoloLens feature group" ticked as well beneath. In Project Settings - XR Plugin-in Management - OpenXR, I have Single Pass Instanced, Depth 16 Bit, tick only on "Microsoft Hololens" in OpenXR Feature Groups and selected all the three options (Hand Tracking, Mixed Reality Features and Motion Controller Model) on the right-hand side.

	I see. Thank you very much for answering. May I ask you for sharing your ported and working unity version? That would be very helpful. Thank you very, very much in advance for your answer. BR, Birkenpapier From: Wenhao<EMAIL_ADDRESS>Friday, March 24, 2023 21:25To: petergu684/HoloLens2-ResearchMode-Unity<EMAIL_ADDRESS>Birkenpapier<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Re: [petergu684/HoloLens2-ResearchMode-Unity] Getting the WorldOriginPtr with unity > 2021.2 (Issue #52)

Sorry but I have no idea. One suggestion is to open a clean project in the newer version rather than porting from the old one, although I did not have any issue porting mine from 2019 to 2021 but who knows. The Unity version I am using is 2021.3.11 with OpenXR backend and everything works fine.
I am not sure what OpenXR settings you are looking for, but it should be the standard way. In Project Settings - XR Plugin-in Management, under UWP tab, I have "Initialize XR on Startup" ticked and "OpenXR" and "Microsoft HoloLens feature group" ticked as well beneath. In Project Settings - XR Plugin-in Management - OpenXR, I have Single Pass Instanced, Depth 16 Bit, tick only on "Microsoft Hololens" in OpenXR Feature Groups and selected all the three options (Hand Tracking, Mixed Reality Features and Motion Controller Model) on the right-hand side.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

As you may find, I don't have much time to maintain this repo regularly, so I don't have updated version of this sample project. I am using it on a different project that I cannot share here, but I will update with you once I got time to update the sample here.

	Thank you very much! Looking forward to hear from you. Thank you very much an BR, Kevin From: Wenhao<EMAIL_ADDRESS>Friday, March 24, 2023 21:55To: petergu684/HoloLens2-ResearchMode-Unity<EMAIL_ADDRESS>Birkenpapier<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Re: [petergu684/HoloLens2-ResearchMode-Unity] Getting the WorldOriginPtr with unity > 2021.2 (Issue #52)

As you may find, I don't have much time to maintain this repo regularly, so I don't have updated version of this sample project. I am using it on a different project that I cannot share here, but I will update with you once I got time to update the sample here.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Hello, @Birkenpapier  , @petergu684
I'm tryna to run sample(PointCloudSample) built by Unity(2020.3) on Hololens2.
First I add this sample project to Unity Hub, and then I dowloaded "XR Plug-in " on Project Settings, and ticked "Initialize XR on Startup" , "OpenXR" and "Microsoft HoloLens feature group" under UWP tab.
And then at the "XR-Plug-in Management" - "OpenXR" tab, I set "Depth 16 Bit" by "Depth Submission Mode", and add the "Microsoft Hand Interaction Profile" to "Interaction Profiles" , and ticked "OpenXR Feature Groups - Microsoft Hololens - Hand Tracking, Motion Controller Model".
After that, I add a XR-plugin to this project by Microsoft Mixed Reality Feature Tool.
Last, I change the NewXRSDKConfigurationProfile of MixedRealityToolkit's profile.
Actually UWP app which runs on Hololens2 , is running well but it doesn't recognize my hand. so I can't click the button of pannel like a "Toggle Preview" , "Toggle Point Cloud" , "Connect to server" , and etc...
I saw your reply on this post, I checked your porject don't recognize your hand at first your photo , but at last photo, your app is recognizing your hand.
This is my issue.
Can you tell me how fix it?

Hi everyone and thanks for the super useful project!
I have been stuck for three days pretty much at the same point as @Birkenpapier : I can use the project with OpenXR and Unity 2021.3.21f, and everything works with no warnings, including pressing buttons and displaying the pointcloud. But I have an offset of the pointcloud to the real world (and to the scene understanding mesh, which interestingly is correct) that corresponds more or less to the offset between sensor and head center (similar to the video above).
I have tried:

Different MRTK settings, both for Experience and Camera profiles
Different transform settings for the PreviewPlanes
Different initializations of the origin in ResearchModeVideoStream.cs
Different settings for Mixed Reality Capture, in the Unity Settings and on the HoloLens
Different versions of the OpenXR package for MRTK
Different Settings in the XR Plugin Management

But nothing seems to even change then offset in the slightest. So I assume there is a transformation happening somewhere, which bypasses all of these different settings, and that transformation probably has a slight difference between Windows MR and OpenXR. I have seen that for hl2ss there seems to have been a fix, but I cannot figure out how to apply that fix here... Has anyone had any luck with this?
Thanks a lot!
Florian


Add new plugin to highlight proper selected text between two points - [merged]

On GitLab by @rahulaggarwal965 on Nov 5, 2022, 08:16

Merges feature/selection -> develop
This PR utilizes the fitz module from mupdf to extract a list of rectangles representing the current selection between two points. This will be used to close pwmt/zathura#26
It will

Extracts the text if the text has not been extracted already. It stores this so we do not recompute for every page.
uses fz_highlight_selection to get a list of quads
Returns them through the plugin-api (and accounts for possible errors).

On GitLab by @rahulaggarwal965 on Nov 5, 2022, 08:45

mentioned in merge request zathura!59

mentioned in commit f3ae7485ba00dd8d05b84e59f027fa4798e35c82


Intellij does not understand extended syntax from scalac plugin

I have defined the following scala_library:
scala_library(
    name = "my-library",
    srcs = glob([
        "src/main/scala/**/*.scala",
    ]),
    scalacopts = [
        "-Xplugin:$(location @maven//:org_typelevel_kind_projector_2_13_3)",
    ],
    deps = [
        "@maven//:org_typelevel_kind_projector_2_13_3",
    ]
)

This enables some extended syntax. Bazel builds this just fine, but intellij marks the extended syntax as errors.
Versions:
Bazel: 4.0.0
Intellij: 2020.1.4
Bazel intellij plugin: 2<IP_ADDRESS>.2

Thanks for reporting, @erlendvollset! Do you have a repo to reproduce a problem? Do you know if this works with sbt projects and Intellij? I guess that problem is in the Intellij Scala plugin itself, but to validate it your help would be appreciated!

The problem is due to the mismatch in granularity between IJ and bazel.
IJ bazel plugin models the entire workspace as one IJ module while the configurations are target based.
This means that target specific configs are lost.
There were many discussions about it in the IJWB plugin repo.


fixes #56, even though setup command is never meant to re-run multipl…

…e times, it now allows setting an website/tenant identifier

Current coverage is 47.07% (diff: 100%)

Merging #132 into 2.x will increase coverage by 0.25%

@@                2.x       #132   diff @@
==========================================
  Files            47         47
  Lines           816        820     +4
  Methods         190        190
  Messages          0          0
  Branches          0          0
==========================================
+ Hits            382        386     +4
  Misses          434        434
  Partials          0          0

Powered by Codecov. Last update 280f6b4...7ddc1f8


[UX Turbo] Added missing use statement in example code

Q
A

Bug fix?
yes

New feature?
no

License
MIT

Fixed error in 'chat' example code for Symfony UX Turbo page:

added missing use statement for Mercure\Update entity

Thanks @cpoushay!


Coachella 2023

If your PR is related to a contribution to the taxonomy, please, fill
out the following questionnaire. If not, replace this whole text and the
following questionnaire with whatever information is applicable to your PR.
Describe the contribution to the taxonomy

...
...
...

Input given at the prompt

   ...

Response from the original model

  ...

Response from the fine-tuned model

  ...

Contribution checklist

[ ] The contribution was tested with ilab generate
[ ] No errors or warnings were produced by ilab generate
[ ] All commits are signed off (DCO)
[ ] The qna.yaml file contains at least 5 seed_examples
[ ] The qna.yaml file was linted and prettified (yaml-validator can do both)
[ ] An attribution.txt file in the same folder as the qna.yaml file
[ ] Content does not include PII or otherwise sensitive or confidential information
[ ] Content does not include anything documented in the project's Avoid these Topics guidelines
[

](https://github.com/instructlab/taxonomy/issues/832)

Closing per https://github.com/instructlab/taxonomy/pull/1137.


Don't make tracing start eagerly around Callable/Runnable

Finalge works this way: before a Function runs on a thread, the current thread context is stored, then the Function's context (the context in which the Function is defined, which could be in a different thread) is restored, then the Function is executed, and finally the stored context is restored.
This allows 2 things:

execution context is preserved across threads.
a Function may create new Functions, and they will use the same context.

Currently DefaultTracer only provides wrap() methods, which starts a span "eagerly" around Runnable/Callable.  There should an option to allow the storing-restoring-restoring of SpanContext like that in Finalge.

Thanks for the explanation! Do you feel comfortable implementing this, if
others agree with this path?

Currently DefaultTracer only provides wrap() methods, which starts a
span "eagerly" around Runnable/Callable. There should an option to allow
the storing-restoring-restoring of SpanContext like that in Finalge.

Maybe I misunderstood sth but we don't start a span at that point. The span
is started when the wrapped object is executed. When we're wrapping we just
pass the "context".

The span
is started when the wrapped object is executed.
Sorry I didn't explain it clearly.  What I meant is that the span shouldn't be started when the object is executed, but rather the code inside the object to start the span.

An example:
Runnable run = () -> {
    Span span1 = tracer.startTrace(...);
    // Some code
    span1.close();
    Span span2 = tracer.startTrace(...);
    // Some code
    span2.close();
}

class DefaultTracer {
// Other code

public Runnable wrapContext(Runnable runnable) {
    Span stored = tracer.getCurrentSpan();
    return () -> {
        Span previous = tracer.getCurrentSpan();
        SpanContextHolder.push(stored, false);
        runnable.run();
        SpanContextHolder.push(previous false);
    }
}

This lets runnable run in the same SpanContext it was wrapped, but not actually dictates that a Span should be started when the runnable starts.  This gives runnable the freedom to create spans when it wants to.

so ATM we have the same scenario but we're wrapping it all in one more span. You still can create spans inside the runnable - that's perfectly legit

@marcingrzejszczak That's correct.  But this one extra layer of span may be cumbersome for tracing, as it adds unnecessary noise to the span tree.  It would be nice to have a way to stop it.


Sanitize RPC responses and replace non-UTF-8 compliant characters

SanitizeInvalidUTF8() can be used to replace invalid UTF-8 characters or character sequences in strings.

The size of the result is always equal to the size of the input.
Multibyte sequences are supported.
Reserved unicode characters are not considered as invalid.
Validity is not dependent on the system's locale.

RPC responses, which go through the RPC server, are sanitized, and invalid characters, or character sequences, are replaced with question marks '?'.
Many RPC implementations need special handling for invalid UTF-8 encoded strings, and this change is intended to shift this burden from the client to the server.
This resolves #108.

UTF-8 uses variable-length-encoding, and characters (or numbers, representing characters) may need more than one byte.
The beginning of a character, or character sequence, indicates the total number of bytes used (see: mbstring::get_mblen). For the validation of UTF-8 encoded characters, we only need to check, whether it points to valid number ranges (see: mbstring::check_mb).
Nearly 80 % of this PR are tests, which is probably a bit excessive, but I wanted to make sure nothing slips through or the validation is too strict, and I mixed tests from more than one source together.
I finally decided to sanitize all RPC responses, primarily for simplicity (it's cheap and very fast), but also to avoid that the core logic is not polluted with non-consensus relevant stuff.

While the validation should be able to handle any UTF-8 encoded string, including foreign character sets, it is unfortunally partially overruled by the sanitization of json_spirit::, which is not locale-independent, and neither supports multibyte character sequences.
In practise this means this PR ensures that no invalid characters slip through (as outlined in #108), but it doesn't imply that Omni Core can display all kinds of characters, which are considered as properly encoded.

Awesome - this is great!  Reviewed & tested, all looks good to me - OK to merge.


JSON API headers for Index Meta-Database

Lifted from PR #68.

(..) I think in the final version of the pull request that put this info here, we lost a sentence either here or elsewhere saying that these endpoints on index meta-databases are exempt from the jsonapi header requirements on the Content-type and Accept headers, and may serve the response with any Content-type.
But maybe this is something we should take in a separate PR, since it isn't only a cosmetic change. It seems very important, though.

_Originally posted by @rartino in https://github.com/render_node/MDE3OlB1bGxSZXF1ZXN0UmV2aWV3MjM2NjMzNDQw/pull_request_reviews/more_threads

@sauliusg, @giovannipizzi  This is the issue we discussed in the teleconference. @sauliusg said he would post a new issue where we could discuss it. But that isn't actually necessary; we can have the discussion here.

Note: there is now a concrete PR to resolve this issue, perhaps we should continue the discussion there: #236


Ensure both docker CMDs are invoked

The envsubst cmd isnt invoked, and so secret.json doesnt exist.

Messages

:book:

:sparkles: Thanks for your contribution to Shields, @elordahl!

  Generated by :no_entry_sign: dangerJS

@chris48s @RedSparr0w @platan could one of you please have a quick look at this Docker work before I merge? 😄

I've never used docker, but this change doesn't seem like it would break anything.
Although i'm not quite sure how it would help.

@RedSparr0w I believe you can at most have one CMD, the second one will overwrite the first one.

Ah okay this makes sense then.

Yep.  for reference: https://docs.docker.com/engine/reference/builder/#cmd

There can only be one CMD instruction in a Dockerfile. If you list more than one CMD then only the last CMD will take effect.


new branch creation - Utilities

utils will be a module dedicated to vcl utilities.
First devs will be the implementation of utility classes Pos for positions, Dims for dimensions, Offset for offsets,

done.


Split into smaller pieces that can be loaded individually

Hi Nicolas,
Thank you for your work on this package, I think it would be great to be able to only load an indiviual function in the same way that gl-mat4 does : https://github.com/stackgl/gl-mat4
With that package, you're able to write:
var scale = require('gl-mat4').scale
var scale = require('gl-mat4/scale')

And it would be amazing it the same thing were possible with this package, like:
var linspace = require('numjs/linspace');

If this is something you'd consider, I might be able to help, even though it looks like the numpy methods I'm looking for are not included in your library, but I'll do more digging to find out.
Cheers,
Alvin

Hi @alvinsight  and thank for your feedback.
I assume the point is to avoid loading the entire 170kB  in your webapp / website using tools such as webpack (which is definitely a good idea).
I don't have I time for this kind of nice stuffs right now I'm affraid, but PR are always welcome ;)
PS: Please note that:

since numjs is "just" a wrapper arround scijs / ndarray, at the end you will probably end up with a very little improvement
numjs currently use browserify to enable different implementations for both nodejs / browsers (see package.json)

aside: what are the missing method you are looking for?

Hi Nicolas,
Good to know, thanks, it looks like I might not need numjs in the end, but if I do, I'll definitely look into this.
The methods I was after were linspaceand arrange which I couldn't find in the docs :)
Thank you,
Alvin


Scraper does not run if previous day was a weekend

Essentially if the day before the code is being run was a weekend, the scraper will not get past the parsing section on line 35. Throws a "list index out of range error". This is only a visible problem on Mondays and Sundays, but to replicate the error either change the code such that it thinks that yesterday was a weekend and run it (change the day timedelta in yesterday) or run the code on a Sunday or Monday.

#4 fixes this


uber-trace-id from incoming request overwrites client span in spring cloud gateway tracing

Client span is generated here:
https://github.com/opentracing-contrib/java-spring-cloud/blob/8a865d560bf42b4bce839ba9a0977aecff3a4073/instrument-starters/opentracing-spring-cloud-gateway-starter/src/main/java/io/opentracing/contrib/spring/cloud/gateway/TraceRequestHttpHeadersFilter.java#L55-L60
Next we try to inject this span into Http Headers of inner request:
https://github.com/opentracing-contrib/java-spring-cloud/blob/8a865d560bf42b4bce839ba9a0977aecff3a4073/instrument-starters/opentracing-spring-cloud-gateway-starter/src/main/java/io/opentracing/contrib/spring/cloud/gateway/TraceRequestHttpHeadersFilter.java#L65-L70
But if the incoming request to Spring Cloud Gateway had it own uber-trace-id header this will overwrite what we just tried to do. Is it a bug?

Bug is here:
https://github.com/opentracing-contrib/java-spring-cloud/blob/master/instrument-starters/opentracing-spring-cloud-gateway-starter/src/main/java/io/opentracing/contrib/spring/cloud/gateway/TraceRequestHttpHeadersFilter.java#L89
It should be .putIfAbsent() instead of .put()


Link to real and fake github doc pages

One real link, other links are to real websites but do not match link text.

Hey dude, looks pretty good. Could we use a real link for branches. Thanks man!

👍


i want to fix the camera interface and want to catch button events

I want to fix the camera interface and want to catch the events of the photo button, back button, shutter button again!

I don't think that's possible since this uses the built in camera app.


LANG-701 - Added new joinWith method to support varargs

New pull request created, was originally https://github.com/apache/commons-lang/pull/38

Coverage decreased (-0.0%) to 93.35% when pulling 155cec1085f9bd5383241e4c93fb40117081aaba on rightmove:LANG-701 into 1cb5573ada7dc7ec240fca6afe4eeb6e2c793d8e on apache:master.

Coverage decreased (-0.0%) to 93.35% when pulling 155cec1085f9bd5383241e4c93fb40117081aaba on rightmove:LANG-701 into 1cb5573ada7dc7ec240fca6afe4eeb6e2c793d8e on apache:master.

Thank you!


NFG function to find the next greater frequency

NFG function to find the next greater frequency
element for each element in the array'''

Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Description
(Write your answer here.)
Checklist

[ ] I've read the contribution guidelines.
[ ] I've checked the issue list before deciding what to submit.
[ ] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)

Any idea
On Sat, Oct 17, 2020, 11:25 PM Abhinav Anand<EMAIL_ADDRESS>wrote:

Closed #1335 https://github.com/TesseractCoding/NeoAlgo/pull/1335.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TesseractCoding/NeoAlgo/pull/1335#event-3889525313,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQSH44SB4N6L2T35W3MRSXLSLHLBDANCNFSM4STMLXUQ
.


(iOS) barCodeTypes default not setting for types interleaved2of5, itf14, datamatrix

Steps to reproduce

Integrate react-native-camera in your project, leaving barCodeTypes empty (should default to all available)
Set a breakpoint on RCTCameraManager.m didCaptureOutput:didOutputMetadataObjects:fromConnection:
Run the app on an iOS 8+ device and scan a datamatrix (http://stackoverflow.com/questions/27580953/unable-to-read-white-on-black-data-matrix-barcode) and then inspect self.barCodeTypes from within the breakpoint

Expected behaviour
po self.barCodeTypes should print out all the barCodeTypes supported, which should include the interleaved2of5, itf14, datamatrix types
Actual behaviour
These types are missing.
How to fix
The current implementation checks the available types using
#ifdef AVMetadataObjectTypeInterleaved2of5Code
,@"interleaved2of5": AVMetadataObjectTypeInterleaved2of5Code
# endif
#ifdef AVMetadataObjectTypeITF14Code
,@"itf14": AVMetadataObjectTypeITF14Code
# endif
#ifdef AVMetadataObjectTypeDataMatrixCode
,@"datamatrix": AVMetadataObjectTypeDataMatrixCode
# endif

in RCTCameraManager.m -constantsToExport. I found that this worked for me:
NSMutableDictionary * barCodeTypes = [NSMutableDictionary dictionary];
    [barCodeTypes setDictionary:@{
    @"upce": AVMetadataObjectTypeUPCECode,
    @"code39": AVMetadataObjectTypeCode39Code,
    @"code39mod43": AVMetadataObjectTypeCode39Mod43Code,
    @"ean13": AVMetadataObjectTypeEAN13Code,
    @"ean8":  AVMetadataObjectTypeEAN8Code,
    @"code93": AVMetadataObjectTypeCode93Code,
    @"code138": AVMetadataObjectTypeCode128Code,
    @"pdf417": AVMetadataObjectTypePDF417Code,
    @"qr": AVMetadataObjectTypeQRCode,
    @"aztec": AVMetadataObjectTypeAztecCode
    }];
    //Check at runtime if these other constants exist
    if(&AVMetadataObjectTypeInterleaved2of5Code != nil){

        [barCodeTypes setObject:AVMetadataObjectTypeInterleaved2of5Code forKey:@"interleaved2of5"];
    }

    if(&AVMetadataObjectTypeITF14Code != nil){

        [barCodeTypes setObject:AVMetadataObjectTypeITF14Code forKey:@"itf14"];
    }

    if(&AVMetadataObjectTypeDataMatrixCode != nil){

        [barCodeTypes setObject:AVMetadataObjectTypeDataMatrixCode forKey:@"datamatrix"];
    }

but I'm not sure how that will work on an iOS 7 device.
Environment

Node version: 5.0.0
React Native version:0.29.1
Platforms: RN 0.29.1 + iOS 9.3.2

react-native-camera
Version: git+https://github.com/lwansbrough/react-native-camera.git

What do we need to do to get this fixed in the current branch? Test iOS 7 with the change?

@LeBlaaanc or be sure that it won't cause a crash. I never used this &AVMetadataObjectTypeDataMatrixCode to check existence of a constant at runtime, so I can't say much about if that will cause a runtime crash.
Another option is to just ensure you're deploy target is greater than X, where the iOS SDK in version X contains the constant your checking against.

@micksabox right, I just was curious how we get this into a PR, we target iOS 9+ and it works fine.

I think I spoke too soon @micksabox did you have issues with this only in production? Ours reader picks up interleaved2of5 until it's compiled.

Hey @LeBlaaanc I'm not sure, I found this issue in dev, haven't tried in production.

Can we get this changed to use &AVMetadataObjectTypeDataMatrixCode etc. now?
Not sure what level of backwards compatibility is required for iOS 7 now?

I see there is already a PR at #401 that works well for me 👍

#401 works for me as well

This is now merged into master with #586 https://github.com/lwansbrough/react-native-camera/commit/371a6a0dfaec1aa744087e3ceb0deb404055b189


Failing to install slap

Hi there,
I am struggling installing slap. According to their README, the following command should install it:
$ sudo npm install -g slap

Thus I tried npm2archinstall but it fails with the following error:
~ ❯ npm2archinstall slap
==> ERROR: Missing package() function in /tmp/npm2archinstall-6aab90e8-be45-46dd-9dcf-76e185e3eab6/PKGBUILD

path.js:360
        throw new TypeError('Arguments to path.join must be strings');
              ^
TypeError: Arguments to path.join must be strings
    at path.js:360:15
    at Array.filter (native)
    at Object.exports.join (path.js:358:36)
    at /usr/lib/node_modules/npm2arch/lib/createPkg.coffee:90:35
    at Object.oncomplete (fs.js:108:15)

I don't know what to do with the error message. Can you help me?
Many thanks!
Robert

It appears to be a problem with how makepkg errors are resolved. The latest version of pacman finally turned a missing package() function from a warning to an error, so, it falls through code that doesn't handle the error properly.
I think that I fixed it in 0e6b96b, but let me know if you have problems!

Oh, that's why it doesn't work. I've fixed it and uploaded a new version to the AUR and NPM.

@Undeterminant
Many thanks for your fix! I will try it as soon as I am able to build the latest version from the AUR.
See my comment in the AUR.

version 0.1.18 allowed me to install slap.
Many thanks!
Robert


Wrong credentials, how to reset?

As stated above.

It does automatically validate your credentials whenever you initialize the plugin in a new session. Incase, If it doesn't you can remove a file generated by leetbuddy called .lbcookie which will be located in:

Linux or Mac: ~/ which is the /home/<user>/
Windows: C:\Users\<user>


[FRONTEND] Refactor contains_return_op into an independent AST

https://github.com/openai/triton/issues/1690

Not mergable yet. Reviewing the code...

All the internal correct tests also passed


make utils WDL local imports

This fix issue #38

Like you said in #38 , you could also change pipelines/cellprofiler/cellprofiler_pipeline.wdl to a local import


chore: rename change to modify

I hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
proto: https://github.com/GreptimeTeam/greptime-proto/pull/200
What's changed and what's your intention?
Just a rename.
Rename ChangeColumnType to ModifyColumnType to match it with SQL syntax.
Checklist

[ ] I have written the necessary rustdoc comments.
[ ] I have added the necessary unit tests and integration tests.
[ ] This PR requires documentation updates.

Captured db#5000 and proto#200 flag! Quite lucky for me :)

Captured db#5000 and proto#200 flag! Quite lucky for me :)

Interesting😜


create a basic Linux development environment

It looks like the markdown is rendering incorrectly due to a formatting error.

Closing this due to inactivity. If you can fix the formatting issues, please re-open and we'll be happy to reconsider the PR.


Ensure we flush out all pending data on SslException. Related to [#3900]

Motivation:
We need to ensure we flush out all pending data when an SslException accours so the remote peer receives all alerts.
Modifications:
Ensure we call ctx.flush() when needed.
Result:
Correctly receive alerts in all cases on the remote peer.

@Scottmitch @trustin PTAL

@Scottmitch I looked again at the code and I think the PR is correct. It will flush() if something was written to the channel and an exception was thrown (while processing outbound stuff) and on inbound it will flush when channelReadComplete(...) was called and before something was written (which will also handle the case of an exception).

@Scottmitch that said I think we may need to call flush before reporting the exception as the user may close the channel when an eyception happens. So I think we need to make sure we call flush before notifyHandshakeFailure(...) . Agree?

@normanmaurer - Flush before close sgtm.

Let me adjust later today

Am 20.01.2016 um 15:00 schrieb Scott Mitchell<EMAIL_ADDRESS>@normanmaurer - Flush before close sgtm.
—
Reply to this email directly or view it on GitHub.

@Scottmitch actually it is ok as it is as close(...) is intercepted and will cause flush(...) to be called. So ok to cherry-pick ?

@normanmaurer - lgtm

Cherry-picked into 4.0 (ae6c74d51aa623719460bddea40181783875b515) and 4.1 (ae4e9ddc2d66f23c3cad6f8adeed72392aae67da)


New version: Anaconda.Anaconda3 version 2024.06-1

Created by 🥟 Dumplings in workflow run #6160.

Log
Updated: 2024.02-1 → 2024.06-1
No ReleaseTime and ReleaseNotes (en-US) for version 2024.06-1
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run

URL: https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Windows-x86_64.exe
OK
(Automated message - build 911)

/azp run

This package installs and launches normally on a Windows 10 VM.

This package installs and launches normally on a Windows 10 VM.


Updated Spanish strings for Hubzilla

Why did you create this request? I didn't had time to commit the strings to github yet, but they are already on yout hub.

Now it's committed.

It wanted to learn to do it by me same :-)

Ah OK. Did you edited hstrings.php by hand? If so, it's better to generate that file with util/po2php.php on a real up-to-date Hubzilla hub. In the past I also did it by hand and it gave easily issues. So please let me or someone else with a hub do it.

"Did you edited hstrings.php by hand?"
No by hand but with:
php util/po2php.php view/es/hmessages.po
and I check hstrings.php for errors:
php view/es/hstrings.php

Do you have your own hub now? If so, I didn't say anything.

No, I do not have. Only my github fork. But I want to have it in a future ;-)


Support multiple versions of Fast DDS in CI [20999]

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

Project coverage is 49.81%.  Consider uploading reports for the commit 2295c03 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #117      +/-   ##
==========================================
- Coverage   51.04%   49.81%   -1.23%
==========================================
  Files          64       64
  Lines        3013     3013
  Branches     1112     1112
==========================================
- Hits         1538     1501      -37
- Misses        653      682      +29
- Partials      822      830       +8

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


[WIP] Simulation and Evaluation

Two main goals:

Add functionality to simulate raw

[x] Create raw object
[x] Switch to mnefun implementation allowing arbitrary time courses (and maybe include head movement)
[x] Make example, tests
[ ] Confirm that ECG/blink noise is correct scale
[ ] Add flow to handle EEG-only, MEG-only, and MEEG efficiently

Add methods to evaluate the accuracy of source estimate

[x] Rename simulation_metrics file, add author on tests
[ ] Make example

Why simulate Epochs instead of raw with events? It seems more general to me.

BTW I have code for simulating raw data with events

Sure, we can do it with raw objects. Want to send code to @yousrabk and me if it'll be useful?

Look in mnefun/_simulate.py. it's actually more general, you can simulate
head movements with it (actually that's its raison d'etre) but it should do
what you want. Getting it into mne-python would be great.

The API is documented in the function so hopefully it's clear
On Jul 14, 2015 2:00 PM, "Eric Larson"<EMAIL_ADDRESS>wrote:

Look in mnefun/_simulate.py. it's actually more general, you can simulate
head movements with it (actually that's its raison d'etre) but it should do
what you want. Getting it into mne-python would be great.

What's the idea behind using a single function (e.g. np.sin) for generating the time courses of the simulated stc instead of using specified time courses? By providing the time courses it is easier to generate evoked sources with transient time courses with specified latency and amplitude.
We should also think of having an option to for simulating background activity. What I did for the simulation for PRNI2015 was using 10 randomly selected dipoles per epoch with 1/f noise to generate background activity.
One last idea: Should we allow for simulations with free orientation? This way we could for example slightly vary dipole orientations over trials or time.

Agreed, the code I mention above allows for arbitrary time courses for
arbitrary sources / orientations (so you can do free if you want). Noise is
imposed at the sensor level based on a covariance matrix (should be general
enough for most cases) and optionally filtering coefficients, but that's
already in this repo.

BTW @wronk it would also be very useful to have my movement simulation code in mne-python for eventual validation of Maxwell filtering movement compensation

you'll need to make travis happy
and I'd love to see an examples for these cool features.

to me head moves can be done later.
let's keep it simple for now.

Sure, head movements could be done later. However, the code I wrote has already been used a bit, so it's tested. It is also more feature-complete than is what is here. I guess I don't see the point in re-coding something that is already implemented in a more complete, tested way...?

sure. You can do some magic when we sleep :)

The magic has already been done for a while actually, it's here:
https://github.com/LABSN/mnefun/blob/master/mnefun/_simulate.py#L232
You don't actually need to use any head movements if you don't want to. But this code does some other nice things, like does the projection in chunks to deal with memory issues, etc. Imagine trying to produce a 2GB raw FIF file using a full ico-5 source space. If you want your data to comprised of repeats of the same brain activity, the code above will do that. It will also do it with stationary or moving head position, simplistic EOG and ECG simulation, realistic BEM or spherical model, etc.

(for now, the head movement bit could be removed for simplicity if people want, but I think the other features are pretty convenient)

maybe you can send a PR to @wronk when he sleeps :)

@Eric89GXL, @agramfort, see description update.
@joewalter, arbitrary time courses sound like a good idea (and already included in Eric's code). We'll probably keep it simple on the other issues until the first round is up, but note that we already allow an arbitrary number of dipoles to be specified in the simulation.

@wronk arbitrary time courses were actually a feature of the function you are trying to depricate (generate_sparse_stc). As you are allowing for an arbitrary number of dipoles this could be used for simulating background activity. Basically I did it in a similar way with the old function by randomly selecting labels from the set of available labels, and running generate_sparse_stc with this set and colored noise as time course.
As all of these is available in @Eric89GXL's code (and more), changing the way we simulate MEG/EEG to simulating raw data and use mne-python standard functions for generating epochs and evoked from this data is a good idea in my opinion.

using a callable to generate time courses from an array of times was actually my idea. Basically you can see this function as a generator of time courses that can vary in amplitude, latency, phase etc... This allows to support all these use cases without making the API of simulators too complex.
we can talk on hangout all together if you want

@agramfort @Eric89GXL can you review the other simulation code? (evoked/source) to find out what still need to be improved.
Thanks

Didn't have time with all the docs stuff to review this, but I will look tomorrow morning. Sorry for the delays.

It's all good, still have to fix Appveyor/Travis btw
Thanks :)

@yousrabk, what were you planning to work on this week? I'll have some down time to code while I'm traveling back to the states, and I wanted to avoid repeating/conflicting code. I was planning on fixing the ability to use only some types of noise and addressing some of the in-code comments -- what do you think?

@wronk I think I was almost done with all the comments when I was trying to make Travis happy :)
I still need to update the metrics test with different SNRs, and make a small function that will generate the amplitude in nAm.
We are almost there :)

ping me when I should review.

@yousrabk, great it sounds like we're still doing independent things, so keep pushing on those and I'll do the same with my pieces :)
@agramfort, will do.

switch the PR to MRG when it's ready.

@Eric89GXL, is the best way to check correct scales for blinks/heart beats to just looks at some raw files?

Yeah, you can just eyeball it, the scales are currently pretty arbitrary. Eventually we can make it a parameter if we need to, but I'd assume YAGNI for a while

I tried to take this over (or at least part of it), but I will need to rebase.
I prefer to make sure that noone is working on it, first. I asked @wronk and apparently @Eric89GXL, you have done some work on this PR. So what is the status?

Yeah, I made a bunch of local changes/improvements to my code that will need to be merged. It might be faster if I take it over since I wrote a lot of it originally. Are there specific things you wanted to add, or did you want to take it over mostly to get it merged?

If your local changes were about the simulate raw, it was not part of what I can do over here. I wanted specially to add a callable function to simulate "general" wavelets. Because now, it's only using a sinusoid wavelet.
So may be I can work on it from my side and wait for you to have this done, or what is the plan?

Yeah, that might be the best plan. I think integrating a more general wavelet plan will be easier to do once I clean up and improve this.

Ok, let's do this. Thanks

@wronk @yousrabk I spent some time on this PR today.
See the result in :
https://github.com/agramfort/mne-python/commit/a3a17401c58909eeba27660e9785c881d2ec7a66
Please cherry pick this commit in the branch.
I still see some deprecated functions (generate_stc) used in tests + some warnings :(
Also nosetests mne/simulation/ takes > 60s on my box. This is way too much.
There is some work to be completed on simulation of raw data.
Also please have a look why travis complains.
I'd love to have this for the release :)
thanks everyone

I can look this week, I have some other fixes on my local branch

The history is screwed up with this branch. @yousrabk @wronk did you do merges instead of rebases with this branch? When I go to rebase, I have multiple copies of many commits, and even the GitHub commit count shows a lot of commits listed twice.


Make the Result type a struct and allow multi-case struct unions

This extracts the key part of https://github.com/Microsoft/visualfsharp/pull/1395 which we should consider taking for F# 4.1 - where multi-case struct unions are allowed, and the Result type is marked as a struct.
The introduction of StructOption and StructChoice types and their use as return types of active patterns can be done at a later point (though this checkin would allow these types to be defined in user code, as the patterns test case shows)

Don
1) Failed : FSharp-Tests-Typecheck+Sigs.sigs
Error running command 'D:\j\workspace\release_ci_pa---866fd2c3\tests\fsharpqa\testenv\bin\diff.exe' with args 'neg95.err neg95.bsl normalize' in directory 'D:\j\workspace\release_ci_pa---866fd2c3\tests\fsharp\typecheck\sigs'. ERRORLEVEL 1 ERRORLEVEL 1
at NUnitConf.checkTestResult(Result`2 result) in D:\j\workspace\release_ci_pa---866fd2c3\tests\fsharp\nunitConf.fs:line 14

Probably the baseline file needs updating.

Surface area tests are failing.  Some public apis have changed.

@dsyme,
Nope baselines still broken.  I will take care of it in the morning.
Kevin

@KevinRansom Baselines now properly updated

@dsymeThank you for this contribution.

Nice!


Course Withdrawal doesn't work on Chrome; only works on Firefox.

In Course Proposals, when a user tries to withdraw a course, it works on Firefox, but it doesn't work on Chrome. More specifically, the withdraw button doesn't lead to any action when attempted on Chrome; however, it works fine on Firefox.

This is what I get when attempting to Withdrawal on a course


Error Using Nexus repository

Hi, we are with the error below:
[ERROR] Failed to execute goal on project images: Could not resolve dependencies for project br.com.mobiauto:images:jar:0.0.2-SNAPSHOT: Failure to find com.github.kilianB:JImageHash:jar:3.0.0 in https://nexus.internal.com.br/repository/maven-group/ was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

We configure in Nexus a Repo Proxy (error):
URL https://dl.bintray.com/kilianb/maven
We tried to configure Maven-central with the same repo (above). (error)

Our Nexus this makes the download of others dependencies (ok).
Help me???

Sadly I do not have experience working with nexus, therefore I can't exactly pinpoint your issue.
It is expected that you are not able to resolve the artifact via maven central simply due to the fact that it is not published there. The code got released to JCenter which is a mirror and superset of maven central
<repositories>
	<repository>
		<id>jcenter</id>
		<url>https://jcenter.bintray.com/</url>
	</repository>
</repositories>

If you take a look at https://dl.bintray.com/kilianb/maven/com/github/kilianB/ you can see that the code is available. In my opinion this is somehow related to your nexus configuration.
Please also take a look at https://jfrog.com/knowledge-base/using-bintray-with-nexus/
Sorry that I can't provide any further help

Hi Killian, thank you.
Through some of their information, we were able to solve.  (Resolved)
Let's share:

Nexus - Add new proxy repository with name "jcenter":

Nexus - Add url bellow in proxy (remote storage):
https://dl.bintray.com/kilianb/maven/com/github/kilianB/

Nexus - Add the new repo "jcenter" in maven-group:

pom.xml - On configuration file:

<repositories>
       <repository>
             <id>maven-group</id>
             <url>https://nexus.internal.com.br/repository/maven-group/</url>
       </repository>
</repositories>

Thank you very much.


docs(aggregate): add docs for aggregate component

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


Changes for better script online compatibility

For now it only has a WIP code for the rollback function hook that copies the data from one thread to another, it works but I still have to make it better, add more changes and decide how to name the heap clone functions

Should I rename the PRE_CLONE_HEAP event now that there's the other events? (LOAD_STATE, SAVE_STATE)

Should I rename the PRE_CLONE_HEAP event now that there's the other events? (LOAD_STATE, SAVE_STATE)

Yeah I think the best thing moving forward would be to just call it "state" (so CLONE_STATE or COPY_STATE), grow the existing struct to start at offset 0, renaming it to "State" in the api, absorbing whatever there is before the current StateMemory and possibly after (whatever is part of this heap), making sure the globals always point to the local versions...

Would StateMemory be merged with the current existing State struct?

I meant grow the currently existing StateMemory struct from the beginning by 0x4a0, and rename it State. I know we have a State struct already, but parts of it really have nothing to do with the state of anything and is just for initializing the script api.
So

rename the current State to ScriptAPI or whatever, keeping the relevant functions, removing the soon obsolete functions
grow the current StateMemory by 0x4a0 and rename it State

or

split the current State to ScriptAPI and State
put old StateMemory inside this new State

and

fill the beginning of new State with stuff we know is in it, like the frame count and prng
organize the functions so new State only has functions that deal with that State, rest somewhere else

Now I don't exactly know what else is in the beginning of that new State, but there's clearly about 0x4a0 bytes of stuff that we should reverse engineer.

grow the current StateMemory by 0x4a0 and rename it State

put old StateMemory inside this new State

Those two points are mutually exclusive
There is also a ton of stuff after StateMemory, including a lot of the inner structs of StateMemory, level gen, liquid physics, but also save data etc.
I don't really see a reason for one giant struct, it will probably just mess with compile time or you will end up fighting the compiler alignments in it.
For the x64dbg plugin i just made one function to get heap address and then you get offset for specific thing via enum

I was going with the option of growing state, but not I noticed we have some game functions that use StateMemory* with the current size, like spawn_companion, is_inside_active_shop_room, update_state, and some hooks...
So I guess I'm going for the second option by putting StateMemory in State, but would the lua API now use StateMemory or State?

I was going with the option of growing state, but not I noticed we have some game functions that use StateMemory* with the current size, like spawn_companion, is_inside_active_shop_room, update_state, and some hooks... So I guess I'm going for the second option by putting StateMemory in State, but would the lua API now use StateMemory or State?

Well yeah clearly StateMemory is its own thing cause it's referenced like that a lot, but also clearly part of a slightly larger thing, so second option makes more sense. We should really figure out what all the stuff in that 0x4a0 even is, but on the lua side things don't really have to change, as we have getters for all the known things in there anyway. Things can be added as properties of lua["state"] even if not exactly in StateMemory though, if that makes sense.
Even if we end up with just this, it's better than the magic number getters we currently have:
struct State { // offset 0
  // padding
  PRNG prng;
  uint32_t frame_count;
  // padding
  StateMemory state; // offset 0x4a0
};

Still open for suggestions for the naming of those structures, but internally it doesn't really matter that much.

Things can be added as properties of lua["state"] even if not exactly in StateMemory though, if that makes sense.

Wouldn't that require doing the same as before, substracting an offset to get the stuff in State?

Still open for suggestions for the naming of those structures, but internally it doesn't really matter that much.

Having stuff like state->state doesn't sound good to me, though I don't have many ideas. Seems that we already have some name for it from before, the OnHeapPointer class in thread_utils.hpp, but idk why it was named like that

I made some changes, though I had some doubts, I decided just to do the changes and then get it reviewed

I have a local stash of changes to make timers and callbacks started from other callbacks to work online, by moving the callbacks unordered_map and other fields from LuaBackend to LocalStateData and creating custom structs that only get copied when they have changes, so it has many lines of code edited. Should I commit that here or make another PR, to prevent this one from growing too much?
Also, should I make PRE_COPY_STATE to be also called from the savestate functions? Makes sense to me since people using PRE_COPY_STATE probably use it for online mods and wouldn't use the other save callbacks, and also being able to test a part of the rollback without having to open an online game seems be nice

I have a local stash of changes to make timers and callbacks started from other callbacks to work online, by moving the callbacks unordered_map and other fields from LuaBackend to LocalStateData and creating custom structs that only get copied when they have changes, so it has many lines of code edited. Should I commit that here or make another PR, to prevent this one from growing too much?

Yeah maybe we should do this in smaller parts, but I'll say I have no intention of actually testing any of this online, just to make sure some single player mods still works right.

Also, should I make PRE_COPY_STATE to be also called from the savestate functions? Makes sense to me since people using PRE_COPY_STATE probably use it for online mods and wouldn't use the other save callbacks, and also being able to test a part of the rollback without having to open an online game seems be nice

Makes sense to me too, even if just for testing.

I removed the PRE_COPY_STATE for now because I don't really know what someone could use it for, so I prefer to leave it out until having something more clear

On this PR I added get_location to State, but now there is also get_state_offset in savestate.cpp which does the same. Which one should be preferred?

On this PR I added get_location to State, but now there is also get_state_offset in savestate.cpp which does the same. Which one should be preferred?

I don't think that matters much. Just pick one

do you mean to let anyone decide which to use, or to remove one of those?

do you mean to let anyone decide which to use, or to remove one of those?

Aren't they exactly the same? it doesn't really matter which one we use. So just remove one.
Also this is really not a function that's used often, so it doesn't matter.
Also also, i plan to kill this function anyway, since we can just hardocde the offset 4A0 , it's not a big deal


[Builtins] Add 'HasMeaningIn'

This polishes constraints a little separating HasConstantIn from a newly added HasMeaningIn. Not ready for review yet.

I don't see any difference in Core, hence merging.


chart structure

https://github.com/eclipse-tractusx/sldt-digital-twin-registry/tree/main/charts
TRG: https://eclipse-tractusx.github.io/docs/release/trg-5/trg-5-02/#chart-file-structure
For Eclipse Tractus-X Helm charts we expect the following charts structure as a minimal set (except of optional parts):
charts/
    chartNameA/
      Chart.yaml
      ...
    chartNameB/
      Chart.yaml
      ...
AUTHORS.md
DEPENDENCIES.md
LICENCE
README.md

doubled with #101


With current master and perl-5.20.2, previously working examples are broken

I keep some stupid testfiles at http://higgs.linuxfromscratch.org/~ken/tex-testfiles/tex-test-20150110.tar.xz
which can be invoked with ./configure and make (nothing gets installed).The make targets are biblatex (fairly simple) and bibxelatex (more dependencies). With a fresh from-source build (biblatex-3.0.tds on top of texlive-2014) with all the perl deps present, a lot of perl errors are dumped on stderr:
I've cut that down to a mini example, using pdflatex and biber. On fixed 1.9 and 2014 texlive, it runs. On current master I get errors:
Use of uninitialized value $name in string eq at /usr/lib/perl5/site_perl/5.20.2/Biber/SortLists.pm line 77.
Use of uninitialized value $pre in regexp compilation at /usr/lib/perl5/site_perl/5.20.2/Biber/Internals.pm line 959.
Use of uninitialized value $pre in regexp compilation at /usr/lib/perl5/site_perl/5.20.2/Biber/Internals.pm line 959.
Use of uninitialized value $thislocale in concatenation (.) or string at /usr/lib/perl5/site_perl/5.20.2/Biber.pm line 2767.
Use of uninitialized value $thislocale in concatenation (.) or string at /usr/lib/perl5/site_perl/5.20.2/Biber.pm line 2854.
Use of uninitialized value $thislocale in concatenation (.) or string at /usr/lib/perl5/site_perl/5.20.2/Biber.pm line 2859.
Use of uninitialized value $lname in concatenation (.) or string at /usr/lib/perl5/site_perl/5.20.2/Biber.pm line 1929.
Use of uninitialized value $lssn in concatenation (.) or string at /usr/lib/perl5/site_perl/5.20.2/Biber.pm line 1929.
Use of uninitialized value $lssn in concatenation (.) or string at /usr/lib/perl5/site_perl/5.20.2/Biber.pm line 1943.
Use of uninitialized value $lssn in concatenation (.) or string at /usr/lib/perl5/site_perl/5.20.2/Biber.pm line 1958.
Can't use an undefined value as an ARRAY reference at /usr/lib/perl5/site_perl/5.20.2/Biber/Internals.pm line 949.
make: *** [mini] Error 1
I can't work out how to upload to an issue here, so I've tarred it up as bibmini.tar.gz at http://higgs.linuxfromscratch.org/~ken/tmp/

I can't reproduce this using your MWE. It all works fine for me - can you pull the "v2.0" tag and try this again?

On Tue, Apr 21, 2015 at 12:57:08AM -0700, plk wrote:

I can't reproduce this using your MWE. It all works fine for me - can you pull the "v2.0" tag and try this again?

Reply to this email directly or view it on GitHub:
https://github.com/plk/biber/issues/63#issuecomment-94685737

Ii updaed, then reset my local tree to v2.0 :
$git reset --hard v2.0
HEAD is now at 62f157d Fixing 2.0 binary deps
But I don't think anything has changed from Sunday's version.  I'm
attaching a tarball which includes the logs as well as the source and
result.  The 'messages' file has both stdout and stderr, created with
'make 2>&1 | tee messages'.
The base system is x86_64 linuxfromscratch-7.7 (binutils-2.25,
gcc-4.9.2,glibc-2.21) with my choice of packages from the matching
beyond- (BLFS) book.  In this case, I built texlive (source) 2014
yesterday, then ran my biber buildscript with what appear to be the
current dependencies.
AFAICS, all the perl tests in this suite passed.  Biber itself
skipped a couple of sets because BIBER_DEV_TESTS was not set, but at
the end it reported:
t/zoterordfxml.t ...... ok
All tests successful.
Files=42, Tests=981, 66 wallclock secs ( 0.21 usr  0.04 sys + 61.70
cusr  2.01 csys = 63.96 CPU)
Result: PASS
Finished testing biber 2.0 using Perl 5.020002 at /usr/bin/perl
Just in case my problem is down to another module, I'll list the perl
modules in build order with their versions: (those up to libwww-perl
were already installed in March).  The direct dependencies should be
reasonably up to date, but the versions of those others that get
pulled in for any 'make test' were last checked for currency in
January.
XML-Parser-2.44 is part of the base system,
XML-Simple-2.20 is part of my Xorg build.
Encode-Locale-1.04
URI-1.65
HTML-Tagset-3.20
HTTP-Date-6.02
IO-HTML-1.001
LWP-MediaTypes-6.02
HTML-Parser-3.71
HTTP-Message-6.06
HTML-Form-6.03
HTTP-Cookies--6.01
HTTP-Negotiate-8.01
Net-HTTP--6.07
WWW-RobotRules-6.02
HTTP-Daemon-6.01
File-Listing-6.04
libwww-perl-6.13
Net-SSLeay-1.68
IO-Socket-SSL-2.010
Mozilla-CA-20141217
LWP-Protocol-https-6.06
Business-ISBN-Data-20140910
Business-ISBN-2.09
Tie-Cycle-1.21
Business-ISMN-1.13
Business-ISSN-0.91
Number-Compare-0.03
Text-Glob-0.09
File-Find-Rule-0.33
Data-Compare-1.25
Data-Dump-1.22
Date-Simple-3.03
Encode-EUCJPASCII-0.03
Encode-JIS2K-0.02
Encode-HanExtra-0.23
File-Slurp-9999.19
IPC-Run3-0.048
Test-Warnings-0.020
Exporter-Tiny-0.042
List-MoreUtils-0.402
List-AllUtils-0.09
Log-Log4perl-1.46
Regexp-Common-2013031301
Capture-Tiny-0.27
Config-AutoConf-0.309
ExtUtils-LibBuilder-0.06
Text-BibTeX-0.70
Text-Roman-3.5
Unicode-Collate-1.12
Encode-ISO2022-0.04
Encode-JISX0213-0.03
MIME-Charset-1.011.3
Unicode-LineBreak-2014.06
XML-NamespaceSupport-1.11
XML-SAX-BASE-1.08
XML-SAX-0.99
XML-LibXML-2.0117
File-Slurp-Tiny-0.003
XML-LibXML-Simple-0.95
XML-LibXSLT-1.94
XML-Writer-0.625
autovivification-0.14
File-Which-1.16
Algorithm-Diff-1.1903
Text-Diff-1.41
Test-Differences-0.63
Test-Pod-1.48
Devel-Symdump-2.14
Pod-Coverage-0.23
Test-Pod-Coverage-1.10
then biblatex-3.0.tds
and biber.
ĸen
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.

Where did you attach the intermediary files/logs? I'll need to see these I think - it looks like you are not picking up some of the XML config items.

On Wed, Apr 22, 2015 at 01:32:54PM -0700, plk wrote:

Where did you attach the intermediary files/logs? I'll need to see these I think - it looks like you are not picking up some of the XML config items.

I attached them to the mail, guess they got stripped.
I've now uploaded the tarball to
http://www.linuxfromscratch.org/~ken/tmp/ it is called
bibmini-with-logs.tar.gz
ĸen
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.

I see this warning:
WARN - Warning: Found biblatex control file version 2.6, expected version 2.7
I see is that the generated .bcf version is 2.6. It should be 2.7 for biblatex 3.0 and that would cause problems, certainly. Are you sure you have installed the new 3.0 version? Did you install over the top of the TL 2014 version? It seems that's what version is being picked up.

On Wed, Apr 22, 2015 at 07:24:48PM -0700, plk wrote:

I see this warning:
WARN - Warning: Found biblatex control file version 2.6, expected version 2.7
I see is that the generated .bcf version is 2.6. It should be 2.7 for biblatex 3.0 and that would cause problems, certainly. Are you sure you have installed the new 3.0 version? Did you install over the top of the TL 2014 version? It seems that's what version is being picked up.

Oh.  I did not realise I still had a copy of 3.0 from 23rd October.
When I downloaded on 21st April firefox labelled the new one as
.tds(1) and I didn't notice.
I've now installed the correct version and it works fine.  Sorry for
wasting your time, and thanks for your help
ĸen
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.

No problem, glad it's fixed.


xprite-editor: fix build by migrating off legacy fetchCargo

Currently broken; see #79975 for details. Would also be fixed by #80153
eventually, but since we want to upgrade either way we might as well do so now.
https://hydra.nixos.org/job/nixpkgs/trunk/xprite-editor.x86_64-linux

@grahamcofborg build xprite-editor


WIP - Folder inheritance

WIP - Do not merge yet.
What this is about
This PR introduces an inheritance mechanism for template folders. Now we can have multiple child templates that inherit files and subfolders from a single parent. Thereby the need to duplicate the same set of files and subfolders among many templates is eliminated resulting in much DRYer templates.
The implementation rests upon the new optional _extends setting which defines a path to a parent template folder. If _extends is a given then the referenced parent folder is rendered to the destination path before the child folder.
Conflicts will be either resolved manually via the prompting mechanism or by giving skip / force flags.
This is some wickedly powerful feature. Maybe this is something other packages do not possess (I do not know, but could be a good selling point). I was surprised by how well it turned out working with only minimally invasive modifications to the code. Still, I am testing this further and try to evaluate all corner cases and pitfalls. Eventually, we could release this as an experimental feature.
TODO:

[ ] Processing copier.yml of the parent template folder

[x] Preventing same tasks to run on each level
[ ] What options should be passed from child to parent?

[ ] Validate against path collision
[x] Write more tests
[ ] Remove extra_paths
[ ] Update docs
[ ] Add extends to cli args
[ ] Rename extends for consistency? (maybe to parent_path)

Closes: #67

I'm not sure I understand the feature, maybe if you explain the use case with an example I'll understand better.
If the point is having a set of templates to be able to extend them, what's the difference between _extends and _extra_paths?

I am no longer pursuing this PR.
Closing this in favor of only transcluding from other config files: #117