Add development image

Closes #16 #11

Based on node:10-alpine
Configurable versions (build ARGs)
Handy entrypoint script (initially based on this one)

Build with:
docker build -t gatsbyjs/cli -f Dockerfile.cli .

Supported commands:

develop -> gatsby develop
build -> gatsby build
serve -> gatsby serve
stage -> gatsby build && gatsby serve

These commands need to have wrappers because they don't support configuration of host and port via variables environments. Too bad :(
You can also use others commands of gatsby which does not need a wrapper (eg.: repl, new, info).
If a folder without package.json file is mounted on the /site dir, it will be provisioned with https://github.com/gatsbyjs/gatsby-starter-default.

Despite changes above I've provided, this only allows for getting libvips(vips-dev) to build. The npm sharp package will also build using it, but attempting to run the actual container with gatsby develop spouts a tonne of errors to do with the gatsby-plugin-sharp afaik. Building that seems to cause errors too..
This appears to be due to using the edge repositories for libvips. They're stated to not be reliable when used with non-edge versions of Alpine.. That'd explain why a similar Docker Image was building fine in the past but now also fails to build. The npm package sharp will install binaries if it doesn't detect a local libvips install on Alpine 3.8+ for nodejs v8 or v10.
I've recently got a Docker Image that actually builds and runs properly. I had success with this Dockerfile and removing the libvips dependency install, but for some reason couldn't connect over localhost:8000 to the running gatsby develop server. Not wanting to spend more time debugging why that is, I used a bit of the other linked Docker Image files which fixed that issue.
Dockerfile
FROM node:10-alpine

EXPOSE 8000

ARG GATSBY_VERSION=^2.0.0

# Install dev dependencies
RUN set -x \
  && apk add --no-cache \
  g++ \
  git \
  make \
  python2 \
  binutils

# Install gatsby cli and cleanup
RUN set -x \
  && npm install --global gatsby@${GATSBY_VERSION} \
  --no-optional gatsby@${GATSBY_VERSION} \
  && npm cache clean --force

RUN mkdir -p /site
WORKDIR /site
VOLUME /site

COPY ./entry.sh /
RUN chmod +x /entry.sh
ENTRYPOINT ["/entry.sh"]

entry.sh
#!/bin/sh
set -e

export GATSBY_DIR="/site"
export PATH="$PATH:/usr/local/bin/gatsby"

# Initialize Gatsby or run NPM install if needed
if [ ! -f "$GATSBY_DIR/package.json" ]
then
  echo "Initializing Gatsby..."
  gatsby new $GATSBY_DIR

else
  if [ ! -e "$GATSBY_DIR/node_modules/" ]
  then
    echo "Node modules is empty. Running npm install..."
    npm install

  fi

fi

# Decide what to do
if  [ "$1" == "develop" ]
then
  rm -rf $GATSBY_DIR/public
  gatsby develop --host <IP_ADDRESS>

elif  [ "$1" == "build" ]
then
  rm -rf $GATSBY_DIR/public
  gatsby build

elif  [ "$1" == "stage" ]
then
  rm -rf $GATSBY_DIR/public
  gatsby build
  gatsby serve --port 8000

else
  exec $@

fi

Build: docker build -t docker-gatsby .
Run: docker run -it --rm -v $(pwd)/site:/site -p 8000:8000 docker-gatsby develop
Maybe if I find some time to work on it a bit more I could make another PR. Just thought I'd share this as if you try building the current PR and using it now, I think you'll run into the problems I've been pointing out.

I applied all the suggestions and dropped the alpine libvips dependency, fixed cli handling also. I was waiting for the sharp's alpine support to update this PR. Thanks to all the reviewers!

I did come across another issue many times when messing around with getting a working Docker image, I believe it also happened with the above config I shared here. When running something like gatsby develop it worked fine, but then I tried with my prior existing project package.json and got issues like this:
error Plugin gatsby-plugin-manifest returned an error

  Error: Could not locate the bindings file. Tried:
   → /site/node_modules/sharp/build/sharp.node
   → /site/node_modules/sharp/build/Debug/sharp.node
   → /site/node_modules/sharp/build/Release/sharp.node
   → /site/node_modules/sharp/out/Debug/sharp.node
   → /site/node_modules/sharp/Debug/sharp.node
   → /site/node_modules/sharp/out/Release/sharp.node
   → /site/node_modules/sharp/Release/sharp.node
   → /site/node_modules/sharp/build/default/sharp.node
   → /site/node_modules/sharp/compiled/10.14.2/linux/x64/sharp.node

  - bindings.js:96 bindings
    [site]/[bindings]/bindings.js:96:9

  - constructor.js:10 Object.<anonymous>
    [site]/[sharp]/lib/constructor.js:10:34

  - v8-compile-cache.js:178 Module._compile
    [site]/[v8-compile-cache]/v8-compile-cache.js:178:30

  - loader.js:700 Object.Module._extensions..js
    internal/modules/cjs/loader.js:700:10

  - loader.js:599 Module.load
    internal/modules/cjs/loader.js:599:32

  - loader.js:538 tryModuleLoad
    internal/modules/cjs/loader.js:538:12

  - loader.js:530 Function.Module._load
    internal/modules/cjs/loader.js:530:3

  - loader.js:637 Module.require
    internal/modules/cjs/loader.js:637:17

  - v8-compile-cache.js:159 require
    [site]/[v8-compile-cache]/v8-compile-cache.js:159:20

  - index.js:3 Object.<anonymous>
    [site]/[sharp]/lib/index.js:3:15

  - v8-compile-cache.js:178 Module._compile
    [site]/[v8-compile-cache]/v8-compile-cache.js:178:30

  - loader.js:700 Object.Module._extensions..js
    internal/modules/cjs/loader.js:700:10

  - loader.js:599 Module.load
    internal/modules/cjs/loader.js:599:32

  - loader.js:538 tryModuleLoad
    internal/modules/cjs/loader.js:538:12

  - loader.js:530 Function.Module._load
    internal/modules/cjs/loader.js:530:3

  - loader.js:637 Module.require
    internal/modules/cjs/loader.js:637:17

  - v8-compile-cache.js:159 require
    [site]/[v8-compile-cache]/v8-compile-cache.js:159:20

  - gatsby-node.js:13 Object.<anonymous>
    [site]/[gatsby-plugin-manifest]/gatsby-node.js:13:13

  - v8-compile-cache.js:178 Module._compile
    [site]/[v8-compile-cache]/v8-compile-cache.js:178:30

  - loader.js:700 Object.Module._extensions..js
    internal/modules/cjs/loader.js:700:10

  - loader.js:599 Module.load
    internal/modules/cjs/loader.js:599:32

  - loader.js:538 tryModuleLoad
    internal/modules/cjs/loader.js:538:12

It was resolved by adding bindings.js. But that's something that wouldn't belong here. For some reason, even if the .node file for sharp was where it said it looked, it wasn't able to find it and threw those errors.

I have been playing around with my docker image variant again. Mostly because I wanted to address the crashes I was getting with gatsby-plugin-sharp that the installed default starter users was causing.
2 kinds of errors. One was if you used the _withWebp fragments in GraphQL queries for images, the binary cwebp would panic as we're missing jpeg/png support for the conversion to webp.
  Error: Command failed: /site/node_modules/cwebp-bin/vendor/cwebp -quiet -mt -q 50 -o /tmp/a740d783-1a1e-40ba-a2be-e9ae8c376b6a /tmp/364  7a55e-1476-44b2-ad2d-e70fec58bcde
  JPEG support not compiled. Please install the libjpeg development package before building.
  Error! Could not process file /tmp/3647a55e-1476-44b2-ad2d-e70fec58bcde
  Error! Cannot read input picture file '/tmp/3647a55e-1476-44b2-ad2d-e70fec58bcde'

  Error: Command failed: /site/node_modules/cwebp-bin/vendor/cwebp -quiet -mt -q 50 -o /tmp/d3d5afd6-32cd-497f-81c1-db1da83455b8 /tmp/bc1  f28cd-a14a-46e1-967a-66f04a723cf2
  PNG support not compiled. Please install the libpng development package before building.
  Error! Could not process file /tmp/bc1f28cd-a14a-46e1-967a-66f04a723cf2
  Error! Cannot read input picture file '/tmp/bc1f28cd-a14a-46e1-967a-66f04a723cf2'

Also:
⚠ Command failed: /site/node_modules/pngquant-bin/vendor/pngquant --version

  ⚠ pngquant pre-build test failed
  ℹ compiling from source
  ✖ Error: pngquant failed to build, make sure that libpng-dev is installed

Solved by adding lcms2-dev and libpng-dev.
The other issue was only triggered if you enabled mozjpeg in gatsby-config.js for gatsby-plugin-sharp explicitly. When converting to JPG if it's not available(it builds but raises a install error without failing npm install) you'll get a crash like this:
  Error: spawn /site/node_modules/mozjpeg/vendor/cjpeg ENOENT

The npm install failed because of this:
><EMAIL_ADDRESS>postinstall /site/node_modules/mozjpeg
> node lib/install.js

  ⚠ spawn /site/node_modules/mozjpeg/vendor/cjpeg ENOENT
  ⚠ mozjpeg pre-build test failed
  ℹ compiling from source
  ✖ Error: Command failed: /bin/sh -c autoreconf -fiv
/bin/sh: autoreconf: not found

# Or `autoreconf` is found from `autoconf`:

><EMAIL_ADDRESS>postinstall /site/node_modules/mozjpeg
> node lib/install.js

  ⚠ spawn /site/node_modules/mozjpeg/vendor/cjpeg ENOENT
  ⚠ mozjpeg pre-build test failed
  ℹ compiling from source
  ✖ Error: Command failed: /bin/sh -c autoreconf -fiv
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
configure.ac:23: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1

