Only use check-ins of last 15 days (EXPOSUREAPP-5910)

Even though we have a worker that deletes all stale check-ins, it's still possible to have stale check-ins in the database because the worker runs only once a day.
This PR adds another function to CheckInRepository, called checkInWithinRetention. This function only returns the check-ins which end date isn't older than 15 days.
This new function is now used:

CheckInViewModel: To not show outdated check-ins
MainActivityViewModel: To not include outdated check-ins in the badge-count in Bottom Nav
SubmissionTask: to not submit outdated check-ins
CheckInWarningMatcher: To not match outdated check-ins

I also refactored the retention logic of TraceLocations by also adding a traceLocationsWithinRetention property to DefaultTraceLocationRepository.

@LukasLechnerDev
Hi Lukas, some short questions to understand the idea behind this PR:
Why did you decide on 'hiding' the stale check-ins until the worker is run, instead of cleaning the database when the app is openend/going to foreground? Does database cleaning take much time or could cause any conflict in the opened app? Could there be any scenario, where a stale check-in could cause a problem (bug) but cannot easily be spotted by the users, because it's hidden?

Hi @vaubaehn ! Great questions!

Why did you decide on 'hiding' the stale check-ins until the worker is run, instead of cleaning the database when the app is openend/going to foreground?

We decided that doing it on every app start is not enough (apps can be started and running for a long time) and doing it every time the app is brought to the foreground is too much :). Either way, we still could have outdated check-ins as some time will pass from the point in time when the user opens the app or brings it to foreground and then sees the check-ins or submits the check-ins.
Therefore, I think it is best to just load the up-to date check-ins whenever we need them and also let a worker run daily to clean up all outdated checkins.

Does database cleaning take much time or could cause any conflict in the opened app?

I don't think it takes that much time. One issue we could have if we clean the db when the user is currently in the check-ins screen could be that suddenly some outdated check-ins disappear.

Could there be any scenario, where a stale check-in could cause a problem (bug) but cannot easily be spotted by the users, because it's hidden?

I can't think of such a scenario ...

@LukasLechnerDev
Hi Lukas, very convincing answers!
Thanks a lot for your thorough reply, hope it didn't steal much of your time.
I can follow you in all points, and I now understand why increasing complexity a bit here is a good idea.
The only critical point for possible issues then is the consistent usage of checkInWithinRetention function and traceLocationsWithinRetention property always and everywhere (but db cleaning), and not to mix up with allCheckIns, right? Could it then be helpful for future 'CWA newbies' to add a short comment on when to use allCheckIns and when to use checkInWithinRetention and traceLocationsWithinRetention to the basic repos (i.e., CheckInRepository.kt) to avoid confusion and mix up?
I'm very excitedly looking forward for release 2.0, pressing all thumbs and wishing it to become a great success!

@vaubaehn  Thanks for your feedback. You are right, it's definitely useful to document these functions better. I have added a commit (see above 👆)
Thank you for your wishes! We are also very excited for 2.0 🚀


Extend .gitignore for the sake of easier contribution

Hi, @jenil! First of all, thanks for such comfortable to work with framework!
I am currently trying it out and also plan to contribute if my additions would be useful and relevant of course (I want to bring native custom scrollbars and a particular accessibility feature btw)
So for the sake of easier contribution could you extend .gitignore?
Something like this would be great in my opinion.
node_modules
_site
*.lock
.jekyll-cache
.idea
.vscode
package-lock.json

It's a minor thing, but different people use different tools. For example a lot of developers prefer JetBrains IDEs instead of VSCode in Russia or someone wants to use more familiar npm instead of yarn.
So PRs would be a bit cleaner without unnecessary files and folder.

Hey @fromaline thanks, just updated the .gitignore 👍


fix(website): favicon

Proposed changes
Turns out the favicon colors were wrong all the time and nobody noticed
Types of changes
What types of changes does your code introduce to Scuffle?
Put an x in the boxes that apply

[x] Bugfix (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)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[ ] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[x] Any dependent changes have been merged and published in downstream modules

Further comments
Are we blind?

Thanks codecov, that doesn't make any sense


ROX-14702: Add UI tests for origin field in Access Control tab

Description
Following up on the previous PRs to add origin field to the UI:

https://github.com/stackrox/stackrox/pull/4894
https://github.com/stackrox/stackrox/pull/5044

This PR adds UI tests that verify correct origin being displayed + that modifications from the UI are disabled.
Checklist

[x] Investigated and inspected CI test results
[x] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed

New tests added

ci/prow/gke-postgres-ui-e2e-tests failed in policy tests which remained unchanged. I checked access control tests and they seem to run successfully. Merging the PR


da.store for hdf file or to_hdf fails with distributed scheduler

h5py File objects do not serialize, so they can only be shared between tasks with the threaded scheduler. da.to_hdf creates an h5py File and then calls store.
Naturally, this only makes sense if the workers are on the same machine or otherwise have access to the same network file-system. Producing many hdf files from one dataset does not necessarily make much sense for arrays as opposed to dataframes.
dataframe's to_hdf is already fixed in this respect, so presumably some of that logic could be copied here.

If you haven't already you may want to read the conversation here: https://github.com/pydata/xarray/issues/798

That is quite a path; but I wasn't sure whether the brief mention of writing had been solved or not. Certainly it's not in dask.array:
In [1]: from dask.distributed import Client
In [2]: c = Client(n_workers=4)
In [3]: import dask.array as da
In [4]: x = da.random.random(1000, chunks=(100, ))
In [5]: x.to_hdf5('out.hd5', '/data')
distributed.protocol.core - CRITICAL - Failed to Serialize
Traceback (most recent call last):
  File "/Users/mdurant/Downloads/distributed/distributed/protocol/pickle.py", line 38, in dumps
    result = pickle.dumps(x, protocol=pickle.HIGHEST_PROTOCOL)
AttributeError: Can't pickle local object 'insert_to_ooc.<locals>.store'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/mdurant/Downloads/distributed/distributed/protocol/core.py", line 43, in dumps
    for key, value in data.items()
  File "/Users/mdurant/Downloads/distributed/distributed/protocol/core.py", line 44, in <dictcomp>
    if type(value) is Serialize}
  File "/Users/mdurant/Downloads/distributed/distributed/protocol/serialize.py", line 138, in serialize
    header, frames = {}, [pickle.dumps(x)]
  File "/Users/mdurant/Downloads/distributed/distributed/protocol/pickle.py", line 51, in dumps
    return cloudpickle.dumps(x, protocol=pickle.HIGHEST_PROTOCOL)
  File "/Users/mdurant/anaconda/lib/python3.5/site-packages/cloudpickle/cloudpickle.py", line 706, in dumps
    cp.dump(obj)
  File "/Users/mdurant/anaconda/lib/python3.5/site-packages/cloudpickle/cloudpickle.py", line 146, in dump
    return Pickler.dump(self, obj)
  File "/Users/mdurant/anaconda/lib/python3.5/pickle.py", line 408, in dump
    self.save(obj)
  File "/Users/mdurant/anaconda/lib/python3.5/pickle.py", line 475, in save
    f(self, obj) # Call unbound method with explicit self
  File "/Users/mdurant/anaconda/lib/python3.5/pickle.py", line 740, in save_tuple
    save(element)
  File "/Users/mdurant/anaconda/lib/python3.5/pickle.py", line 495, in save
    rv = reduce(self.proto)
TypeError: can't pickle _thread.lock objects

No, this hasn't been resolved.  Mostly I wanted to make sure that you were aware of the other challenges here, like performance issues when opening/closing hdf files repeatedly.


Does the QAT trained model able to deploy on GPU framework such as TensorRT?

Does the QAT trained model able to deploy on GPU framework such as TensorRT?

Hi @jinfagang
According to https://pytorch.org/docs/stable/quantization.html

At the moment PyTorch doesn’t provide quantized operator implementations on CUDA - this is the direction for future work. Move the model to CPU in order to test the quantized functionality.
Quantization-aware training (through FakeQuantize) supports both CPU and CUDA.

So I think that the answer is no.
Looking at other posts (yours included in : https://github.com/facebookresearch/detectron2/issues/192 , https://github.com/facebookresearch/detectron2/issues/2281 and https://forums.developer.nvidia.com/t/about-detectron2-on-tensorrt/121333) it seems like it is quite difficult to get detectron2 up and running on tensorrt.
Exporting d2go to onnx and from there to tensorrt seems to be the best bet until nms and the anchor generator layers supports export to tensorrt out of the box.
The commit from a few days ago (https://github.com/facebookresearch/d2go/commit/83d9e8f76d38b67d837ba753b5be79354ac04651) is regarding ModelExportMethod. However I can not find any onnx export method (export_caffe2 can maybe do it? havn't tested, also I cant test it until https://github.com/facebookresearch/d2go/issues/56 is fixed)
ONNX export is asked in https://github.com/facebookresearch/d2go/issues/16 however the facebook developeres have not gotten back with an answer.
I would love to export d2go models to tensorrt myself, however except from this vague comment https://github.com/facebookresearch/detectron2/issues/2281#issuecomment-729325233 i have not really found any proof that it can be done

@petoor Hi. thanks for your dedicated reply.
d2 convert to onnx can be tricky. What we want to make sure, if QAT trained model (weights) can migrated to ONNX as well and then migrate to tensorrt ?
I am able to convert to ONNX by cut some postprocess code out of model.


Message received trigger - error

Describe the bug
Before creating the Message received trigger, everything works.

After creating a Message received trigger, things are not working.

Tried multiple times did not help.

#2235 to track the issues.


dynamic import or runtime defered import will not worked as expect for  serve esbuild bundle files.

Command
build
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
When I export some const in runtime function or deferred promise, I will get below undefined error
zone.js:1046  TypeError: compact2 is not a function
    at compact.ts:3:12
    at Generator.next (<anonymous>)
    at fulfilled (chunk-67KAOBVB.js:47:24)
    at _ZoneDelegate.invoke (zone.js:368:26)
    at _Zone.run (zone.js:129:43)
    at zone.js:1257:36
    at _ZoneDelegate.invokeTask (zone.js:402:31)
    at _Zone.runTask (zone.js:173:47)
    at drainMicroTaskQueue (zone.js:581:35)

Application Code

import { Component } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterOutlet } from '@angular/router';
import { compactValue1 } from './lib/compact';
import { compactValue } from './lib2/compact';

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [CommonModule, RouterOutlet],
  templateUrl: './app.component.html',
  styleUrl: './app.component.scss'
})
export class AppComponent {
  title = 'runtime importer bug';

  constructor() { }

  lib1() {
    console.log(compactValue1);
    console.log(compactValue);
  }
}
//  ******************************* below are the showcase  code to retro *******************

// import { compactValue1 } from './lib/compact';

export const compactValue1 = (async()=>{
    const { compact } = await import('lodash');
    return compact([0, 1, false, 2, '', 3]);
})();

// src\app\lib2\compact.ts
import { compact } from 'loadsh';

export const compactValue = compact([0, 1, false, 2, '', 3]);

Minimal Reproduction
Other details:

added the allowedCommonJsDependencieswith ["loadsh"] in angular.json

