renew nuxtjs.yml on .github/workflows

https://github.com/actions/deploy-pages#usage
name: Deploy to GitHub Pages
on:
workflow_dispatch:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: corepack enable
- uses: actions/setup-node@v3
with:
node-version: "18"
  # Pick your own package manager and build script
  - run: pnpm install
  - run: pnpm build
    env:
      NITRO_PRESET: github_pages

  - name: Upload artifact
    uses: actions/upload-pages-artifact@v1
    with:
      path: ./.output/public

Deployment job
deploy:
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
  pages: write      # to deploy to Pages
  id-token: write   # to verify the deployment originates from an appropriate source

# Deploy to the github_pages environment
environment:
  name: github_pages
  url: ${{ steps.deployment.outputs.page_url }}

# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
  - name: Deploy to GitHub Pages
    id: deployment
    uses: actions/deploy-pages@v1

renew


IPTT filter panel: Change two labels to all caps

Affects
Filter panel on both two versions of the IPTT
What to change
Make the Program and Time periods/Target periods form field labels all caps, to match the rest of the labels in the filter panel.

@axoplasm  - I went ahead and fixed this with another fix going into dev today

Fixed on both versions of the IPTT.


Attitude loop speed

This is experimental, it may or might not help.

Couldn't fly this one anymore today

@AndreasAntener @tumbili Rebased, ready for testing.

@tumbili @AndreasAntener rebased again, a few flights on this would be great. Impossible to test in HIL.


Rename service

Currently, it still reads SkoHub-SSG on the web page. This should be replaced with "SkoHub Vocabs".

This is already on test. It would be nice to deploy it before swib to avoid confusion.

This actually is on production, but I forget to rebuild the site. Closing


Change syntax highlighting regardless of file format

A big thing i've noticed from sublime text is the fact that you can open up a file and change its highlighting from its native extention to a different highlighting
It's most useful for assembly language coders as .asm is a catch all extention for assembly, yet x86 assembly and ARM assembly are completely different, more so when different compilers are involved
But i'm sure it can be used in any instance
Sublime does it with the command pallet, the user would type in 'Set Syntax ' and the highlighting changes to that language setting...

That's great of atom to have it inbuilt, funny part is someone just made a package for the same, https://atom.io/packages/set-syntax.

Small addendum to @kevinsawicki s comment. For those not finding it, on my system, it was ctrl + shift + l


Bug fix: Logs unsubscribing on file load

Before:

After:

Sorry @mlunoe but I'm experiencing couple of bugs.

It doesn't seem to "tail" the logs automatically. It seems I have to scroll the mousewheel or click the mouse button to get a few lines of the bottom of the log to show up (and then they show up one-by-one). This seems to be the case on master also.
It seems like it's eating a ton of CPU; the browser is struggling to respond to my mouse input (hover effects aren't registering, button clicks take a long time before the UI responds). This does not seem to be the case on master also.
On initial load, the loading indicator is visible at the top of the log screen. Is this intentional? It seems this should be hidden until the user scrolls up in the log viewer. This seems to be the case on master also.

and 2. seems related. It should scroll to the bottom, and therefore keep connected to the stream (it disconnects if you scroll too far from the bottom). The fact that it doesn't scroll to the bottom initially is a bug in this PR.
@MatApple maybe you could take a look?

Talking with @jfurrow offline and decided to make 2. and 3. separate issues.

@nLight could you please check this one as well?

Scroll back throws an error:
cannot proxy to https://frontend-elasticl-1bg30u9sxj6kn-790264852.eu-central-1.elb.amazonaws.com/ (socket hang up)
Reproducible on master as well.

Kinda flaky, sometimes it unsubscribes after a page load, but then resubscribes again and tails logs. And sometimes it just works™.

Ok, so the first error cannot proxy to https://frontend-elasticl-1bg30u9sxj6kn-790264852.eu-central-1.elb.amazonaws.com/ (socket hang up) is a backend issue, which is being fixed here: https://github.com/dcos/adminrouter/pull/52
The unsubscribe was due to first of all an error which I introduced here, where I would delete the EventSource reference, where I should not have. This has now been fixed.
Secondly, there was another issue where the scroll event would fire on the trailing edge, which would cause some issues. This has also been fixed.
Finally, we were throttling the componentDidUpdate (which is totally not a good idea), which would make it so that we would miss certain important updates to set the height of the scroll container, which would in turn also make the TaskLogsTab unsubscribe from the stream. This has also been fixed.

Run unit tests

@mlunoe After testing again, I'm not sure we should leave the performance problems for a separate PR. Or if we do, we should start working on it immediately because it freezes the UI and makes the logs tab unusable. I really think we should get this in before the 1.9 GA.

To add to this: I am currently implementing a solution that will default to the Mesos File API to use for logs and you have to configure your cluster to select the new journald API for logs.
Also, yes! The performance issues should be addressed and in my opinion ASAP. I have created a ticket to address this. The first idea is to move the throttling that we removed from componentDidUpdate here to be handled in the actions file, where we can accumulate data and then send to the store as we are throttling. This should have the experience that we have today, except it will only call a function in the actions file, and not try to re-render the view all the time.

This is my app, I see blip if I view stdout file, but logs screen tells me
STDOUT Log is Currently Empty. Please try again later.
{
  "id": "/log",
  "cmd": "echo \"blip\" && sleep 10000",
  "instances": 1,
  "cpus": 0.1,
  "mem": 128,
  "disk": 0,
  "gpus": 0,
  "backoffSeconds": 1,
  "backoffFactor": 1.15,
  "maxLaunchDelaySeconds": 3600,
  "container": {
    "type": "DOCKER",
    "docker": {
      "image": "alpine",
      "privileged": false,
      "forcePullImage": false
    }
  },
  "upgradeStrategy": {
    "minimumHealthCapacity": 1,
    "maximumOverCapacity": 1
  },
  "unreachableStrategy": {
    "inactiveAfterSeconds": 300,
    "expungeAfterSeconds": 600
  },
  "killSelection": "YOUNGEST_FIRST",
  "portDefinitions": [
    {
      "port": 10000,
      "protocol": "tcp",
      "name": "default"
    }
  ],
  "requirePorts": true
}

The same app with cmd
while true; do echo 'blip' && sleep 10; done
starts showing logs after some time. Not sure it's a UI problem though

Looking into it. It looks to be a backend issue, so far. Will keep you updated

Update, this is a backend issue. Will keep posting on progress here.

Update: Logs issue has been fixed in the current frontend cluster, so you can test it out there and there is a fix up for the issue.


Implement Prometheus metrics for ScaledJob

Proposal
ScaledObject expose a bunch of Prometheus metrics, would be nice if we expose the same and metrics for ScaledJob as well.
https://keda.sh/docs/2.11/operate/prometheus/
Use-Case
No response
Is this a feature you are interested in implementing yourself?
Maybe
Anything else?
No response

@zroubalik Awesome. I appreciate it. Could you assign it to me?

Hi @zroubalik Thanks for giving this opportunity. I filed a PR(https://github.com/kedacore/keda/pull/4817). Please check when you are available. Thanks :)

Thank you!

Hi @zroubalik Could you please assign this issue to me.

Hi @zroubalik Could you please assign this issue to me.

@yoongon works on this at the moment

@zroubalik maybe you could suggest an issue for me to look into.


Deck.GL StaticMap viewState & ViewPort Problem

Hello, i'm using Superset with Deck.GL Components but currently im facing a problem with a StaticMap and more then one layer on it
the viewState gets updated with correct coordinates but the viewport will not update

the above red marked is the viewState and below the viewport.
I'm using Deck.Gl version 7.1.11
this is the React Code i used as a return
return React.createElement(React.Fragment, null, React.createElement("div", {
style: {
position: 'relative',
width,
height: adjustedHeight
}
}, React.createElement(DeckGL, {
initWebGLParameters: true,
controller: true,
width: width,
height: adjustedHeight,
layers: layers,
viewState: viewState,
onViewStateChange: this.onViewStateChange
}, React.createElement(StaticMap, {
mapStyle: this.props.mapStyle,
viewState: viewState,
mapboxApiAccessToken: this.props.mapboxApiAccessToken
})), children), React.createElement(Tooltip, {
tooltip: tooltip
}));
Thanks for any suggesstion

We are no longer maintaining v7.1. Is it possible for you to upgrade to v8 or at least 7.3?

I updated now to 8.1.1 still the same :) the viewport did not get rendered correctly


Backup speed getting worse after cleanup

I've been using attic backup for a month and a half now. I've been very happy with it, but I've got an issue. First the encrypted remote backups of 400G were taking around 1 hour on a 10Mbit line. Then I started cleaning up old archives from the repository (using attic delete -v -s repo:archive) and the backup times are a lot worse - today it was 8 hours.
Start time: Fri Jun 20 02:03:25 2014
End time: Fri Jun 20 10:12:38 2014
Duration: 8 hours 9 minutes 12.86 seconds
Number of files: 1168340
                   Original size      Compressed size    Deduplicated size

This archive:              414.77 GB            334.49 GB              2.14 GB
All archives:                4.58 TB              3.72 TB            272.92 GB