So you can get that with autoconf but that'll fail without automake. EDIT: AFAIK it worked fine in the past, might have been because I removed other dependencies I had earlier, also needs libtool and nasm to build.
I've built the image multiple times and cleared out the mounted volume to reinstall again many times. Quite often the npm install appears to go fine sometimes yet if you add a package later or npm install(I often clear out ./node_modules again and run that to test), you get build/install issues like I've shown here.
I had removed python2(40MB in weight) and not had any problems since, I know node-gyp relies on it but wasn't sure if it was needed for the image and if it a user needed it, they could extend the docker image to include it... just ran into a failure though while preparing this issue. I think the problem was due to connection dropping which prevented getting the full file, so still on the fence if we need it?
g++ brings almost 150MB of weight with it. I thought without vips-dev/libvips we could drop it. However the plugins mentioned above need to compile from source unless there is a way for us to provide them prior to the install? Without these two dependencies that's a fairly good weight drop of close to 200MB. The 46 new dependencies add 40MB50MB(bulk of it is for mozjpeg).
One other optimization that I think is relevant to make here, gatsby is installed globally, but do you need the full package? It's about 150MB in weight, meanwhile, gatsby-cli is only 15MB! :)
These both want a c compiler, pngquant does too I think, though it's error just states it failed and if I made sure to have libpng-dev. Fixed with gcc(85MB):
><EMAIL_ADDRESS>install /site/node_modules/sharp
> (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)

info sharp Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.7.0/libvips-8.7.0-linuxmusl-x64.tar.gz

><EMAIL_ADDRESS>postinstall /site/node_modules/cwebp-bin
> node lib/install.js

  ⚠ spawn /site/node_modules/cwebp-bin/vendor/cwebp ENOENT
  ⚠ cwebp pre-build test failed
  ℹ compiling from source
  ✖ Error: Command failed: /bin/sh -c ./configure --disable-shared --prefix="/site/node_modules/cwebp-bin/vendor" --bindir="/site/node_modules/cwebp-bin/vendor"
configure: error: in `/site/node_modules/cwebp-bin/1da73eca-46cc-4eee-afa2-65f12f6b5f5c':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no

    at Promise.all.then.arr (/site/node_modules/bin-build/node_modules/execa/index.js:231:11)
    at process._tickCallback (internal/process/next_tick.js:68:7)

><EMAIL_ADDRESS>postinstall /site/node_modules/mozjpeg
> node lib/install.js

  ⚠ spawn /site/node_modules/mozjpeg/vendor/cjpeg ENOENT
  ⚠ mozjpeg pre-build test failed
  ℹ compiling from source
  ✖ Error: Command failed: /bin/sh -c ./configure --enable-static --disable-shared --disable-dependency-tracking --with-jpeg8  --prefix="/site/node_modules/mozjpeg/vendor" --bindir="/site/node_modules/mozjpeg/vendor" --libdir="/site/node_modules/mozjpeg/vendor"
configure: error: in `/site/node_modules/mozjpeg/16a8f62e-2108-4f5f-8251-cce60eaba872':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... no
checking for cc... no
checking for cl.exe... no

Full Dockerfile:
# Use gatsby-cli instead of gatsby, roughly 150MB vs 15MB difference!

# Remove dev dependencies that aren't required anymore(not building vips-dev),
# if a user needs to build for specific package they should build a new docker image extending this one
# python2 is about 40MB and might be useful for packages needing node-gyp to build
# g++ is about 150MB, gcc 85MB
FROM node:10-alpine # 70MB

# Install dev dependencies (gcc 85MB, git 15MB)
RUN set -x \
  && apk add --no-cache \
  gcc \
  git \
  make

# Install gatsby cli and cleanup (adds about 15MB)
ARG GATSBY_VERSION=^2.0.0
RUN set -x \
  && npm install --global gatsby-cli@${GATSBY_VERSION} \
  --no-optional gatsby-cli@${GATSBY_VERSION} \
  && npm cache clean --force

# These let toFormat work for image format conversions with webp
# imagemin plugins support(part of gatsby-plugin-sharp) (adds about 5MB)
# lcms2-dev - jpeg and tiff support
# libpng-dev - png support
RUN set -x \
  && apk add --no-cache \
  lcms2-dev \
  libpng-dev

# mozjpeg support 46MB (also depends on libpng-dev)
RUN set -x \
  && apk add --no-cache \
  autoconf \
  automake \
  libtool \
  nasm

RUN mkdir -p /site
WORKDIR /site
VOLUME /site

EXPOSE 8000

COPY ./entry.sh /
RUN chmod +x /entry.sh
ENTRYPOINT ["/entry.sh"]


Why doesn‘t it show the result of the qualifying from today (Bahrain)?

Why doesn‘t it show the result of the qualifying from today (Bahrain)?

Because it's not available yet

Oh yes. The results of the qualifying are there. Shortly after it.
See here:
https://www.formula1.com/en/results.html/2023/races/1141/bahrain/qualifying.html

Not on the api I use

But I can try to switch to another source. But that will take some time. I hope to realise it coming week

@marcokreeft87
Thank you very much.
Because the Qulifying Results are mostly interesting right after Qualifying and before the Race. 😊


New fields have to be added in the same order as old ones otherwise the provider does not understand what's going on