// import { compactValue1 } from './lib/compact';
export const compactValue1 = (async()=>{
const { compact } = await import('lodash');
return compact([0, 1, false, 2, '', 3]);
})();
// src\app\lib2\compact.ts
import { compact } from 'loadsh';
export const compactValue = compact([0, 1, false, 2, '', 3]);

** when build finish, serve the bundle dist, will get such error in console.log**
Exception or Error
Thinking the application with lazy loading module will have such a problem too

Your Environment
ng 17.0.1

using  builder @angular-devkit/build-angular: application

Anything else relevant?
But when I using the dev-serve with  forceEsbuild= true  ( vite server ), I didn't find such error.

This is pretty much the same root cause of https://github.com/angular/angular-cli/issues/26888
You need to update the import to
  const {
    default: { compact },
  } = await import('lodash');


Add public cache directive for Cloudflare

Let's see if making the Cache-Control directive explicitly allow public caching gets Render's built-in Cloudflare support to cache beyond just DDOS protection. If so, we can drop CloudFront.

Unfortunately, does not seem to be working. Probably because the built-in Cloudflare stuff is only DDOS protection.


Replace update_chain_state_with ref with update_chain_tip_with in rustdoc

Motivation

Noted in the audit.
Solution

Update the rustdoc for with_block_and_spent_utxos() to mention the appropriate Chain method.
Review

Reviewer Checklist

[ ] Will the PR name make sense to users?
[ ] Are the PR labels correct?
[ ] Does the code do what the ticket and PR says?

[ ] Does it change concurrent code, unsafe code, or consensus rules?

Sorry for the messy commits here, it's actually tricky to reference a trait method from another module!


opensmtpd module: allow changing the package

Motivation for this change
With the recent dovecot-OpenSMTPD breakage it'd have been nice to have this. I wonder whether this should be backported.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Thanks!
I have backported this change to 18.03 in 989884026bf74b4d0a20a0f2d1f4de9116581f8c.

Thank you!


终端模拟器运行指令出错，直接root启动成功

shamu:/ $ su
shamu:/ # sh /data/data/me.piebridge.brevent/brevent.sh
WARNING: run as root is experimental!!!
checking....brevent_server started, pid: 7951
checking for stable...quited
please report bug to https://github.com/brevent/Brevent/issues with log below
--- crash start ---

logcat -b crash -t '07-14 01:29:34.000' -d
--- crash end ---
--- brevent start ---
logcat -b main -t '07-14 01:29:34.000' -d -s BreventLoader BreventServer
07-14 01:29:34.978  7939  7939 D BreventLoader: loader path: /data/app/me.piebridge.brevent-1/base.apk
07-14 01:29:35.934  7951  7951 D BreventServer: get service: package07-14 01:29:35.941  7951  7951 I BreventServer: starting Brevent Server 1.3.4
07-14 01:29:35.950  7951  7951 D BreventServer: get service: package07-14 01:29:35.952  7951  7951 I BreventServer: brevent user: 0, uid: 0
07-14 01:29:35.953  7951  7951 I BreventServer: brevent data directory: /data/user_de/0/com.android.shell
07-14 01:29:35.981  7951  7951 I BreventServer: loading brevent list07-14 01:29:35.985  7951  7951 I BreventServer: load /data/user_de/0/com.android.shell/me.piebridge.brevent.list, size: 68
07-14 01:29:36.005  7951  7951 I BreventServer: loading brevent conf07-14 01:29:36.009  7951  7951 D BreventServer: get service: appwidget
07-14 01:29:36.016  7951  7951 D BreventServer: get service: usagestats
07-14 01:29:36.992  7951  7966 I BreventServer: Brevent Event, now:<PHONE_NUMBER>
07-14 01:29:36.992  7951  7951 D BreventServer: check and brevent
07-14 01:29:36.995  7951  7951 D BreventServer: get service: notification
07-14 01:29:37.015  7951  7966 I BreventServer: system_server: 1794, now:<PHONE_NUMBER>
07-14 01:29:37.448  7951  7951 D BreventServer: get service: activity
07-14 01:29:37.476  7951  7951 D BreventServer: get service: alarm
07-14 01:29:37.478  7951  7951 D BreventServer: get service: wallpaper
07-14 01:29:37.519  7951  7951 D BreventServer: get service: batterystats
07-14 01:29:37.748  7951  7951 D BreventServer: get service: appops
07-14 01:29:37.755  7951  7951 D BreventServer: get service: deviceidle
07-14 01:29:37.765  7951  7951 D BreventServer: Force stop com.topjohnwu.magisk(noRecent)
07-14 01:29:37.767  7951  7951 D BreventServer: check again in 701s
07-14 01:29:37.768  7951  7951 D BreventServer: check and brevent, took 774ms
07-14 01:29:37.773  7951  7951 I BreventServer: charging: false
07-14 01:29:37.773  7951  7951 I BreventServer: support standby: true
07-14 01:29:37.773  7951  7951 I BreventServer: support stopped: true
07-14 01:29:37.783  7951  7951 E BreventServer: Can't be run as root, please open Brevent
07-14 01:29:37.807  7939  7939 E BreventLoader: worker 7951 exited with status 1
07-14 01:29:37.807  7939  7939 D BreventLoader: signal arrived, update: 0
07-14 01:29:37.808  7935  7935 D BreventLoader: worker 7939 exited with status 0
--- brevent end ---
cannot listen port, please report bug to https://github.com/brevent/Brevent/issues with log above

07-14 01:29:37.783 7951 7951 E BreventServer: Can't be run as root, please open Brevent

要么去把允许 ROOT 运行打开，要么直接在应用内root开启。没事用终端干嘛
使用 FastHub Debug 从我的 Google Nexus 6P 发送


Disabled: test_gluon_gpu.test_slice_batchnorm_reshape_batchnorm

Description
Disabled flaky test: test_gluon_gpu.test_slice_batchnorm_reshape_batchnorm. Tracked in https://github.com/apache/incubator-mxnet/issues/12767

See my comment in the issue, were you able to reproduce? Do you have some evidence to declare it as a flaky test?

Agree, it seems like a more general problem that's no related to a test being flaky but actually having a bug in our code. I don't think that disabling all cudnn-backed tests is the way to go

Basically all batchnorm tests are randomly failing, so don't think that we can disable a dozens of tests.

Basically all batchnorm tests are randomly failing because of CuDNN

There is no evidence for this.
Even if this would be the case merging a PR that reduces failure rate appears to be the right thing to do to me.

Temporarily fixing the flaky test by skipping it, shouldn't cause any harm. Would request this to be merged until flakiness is resolved.

