New Post - XML-NewEmployees.md

Post on how to leverage xml with new user scripts in PowerShell. Questions to @samryanturner
PR Summary

PR Checklist

Do you want this post to be published on a specific date?: Y/N [Specify date]:
[x] I have read the contributors guide and followed the style and process guidelines
[x] PR has a meaningful title
[ ] Includes content related an open issue

see Closing issues using keywords.

[x] This PR is ready to merge and is not Work in Progress

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Let me know what changes are needed 😄 . I was thinking of adding a last section showing the value itself with the content from the xml.
I also noticed that the actual dot-notation part doesn't actually reference the correct elements in the xml made for the demo. I can fix that.

A well written article. The examples look good too!
But I kept asking what is the business problem being solved here? I'd like to see more about why you use XML and what value this approach has over other text-based methods. Using XML writers (or any .NET class for that matter) is only done when there are no PowerShell commands. A paragraph at the start of this explaining why XML would be good

Thanks Thomas! Sure I can add something in.
Generally I think having a central source of address information for offices etc. is much more efficient and cleaner than just storing plain text strings in scripts.
It also allows other people in the business who are not so comfortable editing PowerShell scripts to amend this information.

@doctordns changes completed, let me know your thoughts! :)

Noticed all the "/" have been removed from all the code blocks. Do we know how to resolve this? @sdwheeler

@samryanturner Fixed. There is something wrong with how the markdown get converted for WordPress. I am filing a bug on that.

That's cool! I figured it was something Wordpress-y. Thank you so much for fixing it!


feat(mlx_lm): add mixtral support in mlx_lm

Added the example for Mixtral in HF format, in preparation to support LoRa/QLoRa for Mixtral.
Uploaded the quant model here.

This is beautifully done, thank you for adding it.
What do you think, should we remove llms/mixtral or keep it there as a reference standalone MOE model?

I am a bit concerned that removing it will cause the old Mixtral model in mlx-community to no longer work. Given the size of the model, Maybe keeping it as a standalone reference for the MOE model is not a bad idea for now, but it may cause some confusion,  I'm not really sure. :(

You're right, let's keep it for now as it is one of the more used models in HF. We could replace that repo in the future if we decide to remove it.


Allow children to contain arrays

It looks like recently the ability to use arrays in the virtual dom has been removed. However, it turns out to be a pretty common case, and the workaround is less than ideal.
Here are some examples off the top of my head where you want to use both objects and arrays in the body of a virtual node. Since these examples don't work, following them shows what you must do as a workaround.
(I've run into this dozens of times the past couple weeks and had to modify the code into a complex form.)
<Tabs>
  <Tab name="Default tab"/>
  { otherTabs }
</Tabs>

There, the "default tab" is manually placed there, and always is there, but then you dynamically build a list of other tabs based on variables.
Here is a table example, where you have dynamic table cells, always followed by some action buttons:

  <TableBody>
    <TableRow>
      { dynamicCells }
      <TableCell>
        <Button>Standard action button</Button>
      </TableCell>
    <TableRow>
  </TableBody>

Finally, here is an example where you show an alert/notice at the top of an array of sections.
<Page>
  { alert }
  { sections }
</Page>

These are just a small sample of the cases where you mix both objects and arrays in the body of a virtual node. Because this has been removed, you first run into a confusing error message, then after you figure it out, you have to refactor to something like this:
let allCells = dynamicCells;
allCells.push(
  <TableCell>
    <Button>Standard action button</Button>
  </TableCell>
);

  <TableBody>
    <TableRow>
      { allCells }
    <TableRow>
  </TableBody>

Which, that works, but it's much harder to see how the page is structured, there's a lot more searching and mental analysis required, which makes it less than simple.
Is it cool if we add this back in? The ability to use both arrays and objects in the body of a virtual dom.
cc @stevenmiller888 @anthonyshort

The error that you see when you mix array/object is this:

Which isn't much help

+1
I've run into this a bunch of times. At a minimum, we should give a better error message IMO

Hrm I thought JSX transformed it differently and actually expanded it out. We can add this back in and flatmap the children array.

Another example is this:
rows.push(
 { cells }
);

That expands to this:

So because there was extra space (which could be useful in some cases, or just a programmer error), it doesn't work and hard to debug.

Yup cool, this should be fixed. It would be nice if the JSX was more intelligent, but this will work too.


[Gherkin C] Empty lines in the description break the parser with memory access error

Summary
Lines in the description that comply condition GherkinLine_is_empty can break down the parser with memory access error

Details
GherkinLine_is_empty returns true if the line is empty or contains only whitespaces (or/and tab characters). In the second case the line has real content and nonzero length. Let's see on the get_description_text implementation. At first we pass through description lines to calculate text_length and empty lines (GherkinLine_is_empty) is skipped here. At now let's see on the create_multi_line_text_from_tokens.
The buffer with text_length size for result text is allocated. Then we again pass through description lines and sequentially copy its to the prepared buffer. Empty lines isn't skipped on this step and summary size of the copied text is greater then buffer size. So we wrote outside of the prepared buffer.
I made a consistent calculation of the buffer size (text_length) and filling the buffer

Motivation and Context
Modern editors keep indentation of the new line by the previous line indent. So the line with only whitespaces/tabs in the description is common case, especially while editing file

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

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

Checklist:

[ ] I've added tests for my code.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

So we can remove the if statement here?

Yes. But I am afraid that someday the code can be modified and get_description_text and create_multi_line_text_from_tokens will be inconsistent again. The C language doesn't forgive errors with memory handling. So I would prefer to keep this comment, may be in other form, as reminder.

I would like to see a test that replicates this.  If the code changes, it should trigger the bug and fail the test, which would ensure that there is no regression in the future.
As for the comment, I think that we should remove the if statement and write a comment either here or at the top of the function.  I do not care too much about either placement but as long as it is nearby.

Good proposition. I agree that my fix is quick and dirty rather than clean and clear. And I like tests too. So I will try to do this. But this will take a little bit more times.

Thank you, @VjacheslavVytjagov - once you've added some tests, I think we should merge this. :)


[Alamofire 5]: Create a Migration Guide

As the last item before full Alamofire 5 release, we need an updated Migration Guide. Given the sheer number of changes since Alamofire 4, we should focus on the APIs that have changed, leaving the new APIs with links to the API and usage documentation.

Any update on this? Would love to upgrade to 5 (even beta) but waiting on the migration guide. This is the last pod we use that's holding us back from upgrading to Swift 5.

Alamofire 5 isn't required for you to support Swift 5, v4 builds with Swift 5 just fine. We may do one additional release of v4, but everything should work just fine for now.
As for the Migration Guide, it's usually the last thing we do before release, as it builds on our usage and API documentation (an update to the API docs is currently in PR). However, we have performed a few different migrations ourselves, so feel free to ask questions about any issues you encounter in our Swift forum.

Thanks Jon!
On Thu, Jun 27, 2019, 11:51 AM Jon Shier<EMAIL_ADDRESS>wrote:

Alamofire 5 isn't required for you to support Swift 5, v4 builds with
Swift 5 just fine. We may do one additional release of v4, but everything
should work just fine for now.
As for the Migration Guide, it's usually the last thing we do before
release, as it builds on our usage and API documentation (an update to the
API docs is currently in PR). However, we have performed a few different
migrations ourselves, so feel free to ask questions about any issues you
encounter in our Swift forum
https://forums.swift.org/c/related-projects/alamofire.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Alamofire/Alamofire/issues/2755?email_source=notifications&email_token=AKN44MFUMS55BTS4V2FWCBDP4TOXBA5CNFSM4G7AYRAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYXRUSI#issuecomment-506403401,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKN44MAIGJTWL4ZLLCSCJO3P4TOXBANCNFSM4G7AYRAA
.

Alamofire 5 isn't required for you to support Swift 5, v4 builds with Swift 5 just fine. We may do one additional release of v4, but everything should work just fine for now.

Wow I wish I knew this months ago!

Hi everyone!
Excuse me, could you give me an approximate date of official v5 release?
I would love to switch to the latest version but obviously would wait for stable release.

Hey @jshier How are you?
Has anyone started the migration guide?
I'm asking because I would like to help you (if you need of course, haha) and I did not see any pull requests linked with this issue and the kanban board seems the task is on TODO.
So, If you have anything I can help, let me know.
Thx

@mendesbarreto If you want to take a look at our previous migrations guides, you can see what kind of content we usually include. Alamofire 5's migration guide will be extensive, given the sheer number of changes made. Looking through past PRs or even just our changelog may give you an idea of what needs to be mentioned.

@jshier @mendesbarreto let me know if you started with the migration guide or if I can take it??
I migrated a big enterprise app from V4 to V5.
thanks!

@santos88 Feel free to get started, we’d appreciate it!

Great, "short summary" instead of the migration guide, super helpful! At least stated it doesn't support Background URLSessionConfiguration, etc., which is yet another proof that plain old URLSession should be used instead of this overengineered wrapper with constantly changing APIs.


Support for directive admonition syntax

Hi @MeanderingProgrammer
It was a very nice surprise to see, that your fantastic plugin is now supporting GHM callouts! Writing in VIM gets better every day :)
I am wondering if it would be possible to also allow the directive syntax used by all major static site generators?
:::note

This is a very important note

:::

Best and THX for your freetime!

