Build sticky sidebar demo from simpler source

Build lua filter to recreate the html output of sidebar-base-quarto.qmd using sidebar-cr.qmd, featuring a simpler syntax. Initial plan:
Markdown syntax:

Wrap all content in sidebar layout in div with custom class.
Label plot with id prefixed with cr.

Lua filter:

Move block with id prefixed with cr into the main column.
Move remaining blocks into sidebar.

Working on branch: cr-sidebar

@jimjam-slam if you want to take a look, I think this is working. You can render sidebar-bar-quarto.qmd and sidebar-cr.qmd and they should yield the same HTML file.
My next step is to allow other objects to be dropped into the body col like images and arbitrary divs. A next step from there could be to figure out how to do a crossfade from one image to the next on scroll trigger.

I see! So all of the content of .cr-sidebar gets pulled out, with the histogram chunk with with cr-id: hist-of-mpg going into a third .column with the sticky settings added, and the rest going into a first .column.
I can also see the long margin-bottoms added to each block of content in the first column to get the scrollytelling focus on one element at a time (I would probably consider splitting it between margin-top and margin-bottom, ).
One alternate technique some people use in scrollytelling is to "slow down" the text scroll by playing with... I can't quite remember, but I think it's perspective and Z-axis translation. You do both to effectively cancel out the size reduction but retain a parallax "slower scroll" effect. it's not always appropriate and is probably a stretch goal, but I wanted to mention it!
For the more immediate concern of having scroll trigger updates on content, I think one thing we can't avoid is that you not only need to tag the content you want to update (ie. the plots going on the right), but also the blocks in the regular content that are doing the triggering—those are the things scrollama.js needs to watch for viewport visibility in order to trigger transitions.
So we know that scrollama is initialised with a selector that marks the elements it needs to watch. In my example that's just the .step class, but it can be another kind of selector (eg. based on attribute). We either need to:

explicitly link each trigger to each block (eg. an attribute like scroll-step="2"); or
just mark all the triggers with a class like .step and then we infer their trigger order from order in the DOM.

Either way, we pass scrollama two functions: one for when triggers enter the viewport and one for when they leave. Those functions get a reference to the element and its index, but—unlike in my example, where the trigger is also the thing to be updated, we need to find the corresponding element to transition using a function like document.querySelector, document.getElementById or document.getElementByClass. (The first one would let us locate by attribute too.)
One other thing to explicitly flag here is that we're focusing on scenarios where visibility triggers a complete 0-100% transition—not scenarios where the progress of an element's transition is itself tied to scroll progress (eg. a path being drawn as the user scrolls and pausing mid-way if the user pauses their scroll). Those effects are cool too, and I'd love to accommodate them, but they're probably outside the scope of what we've discussed so far!

I can also see the long margin-bottoms added to each block of content in the first column to get the scrollytelling focus on one element at a time (I would probably consider splitting it between margin-top and margin-bottom, ).

Yep, makes sense. I've made that change, and tweaked the lua filter to append a sidebar-col class to allow narrower targeting of rules like that (since the figure is also in a paragraph).

One alternate technique some people use in scrollytelling is to "slow down" the text scroll by playing with... I can't quite remember, but I think it's perspective and Z-axis translation. You do both to effectively cancel out the size reduction but retain a parallax "slower scroll" effect. it's not always appropriate and is probably a stretch goal, but I wanted to mention it!

Yep, I've seen that and it can be cool! I think we can tack that on to the list of options that can be added once we have a solid architecture down.

We either need to:

explicitly link each trigger to each block (eg. an attribute like scroll-step="2"); or
just mark all the triggers with a class like .step and then we infer their trigger order from order in the DOM.

This seems to me like one of the main design decisions and I don't have a strong feeling one way or the other. The .fragment class in revealjs operates more like the second and seems to work fine. I guess the main difference here is that the element with those attributes won't be the one who's behavior is being targeted, so it could be a bit more difficult to reason about (and to read the source of).

One other thing to explicitly flag here is that we're focusing on scenarios where visibility triggers a complete 0-100% transition—not scenarios where the progress of an element's transition is itself tied to scroll progress (eg. a path being drawn as the user scrolls and pausing mid-way if the user pauses their scroll). Those effects are cool too, and I'd love to accommodate them, but they're probably outside the scope of what we've discussed so far!

I'm a big fan of the progress stuff - gives such a tight level of control to the user. A good thing to aim for.

I've put together a little diagram to help me think through the sidebar layout when we have transitions between figures triggered by elements in the sidebar. You should be able to edit, so feel free to mark up, copy / paste / riff, whatever you like:
https://link.excalidraw.com/l/4AKpAITWs2z/1rJo2nMxBcg
I tried for a sec this morning trying to get this implemented in straight html / css / js in the form of this example here:
https://russellsamora.github.io/scrollama/sticky-side/
I wasn't able to get it working out of the box - it seemed like I was lacking a few css rules so the formatting was a bit off. Have you been able to get this working?

I'm having a look a the diagram and seeing if I can help with the sticky-side example now!

I've sketched out the alternative models we're proposing for the source code in the Excalidraw so we can better look at how the Quarto doc user experience would be!
I've also started on adding Scrollama to the doc (see #4).
In 0e1600f, I'm using quarto.doc.add_html_dependency() to inject Scrollama, the intersection-observer polyfill, and our own scrollama initialisation script (which we need to get Scrollama watching the things we want and reacting in the right way). The latter's just a stub for now; we need to decide on our model (attributes/classes/etc.) to actually implement it.
One thing to keep in mind is that Scrollama does need a selector to watch (just for the trigger blocks, not necessarily for the sticky content blocks that we show).
In 06d9900 and 5b8fdd5, I've adjusted the sticky layout to get us ready for implementing the actual transition functionality with Scrollama. Some things I've done here are:

Moved most of the styling from inline style attributes in the Lua filter to classes defined im SCSS
Switched the sidebar layout to use a flexbox instead of the grid inherited in the rest of the article. This lets us define a column gap in SCSS, which in turn let me...

Remove the explicit margin column from the Lua filter, and...
Define a .cr-reverse companion class to flip the order of he sidebar and sticky content
(I've also added a hook in the Lua script to pass other existing classes from the layout on, so that users can still hook onto that element)

Added a system for stacking the sticky elements on top of each other (on the Z-axis, not vertically on the page) based on Revealjs's .r-stack class. The idea with this is that with Scrollama, changing from one figure to the next can be as simple as adding some CSS transitions with some classes—no need to fiddle with trying to dynamically update the contents of the "in view element".
I've changed the margin-bottom: 80vh to margin-block: 40svh;. This means:

The margin is split between top and bottom
Use of svh means content shouldn't jump around when mobile browsers show or hide UX chrome like address bars;
I've tried to target immediate ancestors of the sidebar column only—except when a markdown heading is used, as those add nested <section> elements. This means that, if you like, you can group a couple of pars together with a div to prevent the margin rules from spacing them out.

Let me know what what you think! I haven't started with any Scrollama stuff, so we can still make a decision about the user model we want.

Finally, in 843b9e3, I've added a quick OJS block down the end of our demo to see if Scrollama (which we've imported with vanilla JS, not OJS) is still available in OJS.
It is! This means that if a user wants to make a "custom" scroller in addition to the one we provide, they can (although I think putting vanilla JS in an {=html} block might be more appropriate than using OJS).

Woah, great work on this stuff! A few questions...

Moved most of the styling from inline style attributes in the Lua filter to classes defined in SCSS

Great. As I look at the remaining css that's appended in the Lua filter, I wonder: what's the best way to allow the user to change the default width of the sidebar? One option would be to let them set close-read: sidebar-width: "50%" in the document yaml, which would then be passed into those inline styles in the Lua filter. The other option would be to have this sort of thing handed by editing the .scss directly. What do you think?