The issue lies with checkFieldChanges scanning for changes based on index. See:
func checkFieldChanges(old, new []interface{}) ([]*contentful.Field, []*contentful.Field) {
	var contentfulField *contentful.Field
	var existingFields []*contentful.Field
	var deletedFields []*contentful.Field
	var fieldRemoved bool
	for i := 0; i < len(old); i++ {
		oldField := old[i].(map[string]interface{})
		fieldRemoved = true
		for j := 0; j < len(new); j++ {
			if oldField["id"].(string) == new[j].(map[string]interface{})["id"].(string) {
				fieldRemoved = false
				break
			}
		}

It should be replaced with something a little bit more sophisticated which checks for changes on id/name/key

For completeness: was already reworked in version 1.3.0


ENH: Use something other than FreeSurfer for BEM extraction

Dear MNE expert,
I am working with a EEG dataset and I wish to run source on that. Unfortunately the T1w are not FLASH and I know that in the absence of FLASH images, MNE offers a somewhat less accurate
solution based on the watershed algorithm (see Jas et al., 2018).
Indeed for some subjects in my dataset (see attached 1) I got the following error when I am going to run make_bem_model.
RuntimeError: Surface inner skull is not completely inside surface outer skull
For other subject instead the surfaces are simply wrong (see attached 2), even though make_bem_model hadn't give me any error

I was wondering whether if you have some tips on how to fix them.
Thanks
Dave

@christian-oreilly any chance to make a WIP PR with the Python solution for creating BEM surfaces? I'm happy to take over once there is something that more or less works.

@larsoner Ok, sure, I'll get to it right away else it will never happen.

@larsoner To clarify, the code I have is to get from a voxelized BEM solution to BEM surfaces through marching cube + laplacian filtering + mesh repairs. I don't have anything for going from T1 to volumetric BEM solutions because I used directly the volumetric BEM solution from John Richards. Does this (volumetric BEM to surface BEM) correspond to what you are expecting me to provide as a PR or you were expecting a solution for the whole process, from the original MRI to the BEM surfaces? If I recall well, I was not quite satisfied with how the watershed algorithm was performing on Richards' dataset and I was fortunate enough to have access to these pre-computed solutions so I just by-passed the whole issue.

Oh, that's funny, I got the EXACT same issue than the one we can see on the first figure of this issue! We see the inner surface (yellow) making an excursion out of the two other surfaces at the surface where the MRI is cut (toward the throat). That was the case for almost all my MRI. So I wrote a snippet of code to correct exactly that. It is a fairly specifically tailored piece of code because generalizing it for all possible orientations, convex/concave sections and all possible unexpected cases seemed like a real pain. But it does the job well for this specific case...

Hmm... maybe for now just posting public gists of your scripts for correction is good enough. Then if there are things that could help people we can generalize and include in MNE. That's presumably lowest effort for you but already gives people things to try and adapt.

I "dumped" the repair code from the infants template here: https://gist.github.com/christian-oreilly/d0ba7acc74ae780367ec4a4d9ae58a3d
As soon as I am done with the analysis of these templates and that the corresponding paper is sufficiently well written that I am confident that I won't change significant part of the analysis, I will add the Jupiter notebook that includes this code, but also the complete "documented" procedure I used... so I guess it will be more useful at that point. But, in the meantime, this dump include the relevant functions I used in my analysis pipeline.
The correction of the surface intersection I discussed previously implemented for a different project where MRI bounding boxes around the head were tighter than ideal. I created a separate gist for it: https://gist.github.com/christian-oreilly/f0c3e262343ecd580d92f4c8244cc87f
I say that I "dumped" these snippets of code because they are little more than copy-and-paste from in-progress analyses. So it is a very "dirty" code... I am afraid that the "clean" version of this code will be ready just when my analyses are closer to completion... but, if it can be useful to other people at this stage, I am always happy to share!

Awesome, thanks @christian-oreilly

@christian-oreilly am I right that process_bem is where all the code for the BEM surface extraction landed?
https://github.com/christian-oreilly/infant_template_paper/blob/d907822cdd50695838a7b03e9f50764862a83eb4/template_building.py#L109-L176
Any preliminary thoughts on whether we should just package this and helpers up in mne/_bem_extraction.py and let people try it as an alternative to FreeSurfer functions to do the same?

am I right that process_bem is where all the code for the BEM surface extraction landed?

@larsoner Yes, process_bem and the functions it calls from the same file (e.g.,  fix_all_defects).

Any preliminary thoughts on whether we should just package this and helpers up in mne/_bem_extraction.py and let people try it as an alternative to FreeSurfer functions to do the same?

You are most welcome to reuse this code in MNE. I would say that this code is probably at a "beta" level, so proposing it as an experimental and potential alternative might be a reasonable thing to do. It has some additional dependencies (e.g., trimesh, pymeshfix). For an analysis script like this, I don't give a second though about adding whatever dependencies I need to get the job done, but I know that for a package, it is desirable to keep the dependencies to a minimum. So I leave it to you to judge whether it is desirable to add these additional dependencies to MNE-Python. I have no doubt about trimesh. I think it is a powerful package with a lot of functionalities and being very actively developed and used by many people. I even use it (in combination with pyrender if I remember well) for viewing sources on the cortical meshes in jupyter notebook and to generate PNG for publications. I think it is a great match with MNE-Python for the meshing tasks.  pymeshfix is a mush smaller project, which provide a wrapper around the C++ MeshFix software. At the time I was working on that, it was allowing fixing holes that trimesh could not fix. Trimesh has a repair function to fix holes in case they are constituted of one missing triangle, but it had nothing for more complex holes. If you use this code it might be worth considering submitting a feature requestion for hole repair on Trimesh GitHub page to eventually be able to drop the pymeshfix dependency. I am not implying here that the pymeshfix is a bad software, just that since we would be using just one of its feature, it might be better not to add it as a dependency.

@Davi1990 in your image above how did you get those three surfaces? From @christian-oreilly's code it's clear that we can go from a binarized/labeled MRI to usable suitably smooth surfaces, but he started from MRI data that was already labeled with each compartment. I'm curious how you got your compartment definitions and (of secondary importance) then turned them into surfaces.

@Davi1990 in your image above how did you get those three surfaces? From @christian-oreilly's code it's clear that we can go from a binarized/labeled MRI to usable suitably smooth surfaces, but he started from MRI data that was already labeled with each compartment. I'm curious how you got your compartment definitions and (of secondary importance) then turned them into surfaces.

Some exploration so far -- I've had decent luck with FieldTrip + SPM (worked on 157/158 subjects), but this requires MATLAB so it's a bit of a no-go.
I then tried brainsuite and fsl using this gist. brainsuite skullfinder is very fast (1-2 sec) but produces a questionable output, whereas fsl seems to work well.
Subject 1
brainsuite skullfinder:
$ freeview -v T1.mgz -f bs_inner_skull.surf:edgecolor=red -f bs_outer_skull.surf:edgecolor=yellow -f bs_outer_skin.surf:edgecolor=255,170,128:hide_in_3d=true

fsl bet:

FieldTrip + SPM could not process this subject because it couldn't determine the orientation (the head is tilted close enough to 45 deg about the Z axis).
Subject 2
brainsuite:

fsl:

FieldTrip + SPM + Python mesh code to marching_cubes + smooth + decimate:

Overall I think I like the idea of adding a mne fsl_bem function that uses fsl to generate BEM surfaces. It already puts out ones that are smoothed and 5120 triangles, writes to a standard format (vtk) that can by read by pyvista, etc. It even makes sure that the meshes don't intersect:
the mesh is self-intersecting
thus will rerun with higher smoothness constraint

Amazing work, @larsoner!! Would very much love to see this added to MNE


Abracadabra

Exciting Job Opportunity at Microsoft!
Congratulations! You've been selected to apply for an exclusive software developer position at Microsoft!
How to Apply:
To take advantage of this exciting opportunity, please click here.
Job Description:

Position: Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan
Company-contributed retirement plan
Flexible working hours
Collaborative and inclusive work environment

Requirements:

Proven experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Familiarity with frameworks such as React, Angular, or Vue.js
Problem-solving skills and ability to work in a team

Note: This position is open to candidates from anywhere in the world.
Ibrahimrahhal, @yan028, @iBenjamin, @domfp13, @arekouzounian, @Vengadesh58, @setu-dabhi, @NatanSiilva, @alexcode-lab, @burakgguler, @Jimmystario, @machine-creek, @xchanmolx, @sonichen, @hesoyamcode, @nikhil-shrestha, @ezyerk2130, @r03r, @AmirIqbal1, @coralreefman


Resolve YouTube auth tokens can't be retrieved because email and password is not set in YoutubeAudioSourceManager

Bug report: Would require some credentials for Dollar but easily done by updating the application.yml
Submitted by: mfcash
Server: mfDiscord

Completed and pushed to prod


How can I remove first title item on popup?

Or How can I set custom text color on first title item in popup without setting ths color when popup is closed?
sorry for broken English

A bit late, but for future reference, I think you're referring to the Hint. Disable the hint and you should be fine.

Sorry but I don't understand your needs !

Closing for inactivity. Feel free to reopen if needed.


Add default to all setting values

To allow for a config file to be empty or missing some fields (e.g. logger)
AI Description

This PR updates the settings.py file in the backend configuration to include default values and improve the structure of the settings classes.
Here are the changes made:

Added default=None to optional fields in various settings classes, including GoogleOAuthSettings, OIDCSettings, AuthSettings, CompassSettings, WebSearchSettings, WolframAlphaSettings, GDriveSettings, DatabaseSettings, SageMakerSettings, AzureSettings, CoherePlatformSettings, SingleContainerSettings, BedrockSettings, and DeploymentSettings.
Set enabled_auth, enabled_tools, default_deployment, and enabled_deployments to None instead of leaving them as empty optional lists.
Updated the structure of the settings classes by adding the default parameter to the following optional settings: oidc, google_oauth, python_interpreter, compass, web_search, wolfram_alpha, gdrive, sagemaker, azure, cohere_platform, single_container, bedrock, deployments, auth, feature_flags, tools, database, and logger.

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

Project coverage is 82.51%. Comparing base (4edacee) to head (4ab4dd1).
Report is 37 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #525      +/-   ##
==========================================
+ Coverage   81.38%   82.51%   +1.12%
==========================================
  Files         199      206       +7
  Lines        8354     8811     +457
==========================================
+ Hits         6799     7270     +471
+ Misses       1555     1541      -14

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


Replace GPA Calculator with new, more fun task

To be decided...

I believe we've discussed having them implement some sort of "todo" list, rather than a GPA calculator. A todo list would be more interesting to play with from the database / api side of things later on.

We discussed this at the Instructor / TA meeting on Monday Jan. 23.
It seems like a good idea might be to include some kind of tool for parsing JSON files on the server, and then require students to build a rough API using SparkJava for accessing this data (todo list data).
This would also let them develop some rough client side stuff, text fields and buttons and the like.
The API would simply return new JSON files, which makes grading and testing pretty straightforward.

It looks like GSON might be a good choice here.

This can be considered done, in the general sense.
The lab needs to be polished a bit more, but we can track that with more specific issues going forward.


Native JSON formatter

The cucumber-json-formatter has some open issues, many residing from here, and the community (including readers here) have not shown any willingness / ability to do anything about it.
Because I'm not familiar with Go myself, I am considering replacing it with a TypeScript implementation.
Furthermore, a vocal minority perceive using a standalone tool as incredibly difficult, despite EG. using it in CI-environment is extremely trivial. While they don't have my sympathy, it'll be nice to avoid the noise.
I don't have a lot of free time on my hands lately, but I will get on it in time. Meanwhile, contributions are welcome.

There is one good package that seems to do the job for me. cucumber-json-report-formatter
Have a little write up here which could help configuring the report to be auto-generated after test run

cucumber-json-formatter has been replaced with native components in v16.0.0.


METAL: memory efficient, crash free and kernel prefix fix in include …

... include metal library
using newBufferWithBytesNoCopy_length_options_deallocator_ for the new buffer, fix the Metal crash's with proper metal purgeable method, and delete a small delimiter ';' from kernel prefix in MetalCodegen class this was a typo somehow

Changes made in tinygrad/:
------------------------------------------------------------
files                             insertions       deletions
------------------------------------------------------------
tinygrad/runtime/ops_metal.py             19              13
------------------------------------------------------------
lines added in the tinygrad folder: 6

Will merge after there's Metal CI tests!

There's functional changes in here mixed with others, which makes it hard to read and review.

add types (fine)
rename variables (why?)
small functionality changes (separate these)

Yea needs to be separate PRs. I can't read this diff.


[CSSimplify] Don't enable OneWayBindParam for result builder transformed closures

This means two things:

transformed closures behave just like regular multi-statement closures
It's now possible to pass partially resolved parameter types into the closure which helps with diagnostics.

Re-landing https://github.com/apple/swift/pull/63140

@swift-ci please test


KAFKA-4249: Document how to customize GC logging options for broker

Document the KAFKA_GC_LOG_OPTS environment variable as well as the
common kafka-run-class.sh options.
The contribution is my original work and I license the work to the project under the project's open source license.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5497/
Test PASSed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5512/
Test PASSed (JDK 7 and Scala 2.11).


ISSUE FIX: NAVBAR CREATES UNWANTED SPACE #3

Issue: NAVBAR AFFECTING LAYOUT
Description
This PR introduces a CSS fix that was affecting the layout of the Hero view's content
Resolves #3
Changes
Frontend:

Added CSS class in globals.css for min-height calculation
Modified hero.tsx to use this class instead of Tailwind utility class
Updated Navbar to have a fixed height of 4rem

Testing

Manual testing was conducted in the dev server. No breaking changes made.

Notes

Fixes issue, tried the flex-1 option but this option is a fast and efficient fix

Checklist

[x] Code compiles correctly
[ ] No merge conflicts

Tags
enhancement

Branch deleted.


Update Confluence version

Confluence version updated to the 7.12.0

@harshalpere : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@sign-off

#sign-off


Close an open popover-show on click in a dropdown

Hi,
I'm working on notice (a popover) of Private Messages on my forum with Bootstrap 3.3.5.
Private Message link is in a link in li dropdown, in the dropdown there is the list of PM unread, with title, hour etc of the PM.
If user receives a new Private Message, before there is a popover "You have received Xz new private messages, click to read" and then there is li dropdown with list of Private Messages.
Popover is always show when the page is loaded, like an alert for the user.
And when user clicks on Private Message, popover is closed and user can read private messages.
The problem is that popover is always open, also when I read private messages, so it's impossible to read unread PMs.
My code is:

    Private Messages
    5

Title PM etc - Unread

I would like only that on my first click on "Private Messages" (the popover) it is close and I can read private messages.
Bootply full example: http://www.bootply.com/zWQXzrS9zo
And other odd thing: I refresh the page, popover is show, I click to open dropdown of  Private Messages (popover is always show), then (with dropdown Private Messages still open!) I click also on Other links.
In this way I'll have finally dropdown Private Messages toggle with popover. If I open/close Private Messages dropdown popover will be close/open. Is it a bug?
Thank you,
sorry for my English

Probable duplicate of #16732.


[Bug] Multi-touch zoom + drag to one finger drag sometimes does not work

The bug happens when you are pinch zooming and dragging, and lift one finger and try to continue dragging. The drag does not work. Although, I can't seem to reproduce all the time, but it happens often. I have attached a video of the issue. Happens at the very start and very end of the video.
https://user-images.githubusercontent.com/8017365/227771124-7468e955-9998-4a4a-9ed4-f4ff9e48da0b.mp4

Thanks for reporting! I've identified the issue and will get a fix out as soon as possible (I'll have to figure out how to publish again 🙃)
As a workaround you can always lift up the finger that touched the display last ;)