I debugged a similar test( a week ago, the issue does not arise(at least for the test I ran) when you run it standalone how many every times. It would crash only when you ran the entire test suite and fail in 1/10 times.
There are a couple of possibilities(from my findings):

There is a leak in the Nvidia drivers.
There is a leak in the CUDA code that is getting aggregated(running all the tests) in the process and hence throwing the error. -- most likely this.

I ran the all the GPU tests over the weekend(outside docker) and found that out of 100 tests, 10 times I get this error, I tend to believe there is a memory leak in the CUDA code.

The test I was debugging was test_gluon_gpu.test_slice_batchnorm(its disabled currently)

I will bring it up with NVidia.

https://github.com/apache/incubator-mxnet/pull/12804


optimization: 手动安装操作指引完善 (closed #722)

Codecov Report

Merging #1020 (bac346f) into V2.2.22-rc (e9e4da9) will increase coverage by 0.29%.
The diff coverage is 90.32%.

@@              Coverage Diff               @@
##           V2.2.22-rc    #1020      +/-   ##
==============================================
+ Coverage       72.57%   72.86%   +0.29%
==============================================
  Files             317      321       +4
  Lines           22859    23090     +231
==============================================
+ Hits            16589    16825     +236
+ Misses           6270     6265       -5

Impacted Files
Coverage Δ

apps/backend/subscription/serializers.py
88.31% <ø> (+0.15%)
:arrow_up:

apps/backend/urls.py
100.00% <ø> (ø)

apps/node_man/urls.py
100.00% <ø> (ø)

apps/node_man/views/job.py
84.74% <ø> (+4.74%)
:arrow_up:

apps/backend/views.py
83.15% <83.33%> (-0.08%)
:arrow_down:

apps/node_man/handlers/job.py
85.88% <86.66%> (-0.44%)
:arrow_down:

apps/node_man/views/__init__.py
86.66% <93.75%> (+6.66%)
:arrow_up:

apps/backend/serializers/views.py
100.00% <100.00%> (ø)

apps/utils/unittest/base.py
92.95% <100.00%> (+0.20%)
:arrow_up:

config/default.py
82.53% <100.00%> (+0.06%)
:arrow_up:

... and 35 more

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


kernel: banner: Allow for customising version

This allows for further (out of tree) customisation of the boot banner version string when devices boot.

changes are good, but we should have a followup doc update here with a small example of how this can be tweaked, for example to show My custom release info somewhere, or similar.
https://github.com/zephyrproject-rtos/zephyr/blob/main/doc/build/version/index.rst


Shell interpreter test and doc

What is this PR for?
Small refactoring to Shell interpreter.
Add missing unit test and initial doc.
What type of PR is it?
Improvement, Documentation, Refactoring
Todos

[ ] - Task

What is the Jira issue?

Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
Put link here, and add [ZEPPELIN-Jira number] in PR title, eg. [ZEPPELIN-533]

How should this be tested?
Outline the steps to test the PR here.
Screenshots (if appropriate)
Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

Could you please rebase this from current master?

@jongyoul done and CI is ok.

Great clean up and improvement @fvaleri!
While you and @jongyoul are both here - how do you think guys, would it make sense to take care of Shell part of the ZEPPELIN-804 as prart of this PR as well?

@bzz @jongyoul Now should be ok.

The failure is flaky and irrelevant but we need to ensure all other tests passed. Could you please re-trigger CI?

Another CI job failed even this time on zeppelin-web module.
One is still running but it is very slow (32 min now).
[ERROR] Failed to execute goal com.github.eirslett:frontend-maven-plugin:0.0.25:bower (bower install) on project zeppelin-web: Failed to run task: 'bower --allow-root install' failed. (error code 1) -> [Help 1]

Anyway, this one passed and it's the same code, except for a couple on unused imports that I removed.

@fvaleri Got it. LGTM.


Add object detection to model

code to:

identify if object is present
crop images to object (bounding boxes)

Closing since moved to separate repo


Adding cohorte-update command

to automatically update installed "dev" version to the newest one.

Should test this feature before closing the issue.


If expires_at is not provided we should look at the id_token

As far as I can tell expires_at is not required as part of the RFC. As such, the call back URL may not contain the expires_at query param. In these scenarios it would be nice to use the id_token exp claim to calculate the expiry.

id_token exp is different than the access token's expiration. expires_in in the response indicates when the access token expires.

Possibly related: https://github.com/IdentityModel/oidc-client-js/issues/534


Prevent email being leaked in CPIDv2 block field.

This should be non-mandatory change. Can be merged on master directly.
Does not affect past blocks.
Please test if it is possible to stake and get confirmations with this before merging. I lost my beacon on testnet.

I just created block 348428 on testnet with this change. How do we verify that it worked?

@denravonska You should receive confirmations on that block. I can't run a node right now.

I did and the block entered the chan.


Setting AutofillHints.password on a text field enables the autofill service on Android

Extracted from a comment from @AdamVe on https://github.com/flutter/flutter/issues/122300.
Configuring a text field with AutofillHints.password in the TextField.autofillHints list should disable autocomplete on Android, even when obscureText is not set. Eventually, I assume the goal will be to integrate with password managers but for the time being, disabling autocomplete as we do on iOS/macOS seems like the right approach.
This was raised by @AdamVe who has been implementing a textfield with a "make visible" icon that toggles obscureText to allow users to peek at the password they've entered, to verify it's correct. See the example code in https://github.com/flutter/flutter/issues/122300.

Closing since I'm not 100% sure I've correctly interpreted the initial bug report, which may have just been pointing out that password autocomplete is enabled (which would be working as intended).


Focus when using token scope and deleting the scope in the UI

When I'm using the token / scope ability, and am on a particular page that uses that scope, when I hit the backspace key / delete the scope in the UI, the input loses focus and the user can't start typing without using the mouse to re-focus the search box (or close and open it again)

Hi @PhiloNL - ahh yes I see. This must be an implementation bug somewhere along the line with what I'm doing (the link you provided works fine, same browser etc), or from a certain setup of token / scope combinations. I'll investigate and let you know if I get more info on this. Thanks


high RAM usage w reduced_dbs

Hi,
I have only 32GB sys RAM, so I tried to use --preset=reduced_dbs, which needs only 8GB according to "running alphafold":
python3 docker/run_docker.py --fasta_paths=mytarget.fasta --max_template_date=2021-07-30 --preset=reduced_dbs --gpu_devices=0
However, jackhmmer used my total RAM and ~4GB swap, but it could be completed (monitoring using htop)
In the next step af2 used all my RAM and swap space (48GB).
Is this expected? 8GB should not be sufficient?
(I have downloaded not only the small_bfd, but also bfd, since I am planning RAM upgrade; however its presence is not expected to override the preset=reduced_dbs option, isn't it?)
(BTW: the results/mytarget/msas dir is emtpy - this is also strange, since earlier runs failed during jackhmmer run becuase of approx: alignment files could not been written because no space on the device; after setting the output_dir to other then /tmp, I have no problem at this stage, but I do not have any file in msas dir - is this unexpected or not?)
Thanks for your feedback and suggestions,
Tamas

The 8GB, mentioned in the README.md, is likely for the GPU RAM.
jackhmmer uses a large amount of RAM (I saw up to 75GB)

Hopefully this was fixed in https://github.com/deepmind/alphafold/commit/57a2455e5fab752d8df430ae1d0334e1a21b548c, feel free to reopen if not.

I think that it is or will be fixed by the RAM-fix of hegelab


Use I18n for error message in uniqueness validator

Add :taken symbol as error to form if uniqueness validation fails. This
mimics the uniqueness validation from active model, making translation
of the error message possible, inheriting the default translations from
active_model / rails.

Failed tests seem to be a travis issue - can't reproduce the SQlite errors on my end...

@apotonick Any update on this, would be really nice to have translated validation messages.

Does that still work against master?

Yeah still works, needed to explicitly add the translations to the test app to make the tests green on Rails < 4.0.

Cool, and :taken is the "official" way of handling uniqueness validations?

Yes, you can have a look at https://github.com/rails/rails/blob/master/activerecord/lib/active_record/validations/uniqueness.rb#L34 - it's been the same symbol since at least rails 3.0.

This worked well for me.
One (possibly unrelated) thing that tripped me up: With AR's validate uniqueness:true, I had translations on the activerecord key in en.yml, but with I had to switch my translations for attribute name and error message to key off activemodel instead to get this patch to work.

@audionerd The activemodel "namespace" is because of the way I abstract AM::Validations from the form object. I might make it configurable.

Oh, and thanks you two (especially @yabawock) for your help! :heart:


cant compile

So uhh, dsgmLib kinda does not work, is there a specific ver i need of devkitpro?

Yeah I can't compile too, it's very sad :/

i tried recompiling the lib, it compiled but proyects didn't work.
maybe it is that the last update is broken?

I tried with a old version of devkitpro which is compatible with palib and it worked.

I tried with a old version of devkitpro which is compatible with palib and it worked.

Can you give this devkitpro version please?

I tried with a old version of devkitpro which is compatible with palib and it worked.

@AerGlass Can you give this devkitpro version please?

I belive devkitARM r31/32
El mié., 29 de diciembre de 2021 9:08 a. m., Fewnity <
@.***> escribió:

I tried with a old version of devkitpro which is compatible with palib and
it worked.
@AerGlass https://github.com/AerGlass Can you give this devkitpro
version please?
—
Reply to this email directly, view it on GitHub
https://github.com/CTurt/dsgmLib/issues/7#issuecomment-1002612038, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AUSRM7P5BNIWG5YWISVGKNTUTMI7PANCNFSM42UARQQQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

I belive devkitARM r31/32 El mié., 29 de diciembre de 2021 9:08 a. m., Fewnity < @.> escribió:
…
I tried with a old version of devkitpro which is compatible with palib and it worked. @AerGlass https://github.com/AerGlass Can you give this devkitpro version please? — Reply to this email directly, view it on GitHub <#7 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUSRM7P5BNIWG5YWISVGKNTUTMI7PANCNFSM42UARQQQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.>

Ok thank you!

alright, im working on getting this working on the latest devkitpro although that would be a pain since annoying errors.

after about a hour of work i fixed several issues however games are not compiling, I had to fix the dsgmlib and dsgmwifi source code however the journey still does not end there.
Multiple definition errors

alright i cant
here is the source code if you want to try to fix it https://github.com/AerGlass/DSGMLIB-UNFIX


Investigate partition "changes" when updating FERC archives

In #398 and the corresponding archive run, every FERC XBRL archive was marked as having its partition changed, even though the links are identical to what they were. In September, if this happens again, we should investigate it. This is a two-fold task:

Investigate the "changed" partitions
Sort the values in the taxonomies_zip, to prevent them from changing each month by order.

I've opened a PR to attempt to address this issue. See #433 for more details.

Closing. Partition changes are fixed, but there's still issues with XBRL zip file changes which will be tracked in #471.


Add option for not automatically assuming max EVs in RBY/GSC sections

Obviously in a competitive battle under those two rulesets, it's possible to max out all the stats so for almost all practical purposes you might as well. However, there are some cases (the most prominent one on my mind is setting up in-game scenarios) where more flexibility in the gamut of player/opponent stats is helpful.
A lot of the time, it's possible to construct the equivalent setup in ADV mode and run the numbers from there, but there are some details that don't quite sync across the generation gap (in particular, the damage variation roll dropping from a d39 to a d16) for cases where the slight changes might tangibly affect the odds.
Having the EV text boxes be hidden by default, and only revealing them on the deselection of a toggle switch like the one used for critical hits, would be fine.

I don't know if we should cater to the needs of ingame calculation as this calc is designed specifically for Pokémon Showdown. It has the flexibility to be used for other purposes with a little extra manual effort which is fine imo. There's also a concern on what the evs should be set to as they are automatically set from the setdex files. Regardless in the end many people will still have to manually change evs

Oh I misunderstood, I suppose some
Players don't have to max out all their EVs or may have not done so by accident, this will be fixed soon(tm)

(If anyone else wants to do this I can explain exactly what's needed to be done in order to fix this, I'm just busy with life atm)

Hmm I did work on this and almost finished at one point (I should really start saving my work even if it’s abandoned) changing the HTML is pretty easy I believe changing shared_controls.js is that hard part. If you need a step in the right direction I’ll help

@Ntonio36

HTML is easy, I can relate, but I need to know what am I exactly supposed to do for shared_controls.js... or let's say, what does @SadisticMystic exactly want to do

@Ntonio36 Once you have the HTML the next step isn’t that hard it’s just the hard part. Just allow the EV editor to be customizable in gens 1 and 2. You can see how EVs are customizable in other gens for reference.

Alright, I have now to look for it and see how it can be made. Will need 10 days at most. I guess.

So I'm now facing a problem here : 15 DV of any given stat besides HP equal either 30 IV + 252 EV or 31 IV + 248 EV, it doesn't really matter. The problem here is that I have to create a separate formula to handle EVs (something that might look like CALC_STAT_RBY_MOD, to include in stat_data.js) but then I have no idea on what changes should I make based upon the original formula. Could anyone enlighten me on this point please ?

If there’s any changes @MartyD would know


Provide a role to inject code in the latex output

One of the (few) remaining reasons to produce LaTeX/PDF exports is when
fine-tuning of the layout is required for printing.
Proposal
Provide a latexonly  role that inserts its content verbatim in the
produced LaTeX exports, and is ignored by all other exporters.
Example:
 {latexonly}`\pagebreak`
 {latexonly}`\bigskip`
 {latexonly}`\enlargethispage{1cm}`

A use case
I print my exercise sheets for 250 students. I typically end up tuning
the layout by inserting vertical skips, page breaks, page enlargements,
so that exercises don't get split across pages for readability, while
optimizing page numbers (a one page gain saves one package of paper!).
As I am switching my sheets from latex to MyST, I would like to keep
that ability.
Fun fact
I am currently  desperate enough to hijack in my latex template  <s></s>
to insert page breaks  and <i></i> to insert vertical spacing :-)

Related to #714.

For information, in case this can be useful to others (@alanlujan91?): I cooked myself
a quick and (very) dirty latexonly extension for my urgent needs:
https://gitlab.dsi.universite-paris-saclay.fr/Info111/Info111/-/blob/master/extensions/latexonly.mjs?ref_type=heads
Beware:

It should really be implemented on the transformers side to behave differently for latex and other exports. For now, I am using a dedicated myst.yml for my latex export which loads this extension.
The latex exporter quotes latex commands embedded in text nodes. I hacked around this by building math nodes and escaping out of math mode with additional $.

This now working with the {raw:tex} directive and role, which can be used to insert raw latex code that is not parsed.
An example:
https://github.com/executablebooks/mystmd/blob/main/packages/mystmd/tests/raw/index.md#L6

Yeah! Thank you!


Cleanup "Writing Sources" in contributing guide

thank you so much, congratulations on your first contribution!


RFC: on conflict clause

details and description in the RFC is out-of-date and the behavior of the feature is written in https://github.com/risingwavelabs/risingwave-docs/pull/1860


Make TimeExceededException members final

TimeExceededException has three members that are set within its constructor and never modified. They can be made final.

Thanks @iverase !


About weight init

Hi @HuguesTHOMAS ,
Did you add the weight init of the bias or weight in MLP or BN in your code?
Will this influence the performance?
Thanks~

Hi @mutianxu,
Do you mean did I try to use a different weight initialization method for my UnaryBlock and BatchNormBlock?
No I did not so I dont know how it would influence the performances, but I believe it would not. If you try that, dont hesitate to post the results, for other people to know.
Best,
Hugues

@HuguesTHOMAS ,
Yes, that is what I mean.
I will try it and post the result.
Thanks a lot.


Single replace pass

This merges all replace transforms into one, meaning that we will only have to do a single AST pass for all these replacements.

Use promises to find and load the replacement files in parallel
Avoid loading replacement files that will not be enabled
Merge all replacements together
Use fs.readdir(dir, {withFileTypes: true}) to avoid having to do fs.stat (I didn't know about this before. I haven't benchmarked whether it's better tbh)
Remove some unused imports

I did a very quick benchmark and I see a 5% speed improvement on the total run, but I'm not entirely sure my benchmark was run sufficiently to be conclusive. Anyway, the more replacement transforms that get added, the more this will be worth it, so I think it's a good foundation.
Let me know if there is a part of this you don't like or find scary.

nice!


gulp svgo plugin svg optimisation

Dear Developers,
ill like that gulp Plugin and write my first plugin for SVG optimisation.
But my problem is that i cannot bring it to my gulp.
Ill override the "addClassesToSVGElement" file and than it works, but wanne have my own file - maybe for github.
I am very new to this. Ill read the manual here:
https://github.com/svg/svgo/blob/master/docs/how-it-works/en.md
but it doesnt work, do you have any glue ?
Thanks very much!
Sorry for my bad english.

Well, when you have your own file, you need to add to the plugins list in config. Also, if it's disabled by default (exports.active = false), you have to set it to true.


Remove from queue

Thanks for this project it looks really promising! I want to use this for my audio playback application, but while it is possible to enqueue tracks it is not possible, at least using the public api, to dequeue them. Making this part of the public api would be great

Hey, thanks for raising this.
Could you provide a set of possible methods you'd like to see?
The simplest case would be to only dequeue the last item added, but perhaps there may be more cases.
This will also be a good stress test for this library queue mechanism

I would love to use this library for my music streaming app. Naturally the user has quite a lot of control over the queue, so some methods are essential.
Right now I am using AVQueuePlayer, it has only a few methods, but they provide great functionality.

A insert(url, at) index function would be great, it would be useful if a user wants to modify the queue of play a track right after the current one, skipping the queue
A method to clear the queue would be nice, although not required
Some way to get the amount of tracks in the queue, either by returning all urls or just the count
Something like remove(at) to dequeue a track at a specific index, for example when a track is moved around

Thanks for the fast response!

I think providing methods with index might complicate things, as you would have to have access to more underlying logic. This is why AVQueuePlayer handles everything with AVPlayerItem
We could almost create the same methods as AVQueuePlayer but instead of AVPlayerItem it will be URL or can make a somewhat breaking change and introduce a AudioPlayerItem that wraps a URL
var currentQueue: [URL] // or as a method

func queue(url: URL, after: URL?)

func remove(url: URL)

func playNextInQueue() // advanceToNextItem()

func stop(clearsQueue: Bool) // removeAllItems()

I literally had linked lists and queues / stacks as a topic in school about a year ago and my finals will also contain questions about them, so this is a certified smooth brain moment. I thought using the index would be simpler...
These methods would be awesome, as they would enable this library to be a more or less drop in replacement for AVQueuePlayer. Thanks a lot!


docs: Include video links in documentation

Add links to YouTube videos to docs where appropriate.
This change affects:

[ ] Community docs
[X] Enterprise docs

/git merge develop


Lidar Scene Transforms

Random style comments:
In python, it is conventional to name variables and filenames in snake_case, so I suggest you rename your files to:
IngestDevelopmentScripts/TestScript.py -> ingest_development_dcripts/test_script.py

etc.


installation in window's

corruntly .  i was looking for video player . so how to actually   . install it on my home pc. i mean window ,.. please help  im cofused

the developer didn't make a windows build available. he also didn't provide build instructions, so unless you obsessively want to use this software I suggest you to go look for something else.


Transport e2e based perforamnce test to integration_test and remove duplicate watchPerformance

Description
This is NOT a complete upgrade for the e2e dependence in the framework to integration_test but just those that references watchPerformance.
Related Issues
Fixes #63537
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.

The CI will fail until flutter/plugins#3116 is merged and published to pub.dev

@CareF : integration_test 0.9.2 has been published. Can you please rerun the presubmit tests?

@CareF : integration_test 0.9.2 has been published. Can you please rerun the presubmit tests?

@liyuqian Test completed.


Enabling and then disabling vscode-emacs-friendly - no more Ctrl-X for cut

When trying out vscode-emacs-friendly, I installed it, tried it and then when disabling it I end up with vscode that can't do Ctrl-X for cut... Any ideas on how this can be fixed ?

it happens because there are still key chords with ctrl+x as the first stroke. some bindings still exists because of extensions caching vscode have.
on windows, what fixed it for me was deleting the extension files from %HOMEPATH%/extensions/ . the name of the folder included "vscode-emacs-friendly" with a version. if that alone doesn't work try combining it with %APPDATA%\Code deletion.


draft: Edit parse properties to convert some None values to

Test Evidence
before fix when searching for   "xhibit_all_offence_disposal_stg":

with fix:


Publish Subscribe (pubsub) with redis not working?

Hi,
I tried to setup the demo from
http://www.dynomitedb.com/docs/dynomite/v0.5.8/quick-start-ubuntu/
Everything worked fine but not publish and subscribe.
I subscribed directly in redis like this:
redis-cli -p 22122
<IP_ADDRESS>:22122> subscribe a
<IP_ADDRESS>:22122> 1) "subscribe"
<IP_ADDRESS>:22122> 2) "a"
<IP_ADDRESS>:22122> 3) (integer) 1
I published to dynomite redis proxy like this:
redis-cli -p 8102
<IP_ADDRESS>:8102> publish a 1234
Error: Server closed the connection
<IP_ADDRESS>:8102>
Where does this come from?
Also if I do this:
redis-cli -p 8102
<IP_ADDRESS>:8102> subscribe a
Reading messages ... (press Ctrl-C to quit)
redis-cli crashes and I get back to the terminal.
Best regards,
Josef

