This allows us to retrieve the file descriptors for newly created tap
devices, which can then be passed directly to qemu on the command line.
The latest version of github.com/vishvananda/netlink has a dependency
on golang.org/x/sys/unix so we vendor this as well.
Signed-off-by: Mark Ryan<EMAIL_ADDRESS>

Coverage decreased (-0.009%) to 65.171% when pulling f58f8bcd8bfafc6b1b9651273dcf0ba1a836cccc on markdryan:revendor-netlink into 461f498030e7e4463ce3ac7f0701bb00309b9811 on ciao-project:master.


miniforge3 not added to PATH with --params="'/AddToPath:1'"

Install miniforge3 with the following param on Windows 11 Canary, and conda/mamba commands are still unavailable after refreshenv. I noticed that by default miniforge3 would add PATH via registry (see https://github.com/conda-forge/miniforge/issues/520) instead of appending environment variables. I do have Computer\HKEY_CURRENT_USER\Software\Microsoft\Command Processor, but AutoRun key is missing, not sure if it's related.
refreshenv

choco install miniforge3 --params="'/AddToPath:1'"

It seems that upstream conda distributions removed support for the AddToPath parameter when used in an all user installation, for security reasons (more information and workarounds at https://github.com/ContinuumIO/anaconda-issues/issues/12995#issuecomment-1188441961). I will update the chocolatey packages to reflect that change.


Allow AWS tag sync to accept custom mappings

Callers to resourcegrouptaggingapi.sync() can now specify an optional parameter for custom tag-to-resourcetype mappings. This allows them to run the AWS tag sync with a subset of the mappings if desired.
The default behavior of this sync (using the TAG_RESOURCE_TYPE_MAPPINGS dict) is unaffected by this PR.

Note: we do have integration tests on AWS tags: https://github.com/lyft/cartography/blob/cc9d88b07bd307e4c6f7aad22a7556c00c499d3f/tests/integration/cartography/intel/aws/test_resourcegroupstaggingapi.py#L19 and these are passing :woohoo:


Unintended Effects Fix

If the microbit is connected when you load a file the data may become skewed because usually on device reboot we will receive a 0 value indicating reboot. Ex. if the last value in the device was 6000, you save the data, delete the data on microbit but dont delete the file, load the file, the next value the microbit sends over is 6010 but since we loaded the file the largest value was 6000 and now we have 6000 + 6010. Instead if we had a reboot It would be 0 + 6010.

Fixed


Fix uprobe deployment failure with two similar probes

When there is not enough entropy in std::random_device, it can return identical results. If two uprobes with long and very similar names get deployed together, their names, when shortened, can be exactly the same. Combined with the lack of randomness, this can cause a uprobe deployment failure.
This diff fixes this issue by using the hash of the name instead.
Test plan:
Tested with dynamic_trace_bpf_test on Enigma where this issue shows up.

Addressed in a different way by #7. Both implementations are pretty effective. #7 was preferred because it will allow us to attach multiple uprobes to the same symbol (even though we never currently do).


Thanks, what is the motivation/gain for making the compile time random values seeded with time?
Are there collisions?

To make it consistent with the gcc plugin above all

I see. @vanhauser-thc: should we sync llvm_mode to gcc_plugin or vice versa?

it just improves the random number generation a bit, nothing wrong with that, so its nice to have


Lualine click integration doesn't put focus on window

Seems to be an issue where sometimes when you click the item added to lualine, the window is opened but focus is not placed on it (and thus you can't actually do anything useful).

To clarify, it appears this issue is actually related to the focus entering the Floating Window (as expected) and then being reassigned back to the underlying window. Investigating

This seems to have gone away on its own. My favorite kind of bug


Highlight ptrace settings via commented out snippets in certain definitions

Revised version of https://github.com/microsoft/vscode-dev-containers/pull/36
This does not directly add the different ptrace related settings required for Rust, C++, and Go, but includes them as comments in devcontainer.json and docker-compose.yml in several definitions that likely are going to be used as a base to build from.
//cc: @AntonNguyen

@chrmarti Made those edits - Thanks! While I was in there, I also raised visibility to appPort and postCreateCommand since I've noticed on vscode-remote-release that people aren't always finding them.  They're now both commented out in each devcontainer.json with a note on what they are for to try to help with that problem.
See what you think.

@Chuxel Looks good. I wonder if postCreateCommand would benefit from coming with an example. Either on the existing postCreateCommand line or on an additional line above that.

@chrmarti That's a good idea - some of the definitions like node would make that easy. Others the command could just print out the version info for the runtime.  I'll still leave it commented out but it would anchor the idea. I make that edit.


Helper for getting class/id as String

In cases such as Dom.focus, we have to supply the ID of an element as a string.
It would be helpful if Namespace and Helpers included a function that returns a String rather than Attribute msg:
classToString : class -> String
idToString : id -> String

Update: A way I worked around this is by making the following function:
myHelpers : Html.CssHelpers.Namespace String class id msg -> Cx class id msg
myHelpers helpers =
    { class = helpers.class
    , classList = helpers.classList
    , id = helpers.id
    , name = helpers.name
    , getClass = \class -> helpers.name ++ toString class
    , getId = \id -> helpers.name ++ toString id
    }

It works, but I don't like that my code (in the getClass and getId functions) has to know exactly how the namespacing works (right now, it simply appends the name, but as far as I'm concerned, Html.CssHelpers internally appends the name, an underscore, and some unique hash).


Question: Diagnosing empty mosaic on cli create command

Hi @vincentsarago,
I've been trying to test out the creation of a mosaic from a repo of radarsat imagery of the canadian federal government. I saw some issues related to s3 paths and replacing with the equivalent HTTP URLs. I can curl the URLs defined within the .txt file.
I initially created the list of images with:
aws s3 ls s3://radarsat-r1-l1-cog/1996/ --recursive | awk '{print $4}' > 1996.txt
sed -i -e 's#^#http://radarsat-r1-l1-cog.s3.amazonaws.com/#' 1996.txt

I lazily just deleted all the radarsat imagery that did not have the same configurations to avoid the datatype errors.  I then ran  cogeo-mosaic create 1996.txt -o mosaic.json.  I'm getting the following warnings but I am not sure how to interpret them:
/home/zacharydeziel/.local/lib/python3.9/site-packages/rio_tiler/io/cogeo.py:185: UserWarning: Cannot dertermine min/max zoom based on dataset information, will default to TMS min/max zoom.
  warnings.warn(
/home/zacharydeziel/.local/lib/python3.9/site-packages/rio_tiler/io/base.py:66: UserWarning: Cannot dertermine bounds in geographic CRS, will default to (-180.0, -90.0, 180.0, 90.0).
  warnings.warn(
Get footprints  [####################################]  100%
Get quadkey list for zoom: 0
/home/zacharydeziel/.local/lib/python3.9/site-packages/mercantile/__init__.py:77: FutureWarning: Mercantile 2.0 will require tile x and y to be within the range (0, 2 ** zoom)
  warnings.warn(
Feed Quadkey index
Iterate over quadkeys  [####################################]  100%

The resulting mosaic has no tiles:
File: mosaic.json
Backend: File
File Size: 169
Compressed: False

Profile
    MosaicJSON:       0.0.2
    Version:          1.0.0
    Name:             None
    Description:      None
    Attribution:      None

Geo
    TileMatrixSet:    WebMercatorQuad
    BoundingBox:      (-180.0, -90.0, 180.0, 90.0)
    Center:           (0.0, 0.0, 0)
    Min Zoom:         0
    Max Zoom:         24
    QuadKey Zoom:     0

Tiles
    Nb Tiles:         None
    Min Files:        None
    Max Files:        None
    Mean Files:       None

The output .txt is:
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/10/RS1_C0004769_S3_19961015_182254_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/10/RS1_M0107472_S7_19961004_105001_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/10/RS1_M0202287_S7_19961018_103938_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/10/RS1_M0202288_S7_19961018_103952_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/10/RS1_M0202289_S7_19961018_104007_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/10/RS1_P0385952_S7_19961007_222206_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/10/RS1_P0385953_S7_19961007_222217_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/11/RS1_C0012334_S7_19961114_224922_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/11/RS1_C0014519_F5_19961120_111805_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/11/RS1_M0093351_EH6_19961116_113339_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/11/RS1_M0109175_S7_19961112_133510_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/11/RS1_P0393263_F1_19961115_162740_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/11/RS1_P0393264_F1_19961115_162746_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/11/RS1_P0451672_S2_19961103_082333_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/12/RS1_C0007151_S7_19961222_223828_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/12/RS1_C0007152_S7_19961223_112328_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/12/RS1_C0014851_F2_19961217_095803_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/12/RS1_C0018010_S3_19961213_230828_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/12/RS1_C0018011_S3_19961213_230836_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/12/RS1_M0161542_S7_19961220_220128_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/12/RS1_M0408657_F3_19961230_034032_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/12/RS1_P0393266_F1_19961216_162356_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/3/RS1_1024097_F5_19960305_093113_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/6/RS1_M0054415_S7_19960610_052834_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/6/RS1_M0055561_F1_19960612_223420_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/6/RS1_M0056541_W2_19960616_105648_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/6/RS1_M0106144_S7_19960612_161128_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/6/RS1_N0517820_S7_19960604_180642_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/6/RS1_P0449705_F1_19960612_223427_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/6/RS1_P0589220_W2_19960613_001522_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/6/RS1_P0589223_S7_19960616_002752_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/8/RS1_C0003543_S6_19960818_103314_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/8/RS1_M0060521_S4_19960801_231513_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/8/RS1_M0064563_S1_19960804_213347_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/8/RS1_M0620463_S6_19960813_142450_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/8/RS1_M0700301_S5_19960814_134810_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/8/RS1_N0408656_F4_19960811_162755_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/8/RS1_P0449707_F4_19960809_224250_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/8/RS1_P0487455_S1_19960814_114004_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/8/RS1_X0000001_S6_19960831_223456_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/8/RS1_X0000002_S7_19960815_111223_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/8/RS1_X0000003_F4_19960829_110520_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/8/RS1_X0000004_F4_19960807_223511_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/8/RS1_X0000005_F3_19960805_110526_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/9/RS1_C0003779_S6_19960912_214342_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/9/RS1_C0004698_S7_19960917_140746_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/9/RS1_C0004699_S7_19960926_094033_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/9/RS1_C0004700_S7_19960913_110303_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/9/RS1_M0107470_S7_19960916_125609_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/9/RS1_M0107473_S7_19960918_134015_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/9/RS1_M0109176_S7_19960922_113851_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/9/RS1_M0109177_S7_19960912_131113_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/9/RS1_M0620464_S7_19960920_141645_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/9/RS1_P0374972_S7_19960911_101813_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/9/RS1_P0374973_S7_19960911_101830_HH_SGF.tif
http://radarsat-r1-l1-cog.s3.amazonaws.com/1996/9/RS1_P0393262_F2_19960901_034049_HH_SGF.tif

Any suggestions on next steps to solve the issue? Any other tips are more than welcome.
Thanks

@zacharyDez 👋
your COGs don't have CRS or geo_transform set, but use GCPS (ground control points) for geo-reference.
Sadly you can't use cogeo-mosaic cli directly for this.

write a small CLI

# cog_gcp_info.py
from rio_tiler.io import GCPCOGReader

import click
from rasterio.rio import options
import json

@click.command()
@options.file_in_arg
def main(input):
    """Read tile."""
    with GCPCOGReader(input) as cog:
        bounds = cog.geographic_bounds
        click.echo(
            json.dumps(
                {
                    "geometry": {
                        "type": "Polygon",
                        "coordinates": [
                            [
                                [bounds[0], bounds[3]],
                                [bounds[0], bounds[1]],
                                [bounds[2], bounds[1]],
                                [bounds[2], bounds[3]],
                                [bounds[0], bounds[3]],
                            ]
                        ],
                    },
                    "properties": {
                        "path": input,
                        "bounds": cog.geographic_bounds,
                        "minzoom": cog.minzoom,
                        "maxzoom": cog.maxzoom,
                        "datatype": cog.dataset.meta["dtype"],
                    },
                    "type": "Feature",
                }
            )
        )

if __name__ == '__main__':
    main()

Run CLI on your files

# using parallel is optional
$ cat 1996.txt | parallel  -j 4 python -m cog_gcp_info {} > 1996.json

run cogeo-mosaic cli create-from-features

$ cat 1996.json|  cogeo-mosaic create-from-features --minzoom 8 --maxzoom 12 -o 1996_mosaic.json --prop
erty path

Side notes:
your 255 COG, cover different zoom levels
➜  Dev cat 1996.json| jq '.properties.minzoom' | sort | uniq
10
2
3
4
5
6
7
8
9
➜  Dev cat 1996.json| jq '.properties.maxzoom' | sort | uniq
10
11
12
13
14
15
8
9

which might in fact correspond to different Product, it might be smart to first select only some scenes instead of creating one mosaic of all scenes.
Also, note that there are a lot of overlaping scenes which might impact the performance.
list of features: https://gist.github.com/vincentsarago/f099516b216b6fd7ff4ca7ac2c43f7d4
mosaic: https://gist.github.com/vincentsarago/e8896078577c9ffe9300cae7a54d31d3

side note 2: the mosaic won't work natively in TiTiler, you'll need to use MosaicTilerFactory and set the dataset_reader to rio_tiler.io.GCPCOGReader
https://github.com/developmentseed/titiler/blob/master/src/titiler/mosaic/titiler/mosaic/factory.py#L44

Thanks @vincentsarago ! on point as always. Will try to work through this shortly. I'll get back to you.

@zacharyDez are we good to close here?

yes, sorry @vincentsarago, did not get a chance to get back to this.


Line space is not adjusted after changing font size using CodeArea.setStyle().

For example when the font size is changed from 20 to 10 using
 CodeArea.setStyle("-fx-font-size:10;");

the line space is not adjusted automatically. It seems that it retains the former line space. Manual resizing the window corrects the problem.
Is there any way to an 'invalidate()' method to force repaint the entire CodeArea?
video clip:
http://www.youtube.com/watch?v=4-oKqV86uB8&feature=youtu.be

This is fixed in version 0.6. I added a demo. Quite interestingly, -fx-font-size also affects the size of the scrollbar.


When Use short login - still ask for "Adres e-mail" in Polish Language

Hello,
I just install RainLoop and change Language to Polish.
When i enter to https://webmail.mydomain.pl he ask me for "Adres e-mail" whats mean in english "E-mail address" but i select option "Use short login" so i need put "Login" not e-mail address.
I don`t know this is a problem with translate but for me if "Use short login" is selected need to change on login screen "e-mail address" to "Login".
Best Regards
TaKeN

Anyone?


Preparing classification datasets

Dear Author,
I'm trying to run your code and I have a trouble with preparing classification datasets. (places365, iSUN, LSUN-C, LSUN-Resize)
I downloaded these datasets but there are only images in the folder. There are no class labels.
Would you tell me where I can download classification datasets with class labels?  Thank you.

@SUPER-TADORY , please follow this repo https://github.com/wetliu/energy_ood for dataset preparation!

Thank you, @d12306!
Which dataset split did you use for evaluation on LSUN-C?
I could not find the label in the test dataset split in https://www.dropbox.com/s/fhtsw1m3qxlwj6h/LSUN.tar.gz

The same problem in iSUN, LSUN-Resize ...

can you please download the datasets using the link here? You do not need any test labels or splits.

@kondounagi @SUPER-TADORY


NB can't find bridge after factory reset

Hi Erik
First of all: Thank you for the hard work you do!
After I'v got the "too many callbacks registered - Error" I just did a factory reset of the bridge in order to get rid off it.
Now the bridge has a new ID but NB is still looking for a bridge with the old one. Here the error:
[3/21/2021, 1:02:57 PM] [Nuki] Bridge_11E24FBC: request 141: GET /auth
[3/21/2021, 1:02:57 PM] [Nuki] Bridge_11E24FBC: press Nuki bridge button to obtain token
[3/21/2021, 1:02:57 PM] [Nuki] warning: Bridge_11E24FBC: request 141: error: <IP_ADDRESS>: timeout after 30 seconds
[3/21/2021, 1:02:57 PM] [Nuki] warning: <IP_ADDRESS>: timeout after 30 seconds
IP and port are correct. Pressing the button has no effect. I'm running HB v1.3.4  on a docker container with the newest plugin version.
There seems to be no way to rename the bridge with the old name. Is there a way to fix this issue?
Best,
KuchenKavalier

The name takes after the serial number and shouldn't change when you factory reset the bridge.  Next time, you see the "too many callbacks registered" errors, better remove them using nb callbackRemove.
Make sure you enabled the http api on the bridge and make it discoverable using the Nuki app.

Hi again
Here a screenshot:

Now I reseted the bridge again and have errors like this:
[3/21/2021, 6:25:31 PM] [Nuki] Bridge_7D4BCBC8: request 7: GET /auth
[3/21/2021, 6:25:31 PM] [Nuki] warning: Bridge_7D4BCBC8: request 7: error: <IP_ADDRESS>: timeout after 30 seconds
[3/21/2021, 6:25:31 PM] [Nuki] warning: <IP_ADDRESS>: timeout after 30 seconds
[3/21/2021, 6:25:31 PM] [Nuki] Bridge_7D4BCBC8: press Nuki bridge button to obtain token
Any idea?
Best

And that address is reachable from the server you run Homebridge on?  Can you issue nb -H <IP_ADDRESS> auth from that server?

Yes. here the output:
/homebridge # nb -H <IP_ADDRESS> auth
nb auth: press button on Nuki bridge to obtain token
nb auth: <IP_ADDRESS>: request 1: GET /auth
nb auth: warning: <IP_ADDRESS>: request 1: error: <IP_ADDRESS>: timeout after 30 seconds
nb auth: fatal: <IP_ADDRESS>: timeout after 30 seconds
again... no effect no my button pressing.

So the bridge doesn't seem reachable from your Homebridge server.  Is it on the same network (subnet)?  Do you have a firewall?

I only have one router and I deactivate all firewall checkboxes on it. Plus: I even shot-down PiHole just to be sure. No effect so far. There are no other firewalls I am aware of. Not sure what you mean with subnet but if there is a way to check please let me know.

I the IP address of your Homebridge server also in the range 192.168.1.x?  Can you ping <IP_ADDRESS> from the Homebridge server?

Yes:
/homebridge # ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>) 56(84) bytes of data.

You need to issue the command and then press the button on the bridge, within 30s.  The bridge returns an error state when no button is pressed after 30s.  I'm using a hard-coded timeout of 30s for nb auth (and for the equivalent in Homebridge NB).  In my earlier testing that seemed to work fine, but today I also managed to get a timeout on nb auth.  I think the 30s timeout might be a bit too aggressive.  I'll change it to 60s.
From the developer documentation:

When issuing this API-call the bridge turns on its LED for 30 seconds.
The button of the bridge has to be pressed within this timeframe. Otherwise the bridge returns a negative success and no token.

Still not sure if that's the cause of your issue; if you press the button well within 30s, the timeout shouldn't occur.  There's another API call (not used by Homebridge NB nor nb) to enable or disable the /auth call to obtain a token.

Enables or disables the authorization via /auth and the publication of the local IP and port to the discovery URL (https://api.nuki.io/discover/bridges).

Maybe this is disabled by the factory reset?  What's the output of `nb discover?  Does that find your bridge?  I seem to remember there was a corresponding setting in the Nuki app, but cannot check that right now.

Now the bridge has a new ID
The name takes after the serial number

I stand corrected: Homebridge NB uses the serverId for the serial number, as software bridges don't expose hardwareId.  I suppose a factory-reset causes a new registration with the Nuki server, under a new serverId.

As you can see the token in the Nuki app, can you try nb -H <IP_ADDRESS> -T token list?

Here you go:
/homebridge # nb -H <IP_ADDRESS> -T token list
nb list: <IP_ADDRESS>: request 1: GET /list
nb list: warning: <IP_ADDRESS>: request 1: error: <IP_ADDRESS>: timeout after 5 seconds
nb list: fatal: <IP_ADDRESS>: timeout after 5 seconds

Sorry - I closed this issue by accident.

/homebridge # nb discover
[
{
"bridgeId":<PHONE_NUMBER>,
"dateUpdated": "2021-03-21T18:38:33Z",
"ip": "<IP_ADDRESS>",
"port": 8080
}
]

I’m running out of ideas, it really looks like the traffic from your Homebridge server to the Nuki bridge or the traffic from the Nuki bridge to the Homebridge server is dropped.  Could you try curl http://<IP_ADDRESS>:8080/x?  That should return a “HTTP 400 Bad Request”.  If there’s no answer, it’s a network connectivity issue.  You might also try curl http://<IP_ADDRESS>:8081/x, which should return a “Connection refused”.
Can you accees the bridge over Wifi from the Nuki app?  I don’t mean the Bluetooth connection when configuring the bridge, but when looking at the Settings of your smart lock, does the Connection status show a connection over the bridge?

Hi again
I see the issue on the networking part now as well so I changed the AccessPoint situation. Here the log after pressing the button:
[3/24/2021, 2:13:36 PM] [Nuki] Bridge_7D4BCBC8: request 3009: 200 OK
[3/24/2021, 2:13:36 PM] [Nuki] Bridge_7D4BCBC8: request 3010: GET /info
[3/24/2021, 2:13:36 PM] [Nuki] Bridge_7D4BCBC8: request 3010: 200 OK
[3/24/2021, 2:13:36 PM] [Nuki] Nuki_Bridge_7D4BCBC8: create Bridge 7D4BCBC8
[3/24/2021, 2:13:36 PM] [Nuki] Nuki_Bridge_7D4BCBC8: set Name to "Nuki_Bridge_7D4BCBC8"
[3/24/2021, 2:13:36 PM] [Nuki] Nuki_Bridge_7D4BCBC8: set Serial Number to "7D4BCBC8"
[3/24/2021, 2:13:36 PM] [Nuki] Nuki_Bridge_7D4BCBC8: set Manufacturer to "Nuki Home Solutions GmbH"
[3/24/2021, 2:13:36 PM] [Nuki] Nuki_Bridge_7D4BCBC8: set Model to "Bridge"
[3/24/2021, 2:13:36 PM] [Nuki] Nuki_Bridge_7D4BCBC8: set Firmware Revision to "2.9.3"
[3/24/2021, 2:13:36 PM] [Nuki] Nuki_Bridge_7D4BCBC8: Nuki Bridge v2.9.3 7D4BCBC8 at <IP_ADDRESS>:8080
[3/24/2021, 2:13:36 PM] [Nuki] Nuki_Bridge_7D4BCBC8: set Name to "Nuki_Bridge_7D4BCBC8"
[3/24/2021, 2:13:36 PM] [Nuki] Nuki_Bridge_7D4BCBC8: set Heartrate to 60 seconds
[3/24/2021, 2:13:36 PM] [Nuki] Nuki_Bridge_7D4BCBC8: set Restart to false
[3/24/2021, 2:13:36 PM] [Nuki] Nuki_Bridge_7D4BCBC8: set Log Level to 2
[3/24/2021, 2:13:36 PM] [Nuki] Nuki_Bridge_7D4BCBC8: set Status Fault to 0
[3/24/2021, 2:13:36 PM] [Nuki] Nuki_Bridge_7D4BCBC8: set Name to "Nuki_Bridge_7D4BCBC8"
[3/24/2021, 2:13:37 PM] [Nuki] Nuki_Bridge_7D4BCBC8: request 1: GET /info
[3/24/2021, 2:13:37 PM] [Nuki] Nuki_Bridge_7D4BCBC8: request 1: 200 OK
[3/24/2021, 2:13:37 PM] [Nuki] error: <IP_ADDRESS>:8080: cannot listen: EADDRNOTAVAIL
Do you have any ideas now?
Best

Don't mess with config.json settings you don't understand, see #30.

I have changed the timeout-value to 30sec. Now it works as it should - tank you very, very much for your kind support and your passion for this project!


Error when using a different sfreq

I try to run the following class instance:
from meegkit import asr

asr.ASR(sfreq=64)

but it gives me the following error:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-264-fafe23240154> in <module>
      1 from meegkit import asr
      2
----> 3 asr.ASR(sfreq=64)

c:\~\python\python38\lib\site-packages\meegkit\asr.py in __init__(self, sfreq, cutoff, blocksize, win_len, win_overlap, max_dropout_fraction, min_clean_fraction, name, method, **kwargs)
    124             80.0, (sfreq / 2.0) - 1.0), sfreq / 2.0]) * 2.0 / sfreq
    125         M = np.array([3, 0.75, 0.33, 0.33, 1, 1, 3, 3])
--> 126         B, A = yulewalk(8, F, M)
    127         self.ab_ = (A, B)
    128         self.cov_ = []

c:\~\python\python38\lib\site-packages\meegkit\utils\asr.py in yulewalk(order, F, M)
    241             inc = (j - nb) / (ne - nb)
    242
--> 243         Ht[0][nb:ne + 1] = np.array(inc * M[i + 1] + (1 - inc) * M[i])
    244         nb = ne + 1
    245

ValueError: could not broadcast input array from shape (385) into shape (257)

Hi @FarnoodF,
If you look at the code, the default yulewalk filter breakpoints are located at the following frequencies:
[0, 2, 3, 13, 16, 40, np.min((80, sfreq / 2 - 1)), sfreq / 2]).
So sfreq=64 is too low and is not going to work here. This ASR code was only tested at slightly higher sampling frequencies.
Does the Matlab implementation run at sfreq = 64 hz ?

Hi! Thanks for the answer.
That's what I though too, but I ran the code in Matlab and it works fine for 64Hz.
In Matlab you get a yulwalk error only below 34Hz.

I just tested this code (from https://github.com/s4rify/rASRMatlab/blob/master/rASRToolbox/asr_calibrate.m#L118) in Matlab and it fails for me:
sfreq=64;
F = [0, 2, 3, 13, 16, 40, min(80.0, (sfreq / 2.0) - 1.0), sfreq / 2.0] * 2.0 / sfreq;
M = [3, 0.75, 0.33, 0.33, 1, 1, 3, 3];
[B, A] = yulewalk(8, F, M);
>> Error using yulewalk (line 106)
>> Frequencies must be non-decreasing.

That said, the filter step is not that critical. You can just remove all breakpoints above 64hz in the filter design (F and M) and I guess it will work fine.

Nice! Thanks for the help.


How to set an app icon on package-time, not runtime?

I wanted to set a custom icon for my app, but here is the problem. For macOS I can just edit some files inside of the package, but with Windows or Linux that will not work.
So, how to set an app icon on package-time?

Oh, sorry, I found it in the docs. Im blind XD

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


"toast" string  at the bottom of my notification message

I'm working on a NodeJS/Electron/Angular app and I am using the node-notifier module. Every things work correctly but at the bottom of  my notification message I have an inappropriate "toast" string.
It only happens when I use the "icon" property.
What should I do to remove that string ?
Thanks in advance.
PS : My operating system is Windows 10.

i read the link https://github.com/mikaelbr/node-notifier#usage-windowstoaster，but it didnt say how to reslove this question！

See section on appId on https://github.com/mikaelbr/node-notifier#usage-windowstoaster

i read the link https://github.com/mikaelbr/node-notifier#usage-windowstoaster，but it didnt say how to reslove this question！


Add bower.json

Hi, I figured out what you don't have a bower.json file for bower installation of this lib. I added one for you! I didn't register it at bower packages, so could you merge it and register in bower?

Bower doesn't require a bower.json, and so I'm inclined not to add it because it duplicates the information in package.json. Did you have trouble doing bower install https://github.com/ssorallen/jquery-scrollstop.git?

Thanks for the change, but I am going to close this for now in favor of package.json. If you have trouble installing with Bower via the GitHub URL, let me know.


Develop: fixed procer build issue

Fixed procer build errors by moving ${LIBS}  to the end of the line. Otherwise procer was not finding zmq stuff

Let me pull this in and see if it works on different platforms.


Couldn't find the kube config file, or file is empty

Describe the bug
Mizu claims it can't find the kube config file at the stated location but it's there.
To Reproduce
Steps to reproduce the behavior:

Run mizu tap <pod-name>
See error: "Couldn't find the kube config file, or file is empty (/path/to/.kube/config)"

Expected behavior
No error since the config file exists
Logs
There are no logs / zip file created when running the mizu command with --set dump-logs=true
Desktop (please complete the following information):

OS: macOS 11.6.4

Additional context
Here is the general structure of my config file:
apiVersion: v1
clusters:
- cluster:
    server: <server>
  name: ab
- cluster:
    server: <server>
  name: ac
- cluster:
    server: <server>
  name: ca
- cluster:
    server: <server>
  name: db
- cluster:
    server: <server>
  name: dt
- cluster:
    server: <server>
  name: et
contexts:
- context:
    cluster: ab
    user: iap
  name: ab
- context:
    cluster: ac
    user: iap
  name: ac
- context:
    cluster: ca
    user: iap
  name: ca
- context:
    cluster: db
    user: iap
  name: db
- context:
    cluster: dt
    user: iap
  name: dt
- context:
    cluster: et
    user: iap
  name: et
current-context: ""
kind: Config
preferences: {}
users:
- name: iap
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1beta1
      args:
...

@remover thank you for reporting this issue. What's your Kubernetes server version? (kubectl version)

can you try set explicistly the kube config path by using this command:
./mizu tap --set kube-config-path="/path/to/.kube/config"

@remover thank you for reporting this issue. What's your Kubernetes server version? (kubectl version)

╰─$ kubectl version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.5", GitCommit:"5c99e2ac2ff9a3c549d9ca665e7bc05a3e18f07e", GitTreeState:"clean", BuildDate:"2021-12-16T08:38:33Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"darwin/amd64"}

can you try set explicistly the kube config path by using this command: ./mizu tap --set kube-config-path="/path/to/.kube/config"

tried it... got the same result

@remover thank you for reporting this issue. What's your Kubernetes server version? (kubectl version)

╰─$ kubectl version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.5", GitCommit:"5c99e2ac2ff9a3c549d9ca665e7bc05a3e18f07e", GitTreeState:"clean", BuildDate:"2021-12-16T08:38:33Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"darwin/amd64"}

I was expecting the see the server version as well in the output. Doesn't it print a second line like below?
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.3", GitCommit:"ca643a4d1f7bfe34773c74f79527be4afd95bf39", GitTreeState:"clean", BuildDate:"2021-07-15T21:04:39Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"21", GitVersion:"v1.21.2", GitCommit:"092fbfbf53427de67cac1e9fa54aaa09a28371d7", GitTreeState:"clean", BuildDate:"2021-06-16T12:53:14Z", GoVersion:"go1.16.5", Compiler:"gc", Platform:"linux/amd64"}

it does if i pass a context: kubectl --context=dt version
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.11", GitCommit:"27522a29febbcc4badac257763044d0d90c11abd", GitTreeState:"clean", BuildDate:"2021-09-15T19:16:25Z", GoVersion:"go1.15.15", Compiler:"gc", Platform:"linux/amd64"}

that was also one of my questions. how can we use mizu with this kind of multi-context setups?

it does if i pass a context: kubectl --context=dt version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.5", GitCommit:"5c99e2ac2ff9a3c549d9ca665e7bc05a3e18f07e", GitTreeState:"clean", BuildDate:"2021-12-16T08:38:33Z", GoVersion:"go1.16.12", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.11", GitCommit:"27522a29febbcc4badac257763044d0d90c11abd", GitTreeState:"clean", BuildDate:"2021-09-15T19:16:25Z", GoVersion:"go1.15.15", Compiler:"gc", Platform:"linux/amd64"}