Here are the durations for the last 30 days:
1h 14m 51.72s
1h 2m 44.56s
1h 6m 26.34s
56m 43.38s
58m 20.30s
1h 4m 41.44s
1h 6m 17.06s
1h 36.73s
1h 47.97s
1h 2m 24.76s
2h 53m 0.03s
2h 16m 45.68s
2h 59m 45.16s
2h 47m 52.60s
2h 45m 16.81s
4h 23m 42.96s
2h 53m 50.14s
2h 15m 29.59s
2h 1m 28.54s
2h 56m 5.82s
5h 4m 34.30s
4h 54m 47.90s
7h 44m 42.41s
5h 44m 1.25s
6h 24m 26.47s
6h 1m 7.58s
7h 20m 30.36s
7h 33m 34.42s
8h 29m 44.88s
8h 9m 12.86s
The size of the changed data hasn't changed much - cca 2-3G/day:
Original size      Compressed size    Deduplicated size
This archive:              426.20 GB            347.28 GB              2.12 GB
This archive:              426.10 GB            347.16 GB              1.98 GB
This archive:              426.29 GB            347.25 GB              2.35 GB
This archive:              426.55 GB            347.46 GB              2.08 GB
This archive:              425.77 GB            346.65 GB              1.87 GB
This archive:              425.79 GB            346.67 GB              1.73 GB
This archive:              425.79 GB            346.67 GB              1.90 GB
This archive:              426.04 GB            346.84 GB              1.94 GB
This archive:              426.08 GB            346.82 GB              1.76 GB
This archive:              426.33 GB            347.05 GB              1.92 GB
This archive:              426.81 GB            347.41 GB              1.99 GB
This archive:              427.17 GB            347.70 GB              1.96 GB
This archive:              428.70 GB            349.23 GB              3.14 GB
This archive:              427.20 GB            347.72 GB              1.80 GB
This archive:              426.22 GB            346.61 GB            869.51 MB
This archive:              427.88 GB            348.10 GB              1.92 GB
This archive:              427.81 GB            348.01 GB              1.73 GB
This archive:              427.80 GB            347.92 GB              1.83 GB
This archive:              428.88 GB            348.85 GB              3.63 GB
This archive:              428.90 GB            348.86 GB              1.92 GB
This archive:              428.87 GB            348.83 GB              1.91 GB
This archive:              429.06 GB            348.92 GB              2.30 GB
This archive:              432.09 GB            351.84 GB              5.02 GB
This archive:              432.27 GB            351.98 GB              2.13 GB
This archive:              413.95 GB            333.78 GB              2.05 GB
This archive:              413.81 GB            333.76 GB              2.13 GB
This archive:              413.79 GB            333.74 GB              1.74 GB
This archive:              413.78 GB            333.71 GB              1.71 GB
This archive:              414.24 GB            334.04 GB              1.88 GB
This archive:              414.33 GB            334.11 GB              1.95 GB
This archive:              414.45 GB            334.23 GB              1.97 GB
This archive:              414.77 GB            334.49 GB              2.14 GB
Any ideas about what I could do?
I'm on attic v. 0.12.

please close (maybe open a new issue about the suggestion in last comment).


[ALLUXIO-2889] update a few Key's descriptions to PropertyKey.java

https://alluxio.atlassian.net/browse/ALLUXIO-2889
WORK_DIR
WORKER_TIERED_STORE_LEVEL0_ALIAS
WORKER_TIERED_STORE_LEVEL0_DIRS_PATH
WORKER_TIERED_STORE_LEVEL0_DIRS_QUOTA
WORKER_TIERED_STORE_LEVEL0_HIGH_WATERMARK_RATIO
WORKER_TIERED_STORE_LEVEL0_LOW_WATERMARK_RATIO

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16291/
Test PASSed.


allow :retry_delay to be a {&fun/1, initial}

Closes #115.

@srowley Thank you!
I thought we'd need to keep some state around to implement jitter but looking at your example we don't, which has been a huge help. I mean, if someone needs that level of flexibility we'd maybe revisit, but I think this is totally good enough.
If we do use jitter, I noticed that the initial delay never goes through jitter which felt a little bit awkward.
I decided to change the contract from {fn delay -> delay end, initial} to: fn retry_count -> delay end. The default delay is: &Integer.pow(2, &1) * 1000. @aleDsz previously suggested to me to use retry count as the argument so thank you Ale for that foresight.
I decide to also soft-deprecate passing static delay. Instead of retry_count: 1000 the user would do: retry_count: fn _ -> 1000 end which isn't too much hassle I think. But let's see how it goes in the wild before emitting a warning.


Image and ID preview not working on Twitter

When sharing a link on twitter, it would be much more attractive and informative to display an image thumbnail and the species id. See screen shot below.

...and I feel a little foolish for sharing a sad-looking link.
I think this used to work? Apparently I haven't tried in a few months, but it was working back in April. (see another screen shot of me trying to be an inaturalist evangelist while also tweeting about something else).

What's the observation URL?

http://www.inaturalist.org/observations/3667339
and
http://www.inaturalist.org/observations/3667342

And the twitter links: https://twitter.com/carrieseltzer/status/752932338045255680
https://twitter.com/carrieseltzer/status/752927904162574336

This happens when we have a photo without a file extension, and at the moment this is happening for all iPhone observations made with the last version or two. We're working on fixing that. However, this is kind of a more pervasive problem whenever we receive a photo with no file extension info, and we have a number of photos like that, mostly from the apps. Ensuring that they all get an appropriate extension requires consistent detection of the content type, and I'm not convinced that's happening on the server. Still not sure why, though...

Oh wow, I see what you mean. The images I've uploaded from my phone aren't showing ANY photo metadata on iNat. I downloaded the same image, added it to the observation, and re-ordered them so that one is first.
Uploaded from 2.6.13 build 338: http://www.inaturalist.org/photos/4246454
Downloaded and then uploaded on the website: http://www.inaturalist.org/photos/4252292
I'll use the workaround for the time being to only tweet out observations that I've uploaded on the website. Unfortunately, twitter doesn't seem to re-try the link (or maybe it just takes more time?).
Interestingly, images uploaded from the iOS app DO get previews in Facebook (but you have to paste it in twice because it never works the first time), but no taxonomic description.

Can you try the latest TestFlight release (2.6.14 build 239), Carrie? It should fix thumbnails on Twitter for new uploads from iOS. Fixing thumbnails for affected, previously uploaded photos

Metadata came through on pics, but pic still didn't appear on Twitter. Maybe there's a lag? I'll check later this afternoon

Taxonomic description also still not working on Facebook or Twitter.

Oops! Sorry! http://www.inaturalist.org/observations/3677025

Thanks @carrieseltzer
http://www.inaturalist.org/observations/3677025.json
Looks like the file extensions are in the thumbnail URLs, @kueda
What next?

You got me, one of the mysteries of twitter. I went to https://cards-dev.twitter.com/validator and the image showed up after I tried it a few times. I suspect that sometimes sites like twitter will just give up if they can't load the image fast enough, but of course, they also complain if they can't get an image that's big enough.

It's all working now, image and taxon. I think there's just a bit of a lag before twitter picks up the preview image for some reason. Facebook is a little bit like that in that it NEVER gets the image the first time a URL is pasted in so I know there's some kind of lag/caching there too. I think we can close this. Thank you!

This should be fixed. New photos added to the site are getting a file extension whether they like it or not, and the iPhone app has been updated to send photo data a bit more like it was before the recent change.


Feature request: unref() method

It would be cool if unref() was implemented:
https://nodejs.org/api/net.html#net_socket_unref

Sure, interested in sending a PR?
I saw your issue https://github.com/websockets/ws/issues/1031 so I think the main thing to watch out for is if the user calls socket.unref() before the underlying socket is ready. That would need to be queued until the socket becomes ready.

Sure, will do when I find some time!


GeneratePackageOnBuild doesn't work

Steps to reproduce
I created a web project on .NET Core 3.0, and set it's OutputType to Library:
Project file
<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <TargetFramework>netcoreapp3.0</TargetFramework>
    <LangVersion>8.0</LangVersion>
    <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
    <OutputType>Library</OutputType>

Expected  behavior
Generate a .nupkg file: $(ProjectDir)$(PackageOutputPath)$(PackageId).$(PackageVersion).nupkg
Actual behavior
No .nupkg file.
If I change the Sdk to "Microsoft.NET.Sdk.WindowsDesktop", it works fine.
Environment data
 dotnet.exe --version output:
3.0.100-preview-009812
OS info:
Windows 10
If applicable, version of the tool that invokes MSBuild (Visual Studio, dotnet CLI, etc):

This is likely some limitation or option on the web sdk that prevents this property from working. Moving this to the websdk repo for initial investigation.

This issue was moved to aspnet/websdk#477


Quasar has trouble resolving fields when variables are used

Ported from https://slamdata.atlassian.net/browse/SD-1864.
Problematic query:
mystate := "CO"; SELECT * from `/test-mount/testDb/zips` WHERE state = mystate

Error:
Quasar error: The expression 'state' is ambiguous and might refer to any of the tables ExprRelationAST((),mystate), TableRelationAST(FileIn(DirIn(Root,DirName(quasar-test)),FileName(zips)),None)

Temporary workaround:
mystate := "CO"; SELECT * from `/test-mount/testDb/zips` WHERE zips.state = mystate

@damonLL Just alerting you to the continued existence of this ticket - I just ported it over to github.

