Use a distance filter so that apps can sleep as much as possible

Using a distanceFilter would prevent location updates from being delivered to the app until the device has moved the specified distance. While the GPS system is still active, letting the app sleep when possible can minimize energy use.
In order to support use by multiple teams, with different needs, within a single app at the same time, a distance filter would have to be set based on the client with the need for highest accuracy.
For example, if one client needs Good accuracy while another only needs Coarse, the distance filter could be set to an appropriate value for Good. If both clients only needed Coarse, then the distance filter could be set based on that.
Each time a client is added or removed, or an existing client changes its desired accuracy, the distance filter would need to be updated appropriately.

Setting the distanceFilter to approximately half of the desired accuracy seems to work fairly well. It does allow some updates while the device is stationary that are caused by GPS fluctuations (especially if the desired accuracy is really low). But it also tries to ensure a timely update while the device is moving so that a previous update that was inaccurate can be updated before the device gets too far.

Desired Accuracy
Distance Filter

3km
1500m

1km
500m

100m
50m

10m
5m

Best
2m

Best For Navigation
None

@samgrover Want to close this issue, since the PR was merged? :smile:


Removed Anko Dependency

I removed Anko Dependency since it was hosted on JCenter and JCenter has shutdown which affected downloading QuickPermissions lib

Nice commit!


Scanning is too slow on iOS compared to Android

I'm using a iPhone 6 and a Sony Z1. The iOS scanner takes a lot more time to recognize a QR Code than the Android one. I didn't measure it, but I would say 5 to 10 times more time. Compared to other iOS QR Code reader apps, it's also a lot slower.
Maybe someone with iOS programming experience can take a look at the code, there must be some potential for improvement.

I agree with this.
Also I have made some tests ans disabled everything but QR and Data matrix but it didn't help.
It feels like the optical analyzing takes much longer.

Hey guys! I'm experiencing the same issue. Have you found a way to speed up the reading process?

Nope, not yet, as mentioned.

We are experiencing the same issue, Iphone 6 scans the EAN 13 (ISBN) barcode very slowly when compared to Android.

It is laughable / embarrassing how slow this is compared to https://github.com/tjwoon/csZBar

It's very slow on iphone 4s (ios 8.2) as well.
I know he is getting old though... :smiley:

try to use AVCaptureSessionPresetMedium instead of AVCaptureSessionPresetHigh
in CDVBarcodeScanner.mm file
// captureSession.sessionPreset = AVCaptureSessionPresetHigh;
captureSession.sessionPreset = AVCaptureSessionPresetMedium;

I came here because scanning was incredibly slow on my iPhone 6S and I had to get the app very close in order to finally have it recognize a barcode (if it recognized it at all). Funny enough, it was the opposite of @lukyn-cz's comment that helped (albeit a little), changing the setting from Medium to High.

Version 6.0.4 didn't change the Medium/High setting mentioned in the previous post (because of varying results), but it did change a switch where the camera is hinted to look for objects 'near' the camera (as opposed to 'anywhere'). Hope that makes a bit of a difference..


Add MinGW on Windows to install script

Add install support for http://www.mingw.org/
Running uname -sm yields:
MINGW32_NT-6.2 i686
The prebuilt windows 386 binary works well in this environment.

Thanks!


Handle empty versions for a DB

Fixes
    sequins (5.14.1)
    ----------------
      - instance #0 [ERROR]: "'versions'"
        Traceback (most recent call last):
          File "/opt/datadog-agent/agent/checks/__init__.py", line 795, in run
            self.check(copy.deepcopy(instance))
          File "/etc/dd-agent/checks.d/sequins.py", line 25, in check
            num_dbs = len(db['versions'])
        KeyError: 'versions'

      - Collected 99 metrics, 0 events & 1 service check

Tests are failing.

Yup, talking to Obs about it.

I'm looking into it. I suspect that the environment the tests run under has changed (debug logging has become enabled) and this is causing the tests that expected no output to fail. I'm looking into updating the tests so they work.

What changed here is that the Dockerfile installs dd-agent from master, and the change happened in master.

@vasi-stripe Fixed in https://github.com/stripe/datadog-checks/pull/67
Rebase?

Yay, thanks @krisreeves-stripe
PTAL @scottjab-stripe


D435: USB device is inserted in USB3.0 but recognized as USB2.0.

Required Info

Camera Model
{ D400 }

Firmware Version
(<IP_ADDRESS>)

Operating System & Version
{Win 10

Kernel Version (Linux Only)

Platform
PC

SDK Version
latest

Issue Description
Realsense D435 often misidentifies as USB 2.0 though it is inserted in USB 3.0.

Hello @unagiHuman,
Please provide more information so that we can propertly investigate this issue. Do you mean that the D435 is sometimes identified as USB2.0 only when you pull out the USB terminal several times and insert it repeatedly?
Does this happen when you connect it once and leave it in?
Please be more specific on exactly how you create this error.
If you can, please send a close up picture of the USB port on the PC to which you are connecting the camera and a screenshot of the screen where the camera is identified as USB 2.0.
Regards,
Jesus G.
Intel Customer Support

OK, I will tell you the conditions under which the problem will occur in detail.

No error occurs when Realsense is operating properly, but it occurs after reconnecting the USB terminal

Frequently reproduce after reconnecting the USB terminal. However, it does not mean that the error is reliably reproduced.

When I start RealSenseViewer after rebooting my PC with realsense USB terminal connected to PC, Realsense can not connect or an indication that USB 2.0 is recognized appears

Image of the USB 3.0 terminal on the PC side

RealSenseViewer image when a problem occurs
"Intel Realsense USB 2" is displayed.
In this state the application can not receive Depth

Thank you, @unagiHuman. We will investigate this issue.
 I was able to fix it (get the computer to recognize that it was a D415 and not just an intel USB 2.0 device) by using another cable. @jlgarcia75  do you have any idea why that happened?

I had this issue as well.
Restarted PC. Issue persisted.
Tried installing it on another PC. Worked fine.
Plugged it back into first PC. Issue magically resolved itself.

Can you make sure that the cable you use is USB3.0 ? Please make sure that.

I think the issue https://github.com/IntelRealSense/librealsense/issues/1148 will be helpful.

@vingsony @zenving
I am using the USB cable that was in the box containing Realsensed 435 I bought. it should be a USB 3.0 cable.

I can verify the cable I am using is USB 3.0. The problem happens sometimes and not other times, using the exact same computer, cable, and D435 device with repeated connect/disconnection. The probability of success is different across different computers. The probability of it succeeding appears very far from IID (I find if it fails once, it is more likely to fail the next reconnection as well).

Probably related, so I think its worth contributing: I got one D435 on an Intel NUC running Ubuntu. When the RealSense is connected while booting, according to dmesg, it exclusively communicates with the USB 2.0 hub and fails enumerating.
I am certain that usb 2-2 is the RealSense while usb 2 is a USB 2.0 host controller:
[    2.028034] usb 2-2: new full-speed USB device number 2 using xhci_hcd
⋮
[    2.148042] usb 2-2: device descriptor read/64, error -71
⋮
[    2.376043] usb 2-2: device descriptor read/64, error -71
[    2.604032] usb 2-2: new full-speed USB device number 3 using xhci_hcd
[    2.724041] usb 2-2: device descriptor read/64, error -71
⋮
[    2.965963] usb 2-2: device descriptor read/64, error -71
⋮
[    3.191993] usb 2-2: new full-speed USB device number 4 using xhci_hcd
[    3.192086] usb 2-2: Device not responding to setup address.
⋮
[    3.400173] usb 2-2: Device not responding to setup address.
[    3.608025] usb 2-2: device not accepting address 4, error -71
[    3.728026] usb 2-2: new full-speed USB device number 5 using xhci_hcd
[    3.728173] usb 2-2: Device not responding to setup address.
[    3.936179] usb 2-2: Device not responding to setup address.
[    4.144023] usb 2-2: device not accepting address 5, error -71
[    4.144042] usb usb2-port2: unable to enumerate USB device

Upon reconnection it physically, USB3-Controller usb 3 is taking care of it:
[   46.936210] usb 3-2: new SuperSpeed USB device number 2 using xhci_hcd
[   46.956487] usb 3-2: New USB device found, idVendor=8086, idProduct=0b07
[   46.956489] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   46.956490] usb 3-2: Product: Intel(R) RealSense(TM) 430
[   46.956492] usb 3-2: Manufacturer: Intel(R) RealSense(TM) 430

[Realsense Customer Engineering Team Comment]
You can refer to the similar  issue #1391 (enumerated as USB2 rather than USB3) to see if it can help in your case.
https://github.com/IntelRealSense/librealsense/issues/1391
in that issue, the D4xx is enumerated as USB2 high speed device (not full speed)

Definitely a faulty cable issue.  reversing & reinserting  the typeC connector to my d415 solves the issue. This is with the included cable. I hope the issue is resolved with future cables, else whats the point of including a typeC connector.

Reversing the cable lets my d435 go to usb 2.0 or be not detected. I have not been able to get it to usb 3.0 . I even got a powered usb 3.1 usb hub but still no luck. Tried 3.0 and 3.1 ports. Played with bios settings. Bought a 10gbps 3.1 cable. Nothing works. Any help will be appreciated.

Getting a reversible (small port on both ends) usb-c 3.1 doesn't work either. I will try again and post my progress. Has the issue of USB3.0 been resolved with actionable steps?

What cable gives the best results ?

We found that Anker cables work really well long term. Amazon has them. USB3 also works best over the shortest distance possible.
Anker cable on Amazon: https://www.amazon.com/gp/product/B01HF0YGCK/ref=oh_aui_detailpage_o08_s00?ie=UTF8&psc=1