that was also one of my questions. how can we use mizu with this kind of multi-context setups? whenever i use kubectl i usually need to pass a context to point it to the correct cluster

OK the issue became apparent with your mention of Kubernetes contexts. Seems like the context is a hard-coded empty string right now and there is no way to set it:
https://github.com/up9inc/mizu/blob/0ef16bd55a1b7c9652f13a9bac11ae3ec2fa60bd/shared/kubernetes/provider.go#L1191-L1197
So, I believe we need to implement such an option for Kubernetes contexts to the CLI.

Hi @remover,
As @mertyildiran mention you can "activate" the context and check if mizu is working,
we are also working on adding option to specify the k8s context and I will update here when it is ready for use.

from https://github.com/up9inc/mizu/releases/tag/29.0-dev14 it is possible to configure the context (using --set kube-context <CONTEXT_NAME>).


pass logging dir to core at launch

as of https://github.com/xi-editor/xi-editor/pull/888, we can specify the directory that core uses for logging. This should bet set at startup; we already find the system logging location in AppDelegate.swift, with the errorLogDirectory var.

The existing tmp and crash log handling in xi-mac should be removed in the process -- the new core logging makes it redundant.


Failures on [vm] Avoid confusing foreign stack walkers at the Dart entry frame.

There are new test failures on [vm] Avoid confusing foreign stack walkers at the Dart entry frame..
The tests
ffi/function_structs_by_value_generated_test/0 Crash (expected Pass)
ffi/function_structs_by_value_generated_test/1 Crash (expected Pass)
ffi/function_structs_by_value_generated_test/2 Crash (expected Pass)
ffi/function_structs_by_value_generated_test/3 Crash (expected Pass)