@jdegoes what is the priority level of this ticket? If qscript-related things are of higher priority (e.g. #1411) then this ticket would not make it in to 3.1.

Will bump to 3.2.


Creating Responsive Line and Bar charts with React and Semantic-ui

Creating Responsive Line and Bar charts with React and Semantic-ui
Introduction:
Graphic illustration is an essential form of content presentation in front-end web development. Line and bar charts may have various applications such as, to show statistics of user engagements, user growth, ratings, etc. React.js, semantic-ui and CSS can be used to generate various line and bar charts as we will discuss in this article.
Key Takeaways:
It is expected that at the completion of this article the reader will be equipped with the knowledge and necessary skill to understand and perform and the following:
i.	Installing and adding the semantic-ui dependency to your web project
ii.	Getting started with React functional components
iii.	Creating reusable components with React.js
iv.	Generating Line and Bar charts with React.js
v.	Styling the components with CSS and semantic-ui
References:
https://react.semantic-ui.com/elements/
Article quality
This article will walk the reader through the various steps required to generate line and bar charts from an array of numbers used as coordinates. The article will also teach the reader how to create a reusable chart component. Using semantic UI design libraries in creating charts is a unique concept that will be discussed in-depth.

Hi, @FredBenson. Please fill in the Article Quality section I've just readded to your topic suggestion form so we can adequately review your topic.

@louisefindlay23
Done Ma'am. Thank you


Code review

@josephramsay. As discussed, once you've incorporated the fix from the table_version function and got it working again. We will do a code review with @imincik and discuss any improvements that could be made.

@josephramsay, as part of that can you make sure you update all the outstanding issues with current progress please.

@billgeo , Joe listens only for @jrlinz . This is his LINZ account for GitHub.

table_version workaround by using psycopg2

@imincik should this be closed and moved to review of the new repo ?

I don't know.
@billgeo , @jrlinz - do you remember what this issue is about ? At this time PR where not used.

There is no real commit from year 2016 in master branch.

I think we can close this. This was to do a code review after Joe made some changes which were done in the new repo I think.


Programmatically show/hide slideable content

What is the best way to programmatically show/hide the slideable content from a controller/service?
I'd like to avoid something like $('#toggle-slide').click()

I've been searching for a way to do this too, it would be great if I could toggle from within the controller etc

Hi!
I've made some changes that allow that behavior. But, as I'm new to AngularJS, I don't know if that is correct.
I've created an attribute sl-expanded-model to bind a watch to a bool.
Html:

Directive:
.directive('slideable', function () {
            return {
                restrict: 'C',

                // added new attribute to scope:
                scope: {
                    slExpandedModel: '='
                },

                compile: function (element, attr) {
                    // wrap tag
                    var contents = element.html();
                    element.html('
' + contents + '
');

                    return function postLink(scope, element, attrs) {
                        // default properties
                        attrs.duration = (!attrs.duration) ? '1s' : attrs.duration;
                        attrs.easing = (!attrs.easing) ? 'ease-in-out' : attrs.easing;
                        element.css({
                            'overflow': 'hidden',
                            'height': '0px',
                            'transitionProperty': 'height',
                            'transitionDuration': attrs.duration,
                            'transitionTimingFunction': attrs.easing
                        });

                        var target, content;

                        // added a watch to the new attribute and expanded/collapsed according to its value:
                        scope.$watch('slExpandedModel', function (expanded) {
                            if (angular.isUndefined(expanded)) {
                                expanded = false;
                            }

                            if (!target) target = element[0];
                            if (!content) content = target.querySelector('.slideable_content');

                            if (expanded) {
                                content.style.border = '1px solid rgba(0,0,0,0)';
                                var y = content.clientHeight;
                                content.style.border = 0;
                                target.style.height = y + 'px';
                            } else {
                                target.style.height = '0px';
                            }
                        }, true);
                    };
                }
            };
        })

Now my div expands and collapses when I change card.isExpanded from the controller.
The second directive (slideToggle) became useless in my case. The div itself knows if it should slide or not. I don't know if that's ok, specially regarding performance. But maybe it can help someone.

This works great! Good job


Switch from keep_dims to keepdims

This is a fix for issue #8742. Parameter "keep_dims" is deprecated by Tensorflow and "keepdims" should be used instead (as mentioned here). This is effective starting from Tensorflow v1.5. Without this fix, I get warnings like
WARNING:tensorflow:From <path>/keras/keras/backend/tensorflow_backend.py:1272: calling reduce_prod (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
Instructions for updating:
keep_dims is deprecated, use keepdims instead

Such a change should be made in a way that's backwards-compatible:

should keep working with previous versions of TF
previous Keras backend API should keep working

Done. The change is now backward compatible with previous versions of TF and the tests are passing.

I'm getting this warning at tensorflow version 1.5.0. Manual adding the condition will overcome it.
Hope, it will be managed automatically while upgrading tensorflow for the next available version.

Include this line in your code. It will ignore the error.
tf.logging.set_verbosity(tf.logging.ERROR)


Does this library support the web3 model?

I tried to run a dapp example app, but it only shows a QR code(like below ss). Is there any way I can implement the web3 model using this library?

@nileshrathore
If you need something to play with today - feel free to leverage this example app I am writing for a Flutter Web3 class.   It at least can give you some idea what it would take to roll your own.  ;-)
https://gitlab.com/graflr/flutter_web3_demo
Note the above  it is not an official plugin or example.  There is no implied sustaining or support on the code.  That said, I will keep it running while I am teaching the class.


Switch to -moz-window-titlebar?

Hey, just a heads-up. I just realized that this is going to break with the changes in https://bugzilla.mozilla.org/show_bug.cgi?id=1891300 (because appearance: menupopup won't do what you want anymore unless you apply it to a popup).
But:

I've been working on a more native-looking theme (currently default on nightly with browser.theme.macos.native-theme=true).
If you want a similar effect to what menupopup gave you, you can use appearance: -moz-window-titlebar. The default appearance uses the within-window appearance, but you can get behind-window blending with widget.macos.titlebar-blend-mode.behind-window (and a restart).

Cheers,

Thanks for the heads up! I just tested with the Nightly version and your suggestions work perfectly.
When these changes from Nightly get to the Release version I'll be sure to update the stylesheet as you suggested.
BTW It's also nice to see Firefox finally gets the macOS wallpaper window tint colors in as well — do you think there's a chance the tints will be applied globally across other UI background colors (URL toolbar, tab bg etc..) as well in the coming future? Would be nice if the tint color be accessible as CSS variable or as some other internal form so that colors can be mixed for use in UI.

do you think there's a chance the tints will be applied globally across other UI background colors (URL toolbar, tab bg etc..) as well in the coming future? Would be nice if the tint color be accessible as CSS variable or as some other internal form so that colors can be mixed for use in UI

That'd be nice, but at least I'm not aware of a way of extracting the tint color for non-native usage like that. E.g., these colors are exposed via e.g. the Window system color, but they don't include tinting when you read the colors out afaict.

Now that Firefox 126 has dropped any chance in getting these updates deployed? My tab bar is looking awfully opaque. :)

Applied changes in 4a2a2b81cc48233ceba1c7e52819b70baccb0bb6 !
Thanks! :)


Installation

I want to know if SEED RL can be installed without docker ???
Any help is greatly appreciated.
Thank you

That should be possible assuming you install the components being installed in docker. That said, it seems like some have issues. You can follow https://github.com/google-research/seed_rl/issues/11 .


LiveReload injection snippet for custom output type is hardcoded to <IP_ADDRESS>

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.92.1-85E2E862+extended linux/amd64 BuildDate=2022-01-27T11:44:41Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?
Yes
I recently started using custom output formats and I noticed that the LiveReload injection snippet is different from the snippet used otherwise. I suspect it may be a little outdated and it doesn't acknowledge the server configuration.
This is what I get appended to the <body> tag when using a custom output format.
<script src="http://<IP_ADDRESS>:35729/livereload.js?ext=Chrome&extver=2.1.0"></script>

This is what I get prepended to the <head> tag while using the default (html) output format.
<script src="/livereload.js?mindelay=10&v=2&port=80&path=livereload" data-no-instant="" defer=""></script>

I serve hugo inside a VM like this so naturally the <IP_ADDRESS> address is not what I want.
sudo hugo server --bind <IP_ADDRESS> --port 80

and my config/_default/config.toml is
[outputFormats]
[outputFormats.Portrait]
baseName = "portrait"
mediaType = "text/html"

I would expect the LiveReload functionality for custom output formats to use the same snippet that default output format is using.

This:
<script src="http://<IP_ADDRESS>:35729/livereload.js?ext=Chrome&extver=2.1.0"></script>

is not added by Hugo.

@jmooring You're right, my bad. It appears that was added by the LiveReload extension that I am using for Google Chrome. The extension seems to be adding the script tag if it can't find one already existing.
That clears a bit of confusion and the issue is actually about the script tag not getting injected at all when using a custom output format.

@domolicious Please update the issue title and description.

@domolicious
The livereload snipped is injected for output formats where isHTML is true. By default, this value is false. This will do what you want:
[outputFormats]
[outputFormats.Portrait]
baseName = "portrait"
mediaType = "text/html"
isHTML = true

Try it:
git clone --single-branch -b hugo-github-issue-9493 https://github.com/jmooring/hugo-testing hugo-github-issue-9493
cd hugo-github-issue-9493
hugo server --renderToDisk

Ctrl+C

grep livereload public/index.html
grep livereload public/potrait.html

@jmooring That's it!
Adding isHTML = true solves the issue. Thank you for taking the time to help me.
(You closed the issue so I will not update title and description)


Duplicate zerovec dependency causing compilation error

It doesn't happen when running the examples in the repo because the Cargo.lock file pins older versions. Running cargo update from this project's root and then running the examples causes the error.
error[E0308]: mismatched types
   --> crates/runtime/src/pluralization/icu/plurals/ordinal_v1/uk.rs.data:1:159
    |
1   | ... { :: zerovec :: VarZeroVec :: from_bytes_unchecked (b"\x02\0\0\0\0\0\r\0\xC0\n\0\0\0\x03\0\0\0\x03\0\0\0\x80d\0\0\0\r\0\0\0\r\0\0\0") } ...
    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `VarZeroVec<'_, RelationULE>`, found `VarZeroVec<'_, _, _>`
    |
    = note: `VarZeroVec<'_, _, _>` and `VarZeroVec<'_, RelationULE>` have similar names, but are actually distinct types
note: `VarZeroVec<'_, _, _>` is defined in crate `zerovec`
   --> /home/paul/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zerovec-0.9.6/src/varzerovec/vec.rs:148:1
    |
148 | pub enum VarZeroVec<'a, T: ?Sized, F = Index16> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
note: `VarZeroVec<'_, RelationULE>` is defined in crate `zerovec`
   --> /home/paul/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zerovec-0.10.0/src/varzerovec/vec.rs:148:1
    |
148 | pub enum VarZeroVec<'a, T: ?Sized, F = Index16> {
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    = note: perhaps two different versions of crate `zerovec` are being used?

Looks like a really cool project, looking forward to trying it!

Looks related: https://github.com/unicode-org/icu4x/discussions/4093

Hi! I'm from the icu4x team. tl;dr, I believe your fix is to update your lockfile to icu4x 1.3 and re-generate your baked data (crates/runtime/src/pluralization/icu).
You are encountering a semver hazard because you are using unstable constructors (this is why they are called unstable):
https://github.com/yarn-slinger/yarn-slinger/blob/main/crates/runtime/src/pluralization.rs#L39
You may be interested in using ICU4X 1.3's new compiled data constructors. You can switch PluralRules::try_new_unstable to PluralRules::try_new and use built-in ICU4X data. Doing this should make your integration process easier at the cost of less control over the provenance of your data.

@sffc thanks for the info! I'll check your solution when I find the time :)


Add support for subscription key for Text Analytics client

Investigate if we need a simple subscription key and endpoint, creation for Text analytics client.
Also, the client needs to handle the rotation of the subscriptions key for the user?

@mssfang good to close this?

Yes. Closed


Add Blogtrottr as newsletter provider

Issue
Might be related to issue  #35 (Newsletter functionality), although already solved
Description
Hi! I was thinking of adding blogtrottr support to the theme's newsletter functionality, so that the default box works and is not just a dummy form. Blogtrottr is an RSS -> email service that automatically scans an RSS feed in search of updates from time to time and sends these updates in the form of an email to the user. As it works out of the box, it wouldnt need to get configured to get going, as is necessary, for example, with mailchimp.
Of course, it could be added as just another option by adding an else if statement; I just thought it was neater this way.
Test Evidence

At work on my personal website. As it is not live, no feed is detected (localhost only as I used absLangURL). Note that you can subscribe to a different feed for each language in the website

