Making dist ES5 compliant

This fixes the following:

Module not found: Error: Can't resolve 'd3' in '/Users/anthony-applovin/AdServer-Tools-UI/node_modules/d3-flame-graph/dist'

Looks like you had it as a dependency back on version 2 alpha but removed it for some reason?

Shouldn't depend on full d3. If you're using d3 directly in your code, your project should depend on it.

In your distributable you have it required at the top though? That's what is causing my build to fail, since I didnt have it under my list of dependencies. Perhaps I'm missing something?

This is where the build fails if I pull this dependency into my CRA project and build:
(function (global, factory) { 	typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3')) : 	typeof define === 'function' && define.amd ? define(['exports', 'd3'], factory) : 	(factory((global.d3 = global.d3 || {}),global.d3)); }(this, (function (exports,d3) { 'use strict';

It assumes a global d3 because of d3-tip, that assumes that too.

Can you share your build configuration? I've been using this module with React for a long time and never ran into any issues with imports.

The heatmap plugin in the other hand doesn't depend on d3-tip so just remove it. https://github.com/spiermar/d3-heatmap2/commit/3b90aba97159141330f9a9a38e6374f690cd5002

@spiermar when trying to get that CRA example failure with d3 heat maps I found the last of the ES6 pieces of code resulting in failure. After changing the one liner to ES5 and running the gulp build I also noticed the code that said require d3 is gone. Not sure what happened, but this will fix all the build problems I was facing. What do you think?

Notice the diff on the first line of the dist .js file

@anthonyalayo In 75fe33e6f4a08a0f2c53e6174ea10d2cdc81a457, were the changes in /dist an outcome of a dependency change or /src change? Or manually edited?

@spiermar yeah there's quite a bit of diffs in there but all I did was pull in the project, fix that one liner and then run npm i && npm run-script pretest && npm run-script test

If it looks sketchy I can totally kill that branch and give it another whirl

@spiermar yeah there's quite a bit of diffs in there but all I did was pull in the project, fix that one liner and then run npm i && npm run-script pretest && npm run-script test

By one liner you mean the /src file change? If that's the case, it's strange that the build would come out that different. Let me applying the partial patch to the source and generating a new build.

Package lock is quite different though.

Yeah that's true, not exactly sure what happened. If you could apply the patch that'd be great, tried to save you some effort but I failed. Thanks!

Yep, that was it. Stale dependencies. Looks good now. I just need to fix (quite a few) npm audit issues.


[feature] added rtmp stat json format support

It's a pity that Nginx-RTMP statistic module can not output statistic result data by JSON.
Now I have realized this feature with the help of @0nth3l3ft and some other community contributors.
It can be used like this:
location /stat {
    rtmp_stat all;

    # specific output format: json or xml.Default is xml.
    # When format is set to xml, you'd better add one line:  rtmp_stat_stylesheet stat.xsl
    # for more pretty view.
    rtmp_stat_format json;
}

And you will get a JSON object like this:
{
    "rtmp":{
        "nginx_version":"1.14.0",
        "nginx_rtmp_version":"1.2.3",
        "compiler":"gcc 4.4.7 20120313 (Red Hat 4.4.7-18) (GCC) ",
        "built":"Jun 22 2018 10:31:56",
        "pid":66965,
        "uptime":97,
        "naccepted":2,
        "bw_in":446968,
        "bytes_in":3703806,
        "bw_out":0,
        "bytes_out":4148842,
        "servers":[
            [
                {
                    "name":"vod_flv",
                    "play":{
                        "streams":[
                            {
                                "name":"test/20180612/1528783236",
                                "clients":[
                                    {
                                        "id":3,
                                        "address":"<IP_ADDRESS>",
                                        "time":7488,
                                        "flashver":"LNX 9,0,124,2",
                                        "timestamp":11166
                                    }
                                ],
                                "active":true,
                                "nclients":1
                            }
                        ],
                        "nclients":1
                    }
                },
                {
                    "name":"live",
                    "live":{
                        "streams":[
                            {
                                "name":"nginx",
                                "time":71958,
                                "bw_in":394136,
                                "bytes_in":3659263,
                                "bw_out":0,
                                "bytes_out":0,
                                "bw_audio":275728,
                                "bw_video":118408,
                                "clients":[
                                    {
                                        "id":2,
                                        "address":"<IP_ADDRESS>",
                                        "time":72397,
                                        "flashver":"FMLE/3.0 (compatible; FMSc/1.0)",
                                        "swfurl":"rtmp://<IP_ADDRESS>:1935/live",
                                        "dropped":0,
                                        "avsync":-3,
                                        "timestamp":71066,
                                        "publishing":true,
                                        "active":true
                                    }
                                ],
                                "meta":{
                                    "video":{
                                        "width":1920,
                                        "height":1080,
                                        "frame_rate":30,
                                        "codec":"H264",
                                        "profile":"High",
                                        "level":"4.0"
                                    },
                                    "audio":{
                                        "codec":"AAC",
                                        "profile":"LC",
                                        "channels":"2",
                                        "sample_rate":48000
                                    }
                                },
                                "nclients":1,
                                "publishing":true,
                                "active":true
                            }
                        ],
                        "nclients":1
                    }
                }
            ]
        ]
    }
}

Hope that helps.

It looks great! But you'd better to update the code style according to https://github.com/winshining/nginx-http-flv-module/blob/master/.github/CONTRIBUTING.md. Thank you very much.

[dev] merge a new feature supports json style stat.

[dev] merge a new feature supports json style stat.


code cleanup after 91x PR

Fix comments from #143 and general minor code cleanup

Actually, since I landed on ast.literal_eval being pretty much the same as matching against an integer + handling unary operation, I rewrote iter_guaranteed_once_cst not to need cst_literal_eval. It probably wouldn't be very hard at all to evaluate unary/binary ops either, and range(10*23) isn't that uncommon. Can open an issue for it
And with the only remaining user of it being visit_While_test ... and I don't think we care about handling while [1, 2]: ... (and can get it for free if libcst implements evaluated_value for containers), I rewrote that one as well .. and completely removed cst_literal_eval.

Reading through https://docs.python.org/3/library/stdtypes.html#range it mentioned len not working with sys.maxsize - so code now handles very long loops now as well :smiley:
    # length > sys.maxsize
    for i in range(27670116110564327421):
        await foo()
    yield

Reading through https://docs.python.org/3/library/stdtypes.html#range it mentioned len not working with sys.maxsize

Heh, that note is my fault 😂  (Hypothesis is a great way to find edge cases...)

ooh, nice!


Add label_smoothing argument to loss_fn

This PR adds a label_smoothing argument to workload.loss_fn.
I have also deleted _conform_weights_to_targets in algorithmic_efficiency/workloads/criteo1tb/criteo1tb_jax/metrics.py, since it is not used anywhere.
Question:
Until now we have used a different implementation of label smoothing for the WMT workload than the standard variation implemented in init2winit, optax, and PyTorch (see this docstring for an explanation of the difference). Should we stick to the different variation for that workload or switch to the one used for all other workloads?

Should we also update the other target setting run submissions? We can always do it in a future PR if needed, not necessary for this one.

I only updated the ones where the table lists that they use label smoothing, but you are right that we will want to tune it for all workloads and ideally also in this repo, so I have added it to all target-setting runs.


action details page is broken

fixed in https://github.com/Jumpscale/jscockpit/commit/90fff92518987a343b90b1311a3972c2c228aefb


realm/legion: pad instances (by default?) to avoid power-of-2 strides between fields/instances

It's fairly common for applications to use index spaces that are a power of 2 in size.  When multiple instances are created (or multiple fields in the same instance), the address offset between different fields/instances then ends up being a power of 2 as well (Realm memories do not put heap-management metadata in the same place, so instances appear back to back), which can dramatically decrease the effective size of processor caches.  We should probably add and/or advertise a way for mappers to control this padding, but then also make the default be to add a small amount of padding when instance sizes are multiples of large powers of 2.

Legion already has support for offset constraints in the layout constraints that are specified when creating an instance. Users should be able to use these constraints to pad instances with some extra bytes. I've hooked these constraints up to the realm layout creation logic with 019850d80. @streichler will have to say whether or not Realm will actually honor them correctly or not.

Offset constraints don't help for SOA or for fields in separate instances I don't think? @lightsighter can we address this entirely in the instance layouts you're building (e.g. by making sure the bytes_used field in an instance layout is never a multiple of common L1 cache sizes)?

Legion offsets will still help even with SOA and fields in separate instances. They will put padding before the data is stored. If the mapper puts offsets on some instances and not others then we'll get the effect that we want.

Now that Legion is building its own instance layout constraints, Realm no longer has any control over how things are aligned.

I'm going to close this issue tomorrow unless someone speaks up because the offset constraints in Legion allow users to pad their instances themselves now. @ipdemes @jpietarilagraham @gshipman @tuxfan @pmccormick

Can you include (or point at) an example here of what the code looks like to arrange for fields in different instances to have different starting alignments?  For example, I don't think it's clear to everyone what the offset here is relative to:
https://gitlab.com/StanfordLegion/legion/-/blob/master/runtime/legion/legion_constraint.h#L580

The offset is relative to either the beginning of the instance or the previous field depending on the ordering of the fields in the field constraints. If your instance only has one field, then you give an offset of N bytes and thereby get an extra N bytes of padding in your instance. Then it's just a matter of picking values of N for different instances to avoid conflict misses in the cache.

Are you promised a certain default starting alignment? Because otherwise picking an offset against an unspecified alignment seems like it doesn't accomplish anything.

Well that's what the alignment constraints are for. So if you set both alignment and offset constraints then you will have total control. If you only set offset, then you're operating on runtime's preferred alignment for the machine (probably 16 byte).

Here is an example of how we did it for FleCSI:
        static size_t offset = 0;
        for(auto fid : task.regions[indx].privilege_fields) {
          Legion::OffsetConstraint offset_constraint(fid, offset);
          layout_constraints.add_constraint(offset_constraint);
          offset += 64;
        } // for fid

I agree that this issue has been addressed.

Thanks for the code. We'll point anyone who has a similar problem to this issue as it will remain searchable in the future.


Pnp file picker bug fix

Q
A

Bug fix?
[x]

New feature?
[ ]

New sample?
[ ]

Related issues?
fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?
Fix for issue #562
PR to go with my comment for the issue here:
https://github.com/pnp/sp-dev-fx-property-controls/issues/562#issuecomment-1778810710
The problem is that the span tag in FolderTitle.tsx component can't render the Date object which is being passed with 'item.modified'. The FolderTile.tsx is a child component in TilesList.tsx which is why the Tiles layout closes the property pane when that layout is selected.

My error message was that React cannot render an object or something to that effect. Unfortunately, I don't have a screenshot of the error to show here.
To fix this behaviour, .toLocaleDateString() is called to display the date that was intended in the 'item.modified' Date object and get the site locale by prop-drilling to pass the SharePoint context value .currentCultureName. In case context is undefined or null, I'm setting a fallback to 'en-US'.

What the folder with a date looks like with an 'en-UK' locale set on the workbench:

Many thanks @ClemSK , this is now merged and should be available in the beta release within a few minutes.
Could you please test and let us know if the issue is resolved?


feat: handle http redirects

此 PR 旨在使 Quester.file 返回的 filename 基于实际访问的 URL

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

Comparison is base (6390012) 86.08% compared to head (eae889d) 86.08%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #221   +/-   ##
=======================================
  Coverage   86.08%   86.08%
=======================================
  Files           1        1
  Lines         503      503
  Branches      111      111
=======================================
  Hits          433      433
  Misses         70       70

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

fetch 检测重定向
fetch('something')
  .then(response => {
    if (response.redirected) {
      console.log('Redirected URL:', response.url);
    }
  })


[DO NOT MERGE] Pick up changes to transports in containers/image

docker-archive and oci-archive now allow the image reference
for the destination to be empty.
Update tests for this new change.
Fixes tests for https://github.com/containers/image/pull/458
Signed-off-by: umohnani8<EMAIL_ADDRESS>

Happy Green Test buttons here.  Time to merge containers/image#458 ?

Updated.

Thanks!


smartlabels

In the gmail filter UI, when I specify that a filter categorize something as "social", the resulting XML is:
<apps:property name='smartLabelToApply' value='^smartlabel_social'/>
gmail-yaml-filters wants to do:
<apps:property name="label" value="CATEGORY_SOCIAL"/>
And when used literally creates a label called CATEGORY_SOCIAL and does not place the email in the social tab. Seems that the smartlabel syntax is the appropriate one.

Thanks for the bug report! It's super frustrating that CATEGORY_SOCIAL, etc. is the correct way to create these filters through the API but doesn't work when creating filters via XML. Pull requests still welcome if they can support both of these modes of operation.
I'll admit that I don't use the XML workflow very often and I've even toyed with the idea of dropping support for it in 1.0 (to focus exclusively on managing filters via the API). It's helpful to know that someone out there still uses it.

@mesozoic I realized that it must be the difference of using the API and just using the XML output. I can't get the API auth to work, so I just use the XML :). I'll work on a PR that can handle both.


iTMSTransporter fails when uploading to store.

New Issue Checklist

[ x ] Updated fastlane to the latest version
[ x  ] I read the Contribution Guidelines
[ x  ] I read docs.fastlane.tools
[ x ] I searched for existing GitHub issues

Issue Description
iTMSTransporter fails when uploading to store.
Command executed

Complete output when running fastlane, including the stack trace and command used
[20:00:49]: Going to upload updated app to App Store Connect
[20:00:49]: This might take a few minutes. Please don't interrupt the script.
[20:08:25]: [iTMSTransporter] java.lang.reflect.InvocationTargetException
[20:08:25]: [iTMSTransporter] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[20:08:25]: [iTMSTransporter] 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[20:08:25]: [iTMSTransporter] 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[20:08:25]: [iTMSTransporter] 	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
[20:08:25]: [iTMSTransporter] 	at com.apple.transporter.launcher.Application.start(Application.java:450)
[20:08:25]: [iTMSTransporter] 	at com.apple.transporter.launcher.Application.main(Application.java:947)
[20:08:25]: [iTMSTransporter] Caused by: java.io.IOException: Could not connect to any repositories
[20:08:25]: [iTMSTransporter] 	at com.apple.transporter.misc.RemoteBundleRepository.getRepositoryUriAndEtag(RemoteBundleRepository.java:227)
[20:08:25]: [iTMSTransporter] 	at com.apple.transporter.misc.RemoteBundleRepository.loadResourcesFromRepository(RemoteBundleRepository.java:141)
[20:08:25]: [iTMSTransporter] 	at com.apple.transporter.bootstrap.BootstrapperPhase1.downloadNeededBundles(BootstrapperPhase1.java:247)
[20:08:25]: [iTMSTransporter] 	at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:97)
[20:08:25]: [iTMSTransporter] 	at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:59)
[20:08:25]: [iTMSTransporter] 	at com.apple.transporter.launcher.Launcher.launchBootstrapper(Launcher.java:37)
[20:08:25]: [iTMSTransporter] 	... 6 more
[20:08:25]: iTunes Transporter output above ^
[20:08:25]: The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
[20:08:25]: upload failed! Error uploading ipa file, for more information see above
[20:08:25]: ----------------------------------------
fastlane version 2.177.0.