Ok. Regarding the docs its currently not supported. If we would like to implement it: are there any showstoppers for publish/subscribe in dynomite?


kiosk on xbox one (1st gen hardware): games take 20 seconds to load

The first time a game is loaded, it takes a very long time to load due to the necessity to compile it locally. Subsequent loads happen very quickly because we cache the compile result. This will be mitigated by server-side compilation, at least for the set of default games. The simulator does show a loading screen, but it is not visible due to black text on a dark background.
TODO

[x] Make the simulator's loading screen more visible on Kiosk.
[ ] Hook into server-side compilation, once it's available.

Partial mitigation: built games are cached. Loading is much faster the second time.

We have implemented the backend compilation.


Unable to register data less than 3 rune

What happened:
I'm wanting to send ab as a Event watcher value:
pipectl event register --name=update-image --data=ab

But got:
invalid Event.Data: value length must be at least 3 runes

Looks validate for the data field is appropriate. I wonder why.
message RegisterEventRequest {
    string name = 1 [(validate.rules).string.min_len = 1];
    string data = 2 [(validate.rules).string.min_len = 1];
    map<string,string> labels = 3 [(validate.rules).map.keys.string.min_len = 1, (validate.rules).map.values.string.min_len = 1];
}

What you expected to happen:
How to reproduce it:
Environment:

piped version:
control-plane version:
Others:

Wrong value for validation in the model. lol
https://github.com/pipe-cd/pipe/blob/master/pkg/model/event.proto#L28

haha, no wonder!


Windows exe doesnt start

The exe doesn't start.
Have copy it with the config.json in the Orca Slicer Folder and edit the Script. But Orca gives me an error, if i want to export the gcode.
See the two attechments.
Thanks.

I have compile it by myself on windows, but also doesnt work.,.
EDIT: It seems, that i can run estimate from Powershell, but not the post processing Script from the OrcaSlicer -.-
.\ before klipper_estimator.exe in PowerShell means trust the file. Dont know if i can change it in Windows or in Orca.

 And doesnt update the Times in the Slicer also.

Hi @hrvat94,
Command window disappearing is expected, the tool simply updates the gcode file and closes again. The slicer does not read back the file, and so the time shown in the slicer can't be updated. The time shown in Fluidd/Mainsail will however be correct, as they read the file when it's uploaded to the printer.
Best regards,
Lasse


Upgrade: Go v1.20 and packages

ref: https://issues.redhat.com/browse/ACM-5042

/hold to verify new .ci-operator.yaml file check

/unhold

/retest


help

Hello, dear friends, I used the code to obfuscate a js source, I ended up losing the unobfuscated code, I would like to know if there is a way for me to get the original code by doing the reverse, if so how could I recover

Try webcrack. https://webcrack.netlify.app


Bug: Crash when rendering [Chevalier Blue] Satono Diamond

Describe the bug
Crash when rendering [Chevalier Blue] Satono Diamond
crash-2024-05-05_00.35.36-client.txt
Steps to reproduce
Trying rendering [Chevalier Blue] Satono Diamond, equip it or use Umamusume Wish in three goddesses status.
Expected behavior
Not crash
Screenshots
crash-2024-05-05_00.35.36-client.txt
Versions

Minecraft version: 1.20.1
Umapyoi version: Umapyoi Fabricated 1.1.1-1.20.1

Additional context
That's a issue in Mysterious Mountain Lib and fixed in newest version, you should fix it too.

Fixed in 75c431710aacaf43fa9361c337cffff29df86085. I've also released v1.1.2 for 1.20.1 and 1.20.4.


Realtime: there is no dedicated object to manage connections

Ok, this in itself is not necessarily an issue, however are you therefore implying that all of RTN* cannot be supported, without a refactor i.e. we need a Connection object, but whether it is managed with a ConnectionManager or a state machine for example, is not necessarily part of the spec.

@mattheworiordan There is no Connection object either. The Realtime client instances a Transport object and connects to the server with the current WebSocket. Just one connection per client.

@ricardopereira that is fine, other than the ably-js library, there is only ever one transport open using WebSockets, and in all libraries there is only ever one Connection open as well. As a workaround, we could perhaps simple create a Proxy Connection object that exhibits the properties described in the spec, but simply references the attributes in the Client itself. That way, we don't need to refactor now, and can easily do it later without changing the interface.  WDYT?

Well, the connection is handled on the ARTWebSocketTransport. I can add a protocol to mirror the existing methods from ARTRealtime. Like you said, a proxy Connection object. It's the best workaround.

BTW. What happens when the transport is closed & re-opened (such as connection failure), does the ARTWebSocketTransport remain consistent or is a new object created each time?

The object remains consistent.
On Wednesday, 28 October 2015, mattheworiordan<EMAIL_ADDRESS>wrote:

BTW. What happens when the transport is closed & re-opened (such as
connection failure), does the ARTWebSocketTransport remain consistent or
is a new object created each time?
—
Reply to this email directly or view it on GitHub
https://github.com/ably/ably-ios/issues/36#issuecomment-151944509.

Ok, great, well lets go with a proxy object for now as that will allow us to meet the requirements of the spec easily

https://github.com/ably/ably-ios/blob/2398b9580d6aaef45ca91c01a99160cf09bbd4d9/Source/ARTConnection.h#L19


Program hang when maxConcurrency is set over 50