I am experiencing the same problems with Windows 10 Pro 1709 16299.431, D435 #825312070943 firmware <IP_ADDRESS>, using the USB 3.0 cable supplied with the camera on a recently-purchased Dell Latitude 5580.
Incorrectly detecting the 435 as USB2.0 is random, about 2/3 of the time, unplug - replug - reboot, I've tried repeatedly and there there's no systematic pattern, it works after a fiddling for a while.
However, I have a bit more luck with the RealSense viewer as compared to my own application; is there some sort of 'reset' that the RealSense viewer is doing that I am unaware of?
Better still, is there a way to programmatically force the camera to be re-recognised?
P.S. I've never experienced this on a separate rig running Windows 10 on an Intel NUC.

@smirkingman @mpcuter i have the same issue. were you able to find a solution?

I found that the dropback from Usb3 to Usb2 was due to cables made of
Chineseum (poor quality). Try with a short, high-quality Usb3 cable.
On Wed, 6 Feb 2019, 23:15 Nandhiny<EMAIL_ADDRESS>wrote:

@smirkingman https://github.com/smirkingman @mpcuter
https://github.com/mpcuter i have the same issue. were you able to find
a solution?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IntelRealSense/librealsense/issues/1181#issuecomment-461209467,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVNIwcsPIjY1ZPRexhmgInL28nW8OM3Zks5vK1PngaJpZM4SGZVh
.

Just adding a comment that could help. I was using a win10 computer with a usb3 port, but a cable that was usb-c to usb2. The realsense viewer kept identifying the connection as a usb2 and the rgb stream option was not available (only depth). Upon switching to a usb3-usb-c cable, my D435i works as expected.

If you get into 'no devices found' maybe you could be find useful a similar approach
https://github.com/robertofazio/usb_reset_intel_realsense_435/blob/master/USB_RESET.bat
it's harcoded but it works in my case

I have a similar if not the same problem as @unagiHuman.
Some background:
I have two D435 cameras and two laptops running Windows 10.
One laptop has a USB 3 port, the other one has 2 USB-C ports.

I know that one of the cameras and some of the cables/adapters are definitely working because I checked them on a different Windows computer. The camera was recognized as a USB3 device and worked fine there.
The problem:
On both laptops, both D435 show up in RealSense Viewer as connected through a USB 2.1 port.
The weird part:
After checking one of the cameras on a different Windows computer (worked fine there),
the camera was recognized as a USB3 device on both laptops and worked fine with them,
and, also, the second camera (which I did not connect to that other Windows computer)
was properly recognized as a USB3 device on both laptops and worked fine with them too.
However, after turning the laptops off and back on, the situation returned to square one:
both cameras are shown in RealSense Viewer as connected via USB 2.1 on both laptops.
I did not repeat connecting the camera(s) to that other Windows machine because I no longer had access to it.
What can be checked for the cameras or laptops to fix this problem?

I had these problems, all due to cheap cables in chineseum. Change cables
until you get consistent usb3. If your pc supports thunderbolt, use that,
works better still
On Mon, 10 Feb 2020, 00:53 a-m-p-m<EMAIL_ADDRESS>wrote:

I have a similar if not the same problem as @unagiHuman
https://github.com/unagiHuman.
Some background:
I have two D435 cameras and two laptops running Windows 10.
One laptop has a USB 3 port, the other one has 2 USB-C ports.

I know that one of the cameras and some of the cables/adapters are
definitely working because I checked them on a different Windows computer.
The camera was recognized as a USB3 device and worked fine there.
The problem:
On both laptops, both D435 show up in RealSense Viewer as connected
through a USB 2.1 port.
The weird part:
After checking one of the cameras on a different Windows computer (worked
fine there),
the camera was recognized as a USB3 device on both laptops and worked fine
with them,
and, also, the second camera (which I did not connect to that other
Windows computer)
was properly recognized as a USB3 device on both laptops and worked fine
with them too.
However, after turning the laptops off and back on, the situation returned
to square one:
both cameras are shown in RealSense Viewer as connected via USB 2.1 on
both laptops.
I did not repeat connecting the camera(s) to that other Windows machine
because I no longer had access to it.
What can be checked for the cameras or laptops to fix this problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IntelRealSense/librealsense/issues/1181?email_source=notifications&email_token=AFJURQLV2YSQLG6L2JMDOOLRCCJPDA5CNFSM4EQZSVQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELG4BFQ#issuecomment-583909526,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFJURQKYQLNFGNRHZ2LOCWTRCCJPDANCNFSM4EQZSVQQ
.

I had these problems, all due to cheap cables in chineseum. Change cables until you get consistent usb3. If your pc supports thunderbolt, use that, works better still
…
On Mon, 10 Feb 2020, 00:53 a-m-p-m, @.***> wrote: I have a similar if not the same problem as @unagiHuman https://github.com/unagiHuman. Some background: I have two D435 cameras and two laptops running Windows 10. One laptop has a USB 3 port, the other one has 2 USB-C ports.  I know that one of the cameras and some of the cables/adapters are definitely working because I checked them on a different Windows computer. The camera was recognized as a USB3 device and worked fine there. The problem: On both laptops, both D435 show up in RealSense Viewer as connected through a USB 2.1 port. The weird part: After checking one of the cameras on a different Windows computer (worked fine there), the camera was recognized as a USB3 device on both laptops and worked fine with them, and, also, the second camera (which I did not connect to that other Windows computer) was properly recognized as a USB3 device on both laptops and worked fine with them too. However, after turning the laptops off and back on, the situation returned to square one: both cameras are shown in RealSense Viewer as connected via USB 2.1 on both laptops. I did not repeat connecting the camera(s) to that other Windows machine because I no longer had access to it. What can be checked for the cameras or laptops to fix this problem? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#1181?email_source=notifications&email_token=AFJURQLV2YSQLG6L2JMDOOLRCCJPDA5CNFSM4EQZSVQ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELG4BFQ#issuecomment-583909526>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFJURQKYQLNFGNRHZ2LOCWTRCCJPDANCNFSM4EQZSVQQ .

You used it twice now in this thread, what is chineseum?

@smirkingman :
I am using the cables which worked fine with D435 & D415 on several other computers.
I don't think the cables are the problem.
@unagiHuman :
What was the cause of your problem with D435?

@RealSense-Customer-Engineering @RealSenseCustomerSupport
@jlgarcia75 @dorodnic :
Unfortunately, the issue persists.
Any suggestions, please?

We faced similar issue, the out of the box cable with the camera was not good. We separately bought 3Amps cable from Newnex which helped solve the issue. The problem is most USB cables are designed to carry 0.9Amps of current. Realsense needs the 3Amps one.

USB power delivery might be an issue. You said 3Amp cable is required but usb ports only give out 500mAmps max, often defaulting to 100mAmps. I am not sure if that is a path of questions to check out? How do I give max juice to the usb port? because i don't think the camera's software is requesting it by default.

USB 3.0 is 900 mAmps. But unfortunately regular 0.9A cables don't do the job well. Realsense when streaming with depth needs USB 3.0 port.


Can't open files with '#' in their names when using immutable flag in sqlite

Bug Description
Cannot open sqlite database files when the immutable flag is used and the file name contains the '#' symbol
Minimal Reproduction
A small code snippet or a link to a Github repo or Gist, with instructions on reproducing the bug.
use core::str::FromStr;

use sqlite::*;
use sqlx::*;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    connect("fine.db".to_string()).await?;
    println!("Opens Fine");
    connect("error#.db".to_string()).await?;
    unreachable!();
    Ok(())
}

pub async fn connect(path: String) -> Result<(), Box<dyn std::error::Error>> {
    SqliteConnectOptions::from_str(&format!("sqlite://{path}"))?
        .immutable(true)
        .connect()
        .await?;
    Ok(())
}

Info

SQLx version: 0.5.9 / 0.6.3 / 0.7.0-alpha.2
SQLx features enabled: sqlite+ runtime-tokio-native-tls / sqlite + runtime-tokio
Database server and version: [REQUIRED] (SQLite <x.y.z>) ( libsqlite3-sys v0.25.2 )
Operating system: MacOS Ventura 13.2
rustc --version:  rustc 1.68.2 (9eb3afe9e 2023-03-27)

So after looking a little bit, the issues seems to be related to the query_params vec in establish.rs. Therefore the issue is not limited to immutable flag but related to the vector itself. Since we are formatting the file name like this only if the query_params has an element.
filename = format!("file:{}?{}", filename, query_params.join("&"));

So somehow this formatting is causing problem. I have no idea why but this works.
[/tmp/sqlx/sqlx-sqlite/src/connection/establish.rs:142] filename = "error#.db"

However this doesn't
[/tmp/sqlx/sqlx-sqlite/src/connection/establish.rs:142] filename = "file:error#.db?immutable=true"


How to remove documents during incoming/outgoing handlers?

I'm looking to setup a PouchDB environment such that documents can contain an expiry property (e.g. an expiresAt timestamp).
As such, I am interested in if I can utilize this plugin's incoming/outgoing functionality to check a document's expiry when being read/written and verify it should still exist. If so, return it; if not, remove it from the database and do not return it.
Looking through the code and issue tracker, it is not at all clear how to achieve this.
The README does, however, mention this basic concept in passing:

This allows you to:

...
Remove or modify documents before storage (e.g. to massage data from CouchDB)

Can someone please help me understand how to hook such a thing up?

try this example from the README to delete a doc when reading out from the db if it’s expired and throwing the missing error
var errors = require('pouchdb-errors')
var pouch = new PouchDB('mydb');
pouch.transform({
  outgoing: function (doc) {
    if (doc.expiresAt < now) {
      pouch.remove(doc).then(() => throw errors.MISSING_DOC)
    }
    return return doc
  }
});

hope that helps to point you in the right direction?

try this example from the README

Huh?  I definitely see this example in the README.
That said, your example generally makes sense to me.  So throwing a errors.MISSING_DOC Error will not prevent the rest of a documents from being returned if it is a batch result?  The ideal behavior I'm seeking would be to remove the document transparently and still allow the rest of the result set to return without missing result indices, errors, etc.

I don’t know, you’ll have to experiment with it. Would be great if you could share what you came up with