are failing on configurations
dartkp-weak-asserts-mac-release-arm64

log
PassStruct12BytesHomogeneousFloatx6((-1, 2, -3), (4, -5, 6), (-7, 8, -9), (10, -11, 12), (-13, 14, -15), (16, -17, 18))
result = 9

stderr:
===== CRASH =====
si_signo=Segmentation fault: 11(11), si_code=2, si_addr=0x100000000

Looks like it crashes on return.
This might either be an error in the CL, or the FFI implementation incorrectly depending on something from before this CL.
cc @rmacnak-google

Strange. The change was only to the regular entry stub, so the layout of FFI exit and entry should be unchanged. I'll take a look once I get my ARM64 board up again.


S3 Static Website Hosting

[ ] Configure our bucket for S3 static website hosting.
[ ] upload an index.html file
[ ] Upload an error.html file
[ ] Update our output for thre static website hosting url


Fix typos: serveral -> several

Fix typos: serveral -> several

/assign @mhbauer

Thanks for fixing @mooncak
/lgtm

@warmchang can you also add /approve label? thanks.

/assign @brancz
for approval

/approve
/lgtm


Cannot use gpt-4

Try to set use of gpt4 model in both places, and still getting pgt3:

in server .env set use "gpt-4"
in frontend setting for LLM preference, also set gpt-4
in chat: "which gpt model are you"? answer is always gpt-3