First of all, great project!
I tried the example while set maxConcurrency = 50/100. What I noticed is when set to 100, pretty much every time the program will hang somewhere. When set to 50, program will hang sometimes. Not sure what caused this issue. Thanks for any input.

Thanks you! Can you give some more information about your application? Are you hitting any limits on memory, CPU or throughput? These are the limiting factors.
You can use nload and htop (for linux). nload shows you the network usage and htop shows you the usage of memory and CPU. Start your application and monitor the usage of the resources to check for the limit.
It would be nice if you could report back if the problem is related to limited resources or to the library.

Here is my program, almost identical to the example:
const { Cluster } = require('puppeteer-cluster');
const fs = require('fs');
(async () => {
const cluster = await Cluster.launch({
concurrency: Cluster.CONCURRENCY_CONTEXT,
maxConcurrency: 50,
monitor: true,
});
// Extracts document.title of the crawled pages
await cluster.task(async ({ page, data: url }) => {
    await page.goto(url, { waitUntil: 'domcontentloaded' });
    const pageTitle = await page.evaluate(() => document.title);
    console.log(`Page title of ${url} is ${pageTitle}`);
});

// In case of problems, log them
cluster.on('taskerror', (err, data) => {
    console.log(`  Error crawling ${data}: ${err.message}`);
});

var urls = fs.readFileSync('urls.txt').toString().split("\n");
urls.splice(urls.length-1);
for (let i = 0; i < urls.length; i++) {
  await cluster.queue(urls[i]);
};

await cluster.idle();
await cluster.close();

})();
'urls.txt' is a file with few hundred URLs in it, 1 URL per line.
What I noticed is when the program hangs, the CPU usage drops from 95-99% to 5-10% and memory usage is about 70-75%. The network usage drops to almost nothing.

So, are you hitting limits on CPU, memory and throughput? Maybe could you tell me what kind of machine you have? What CPU, how much memory?
I'm thinking of two things that could help you (assuming you are not hitting any limits):

Change Cluster.CONCURRENCY_CONTEXT to Cluster.CONCURRENCY_BROWSER. This will result in 50 independent browsers instead of 50 independent contexts.
Set workerCreationDelay to something like 200 to prevent a network/CPU peak right at the start. This will create an additional worker every 0.2s instead of creating 50 directly.

CPU: i5-2400 (4 core)
Memeory: 16GB
I tried changing 'Cluster.CONCURRENCY_CONTEXT' to 'Cluster.CONCURRENCY_BROWSER', and the average load shot from <10 to 100+ as create/shutdown independent browser used a lot more resource than create/reuse browser pages. What I found is when set to 'Cluster.CONCURRENCY_BROWSER', program won't hang.

Just to give you an idea: I also have a machine with an i5 with 4 cores. I can open roughly 10 contexts or browsers before the CPU reaches 100%.
A machine with 4 cores will not be able to handle 100 browser windows or instances. But I will investigate why the example with the option CONTEXT gets stuck in such a case. Maybe the library should show a warning.

I switch to a powerful server with E5-2640 v4 X 4 CPU (40 cores in total) and 64 GB memory. With the same setting 'Cluster.CONCURRENCY_CONTEXT' and 50 'maxConcurrency', the program still hangs. It happens once during the 3 runs I tested.

So far I was not able to reproduce the problem. Can you maybe run your application with debugging  enabled and share the log file with me?
DEBUG='puppeteer-cluster:*' node examples/minimal > log.txt