Thank you for the kind words 🙂
I think this might be getting a little out of scope of a markdown rendering plugin. Since the GHM callouts hijack standard markdown syntax I thought it was reasonable, and it ended up working pretty well.
Still I will at least attempt this, but if it feels too unrelated to the rest of the plugin I won't add it.
Since I'm not familiar with this syntax can you provide a reference for me? Also is there a tree sitter parser available?

Closing for now, feel free to re-open with some details.


pg_get_functiondef extension

Feature Request
Support pg_get_functiondef extension.
Describe the feature you'd like to propose:
Added three functions: pg_get_functiondef(), pg_get_functiondef(OID, VARIADIC OID[]), and pg_get_functiondef(VARIADIC TEXT[]) for enhanced function introspection.
Introduced the pg_get_functiondef_extend function, allowing users to retrieve function definitions based on an array of function names.
Added the pg_get_functiondef_mul function for retrieving definitions of multiple functions based on their OIDs.
Included regression testing capabilities for the new extension.

related to PR #684


IdentityServer configuration with IIS CORS module

We have been using the IIS CORS module along with a wild-card rule for any subdomain belonging to us. That has worked well until we attempted to add IdentityServer4 on the server.
If we have the IIS CORS module enabled, any attempt to login with IdentityServer will result in a 403 error (on posting the login data). I have tried to configure a CORS policy in IdentityServer with no success.
Here is the IIS CORS module section from applicationHost.config with the domain wildcard rule.
 <cors enabled="true" failUnlistedOrigins="true">
            <add origin="*" allowed="false" />

            <add origin="https://*.mydomain.com" allowCredentials="true">
                <allowHeaders allowAllRequestedHeaders="true">
                    <add header="Content-Type" />
                </allowHeaders>
                <allowMethods>
                    <add method="PUT" />
                    <add method="POST" />
                    <add method="DELETE" />
                    <add method="PATCH" />
                </allowMethods>
            </add>
        </cors>

This is the CORS Policy code. I've tried with wildcards and without wildcards
  public virtual void ConfigureCors(IServiceCollection services)
{
	services.AddCors(options =>
	{
		options.AddPolicy(name: AllowedSpecificOrigins,
			builder =>
			{
				builder.WithOrigins("https://mysite.mydomain.com",
									"https://*.mydomain.com")
				.SetIsOriginAllowedToAllowWildcardSubdomains()
				.AllowAnyHeader()
				.AllowAnyMethod();
			});
	});
}

If I add a CORS configuration section directly into the IdentityServer application, I can log into the application directly but any attempt to log in from another application will result in the same 403 error.
 <cors enabled="true" failUnlistedOrigins="true">
            <clear />
            <add origin="https://IdentityServer.mydomain.com" allowCredentials="true">
                <allowHeaders allowAllRequestedHeaders="true">
                    <add header="Content-Type" />
                </allowHeaders>
                <allowMethods>
                    <add method="PUT" />
                    <add method="POST" />
                    <add method="DELETE" />
                    <add method="PATCH" />
                </allowMethods>
            </add>
        </cors>

Relevant parts of the log file
The log file does not have any entries for these actions.
How can I configure IdentityServer to work with the IIS CORS module?

I don't know, sorry. Never tried to use the IIS CORS module.

Here is more information that might help. Upon login, the authorize/callback action sends a post to our client. For some reason the origin header of the post request is being sent as null so this fails our CORS origin check. When we allow the origin 'null' in the IIS CORS configuration, we no longer have the 403 error.
I should have also said in the first post that we are using IdentityServer4 3.13.

Sometimes browsers send the origin header (on POST) even though the request is not a real Ajax/cross-origin call. Not sure if that helps your investigation.


Prepare testing generators and arbitrary instances

There is some duplication in the CIlibArbitrary class - needs to be cleaned up and simplified

No longer exists


File "demo/interactive_gui.py", line 246, in

File "demo/interactive_gui.py", line 246, in
box_id, x_offset, y_offset, z_offset, yaw_offset, box_id, box_viz, box_sel_viz, prompt])
TypeError: call() missing 1 required positional argument: 'fn'
i donot known the bugs means what，by the way, i donot change the python file yet。

Could it be related to https://github.com/gradio-app/gradio/issues/5729? Otherwise, please paste the full error log here.

Could it be related to gradio-app/gradio#5729? Otherwise, please paste the full error log here.

感谢老铁， thans a lot

Could it be related to gradio-app/gradio#5729? Otherwise, please paste the full error log here.

感谢老铁， thans a lo


Add EVM event listener for Eigenlayer integration

@shekohex I'm a bit stuck on this if you're able to take a look. I do think we might want to avoid polling event listeners. They seem to consume RPCs much more than subscriptions. I don't think we should worry about whether a gadget has to sync to the latest state, perhaps its expected behavior that the gadgets are started BEFORE protocols begin execution or at the very least they begin operation at the tip of the chain their RPC is connected to.

perhaps its expected behavior that the gadgets are started BEFORE protocols begin execution or at the very least they begin operation at the tip of the chain their RPC is connected to.

That's true, we actually do not sync anything, look at the substrate event watcher implementation, you will notice that we actually start from the current finalized block and continue from there every 6s. So we should do the same in this event listener, do not save any state and start from the current tip. we should infer the block time by getting the current_block - 100 then read its timestamp, subtract the current block timestamp from the old block timestamp, and divide the result by 100. this would give us the avg block time.
The main reason we avoided subscription because it is state-full, However, I think we can use websockets now, since we do have the retry logic in place anyway.


fix: minishift instalation script

Keptn V1 has reached EOL on December 22nd, 2023, so this PR has been closed.


Add support for flash notice

This PR adds support for a simple flash notice after having submitted the inquiry form. For example instead of using the thank you page one can redirect to any other page and display that flash notice in the page template using the Rails way <%= flash[:notice] %>.
For that purpose I added a config parameter show_flash_notice which enables or disables the flash notice (default is disabled) along with a new setting (Inquiry Flash Notice En (Inquiries)) in order to set the content of that notice.
I did not add any UT as this would require a page with a flash notice.
Feel free to let me know if my code needs any modifications or if I missed something.

Thanks 😄


fix: Adding advisory locks to cron

Introduce mutexes via postgres advisory locks.

@johnjcsmith deployment schedules are on cron as well.