Fix is done. I'll see that I'll publish it tomorrow

Okay, so the original issue seems to be fixed. But if you try to perform multi-touch scale keeping the original finger on screen it should restart scaling. But it does not.  Since this is similar to the original issue, I did not create a new issue for this.

Version 1.2.1 should fix this too and is out now

Okay, its fixed. But seems like you forgot to remove some logging from the release.

Oops, my bad. Should be removed now


Remove GRPC dependency from AbstractCompilationAnalyzer [phab:D327]

Created by schroederc at 2015-06-09 20:54:52:

shahms accepted this revision at 2015-06-09 20:56:01

schroederc closed via commit cb23365c62ee2d54238e4e692777c1a4ef74bc91 at 2015-06-09 20:56:34


Access all my courses videos at a glance

Description
LEARNER-1039
Access all my courses videos at a glance

Codecov Report

Merging #948 into master will increase coverage by 0.02%.
The diff coverage is 63.15%.

@@            Coverage Diff             @@
##           master     #948      +/-   ##
==========================================
+ Coverage   45.29%   45.32%   +0.02%
==========================================
  Files         402      402
  Lines       26330    26359      +29
==========================================
+ Hits        11927    11947      +20
- Misses      14403    14412       +9

Impacted Files
Coverage Δ

Source/CourseOutlineTableSource.swift
57.14% <100%> (-0.93%)
:arrow_down:

Source/OEXRouter+Swift.swift
16.34% <18.18%> (-0.16%)
:arrow_down:

Source/CourseDashboardViewController.swift
74.09% <42.85%> (-1.03%)
:arrow_down:

Source/CourseLastAccessedController.swift
89.06% <57.14%> (-1.27%)
:arrow_down:

Source/CourseContentPageViewController.swift
74.5% <66.66%> (-0.4%)
:arrow_down:

Source/CourseOutlineViewController.swift
53.29% <71.42%> (-0.3%)
:arrow_down:

Source/CourseOutlineQuerier.swift
81.89% <77.5%> (-2.39%)
:arrow_down:

Source/OEXInterface.m
23.31% <0%> (+0.9%)
:arrow_up:

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 1c14b77...d09c04c. Read the comment docs.

@saeedbashir I have fixed the comments.Please review them. Thanks

@saeedbashir I have fixed the comments please take a look into it. Thanks

@saeedbashir i have fixed comments. Please take a look. Thanks

@salman2013 Can you add one or two more videos to course test data?

@saeedbashir i have fixed the comments. Please take a look.

@saeedbashir i have fixed the comments, please take a look.

@salman2013 You need to update CourseDashboardViewControllerTests because Videos section isn't there.

@saeedbashir I have updated the test case for CourseDashboardViewControllerTests


Anomaly detection using Machine Learning

Please up-vote if you want this feature. Do not submit a new feature request.

The WAF service already supports anomaly detection, so we do not plan to add this as a solution feature.


(🎁) new rule: useless f-string

i see code like this:
a = f"{b}"

pointless imo, just use str(b) or format(b)

Duplicate of https://github.com/astral-sh/ruff/issues/10945.


Problem with login

EDIT: After 2nd attempt I was able to login.
After docker-compose can not login
Steps to reproduce the behavior:

docker-compose up -d
navigate to : http://IP_ADDRESS:2020
enter username: admin
password: 2Txnf5prDknTFYTVEXjj
Error: Something went wrong

Expected behavior
To be able to login.
Logs from docker:
| {"name":"error","length":108,"severity":"ERROR","code":"42P01","position":"15","file":"parse_relation.c","line":"1159","routine":"parserOpenTable","level":"error"}
be_1         | {"message":"Unexpected error: error: relation "jtl.users" does not exist","level":"error"}

Hi @Anakinn If it was the very first launch it was most likely caused by unfinished migrations.


Why is the thing doing the thing but not the other thing?

So after trying the thing the thing before the thing also broke, pls fix

because the thing is. the thing is breaking the world

It thinged the did 👍


Imagemanager loaded but not showing the icon in the editor, no errors in console either

<textarea
        ng-model="content"
        redactor="{plugins: ['fontcolor', 'fontsize', 'fullscreen', 'imagemanager', 'table', 'video']}">
</textarea>

Guys, I've managed to fix this. I had to supply the POST route.


Difference between this and cupertino picker class?

Just wondered what difference or advantage this is supposed to provide as apposed to flutter's own picker?
https://flutter.io/widgets/cupertino/
Which appears to look about the same: https://flutter.io/images/widget-catalog/cupertino-picker.png
Is it the helpers for opening as dialog and what not?  I think an argument addressing this question would be a good thing to have near the top of your readme.

I haven't used Cupertino picker. It looks pretty good. But it doesn't matter. It's enough to meet the demand.


add ability to change log level in installer

Hmm, I'm not sure if this is what was intended for issue #33 . I believe the plan was something like:

set log level when installing;
have all logging calls routed through a centralized class;
have that centralized class print log statements only if the specified log level is more verbose than the requested log level.

e.g. the logging class methods would look something like this pseudo-code:
public static void e(String message) {
    if (this.specifiedLogLevel <is equal to or more verbose than> LogLevel.ERROR) {
        Log.e(TAG, message);
    } else {
        // no-op
    }
}

I don't really have objections to that approach, but right now the enums seem arbitrarily ordered for that to work, I would think we would want NONE, DEBUG, ERROR in that order if we wanted it to work the way you're thinking.

This looks good, but can't be merged until #34 is resolved.

Approved

LGTM on success!

Just needs a master merge

@jsibbold needs merge

Approved


Image tags are not being pushed with semver

Image tags are being published each day, but only with latest tag and not with the semver tag they correspond to:
https://hub.docker.com/r/yeagerai/simulator-jsonrpc/tags

@mentatbot

@MentatBot


Make memfd available on Android

Android also supports memfd so allow the relevant items to be used when
targeting Android.

@AndrewScull can you add a section to CHANGELOG.md, as part of this commit?

Done!

@AndrewScull can you rebase to fix the CHANGELOG.md conflict?


Pipeline test

AB#458146

/azp run

I think @adunndevster made a similar fix in his PR yesterday @jamarw. We can probably close this out.


Linux Clang stdlib.h Build Error Failure (conflicting types for 'random')

build-log.txt
Linux Distro: Gentoo (LLVM17-built via libc++ standard library and glibc)
Specific Toolchain Used: Clang 17.0.6
Reproduction Steps

Clone the repo and cd into it
Run make -f Makefile.port TARGET_PLATFORM=i686-linux TOOLCHAIN=i686-pc-linux-gnu-clang and wait for build failure
sed -i 's|-std=c11|-std=gnu11|g' Makefile.port and sed -i 's|-std=c11|-std=gnu11|g' Makefile
sed -i 's|gcc||g' Makefile.port and sed -i 's|gcc||g' Makefile
(gcc gets appended to the end of i686-pc-linux-gnu-clang like "i686-pc-linux-gnu-clanggcc" for some reason)
sed -i 's|g++|clang++|g' Makefile.port and sed -i 's|g++|clang++|g' Makefile (g++ remains in the make files for some reason, like gcc, despite the configuration being set initially)
Run make -f Makefile.port TARGET_PLATFORM=i686-linux TOOLCHAIN=i686-pc-linux-gnu-clang again
Wait for /usr/include/stdlib.h:521:17: error: conflicting types for 'random'

Description
Like the MacOS issue (https://github.com/fgsfdsfgs/perfect_dark/issues/317), Clang building fails but for a different error from what I've read over there.

gcc gets appended to the end of i686-pc-linux-gnu-clang like "i686-pc-linux-gnu-clanggcc" for some reason

It gets appended because the Makefile expects gcc. It just takes a toolchain prefix and then appends compiler executable names (gcc, g++) to it. This was meant mostly for different architectures rather than different compilers.
The issue you're experiencing is the result of enabling GNU extensions on all files. This exposes random(), which conflicts with a function with the same name in the PD decomp codebase. I'll probably have to rename it.

Seems to happen without step 3 too (leaving -std=c11 alone); this seems to trigger it more easily without the sed replacements just after cloning:
make -f Makefile.port TARGET_PLATFORM=i686-linux TOOLCHAIN=i686-pc-linux-gnu-clang CC="clang" CXX="clang++" CPP="clang-cpp" AR="llvm-ar" NM="llvm-nm" AS="llvm-as" RANLIB="llvm-ranlib" OBJDUMP="llvm-objdump" OBJCOPY="llvm-objcopy" STRINGS="llvm-strings" READELF="llvm-readelf" ADDR2LINE="llvm-addr2line" STRIP="llvm-strip"

Might also be due to it being exposed by default in glibc. I'll see what I can do.

3 errors in include/PR/os_libc.h under Clang 17:
build-log.txt

Removed that sprintf declaration from there.

Builds now :+1:
Might want to remove the .exe for Linux builds though; Linux can detect it's a binary without the extension but leaving it with the .exe will make anyone who doesn't think twice of it (like Linux newbies) launch it with Wine instead by accident

Yeah, I'm aware. Couldn't be arsed to add a thing in the Makefile to change the extension.


Escape URLs before adding them to bazel rules

This will remove the need to have workarounds like https://github.com/kubevirt/kubevirt/commit/8052a7f3e30b221550bc8d49d74b77eaf5b4998a in the future.

@rmohr any chance you could take a look, and possibly tag a new release after merging? I'd like to prevent the situation where someone who's not fully aware of this issue and its workaround trips over it while updating the RPMs in KubeVirt. Thanks!

Thanks @rmohr! Do you think you could tag a new release, making it possible to pick this up in KubeVirt?

Done: https://github.com/rmohr/bazeldnf/releases/tag/v0.5.5.

Fantastic, thank you! :)