Might be related to the App Store Connect outage (which is now resolved):

This is a standard timeout, which has nothing to do with fastlane, but Apple's servers.


Create Controls Spec

Before we code subsystems, we should create a 1 page controls specification, with signoff from student leaders and mentors.
This spec should include:

a picture of the proposed robot, with the names of the systems identified
operating controls: control type, buttons and what they do
automations and how they are connected
which controls are operator and which ones are driver
subsystems enumerated, with definitions for input object and output object
signoff by student leaders
signoff by mentors

update: @mandrews281 suggested also more specifically that we pay particular attention to exactly what automated behaviors are desired, and (probably ) their relative priority.  We have heard talk of these:

auto align to target, either as a button, or while driving while a button is held
drop arm when driving, for safety.
slow down before walls, for safety
intake to shooter transfer
shoot at speaker
shoot at amp
align on colored game piece on the floor
button to tell the robot all things are homed

And of course, there is the subject of auto routines. what routines do we do first? then what are our stretch goals?

I tried drafting something at a high level.  I came up with some key categories.  Here's some examples:
BEHAVIOR:
When the robot has a note, always face the designated target (amp, speaker)
WHY:

Speeds up scoring
Provides feedback to Driver & Operator
CONFLICTS WITH:
Avoiding defensive robots with spin moves
Seeing the AprilTags
UNKNOWNS:
How do the Operator/Drive designate the target?
Should the driver have an override?  If so, in what cases?  How do we go back to auto_facing?

BEHAVIOR:
When driving, keep the super-structure down.
WHY:
Avoid damage
CONFLICTS WITH:

Shooting
Continuous auto-aiming
UNKNOWNS:
How do we decide that the driver/operator want to auto-aim and shoot?

I love the inclusion of 'why' in these.
Andrew, can you incorporate mikes suggestions too?
On Thu, Feb 1, 2024, 5:46 PM mandrews281 @.***> wrote:

I tried drafting something at a high level. I came up with some key
categories. Here's some examples:
BEHAVIOR:
When the robot has a note, always face the designated target (amp, speaker)
WHY:

Speeds up scoring
Provides feedback to Driver & Operator
CONFLICTS WITH:
Avoiding defensive robots with spin moves
Seeing the AprilTags
UNKNOWNS:
How do the Operator/Drive designate the target?
Should the driver have an override? If so, in what cases? How do we
go back to auto_facing?

BEHAVIOR:
When driving, keep the super-structure down.
WHY:
Avoid damage
CONFLICTS WITH:

Shooting
Continuous auto-aiming
UNKNOWNS:
How do we decide that the driver/operator want to auto-aim and
shoot?

—
Reply to this email directly, view it on GitHub
https://github.com/entech281/Robot2024/issues/76#issuecomment-1922420900,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJ44A65PVHXDQFVEQHRFVLYRQLLDAVCNFSM6AAAAABCU6QRR6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRSGQZDAOJQGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


.split on undefined causes a crash

It can happen that the trigger ends up in an error as below:
TypeError: Cannot read properties of undefined (reading 'split')
at Function.formatLatestChanges (/directus/extensions/hooks/version-control-changelog/index.js:8:8352)
at Bi.triggerProcessor (/directus/extensions/hooks/version-control-changelog/index.js:8:19511)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
The reason still needs to be investigated, but the guess is that the system cannot handle formatting of a NULL value in the previous change log data yet (as this appears on a system that never had any content in that field before)

This trigger leads to Directus then no longer responding to requests, needing a restart of the CMS server. So for now this issue block proper usage of the extension

The first thought seems to be wrong

the content is already available
the previous content of the field is not used at all

Further investigation on the affected system is needed

Analysis of the code has shown that the error is happening at https://github.com/BIX-Digital/directus-version-control-changelog/blob/bugfix/split-on-undefined/src/core/ChangelogFormatter.ts#L17 -> is seems that userChangelog is undefined.
It is confirmed that neither the branch nor the file exist in the target repository yet, so this kind of makes sense.

The actual culprit is https://github.com/BIX-Digital/directus-version-control-changelog/blob/bugfix/split-on-undefined/src/core/ChangelogWriter.ts#L102 -> in there it uses a hardcoded field name (changes) when looking for the changes content in event.payload.
This needs

to be mapped to the configured field name
more error tolerant access to that field (as in some setups changes may happen in fields that we're not interested in, not in the one where we expect them)


fix: drupal class_loader_auto_detect no longer needed

The Issue
Drupal #ddev slack https://drupal.slack.com/archives/C5TQRQZRR/p1723338555563719 points out that settings.ddev.php has
// Don't use Symfony's APCLoader. ddev includes APCu; Composer's APCu loader has
// better performance.
$settings['class_loader_auto_detect'] = FALSE;

but that comes from long ago. Apparently it's not needed in Drupal 9+, so can be removed.
It was probably introduced in https://github.com/ddev/ddev/pull/1368 (https://github.com/ddev/ddev/pull/1368/commits/dd3b86188e13e14adce26c15ee35d82502fdcb81#diff-0196cec3f796f7d78f6e01b3d20405d825d0d874dd0aa9aff53930171d394217R161-R162)
However, the need for it seems to have been removed in https://www.drupal.org/project/drupal/issues/3020296 (Drupal 9+)

Change record: Only Composer's classloader is used

How This PR Solves The Issue
Remove $settings['class_loader_auto_detect'] = FALSE; from settings.ddev.php in drupal9+
Manual Testing Instructions
Try it out in Drupal project

LGTM.


By default selected initial value

I am trying to select a value initially in the searchable dropdown when the user not selected anything from the drop-down. After selecting from list it is showing selected value but not showing initially. Is it possible?

The initial value must be one of the items of dropdown items to show up initially.


Bootstrap 4 variant

Allow users to install
https://github.com/pingcheng/bootstrap4-datetimepicker
This a fork that allows to use bootstrap 4.x.

This is so awesome that you are working on! :)
For my project I used https://tempusdominus.github.io, and followed what you did for the bootstrap 3 version, and got it running on bootstrap 4!
I'll provide you some of the differences I noted from my experiments in the hopes that it might ease some of your efforts! :)
I registered the html like this;

    <input v-model="planned_datetime" id="date-input-field" type="text" class="form-control datetimepicker-input" data-target="#datetimepicker1"/>