2021-06-21 10:02:06,580 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ThrottleState.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ThrottleState.php.
2021-06-21 10:02:06,581 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/SplitReadStreamRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/SplitReadStreamRequest.php.
2021-06-21 10:02:06,581 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ArrowRecordBatch.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ArrowRecordBatch.php.
2021-06-21 10:02:06,581 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadSession.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadSession.php.
2021-06-21 10:02:06,581 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ArrowSerializationOptions.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ArrowSerializationOptions.php.
2021-06-21 10:02:06,582 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/StreamStats.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/StreamStats.php.
2021-06-21 10:02:06,582 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadRowsRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadRowsRequest.php.
2021-06-21 10:02:06,582 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadRowsResponse.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadRowsResponse.php.
2021-06-21 10:02:06,583 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadStream.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadStream.php.
2021-06-21 10:02:06,583 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/SplitReadStreamResponse.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/SplitReadStreamResponse.php.
2021-06-21 10:02:06,583 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadSession/TableModifiers.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadSession/TableModifiers.php.
2021-06-21 10:02:06,584 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadSession/TableReadOptions.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadSession/TableReadOptions.php.
2021-06-21 10:02:06,584 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/StreamStats/Progress.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/StreamStats/Progress.php.
2021-06-21 10:02:06,587 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-06-21 10:02:06,590 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
2021-06-21 10:02:06,642 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/BigQueryStorage/synth.py", line 119, in <module>
    subprocess.run([
  File "/usr/local/lib/python3.8/subprocess.py", line 493, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/local/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'npm'
2021-06-21 10:02:06,689 autosynth [ERROR] > Synthesis failed
2021-06-21 10:02:06,689 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 0486bd2d chore: release 0.159.1 (#4134)
2021-06-21 10:02:06,736 autosynth [DEBUG] > Running: git checkout autosynth-bigquerystorage
Switched to branch 'autosynth-bigquerystorage'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating bigquerystorage. :sob:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the bigquerystorage API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
thtool:Replaced 'will be removed in the next major release' in src/V1/ReadSession_TableModifiers.php.
2021-06-22 10:01:56,892 synthtool [INFO] > Replaced 'will be removed in the next major release' in src/V1/StreamStats_Progress.php.
INFO:synthtool:Replaced 'will be removed in the next major release' in src/V1/StreamStats_Progress.php.
2021-06-22 10:01:56,892 synthtool [INFO] > Replaced 'will be removed in the next major release' in src/V1/ArrowSerializationOptions_CompressionCodec.php.
INFO:synthtool:Replaced 'will be removed in the next major release' in src/V1/ArrowSerializationOptions_CompressionCodec.php.
2021-06-22 10:01:56,893 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AvroRows.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AvroRows.php.
2021-06-22 10:01:56,893 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AvroSchema.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/AvroSchema.php.
2021-06-22 10:01:56,894 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadStream.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadStream.php.
2021-06-22 10:01:56,894 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/SplitReadStreamRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/SplitReadStreamRequest.php.
2021-06-22 10:01:56,894 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadRowsResponse.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadRowsResponse.php.
2021-06-22 10:01:56,894 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/SplitReadStreamResponse.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/SplitReadStreamResponse.php.
2021-06-22 10:01:56,895 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ArrowRecordBatch.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ArrowRecordBatch.php.
2021-06-22 10:01:56,895 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateReadSessionRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/CreateReadSessionRequest.php.
2021-06-22 10:01:56,895 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ArrowSchema.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ArrowSchema.php.
2021-06-22 10:01:56,895 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ArrowSerializationOptions.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ArrowSerializationOptions.php.
2021-06-22 10:01:56,896 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/StreamStats.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/StreamStats.php.
2021-06-22 10:01:56,896 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ThrottleState.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ThrottleState.php.
2021-06-22 10:01:56,896 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadSession.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadSession.php.
2021-06-22 10:01:56,896 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadRowsRequest.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadRowsRequest.php.
2021-06-22 10:01:56,897 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/StreamStats/Progress.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/StreamStats/Progress.php.
2021-06-22 10:01:56,897 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadSession/TableModifiers.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadSession/TableModifiers.php.
2021-06-22 10:01:56,897 synthtool [INFO] > Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadSession/TableReadOptions.php.
INFO:synthtool:Replaced 'Generated from protobuf field ([^\\n]{0,})\\n\\s{5}\\*/\\n\\s{4}protected \\$' in src/V1/ReadSession/TableReadOptions.php.
2021-06-22 10:01:56,900 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern final class, maybe replacement is no longer needed?
2021-06-22 10:01:56,903 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern public function ([s|g]\w{3,})Unwrapped, maybe replacement is no longer needed?
2021-06-22 10:01:56,957 synthtool [WARNING] > No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
WARNING:synthtool:No replacements made in src/**/V*/**/*.php for pattern (.{0,})\]\((/.{0,})\), maybe replacement is no longer needed?
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/BigQueryStorage/synth.py", line 119, in <module>
    subprocess.run([
  File "/usr/local/lib/python3.8/subprocess.py", line 493, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/local/lib/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'npm'
2021-06-22 10:01:57,007 autosynth [ERROR] > Synthesis failed
2021-06-22 10:01:57,007 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9a2c84a6 feat(spanner): add support for RPC Priority (#4018)
2021-06-22 10:01:57,052 autosynth [DEBUG] > Running: git checkout autosynth-bigquerystorage
Switched to branch 'autosynth-bigquerystorage'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 356, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 336, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


reducing log output(mainly the TRACE output from Consensus)

Return commented log records back please

returned, check please


repl parser error handling

the repl added in #15 doesn't check the output from parse before running execute, it may be worthwhile skipping execution if the parse step failed.
we also need to look at what kind of feedback the repl should provide in the case of error, even a simple 'an error occurred during the  step' should suffice.

Also closing this as it was addressed in #19
thanks again @phillid


[stdlib] Drop ICU

Now that the stdlib no longer needs ICU, let's drop the dependency 🙂
This is marked as a draft because right now this only removes the immediate dependency on the stdlib, and isn't touching any of the larger build rules. I wanted to get others opinions on how best to handle that (@compnerd @gottesmm ). I think some of the build rules in this repository are still needed for corelibs-foundation no?
Also, this updates the freestanding symbol list (@kubamracek ).
If there are others that you think I should cc please let me know!

I really love this change, but I think that this needs a bit more work.  I don't think we need to worry about the dependency in Foundation - the rest of the build will take care of that, it doesn't pull it in from swift itself, but rather through its own build.  We can tweak the ordering subsequently, but there is more build cleanup that should be done.
Off the top of my head, delete:
https://github.com/apple/swift/blob/main/CMakeLists.txt#L1021-L1050
https://github.com/apple/swift/blob/main/cmake/modules/SwiftConfigureSDK.cmake#L68-L75
https://github.com/apple/swift/blob/main/cmake/modules/FindICU.cmake
We don't need to worry about the rest of the cleanup (i.e. build-script or build-script-impl) which need to pass the parameters around.  That can be done subsequently and will only make a minor difference.  The important part here is to clean up the large amount of cruft that is custom.

@swift-ci please test Windows platform

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 86fec4011dfa290f0f7b211a8d43d65560792d30

Looks like the linux CI was unable to run the Foundation tests because of a missing dependency on ICU, looks like you'll need to fix Foundation too.

Am I properly understand that stdlib (from git repository https://github.com/apple/swift.git) and libFoundation (from git repository https://github.com/apple/swift-corelibs-foundation.git) will not have build time and runtime dependencies on ICU?
Or this PR is only about build time dependencies, thus, assuming that concrete system will have shared library for runtime execution e.g. libicui18n.so?
For example when targeting Android, the ICU needs to be renamed (e.g. libicui18n.so -> libicui18nswift.so) to avoid conflicts with system provided version of ICU (which might be too old).
Few Android examples:

https://github.com/vgorloff/swift-everywhere-toolchain/blob/develop/lib/Builders/FoundationBuilder.js#L100
https://github.com/vgorloff/swift-everywhere-toolchain/blob/develop/lib/Builders/SwiftStdLibBuilder.js#L103
https://github.com/vgorloff/swift-everywhere-toolchain/blob/develop/lib/Builders/SwiftBuilder.js#L47

@vgorloff, my understanding is that a series of pulls by @Azoy have already removed all external ICU dependencies from this repo, but that swift-corelibs-foundation still requires it: see comments above for more info. That's probably why this pull currently fails on the linux CI, because the foundation tests inadvertently relied on this CMake configuration.

I’m curious about why it passed all the test on Windows😂 It seems Windows and Linux CI shared the same way of detecting and linking ICU.

Both the macOS and Windows CI don't run the swift-corelibs-foundation tests, only the linux CI does.

https://github.com/apple/swift-corelibs-foundation/pull/3118
@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 4fbbd0c054669d3b2ab08fddb751eba1cc116dc1

The linux CI couldn't check out your new foundation pull for some reason, maybe spurious.

https://github.com/apple/swift-corelibs-foundation/pull/3118
@swift-ci please clean test Linux

preset=stdlib_S_standalone_minimal_macho_x86_64,build,test
@swift-ci please test with toolchain and preset

@Azoy, instead of the foundation pull, try adding the flag --enable-rpath here when building libicu for linux and let's see if that fixes the foundation test problem on the linux CI instead, without your foundation pull.

Just tried the --enable-rpath change locally, and it didn't solve the issue on linux 😦

Can you check if it added $ORIGIN to their rpath: readelf -d libicuuc.so | grep runpath? If it did, I'll submit a separate pull for that anyway.

Oh, if it didn't add it, try adding it manually and see if that works: patchelf --set-rpath \$ORIGIN libicu*so*.

It did not add $ORIGIN to their rpath. Patching this manually works!

Alright, now the question is how to add that rpath to the libicu build and then this pull should pass the linux CI without the foundation pull or the third commit (keep the static stdlib deletions from the third commit though).

One horrible idea: explicitly dlopen the library - because there is no direct reference to the library, linking against it won't work very well always.  Assuming that the layout is such that libicudt??.so is next to libicuin/libicuuc, I think that @buttaface's idea of injecting $ORIGIN as a DT_RUNPATH into the ICU libraries would work and be a far better solution.

@vgorloff - correct, that is the right dependency tree.  However, note that the libicui18nswift.so does not have a DT_RPATH or DT_RUNPATH set to $ORIGIN, which is why the library is not found.

@compnerd @buttaface Apologies, I didn't do a clean build. --enable-rpath seems to work now!

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 6e0cf0e7bea5c3acffdeb91de49bf495c4ae1fb9

@swift-ci please clean test Linux

@compnerd @buttaface this look good to go?

LGTM, but please also let @buttaface have another look.

LGTM


createToken function results did't have the card id info

I use cardfield to createToken, and the result is the following:
{     "token": {         "bankAccount": null,         "card": {             "address": [                 null             ],             "brand": "Visa",             "country": "US",             "currency": null,             "expMonth": 11,             "expYear": 2022,             "funding": "Credit",             "last4": "4242",             "name": null         },         "created": "1634898062000",         "id": "tok_1JnKryGcYvQPn7TLRZJtk77X",         "livemode": false,         "type": "Card"     } }
the card Object have no id info , so how can I get the card Id?

Is there anybody have time to check this

Can you provide more detailed reproduction steps? Providing some screenshots and code snippets would help add context to the issue.

Can you provide more detailed reproduction steps? Providing some screenshots and code snippets would help add context to the issue.

look at this. just a simple cardField and use createToken method

Is there anybody have time to check this

@echolove38 the best thing to do if you're looking for help is to provide a link to a Github repo that reproduces the same bug with as little code as possible

@echolove38 the best thing to do if you're looking for help is to provide a link to a Github repo that reproduces the same bug with as little code as possible

It's already so clear


Test PR - do not merge

Quick test PR to see if PullApprove is working now.

Approved.

Approved by me as well

Woohoo! Looks like it's working 😄


Update JS and PY dependencies

Update all JS and PY dependencies minus @mcaptcha/vanilla-glue
Adapt to eslint rule rename
Regenerate all SVGs  because of new optimizations from svgo.
Tested mentions, mermaid, vue, api docs

Backport?

No real need to backport, so I'd say no

Why not?

Well we ca, but at some point we should probably stop backporting stuff that brings no benefit :D

I was unable to create a backport for 1.21. @silverwind, please send one manually. :tea:
go run ./contrib/backport 28120
...  // fix git conflicts if any
go run ./contrib/backport --continue

Not gonna bother myself.


Callback on header change

Does jexcel fire any event when the header is renamed? I couldn't find anything in the doc.

It has been included in the newest version.


prefer-tacit: regression on method calls

Bug Report
Regression introduced in #801:
prefer-tacit reports on [''].filter(str => /a/.test(str)).
Expected behavior
No errors reported, since changing to [''].filter(/a/.test) causes a JavaScript error.
Actual behavior
No reports by prefer-tacit.

Looks like regex methods require a this reference to the regex itself, and thus without it things go wrong. I imagine this affects more built-in objects than just regex so let me know if you encounter other ones.

Note: if you do want to use the tacit version, you can with help from bind.
e.g.
const regex = /a/;
[''].filter(regex.test.bind(regex));

I added a new option checkMemberExpressions which is false by default. Setting it to true will enable the previous behavior; except now .bind(...)s are included in the suggestion.

Perfect, thanks!


Updates

Pre-submission checklist:
Please check each of these after submitting your pull request:

[ ] Are you only including a repo_url if your project is 100% open source? If so, you need to pick the single best GitHub repository for your project, not a GitHub organization.
[ ] Have you picked the single best (existing) category for your project?
[ ] Does it follow the other guidelines from the new entries section?
[ ] Have you included a URL for your SVG or added it to hosted_logos and referenced it there?
[ ] Does your logo clearly state the name of the project/product and follow the other logo guidelines?
[ ] Does your project/product name match the text on the logo?
[ ] Have you verified that the Crunchbase data for your organization is correct (including headquarters and LinkedIn)?
[ ] Have you signed-off your commits

Hi @ryjones it looks like the logo is broken, it used to be left-logo.svg and right-logo.svg rather than just logo.svg

Looking at the updated preview and changes in this PR, it shows an old version of the landscape tab with the old labels.
My suggestion is to wait until I have updated the main branch on Monday, and then add the branding changes as a new PR there.


API documentations wrong links

Hi
I believe you used wrong API docs links in the github readmes:
For example the biobb-amber module has the wrong link: https://biobb_amber.readthedocs.io/en/latest/
The right one is https://biobb-amber.readthedocs.io/en/latest/
I think it is the same for all other modules

Hi, thanks for your feedback.
It seems that in some links (not all, actually) of the READMEs, there was the old read the docs notation. I've fixed them.
Let us know if you find something more.
Cheers!


Bug with scaling up the camera rig while using straight pointers with object interaction on them.

Got VRTK from github.
3.1.0
Unity 5.0.6f3
HTC Vive
Steam VR SDK
Attach VRTK_Pointer and VRTK_StraightPointerRenderer to controller object, check interact with objects.  Keep scale factor set to default.
Scale up camera rig through script (or just in the editor).  At the same time, scale up the scale factor of VRTK_StraightPointerRenderer by the same amount.  Note that the collider for the interacting object parented under the controller in the camera rig hierarchy is larger than the cursor at the end of the pointer by a significant margin.
Expected behavior
The collider used to interact with object should stay the same size as the cursor at the end of the pointer.
Current behavior
Trying to scale up the camera rig and pointer should keep the interact collider at the same size as the cursor.

PR to resolve the issue:
https://github.com/thestonefox/VRTK/pull/1265


iOS / Mac Multi certificate

Still needs updates to docs

@akira28 could you update this?

@richsage I've updated the branch and fixed tests. I hope that I didn't break anything during merge, but I can't try the bundle at the moment. Please try it before merging upstream

I would like to see this MR to be accepted. Anything I can do?

@peternijssen you can help with testing the code. At the moment I can't test the resulting code from the merge

@akira28 I'm going to try and test this this week as well - could you rebase against master? I'm really keen to get this in - and apologies for my review dragging on so long!

I'll try to reserve some time to help out if possible. I only have a time problem right now, so not sure if I can make it. However, when it's merged, I will definitely start using it soon afterwards.

any updates here? any held needed?
I would like to use this feature .


Prepare v9.0.0-alpha.0 release

Build is green so I'm going to close this and push directly to "stable" so as to get a fast-forward commit.


Customization of the carousel

Cannot access $scope.slides object inside carousel controller to customize the carousel template. The answer in the stackoverflow explains the scenario and possible work around.
Link: http://stackoverflow.com/a/31989387/1848109

Keep up the good work. Your library is awesome.

It actually is exposed, via controllerAs - couldn't you use carousel.slides in the template, or does that not work?

A Plunker would also be very helpful - a demonstration of the failure to access here would be a good starting point.

Issue : http://plnkr.co/edit/qwkJ84m6SB6slDxpe88s?p=preview
Workarround: http://plnkr.co/edit/npMsqiGwM3eBrvAdB2oU?p=preview
For explanation please take a look at the stackoverflow question : http://stackoverflow.com/questions/31981553/how-to-use-controller-scope-in-directive-template/31989387#31989387

I think I see now - the slides array is an array of the slide element $scope in the carousel controller.
Would allowing an optional binding to the slide directive accomplish what you want then?

Yes. Correct.This would allow the customization of the  elements as illustrated in the plunkr and also loop animation on the  tags when the slides changes.

Alright, I'll have it implemented in the next couple of days.


Paper Plane Button [GSSOC' 23]

This is Awesome Paper Plane Button ✈🔲 That Is Very Clean And Attritive That Can Be Used For Creating Amazing Projects

[ ] Update to an existing Animated Button
[ ] Any Error
[x] Proposal to the Repository
[ ] Documentation / README.md changes

Details:

"Introducing the Paper Plane Button! Elevate your Website/Project experience with this sleek and innovative button that allows you to effortlessly catch the attention of the users. 😊🥰✈

@Spyware007 Really Excited To Work On This.

@varunshankar07 Assigned to you!


ImportError: cannot import name '_mask' from 'pycocotools'

Hi, @lzx1413 . When I run the train_test.py, this error occurs. I have run the make.sh and it seems work. So can you give me some advice? I run the code in anaconda3's virtual env, python=3.5, pytorch=0.4.1, cuda9.0

Good news. I have solved this problem.

How did you solve it?


Test Combine archive is invalid

The combine archive biomd0000000028.omex is not valid, and cannot be parsed by biosimulations_utils.
@jonrkarr Could I have some help with debugging this?

The files should be directly nested with the archive, not within a subdirectory within the archive.
I fixed this issue. The archive can now be parsed by Biosimulations_utils and libCOMBINE.


Use pre-blended alpha.

For post-blending alpha, we need to use the blendFuncSeparate call.  However,
some computers (notably MacBook Pros) don't accelerate blendFuncSeparate, so it
is faster on those machines to use pre-blended alpha.
This requires the companion vgl change.

@jbeezley When I ran the tests against your selenium server, most of them passed, but the jquery Plugin test failed.  I don't see why these changes would have affected that, but if they did, I'll probably need some help tracking down the cause.

Don't worry about it.  The jquery plugin failed in yesterday's nightly run, too.  I haven't gotten a chance to look into yet.

I am closing this pull request unless we verify if this really solving the issue @manthey is seeing on this particular system.


Fix console auto complete for other themes, better "you're an admin" messages, some other stuff

Auto tab complete for other themes - the other themes had the code but it didnt work (see #469 and #364) - the themes had the window code but not the code to load the command prefix, etc.

Better "you're an admin" messages

When someone admins another player, it will now tell the user what rank they got (mod, admin, headadmin, a custom rank, etc.)
Example:

Also works when you unadmin players:

:tm alias for :tempmod was changed to :tmod because of a command alias conflict with :tm (timemessage)

:timedate was in the wrong command file, its a player command but it was in Moderators.lua so this moves it to the right place

Donor commands now have their own command file (Donors.lua) - this was done as to allow anyone needing to update the donor commands at a later date to easily find the commands rather than looking through the other command modules for them.

Could we get rid of using hint entirely for command feedback. Notifications are a much better system. Stating this for anyone who wants to do a follow-up pull.
I've been considering doing some slight upgrades with the notifications, such as tween transitions and better handling of a large number of notifications.


chore: package

📚 Description
Just some json maintenance.
📝 Checklist

[x] All commits follow the Conventional Commit format
[x] The PR's title follows the Conventional Commit format

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


chore: remove repetitive footer

I've removed the repetitive quick links section in the footer. Please review it and merge if all good.

Thats great @Ayushhgupta39 .
Thanks for Contributing💙


Update queue connection wording.

Update wording to be more inline with what is actually being set, since these are actually a list of connections and are not actually queue drivers. The env variable is also defined as QUEUE_CONNECTION so it makes more sense to title this as a queue connection.

Maybe this file should be aligned to https://github.com/laravel/laravel/blame/6.x/config/queue.php

Replaced with #179, which aligns most config files with the latest L6 updates to the config files.


Ocelot crashes if there are same-named Catch-Alls e.g. foo/{bar}/{bar}

Expected Behavior
An informative exception which tells you you can't reuse catch-all names within a path.
Actual Behavior
This exception, which doesn't tell you what is wrong and looks like a bug in Ocelot:
[15:05:22 FTL] Application startup exception
System.AggregateException: One or more errors occurred. (Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex) ---> System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
   at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
   at Ocelot.Configuration.Creator.UpstreamTemplatePatternCreator.Create(IReRoute reRoute)
   at Ocelot.Configuration.Creator.ReRoutesCreator.SetUpDownstreamReRoute(FileReRoute fileReRoute, FileGlobalConfiguration globalConfiguration)
   at Ocelot.Configuration.Creator.ReRoutesCreator.<>c__DisplayClass15_0.<Create>b__0(FileReRoute reRoute)
   at System.Linq.Enumerable.SelectListIterator`2.ToList()
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Ocelot.Configuration.Creator.FileInternalConfigurationCreator.Create(FileConfiguration fileConfiguration)
   at Ocelot.Middleware.OcelotMiddlewareExtensions.CreateConfiguration(IApplicationBuilder builder)
   at Ocelot.Middleware.OcelotMiddlewareExtensions.UseOcelot(IApplicationBuilder builder, OcelotPipelineConfiguration pipelineConfiguration)
   at Ocelot.Middleware.OcelotMiddlewareExtensions.UseOcelot(IApplicationBuilder builder)

Steps to Reproduce the Problem

Create an ocelot.json which contains the following re-route:

        {
            "DownstreamPathTemplate": "/bar/{everything}/{everything}",
            "DownstreamScheme": "http",
            "DownstreamHostAndPorts": [
                {
                    "Host": "foo",
                    "Port": 80
                }
            ],
            "UpstreamPathTemplate": "/foo/bar/{everything}/{everything}",
            "UpstreamHttpMethod": [
                "Get"
            ],
            "Priority": 0
        }

Tell Ocelot to load it
Get the above exception

Specifications

Version: 12.0.1
Platform: ASP.Net Core 2.1
Subsystem:

@AlyHKafoury Your next coding challenge? 😉
It is related to CatchAll and Placeholders.
I guess and I hope fixing not required but tests should be added.

@raman-m please assign to me

@AlyHKafoury You're assigned!

@raman-m I working on the unit tests

@AlyHKafoury
Because you're working on very similar from #748 & #1911 then you need to create feature branch from AlyHKafoury:Fix-748, otherwise you'll get duplicates.
So, the right thing is branching from AlyHKafoury:Fix-748 ❕

@raman-m I will rebase to develop now and continue on this

@raman-m I will rebase to develop now and continue on this

@AlyHKafoury Yes, rebase on develop please and continue working... Thanks!

@ChrisSwinchatt commented on Nov 12, 2018

Hello, Mr. Swinchatt!
Thanks for reporting this funny bug! 😄 How did you test Ocelot in this user scenario, and realize to define this invalid duplicated placeholders? Toy have some QA talent! 😉
Yeap, we've missed the thing, and in my opinion, the valid template definition should have all placeholders with different names, and each upstream placeholder should be presented in downstream template too.
Otherwise, route validator should

generate Critical error, and Ocelot will not start
ignore this route, write Error event to the log and start Ocelot without this route in router mappings.

Make sense? Which design suits your usage best?
Do you use Ocelot in your current projects?
@AlyHKafoury  FYI

Hello @raman-m,
I'm no longer working with Ocelot but IIRC I was writing code to generate an Ocelot config by traversing Swagger documents and it had a bug that resulted in outputting duplicate placeholders. So you could say that my bug found your bug. To your question, I would probably go the route of crashing early, but I leave it to you.
Thanks.

@ChrisSwinchatt Thanks for your reply!

I was writing code to generate an Ocelot config by traversing Swagger documents and...

 As a Ocelot core team, we want to add Swagger support this year. The author developed just amazing library, which will be incorporated to Ocelot soon, this year, not planned yet... but we will try to start the integration as soon as possible, giving it high priority.
Here is MMLib.SwaggerForOcelot project by @Burgyn. This is perfect tool which will be very useful for you. :yum:

Do not you mind, if we will create separate discussion where we can start brainstorming an integration and Swagger support, and I will invite you also to the thread?

To your question, I would probably go the route of crashing early, but I leave it to you.

:ok: Today I realized that ignoring the route will not be good. To crash early we can generate early validation Critical error, and moreover, if a request comes and matched the route then additionally write Error event to the log for each request. Crashing entire app won't be good, by exception throwing having it as unhandled one. So, we can generate exception, but we have to catch it in Error Mapper and write events into the log.
@AlyHKafoury  FYI.
Take into account this new design & requirements, please! :point_up:

@raman-m Continuing on it

@raman-m  So, we are gonna throw a Critical error in validation, and then start the application normally then throw an error when a route matching this route is called ? and we will not crash the application ?

Aly, I thought you're on vacation. :) Welcome back! :wink:
Regarding validation...
You need a small research of validation logic.
Something related to uniqueness of placeholders. If no validator, try to find another validators of uniqueness of route properties. And seems we need to do the same.
Also, figure out, is it possible to write into the log by validation logic. I hope, it is possible outside of validation function.
As far as I know, if validation function returns false then Ocelot crashes and the app won't start at all.
What I'm trying to say, that there is restriction here by validation design. Possibly we have to crash app early, because validation function will return false. In this case we have a record in the log anyway by already implemented design.
The 2nd requirement to write extra record makes sense only if Ocelot won't crash.
Probably, we can skip the 2nd requirement.

@ChrisSwinchatt commented on Jan 20

Hi Chris!
FYI: Bug fixed today!
But we used not "an informative exception" solution and chose another solution based on Ocelot configuration validator adding more validation rules for route templates. With this bug fix Ocelot won't start because of validation errors in the log. And user must correct invalid routes with bad templates.
This patch will be released soon...


raise error when run demo

I run the demo net_segment for inference ,that's OK,but raise error when train :
net_segment train -c ./extensions/dense_vnet_abdominal_ct/config.ini
`Traceback (most recent call last):
File "/usr/local/bin/net_segment", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.5/dist-packages/niftynet/init.py", line 54, in main
app_driver.initialise_application(system_param, input_data_param)
File "/usr/local/lib/python3.5/dist-packages/niftynet/engine/application_driver.py", line 131, in initialise_application
self.app.initialise_dataset_loader(data_param, app_param)
File "/usr/local/lib/python3.5/dist-packages/niftynet/application/segmentation_application.py", line 63, in initialise_dataset_loader
self.reader.initialise_reader(data_param, task_param)
File "/usr/local/lib/python3.5/dist-packages/niftynet/io/image_reader.py", line 98, in initialise_reader
self._file_list = util_csv.load_and_merge_csv_files(data_to_load)
File "/usr/local/lib/python3.5/dist-packages/niftynet/utilities/util_csv.py", line 254, in load_and_merge_csv_files
match_and_write_filenames_to_csv([matcher], csv_file)
File "/usr/local/lib/python3.5/dist-packages/niftynet/utilities/util_csv.py", line 209, in match_and_write_filenames_to_csv
KeywordsMatching.matching_subjects_and_filenames(c)
File "/usr/local/lib/python3.5/dist-packages/niftynet/utilities/filename_matching.py", line 73, in matching_subjects_and_filenames
self.dict))
OSError: no file matched based on this matcher: {'filename_not_contains': (), 'filename_contains': ('Label',), 'path_to_search': ('/home/yyydido/niftynet/data/dense_vnet_abdominal_ct',)}'

Hi @yyydido the ground truth labels are not included in the model zoo at the moment, please have a look at the promise12 demo for more information on training a network (https://cmiclab.cs.ucl.ac.uk/CMIC/NiftyNet/tree/dev/demos/PROMISE12)

Thanks, I got it. But I try this https://cmiclab.cs.ucl.ac.uk/CMIC/NiftyNet/tree/dev/demos/BRATS17 that contains label，I  placed brats_segmentation.py and anisotropic_nets
on the $PYTHONPATH of the system environment,however,raise error ：
net_run train -c ./extensions/anisotropic_nets_brats_challenge/whole_tumor_sagittal.ini -a brats_seg_app.BRATSApp --name anisotropic_nets.wt_net.WTNet
`NiftyNet version 0.2.1
CRITICAL:niftynet: ImportError("No module named 'brats_seg_app'",)
CRITICAL:niftynet: application: Could not import object"BRATSApp" from "brats_seg_app"
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/niftynet/engine/application_factory.py", line 153, in select_module
the_module = importlib.import_module(module_str)
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 956, in _find_and_load_unlocked
ImportError: No module named 'brats_seg_app'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/net_run", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.5/dist-packages/niftynet/init.py", line 52, in main
system_param, input_data_param = user_parameters_parser.run()
File "/usr/local/lib/python3.5/dist-packages/niftynet/utilities/user_parameters_parser.py", line 108, in run
app_module = ApplicationFactory.create(module_name)
File "/usr/local/lib/python3.5/dist-packages/niftynet/engine/application_factory.py", line 197, in create
return select_module(name, cls.type_str, cls.SUPPORTED)
File "/usr/local/lib/python3.5/dist-packages/niftynet/engine/application_factory.py", line 182, in select_module
raise ValueError(err)
ValueError: application: Could not import object"BRATSApp" from "brats_seg_app"
`

Hi @yyydido no problem, and for the BRATS demo it's also available in the model zoo (https://cmiclab.cs.ucl.ac.uk/CMIC/NiftyNetExampleServer/blob/master/anisotropic_nets_brats_challenge_model_zoo.md) net_download command would download the modules to ~/niftynet/extensions/anisotropic_nets_brats_challenge by default. Perhaps this is easier to use.
Sorry for suggesting links in demo and model zoo back and forth, we've been migrating demos to the model zoo, documentation will be improved soon.

Thanks for your reply,I am new in DL and thanks for your guide  again.

Hi @wyli  I'll bother you again.
Now,I try https://cmiclab.cs.ucl.ac.uk/CMIC/NiftyNet/tree/dev/demos/BRATS17 for train not inference.
First, this is my structure:
/home/yyydido/niftynet/

Second,I added the directory /home/yyydido/niftynet/ on the PYTHONPATH of system environment:
export PYTHONPATH=/home/yyydido/niftynet:$PYTHONPATH
Thirdly,net_run at /home/yyydido/niftynet/ like this:
net_run train -c ./extensions/anisotropic_nets_brats_challenge/whole_tumor_sagittal.ini -a brats_seg_app.BRATSApp --name anisotropic_nets.wt_net.WTNet
The last,raise error:
`NiftyNet version 0.2.1
CRITICAL:niftynet: ImportError("No module named 'brats_seg_app'",)
CRITICAL:niftynet: application: Could not import object"BRATSApp" from "brats_seg_app"
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/niftynet/engine/application_factory.py", line 153, in select_module
the_module = importlib.import_module(module_str)
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 956, in _find_and_load_unlocked
ImportError: No module named 'brats_seg_app'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/net_run", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.5/dist-packages/niftynet/init.py", line 52, in main
system_param, input_data_param = user_parameters_parser.run()
File "/usr/local/lib/python3.5/dist-packages/niftynet/utilities/user_parameters_parser.py", line 108, in run
app_module = ApplicationFactory.create(module_name)
File "/usr/local/lib/python3.5/dist-packages/niftynet/engine/application_factory.py", line 197, in create
return select_module(name, cls.type_str, cls.SUPPORTED)
File "/usr/local/lib/python3.5/dist-packages/niftynet/engine/application_factory.py", line 182, in select_module
raise ValueError(err)
ValueError: application: Could not import object"BRATSApp" from "brats_seg_app"
`
Could you help me find the cause of the error? Tanks a lot

I have solved above problem.


refactor: Remove legacy context api

To paraphrase the documentation: Don’t do it.
Closes #288

Could you also drop the React 15 support in peerDependencies? 🤗
https://github.com/globocom/megadraft/blob/master/package.json#L74-L75


Increase title font size

Status map panel has too small titles (actual valuable instance names), if you have over a dozen of blackbox checks. Even viewing the panel full screen (press 'V') doesn't help.
I found providing fixed title size of 18 to be optimal to actually see instance names no matter how many you have.

Makes sense!


Adding the ability to chroot zookeeper paths

I added the ability to set a chroot to the paths in zookeeper.

Hmm, I didn't encounter these issues with the tests on my vagrant, will rebuild and try again.


CARDS-1850: Make Proctor Device not Mandatory on Graded Walk Test

Amending previous merged PR to make question mandatory but include a "Not Available" option instead

tested - all good without Docker
Please note build fails when I have Docker client running.

Probably a windows/docker version issue, nothing to worry about.


docs: Fix example for testing API Gateway REST/HTTP API

Issue number: #1686
Summary
Changes
I've changed the example for testing API Gateway. Changed the examples/event_handler_rest/src/assert_http_response.py and docs/core/event_handler/api_gateway.md.
Checklist
If your change doesn't seem to apply, please leave them unchecked.

[X] Meet tenets criteria
[X] I have performed a self-review of this change
[X] Changes have been tested
[X] Changes are documented
[X] PR title follows conventional commit semantics

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

View rendered docs/core/event_handler/api_gateway.md

@bnsouza could you review the changes I've made just in case I missed anything?
Changes:

Split testing snippets per resolver to prevent the confusion we've had
Ensure imports, minimal_event, and correlation path used match the specific resolver

I made it! But if you think it's better remove or change, it's ok!
Abraços!

np at all! For future reference, we add all variants of the payloads we encounter under "test/events" - we found docs not to be a reliable source at times
https://github.com/awslabs/aws-lambda-powertools-python/blob/develop/tests/events/apiGatewayProxyV2Event.json

Merging now - thank you again! Nice touch on adding the payload link as a comment!


Testing C++11 compilation

This is a test of compilation of the latest version of btrack using an older compiler for compatibility.
@markdane @ania-m-b @nthndy - could you try this fix out, since I know you were all having issues on your respective machines?
git clone -b fix-makefile https://github.com/quantumjot/btrack.git
cd btrack
./build.sh
pip install -e .

Codecov Report
Patch and project coverage have no change.

Comparison is base (6cbd357) 84.87% compared to head (5606ac8) 84.87%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #309   +/-   ##
=======================================
  Coverage   84.87%   84.87%
=======================================
  Files          30       30
  Lines        1957     1957
  Branches      296      296
=======================================
  Hits         1661     1661
  Misses        212      212
  Partials       84       84

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

To support older versions of C++ we could look into https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners

(will give this a go tomorrow as I don't have my macbook on me today)

works for me!

This works for me too. Thank you. Sorry about the delay but I've been running btrack on a virtual machine to get around this. Glad to move it all back on our cluster computer. BTW, the optimization is much faster now.

FYI, I can no longer compile on my machine. Do we want to support old machines or new ones? I'm on an M1 macOS

Weird - I just tried compiling on my M1 Mac and it was fine

I'm still having issues on my standard M1. On my M1 Max I haven't had such issues. Not sure why (unless it's from a previous build on the M1 Max).
Building btrack...
mkdir: cannot create directory ‘./btrack/libs’: File exists
mkdir: cannot create directory ‘./btrack/obj’: File exists
Compiling btrack from source...
rm -f ./btrack/obj/bayes.o ./btrack/obj/hyperbin.o ./btrack/obj/hypothesis.o ./btrack/obj/inference.o ./btrack/obj/interface.o ./btrack/obj/manager.o ./btrack/obj/motion.o ./btrack/obj/pdf.o ./btrack/obj/tracker.o ./btrack/obj/tracklet.o ./btrack/obj/wrapper.o
clang++ -arch x86_64 -arch arm64 -c -std=c++11 -m64 -fPIC -I"./btrack/include" -DDEBUG=false -DBUILD_SHARED_LIB -O3  -c btrack/src/bayes.cc -o btrack/obj/bayes.o
clang++ -arch x86_64 -arch arm64 -c -std=c++11 -m64 -fPIC -I"./btrack/include" -DDEBUG=false -DBUILD_SHARED_LIB -O3  -c btrack/src/hyperbin.cc -o btrack/obj/hyperbin.o
In file included from btrack/src/hyperbin.cc:17:
In file included from ./btrack/include/hyperbin.h:27:
In file included from ./btrack/include/tracklet.h:23:
In file included from ./btrack/include/eigen/Eigen/Dense:1:
In file included from ./btrack/include/eigen/Eigen/Core:19:
./btrack/include/eigen/Eigen/src/Core/util/Macros.h:707:2: error: This compiler appears to be too old to be supported by Eigen
#error This compiler appears to be too old to be supported by Eigen
 ^
./btrack/include/eigen/Eigen/src/Core/util/Macros.h:950:79: error: constexpr function's return type 'void' is not a literal type
    template<typename T> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE constexpr void ignore_unused_variable(const T&) {}
                                                                              ^
In file included from btrack/src/hyperbin.cc:17:
In file included from ./btrack/include/hyperbin.h:27:
In file included from ./btrack/include/tracklet.h:23:
In file included from ./btrack/include/eigen/Eigen/Dense:1:
In file included from ./btrack/include/eigen/Eigen/Core:168:
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:157:37: error: no template named 'remove_const_t' in namespace 'std'; did you mean 'remove_const'?
struct is_void : is_same<void, std::remove_const_t<T>> {};
                               ~~~~~^~~~~~~~~~~~~~
                                    remove_const
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/remove_const.h:20:50: note: 'remove_const' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS remove_const            {typedef _Tp type;};
                                                 ^
In file included from btrack/src/hyperbin.cc:17:
In file included from ./btrack/include/hyperbin.h:27:
In file included from ./btrack/include/tracklet.h:23:
In file included from ./btrack/include/eigen/Eigen/Dense:1:
In file included from ./btrack/include/eigen/Eigen/Core:168:
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:224:48: error: no member named 'enable_if_t' in namespace 'std'
template<typename T> struct array_size<T, std::enable_if_t<((T::SizeAtCompileTime&0)==0)>> {
                                          ~~~~~^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:224:90: error: expected unqualified-id
template<typename T> struct array_size<T, std::enable_if_t<((T::SizeAtCompileTime&0)==0)>> {
                                                                                ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:255:17: error: 'auto' return without trailing return type; deduced return types are a C++14 extension
EIGEN_CONSTEXPR auto index_list_size(const T& x) {
                ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:256:18: error: no template named 'common_type_t' in namespace 'std'; did you mean 'common_type'?
  using R = std::common_type_t<std::ptrdiff_t, std::make_signed_t<decltype(x.size())>>;
            ~~~~~^~~~~~~~~~~~~
                 common_type
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/common_type.h:69:29: note: 'common_type' declared here
struct _LIBCPP_TEMPLATE_VIS common_type;
                            ^
In file included from btrack/src/hyperbin.cc:17:
In file included from ./btrack/include/hyperbin.h:27:
In file included from ./btrack/include/tracklet.h:23:
In file included from ./btrack/include/eigen/Eigen/Dense:1:
In file included from ./btrack/include/eigen/Eigen/Core:168:
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:256:53: error: no template named 'make_signed_t' in namespace 'std'; did you mean 'make_signed'?
  using R = std::common_type_t<std::ptrdiff_t, std::make_signed_t<decltype(x.size())>>;
                                               ~~~~~^~~~~~~~~~~~~
                                                    make_signed
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__type_traits/make_signed.h:65:29: note: 'make_signed' declared here
struct _LIBCPP_TEMPLATE_VIS make_signed
                            ^
In file included from btrack/src/hyperbin.cc:17:
In file included from ./btrack/include/hyperbin.h:27:
In file included from ./btrack/include/tracklet.h:23:
In file included from ./btrack/include/eigen/Eigen/Dense:1:
In file included from ./btrack/include/eigen/Eigen/Core:168:
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:309:38: error: no template named 'integer_sequence' in namespace 'std'; did you mean '__integer_sequence'?
using reduce_all = std::is_same<std::integer_sequence<bool, values..., true>,
                                ~~~~~^~~~~~~~~~~~~~~~
                                     __integer_sequence
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__tuple:89:8: note: '__integer_sequence' declared here
struct __integer_sequence {
       ^
In file included from btrack/src/hyperbin.cc:17:
In file included from ./btrack/include/hyperbin.h:27:
In file included from ./btrack/include/tracklet.h:23:
In file included from ./btrack/include/eigen/Eigen/Dense:1:
In file included from ./btrack/include/eigen/Eigen/Core:168:
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:310:10: error: no template named 'integer_sequence' in namespace 'std'; did you mean '__integer_sequence'?
    std::integer_sequence<bool, true, values...> >;
    ~~~~~^~~~~~~~~~~~~~~~
         __integer_sequence
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__tuple:89:8: note: '__integer_sequence' declared here
struct __integer_sequence {
       ^
In file included from btrack/src/hyperbin.cc:17:
In file included from ./btrack/include/hyperbin.h:27:
In file included from ./btrack/include/tracklet.h:23:
In file included from ./btrack/include/eigen/Eigen/Dense:1:
In file included from ./btrack/include/eigen/Eigen/Core:168:
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:315:24: error: no template named 'integer_sequence' in namespace 'std'; did you mean '__integer_sequence'?
    !std::is_same<std::integer_sequence<bool, values..., false>, std::integer_sequence<bool, false, values...> >::value>;
                  ~~~~~^~~~~~~~~~~~~~~~
                       __integer_sequence
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__tuple:89:8: note: '__integer_sequence' declared here
struct __integer_sequence {
       ^
In file included from btrack/src/hyperbin.cc:17:
In file included from ./btrack/include/hyperbin.h:27:
In file included from ./btrack/include/tracklet.h:23:
In file included from ./btrack/include/eigen/Eigen/Dense:1:
In file included from ./btrack/include/eigen/Eigen/Core:168:
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:315:71: error: no template named 'integer_sequence' in namespace 'std'; did you mean '__integer_sequence'?
    !std::is_same<std::integer_sequence<bool, values..., false>, std::integer_sequence<bool, false, values...> >::value>;
                                                                 ~~~~~^~~~~~~~~~~~~~~~
                                                                      __integer_sequence
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__tuple:89:8: note: '__integer_sequence' declared here
struct __integer_sequence {
       ^
In file included from btrack/src/hyperbin.cc:17:
In file included from ./btrack/include/hyperbin.h:27:
In file included from ./btrack/include/tracklet.h:23:
In file included from ./btrack/include/eigen/Eigen/Dense:1:
In file included from ./btrack/include/eigen/Eigen/Core:168:
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:335:68: error: no template named 'enable_if_t' in namespace 'std'
  template <typename C> static meta_yes testFunctor(C const *,std::enable_if_t<(sizeof(return_ptr<C>()->operator()())>0)> * = 0);
                                                              ~~~~~^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:344:68: error: no template named 'enable_if_t' in namespace 'std'
  template <typename C> static meta_yes testFunctor(C const *,std::enable_if_t<(sizeof(return_ptr<C>()->operator()(IndexType(0)))>0)> * = 0);
                                                              ~~~~~^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:353:68: error: no template named 'enable_if_t' in namespace 'std'
  template <typename C> static meta_yes testFunctor(C const *,std::enable_if_t<(sizeof(return_ptr<C>()->operator()(IndexType(0),IndexType(0)))>0)> * = 0);
                                                              ~~~~~^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:502:16: warning: variable templates are a C++14 extension [-Wc++14-extensions]
constexpr bool is_int_or_enum_v = std::is_enum<A>::value || std::is_integral<A>::value;
               ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:530:3: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions]
  if ((int) a == 0 || (int) b == 0) return 0;
  ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:533:3: warning: multiple return statements in constexpr function is a C++14 extension [-Wc++14-extensions]
  return plain_enum_min(a, b);
  ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:530:37: note: previous return statement is here
  if ((int) a == 0 || (int) b == 0) return 0;
                                    ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:531:37: note: previous return statement is here
  if ((int) a == 1 || (int) b == 1) return 1;
                                    ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:532:49: note: previous return statement is here
  if ((int) a == Dynamic || (int) b == Dynamic) return Dynamic;
                                                ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:546:3: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions]
  if ((int) a == 0 || (int) b == 0) return 0;
  ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:551:3: warning: multiple return statements in constexpr function is a C++14 extension [-Wc++14-extensions]
  return plain_enum_min(a, b);
  ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:546:37: note: previous return statement is here
  if ((int) a == 0 || (int) b == 0) return 0;
                                    ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:547:37: note: previous return statement is here
  if ((int) a == 1 || (int) b == 1) return 1;
                                    ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:548:49: note: previous return statement is here
  if ((int) a == Dynamic && (int) b == Dynamic) return Dynamic;
                                                ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:549:27: note: previous return statement is here
  if ((int) a == Dynamic) return (int) b;
                          ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:550:27: note: previous return statement is here
  if ((int) b == Dynamic) return (int) a;
                          ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:559:3: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions]
  if ((int) a == Dynamic || (int) b == Dynamic) return Dynamic;
  ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:560:3: warning: multiple return statements in constexpr function is a C++14 extension [-Wc++14-extensions]
  return plain_enum_max(a, b);
  ^
./btrack/include/eigen/Eigen/src/Core/util/Meta.h:559:49: note: previous return statement is here
  if ((int) a == Dynamic || (int) b == Dynamic) return Dynamic;
                                                ^
In file included from btrack/src/hyperbin.cc:17:
In file included from ./btrack/include/hyperbin.h:27:
In file included from ./btrack/include/tracklet.h:23:
In file included from ./btrack/include/eigen/Eigen/Dense:1:
In file included from ./btrack/include/eigen/Eigen/Core:170:
./btrack/include/eigen/Eigen/src/Core/util/ForwardDeclarations.h:112:46: error: no type named 'conditional_t' in namespace 'std'
         typename StrideType = typename std::conditional_t<PlainObjectType::IsVectorAtCompileTime,InnerStride<1>,OuterStride<> > > class Ref;
                               ~~~~~~~~~~~~~~^~~~~~~~~~~~~
./btrack/include/eigen/Eigen/src/Core/util/ForwardDeclarations.h:112:59: error: expected ',' or '>' in template-parameter-list
         typename StrideType = typename std::conditional_t<PlainObjectType::IsVectorAtCompileTime,InnerStride<1>,OuterStride<> > > class Ref;
                                                          ^
./btrack/include/eigen/Eigen/src/Core/util/ForwardDeclarations.h:112:98: error: expected unqualified-id
         typename StrideType = typename std::conditional_t<PlainObjectType::IsVectorAtCompileTime,InnerStride<1>,OuterStride<> > > class Ref;
                                                                                ^
In file included from btrack/src/hyperbin.cc:17:
In file included from ./btrack/include/hyperbin.h:27:
In file included from ./btrack/include/tracklet.h:23:
In file included from ./btrack/include/eigen/Eigen/Dense:1:
In file included from ./btrack/include/eigen/Eigen/Core:172:
./btrack/include/eigen/Eigen/src/Core/util/XprHelper.h:105:16: error: no template named 'conditional_t' in namespace 'std'
  typedef std::conditional_t<(sizeof(I1)<sizeof(I2)), I2, I1> type;
          ~~~~~^
./btrack/include/eigen/Eigen/src/Core/util/XprHelper.h:195:3: warning: use of this statement in a constexpr function is a C++14 extension [-Wc++14-extensions]
  if((ArrayBytes % AlignmentBytes) == 0) {
  ^
./btrack/include/eigen/Eigen/src/Core/util/XprHelper.h:200:5: warning: multiple return statements in constexpr function is a C++14 extension [-Wc++14-extensions]
    return 0;
    ^
./btrack/include/eigen/Eigen/src/Core/util/XprHelper.h:196:5: note: previous return statement is here
    return AlignmentBytes;
    ^
./btrack/include/eigen/Eigen/src/Core/util/XprHelper.h:198:5: note: previous return statement is here
    return compute_default_alignment_helper(ArrayBytes, AlignmentBytes/2);
    ^
./btrack/include/eigen/Eigen/src/Core/util/XprHelper.h:242:12: warning: variable declaration in a constexpr function is a C++14 extension [-Wc++14-extensions]
  unsigned row_major_bit = Options&RowMajor ? RowMajorBit : 0;
           ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
10 warnings and 20 errors generated.
make: *** [btrack/obj/hyperbin.o] Error 1


Decide what to do with testing data

Decide whether or not to have test data that mimic a real world example of the data we work with. If keeping them, clarify the description and all that and remove the data description if removing the data from the repo.

          Will not resolve this completely at the moment, but added as [issue #4](https://github.com/InPreD/samplesheet_generator/issues/4) and will follow up later.

Originally posted by @tinavisnovska in https://github.com/InPreD/samplesheet_generator/pull/1#discussion_r1497630325


Zip Code details

Description
Please include the details of the API used in this PR.
Screenshot
Optional

Checklist

[x] API used in this PR was not used in just-calling-random-api before.
[x] API used in this PR is Public or I have permission to use it.
[x] My contribution is working.
[x] My contribution doesn't expose any API keys.
[x] My changes don't generate any new warnings.
[x] My changes don't affect any work done by other developers.

To tick a box, replace [ ] with [x].

Thanks for the PR. Kindly make the requested changes and I would merge it.


launch inkojs official introduction website

develop website that introduce inkojs officially
url may be inko.github.io or something

inko.holy.kiwi has been launched! (2018-08-12)


feat: Diagnostics Page

Description
update diagnostics page to support mutli-bot

Task Item
closes #4338

Screenshots

Coverage decreased (-0.01%) to 55.35% when pulling 871d5bed425b61f2161cbe9096945306c56a5feb on lei9444:notificaitonpage into e8d0d55d1360454d71013c381b044b3c1373e208 on microsoft:main.

This PR is looking good. One functionality to add is on the DesignPage the errors and warnings across all bots needs to be surfaced. Once thats added we can merge it

This PR is looking good. One functionality to add is on the DesignPage the errors and warnings across all bots needs to be surfaced. Once thats added we can merge it

Hi, @srinaath I have updated the warnings in the Design and add more tests.


Haskell-ghc-mod: ghc-mod interactive command type failed with error ghc-modi crashed

[Enter steps to reproduce below:]
Occured during active editing.
Atom Version: 1.3.3
System: Mac OS X 10.10.5
Thrown From: haskell-ghc-mod package, v1.5.6
Stack Trace
Haskell-ghc-mod: ghc-mod interactive command type failed with error ghc-modi crashed
At caps: {"version":[5,4,0,0],"legacyInteractive":true,"fileMap":true,"rootExec":true,"quoteArgs":false}
URI: /Users/lwdye/qp/haskell/pami/src/PITCH/Parser.hs
Args: 43,1
message:
log:
-0.305s: getProcessOptions(/Users/lwdye/qp/haskell/pami)
-0.304s: PATH = /Users/lwdye/google-cloud-sdk/bin:/Users/lwdye/.local/bin:/Users/lwdye/.cabal/bin:/Users/lwdye/Library/Haskell/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
-0.303s: Trying to run ghc-modi in /Users/lwdye/qp/haskell/pami
-0.303s: Checking for ghc-modi in /Users/lwdye/qp/haskell/pami
-0.303s: Found running ghc-modi instance for /Users/lwdye/qp/haskell/pami
-0.302s: Started interactive action block in /Users/lwdye/qp/haskell/pami
-0.301s: Running ghc-modi command info,src/PITCH/Parser.hs,import           Control.Monad
import           Control.Exception (assert)
import           Data.Int
import           Data.Word
import           Data.ByteString (ByteString,length,empty,append,takeWhile,readFile,writeFile,appendFile)
import           qualified Data.ByteString.Lazy
import           GHC.Generics (Generic)
import           PITCH.Types
--import           Text.Bytedump
import           Data.Either.Unwrap
import           Debug.Trace
import           Numeric
import           Data.List
import           System.CPUTime
import           Text.Printf
--import           Control.Parallel.Strategies
import           Data.Sequence
import           Data.Map.Strict
import           Data.IntMap.Strict
import           Data.Set
import           Data.IntSet
import           Data.List.Split
import           qualified Data.ByteString.Char8 as C
import           Codec.Compression.GZip
import           Data.Serialize
import           Data.Serialize.Get (getInt8)

-0.036s: ghc-modi said: EXCEPTION: info:     parse error on input ‘import’
-0.036s: Got response from ghc-modi:
Cannot show info
OK

-0.036s: Ended interactive action block in /Users/lwdye/qp/haskell/pami
-0.035s: getProcessOptions(/Users/lwdye/qp/haskell/pami)
-0.035s: PATH = /Users/lwdye/google-cloud-sdk/bin:/Users/lwdye/.local/bin:/Users/lwdye/.cabal/bin:/Users/lwdye/Library/Haskell/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
-0.035s: Trying to run ghc-modi in /Users/lwdye/qp/haskell/pami
-0.035s: Checking for ghc-modi in /Users/lwdye/qp/haskell/pami
-0.035s: Found running ghc-modi instance for /Users/lwdye/qp/haskell/pami
-0.035s: Started interactive action block in /Users/lwdye/qp/haskell/pami
-0.035s: Running ghc-modi command type,src/PITCH/Parser.hs,43,1
-0.034s: ghc-modi said: ghc-mod: unknown command: `import'
-0.001s: ghc-modi for /Users/lwdye/qp/haskell/pami ended with 1
-0.001s: ghc-modi for /Users/lwdye/qp/haskell/pami ended with 1
-0.001s: Running ghc-modi command unmap-file,src/PITCH/Parser.hs
-0.001s: ghc-modi crashed

ghc-modi crashed
    at module.exports.Util.mkError (/Users/lwdye/.atom/packages/haskell-ghc-mod/lib/util.coffee:97:15)
    at ChildProcess.exitCallback (/Users/lwdye/.atom/packages/haskell-ghc-mod/lib/ghc-mod/interactive-process.coffee:76:20)
    at emitTwo (events.js:92:20)
    at ChildProcess.emit (events.js:172:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

Commands
     -1:47.6.0 core:save (atom-text-editor.editor.is-focused)
 14x -1:32.4.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:30 core:save (atom-text-editor.editor.is-focused)
 13x -1:24.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:22.4.0 core:save (atom-text-editor.editor.is-focused)
 13x -1:19.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:17.7.0 core:save (atom-text-editor.editor.is-focused)
 13x -1:14.2.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:11.9.0 core:save (atom-text-editor.editor.is-focused)
     -1:11.3.0 core:move-down (atom-text-editor.editor.is-focused)
 13x -1:10.8.0 core:move-right (atom-text-editor.editor.is-focused)
 13x -1:08.5.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:06.0 core:save (atom-text-editor.editor.is-focused)
     -0:38 editor:newline (atom-text-editor.editor.is-focused)
     -0:37.3.0 core:save (atom-text-editor.editor.is-focused)
     -0:35.2.0 core:move-up (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "disabledPackages": [
      "script",
      "ide-haskell-cabal"
    ]
  },
  "haskell-ghc-mod": {
    "ghcModPath": "/Users/lwdye/.local/bin/ghc-mod",
    "ghcModiPath": "/Users/lwdye/.local/bin/ghc-modi"
  }
}

Installed Packages
# User
atom-beautify, v0.28.20
atom-json-editor, v0.4.1
autocomplete-haskell, v0.6.2
haskell-ghc-mod, v1.5.6
ide-haskell, v1.3.9
language-haskell, v1.5.2
language-java, v0.17.0
language-mathematica, v0.1.0
react, v0.12.10

# Dev
No dev packages

Error occurred again just as a block of code was highlighted or perhaps just on focus to edit pane.  There are two haskell panes open (probably unrelated).

Okay... apparently you just tried to get info of a whole block of imports. Doesn't matter if it was intentional or not. Problem is, apparently your source file doesn't use your platform-specific newline characters, so part of argument escapes outside the command.
So, v1.5.7 should try harder to remove anything resembling newlines from user input. Let me know if you run into something like this again.

Thank you.  Both issues #87 and #89 look stable.
From: Nikolay Yakimov
Reply-To: atom-haskell/haskell-ghc-mod
Date: Monday, January 11, 2016 at 1:20 PM
To: atom-haskell/haskell-ghc-mod
Cc: Lester Dye
Subject: Re: [haskell-ghc-mod] Haskell-ghc-mod: ghc-mod interactive command type failed with error ghc-modi crashed (#89)
Okay... apparently you just tried to get info of a whole block of imports. Doesn't matter if it was intentional or not. Problem is, apparently your source file doesn't use your platform-specific newline characters, so part of argument escapes outside the command.
So, v1.5.7 should try harder to remove anything resembling newlines from user input. Let me know if you run into something like this again.
—
Reply to this email directly or view it on GitHubhttps://github.com/atom-haskell/haskell-ghc-mod/issues/89#issuecomment-170678028.

This occurs to me using 1.6.6. It happens whenever I start atom and it opens to a previously unbuilt Haskell file. It seems like it's kicking off a huge stack build that causes a timeout.


Update changelog for 0.11.0

Motivation

Future Work

#493  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nick-mobilecoin and the rest of your teammates on  Graphite