Womanium Final Assignment - Hasnain Koser

Submission of Womanium Quantum's Final Assignment: The Quantum Walk algorithm on a line graph

Good job!
Score: 8/10


Incompatibility Issue

The mod unfortunately is incompatible with DarkhaxDev's "Enchantment Descriptions" mod. For enchantments with more than one level, using the "showMaxLevel" removed the descriptions.

if you're on 1.21 try enabling the handle_description client config


Lock untranslable Excel columns

Can you add an option to lock the columns that translators should not change/translate in the Excel export. That way they can't accidentally break the Excel file, and they know which columns they can translate.
The following columns can be locked:

Project
File
Key
Comment (all languages)

Ref #162

That would be great. Beside the columns, probably the first row should be locked too.

I tried the latest version from VsixGallery, and this works great. Thank you! 👍


Only ask for nodejs_als in the async-context sample

I think it's best to encourage people to use this narrower flag instead of making the entirety of the emulated nodejs API available, as the documentation explains.
I don't think there's any build interactions with samples/ at all, so I manually ran this sample with my changes and confirmed it works.

I have read the CLA Document and I hereby sign the CLA


Data for Indian States not found

This is in reference to issue no. covidatlas/coronadatascraper#984
Still i couldn't see the updated data, can you please look into it and please find my latest comment on the original issue.

Hi @deepak3081996 - is this still an issue?  Things have changed since you first opened it.  cheers! jz


Displaying JavaScript like debugger information

This code displays JavaScript objects in the Visual Studio Debugger in a JavaScript way. ObjectInstance and classes inheriting ObjectInstance are decorated.
Visual Studio 2015 and 2017 debugger support inheritance of the DebuggerDisplayAttribute and DebuggerTypeProxy. For example only ObjectInstance can have them and then FunctionInstance will be decorated. In former versions this is not supported and FunctionInstance will not be decorated. That's why every class which is inheriting ObjectInstance has these attributes, even when they are the same with the base class.
Some properties are made internal and some fields are exposed via internal properties to be displayed in debugger.
Changing of values via debugger watch window works. Probably will not work well with some CLR objects. Tested with numbers and strings.
The PromiseInstance now keeps state and result to be available in debugger.
The PropertyReference displays name as value, because doesn't contain value.

This is great, thank you. I changed a bunch of classes to be internal, but apart from that I merged this in it's entirety.

Thanks for merging!


Error when connecting to older ExtremeXOS switch

I've enabled all the deprecated features, but when i use the following connection
        .username(values[4])
        .password(values[5])
        .add_pubkey_algorithms(algorithm::PubKey::SshRsa)
        .add_kex_algorithms(algorithm::Kex::DiffieHellmanGroup1Sha1)
        .add_mac_algortihms(algorithm::Mac::HmacSha1)
        .connect(format!("{}:22", values[3]))
        .expect("Unable to connect to SSH")
        .run_local();

I get the following, which is odd it seems like the server has no response? I can connect to it with old versions of putty.
I think this might be because of an outdated pubkey algorithm that isn't supported "ssh-dss"?
ERROR ssh::config::algorithm: err_msg: "Key_agreement: the signature algorithm fails to match, algorithms supported by the server: ,algorithms supported by the client: rsa-sha2-512,rsa-sha2-256,ssh-rsa"

Hi,
ssh-dss is not listed as a supported algorithm currently.
You can bump the log level to "INFO", showing the original cypher list that the server returns.
The error message only shows the after-modifying cypher list, which by design can only list the algorithms we supported.
BRs.


(WIP) Revert browserlist bump to fix native focus rings appearing on ActionButton click

Closes
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:
Test clicking on ActionButton on localdev, make sure the native focus ring doesn't appear
🧢 Your Project:
RSP

Hmm, still doesn't fix it but reverting to 784737effd44b9d5e2b1316e690da44555eafd7e (commit beforecac4679578cf0ed48e0a0a8d60a42eb3c3f3b5b9) works... Maybe one of the sub deps


Remove now-unnecessary expr_swift_keypath_unimplemented_component diagnostic

I assume that the last usage of the diagnostic had been removed in #11730.

@swift-ci Please smoke test

Any problem?

@jckarter I think this is fine, no?

Looks good, thanks!


Not allowed to command bot, ask Admin

Hi, i always do get this message from my bot, can you help me out with this?
magicMirrorBot, [01.11.18 11:37]
[In reply to Kevin W]
You are not allowed to command me. Ask admin.

allowedUser is Array of string, so, it should be in array [  ]
allowedUser: ["KevinW99"],

Ah alright, ill try it our tomorrow and get back to you if it does work

{
module: 'MMM-TelegramBot',
config: {
telegramAPIKey : 'gytdyuccyuibcxtfyguhjcd',
allowedUser : ['KevinW99'], // This is NOT the username of bot.
}
},
Currently this is my code, is there anything wrong with this?

I tried making  new bot and still does not work though

alrite, ill check it on tuesday whhen i get back to my intern desk, and yeah the api key is just hidden for security reasons.

I am so sorry for the late reply but i can only resume this project on 12 November so only then i can test and let you know whether it does work or not.

Can I test your telegram API Key and username? (just for a check. you can re-get those)
My email is<EMAIL_ADDRESS>

@Kevsw99 Aren't you missing the adminChatId from your config?

You need all three settings:
config: {
    telegramAPIKey: '<your-api-key>',
    allowedUser: ['<your-allowed-user>'],
    adminChatId: '<your-admin-chat-id>'
}

@michael5r Good point, but I think he had some problem to get adminChatId even in first execution. /mychatid or help should work even without adminChatId.
Anyway, I'll close this issue because it's too old. If @Kevsw99 has still a problem, reopen it. Thanks.


Extraction dir doesn't come from appdirs

On Windows, this means it's not in the right place, but also has forward slashes in it.

Should work now, I'll reopen if there are problems.


Migrate to poetry-dynamic-versioning

Closes #28
Changes

Replaces poetry-version-plugin with poetry-dynamic-version
Updates the poetry.lock file
Updates the Changelog

Additional comments
@bneijt
Using dynamic versioning means that the tags should follow a standard convention, whether that is ^v[0-9]+\.[0-9]+ or [0-9]+\.[0-9]+.
The existing tags are:
6.4
6.5
7.0.0
v6.1
v6.2
v6.3

It would be beneficial to rename the last few tags to include a v (and maybe remove the 7.0.0 tag?).
Relevant Stack Overflow: https://stackoverflow.com/questions/1028649/how-do-you-rename-a-git-tag

I have decided to drop the dynamic versioning plugins for now and just use the plain tag approach. See #28 for comments


[ESP32] esp-wifi crash if used with embassy and any task on the second core

On esp32 if any embassy task is started on the second core it crashes.
Code to reproduce is here in this gist
crashes with:
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7104
load:0x40078000,len:15576
load:0x40080400,len:4
ho 8 tail 4 room 4
load:0x40080404,len:3876
entry 0x4008064c
I (31) boot: ESP-IDF v5.1-beta1-378-gea5e0ff298-dirt 2nd stage bootloader
I (31) boot: compile time Jun  7 2023 07:48:23
I (33) boot: Multicore bootloader
I (37) boot: chip revision: v0.0
I (41) boot.esp32: SPI Speed      : 40MHz
I (46) boot.esp32: SPI Mode       : DIO
I (50) boot.esp32: SPI Flash Size : 4MB
I (55) boot: Enabling RNG early entropy source...
I (60) boot: Partition Table:
I (64) boot: ## Label            Usage          Type ST Offset   Length
I (71) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (78) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (86) boot:  2 factory          factory app      00 00 00010000 003f0000
I (93) boot: End of partition table
I (98) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=17bf4h ( 97268) map
I (141) esp_image: segment 1: paddr=00027c1c vaddr=3ffb0000 size=00e0ch (  3596) load
I (143) esp_image: segment 2: paddr=00028a30 vaddr=3ffbcd04 size=00190h (   400) load
I (147) esp_image: segment 3: paddr=00028bc8 vaddr=40080000 size=07450h ( 29776) load
I (168) esp_image: segment 4: paddr=00030020 vaddr=400d0020 size=581c0h (360896) map
I (298) esp_image: segment 5: paddr=000881e8 vaddr=40087450 size=0398ch ( 14732) load
I (310) boot: Loaded app from partition at offset 0x10000
I (310) boot: Disabling RNG early entropy source...
Starting enable_disable_led() on core 0
Sending LED on
Starting control_led() on core 1
LED on
start connection task
Device capabilities: Ok(EnumSet(Client))
making wifi client config
set wifi configuration