Switched the sidebar layout to use a flexbox instead of the grid inherited in the rest of the article. This lets us define a column gap in SCSS, which in turn let me...
Remove the explicit margin column from the Lua filter, and...
Define a .cr-reverse companion class to flip the order of he sidebar and sticky content
(I've also added a hook in the Lua script to pass other existing classes from the layout on, so that users can still hook onto that element)

Terrific. That margin col was definitely a kludge. This is a better way to do it!

Added a system for stacking the sticky elements on top of each other (on the Z-axis, not vertically on the page) based on Revealjs's .r-stack class. The idea with this is that with Scrollama, changing from one figure to the next can be as simple as adding some CSS transitions with some classes—no need to fiddle with trying to dynamically update the contents of the "in view element".

Oh, that's huge; I hadn't seen .r-stack before. I was puzzling over how to address this issue and hadn't come up with any clean solutions.

I've changed the margin-bottom: 80vh to margin-block: 40svh;. This means:
The margin is split between top and bottom
Use of svh means content shouldn't jump around when mobile browsers show or hide UX chrome like address bars;
I've tried to target immediate ancestors of the sidebar column only—except when a markdown heading is used, as those add nested  elements. This means that, if you like, you can group a couple of pars together with a div to prevent the margin rules from spacing them out.

That's really clever: both an simple implementation in the scss and about as straight forward a syntax on the front end as could be hoped for (wrapping in a div)

No worries at all! I've just added some replies to you in the Excalidraw on preferred user model too.

As I look at the remaining css that's appended in the Lua filter, I wonder: what's the best way to allow the user to change the default width of the sidebar? One option would be to let them set close-read: sidebar-width: "50%" in the document yaml, which would then be passed into those inline styles in the Lua filter. The other option would be to have this sort of thing handed by editing the .scss directly. What do you think?

I don't think it's unreasonable for users to want to edit the SCSS themselves (or more likely attach an additional SCSS sheet on the end to override things), but I also think some basic customisation via frontmatter or section attributes is reasonable if we can swing it—or both! If both were possible, you could set document-level default  width via frontmatter and override per-section with an attribute.
This would need to be transformed by the Lua filter, though, even if it was done with attributes. Although attr() can access attribute values in CSS styles, it can currently only do so for the content property (eg. injecting text in via the stylesheet)—not for properties like width.
So the Lua filter would need to resolve system default, document default and section attribute widths and apply the appropriate one to the style attribute.

Makes sense to me!
I added a response on Excalidraw as well. I think 1A sounds like the way to go!
Feel free to merge the PR whenever you're ready.


analytics-2.0-apis/discovery.md endpoint began failing yesterday

The Discovery API started failing yesterday.  It had been working flawlessly up until the outage.
GET https://analytics.adobe.io/discovery/me
Fails with response body of:
{
"errorCode": "500",
"errorDescription": "Error while resolving get imsOrgs for<EMAIL_ADDRESS>clientId=27d989b002524ca2bb932254b55a7fc0",
"errorId": "f82d58ed-8602-4f45-9daf-f4051919cb92"
}
I validated that my bearer token is valid by hitting other API endpoints.

This issue has been fixed. Let us know if you see any other problems. Thanks for your report!

Thank you!
On Wed, May 20, 2020 at 1:04 PM Mike Richardson<EMAIL_ADDRESS>wrote:

Closed #134 https://github.com/AdobeDocs/analytics-2.0-apis/issues/134.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AdobeDocs/analytics-2.0-apis/issues/134#event-3357678044,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFPAYSXXNU45XDA7SINBN73RSQLRRANCNFSM4NGD4QYQ
.


CommonsChunkPlugin doesn't generate 'manifest' file when chunks are specified

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
The CommonsChunkPlugin stops splitting out a 'manifest' file once the 'chunks' option is specified
If the current behavior is a bug, please provide the steps to reproduce.
We can modify the two-explicit-vendor-chunks example to create a manifest chunk with the webpack bootstrap logic by changing the CommonsChunkPlugin configuration:
plugins: [
		new CommonsChunkPlugin({
			names: ["vendor2", "vendor1", "manifest"],
			minChunks: Infinity
		})
	]

which outputs
Hash: 5aa5a104f7b7859cb2f8
Version: webpack 3.5.4
Time: 73ms
      Asset       Size  Chunks             Chunk Names
 vendor2.js  290 bytes       0  [emitted]  vendor2
 vendor1.js  235 bytes       1  [emitted]  vendor1
   pageC.js  109 bytes       2  [emitted]  pageC
   pageB.js  109 bytes       3  [emitted]  pageB
   pageA.js  179 bytes       4  [emitted]  pageA
manifest.js    5.78 kB       5  [emitted]  manifest
   [0] ./vendor1.js 27 bytes {1} [built]
   [1] ./vendor2.js 50 bytes {0} [built]
   [2] multi ./vendor1 28 bytes {1} [built]
   [3] multi ./vendor2 28 bytes {0} [built]
   [4] ./pageA.js 70 bytes {4} [built]
   [5] ./pageB.js 25 bytes {3} [built]
   [6] ./pageC.js 25 bytes {2} [built]

But if we explicitly specify source chunks, as in:
plugins: [
		new CommonsChunkPlugin({
			names: ["vendor2", "vendor1", "manifest"],
			minChunks: Infinity,
			chunks: ["pageA", "pageB", "pageC"]
		})
	]

The manifest chunk is no longer generated:
Hash: d07e5b041c7257748d2c
Version: webpack 3.5.4
Time: 69ms
     Asset       Size  Chunks             Chunk Names
vendor2.js    6.25 kB       0  [emitted]  vendor2
  pageA.js  406 bytes       1  [emitted]  pageA
vendor1.js    6.12 kB       2  [emitted]  vendor1
  pageC.js  109 bytes       3  [emitted]  pageC
  pageB.js  109 bytes       4  [emitted]  pageB
   [0] ./vendor1.js 27 bytes {0} {1} {2} [built]
   [1] ./vendor2.js 50 bytes {0} {1} [built]
   [2] multi ./vendor1 28 bytes {2} [built]
   [3] multi ./vendor2 28 bytes {0} [built]
   [4] ./pageA.js 70 bytes {1} [built]
   [5] ./pageB.js 25 bytes {4} [built]
   [6] ./pageC.js 25 bytes {3} [built]

What is the expected behavior?
The two configurations to generate the same output
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
<EMAIL_ADDRESS><EMAIL_ADDRESS>OS: OS X El Capitan 10.11.6

Closing due to inactivity. Also webpack@4 have other splitting mechanics https://webpack.js.org/plugins/split-chunks-plugin/. Thanks!


Add a Gitter chat badge to README.rst

numberoverzero/bloop now has a Chat Room on Gitter
@numberoverzero has just created a chat room. You can visit it here: https://gitter.im/numberoverzero/bloop.
This pull-request adds this badge to your README.rst:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Took this opportunity to clean up the existing badges.


Tests: Fix sys.version comparisons

sys.version is a string, so it doesn't make sense to compare it with a tuple.
Found using pydiatra.

Hello there,
is this all pydiatra found in Nuitka? Thanks for reporting.


invidious: unstable-2023-12-06 -> unstable-2024-01-29

Description of changes

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

CC: @GaetanLepage

Add a :+1: reaction to pull requests you find important.

Running this PR on my invidious instance (iv.catgirl.cloud) now

LGTM !
Have you updates using the script ?
For me, it has been broken for a while but should be fixed by #284985

I just commented the nix-prefetch part out and took the new hash from the build error :sweat_smile: Glad the script is fixed now though!


It looks like some Mexico files are corrupted

All files changes within last 11 days apparently.
For example:
https://github.com/cdcepi/zika/blob/master/Mexico/DGE_Zika/data/DGE_Zika-2016-11-26.csv
https://github.com/cdcepi/zika/blob/master/Mexico/DGE_Zika/data/DGE_Zika-2016-12-24.csv

Fixed--Thanks!


Change Font Size On Raspiblitz

I have searched "issues" for changing font size and haven't found the fix for this.  How do I make this fill the entire screen?  Thanks in advance.

I have reopened this issue after some Telegram suggestions.  Those steer me to changing font size but I think this looks like the Raspiblitz software is sending out a higher resolution than this 4 inch screen is set to.  I think I need to lower the resolution on the pi.  I appreciate any help.  My CLI interface is weak but I am learning so if you help please be specific.  Thank you.

I would try sudo raspi-config
https://pimylifeup.com/raspberry-pi-screen-resolution/

I did try that.  This LCD is the 4 inch LCD  http://www.lcdwiki.com/4inch_HDMI_Display-C.  Shows a native resolution of 800 * 480.    I tried all of the options in the menu.  None of them filled the screen.  Most appeared to be incompatible as the screen just kept flashing blue screen.  I found this in another thread:
Force use HDMI
hdmi_force_hotplug=1
force a specific HDMI mode
hdmi_group=2
hdmi_mode=87
custom display resolution (480x320 looks good , and 720x480 is not too bad too,3rd res is: 810x540 )
/----------------- Width: 480px ( or 720px /or 810px)
|   /------------- Height: 320px ( or 480px /or 540px)
|   |   /--------- Refresh: 60Hz
|   |   | /------- Aspect ratio: 6=15:9 (1=4:3, 2=14:9, 3=16:9, 4=5:4, 5=16:10)
|   |   | | /----- Margins: 0=disabled (1=enabled)
|   |   | | | /--- Interlace: 0=progressive (1=interlaced)
|   |   | | | | /- Reduced blanking: 0=normal (1=reduced)
|   |   | | | | |
hdmi_cvt 480 320 60 6 0 0 0
uncomment to force a HDMI mode rather than DVI. This can make audio work in
DMT (computer monitor) modes
hdmi_drive=2
Even though this is for a 3.5 inch screen I think I will try it.

@pkepler try this solution: https://github.com/rootzoll/raspiblitz/issues/244#issuecomment-476713706

@pkepler Close this if solved pls.

Problem not solved but I don't care any longer.


Missing  Dimension in DataLoader

Hello,
I encountered an error while trying to implement your project. Here's the traceback:
  Traceback (most recent call last):
  File "/home/slab/joint_att/train.py", line 342, in <module>
    _ = process_epoch(epoch, training_data_loader, 'train')
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/slab/joint_att/train.py", line 109, in process_epoch
    out_head = model_head(batch)
               ^^^^^^^^^^^^^^^^^
  File "/home/slab/anaconda3/envs/joint_att/lib/python3.11/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/slab/joint_att/models/head_pose_estimator.py", line 37, in forward
    batch_size, frame_num, people_num, channel_num, img_height, img_width = head_img.shape
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: not enough values to unpack (expected 6, got 5)

Then, I checked the dataset file in the getitem :
        print("head_img.shape")
        return data

The result was torch.Size([12, 3, 64, 64]). However, in train.py:
print("===> Loading datasets")
train_set = dataset_generator(cfg, 'train')
print(cfg.exp_set.batch_size)
training_data_loader = DataLoader(dataset=train_set,
                                batch_size=cfg.exp_set.batch_size,
                                shuffle=True,
                                num_workers=cfg.exp_set.num_workers,
                                pin_memory=False)

for batch in training_data_loader:
    print(batch["head_img"].shape)
    break

I checked again after the dataloader and got torch.Size([4, 12, 3, 64, 64]). It seems that the frame_num dimension is missing.
My question is, when is the frame_num going to be added? It appears that the tensor has only five dimensions. Thank you in advance for your assistance.

Thank you for your interest in our work.
While I implemented the frame_num dimension after the submission, the frame_num dimension is not used in the PJAE.
Therefore, I deleted the codes related to the frame_num dimension.
If you have more questions, feel free to ask easily.

The error also happened to me after deleting the frame_num.
However, I fixed the error yesterday and pushed the latest codes to this repository.
Could you pull our latest codes from the repository again?
Do not hesitate to contact me again if you have any questions.

Thank you very much !


Unit test for helper - ssmParamReader

First of many unit tests for the project
The example unit test submits Create, Malformed, and delete operations to the ssmParamReader helper. using mock package recommended in this AWS blog https://aws.amazon.com/blogs/developer/mocking-modular-aws-sdk-for-javascript-v3-in-unit-tests/
Had to make some changes to the package.json file to support aws mock client. https://github.com/m-radzikowski/aws-sdk-client-mock#caveats
conducting manual testing now.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1201850914645389

This PR would now be obselete as we no longer have custom lambda code for SSM param reader and instead use AwsCustomResource CDK construct to do this


bugfix/remove-error-suppressing-handlers

asana
https://app.asana.com/0/45796090191289/68281845672380
problem statement

consortiumError / CONSORTIUM_ERROR don't handle the error, but catch it, and swallow it

solution
for now, let the app error out
long term
ideas:

perhaps we can figure out a way to determine if the error happened during a route change, then if so, if the error is caught by the global handler, route back?
have a convention where the root app state gets a state attr of error/unhandled_error/whatever, and on root component render, posts an alert to the user

this sort of feels like like an anti-pattern. ~ i don't think we'd do this for sync errors, why do it differently for async.  perhaps the correct solution is to let the app error out if we're not going to handle it, OR, just handle the darn thing!~ I take that back.  The issue is generally that a service is down or misconfigured.  We very well may do something like that for sync errors, too.

build a convention to handle async, middleware based action errors where the target app state gets an error prop

same as above, but on the target app state, vs. top level global app state

Maybe we override render to:
React.prototype.render = function() {
    if (state.unhandledErrors.length) {
        app.notify(...);
    }
    React.prototype.render.apply(this, arguments);
}

I'm not attached to any of these ideas, but they're food for thought.  Just as we do process.on('uncaughtException'), it'd be nice to be able to possibly reflect that there was an issue in the UI too

Agreed, we need to think about application-level error handling.
I’d hate to override React’s render. Maybe we roll a service exclusively for error handling. Errors are an application state, and the UI should respond intelligently to it. The Redux examples have a granular approach:

https://github.com/rackt/redux/blob/master/examples/real-world/actions/index.js#L34
https://github.com/rackt/redux/blob/master/examples/real-world/actions/index.js#L131-L138
https://github.com/rackt/redux/blob/master/examples/real-world/reducers/index.js#L16-L27

Might not be right for us, but something to consider.


Add comments to TlsFetchKeyMaterials API and add test file for C-core TLS credentials options.

This PR does several small things:

Adds comments and documentation around the TlsFetchKeyMaterials API, which is at the core of the TLS credential reloading.
Adds small clarifications to the implementation of the TlsFetchKeyMaterials API.
Adds a test that clarifies what occurs when TlsFetchKeyMaterials is called by a client.
Adds a test file, grpc_tls_credentials_options_test.cc, where @ZhenLian and I can put additional unit tests for the APIs in grpc_tls_credentials_options.{h,cc}.

@yihuazhang While adding comments to the TlsFetchKeyMaterials API and adding this test following a conversation with @ZhenLian , I came across a couple of questions I didn't know the answer to:

Why is there no grpc_tls_key_materials_config_destroy API in grpc_security.h? Should we add one?
Why should TlsFetchKeyMaterials return GRPC_STATUS_OK when key_materials_config has an empty pem-key-cert pair list and it is called by a client? I feel like we should change this so that the same thing occurs for both the client and server. WDYT?

Thanks for bringing this up, Matt.

The reason is that grpc_tls_key_materials_config is always used as a part of grpc_tls_credentials_options and thus it makes more sense to destroy it as a part of grpc_tls_credentials_options destroy since it's ownership gets transferred to the options. So even if we need to have grpc_tls_key_materials_config_destroy(), I will probably add it to other head files instead of grpc_security.h.

Because we do not require the client to always provision certificates (e.g., HTTPS).

Thanks for the explanation Yihua! That sounds good to me.
One commnet: depending on how the other wrapped languages implement the tls_credential_reload_arg, it may be necessary to add a grpc_tls_key_materials_config_destroy API to grpc_security.h because the tls_credential_reload_arg has a pointer to a tls_key_materials_config instance. But I suppose we can cross this bridge when we come to it.

Thanks for the review @ZhenLian! I've implemented the changes you've requested in the newest commit, and responded to your comments.

Thanks @ZhenLian for the review! Merging now.


android notification: Use different icon for debug build.

Before both debug and release build were having same icon and both
build can coexist at the same time in the phone. So it was hard to
figure out from which build notification is generated.
For now reusing the laucher icon of debug build as notification icon
of debug build. As this icon is not as per notification icon pattern,
it looks quite odd. But it saves extra overhead of new icon. Only
contributors will be having debug build, so this can be compromissed.
Also next we should try not to include debug launcher icon in release
APK.
Fix: #2863

Thanks @jainkuniya ! Merged.
Copying here for the record some screenshots from a chat thread on the stream:
a notification, looking odd:

but in the status bar, looking fine:


simplify metadata_chunks interface by returning unknown chunk instead of Err()

Store parsing errors on unknown chunk for optional review/display. This removes the inner BinResult from the large return type: Result<Vec<BinResult<Box<dyn SizedChunk>>>

Never mind. An error parsing a known chunk is very different than an unknown chunk.


Transition effect between profiles

Description of your Suggestion
Set a fade-in-out effect to transition between profiles selection. It would be a great look to transition between an active state to a idle state.
Alternative Solutions
A clear and concise description of any alternative solutions or features you've considered.
Extra (if applicable)
Add any other info or screenshots regarding the requested feature here.

This has been touched on briefly in a different issue, this would be a great addition, I could even allow for people choosing which effect they want. The issue is that currently I don't know how yet, but it should be fairly simple to learn and implement.


Message

Check this in QA:

https://qa-hedwig-docs.herokuapp.com/bring.html#/Message
https://qa-hedwig-docs.herokuapp.com/posten.html#/Message

I see noe that I left something out form det description. I'm sorry for being "that guy"...
Subtle message:

Smaller padding than the "regular" messages. ( padding: 16px 24px; ) (desktop) and (padding 12px 20px; ) mobile.
Smaller icon than the "regular" message (0.7em should so the trick)
Warning message also has a subtle version with these same values - but it keeps its coloring (meaning no border, or a separate light version)

I see noe that I left something out form det description. I'm sorry for being "that guy"...
Subtle message:

Smaller padding than the "regular" messages. ( padding: 16px 24px; ) (desktop) and (padding 12px 20px; ) mobile.
Smaller icon than the "regular" message (0.7em should so the trick)
Warning message also has a subtle version with these same values - but it keeps its coloring (meaning no border, or a separate light version)


seems time-out did not work in 'edit-config'

seems time-out did not work in 'edit-config'
I try to invoke edit-config with --rpc-timeout 60,
but seems plug-in receive "abort event" in 3~4 seconds, not 60 seconds as expected.
Please correct me if there something misunderstand.
Thank you.
> onfig --target running --config=/mnt/sysrepo.example/c.nc.platform.power.replace.xml --rpc-timeout 60
ERROR
        type:     application
        tag:      operation-failed
        severity: error
        message:  Callback event "rpc" with ID 22 processing timed out.

[DBG]: plugin: sragent: --------------------- parameter test:  0 0
[INF]: Processing "openconfig-platform" "change" event with ID 1 priority 0 (remaining 2 subscribers).
[DBG]: plugin: sragent: (heke2)   module_name: openconfig-platform
[DBG]: plugin: sragent: (heke2)         xpath: /openconfig-platform:components/component[name]/power-supply/config/openconfig-platform-psu:enabled
[DBG]: plugin: sragent: (heke2)         event: 1
[DBG]: plugin: sragent: (heke2)    request_id: 1
[INF]: Successful processing of "change" event with ID 1 priority 0 (remaining 1 subscribers).
[DBG]: plugin: sragent: timeout test:  0
[DBG]: plugin: sragent: timeout test:  1
[DBG]: plugin: sragent: timeout test:  2
[DBG]: plugin: sragent: timeout test:  3
[INF]: Processing "openconfig-platform" "abort" event with ID 1 priority 0 (remaining 1 subscribers).
[DBG]: plugin: sragent: timeout test:  4

What you are doing is setting the NETCONF client timeout for waiting for a reply for an RPC. However, the reply is received sooner because it is NETCONF server that times out. To increase netopeer2-server timeout, use -t parameter.

Thanks Michael， I got it .


Missing else conditional gives whitespace error

view : Model -> Html Msg
view model =
  if subToggle then
    let
        angle =
          turns (Time.inMinutes model)

        handX =
          toString (50 + 40 * cos angle)

        handY =
          toString (50 + 40 * sin angle)
    in
       svg [ viewBox "0 0 100 100", width "300px" ]
       [ circle [ cx "50", cy "50", r "45", fill "#0B79CE" ] []
       , line [ x1 "50", y1 "50", x2 handX, y2 handY, stroke "#023963" ] []
       ]

This won't compile and complains of:
I need whitespace, but got stuck on what looks like a new declaration. You are
either missing some stuff in the declaration above or just need to add some
spaces here:

I am looking for one of the following things:

    whitespace

What it really needs is an else statement though.

Thank you for the report! I am wrapping up an overhaul of the parser that has better error messages. For your example, the error is now:
-- UNFINISHED IF ------------------------------------------------------ temp.elm

I was expecting to see an `else` branch after this:

 3|   if subToggle then
 4|     let
 5|         angle =
 6|           turns (Time.inMinutes model)
 7|
 8|         handX =
 9|           toString (50 + 40 * cos angle)
10|
11|         handY =
12|           toString (50 + 40 * sin angle)
13|     in
14|        svg [ viewBox "0 0 100 100", width "300px" ]
15|        [ circle [ cx "50", cy "50", r "45", fill "#0B79CE" ] []
16|        , line [ x1 "50", y1 "50", x2 handX, y2 handY, stroke "#023963" ] []
17|        ]
            ^
I know what to do when the condition is `True`, but not when it is `False`.

Add an else branch to handle that scenario!

This should become available when Elm 0.19.1 is released. Thanks again for reporting this case!


Upgrading AWS SDK

Fixes #266.

Any idea how to fix this with Maven @robzienert ?

@Randgalt @robertroeser newest version is 1.10.38, any chance you could share a jar with us that works?

I would second @scalp42. it would be very helpful if you could share the jar in the meantime.

@Randgalt @robertroeser Same issue

I'll try to ask for a release.

@Randgalt do you have any updates, currently if a node goes down, a new node can't join the existing cluster

1.5.6 was released last week. I posted a notice on the Exhibitor mailing list.


removed go-bindata from pkg/operator

Which issue this PR addresses:
Removes go-bindata and replaces it with the standard std/embed

Just yesterday I had a chat with @petrkotas about replacing go-bindata with standard library. I beleive he was going to create ticket for doing this across codebase. Pleae catch up with him.


Defining an option key with "no-" in front of it

I'm working on a wrapper for some common command line things we do in a .NET project. One of things I'm trying to mirror is the .NET command dnu restore --no-cache. (The Node script will run the command automatically in a bunch of places.) I'd like the Node script's arguments to mirror dnu's, but I can't specify an option for --no-cache, as it's always seen as a negated version of --cache.
Where this gets rather annoying is that if my yargs is configured to be strict(), then it always fails because I haven't defined a "cache" option. I can define a "cache" option and default it to true to get the same behavior, but the --help for it ends up being confusing if you're expecting --no-cache. Maybe if an option is defined to start with "no-" then negation should be ignored? Or maybe add a flag when defining an option to disable negation?

Hey @MikeyBurkman our next major release of yargs allows you to turn on and off various parsing features:
You can add the following stanza to your package.json:
{
"yargs": {
"boolean-negation": false
}
}
See https://github.com/yargs/yargs-parser#configuration for details.
I would love for you to try this feature out, and give some feedback:
npm i yargs@alpha --save


gem5-resources: Specifying a workload with an extra file to be passed as an argument

I am looking to develop a set of resources for our computer architecture course using the gem5 resources system. Some of these programs require that a file path is passed to the program, ex:
./my_program 500 foo.bar
In the gem5 resources, I see that we can specify a file resource (c.f. llvm-ministat) but in that case I only see how to use it when piped through stdin.
Is there currently any way to achieve passing a file-path into a program?

To pass a file path along with an argument to a binary, you can include the file path as part of the arguments field in the additional_params. However, unlike using FileResource via stdin, this method is not dynamic.
For example, you can specify the file path in the arguments like this:
"additional_params": {
    "arguments": [
        "500",
        "./path/to/foo.bar"
    ]
}

If you want to do this programmatically, you would need to update the set_se_binary_workload function to handle this use case. This can be done by adding a new parameter, such as arg_input_file: Optional[FileResource] = None, to the set_se_binary_workload function.
Then, modify the function to append the file path to the arguments list if the file is specified. Specifically, update the line where the command arguments are set to include arg_input_file.get_local_path().
For example, in the se_binary_workload.py file (found here), you would:

Add the arg_input_file parameter:
def set_se_binary_workload(..., arg_input_file: Optional[FileResource] = None):

Add the line where arguments are set (found here) to:
if arg_input_file:
    process.cmd += [arg_input_file.get_local_path()]

Once these changes are made, you can pass a file resource in the JSON with the key arg_input_file, and it will automatically set the corresponding parameter to the file resource you provided.
    "resources": {
        "binary": {
            "id": "binary",
            "resource_version": "1.0.0"
        },
        "arg_input_file": {
            "id": "input",
            "resource_version": "1.0.0"
        }
    }

Do you think it would be feasible to add some wildcard entry into the arguments field so that we could specify file placement in the arguments list? Ideally, I think it would be nice to have a resource with the following information:
    "additional_params": {
        "arguments": [
            "500",
            "%%FILE%%",
            ...,
            "%%FILE%%
        ]
    },
    "resources": {
        "binary": {
            "id": "binary",
            "resource_version": "1.0.0"
        },
        "arg_input_file": [
        {
            "id": "input",
            "resource_version": "1.0.0",
            "position": 1
        },
        {
            "id": "input2",
            "resource_version": "2.0.0",
            "position": 2
        }],
        ...
    }

Would this be something of interest to gem5? I think I could see a way to do it in the current resource framework, and I only see one example on gem5-resources using the file resource type, but I am not sure what compatibility this might break in some benchmarks.
Thank you for your response!

Hi @Sir-NoChill
I don't think we would want to add this feature. One of the most important parts of gem5-resources is that it enables reproducible simulations. To do this, we require that there is a fixed input for the simulator. By adding wildcards or command-line parameters, we lose the ability to easily track and reproduce the inputs.


Ho to debug hardware/software issues?

Hi,
I'm very very excited about this project but not yet had the chance to see my setup working. Only 1 motor is working (Y). When I run pycnc none of the motors seem to do anything, apart from Y. If I swap the cables I can see the motor working connected to the Y cable, which means the motors aren't dead.
My question is, how to debug things? How to locate the problem? Is there a way to control motors separately, outside of pycnc?
First, when I was assembling things I accidentally put the stepper boards wrong direction resulting burnout. I've got Ramps 1.6 where the stepper slots seems to be 180 degrees rotated... I had to buy new stepper ICs. I also replaced the Ramps board and the Raspberry, same result. Last thing hasn't been replaced is the ADC. Is it possible that the ADC was burnt too?
If not, this should be a software related issue. But I have no idea where to start if so.
Many thanks!!

When I run x100 I can hear a very slight whistling sound which makes me think the HW actually gets something, not completely dead.

I have figured it out. Very silly mistake, the ens were not wired...


Soil moisture isn't actually needed in the Virtual Rainforest simulation

Is your feature request related to a problem? Please describe.
At the moment the hydrology model calculates soil moisture, but none of the other models actually need to use it. At the moment, the soil model uses it to calculate amount of water in the topsoil layer, something the hydrology model could return instead.
Describe the solution you'd like
The hydrology model could get rid of the soil moisture calculation, and just return the quantity the soil model needs instead. It might be worth retaining the soil moisture calculation function, as this is a nice output to have though.

For clarification, we keep the soil moisture variable but instead of a relative water content, we calculate absolute water content in mm at a given depth.


Customize/skip build phase

Three new environment variables (can define in top of Podfile)

BUGSNAG_SKIP_PHASE_SCRIPT - don't install phase script to upload dSYM
BUGSNAG_PRE_PHASE_SCRIPT - prepend stuff to script
BUGSNAG_POST_PHASE_SCRIPT - append stuff to script

Don't install phase script
ENV['BUGSNAG_SKIP_PHASE_SCRIPT'] = 'true'

Configure phase script
ENV['BUGSNAG_PRE_PHASE_SCRIPT'] = <<-EOS
if ENV["CONFIGURATION"] != "Release"
	exit 0
end
EOS

Hi, @joshdholtz. Thank you for the contribution. Unfortunately, I can't merge this directly here as we are moving to separate the build phase integration into a cocoapods plugin in the next release. I'm open to merging the skip phase change there however.
The customization changes may require a bit more thought. Perhaps there is a cleaner way to specify before and after hooks rather than putting scripts into environment variables, since failing to set the variable before running pod install would result in multiple script phases being generated.

@kattrali No problem at all. I was just running into issues where Bugsnag was trying to upload the dsym with every build (including development) which was destroying my home internet. So I quickly through this solution together to solve my problem and figured I'd share it.

Gotcha, I'm glad you found the problem. :+1:


BUG: Disabling selective spell tweak for non-instantaneous spells does nothing

Turning off the tweak that disables selective metamagic for non-instantaneous spells doesn't change anything and instead acts like its still turned on. I've tried selective Domain of the Hungry Flesh and selective Black Hole and they still affect my party.

There are three settings that affect selective.
BaseFixes.SelectiveMetamagicNonInstantaneous - Effects the rules of how selective as a mechanic function. This affects a bit more than just spells and is likely what you want to turn off
Feats.SelectiveMetamagic - Removes the metamagic Selective from non instantaneous spells as something that can be applied in the spellbook
Feats.SelectivePrerequisites - Updates the selective metamagic prerequisites

Thanks for the clarification! Didn't know there was that setting in base fixes. I ctrl+F'ed the readme and thought I only needed to turn off Feats.SelectiveMetamagic since that's the only thing that pops up when I search for "selective" or "instantaneous".


Extension of CDB_LatLng

extended cdb_latlng to accept (text) and (text, text) inputs. also handles comma as decimal point as a special case e.g. 121,39::text = 121.39::numeric

Stale


How to retrieve AdapterFusion activations for each layer?

Hi,
I am currently experimenting with AdapterFusion for my thesis. I would like to understand which related task impacts the performance of the target task layer by layer. Could you please explain how I can replicate the results in Figure 4 of your AdapterFusion paper (https://arxiv.org/pdf/2005.00247.pdf) for my tasks?
Best,
Anjali

A while back I asked a similar question and got a great response, which allowed me to create these plots. See this comment for that: https://github.com/Adapter-Hub/adapter-transformers/issues/83#issuecomment-728992049
The summary is (assuming the roberta model):
model.roberta.encoder.layer[layer_i].output.adapter_fusion_layer['<name of the fusion layer>'].recent_attention

That's awesome. Thank you!

Hey @daandouwe, just wondering if you were able to create an example script for achieving the attention scores? Is it possible to get the "recent_attention" from an already trained adapter fusion model?
Thanks!


Node 4.0

I've seen quite some posts on supporting or not supporting Node 4.0.
Would it be possible to clarify the "official" state ... I tend to believe there's a lot of confusion right now, maybe that's just me ...

See https://github.com/voodootikigod/node-serialport/issues/578

Hi Jacob, an honest question (but potentially stupid question, if so please excuse me): reading your posts on this site and gitter it seems many of the issues boil down to the need for gcc 4.8. What I can't find is what drives this need, i.e. I'm running node 4.1.0 without issues on a mint RPi2 which, at least as far I can tell, only has gcc-4.6.3 (default wheezy image, did do a dist-update but without modifying the source file to jessie).
What am I missing? Is this a requirement for the upgrade to nan2 (I can't find it) ...
Thanks for clarifying...
FYI: I installed node using the download image found on the official node.js site.


Improved the styling of the internships cards

Hey @DeveloperAshish8 , have a look .
Look it has right now

Earlier look was :

Now its looking good @Akansha0211 , Thanks for your contribution in our website.
Happy Coding ❤.


[BUG]: Deepspeed build fails on rocm , error in hipify

Describe the bug
hipify_extra_files_only argument used in op_builder/builder.py not present in https://github.com/ROCmSoftwarePlatform/hipify_torch/blob/master/hipify/hipify_python.py or pytorch/torch/utils/hipify/hipify_python.py
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/microsoft/DeepSpeed.git
DS_BUILD_FUSED_ADAM=1 DS_BUILD_FUSED_LAMB=1 DS_BUILD_CPU_ADAM=1 DS_BUILD_TRANSFORMER=1 DS_BUILD_STOCHASTIC_TRANSFORMER=1 DS_BUILD_UTILS=1 ./install.sh --allow_sudo
See error
Total number of replaced kernel launches: 2
Traceback (most recent call last):
File "setup.py", line 161, in
builder.hipify_extension()
File "/var/lib/jenkins/DeepSpeed_up/op_builder/builder.py", line 625, in hipify_extension
hipify_extra_files_only=True,
TypeError: hipify() got an unexpected keyword argument 'hipify_extra_files_only'
Expected behavior
hipify files with no error
Screenshots
If applicable, add screenshots to help explain your problem.
System info (please complete the following information):
rocm_arch gfx906
Docker context
docker : rocm/pytorch:latest-base
pytorch installed from source (https://github.com/pytorch/pytorch)

@jithunnair-amd  @jeffra

Hi @bmedishe, I will let @jithunnair-amd confirm but i believe the docker image you are using doesn't have the latest pytorch-amd changes. I just tested it as well and don't see torch installed for some reason.
Can you try this image instead? I will update our documentation to better guide new AMD users.
rocm/pytorch:rocm5.0.1_ubuntu18.04_py3.7_pytorch_1.10.0

Thank you @jeffra , I will try with the above mentioned image

I just discovered that this image that i just linked to is missing one piece for our kernels to compile correctly. I will discuss with @jithunnair-amd offline on how to update the images to fix this. In the meantime, you'll need to copy the following files from our repo to your rocm source:
cp -a csrc/includes/patch/hip/hcc_detail/hip_cooperative_groups.h /opt/rocm/include/hip/hcc_detail/hip_cooperative_groups.h
cp -a csrc/includes/patch/hip/hcc_detail/hip_cooperative_groups.h /opt/rocm/include/hip/hcc_detail/amd_hip_cooperative_groups.h
cp -a csrc/includes/patch/hip/hcc_detail/hip_cooperative_groups_helper.h /opt/rocm/include/hip/hcc_detail/hip_cooperative_groups_helper.h

For the time being I have pushed a new docker image based on the one i linked earlier but that includes deepspeed v0.6.0 and the patched coop groups files. You can pull it from here: deepspeed/deepspeed:v060_rocm5.0.1_ubuntu18.04_py3.7_pytorch_1.10.0

Feel free to reopen if still an issue


An idea about adding cursor

I have an idea about adding cursors. Maybe you can consider.
When we press to keybinding, we enter to add cursor mode
While we press to space we can continue to adding cursor.
After we press to enter the cursors are activated.
On the other hand when we are in  add cursor mode the shape of the cursor may change, so we can aware of it.
It is just an idea that you can consider.
Thanks for the great extension 🚀

I really tried to understand the method you are describing, but I couldn't fully understand it :D. I could only guess it, but it will be better if you could elaborate and rephrase every aspect of it, both this one:

When we press to keybinding, we enter to add cursor mode
While we press to space we can continue to adding cursor.
After we press to enter the cursors are activated.

and this one:

On the other hand when we are in add cursor mode the shape of the cursor may change, so we can aware of it.

Actually, there is an extension that already use this logic.
This link may help: https://github.com/soulshined/Navigator/blob/master/images/sticky-cursors.gif
You can say go and use this extension 😀, but I wanted to give you an idea. I know it will change the core logic.
I think that maybe you can like this logic, and maybe you want to implement.

As i understand it:

Press a keybinding to enter into an "add cursor mode"
While in this mode, press space to add a cursor
Still while in this mode, press enter to activate the cursors and exit "add cursor mode"

Did i get it right?

Yes, completely right

The reason why in that specific situation, an "adding cursor mode" was necessary, is because it used "Space" and "Enter" which are very common keys and already have their functions in the UI/editor control, so it needed a special mode which alters the functions of those keys.
In KCS, to make the cursors and selections being added that way means to change the core behavior, as you also pointed out. But there is no reason for it, because you could map the commands to the desired key combinations, which are still fast to hit (examples: PageUp, PageDown; F1, F2; Alt+X, Alt+Z), and dont require a special mode in which you are adding inactive cursors. Once added you can rely on the fact that you can interact with the UI and editor controls as usual.

I know, I know 😊
I only wanted to give an idea maybe you want to like and implement.
I am already using the KCS in my daily development environment.
I am closing the issue, so thank you again...


Merge prTesting_201907311038 branch to master branch

Docs Build status updates of commit 0b05477:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestCon.md
:bulb:Suggestion

Details

split/updateTestCon.md

[Suggestion] Missing attribute: author. Add a valid GitHub ID.
[Suggestion] Missing attribute: ms.author. Add a valid Microsoft alias.
[Suggestion] Missing attribute: either ms.prod or ms.service is required. Use ms.prod for on-premise products, or ms.service for cloud services.
[Suggestion] Missing attribute: title. Add a title string to show in search engine results.
[Suggestion] Missing attribute: ms.topic. Add a valid value to indicate the article type.
[Suggestion] Missing attribute: ms.date. A freshness date is required for this content set. Add a date in format MM/DD/YYYY.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Alow disabling of the <interact>:1:1: eval error: /bin/false exited with 1 feature

Non-zero exit values of external commands are treated like exceptions in elvish, and what you see is an exception traceback.

Yeah, is it possible to catch the exception perhaps?

After catching the exception, maybe you will want to... show a traceback to tell the user where things went wrong? :)
In forms with a single command, the context information is redundant. But if you consider commands with command substitutions (e.g. a (b)), pipelines (a | b) or multiple commands (a; b; c) then it is essential to know which command threw an exception.


I'm unable to start mt fabric network. Error msg -

I get this error msg: Peer binary and configuration files not found..
I have installed the docker binaries and clone the fabric repo as seen in the image, pls i'm not sure what I'm doing wrong, thanks.

Below i tried to start up the network, i get an error message.

It looks like you might not have Docker properly installed or running on your machine. Since the download of the Docker images failed, the install script did not proceed to download the Fabric binaries and configuration. Without these you cannot start the test network.
Not the prerequisites in the Fabric documentation:
https://hyperledger-fabric.readthedocs.io/en/latest/prereqs.html
If you are using a Windows environment, I would strongly recommend installing Windows Subsystem for Linux (WSL2) and installing everything (including Docker) there using the instructions for a Linux (Ubuntu) environment.


Mapping treatment for LIH dataset

Description
Incorrect entry of drug treatment in the template:

Acceptance criteria

[ ] template split for combination treatment

Needs to be changed to "Avastin + Campto 11"

done


Build CoreUI in Laravel 5.7 with javascript error

Hi all, how to fix my problem below?
I copy src folder CoreUI to E:/xampp/htdocs/laravel56/resources/assets/js and rename to admin, config package.json....
I run "npm run dev" error in file:
E:/xampp/htdocs/laravel56/resources/assets/js/admin/router/index.js
Error in row:
const DefaultContainer = () => import('@/containers/DefaultContainer')
Error:
ERROR in ./resources/assets/js/admin/router/index.js
Module build failed: SyntaxError: E:/xampp/htdocs/laravel56/resources/assets/js/admin/router/index.js: Unexpected token (5:31)

@mrholek  You have to make a small guide to integrate this awesome template with laravel!
Please sir!

There is no documentation to implement this template

Hello!
We would recommend have separated laravel and coreui projects and use laravel only as a RESTful API, because in SPA frontend approach you can't really utilize laravel blade templates.
This solution also brings more flexibility and is making frontend of the app reusable for other backend solutions.


Refactor logic for parallel testing

Reduce code duplication in run_pyspark_from_build.sh.
Borrowing logic tested in #1688
Tested with
# single threaded
TEST_PARALLEL=1 SPARK_HOME=~/spark-3.1.1-bin-hadoop3.2 integration_tests/run_pyspark_from_build.sh -k test_single_orderby

# parallel:
TEST_PARALLEL=4 SPARK_HOME=~/spark-3.1.1-bin-hadoop3.2 integration_tests/run_pyspark_from_build.sh -k test_single_orderby

build

build

build

I saw this already been triggered not sure why trigger twice for the same commit. If the previous one is not required plz help abort to save resource, thx~
rapids_premerge-github 1253
rapids_premerge-github 1254

@pxLi sorry, my browser UI probably did not refresh and I mistakenly thought my first build comment didn't go through. Now I see that I have duplicate build comments.


Support checking attributes against a list

Use-case: Check if all normative requirements are fulfilled.
The reference list is a list of all normative requirements.
Use-case: Check if all configuration items of a project exist that are mandated by the argumentation.
The reference list may comprise more items that are required for argumentation, i.e. the list items must be attributed.
The reference list may be distributed across multiple files.
This use-case is actually the other way around than the first one.

This may actually be far more simple in small yq scripts.


Setup automated database backups

We need to backup the database. https://github.com/lemonsaurus/blackbox looks really cool. Lets PR an Azure Storage provider into it and then add it as a cron job.

We're currently using Digital Ocean, so DO spaces seems like a good fit.


How to place Bootstrap js and Jquery Js on vendor.bundle.js

Hi,
How to load Bootstrap.js, Jquery Js and other js from Vendor.bundle.js rather than loading from main app file. Because i want to keep all external lib away from angular Main code. I'm not able to keep it like angular core and other angular codes. And there is no vendor.browser.ts file to hold all the files separately. Could please let me know if there is a way

Hi,
The issues section is for bugs and feature requests.
We would like to use the issues section for issues only, this will allow us to maintain a clean list of issues and be able to track and manage them efficiently.
for support questions, please use one of these channels:** Chat: AngularClass.slack or Twitter: @AngularClass
Thank you


📝 Clarify Datalad / bootstrap documentation

In working on setting up a bootstrap script for C-PAC, these are the only clarifications I made in my fork of the existing docs:

Correct name of datalad-containers
Add pennlinc-containers to the expected ls output in the ${BIDSAPP} directory
Clarify that full/path/to/bids is direct parent of sub-* directories

Thanks J!

Thanks for adding these! are you ready for us to merge this in or is it a work in progress?

I think I'm good to go with these docs. Thanks!


Revert "linkage_checker: check variable references with dlopen"

Trying to dlopen some Qt libraries causes Ruby to crash.
This reverts commit 0191a275ccc3e1a9377c956751bbc1c4ba7b0cea.

Review period skipped due to critical label.

Bug report: ruby/fiddle#97


Settings are missing from Preferences submenu

On macOS Sublime Text has Preferences -> Package Settings submenu where LSP has its usual settings. Settings for this plug-in are not there. I did not expect they would be accessible via command palette.

Same problem here on Linux: no LSP-rust-analyzer entry in the Preferences menu or Preference/package-settings one.


chore: bdd-spring-1574156764 to 0.0.1

chore: Promote bdd-spring-1574156764 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[MM-11675] Username popover on all system messages

Summary
This PR ensures that system messages will render @{username} so that you can click the username and see the username popover.
From what I can tell, the check for the @ symbol might be overkill but I thought it would be better to have it than not.
Ticket Link
JIRA / #9503
Checklist

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed
[x] Added or updated unit tests (required for all new features)

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-07350ef704b14019e.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-07350ef704b14019e

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-0b9f26d2b7f6ddedd.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-0b9f26d2b7f6ddedd

Thanks @amorriscode!

When a user joined/added to a channel with several system messages (rename channel, edit channel header/purpose) on it and that user clicked the channel, those system messages displayed user as not clickable.

May be similar to no. 1 - If a user switched to a different channel and then back again, the user becomes not clickable.

@esethna This might be on separate PR.  If a user seeing a system message is acted by the same user, should we use "You" instead of user's display name? Like in the screenshot below, "Victor Welch" should be "You" and not clickable.

@saturninoabril Thanks for the testing. I'll take a look at this ASAP and work on fixing this bug.
In regards to using "You" instead of the user's display name, I agree with you. I thought about it but wasn't sure if it would be scope creep as the notifications weren't designed that way originally.

Thanks Saturn, good finds. We can create a separate ticket for the "You" improvment.

I confess I'm not well-versed enough with the renderer to properly review this: @hmhealey, do you mind taking a look?

@esethna I was able to resolve the issue that was reported by @saturninoabril. The problem was caused by displaying a user's display name instead of their username. This isn't something I had originally tested, which was a mistake on my behalf as a first time contributor.
In the end, I was able to resolve the problem by simplifying the way username's were rendered by system messages. At mentions are able to determine whether or not they should use the display name of a user, the first/last name, or a username. Therefore that logic could be removed from system_message_helpers.jsx!
Let me know if there is anything else you need from me.

Spinmint test server destroyed

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: https://i-0305822ecb190b737.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-0305822ecb190b737

Awrsome @amorriscode!  Looks good to me, thanks!

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spintmint test server creation failed. See the logs for more information.

@hmhealey You're correct, those weren't needed! I was following an example but never actually tested without, my bad. I've updated and rebased.

Spinmint test server destroyed


Should this break rule F1?

We have a view from a derived table
view: currency_selector {
  derived_table: {
    sql:
      SELECT 'USD' AS currency
      UNION ALL
      SELECT 'EUR' AS currency
      UNION ALL
      SELECT 'GBP' AS currency
      UNION ALL
      SELECT 'AUD' AS currency
      UNION ALL
      SELECT 'CAD' AS currency;;
  }

  dimension: currency {
    type: string
    hidden: yes
    sql: ${TABLE}.currency ;;
  }

  parameter: currency_selector {
    suggest_dimension: currency
  }

}

which we are using to dynamically populate currency types and symbols in another view(s)
view: payment_ledger {
...
  dimension: general_currency {
    type: number
    sql: CASE WHEN {% parameter currency_selector.currency_selector %} = 'EUR' THEN ${amount_eur}
              WHEN {% parameter currency_selector.currency_selector %} = 'USD' THEN ${amount_usd}
              WHEN {% parameter currency_selector.currency_selector %} = 'GBP' THEN ${amount_gbp}
         ELSE ${amount_usd}
         END;;
    html: {{ currency_symbol._value }}{{ rendered_value }} ;;
    value_format_name: decimal_2
  }

  dimension: currency_symbol{
    type: string
    hidden: yes
    sql: CASE
        WHEN {% parameter currency_selector.currency_selector %} = 'EUR' THEN '€'
        WHEN {% parameter currency_selector.currency_selector %} = 'GBP' THEN '£'
        WHEN {% parameter currency_selector.currency_selector %} = 'USD' THEN '$'
        END;;
  }

  measure: total_other_actual {
    sql:  ${general_currency} ;;
    type:  sum
    value_format_name: big_money
    filters: [currency: "-USD, -EUR, -GBP", ledger_entry_type_description: "Actual"]
    html: {{ currency_symbol._value }}{{ rendered_value }} ;;
  }

would this quality as a tightly coupled view per F1? is there a better way to do this? thanks for the clarification on the last issue btw.

Hi @joshuasimon-taulia , glad to help!
Yes, I would definitely describe these views as tightly coupled, because you would not expect the payment_ledger to work without the currency selector, and would always require them to be used together in an explore. Unfortunately, this is just a judgement call, not something LAMS could infer from the code, so an exemption would be good here.

Also, as an aside, if you are not intending to reuse the currency_selector view with multiple fact views, you can just put the currency selector parameter directly inside of the payment ledger, and use the suggest_explore parameter to simply pull the suggestions from another explore, which could be a more intuitive setup overall

Looks like our looker project has been designed to use sql: CASE WHEN {% parameter currency_selector.currency_selector %} = in multiple views to keep things DRY. Is there any workaround I can do to get these to pass? If not I'll just disable F1 in our manifest.


Klarna examples using deprecated code

Could you please update the examples to use Order from Checkout namespace
client.Checkout.CreateOrder is deprecated. What to use? =)
Where do I find the newer API? in version 3.1.10
Where can i find a changelog?
Im trying to go from 3.1.2 to 3.1.10
thx

New model Klarna.Rest.Core.Model.Checkout.Order is using CheckoutMerchantUrls which is Deprecated. But MerchantUrls is not used. Very confusing... Is there no conversion?
    [JsonProperty(PropertyName = "merchant_urls")]
    public CheckoutMerchantUrls MerchantUrls { get; set; }

Trying to use the captureobject, why does Klarna.Rest.Core.Model.OrderManagement.Order OrderLines not using same orderline object as CaptureObject.OrderLines ? #confused
Does it exists any conversions?
    public async Task Capture(Klarna.Rest.Core.Model.OrderManagement.Order order)
    {
        await Klarna.OrderManagement.CreateCapture(order.OrderId, new CaptureObject()
        {
            CapturedAmount = order.OrderAmount,
            Description = "name of store",
            OrderLines = order.OrderLines
        });
    }

Hi there @LucGosso and thank you for raising these issues. In our effort to maintain backwards compatibility with older models we've inadvertently caused some trouble.
There is an ongoing effort to fix this here https://github.com/klarna/kco_rest_dotnet/pull/94.
We hope to get the examples updated in the same go. However due to limited availability, we cannot guarantee a delivery date.
A changelog relating to each release can be found here: https://github.com/klarna/kco_rest_dotnet/blob/v3.x/CHANGELOG.md

thx, seems to me we should go to version 3.1.9 meanwhile. is that a good option @freethan ?
IMHO dont be afraid of bumping a version and introduce breaking changes. looks messy when new api extends old.

Hi again @LucGosso . Yes indeed, I would propose to stay clear from 3.1.10 for now if this causing troubles for you and wait for a bug fix release, or even better a breaking change version coming out later.
Thanks for the good feedback, we appreciate it 👍

Closing this issue. The plan is to release a v3.1.12 as the final 3.x release without any attempts to maintain compatibility.

Good decision, if it is breaking, it should be v4. https://semver.org/


Update storage examples, add storage section to readme

This PR updates storage examples and adds one to the readme, as discussed in #164.
Feedback is appreciated!

Any other comments on this?

@mziccard Sorry didn't notice the new commits. looking at it now.

Looks good. Thanks.


Convert HandmadeMath to double

Hi,
I would like to use this library with my simulation code, but I need high accuracy.
I am wondering, how complicated to convert the library from float to double?
I am not familiar with SSE, so unfortunately I cannot judge it.
It would be great to set the accuracy with t #define. Any plan to implement double accuracy, or add it to the roadmap?
K

Handmade Math is designed for games and other low-precision applications. It makes no special provisions for numerical accuracy, only for numerical consistency across platforms.
That said, you can just switch floats to doubles in the vector and matrix types and fix whatever compiler errors arise. We won't be modifying the library to add double support.


Two of the ergodicity references don't refer to latest/peer-reviewed versions.

"Stochastic Market Efficiency" should link to arXiv (for now)
https://arxiv.org/abs/1101.4548
"Evaluating gambles using dynamics" should link to peer-reviewed version
https://doi.org/10.1063/1.4940236

Fixed #78


use a maintained github action

Summary
replace innovationnorway/setup-vault that is not maintained to cpanato/vault-installer

Codecov Report

Merging #2558 (cc866ab) into main (8f0cf02) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2558   +/-   ##
=======================================
  Coverage   29.99%   29.99%
=======================================
  Files         139      139
  Lines        8637     8637
=======================================
  Hits         2591     2591
  Misses       5669     5669
  Partials      377      377

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


want installation instruction

Hi, thank you for awesome tool!
I want to try this tool, but it seems there's no cmd/gqldoc/main.go or gqldoc/main.go.
Please add them and give an installation instruction on README.md.

Thanks for creating an issue.
I have added cmd/gqldoc/main.go code at here and Fixed README for adding installation instruction at here.
If you have any question, please re-open this issue or create a new issues. thx


Repeated errors relating to podSecurityPolicy.extensions not found.

Rancher server version - Build from master - Feb 28
Steps to reproduce the problem:
Create  a pod security policy - p1.
Create a Digital Ocean cluster with default pod security policy set to p1.
Server logs show the following errors repeatedly.
E0301 00:57:29.079529       1 generic_controller.go:200] ClusterController cluster-wjcdt [ClusterSyncHandler] failed with : podSecurityPolicy.extensions "mytest1" not found
E0301 00:57:44.111030       1 generic_controller.go:200] ClusterController cluster-wjcdt [ClusterSyncHandler] failed with : podSecurityPolicy.extensions "mytest1" not found
E0301 00:58:14.514672       1 generic_controller.go:200] ClusterController cluster-wjcdt [ClusterSyncHandler] failed with : podSecurityPolicy.extensions "mytest1" not found
E0301 00:58:44.125705       1 generic_controller.go:200] ClusterController cluster-wjcdt [ClusterSyncHandler] failed with : podSecurityPolicy.extensions "mytest1" not found