@MarionMoseby I love this change! Awesome work!


PHP Short Echo Tags

Before I start: love the plugin, super useful!
Is it possible to add an empty tag rule in settings to stop it trying to autocomplete the short open tags that all the cool kids are using these days? i.e.
`

`
I tried adding ?= in settings but I can see why that didn't work :)

What exactly is the syntax for the type of tag you're using?
Do you just need it to ignore tags that start with ?=?

Yeah I think that's right. If the previous tag started with <?=, don't bother trying to close it

Do they always end in ?> or just >?

Always ?>

Ok here is a very brittle temporary solution, kind of a preview of the custom parsers feature.
Put this code into your init script. It will register a custom parser that simply skips any <?= ?> tag.
This could break with any update, but I plan on releasing an "official" way of doing this soon. This is just a hack.
subscription = atom.packages.onDidActivatePackage (pkg) ->
  if pkg.name is "less-than-slash"
    pkg.mainModule.parsers.unshift {
      name: "<?="
      trigger: null
      test: /^<\?=.*?\?>/
      parse: (text) ->
        {
          type: @name
          selfClosing: true
          length: text.match(@test)[0].length
        }
      getPair: null
    }
    console.warn "Activated hack less-than-slash parser for <?= ?> tags. This could break at any time"

@entozoon tell me if it works for you

Dude that's 110% perfect, I'll close the issue and look forward to the new feature update :)
Thanks so much, made my life a lot easier!


faster Pipeline Jenkins, by merging Check- and Build-Stage

This PR is connected with the issue #241. I created this PR to test the created Pipeline on our Jenkins instance. So for now it isn't ready to merge.

[x] References to issues, e.g. close #X, are in the commit messages.
[x] The buildserver is happy.
[x] The PR is rebased with current master.

Checklist

[ ] I fully described what my PR does in the documentation
(not in the PR description)
[ ] I fixed all affected documentation
[ ] I fixed all affected decisions
[ ] I added unit tests for my code
[ ] I added code comments, logging, and assertions as appropriate
[ ] I translated all strings visible to the user
[ ] I mentioned every code or binary not directly written or done by me in reuse syntax
[ ] I created left-over issues for things that are still to be done
[ ] Code is conforming to our Architecture
[ ] Code is conforming to our Guidelines
(exceptions are documented)
[ ] Code is consistent to our Design Decisions

Review

[ ] I've tested the code
[ ] I've read through the whole code
[ ] Examples are well chosen and understandable

pls rebase onto latest master 😺

@lukashartl I think this Pipeline runs now faster, because there are less dependencies loaded twice. Maybe you could review my changes?

The time improvement is due to the onetime build of the docker image and the cached build dep in the docker image. So we don't have to do some tasks twice, like downloading deps.

We should merge this asap, I've put the urgent label.


add inclination support for shooter component

This is the code I ran on the robot and made the thing work with. Let me know if there are touch ups required though


[stable/nfs-server-provisioner] POD can't mount existing PV

Describe the bug: After redeploy POD can't mount existing PV
Version of Helm and Kubernetes: v1.17.13-gke.2001 Helm3
Which chart: stable/nfs-server-provisioner:1.1.3
What happened:
After re-deploy of my app I'v got an error below:
Unable to attach or mount volumes: unmounted volumes=[grids-exports-tempfiles]
POD stuck in "ContainerCreating" status:
kgpo -lapp=rc12wb-griddemoservice
NAME                                         READY   STATUS              RESTARTS   AGE
rc12wb-griddemoservice-79b74f646c-6cwn4      1/1     Running             0          4d3h
rc12wb-griddemoservice-db-initialize-pqrgn   0/1     Completed           0          4d12h
rc12wb-griddemoservice-db-migrate-lpp7h      0/1     ContainerCreating   0          47m