Exception occured 'StoreProhibited'
Context
PC=0x400ff616       PS=0x00060510
A0=0x800f7caa       A1=0x3ffb62d0       A2=0x00000003       A3=0x3ffbb134       A4=0x00000000
A5=0x3ffe43c8       A6=0x00000001       A7=0x3ffdb8e0       A8=0x800ff5c4       A9=0x3ffb62b0
A10=0x00000000      A11=0x3ffe43ec      A12=0x00000003      A13=0x3f414309      A14=0x00000000
SAR=00000008
EXCCAUSE=0x0000001d EXCVADDR=0x00000003
LBEG=0x40001609     LEND=0x4000160d     LCOUNT=0x00000000
THREADPTR=0x00000000
SCOMPARE1=0x00000001
BR=0x00000000
ACCLO=0x00000000    ACCHI=0x00000000
M0=0x00000000       M1=0x00000000       M2=0x00000000       M3=0x00000000
F64R_LO=0x00000000  F64R_HI=0x00000000  F64S=0x00000000
FCR=0x00000000      FSR=0x00000000
F0=0x00000000       F1=0x00000000       F2=0x00000000       F3=0x00000000       F4=0x00000000
F5=0x00000000       F6=0x00000000       F7=0x00000000       F8=0x00000000       F9=0x00000000
F10=0x00000000      F11=0x00000000      F12=0x00000000      F13=0x00000000      F14=0x00000000
F15=0x00000000

0x400fa22c
0x400fa22c - wifi_set_config_process
    at ??:??
0x400f7bcd
0x400f7bcd - ieee80211_ioctl_process
    at ??:??
0x400838d4
0x400838d4 - ppTask
    at ??:??
0x400e757c
0x400e757c - core::sync::atomic::atomic_load
    at /Users/chris.l/.rustup/toolchains/esp/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:3288
0x40000000
0x40000000 - _ZN8esp_wifi9HEAP_DATA17h68314300b948c320E
    at ??:??

Even running just an empty loop on the second core makes it crash.
Also, if the second core was just running before anything else for a very short time it crashes later

This is really weird - I can make it not crash anymore by commenting out https://github.com/esp-rs/esp-wifi/blob/ce4264907916bc3c1a3406075c9d3c0e05cb89d3/esp-wifi/src/lib.rs#L144 - i.e. NOT placing the wifi heap in dram2 segment
While this solves the issue I have no idea why - @MabezDev any idea what might be special about dram2_segment?

I tried something: In esp-hal multicore example I zero all bytes in dram2_segment, run the code and check if those bytes are still zero ..... they are not. There are at least ~16k of non-zero bytes in the beginning of that segment.
Unfortunately, just letting dram2_segment start at a 16k higher address doesn't solve the problems here

@liebman When you get a chance, could you test the linked PR and see if it fixes your issue?

Still crashes :-(
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:7104
0x3fff0030 - esp_wifi::HEAP_DATA
    at ??:??
load:0x40078000,len:15576
load:0x40080400,len:4
ho 8 tail 4 room 4
load:0x40080404,len:3876
entry 0x4008064c
0x4008064c - core::fmt::Arguments::new_v1
    at /Users/chris.l/.rustup/toolchains/esp/lib/rustlib/src/rust/library/core/src/fmt/mod.rs:335
I (31) boot: ESP-IDF v5.1-beta1-378-gea5e0ff298-dirt 2nd stage bootloader
I (31) boot: compile time Jun  7 2023 07:48:23
I (33) boot: Multicore bootloader
I (37) boot: chip revision: v0.0
I (41) boot.esp32: SPI Speed      : 40MHz
I (45) boot.esp32: SPI Mode       : DIO
I (50) boot.esp32: SPI Flash Size : 4MB
I (55) boot: Enabling RNG early entropy source...
I (60) boot: Partition Table:
I (63) boot: ## Label            Usage          Type ST Offset   Length
I (71) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (78) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (86) boot:  2 factory          factory app      00 00 00010000 003f0000
I (93) boot: End of partition table
I (97) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=186a8h (100008) map
I (142) esp_image: segment 1: paddr=000286d0 vaddr=3ffb0000 size=00e14h (  3604) load
I (144) esp_image: segment 2: paddr=000294ec vaddr=3ffbcffc size=00190h (   400) load
I (148) esp_image: segment 3: paddr=00029684 vaddr=40080000 size=06994h ( 27028) load
I (168) esp_image: segment 4: paddr=00030020 vaddr=400d0020 size=57d04h (359684) map
I (298) esp_image: segment 5: paddr=00087d2c vaddr=40086994 size=06304h ( 25348) load
I (315) boot: Loaded app from partition at offset 0x10000
I (315) boot: Disabling RNG early entropy source...
Starting enable_disable_led() on core 0
Sending LED on
Starting control_led() on core 1
LED on
start connection task
Device capabilities: Ok(EnumSet(Client))
making wifi client config
set wifi configuration

Exception occured 'StoreProhibited'
Context
PC=0x400ff926       PS=0x00060510
0x400ff926 - wifi_nvs_set
    at ??:??
A0=0x800f79a1       A1=0x3ffb6040       A2=0xffff0003       A3=0x3ffbb464       A4=0x00000000
0x3ffb6040 - esp_wifi::preempt::TASK_STACK
    at ??:??
0x3ffbb464 - s_wifi_nvs
    at ??:??
A5=0x3ffe43c8       A6=0x00000001       A7=0x00000000       A8=0x800ff8d4       A9=0x3ffb6020
0x3ffe43c8 - esp_wifi::HEAP_DATA
    at ??:??
0x3ffb6020 - esp_wifi::preempt::TASK_STACK
    at ??:??
A10=0x00000000      A11=0x00000001      A12=0x800e7231      A13=0x3f414d55      A14=0x00000000
A15=0x00060500
SAR=00000008
EXCCAUSE=0x0000001d EXCVADDR=0xffff0003
LBEG=0x4000c349     LEND=0x4000c36b     LCOUNT=0x00000000
THREADPTR=0x00000000
SCOMPARE1=0x00000100
BR=0x00000000
ACCLO=0x00000000    ACCHI=0x00000000
M0=0x00000000       M1=0x00000000       M2=0x00000000       M3=0x00000000
F64R_LO=0x00000000  F64R_HI=0x00000000  F64S=0x00000000
FCR=0x00000000      FSR=0x00000000
F0=0x00000000       F1=0x00000000       F2=0x00000000       F3=0x00000000       F4=0x00000000
F5=0x00000000       F6=0x00000000       F7=0x00000000       F8=0x00000000       F9=0x00000000
F10=0x00000000      F11=0x00000000      F12=0x00000000      F13=0x00000000      F14=0x00000000
F15=0x00000000

0x400fa018
wifi_set_config_process
    at ??:??
0x400f78b9
ieee80211_ioctl_process
    at ??:??
0x40083970
ppTask
    at ??:??
0x400e6480
core::sync::atomic::atomic_load
    at /Users/chris.l/.rustup/toolchains/esp/lib/rustlib/src/rust/library/core/src/sync/atomic.rs:3288
0x40000000

Ive updated the gist so that its based on updated esp-hal & wifi

@liebman there hasn't been a release since it was fixed, could you try from git main? Sorry, I wasn't clear!

esp-wifi  fails to compile with git main:
error: could not compile `esp-wifi` (lib) due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
error[E0432]: unresolved import `hal::Rng`
  --> /Users/chris.l/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-wifi-0.4.0/src/common_adapter/mod.rs:16:5
   |
16 | use hal::Rng;
   |     ^^^^^^^^ no `Rng` in the root
   |
help: a similar name exists in the module
   |
16 | use hal::rng;
   |          ~~~
help: consider importing one of these items instead
   |
16 | use crate::hal::rng::Rng;
   |     ~~~~~~~~~~~~~~~~~~~~
16 | use esp_hal::rng::Rng;
   |     ~~~~~~~~~~~~~~~~~

error[E0412]: cannot find type `Rng` in crate `hal`
   --> /Users/chris.l/.cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-wifi-0.4.0/src/lib.rs:238:15
    |
238 |     rng: hal::Rng,
    |               ^^^ not found in `hal`
    |
help: consider importing one of these items
    |
17  + use crate::hal::rng::Rng;
    |
17  + use esp_hal::rng::Rng;
    |
help: if you import `Rng`, refer to it directly
    |
238 -     rng: hal::Rng,
238 +     rng: Rng,
    |

error: aborting due to 2 previous errors

Ah, I forgot about those breaking changes. Well I think I've solved this regardless, but next release we can test again :).


Fail empty value

The following testcase is failing when parsing :
    {
        "description": "Empty value",
        "encoded_tx": "iFUB0VAFBOTRrD6JrIkaRQJYb6vZtBdVAbiCYZ1GVY89njFtEbSNzyETJwJqAUEAQwAJxEMAYagAQA==",
        "valid": false,
        "testnet": false,
        "not_implemented": true,
        "message": {
            "to": "f12fiakbhe2gwd5cnmrenekasyn6v5tnaxaqizq6a",
            "from": "f1xcbgdhkgkwht3hrrnui3jdopeejsoatkzmoltqy",
            "nonce": 1,
            "value": "",
            "gas_price": "2500",
            "gas_limit": "25000",
            "method": 0
        },
        "encoded_tx_hex": "885501d1500504e4d1ac3e89ac891a4502586fabd9b4175501b882619d46558f3d9e316d11b48dcf211327026a01430009c4430061a80040"
    }

However the value seems to be optional :
https://chainsafe.github.io/forest/forest_message/struct.UnsignedMessage.html
My guess is that it should not fail.

Austin answered me on slack for this :
I mean, that’s up to your own interpretation, we don’t specifically handle JSON encodings for anything meaningful. Cbor encoding of this will always be consistent

However when trying to send a transaction with and empty value I have a an error returned.


suffixIcon for FormBuilderTextField?

Would like to add a suffix icon to toggle editability of a field. Tap once to make it editable, press another to cancel changes. Would appreciate if suffixIcon could be passed to the TextField.

I think his question was how do you make the suffixIcon "touchable" or react to press?

I think his question was how do you make the suffixIcon "touchable" or react to press?

@danvick does this mean it's not possible to add an onTap property to the suffix icon?

Can be close this issue?


Update availability.md for Azure API Management Private Link general availability

Private Link for APIM went GA in March, but this page wasn't updated.
https://azure.microsoft.com/en-ca/updates/generally-available-azure-private-link-support-in-azure-api-management/

@asudbring

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Add Polymer.IronFormElementBehavior to validate correctly in iron-form's

Add's support for iron-form's
The always-float-label commits are us maintaining our own copy while we waited for it to be merged into upstream.

Would love to see this merged.

@frenchnz Thanks for contribution :) and @cwenzelg now it's merged /o/