Now that PSPs can be enabled in a DO cluster, does this error still exist?

Tested with  build from Mar 5.
Create a PSP - test1.
I had enabled PSP and assigned a default PSP to "test"
Repeated errors seen in the logs:
E0305 21:40:29.247156       1 generic_controller.go:200] ClusterController cluster-d88vq [ClusterSyncHandler] failed with : podSecurityPolicy.extensions "test1" not found
E0305 21:40:29.248475       1 generic_controller.go:200] ClusterController cluster-d88vq [ClusterSyncHandler] failed with : podSecurityPolicy.extensions "test1" not found
E0305 21:40:29.249001       1 generic_controller.go:200] ClusterController cluster-d88vq [ClusterSyncHandler] failed with : podSecurityPolicy.extensions "test1" not found
E0305 21:42:47.856237       1 generic_controller.go:200] ClusterController cluster-d88vq [ClusterSyncHandler] failed with : podSecurityPolicy.extensions "test1" not found
E0305 21:42:47.861286       1 generic_controller.go:200] ClusterController cluster-d88vq [ClusterSyncHandler] failed with : podSecurityPolicy.extensions "test1" not found
E0305 21:42:47.864785       1 generic_controller.go:200] ClusterController cluster-d88vq [ClusterSyncHandler] failed with : podSecurityPolicy.extensions "test1" not found
E0305 21:42:47.865253