So I've tried a number of different variations on the idea from @gr2m's comment above but they all suffer from the same problem: the document isn't fully removed until after the query/read resolves, and this transform-pouch plugin doesn't allow our handlers access to the full result document, nor the top-level result object (e.g. from allDocs), in order to modify them in a fake fashion manually.
Experiments
Experiment 1: Remove doc and throw
Code:
db.transform({
  outgoing: function( doc ) {
    if ( doc.expiresAt < Date.now() ) {
      return db
        .remove( doc )
        .then(function() {
          throw errors.MISSING_DOC;
        });
    }
    return doc;
  }
});

Result:
Using allDocs, when a given document in the result set becomes expired, the whole call results in the errors.MISSING_DOC error, so _NO _ results are returned.  This does not match my desired behavior.
The next allDocs query does return the expected results as desired (unless another document expires and blocks the result from returning as well, that is).
Experiment 2: Update doc with _deleted: true and throw
Code:
db.transform({
  outgoing: function( doc ) {
    if ( doc.expiresAt < Date.now() ) {
      doc._deleted = true;
      return db
        .put( doc )
        .then(function() {
          throw errors.MISSING_DOC;
        });
    }
    return doc;
  }
});

Result:
Using allDocs, when a given document in the result set becomes expired, the whole call results in the errors.MISSING_DOC error, so _NO _ results are returned.
The next allDocs query does return the expected results as desired (unless another document expires and blocks the result from returning as well, that is).
Experiment 3: Remove doc and return undefined
Code:
db.transform({
  outgoing: function( doc ) {
    if ( doc.expiresAt < Date.now() ) {
      return db
        .remove( doc )
        .then(function() {
          return;  // undefined
        });
    }
    return doc;
  }
});

Result:
Using allDocs, when a given document in the result set becomes expired, the document is still returned in the results. However, its contents (a) does NOT have a value.deleted property set to true, and (b) no longer has a doc property value.  This does not match my desired behavior.
The next allDocs query does return the expected results as desired.
Experiment 4: Update doc with _deleted: true and return undefined
Code:
db.transform({
  outgoing: function( doc ) {
    if ( doc.expiresAt < Date.now() ) {
      doc._deleted = true;
      return db
        .put( doc )
        .then(function() {
          return; // undefined
        });
    }
    return doc;
  }
});

Result:
Using allDocs, when a given document in the result set becomes expired, the document is still returned in the results. However, its contents (a) does NOT have a value.deleted property set to true, and (b) no longer has a doc property value.  This does not match my desired behavior.
The next allDocs query does return the expected results as desired.
Experiment 5: Remove doc and return doc
Code:
db.transform({
  outgoing: function( doc ) {
    if ( doc.expiresAt < Date.now() ) {
      return db
        .remove( doc )
        .then(function() {
          return doc;
        });
    }
    return doc;
  }
});

Result:
Using allDocs, when a given document in the result set becomes expired, the document is still returned in the results. However, its contents (a) does NOT have a value.deleted property set to true, and (b) its doc property is still fully intact.  This does not match my desired behavior.
The next allDocs query does return the expected results as desired.
Experiment 4: Update doc with _deleted: true and return doc
Code:
db.transform({
  outgoing: function( doc ) {
    if ( doc.expiresAt < Date.now() ) {
      doc._deleted = true;
      return db
        .put( doc )
        .then(function() {
          return doc;
        });
    }
    return doc;
  }
});

Result:
Using allDocs, when a given document in the result set becomes expired, the document is still returned in the results. However, its contents (a) does NOT have a value.deleted property set to true, (b) has a doc._deleted property set to true, and (c) the rest of its doc property is still fully intact.  This does not match my desired behavior.
The next allDocs query does return the expected results as desired.