Do not rely on the model to answer that question :)
If you double-check what model you are using - you can check your Billing on OpenAI and see the call was labeled as gpt-4.


setting up linters

hey francis I see you have set up the linters well, congratulations! Just posting this issue so that I can submit it in  the Daily code review form. Keep up the great work !

Thanks.
I was running linters without installing the dependencies.
It must be the stress of the past 2 days.
On Wed, Feb 17, 2021 at 2:06 PM Amira<EMAIL_ADDRESS>wrote:

hey francis I see you have set up the linters well, congratulations! Just
posting this issue so that I can submit it in the Daily code review form.
Keep up the great work !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/chasscepts/project-sneak-peak/issues/2, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APWHCADDPCLRFCBDHLPUNNTS7O5MNANCNFSM4XYKJCLQ
.


Decorators/Middleware

The only reason I was able to add AMP into my blog was because of the custom parser hack. When thinking about other ways to implement this, I imagined some kind of proxy class, like a Laravel middleware, that can mutate the content.
This would work on "route" level. You can currently provide an array of paths for an article (maybe ['main' => 'post/:slug', 'amp' => 'post/:slug/amp']), so I could attach one of this middlewares to the amp route and convert the HTML to AMP-HTML there.
Is this someone you'd want on Jigsaw? If so, I can come up with an initial implementation and PR it :)

I've long wanted to have some sort of middleware that would allow content to be mutated before processing, and would definitely be open to this.


Added Nuxt 3 setup to docs

Hai thank you for the wonderful library.
I've added the Nuxt 3 setup guide to the README.md file.
By using this setup, we can use the library without making the entire Nuxt app client-side.
Thank you

Hi, thanks for the contribution!
Can you please confirm that using <ClientOnly> resolves this issue?

No, it won't solve that issue. It should be solved by either vue-router or Telegram :( .
In this contribution, I just provided an example of how to use this library without making the complete Nuxt app client-side.


passing args

Hi,
I am trying to set reprocess_input_data to True so as to avoid overwriting the features. I do it using the following commands but it still creates a new feature file every time I run the file:
python filename.py reprocess_input_data=True [or]
python filename.py --reprocess_input_data=True [or]
python filename.py reprocess_input_data True [or]
python filename.py --reprocess_input_data True
Thanks!

Or I think I have to change the args in the dictionary next time I run the same file.

Actually, it should be set to False.


Change javadoc of ByteBuf#indexOf(...) to match its behaviour

Motivation
Currently doc != code and so one of them needs to change. Though behaviour as currently documented might be more intuitive, we don't want to break anyone so will adjust the doc instead. See #9503 for discussion.
Modifications
Correct the javadoc of indexOf(...) method in ByteBuf abstract class.
Results
Correct javadoc

@trustin @carl-mastrangelo PTAL

@netty-bot test this please

@trustin thanks a lot... and also thanks @njhill


cron timezone issue

Describe the bug
Postal tries to perform sql queries looking for a table that should exists in the future according our timezone.
Following illustrate a MySQL log where it run a query for 2023-06-29 when according our timezone is 2023-06-28:
**2023-06-28** 20:01:28 MySQL_Session.cpp:4450:handler_minus1_LogErrorDuringQuery(): [WARNING] Error during query on (10,<IP_ADDRESS>,3306,5049658) , user<EMAIL_ADDRESS>, schema "information_schema" , 1146, Table 'postal-server-109.raw-**2023-06-29**' doesn't exist . digest_text = "INSERT INTO postal-server-?.raw-?-?-? (data) VALUES (?)"
Our timezone is UTC-4 as shown in the OS:
$ timedatectl
               Local time: Wed 2023-06-28 20:56:59 -04
           Universal time: Thu 2023-06-29 00:56:59 UTC
                 RTC time: Thu 2023-06-29 00:56:59
                Time zone: America/Santiago (-04, -0400)
System clock synchronized: no
              NTP service: inactive
          RTC in local TZ: no

Our Organization into Postal has the right Timezone (UTC -4).
The issue here is when it happens whole Postal simple hangs and we have to restart it. There are no other logs showing an error or so.
Environment details

OS: Rocky:  Linux release 8.8 (Green Obsidian)
Version:  2.1.2

Our Organization into Postal has the right Timezone (UTC -4)

I'm not actually sure that the organization timezone does anything.
It would be interesting to know what time the container thinks it is, I'm not sure if docker affects that in any way.
I'm not sure what exactly is going wrong, whether the table isn't being created around here
https://github.com/postalserver/postal/blob/2f62baa238fc1102706ee4acf079b7a876b05283/lib/postal/message_db/provisioner.rb#L97
or whether the insert command is misreading the date around here
https://github.com/postalserver/postal/blob/2f62baa238fc1102706ee4acf079b7a876b05283/lib/postal/message_db/database.rb#L110
or here
https://github.com/postalserver/postal/blob/2f62baa238fc1102706ee4acf079b7a876b05283/lib/postal/message_db/message.rb#L266-L267
Presumably that last one doesn't need to be set but I could easily be misinterpreting the code :sweat_smile:

The presence of that in the error log is to be expected. Postal will is designed to catch that error and create the table if it doesn't exist.
        begin
          headers, body = data.split(/\r?\n\r?\n/, 2)
          headers_id = insert(table_name, data: headers)
          body_id = insert(table_name, data: body)
        rescue Mysql2::Error => e
          raise unless e.message =~ /doesn't exist/

          provisioner.create_raw_table(table_name)
          retry
        end

Without any other information, I can't say or determine why the installation hangs of if/how this is related.


Remove getenv(OPENSSL_FIPS) in openssl command

This is left over from the past.

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

My concern about this code, is that it might be re-used for the 3.0 FIPS provider,
and then in consequence be set in environment variables, which will then
1.1.1 fail unexpectedly.

I'm unsure about 1.1.1 for this.

Why, this is no documented behavior, and it plays a prank on the user.

This environment variable was most relevant with the FIPS OpenSSL Module 2.0 (compatible with OpenSSL 1.0.2).  The reason we have the error is for users that have upgrade to the 1.1.x series must not be lead to believe that OPENSSL_FIPS still has the meaning they might think.
So I see nothing against removing this in 3.0, we have moved far enough from 1.0.2 to simply drop the check.  For 1.1.1, I'm just as dubious as @paulidale.

Okay, then I'll add this to my 1.1.1 feature branch #11900

This pull request is ready to merge

Merged to master as 32df134