E0305 21:40:29.247156       1 generic_controller.go:200] ClusterController cluster-d88vq [ClusterSyncHandler] failed with : podSecurityPolicy.extensions "test1" not found
E0305 21:40:29.248475       1 generic_controller.go:200] ClusterController cluster-d88vq [ClusterSyncHandler] failed with : podSecurityPolicy.extensions "test1" not found
E0305 21:40:29.249001       1 generic_controller.go:200] ClusterController cluster-d88vq [ClusterSyncHandler] failed with : podSecurityPolicy.extensions "test1" not found
E0305 21:42:47.856237       1 generic_controller.go:200] ClusterController cluster-d88vq [ClusterSyncHandler] failed with : podSecurityPolicy.extensions "test1" not found
E0305 21:42:47.861286       1 generic_controller.go:200] ClusterController cluster-d88vq [ClusterSyncHandler] failed with : podSecurityPolicy.extensions "test1" not found
E0305 21:42:47.864785

Tested with latest build from master.
This error is not seen in logs.


New checks on ci

Description
New checks, not to be run on CI right now
Type of change

[x] New feature (non-breaking change which adds functionality)

Testing steps
N/A ATM

Codecov Report

Merging #107 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #107   +/-   ##
=======================================
  Coverage   70.14%   70.14%