fix: Zephyr LoRA fine-tuning fixed

I tried using LoRA fine-tuning instead of QLoRA fine-tuning and it didn't work:
I used exactly your training config and if I train LoRA, the loss would become 0 without bf16 specified in the config.

With bf16 issue is resolved (I trained LoRA model for 50% of the sft data and got the expected results). Furthermore, I re-used this bf16 config for QLoRA and the results are the same as you report (~0.95 SFT loss)
Also, I added the flash attention 2 flag as it speeds up training, allows doubling the batch for QLoRA (per gpu batch size 4 -> 8) while not changing the results at all (just to be safe, I tested it too and the curves are the same)

P.S. in my photos, 1% means that I trained for 1% of SFT steps just to make sure the losses are identical and changing the flag does not break anything
In total, this PR fixes LoRA that didn't work before (due to loss = 0) and speeds up QLoRA & LoRA configurations by flash attention flag

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Callback clone fix

Argh.. I forgot the generic Out parameter in the manual clone implementations. How could we miss this? This means that 0.5.0-rc2 breaks for everyone trying to clone any Callback or SyncCallback and may warrant a bugfix 0.5.0-rc3 release!
Added some tests for cloning the various callback types all using a non-clone for their generic types. Should have done that in the first place.

@gbj Can we merge this?

Thanks very much — looks good, and thanks for the regression tests too!


Added ability to use custom word lists

Hey Claudio!
This is a cool package and I've had to do things similar to this in past projects, so I can definitely see this being a useful little tool in the future for me.
This PR adds the ability for the adjectives and/or nouns to be overridden. The idea behind this is that a dev might want to use words that are specifically branded or themed towards their project. As a really basic example, if the project was space-themed, they might only want space-themed phrases such as "fast astronaut".
Another use case could be to load a specific set of adjectives and nouns depending on the user's language. For example, using an English word list for English-speaking users and a Spanish word list for Spanish-speaking users.
Here's a quick example of how you could update your adjectives and nouns at the same time:
use ClaudioDekker\WordGenerator\Generator;

$adjectives = ['adjective one', 'adjective two'];
$nouns = ['noun one', 'noun two'];

Generator::setWordLists($adjectives, $nouns);

Or, if you only wanted to update the adjectives or nouns, you could use either of these methods:
use ClaudioDekker\WordGenerator\Words\Adjective;

$adjectives = ['adjective one', 'adjective two'];

Adjective::setWordList($adjectives);

use ClaudioDekker\WordGenerator\Words\Noun;

$nouns = ['noun one', 'noun two'];

Noun::setWordList($nouns);

In the context of a Laravel app, here are some basic examples of how the wordlists could be overridden using values from config files or from the DB:
Generator::setWordLists(config('wordlists.adjectives'), config('wordlists.nouns'));

Adjective::setWordList(
    App\Models\Wordlist::where('type', 'adjective')->pluck('word')->toArray()
);

If this is something that you think might be useful for other devs, please let me know if there's anything that you might need me to update for you to get it ready for merging 😄

Hey, thanks for this! I was considering to add this, but I didn't want to go overboard right away as I personally didn't have an use-case for it yet. Merged!


Simplify readme and tanh example using nested grads

Feel free to close if you prefer the old way, but after Matt's simplification, I think this is more readable.  It's also more obvious when skimming that we're taking grads of grads.

Good call! This looks better, I agree.


Limit Firebase security and for headspring.com users

Prevent other users to change Firebase values using other google accounts rather than Headspring domain.

Fixed on PR #15


Separate and use model and lens parameters for datagen.py

This includes cleaning up the C++ code.
We should probably have a --lens option for the lens model, and a --sampled flag to choose between direct use and sampling.

Review this, and close #111 in the process.

ongoing on branch refactor/split-model-lens
This may be done; testing remains.

There is a problem with the Sampled Raytrace Model, but it is worse on the develop branch where it segfaults.


Support $TAG and $ISTIOCTL_BIN overide in e2e tests

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: hklai
If they are not already assigned, you can assign the PR to them by writing /assign @hklai in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

prow/OWNERS
tests/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm
/approve

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: sebastienvas
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

prow/OWNERS [sebastienvas]
tests/OWNERS [sebastienvas]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: rkpagadala, sebastienvas
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

prow/OWNERS [rkpagadala,sebastienvas]
tests/OWNERS [sebastienvas]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Checksum file missing for jdk-11.0.5+10 s390x build

Platform:
Linux
Architecture:
s390x
Checksum file is missing for jdk-11.0.5+10 for the hotspot s390x build.
The checksum URL in the above link says file not found.
This is causing the Docker builds to ignore this platform.

I've verified that the checksum in these files:
https://ci.adoptopenjdk.net/job/build-scripts/job/openjdk11-pipeline/620/artifact/target/linux/s390x/hotspot/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.5_10.tar.gz.sha256.txt
https://ci.adoptopenjdk.net/job/build-scripts/job/openjdk11-pipeline/620/artifact/target/linux/s390x/hotspot/OpenJDK11U-jre_s390x_linux_hotspot_11.0.5_10.tar.gz.sha256.txt
is correct for the s390x-hotspot releases downloaded from here: https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/jdk-11.0.5%2B10/
So those files need to be added to the https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/jdk-11.0.5%2B10/ release.

Also the testimage checksum file is missing.

@sxa555 has uploaded the files to https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/jdk-11.0.5%2B10/ , all should be OK now.


Upgraded nifi example to dc/os 1.9

Although it works admin router should be pointed to http://dcos-url/service/nifi/nifi. Another option would be configure nifi to run on the "root" URL path.

Solves https://github.com/dcos/examples/issues/93


Object notifications

Suport RealmObject change notifications #105
Supersedes #207
Needs generator changes tracked in PR 269

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 93.366%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
380

Relevant Lines:
407

💛  - Coveralls


Move registry containers to UBI

What does does this PR do / why we need it:

Moves the index server container to UBI
Moves the registry container to UBI
Hosts the registry container on quay.io

Which issue(s) this PR fixes:
Fixes https://github.com/devfile/api/issues/294

@GeekArthur Thanks for the review comments! Updated.

@GeekArthur Thanks for the review comments! Updated.


AutoScaling app failed to start saying 'org.ektorp.DbAccessException: Connection refused'

[Note: the original subject and description was removed]
I'm deploying app-autoscaler to my latest Open Source Cloud Foundry. AutoScalingAPI started but AutoScaling and AutoScalingServiceBroker failed to start.
The CF app logs says "org.cloudfoundry.autoscaler.data.couchdb.connection.manager.CouchDbConnectionManager:27 [localhost-startStop-1] [] java.net.ConnectException: Connection refused (Connection refused)". However, I can connect to the CouchDB on <IP_ADDRESS> using a ruby couchdb client script.
Verified that the deployed AutoScaling App reads <IP_ADDRESS> as the CouchDB host (by changed <IP_ADDRESS> to a<IP_ADDRESS> which throws error '... a<IP_ADDRESS> ...')
All CF VMs are in subnet <IP_ADDRESS>.
Gurus, please give some advise. Thanks in advance.
------- commands and config file --------
mvn clean package -Denv=myenv -DskipTests
bin/deploy.sh myenv
$ cat profiles/myenv.properties
couchdbUsername=autoscaler
couchdbPassword=password
couchdbHost=<IP_ADDRESS>
couchdbPort=5984
couchdbServerDBName=couchdb-scaling
couchdbMetricDBPrefix=couchdb-scalingmetric
couchdbBrokerDBName=couchdb-scalingbroker