but "describe" of my PVC sad, that POD rc12wb-griddemoservice-db-migrate-lpp7h already mounted:
kd pvc grids-exports-tempfiles
Name:          grids-exports-tempfiles
Namespace:     thor-rc12wb
StorageClass:  nfs
Status:        Bound
Volume:        pvc-2077288e-1660-4d1c-b075-0c59d1fbbcc1
Labels:        <none>
Annotations:   kubectl.kubernetes.io/last-applied-configuration:
                 {"apiVersion":"v1","kind":"PersistentVolumeClaim","metadata":{"annotations":{},"name":"grids-exports-tempfiles","namespace":"thor-rc12wb"}...
               pv.kubernetes.io/bind-completed: yes
               pv.kubernetes.io/bound-by-controller: yes
               volume.beta.kubernetes.io/storage-provisioner: cluster.local/nfs-server-nfs-server-provisioner
Finalizers:    [kubernetes.io/pvc-protection]
Capacity:      1Gi
Access Modes:  RWX
VolumeMode:    Filesystem
Mounted By:    rc12wb-griddemoservice-79b74f646c-6cwn4
               rc12wb-griddemoservice-db-initialize-pqrgn
               rc12wb-griddemoservice-db-migrate-lpp7h
               rc12wb-legacy-grids-665f4f4898-q64qb
               rc12wb-legacygrids-6b59cf9cb8-9hrnm
Events:        <none>

Any suppose why it happened?

Same Issue here, did you find a solution?
In my case, I think it is related to having multiple nodes...

Unfortunately no.  My workaround is using nfs-client-provisioner with external VM as a NFS server


How to download whole yt channel without foreign videos?

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

Previously (before 2020.11.12 version) when I'd like to download all videos from channel I just used youtube-dl <channel_url> syntax. It downloaded all videos that was owned by channel owner.  Currently when channel has a playlist that contains videos from other owners they are downloaded as well. Was something changed in this area? I cannot use older version because there's a "0 videos downloaded" warning and nothing happens. How can I download a whole channel without foreign videos?

youtube-dl --playlist-items_spec
more info - https://askubuntu.com/questions/857265/how-to-download-playalist-except-certain-videos-in-youtube-dl

use the videos tab URL.


Issue 704: Adds client json tests

I've been working on building out these tests for Issue #704  and had a couple questions:

There are cli endpoints for get and search callset, but it looks like these methods haven't been implemented on the local file backend. Are there plans to support this? I added a skipped unit tests for each, but these can be removed if it won't be supported

There is currently no cli call for variantsets-get. Again added a skipped unit test.

A few of the api calls take long enough that the system time is different between the interal api call and the call via the cli. This causes issues when comparing "updated" timestamps in the response object. The way I've dealt with this in the past is to use something like freezegun. I added this as a dependency, but if you have a better way to address this let me know.

I'm not really sure of the best way to test the get/search variant endpoints. Right now start, end, and referenceName are hard coded. This does pick up some variants, so it does test the output, but it's far from complete and wouldn't be robust if the test data is swapped out. I just didn't see a way to get the extents of the data or reference name since the referenceId attribute is empty on the test variant sets.

Thanks for this @andrewjesaitis,  the tests look great and you're digging up some important stuff. To answer your questions:

Looks like we forgot these then! Maybe you could open an issue on this, and follow up  with a PR filling in the gaps?

Likewise here.

Sounds like an excellent idea.

This is a tricky problem, but I'm not sure we can do much about it right now. I think the best solution is to keep things as they are, but to make sure that the asserts are called at least once. (See the inline comments)

Thanks for the feedback. I think I got all the changes you suggested. Let me know if you see anything else.

Perfect, thanks @andrewjesaitis.
+1.

Sorry, @andrewjesaitis, this branch is out of date with master and github won't let me merge it. Can you rebase off upstream/master again please?

No problem @jeromekelleher. Just pushed.

Merged; thanks again @andrewjesaitis, filling out these tests is exposing some important gaps!


Running aws lambda with TitanDb and DynamoDB as a backend

This is more of a question rather than an issue, but I just wanted to know whether it's a requriement to run a gremlin server inorder to use DynamoDB as a backend. It would seem that after playing around with things that you only need to configure your TitanGraph instance to reference an endpoint and backend to DynamoDB. This suggests that I can directly update and query my graph backend through each lambda invocation by simply instantiating a graph instance.
My thoughts was that I could create my backend graph structure once and then let my lambdas populate and query the graph database. Is that reasonable use case for TitanDB and DynamoDB as a backend? Running a fleet of gremlin servers to handle querying and updating the graph database seems like a lot of overhead.

You're right this is not an issue and should of been raised in a forum or as stackoverflow question.
The simple answer is Gremlin server is not required. If your programming language is Java (or a JVM language) you can use Titan as a library and point it directly at the storage backend.

Thank you for the reply, will raise questions on stack overflow instead.

@SundeepK Hey Sundeep, were you able to set up and update TitanDB via Lambda?

@GreyEcologist I haven't got around to doing that yet so I don't know how well it performs. I'm still evaluating whether Titan is a good choice for our use case. But I don't see any immediate problems with using AWS Lambda with TitanDB. Will update you if I set this up.

@SundeepK @GreyEcologist, Have either of you played with TitanDB in Lambda yet? I'm interested in trying it out, but theres little to no information on setting it up or how well it runs.

Hi all any further updates on this?  I too would like to see an example of APIGateway -> Lambda -> TitanDB according to best practices.  Would be a great blogpost.
Actually wish AWS offered this as as service - properly integrated into DynamoDB so no servers to manage / scale.  How cool would that be

Any update on this ?

Currently, serving requests out of Gremlin Server + JanusGraph in would require a few changes to the JanusGraph core to make it start up faster. Also, would have to figure out a way of reusing a pool of UNIQUE_MACHINE_IDs so that you do not run out of ids in your id pool, as you get an id lease each time JanusGraph starts up. Perhaps a good first step would be to create this as an issue on the JanusGraph project. At the same time, the DynamoDB storage backend could also add configuration to make its bit start faster as well. For example, the ensureStore logic could be skipped if you set a configuration option.

Is there any option to run Titan Graph database over DynamoDb without Gremlin server. Trying to avoid using EC2 only using AWS lambda ?

You can use JanusGraph without Gremlin server. Just depend on dynamodb-janusgraph-storage-backend as a library in your Lambda package.

I was able to deploy TitanDB (haven't tried JanusDB yet) as an AWS Lambda for my project and the only issue I have so far is cold boot start times when configuring it to use a built-in ES index. I'm in the process of changing the configuration to use a separate AWS ES cluster to see how well it performs and if still not satisfactory I'll try the tips offered here to bypass the Gremlin server. What I'm wondering is would you be able to query the graph using the gremlin-java API or would need to go lower level to issue queries against the graph?

It looks like TitanDB wants to talk to ES using some sort of raw protocol on port 9200 and when I point it to AWS ES's HTTP/S ports it barks. I don't think AWS ES exposes the raw protocol to external consumers, is there a way to configure Titan/Janus to use the HTTP/S interface exposed by AWS ES?

Ok, I got to the conclusion that the titan-es module used by Titan to communicate with ES only supports Transport and Node Clients which talk over raw TCP over ports 9200 and 9300. Since the "supported" REST Client doesn't conform to the same interface as the other 2 clients (ie: doesn't inherit from AbstractClient), it'd require quite a bit of changes to the Titan-Elasticsearch backend to use the REST client to talk to AWS ES exposed API on ports 80/443.
I'm gonna experiment forking titan-es and add in a 3rd client option: HTTP (instead of REST) using an alternative HTTP/REST Client I found that maintains compatibility with the Transport/Node clients and see what happens.

Apparently the JanusGraph-ES module already supports this :\ so moving from Titan to JanusGraph became a higher priority for me now.

I want to run Janusgraph without the Gremlin server (hoping to speed up the Lambda function). @amcp - I understand that I can just depend on the dynamodb-janusgraph-storage-backend library once I have everything booted up,  (and just use Java code) but it seems that the problem is starting up the Gremlin sever in the first place. @robertoandrade do you have any suggestions on how to bypass starting up the Gremlin server?


Support different pre-processing for different images

My team and I have a use-case of CoreML in which it's necessary to use multiple image inputs that all need different pre-processing. CoreML supports this, but the converter does not.
Can support for this be added?

PR #321 should hopefully fix this issue.

Please reopen the issue if PR #331 did not resolve it.


Segfault

The relevant bits. Will update if it happens again... Don't think we're doing anything racy
/usr/local/bundle/gems/rest-client-2.0.0/lib/restclient/utils.rb:55: [BUG] Segmentation fault at 0x00000000000090
/usr/local/bundle/gems/rest-client-2.0.0/lib/restclient/utils.rb:55:in `_cgi_parseparam'

This is hitting at https://github.com/rest-client/rest-client/blob/v2.0.0/lib/restclient/utils.rb#L55 ?
Is it reproducible? This seems more like a C extension null pointer dereference than anything directly to do with rest-client.

Closing, but feel free to reopen with more info.

I isolated the API where rest-client is used in one of our applications.
This is Rails 4.2 with Puma running on Ruby 2.3.3p222. We also had issues on Ruby 2.3.2
[root@ip-10-142-164-45 ec2-user]# journalctl -u switch | grep Segmen
Feb 26 19:22:16 client.com docker[29205]: /usr/local/bundle/gems/rest-client-2.0.0/lib/restclient/utils.rb:54: [BUG] Segmentation fault at 0x000000000000a0
Feb 26 23:55:36 client.com docker[22880]: /usr/local/bundle/gems/rest-client-2.0.0/lib/restclient/utils.rb:55: [BUG] Segmentation fault at 0x000000000000b0
Feb 27 07:40:58 client.com docker[27738]: /usr/local/bundle/gems/rest-client-2.0.0/lib/restclient/utils.rb:44: [BUG] Segmentation fault at 0x00000000000088
Feb 27 08:13:55 client.com docker[11493]: /usr/local/bundle/gems/rest-client-2.0.0/lib/restclient/utils.rb:43: [BUG] Segmentation fault at 0x00000000000090

The issue happens at random intervals. So can't reproduce it reliably.
Basically I have two observations:

The segmentation fault occurs only in Rest Client
Its probably a ruby bug

I'm not sure what the solution is, however maybe a small refactor of code will prevent triggering the bug?
Feb 27 08:13:55 client.com docker[11493]: /usr/local/bundle/gems/rest-client-2.0.0/lib/restclient/utils.rb:43: [BUG] Segmentation fault at 0x00000000000090
Feb 27 08:13:55 client.com docker[11493]: ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux]
Feb 27 08:13:55 client.com docker[11493]: -- Control frame information -----------------------------------------------
Feb 27 08:13:55 client.com docker[11493]: c:0005 p:---- s:0016 e:000015 CFUNC  :[]
Feb 27 08:13:55 client.com docker[11493]: c:0004 p:0208 s:0012 e:000011 METHOD /usr/local/bundle/gems/rest-client-2.0.0/lib/restclient/utils.rb:43 [FINISH]
Feb 27 08:13:55 client.com docker[11493]: c:0003 p:---- s:0006 e:000005 CFUNC  :each
Feb 27 08:13:55 client.com docker[11493]: c:0002 p:---- s:0004 e:000003 IFUNC
Feb 27 08:13:55 client.com docker[11493]: c:0001 p:---- s:0002 e:000001 (none) [FINISH]
Feb 27 08:13:55 client.com docker[11493]: -- Ruby level backtrace information ----------------------------------------
Feb 27 08:13:55 client.com docker[11493]: /usr/local/bundle/bin/app:0:in `each'
Feb 27 08:13:55 client.com docker[11493]: /usr/local/bundle/gems/rest-client-2.0.0/lib/restclient/utils.rb:43:in `_cgi_parseparam'
Feb 27 08:13:55 client.com docker[11493]: /usr/local/bundle/gems/rest-client-2.0.0/lib/restclient/utils.rb:43:in `[]'
Feb 27 08:13:55 client.com docker[11493]: -- Machine register context ------------------------------------------------
Feb 27 08:13:55 client.com docker[11493]: RIP: 0x00007f81d1a54f69 RBP: 0x00007f81b81edcc0 RSP: 0x00007f81b6b34d60
Feb 27 08:13:55 client.com docker[11493]: RAX: 0x00000000000005c0 RBX: 0x000000000171aad0 RCX: 0x0000000000000038
Feb 27 08:13:55 client.com docker[11493]: RDX: 0x00000000000000b8 RDI: 0x000000000171aad0 RSI: 0x0000000000000010
Feb 27 08:13:55 client.com docker[11493]: R8: 0x00007f81c3c0f4c8  R9: 0x0000000000000040 R10: 0x000000000171aad0
Feb 27 08:13:55 client.com docker[11493]: R11: 0x0000000000000206 R12: 0x0000000000000010 R13: 0x0000000001723ef8
Feb 27 08:13:55 client.com docker[11493]: R14: 0x00007f81b81ec000 R15: 0x0000000000000000 EFL: 0x0000000000010202
Feb 27 08:13:55 client.com docker[11493]: -- C level backtrace information -------------------------------------------
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(rb_vm_bugreport+0x4ea) [0x7f81d1ba905a] vm_dump.c:692
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(rb_bug_context+0xd4) [0x7f81d1a30f44] error.c:435
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(sigsegv+0x3e) [0x7f81d1b1157e] signal.c:890
Feb 27 08:13:55 client.com docker[11493]: /lib/x86_64-linux-gnu/libpthread.so.0 [0x7f81d17a4890]
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(gc_mark_ptr+0x69) [0x7f81d1a54f69] gc.c:1067
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(rb_thread_mark+0x315) [0x7f81d1b8b6b5] vm.c:2245
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(gc_marks_rest+0x10d) [0x7f81d1a58d0d] gc.c:4534
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(gc_start.part.63+0x515) [0x7f81d1a593a5] gc.c:5457
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(heap_get_freeobj_from_next_freepage+0xdf) [0x7f81d1a5af7f] gc.c:1633
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(newobj_slowpath_wb_protected+0x80) [0x7f81d1a5b3f0] gc.c:1679
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(rb_str_new_with_class+0x3a) [0x7f81d1b2590a] string.c:635
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(rb_str_substr+0x7b) [0x7f81d1b310fb] string.c:2292
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(rb_str_aref_m+0x39) [0x7f81d1b31269] string.c:3952
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(vm_call_cfunc+0xf7) [0x7f81d1b90067] vm_insnhelper.c:1642
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(vm_exec_core+0x3228) [0x7f81d1b9ba18] insns.def:1859
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(vm_exec+0x86) [0x7f81d1b9e5f6] vm.c:1650
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(rb_call0+0x1b3) [0x7f81d1ba40b3] vm_eval.c:61
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(rb_iterate0+0xbd) [0x7f81d1b92c9d] vm_eval.c:1174
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(rb_block_call+0x2b) [0x7f81d1b92e3b] vm_eval.c:1237
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(vm_call0_body.constprop.115+0x297) [0x7f81d1ba35b7] vm_eval.c:131
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(rb_call0+0x1b3) [0x7f81d1ba40b3] vm_eval.c:61
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(rb_iterate0+0xbd) [0x7f81d1b92c9d] vm_eval.c:1174
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(rb_block_call+0x2b) [0x7f81d1b92e3b] vm_eval.c:1237
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(next_i+0x4c) [0x7f81d1a2cb4c] enumerator.c:625
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(vm_yield_with_cfunc+0x116) [0x7f81d1b94d46] vm_insnhelper.c:2338
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(invoke_block_from_c_0+0x234) [0x7f81d1b9f404] vm.c:979
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(vm_invoke_proc+0xc3) [0x7f81d1b9f543] vm.c:996
Feb 27 08:13:55 client.com docker[11493]: /usr/local/lib/libruby.so.2.3(rb_fiber_start+0x139) [0x7f81d1bbfa29] cont.c:1286
Feb 27 08:13:55 client.com docker[11493]: /lib/x86_64-linux-gnu/libc.so.6 [0x7f81d0cf3f00]

So we just commented out the line:
https://github.com/rest-client/rest-client/blob/5269c842b83404293642106ffe98c23f98460e78/lib/restclient/response.rb#L45
The service we are communicating with always responds with UTF8 - and now no more seg-faults

Hmm, random intervals? Do you have the ability to get a packet capture of the traffic that resulted in a segfault?

The address of the segfault smells like a null pointer dereference in Ruby MRI. Those segfaults appear to be from a few different line numbers, all in _cgi_parseparam().
Do they all have CFUNC  :[], or are there other C functions involved? Seems pretty bad for there to be a segfault inside String#[].

To me it looks like a use after free, where the garbage collector has cleaned up something that is still referenced.
So in my opinion, the reason the issue occurs randomly is that it only occurs when GC happens to run and all the segfaults have identical back traces, so GC is being triggered in the same spot each time and all at CFUNC :[] - The higher the load the more common the occurrence.
The difference between my initial post utils.rb:55 vs utils.rb:43 was that we tried upgrading ruby - 2.3.0 vs 2.3.3 respectively, however the location of the fault and the backtraces were consistent.

Hello, sorry if commenting on this old issue is a GitHub snafu- I'm pretty new to this. I'm using 2.0.2 in a Rails 5.2.2 app and getting a segfault on the exact line mentioned here, and commenting out the line @stakach mentioned resolved the issue. Here's what I caught with byebug:
[50, 59] in C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/rest-client-2.0.2-x64-mingw32/lib/restclient/utils.rb
   50:         end
   51:         if ends.nil?
   52:           ends = s.length
   53:         end
   54:         f = s[0...ends]
=> 55:         yield f.strip
   56:         s = s[ends..-1]
   57:       end
   58:       nil
   59:     end
(byebug)
Segmentation fault

I'm attempting to render the result of a web service using render_async, here's the controller action that render_async is calling:
def article_list
    delivery_client = Delivery::DeliveryClient.new project_id: PROJECT_ID
    @response = delivery_client.items.execute
    render :partial => "article_list"
  end

The execute method calls rest-client and returns the response. Again, it worked after I commented out line 45 in rest-client/lib/restclient/response.rb. If you have any ideas of where I can look to provide more information please let me know.


Axios needs to be updated to 1.6

Brief bug description
One of the package dependencies has a vulnerability
What went wrong?
Axios needs to be upgraded from 1.4 to 1.6
Repro steps
Install the latest version of the sdk using NPM. Use "npm audit" to see the report
Expected behavior
No vulnerabilites are shown on npm audit
Test environment
N/A
Additional context
N/A
Screenshots
N/A

Fixed and will be released later Today.


qemu: add support for JACK audio

Motivation for this change
I want to use JACK for audio. This allows adding the support that came in qemu 5.1.0 for using JACK for guest audio playback as described here: https://forum.level1techs.com/t/qemu-native-jack-audio-support/156494
I'm still building, but I'd like to get the PR open now.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Builds happily for me, just wonder how people will feel about the ever increasing closure size of the default-built qemu.

Builds happily for me, looks sensible to me, just wonder how people will feel about the ever increasing closure size of the default-built qemu.

People concerned with this could use qemuMinimal or we move features which you rarely need to off by default or qemuFull.

Look up how to use a checkout (in this case @cstrahan 's 63fbef3bda14797bb44375482a17fee770a069f5) from a git repo as your nixpkgs.
But for broader appeal we should look at merging this, though I think we should consider enabling it just for qemu_full.

merge conflicts :(

Superceded by #151233


Remove CMD_LINE_ARGS in bat script to avoid leaking credentials

The windows startup script leaks CMD_LINE_ARGS into environment variable,
now we remove it.
The windows98/Me handling code is also removed.

@bot-gradle test QF

OK, I've already triggered QuickFeedback build for you.

@bot-gradle test QF

OK, I've already triggered QuickFeedback build for you.

@big-guy do you still want to take a look?

Cherry-picked to release.


How do I run unit tests?

I want to run unit tests, but I have encountered the following problem:
Can't find LocalRepository iModelUnitTestData
PartFile not found upack\csmap_workspaces.PartFile.xml
Can you provide any solutions to resolve it?

We don't currently provide build tooling support for the code in this repository.


Install paths

I had to install to a totally different location than the one mentioned in the readme file.
My zray extensions go in
ZendServer/data/zray/extensions/Joomla

This is using zend locally on a Windows machine, so may help others trying to install. It just took me a while to find it again to update.
Thanks for creating it, very useful!

@robwent That's because you are using Zend Server 8. The extension you are using (we now call them plugins) has been upgraded to suit the coming release of a new version - Zend Server 8.5. @jissereitsma perhaps a short note should be added in the readme?

@DanielBerman you beat me to it :)
The README has now been updated to mention the various ZS versions.
Release for Zend Server 8.0 is here:
https://github.com/yireo/Z-Ray-Joomla/releases

sorry, extensions is a Joomla habit!


App exits with StopIteration when attempting to read an empty file

This occurs in v6.0.0 Beta 2 and 3.

Fixed in this commit, which is included in the v6.0.0 Beta 4 release.


Any way to support multi  ?

Hello, is  there a way to use multi from fastest-validator ? (search return nothing, so I think no) .

Hello, sorry for the late response.
There's no decorator Multi. But you could implement Multi using the @Field decorator.
@Schema({ strict: true })
class Test {
        @Field({
        type: "multi",
        rules: [
          { type: "boolean" },
          { type: "number" }
        ], default: true
      })
      public prop!: boolean | number;
}

Oh great ! I miss Field wich can in fact allow all types ... interesting . I will try :)

I will add the @Multi decorator very soon. I've implemented using 2 ways :
  @Schema({
    async: true,
  })
  class Test {
    @String()
    @Number()
    @Boolean()
      name!: string | number | boolean;
  }

and
  @Schema({
    async: true,
  })
  class Test {
    @Multi({
      rules: [
        { type: "string" },
        { type: "number" },
        { type: "boolean" },
      ],
    })
      name!: string | number | boolean;
  }

Bot translates to a multi property.

@AmauryD great ! I will wait for the next release :) .
This is totally out of this topic, but, can you open the options in Schema ? ( to allow custom metas ? https://github.com/icebob/fastest-validator/pull/341 ) ( if you work on this project, it's maybe not too much work to add this ? else, I can try to do a PR )

I can allow unknown keys in @Schema decorators. If that's what you mean. The types will follow when your PR is merged upstream.

I didn't have another use case with multi at the moment . But field works great, so I will close this issue .
Thank you


Added section at bottom of cert transparency article

Addresses https://jira.cfops.it/browse/PCX-340


Routing Incorrect on S3 Deployed Site

Describe the bug
404 error on any link to the site.
To Reproduce
Steps to reproduce the behavior:

Go to the development site
Click on any link on the landing page
See error

Expected behavior
The links should load the next page of the site

Figured it out. I needed to set the error document in the bucket static hosting settings as index.html instead of error.html.


Update Bach

Hi!
How to update/insert in bacth process? and merge fields
Thanks

Hello.
According to the API documentation (that you have access to) batches can be created and read:
http://developer.mailchimp.com/documentation/mailchimp/reference/batches/
For an example of using this library to create a batch, see the README:
https://github.com/drewm/mailchimp-api#batch-operations


Run test cases failed with sonar

Successful when running a single test case.But it failed to scan test case coverage with sonar.
From the error log, it seems that subsequent test cases will use the data source of the previous test case that has been destroyed?

Hi @dwkfxj,
Please provide more info.


Limit the number of metrics sent for histograms

Currently every histogram creates the following metrics
75percentile
95percentile
98percentile
999percentile
99percentile
max
mean
median
min
stddev
How can I change this list to say only feature 95percentile, max, mean, median, min ?

Good question.  These are produced by the metrics library, so I'd start by looking there to see if there are some Java properties that can be set to restrict the list.  (This may also necessitate upgrading metrics, but let's cross that bridge when we get there.)