=======================================
  Files          12       12
  Lines         710      710
=======================================
  Hits          498      498
  Misses        208      208
  Partials        4        4

Continue to review full report at Codecov.

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


[FEATURE] Enhance error message for loading invalid column names

Is your feature request related to a problem? Please describe.
When loading ...
data.csv
Invalid ( ), valid
0, 1

py
from fugue import FugueWorkflow

with FugueWorkflow() as dag:
    bers = dag.load("ABS-PATH-TO-DATA")

... a FugueDataFrameInitError error is raised
Describe the solution you'd like
The FugueDataFrameInitError error informs me of the invalid column name

From slack channel discussion

I ran above in iPython and ran %debug which dropped me into fugue.dataframe.pandas_dataframe.PandasDataFrame.__init__.  The exception occurs in ...
pdf, schema = self._apply_schema(pdf, schema)

... which raises a helpful exception ...
*** triad.collections.schema.SchemaError: Invalid column name Invalid ( )

... which unfortunately isn't propagated upwards

I think this is a more general thing we should consider, thanks for raising this problem.
I think what we should change is to remove the code like this
So this way the exception can be more useful.
Do you want to generalize this item, to fix for all dataframes?

Sure I'll make some time over the next 2 weeks to look into this

I am testing. I started because this is also something bothered me recently.


