New command: Create PowerApps component framework project structure

Creates new PowerApps component framework project
pa pcf init --namespace <namespace> --name <name> --template <template>

namespace: string value, with some limitations (need to decompile PAC)
name: string value, with some limitations (need to decompile PAC)
template: enum value, only field and dataset are currently possible

Equivalent to the PowerApps CLI command.

Nice! I've updated the description a little, but other than that, ready to go! 💪

Have you left feedback on the PowerApps forum for PCF for this issue (https://aka.ms/PCFForum) before shoehorning it into an office tool?

Thanks for the pointer @ghurlman. I haven't posted an issue there yet.

@waldekmastykarz, saw your post, thanks! I’ll make sure the PCF CLI team sees it if you don’t get a timely response.

Thank you! Appreciate your help! 👏

@waldekmastykarz I finally gave this a shot, while familiarizing myself with the code structure. Current implementation can be found at https://github.com/YannickRe/office365-cli/tree/pa-pcf-init
It doesn't have the necessary tests yet, it seems I need to study up on this... Also, the .md documentation isn't done.
Before I go any further with this, do you mind checking this and give pointers?
Specifically around:

the filesystem structure
the template files that need to be included
the changes to existing files
in the code, if I'm duplicating code blocks that already have some implementation somewhere in the CLI code base?

Would you rather I submit this as a work in progress PR?

I'll have a look at it asap. Thanks! It will be a good first step to be able to create a project using the same templates as the original PCF tooling. In the end we should strive to create projects that can also be built on any platform, which will require reverse-engineering the build process and adjusting the templates.

Thank you! I’m aiming to make the tooling and all the commands work cross platform, and I hope I can convince some MS people to make minor changes in their NPM packages so they work cross platform 😉

@waldekmastykarz Sorry to push, but did you have a chance to look into this? I'd like your input before trying to get code coverage/starting other commands.

Sorry, I was away and didn't have time to look into it. Thanks for the reminder though. I'll have a look at it shortly.

The current setup looks solid. Nicely done 👍

Thank you! I made some changes according to your comments, but I squashed my commits, unintentionally removing them :(

I cannot inherit directly from Command, because it force the authentication. spfx project upgrade solves this by overriding action() in the command, but for the multiple PowerApps commands that is not ideal.
I switched my guid code to use uuid.

I'll get there, time to figure out how to reach the necessary test coverage :)

Suppressing auth for all pa commands would also not work if in the future we'd like to offer commands for managing apps deployed to the tenant, which would require auth, like we do in Flow commands.

I moved away from PaCommand for now, I'll solve the problem when we get to it with the new commands.
For testing the filesystem, can I use mock-fs? I need to test if the resulting file and dir structure matches the source structure. Also, I need to test if the files contain the correct data. Not sure how to approach it atm to be honest.

We have some mocking for the file system in the SPFx command, you can have a look at that. With regards to testing, it should be enough for us to test that the Node.js copy method is called with the right arguments. We should be able to assume that it works correctly so we don't need to test if the file is actually copied, that's Node's responsibility.


Rolling back installer to previous version

See https://keybase.atlassian.net/browse/CORE-3418

@cjb we can use the old installer till we get a handle on the issues?

:thumbsup: let's mark today's build bad before turning builds back on


Is this macOS problem?

Writing file contrib/sample-sentences.txt.parsed ...
Sentence 1: Chapter 1 .
Warning: Failed to load function from bytecode: binary string: bad header in precompiled chunkTraceback (most recent call last):
File "parser.py", line 164, in
main(args)
File "parser.py", line 103, in main
t = TransitionSystem(embs, data, "PARSE", args.model)
File "/Users/junhyun/amr-eager/transition_system.py", line 35, in init
self._classify = Classify(model_dir)
File "/Users/junhyun/.local/lib/python3.6/site-packages/PyTorch-4.1.1_SNAPSHOT-py3.6-macosx-10.7-x86_64.egg/PyTorchHelpers.py", line 20, in init
PyTorchAug.LuaClass.init(self, splitName, *args)
File "/Users/junhyun/.local/lib/python3.6/site-packages/PyTorch-4.1.1_SNAPSHOT-py3.6-macosx-10.7-x86_64.egg/PyTorchAug.py", line 255, in init
raise Exception(errorMessage)
Exception: ...s/junhyun/torch/install/share/lua/5.1/torch/File.lua:314: bad argument #1 to 'setupvalue' (function expected, got nil)

It's possible. It looks like it could be an architecture or lua/torch version issue. Can you try again with a Linux machine?

I don't have Ubuntu machine, so I tried with Windows bash Ubuntu 18 and
there was some issues with install PyTorch
I really want to run with my MacBook but.. it seems that there is no solution..

You might want to try to run a Docker Container or a VM running Linux on your Mac


Difference between user and sequence representation

Can anyone explain me why the user and sequence representation are calculated in this way?? seems like the last state of the LSTM is the sequence representation and the rest is the user representation. I'm not following how this works.

Ok, I'm starting to understand. I missed this pad that you do to your input. You mask the input so that the task is kind of like 'predicting the last input token'.
That makes more sense.
However, I am not following why you still mask the input at the end and use the last input representation

Ah ok, I think I finally understood. Only user_representations will contain vectors that try to become as clone as the input vector, after passing through the embedding layer. This means that only the last embedding vector of user_representations will actually contain the predictions for the next input token, makes sense.
I will leave this issue open to see if somebody can confirm this.

This sounds about right: the representation at step i encodes all user behaviours up to i.

It'd be cool if we could have a custom hidden layer with that behavior to add more non-linearities to the model

What's the big advantage over training only one time step at a time? By that means, each i would have a single bakprop


Prepare the GeneVC for moar things

Includes:

[ ] Better abstraction for refinement and sorting
[ ] Related Artists networking

Taken over by #1293


MTV-1433: Creating source and destination providers, separated by provider

MTV 2.8
Partially resolves https://issues.redhat.com/browse/MTV-1433
Previews:

https://file.corp.redhat.com/rhoch/WIP_section_4/html-single/#migrating-vms-ocp-web-console_mtv  [new intro to section]
https://file.corp.redhat.com/rhoch/WIP_section_4/html-single/#migrating-vms-mtv-ui_mtv [slightly changed intro]
https://file.corp.redhat.com/rhoch/WIP_section_4/html-single/#migrating-vmware-ui [VMware section, all titles my abbreviations]
https://file.corp.redhat.com/rhoch/WIP_section_4/html-single/#migrating_virtual_machines_from_rhv [RHV section]
https://file.corp.redhat.com/rhoch/WIP_section_4/html-single/#migrating_virtual_machines_from_ostack [OpenStack]
https://file.corp.redhat.com/rhoch/WIP_section_4/html-single/#migrating_virtual_machines_from_ova [OVA]
https://file.corp.redhat.com/rhoch/WIP_section_4/html-single/#migrating_virtual_machines_from_cnv [CNV]

In this PR, I have grouped the procedures for creating source and a destination provider per vendor.  You can ignore creating-migration-plans-2.8.adoc. I work with it in https://github.com/kubev2v/forklift-documentation/pull/585 .

@sgratch Please review this PR -- just the sections that have previews. You can ignore the changes to the file creating-migration-plans-2.8.adoc. I work with it in https://github.com/kubev2v/forklift-documentation/pull/585 .

@mnecas I made the changes you suggested -- the discussion of warm/cold migration is in https://github.com/kubev2v/forklift-documentation/pull/585.
Please review this PR again and also https://github.com/kubev2v/forklift-documentation/pull/585. Thanks.


How to toggle already collapsed node if I click on another node?

What I need is to collapse the already expanded node when I click on another node from the tree? Is it possible? What parameter I need to set to achieve this?

Hi,
I recently opened a slack channel for the library's users community.
I think it will be a good place for the community to discuss different ways of implementation, to ask for feature requests, collaborate on PRs, and hear about bugfixes and releases.
I invite you to join:
https://angular-tree-component.herokuapp.com/


These pages need to include some additional details about the setting

It's great that we can see what setting will be enabled. But what does the setting actually do? What is the end user impact or expected outcome of enabling specific settings? A link to the relevant docs article for each setting would be very helpful, especially since many organization are now interested in moving from GPO to MDM policy settings management via MEM.

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

ID: 66b1ab2e-1964-5580-7c99-4bd4cd480075
Version Independent ID: f7b5da46-04cb-3501-65fa-870a3c6f09b8
Content: Policy CSP - Defender - Windows Client Management
Content Source: windows/client-management/mdm/policy-csp-defender.md
Product: w10
Technology: windows
GitHub Login: @ManikaDhiman
Microsoft Alias: dansimp

@SLeuthold Thank you for providing feedback.
Please consider opening a product feedback ticket for any of your suggestions or feature requests to help Microsoft improve your experience, you could add your feedback via the Microsoft Windows 10 Feedback Hub. You might find others have made a similar request that you can add to, or you can open a new one.
Thank you for your contribution to make the docs better! Much appreciated!


Per-update unique Git commit message?

I'm sorry if I've missed this in the documentation. Does this extension provide a way to open a UI prompt to change the commit message? Or does that need to be done in the git console from the shell?
If that isn't an option, is it a valid request to allow for prompting for the commit message, and only on default use the {{profile}} default?

You can customize the commit messages: https://github.com/zokugun/vscode-sync-settings/blob/master/docs/commit-messages.md
Is that enough?

No, thanks for asking. With any project, a commit message tells us what the commit is about, not just when it happened. For a change to settings we might want to be explicit in the commit message about what changed.
The specific scenario that led to this request is that I am changing details in my theme. In the past I know when I have done this I later ask myself "why did I do that?" or even "what does that setting actually do?". If we make a change like that and then commit with a custom message, the reason is recorded.
So I'm looking for a way to prompt for a custom message, and if there is none, default to "syncSettings.gitUpdateMessage".

The specific scenario that led to this request is that I am changing details in my theme. In the past I know when I have done this I later ask myself "why did I do that?" or even "what does that setting actually do?". If we make a change like that and then commit with a custom message, the reason is recorded.

Ok, it what I was expecting your request was about. I think it's a normal request.
For the time being, you could use local-git (but you have issue with hooks) or use file and manually push/pull...

Got it. TY


basic_rnn_train: No module named lib

Getting this error when I try to run basic_rnn_train:
Traceback (most recent call last):   File "/home/alex/magenta/bazel-bin/magenta/models/basic_rnn_train.runfiles/__main__/magenta/models/basic_rnn/basic_rnn_train.py", line 36, in <module>     import basic_rnn_encoder_decoder   File "/home/alex/magenta/magenta/models/basic_rnn/basic_rnn_encoder_decoder.py", line 17, in <module>     from magenta.lib import melodies_lib ImportError: No module named lib

Alex, I'm having trouble reproducing this error. Can you make sure you're synced to the latest updates. And if that doesn't help, what OS and Python version are you using?

Turns out I upgraded to the newest magenta and still had an old build under models:basic_rnn that I was trying to run.

Ah, that's happened to me too before.


Minor nit: Nagle's algorithm (not "Nagel's") is named after John Nagl…

…e; see:
https://en.wikipedia.org/wiki/Nagle's_algorithm

This addresses CPP-359.


Landing page and explore data landing page updates

Description and Motivation
Home page:

adds sticky scroll functionality for the how-to section to encourage user engagement
adds mad lib animation example in how-to section to introduce users to the mad lib toolbar which is the heart of navigating the app
moves news section to the bottom of the homepage which is a lesser priority for users to view

Explore the Data landing page:

adds announcement banner to the top of this page to draw attention to our efforts in addressing missing and misidentified data, linking to the methodology for this
reformats the UI on featured reports to give context of what each sample report will be displaying, as well as its clinical importance

Has this been tested? How?
tests passing
Types of changes

New content or feature

New frontend preview link is below in the Netlify comment 😎

Just starting some discussions here in the comments:
First off we need to resolve all the merge conflicts.
Next, I think we should skip on this madlib explainer part for now. It looks a little strange and isn't super clear as is, and it's also duplicated in one of the explainer slides right after. I like the idea of animating the madlib text but I think we need to spend more time and would just remove this whole section

It feels like the very top/bottom shadows missing?

I think if we are going to go with the big data warning above the header like you added (which I think I like but is maybe vertically too much padding), I think we need to remove this other duplicate data warning.

Also, when a user closes out the data warning box at the top, I think that it should stay gone. maybe we can store that preference in session storage. there is nothing more annoying than x-ing out of pop ups and warnings and then they keep coming back
I think this redesign looks much better, but I think the eventual goal should be to try and eliminate this default topic page... I would love for the user to somehow click right into a topic when navigating from the home page.

I'm reluctant to have the data warning persist on that actual report pages. I feel like once the user has made a selection beyond the default page this data warning could go away?

Just starting some discussions here in the comments:
First off we need to resolve all the merge conflicts.
Next, I think we should skip on this madlib explainer part for now. It looks a little strange and isn't super clear as is, and it's also duplicated in one of the explainer slides right after. I like the idea of animating the madlib text but I think we need to spend more time and would just remove this whole section

I resolved the merge conflicts. I agree with Ben; the Madlib explainer looks a bit weird to me. It would be better without it.

I think if we are going to go with the big data warning above the header like you added (which I think I like but is maybe vertically too much padding), I think we need to remove this other duplicate data warning.

Also, when a user closes out the data warning box at the top, I think that it should stay gone. maybe we can store that preference in session storage. there is nothing more annoying than x-ing out of pop ups and warnings and then they keep coming back
I think this redesign looks much better, but I think the eventual goal should be to try and eliminate this default topic page... I would love for the user to somehow click right into a topic when navigating from the home page.
Maybe we can add a visualization screenshot into each of these cards, and have the cards here on this default page refer to a specific card on a specific report rather than the report generally. that it'll be more visually interesting giving the user an idea what's available, and we feature the various visualizations available.

I love the Major gaps in the data the message at the top of the page and agree that we should remove it from the bottom of the page now. The recommendation for the visualization screenshot in the card is great.


race condition in Log4jAdapterLabelPrinter

There is a problem with multiple threads in class Log4jAdapterLabelPrinter.
The StringBuilder allocated there is shared between threads. It might happen that the threads corrupt the data if both are using it at the same time.
I think the StringBuffer should be allocated once per Thread and kept in a ThreadLocal storage.
Best Regards,
thgau

Hi,
thanks a lot for reporting. I can confirm it, and it is quite obvious when someone points it out. I will try to push a fix today.


aggregate functions return 0

version 0.10.0
happens with all the aggregate functions:
> SELECT max("bytes") FROM "incoming_traffic" WHERE time ><PHONE_NUMBER>000000000 group by time(10m)

name: incoming_traffic
----------------------
time	max
1454684400000000000	0
1454685000000000000	0
1454685600000000000	0
1454686200000000000	0
1454686800000000000	0
1454687400000000000	0
1454688000000000000	0
1454688600000000000	0
1454689200000000000	0
1454689800000000000	0
1454690400000000000	0
1454691000000000000	0

while there is definitely non zero values in the data set:
> SELECT "bytes" FROM "incoming_traffic" WHERE time ><PHONE_NUMBER>000000000 limit 5
name: incoming_traffic
----------------------
time	bytes
1454684409000000000	9334
1454684409000000000	932
1454684409000000000	1567
1454684409000000000	220634207
1454684409000000000	66799

Apologies, this issue is not a documentation issue.


Firefox and Chrome adds 1 day differently

I am using MacOSX 10.9.5, Chrome Version 42.0.2311.90 (64-bit) and Firefox Nightly 40.0a1 (2015-04-29).
My computer timezone is set to Brasilia Standard Time, city São Paulo, Brazil

The result of adding one day to some dates in the months of October, is causing a bug in firefox that affects a calendar widget I am using, see https://github.com/gpbl/react-day-picker/issues/18
Here is a simplified test-case:
var oct182014 = moment('2014-10-18');
var oct182014Plus1 = moment('2014-10-18').add(1,'d');
console.log('18 of october 2014:', oct182014.format(), oct182014.valueOf());
console.log('18 of october 2014 + 1 day:', oct182014Plus1.format(), oct182014Plus1.valueOf());

The output on Chrome:
18 of october 2014: 2014-10-18T00:00:00-03:00<PHONE_NUMBER>000
18 of october 2014 + 1 day: 2014-10-19T01:00:00-02:00<PHONE_NUMBER>000

And the output on Firefox:
"18 of october 2014:" "2014-10-18T00:00:00-03:00"<PHONE_NUMBER>000
"18 of october 2014 + 1 day:" "2014-10-18T23:00:00-03:00"<PHONE_NUMBER>000

I am not sure if this is a moment bug or a Mozilla bug. The fact is that october 18 + one day is still october 18 :(

The workaround is to force UTC date with (in the test-case above):
var oct182014Plus1 = moment('2014-10-18').utc().add(1,'d');

It's probably a Mozilla bug. Try this:
var date = new Date(2014, 9, 18);
date.setDate(19);
console.log(date.toString());

What does that give you?

It's not necessarily a "bug", but rather a design flaw.  The ECMAScript spec does not define the behavior for a local time value that falls into a DST transition.  For the gap of the spring-forward transition, some browsers skip forward, some skip backward.   Since Brazil transitions at midnight, a value of 00:00 will leap to 1:00 on some browsers, or jump back to 23:00 the prior day on others.
So you start with a valid value, add a day and land on an invalid value, which causes Firefox to jump backwards, and Chrome to jump forwards.
The fall-back transition behavior is also undefined in the spec.  Some browsers will chose the first (daylight-time) instance, while some will chose the second (standard-time) instance.
If you have a Pluralsight subscription (or can use a trial offer), I encourage you to watch my Date and Time Fundamentals course.  I cover this exact issue in detail in the module "Date and Time in JavaScript", in the clip titled "Daylight Saving Time Issues".
There are two good workarounds:

Use UTC instead of local time (as you suggested)
Use noon instead of midnight.  No DST transitions ever occur in the middle of the day, in any time zone.

Ah, I'd forgotten that Brazil moves its clocks back at midnight, which is crazy. See also #1440.


Add all possible environments in Travis

x86, x64, Debug and Release
I'll see about ARM later.

Testing in branch fix-debug-build, 9ee8a5a

Merged.


feat(blame_line): add option to show when not focused

As title.
Motivation for this is twofold:

I have two monitors and still want to see the blame when doing something on another monitor
When in tmux current behaviour causes "activity" event when leaving window, which means all tmux windows with neovim are always active, which is not ideal.

I'm not sure about tests, since they seem to be flaky. I've run them a few times and sometimes they succeed and sometimes they fail, although failures are not consistent.

I don't think there needs to be an option for this. Can just add FocusGained and FocusLost to the events.

@lewis6991 What do you mean? I'm removing them, not adding.

Ah sorry, I misread.


[BUG] The available nodes should be filtered according to the selected network, otherwise the network may not be available（Include migration）

Describe the bug

When creating a vm, ensure that the specified node is the same as the matched node in the network
To Reproduce
Steps to reproduce the behavior:

go to Cluster Networks / Config page,  create a new Cluster Network (eg: test)
Create a new network config in the test Cluster Network. (Select a specific node)

go to Network page
to create a new network (e.g:  test-untagged), select UntaggedNetwork type and select test cluster network. click Create button
go to VM create page,    fill all required value,  Click Networks tab,   select default/test-untagged network, Click Node Scheduling tab,  Click Run VM on specific node,   Selectable nodes need to be filtered (Now you can select all nodes).
The VM is successfully created
Migration this vm，Selectable nodes need to be filtered (Now you can select all nodes).

Expected behavior

The available nodes should be filtered according to the selected network, otherwise the network may not be available
Support bundle

Environment

Harvester ISO version:
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630):

Additional context
Add any other context about the problem here.

This is duplicated with https://github.com/harvester/harvester/issues/3032; we can merge and verify them together

Verified fixed on master-25d478c0-head (05/17) . Close this issue.
Result

When we create vm and select the untagged vlan network which set on node1.
On the node scheduling list, only node1 is available to select.

When we create vm and select the external vlan network which set on node2.
On the node scheduling list, only node2 is available to select.

When we create vm and select the vlan1 vlan network on mgmt which set on node3.
On the node scheduling list, only node3 is available to select.

All VM can running correctly on the selected node

Test Information

Test Environment: 3 nodes Harvester bare machines
Harvester version: master-25d478c0-head (05/17)

Verify Steps

Create a cluster network test1 and a network config nc1 which set the node selector to node1

Create an untagged vlan network and choose test1 cluster network

Create a cluster network test2 and a network config nc2 which set the node selector to node2

Create an external vlan network vlan101 and choose test2 cluster network

Create a cluster network test3 and a network config nc3 which set the node selector to node3

Create an external vlan network vlan1 on mgmt and choose test3 cluster network

Create a vm and choose vlan network test-untagged

Check the item on node selector list

Create a vm and choose vlan network vlan101

Check the item on node selector list

Create a vm and choose vlan network vlan1

Check the item on node selector list

Confirm all vm status to be Running on the selected node


Chemotext query doesn't check synonyms

When we look up things in chemotext we look it up, not by the mesh id, but by the mesh name.  The problem is that while I get a label for the id from OXO, the choice of which label to use as "the" label is different for OXO and chemotext.
Chemotext does have the other terms in a synonyms array, and I can query for that, but the current query does not.  So what I need to do is

get my mesh label from oxo
ask chemotext if that is a node label
if not, ask chemotext for the node label that has the oxo label as a synonym
attach chemotext's name for the mesh id to the node for repeat queries
use the chemotext name to run the queries.

This is implemented, but there are still things I can't map to in chemotext.  For instance, DOID:1470 maps to two mesh terms via OXO:
MeSH:D003866 is Unipolar Depression
MeSH:D003865 is Depressive Disorder, Major
But I can't find any terms for these IDs in chemotext.


pkg_version: make typed: strict

This required:

adding signatures/types where missing
ensuring that we respect the signature of Version.new
remove some non-Sorbet type checks
fixing the exception in tests
removing some tests now caught by Sorbet
fixing Formula#prefix so it works as intended with correct type usage

Thanks for review @Bo98!


Enable cross building for Scala 2.12

Is this all that's left for #231 ?
Problem
Scala 2.12 introduced new warnings that were not in 2.11, which breaks the build because of -Xfatal-warnings.
Solution
Only treat Scala 2.11 warning as fatal for now.
Notes
Someone should eventually decide whether to change the API or disable/sidestep the new warnings for unused params.
Checklist

[ ] Unit test all changes
[ ] Update README.md if applicable
[ ] Add [WIP] to the pull request title if it's work in progress
[x] Squash commits that aren't meaningful changes
[x] Run sbt scalariformFormat test:scalariformFormat to make sure that the source files are formatted

@getquill/maintainers

Could you open an issue so we can enable fatal warnings again in the future?


Indenting container blocks in template leads to erroneous updates

If you indent the container blocks in a YAML like this:
containers:
  - name: foo
    image: foo:v1
  - name: bar
    image: bar:v1

then releasing, e.g., foo:v2 will update the image field in all the containers. The cause is that the regexp that breaks the spec up into containers does not account for the extra indentation, and treats the whole list of containers as one block; then, the replacement is done with "replace all".
Just changing the "replace all" with "replace" wouldn't help, because it would replace the first occurrence which might still be incorrect. Doing the replacement with the old image would be better, but might still fail to replace anything.
The only real solution (while staying with regexps) is to correctly separate the container blocks.

To be clear, this is mitigated by changing indentation to:
containers:
- name: foo
   image: foo:v1
- name: bar
   image: bar:v1

i.e:
--- a.yaml	2018-05-21 10:00:18.000000000 +0200
+++ b.yaml	2018-05-21 10:00:24.000000000 +0200
@@ -1,5 +1,5 @@
 containers:
-  - name: foo
-    image: foo:v1
-  - name: bar
-    image: bar:v1
+- name: foo
+  image: foo:v1
+- name: bar
+  image: bar:v1


Machine readable summary

While experimenting with tarpaulin I ran it on https://github.com/dtolnay/unicode-ident using the following command:
cargo tarpaulin --workspace --out html --out json

It created the two output files as expected and printed the following to the screen:
INFO cargo_tarpaulin::report: Coverage Results:
|| Tested/Total Lines:
|| diagram/src/main.rs: 0/15 +0.00%
|| generate/src/main.rs: 0/84 +0.00%
|| generate/src/output.rs: 0/6 +0.00%
|| generate/src/parse.rs: 0/35 +0.00%
|| generate/src/write.rs: 0/52 +0.00%
|| src/lib.rs: 12/13 +0.00%
|| src/tables.rs: 0/20 +0.00%
||
5.33% coverage, 12/225 lines covered, +0.00% change in coverage

I looked in the resulting json file, but could not see this summary.
I wonder if there is a way to get this summary in a machine-readable format (e.g. as json)?
If there is no such way yet, then IMHO it would be a good idea to either add it to the json file.

I've added this in via #1522 and it will be available in the next release!


Automatic balanced team roll

!teams should setup finished registrations for match-days
Things to take into consideration when setting up teams:
Balance on map preferences
Balance on player rank

This is fixed in the develop branch and will be merged into main soon.


Unable to Snooze (Can't create snooze category)

Our team tries to respond to all GitHub issues. To make sure your issue is
actionable, try to include the following information:

Are there any related issues?
Nope
What operating system are you using?
Mac OS 10.11.4
What version of N1 are you using?
Version 0.4.14-53cd69b (0.4.14-53cd69b)

Bug?

Do you have any third-party plugins installed?
yes default (quick reply & send later) - tried to disable the, restart and try but it didn't work
Is the issue related to a specific email provider (Gmail, Exchange, etc.)?
I tried it with Gmail only (no other access to try)
Is the issue reproducible with a particular attachment, message, signature, etc?
with all messages

I updated my N1 client, after that this issue happened (I removed the app, and return to the old version, but the same issue still happening (restart and do the standard troubleshooting, didn't solve it)
screenshot

Hi @5imple, this is a duplicate of #1556 , however I'm keeping this one open. We are working on a fix for this and will release a patch soon. Does this happen as soon as you open the app, or when you try to snooze?

Oh I saw the logs you posted in #1556 , thanks!

@jstejada -  it will be great if there is a work around to apply until the patch is ready

hey @5imple, yeah. Is this continually happening to you when you open the app? As a workaround, you can log in to Gmail and manually delete the label N1-Snoozed

Yes, it continuously happening - after deleting the N1 label, would I lose
my snoozed email?
I mean, the old snoozed email will come on time?
Sent from Android.
On Mar 14, 2016 7:43 AM, "Juan"<EMAIL_ADDRESS>wrote:

hey @5imple https://github.com/5imple, yeah. Is this continually
happening to you when you open the app? As a workaround, you can log in to
Gmail and manually delete the label N1-Snoozed
—
Reply to this email directly or view it on GitHub
https://github.com/nylas/N1/issues/1676#issuecomment-196083759.

@5imple, thanks. Yes, you'd need to unsnooze them, delete the label, and resnooze them :/ Sorry for the trouble! We should be shipping a fix soon. Can you confirm if you are getting the error message as soon as you open the app, or when you try to snooze?

also, could you open the Activity Window via Developer -> Open Activity Window and let me know what the failed request is? Thanks! cc @myovchev

this should be fixed with https://github.com/nylas/N1/commit/cfbbcd23d3f01a22430b4f82f305aa1df68c9428

Hey! This shipped in 0.4.19 a few minutes ago. You can grab the update by choosing "Check for Updates" from N1's application menu, or download the new version directly from the releases section of the project. Enjoy!

I still having this issue in 0.4.51-93ef779
I tried Nylas a few month back and went away from it. After installing the latest version, I got this error.

I'm also getting this error message when attempting to snooze something, but with an IMAP account, not a GMail one.

I left nylas!
Newton app is stable :)


fix(volumes): increase volume count and decrease size to ensure available volumes for s3 buckets

Welcome to Cryostat3! 👋
Before contributing, make sure you have:

[x] Read the contributing guidelines
[x] Linked a relevant issue which this PR resolves
[x] Linked any other relevant issues, PR's, or documentation, if any
[x] Resolved all conflicts, if any
[x] Rebased your branch PR on top of the latest upstream main branch
[x] Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
[x] Signed all commits using a GPG signature

To recreate commits with GPG signature git fetch upstream && git rebase --force --gpg-sign upstream/main

Fixes: https://github.com/cryostatio/cryostat3/issues/370
Related to https://github.com/cryostatio/cryostat-storage/pull/14
Description of the change:
After some more review of SeaweedFS docs, it is expected that each S3 bucket will have multiple volumes allocated to it, even when those volumes are not yet filled. Once the volumes are filled then each bucket will also claim more of the free volumes. In practice with the Cryostat 3 smoketest I find that 28 volumes are needed for the archivedreports,archivedrecordings,eventtemplates set of buckets after some light exercising to upload a custom template, create some active recordings, create multiple copies of archived recordings, and generate reports for each of those recordings. The number of claimed volumes reaches 28 as soon as each bucket has a single file of content, and it seems to stay at 28 (presumably until the volumes become full). Therefore, 40 seems like a reasonable number of volumes to allocate. The maximum size of each volume is defaulted to a relatively small 256MB here (Seaweed's default is 30GB), but this number should be tuned to suit the disk space actually allocated to storage. Seaweed's default strategy is to divide the available disk space by the volume size and assign that many volumes, but this strategy does not work well when using the S3 interface which actually imposes a minimum number of volumes. Instead, we should assign a minimum number of volumes, then divide the desired total storage capacity by the number of volumes, and assign this result as the maximum volume size. Therefore, the tuning knobs to do so are exposed by environment variable, so that the Operator (and Helm chart?) can do this math based on the PVC supplied to the storage container.
The default selections of 40 volumes and 256MB per volume implies a total maximum storage capacity of 10GB. The container should happily run with less disk space available than that - it will just complain about not having disk space if it does fill up sooner. However, if the desired storage capacity is larger than 10GB (ie. a PVC larger than that is being assigned), then this is when it becomes important to tune the maximum volume size and increase it past 256MB. Otherwise, assigning a 50GB volume will not help, and the container will still only store and manage up to 10GB of content, leaving the rest of the disk unused and unavailable.
Question: should the "disk space / 40" calculation just be done in this entrypoint script instead of putting that work onto the Helm chart/Operator? Should we always assume that whatever disk space we see available to this container, should always be fully allocated to it? (this also has implications for https://github.com/cryostatio/cryostat-operator/pull/727 , where a single PVC is assigned and shared between both the cryostat-storage container and a postgresql database).

Question: should the "disk space / 40" calculation just be done in this entrypoint script instead of putting that work onto the Helm chart/Operator? Should we always assume that whatever disk space we see available to this container, should always be fully allocated to it? (this also has implications for cryostatio/cryostat-operator#727 , where a single PVC is assigned and shared between both the cryostat-storage container and a postgresql database).

What about an environment variable to specify the total size that should be used by the storage. Then the entrypoint can divide it up as it sees fit?

There aren't a lot of tools available in the container for the entrypoint to use, so it isn't super robust, but the latest commit adds that and it seems to work reasonably well. You can specify the size as ex. 10GB, or 4G, or 2000M. 1000MiB doesn't work because it only knows how to handle units like K, M, G and the optional B suffix.


[Feature Request] Use black to indent the code

Is your feature request related to a problem? Please describe.
black https://pypi.org/project/black/  is the Uncompromising Code Formatter. You can install it, run black and it will format the code properly. How about using it for the project in order to make sure style is consistent?

Hi Diego, the code was already black formatted.
The inconsistency was because I initially forced 80 chars line length in my IDE.
Then, I reverted it to 88 as suggested in black documentation but forgot to run black project-wise.
Now code formatting should be consistent.


Hot Reload doesn't start for dioxus-desktop on Mac

Problem
Trying to use hot-reload for desktop deployment compiles fine but does nothing on cargo-run
Steps To Reproduce
Steps to reproduce the behavior:

In cargo.toml:

dioxus = { git="https://github.com/DioxusLabs/dioxus", rev="b476c6e8a73bd6591ec4827c6f9b196d7c270c3d"}

[target.'cfg(any(unix, windows))'.dependencies]
dioxus-desktop = { git="https://github.com/DioxusLabs/dioxus", rev="b476c6e8a73bd6591ec4827c6f9b196d7c270c3d", package="dioxus-desktop"}

[target.'cfg(target_family = "wasm")'.dependencies]
dioxus-web = { git="https://github.com/DioxusLabs/dioxus", rev="b476c6e8a73bd6591ec4827c6f9b196d7c270c3d", package="dioxus-web"}

In main.rs:

use dioxus::prelude::*;

fn main() {
    hot_reload_init!();
    dioxus_desktop::launch(app);

    fn app(cx: Scope) -> Element {
        cx.render(rsx!(div{
            p{
                "p1"
            }
            // Adding this extra para does nothing
            p{
                "p2"
            }
        }))
    }
}

Then cargo run. The application starts but there is no message to indicate hot reload is active. Saving changes inside the rsx! does not cause a reload.

Expected behavior
Expected hot reload to work when an extra p tag is added and saved to disk.
Environment:

Dioxus version: master (b476c6e8a73bd6591ec4827c6f9b196d7c270c3d)
Rust version: stable, rustc 1.69.0 (84c898d65 2023-04-16)
OS info: MacOS Ventura 13.3.1 (a) (22E772610a)
App platform: desktop (deploying to web is working!)

Questionnaire

[ ] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

It looks like Interprocess uses a drop handler to close the socket when the socket listener is dropped, but the desktop window exits in a way that does not run that drop handler


Package confusion on npmjs.org

I see there are two packages of npmjs.org that  both links to this repo:
https://www.npmjs.com/package/mssql
https://www.npmjs.com/package/ut-mssql
Which one should be used ?
What is the difference. I see the mssql is 10 months old and ut-mssql is a month old.

Anyone can publish to npm co it's not an exception to find a multiple copies of any library.
Anyway, this is the one you should use: https://www.npmjs.com/package/mssql


feat: Added consensus node information to the logging.

Adds the consensus node to logging information on failed calls.
e.g.
{"level":50,"time":1728573006569,"pid":29184,"hostname":"Admins-Laptop-2.hsd1.co.comcast.net","code":-32603,"message":"Error invoking RPC: Invalid transactionID: ","msg":"[Request ID: testId] Failed to successfully submit sendRawTransaction for transaction 0x01f87582012a8088ad78ebc5ac6200008303d0909413212a14deaf2775a5b3becc857806d5c719d3f2890511617de831b9e17380c001a0d3ae419f17fa82fa7e89acb782d87b5df611c545a81a0250b0bc5cc9c8f9e5f8a0102ed103f88d2a6e7d8597449e3806e5ce1ef5c2ace3f8958a21838a9bdb7099 to node {\"<IP_ADDRESS>:50211\":\"0.0.3\"}

This PR adds the following that was not in the logged messages:
to node {\"<IP_ADDRESS>:50211\":\"0.0.3\"}

Related issue(s):
Fixes #3083
Notes for reviewer:

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

Replaced by #3106


Update helger library

There is already version 2.0.1. Unfortunately the update results in many compatibility test failures and ClassNotFoundExceptions with to transitive dependencies. Therefore the step to 1.4.10 is sufficient for now.
Now without test failures.

thanks a lot!


Example request: included content-type info

I´ve lost precious minutes trying to figure out what was causing this response below:
{
"error": "invalid_request"
}
This change will make content-type clearer.
What issue does this PR address?
Add one single line to token endpoint docs, showing content-type needed to a successful request.
Does this PR introduce a breaking change?
No.
Please check if the PR fulfills these requirements

[ x] The commit follows our guidelines
[ ] Unit Tests for the changes have been added (for bug fixes / features)

Other information:

thanks


fix resize

changes:

fix "top/left changed" check.

was comparing style.top/style.left (string with pxsuffix) with number.

split "top/left changed" and "width/height changed" code.

top/left and width/height are not related.

fixes:

canvas became empty because of unnecessary resize.

open videojs.html.
pause when subtitles are visible.
resize window by 1 pixel, video/canvas size is not changed.
subtitles disappear.

Jellyfin's Render Ahead mode doesn't redraw the frame and is forced to resize the canvas according to the rendered viewport, so the browser scales the result itself.
So the fix works for non-cached draws (at least wasm-blend), but not for our mode.
This works for our mode (and wasm-blend) - 3840x2160 frame (canvas size) can be drawn on 1280x720 canvas (style size).
But I'm not sure about using styles for the canvas that isn't driven by the video element.


Crashes on launch [1.2.2]

I'm trying to get a DizqueTV server up and running at home, but for whatever reason it crashes whenever I try and run it. What might cause this?

try to catch the logs.

Hey ... by any chance are you trying to double click on the exe?

@notanewbie Are you Sleepykid, and did we already address this in the Windows text channel of the Discord?
You should be providing it with parameters.  Example:
dizquetv-win-x64.exe --port 8000 --database .dizquetv
If using CMD/PowerShell, it's best to create a BAT/CMD/PS1 with everything self-contained.
Let us know if this is still an issue or not.

No I'm not sleepykidd, but yeah I figured it out, the issue was I was just trying to open the exe file instead of running a bat file

My code is actually different than that, I'm using the code I'd previously been using for PseudoTV:
cd [location]
start /min dizquetv-win-x64.exe -h [IP address] -p 8000


--log_tokenization crashes when the prompt includes non-ASCII characters

Describe the bug
CLI crashes when -t aka --log_tokenization is used and certain foreign characters are in the prompt, for example Dalí.
To Reproduce
Steps to reproduce the behavior:

Start CLI
Generate using command Dalí -t
See error: UnicodeEncodeError: 'charmap' codec can't encode character '\u0143' in position 57: character maps to <undefined>

thanks for the bug report. @lstein this is actually worse in current dev (Dalí will not even parse). fixed in 0ddb08a5d77b404ff61f1c426a8e72e98094487f on the prompt-tweaks branch.

Fixed in #1276


Gem devise :  undefined local variable or method `config' for main:Object

Hello,
I am trying to migrate an application to a new server.
When I start the application, I get an error in the log :

[ E 2017-11-15 09:10:51.5205 1004/T53 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /home/xxxxx/site/xxxxx_rails: An error occurred while starting up the preloader.
Error ID: f8c40999
Error details saved to: /tmp/passenger-error-yWsTEa.html
Message from application: There was an error while trying to load the gem 'devise'.
Gem Load Error is: undefined local variable or method config' for main:Object Backtrace for gem load error is: /home/xxxxx/.gemls/ruby/2.2.0/gems/devise-3.5.10/lib/devise.rb:499:in <top (required)>'
/usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/bundler/runtime.rb:81:in require' /usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/bundler/runtime.rb:81:in block (2 levels) in require'
/usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/bundler/runtime.rb:76:in each' /usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/bundler/runtime.rb:76:in block in require'
/usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/bundler/runtime.rb:65:in each' /usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/bundler/runtime.rb:65:in require'
/usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/bundler.rb:114:in require' /home/xxxxx/site/xxxxx_rails/config/application.rb:7:in <top (required)>'
/home/xxxxx/site/xxxxx_rails/config/environment.rb:2:in require' /home/xxxxx/site/xxxxx_rails/config/environment.rb:2:in <top (required)>'
config.ru:3:in require' config.ru:3:in block in '
/home/xxxxx/.gemls/ruby/2.2.0/gems/rack-1.6.8/lib/rack/builder.rb:55:in instance_eval' /home/xxxxx/.gemls/ruby/2.2.0/gems/rack-1.6.8/lib/rack/builder.rb:55:in initialize'
config.ru:1:in new' config.ru:1:in '
/usr/local/rvm/gems/ruby-2.2.3/gems/passenger-5.1.11/src/helper-scripts/rack-preloader.rb:110:in eval' /usr/local/rvm/gems/ruby-2.2.3/gems/passenger-5.1.11/src/helper-scripts/rack-preloader.rb:110:in preload_app'
/usr/local/rvm/gems/ruby-2.2.3/gems/passenger-5.1.11/src/helper-scripts/rack-preloader.rb:156:in <module:App>' /usr/local/rvm/gems/ruby-2.2.3/gems/passenger-5.1.11/src/helper-scripts/rack-preloader.rb:30:in module:PhusionPassenger'
/usr/local/rvm/gems/ruby-2.2.3/gems/passenger-5.1.11/src/helper-scripts/rack-preloader.rb:29:in <main>' Bundler Error Backtrace:  (Bundler::GemRequireError)   /usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/bundler/runtime.rb:84:in rescue in block (2 levels) in require'
/usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/bundler/runtime.rb:80:in block (2 levels) in require'   /usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/bundler/runtime.rb:76:in each'
/usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/bundler/runtime.rb:76:in block in require'   /usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/bundler/runtime.rb:65:in each'
/usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/bundler/runtime.rb:65:in require'   /usr/local/rvm/rubies/ruby-2.2.3/lib/ruby/site_ruby/2.2.0/bundler.rb:114:in require'
/home/xxxxx/site/xxxxx_rails/config/application.rb:7:in <top (required)>'   /home/xxxxx/site/xxxxx_rails/config/environment.rb:2:in require'
/home/xxxxx/site/xxxxx_rails/config/environment.rb:2:in <top (required)>'   config.ru:3:in require'
config.ru:3:in block in <main>'   /home/xxxxx/.gemls/ruby/2.2.0/gems/rack-1.6.8/lib/rack/builder.rb:55:in instance_eval'
/home/xxxxx/.gemls/ruby/2.2.0/gems/rack-1.6.8/lib/rack/builder.rb:55:in initialize'   config.ru:1:in new'
config.ru:1:in <main>'   /usr/local/rvm/gems/ruby-2.2.3/gems/passenger-5.1.11/src/helper-scripts/rack-preloader.rb:110:in eval'
/usr/local/rvm/gems/ruby-2.2.3/gems/passenger-5.1.11/src/helper-scripts/rack-preloader.rb:110:in preload_app'   /usr/local/rvm/gems/ruby-2.2.3/gems/passenger-5.1.11/src/helper-scripts/rack-preloader.rb:156:in module:App'
/usr/local/rvm/gems/ruby-2.2.3/gems/passenger-5.1.11/src/helper-scripts/rack-preloader.rb:30:in <module:PhusionPassenger>'   /usr/local/rvm/gems/ruby-2.2.3/gems/passenger-5.1.11/src/helper-scripts/rack-preloader.rb:29:in '

<
Versions are :

[xxxxx@offer xxxxx_rails]$ ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
[xxxxx@offer xxxxx_rails]$ rails -v
Expected string default value for '--rc'; got false (boolean)
Rails 4.2.6
[xxxxx@offer xxxxx_rails]$ bundle install | grep devise
Using devise 3.5.10<

Thanks for your help.

Please use StackOverflow for questions/help, where a wider community will be able to help you. We reserve the issues tracker for issues only. Thank you!


Sort or filter by "recommendedSizes"

Can there be a way to filter and only show "recommendSizes" unless the user selected to see All Sizes like the previous versions of this UI?  Or can the default sorting be placed on the "Recommend" column to show these sizes at the top of the grid?

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

ID: 61442b36-6bad-759e-4710-9a6421cfd8d6
Version Independent ID: cd4e2c5c-4638-5872-c188-5acdff1a6b85
Content: Azure SizeSelector UI element
Content Source: articles/managed-applications/microsoft-compute-sizeselector.md
Service: azure-resource-manager
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@ssflynn77  Thanks for bringing this to our attention. Your feedback has been shared with the content owner for further review.

@ssflynn77 - thanks for this question. There is not a way to only show recommended sizes. If you really need to restrict the displayed sizes, you could use allowedSizes. Users can sort by recommended sizes if that is the view they want.
We are taking feedback about this new display and may make changes in the future based on that feedback. We have noted your preference for sorting or filtering by recommended sizes.

#please-close

@ssflynn77 We will now close this issue. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Configuration Account Documentation

Hi, sorry I try to configure Gitea, in order to use the tool, but i wasn't able to find any documentation, just for GitHub and Bugzilla. It will also be nice to see how to configure GitLab.

Hey! Thanks for reporting this!
I guess you were reading the tutorial.
There is some documentation in the gcli(5) manual page regarding Gitea and Gitlab however this situation can be dramatically improved.
For now here's what you need to do for these two undocumented forges:
Gitlab

Generate a token:

Go to Preferences (top left)
Choose Access tokens
Click Add new token
Choose a reasonable token name (e.g. gcli $(hostname))
Choose a reasonable expiration date
Select the api scope
Click Create personal access token
Save the access token

Add a new account in your gcli config:

defaults {
	...
	gitlab-default-account=gitlab-com
}

gitlab-com {
	account=<the-user-name-at-the-forge>
	token=<the-token-you-just-created>
	apibase=https://gitlab.com/api/v4
	forge-type=gitlab
}

Now when you run gcli -t gitlab issues -o herrhotzenplotz -r gcli you should get a list of issues.
Gitea
The steps are roughly the same here as with Gitlab.
NOTE: This might be broken for either Forgejo (which is a fork of Gitea) or vice versa.

Generate a token:

Go to Settings (top right)
Choose Applications on the left
Choose a reasonable token name
Click Generate token

Add a new account in you gcli config:

defaults {
	...
	gitea-default-account=codeberg-org
}

codeberg-org {
	account=<the-user-name-at-the-forge>
	token=<the-token-you-just-created>
	apibase=https://codeberg.org/api/v1
	forge-type=gitea
}

This stuff needs to go into at least the tutorial and maybe also the manual pages.
If you want to have a go at this, please feel free and submit your patches or report back!

Hi. i have no experience working with make files, so i end up creating a script file in bash for performing the task. for now, i use a docker container to build it. but, with your help. i'm sure we can just finish it.
you tell me how i can give you the code.


[FEATURE] Make Get-PnPMicrosoft365Group Return GAL

Is your feature request related to a problem? Please describe.
It would be great to have Get-PnPMicrosoft365Group return GAL visibility ('HiddenFromGlobalAddressListsEnabled' attribute)
Describe the solution you'd like
As of now Set-PnPMicrosoft365Group allows to manage GAL visibility for Unified groups with  HiddenFromGlobalAddressLists parameter, however, it seems there is no way to retrieve current state for GAL visibility with Get-PnPMicrosoft365Group
Describe alternatives you've considered
The only way I can think of is connecting to ExchangeOnlineManagemet module
Additional context
Name    : PnP.PowerShell
Version : 1.12.64

Looks like the situation discussed here some time ago: https://github.com/pnp/powershell/discussions/1417
Just did a test and still it seems that only for Microsoft 365 Groups with a Team behind it, it will show the property in ResourceBehaviorOptions. When there's no Team behind it, it doesn't return it from Microsoft Graph. If Graph doesn't return it, I'm afraid there's nothing we can do about it. I would suggest raising a support ticket on this with Microsoft Support to get this addressed. If however you can find the property in a Graph response, i.e. using Graph Explorer, I'll be more than happy to see how we can get it in the response.

Closing this due to lack of response. Looks like an issue with the API itself , so not much we can do as well.


Replace builtin array equality with stdlib function

Problem

Array equality is currently not implemented in the ssa refactor (see https://github.com/noir-lang/noir/issues/1625) or acir/brillig-gen (see: https://github.com/noir-lang/noir/pull/1635)
It is my opinion that we should not have array equality on [T; N] for all T at all, since this is a type soundness issue when the equality is not really implemented for all T (user-defined structs are excluded).

Happy Case
Instead, we can have a function in the stdlib for array equality:
fn array_eq<T, N>(a1: [T; N], a2: [T; N], elem_eq: fn(T, T) -> bool) -> bool {
    let mut result = true;
    for i in 0 .. a1.len() {
        result &= elem_eq(a1[i], a2[i]);
    }
    result
}

This is a tad more cumbersome as we must pass in a function to do element equality, but it also means we do not need any special code in the compiler to support equality on arrays. Once traits are implemented, impl<T, N> Eq for [T; N] where T: Eq will resolve to a similar function (without the elem_eq parameter) and would remove the need for compiler support for array equality anyway.
I vote we move to this function now since we will move to a trait function eventually anyway. This would be a breaking change - tests that use array1 == array2 will have to be updated to array_eq(array1, array2, |a, b| a == b) (*).
(*) Since we do not expose polymorphic integer types in noir source code yet, this prevents us from being able to write a helper function for equality on arrays of integers/fields:
fn numeric_array_eq<T, N>(array1: [Int<T>; N], array2: [Int<T>; N]) -> bool {
    array_eq(array1, array2, |a, b| a == b)
}

Alternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response

Closing this since it seems it is unwanted.


Different Behavior of tf.raw_ops.Cos+tf.raw_ops.exp with jit_compile=True

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.14.0
Custom code
Yes
OS platform and distribution
Ubuntu 22.04.3 LTS (x86_64)
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
11.8
GPU model and memory
GPU 0: NVIDIA GeForce RTX 2070 GPU 1: NVIDIA GeForce RTX 2070 GPU 2: NVIDIA GeForce RTX 2070 GPU 3: NVIDIA GeForce RTX 2070
Current behavior?
When the tf.raw_ops.Cos+tf.raw_ops.Exp operation is invoked within a tf.function with JIT compilation enabled (jit_compile=True), it produces different results compared to the same operation called without JIT compilation. This inconsistency is observed when the code is executed on a CPU device.
Standalone code to reproduce the issue
i can reproduce this issue on colab:https://colab.research.google.com/drive/1YomYtislBnBgIO3E1PD2Shj3faR5BNVV?usp=sharing

Relevant log output
Traceback (most recent call last):
  File "/home/guihuan/LLM/results/tf-2/2023-10-22-20-21/test.py", line 54, in <module>
    tf.debugging.assert_near(tf.cast(no_op_res, tf.float64), tf.cast(op_res, tf.float64), atol=0.001, rtol=0.001)
  File "/home/guihuan/.conda/envs/night/lib/python3.9/site-packages/tensorflow/python/util/traceback_utils.py", line 153, in error_handler
    raise e.with_traceback(filtered_tb) from None
  File "/home/guihuan/.conda/envs/night/lib/python3.9/site-packages/tensorflow/python/ops/control_flow_assert.py", line 102, in Assert
    raise errors.InvalidArgumentError(
tensorflow.python.framework.errors_impl.InvalidArgumentError: Expected 'tf.Tensor(False, shape=(), dtype=bool)' to be true. Summarized data: b''
b'x and y not equal to tolerance rtol = tf.Tensor(0.001, shape=(), dtype=float64), atol = tf.Tensor(0.001, shape=(), dtype=float64)'
b'x (shape=(10, 9, 8, 1, 8, 3, 2) dtype=float64) = '
0.0, 0.0, 0.0, ...
b'y (shape=(10, 9, 8, 1, 8, 3, 2) dtype=float64) = '
0.0, 0.0, 0.0, ...

I was able to reproduce the issue on tensorflow v2.14 and tf-nightly. Kindly find the gist of the here.

@zoux1a,
This is likely due to fusion, where the intermediate result may be computed and kept in float32 in the case of jit-compilation, whereas without fusion it would cast to bfloat16 between the ops and produce a less precise answer. Still, both are correct. Thank you!


goaccess custom log format

Hi all,
we are using the apache webserver with below log format.
LogFormat "%h %{True-Client-IP}i %l %u %t \"%m %{REALREQ}e %H\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{Cookie}i\" \"%{cookie}n\" %{UNIQUE_ID}e \"%r\" %X %D" Custom

when we try accessing the monitoring of Logs via Goaccess Log monitoring tool, we are unable to get the true-client IP ,
can you please help how to create the custom log format for goaccess for accessing the access logs of apache webserver ?
 Thanks

Dec 18 10:06:14 apihost01 domain.com-ext x.x.x.x via x.x.x.x -
18/Dec/2018:10:06:05 +0100 GET 200 /app.php
/api/report/campaigns/354/summary.json /var/www/apiv1/web/app.php 0
cpu:6.82 allocatedmem:4
On 12/12/2019 16:55, Gerardo O. wrote:

@houssem-alt https://github.com/houssem-alt please describe each
field from your access.log. Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/allinurl/goaccess/issues/985?email_source=notifications&email_token=AOAV3QPJNGN6TO742WBDUEDQYJNHFA5CNFSM4EKQFAFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGXDYRA#issuecomment-565066820,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOAV3QLOQYJ445DJ245BPFLQYJNHFANCNFSM4EKQFAFA.

@houssem-alt as I mentioned above, please describe what each field means.

Dec 18 10:06:14 apihost01 dialog.apis.edatis.com-ext <IP_ADDRESS> via <IP_ADDRESS> -  18/Dec/2018:10:06:05 +0100 GET 200 /app.php   /api/report/campaigns/354/summary.json /var/www/apiv1/web/app.php 0 cpu:6.82 allocatedmem:4
I try this command :+1:
goaccess access.log --log-format=COMBINED -a -o acces.html
Parsed 1 linesproducing the following errors:
Token 'Dec' doesn't match specifier '%h'
Format Errors - Verify your log/date/time format
Thanks

@houssem-alt To help you out, I'd need to know what the following fields are:
/app.php /api/report/campaigns/354/summary.json /var/www/apiv1/web/app.php 0 cpu:6.82 allocatedmem:4

in fact these are centralized logs with rsyslog

This should do it:
goaccess access.log --log-format='%^ %^ %^ %^ %v %h %^ %^ %^ %d:%t %^ %m %s %U %R %^ %L %^' --date-format=%d/%b/%Y --time-format=%T --ignore-panel=OS --ignore-panel=BROWSERS

@allinurl   thank you very much sir .

Hello again, please,
I still have problems with these two log files I need your help Thanks to you cordially
Feb  1 11:09:00 webhost07 houssem.v7.digi.com: [Thu Feb 01 11:09:00.756041 2018] [:error] [pid 29413] [client <IP_ADDRESS>:48578] PHP Notice:  Trying to get property of non-
object in /var/www/V7/src/Dialog/Extension/Twig/DialogExtension.php on line 302

Feb  1 09:49:15 webhost07 houssem.v7.digi.com: <IP_ADDRESS> - - [01/Feb/2018:09:49:14 +0100] "GET /dialog/reporting/parameter HTTP/1.0" 200 8738 "https://houssem.v7.digi.com/d
ialog/reporting/emailing/home" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"

@houssem-alt you can't parse error logs.

@allinurl , Ok ,
and for this log ,
Feb  1 09:49:15 webhost07 houssem.v7.digi.com: <IP_ADDRESS> - - [01/Feb/2018:09:49:14 +0100] "GET /dialog/reporting/parameter HTTP/1.0" 200 8738 "https://houssem.v7.digi.com/d

@houssem-alt seems it's missing the end part?

This my log , :
Feb  1 09:49:58 webhost07 dialog.v7.houssem.com: <IP_ADDRESS> - - [01/Feb/2018:09:49:58 +0100] "GET /dialog/campaign HTTP/1.0" 200 27570 "https://1042066294.v7.houssem.com/dia
log/reporting/emailing/home" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"

@houssem-alt
goaccess log --log-format='%^ %^ %^ %^ %^ %v %h %^[%d:%t %^] "%r" %s %b "%R" "%u"' --date-format=%d/%b/%Y --time-format=%T

@allinurl  thank you in advance sir :+1:

@allinurl  Hello sir ,
How to monitor multiple websites with 'goaccess’？ , I tested to execute two log in parallel with the command --real-time I got an error as preview below
Config file: /etc/goaccess.conf
Fatal error has occurred
Error occurred at: src/websocket.c - ws_socket - 2782
Unable to set bind: Address already in use.

@allinurl , it's good problem solved, thanks in advance :)

@houssem-alt https://github.com/allinurl/goaccess/issues/625#issuecomment-272905761


Remove raspberrypi-sys-mods dependency

So we'll also remove this package from existing Umbrel OS installs on the next OTA update?


Spawning menu creation continuation

Description
Task: Spawning menu creation.
This task ticket is the continuation of the previous task ticket (see #140) as there were some issues with the code during sprint 3. The main goal of this task has switched to getting the building to spawn the soldier units on the map (and possibly the worker as well) in order to get the game playable by the end of the sprint.
Dependencies
Icon Assets are retrieved from the icons of each unit that Team 1 has created.
Menu Widget has been completed in the previous sprint and will be used.
Milestones
Remaining steps that need to be completed for this task.

[x] Unit menus need to be attached to whether the appropriate building is selected (taken over by team 6. See #233 )
[x] Global building menu needs to call appropriate placement selection process

Documentation

In-Game Menu

Member

Garryco Thandi (@Harqua)
Hoang Viet Nguyen (@nhVietS)

The code for menu for the units has been pushed to the main, but the button to make it appear were commented as team 6 is taking over

I have finished the first version of the menu, could you guys have a quick look and I appreciate your feedbacks.
Here a list of questions that I want to here from u guys:

On a scale of 1 – 5, how effective and ‘easy to use’ was the menu system for building (with 1 being ‘terrible’ and 5 being ‘great’)
On a scale of 1 – 5, how likely are you to want to use this version of the menu in this game (with 1 being ‘definitely not’ and 5 being ‘yes, absolutely’
Describe the feelings you experienced while playing the game?
What did you enjoy about the building process?
What aspects of the menu could be improved?

Some quick informations that may useful when you review it:

The menu currently works fine for the first time you spawn it, but not the second and later
I try to hide the menu after u choose the building button but it still not implemented well yet

Participant 1:

4
5
"I think it is intuitive enough and simple to use"
"I like the freedom of choosing a specific location to build the buildings"
"Other than the bug mentioned, I would like the image of the buildings being pressable instead of the cost button"

Participant 2:

3
3
"I would say it is very common for RTS games, other than the bug that kinda disturbs the gameplay"
"I like how the placement of the button where it is very obvious and easy to find"
"Maybe make the button position a little bit left so it won't trigger the camera movement"

4
3
The menu is simple to use, however there are some bugs that in the menu that cause you cannot spawn a second unit.
The design is good and buttons are easy to navigate.
Add a close button in the menu to make it easier to close the menu, make the menu disappear when you already choose the unit to place it on the map.

4
5
The new design is intuitive, pleasant to use and all around, very simple.
I like how the user can get specific with the building placement. In general, navigation is very simple.
Other that the bug, consider a collapsible that prevents clutter in the screen.

Participant 5:

4
3
"The menu is still a little buggy. However, it is easy to navigate and learn."
"It is easy to use, you just have to click it and place the building in the game."
"Make a cooldown option"

Participant 6:

3
5
"Simple, intuitive and easy to use. The design of the menu is also great"
"Building placement is flexible, giving players freedom to place it in he most strategic place."
"Fixing the creation of the buildings"

Participant 7:

5
5
"The menu is informative to new users, giving the pictures, cost and description of the buildings."
"I can easily use it without further instructions"
"Placements of the attributes could be better. Also, make the menu easily closeable."


[GEARPUMP-292] Update wordcount example in the doc

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the commit message is formatted like:
[GEARPUMP-<Jira issue #>] Meaningful description of pull request
[ ] Make sure tests pass via sbt clean test.
[x] Make sure old documentation affected by the pull request has been updated and new documentation added for new functionality.

Codecov Report

Merging #171 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #171      +/-   ##
==========================================
- Coverage   71.63%   71.62%   -0.02%
==========================================
  Files         191      191
  Lines        6086     6086
  Branches      527      527
==========================================
- Hits         4360     4359       -1
- Misses       1726     1727       +1

Continue to review full report at Codecov.

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


Import resources directly to SST without going through CDK

Why
Users often just deal with SST constructs. And when they need to import a resource, they would have to import to CDK, and then use that in SST, which does not make sense.
As a side note, overtime we want to hide the concept of CDK from user, and ideally, users don't have to go to the CDK docs at all.
Example
const bucket = sst.Bucket.fromName(this, "Bucket", bucketName);

Requested by Matthew Purdon on Slack

So an ideal solution would be an auto-magically generated wrapper that exposes all of CDK through SST constructs/libs ?

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


LinearInterpolation: Fix scalar indexing and generalize for ndims(u) > 2

Checklist

[x] Appropriate tests were added
[ ] Any code changes were done in a way that does not break public API
[x] All documentation related to code changes were updated
[x] The new code follows the
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
[x] Any new documentation only uses public API

Additional context
Add any other context about the problem here.

What is the context? Any MWE for this?

What is the context? Any MWE for this?

Yes, the current implementation fails on GPU:
julia> x = collect(0.0:0.1:10.0);

julia> y = [sin.(x) cos.(x)]' |> collect |> gpu64
2×101 CuArray{Float64, 2, CUDA.DeviceMemory}:
 0.0  0.0998334  0.198669  0.29552   0.389418  0.479426  …  -0.174327  -0.271761  -0.366479  -0.457536  -0.544021
 1.0  0.995004   0.980067  0.955337  0.921061  0.877583     -0.984688  -0.962365  -0.930426  -0.889191  -0.839072

julia> li = LinearInterpolation(y, x)
ERROR: Scalar indexing is disallowed.
Invocation of getindex resulted in scalar indexing of a GPU array.
This is typically caused by calling an iterating implementation of a method.
Such implementations *do not* execute on the GPU, but very slowly on the CPU,
and therefore should be avoided.

If you want to allow scalar iteration, use `allowscalar` or `@allowscalar`
to enable scalar iteration globally or for the operations in question.

    @ DataInterpolations ~/.julia/packages/DataInterpolations/cSfd8/src/parameter_caches.jl:6
 [24] LinearInterpolation(u::CuArray{Float64, 2, CUDA.DeviceMemory}, t::Vector{Float64}; extrapolate::Bool, safetycopy::Bool)
    @ DataInterpolations ~/.julia/packages/DataInterpolations/cSfd8/src/interpolation_caches.jl:33
 [25] LinearInterpolation(u::CuArray{Float64, 2, CUDA.DeviceMemory}, t::Vector{Float64})
    @ DataInterpolations ~/.julia/packages/DataInterpolations/cSfd8/src/interpolation_caches.jl:31
 [26] top-level scope
    @ REPL[26]:1
Some type information was truncated. Use `show(err)` to see complete types.

Run the formatter

There is one breaking change here.

This indeed broke my package extension tests in SparseConnectivityTracer.

Related issue: https://github.com/SciML/DataInterpolations.jl/issues/328

That should now be consistent?

 Or higher order tensor?

That should definitely be a vec. I thought this was a case where it was interpolating arrays of matrices, not the output of data that is vector of vectors.

Yeah, to get a matrix, we can always do A([t])

@sathvikbhagavan can you handle it?

I have a potential fix open: https://github.com/SciML/DataInterpolations.jl/pull/339 .
This PR removed scalar indexing from the slope calculations. And thus :
x[:, idx+ 1] - x[:, idx]
# became
x[: , (idx + 1):(idx+1)] - x[:, idx:idx]

Which prompted the Matrix change

Nice! I will tackle #328


Make app init more idempotent

Summary
Sometimes we receive a inviariant violation: "Home" was not registered error on load. The only reason for this to happen is that registerScreens has not been called, which shouldn't happen. The only reason I could fathom is that something in the navigation library died, but the mainAppInitialized variable was still set to true.
To address that (and other possible mishaps) I tried to make the start function more idempotent by:

Storing and removing previous listeners every time we call PushNotifications.init or registerNavigationListeners
Invalidating any websocket connection when creating a new one

registerScreens seems idempotent in all the tests I have made, so no changes there were needed.
Ticket Link
https://mattermost.atlassian.net/browse/MM-55522
Release Note
Fix "Invariant Violation: "Home" has not been registered" error when opening the app

@larkox please test the side effects of this on Android when you use the share extension without first opening the app (the whole reason of the original approach in the first place), then if no issues are found (aka. Screens double registration, connections and so on) after you then open the app.

According to the code, the part that is handled by the Share Extension is the initialize part, which I am not touching in this PR (I considered it, but preferred to avoid it). Nevertheless, I tried in real device in release mode and emulator with developer mode and I don't see any weirdness.

Building app in separate branch.


Selectrum works differently when viper-mode is enabled.

If viper-mode is enabled, RET doesn't input the highlighted thingy, I have to press TAB for it to appear in the text box and then press RET.

Viper does rebind RET to something else than exit-minibuffer which we use for remap, I first thought simply binding RET explicitly would fix it but you looking at viper-exit-minibuffer this doesn't work, please try the following (I don't use viper myself and have a hard time testing things with it):
(define-key selectrum-minibuffer-map (kbd "RET")
  (defun selectrum-viper-exit+ ()
    (interactive)
    (run-hooks 'viper-minibuffer-exit-hook)
    (call-interactively 'selectrum-select-current-candidate)))

Viper does rebind RET to something else than exit-minibuffer which we use for remap, I first thought simply binding RET explicitly would fix it but you looking at viper-exit-minibuffer this doesn't work, please try the following (I don't use viper myself and have a hard time testing things with it):
(define-key selectrum-minibuffer-map (kbd "RET")
  (defun selectrum-viper-exit+ ()
    (interactive)
    (run-hooks 'viper-minibuffer-exit-hook)
    (call-interactively 'selectrum-select-current-candidate)))

Works, thank you!

testing things
C-z turns Emacs state on

Works, thank you!

testing things
C-z turns Emacs state on

We might consider binding a remap for this out of the box.

Honestly... no one uses Viper anyway, it's been dead for the last 10 years or so


No fill for placement ...

Same as when I do iOS only development, but the it eventually shows.
Now on a flutter project, iOS side give me the usual "No fill for placement ..." error. Even if I think I've done more than enough...
Error:
E/UnityAds: +[USRVApiSdk WebViewExposed_logError:callback:] (line:60) :: No fill for placement banner001
flutter: Banner Ad banner001 failed: UnityAdsBannerError.noFill message: Placement banner001 failed to fill!
Implementation:
class _MainScreenState extends State {
final bool _showBanner = true; //fixme: ads: in-app purchase
@override
void initState() {
super.initState();
UnityAds.init(
  gameId: AdManager.gameId,
  testMode: false,
  onComplete: () {},
  onFailed: (error, message) {},
);

}
@override
Widget build(BuildContext context) {
return Scaffold(
[...]
body: Column(
children: [
[...]
if (_showBanner)
SizedBox(
width: 375,
height: 60,
child: UnityBannerAd(
placementId: AdManager.bannerAdPlacementId,
onLoad: (placementId) => print('Banner loaded: $placementId'),
onClick: (placementId) => print('Banner clicked: $placementId'),
onFailed: (placementId, error, message) => print(
'Banner Ad $placementId failed: $error message: $message'),
),
),
],
),
}
}
}
class AdManager {
static String get gameId {
if (defaultTargetPlatform == TargetPlatform.android) {
return 'xxx';
}
if (defaultTargetPlatform == TargetPlatform.iOS) {
return 'xxx';
}
return '';
}
static String get bannerAdPlacementId {
if (defaultTargetPlatform == TargetPlatform.android) {
return 'Android_Banner';
}
if (defaultTargetPlatform == TargetPlatform.iOS) {
return 'banner001';
}
return '';
}
}

Notice I give it a SizedBox of more than it needs... I tried without, I tried the proper size (320x50) but nothing makes it work.
I then remembered needing to add the UnityAds.framework in the root of iOS to make it work in the past. No change.
Got my allow tracking request ✅
Got my plist ads provider list ✅
It was working with the test ads but when I turn them properly ON it doesn't - Apple rejection for displaying a test banner 🤦🏻♂
What to do?

Re-pushing as is hoping it will resolve all alone like it does when I do iOS only...
I definitely suspect the store ID to be a thing that put us all in trouble.

Facing same issue with only banner in production, test banner working correctly

I lodged a complaint and the answer was to try a vpn to US or Asia as there is probably no banner to be delivered in Europe at the moment. I haven’t tried yet. But this more than an unsatisfactory answer. Why I’m using UnityAds? And why do they ask the mediation thing? Then you answer they are your only provider and you get no banner. Great service

I added following lines after UnityAds.init, but still no fill at European countries. Any solution for this problem?
      await UnityAds.setPrivacyConsent(PrivacyConsentType.gdpr, true);
      await UnityAds.setPrivacyConsent(PrivacyConsentType.ageGate, true);
      await UnityAds.setPrivacyConsent(PrivacyConsentType.ccpa, true);
      await UnityAds.setPrivacyConsent(PrivacyConsentType.pipl, true);

On a break, will get back to you shortly (still not working hey not much exiting news…)

Got an answer saying:
"Since you are testing in Europe you are likely not seeing banners due as you have failed to respond to or trigger the GDPR consent dialogue box. The consent dialogue is displayed the first time the SDK is requested to show an interstitial or rewarded ad. Unfortunately as such it is required to show at least one non-banner ad in your application for banners to function in countries that require GDPR."
Answered:
This got me curious as I am asking for GDPR consent. (like you)
So I've added just for fun the firing of an interstitial when the banner fails to load and a video shows perfectly fine...
Now I have a video ad' on app opening which will be granting me of a nice apple store rejection hahaha.
Does this info help? Or should I accept that there is no banner in Europe ATM?

Now do you ask on iOS via the appDelegate?

Thanks for information. This information might be helpful for me. In fact I am planning UnityAds for only android version <= 9. I am planning to continue to use admob on iOS and android version >= 10.
I can try to load an interstitial ad after several pages once for android < 10 devices. Google may not reject this way.

By the way, if I will show consent screen to EU users, no one will accept to see ads. I am planning to sell ad-free version with in app purchase and they can simply reject consent and get ad-free version with free. :)

Interesting.. However to me, they are not refusing ads, they are refusing to be tracked (which is only here to give them more interesting ads...) at least that's what I thought. But people, they on the other hand, think we will sale their data to a demon so... Being banned from adMod I might start begging in real life rather than online. Because anyway 0.0005c an ad this is just "begging 1.0"

I am considering UnityAds for android version <= 9 because admob has a huge performance impact for android <= 9. I started not to show admob for android <= 9, than started to think showing UnityAds for android <= 9. But because of poor income, maybe it is not worth to code for unityAds. Because android >= 10 devices will get more and more share in time.
On the other I tried to show an Interstitial ad and I noticed that there is an Opt Out of Personalized Network-Wide button. I guess this means, that device should be opt in for personalized ads. But I still don't see any banner ads. What I am missing?

I'm also facing this exact problem. Has anyone found a solution or is it better to switch to admob?

I'm also facing this exact problem. Has anyone found a solution or is it better to switch to admob?

Some news ? I have the same problem in Unity Engine

facing same issue


Milestone 03 :  Validations and model specs

In this pull request, I have implemented the following :

Add validation for the User model
Add validation for Post model
Add unit specs for all of your models' methods and validations

@codecaiine Thanks for your kind review and feedback.


Ability to add notes to stacks and events

I'd like to see a comment box on the exception so I can add some comments on the exception.
The reference link is nice but very limited.

What all would you want to comment on about? I like the idea of having system level notes and maybe a deobfuscated stack trace. I think we need notes, but I also want to keep it simple (not a full fledged issue tracker like lira (do one thing really well :)).

Well, stuff like: "We've seen this issue before on couple of other scenarios. I'll have [personx] investigate before we raise this ..." or "I'm investigating this .." which is enough to not have another engineer look into it.
Generally comments are good to help people on track especially when you work in multiple offices and multiple people monitoring the reports.

Yeah, I get that. Internally we've used our promote button (web hook via zapper) to automatically create a trello card. It would then add a reference link and when the card was moved to the done lane the stack would be marked as fixed).

I see this as an excellent way to specify for example in what scenarios this error happened and how to reproduce it. Especially for not as critical bugs that one wants to work on later.
Otherwise it is easy to forget how to reproduce the bug based on the exception stack (there could be a faulty data insert done before a redirect or reload is performed).

+1. Notes for stacks would be very useful.


Change make.bat to hide help message

Preamble
While trying to solve issue #1915 I tried to make html many many times and found the help message very annoying, so this is my first (and very insignificant) contribution, waiting for help to solve the #1915 one.
Description
When executing the make batch command, a fake call to Sphinx-build is made to check for Sphinx installation. This produce an undesired help message:
c:\Git\aspnet-docs\aspnet>make html
Sphinx v1.4.6
Usage: sphinx-build [options] sourcedir outdir [filenames...]

Filename arguments:
  without -a and without filenames, write new and changed files.
  with -a, write all files.
  with filenames, write these.

Options:
  -h, --help          show this help message and exit
  --version           show version information and exit

  General options:
    -b BUILDER        builder to use; default is html
    -a                write all files; default is to only write new and
                      changed files
    -E                don't use a saved environment, always read all files
    -d PATH           path for the cached environment and doctree files
                      (default: outdir/.doctrees)
    -j N              build in parallel with N processes where possible

  Build configuration options:
    -c PATH           path where configuration file (conf.py) is located
                      (default: same as sourcedir)
    -C                use no config file at all, only -D options
    -D setting=value  override a setting in configuration file
    -A name=value     pass a value into HTML templates
    -t TAG            define tag: include "only" blocks with TAG
    -n                nit-picky mode, warn about all missing references

  Console output options:
    -v                increase verbosity (can be repeated)
    -q                no output on stdout, just warnings on stderr
    -Q                no output at all, not even warnings
    -N                do not emit colored output
    -w FILE           write warnings (and errors) to given file
    -W                turn warnings into errors
    -T                show full traceback on exception
    -P                run Pdb on exception

For more information, visit <http://sphinx-doc.org/>.

Solution
This change to the make.bat file will solve the issue:
REM Changed redirection to hide help message
%SPHINXBUILD% > nul 2> nul
if errorlevel 9009 (

please note the > nul 2> nul change, that will redirect also stdout to nul.

@ncarandini  great suggestion but we're in the process of a total rewrite.


Refactoring to remove lifestyle_emissions

Due to changing demands we have decided to remove the lifestyle emissions as it was seen as unnecessary.

Finished doing this!


Add support for web formats

Browsers won't let people add pdfs and almost anything but images + text to the clipboard by default, so the Chrome team came up with an idea called "web custom formats" to work around the issue. With web custom formats, apps can read and write any file type they want including internal data formats. These formats sometimes restrict things from working outside the browser, but at least they work within the browser.
https://developer.chrome.com/blog/web-custom-formats-for-the-async-clipboard-api
While it is possible to set these content types manually, it would be nice if it worked out of the box with things like Formats.pdf on web, and potentially if the other platforms also were updated to support "web " prefixes to allow pasting from web to other platforms:
const webPDFFormat = SimpleFileFormat(
  uniformTypeIdentifiers: ['com.adobe.pdf'],
  mimeTypes: ['web application/pdf'],
);

More details and very good explanation of the current state of Clipboard hacks and APIs on web:
https://alexharri.com/blog/clipboard
Potentially fixes:
#351

I'm having similar challenges with even writing plaintext to the clipboard on the web. Is this common across all Formats on web?

@aardrop plain text should be safe to put in the clipboard on the web, assuming the site has been granted clipboard permissions by the user. Web generally allows text, html, and images without special hacks, but you can read more in the articles linked above about it.

@jezell Thank you I see what you're pointing out and have been able to replicate the example project on web, the issue I'm facing is different, and something is causing the clipboard to fail completely, returning the same error for all data types.  I will make a separate issue for this.


Implement KeyValues3

[ ] Flagged values

[ ] Add Flag to KVValue for flagged strings (text) or flagged anything (binary)
[ ] Ensure that KV1 serialiser drops the flag when serialising (should happen by default, but check / write unit test)
[ ] Ensure that flag and value is maintained when deserialising to a strongly-typed object model that has a KVValue field/property.

[ ] Ensure that null is handled properly (as its own type in KV3 text [what about binary?])
[ ] Create KV3 text deserializer
[ ] Create KV3 text serializer
[ ] Create KV3 binary deserializer
[ ] Create KV3 binary serializer
[ ] Write tests for converting KV3 to KV1 and back
[ ] Create the rest of this checklist :clipboard:

KV3 text is implemented here, and I think it has no known issues: https://github.com/SteamDatabase/ValveResourceFormat/tree/master/ValveResourceFormat/Serialization/KeyValues
KV3 binary: https://github.com/SteamDatabase/ValveResourceFormat/blob/master/ValveResourceFormat/Resource/ResourceTypes/BinaryKV3.cs
Binary is slightly complicated due to multiple compressions and versions, but luckily all of that has been figured out by now.
The only issue there is the ConvertBinaryOnlyKVType function because binary kv3 has some special types (like bytes for true/false booleans and uint32 in binary which maps to uint64 in the text one).


Debian dependency

Copy manually walkthrough
This PR is solely to show the change made in https://github.com/ome/omero-install/pull/172
Do not merge this PR, the change will be done by running the autogen job when https://github.com/ome/omero-install/pull/172 is merged
To review:

Make sure the dependency is correctly displayed in the web installation with server page for debian9

Staged at https://ci.openmicroscopy.org/job/OMERO-DEV-merge-docs/ws/src/omero/_build/html/sysadmins/unix/install-web/walkthrough/omeroweb-install-with-server-debian-ice3.6.html.

@mtbc adjusted the header as suggested and removed the manual copied of the walkthrough

it will.
Merging thanks


Which compilers are supported?

It won't build with Clang 3.8 and GCC 6. It would be nice to document which minimum versions are required.

This is an excellent point.  I'll add docs that indicate this, but Clang 3.8+ and GCC 6+ should both work.  Are you using the c++14 branch?  That's the most usable one.  The master branch might only work with Clang-SVN (that's all I've tried).

Oh, I'm doing everything on master.


jsonpath

So looks like recursive call is disallowed in larky, then can I get some idea how to implement json path with * in expression, if java is discouraged?

@la-luo this is where we have to use a non-recursive descent parser which is just an LL(1) parser. I have some ideas on how to solve this but the key here is that we should not be using Java here (especially) since we must operate with jsonpath with a stream processing.


Expose WebSocketChannel and WebSocketHttpExchange to the Camel Exchange

2.24.x version same as the 3.x

Same as https://github.com/apache/camel/pull/3073


Allow excluding certain packages from pip-sync

What's the problem this feature will solve?
When running pip-sync, it will uninstall also editable package(s) and you need to pip install -e . them again. This adds unnecessary steps. Adding support for pip-sync --ignore <packages...> or similar would allow to avoid that.
This topic has been discussed in https://github.com/jazzband/pip-tools/issues/686. However, that one was closed with the assumption that if non-declared packages don't need to be touched, vanilla pip install -r requirements.txt will do.
The difference here is that while I do want to uninstall all the non-declared packages, I also want to retain the editable packages.
Describe the solution you'd like
Maybe:
pip-sync --ignore "(my-package1|my-package2)"  # regex
pip-sync --ignore my-package1 --ignore my-package2

My problem is specifically with editable packages. So it also could be:
pip-sync --ignore-editable

...but I'm not sure how difficult it would be find out which of the packages are actually editable and which are not. Also, former suggestion is more generic, should someone want to exclude actual, non-editable, packages.
Alternative Solutions
My workaround currently is to simply run pip install -e . always after pip-sync.

Even with that workaround, thouhg, pip-sync effectively breaks if you want to run it a second time.
In other words, this workflow doesn't actually work:
$ # clone repo
$ pip-compile requirements.in
$ pip-sync requirements.txt
$ pip install -e .
# do some development
# add a new dependency to requirements.in
$ pip-compile requirements.in
$ pip-sync requirements.txt
...

Missing from this discussion right now is the option of putting your editable requirements in requirements.in with all the others.
Disadvantages:

The absolute path will end up in requirements.txt if using e.g. -e . (#204)

You can use -e file:. or -e file:.#egg=pip-tools, and the path will stay relative through compilation, but this is not a reliable standard (pypa/packaging#120)

You must compile from the same directory as the in-file (not usually a problem)
The relpath is relative to the in-file, not the out-file (not usually a problem)
Technically it will get removed and reinstalled on each sync, but that should be near-instant since it's mostly linking around (right?)
In the big picture, "editable"/-e package installation is not yet well defined for the new pyproject.toml era, AFAIK. For example, flit projects don't support -e installation. When it's the project you're working on, you can use flit install -s, but I don't know about installing dependencies this way in a pip-tools friendly way.

See my last comment from #204 for a more thorough summary of the relpath problems and links to relevant issues further upstream.

All that said, for now, it will probably "just work" if you put your editable reqs in the in-file, with a form like
-e file:RELATIVEPATH#egg=PACKAGENAME

or just
-e file:RELATIVEPATH

@AndydeCleyre I thought I had tried that, but I was doing -e ., not -e file:.. That makes all the difference! Thanks!

@tomasaschan If I can get #1329 merged in, the -e . syntax should work as well.
@tuukkamustonen Do you think putting your editable requirements in your in-file adequately serves your purpose?

@AndydeCleyre I have yet to try it, but if it works I think it's a feasible workaround.
I mean, better would be to allow ignoring certain packages as suggested, because people's workflows differ. Someone might not want to initialize all sub-projects always, and avoiding that would require splitting editable packages to several different files. Or maybe people don't use pip install -e . but python setup.py develop (if that's still supported) or some other way.
But yes indeed, your proposal (-e file:...) looks viable 👍🏻.

I'll be more keen on --ignore-editable or similar if/when upstream standardizes what it is to be "editable."
Meanwhile, let's iron out the essentials.

Does anyone here want to be able to ignore some editable packages and not others, in the same project?
Does anyone here want to ignore non-editable packages?

Another workaround, kind of a "hook":
psync () {  # [<pip-sync-arg>...]
  pip-sync $@
  if [[ -r post_pip_sync.sh ]]; then
    ./post_pip_sync.sh
  fi
}

And you put your custom commands for installing editables and whatever in that script.

I would prefer pip-sync to ignore editable installs by default and offers a --include-editable rather than a --ignore-editable flag.
This way, if I add -e file:. to requirements.in, I would use the --include-editable only once when I set up my environment, but afterwards I can use pip-sync normally without having to add --ignore-editable each time.
Alternatively, I would also be fine if there is no extra flag and pip-sync ignores editable installs. I don't mind typing pip install -e . once to set up the environment.
BTW, does PEP660 help with this? The aforementioned flit supports as well.


chore: Fix and enable wss tests

Description

Refactors app_3001 test

TODO
All we need to do is create the ws server (can copy code from the test and then comment out the whole rhum code, then run with deno run), and check it works with tls. Then uncomment the tests, make the changes needed and everything should work

Ok so this PR is ready for review, but it doesn't actually fix anything. It improves the test code a lot, and i am sick of not being to able to fix it :P So really, this PR is just an improvement. to the test code so when we do come back to it, it's easier to work with
Again, this fixes nothing, and changes nothing in the source code or the ci

In reference to #88


Bump strset version to fix 386 builds

Pull in fix from https://github.com/scylladb/go-set/commit/cc7b2070d91ebf40d233207b633e28f5bd8f03a5 to prevent compile issues on 32 bit architectures:
$ GOOS=linux GOARCH=386 go build  -o /tmp/out examples/basic.go
# github.com/scylladb/go-set/strset
../../.gvm/pkgsets/go1.18/global/pkg/mod/github.com/scylladb/go-set@v1.0.2/strset/strset.go:248:13: cannot use math.MaxInt64 (untyped int constant<PHONE_NUMBER>854775807) as int value in assignment (overflows)
../../.gvm/pkgsets/go1.18/global/pkg/mod/github.com/scylladb/go-set@v1.0.2/strset/strset.go:255:16: math.MaxInt64 (untyped int constant<PHONE_NUMBER>854775807) overflows int

$ go get -d github.com/scylladb/go-set@master
go: downloading github.com/scylladb/go-set v1.0.3-0.20200225121959-cc7b2070d91e
go: upgraded github.com/scylladb/go-set v1.0.2 => v1.0.3-0.20200225121959-cc7b2070d91e

$ GOOS=linux GOARCH=386 go build  -o /tmp/out examples/basic.go
# success!

sweet, sweet CI! You're back!


Video bug on animations

Describe the bug
It seems there is a bug on the animation visualization which run on the python process. It goes way too fast compared with the output GIF.
To Reproduce
Run the example presented in here
Expected behavior
I expected the python animation run at similar speed as the GIF file.
Screenshots

Posted why it happens here:
https://github.com/pyansys/pymapdl/discussions/1121#discussioncomment-2798928


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.16 to before v5.10.88",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=395cacb5f1a0a290f1ae9ca4692c400d2b57a705",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1a34fb9e2bf3029f7c0882069d67ff69cbd645d8"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "395cacb5f1a0a290f1ae9ca4692c400d2b57a705",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "1a34fb9e2bf3029f7c0882069d67ff69cbd645d8",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_map_alloc\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.88 by commit 1a34fb9e2bf3029f7c0882069d67ff69cbd645d8, it was introduced in version v4.16 by commit 395cacb5f1a0a290f1ae9ca4692c400d2b57a705. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2021-1002704


Add Cache Support for<EMAIL_ADDRESS>

Related Issue
https://github.com/sst/open-next/issues/354
Proposed Changes

create utils file overriding the cacheHander property

Changelog

feat: add cache support for<EMAIL_ADDRESS>fix: lint files

Awesome!