bug: transform output type inside an object is broken on v0.39

in v0.39, the output type of an object field with a transform is not working properly, returning the original type before the transformation. execution works as expected, but the typescript compiler fails. here is a reproduction example:
import { array, nullish, object, parse, pipe, string, transform } from "valibot";

function f({ a }: { a: string[] }) {
  console.log(a);
}

const Schema = object({ a: pipe(nullish(array(string())), transform((x) => x ?? ["default"])) });

const output = parse(Schema, { a: null });

f(output);

execution output:
[ 'default' ]

tsc output:
index.ts:12:3 - error TS2345: Argument of type '{ a?: string[]; }' is not assignable to parameter of type '{ a: string[]; }'.
  Property 'a' is optional in type '{ a?: string[]; }' but required in type '{ a: string[]; }'.

12 f(output);
     ~~~~~~

i pushed this same repro to a git repo: https://github.com/cruzdanilo/repro-valibot-transform
you can see this same output in the ci workflow log: https://github.com/cruzdanilo/repro-valibot-transform/actions/runs/10614474287/job/29420466950

Thank you for creating this issue. I recommend that you change your schema. This will also fix this problem. However, I will investigate this problem and may change the current implementation.
You can try my code in this playground.
import * as v from 'valibot';

const Schema = v.object({
  key: v.nullish(v.array(v.string()), ['default']),
});

type Input = v.InferInput<typeof Schema>;
type Output = v.InferOutput<typeof Schema>;

I agree. When an optional input is transformed to a non-optional value, the output type should reflect this information. I have improved the implementation and added new type test. Thanks for your feedback!


Toggles chance

Some keys need to be pressed, such as start and stop metronome, can you set it to stop when you press it again?

Some keys need to be pressed, such as start and stop metronome, can you set it to stop when you press it again?

Hey! Sorry for the late reply. I did already implement that. All the "TRANS" keys should already toggle their respective functions. Can you hit me up again if you still have problems with these buttons?


Fixes #39

:tada: This PR is included in version 1.4.17 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


KAFKA-9926: Fix flaky PlaintextAdminIntegrationTest.testCreatePartitions

Exception stack trace
org.opentest4j.AssertionFailedError: expected: <3> but was: <1>
	at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
	at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
	at app//org.junit.jupiter.api.AssertEquals.failNotEqual(AssertEquals.java:197)
	at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
	at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145)
	at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:528)
	at app//kafka.api.PlaintextAdminIntegrationTest.testCreatePartitions(PlaintextAdminIntegrationTest.scala:705)

Examples of CI build failures
https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-14135/10/testReport/junit/kafka.api/PlaintextAdminIntegrationTest/Build___JDK_11_and_Scala_2_13___testCreatePartitions_String__quorum_zk/
Reason for failure
We don't wait for metadata propagation before asserting for changes made in previous step.
Fix

Use existing TestUtils.waitForAllPartitionsMetadata
We cannot use TestUtils.waitForAllPartitionsMetadata at all places since the test wants to print additional information. In such cases use the existing method with correct parameters in test which was added in https://github.com/apache/kafka/commit/a5d21faf4e2d308828153be2576026f5dfe11f32 to de-flake the test.

The modified test is successful in CI - https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-14273/1/testReport/kafka.api/PlaintextAdminIntegrationTest/ Merging this in.

Also merging to 3.6 branch to help with flaky tests over there.


Add gpt-4-32k model

It would be great to make available the gpt-4-32k model.

yes

2、《腊八粥》预习习题(2)(1).docx


Fix span methods on Tokens

If the predicate passed to span is true for all of the elements in a collection, the first element of the result should be the original collection and the second should be empty (and the reverse for spanRight).
The current implementation is broken because it doesn't handle the case where indexWhere returns -1. I've included some failing tests that show the issue, and a fix. I took a quick look around for similar bugs but didn't see anything.

I don't think the Tokens methods have seen a lot of usage, but I personally find them quite helpful when writing Scalafix rewrites 😊

I have kickstarted a v4.3.0 release with this fix, may the CI/Sonatype gods be nice today


Building gets Compiler Error

EDIT: ON VERSION 0.8.5115
Cloned the repo.
Opened with Visual Studio and built main.
from the build folder imported the installerX.src files into the game.
did build installer(1-6)
did build main.src /root/bin/
Compiler Error: got Identifier(Janess1) where EOL is required [line 2454]

Could you please provide the steps you used to import files into game? It would be better if you can give as much as detail as possible.

Followed the How to install from the repo.
1.Used VS Code to Clone the repo
2.Greybel: Build on main.src
3. Lauanched Grey Hack ( Single Player. Not sure if it matters.)
4. From the build folder imported installed0-6 with Greybel: Import File to Game
5. Built each installer then ran each one.

build installer0.src /root/bin
build installer1.src /root/bin
build installer2.src /root/bin
build installer3.src /root/bin
build installer4.src /root/bin
build installer5.src /root/bin
build installer6.src /root/bin

Got a new error on installer6
root@BitchBox:/root/bin# installer6 Content got appended to "/root/vs/managers/dictionary/list-5.src". New file "/root/vs/managers/dictionary/list-6.src" got created. New file "/root/vs/managers/dictionary/dictionary-manager.src" got created. New file "/root/vs/managers/config/config-manager.src" got created. New file "/root/vs/jumpfile/jumpfile-text.src" got created. New file "/root/vs/utils/random-ip.src" got created. New file "/root/vs/commands.src" got created. Error when building!

I wasn't able to reproduce the error. I would recommend trying to rebuild and upload installers again. And checking your greybell settings.


Cattle Scheduler (0.7.5) no longer working correctly