Error when trying to deploy to new group

I'm trying to use the provisioner to create a new group with the Python Hello World Lambda. However, I keep getting the following error: [ERROR] AwsGreengrassProvisioner: ..\aws-greengrass-lambda-functions\deployments\python-hello-world.conf: 1: No configuration setting found for key 'conf.core'
I ran the following command to get that error java -jar build/libs/AwsGreengrassProvisioner.jar -g TestGroup2 -a X86_64 -d ../aws-greengrass-lambda-functions/deployments/python-hello-world.conf --script
I have successfully built the jar file (according to the repo's main readme).
I tried deleting all of my files and re-cloning the repo and still get this issue. Any advice on fixing this issue would be greatly appreciated!

Testing this now.

Reproduced. This is because the provisioner is looking for the deployments/deployment.defaults.conf file. When it can't find this it reports that error.
Can you try running it from the aws-greengrass-lambda-functions directory?
Probably like this in your case this would work:
cd ../aws-greengrass-lambda-functions
java -jar ../aws-greengrass-provisioner/build/libs/AwsGreengrassProvisioner.jar -g TestGroup2 -a X86_64 -d deployments/python-hello-world.conf --script

That worked! Thank you!

👍


fix: update import file path to handle aliased children

Issue #, if available:
Description of changes:

Handles aliased children which would otherwise share the same name as primitives.
Change import file path to point to source component of aliased child.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Codecov Report

Merging #814 (053cd9d) into main (aa92f84) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #814   +/-   ##
=======================================
  Coverage   91.53%   91.54%
=======================================
  Files         102      102
  Lines        4113     4117    +4
  Branches     1171     1173    +2
=======================================
+ Hits         3765     3769    +4
  Misses        327      327
  Partials       21       21

Impacted Files
Coverage Δ

...-react/lib/amplify-ui-renderers/customComponent.ts
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Constrain pipeline to Flutter 2.0.6

This should fix the failing tests. On the long term, we should of course update to the latest version.

@elKei24 same fix for ios necessary?

@elKei24 same fix for ios necessary?

Yes, would be, but seems not possible unfortunately. The OSX images are only selectable by Xcode version, and are always created with the latest version of flutter (can be seen here).
The best would probably be to update to the latest version as fast as possible. I tried to do it (s. branch update-dependencies), but it does not build any more with the latest MapboxGL lib: SDK Registry token is null. See README.md for more information. I had a look at the Readme and tried to set the key(s), but without success.

ok maybe just ignore ios build for now?

ok maybe just ignore ios build for now?

I think so, yes. At least allows us to merge your artifact PR.


Is it possible to show the number of all completed/uncompleted tasks in the calendar view?

Similar to what is shown in the following figure, is it possible to show the number of completed/uncompleted tasks together with the date?

Also, is it possible to go to the desired daily/weekly/monthly note directly by clicking the corresponding date/week/month?
A use case for this would be as follows:

One check the number of uncompleted/completed tasks from the calendar view
One go to the desired daily/weekly/monthly date by clicking the corresponding icon

Hi @wenlzhang,
For the first problem, what do you want to show on the graph? Two numbers below each day?
Currently, if you have two targets (one for task done, one for not done), you can switch the graph by clicking the title.
For the second question, it’s possible.
Will consider adding this feature.

Currently, if you have two targets (one for task done, one for not done), you can switch the graph by clicking the title.

@pyrochlore For my use case, I would be more interested in the number of uncompleted tasks. So, one number denoting the number of uncompleted tasks below each day would be fine. Of course, two numbers showing the uncompleted and completed tasks would be better, if it looks nice visually.
The option for switching the graph by clicking the title is also a nice way of showing this, as I am more interested in the number of uncompleted tasks each day.
Also, I would like to add a few things to the second question, if they are not too difficult to achieve:

If one press the Control/Option when clicking a day, it would open the specific daily note in a new pane.
Besides the daily note, one can also open the monthly or weekly notes.

For this, would it also be possible to use number(s) for denoting completed/uncompleted tasks in the weekly and monthly notes?

@wenlzhang, for the last post,
Tracker accepts regular expressions, not wildcard characters.
So use '.' instead of ''
Also, you have to wrap all targets in one pair of quotes, like this
searchTarget: '.*, .*'

This is a limit from YAML.

Will do some tests on this.

I can repeat the issue now. Will fix it.

The feature request "go to the desired daily/weekly/monthly date by clicking the corresponding icon" was moved to issue #70.

The fix was released with version 1.10.6.

Great! circleColorByValue: true works as expected for non-existing daily notes now.

Thanks for the reports of all these issues.

Will close this issue.
More questions and suggestions are still welcome.

I realize another tiny issue. When there is only 1 task on a specific day (2021-09-09 and 2021-09-12), there would not be any color on that day, which is the same as the case when there are no tasks (2021-09-10 and 2021-09-11).
The query:
searchType: task.notdone, task.done
searchTarget: '.*, .*'
datasetName: Not Done, Done
month:
	startWeekOn: 'Mon'
	initMonth: +0M
	threshold: 0, 0
    color: green
    headerMonthColor: orange
	dimNotInMonth: false
    todayRingColor: orange
    selectedRingColor: steelblue
	circleColorByValue: true
    showSelectedValue: true

The figure:

Will check this.


Do not allow commiting to protected branch from online editor

Fix issue #1498

Could you please add a unit test for this too ?

As there are no unittests for editor I dont think I have time to add them

Unit tests are a great way to secure the time spent on fixing a bug. That time could be easily wasted if there's no test making sure nobody breaks again what you fixed.

Yes, I know but as there are no integration tests yet, I don't see how I can implement them...

See the integrations/ directory.
@typeless maybe you can add a README there to help people add tests ?

@strk /integrations is going to be replaced by https://github.com/go-gitea/gitea/pull/1290 soon. Please take a look.

LGTM

#1290 is now merged. @lafriks do you want to give it a try?

I will take a look

Was not easy as there was no single authorized user integration test, so had to add quite many new stuff to integration tests. I did not want to introduce new dependency but in future it would probably be wise to replace my html parser to something like github.com/PuerkitoBio/goquery

LGTM, thanks for the time you put into the tests !


DBZ-7447 Add Debezium UI container image for production use based on nginx-alpine

closes https://issues.redhat.com/browse/DBZ-7447

Tested locally, working well.

@rk3rn3r Applied, thanks


Add performance tests for different versions of Observable map

As mentioned in #1, there are two different implementations of map for now, we need to create some performance tests for these implementations to determine which method performs better.
I'd love some help from @igorminar or @jeffbcross with this, being that they have more expertise than myself in this arena.

This has been done


Multiple forme changing abilities can be copied or overwritten but shouldn't be

Battle Bond, RKS System, Shields Down and Power Construct can currently be copied by Trace and overwritten by Entrainment and the like. As per the research thread I'm reasonably confident that this behavior is faulty. Doing this as an issue instead of a PR since I'm not really sure which abilities exactly shouldn't be copied and which ones shouldn't be overwritten, sources seemed to disagree.

More research needed on this one?

@Marty-D

Research is "happening" in https://github.com/Zarel/Pokemon-Showdown/pull/3245

Any updates on this? Jc since I still occasionally get reports about these abilities being overwritten. Is it worth doing a preliminary fix for the cases where we already know that can't happen?


support for Reverso

Any plan to support Reverso
(http://www.reverso.net/text_translation.aspx?lang=EN)

Full support for this. Reverso is a wonderful translator for expressions, far better than Google in my opinion. API is here


The encoding presets should be set to 24fps and not 30fps

The encoding presets should be set to 24fps and not 30fps, as all anime are running at 24fps.

that one show one piece runs at 12fps dawg frfr nocap

you can always create custom presets


Typos correction

Signed-off-by: auzias<EMAIL_ADDRESS>(cherry picked from commit 95c95812a6c1ed798a3de453d7e5bfc740d230cc)

@vieux @abronan LGTM this cherry pick please

LGTM


fix: alias @unhead/vue on enabled experimental.headNext

Environment

Operating System: Linux
Node Version:     v18.18.0
Nuxt Version:     3.7.4
CLI Version:      3.9.0
Nitro Version:    -
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools, experimental
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-ta4wyu?file=nuxt.config.ts
Describe the bug
When enabling experimental.headNext and using pnpm without shamefully-hoist=true there is the following error: Failed to resolve import "@unhead/vue" from "virtual:nuxt:/home/projects/github-ta4wyu/.nuxt/unhead-plugins.mjs". Does the file exist?
Additional context
I proposed to solve this for nuxt-seo-kit in https://github.com/harlan-zw/nuxt-seo-kit/pull/124, but it should be solved for Nuxt instead really.
Logs
No response

This should be the place to add an alias: https://github.com/nuxt/nuxt/blob/5ee2f0aa8903dd71cf4d639dee1f00e85b798beb/packages/nuxt/src/head/module.ts#L63
Right?

Exactly 👌

You mean return `import { CapoPlugin } from '@unhead/vue'; could be return `import { CapoPlugin } from<EMAIL_ADDRESS>or so instead?

yep

can i work on this?


Need a summary for Sequelize ORM

Hello. Because our lesson today about ORM is pretty long and complicated, so we need a summary about the step of process to use ORM for being a guide for us learning it by ourselves. Please summarize it in detail, Mas. Thank you for helping!

It's provided in the README of the impactbyte-learn/code-express-orm-mariadb: Code Express ORM MariaDB repo
https://github.com/impactbyte-learn/code-express-orm-mariadb


Set init texture for appearance modeling

Hi @ARuiChen. Thank you for your work on Fantasia3D!
I am wondering that if there's any way in your code to offer an initial texture to the dlmesh in appearance modeling stage from an existing .mtl file. It will help me a lot if there's any way to make it work!

Same question！

+1

There are two ways to achieve that:
1、Optimization in 3d appearance field. Before that, you need an initial appearance reconstruction process. You can refer to https://github.com/DSaurus/threestudio-meshfitting
2、Optimization in 2d texture map. You can refer to https://github.com/NVlabs/nvdiffrec/blob/main/geometry/dlmesh.py


K6 JSON handleSummary()

Added option to generate a K6 JSON summary through the handleSummary() callback.

I have not included any tests, but I have tests for this, awaiting the merge of the open PR #121 , since this would allow snap shot testing.

For those missing this functionality, I have provided a forked NPM package version that contains the K6 JSON handleSummary functionality:
Replace in your packages.json:
"dependencies": {
    "postman-to-k6": "^1.5.0"
  }

to
"dependencies": {
    "@apideck/postman-to-k6": "^1.7.0"
  }

It is a forked NPM package, to facilitate other users. The current maintainers are quite overloaded by the acquisition of K6 by Grafana. By forking the repo & package, users can keep using new PR's & (security) fixes. At a later stage the changes can potentially be merged back in the original postman-to-k6 repo.
The changelog contains the differences between the original package & the forked version.


How can I delete a "stuck" source file?

I have what appears to be a corrupted source data file in my Source file list. It is a Excel file rather than a CSV, so that may be the problem.
I cannot delete it; clicking the Edit button either puts the browser into a permanent loading mode (Chrome), or a screen like this (I.E. 11):

Therefore, I tried deleting the entire Resource, only to get the following Error messages:

"Unable to delete file: C:\IPT\resources\ento\sources\0818gbifentomology20181102.xls"
"Failed to remove resource."

 message each time, but to no avail.
How can I delete the file itself?
It appears in two Resources, as below. It shouldn't be in Botany, but that's probably my fault ... .
Resources:
http://ipt.aucklandmuseum.com:8080/ipt/manage/resource?r=ento
http://ipt.aucklandmuseum.com:8080/ipt/manage/resource.do?r=botany
GBIF version:
IPT Version 2.3.5-rb9b0544
OS:
Window 7 Professional
Browser:
Chrome Version 57.0.2987.133 (64-bit)
Internet Explorer 11
Screenshots:

Possibly related issues:
https://github.com/gbif/ipt/issues/952

Hi folk,
I sent the email below to<EMAIL_ADDRESS>a few days ago: I've not had a reply so I'm just wondering how the solution is going...
"Hi all,
Matt’s statement “…issue the request using curl.” is beyond my current skill, I’m afraid.
Using  and <a temporary password" could someone help me with removing a problem file and document how this is done (so I can do it for another resource with the same problem), please?
Here is the ticket: https://github.com/gbif/ipt/issues/1440
Thanks,
Phil"

Hi @philiphinton sorry for the delay, I think that we managed to delete your stuck files, thanks for sending us the credentials!
I will close the issue now but let us know if you need anything else.

Thanks for doing that Marie!
Would you tell me how it is done, please? (or does one have to be a super admin? 😊)
Thanks,
Phil
Phil Hinton B.Hort.(Tech)(Hons) | CIA Collections Data Analyst | Kaitātari Raraunga Kohikohinga | Auckland War Memorial Museum | Tamaki Paenga Hira | The Domain, Private Bag 92018, Victoria Street West, Auckland 1142, New Zealand |  www.aucklandmuseum.comhttp://www.aucklandmuseum.com/ | M 021 0204 7323 | P +64 9 309 0443 ext 7341 | F +64 9 379 9956 | E<EMAIL_ADDRESS>From: Marie Grosjean<EMAIL_ADDRESS>Sent: Friday, 15 February 2019 03:04 AM
To: gbif/ipt<EMAIL_ADDRESS>Cc: Philip Hinton<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [gbif/ipt] How can I delete a "stuck" source file? (#1440)
Hi @philiphintonhttps://github.com/philiphinton sorry for the delay, I think that we managed to delete your stuck files, thanks for sending us the credentials!
I will close the issue now but let us know if you need anything else.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/gbif/ipt/issues/1440#issuecomment-463638288, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkCG0vDb_BSS3szaw1WYW5CVP5Au-2pDks5vNWzMgaJpZM4aXNEa.
Auckland Museum Trust Board ("Auckland Museum") accepts no liability for any opinion contained in
this email. The material in this email is confidential to the recipient named above.  If you are not the
intended recipient: please do not copy, use or disclose this communication; please notify us immediately
by email or by telephone (64 9 309 0443) and then delete
this email. Where this is a communication unrelated to the business of Auckland Museum, Auckland Museum
does not accept any responsibility for its contents.
#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared
by MailMarshal
#####################################################################################

Actually, you were almost done :)
We essentially followed Matt's instruction:

Log as admin in your IPT.
Find your blocked file and click on it.
Open the web browser "Developer Tools" and click on the network tab
There is essentially one object in the network tab, right click and "Copy as CURL"
This gives you a CURL request which contains a JSESSIONID and a CSRFtoken.
Take Matt's CURL request an replace the values for JSESSIONID, CSRFtoken, r, id, source.name and the URL by your own values:

curl 'http://ipt.aucklandmuseum.com:8080/ipt/manage/source.do'
    -H 'Content-Type: application/x-www-form-urlencoded'
    -H 'Cookie: JSESSIONID=993XXXXXXXXXXXXXXXXXXXXXXXXXXXXX; CSRFtoken=e1cxxxXxxXxXXXxXxXXxXXXxxXxXXXXX'
   --data 'r=ento&id=0818gbifentomology20181102&source.name=0818gbifentomology20181102&source.ignoreHeaderLines=1&source.sheetIdx=0&source.multiValueFieldsDelimitedBy=&delete=Delete+source+file'

Paste that into a terminal.
If you don't get any error message, you should be good.

Oh, so close!
Thanks for that Marie; we should be able to do that ourselves if the situation arises again.
Cheers,
Phil
Phil Hinton B.Hort.(Tech)(Hons) | CIA Collections Data Analyst | Kaitātari Raraunga Kohikohinga | M 021 0204 7323 | P ext 7341 | E phinton<EMAIL_ADDRESS>| L The Hub
From: Marie Grosjean<EMAIL_ADDRESS>Sent: Wednesday, 27 February 2019 23:26 PM
To: gbif/ipt<EMAIL_ADDRESS>Cc: Philip Hinton<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [gbif/ipt] How can I delete a "stuck" source file? (#1440)
Actually, you were almost done :)
We essentially followed Matt's instruction:

Log as admin in your IPT.
Find your blocked file and click on it.
Open the web browser "Developer Tools" and click on the network tab
There is essentially one object in the network tab, right click and "Copy as CURL"
This gives you a CURL request which contains a JSESSIONID and a CSRFtoken.
Take Matt's CURL request an replace the values for JSESSIONID, CSRFtoken, r, id, source.name and the URL by your own values:

curl 'http://ipt.aucklandmuseum.com:8080/ipt/manage/source.do'
-H 'Content-Type: application/x-www-form-urlencoded'

-H 'Cookie: JSESSIONID=993XXXXXXXXXXXXXXXXXXXXXXXXXXXXX; CSRFtoken=e1cxxxXxxXxXXXxXxXXxXXXxxXxXXXXX'

--data 'r=ento&id=0818gbifentomology20181102&source.name=0818gbifentomology20181102&source.ignoreHeaderLines=1&source.sheetIdx=0&source.multiValueFieldsDelimitedBy=&delete=Delete+source+file'

Paste that into a terminal.
If you don't get any error message, you should be good.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/gbif/ipt/issues/1440#issuecomment-467808529, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkCG0hsGa_jdRKB7zphsiKJJ0RHMTCBNks5vRl0_gaJpZM4aXNEa.
Auckland Museum Trust Board ("Auckland Museum") accepts no liability for any opinion contained in
this email. The material in this email is confidential to the recipient named above.  If you are not the
intended recipient: please do not copy, use or disclose this communication; please notify us immediately
by email or by telephone (64 9 309 0443) and then delete
this email. Where this is a communication unrelated to the business of Auckland Museum, Auckland Museum
does not accept any responsibility for its contents.
#####################################################################################
This e-mail message has been scanned for Viruses and Content and cleared
by MailMarshal
#####################################################################################

Oh, so close!
Thanks for that Marie; we should be able to do that ourselves if the situation arises again.
Cheers,
Phil


Register reset in the PIM to help timing closure.

Tested with the usual DCP tests and on HW. Eliminated some timing closure failures.


Item returned in beginDrag should be an object

Just a little thing! Tripped up on this myself while familiarising myself with react-dnd, and kept hitting
'Error: Invariant Violation: Expected return value of beginDrag to contain "item" object.
It's obvious rereading it now, but I think this might save the kinds of people who need this walkthrough (e.g. myself) from being discouraged from taking advantage of your hard work. :smile:

That's good. Thank you.