Then in my script;
Imports
import 'tempusdominus-bootstrap-4/build/css/tempusdominus-bootstrap-4.min.css';
require('tempusdominus-bootstrap-4');

Data
planned_datetime: "",
dp: null

Methods
onChange(event) {
                this.planned_datetime = event.date ? event.date.format(this.dp.format()) :
}

Mounted
            if (this.dp) return;
            // Handle wrapped input
            this.elem = $('#datetimepicker1');
            // Init date-picker
            this.elem.datetimepicker(this.config);
            this.dp = this.elem.data('datetimepicker');
            // Set initial value
            this.dp.date(new Date());
            // Watch for changes
            this.elem.on('change.datetimepicker', this.onChange);

So I dont know if this is of any help to you, but one thing I noticed was that I had to change the line
this.dp = this.elem.data('DateTimePicker');

to look for 'datetimepicker' in the data instead of 'DateTimePicker'.
Again, thank you very much for the awesome work, and your willingness to help.
I greatly appreciate it 😃

This is pretty awesome, thanks for that !
However, the script crashes completely when trying to select a Date before Dezember 2012.


Feat/pypi wheel scripts

This adds a new Python script, rapids_twine.py, for uploading packages to Twine with a custom build tag from the cibuildwheel workflow.
This lets us overwrite same-versioned wheels using a simple integer tag in the wheel file name through the RAPIDS_PY_WHEEL_BUILD_TAG env var.

By leaving the py extension we can skip Python scripts from shellcheck: https://github.com/rapidsai/gha-tools/pull/20/files#diff-b92d47056fd4c023911c36953668d69f6b8b344806e837f7c699db6ac2e751e6

By leaving the py extension we can skip Python scripts from shellcheck: https://github.com/rapidsai/gha-tools/pull/20/files#diff-b92d47056fd4c023911c36953668d69f6b8b344806e837f7c699db6ac2e751e6

I see. I assumed that was why. I'm indifferent. FWIW, it looks like we can specify multiple files for shellcheck. But that requires us to maintain the list, which could be a pain. either way is fine to me :+1:
https://github.com/ludeeus/action-shellcheck#ignore-paths-and-names


Generate DHCP Options using ACK Runtime v0.17.0

Issue #, if available: https://github.com/aws-controllers-k8s/community/issues/489
Description of changes:

Adds Create/Delete functionality and tests for DHCP Options resource using ACK runtime v0.17.0 at this commit

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/approve nice!


Update Kendo UI Resource Link

Hey folks! Thanks for including Kendo UI and congrats on the release! 🎷🦄
Kendo UI has been re-written from the ground up to support Angular 2. Could you update our link in the resources page? It looks like it's being pulled from a database.
http://www.telerik.com/kendo-angular-ui/
Thanks so much!

This link has been corrected and the issue can be closed.


Update HACS URL

I updated the HACS Badge URL to the new hacs/integration.

Adressed here https://github.com/ludeeus/integration_blueprint/commit/fabedef52f1856d1f85af731cfbdf0cc7984c194


Duplicated records issue

I encountered an issue with one table of my database : duplicates.
For example if the table was 100 entities, i had 100 entities to import but with duplicates, meaning there were some entities lost in the process.
After investigation i realised those entities were duplicated because of the order method wasn't working, breaking in the same time the batching algorithm.
That's why i forked the project and replaced line 8 in enumeration.rb :
records.order("#{records.quoted_table_name}.#{records.quoted_primary_key} ASC")
by
 records = records.order(records.primary_key => :asc)
I hope this helps someone

This helped me, thank you @pierreferry!
It's also possible to bypass this bug by specifying an order yourself, like so: SeedDump.dump(SomeThing.order(id: :asc)).


SSKeychain has been renamed to SAMKeychain

Due to a name clash with private frameworks in iOS 10, SSKeychain has been renamed to SAMKeychain, see https://github.com/soffes/SAMKeychain/issues/140. You should probably update your dependencies (e.g. podspec) accordingly and use the new class name internally.

Thank you for the heads up @danielr!! I wasn't aware of this collision (though i'm running iOS 10).
We'll be wiring the new SAMKeychain ASAP.
Hope you're doing well sir!!

(By the way) forgot to mention, current apps are safe, since we're using a "namespaced" version of SSKeychain, so nothing should break. (It's actually SPKeychain in our project).

Thanks Jorge! I wasn't looking closely and didn't notice that you forked the library for namespacing purposes (but now I remember that we had that discussion some time ago). I guess then everything is fine as it is. :-) NB: This is not actually causing any problems currently, I just came across that rename and thought I'd let you know.


Update README.md

Hi, I really interested in this project. While I was reading the README.md document, I found some grammatical errors that might make the document unclear. I am glad if I can contribute to this project, thanks for your review of my pull request!

Hi , why this PR was closed without any comment @alan2207 ?

Closing in favor of #105


Investigate running at the login window

Had a request to see if we could get dialog running at the login window.
This is currently prevented because DNDPrefs lookup fails in that context

Hi.
Just wondering how this is going? I'd like to have the ability to do fullscreen over the loginwindow (similar to jamfHelper). A bonus would be with dynamic text.
Cheers,
Shannon

low on the priority at the moment. sorting out the refactor for v2.0

This feature request would be extremely useful for displaying content on/over the login screen with fully unattended machines (labs, classrooms, digital signage, etc.)
We are an .edu and running NoMAD Login AD strictly for its ability to have DEPNotify style dialogs over the login window. This allows us to send a student worker out to a class or lab with a brand new machine. On first boot, the Nomad Login AD screen requests the computer name from the student worker, after which it displays the status of the computer's provisioning (and secures the computer until provisioning is complete).
Running SwiftDialog at the login screen would allow us to retire that product in favor of something more modern, like Setup Your Mac.

@georgecm12 can you clarify if you mean the login window or the setup assistant?

@bartreardon Login Window.
Ideally, I would want to be able to have Jamf Pro tell the macOS to auto-advance through the setup assistant, then once it lands at the login window, display a Setup Your Mac screen over the login window without a user being logged in. That's the goal, at least! :)

Maybe but I'm not working on it. It likely won't work at all without a refactor of the code. As written, running at the login window and displaying a window is rather difficult.

I worked on this tonight and have swiftDialog running at the login window. I can't take too much credit. I applied the logic of this post to swiftDialog and added a --loginwindow argument. It's about +20 lines including the help text.
I'm not sure of how to proceed from here.

Would you like a pull request? If so, branched from which branch?
I'm not sure how this feature should interact with other features

A login window screen shot:

@fraserhess I would absolutely accept a PR. If you still have the code please submit it so you can be credited properly
In general, PR to main - I'll switch the branch as needed.

@bartreardon can probably close this now


Convert from outline to box-shadow in page-areas.less to fix rendering issues in Firefox.

Make sure to preserve transitions. I was going to do this for 5.7.4 but it's more complicated than it looks.

For anyone else trying to get a fix for the moment, I just added this to the stylesheet as a work around as our designers have been complaining about it.
@-moz-document url-prefix() {
  div.ccm-area[data-total-blocks="0"] {
     border:1px solid #e6e6e6;
     outline:none!important;
  }
}

Thanks @JeramyNS – that's a nice hack/compromise. I'll table this til we can rework everything to use box shadow but in the meantime it'll at least look a little bit less crazy in Firefox with your addition.

Not sure exactly where I got on this or why it was needed, but edit mode received a nice touch-up in 9.2 so I'm going to call this complete.


Important suggestion

Describe your suggested feature
Although this may seem a bit demanding, you could create an automated system for custom sources where we can copy the page link and paste it into AniYomi, and the system takes care of adding it as a source for anime or manga. We would only be responsible for small tasks, and if by chance the source works well, we can upload it to the AniYomi extension repository to make it public, and you can take care of the maintenance. This way, the app will grow faster in terms of obtaining extensions, and the automated system can improve with each AniYomi and Tachiyomi update.
Other details
Please I hope you take my suggestion into account in the future.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I will fill out all of the requested information in this form.

Coming soon in AniYomi AI (TM)

It isn't possible since every source website is different, there is no way to create an extension just by knowing its URL.


Traceability KIT Release 23.12 Adoption View Acceptance Criteria

Release 23.12 KIT Adoption View

[x] KIT Repo in Tractus-X

A KIT must have an own repository in Eclipse Tractus-X. The naming of the repository must have a postfix "-kit"
e.g. "traceability-kit"
this applies to all KITs with own source code, test cases, test data etc

Artifact Repository:

eclipse-tractusx

Contacts:

Responsible: PCA/BDA
Consult: KIT-CONTACT1, KIT-CONTACT2
Review by: Tractus-X Project Leads: KIT-CONTACT2, SYSTEM_TEAM3, SYSTEM_TEAM2

[x] Vision and Mission Documents in Repository

Documentation must be available in Eclipse Tractus-X as part of the adoption view MD files.

Best Practice:

eclipse tractusx-docs-artefacts
How-to-create-a-KIT-website

Artifact Repository:

eclipse-tractusx

Contacts:

Responsible: PO/BO (from relevant Domain)
Consult: KIT-CONTACT1, KIT-CONTACT2
Review by: PCA/BDA

[x] Business Value Documents in Repository

Documentation must be available in Eclipse Tractus-X as part of the adoption view MD files.

Best Practice:

eclipse tractusx-docs-artefacts
How-to-create-a-KIT-website

Artifact Repository:

eclipse-tractusx

Contacts:

Responsible: PO/BO (from relevant Domain)
Consult: KIT-CONTACT1, KIT-CONTACT2
Review by: PCA/BDA

[x] Semantic Model standards submitted and published

KIT Product Owner confirms:

The KIT under review is compliant to all relevant Semantic Model Standards which are already published on the Association website.
The content of upcoming Semantic Model Standardization Requests (STAN) has been reviewed and feedback was provided to the responsible PCA/BDA.
An appendix has been created with a list of certification criteria (e.g., test cases) for the conformity assessment process.

Best Practice:

A KIT must link to the published semantic model standards on the Catena-X Association website.
https://catena-x.net/de/standard-library
eclipse tractusx-docs-artefacts
How-to-create-a-KIT-website
Note: Please create and submit standards in time according to process and timeline > The standardization process (Source only accessible for Catena-X Consortia members in current transition phase.)
Note: Failure to do so may ultimately make the KIT useless, as the mandatory CX Certification cannot be accomplished

Artifact Repository:

eclipse-tractusx

Contacts:

Responsible: PO/BO (from relevant Domain)
Responsible for Process: Semantic Team
Consult: KIT-CONTACT1, KIT-CONTACT2
Review by: PCA/BDA

[x] Logic / Schema standards submitted and published

KIT Product Owner confirms:

The KIT under review is compliant to all relevant Logic / Schema Standards which are already published on the Association website.
The content of upcoming Logic / Schema Standardization Requests (STAN) has been reviewed and feedback was provided to the responsible PCA/BDA.
An appendix has been created with a list of certification criteria (e.g., test cases) for the conformity assessment process.

Best Practice:

A KIT must link to the published logic/schema standards on the CX Website.
https://catena-x.net/de/standard-library
eclipse tractusx-docs-artefacts
How-to-create-a-KIT-website
Minimum: PCA/BDA have finalized all release-relevant Standardization Requests (STAN). Those have passed the CX Association`s technical committee (TC4S) and are pre-published on the website. Opt-out period in progress.
Best case: Association Board approval is available and CX Standard is published on website.
Note: Please create and submit standards in time according to process and timeline > The standardization process (Source only accessible for Catena-X Consortia members in current transition phase.)

Contacts:

Responsible: PO/BO (from relevant Domain)
Responsible for Process: PCA/BDA
Consult: KIT-CONTACT1, KIT-CONTACT2
Review by: PCA/BDA

[x] Business Process Documentation

Documentation must be available in Eclipse Tractus-X as part of the adoption view MD files.

Best Practice:

eclipse tractusx-docs-artefacts
How-to-create-a-KIT-website

Contacts:

Responsible: PO/BO (from relevant Domain)
Consult: KIT-CONTACT1, KIT-CONTACT2
Review by: PCA/BDA

[ ] Architecture Documentation

Documentation must be available in Eclipse Tractus-X as part of the adoption view MD files.

Best Practice:

eclipse tractusx-docs-artefacts
How-to-create-a-KIT-website

Contacts:

Responsible: PO/BO (from relevant Domain)
Responsible for Process: EAs
Consult: KIT-CONTACT1, KIT-CONTACT2
Review by: PCA/BDA

[x] Access and Usage Policies Documentation

Mandatory if a use case needs access & usage policies.
Documentation must be available in Eclipse Tractus-X as part of the adoption view MD files.
Policies must contain:

a human-readable text (aligned with legal)
a technical policy that can be executed by the EDC

Best Practice:

eclipse tractusx-docs-artefacts
How-to-create-a-KIT-website
https://github.com/eclipse-tractusx/edc-legal-policies

Artifact Repository:

eclipse-tractusx

Contacts:

Responsible: PO/BO (from relevant Domain)
Support for Data Sovereignty: SYSTEM ARCHITECT3
Consult: KIT-CONTACT1, KIT-CONTACT2
Review by: PO / BO (from relevant Domain)

[ ] Tutorials and Documenation

recommended; not mandatory
Documentation must be available in Eclipse Tractus-X as part of the adoption view MD files.

Best Practice:

eclipse tractusx-docs-artefacts
How-to-create-a-KIT-website

Contacts:

Responsible: PO/BO (from relevant Domain)
Consult: KIT-CONTACT1, KIT-CONTACT2
Review by: PCA/BDA

[ ] White Paper

recommended; not mandatory
Documentation must be available in Eclipse Tractus-X as part of the adoption view MD files.

Best Practice:

eclipse tractusx-docs-artefacts
How-to-create-a-KIT-website

Contacts:

Responsible: PO/BO (from relevant Domain)
Consult: KIT-CONTACT1, KIT-CONTACT2
Review by: PCA/BDA

As discussed with @danielmiehle, we split up the adoption view into 4 new views: business view, architecture view, operation view, and development view.

KIT Repo in Tractus-X, no reference implementation so the PR is sufficient https://github.com/eclipse-tractusx/eclipse-tractusx.github.io/pull/499
Vision and Mission okay -> moved to business view, pilot for KITs with Traceability KIT @danielmiehle
Business Value Document ->  moved to business view, pilot for KITs with Traceability KIT okay @danielmiehle
Semantic Model Standards submitted and published -> content changes okay @danielmiehle
Logic and Schema Standards submitted and published -> is in Architecture overview, okay @danielmiehle
Business Process Documentation -> moved to dev view, okay @danielmiehle
Architecture Documents moved to arch view, okay @maximilianong
Access and Usage Policies available @maximilianong
Tutorial and Documentation OPTIONAL, tutorial in Business View @maximilianong
White Paper Okay, OPTIONAL okay @maximilianong

I will close this issue since all mandatory points are fulfillment.


TabCompletion not respecting setting

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.64
OS Version: Win10

Unfortunately I don't know how I got there. But I had tab.Completion on for some time and decided to turn it off. I checked every possibility where this setting could live (User Settings, Workspace Settings and Settings) and that option is either "editor.tabCompletion": "off", or not present. Tab completion is still turned on though.

Tab completion is still turned on though.

What does that mean for you? Please describe in precise steps what you are doing, observing, and expecting

Sure. With all the things described in my initial post I'm having the following issue:
When writing the prefix of a snippet it gets shown as usual.
The snippet still get completed by pressing Tab even though TabCompletion is deactivated everywhere.
I'd expect, when TabCompletion is turned off, that vscode inserts a tab or when already being in a snippet, to jump to the next position defined by $number.

Thanks, understood. For us tab completion is actually a different feature - it's about completing without seeing any suggest window. You have the suggest window and don't want to accept a completion with tab. For that you can unbind a keybinding, follow this guide: https://code.visualstudio.com/docs/getstarted/keybindings#_removing-a-specific-key-binding-rule

Simpler than in guide

Thanks very much! I did not know that!


Pub validator test is failing on mac

http://build.chromium.org/p/client.dart/builders/pub-mac/builds/1441/steps/pub tests/logs/stdio
For some reason, it doesn't seem to be recognizing a "src" directory beneath "lib" as "src".

This issue has been moved to dart-lang/pub#366.


approvalModelExists() MySQL bug

In your approvalModelExists method, you are checking for an exact match for new_data and original_data via json_encode. I'm not sure how .sqlite formats data in json columns, but it appears to be the same as json_encode, since it works for your tests. In my local database I'm running MySQL 8, and it puts spaces between the key and value pairs in those columns, so the exact match in your query isn't working because of slight formatting differences between php and mysql, and thus duplicates will always be created.
I've tried the following and it seems to work:
return Approval::where('state', ApprovalStatus::Pending)
    ->whereJsonContains('new_data', $model->getDirty())
    ->whereJsonContains('original_data', $model->getOriginalMatchingChanges())
    ->exists();

If you want, I can submit a PR using the whereJsonContains query builder method.

Hey,
Yeah I'm open to a PR being submitted if you think it would help.
Can you add a quick scenario with code examples of what's broke and how you're looking to resolve it?
Thanks!

It's basically any time I go to create a new model or update an existing one. I always get duplicates because of how mysql formats the json, which causes the exists() check to always return false.
In these examples, I have a Student model, which can have many StudentEnrollment models. When I go to insert or update one, I am going to require an approval before a new enrollment can be inserted or updated.
Create example:
$student->enrollments()->create([
    'enroll_start' => '2022-01-01',
]);

$student->enrollments()->create([
    'enroll_start' => '2022-01-01',
]);

This results in two approvals being inserted for the same exact data. When I dump the json_encode($model->getDirty()), I get this: {"assignee_id":123456,"enroll_start":"2022-01-01 00:00:00"}. In my screenshot below, you can see the database formats the data differently, and I think that is causing the issue with the query returning a match here.

Updating data is basically the same result.

Ah I see. I think it's a case of not originally considering this kind of scenario -- very hard to predict lots of different scenarios, especially when my original idea for this package was to use it for a project I'm planning.
This is the joys of open source though, where other people can spot these things and hopefully help out with PR's or advice.
As I say, you're welcome to PR anything you wish if you feel you have a working solution for an issue and I will look at it 😊

This is the joys of open source though, where other people can spot these things and hopefully help out with PR's or advice.

That's part of the reason why I open source some of my own packages is sometimes other developers can help spot/fix issues you didn't even notice or think of 😄


Check biomass component producibility before and after adding Michelle's reaction

Want a big heat map of the biomass components (there should be some sort of grouping of minimal, core biomass, and full KBase biomass) as the rows, and the columns as the different states of the model (right after making it in KBase, after adding all of Michelle's reactions, anything else?).

Minimal biomass could just be amino acids and cofactors we know are there.


Update translations

Description
Monthly-ish update of translations. Some new veBAL terms, and removing an Element banner.
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Dependency changes
[ ] Code refactor / cleanup
[X] Documentation or wording changes
[ ] Other

How should this be tested?
Look at any of the changed keys in a non-US language.
Visual context
Checklist:

[X] I have performed a self-review of my own code
[ ] I have requested at least 2 reviews (If the PR is significant enough, use best judgement here)
[ ] I have commented my code where relevant, particularly in hard-to-understand areas
[ ] If package-lock.json has changes, it was intentional.
[ ] The base of this PR is master if hotfix, develop if not

Closing since we are removing locale files to optimise the bundle size for now.


add webhook service for callbacks

Description
Integration of webhook service to handle callbacks for payment, refund, deposit
Type of change

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

How Has This Been Tested?


Fixed issue with HTML attachments (501 Syntax error - line too long)

The PR fixes an issue that occurred when trying to send long HTML attachments. The server then responded with an "501 Syntax error - line too long" error.
I also fixed some closures.
Motivation and Context
I wanted to send some HTML mails and ran into the error, also it is subject of the following issue: https://github.com/Kitura/Swift-SMTP/issues/106

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

Would you mind rebasing to master?

Rebase done.

I fixed the tests. While running them, I found out that the line problem also occurs on data and html attachments. Should be also fixed now. All tests were successful, except TestTLSMode.testIgnoreTLS(), but that seems to be because of my server configuration, not because of the test.

Is this gonna be merged anytime soon?

Is this gonna be merged anytime soon?

Thanks @sanzaru and @mbarnach.  I think there was some travis issue previously.  I'm restarting the build.

Thanks @sanzaru and @mbarnach.  I think there was some travis issue previously.  I'm restarting the build.

I still need to look into what it'll take to get tests working again Issue 115  But I'll push this through in the mean time.

I still need to look into what it'll take to get tests working again Issue 115  But I'll push this through in the mean time.


Implement personal contributions

The skills currently have only the "mastery level" which is not very informative.
The idea is to add some "achievements" or "tasks solved" so that the person would explain better what they did with regards to certain area of knowledge.  E. g., when looking at "Ozone" skill for some person, we could see that the person added support for HiDPI in the Wayland platform, implemented a number of Wayland protocol extensions, etc.

Thanks to some ideas and requests from the team, this evolved into a concept of "personal contributions".
The contribution links to a person, a project, and a set of skills, and also has a description.  This allows to record what a team member did, and also improve the knowledge of which skills were actually needed and used for the project.

https://github.com/Igalia/team/pull/94 is related to this task

Some small improvements may still be needed.  For example, it might be worth adding links to contributions at the Skill view, to make it possible to see quickly what each person did in the context of the skill.  These improvements will go as separate issues.


Adds active=True to scanner inputs

Ensures only active assets are selected as scanner inputs. This attempts to smooth out the scanner experiencing by not scanning deprecated or inactive assets, causing endless timeouts and increasing the duration of the scan.
Part of the changes include isort works.

Historically there was some issue with the active flag in LiveHosts that I no longer have context and we used only last_seen dates (in last few weeks) but there was a change at some point by @peterbppb to make sure the flag was properly updated.
I believe it was about marking something inactive only after a few failed attempts (by the baseline scanner)


ng2-bootstrap error with systemjs

ng2-bootstrap accordion component appears to conflict with systemjs loader.
Here's what's showing in the Chrome dev tools console:
zone.js:323 Error: (SystemJS) TypeError: Reflect.getOwnMetadata is not a function at PropDecorator (http://easyofficeforms.com/easyOfficeForms/node_modules/@angular/core/bundles/core.umd.js:2817:40) at __decorate (http://easyofficeforms.com/easyOfficeForms/node_modules/ng2-bootstrap/components/accordion/accordion.component.js:5:110) at eval (http://easyofficeforms.com/easyOfficeForms/node_modules/ng2-bootstrap/components/accordion/accordion.component.js:39:5) at Object.eval (http://easyofficeforms.com/easyOfficeForms/node_modules/ng2-bootstrap/components/accordion/accordion.component.js:55:2) at eval (http://easyofficeforms.com/easyOfficeForms/node_modules/ng2-bootstrap/components/accordion/accordion.component.js:58:4) at eval (http://easyofficeforms.com/easyOfficeForms/node_modules/ng2-bootstrap/components/accordion/accordion.component.js:59:3) Evaluating http://easyofficeforms.com/easyOfficeForms/node_modules/ng2-bootstrap/components/accordion/accordion.component.js Evaluating http://easyofficeforms.com/easyOfficeForms/node_modules/ng2-bootstrap/components/accordion.js Evaluating http://easyofficeforms.com/easyOfficeForms/node_modules/ng2-bootstrap/ng2-bootstrap.js Error loading http://easyofficeforms.com/easyOfficeForms/app/EOFapp.ts
http://easyofficeforms.com
I created a second app without ng2-bootstrap and systemjs loads all the components without error.

@sqlsolver please compare to sample system.js app, works fine
https://github.com/valor-software/angular2-quickstart

https://www.hamsterpad.com/chat/ng2
join slack, so you can ask for help configuring app
but prepare sample repo with config to share

Thanks - I see several things to change after viewing your sample. Good to know they work together!

Thanks for the sample, the app is back up. The only remaining error is non-blocking:
Failed to parse SourceMap: http://easyofficeforms.com/easyOfficeForms/node_modules/ng2-bootstrap/bundles/ng2-bootstrap.min.js.map which seems to already be on your radar #367

Yeap, most probably system.js bundle will be deprecated, and one Umd bundle will replace it


docker-compose.yml: improve settings and the boot order

Up until now, our docker-compose file that sets up Scylla cluster was starting up all nodes in parallel. This is not something that is supported in Scylla and it can sometimes fail. We didn't see those failures until now because we didn't print the cluster logs. This commit makes sure that nodes are booted up in order.
In addition to this, now nodes start with a fixed number of shards (3 each) and memory (1.5GB each). I'm not sure a more powerful cluster is really needed, and - by default - the shard count is equal to the number of cores of the host machine. A large number of shards can quickly eat up the /proc/sys/fs/aio-nr resource in the system, so the cluster wasn't really usable on machines with a large number of cores.
Pre-review checklist

[x] I have split my patch into logically separate commits.
[x] All commit messages clearly explain what they change and why.
[ ] ~I added relevant tests for new features and bug fixes.~
[x] All commits compile, pass static checks and pass test.
[x] PR description sums up the changes and reasons why they should be introduced.
[ ] ~I added appropriate Fixes: annotations to PR description.~

It looks like the CI runner has only two cores and Scylla refuses to boot with more shards than there are cores - even though Scylla inside the container is being run with the --overprovisioned flag. I'll reduce the number of cores.

Note: I based this PR's branch on https://github.com/scylladb/scylla-rust-driver/pull/646 , that PR should probably go first.

@cvybhu ping (after https://github.com/scylladb/scylla-rust-driver/pull/646 is merged)

LGTM, #646 got merged, please rebase onto main.

Thanks, done


How to get Flash streaming?

I want to seek my flash fallbacked video to any time but if I do "setCurrentTime(X)" and "X" time is not yet downloaded, the video stop until that time has been downloaded.
What can I do to have a streaming behavior like "native" mode?

@gangr3na Try latest version and let us know if it worked for you

@gangr3na Closing old issues. If you'd like to reopen this, let us know. Thanks!


Hide the green tick when loading existing notebooks

@claudiaregio requested
When opening an existing notebook, the green tick or error icon in cell statusbar should not be displayed.
The green tick or error icon should only be displayed during run time.
Else user makes the assumption the cell ran right now, instead of this being some old state

Validated. Green tick is now only when I execute after opening.

Validated. Green tick is now only when I execute after opening.


this browser does not support video capture,or this device does not have a camera

Big fan of this tool, Thanks for sharing, but cannot get to recognize camera anymore.
Summary or problem
After downloading modules i start the script. No user interface is visible and I receive this error after 1 minute: "this browser does not support video capture, or this device does not have a camera" I do not get this with facetracking tool which is working fine.
When I open 'developer tools' 1 error and 3 warnings : shown in order of appearance_
Warning:

Platform browser has already been set. Overwriting the platform with [object Object].
Environment.setPlatform @ C:\Users\dante\Documents\Max 8\Packages\n4m-Bundler\n4m-handpose-master\n4m-handpose-master\node_modules@tensorflow\tfjs-core\dist\environment.js:38

(electron) Security Warning: webFrame.executeJavaScript was called without worldSafeExecuteJavaScript enabled. This is considered unsafe. worldSafeExecuteJavaScript will be enabled by default in Electron 12.
electron/js2c/renderer_init.js:15

Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security electron/js2c/renderer_init.js:135 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security.  electron/js2c/renderer_init.js:135

ERROR: Uncaught (in promise) DOMExecption: Could not start video source - n4m-handpose_camera.js 445

WARNING: DevTools failed to load SourceMap: Could not load content for file:///C:/Users/dante/Documents/Max%208/Packages/n4m-Bundler/n4m-handpose-master/n4m-handpose-master/node_modules/ajv.js.map:  _This warning occurs for every module (my guess) there are like a hundred all leading to the modules folder. _

system Windows 11, Max 8.1.11

Hi. Amazing project! I'm excited to experiment connecting MediaPipe tools to my Max Projects.
However, I'm having a similar problem as @electroMedia666, but on my Mac (OS 12.0.1, Max 8.1.11)
I open the patch, push the button that installs dependencies, which completes, but my camera doesn't turn on and no
data seems to be running through the patch.
Electron window that opens up is blank, and when I check it with the dev tools it lists the same first 3 errors @electroMedia666 lists above (but not error 4+5).  I tried their OBS work around, and unfortunately it didn't work for me.
There aren't any errors in the Max console about video capture etc,
--However, there is one error in the Max console that says,  "can't find sketch.js."
It took me a while to figure it out, but in the main window of the patch, there are 2 copies of the subpatcher "p fingerPositions" stacked on top of each other, both are patched into the same inputs and outputs.
In one of the copies (the one "underneath" the other copy), in the sub-subpatcher "drawHandToWorld" there is a js object labeled "js sketch.js" which when I click on it does not have any code in it.
...I'm not sure if this is an error that might be affecting the video window
Any suggestions?
Thank you!

@redshouldrd nice catch - thanks! the old "hidden double-stacked patcher" is an easy one to miss! I've fixed that on the latest commit. Can you give it a shot?
I'll try a windows machine to see if I can repro any of @electroMedia666 's issues

I just bumped electron to the latest stable release 25.0.1 which allows the script npm install script in the init subpatcher to complete. I wonder if this might solve your device issues?
can you pull the latest commits from master here and try again?
you may need to wipe your node_modules dir and package-lock.json file.
on a fresh install, MacOS 12:


Unable to specify until_time for set_temperature/set_operating_mode

As per: https://community.home-assistant.io/t/refactored-honeywell-evohome-custom-component-eu-only/59733/122

I think this is a duplicate of #27, so closing this one & will sort out the other.


Can't npm install this (node-pre-gyp errors)

I've tried installing this via npm install with various different versions of node (0.10.9, 0.11.0, 0.12.4, 4.2.1, and 5.1.0). All fail, albeit in slightly different ways, but i think all related to node-pre-gyp....
5.1.0 seems to get the furthest, but then ultimately fails with:

node-pre-gyp install --fallback-to-build
/bin/sh: pkg-config: command not found
gyp: Call to 'pkg-config libpng --cflags' returned exit status 127. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/Users/liebrand/.nvm/versions/node/v5.1.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:355:16)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.0.0
gyp ERR! command "/Users/liebrand/.nvm/versions/node/v5.1.0/bin/node" "/Users/liebrand/.nvm/versions/node/v5.1.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/liebrand/.nvm/versions/node/v5.1.0/lib/node_modules/mapbox-tile-copy/node_modules/tilelive-s3/lib/binding/tilelive_s3.node" "--module_name=tilelive_s3" "--module_path=/Users/liebrand/.nvm/versions/node/v5.1.0/lib/node_modules/mapbox-tile-copy/node_modules/tilelive-s3/lib/binding"
gyp ERR! cwd /Users/liebrand/.nvm/versions/node/v5.1.0/lib/node_modules/mapbox-tile-copy/node_modules/tilelive-s3
gyp ERR! node -v v5.1.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
node-pre-gyp ERR! build error

In the end I finally got this working by:
1- downgrading my node to 0.12.4
2- brew install zeromq
3- brew install pkgconfig
4- brew install libpng
5- npm install -g mapbox-tile-copy
6- upgrading my node back to v5.1.0

I am getting similar errors as well on OS X. Are there any plans to solve this?

These failures likely stem from dependency on https://github.com/mapnik/node-mapnik. Certain versions of node-mapnik are only prebuilt for certain versions of node.js. When node-pre-gyp can't find an acceptable combination of the node-mapnik version you requested and the version of node.js you're running, it falls back to trying to build the c++ addons "from scratch". In these cases, you'll need several other tools installed.
Looking over the .travis.yml in node-mapnik, I see that there should be builds on v0.10 v4 and v5. Further investigation of the travis logs, looks like pre-built bundles were built on

5.10.1
4.4.3
0.10.44

Thanks @rclark, I understand now.
I'll switch my node version to 5.10.1 with nvm and try the installation again.
I'll keep you updated.

Switch to 5.10.1 solved it for us.


While searching for posts to delete for this month, elements found never stops counting

current set up is logged in account, entered password.
year / month / posts are selected.
i have maybe 20 post, but elements found is up to 31,000 and doesn't seem to be stopping ever.
any advice?

tried adding a ratelimit, limitsearch, and limitdelete
now the scripts just adds elements found by intervals of 60, endlessly

i am having the same issue, i ran it over night, check this out.
https://i.imgur.com/l6SRJd1.png

Do you have this problem with all categories?


feat(cli): added git commit hash to version output

A few notes:

consider updating built's version
consider using vergen instead
maybe change the message when failed to get commit hash during built (no .git etc.)
used tinymist as a reference

Closes #2693.

Thanks! I'd accept a pr moving to vergen if you want

OK. I'll think about it.


Finish user stories

As a Product Manager
I need to complete the user stories for all project steps
So that we have a clear plan and direction for development
Details and Assumptions
Document all steps and requirements for the project.
Ensure all stakeholders have reviewed and agreed on the user stories.

Acceptance Criteria
Given the project requirements are outlined,

When all user stories are written and reviewed,
Then the project plan should be clear and ready for implementation.

Done


Fail to restart automatically using docker + splash

I use the following command to deamonize the process
'docker run -d -p 8050:8050 --restart=always -v /etc/splash/proxy-profiles:/etc/splash/proxy-profiles scrapinghub/splash:1.5 --maxrss 500'
but whenever the splash process crash (it gets killed by the system because it takes too much memory even if i have 1GB on the server) docker fails to restart it with the following error:
Traceback (most recent call last):
  File "/app/bin/splash", line 3, in <module>
    from splash.server import main
  File "/usr/local/lib/python2.7/dist-packages/splash/server.py", line 12, in <module>
    from splash.qtutils import init_qt_app
  File "/usr/local/lib/python2.7/dist-packages/splash/qtutils.py", line 12, in <module>
    from PyQt4.QtCore import (QAbstractEventDispatcher, QDateTime, QObject,
ImportError: /usr/lib/python2.7/dist-packages/PyQt4/QtCore.so: cannot read file data: Input/output error

Hm, I don't know what can cause this error. Searching for 'Input/output error' suggests a hardware failure, but I have not experience with it myself.
One problem which may be related is that Splash can sometimes segfault on shutdown (it seems because C++ destructors order doesn't match Python objects deallocation order), but here the error is at startup, not at shutdown.

I upgraded both my hardware and linux version, the bug doesnt show up againg when i manually send a kill signal to splash. I will update you if it shows up again.
Thanks for your help

Actually i am monitoring the splash server and i see a lot of 'maxrss exceeded 1440 MB, shutting down'. I understand that splash does not cap its memory usage and so you need to ask him to restart whenever it uses more than a set threshold but why is this threshold so rapidily meet ? Also what happen if i don't set a 'maxrss' option ? Does this mean the system will eventually kill the process ? What if i set the --memory option on docker but i don't use maxrss, can i bound the ram to limit and never release it ?

Actually i am monitoring the splash server and i see a lot of 'maxrss exceeded 1440 MB, shutting down'. I understand that splash does not cap its memory usage and so you need to ask him to restart whenever it uses more than a set threshold but why is this threshold so rapidily meet ?

It depends on what are you doing with Splash. WebKit is memory hungry, and creating screenshots of full web pages can take a lot of RAM because the whole image is created in memory - several hundred MBs per image is not uncommon, and for very large pages it can use more than a GB of RAM. For example, if you're rendering a full screenshot of blog.pinterest.com with width set to 2100, it'll require storing of about 2100*64009 pixels, each pixel is a 4-byte number, so in total it is 500MB+, and Splash may need to make a copy (I'm not 100% sure).
If you're resizing images then using resize=vector should be more memory efficient (it is an argument of render.png and splash:png()).
You may try reducing the amount of web pages processed in parallel using --slots option. There is also a new _gc endpoint; you can try it to reclaim some memory without a restart.

Also what happen if i don't set a 'maxrss' option ? Does this mean the system will eventually kill the process ?

Splash will start swapping. What happens next depends on how is your OS configured. It may enevtually use GBs of swap space.

What if i set the --memory option on docker but i don't use maxrss, can i bound the ram to limit and never release it ?

If I'm not mistaken, --memory option sets swap space equal to the requested RAM, so Splash will first use RAM, then use swap and then I'm not sure what will happen.

But we are use 'execute' endpoint with a very simple lua script that essentially do
assert(splash:wait(%s))
return splash:html()

I know python has sometimes trouble garbage collecting and releasing memory but it's strange that splash uses so much memory (and seems to not reallow it or not release it ?). using maxrss works but it somewhat cumbersome to have to restart the reactor every few minutes.

There is an internal in-memory cache which WebKit uses; maybe _gc endpoint could help you.

Using a lower value for --slots mitigate the problem as the speed at which the memory is consumed is directly linked to this settings however the memory still grows unchecked (exactly like a memory leak) and so the splash server is restarted every 5 minutes. We added a scrapy middleware to sleep and retry whenever the splash server is unresponsive but this is clearly not a satsifying architecture ;(
I had a similar memory issue related in one of my project and i had to use https://docs.python.org/3/library/concurrent.futures.html (there is a backport for python 2.7) like this
with futures.ProcessPoolExecutor(max_workers=1) as executor:
   ...

(see http://stackoverflow.com/questions/15455048/releasing-memory-in-python)
Maybe i can help you to solve this problem in the library or i am the only to encounter this problem ?

We are solving it by starting multiple Spash instances (one per CPU core - Splash can use only a single CPU core, so it is a good idea anyways) and putting a load balancer in front of them. This has its own issues (I'm not sure I like how the pool works currently when load balancer is used), but this way when one instance is restarting another can continue processing.
It looks like WebKit memory cache is unbound, and it is never cleared, at least in QWebKit 4. So by default there is a "leak" (ever increasing cache). _gc endpoint is an attempt to provide a way to clear these WebKit caches, maybe running a cron script which pings _gc will help with memory usage in your case. I haven't tried it for real workloads though.
There are some settings in http://doc.qt.io/qt-4.8/qwebsettings.html which may help, e.g. http://doc.qt.io/qt-4.8/qwebsettings.html#setObjectCacheCapacities. I tried it briefly and it seems to help a bit, but I haven't had time to check it in details; PRs to e.g. allow configuring setObjectCacheCapacities values at startup are welcome.

Ok i will take a look, thanks a lot. Regarding the '_gc' endpoint, how can i use the latest version with docker ? Doing a docker scapinghub/splash does not pull the master branch is it ?

To get _gc endpoint use "scrapinghub/splash:master" Docker image (see  http://splash.readthedocs.org/en/latest/install.html#splash-versions).

It could be the case something other than WebKit is leaking. There is _debug endpoint which can return per-class counts of alive objects (for a restricted set of classes); usually it doesn't show anything suspicious, but maybe you'll find something.

yes nothing supicious for me there:
{"leaks": {"LuaRuntime": 5, "SplashQNetworkAccessManager": 1, "ProfilesSplashProxyFactory": 7, "_SplashHttpClient": 4, "LuaRender": 4, "SplashQWebPage": 4, "_LuaThread": 4, "BrowserTab": 4, "_LuaTable": 16, "SplashCookieJar": 4, "QTimer": 3}

_gc does help a little and the master version seems to be more stable (now only rebooting every 10 minutes :).
But i guess if the cause is QT, there is nothing to do on your side. I will try threading and load balancing , it does work very well in general case (i am using celery intensively and they also have a unbound memory problem, they solve by closing & reoping threads after a predefined amount of tasks done)

can _gc be called periodically from within splash itself? a moment to run GC is when Splash memory usage reaches the maxrss threshold set by command line argument.

I like the idea - under the pressure try to survive before giving up. There are 2 problems:

I think restarts can still be needed, _gc likely won't fix everything. We should decide when to do a cleanup and when to do a restart.
Currently what is measured is a peak RSS a process ever used, so the value never decreases.

There is an interesting discussion in this ticket, bu I'm not sure what to with it. Closing.


Experience, products and order localizations sync by rake tasks and webhooks

Initial PR for integration with flow.io

Rake tasks implemented:

flowcommerce_spree:list_tasks - Listing and possible invocation of all the Flow tasks
flowcommerce_spree:upload_catalog - uploads catalog to Flow API using local Spree database
flowcommerce_spree:check - Check if ENV vars, center and tier per experience is set
flowcommerce_spree:sync_localized_items - Sync experiences and localized product catalog items from Flow.io into DB
flowcommerce_spree:sync_localized_items_forced - Force sync (no timeout) experiences and localized product catalog items from Flow.io
flowcommerce_spree:clean_flow_catalog - Remove unused items from flow catalog (remove product from flow unless exists locally)
flowcommerce_spree:purge_catalog - remove all the products (Product Catalog) from flow.io
flowcommerce_spree:purge_flow_data - Purge flow_data from all the Variants and Products in the DB
flowcommerce_spree:exit - exit list tasks

flow_zone detection is added to the CurrentZoneLoader. If the zone is an active flow_zone, a Flow::Session request is issued to flow.io, passing the request.ip for geo-location, and a hashed visitor_id for identification purpose.

The Spree::Core::ControllerHelpers::FlowIoOrderHelperDecorator is prepended to the ApplicationController to override the adjust_zone_and_ip method to inject Flow.io session_id into the order.

FlowcommerceSpree::Settings.additional_attributes are stored as Spree::Preferences to help export to flow.io additional Spree::Variants attributes, like hs_code, country_of_origin, etc.

FlowcommerceSpree::Settings.product_catalog_upload hash is stored as Spree::Preferences to register the time of running an Upload Catalog task - this is useful to have a timeout for the task of syncing  experiences and localized product catalog items from Flow.io into DB.

Added price_in_zone, flow_local_price, price_range methods to the FlowIoProductDecorator prepended to Spree::Product - to help displaying localized prices for the current flow.io experience in the PLP and PDP.

Also several methods added to FlowIoVariantDecorator prepended to Spree::Variant, to Spree::Order decorator, Spree::LineItem, and Spree::Zones::Product decorator - for helping with uploading variants to flow.io, sync the variants' and orders data from flo.io, displaying localized prices for the current flow.io experience in the PLP and PDP, store and update flow.io experience into a Spree::Zone (product_zone).

sync_to_flow_io method added to Spree::Order decorator's before_save and after_touch callbacks - to initiate order syncing with flow.io, if the order's zone is an active flow.io experience, order's state is 'cart' and the order has at least 1 line_item.

FlowcommerceSpree::ImportExperienceItems - A service object to import the data for product variants belonging to a flow.io Experience (If at least a variant is included in experience, add the flow.io experience to the product too).

FlowcommerceSpree::ImportExperiences - A service object to import the data for of flow.io Experience into Spree::Zones::Product

FlowcommerceSpree::OrderSync - service object for syncing the order information with flow.io - called in the order's before_save and after_touch callbacks.

The WebhooksController and WebhookService for catching the webhook events, emitted by flow.io to the /flow/event-target endpoint. The received discriminator param is used to call the corresponding hook method of WebhookService.

FlowcommerceSpree::LoggingHttpClient and LoggingHttpHandler built following the examples in the flowcommerce gem.

There are also a bunch of yet unused modules, like simple_csv_writer, due to the gem being built on the base of the flowcommerce-solidus gem and the flo.io solidus demo repository.

@texpert Do you mind adding more description to the PR? A brief explanation and context would be awesome

Just added, @davidmejuri

@texpert Do you mind adding more description to the PR? A brief explanation and context would be awesome

Just added, @davidmejuri


Support wasm build

Any plan to support wasm? I would like to host a static website developed by Qt5(Qt for wasm), is it possible to compile this sdk by emscripten and make it work in browser?

Hi @stereomatchingkiss, sorry to say we don't currently support or plan to support wasm anytime soon, but there should be a way for you to dynamically link the sdk to your project.
According to emscripten's FAQ:
"... Libraries not included with Emscripten (like Boost) must be compiled and linked with the program just as if they were a module in the project ..."
The same should be applicable to our sdk.

Hi there. Any further information on that? I've managed to build AWS C++ SDK for Web Assembly (emsdk 3.1.25) but I get the following "undefined symbol" errors:
error: undefined symbol: aws_default_dns_resolve (referenced by top-level compiled C/C++ code)
error: undefined symbol: aws_event_loop_new_default_with_options (referenced by top-level compiled C/C++ code)

That's because aws-c-io doesn't include any platform-specific implementation (CMAKE_SYSTEM_NAME is equals "Emscripten" and no implementation files are included).
Can I somehow build the SDK without aws-c-io?


Upgrade cert-manager to v0.15.2

Description
This upgrades cert-manager to v0.15.2 which is the current stable version, as well as make it read the version from a flag.
Motivation and Context
This fixes part of #149, also with 0.15 the logic to install CRDs is simplified as these are now installed using Helm.
How Has This Been Tested?
Tested install using a kind cluster.
Types of changes

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

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Cc @Waterdrips

Could we have the "if" switch to install the CRD via kubectl please for users who are on earlier versions and who do not want to upgrade immediately?
We will remove it in a later release.

Added the old install method back with a semver check

I am seeing CI failing, could you take a look at this please?

@alexellis done, forgot to pass a variable along

Sure! Still happy to do that if you want

It would be appreciated, if you don't mind.

Merged, and please feel free to come by again. Hopefully arkade could be useful to the cert-manager community and to yourself at times during testing.


Pull API documentation out into a top-level section.

This PR seeks to take an initial step in improving our documentation by refactoring the API documentation.

Visibility: API documentation was hidden underneath the ngrok Platform section making it hard to find.
Unification: API documentation and API reference documentation were separated into two top-level sections.
Defragmentation: API documentation was unnecessarily separated into many separated pages without a clear reason which makes it harder to read and search the documentation.
Succinctness/Clarity: As I made changes to fix the above, I ended up trimming the API documentation to remove extraneous words, fix typos, adjust header sizes,  and do other small quality-of-life fixes.

As part of this change, I needed an API reference index page to link to so I created one that talks a little bit about how we generate the API reference documentation.
I'm intending to make similar improvements for the remainder of the documentation.
It's possible this may break a few links to some lesser-referenced pages in our documentation. I'm not sure yet how to solve this problem and could use guidance here.
This also deletes an apis directory in the root of this repository which from what I can see was completely unused and confusing.

@nijikokun can i get an approval? do you know how to redirect for the old pages?

@inconshreveable I was going to suggest doing that but it looks like the API urls would stay at the same location.
https://ngrok.com/docs/api/

they don't actually as far as i can tell, but i did find a way to do redirects! updating momentarily

Error from deploy:

[ERROR] Error: Invalid sidebar file at "sidebars.js".
15:42:07.175 | These sidebar document ids do not exist:
15:42:07.175 | - events/event-sources
15:42:07.175 | - events/event-sources


Remove SAML validator tool feature

Description:
Remove SAML validator tools (SAML request validator, SAML response builder) with all of their services since it's redundant.

fixed with https://github.com/wso2-extensions/identity-tool-samlsso-validator/pull/30


Method naming convention change

[ ]  Reduce the issue level to "typo" in IDEA settings.
[ ]  Update all the projects with the most recent configuration.
[ ]  Remove all @SuppressWarnings("MethodParameterNamingConvention") as redundant.

@armiol PTAL

@alexander-aleksandrov LGTM for this project. We need to do the same in other projects as well.


Initialization for LoRA weights A and B initialized

System Info

The comment and code are contradictory please anyone explain it to me.
Who can help?
@BenjaminBossan
Information

[ ] The official example scripts
[ ] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder
[ ] My own task or dataset (give details below)

Reproduction
nn.init.zeros_(self.lora_embedding_B[adapter_name])
nn.init.normal_(self.lora_embedding_A[adapter_name])
Expected behavior
nil.

You're right, the comment doesn't match the code. After a quick glance at the LoRA paper, I don't see an explicit mention of how LoRA should be initialized for embedding layers. When checking the reference implementation by Microsoft, they, do, however, use the same scheme as we do:
https://github.com/microsoft/LoRA/blob/4c0333854cb905966f8cc4e9a74068c1e507c7b7/loralib/layers.py#L55-L60
Therefore, I think the code is correct.


Errors in NonBlockingStatsDClient.QueueConsumer are not recoverable

QueueConsumer does not recover from java.lang.Error instances and there's no API to re-schedule another QueueConsumer. That results in the message queue getting filled up and no metrics getting emitted.
I had an application instance that had an OutOfMemoryError thrown in QueueConsumer. Here's the stack trace of the thread that was supposed to run QueueConsumer:
 StatsD-pool-1-thread-1 tid=23 [WAITING] [DAEMON]
sun.misc.Unsafe.park(boolean, long) Unsafe.java
java.util.concurrent.locks.LockSupport.park(Object) LockSupport.java:175
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await() AbstractQueuedSynchronizer.java:2039
java.util.concurrent.LinkedBlockingQueue.take() LinkedBlockingQueue.java:442
java.util.concurrent.ThreadPoolExecutor.getTask() ThreadPoolExecutor.java:1067
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor$Worker) ThreadPoolExecutor.java:1127
java.util.concurrent.ThreadPoolExecutor$Worker.run() ThreadPoolExecutor.java:617
java.lang.Thread.run() Thread.java:745

Here are some things I think we could do to mitigate that:

Minimize the number of allocations in QueueConsumer#run. In particular, packet encoding could be performed in the client threads
Add API for re-scheduling the failed QueueConsumer
Handle OutOfMemoryError (are there other recoverable errors?) in QueueConsumer

I ran into exactly the same problem.    Just catching OutOfMemoryError would have handled my case.


Mark source owner and repo as force replacement for pages projects

Fixes #2737
Pages doesn't support changing the git source of a pages project, and you need to delete and recreate. PR marks project owner or repo name as ForceNew.

if you can run make docs to update the registry docs, I'm 👍 here

Done


(next) Typo in styles/transitions.js

Just spotted a typo in transitions.js on the next branch:
const durationIntenal
I believe this should be const durationInternal instead.
Doesn't break anything because the typo is repeated throughout the file (yay autocomplete!)

Good catch, feel free to submit a PR to fix it :).

@oliviertassinari. Made a PR https://github.com/callemall/material-ui/pull/6175 to fix it.

ouch, it is my bad then, sorry for that typo! :X


on system/compiler/boost change detection, (hard) replay takes 3 tries

When the system/compiler/boost change detection is activated it takes 3 tries to recover.
$ programs/nodeos/nodeos -d ~/eos.data/f --config-dir ~/eos.data/f
3470986ms thread-0   chain_plugin.cpp:151          plugin_initialize    ] initializing chain plugin
3470987ms thread-0   main.cpp:119                  main                 ] /Users/spoon/eos-noon-net/libraries/chainbase/src/chainbase.cpp(70): Throw in function chainbase::database::database(const bfs::path &, chainbase::database::open_flags, uint64_t, bool)
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >
std::exception::what: database created by a different compiler, build, boost version, or operating system

try 1:
$ programs/nodeos/nodeos -d ~/eos.data/f --config-dir ~/eos.data/f --hard-replay-blockchain
3512872ms thread-0   chain_plugin.cpp:151          plugin_initialize    ] initializing chain plugin
3512872ms thread-0   chain_plugin.cpp:233          plugin_initialize    ] Hard replay requested: deleting state database
3512873ms thread-0   block_log.cpp:324             repair_log           ] Recovering Block Log...
3512874ms thread-0   block_log.cpp:344             repair_log           ] Moved existing blocks directory to backup location: '/Users/spoon/eos.data/f/blocks-2018-05-28T21:58:32.873'
3512874ms thread-0   block_log.cpp:349             repair_log           ] Reconstructing '/Users/spoon/eos.data/f/blocks/blocks.log' from backed up block log
3512874ms thread-0   block_log.cpp:455             repair_log           ] Existing block log was undamaged. Recovered all irreversible blocks up to block number 1.
3512875ms thread-0   chain_plugin.cpp:431          recover_reversible_b ] Reconstructing '/Users/spoon/eos.data/f/blocks/reversible' from backed up reversible directory
3512875ms thread-0   main.cpp:119                  main                 ] /Users/spoon/eos-noon-net/libraries/chainbase/src/chainbase.cpp(70): Throw in function chainbase::database::database(const bfs::path &, chainbase::database::open_flags, uint64_t, bool)
Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error> >
std::exception::what: database created by a different compiler, build, boost version, or operating system

That doesn't look like anything actually happened, but try 2:
$ programs/nodeos/nodeos -d ~/eos.data/f --config-dir ~/eos.data/f --hard-replay-blockchain
3544493ms thread-0   chain_plugin.cpp:151          plugin_initialize    ] initializing chain plugin
3544493ms thread-0   chain_plugin.cpp:233          plugin_initialize    ] Hard replay requested: deleting state database
3544494ms thread-0   block_log.cpp:324             repair_log           ] Recovering Block Log...
3544494ms thread-0   block_log.cpp:344             repair_log           ] Moved existing blocks directory to backup location: '/Users/spoon/eos.data/f/blocks-2018-05-28T21:59:04.494'
3544494ms thread-0   block_log.cpp:349             repair_log           ] Reconstructing '/Users/spoon/eos.data/f/blocks/blocks.log' from backed up block log
3544494ms thread-0   block_log.cpp:455             repair_log           ] Existing block log was undamaged. Recovered all irreversible blocks up to block number 1.
3544495ms thread-0   main.cpp:133                  main                 ] boost::interprocess_exception::library_error

Well, that's different. Let's try a third time
$ programs/nodeos/nodeos -d ~/eos.data/f --config-dir ~/eos.data/f --hard-replay-blockchain
3565892ms thread-0   chain_plugin.cpp:151          plugin_initialize    ] initializing chain plugin
3565892ms thread-0   chain_plugin.cpp:233          plugin_initialize    ] Hard replay requested: deleting state database
3565892ms thread-0   block_log.cpp:324             repair_log           ] Recovering Block Log...
3565892ms thread-0   block_log.cpp:344             repair_log           ] Moved existing blocks directory to backup location: '/Users/spoon/eos.data/f/blocks-2018-05-28T21:59:25.892'
3565893ms thread-0   block_log.cpp:349             repair_log           ] Reconstructing '/Users/spoon/eos.data/f/blocks/blocks.log' from backed up block log
3565893ms thread-0   block_log.cpp:455             repair_log           ] Existing block log was undamaged. Recovered all irreversible blocks up to block number 1.
3565901ms thread-0   block_log.cpp:123             open                 ] Log is nonempty
3565901ms thread-0   block_log.cpp:136             open                 ] my->head->block_num(): 1
3565901ms thread-0   block_log.cpp:159             open                 ] Index is empty
3565901ms thread-0   block_log.cpp:297             construct_index      ] Reconstructing Block Log Index...
3565921ms thread-0   http_plugin.cpp:281           plugin_initialize    ] configured http to listen on <IP_ADDRESS>:8888

Works on third try.

same issue in v1.3.0

Still happening with v1.7.3

Working on re-creating the issue, I start from a chainbase created by v1.7.  Running from the develop branch of v1.8+:
./nodeos  -c jungle-config.ini
...
info  2019-07-16T17:52:19.611 nodeos    chain_plugin.cpp:379          operator()           ] Support for builtin protocol feature 'GET_SENDER' (with digest of 'f0af56d2c5a48d60a4a5b5c903edfb7db3a736a94ed589d0b797df33ff9d3e1d') is enabled with preactivation required
warn  2019-07-16T17:52:19.621 nodeos    chain_plugin.cpp:943          plugin_initialize    ] 13 N5boost10wrapexceptISt13runtime_errorEE: chainbase database format not compatible with this version of chainbase.
rethrow chainbase database format not compatible with this version of chainbase.:
{"what":"chainbase database format not compatible with this version of chainbase."}
nodeos  chain_plugin.cpp:943 plugin_initialize
error 2019-07-16T17:52:19.622 nodeos    main.cpp:116                  main                 ] 13 N5boost10wrapexceptISt13runtime_errorEE: chainbase database format not compatible with this version of chainbase.
rethrow chainbase database format not compatible with this version of chainbase.:
{"what":"chainbase database format not compatible with this version of chainbase."}
nodeos  chain_plugin.cpp:943 plugin_initialize
Now try with --hard-replay option:
./nodeos  -c jungle-config.ini --hard-replay
...
info  2019-07-16T19:05:55.999 nodeos    chain_plugin.cpp:717          plugin_initialize    ] Hard replay requested: deleting state database
info  2019-07-16T19:05:56.002 nodeos    block_log.cpp:411             repair_log           ] Recovering Block Log...
info  2019-07-16T19:05:56.003 nodeos    block_log.cpp:431             repair_log           ] Moved existing blocks directory to backup location: '/home/developer/.local/share/eosio/nodeos/data/blocks-2019-07-16T19:05:56.002'
info  2019-07-16T19:05:56.003 nodeos    block_log.cpp:436             repair_log           ] Reconstructing '/home/developer/.local/share/eosio/nodeos/data/blocks/blocks.log' from backed up block log
info  2019-07-16T19:05:56.005 nodeos    block_log.cpp:567             repair_log           ] Existing block log was undamaged. Recovered all irreversible blocks up to block number 1.
info  2019-07-16T19:05:56.007 nodeos    chain_plugin.cpp:1063         recover_reversible_b ] Reconstructing '/home/developer/.local/share/eosio/nodeos/data/blocks/reversible' from backed up reversible directory
warn  2019-07-16T19:05:56.007 nodeos    chain_plugin.cpp:943          plugin_initialize    ] 13 N5boost10wrapexceptISt13runtime_errorEE: chainbase database format not compatible with this version of chainbase.
rethrow chainbase database format not compatible with this version of chainbase.:
{"what":"chainbase database format not compatible with this version of chainbase."}
nodeos  chain_plugin.cpp:943 plugin_initialize
error 2019-07-16T19:05:56.007 nodeos    main.cpp:116                  main                 ] 13 N5boost10wrapexceptISt13runtime_errorEE: chainbase database format not compatible with this version of chainbase.
rethrow chainbase database format not compatible with this version of chainbase.:
{"what":"chainbase database format not compatible with this version of chainbase."}
nodeos  chain_plugin.cpp:943 plugin_initialize
resulting data dir:
tree .
.
├── blocks
│   ├── blocks.log
│   └── reversible
├── blocks-2019-07-16T19:05:56.002
│   ├── blocks.index
│   ├── blocks.log
│   └── reversible
│       ├── shared_memory.bin
│       └── shared_memory.meta
├── snapshots
└── state
try again (note different error):
./nodeos  -c jungle-config.ini --hard-replay
...
info  2019-07-16T19:08:50.357 nodeos    chain_plugin.cpp:717          plugin_initialize    ] Hard replay requested: deleting state database
info  2019-07-16T19:08:50.357 nodeos    block_log.cpp:411             repair_log           ] Recovering Block Log...
info  2019-07-16T19:08:50.357 nodeos    block_log.cpp:431             repair_log           ] Moved existing blocks directory to backup location: '/home/developer/.local/share/eosio/nodeos/data/blocks-2019-07-16T19:08:50.357'
info  2019-07-16T19:08:50.357 nodeos    block_log.cpp:436             repair_log           ] Reconstructing '/home/developer/.local/share/eosio/nodeos/data/blocks/blocks.log' from backed up block log
info  2019-07-16T19:08:50.358 nodeos    block_log.cpp:567             repair_log           ] Existing block log was undamaged. Recovered all irreversible blocks up to block number 1.
info  2019-07-16T19:08:50.358 nodeos    chain_plugin.cpp:1063         recover_reversible_b ] Reconstructing '/home/developer/.local/share/eosio/nodeos/data/blocks/reversible' from backed up reversible directory
warn  2019-07-16T19:08:50.358 nodeos    chain_plugin.cpp:943          plugin_initialize    ] 13 N5boost10wrapexceptISt13runtime_errorEE: database file not found at /home/developer/.local/share/eosio/nodeos/data/blocks-2019-07-16T19:08:50.357/reversible/shared_memory.bin
rethrow database file not found at /home/developer/.local/share/eosio/nodeos/data/blocks-2019-07-16T19:08:50.357/reversible/shared_memory.bin:
{"what":"database file not found at /home/developer/.local/share/eosio/nodeos/data/blocks-2019-07-16T19:08:50.357/reversible/shared_memory.bin"}
nodeos  chain_plugin.cpp:943 plugin_initialize
error 2019-07-16T19:08:50.358 nodeos    main.cpp:116                  main                 ] 13 N5boost10wrapexceptISt13runtime_errorEE: database file not found at /home/developer/.local/share/eosio/nodeos/data/blocks-2019-07-16T19:08:50.357/reversible/shared_memory.bin
rethrow database file not found at /home/developer/.local/share/eosio/nodeos/data/blocks-2019-07-16T19:08:50.357/reversible/shared_memory.bin:
{"what":"database file not found at /home/developer/.local/share/eosio/nodeos/data/blocks-2019-07-16T19:08:50.357/reversible/shared_memory.bin"}
nodeos  chain_plugin.cpp:943 plugin_initialize
Data dir:
.
├── blocks
│   ├── blocks.log
│   └── reversible
├── blocks-2019-07-16T19:05:56.002
│   ├── blocks.index
│   ├── blocks.log
│   └── reversible
│       ├── shared_memory.bin
│       └── shared_memory.meta
├── blocks-2019-07-16T19:08:50.357
│   ├── blocks.log
│   └── reversible
├── snapshots
└── state

Closing this because #7678 has been merged


Adjusted django-rest-framework instructions

Newer versions of django-rest-framework require an explicit fields property for the serializer and a queryset for the viewset.

@psaniko Thanks for updating the instructions. I forgot that DRF required this as of ~3.3 or newer.