Debug log i got when program hangs:
puppeteer-cluster:Cluster Launching +0ms
puppeteer-cluster:Worker Starting #0 +0ms
puppeteer-cluster:Worker Starting #1 +2ms
puppeteer-cluster:Worker Starting #2 +0ms
puppeteer-cluster:Worker Starting #3 +1ms
puppeteer-cluster:Worker Starting #4 +0ms
puppeteer-cluster:Worker Starting #5 +0ms
puppeteer-cluster:Worker Starting #6 +0ms
puppeteer-cluster:Worker Starting #7 +1ms
puppeteer-cluster:Worker Starting #8 +0ms
puppeteer-cluster:Worker Starting #9 +0ms
puppeteer-cluster:Worker Starting #10 +0ms
puppeteer-cluster:Worker Starting #11 +0ms
puppeteer-cluster:Worker Starting #12 +7ms
puppeteer-cluster:Worker Starting #13 +0ms
puppeteer-cluster:Worker Starting #14 +0ms
puppeteer-cluster:Worker Starting #15 +0ms
puppeteer-cluster:Worker Starting #16 +1ms
puppeteer-cluster:Worker Starting #17 +0ms
puppeteer-cluster:Worker Starting #18 +0ms
puppeteer-cluster:Worker Starting #19 +0ms
puppeteer-cluster:Worker Starting #20 +0ms
puppeteer-cluster:Worker Starting #21 +7ms
puppeteer-cluster:Worker Starting #22 +0ms
puppeteer-cluster:Worker Starting #23 +1ms
puppeteer-cluster:Worker Starting #24 +0ms
puppeteer-cluster:Worker Starting #25 +0ms
puppeteer-cluster:Worker Starting #26 +1ms
puppeteer-cluster:Worker Starting #27 +0ms
puppeteer-cluster:Worker Starting #28 +4ms
puppeteer-cluster:Worker Starting #29 +7ms
puppeteer-cluster:Worker Starting #30 +1ms
puppeteer-cluster:Worker Starting #31 +0ms
puppeteer-cluster:Worker Starting #32 +0ms
puppeteer-cluster:Worker Starting #33 +0ms
puppeteer-cluster:Worker Starting #34 +1ms
puppeteer-cluster:Worker Starting #35 +0ms
puppeteer-cluster:Worker Starting #36 +0ms
puppeteer-cluster:Worker Starting #37 +1ms
puppeteer-cluster:Worker Starting #38 +0ms
puppeteer-cluster:Worker Starting #39 +0ms
puppeteer-cluster:Worker Starting #40 +0ms
puppeteer-cluster:Worker Starting #41 +0ms
puppeteer-cluster:Worker Starting #42 +1ms
puppeteer-cluster:Worker Starting #43 +0ms
puppeteer-cluster:Worker Starting #44 +0ms
puppeteer-cluster:Worker Starting #45 +1ms
puppeteer-cluster:Worker Starting #46 +0ms
puppeteer-cluster:Worker Starting #47 +0ms
puppeteer-cluster:Worker Starting #48 +0ms
puppeteer-cluster:Worker Starting #49 +1ms
puppeteer-cluster:log Error crawling 'http://ntq-partnership.com' // message: net::ERR_NAME_NOT_RESOLVED at http://ntq-partnership.com +0ms
puppeteer-cluster:log Error crawling 'http://estila.es' // message: net::ERR_NAME_NOT_RESOLVED at http://estila.es +181ms
puppeteer-cluster:log Error crawling 'http://resume.se' // message: net::ERR_CERT_SYMANTEC_LEGACY at http://resume.se +472ms
puppeteer-cluster:log Error crawling 'http://sparkasse-freiburg.de' // message: net::ERR_CERT_SYMANTEC_LEGACY at http://sparkasse-freiburg.de +3s
puppeteer-cluster:Worker Error getting browser page (try: 0), message: Timeout hit: 5000 +10s
puppeteer-cluster:BrowserContext Repair requested +0ms
puppeteer-cluster:Worker Error getting browser page (try: 0), message: Timeout hit: 5000 +913ms
puppeteer-cluster:BrowserContext Repair requested +913ms
puppeteer-cluster:Worker Error getting browser page (try: 0), message: Timeout hit: 5000 +61ms
puppeteer-cluster:BrowserContext Repair requested +61ms
puppeteer-cluster:Worker Error getting browser page (try: 0), message: Timeout hit: 5000 +403ms
puppeteer-cluster:BrowserContext Repair requested +403ms
puppeteer-cluster:Worker Error closing browser instance for 'http://novopay.in': Timeout hit: 5000 +5s
puppeteer-cluster:BrowserContext Repair requested +5s
puppeteer-cluster:Worker Error closing browser instance for 'http://movies123.top': Timeout hit: 5000 +596ms
puppeteer-cluster:BrowserContext Repair requested +596ms
puppeteer-cluster:Worker Error closing browser instance for 'http://dget.nic.in': Timeout hit: 5000 +213ms
puppeteer-cluster:BrowserContext Repair requested +213ms
puppeteer-cluster:Worker Error closing browser instance for 'http://arabo.com': Timeout hit: 5000 +993ms
puppeteer-cluster:BrowserContext Repair requested +993ms
puppeteer-cluster:Worker Error closing browser instance for 'http://unbelievable-facts.com': Timeout hit: 5000 +1s
puppeteer-cluster:BrowserContext Repair requested +1s
puppeteer-cluster:Worker Error closing browser instance for 'http://viennaairport.com': Timeout hit: 5000 +7s
puppeteer-cluster:BrowserContext Repair requested +7s
puppeteer-cluster:Worker Error closing browser instance for 'http://ukuleleunderground.com': Timeout hit: 5000 +1s
puppeteer-cluster:BrowserContext Repair requested +1s
puppeteer-cluster:Worker Error closing browser instance for 'http://visit-x.net': Timeout hit: 5000 +540ms
puppeteer-cluster:BrowserContext Repair requested +540ms
puppeteer-cluster:Worker Error closing browser instance for 'http://routesonline.com': Timeout hit: 5000 +1s
puppeteer-cluster:BrowserContext Repair requested +1s
puppeteer-cluster:Worker Error closing browser instance for 'http://scriptcase.net': Timeout hit: 5000 +1s
puppeteer-cluster:BrowserContext Repair requested +1s
puppeteer-cluster:Worker Error closing browser instance for 'http://fruugo.com': Timeout hit: 5000 +168ms
puppeteer-cluster:BrowserContext Repair requested +170ms
puppeteer-cluster:log Error crawling 'http://usra.edu' // message: Timeout hit: 30000 +27s
puppeteer-cluster:log Error crawling 'http://beztabu.net' // message: Timeout hit: 30000 +0ms
puppeteer-cluster:log Error crawling 'http://pokerprolabs.com' // message: Timeout hit: 30000 +0ms
puppeteer-cluster:log Error crawling 'http://lacroixwater.com' // message: Timeout hit: 30000 +5ms
puppeteer-cluster:log Error crawling 'http://ypaithros.gr' // message: Timeout hit: 30000 +0ms
puppeteer-cluster:log Error crawling 'http://edmontonsun.com' // message: Timeout hit: 30000 +4ms
puppeteer-cluster:log Error crawling 'http://lk21.blue' // message: Timeout hit: 30000 +4ms
puppeteer-cluster:log Error crawling 'http://graphicpanda.net' // message: Timeout hit: 30000 +0ms
puppeteer-cluster:log Error crawling 'http://joinmyband.co.uk' // message: Timeout hit: 30000 +4ms
puppeteer-cluster:log Error crawling 'http://fontyukle.net' // message: Timeout hit: 30000 +1ms
puppeteer-cluster:log Error crawling 'http://nissan-rentacar.com' // message: Timeout hit: 30000 +0ms
puppeteer-cluster:log Error crawling 'http://lemet.fr' // message: Timeout hit: 30000 +0ms
puppeteer-cluster:log Error crawling 'http://theybf.com' // message: Timeout hit: 30000 +0ms
puppeteer-cluster:log Error crawling 'http://modsy.com' // message: Timeout hit: 30000 +0ms
puppeteer-cluster:log Error crawling 'http://boyslife.org' // message: Timeout hit: 30000 +7ms
puppeteer-cluster:log Error crawling 'http://ventadepisos.com' // message: Timeout hit: 30000 +5ms
puppeteer-cluster:log Error crawling 'http://invictory.com' // message: Timeout hit: 30000 +0ms
puppeteer-cluster:log Error crawling 'http://bulkapothecary.com' // message: Timeout hit: 30000 +0ms
puppeteer-cluster:log Error crawling 'http://notch.one' // message: Timeout hit: 30000 +0ms
puppeteer-cluster:log Error crawling 'http://mytaxi.com' // message: Timeout hit: 30000 +1ms
puppeteer-cluster:log Error crawling 'http://theflowerseason.com' // message: Timeout hit: 30000 +0ms
puppeteer-cluster:log Error crawling 'http://articlekz.com' // message: Timeout hit: 30000 +0ms
puppeteer-cluster:log Error crawling 'http://delcampe.it' // message: Timeout hit: 30000 +0ms
puppeteer-cluster:log Error crawling 'http://minecraftonly.ru' // message: Timeout hit: 30000 +0ms
puppeteer-cluster:log Error crawling 'http://pepperjam.sharepoint.com' // message: Timeout hit: 30000 +469ms
puppeteer-cluster:Worker Error closing browser instance for 'http://uacinemas.com.hk': Timeout hit: 5000 +1s
puppeteer-cluster:BrowserContext Repair requested +1s
puppeteer-cluster:log Error crawling 'http://wavy.com' // message: Timeout hit: 30000 +817ms
puppeteer-cluster:Worker Error closing browser instance for 'http://slarticle.com': Timeout hit: 5000 +2s
puppeteer-cluster:BrowserContext Repair requested +2s
puppeteer-cluster:Worker Error closing browser instance for 'http://qamshy.kz': Timeout hit: 5000 +524ms
puppeteer-cluster:BrowserContext Repair requested +524ms
puppeteer-cluster:Worker Error closing browser instance for 'http://megustaleer.com': Timeout hit: 5000 +168ms
puppeteer-cluster:BrowserContext Repair requested +169ms
puppeteer-cluster:Worker Error closing browser instance for 'http://ifce.fr': Timeout hit: 5000 +790ms
puppeteer-cluster:BrowserContext Repair requested +789ms
puppeteer-cluster:Worker Error closing browser instance for 'http://phoenixpubliclibrary.org': Timeout hit: 5000 +802ms
puppeteer-cluster:BrowserContext Repair requested +802ms
puppeteer-cluster:Worker Error closing browser instance for 'http://usra.edu': Timeout hit: 5000 +182ms
puppeteer-cluster:BrowserContext Repair requested +182ms
puppeteer-cluster:Worker Error closing browser instance for 'http://beztabu.net': Timeout hit: 5000 +0ms
puppeteer-cluster:BrowserContext Repair requested +0ms
puppeteer-cluster:Worker Error closing browser instance for 'http://pokerprolabs.com': Timeout hit: 5000 +1ms
puppeteer-cluster:BrowserContext Repair requested +1ms
puppeteer-cluster:Worker Error closing browser instance for 'http://lacroixwater.com': Timeout hit: 5000 +5ms
puppeteer-cluster:BrowserContext Repair requested +5ms
puppeteer-cluster:Worker Error closing browser instance for 'http://ypaithros.gr': Timeout hit: 5000 +0ms
puppeteer-cluster:BrowserContext Repair requested +1ms
puppeteer-cluster:Worker Error closing browser instance for 'http://edmontonsun.com': Timeout hit: 5000 +3ms
puppeteer-cluster:BrowserContext Repair requested +2ms
puppeteer-cluster:Worker Error closing browser instance for 'http://lk21.blue': Timeout hit: 5000 +4ms
puppeteer-cluster:BrowserContext Repair requested +4ms
puppeteer-cluster:Worker Error closing browser instance for 'http://graphicpanda.net': Timeout hit: 5000 +0ms
puppeteer-cluster:BrowserContext Repair requested +0ms
puppeteer-cluster:Worker Error closing browser instance for 'http://joinmyband.co.uk': Timeout hit: 5000 +6ms
puppeteer-cluster:BrowserContext Repair requested +6ms
puppeteer-cluster:Worker Error closing browser instance for 'http://fontyukle.net': Timeout hit: 5000 +0ms
puppeteer-cluster:BrowserContext Repair requested +0ms
puppeteer-cluster:Worker Error closing browser instance for 'http://nissan-rentacar.com': Timeout hit: 5000 +0ms
puppeteer-cluster:BrowserContext Repair requested +0ms
puppeteer-cluster:Worker Error closing browser instance for 'http://lemet.fr': Timeout hit: 5000 +0ms
puppeteer-cluster:BrowserContext Repair requested +0ms
puppeteer-cluster:Worker Error closing browser instance for 'http://theybf.com': Timeout hit: 5000 +0ms
puppeteer-cluster:BrowserContext Repair requested +0ms
puppeteer-cluster:Worker Error closing browser instance for 'http://modsy.com': Timeout hit: 5000 +8ms
puppeteer-cluster:BrowserContext Repair requested +8ms
puppeteer-cluster:Worker Error closing browser instance for 'http://boyslife.org': Timeout hit: 5000 +3ms
puppeteer-cluster:BrowserContext Repair requested +4ms
puppeteer-cluster:Worker Error closing browser instance for 'http://ventadepisos.com': Timeout hit: 5000 +1ms
puppeteer-cluster:BrowserContext Repair requested +0ms
puppeteer-cluster:Worker Error closing browser instance for 'http://invictory.com': Timeout hit: 5000 +0ms
puppeteer-cluster:BrowserContext Repair requested +0ms
puppeteer-cluster:Worker Error closing browser instance for 'http://bulkapothecary.com': Timeout hit: 5000 +0ms
puppeteer-cluster:BrowserContext Repair requested +0ms
puppeteer-cluster:Worker Error closing browser instance for 'http://notch.one': Timeout hit: 5000 +1ms
puppeteer-cluster:BrowserContext Repair requested +1ms
puppeteer-cluster:Worker Error closing browser instance for 'http://mytaxi.com': Timeout hit: 5000 +0ms
puppeteer-cluster:BrowserContext Repair requested +0ms
puppeteer-cluster:Worker Error closing browser instance for 'http://theflowerseason.com': Timeout hit: 5000 +0ms
puppeteer-cluster:BrowserContext Repair requested +0ms
puppeteer-cluster:Worker Error closing browser instance for 'http://articlekz.com': Timeout hit: 5000 +0ms
puppeteer-cluster:BrowserContext Repair requested +0ms
puppeteer-cluster:Worker Error closing browser instance for 'http://delcampe.it': Timeout hit: 5000 +0ms
puppeteer-cluster:BrowserContext Repair requested +0ms
puppeteer-cluster:Worker Error closing browser instance for 'http://minecraftonly.ru': Timeout hit: 5000 +0ms
puppeteer-cluster:BrowserContext Repair requested +0ms
puppeteer-cluster:Worker Error closing browser instance for 'http://pepperjam.sharepoint.com': Timeout hit: 5000 +469ms
puppeteer-cluster:BrowserContext Repair requested +469ms
puppeteer-cluster:Worker Error closing browser instance for 'http://wavy.com': Timeout hit: 5000 +817ms
puppeteer-cluster:BrowserContext Repair requested +817ms
puppeteer-cluster:Worker Error closing browser instance for 'http://troc.com': Timeout hit: 5000 +532ms
puppeteer-cluster:BrowserContext Repair requested +532ms
puppeteer-cluster:Worker Error closing browser instance for 'http://epson.co.id': Timeout hit: 5000 +395ms
puppeteer-cluster:BrowserContext Repair requested +395ms
puppeteer-cluster:Worker Error closing browser instance for 'http://kalender-365.nl': Timeout hit: 5000 +889ms
puppeteer-cluster:BrowserContext Repair requested +889ms

Thank you for taking the time and reporting the bug. After multiple attempts I finally figured out what the problem was. I'm sorry it took that long.
For anyone interested: In case your system was under heavy load, my script would assume the context/browser starting would fail although it might just have taken longer than the timeout (5 seconds). In that case, the opened window would be counted (correctly) as open would not be used and therefore prevent a repairing in case of errors.
The problem should be solved now. New release is coming soon.

is there any way to wait on browser or page till time which we want because after completion the job worker goes automatically in idle mode.

@thomasdondorf hi what is the solution now, I get the same behavior. Can we have context launch timeout option instead and set it ourselvels ?


About page for data repository

For the data repository we need a tool item in Contentful with a description of what it is (the relation to dataone and datacite?) and perhaps how to use it. This will go at https://www.gbif-uat.org/data-repository/about

Although I don't have the content ready, here's the tool item:
33ZlEJM58I4iMqSqCiiQgg
What will the official url of the tool be? Right now it's /data-repository but we've used /tools/xxx for the other "GBIF" tools...

Good point. I'm thinking that perhaps we shouldn't label it as a tool, but simply our repository?
Like we have occurrence/download we have data-repository/upload

Would it be part of the tools menu? ;)

it already is if you have the right role. Argh - i don't know

So is the IPT https://www.gbif.org/ipt

Either way is fine with me :)

I'm in favour of a no tools URL. It is my impression that we might want this to be a prominent thing going forward so I'd rather have a simpler url.. And urls and menu position is largely disconnected anyhow for other menu items. If better arguments come along I will move it.

The tool item is now showing in the about tab: https://www.gbif.org/data-repository/about
I'd love to write this but I'd probably need a little background on what this thing is actually for. Who do I talk to?

@dnoesgaard

Who do I talk to?

to @fmendezh who know the scope of the project best


New feature - support for DevExpress skins/contols, not just VLC/AlphaSkins