Build crashes on ACTION tools_gyp_v8_gyp_v8_snapshot_target_run_mksnapshot with segmentation fault

I'm trying to build latest version, process crashes on v8 building with segfault.
Versions:

Ubuntu 18.04 (Linux 95bcb97072dd 4.9.87-linuxkit-aufs #1 SMP Wed Mar 14 15:12:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux)
g++ (Ubuntu 7.3.0-16ubuntu3) 7.3.0

root@95bcb97072dd:/TeaJS/deps/v8# make native werror=no PYTHONPATH="/TeaJS/deps/v8/tools/generate_shim_headers:/TeaJS/deps/v8/build::/TeaJS/deps/v8/build/gyp/pylib:" \ GYP_GENERATORS=make \ build/gyp/gyp --generator-output="out" build/all.gyp \               -Ibuild/standalone.gypi --depth=. -S.native  -Dv8_enable_backtrace=1 -Dwerror='' -Darm_fpu=default -Darm_float_abi=default make[1]: Entering directory '/TeaJS/deps/v8/out'   ACTION tools_gyp_v8_gyp_v8_snapshot_target_run_mksnapshot /TeaJS/deps/v8/out/native/obj.target/v8_snapshot/geni/snapshot.cc Segmentation fault tools/gyp/v8_snapshot.target.native.mk:13: recipe for target '/TeaJS/deps/v8/out/native/obj.target/v8_snapshot/geni/snapshot.cc' failed make[1]: *** [/TeaJS/deps/v8/out/native/obj.target/v8_snapshot/geni/snapshot.cc] Error 139 make[1]: Leaving directory '/TeaJS/deps/v8/out' Makefile:301: recipe for target 'native' failed make: *** [native] Error 2

Hi @maxkachalin,
I am sorry to inform you that TeaJS is officially discontinued. I have not updated nor built this project in last ~6 years, so it is kind of expected that it does not work with recent V8.
I will archive the project at GitHub as well, soon.

Hi @ondras,
I see. :(
By the way I have been compiling against included in your distro v8 deps.


Using  in a component causes OgImage generation issues

I have a template in components/OgImage called using defineOgImageComponent.
That template uses other components, but one of them uses <slot>. It used to work a couple of months ago.
I recently observed two different behaviors:

In my project, the image is generated but the components using <slot> are not rendered in the image.
I tried to reproduce the same thing in Stackblitz, but here the image generation fails. Removing the <slot> from the component fixes the image.

You can find the reproduction here

Thanks for the issue, I've taken a look and it appears to be an upstream Nuxt issue with using nested island components.
The simple workaround is to move the sub component into the components dir.
See https://stackblitz.com/edit/nuxt-starter-vdfkge?file=components%2Fglobals%2FMyTemplateItem.vue


Can't set cors.supportCredentials property to true

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az webapp config set
Errors:
not enough values to unpack (expected 2, got 1)
Traceback (most recent call last):
azure/cli/core/util.py, ln 244, in shell_safe_json_parse
    return json.loads(json_or_dict_string)
lib64/python3.7/json/__init__.py, ln 348, in loads
    return _default_decoder.decode(s)
lib64/python3.7/json/decoder.py, ln 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
lib64/python3.7/json/decoder.py, ln 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)

...

cli/command_modules/appservice/custom.py, ln 813, in update_site_configs
    config_name, value = s.split('=', 1)
ValueError: not enough values to unpack (expected 2, got 1)

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az webapp config set -g {} -n {} --generic-configurations "{"cors":{"supportCredentials":true}}"

Expected Behavior
supportCredentials is set to true
Environment Summary
Linux-5.3.6-1-MANJARO-x86_64-with-arch-Manjaro-Linux
Python 3.7.4
Shell: bash

azure-cli 2.0.75

Additional Context

cc @AzureAppServiceCLI @antcp

Same here. I got it fixed by using:
az resource update --ids subscriptions/{yoursubscriptionid}/resourceGroups/{yourresourcegroup}/providers/Microsoft.Web/sites/{yourfunctionappname}/config/web --set properties.cors.supportCredentials="true"
You can find your URL here: https://resources.azure.com/

This is the only way to support this currently. Thanks!


Update docs for v2.3.0

Update docs for v2.3.0. After this pull request is merged, there will be another pull request to version the documentation (i.e., add v2.3.0 docs according to https://e3sm-project.github.io/e3sm_diags/docs/html/dev_guide/releasing-e3sm-diags.html#creating-a-new-version-of-the-documentation).

[ ] Screenshot updates. Remove vcs plots. Remove 'mpl' labels from the others. Add (mpl) plots for zonal_mean_xy, zonal_mean_2d, enso_diags, qbo, streamflow, and diurnal_cycle.
[ ] Add alternative conda create commands for creating development and regular environments.
[ ] Add instructions for processing new variables for new sets.
[x] Update available parameters.
[ ] Remove vcs from Feature availability for each backend section and anywhere else it appears in the docs.

@chengzhuzhang This pull request is still in progress but when you have some time, can you let me know if my updates to the available parameters (source/available-parameters.rst) look correct? That section needed a lot of changes beyond just adding the diurnal_cycle parameters. I alphabetized parameters within their logical sections, and added sections for set-specific parameters and apparently deprecated parameters.


[C++] Removed call to UseAsync

Closes #142

I'm going to merge this as it is minor and the build is broken.


 Happy coding!

Could you explain what the problem is?

Would you mind pointing to the place where #3839 makes a difference?

@semorrison This means nothing more than that porting this file is difficult. Thank you.

Okay I was hoping for some explanation that would save me having to open this PR, revert #3839, see for myself what breaks, all before being able to hit merge on #3839. :-)

The lambda abstraction which is newly inserted in Nat.rec_zero breaks rw in Nat.Partrec.Code.eval_prec_zero.

This PR/issue depends on:

leanprover-community/mathlib4#3830
leanprover-community/mathlib4#3839
By Dependent Issues (🤖). Happy coding!


feat: add support for noncurrent and custom time lifecycle rules

Closes #3054.
Closes #3212.

Please assign: @jkwlui as well.

He is not available in the list. He should see your mention though.

@frankyn @jkwlui this is updated.

@frankyn @dwsupplee @jkwlui I combined both noncurrent and custom time lifecycle rules in this pull request, since much of the underlying implementation changes are shared. Combining the two saved some work now in duplicating work, and later in the merge.

@frankyn no, since there are a large number of available options, we opted to link to the upstream cloud site reference over including each available option in the comment: https://github.com/googleapis/google-cloud-php/blob/918b84adb4947bfbdf1860225defb4208d82edde/Storage/src/StorageObject.php#L204-L205


Romea

Hello, i have made some changes in order to use our old mti xsens and our xsens mti 630.

I was checking the manual for this part when I did the noetic PR, and the manual was extremely vague about this output. So I'm not sure if anybody actually used these outputs before...

There is no transposition in the original code. For us,  when we used transposed matrix we get  the transformation from the global frame to the IMU frame and the results are the same as when using quaternions. Perhaps its depends of imu configuration can you check with your sensors ?

Thank you for your input @jlaneurit and @peci1. Everything looks good then, I will merge right now. Thank you again for your contribution @jlaneurit!


Multifork types

Motivation
See https://github.com/ChainSafe/lodestar/issues/4656
Description
Just playing around with the ideas in #4656
Some cool ideas here, especially the typing around these methods: https://github.com/ChainSafe/lodestar/compare/cayman/multifork-types?expand=1#diff-164a51e7deba45ff2747f0e311044818bbcbb62d902fcb344057cc3e4105e91cR33-R35
~Currently blocked by the type error on these lines: https://github.com/ChainSafe/lodestar/compare/cayman/multifork-types?expand=1#diff-ae18c534732a3db368114c1c79fdf064b41236620dc61bc6e899579da049ed5fR92-R93~
Ok, made it past the first hurdle.
Now hitting a second one. It seems SSZTypes isn't working as intended.
const x: SSZTypes<ForkName.capella | ForkName.phase0>["SignedBeaconBlock"] = null as any;

const y: SignedBeaconBlock<ForkName.phase0> = null as any;

x.toJson(y); // erroring!

I don't disagree with the general idea but it has not become a necessity after developing both capella and deneb forks. Would you be ok with closing for now to reduce the count of stale PRs? @wemeetagain

closing this to reduce the count of stale PRs


Add setup.cfg to declare wheel as universal

As the project is pure Python, a built wheel should always be universal,
so define in the project globally. Can remove --universal command from
Makefile.
See:
http://pythonwheels.com/

Codecov Report

Merging #4041 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #4041   +/-   ##
=======================================
  Coverage   89.74%   89.74%
=======================================
  Files          15       15
  Lines        1941     1941
=======================================
  Hits         1742     1742
  Misses        199      199

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 fb3f2a0...2c71f2d. Read the comment docs.


Fix Enum Comparer in Netstandard/NET6

We are facing the following exception with netstandard/net6 project:
Message:
Test method BusinessInternalMethod threw exception:
System.InvalidCastException: Invalid cast from 'System.Int32' to 'System.Int32'.

Stack Trace:
Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
IConvertible.ToType(Type type, IFormatProvider provider)
Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
Convert.ChangeType(Object value, Type conversionType)
FieldComparer.Compare()
TypeComparer.CompareFields()
TypeComparer.Compare()
AssemblyComparer.CompareTypes()
AssemblyComparer.Compare()
ApiComparer.CheckApi()
BusinessInternalMethod()

Our proposed solution to compare numeric enum values by:

Its constant values
Its types' names

Looks good. Thank you for providing this fix.
Could you extend FieldComparerTest with enum type comparison?

Looks good. Thank you for providing this fix.
Could you extend FieldComparerTest with enum type comparison?

Hi @Roel84, Thank you for your quick response.
I've extended the FieldComparerTest to add a test to check if the enum's underlying type has changed.

I deployed a new NuGet package. Thanks @amir-jhanem


fix: prevent empty txBody in autopaged empty cells

Whenever autopage generates a new slides, there might be empty cells, that need to be properly generated to avoid the 'repair' message in PowerPoint (here's the issue: https://github.com/gitbrent/PptxGenJS/issues/1048).
Here is the content generated before this fix for empty cells in rows broken into 2 or more pages
<a:tc>
  <a:txBody>
      <a:bodyPr/>
      <a:lstStyle/>
                              <----- missing empty p
  </a:txBody>
  ...
</a:tc>

This triggers the 'repair' message in PowerPoint.
Here is what PowerPoint generates after repairing the file:
<a:tc>
  <a:txBody>
    <a:bodyPr/>
    <a:lstStyle/>
    <a:p>
      <a:endParaRPr/>
    </a:p>
  </a:txBody>
  ...
</a:tc>

FYI - this also fixes the bug I reported:  Table Auto-Paging Error #1168

@gitbrent any update on this one?

I can confirm, this issue reproduces in one of my projects. Steps to reproduce are exactly what @mdbaehre described in #1168
@gitbrent from my investigation, the root cause is getSlidesForTableRows function. There is a while loop, and under the described conditions the loop (Step 6 E) stops iterating on the last line of the cell containing text (https://github.com/gitbrent/PptxGenJS/blob/035cf6b26239e2ea1f27eefbcdb8134e504eb4f4/src/gen-tables.ts#L486) so the logic of adding empty text object for the remaining empty cells is not working.
My fix was very similar to the one proposed by @raulneis - just handle this on the XML building stage to ensure there will be no <a:txBody> without  <a:p>. I was going to submit a PR, but found this one.
As a temporary solution, we use a local fork of the library now, but I hope this can be merged into the main repo.
One more side note: I was able to find the issue with XML validation of slide files against XSD from https://ecma-international.org/publications-and-standards/standards/ecma-376/ (Part 4, Transitional schemas). I think it would be great to add unit and/or e2e tests for a variety of use cases, with validating library output against XSD schemas.


Webpacker support

Closes #3277

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-1.8%) to 94.081%

Files with Coverage Reduction
New Missed Lines
%

app/controllers/rails_admin/application_controller.rb
4
88.89%

Totals

Change from base Build<PHONE_NUMBER>:
-1.8%

Covered Lines:
3354

Relevant Lines:
3565

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-1.8%) to 94.081%

Files with Coverage Reduction
New Missed Lines
%

app/controllers/rails_admin/application_controller.rb
4
88.89%

Totals

Change from base Build<PHONE_NUMBER>:
-1.8%

Covered Lines:
3354

Relevant Lines:
3565

💛  - Coveralls

I realize that this is a draft PR but I want to share my experience trying to install rails_admin from this branch. I ran into issues with the location of my javascript. In my project, I renamed the location of my scripts folders to app/frontend/packs/ based on some popular Rails 6 tutorials. I got the following error when trying to access /admin:
 Field 'browser' doesn't contain a valid alias configuration
              /path/to/rails/project/app/frontend/js/rails_admin/rails_admin.jpg doesn't exist
            as directory
              /path/to/rails/project/app/frontend/js/rails_admin/rails_admin doesn't exist

@TheBrockEllis Thanks for trying this out, looks like a configuration issue. If you could provide me the source code with relevant configuration I can take a look.

@codealchemy @jdufresne
This is going to be a big change, do you guys have time to take a look?
Any suggestions and questions will be appreciated.

@jdufresne Addressed all review suggestions, please take a look again 🙏

Let me merge this for now, since it's blocking other works.
If you have any comments please leave them here, I will work on them later 🙏


Line collision

I've  been using this to visualise the issues with floating point inaccuracy (fix is imminent on that issue btw)
This is a nice simple example with visual feedback to what is going on

Hey, thanks for this! Could you please add a screenshot? I'll merge then.

Thanks, added!

Ping @faiface

Sorry, I forgot about this :D. Thanks! Merging.


fetching mime.types

Hello,
I noticed that the Dockerfile fetches a mime.types file from the internet:
RUN curl https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types > mime.types

It is then given as option to http-server. Is there a reason for this? http-server depends on the mime package, albeit an old version (v1 vs current v4), maybe updating this dependency could resolve the need for another one?
Another point is that you could maybe use the files in /usr/share/mime. Couldn't find one with the same syntax though.
You can also use ADD instead of installing curl to fetch a resource on the internet.
Cheers,
~Nico

You don't need to install mime4, you'll want to open a PR on http-server to update it there, because that's what it'll be using.

In any case http-server is not used (or retained) on the image you will be using. A global http-server is only used when serving the frontend from the frontend container.
In the container you are using, everything is served with uvicorn (api + frontend).


decimal_places: from mdf_reader to cdm_mapper

Move information about decimal_places from mdf_reader to cdm_mapper as they are only used in cdm_mapper.

Hi @aanderss, I found some inconsistencies in the decimal places. Could you please takea look at the list below? I will complete it on Monday next week.
701/721
coming next week
702
In the observations tables there are no original_values defined. Should I set them to observation_value like here?
714
In the observations-wd table decimal_places of original_value is set to 0.  Should I change the value to 2 like in the input data?
730
coming next week
781
In the observations-slp table decimal_places of original_value is set to 2. Should I change the value to 1 like in the input data (same with observations-ws).
C-RAID
In the header table decimal_places of height_of_station_above_local_ground, height_of_station_above_sea_level and report_time_accuracy are not set. If decimal_places are not set, they will be automatically set to 5. Should I set them equal to here(1, 1, 0)

702
In the observations tables there are no original_values defined. Should we set them to observation_value like here?

original_units is taken from c99_data attachment.
This attachment does NOT include any elements for original_value. Thus, original_value is not defined in den cdm_mapper.
@aanderss: Should we leave it as it is or take core elements for both original_value and original_unit as in the example above?

This should be handled in a consistent way. if we take units from c99 attachment then the value needs to be read from there, too. Otherwise the conversion_method may be not consistent with the vales in the tables.
In this case the original_value is read from core and the original_units should be taken from core as well.

@aanderss: Just for clearification:
In this case, original_units is taken from the  c99_data attachment for observation tables AT and SST.
Because there are no values for air_temperature and sea_surface_temperature in this attachment, original_valueis not set.
For the other observation tables, original_value is taken from coreand original_units is defined in the mapping json file.
For all observation tables, observation_value is taken from core and ``original_units` is defined in the mapping json files.
Question: Should original_valuebe taken from core for observation tables AT and SST and original_units be defined in the mapping json files, as is the case for the other observation tables?

For now, we leave it as it is.
Further discussions in #72.


ngCspNonce should add the nonce value to the script tags loading the main bundles

Which @angular/* package(s) are relevant/related to the feature request?
compiler-cli
Description
ngCspNonce is a great addition and almost solves a lot of the CSP difficulties I'm having but I think is missing some aspects to simplify the process of writing a CSP.
CSP level 3 introduces strict-dynamic for script-src. This avoids needing a whitelist and favours using a nonce (or hash) on scripts. The great part about it is that this "trust" given by a nonce also propagates to scripts that are loaded by the root script. This is particularly important for myself since we load a tracking script which in turn loads a bunch of other tracking services.
This almost works. The problem is that you can't use strict-dynamic in conjunction with 'self'. Angular currently does not add the nonce from ngCspNonce to the runtime/main bundles included at the bottom of the index.html. So, without a nonce or allowing "self" the browser blocks these.

Proposed solution
Along with the other inline styles/scripts that ngCspNonce will add the nonce placeholder to, also add this nonce to the bundles.
Alternatives considered
An alternate solution is to avoid strict-dynamic use whitelisting of domains but for an application with more complex scripts it is a lifesaver. Google's CSP evaluator utilises strict-dynamic in their "sample safe policy".

Moving this to the CLI repo because it does the index.html preparation, not the Angular compiler itself.


Uncaught TypeError: The "path" argument must be of type string. Received type undefined

[Enter steps to reproduce:]

...
...

Atom: 1.57.0 x64
Electron: 9.4.4
OS: Microsoft Windows 10 Education N
Thrown From: platformio-ide-terminal package 2.10.1
Stack Trace
Uncaught TypeError: The "path" argument must be of type string. Received type undefined
At internal/validators.js:112

TypeError [ERR_INVALID_ARG_TYPE] [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
    at validateString (internal/validators.js:112:11)
    at Object.resolve (path.js:139:9)
    at PlatformIOTerminalView.module.exports.PlatformIOTerminalView.forkPtyProcess (/packages/platformio-ide-terminal/lib/view.coffee:127:25)
    at PlatformIOTerminalView.module.exports.PlatformIOTerminalView.displayTerminal (/packages/platformio-ide-terminal/lib/view.coffee:136:20)
    at /packages/platformio-ide-terminal/lib/view.coffee:241:10
    at /packages/platformio-ide-terminal/lib/view.coffee:539:7)
    at HTMLDivElement.fn (/packages/platformio-ide-terminal/node_modules/jquery/dist/jquery.js:4855:19)
    at HTMLDivElement.dispatch (/packages/platformio-ide-terminal/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLDivElement.elemData.handle (/packages/platformio-ide-terminal/node_modules/jquery/dist/jquery.js:4121:28)

Commands

Non-Core Packages
open-in-browsers 0.0.30
platformio-ide-terminal 2.10.1

Comments:
I was trying to change the path to within the 'Shell Override' setting so that I would be able to use 'bash'
shell on windows within atom instead of the standard 'cmd.exe' shell.
After changing the path to the location of the 'bash' executable inside of the 'Git' for Windows folder
I received this error

This package is no longer maintained. Please uninstall platformio-ide-terminal and install either terminus or x-terminal


feature: add new feature flag

What this PR does / why we need it:
Fixes issue when running in Github Actions that a TTY is not available so Docker build fails.
Which issue(s) this PR fixes
Fixes #
Special notes for your reviewer:
I don't know how to test this out without merging if the review is OK.

/lgtm


*: Remove useless column serialize format

What problem does this PR solve?
Issue Number: ref #6233
Problem Summary:
What is changed and how it works?
*: Remove useless column serialize format

Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

What is the format that tiflash returns the system table query result to tidb? Is that still workable after we remove the "CSV" serializer?

What is the format that tiflash returns the system table query result to tidb? Is that still workable after we remove the "CSV" serializer?

JSON

/retest

/cc @JaySon-Huang @CalvinNeo @JinheLin

@yudongusa The changes in this PR are legacy codes and settings introduced by the clickhouse codebase. Because the settings input_format_skip_unknown_fields have no meaning for the user of tiflash, this setting is not public announced in the documents of pingcap/tiflash.
So there is no need to change the documents of pingcap/tiflash.


method doesn't exist

'DateTime' does not contain a definition for 'LessThan'.  .NET Core 2.0

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

ID: 582b5193-1b57-b5e5-6dd6-92cd03616a25
Version Independent ID: f29ddee7-9d38-1e44-2f4f-ea4c1c98bd7d
Content: DateTime.LessThan(DateTime, DateTime) Operator (System)
Content Source: xml/System/DateTime.xml
Product: .net
GitHub Login: @dotnet-bot
Microsoft Alias: dotnetcontent

@samboustani what made you think so?
"LessThan" is the name of the operator. To use this operator in your code, use < symbol:
var t1 = DateTime.Now;
var t2 = DateTime.Now;
Console.WriteLine(t1 < t2);

Since LessThan is an operator rather than a method, @samboustani, the Syntax section shows the operator symbol; as @pkulikov indicates, it's <. The documentation also indicates that the equivalent method is DateTime.Compare; the current instance is earlier than a second instance if the Compare method returns a negative value.
Since the operator does exist, I'll close this issue. If you don't agree, @samboustani, feel free to respond.


FR: Add a option to allow change Referer header

Expected behavior
change the Referer header or give a option to do this
Actual behavior
Directly passed.
Setup
See https://github.com/webpack/webpack-dev-server/issues/1151

http-proxy-middleware: latest
server: webpack-dev-server@latest
other relevant modules

Try using the headers option to supply your own referer header.
As documented in https://github.com/chimurai/http-proxy-middleware#http-proxy-options

Oh I just think headers option is that from server to client...
We need change the header like way of changeOrigin option, tell me if I got something wrong

headers option is to change the headers between client to server.
referer can be basically any url. Not sure how you want to change that similar to changeOrigin.
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer
Perhaps you can explain your use case a bit?

I've read that. Maybe I'm just not clear about what I am doing...

I got a js file, and use it in this way:
...
script.src = 'http://example/a/b/test.js'
...

And how am I supposed to write the proxy to change its referer.

@SidKwok were you ever able to solve that? I'm having the exact same issue.

@joaocraveriro it can’t be solved. It is a http request, webpack can’t proxy a http request. You can try to change headers via chrome extensions

So what are we supposed to do if our backend enforces referer check??


Tooltip positioning issues with SVG scaling

Not sure if I should have added on to #754 or not, my apologies if I should have.
What I'm noticing is that with an inline SVG the tooltip is positioning itself based on the viewbox, and is not changing position if you scale up or down. It essentially sounds like what this #625 closed issue is describing.
It is only positioned 100% correctly if your SVG container is exactly the same as the viewbox. Otherwise if your container is larger or smaller than the width of your viewbox set in your SVG, then the positioning is off.
In other words, say your viewbox was 0 0 1000 500 and your SVG was in a container that was 500 x 250px and you have a tooltip position as: at: 'center right' then it would actually be to the right and below where it should be as your SVG scaled down but it expects the path you are hover to be based on an SVG that is 1000 x 500px.
I can post an example of this in the next 24 hrs, that should help demonstrate it much better.
Thanks!!

Hello!
It seems the reason of this issue is that neither width nor height are transformed in the SVG plugin.
Specifically, I would add the following lines of code:
	...
	// Convert position into a pixel value
	if(root.createSVGPoint) {
		mtx = elem.getScreenCTM();
		points = root.createSVGPoint();

		points.x = position.left;
		points.y = position.top;
		transformed = points.matrixTransform( mtx );
		position.left = transformed.x;
		position.top = transformed.y;

		// NEW CODE START
		points.x += result.width;
		points.y += result.height;
		transformed = points.matrixTransform(mtx);
		result.width = transformed.x - position.left;
		result.height = transformed.y - position.top;
		// NEW CODE END
	}
	...

Thank you!

I will this this out for sure. Thank you!