$ cf logs AutoScaling
Connected, tailing logs for app AutoScaling in org xxx / space xxx as xxx ...
2016-12-07T05:58:44.31-0500 [API/0]      OUT Updated app with guid 37aeb982-ca36-4f18-93ac-862abd2480da ({"state"=>"STOPPED"})
2016-12-07T05:58:44.80-0500 [DEA/0]      OUT Got staging request for app with id 37aeb982-ca36-4f18-93ac-862abd2480da
2016-12-07T05:58:46.54-0500 [API/0]      OUT Updated app with guid 37aeb982-ca36-4f18-93ac-862abd2480da ({"state"=>"STARTED"})
2016-12-07T05:58:46.75-0500 [STG/0]      OUT -----> Downloaded app package (5.6M)
2016-12-07T05:58:46.82-0500 [STG/0]      OUT -----> Downloaded app buildpack cache (4.0K)
2016-12-07T05:58:51.08-0500 [STG/0]      OUT -----> Java Buildpack Version: v3.10 (offline) | https://github.com/cloudfoundry/java-buildpack.git#193d6b7
2016-12-07T05:58:56.15-0500 [STG/0]      OUT -----> Downloading Open Jdk JRE 1.8.0_111 from https://java-buildpack.cloudfoundry.org/openjdk/trusty/x86_64/openjdk-1.8.0_111.tar.gz (found in cache)
2016-12-07T05:58:57.63-0500 [STG/0]      OUT        Expanding Open Jdk JRE to .java-buildpack/open_jdk_jre (6.2s)
2016-12-07T05:58:57.63-0500 [STG/0]      OUT -----> Downloading Open JDK Like Memory Calculator 2.0.2_RELEASE from https://java-buildpack.cloudfoundry.org/memory-calculator/trusty/x86_64/memory-calculator-2.0.2_RELEASE.tar.gz (found in cache)
2016-12-07T05:58:57.67-0500 [STG/0]      OUT        Memory Settings: -Xms681574K -XX:MetaspaceSize=104857K -Xss349K -Xmx681574K -XX:MaxMetaspaceSize=104857K
2016-12-07T05:58:57.67-0500 [STG/0]      OUT -----> Downloading Tomcat Instance 8.0.38 from https://java-buildpack.cloudfoundry.org/tomcat/tomcat-8.0.38.tar.gz (found in cache)
2016-12-07T05:58:57.82-0500 [STG/0]      OUT        Expanding Tomcat Instance to .java-buildpack/tomcat (0.1s)
2016-12-07T05:58:57.83-0500 [STG/0]      OUT -----> Downloading Tomcat Lifecycle Support 2.5.0_RELEASE from https://java-buildpack.cloudfoundry.org/tomcat-lifecycle-support/tomcat-lifecycle-support-2.5.0_RELEASE.jar (found in cache)
2016-12-07T05:58:57.83-0500 [STG/0]      OUT -----> Downloading Tomcat Logging Support 2.5.0_RELEASE from https://java-buildpack.cloudfoundry.org/tomcat-logging-support/tomcat-logging-support-2.5.0_RELEASE.jar (found in cache)
2016-12-07T05:58:57.83-0500 [STG/0]      OUT -----> Downloading Tomcat Access Logging Support 2.5.0_RELEASE from https://java-buildpack.cloudfoundry.org/tomcat-access-logging-support/tomcat-access-logging-support-2.5.0_RELEASE.jar (found in cache)
2016-12-07T05:59:00.00-0500 [STG/0]      ERR
2016-12-07T05:59:11.04-0500 [STG/0]      OUT -----> Uploading droplet (57M)
2016-12-07T05:59:20.35-0500 [DEA/0]      OUT Starting app instance (index 0) with guid 37aeb982-ca36-4f18-93ac-862abd2480da
2016-12-07T05:59:28.16-0500 [App/0]      OUT [CONTAINER] org.apache.coyote.http11.Http11NioProtocol         INFO    Initializing ProtocolHandler ["http-nio-61099"]
2016-12-07T05:59:28.19-0500 [App/0]      OUT [CONTAINER] org.apache.catalina.startup.Catalina               INFO    Initialization processed in 872 ms
2016-12-07T05:59:28.20-0500 [App/0]      OUT [CONTAINER] org.apache.catalina.core.StandardService           INFO    Starting service Catalina
2016-12-07T05:59:28.20-0500 [App/0]      OUT [CONTAINER] org.apache.catalina.core.StandardEngine            INFO    Starting Servlet Engine: Apache Tomcat/8.0.38
2016-12-07T05:59:28.24-0500 [App/0]      OUT [CONTAINER] org.apache.catalina.startup.HostConfig             INFO    Deploying web application directory /home/vcap/app/.java-buildpack/tomcat/webapps/ROOT
2016-12-07T05:59:29.69-0500 [App/0]      OUT [CONTAINER] org.apache.jasper.servlet.TldScanner               INFO    At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them.
Can you get into the container and see if you can access couchdb? Do you have any security groups blocking the outbound connect?

Thanks Michael. config.properties looks good and not modified. I can access the couchdb from the runner vm. There is no security groups settings in my network.
I see that these are iptables rules for the containers on the runner vm and the allowed destination ip range for each containers excludes<IP_ADDRESS>/8 and <IP_ADDRESS>/16. my couchdb ip is<IP_ADDRESS>. maybe this is the root cause, but i don't know how to modify the defualt allowed networks for new containers.

You have to fix your default security group rule.

Do you mean this doc https://docs.cloudfoundry.org/adminguide/app-sec-groups.html ? Any specific section? Thanks a lot.

The default security group only allows communication to public networks. You need to add access to private networks. See the example they have in the provided docs you linked above.

Thanks @fraenkel a lot. My problem is solved after adding a security group for CouchDB server.
cf create-security-group my-priviate-sg my-priviate-sg.json
cf bind-security-group my-priviate-sg ORG SPACE

cat my-priviate-sg.json
[
  {
    "protocol": "tcp",
    "destination": "<IP_ADDRESS>-<IP_ADDRESS>",
    "ports": "5984",
    "description": "internal CouchDB"
  }
]


Scheduling/Tiling Reductions

AlphaZ does not currently allow for explicitly scheduling or tiling reductions. This is a very important feature that we will need to add soon.

You are right, let's talk about how to do this.
For many years, we have been developing AlphaZ as a HiTL system for researchers to explore different strategies, and tackle open problems.
It is also important to provide some default implementation that is better than the demand driven, and uses less memory than single assignment (e.g., a 2-D stencil should only use quadratic memory, not cubic)


Width and height mix-up

Looking at line https://github.com/Thinklab-SJTU/R3Det_Tensorflow/blob/1d4ba8faf0ed5531e9a0559d8fc733194600e3dd/libs/detection_oprations/anchor_target_layer_without_boxweight.py#L69 (lines 67-70), I'd say that there is an inconsistency in the indexing.
Since x_c = (anchors[:, 2] + anchors[:, 0]) / 2 (and from other code and comments), I assume that anchors[:, 0] are the minimum x values for each anchor, i.e. the left border, while anchors[:, 2] represents the right border.
However, subsequently we have that
h = anchors[:, 2] - anchors[:, 0] + 1
I think this should be
w = anchors[:, 2] - anchors[:, 0] + 1
Note: I have not run the code. This is just based on code inspection.

There is no problem with the code you are referring to. The wh in the two places does not refer to the same thing. @kriskorrel-cw

There is no problem with the code you are referring to. The wh in the two places does not refer to the same thing. @kriskorrel-cw

Sorry, I don't understand. Could you elaborate? To my understanding, these lines of code should convert the anchors in (x1, y1, x2, y2) or (x_min, y_min, x_max, y_max) format to (x_center, y_center, width, height, (theta)) format, but instead converts to  (x_center, y_center, height, width, (theta)) format. Or am I wrong?

The w and h in line 69 are related to the opencv default definition box (x, y, w, h, theta). When one (xmin, ymin, xmax, ymax) is converted into a five-parameter representation, the angle is -90 , W refers to the side of the horizontal box parallel to the y axis, that is, w=(ymax-ymin). @kriskorrel-cw

You have to be clear about the definition of the box of opencv, the angle range is [-90,0). W specifically refers to the side at an acute angle (including a right angle) with the x-axis. @kriskorrel-cw

You have to be clear about the definition of the box of opencv, the angle range is [-90,0). W specifically refers to the side at an acute angle (including a right angle) with the x-axis. @kriskorrel-cw

👍

@kriskorrel-cw


Using systemuicontroller 0.24.6-alpha version, cannot preview normally in library

Describe the bug
Using systemuicontroller 0.24.6-alpha version, cannot preview normally in library
To Reproduce

Create a new Android library
Configure compsoe support in the library
Create a new preview function, which can be previewed normally
Add library: implementation "com.google.accompanist:accompanist-systemuicontroller:0.24.6-alpha"
After changing the content in the preview, it cannot be previewed normally
Reduce the systemuicontroller version to 0.19.0, which can be previewed normally

Hi, what error are you seeing in the preview window?

Hello, the error is shown in the figure。
---Original---
From: "Alex @.>
Date: Sat, Apr 16, 2022 01:09 AM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [google/accompanist] Using systemuicontroller 0.24.6-alphaversion, cannot preview normally in library (Issue #1130)
Hi, what error are you seeing in the preview window?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

It doesn't look like there's an image or error attached to your last comment.

Could you include the full exception? Does the stacktrace lead to a line in accompanist/systemuicontroller?


fix: do not run smoke tests on 1.9 nightly

Workaround to skip the execution of an action which is missing on release-1.9 branch.
Closes #3613

Release Note
NONE

I am merging this to see if it fixes during next nightly build. Any concern with it, we may keep discussing on #3613


tHW added

in order for CircleCI tests "misc" to succeed

is there anything else which hinders the approval?


ZomboDB SQLa adapter

Make a sqlalchemy plugin for building queries against a ZomboDB postgres table.

https://github.com/xxxbobrxxx/sqlalchemy_zombodb


[BUG] request.DATA usage removed in Django Rest Framework 3.2

Using django-rest-auth 4.0, and upgraded to djangorestframework 3.2 and received the following exception when testing the registration route:

NotImplementedError at /rest-auth/registration/
request.DATA has been deprecated in favor of request.data since version 3.0, and has been fully removed as of version 3.2.

request.DATA is appears to be called from rest_framework/request.py line 40.

Hi!, yes the same bug here
on views.py
class Login(GenericAPIView):
def post(self, request, *args, **kwargs):
self.serializer = self.get_serializer(data=self.request.DATA) # This line request.DATA

There is already a pull request by @alacritythief solving this.
https://github.com/Tivix/django-rest-auth/pull/94

Thanks.

Is pip package updated on this issue?

C'mon I have the same issue, this version is unsable with django-tests at all.

I followed stack trace of error and just replaced request.DATA with request.data in those files which generated errors as per the stack trace. Then It worked fine for me. However I dont know whether it is compatible with django-tests. May be request.DATA have to be replaced with request.data for django-tests.

Ok it does work from master branch, putting git repo link to requirements.txt solved it.


Updated the interceptor version to v1alpha1

updated the interceptor version to match the CRD on the cluster
names:
categories:
- tekton
- tekton-triggers
kind: Interceptor
listKind: InterceptorList
plural: interceptors
shortNames:
- ni
singular: interceptor
scope: Namespaced
versions:

name: v1alpha1
schema:
openAPIV3Schema:
type: object
x-kubernetes-preserve-unknown-fields: true
served: true
storage: true
subresources:
status: {}

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

Project coverage is 39.75%. Comparing base (3ed2b12) to head (d6a2857).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #320   +/-   ##
=======================================
  Coverage   39.75%   39.75%
=======================================
  Files          22       22
  Lines        1738     1738
=======================================
  Hits          691      691
  Misses        999      999
  Partials       48       48

/lgtm

/lgtm


Added every missing interval up to two octaves

Noticed that quite a few were missing.  This should now be a full, comprehensive list of intervals and compound intervals up to two octaves

I am sorry this has been ignored. Seems fine to me.