DevExpress is probably the most widely used library for professional VCL development
[(https://www.devexpress.com/)]
A great many products support the DevExpress, i.e TRichView.

This was already discussed and dismissed in #508

Too bad :) Please email me how much will it cost to add the minimum support of the cxScrollBar (only) to your Editor Control, so that it shows the skinned scroll bars. That should do it.

My precious free time is not for sale. But like I said, somebody already did that scroll bar fix for DevExpress. If you read this, please consider to share the solution. I can merge it to sources. I don't have a legal license for the latest DevExpress, so I am skipping this hands down.

Lasse,
I finally got a few hours to research the skinned Scrollbar issue, and managed to create an example with DevExpress skins. The solution is generic and simple – just use external Scrollbars (of any type) instead of having the built-in scrollbars of TWinControl. It can work even with the VCL/AlphaSkin style scrollbars and no need for complicated Style / WinAPI message hooks (I broke my head trying to figure out how they work, and they turned out to be useless anyway).
Only BCEditor.Editor.Base.pas was affected by this change.
Here is the attached screenshot and the demo project. I hope this helps – feel free to share/include.
Good luck with further development!
Thanks,
Art
From: Lasse Rautiainen<EMAIL_ADDRESS>Sent: Tuesday, November 22, 2016 9:39 AM
To: bonecode/TBCEditor
Cc: Novikov Artem; Author
Subject: Re: [bonecode/TBCEditor] New feature - support for DevExpress skins/contols, not just VLC/AlphaSkins (#513)
My precious free time is not for sale. But like I said, somebody already did that scroll bar fix for DevExpress. If you read this, please consider to share the solution. I can merge it to sources. I don't have a legal license for the latest DevExpress, so I am skipping this hands down.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/bonecode/TBCEditor/issues/513#issuecomment-262257086 , or mute the thread https://github.com/notifications/unsubscribe-auth/AWhqlSRahDLWQNG1HDJKDC0PdrlIbwDtks5rAv5pgaJpZM4K4of0 . https://github.com/notifications/beacon/AWhqlaVMIdVepdLhIfXPoQLay25vzgGhks5rAv5pgaJpZM4K4of0.gif

Unfortunately theres no screenshot or project attached. This would be great news if DevExpress would be supported... 👍

Send me your BCEditor.Editor.Base.pas. I can review the code and merge it.

Did you receive the DevExpress.zip file attached to my previous message? It contained the screenshot and the sources and the demo project.
I am re-attaching it again here.
From: Lasse Rautiainen<EMAIL_ADDRESS>Sent: Tuesday, February 07, 2017 2:38 AM
To: bonecode/TBCEditor
Cc: Novikov Artem; Author
Subject: Re: [bonecode/TBCEditor] New feature - support for DevExpress skins/contols, not just VLC/AlphaSkins (#513)
Send me your BCEditor.Editor.Base.pas. I can review the code and merge it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/bonecode/TBCEditor/issues/513#issuecomment-277923294 , or mute the thread https://github.com/notifications/unsubscribe-auth/AWhqlXUGNkAlV1XhKskNoOVPBjgtIyKJks5raB9kgaJpZM4K4of0 . https://github.com/notifications/beacon/AWhqlU6AhE3rL7IKBL4GWfZQB9Sr2x7bks5raB9kgaJpZM4K4of0.gif

Nope, it is not there. Send it to<EMAIL_ADDRESS>

I just sent to<EMAIL_ADDRESS>Please confirm the receipt.
From: Lasse Rautiainen<EMAIL_ADDRESS>Sent: Tuesday, February 07, 2017 3:49 AM
To: bonecode/TBCEditor
Cc: Novikov Artem; Author
Subject: Re: [bonecode/TBCEditor] New feature - support for DevExpress skins/contols, not just VLC/AlphaSkins (#513)
Nope, it is not there. Send it to<EMAIL_ADDRESS>—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/bonecode/TBCEditor/issues/513#issuecomment-277936602 , or mute the thread https://github.com/notifications/unsubscribe-auth/AWhqlVpXG5hSDCRNsESyuOjl30poSlI0ks5raC__gaJpZM4K4of0 .

Yes, I got it, thanks. I will review it later in the evening.


File list double-click issue

When I double-click to a file on the FTP file list the Brackets stops working.

Works good for me, opens the file to edit right away... What are your settings for eqFTP? Check the directories if the folders actually exist


Add missing package comments to address staticcheck warnings

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 72.677%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1314

Relevant Lines:
1808

💛  - Coveralls


Incorrectly exits with exit code 2 for only warnings

Stylelint cli exits with exit code 2 for a run with only warnings (see this build) when using stylelint-processor-styled-components. After removing stylelint-processor-styled-components from the build chain, the process exits with 0, as expected.
Since removing the processing fixes the issue I'm suspecting that this lib is the cause, but I'm unsure where exactly it's going wrong. Is it possible that this processor somehow could cause the process to exit with an error code of 2 instead of 0?

So this had me stumped for a while, but @evilebottnawi found the source of the problem. PR #23 addresses it, and for an example of the bug see: https://github.com/ismay/stylelint-test. Further discussion of this bug can also be found here: https://github.com/stylelint/stylelint/issues/2473. It was quite a tricky bug, since it incorrectly fails builds, but doesn't log any errors to the console.


Syncing AWS S3 file store with git repo

cc @jdorfman

Foreward
A lot of the files on AWS S3 are very old and were uploaded well before the bootstrap-cdn current implementation (aka current git repo). As such, the process of syncing AWS S3 to github is a bit hairy, hence the detailed description, notes and multiple verbose commits below.

Reasoning

We will be moving of AWS S3 as the CDN origin host. Why?

AWS S3 incurs additional complexity in having to ensure that files are synced regularly and properly.
AWS S3 limits control over file mime types.
AWS S3 incurs additional, unnecessary cost.

We feel that github should be in sync and authoritative.

Method

Downloaded entire AWS S3 bucket using "awscli"
aws s3 sync s3://bootstrap-cdn/public ./bootstrap-cdn-s3-files

Removed all resulting directories which where/are symlinks in github.

Copied files from ./bootstrap-cdn-s3-files to bootstrap-cdn/public (git clone)
cd ./bootstrap-cdn-s3-files
rsync -r -v . /path/to/bootstrap-cdn/public

Using git status ensured that no symlinks were clobbered.

Using git status, selectively added newly introduced files.

Using git diff, reverted (via git checkout path/to/file) any files that clobbered known valid content from repo.

Adding remaining changes from S3 under the assumption that AWS S3 content is authoritative.

Notes

Regarding public/bootswatch/3.2.0 changes. I don't fully trust either source.
Regarding public/html5shiv/*, I'm fairly certain those files are no longer needed, but wanted to leave that to you.
Regarding public/js/jquery-1.9.1.min.js. I don't think this should be here at all, but didn't want to delete it without confirmation.
Regarding 'public/images/reports`, I have no clue why these changed, or what they're for. I'm pretty sure we should remove these from bootstrap. If they're needed for something else, we should move them to their own origin host/cdn location.
Regarding public/stylesheets/{bootstrap-cdn,theme.bootstrap,docs}.css, I'm pretty sure these can be deleted, but wanted verification.

@jdorfman please cc anyone you would like to have review this. I'll leave it to you to merge. Cheers!

@jmervine great job.
Response to your Notes:

1: good call
2: must be present, legacy installations depend on it.
3: can be removed, legacy bootstrapcdn.com site file
4: can be removed, legacy bootstrapcdn.com site reporting icons
5: can be removed, legacy bootstrapcdn.com site files

@jdorfman removed mentioned files

@jmervine looks good to me. Please deploy this to prod and I will update the origin url Monday.

Reopening to merge.


Conflict between item position

the structure is like

folder
-- folder1
-- folder2
file1
file2

When the folder is expand
the position of folder 1 and 2 are become 1/2
Incase the position of file 1 and 2 is still 1/2
So I can't use some methods for adapter which is strongly depend on position
like
notifyItemRemoved(int position)

I have switched to another treeview library to solve this issues


Compile trafficserver with the musl libc

With these commits, trafficserver now compiles fully on musl, opening the door to very convenient and small containers (as well as being packaged in alpine linux - ping @ncopa 😄). I'm yet to look into experimental plugins and other variants; this is stock ./configure.
The ifdef workaround (https://github.com/apache/trafficserver/issues/2760) is unfortunate since its generally bad practice to target specific functionality in libc's. I leave the decision to the more experienced trafficserver developers to suggest a better path (perhaps just drop it?).
Oh, and here's the output of the test suite (one failed test, need to look into it):
FAIL: test_traffic_via
======================

--- /tmp/via.fOiBNb
+++ /trafficserver/cmd/traffic_via/tests/long rubbish via code 2
@@ -1,4 +1,3 @@
-Via header is long rubbish via code 2, Length is 23
 traffic_via: Invalid VIA header character: l
 traffic_via: Invalid VIA header character: o
 traffic_via: Invalid VIA header character: n
@@ -13,5 +12,6 @@
 traffic_via: Invalid VIA header character: a
 traffic_via: Invalid VIA header character: o
 traffic_via: Invalid VIA header character: d
+Via header is long rubbish via code 2, Length is 23
 Via Header Details:
 Error codes (if any)                                   :unknown
FAIL test_traffic_via (exit status: 1)

[approve ci].

Small update: experimental plugins built fine too.

Cherry-picked to 7.1.2


[0] Services should be chainable

Multiple services can be used together, so chaining them must work. Things like:
https://services.frontity.cloud/add-media-ids/https://services.frontity.cloud/add-titles/https://blog.frontity.com/?rest_route=/wp/v2/posts&per_page=10&_embed=true
We should also take a look at "why" they are not working right now (cdn.frontity.cloud works) to figure out the correct pattern and use it in the future with other services.

They can't be chained because the way the initial evaluation of the url works doesn't handle the case where there is more than one base url.
https://github.com/frontity/services/blob/ec9ab03eee01f03a03d7219d55eee7ec5ae99920/services/add-media-ids/src/index.js#L12
The values retrieved in this line will be wrong.


worker label missing on custom RKE2 all-in-one node deployed from Explorer

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Use Cluster Management in Cluster Explorer UI
Create a Custom RKE2 single-node cluster by using Registration Command with all 3 roles set

Result:
The managed rke2 cluster is up after a while but node-role.kubernetes.io/worker=true is not set. There are etcd,  control-plane and master role lables set.
Other details that may be helpful:
Ember UI is showing roles etcd, Control Plane and Explorer UI is showing only Etcd - but in both cases there should be role All present.
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): rancher/rancher:master-head 8c014ef
Installation option (single install/HA): any

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): Custom RKE2
Machine type (cloud/VM/metal) and specifications (CPU/memory): any
Kubernetes version (use kubectl version): v1.21.0-alpha2+rke2r1

Besides adding the label, we also need to taint the nodes to support the worker role.
Note: when adding these taint, this will cause toleration issues to the RKE2 charts.

We need to add the context where if the worker role is selected, then add the worker label (node-role.kubernetes.io/worker=true):
https://github.com/rancher/rancher/blob/113c35317ea3524a8d6e9da6659c772377d33f2b/pkg/provisioningv2/rke2/planner/planner.go#L554
This issue should be used in conjunction with https://github.com/rancher/rancher/issues/32904

On master-head commit id: 2e6926b

Deployed a 1 node rke2 cluster.
All roles is seen on the cluster details page in Machines tab
Labels on the node

  labels:
    cluster.x-k8s.io/cluster-name: custom
    objectset.rio.cattle.io/hash: <>
    rke.cattle.io/control-plane-role: "true"
    rke.cattle.io/etcd-role: "true"
    rke.cattle.io/init-node: "true"
    rke.cattle.io/machine-id: <>
    rke.cattle.io/worker-role: "true"

The machine object is getting the label for the worker role, but the Kubernetes node is not getting the worker role label.
Using master-head, commit 94bca99, I deployed a 1 node all role cluster using DO.
In the cluster managements page, the machine indicates that the node is "All" roles:

Labels on Machine:
  labels:
    cluster.x-k8s.io/cluster-name: denisecanaltest
    cluster.x-k8s.io/control-plane: "true"
    cluster.x-k8s.io/deployment-name: denisecanaltest-pool1
    machine-template-hash: "87634117"
    rke.cattle.io/control-plane-role: "true"
    rke.cattle.io/etcd-role: "true"
    rke.cattle.io/init-node: "true"
    rke.cattle.io/machine-id: e5e04e5a34d9696efbb2f0ecf46e945fe4c1f7c9477713791fcd82077ea160c
    rke.cattle.io/worker-role: "true"

In the dedicated cluster view, under Cluster -> Kube Node, the node is labeled as "etcd, controlplane" and there is no node-role label to indicate it's a worker node.

Labels on the Kube Node:

https://github.com/rancher/rancher/pull/33854

Verified on master-head 3499046

Created 1 rke2 node driver clusters with all roles and 1 rke2 node driver cluster with etcd+cp and worker nodes
Verified the tag All is shown on the nodes with all roles enabled
Verified worker is shown for the node with only worker role enabled.
verified the label node-role.kubernetes.io/worker: true is present on worker nodes for both the clusters


Render trace in JsonErrorRenderer

In Slim 3, the trace of an exception is rendered in JSON response (see Slim/Handlers/PhpError::renderJsonErrorMessage). In Slim 4, the field trace is missing (see Slim/Error/Renderers/JsonErrorRenderer:: formatExceptionFragment). Was this change intentional? Otherwise, please add the field trace again.

You can make your own error renderer or extend an existing renderer.

Thanks, that's what I did as a workaround. The easiest way would be to extend JsonErrorRenderer and override the method formatExceptionFragment, but it is private. Hence, you have to copy the code and modify it.
Anyhow, it is inconsistent if JsonErrorRenderer does not include the trace, but others do, see:

Slim/Error/Renderers/HtmlErrorRenderer
Slim/Error/Renderers/PlainTextErrorRenderer

I'm closing this as resolved.

@l0gicgate I wouldn't consider this as resolved. See my question:

Was this change intentional?

I still consider it as an accidental breaking change, i.e. a bug. All other renderers still render the trace. Only JsonErrorRenderer is missing it after the upgrade from Slim 3 to 4. I have not found any explanation for this change. Not in the commit messages, the issues or the changelog.


update roslyn bits

@fearthecowboy,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


ipfs not starting

Issue description
Okt 31 12:56:30 lucy systemd[1]: Starting IPFS Daemon...
Okt 31 12:56:30 lucy ipfs-pre-start[6162]: Lockfiles have been removed.
Okt 31 12:56:30 lucy ipfs-pre-start[6162]: Error: leveldb: manifest corrupted (field 'comparer'): missing [file=MANIFEST-000321]
Okt 31 12:56:30 lucy systemd[1]: ipfs.service: Control process exited, code=exited status=1
Okt 31 12:56:30 lucy systemd[1]: Failed to start IPFS Daemon.
Okt 31 12:56:30 lucy systemd[1]: ipfs.service: Unit entered failed state.
Okt 31 12:56:30 lucy systemd[1]: ipfs.service: Failed with result 'exit-code'.
Okt 31 12:56:31 lucy systemd[1]: ipfs.service: Service hold-off time over, scheduling restart.
Okt 31 12:56:31 lucy systemd[1]: Stopped IPFS Daemon.
Okt 31 12:56:31 lucy systemd[1]: ipfs.service: Start request repeated too quickly.
Okt 31 12:56:31 lucy systemd[1]: Failed to start IPFS Daemon.
Okt 31 12:56:31 lucy systemd[1]: ipfs.service: Unit entered failed state.
Okt 31 12:56:31 lucy systemd[1]: ipfs.service: Failed with result 'exit-code'.

Steps to reproduce
Not sure.
Technical details

System: 18.03pre118631.66b63d2f5a (Impala)
Nix version: nix-env (Nix) 1.11.15
Nixpkgs version: "18.03pre118631.66b63d2f5a"
Sandboxing enabled: build-use-sandbox = true

cc @mguentner

Maybe this is not a nixpkgs issue but an IPFS issue @whyrusleeping @jbenet (pinging some IPFS people I know by name)?

Hey! Thats very odd, it looks like the leveldb instance in the ipfs repo is somehow corrupted, I'm not exactly sure what to do to recover from this. ping @kevina and @Magik6k for input

Can you try running ls -l ~/.ipfs/datastore/ and pasting the output here?

$ ls -l /var/lib/ipfs/.ipfs
insgesamt 40
drwxr-xr-x 1026 ipfs ipfs 20480  7. Okt 16:21 blocks
-rw-rw----    1 ipfs ipfs  4894  2. Sep 16:19 config
drwxr-xr-x    2 ipfs ipfs  4096 16. Okt 23:34 datastore
drwx------    2 ipfs ipfs  4096  1. Apr 2017  keystore
-rw-r--r--    1 ipfs ipfs     2  1. Apr 2017  version

This looks fine, can you send ls of the datastore subdirectory?

$ ls -l /var/lib/ipfs/.ipfs/datastore
insgesamt 476
-rw-r--r-- 1 ipfs ipfs 204859 16. Okt 23:34 000356.log
-rw-r--r-- 1 ipfs ipfs 163413 13. Okt 18:03 000358.ldb
-rw-r--r-- 1 ipfs ipfs     16 13. Okt 15:40 CURRENT
-rw-r--r-- 1 ipfs ipfs  94452 16. Okt 23:34 LOG
-rw-r--r-- 1 ipfs ipfs   1183 13. Okt 18:03 MANIFEST-000357

Yeah, the error message in the issue says the manifest file is actually corrupted. Not sure how to recover from this, maybe some leveldb utility could help

I have to add, that the same errors happens on two independent hosts. So this is not an issue that only affects one of my ipfs repositories!

After running the repo-migration tool ipfs-5-to-6 (the repo was at version 6 at this time already, as far as I could tell) and chown ipfs:ipfs the config and datastore_spec files, the daemon successfully started.
I guess this can be closed now.

I am sorry, I have to reopen this. On my second host the above fix does not work.
It still complains that the MANIFEST-0000321 file is corrupted... I tried to cat that file - it is empty!

@matthiasbeyer What are you doing to reproduce this issue?

systemctl start ipfs

Cannot reproduce anymore.

aaaaand can reproduce.
● ipfs.service - IPFS Daemon
   Loaded: loaded (/nix/store/3cbnw5pwyzz3817x4cjhk54f7lzjx0kx-unit-ipfs.service/ipfs.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2018-10-18 22:27:12 CEST; 2min 19s ago
  Process: 30303 ExecStartPre=/nix/store/gwgjpzjxay7sajppass4jjcwfiq1bfvy-unit-script-ipfs-pre-start (code=exited, status=1/FAILURE)

Okt 18 22:27:12 lucy systemd[1]: ipfs.service: Service RestartSec=1s expired, scheduling restart.
Okt 18 22:27:12 lucy systemd[1]: ipfs.service: Scheduled restart job, restart counter is at 5.
Okt 18 22:27:12 lucy systemd[1]: Stopped IPFS Daemon.
Okt 18 22:27:12 lucy systemd[1]: ipfs.service: Start request repeated too quickly.
Okt 18 22:27:12 lucy systemd[1]: ipfs.service: Failed with result 'exit-code'.
Okt 18 22:27:12 lucy systemd[1]: Failed to start IPFS Daemon.

after nixos-rebuild switch with the generation from ~2hours ago.

Some more error output:
Okt 19 14:36:42 lucy gwgjpzjxay7sajppass4jjcwfiq1bfvy-unit-script-ipfs-pre-start[28697]: Lockfiles have been removed.
Okt 19 14:36:42 lucy gwgjpzjxay7sajppass4jjcwfiq1bfvy-unit-script-ipfs-pre-start[28697]: Error: ipfs repo needs migration
Okt 19 14:36:42 lucy systemd[1]: ipfs.service: Control process exited, code=exited status=1
Okt 19 14:36:42 lucy systemd[1]: ipfs.service: Failed with result 'exit-code'.
Okt 19 14:36:42 lucy systemd[1]: Failed to start IPFS Daemon.
-- Subject: Unit ipfs.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit ipfs.service has failed.
--
-- The result is RESULT.

from journalctl -xe
How to migrate the repository?

Ipfs should auto-run migration with ipfs daemon --migrate

Hmmm...
$ sudo -u ipfs ipfs daemon --migrate
[sudo] Passwort für m:
Initializing daemon...
Successfully raised file descriptor limit to 2048.
Found outdated fs-repo, migrations need to be run.
  => Looking for suitable fs-repo-migrations binary.
  => None found, downloading.
The migrations of fs-repo failed:
  no fs-repo-migration binary found for version 7: failed to check migrations version: fork/exec /tmp/go-ipfs-migrate591262889/fs-repo-migrations: no such file or directory
If you think this is a bug, please file an issue and include this whole log output.
  https://github.com/ipfs/fs-repo-migrations
Error: no fs-repo-migration binary found for version 7: failed to check migrations version: fork/exec /tmp/go-ipfs-migrate591262889/fs-repo-migrations: no such file or directory

Can you try running ldd on migrations binary? (/tmp/go-ipfs-migrate591262889/fs-repo-migrations, assuming it's there)
If it's not there, can you try getting it manually from https://dist.ipfs.io/#fs-repo-migrations?

Nope, No such file or directory. The binary from the website wont work as this is NixOS. I used the migration tools with nix-shell and it worked:
$ nix-shell -p ipfs-migrator
[nix-shell:~]$ sudo -u ipfs ipfs-6-to-7 -path /var/lib/ipfs/.ipfs
[nix-shell:~]$ sudo systemctl start ipfs # works

Thanks for the help.


Lightweight fonts impeded readability

The font used in the article (and here) is a lightweight non-serif font. It can be difficult for tired eyes to see that the font color is blue, indicating a hyperlink. I would suggest using a "heavier" weight font, such as Times New Roman or Georgia, to make it easier for the reader to see that something has been linked.

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

ID: a7f38987-1d2b-6dfc-e531-d1ca50fbb11c
Version Independent ID: 592a4f31-6e8f-0ba6-4b8d-58b44600faf3
Content: Deploy your Visual Studio app to a folder, IIS, Azure, or another destination
Content Source: docs/deployment/deploying-applications-services-and-components-resources.md
Product: visual-studio-windows
Technology: vs-ide-deployment
GitHub Login: @Mikejo5000
Microsoft Alias: mikejo

@Geronimo1989 -- thank you for your feedback; we appreciate it. You can submit issues related to overall site experience, or suggestions for improved site functionality or design, at https://aka.ms/sitefeedback/.
I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


added build.meson & single header nlohmann json (because git submodule too big)

& single header nlohmann json (because git submodule too big)

A 23k line file is still kind of big, if you ask me. :) Not so great for applying updates.
You can just remove it from the git repo, and use an external dependency... meson wrap install nlohmann_json will install a tiny ini file describing how to download it during the build, if it isn't already installed to the system. You then depend on it via dependency('nlohmann_json').


replace_address_test.TestReplaceAddress.replace_active_node_test

https://issues.apache.org/jira/browse/CASSANDRA-8504

This particular test passes OK - closing.