Conclusion
If attempting to use this plugin to do this work as it is today, I would have to add a post-operation outside of the transform to then filter the results as well (e.g. omit all documents where doc is not defined.  😞


fix nightly doc publishing to create target directory first

Former plan did not work because our sync-nighlies scripts automatically adds a trailing slash to the local_path, which fails the rsync invocation...

Going ahead with that one to start another run...

That finally worked, documentation for main is now lying here and is regenerated (and overwritten on the server) automatically every night.


Unable to see text being typed into mailing list sign up

Reference:

It seems the font color for the input text on the mailing list subscription form may be the same color as the background.

This should be fixed now, let me know if it is specific browser thing


[native_*] Make locking tests less timing sensitive

Make locking tests way less sensitive to timing:

Reduce the timeout time inside helper processes for the locking test.
Give the test a 10x to timeout. (We don't technically need the timeout, as normal test flow should cancel the timer. But it's nice that tests fail at some point instead of hanging.)

This should fix the flakiness on the Dart SDK CI when attempting to roll these tests in.
Additionally, add more debug prints for if the tests fail.
Flaky failures: https://dart-ci.firebaseapp.com/cl/381984/7
Success run with this PR: https://dart-ci.firebaseapp.com/cl/382180/3

TYVM!


Add and test berkeleygw variant

Fixes #67 partially.
With Hennings changes to the berkeleygw package, berkeleygw now has mpi and non mpi variant.
This MR adds the berkeleygw variant and chooses correctly the berkeleygw variant based on octopus variant (mpi or non mpi )

Looks good. Can be merged when the Ci passes.

This brings in elpa, scalapack and other optional berkleygw dependencies even when octopus dosent specify them see for eg:
    ==> Concretized octopus<EMAIL_ADDRESS><EMAIL_ADDRESS>     -   a3hpjdr  octopus<EMAIL_ADDRESS>build_system=autotools dev_path=/scratch/karnada/spackbox/iamSpack/testberkelyenv/octopus arch=linux-debian11-sandybridge
     -   rihhxxg      ^berkeleygw<EMAIL_ADDRESS>build_system=makefile arch=linux-debian11-sandybridge
     -   2qkgfmx          ^elpa<EMAIL_ADDRESS>build_system=autotools arch=linux-debian11-sandybridge

full at http://p.ip.fi/DDZM

New versions of berkeleyGW incompatible with octopus: https://gitlab.com/octopus-code/octopus/-/issues/545

Looks good. Do we know if<EMAIL_ADDRESS>is the correct and only version of BerkeleyGW for all Octopus versions?

Berkeleygw gets pulled in for both mpi and non mpi variant:
https://github.com/fangohr/octopus-in-spack/actions/runs/4417514992/jobs/7743327694

Version                : 12.2
Commit                 :
Build time             : Tue Mar 14 17:30:07 UTC 2023
Configuration options  : maxdim3 openmp sse2 libxc5 libxc_fxc
Optional libraries     : berkeleygw cgal etsf_io netcdf sparskit nlopt
Architecture           : x86_64
C compiler             : /usr/bin/gcc

 Version                : 12.2
Commit                 :
Build time             : Tue Mar 14 18:03:18 UTC 2023
Configuration options  : maxdim3 openmp mpi sse2 avx libxc5 libxc_fxc
Optional libraries     : berkeleygw cgal etsf_io metis netcdf parmetis pfft pnfft sparskit nlopt
Architecture           : x86_64
C compiler             : /home/user/spack/opt/spack/linux-debian11-x86_64_v4/gcc-10.2.1/openmpi-4.1.5-hn6nfwprjx4yzno3wwixc5qecjwc4rc5/bin/mpicc (/home/user/spack/lib/spack/env/gcc/gcc)

Regarding the versions, its unclear if older versions support<EMAIL_ADDRESS>The octopus buildbot uses<EMAIL_ADDRESS>for testing and<EMAIL_ADDRESS>is the latest version that octopus 12.2 supports.

Would you suggest that we make it such that all versions from<EMAIL_ADDRESS>until<EMAIL_ADDRESS>are supported instead ? This would have to be separately tested.

If Octopus currentlly works with  1.2 (on the buildbot) and 2.1, then at least we could allow different versions of BerkeleyGW in our spack package? If we know a mapping of - for example -
octopus 11.1 -> BerkeleyGW 1.2
octopus 11.2 -> BerkeleyGW 1.2
octopus 12.0 -> BerkeleyGW 2.1
then we could implement this in Spack.
If all of those Octopus versions support both BerkeleyGW versions, it might be better to allow the full range of BerkeleyGW versions (I.e. from 1.2 to 2.1): this way, if you have a spack installation that happens to have BerkeleyGW 1.3 installed already, Octopus could use that as a dependency. (This wouldn't work if we fix the only allowed BerkeleyGW version to be 2.1.)

The problem is we dont know the mapping and for octopus team figuring out this mapping for BerkeleyGW is quite low on the bucket list. Spack also has support for only 3.0.1, 3,2.1 and the older versions are not tested.
I am manually trying out the compilation of the following specs and if they work I will set the version to 1.2<=BerkeleyGW<=2.1:
octopus<EMAIL_ADDRESS>octopus<EMAIL_ADDRESS>( even though<EMAIL_ADDRESS>checksum not in spack )
octopus<EMAIL_ADDRESS>( already tested by buildbot)

octopus<EMAIL_ADDRESS>works properly:
Version                : 11.1
Commit                 : 479f5a74a3e8a9925c20c1e7f27872f02941f27a
Build time             : Thu Mar 16 15:28:16 CET 2023
Configuration options  : maxdim3 openmp mpi sse2 avx libxc5 libxc_fxc
Optional libraries     : berkeleygw gdlib metis mpi2

but<EMAIL_ADDRESS>wasnt tested as there are issues getting the package installed  https://github.com/spack/spack/issues/36163

We decided to stick with<EMAIL_ADDRESS>for all versions of octopus.


Support for PHP 7.2 to 8.2

This branch has updates to add support for PHP 8.2.  Rector and testing were used to ensure backward compatibility down to PHP 7.2.  The main issues were:

Missing class properties - dynamic property creation is no longer supported.
Return type hinting is required for implemented methods.   In most cases, returns types were simply added. However, three methods in the Response\Headers class returned type mixed.  The "mixed" type isn't supported in 7.2 so those 3 methods got the "#[\ReturnTypeWillChange]" flag, which causes PHP 8 to suppress the warning.
Implemented some of the other suggestions Rector made, mostly around array declaration and comparison statements.

I have tried your fork and it's working properly


Support automatically setting replication method based on stream metadata

Some taps only support state for some streams, not for others. E.g. tap-pipedrive has this catalog
  "stream": "deals",
      "metadata": [
        {
          "breadcrumb": [],
          "metadata": {
            "table-key-properties": [
              "id"
            ],
            "forced-replication-method": "INCREMENTAL",
            "valid-replication-keys": [
              "update_time"
            ],
            "inclusion": "available"
          }
        },

For other streams, the forced-replication-method is set to "FULL". It would be great it target-bigquery could interpret those metadata instead of having to explicitly configure via loader config it my orchestration tooling (meltano).

@JohannesRudolph, we have use cases when we want to set target replication method as APPEND, even though tap replication method is FULL_TABLE. We do this in order to preserve historical data.
Our current process is:

Pull replication method from target-bigquery config
If it’s not there, use append

Our new process will be:

Pull replication method from target-bigquery config
If it’s not there, pull it from JSON schema (new feature)
If it’s not there, use append

Our new feature should address your use case.


Bind both to IPv4 and IPv6 with special "any" value

This also removes need in special wrapper to handle atom as default
for config:get call.
COUCHDB-2783

This only helps for the private 5986 port for 2.0 which should really only bind to localhost. Look at https://github.com/apache/couchdb-chttpd/blob/master/src/chttpd.erl#L112.

@rnewson I know. See also https://github.com/apache/couchdb-chttpd/pull/60

+1

hrm, I retract the +1, sorry.

@rnewson  Fixed that problem. Please take another look.

+1, please squash before merging.


cannot stat 'dist/conf_template': No such file or directory

Step 10/13 : RUN cp dist/conf_template dist/conf -r
---> Running in a3b208d05e3d
cp: cannot stat 'dist/conf_template': No such file or directory

What's your OS and docker version? I rebuild the image in my CentOS and it is fine.

May be the gradle build fails so the files in dist are not generated


[Fixes #9721] Added a variable: breadcrumb slash color

Fixes #9721 as this looks logical to me!
Thanks a lot @stefan2 for reporting!
@kball @brettsmason : I have one issue though
=> $breadcrumbs-item-color-disabled and $breadcrumbs-item-slash-color share the same color. Is this meant to happen like this?

Also please close the issue on merge as i forgot to add it on commit message.

Oh Yeah! https://vimeo.com/30486912

@kball i didn't got my answer kevin sir?

$breadcrumbs-item-color-disabled and $breadcrumbs-item-slash-color share the same color. Is this meant to happen like this?

I think that's fine as a default, neither is clickable, and they're now independently configurable if someone objects.

The first one to object will be me in that case then :smiling_imp:


fix: use correct table order in db.ts

Currently broken

Thanks. Manually reordered in prod to init_db indeed :)


[feature] Modify function behavior

Per discussion w/ @sloria . To help review and choose, email with context to follow.

Force-restarted failing tests; clear now.

This seems like a bad idea - why are we unescaping only a subset of characters?

We spoke about this in person - I understand the need for it, I'm concerned about confusion about the function's purpose and when it should be used.
Please change the name of safe_unescape_html to unencode_ampersands or similar. Also, revise the function's docstring to be more concise on the first line (e.g.: "Converts HTML-encoded ampersands to literal characters") and document the rationale for the function's existence in the next section.
I'll also add this function to the list of things to clean up after this refactor and migration are complete.

The above documentation changes can be made in the related PR, #3659.
@sloria, please proceed :)

This function is used primarily in views tied to json_renderer. It is designed to turn HTML entities in the database back to regular text, under the expectation that the text is being passed to a front-end framework that does its own escaping. (eg knockout)

Proposed name: unescape_entities. (it may still handle things other than ampersands if needed)
I'd suggest this remain separate from any of the markupsafe conversion PRs- I'd rather keep those focused on mako.
Will push requested changes to this PR branch momentarily.

Updated with newest develop. Will write test cases Monday AM.

Thanks. Once those tests are finished, please ping me on Flowdock for next pass.

Merged into feature/markupsafe-3.


Dark Mode on Windows?

Description
IDK if this is a bug, or just a missing feature, but it surely feels like a Bug. On Windows, there's no Dark-Mode whatsoever, no matter what Color is set in Windows Settings.
If there is a Settings menu for pinta, i have yet to find it.
To Reproduce
Trying to use the App on Windows (11) i guess?
Additional Info
/
Version
2.1.2

Actually, after this, i tried thew latest build from the "Actions" page, and that seems to work fine. Even tho it now looks like Linux, and seems to have its own issues, but its better than before.
Thanks for all the work!

Yes, the latest builds of Pinta 2.2 use Libadwaita, which should properly switch to a dark theme depending on system settings.


Node.js Foundation Bootstrap Team Meeting 2018-11-05

Time
UTC Mon 05-Nov-2018 19:00 (07:00 PM):

Timezone
Date/Time

US / Pacific
Mon 05-Nov-2018 11:00 (11:00 AM)

US / Mountain
Mon 05-Nov-2018 12:00 (12:00 PM)

US / Central
Mon 05-Nov-2018 13:00 (01:00 PM)

US / Eastern
Mon 05-Nov-2018 14:00 (02:00 PM)

London
Mon 05-Nov-2018 19:00 (07:00 PM)

Amsterdam
Mon 05-Nov-2018 20:00 (08:00 PM)

Moscow
Mon 05-Nov-2018 22:00 (10:00 PM)

Chennai
Tue 06-Nov-2018 00:30 (12:30 AM)

Hangzhou
Tue 06-Nov-2018 03:00 (03:00 AM)

Tokyo
Tue 06-Nov-2018 04:00 (04:00 AM)

Sydney
Tue 06-Nov-2018 06:00 (06:00 AM)

Or in your local time:

http://www.timeanddate.com/worldclock/fixedtime.html?msg=Node.js+Foundation+Bootstrap Team+Meeting+2018-11-05&iso=20181105T19
or http://www.wolframalpha.com/input/?i=07PM+UTC%2C+Nov+05%2C+2018+in+local+time

Links

Minutes Google Doc: https://docs.google.com/document/d/1d2Hsf0J-pYTls2M_nPXhbLK8i0ZAg7ZP6Wa1sA4HdD8/edit?usp=sharing
Previous Minutes Google Doc: https://docs.google.com/document/d/1XB-r3UoqyxLPUlDsZ0hW6DO5ljQHvZO2JqiNLE6nJdI/edit

Agenda
Extracted from bootstrap-agenda labelled issues and pull requests from the nodejs org prior to the meeting.
Discussion (50 minute timebox)
nodejs/bootstrap

doc: initial governance #19

5 minute timebox

How often / when do we meet? #21

5 minute timebox

Draft Staging Process #23

10 minute timebox

Do we want Board representation? #17

10 minute timebox

Create expectations for foundation draft #6

10 minute timebox

First Pass at Bootstrap Process #7

Refs:

Guiding principles, concerns, general operations #9

10 minute timebox

Invited

Node.js Members: @nodejs/members
JSF Project Maintainers
JSF TAC
Node.js Foundation Board of Directors
JSF Board of Directors\n

Notes
The agenda comes from issues labelled with bootstrap-agenda across all of the repositories in the nodejs org. Please label any additional issues that should be on the agenda before the meeting starts.
Joining the meeting

link for participants: https://zoom.us/j/779273015
For those who just want to watch: https://www.youtube.com/c/nodejs+foundation/live

Agenda is tentative, if anyone feels that something is missing or out of place please point it out.


Cannot build from source

Hi,
My specs:

Pop!_OS
Nim 2.0.2

Cloning the repository and building with nimble build, it throws:
home/user/Nim/ttop/src/ttop/tui.nim(502, 16) Error: undeclared identifier: 'getKeys'  candidates (edit distance, scope distance); see '--spellSuggest':
 (1, 6): 'getKey'
       Tip: 12 messages have been suppressed, use --verbose to show them.
nimble.nim(229)          buildFromDir

    Error:  Build failed for the package: ttop

@epasveer just pushed small update for the old nim compatibility
git pull and try again plz

@inv2004
Confirming that the above procedure works, thanks 👍

@epasveer just pushed small update for the old nim compatibility
git pull and try again plz

Thanks. I will later today after work.

Reopen if problem still exists

The latest "pull" works well for me.


add first-address-from-root script

it does the derivation of the first external address from the given master public key, and then checks on the carp backend if that one is actually used.
Example
cargo run --bin derive-master-public-key -- --network mainnet --public-key<PHONE_NUMBER>0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

result
checking backend for address:
 addr1qxsygqqtyewkuqncvdxftuhj5ys6w5dcs6v0ctafmaaaxuwxwh8gutl4qtdegdupmhm2zk9p5t4f2fp5nwn0vkr9qgzqjrqux7
result:
 unused

Actually, not really sure the call to carp adds that much... I think maybe I misunderstood the requirement there. The same could be achieved by just checking any explorer. It's useful to check that it's actually correct, though.

would be good to add a comment in the code like we have in PR description. so the purpose of the tool is more clear if smb opens the code

CI failure seems unrelated. It's the same issue we had before with beta with #14


[Snyk] Upgrade @asyncapi/web-component from 1.0.0-next.47 to 1.2.23

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @asyncapi/web-component from 1.0.0-next.47 to 1.2.23.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 30 versions ahead of your current version.
The recommended version was released 24 days ago, on 2024-02-04.

Release notes

Package name: @asyncapi/web-component

1.2.23 - 2024-02-041.2.23 (2024-02-04)
Bug Fixes

update @ asyncapi/avro-schema-parser to 3.0.12 version (#911) (1617876)

1.2.22 - 2024-02-041.2.22 (2024-02-04)
Bug Fixes

update @ asyncapi/protobuf-schema-parser to 3.2.2 version (#910) (7af3433)

1.2.21 - 2024-02-041.2.21 (2024-02-04)
Bug Fixes

update @ asyncapi/parser to 3.0.5 version (#909) (f8a6ef2)

1.2.20 - 2024-02-011.2.20 (2024-02-01)
Bug Fixes

render schema title if it exists (#877) (9b73229)

1.2.19 - 2024-01-311.2.19 (2024-01-31)
Bug Fixes

update @ asyncapi/protobuf-schema-parser to 3.2.0 version (#901) (df1687f)
update @ asyncapi/protobuf-schema-parser to 3.2.1 version (#902) (d98cabc)

1.2.18 - 2024-01-301.2.18 (2024-01-30)
Bug Fixes

update @ asyncapi/avro-schema-parser to 3.0.11 version (#898) (6a121fc)

1.2.17 - 2024-01-301.2.17 (2024-01-30)
Bug Fixes

update @ asyncapi/parser to 3.0.4 version (#897) (ab870b5)

1.2.16 - 2024-01-291.2.16 (2024-01-29)
Bug Fixes

update @ asyncapi/openapi-schema-parser to 3.0.11 version (#894) (4d1f141)

1.2.15 - 2024-01-291.2.15 (2024-01-29)
Bug Fixes

update @ asyncapi/parser to 3.0.3 version (#893) (62c83ab)

1.2.14 - 2024-01-291.2.14 (2024-01-29)
Bug Fixes

update @ asyncapi/protobuf-schema-parser to 3.1.0 version (#892) (0d463c0)

1.2.13 - 2024-01-18

1.2.12 - 2024-01-17

1.2.11 - 2023-12-18

1.2.10 - 2023-12-18

1.2.9 - 2023-12-13

1.2.8 - 2023-12-13

1.2.7 - 2023-12-13

1.2.6 - 2023-12-05

1.2.5 - 2023-12-04

1.2.4 - 2023-12-01

1.2.3 - 2023-12-01

1.2.2 - 2023-11-19

1.2.1 - 2023-11-19

1.2.0 - 2023-11-16

1.1.0 - 2023-11-14

1.0.3 - 2023-10-20

1.0.2 - 2023-10-04

1.0.1 - 2023-10-02

1.0.0 - 2023-09-28

1.0.0-next.48 - 2023-06-12

1.0.0-next.47 - 2023-02-02

    from @asyncapi/web-component GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Duplicates https://github.com/gravitee-io/gravitee-api-management/pull/6770


Amazon Pay Integration

integrate Amazon Pay by native Magento 2

To do: create separate repository and preconfigure payment methods here

This is completed: https://github.com/hyva-themes/magento2-react-checkout-amazon-pay


Required to refresh parent window after logging in a pop up

It is necessary to refresh the parent page after setting popUp to true in AuthenticationContext, otherwise the parent will be paused forever.
Is there any way to deal with this behavior?

@johnnyd710 all OK now?


Projectable property not include in query result without select

With Projectable attr, I can select the property direct via Select and/or use as judgement. But directly query the set will not include projectable property.
Env: .net6/EFcore7
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics;
using System.Linq.Expressions;
using EntityFrameworkCore.Projectables;
using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore;

var connection = new SqliteConnection("Filename=:memory:");
connection.Open();

var contextOptions = new DbContextOptionsBuilder<AppDbContext()
    .UseSqlite(connection)
    .UseProjectables()
    .Options;

using (var context = new AppDbContext(contextOptions))
{
    context.Database.EnsureCreated();

    context.Users.Add(new UserEntity
    {
        Id     = 1,
        Name   = "Name",
        Orders = new List<OrderEntity> { new() { Id = 1, Amount = 10 }, new() { Id = 2, Amount = 20 } }
    });
    await context.SaveChangesAsync();
}

using (var context = new AppDbContext(contextOptions))
{
    UserEntity user;
    user = await context.Users.FirstAsync(x => x.Count1 == 2);
    Debug.Assert(user != null);
    user = await context.Users.FirstAsync(x => x.Count2 == 2);
    Debug.Assert(user != null);
    user = await context.Users.FirstAsync(x => x.Count3 == 2);
    Debug.Assert(user != null);

    int count;
    count = await context.Users.Select(x => x.Count1).FirstAsync();
    Debug.Assert(count == 2);
    count = await context.Users.Select(x => x.Count2).FirstAsync();
    Debug.Assert(count == 2);
    count = await context.Users.Select(x => x.Count3).FirstAsync();
    Debug.Assert(count == 2);

    user = await context.Users.FirstAsync();
    if (user.Count1 != 2) { Console.WriteLine("Failed: Count1"); }

    if (user.Count2 != 2) { Console.WriteLine("Failed: Count2"); }

    if (user.Count3 != 2) { Console.WriteLine("Failed: Count3"); }
}

public class UserEntity
{
    [Key]
    public int Id { get; set; }

    public string Name { get; set; }

    [InverseProperty(nameof(OrderEntity.User))]
    public ICollection<OrderEntity> Orders { get; init; } = new List<OrderEntity>(0);

    [NotMapped]
    [Projectable]
    public int Count1 => Orders.Count;

    [NotMapped]
    [Projectable(UseMemberBody = nameof(InternalCount2))]
    public int Count2 { get; set; }

    private int InternalCount2 => Orders.Count;

    [NotMapped]
    [Projectable(UseMemberBody = nameof(InternalCount3))]
    public int Count3 { get; set; }

    private static Expression<Func<UserEntity, int>> InternalCount3 => u => u.Orders.Count;
}

public class OrderEntity
{
    [Key]
    public int Id { get; set; }

    public int UserId { get; set; }

    public int Amount { get; set; }

    [ForeignKey(nameof(UserId))]
    [InverseProperty(nameof(UserEntity.Orders))]
    public virtual UserEntity User { get; set; }
}

public class AppDbContext : DbContext
{
    public AppDbContext(DbContextOptions<AppDbContext> options) : base(options) { }
    public DbSet<UserEntity>  Users  { get; set; }
    public DbSet<OrderEntity> Orders { get; set; }
}

We've seen this as well, but haven't been that affected by it, as we use a mapper that always selects the desired attributes. But yes, it's strange.

This is a known issue, a partial fix has been implemented with #86. I'm currently working on a more comprehensive fix that should go out as a larger update that will target EF 8 and above.

Hello @koenbeuk
Just checking for any update about this issue.


Add entry ID in the cache tracker

Other Minor fix in cache tracker

@noamsabb, please review & approve this Pull request.


Apple Silicon: error with keychain

Version: 1.52.0-exploration
Commit: 88c7381b77df9601914ca914f80c700fee35825a
Date: 2020-11-20T09:15:28.497Z (4 days ago)
Electron: 11.0.2
Chrome: 87.0.4280.67
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 20.1.0
Steps to Reproduce:

On a fresh install, enable settings sync (using the Stable channel)
Sign in with a GitHub account
After logging in on the browser, go back to VS Code Exploration
The error below appears:

Despite the error, settings to start syncing. And then the window crash multiple times... until it works! (probably connected to #111091?)

Does this issue occur when all extensions are disabled?: Fresh install w/ no extensions

Oh weird the keytar module is built for x64, looks like cross-compiling didn't work.

I am currently using electron-prebuild to cross-compile native modules, and it looks like the package doesn't rebuild prebuilt modules from source https://github.com/electron/electron-rebuild/blob/master/src/module-rebuilder.ts#L296. Keytar is the only prebuilt module we have now, I will add a separate rebuild step for it.

@deepak you will probably have to verify this one yourself...

@roblourens I can confirm that it is working on the latest Exploration build

Thanks!


Add header to RP prune script

Fixes #1399
Crontab failed to execute the script and disk space run out.
How is this addressed

Not sure what shell crontab (run-parts command) uses when it tries to execute the script, so specifying it solved the problem.

/test

/test-force-approve

/test-force-approve

/test-force-approve


Websocket & SSE

Coverage increased (+0.4%) to 99.306% when pulling 4da5918302021b01c1dbc8c4c31d6351715ae4bb on hbxie:websocket into a417b8cc00f3c64bd04da911638ee12e7e5bd95f on yahoo:master.


add support for terminal hyperlinks

I would fine very useful to see links support in blessings, as described at https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda
As you can see that page documents adoptions of this extension across terminals and libraries and it did catch quite fast.

This feature is in blessed, an API-compatible fork of blessings, and documented here, https://blessed.readthedocs.io/en/latest/terminal.html#hyperlinks


(CM) Pipeline Driven Development talk

Details
Our our talk on Pipeline Driven Development (1 minute and full video)

Content type
Video name

Main video
videos/sony-a7iii-4k-30fps/NINJAV_S001_S001_T002-sm.mov (our talk is approximately from 47 mins to 1 hour 17 mins but you can use anything for b-roll)

Audio tracks
audio/

B-roll video
videos/sony-a7rIII-1080-120fps/

Other assets
Event link, presentation source files link and slides

Meetup information

19:00 - Angular, Cypress, Cucumber with CI and CD // Eddie Jaoude / Andrew Cunliffe
Best practices are not hard or costly. However, the consequences of delaying these things typically are. How often have you heard or said “it’s ok we will add the tests later” but later never comes around while everyone is firefighting...we will talk about best practices and show how simple it is to set up a project from scratch including automated testing and deployment with; Cypress, Cucumber and Circle CI


STAC API spec validity?

The STAC API OpenAPI definition references an external JSON schema document for the GeoJSON definitions, which is disallowed by the OpenAPI v3 spec:
From section <IP_ADDRESS> (http://spec.openapis.org/oas/v3.0.3#properties)

pattern (This string SHOULD be a valid regular expression, according to the Ecma-262 Edition 5.1 regular expression dialect)

The problem lines are:

https://github.com/radiantearth/stac-spec/blob/master/api-spec/openapi/STAC.yaml#L620
https://github.com/radiantearth/stac-spec/blob/master/api-spec/openapi/STAC.yaml#L728

I will submit a PR to add validation to the CircleCI to enforce spec validation unless someone is already doing this.

Just realized the api-spec has been split off into a different repository.  I will re-submit this over there instead.

https://github.com/radiantearth/stac-api-spec/issues/8


Can we make Neo-cli Single Command Executable

Summary or problem description
Currently we can only input command after starting neo-cli, such as create/open wallet, deploy contract, invoke contract, and the same time, neo-cli will sync blocks in one process. The only way we interact with neo-cli client is to input the command in the console.

The idea is to split neo-cli into two separate part: (temporary) Node and Interactive Console.
Node: sync block when new block comes, deal with p2p connection. this is a process and similar to the "server" side.
Interactive Console: accept user command similar to RPC request, such as ./neo-cli openwallet "1.json" and forward the request to the Node and Node will return the response to the Console, then print the output on the console.
Advantage: no need to screen/nohup start neo-cli at the beginning. and it is easier to input a command than a whole RPC request, which will need extra request header and body.
Neo Version

Neo 3

Where in the software does this update applies to?

CLI

I think it's a good feature, if so, we can split into three things:
An executeable neo-node, which can accept some startup parameters.
An interactive and simple neo-cli, which communicate with neo-node by rpc or ipc, can also connect a remote node.
An interactive and simple neo-gui, which communicate with neo-node by rpc or ipc, can also connect a remote node.
And when we release neo-node, we can also package neo-cli and neo-gui together.

Agree, this can simplify the function of the node.But connecting remote nodes may need to consider some security issues。


Dynamically change input fields based on values of other inputs

Hello,
I'm working on a dynamic value extension that outputs a date string with RFC 3339 format strings. I'd like to offer the ability to input custom strings as well as choose from a list of presets. I have a radio button to switch between the two options but I can't figure out a way to dynamically switch between a text entry input field and a dropdown. Where do I write the logic to change the input fields? I've attached my code below:
var moment = require("moment.js")

var inputFields = {
  "choiceRadioButtons": InputField(
    "format",
    "Format",
    "Radio",
    {
      "choices": {
        "radio-preset": "Preset",
        "radio-custom": "Custom"
      },
      "defaultValue": "radio-preset",
      "persisted": true
    }
  ),
  "presetDropdown": InputField(
    "cs",
    "Checksum",
    "Select",
    {
      "choices": {
        "iso": "ISO 8601"
      },
      "defaultValue": "md2",
      "persisted": true
    }
  ),
  "customStringField": InputField(
    "customString",
    "Custom String",
    "String"
  )
}

// Extensions are implemented as JavaScript classes
var StringFormattedDate = function() {
  // implement the evaluate() method to generate the dynamic value
  this.evaluate = function() {

    if(this.format == "radio-preset") {
      // set inputs to: [
      //   inputFields.choiceRadioButtons,
      //   inputFields.presetDropdown
      // ]
    } else if(this.format == "radio-custom") {
      // set inputs to: [
      //   inputFields.choiceRadioButtons,
      //   inputFields.customStringField
      // ]
    }
    return this.format

    // return moment().format(this.customString);
  }

}

StringFormattedDate.inputs = [
  inputFields.choiceRadioButtons
]

// set the Extension Identifier (must be same as the directory name)
StringFormattedDate.identifier = "com.prtmshk.StringFormattedDate";

// give a display name to your Dynamic Value
StringFormattedDate.title = "String Formatted Date";

// link to the Dynamic Value documentation
// StringFormattedDate.help = "https://luckymarmot.com/paw/doc/";

// call to register function is required
registerDynamicValueClass(StringFormattedDate)

unfortunately you can't change the UI that is displayed dynamically, you could display both input options however.
My suggestion would be maybe to have an option in the dropdown that is custom that then means it uses the txt field. And have some descriptive label to help the user know to select custom in the dropdown.


Feature request: Warn users for known bugs/regressions

Hi, I thought of this after spending many hours because of this:
https://github.com/helm/helm/issues/6708 (I'm new at helm, so I just assumed I did something wrong, instead of looking for known helm issues)
I thought, it would be nice if helm had some kind of scripts that warns people that have the problematic versions for this kind of stuff when there's a case that will reproduce the bug. It could fetch a Javascript code daily from helm for the used version. So that when you discover a bug, you could warn people on their terminal, instead of so many people wasting hours trying to debug and then finally realizing it's a helm issue.
For example, when you discover #6708 , you would update the script for 2.15, and when people run helm on their computer, helm would fetch the script belonged to its version, and warn the people that convert a json.Number to int. Maybe it sounds like a farfetched idea, but imagine the hundreds/thousands of combined hours you save! :)

how do you propose we support this from a technical standpoint? Are you actively looking into this, or just interested in the thought experiment? Are there prior projects where this has been proven to work?

I was just thinking about it, I thought you folks would probably come up with a good way to achieve this. I'm not familiar with this product that much 🤷♂

Hi, @oguzyildiz1991 - Thank you for your idea to improve Helm. If you'd like, you can submit a Helm Improvement Proposal so as to work in the community to make your idea a reality: https://github.com/helm/community/blob/master/hips/hip-0001.md - meanwhile, I will close this issue. Thanks!


Plugin registry

Context
The plugins needs to reside somewhere where they can be publicly downloaded from by the skycrane app.
Description
The plugin registry should hold only verified, official plugins for the beginning. This would make them as safe as possible to download and use.
No third party.
The registry needs a backend and a database.
Acceptance Criteria

gRPC server that can serve plugins to users
database to store metadata of the plugins (hash, version)
in the beginning, it should be readonly and stupid.
Skycrane can download contents through the registry from s3.

/triage
/milestone v0.1.0
/label enhancement Feature
/assign


History page

For historical purposes, add some kind of history page like RoyalFlare had where you can view how scores of each category have evolved. Regarding the insightfulness of the page, it is assumed the archived RoyalFlare replays get imported to Silent Selene.

dang did we even archive that

We can calculate it. We would only lose some replays that were removed from the leaderboard but stayed on the history page.

Btw, should it be sorted by upload date or play date? I would prefer play date, but perhaps it's possible to manipulate that, and some games (PC-98, PCB) dont record it (fully)

We can calculate it. We would only lose some replays that were removed from the leaderboard but stayed on the history page.

Actually, now that I've tried this out, I think that having deleted replays in the database is a pre-requisite. There are many situations where a wr is pushed many times by one person and that history is missing.

for context, this image that made me feel actual pain:


Config-UI for GitlabCI

Description
We have supported GitlabCI for months, but users still can't see the configure via Config-UI, as there's no entry for GitlabCI in the integration page and pipeline page.
Describe the solution you'd like
The configuration of the GitlabCI plugin is similar to the Jenkins Plugin. Please talk to @joncodo to get more information about this plugin.
Has the Feature been Requested Before?
No

Discuss and implement after v0.9.0

@klesh Backend will need to implement the necessary data source endpoints for this provider, ie (http://localhost:4000/api/plugins/gitlabci/sources)
Provider Resource Key : gitlabci

Placed on HOLD

Closed as this issue doesn't exist.


cli: change pages view keybindings

the keybindings for the pages view are clunky and would work much better if it was similar to the chat bindings.
current bindings are

navigate page with ctrl-up and ctrl-dn
press a button/link with ctrl-v

better bindings are

scroll page with pgup and pgdn
navigate buttons/links with up and dn
press a button/link with enter or similar

this is part of getting cms service into production for next release

Closed by #433


SyntaxError: expected path separator ([)

bin/pypi-show-urls  -p zopyx.smartprintng.client
Download candidates for zopyx.smartprintng.client
Traceback (most recent call last):
File "bin/pypi-show-urls", line 8, in
load_entry_point('pypi-show-urls==2.1.1', 'console_scripts', 'pypi-show-urls')()
File "/private/tmp/lib/python2.6/site-packages/pypi_show_urls/main.py", line 148, in main
html.findall(".//a[@rel='download']"),
File "/opt/python_buildout/parts/opt/lib/python2.6/xml/etree/ElementPath.py", line 198, in findall
return _compile(path).findall(element)
File "/opt/python_buildout/parts/opt/lib/python2.6/xml/etree/ElementPath.py", line 176, in _compile
p = Path(path)
File "/opt/python_buildout/parts/opt/lib/python2.6/xml/etree/ElementPath.py", line 93, in init
"expected path separator (%s)" % (op or tag)
SyntaxError: expected path separator ([)

FWIW this is a restriction in Python 2.6's ElementTree.
from xml.etree.ElementTree import Element
tree = Element("root")
tree.find("me[id='a']")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementTree.py", line 330, in find
    return ElementPath.find(self, path)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementPath.py", line 186, in find
    return _compile(path).find(element)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementPath.py", line 176, in _compile
    p = Path(path)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/etree/ElementPath.py", line 93, in __init__
    "expected path separator (%s)" % (op or tag)
SyntaxError: expected path separator ([)


Modified control-plane chart to accept kubeconfig as input

Issue #, if available:
Description of changes:
Modified control-plane chart to accept kubeconfig as input.
Verified changes by installing the new chart on dev account.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


Remove the restriction of UFS for SDK

What changes are proposed in this pull request?
Remove the restriction of UFS for SDK.
Why are the changes needed?
To meet the business requirements.
Does this PR introduce any user facing changes?
No, it doesn't.

alluxio-bot, merge this please

alluxio-bot, merge this please


Migrate advent command and add reminders

Migrating over the !advent command from Slack bot.
Also added in reminders which will post during days of AoC in December. Could be useful to add in a reminder ping into this message.

Deployment note: An additional env variable has been readded AOC_SESSION_ID which will need to be added in (and updated within the docker files)

Not sure exactly whats broken but its not working for me

Trying to load https://adventofcode.com/2020/leaderboard/private/view/989288.json in the browser is just redirecting to the leaderboard for me so maybe thats the problem

For future note, a wiki page has been created for env variables and token information: https://github.com/UQComputingSociety/uqcsbot-discord/wiki/Tokens-and-Environment-Variables


ImportError when running whats_left.sh

I'm running into this issue building on a Kali Linux VM.  (I've also tried on Windows with Git Bash and am getting the same error.) Methods are listed fine, but this is what I get for modules:
===== MODULES =====
Traceback (most recent call last):
  File "tests/snippets/whats_left_modules.py", line 33, in <module>
    rustpymods
  File "tests/snippets/whats_left_modules.py", line 29, in <lambda>
    set(dir(__import__(mod)))
  File "_frozen_importlib", line 1093, in __import__
  File "_frozen_importlib", line 1014, in _gcd_import
  File "_frozen_importlib", line 991, in _find_and_load
  File "_frozen_importlib", line 991, in _find_and_load
  File "_frozen_importlib", line 975, in _find_and_load_unlocked
  File "_frozen_importlib", line 686, in _load_unlocked
  File "_frozen_importlib", line 684, in _load_unlocked
  File "_frozen_importlib", line 677, in _load_unlocked
  File "_frozen_importlib", line 671, in _load_unlocked
  File "_frozen_importlib_external", line 788, in exec_module
  File "_frozen_importlib", line 219, in _call_with_frames_removed
  File "/root/RustPython/Lib/stringprep.py", line 8, in <module>
    from unicodedata import ucd_3_2_0 as unicodedata
ImportError: cannot import name 'ucd_3_2_0'
If it helps, I'm running Python 3.7 and the latest stable Rust.

Oh, that should be fixed soon with #1658. You could either rm Lib/stringprep.py temporarily or switch to the coolreader18/unicode-stuff branch to fix it.

The referenced PR is merged. is this closed now?

Yeah, good point


Translate current mapping transformations when expression is enabled

Pre Condition:

Have source fields firlstName and lastName
Both of source fields have Capitalize transformation
many-to-one transoformation Concatenate is selected with a delimiter  (white space)

Expected default expression when expression is enabled:
Concatenate(Capitalize(/path/to/firstName), Capitalize(/path/to/lastName), ' ')
We could add a REST endpoint that translates a mapping into expression, if not appropriate to calculate in UI directly.

Hey @igarashitm - I've got most of the infrastructure set up to send the mappings down to the runtime service to have them translated but I'm now thinking it's a lot of work and time.  I'm now thinking it's really not a big deal to just have the UI create the expression from the mappings.  Will go that route.

Hey @igarashitm - just to verify - having multiple transformations results in nested function calls.  i.e.

Should result in:

@pleacu yep, but maybe Capitalize and Append is opposite, Capitalize should come first? Not sure if it really matters though.

Ya - they should appear in the order they were specified I would think.  The real point is that all of the specified field actions should appear as function return results.  i.e.
Concatenate (Capitalize (Append (someField, 'rat'))), Lowercase (someString), ' ')
So - another example:

Would result in this expression:
Concatenate (Capitalize( Normalize( PadStringLeft(Append (someField, 'rat'), '!', 5)))), Lowercase (someString), ' ')

@igarashitm - question - what does the expression look like for padded mappings?

something like:
Concatenate ('', stringPrimitive, '' , stringPrimitive, '', Prepend (orderId, 'hat'), '#')
??

It would be null instead of empty string to reflect original behavior.


#101

config is extended with a custome patter for a domain specific fields
the pattern lokos like "{}``{}",domain,param

@bershadskiy Thank you for your pull request!
Few comments:

Please run cargo fmt
Fix cargo clippy complaints

CI will only succeed with those.
It would be fantastic if you also documented the format.

@bershadskiy Thanks again for the contribution!


added config to overwrite parent with child

Added a config parameter that enables to overwrite the parent configuration with the child configuration.
Kept defaults to mitigate compatibility issues.
Resolves #3

Hi Julian,
Thank you so much for the contribution.


In air %

Time spent in air, measured in %. Example: 40% means player spent 40% of the time in air. Player and team based stats.

Got one thing left to do here: Add behaviour manipulation.
This allows for setting a delay for in-air detection. E.g. only detect that the player is in the air after one second that the player actually got in the air.

Not bad idea but I think zero-delay and non-zero aerial % are linearly
correlated. Maybe we find that out later.
ti 31. tammik. 2023 klo 20.40 Meine Zeinstra @.***)
kirjoitti:

Got one thing left to do here: Add behaviour manipulation.
This allows for setting a delay for in-air detection. E.g. only detect
that the player is in the air after one second that the player actually got
in the air.
—
Reply to this email directly, view it on GitHub
https://github.com/MeineZ/BMDemoTouchRatio/issues/9#issuecomment-1410887321,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHZRI6YJFE766WY3XVP73KLWVFMDLANCNFSM6AAAAAAUEOJ55U
.
You are receiving this because you authored the thread.Message ID:
@.***>

Yeah, I think they are. I just want to add custom behaviour to most ofthe stats as thats one of the features this plugin offers.
I dont think it matters though, its just there for the player to say: If I was in the air for less then, for example, 0.5 seconds, I don't want to count it as an aerial


[Bug]: Minor colour bug

Contact Details
No response
What happened?
Hi, there seems to be some problems in the send button.
If I choose gpt-4, colour of the send button should be purple, but not green.
Steps to Reproduce

What browsers are you seeing the problem on?
No response
Relevant log output
No response
Screenshots
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

This is from a recent update but we are replacing the UI and removing this, so it's unplanned


Problem with selling excess wheat by AI

There is a problem with selling wheat by my modified NPC. I modified one of the characters of Stronghold Crusader, so that he could play better - for expample, I added him some wheat farms. But, he doesn't sell excess wheat at all, despite the fact that the position"MaxResourceOther" is set on 10. Wheat accumulates on the stockpiles taking up more and more space untill it occupies each stockpile. I face such a situation in which workers with iron, wood and stone are waiting for a free space on the stockpiles, because all the space is occupied by the unsellable wheat (the excess of the rest recources is sold). I suppose the problem is that wheat isn't included in the position "MaxResourceOther". Other resources, like iron, pitch, hop, flour, are included except for wheat. I want the character to keep some wheat on the stockpile and sell the excess, but it is impossible. Can this problem be fixed?

wheat is counted as food  so in order to sell wheat you need to lower the max food amount

Thanks for the answer. I would have never thought that wheat was regulated by position "MaxFood" because it is stored on a stockpile not in a granary like bread, cheese, apples, meat. Wheat is the only exception. I think wheat should be separated from food and have its own position in the aic file like beer, stone and wood, so that its amount could be efficiently regulated. It would be much better solution and give an NPC more control over its stockpiles. Moreover, it would prevent it from being blocked. If an NPC has a small castle and, lets say, two stockpiles with the maximum food quantity set to 200, the NPC will be blocked by accumulated wheat. Keeping much food in the granery is useful by being attacked, because peasants cannot work then. Simply, keeping more food allows an NPC to survive an attack without losing popularity due to the empty granary. Furthermore, a lot of food in the granary may help to increase popularity because of setting "DoubleRationsFoodThreshold" on, for example, 120 with the maximum food quantity set to 200. A high maximum amount of food and high setting of double rations give a character a guarantee of security that double rations will not clear his granary. The character can hold double rations safely and for a long time. But, excessively accumulated wheat ruins everything.
To sum up, linking the maximum food amount with the maximum wheat amount is a mistake which should be correct by separating wheat from food and creating wheat a new position in the aic file titled "MaxWheat" like "MaxBeer". After all, beer is also a kind of food and it isn't included in the position "MaxFood".


Corrupted gradient

In my project the following attribute:
background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0) 70%, rgba(0,0,0,0.6)) #eee;
gets "minified" to (spaces added for readability):
background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,0) 70%, rgba(0,0,0,.6) ;:) #eee;
which is of course invalid CSS.
Experiments showed that explicitely adding the 100% position for the end stop works around the problem.

That's odd as the latest 2.2, 3.0, and 3.1 branches output valid content:
a{background:linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,0)70%,rgba(0,0,0,.6))#eee}
Which version do you use?

I use gulp-minify-css, looking into its node_modules it uses clean-css v3.1.
Could the repro be influenced by what's around this rule? Do you need the whole css file (btw the file also breaks restructuring, I had to turn it off)?

If that's possible, could you please share the file? That's the easiest way to find out what's wrong.

Here you have:
https://gist.github.com/jods4/01c0f06013be627c1e6b

It crashes when I don't use restructuring: false.
The rule with the broken gradient is .background.

If something doesn't repro, let me know. The real input to clean-css is piped into auto-prefixer first.

Thanks for sharing @jods4! This is how the .backround rule looks for me:
.background{background:linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,0)70%,rgba(0,0,0,.6)100%)#eee;transition:background 1s;font-family:Calligraphica;font-size:18px;color:#fff;height:100vh;width:100vw}

It's likely it breaks due to autoprefixer change - would you be able to share the autoprefixer output?

Sorry, my bad. I've copied the version that includes a workaround. It breaks if you remove the "100%" position on the last stop. I updated the gist:
https://gist.github.com/jods4/01c0f06013be627c1e6b

:+1: I'll check

Unfortunately I still can't reproduce it - https://gist.github.com/jods4/01c0f06013be627c1e6b isn't the output after autoprefixer, is it? It also has no trailing 100% in .background.

I did more tests. I removed autoprefixer from my build task -- i.e. I used exactly the file in the gist above -- and I still get this invalid CSS:
.background{background:linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,0) 70%,rgba(0,0,0,.6);:)#eee;
I have no idea why you can't repro. Maybe because of some options passed by gulp-minify-css?
For reference my gulp task for css looks like this:
gulp.task('css', function () {
	gulp.src('CSS/sw.css')
		.pipe(sourcemaps.init())
		//.pipe(autoprefixer({
		//	browsers: ['last 1 Chrome version', 'last 1 FF version', 'last 1 IE version']
		//}))
		.pipe(minifyCss({ restructuring: false }))
		.pipe(sourcemaps.write('.'))
		.pipe(gulp.dest('wwwroot/Content'));
});

And FWIW if I don't pass the option restructuring: false, the process crashes in clean-css\lib\properties\extractor.js:47:56.

Ok, that's suspicious as it works fine with restructuring for me. Will investigate.

Hello,
to confirm this, I am encountering exactly the same issue / process crash with a similar gulpfile config.
The css build works fine when commenting either
.pipe(minifyCss())
or
.pipe(sourcemaps.init()) and pipe(sourcemaps.write('.'))
@jakubpawlowicz let me know if you want sources, i can post them later.

@MarcBT Please do so, but if possible ones that go directly to clean-css after any autoprefixing or anything else.

@jakubpawlowicz
Please find an exemple of the issue on that gist : https://gist.github.com/MarcBT/2a94d67e36cb634d5c7e
Hope this can help.
Regards

@MarcBT Very nice bug report :+1: I'll check again later today.

@MarcBT I ran the example locally and it gives me a wrong input indeed. However when I comment out .pipe(sourcemaps.init()) then it's fine!
I also pulled out main.css file after sass transformation and it looks like this:
/* Variables */
/* Bug #472 */
.shadow {
  /*
  background: -webkit-linear-gradient(top, $color 0%, $color 100%);
  background: -moz-linear-gradient(top, $color 0%, $color 100%);
  background: -ms-linear-gradient(top, $color 0%, $color 100%);
  background: -o-linear-gradient(top, $color 0%, $color 100%);
*/
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0, rgba(0, 0, 0, 0.1)); }

and minified using cleancss binary:
.shadow{background:linear-gradient(to bottom,rgba(0,0,0,.1)0,rgba(0,0,0,.1))}

I believe there may be something wrong about the sourcemaps plugin instead!

D'oh! --source-map option cripples it. Fix is coming!

Fixed in 3.1.4.

Thanks @jakubpawlowicz.

No probs, thanks for all the help!


fix readme example

ensemble.predict takes a tensor and returns the output feature, therefore it should be ensemble.evaluate, which takes a testloader and returns the accuracy.

Thanks @Arcify

@all-contributors please add @Arcify for doc


Secret name cannot be changed using rancher

Rancher versions:
rancher/rancher:v2.0.4
rancher/rancher-agent:v2.0.4
Infrastructure Stack versions:
kubernetes:v1.10.1
Docker version: (docker version,docker info preferred)
Containers: 23
 Running: 20
 Paused: 0
 Stopped: 3
Images: 16
Server Version: 17.03.2-ce
Storage Driver: aufs
 Root Dir: /app/var_lib_docker/aufs
 Backing Filesystem: extfs
 Dirs: 153
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 4ab9917febca54791c5f071a9d1f404867857fcc
runc version: 54296cf40ad8143b62dbcaa1d90e520a2136ddfe
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.0-116-generic
Operating System: Ubuntu 16.04.4 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.67 GiB
Name: k8s-worker0-testlink
ID: Z5OF:24ZF:FRHZ:EGTN:5F2U:R4PB:H4EU:BCUX:DMP2:EIBX:C2YK:X2OW
Docker Root Dir: /app/var_lib_docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 <IP_ADDRESS>/8
Registry Mirrors:
 https://8jijd8fz.mirror.aliyuncs.com
Live Restore Enabled: false

WARNING: No swap limit support

Operating system and kernel: (cat /etc/os-release, uname -r preferred)
4.4.0-116-generic
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
VMWare
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
single node rancher
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Kubernetes
Steps to Reproduce:
Edit any secret no matter it is used by workloads or not, rancher prompts a success on renaming. But I refresh the rancher web page, the old name is back.
Results:
I cannot change the secret name using rancher ui.

A trick way is to add a new secret and then delete the old one.

Editing the name is blocked in v2.0.6.


Hide areas outside the play area.

In p/war, areas outside the playing area are currently visible, so those areas should be hidden.
It is desirable to handle this using game_id.

integrated with this: https://github.com/pixelaw/p_war_client/issues/23


hardware: tweak macOS CFLAGS.

High Sierra and Sierra support Penryn CPUs.

-march implies the relevant -msse* flags.

[x] Have you followed the guidelines in our Contributing document?

[x] Have you checked to ensure there aren't other open Pull Requests for the same change?

[x] Have you added an explanation of what your changes do and why you'd like us to include them?

[x] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew tests with your changes locally?

@sjackman Just so I understand your earlier comment better:

Does -march=nehalem also enable -msse4.2 by default?

Answer: no. You need to specify -march=nehalem -msse4.2. See the output of…

I can’t reproduce that. The following is what I get

without -msse4.2:

  -msse4.2                    		[enabled]

with -msse4.2:

  -msse4.2                    		[enabled]

Note that I had to modify your command line and use /usr/local/opt/gcc/bin/gcc-8 instead of gcc lest I’d get a clang: error: unsupported option '--help=target'.
The above output appears to suggest that -march=nehalem -msse4.2 is really redundant.
What did I miss?

@claui does this behaviour perhaps vary between clang and gcc? If not maybe a holdover from old gcc versions.

Thanks @MikeMcQuaid for merging this! This restores compatibility for Sierra and HS bottles, yet keeps Mojave bottles as fast as it gets.

Starting with GCC 7 -march=nehalem implies the other appropriate -msse* flags. We're using GCC 5 to build bottles for Linuxbrew (ships with Ubuntu 16.04 LTS) where I saw the above mentioned behaviour.


Broken links to Google documentation in your server Architecture document

Describe the bug

Section "Overview" of your server architecture document lists links to the original documentation from Apple and Google.
However, the Google links are outdated / broken (error 404)
Expected behaviour

The links should lead to documentation.
Steps to reproduce the issue

Technical details
Document: https://github.com/corona-warn-app/cwa-server/blob/main/docs/ARCHITECTURE.md
Branch: main
Chapter: Overview
Link 1 and 4

Host Machine OS (Windows/Linux/Mac):

Possible Fix

Additional context

Hi @ndegendogo
It looks like this problem should be solved if #1082 gets merged. The current link to Google is also mentioned there

@codejus thanks.
I appreciate especially that you guys are adding an automatted check for broken links to your pipeline.

I'm not a dev :D
Just had the same problem as you a few days ago and found the PR when I was looking for somethin else.

@codejus now is Christmas holidays so I find time to read through the documents


Creating viz.json in carto ui so featureClick works

I'm having a hard time getting featureClick to work on a viz. It's created in the ui and is clickable there, but once I get it in the app, the featureClick doesn't work. I'm trying to do the click on the overall layer, since I don't know which specific sublayer it is. I did layer.setInteraction(true) and I only need the cartodb_id which should be in by default, no?
Example viz https://mapgeo.carto.com/u/mapgeoprod/api/v2/viz/724465d2-9931-11e5-ab0f-42010a14800c/viz.json
For that viz, it seems like the featureClick only works when done through another feature that has an infowindow...

Hi @knownasilya the vizjson shows only infowindow configured for one of the layers of the map (newtonma_cityfacilities).
If you check the named map template that backs your visualization you'll see that only that layer has configured an interactivity. You can retrieve the template with
curl -X GET "https://mapgeoprod.carto.com/api/v1/map/named/tpl_724465d2_9931_11e5_ab0f_42010a14800c?api_key=YOUR_API_KEY"

And you'll see that the editor is only setting on the template the interactivity for the facilities layer so when instantiated it only allows interaction to that layer. You can see this working here. Templates cannot be overriden by client code obviously so your map has that limited interaction.
You can fix this with two approaches:

Set up interactivity of your map using the editor and probably later at your app change the default behavior overriding standard tooltip/infowindow interaction
Create a new named map template manually and set up interactivity.

Hope this helps

For approach 1, how do I set up interactivity in the editor? Is that just adding an infowindow for the layer (and then hiding the infowindow in my app)?

Hi @knownasilya - you are correct, to enable interactivity you would need to add an infowindow to the layer. Let us know if you have additional questions.

Would also like to see an example of creating a named map template programmatically. Is it possible to use a viz as a starting point for that?

On Sat, Nov 5, 2016 at 12:48 AM, Ilya Radchenko<EMAIL_ADDRESS>wrote:

Would also like to see an example of creating a named map template
programmatically. Is it possible to use a viz as a starting point for that?

We don't have any example of backend code to create templates but from a
viz is straightforward to take the template name (search
for tpl_724465d2_9931_11e5_ab0f_42010a14800c on your viz.json for the JSON
path). Once you have the template you can create a new one just changing
the name and any other modifications you want to perform like adding new
placeholders or interactivity. Please refere to the named maps API
documentation for details
https://carto.com/docs/carto-engine/maps-api/named-maps/
Hope it helps
Jorge

Having a similar issue with another viz for a client, not sure what's up. I tried using @jsanz example by setting the event on each sublayer (even though there is only one), and still not getting any results.
https://dnainfo.carto.com/u/lisadoi/api/v2/viz/ab027a5e-c2f1-11e6-8998-0ee66e2c9693/viz.json

@knownasilya not sure what can be wrong on your code, I've tried to simplify to the maximum your plunkr here

Removed google and leaflet scripts
Using addToMap instead of adding it inside the callback
Tried calling the featureClick both on layer and sublayer. Both work.

One thing I see is that your infowindow is using BUILDER markup, that's strange since you shouldn't have that markup (CDB-... CSS classes) on a Editor viz.json. Probably not related with your issue but worth mentioning.
Unfortunately Leaflet 1.0 is still not supported by carto.js 3, have you tried your code with the leaflet code that comes with carto.js ??

So yeah it does have to do with Leaflet 1.0 compat, since https://github.com/CartoDB/cartodb.js/issues/1503#issuecomment-267677446 doesn't help completely in this case. Setting the version back to 0.7.7 fixed the featureClick.