Rancher Versions:
Server: 1.5.3
healthcheck: 0.2.3
ipsec: holder
network-services: metadata:v0.9.1, network-manager:v0.6.6
scheduler: 0.7.5
Docker Version:
1.12.6
OS and where are the hosts located? (cloud, bare metal, etc):
Ubuntu, AWS
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
HA Rancher, 2 nodes.
Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle
Issue:
The Scheduler no longer seams to "balance" containers across hosts. The "should not" rule doesnt seem to do anything anymore.
Steps to Reproduce:
Add a single host to rancher. add a couple services and scale them all 2. Create a second host. Once the host is healthy, start upgrading services.
Next, when upgrading a specific service, add a `host - should not - have a service with the name - {name of current service}
Results:
The containers will keep deploying to the first host and will not move over to the second host ever, even after adding the should not rule.
The only way to get them to move over to the other host is to add the MUST NOT rule. Even then, it tries to schedule initially on the same host, but then fails. On the retry it then finally puts a container on the second host.

I don't think this applies anymore, let us know if it still present on the latest version.


Interpolation Search

Add comment to get assigned to your desired language.
Submission Title
Interpolation Search
Submission Type
Algorithm
Submission Description
Write Interpolation Search Algorithm
Submission Directory
Algorithm => Searching => Interpolation_Search => Interpolation_Search.extension
Language

[x]  C++
[x]  C
[x]  Python
[x] Java
[ ] JavaScript
[ ] C#

Hi, I can do it in c++. Can you assign it to me?

Hey, I can do it in Python. Can you please assign it to me?

I've created a directory for the Interpolation search in the required path, please update your code there. Thank you!

I've created a directory for the Interpolation search in the required path, please update your code there. Thank you!

Great

Hi @krishrahul98, could I do this in C and Java..?

Hi @krishrahul98, could I do this in C and Java..?

@vieee Assigned for C and Java


chore: Bump version to v0.12.0

bump version to v0.12.0

https://github.com/alpacahq/alpaca-py/compare/v0.11.0...826bce6

Should we also update version in this file
https://github.com/alpacahq/alpaca-py/blob/master/alpaca/__init__.py

Should we also update version in this file?
https://github.com/alpacahq/alpaca-py/blob/master/alpaca/__init__.py

Thank you! Addressed https://github.com/alpacahq/alpaca-py/pull/357/commits/488ea804f336b9298e73e055b185c4489474744f


tests: Improve variable definition in tests/e2e scripts

To have a better consistency across the test/e2e scripts this PR improves the variable definition by using local as a best practice.

@ldoktor let me do it

@ldoktor @wainersm changes applied

Looks good although I spotted a few variables in operator.sh in wait_for_stabilization function, could you please include them as well? (that should be all, I hope :-D)

@ldoktor thanks for the feedback, sorry that I missed those

Thank you for bearing with my nitpicks :-)

not worries, thanks for the feedback helps me to improve my work


Added Turo.com

Support doc: https://support.turo.com/hc/en-us/articles/203991030-How-to-close-your-account
Directly linking to the account close doesn't work, so I liked to the previous page and instructed user to click button to delete account.

Thanks!


Making splat argument objects invisible from Ruby side

The mrb_get_argv() function and the * specifier of mrb_get_args() get the address of the argument. At this time, if it is passed in the form of a splat argument, it will be an address to an element of an array object.
After getting the pointer to the array object, the caller may call mrb_vm_exec() directly or indirectly. At this time, a splat argument with the class set can be retrieved as an array object by searching with ObjectSpace.each_object. If changes are made as array objects, addresses on the heap as arrays may become invalid, or objects in the array may be recycled by the GC. When the caller references the changed address in a subsequent operation, use-after-free is established.
This patch assigns NULL as the class of the array object so that it cannot be detected by ObjectSpace.each_object from the Ruby side.

Use-after-free with the Hash#values_at method provided by mruby-hash-ext.
$wolf = Object.new

hh = Hash.new { |h, k|
  ObjectSpace.each_object(Array) { |o|
    if o[-1] == $wolf
      o.clear
      GC.start
    end
  }
}

hh.values_at(*%w(sheep1 sheep2 sheep3 sheep4 sheep5), $wolf)

% valgrind -- build/host/bin/mruby uaf-splat1.rb
==93446== Memcheck, a memory error detector
==93446== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==93446== Using Valgrind-3.23.0 and LibVEX; rerun with -h for copyright info
==93446== Command: build/host/bin/mruby uaf-splat1.rb
==93446==
==93446== Invalid read of size 8
==93446==    at 0x2D8614: hash_values_at (hash-ext.c:36)
==93446==    by 0x2952EF: mrb_vm_exec (vm.c:0)
==93446==    by 0x2BA223: mrb_load_exec (parse.y:6912)
==93446==    by 0x2BA543: mrb_load_detect_file_cxt (parse.y:6955)
==93446==    by 0x260A23: main (mruby.c:353)
==93446==  Address 0x54e1d78 is 8 bytes inside a block of size 80 free'd
==93446==    at 0x484F2EC: free (vg_replace_malloc.c:993)
==93446==    by 0x283DD8: mrb_default_allocf (allocf.c:22)
==93446==    by 0x264AF1: mrb_ary_clear (array.c:1265)
==93446==    by 0x264AF1: mrb_ary_clear_m (array.c:1281)
==93446==    by 0x2952EF: mrb_vm_exec (vm.c:0)
==93446==    by 0x290D48: mrb_yield (vm.c:1086)
==93446==    by 0x2D9958: os_each_object_cb (mruby_objectspace.c:149)
==93446==    by 0x27126C: gc_each_objects (gc.c:1506)
==93446==    by 0x27126C: mrb_objspace_each_objects (gc.c:1529)
==93446==    by 0x2D9883: os_each_object (mruby_objectspace.c:173)
==93446==    by 0x2952EF: mrb_vm_exec (vm.c:0)
==93446==    by 0x28F546: mrb_run (vm.c:3058)
==93446==    by 0x28F546: mrb_funcall_with_block (vm.c:750)
==93446==    by 0x28EFD4: mrb_funcall_argv (vm.c:761)
==93446==    by 0x28EFD4: mrb_funcall_id (vm.c:559)
==93446==    by 0x2733F8: hash_default (hash.c:1162)
==93446==    by 0x2733F8: mrb_hash_get (hash.c:1221)
==93446==  Block was alloc'd at
==93446==    at 0x4852321: realloc (vg_replace_malloc.c:1806)
==93446==    by 0x2703A9: mrb_realloc_simple (gc.c:197)
==93446==    by 0x2703A9: mrb_realloc (gc.c:211)
==93446==    by 0x261437: ary_expand_capa (array.c:227)
==93446==    by 0x261ADB: mrb_ary_push (array.c:551)
==93446==    by 0x2A2D13: mrb_vm_exec (vm.c:2666)
==93446==    by 0x2BA223: mrb_load_exec (parse.y:6912)
==93446==    by 0x2BA543: mrb_load_detect_file_cxt (parse.y:6955)
==93446==    by 0x260A23: main (mruby.c:353)
==93446==
==93446==
==93446== HEAP SUMMARY:
==93446==     in use at exit: 0 bytes in 0 blocks
==93446==   total heap usage: 802 allocs, 802 frees, 230,914 bytes allocated
==93446==
==93446== All heap blocks were freed -- no leaks are possible
==93446==
==93446== For lists of detected and suppressed errors, rerun with: -s
==93446== ERROR SUMMARY: 5 errors from 1 contexts (suppressed: 0 from 0)

Similar results can be obtained with mruby-print's mrb_print().


Info about Red Hat Cloud Access for RHEL subscription portability to AWS

Should save $$ on RHEL subscription costs in AWS if one already has previously paid for (and valid) on-premise RHEL subscriptions.

Well spotted. Can confirm you're correct-- merging!


Support react-redux 5.0

So react-redux 5.0 is released, and with a new major release comes new stuff to do.

[x] Verify backwards compatability. The new version is supposed to be backwards compatible.

[ ] Attempt to improve the API with regards to mapStateToProps etc.
The current API works, but it's not winning any beauty contests. With connectAdvanced being added in 5.0 it should be possible to create a more typesafe API that looks and feels a lot better than the current one.

Seems backwards compatible from what Ive tested.


new workflow for developer's sandbox repo

Work to include

Scheduled workflow starts
Checks out pantheon-upstream-tiamat-developers-sandbox
run composer update as needed to pull all recent merges in the developer repos
git add and commit changes
update the developer sandbox with terminus

helpful github actions

https://github.com/shivammathur/setup-php

allows you to set PHP version and include composer

https://github.com/pantheon-systems/terminus-github-actions

installs terminus


Could you add a protected route and page example?

Could you add a protected route and page example?

Hey! We're going to keep this example simple, but you can definitely add this in a forked version 😄
Check if the user is authenticated in the page (async component), and if not, redirect: https://beta.nextjs.org/docs/api-reference/redirect
Or use Middleware!


Buttons are colliding with each other

Describe the bug
In contact Us page the quick navigation button is overlapping with the send button
To Reproduce
Steps to reproduce the behavior:

Go to 'Contact Us Page'
Scroll down and focus on send button
See error

Expected behavior
The quick navigation button should be in the right bottom corner
Screenshots

fix this on all pages


feat(graphql): Added TGraphQLVariables type

Added a type generic to the graphql function named TGraphQLVariables.
It allows for specifying types that are required for the query that
should NOT be passed to the underlying component but are just used
for the GraphQL operation. The type is joined to the component's TProps
but not required on the passed in component.
Per apollographql/apollo-client#2198
This should not effect any current implementations as it defaults to {}.
I need a sanity check on type inference in this case. I know that typescript does not currently do partial type inference, but I'm pretty sure that it will use default types when type inference is not possible. Someone might want to confirm that as it would be pretty unfortunate if someone were depending on type inference and this change somehow let their type unspecifyable (I don't know how that would occur, but would rather not cause someone an afternoon of type bugs).
Checklist:

[x] If this PR is a new feature, please reference an issue where a consensus about the design was reached (not necessary for small changes)
[x] Make sure all of the significant new logic is covered by tests
[x] If this was a change that affects the external API used in GitHunt-React, update GitHunt-React and post a link to the PR in the discussion.

There were some failing checks when I pulled the master branch. I took note of both the compile and test results before and after my changes and am including them here in case Travis complains.
Compile state prior to change:
jdstewar@LMC-056682 react-apollo (master) $ yarn compile
yarn run v1.1.0
$ tsc
$ npm run bundle

><EMAIL_ADDRESS>bundle /Users/jdstewar/gitRepo/react-apollo
> rollup -c && rollup -c rollup.browser.config.js && rollup -c rollup.test-utils.config.js

The following options have been renamed — please update your config: options.entry -> options.input, options.moduleName -> options.name, options.sourceMap -> options.sourcemap, options.dest -> options.output.file, options.format -> options.output.format

lib/index.js → lib/react-apollo.umd.js...
No name was provided for external module 'react' in options.globals – guessing 'React'
No name was provided for external module 'prop-types' in options.globals – guessing 'PropTypes'
No name was provided for external module 'redux' in options.globals – guessing 'redux'
No name was provided for external module 'apollo-client' in options.globals – guessing 'apolloClient'
No name was provided for external module 'graphql-tag' in options.globals – guessing 'graphqlTag'
No name was provided for external module 'react-dom/server' in options.globals – guessing 'ReactDOM'
created lib/react-apollo.umd.js in 119ms
The following options have been renamed — please update your config: options.entry -> options.input, options.moduleName -> options.name, options.sourceMap -> options.sourcemap, options.dest -> options.output.file, options.format -> options.output.format

lib/browser.js → lib/react-apollo.browser.umd.js...
No name was provided for external module 'react' in options.globals – guessing 'React'
No name was provided for external module 'prop-types' in options.globals – guessing 'PropTypes'
No name was provided for external module 'redux' in options.globals – guessing 'redux'
No name was provided for external module 'apollo-client' in options.globals – guessing 'apolloClient'
No name was provided for external module 'graphql-tag' in options.globals – guessing 'graphqlTag'
created lib/react-apollo.browser.umd.js in 101ms
The following options have been renamed — please update your config: options.entry -> options.input, options.moduleName -> options.name, options.sourceMap -> options.sourcemap, options.dest -> options.output.file, options.format -> options.output.format

lib/test-utils.js → lib/test-utils.js...
No name was provided for external module 'react' in options.globals – guessing 'React'
No name was provided for external module 'apollo-client' in options.globals – guessing 'ApolloClient'
No name was provided for external module 'graphql' in options.globals – guessing 'graphql'
No name was provided for external module 'prop-types' in options.globals – guessing 'PropTypes'
created lib/test-utils.js in 66ms
✨  Done in 2.62s.

Test state prior to change:
Summary of all failing tests
 FAIL  test/react-web/server/index.test.tsx
  ● SSR › `getDataFromTree` › shouldn't run queries if ssr is turned to off

    expect(received).toEqual(expected)

    Expected value to equal:
      {}
    Received:
      undefined

    Difference:

      Comparing two different types of values. Expected object but received undefined.

      at test/react-web/server/index.test.tsx:515:53
      at tryCallOne (node_modules/promise/lib/core.js:37:12)
      at node_modules/promise/lib/core.js:123:15
      at flush (node_modules/asap/raw.js:50:29)
      at _combinedTickCallback (internal/process/next_tick.js:131:7)
      at process._tickCallback (internal/process/next_tick.js:180:9)

 FAIL  test/react-web/client/graphql/queries/index.test.tsx (6.582s)
  ● queries › stores the component name in the query metadata

    Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.

      at pTimeout (node_modules/jest-jasmine2/build/queueRunner.js:53:21)
      at ontimeout (timers.js:469:11)
      at tryOnTimeout (timers.js:304:5)
      at Timer.listOnTimeout (timers.js:264:5)

 FAIL  test/react-web/client/graphql/queries/loading.test.tsx (7.682s)
  ● [queries] loading › correctly sets loading state on remounted network-only query

    Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.

      at pTimeout (node_modules/jest-jasmine2/build/queueRunner.js:53:21)
      at ontimeout (timers.js:469:11)
      at tryOnTimeout (timers.js:304:5)
      at Timer.listOnTimeout (timers.js:264:5)

Test Suites: 3 failed, 24 passed, 27 total
Tests:       3 failed, 169 passed, 172 total
Snapshots:   1 passed, 1 total
Time:        10.333s
Ran all test suites.Compile after changes:

jdstewar@LMC-056682 react-apollo (master) $ yarn compile
yarn run v1.1.0
$ tsc
$ npm run bundle

><EMAIL_ADDRESS>bundle /Users/jdstewar/gitRepo/react-apollo
> rollup -c && rollup -c rollup.browser.config.js && rollup -c rollup.test-utils.config.js

The following options have been renamed — please update your config: options.entry -> options.input, options.moduleName -> options.name, options.sourceMap -> options.sourcemap, options.dest -> options.output.file, options.format -> options.output.format

lib/index.js → lib/react-apollo.umd.js...
No name was provided for external module 'react' in options.globals – guessing 'React'
No name was provided for external module 'prop-types' in options.globals – guessing 'PropTypes'
No name was provided for external module 'redux' in options.globals – guessing 'redux'
No name was provided for external module 'apollo-client' in options.globals – guessing 'apolloClient'
No name was provided for external module 'graphql-tag' in options.globals – guessing 'graphqlTag'
No name was provided for external module 'react-dom/server' in options.globals – guessing 'ReactDOM'
created lib/react-apollo.umd.js in 120ms
The following options have been renamed — please update your config: options.entry -> options.input, options.moduleName -> options.name, options.sourceMap -> options.sourcemap, options.dest -> options.output.file, options.format -> options.output.format

lib/browser.js → lib/react-apollo.browser.umd.js...
No name was provided for external module 'react' in options.globals – guessing 'React'
No name was provided for external module 'prop-types' in options.globals – guessing 'PropTypes'
No name was provided for external module 'redux' in options.globals – guessing 'redux'
No name was provided for external module 'apollo-client' in options.globals – guessing 'apolloClient'
No name was provided for external module 'graphql-tag' in options.globals – guessing 'graphqlTag'
created lib/react-apollo.browser.umd.js in 106ms
The following options have been renamed — please update your config: options.entry -> options.input, options.moduleName -> options.name, options.sourceMap -> options.sourcemap, options.dest -> options.output.file, options.format -> options.output.format

lib/test-utils.js → lib/test-utils.js...
No name was provided for external module 'react' in options.globals – guessing 'React'
No name was provided for external module 'apollo-client' in options.globals – guessing 'ApolloClient'
No name was provided for external module 'graphql' in options.globals – guessing 'graphql'
No name was provided for external module 'prop-types' in options.globals – guessing 'PropTypes'
created lib/test-utils.js in 66ms
✨  Done in 2.53s.

Tests after changes:
Summary of all failing tests
 FAIL  test/react-web/server/index.test.tsx
  ● SSR › `getDataFromTree` › shouldn't run queries if ssr is turned to off

    expect(received).toEqual(expected)

    Expected value to equal:
      {}
    Received:
      undefined

    Difference:

      Comparing two different types of values. Expected object but received undefined.

      at test/react-web/server/index.test.tsx:515:53
      at tryCallOne (node_modules/promise/lib/core.js:37:12)
      at node_modules/promise/lib/core.js:123:15
      at flush (node_modules/asap/raw.js:50:29)
      at _combinedTickCallback (internal/process/next_tick.js:131:7)
      at process._tickCallback (internal/process/next_tick.js:180:9)

 FAIL  test/react-web/client/graphql/queries/index.test.tsx (6.166s)
  ● queries › stores the component name in the query metadata

    Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.

      at pTimeout (node_modules/jest-jasmine2/build/queueRunner.js:53:21)
      at ontimeout (timers.js:469:11)
      at tryOnTimeout (timers.js:304:5)
      at Timer.listOnTimeout (timers.js:264:5)

 FAIL  test/react-web/client/graphql/queries/loading.test.tsx (7.18s)
  ● [queries] loading › correctly sets loading state on remounted network-only query

    Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.

      at pTimeout (node_modules/jest-jasmine2/build/queueRunner.js:53:21)
      at ontimeout (timers.js:469:11)
      at tryOnTimeout (timers.js:304:5)
      at Timer.listOnTimeout (timers.js:264:5)

Test Suites: 3 failed, 24 passed, 27 total
Tests:       3 failed, 169 passed, 172 total
Snapshots:   1 passed, 1 total
Time:        9.054s
Ran all test suites.

➤ meteor-bot commented:
@dyst5422: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/

➤ meteor-bot commented:

Fails

:no_entry_sign:

No CHANGELOG added.

  Generated by :no_entry_sign: [dangerJS](http://github.com/danger/danger-js/)


fix: #9 address a11y issue with accordion tab state

Alaska Airlines Pull Request
Fixes: #9
Summary:
This issue is similar to https://github.com/AlaskaAirlines/auro-lockup/issues/3 in regards to the use of breeze and light backgrounds.
Unlike auro-lockup, this requires a much darker color in order to address a contrast ratio for lines and small text. For this update, the color was changed and on tab, the text becomes underlined.
See demo: https://auro-accordion.surge.sh/components/auro/accordion
BEFORE

AFTER

Type of change:
Please delete options that are not relevant.

[ ] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team

:tada: This PR is included in version 1.3.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


CI: Suite-k8s-1.18.K8sServicesTest Checks service across nodes with L7 policy Tests NodePort with L7 Policy: Pod cannot connect to service via tftp (failed in request #/10)

https://jenkins.cilium.io/job/cilium-ginkgo/job/cilium/job/master/4658/testReport/Suite-k8s-1/18/K8sServicesTest_Checks_service_across_nodes_with_L7_policy_Tests_NodePort_with_L7_Policy/
/home/jenkins/workspace/cilium-ginkgo_cilium_master/k8s-1.18-gopath/src/github.com/cilium/cilium/test/ginkgo-ext/scopes.go:431
Pod "testclient-57gvr" can not connect to service "tftp://<IP_ADDRESS>:32377/hello" (failed in request 8/10)
Expected command: kubectl exec -n default testclient-57gvr -- curl --path-as-is -s -D /dev/stderr --fail --connect-timeout 5 --max-time 8 tftp://<IP_ADDRESS>:32377/hello -w "time-> DNS: '%{time_namelookup}(%{remote_ip})', Connect: '%{time_connect}',Transfer '%{time_starttransfer}', total '%{time_total}'"
To succeed, but it failed:
Exitcode: 28
Stdout:
 	 time-> DNS: '0.000018()', Connect: '0.000033',Transfer '0.000000', total '5.001023'
Stderr:
 	 command terminated with exit code 28

/home/jenkins/workspace/cilium-ginkgo_cilium_master/k8s-1.18-gopath/src/github.com/cilium/cilium/test/k8sT/Services.go:611

18927639_K8sServicesTest_Checks_service_across_nodes_with_L7_policy_Tests_NodePort_with_L7_Policy.zip

This test is currently disabled due to a consistent failure in GKE/Azure/ENI (#11235).

Note that there is no proxy redirection for TFTP, so this failure should have nothing to do with L7/proxy redirection.

The failing test traffic is seemingly between nodes (testclient-57gvr and <IP_ADDRESS> are in different nodes), but the host port service load balancing at the destination can pick a backend on either node. It is likely that one of these scenarios (backend in the same node as the source, or backend in the different node than the source) works and the other fails, manifesting as flakiness.

In #11400 we see a similar failure, specifically:
Pod "testclient-9stfz" can not connect to service "tftp://[::ffff:<IP_ADDRESS>]:30438/hello" (failed in request 5/10)
Expected command: kubectl exec -n default testclient-9stfz -- curl --path-as-is -s -D /dev/stderr --fail --connect-timeout 5 --max-time 8 tftp://[::ffff:<IP_ADDRESS>]:30438/hello -w "time-> DNS: '%{time_namelookup}(%{remote_ip})', Connect: '%{time_connect}',Transfer '%{time_starttransfer}', total '%{time_total}'"
To succeed, but it failed:
Exitcode: 28
Stdout:
 	 time-> DNS: '0.000016()', Connect: '0.000031',Transfer '0.000000', total '5.001082'
Stderr:
 	 command terminated with exit code 28

/home/jenkins/workspace/Cilium-PR-Ginkgo-Tests-Validated/k8s-1.11-gopath/src/github.com/cilium/cilium/test/k8sT/Services.go:649

(Note that this was for the K8sServicesTest Checks service across nodes Tests NodePort BPF Tests with direct routing Tests NodePort test, not the one reported in the issue description here)

Another: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Kernel/1481/testReport/junit/Suite-k8s-1/17/K8sServicesTest_Checks_service_across_nodes_with_L7_policy_Tests_NodePort_with_L7_Policy/

attached logs: f9367731_K8sServicesTest_Checks_service_across_nodes_with_L7_policy_Tests_NodePort_with_L7_Policy.zip

@tgraf Mitigation in #11765 via allowing a single fail of allowed traffic out of each test run of 10 counts on the premise that the problem would be kube proxy node/host port related rather than due to Cilium directly. Rationale of applying this mitigation is that we still need to catch persistent traffic drops and policy regressions with node/host port. Would be nice to get an opinion on if this is appropriate or not.

Seems like this is still happening very rarely:
https://jenkins.cilium.io/job/Ginkgo-CI-Tests-k8s1.18-Pipeline/639/
https://jenkins.cilium.io/job/cilium-ginkgo/job/cilium/job/master/5149/
https://jenkins.cilium.io/job/cilium-ginkgo/job/cilium/job/master/5205/
logs from last build:
42cb51c4_K8sServicesTest_Checks_service_across_nodes_with_L7_policy_Tests_NodePort_with_L7_Policy.zip

Fixed by #12248

Seems like this is still happening very rarely:
https://jenkins.cilium.io/job/Ginkgo-CI-Tests-k8s1.18-Pipeline/639/
https://jenkins.cilium.io/job/cilium-ginkgo/job/cilium/job/master/5149/
https://jenkins.cilium.io/job/cilium-ginkgo/job/cilium/job/master/5205/
logs from last build:
42cb51c4_K8sServicesTest_Checks_service_across_nodes_with_L7_policy_Tests_NodePort_with_L7_Policy.zip
Can this have similar root cause to #10118 ?

All these runs were started before #12248 was merged.


Renaming DefaultCompactionPolicy to StatsBasedCompactionPolicy

Codecov Report

Merging #739 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #739      +/-   ##
============================================
- Coverage     65.94%   65.93%   -0.01%
- Complexity     3842     3845       +3
============================================
  Files           331      331
  Lines         25392    25392
  Branches       3180     3180
============================================
- Hits          16744    16743       -1
+ Misses         7755     7754       -1
- Partials        893      895       +2

Impacted Files
Coverage Δ
Complexity Δ

...main/java/com.github.ambry/config/StoreConfig.java
100% <ø> (ø)
1 <0> (ø)
:arrow_down:

....ambry.store/SimpleStatsBasedCompactionPolicy.java
100% <100%> (ø)
14 <0> (?)

...store/SimpleStatsBasedCompactionPolicyFactory.java
100% <100%> (ø)
2 <2> (?)

...c/main/java/com.github.ambry.network/Selector.java
78.48% <0%> (-3.59%)
44% <0%> (-1%)

.../com.github.ambry.router/GetBlobInfoOperation.java
79.86% <0%> (-1.39%)
30% <0%> (-1%)

...m.github.ambry.clustermap/HelixClusterManager.java
93.59% <0%> (-0.72%)
32% <0%> (-1%)

.../main/java/com.github.ambry.router/PutManager.java
84.13% <0%> (-0.69%)
22% <0%> (ø)

...va/com.github.ambry.replication/ReplicaThread.java
71.33% <0%> (-0.46%)
47% <0%> (-1%)

...in/java/com.github.ambry.network/SocketServer.java
83.19% <0%> (+0.4%)
13% <0%> (ø)
:arrow_down:

...b.ambry.network/BlockingChannelConnectionPool.java
66.22% <0%> (+0.87%)
8% <0%> (+1%)
:arrow_up:

... and 3 more

Continue to review full report at Codecov.

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


Issues with setting up Spotify Audio Source

I tried following all the steps and right after I put all my Spotify secrets and client id I get sent into a google chrome tab but the only says.
INVALID_CLIENT: Invalid redirect URI
the URL is ((down there)) a lot of it has been cut out for privacy.
(https://accounts.spotify.com/authorize/?client_id=)

That usually happens when you did not save the correct Redirect URI on your Spotify App settings. Say you changed Audio-Band Callback port to 1234 then your callback URI should be saved as http://localhost:1234

I have a similar issue, after choosing Spotify as audio source and complete setup, my browser ask me to sign in into Spotify and after it redirects me to something like:
http://localhost/?code=####&state=####
which is "not found" I guess I'm missing something in settings or maybe my proxy settings do not allow me to use audio band.

Loving this so much, thank you for all the effort you're putting into this. Has worked flawlessly for me for several months but for the past 2 weeks i can't use previous track/next track buttons anymore. It does not do anything, nothing happening. Can only do it directly from spotify website.

I fixed this by choosing a different port to 80; for whatever reason when chrome opened up the callback it would drop the :80 extension to the URL even if I manually added it back in. I changed it to 1234 on the Redirect URI and the Audio Band callback port and it works!

For me the issue was caused by the "/" at the end of the Redirect URI parameter in the Spotify App settings.
In the settings it was written as
http://localhost:80**/**
After changing it to
http://localhost:80
I got redirected to the screen prompting me to authorise the app and everything seems to be working now.

I struggled a bit with this myself. It was quite annoying, every 10 minutes a new popup, but I wrote here what I found worked for me.
https://community.spotify.com/t5/Spotify-for-Developers/INVALID-CLIENT-Invalid-redirect-URI/m-p/5338762/highlight/true#M4036

I fixed this by choosing a different port to 80; for whatever reason when chrome opened up the callback it would drop the :80 extension to the URL even if I manually added it back in. I changed it to 1234 on the Redirect URI and the Audio Band callback port and it works! I don't know if this is a chrome specific issue, it's hard to test now it's working!

To offer some context as to why this is happening; Port 80 is the default http port. If you do not add anything and your prefix is http it will connect to port 80. Since these are the same your browser does not display the port name.
https has something similar; that is by default port 443.
Whenever you choose a different port for your own configurable application make sure it is a random (not too obvious) port. Some applications you install will by default use port numbers that are easy to remember like 8181, 8123, 8888. These can be configured for these apps but there is no need if you have no conflict. Using a completely random port like 8289 is more likely to never give a conflict.


ESLINT with Airbnb

just update your repo.

You included your SSH private key here, wrong origin when pushing?

Closing this because of the SSH key being exposed, you will want to remove that commit from your remote so people can't find it.


feat: add query key function

This PR is to make it easier for consumers to invalidate queries.
This is achieved by exporting a new function that builds the query keys.
This function is used internally to build the queryKey for the hooks.
The new functions are the name of the queryHook + key + 'Fn' and the first letter is capitalized.
We capitalize the first letter because the lowercase 'use' is reserved for hooks and all our queryHook start with use.
// example
import {
  usePetServiceFindPetsByStatus,
  usePetServiceAddPet,
  UsePetServiceFindPetsByStatusKeyFn,
} from "../openapi/queries";
import React from 'react';

// App.tsx
function App() {
  const [status, setStatus] = React.useState('available');
  const { data } = usePetServiceFindPetsByStatus({ status });
  const { mutate } = usePetServiceAddPet({
    onSuccess: () => {
      queryClient.invalidateQueries({
        // Call the query key function to get the query key
        // this is important to ensure the query key is created the same way as the query hook,
        // this insures the cache is invalidated correctly.
        queryKey: [UsePetServiceFindPetsByStatusKeyFn({
          status,
        })],
      });
    },
  });

  return (

Pet List

{data?.map((pet) =>
{pet.name}
)}

      <button
        onClick={() => {
          mutate({ name: "Fluffy", status: "available" });
        }}
      >
        Add Pet
      </button>

  );
}

export default App;

npm publish

@7nohe merged, mind releasing a new version?


Create a websocket ipad demo

As web WeChat always been blocked, so we are trying to find a more stable solution for developers, see more: puppet
I had co-operated with a third party who has iPad protocol, but we need a WebSocket to test all API, we need a volunteer to test and encapsulated API.

under way
https://github.com/binsee/padchat-sdk/

Thanks!


SetMediaTypeMappingFormat doesn't recoginize first overload

This uses https://github.com/aspnet/HttpAbstractions/blob/dev/src/Microsoft.Net.Http.Headers/MediaTypeHeaderValue.cs#L17 which is in the Microsoft.Net.Http.Headers namespace.
Why not just pass the value as a string?

Related to https://github.com/aspnet/HttpAbstractions/issues/813
/cc @Eilon @Tratcher

Closing because this does not appear to be a bug in MVC.
@davidfowl - yeah the current situation isn't ideal, but renaming the types is a huge cost for customers. I don't think we've seen this problem much at all to justify a drastic change.


support for 'dytox' backbone

the 'args.model' herehttps://github.com/arthurdouillard/dytox/blob/main/continual/factory.py dose not seem to support 'dytox' ?

args.model define the backbone. Dytox can work with any backbone including transformer and resnet. See https://github.com/arthurdouillard/dytox/blob/main/options/model/cifar_dytox.yaml#L6


fix: fix inabled typo to enabled

Fix typo of inabled, should be enabled.

@thestelz Looks good to me. Can you squash your commits into one?

@koic done


legume fruit (PO:0030100)

legume (PO:0030100)
Proposed def'n:
A fruit (PO:0009001) derived from a single carpel (PO:0009030) and has a dry pericarp (PO:0009084) which dehisces along two fruit valves (PO:0000033).
Proposed Comment:
Species whose fruit serve as examples of this fruit type include: members of Fabaceae, Cajanus cajan (pigeon pea), Cicer arietinum (chickpea), Lens culinaris subsp. Culinaris (Lentils).
Synonym: pod (broad)

loment:
A legume which is constricted between each seed (PO:0009010).
Synonym: lomentum (exact)
Comment: Species whose fruit serve as examples of this fruit type include: members of Fabaceae, Glycine max (soybean).

#76

#76

Fruit #76

Comments from @jaiswalp:

Suggest renaming to "legume pod"
add comment about peanut spp. - not a nut

Revised legume to legume fruit (PO:0030100)
Previous def'n:
A fruit (PO:0009001) derived from a single carpel (PO:0009030) and has a dry pericarp (PO:0009084) which dehisces along two fruit valves (PO:0000033).
Revised def'n:
A fruit (PO:0009001) which develops from a single carpel (PO:0009030) and comprises a dry exocarp (PO:0009085), dry mesocarp (PO:0009087), and dry endocarp (PO:0009086) which dehisce along two fruit valves (PO:0000033) at maturity
Previous comment:
Species whose fruit serve as examples of this fruit type include: members of Fabaceae, Cajanus cajan (pigeon pea), Cicer arietinum (chickpea), Lens culinaris subsp. Culinaris (Lentils).
Revised comment:
Examples: members of Fabaceae, pigeon pea (Cajanus cajan), chickpea (Cicer arietinum), and lentils (Lens culinaris subsp. culinaris).
Previous synonyms:
pod (broad)
Revised synonyms:
hülse (exact, German), legumbre (exact, Spanish), pod (broad)

Revised loment to loment fruit (PO:0030101)
Previous def'n:
A legume which is constricted between each seed (PO:0009010).
Revised def'n:
A legume fruit (PO:0030100) which is constricted between each seed (PO:0009010).
Previous comment:
Species whose fruit serve as examples of this fruit type include: members of Fabaceae, most notable is Glycine max (soybean).
Revised comment:
Examples: some members of Fabaceae, including soybean (Glycine max).
Previous synonyms:
pod (broad)
Revised synonyms:
gliederhülse (exact, German), lomento (exact, Spanish), lomentum (exact)

Closing issue tracker for legume fruit (PO:0030100):
def'n: A fruit (PO:0009001) which develops from a carpel (PO:0009030) and at maturity comprises a dry exocarp (PO:0009085), dry mesocarp (PO:0009087), and dry endocarp (PO:0009086) that dehisce along two fruit valves (PO:0000033).
comment: Legume fruit (PO:0030100) is characteristic of the plant family Fabaceae. Examples: pigeon pea (Cajanus cajan), chickpea (Cicer arietinum), peanut (Arachis hypogaea), soybean (Glycine max), and lentil (Lens culinaris subsp. culinaris).
synonyms: h�lse (exact, German), legumbre (exact, Spanish), legume (exact), dehiscent fruit (broad), pod (broad)

Closing issue tracker for loment fruit (PO:0030101)
def'n: A legume fruit (PO:0030100) which at maturity separates into indehiscent, one-seeded segments.
comment: The pericarp (PO:0009084) of some legume fruit (PO:0030100), such as peanuts, is constricted between each seed, but these constrictions are due to a lack of support of the pericarp (PO:0009084) in the space between the seeds (PO:0009010). Contrastingly, the constrictions in the pericarp of loment fruits (PO:0030101) are sclerified and contain regions where cell death leads to disarticulation of the fruit (PO:0009001). Examples: some members of Fabaceae, including Mimosa and Desmodium spp.
synonyms: gliederh�lse (exact, German), loment (exact), lomento (exact, Spanish), lomentum (exact), indehiscent fruit (broad)