Update apispec-model, asyncapi-circe, ... to 0.11.4

About this PR
📦 Updates

com.softwaremill.sttp.apispec:apispec-model
com.softwaremill.sttp.apispec:asyncapi-circe
com.softwaremill.sttp.apispec:asyncapi-circe-yaml
com.softwaremill.sttp.apispec:asyncapi-model
com.softwaremill.sttp.apispec:openapi-circe
com.softwaremill.sttp.apispec:openapi-circe-yaml
com.softwaremill.sttp.apispec:openapi-model

from 0.6.3 to 0.11.4
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

🔍 Files still referring to the old version number
The following files still refer to the old version number (0.6.3).
You might want to review and update them manually.
docker-compose.yml

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.softwaremill.sttp.apispec" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.softwaremill.sttp.apispec" }
}]

labels: library-update, early-semver-major, semver-spec-minor, version-scheme:early-semver, old-version-remains, commit-count:1

Superseded by #524.


Motion and trajectory forecasting

Thanks for your excellent work which quite helpful.
I am just wondering that if TimesNet can easily be transferred to other tasks with higher dimension input features.
E.g. Human motion prediction (6D with 6 different human joints) or Trajectory prediction (2D with (x,y) coordinates).
Thank you so much if you can share some considerations.

Hi, it is worth a try.
In our experiments, the UEA classification contains the gesture dataset. TimesNet can deal with this type of data well.


Custom quaternion and float4x4 attributes are not exported, Blender 4.2

Describe the bug
In Blender 4.2, when exporting a mesh with custom vertex attributes to gltf, its Quaternion and Float4x4 attributes are missing.
To Reproduce
I have created a minimum project demonstrating this: a cube has 5 custom vertex attributes:
"_foo_float":    float
"_foo_color":    float rgba color
"_foo_vec3":   float vec3
"_foo_q4":    quaternion
"_foo_mat4x4":    float4x4

Open the project, run "set_attributes.py" in scripting window to assign random values to them.
Select the cube, then File->Export->glTF 2.0, tick Include Selected Object, and Data->Mesh->Attributes, export.
Check the content of generated gltf file. Custom attribute "_foo_q4" and "_foo_mat4x4" are missing. Both .glb and .gltf exporting have this issue. The other custom attributes are exported with correct values.

Expected behavior
If working correctly, all custom attributes with their name starting with underscore will be exported.
Screenshots
Attribute list:

"_foo_q4" and "_foo_mat4x4" are missing:

.blend file/ .gltf (mandatory)
cube_with_attributes.zip
Version

OS: Windows10
Blender Version: 4.2

Additional context
Also, for some reason, importing the resultant cube.glb or cube.gltf model into blender will fail. I haven't tried on other blender versions and platforms.

Confirmed.
Matrix custom attributes are new in 4.2, and I didn't manage it yet in this exporter.
Setting as enhancement


java: package com.vaadin.flow.component.dependency does not exist

I'm beginner for vaadin. just tried to build. and got error message as below:
C:\Projects\my-todo\src\main\java\com\example\application\Application.java:3:44
java: package com.vaadin.flow.component.dependency does not exist

That sounds like an IDE issue. You might want to try to close the project, delete the .idea directory, and reopen the project again.

for some reason, the issue still persists

That's weird. My best guess is that it's something with the IDE still. (the project works fine for me on IntelliJ).
Could you try running this starter: https://github.com/vaadin/skeleton-starter-flow-spring/archive/refs/heads/v23.zip?
If the error still appears, then you might want to try to run the project from a command terminal (outside the IDE), using mvn command.


PERF: Use itkGetConstMacro for getting 1D FFT direction

Prompted by discussion in https://github.com/InsightSoftwareConsortium/ITK/pull/2805.

PR Checklist

[x] No API changes were made (or the changes have been approved)
[x] No major design changes were made (or the changes have been approved)

Refer to the ITK Software Guide for
further development details if necessary.

A deprecation cycle is needed tagging @N-Dekker.

@tbirdso By the way, why did you use the "PERF" prefix? I wouldn't directly expect a significant performance improvement when switching from itkGetMacro to itkGetConstMacro, looking at https://github.com/InsightSoftwareConsortium/ITK/blob/v5.3rc01/Modules/Core/Common/include/itkMacro.h#L964-L974  So I think I would use the "STYLE" prefix instead.


Change of Copyright notice

Hello! Can you change Copyright notice in your MIT License to software dio and add the name and the surname of author, bacause the author's nickname "wendux" can be changed in the future and this can make it difficult to identify the copyright owner of your software. Thank you in advance

@wendux ping


HADOOP-18894: upgrade sshd-core due to CVEs.

Description of PR
JIRA: HADOOP-18894: upgrade sshd-core due to CVEs.
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

@pjfanning #6060 cannot be compiled properly. I will attempt to submit a PR, and if it compiles successfully, I will merge #6060.
cc: @Hexiaoqiao

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 21s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  1s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+0 :ok:
xmllint
0m  0s

xmllint was not available.

+0 :ok:
shelldocs
0m  0s

Shelldocs was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+0 :ok:
mvndep
13m 49s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
19m 35s

trunk passed

+1 :green_heart:
compile
8m 15s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
compile
7m 36s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
checkstyle
1m 59s

trunk passed

+1 :green_heart:
mvnsite
11m 57s

trunk passed

+1 :green_heart:
javadoc
4m 43s

trunk passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
4m 53s

trunk passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+0 :ok:
spotbugs
0m 13s

branch/hadoop-project no spotbugs output file (spotbugsXml.xml)

+1 :green_heart:
shadedclient
35m 30s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 28s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
17m 26s

the patch passed

+1 :green_heart:
compile
8m  3s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javac
8m  3s

the patch passed

+1 :green_heart:
compile
7m 25s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+1 :green_heart:
javac
7m 25s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m 53s

the patch passed

+1 :green_heart:
mvnsite
6m 48s

the patch passed

+1 :green_heart:
shellcheck
0m  0s

No new issues.

+1 :green_heart:
javadoc
4m 32s

the patch passed with JDK Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04

+1 :green_heart:
javadoc
4m 57s

the patch passed with JDK Private Build-1.8.0_392-8u392-ga-1~20.04-b08

+0 :ok:
spotbugs
0m 14s

hadoop-project has no data from spotbugs

+1 :green_heart:
shadedclient
35m 22s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
633m  2s
/patch-unit-root.txt
root in the patch passed.

+1 :green_heart:
asflicense
0m 48s

The patch does not generate ASF License warnings.

837m 26s

Reason
Tests

Failed junit tests
hadoop.hdfs.server.datanode.TestDirectoryScanner

hadoop.yarn.server.timelineservice.security.TestTimelineAuthFilterForV2

Subsystem
Report/Notes

Docker
ClientAPI=1.44 ServerAPI=1.44 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6472/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6472

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient codespell detsecrets xmllint spotbugs checkstyle shellcheck shelldocs

uname
Linux cb98c4030509 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / bea9fa5b494a2c43cc9c007e53adbd3650f21f3c

Default Java
Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.21+9-post-Ubuntu-0ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_392-8u392-ga-1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6472/1/testReport/

Max. process+thread count
3941 (vs. ulimit of 5500)

modules
C: hadoop-project hadoop-common-project/hadoop-common . U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6472/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2 shellcheck=0.7.0

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

https://github.com/apache/hadoop/pull/6060 merged

#6060 has been merged, #6472 will be closed.


Added batch queries

This is in relation to this pull request in clickhouse https://github.com/yandex/ClickHouse/pull/6710
I just wanted to have this ready.

This PR violates contract of Statement interface.

typically this is a SQL INSERT or UPDATE statement
https://docs.oracle.com/javase/8/docs/api/java/sql/Statement.html#addBatch-java.lang.String-

Throws BatchUpdateException (a subclass of SQLException) if one of the commands sent to the database fails to execute properly or attempts to return a result set.
https://docs.oracle.com/javase/8/docs/api/java/sql/Statement.html#executeBatch--

Constants SUCCESS_NO_INFO, EXECUTE_FAILED are not used.

@alex-krash You are so right.  Will fix.

I'll open a new PR later.  Seems it might be a while.


chore : Added link for QR Code generator

Fixes Issue

Closes #1124

Changes proposed
Added QR Code Generator using ControlNet
Screenshots

@rupali-codes Can you please review the PR.


Numbers not being placed inside square root symbol in chrome

Issue Summary
works fine in IE,
Steps to Reproduce:
Technical details:

MathJax Version: 3.0.1
Client OS: windows 10 home 1903
Browser: Chrome Version 85.0.4183.83

Supporting information:

16

this produces:

You have not provided sufficient information to address your issue.  You have left the bug report template without adding any of the details specific to your situation.

Sorry, the code is:
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">   <mrow>     <msqrt>       <mn id="var1">16</mn>     </msqrt>   </mrow> </math>

Well, the equation helps, but you have not indicated anything about your configuration.  Are you using version 2 or version 3?  What output renderer?  What OS are you running on.
your equation works fine for me in Chrome (84.0.4147.135) on Mac OS X (10.14.5):

There may be CSS or other features of your page that are interfering with MathJax.  Perhaps you can link to a page that exhibits the problem you are seeing?

MathJax Version: 3.0.1
Client OS: windows 10 home 1903
Browser: Chrome Version 85.0.4183.83
I have found that the problem only occurs when I change the number using
document.getElementById("var1").innerHTML = y;
If I just put a a number in the the tags it works fine but if try to change the number using JS then the problem occurs.

Here is the full code for the page:

<meta charset="UTF-8">
<title>Title</title>

125

Ah, you see, you left out the most important information in your earlier posts!  The fact that you are modifying the expression is the key issue, because the original MathML has been replaced by either HTML or SVG output by MathJax (depending on the configuration you are using, which in your case would be HTML).  By replacing the innerHTML of the element with id var1, you are actually replacing some of the MathJax output, which is more complicated than just some text (which is what you are replacing it with).
MathJax does not provide an API for altering sub-formulas of a typeset expression, so you will not be able to do what you are trying to do (at least not the way you are doing it).  Instead, you must replace the entire expression (the whole <math> element), and have MathJax re-typeset it.
In your example, it may be sufficient to simply put off typesetting until after your expression has been altered (it is not clear if you are going to be chasing the question multiple times.)  In this case, you can simply tell MathJax not to typeset the page initially, and then when you have modified the page, ask MathJax to typeset it.  Here is an example that implements that:
<!DOCTYPE html>

<meta charset="UTF-8">
<title>Delay typesetting until the math is ready</title>

  <math xmlns="http://www.w3.org/1998/Math/MathML">
    <msqrt>
      <mn id="var1">125</mn>
    </msqrt>
  </math>

If you will be making multiple changes to the question, then you need a different approach.  One possibility would be to have a "template" <math> element to which you make changes, then clone it and insert it into the page, and finally re-typeset it.  Here is an example that implements that:
<!DOCTYPE html>

<meta charset="utf-8" />
<title>Use MathML template</title>

<input id="newQuestion" type="button" value="New Question" onclick="showQuestion()" disabled />

Perhaps one of these will do what you need.

Thanks you for your help.


Dragging element outside of iFrame, and then releasing, causes drag to not stop

STR

Put react-draggable in an iFrame with an element
Put that iFrame on a parent page
Drag that element off of the iFrame, and then release
Move cursor back to the iFrame

Actual Results: Drag is still happening
Expected Result: Item to no longer be dragging
It also looks like the onStop handler isn't being called.
I reproduced this in
Chrome 68.0.3440.106 (Official Build) (64-bit)
MacOS High Sierra 10.13.6

Seconding this, the issue is present on Edge & Chrome (Firefox is ok).
Seems to be the same issue as jquery draggable, which is fixed on the later by setting the option iframeFix to true. Would be nice to have the same behavior. Thanks.

How is the fix now? Does any body work on it? I meet the same problem and I don't know how to set the iframeFix.

I find the solution as referred to https://www.cnblogs.com/lovesong/p/3367322.html
// js

  onDragStart = () => {
    this.setState({ isDragging: true })
  }
  onDragStop = (e, d) => {
    this.onDrag(e, d)
    this.setState({ isDragging: false })
  }

// jss / css
cover: {
    zIndex: 1000,
    position: 'absolute',
    top: 0,
    left: 0,
    width: '100%',
    height: '100%'
  }

// when dragging, add a cover to the iframe
{isDragging && <div className={classes.cover} />}

Hello @drewjenkins @simlmx @emaborsa could you please help with solution if it's closed or any solution works for it.
Thanks in advance :)


[BUG] The node IP cannot be obtained correctly when deploying the okd cluster node

What is the bug(with logs or screenshots)?
When RSS is deployed on the node of the okd cluster, the node IP cannot be obtained correctly after the master is started
How to reproduce the bug?
Prerequisite: a deployed okd cluster, version 4.10
1.Select the node of the okd cluster as the RSS deployment environment, configure it according to the official guidelines, and then start the RSS master
2. Use netstat - tuanp to view the port monitored by the master. You will find that the monitored IP is not the node IP
Could you share logs or screenshots?

rss.master.address is for client，you can try --host xxx，or set environment variable RSS_MASTER_HOST to bind host when start master


[CLI] support gateway host #20423

This PR is for:

CLI

support gateway host
Checklist

[ ] Added unit test.

Backport to branches

main
v6.1

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zhengya seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Adding additional logging - perf recording

Plugging a long gap in logs from a customer report of slow token requests. There is currently no non-verbose logging during cloud discovery

I’m wondering if we can insert perf markers here of if it isn’t supported yet.

Not on this branch, but @paulkagiri this would be good to have on dev


Tensorflow 1.4.1 on Linux (CentOS-7.4) and Tensorflow 1.4.1 on MacOSX producing very different results in image creation simulation.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No.

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Linux CentOS-7.4 and MacOSx 10.10.5

TensorFlow installed from (source or binary): Both; Installed from binary, then, built and installed from source. Same behaviour on each install.

TensorFlow version (use command below):
Tensorflow 1.4.0 and Tensorflow 1.4.1

Python version:
2.7.14 (installed from binary, and then built and installed from source

Bazel version (if compiling from source):
Bazel 0.9.0.  Source built and installed successfully, Python .whl file built & installed successfully.

GCC/Compiler version (if compiling from source):
Xcode7.2.1 and the Gnu gFortran, 5.2.  (needed gFortran for SciPy install.  All installs OK.)

CUDA/cuDNN version:
N/A - compiled and running CPU versions only for now.

GPU model and memory:

Exact command to reproduce:
(See supplied test program - based on the Laplace PDE ("Raindrops on Pond") simulation example
from Tensorflow Tutorial)

Description of Problem:
I've run into a curious situation.  I am getting very different behaviour in Tensorflow 1.4.1 on Linux and Tensorflow 1.4.1 on MacOSX, in straightforward image-generation simulation, based on the "Raindrops on a Pond" (Laplace PDE) example from the Tensorflow Tutorial.
I must stress that both Tensorflow installations seem to be 100% correct, and operate other tests correctly, producing the same numeric results for simple models.
I have also built Tensorflow 1.4.1 completely from source, and the Python 2.7.14 as well, on the MacOSX (MacBook) machine, in order to build the Python using "--enable-unicode=ucs4", since that was one difference I was able to find, between the two version.  But even with the Macbook now running exactly the same Python 2.7.14 as the Linux box, I am still getting wildly divergent evoluationary behaviour as when I iterate the simple simulation.   The numbers just zoom off in very different directions on each machine, and the generated images show this.
On the MacOSX, the simulation evolves very quickly to a pure white canvas (all "255"s), but on the Linux platform, the image grows more complex, with the generated numbers bifurcating between large negative and large positive - and hence when np.clip-ed, to range 0-255, show a complex moire-style pattern.
I have confirmed all related libraries and packages seem to be the same versions.  The difference seems to be in the operation of Tensorflow.
This seems pretty serious, as each platform is Intel.  The Linux box (CentOS-7.4) is Core-i3, while the Macbook is Core-i5.  But both are 64-bit, and both Tensorflow installations seem to be correct.  I have tried both the binary version, and then built a complete local version of Tensorflow 1.4.1 for the Macbook from source.  Both seem to be Ok, and operate correctly.  The Linux version of Tensorflow 1.4.0 was installed from binary appears to be operating correctly, albeit differently, but just for this one program.
When the sample program runs, it will display fourteen 400x400 images, as well as the numeric values of the row-20 of the "a" array (400 numbers).   The program can be started from an Xterm shell window, with "python LapTest.py".  It does not need Jupyter or IPython.  With SciPy loaded, the images are rendered as .PNG files on both platforms, using Preview on the MacOSX MacBook, and ImageMagick on the CentOS-7.4 Linux box.   Program runs fine to completion, and all looks ok on both machines.
But the results - even with the simple initial pseudo-random conditions - evolve completely differently, and consistantly.  The Macbook version of Tensorflow 1.4.1 goes to a pure white screen, while the LInux Tensorflow 1.4.1 configuration evolves to a complex, chaotic, moire-pattern.
Leaving aside the question of even which machine is "correct", the expected result is of course that both machines should at least show clear evidence of similar behaviour.
No change was made to the test program, "LapTest.py", from one machine to the other.   The different behaviour is not related to how the images are displayed, which is working fine on both platforms.   A copy of this simple program is provided.   I have removed or commented out the IPython/Jupyter dependent code, so this program can be run on plain vanilla Python 2.7.14, as long the appropriate packages (tensorflow, numpy, scipy, PIL (Pillow version), matplotlib, imageio ...) are available
Example of Source code to demostrate behaviour:     LapTest.py
#-------------------------------------------------------------------------------
# Prgm: LapTest.py
#
# --- the Tensorflow LaPlace Image example (Uses PIL(Pillow ver.), and numpy)
# --- updated for TensorFlow 1.4.1 running on CentOS-7.4 & Python 2.7.14
#     compiled (configured, actually) with the "--enable-unicode=ucs4" option
#                                             (Python compile default is ucs2)
#                                             (which caused TensorFlow 1.4 to)
#                                             (fail to load. Building Python )
#                                             (with ucs4, => pip can install )
#                                             (TensorFlow 1.4.0 successfully.)
#
# --- This version of program tested on: MacOSX 10.10.5. (Yosemite)
# --- LapTest.py on Linux (CentOS-7.4), and LapTest.py on MacOSX, with Tensorflow-1.4.1 and
#     Python 2.7.14 (with ucs4 enabled on both Python versions), show *very*
#     different behaviour, and produce very different results.
#     Note: CentOS-7.4 is using Linux kernel: 4.14.9-1el7.elrepo.x86_64
#
# --- Import various libraries for simulation
import tensorflow as tf
import numpy as np
import scipy.misc
import imageio
import os
import sys
import subprocess
import PIL
import time

# --- Import for visualization and jpeg encoder
import matplotlib
matplotlib.rcParams["backend"]= 'TkAgg'
from matplotlib import pyplot as plt
# from PIL import Image, ImageDraw
from io import BytesIO
#  from IPython.display import clear_output, Image, display

#--- we need this to get a sane for-loop...
def jump_range(start, end, step):
    while start <= end:
        yield start
        start += step

# --- function for displaying state of the pond's surface as an image
def DisplayArray(a, fmt='jpeg', rng=[0,1]):
  global proc
  # proc.kill()
  # """Display an array as a picture. """
  a = (a - float(rng[0]))/float(rng[1] - rng[0])*37
  amod = np.clip(a, 0, 255)
  a = np.uint8(amod)
#  a = np.clip(a, 0, 255)
#  a = np.uint8(a)
#  np.clip(a, 0, 255, out=a )
#  a = a.astype('uint8')
  print " "
  print " ----------- This is a: => row 20  ------------"
  print a[20]
  print " ----------------------------------------------"
  f = BytesIO()
  # --- this is the cool, realtime thing that runs in Jupyter-IPython Notebook
  PIL.Image.fromarray(a).save(f,fmt)
  # --- clear_output(wait = True)  --- only for IPython
  # display(Image(data=f.getvalue()))
  # --- write the image
  # --- write the simulation images to .jpg files
  scipy.misc.imsave("tensor.jpg", a)
  pic = PIL.Image.open("tensor.jpg")
  # --- new approach... use subprocess, wait for time(2) then kill it
  # proc = subprocess.Popen(["display", "./tensor.jpg"])
  # time.sleep(0.5)
  pic.show()
  # clear_output(wait=True)
  # --- this line below doesn't work outside of the Jupyter environment...
  # display(Image(data=f.getvalue()))
  #
  # pic.close()  <--- does not work to close image.  Just removes the pointer to image in memory

def DisplayArrayToFile(a, fmt='jpeg', rng=[0,1]):
  # """Display an array as a picture to a file... """
  a = (a - rng[0])/float(rng[1] - rng[0])*37
  a = np.uint8(np.clip(a, 0, 255))
  f = BytesIO()
  # --- this is the cool, realtime thing that runs in Jupyter-IPython Notebook
  PIL.Image.fromarray(a).save(f,fmt)
  # clear_output(wait = True)
  # display(Image(data=f.getvalue()))
  # --- write the image
  # --- this is my stuff to write the simulation images to .jpg files
  #scipy.misc.imsave ("tensor_new.jpg", a)
  imageio.imwrite("tensor_new.jpg", a)
  # --- image = PIL.Image.open("tensor_new.jpg")
  # --- image.show()
  # clear_output(wait=True)
  # display(Image(data=f.getvalue()))
  #

# --- make print stmt print the whole array... (not just part of it...)
np.set_printoptions(threshold=np.nan)

# --- make interactive session for testing - can use regular session also
sess = tf.InteractiveSession()
# sess = tf.Session()

# --- computational functions go here... once we get jpeg pic working
def make_kernel(a):
  """Transform a 2D array into a convolutional kernel """
  a = np.asarray(a)
  a = a.reshape(list(a.shape) + [1,1])
  return tf.constant(a, dtype=1)

def simple_conv(x, k):
  """ A simplified 2D convolutional operation """
  x = tf.expand_dims(tf.expand_dims(x, 0), -1)
  y = tf.nn.depthwise_conv2d(x, k, [1, 1, 1, 1], padding='SAME')
  return y[0, :, :, 0]

def laplace(x):
  """Compute the 2D laplacian of an array """
  laplace_k = make_kernel([[0.5, 1.0, 0.5],
                           [1.0, -6., 1.0],
                           [0.5, 1.0, 0.5]])
  return simple_conv(x, laplace_k)

# --- Define the PDE - the pond surface is a perfect 400x400 square
N = 400

# --- list of display points...
dispval = jump_range(0, 12500, 1000)
# --- dispval has to be a list...
dispval = list(dispval)
print "We will look at these values: ",dispval

# --- now, we create some "raindrops"
# --- Initial Conditions -- some rain drops hit the pond
# --- set everything to zero
u_init = np.zeros([N, N], dtype=np.float32)
ut_init = np.zeros([N, N], dtype=np.float32)

# Some material accretion occurs (raindrops hit pond) at random points
for n in range(40):
  a,b = np.random.randint(0, N, 2)
  u_init[a,b] = np.random.uniform()

# --- Create and Display the jpeg image...
# proc = subprocess.Popen(["display", "./tensor.jpg"])
# DisplayArray(u_init, rng=[-0.1, 0.1])

# Parameters
# eps -- time resolution
# damping -- wave damping
eps = tf.placeholder(tf.float32, shape=())
damping = tf.placeholder(tf.float32, shape=())

# --- Create vaiables for simulation state
U  = tf.Variable(u_init)
Ut = tf.Variable(u_init)

# --- Discretized PDE update rules
U_  = U + eps * Ut
Ut_ = Ut + eps * (laplace(U) - damping * Ut)

# --- Operation to update the state
step = tf.group(
  U.assign(U_),
  Ut.assign(Ut_))

# --- Run the simulation forward with a simple FOR loop.
# --- Initialize state to initial conditions
tf.global_variables_initializer().run(session=sess)

# --- Run 12701 steps of PDE
for i in range(12701):
  # Step simulation  (damping was 0.04, I made it negative .14)
   with sess.as_default(): step.run( {eps: 0.03, damping: -0.14})
# --- to see everything...
#   with sess.as_default(): print "U.eval()   .... ", U.eval()[20]  # --- ,"   ", Ut.eval()
# ------

   if (i in dispval) :
       with sess.as_default(): DisplayArray(U.eval(), rng=[-0.1, 0.1])
       print "                                ------ For iteration:  ",i
       sys.stdout.flush()
       print "U.eval()   ....... "
       with sess.as_default(): print   U.eval()[20]      # --- ,"   ", Ut.eval()
       print "                                --- End of iteration:  ",i
       sys.stdout.flush()
       continue
#
# --- to show each iteration...
#  with sess.as_default(): DisplayArray(U.eval(), rng=[-0.1, 0.1])
print "Done at: ",i

# --- Ok, we are done...
with sess.as_default(): DisplayArray(U.eval(), rng=[-0.1, 0.1])

with sess.as_default(): DisplayArrayToFile(U.eval(), rng=[-0.1, 0.1])
print "Last Image Written to file: tensor_new.jpg. Done."
#--------------- done ------------------

If someone could try this program on a supported version of Linux (ie. the Ubuntu version that TensorFlow officially supports), that would be helpful.  I am running a recent version of the Linux kernel on the CentOS-7.4 box  (uname -a reports: kernel version 4.14.9-1.el7.elrepo.x86_64 ).  Really like to nail down what is happening.  I have attached images of results I am seeing on the two machines, first the Linux box, second is the Macbook.

@skye awaiting response or awaiting tensorflower?

Ah sorry, I didn't read through the thread carefully enough. @lewisl thank you for digging into this and finding a solution! @MarkDaoust are you in charge of docs? It sounds like there are numerical problems running TF on MacOS Yosemite, which we may wanna warn about in the docs (see @lewisl's comment above this one, starting with "Cracked it.").

Wow this is quite a thread... what would be the right way to document this? A note on the install_mac  page? Can someone with a little more context suggest the text?

Wow indeed: @Gemesys, this is excellent numerical detective work!
@MarkDaoust I think that the install_mac page is a good place to start. It seems to me like our baseline requirement is already MacOS X 10.11 (El Capitan) or higher.
The most numerically conservative thing to do would be to raise the minimum required version to 10.12.6 (Sierra) as @Gemesys reports. That seems pretty narrow, as Sierra has only been out since 13 June 2016.
If we don't want to make TF drop support for El Capitan early, then I'd suggest making the recommendation line longer:
* macOS X 10.11 (El Capitan or higher) is supported. Note that there are accuracy-affecting numerical issues before macOS X 10.12.6 (Sierra) that are described in [GitHub#15933](https://github.com/tensorflow/tensorflow/issues/15933#issuecomment-366331383), so 10.12.6 or higher is preferred.

I'm happy to drop support for El Capitan. Apple is pretty good about making sure people can upgrade, the upgrades are free, and I'd think not too many users remain on El Capitan. I would still add a warning to the install page to motivate it, since installation will actually work fine.
Note that there are known accuracy-affecting numerical issues before macOS X 10.12.6 (Sierra) that are described in [GitHub#15933](https://github.com/tensorflow/tensorflow/issues/15933#issuecomment-366331383).

It would be interesting to find out more about how the OS can play any role here. After all, the floating-point control word is a CPU feature, not an OS feature. There have been cases where OSes or drivers still managed to corrupt such CPU state by means of interrupts, or alternatively, one could imagine that some OS might have a buggy implementation of saving/restoring registers in context-switches... it would be interesting to find that out.

Is this issue resolved after the fix?

Nagging Awaiting Response: It has been 14 days with no activityand the awaiting response label was assigned. Is this still an issue?

Is this issue resolved after the fix?

The docs are updated on versions/master/ is that a sufficient resolution?

Is this issue possibly related to what I found for other kinds of problems with OSX10.11 (El Capitan)?
BLAS function returns zero in Fortran90
https://stackoverflow.com/questions/50316681/blas-function-returns-zero-in-fortran90/50333035#50333035
(This seems to be related to Apple's Accelerate Framework, because OpenBLAS does not
show the problem.)
Slowdown of pi calculation when Timer is used
https://stackoverflow.com/questions/47561759/slowdown-of-pi-calculation-when-timer-is-used
(The problem seems to be with clang <= 8.0, because clang >= 9 does not show the problem according to the comments in the Q/A.)


Using zip files as regular folders in Vscode Explorer

Would it be possible to clone behavior of Windows Explorer with .zip files (seamlessly using them as folders) in vscode Explorer?
So instead of need to extract or mount (with add-ons) zip files they can be quickly opened and explored.

/duplicate #https://github.com/microsoft/vscode/issues/75559


Add "--file-path-only" flag that prints only paths of files with CVEs

Fixes #55

With this change, running the CLI with crawl --file-path-only --summary=false will result in the CLI printing just the file paths of the CVE files, one per line. Example:
➜ ./godelw run log4j-sniffer -- crawl --file-path-only --summary=false examples
/usr/local/go/bin/go run -ldflags -X github.com/palantir/log4j-sniffer/cmd.Version=1.1.0-2-g5e24bd2.dirty /Volumes/git/go/src/github.com/palantir/log4j-sniffer/main.go crawl --file-path-only --summary=false examples
examples/cve-2021-44832-versions/log4j-core-2.12.3.jar
examples/cve-2021-44832-versions/log4j-core-2.17.0.jar
examples/cve-2021-44832-versions/log4j-core-2.3.1.jar
examples/cve-2021-45105-versions/log4j-core-2.12.2.jar
examples/cve-2021-45105-versions/log4j-core-2.16.0.jar
examples/fat_jar/fat_jar.jar
examples/inside_a_dist/wrapped_log4j.tar
examples/inside_a_dist/wrapped_log4j.tar.bz2
examples/inside_a_dist/wrapped_log4j.tar.gz
examples/inside_a_dist/wrapped_log4j.zip
examples/inside_a_par/wrapped_in_a_par.par
examples/light_shading/shadow-all.jar
examples/multiple_bad_versions/log4j-core-2.10.0.jar
examples/multiple_bad_versions/log4j-core-2.11.0.jar
examples/multiple_bad_versions/log4j-core-2.11.1.jar
examples/multiple_bad_versions/log4j-core-2.11.2.jar
examples/multiple_bad_versions/log4j-core-2.12.0.jar
examples/multiple_bad_versions/log4j-core-2.12.1.jar
examples/multiple_bad_versions/log4j-core-2.13.0.jar
examples/multiple_bad_versions/log4j-core-2.13.1.jar
examples/multiple_bad_versions/log4j-core-2.13.2.jar
examples/multiple_bad_versions/log4j-core-2.13.3.jar
examples/multiple_bad_versions/log4j-core-2.14.0.jar
examples/multiple_bad_versions/log4j-core-2.14.1.jar
examples/multiple_bad_versions/log4j-core-2.15.0.jar
examples/obfuscated/2.14.1-aaaagb.jar
examples/single_bad_version/log4j-core-2.14.1.jar

In the ideal world I would like to refactor the way the output logic works to make it a bit cleaner -- we're definitely in the territory of config/flag bloat, and I think that anything we can do to translate from flags to outputters earlier on would be nicer from an architecture perspective.
However, even though it's not a complicated change, didn't want to block the implementation of this request on that refactor, so biasing towards putting this PR up first, and can follow on with a separate refactor PR.


GridheatMap is very slow

In recent releases, GridHeatMap is very slow compared to before. This needs to be investigated.

This is not an issue. I was doing something wrong.


Added imageLoadFunction prop definition to SourceImageWMS

Description
As per the official documentation ol-source-image-wms component should support an optional Function prop named imageLoadFunction. This property is supported by ol/source/ImageWMS and simply adding a definition in the Vue component fixes the issue.
This fix just adds the prop definition in the SourceImageWMS component, the component's setup step already takes care of passing the defined and used props to ol/source/ImageWMS.
Motivation and Context
Without defining the supported prop under the component will prevent it from being passed to the OpenLayers module, even if it is set in the component's instance.
How Has This Been Tested?
It has been tested with the relative documentation's example setting the imageLoadFunction prop to a function that fetches the generated url adding auth headers and setting the image src with the relative base64 data.
It can be tested with a simple function that just logs in console and sets the src with the given one as the default behavior.
import { ImageTile } from "ol";

function testImageLoadFunction (tile: ImageTile, src: string): void {
  //TODO log here
  tile.getImage().src = src;
}

Types of Changes

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

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

please update 0.1.70


Disabling all of this for the Firefox fork GNUZilla / GNU Icecat

https://github.com/mozilla-mobile/fenix/issues/14653
https://www.gnu.org/software/gnuzilla/

What rubbish is this?


can't run train.py w/o compiling Cauchy kernel for CUDA

Dear all,
I am having trouble compiling the Cauchy kernel, and although I have installed pykeops, running train.py always results in errors like this:
_RuntimeError: [KeOps] This KeOps shared object has been compiled without cuda support:

to perform computations on CPU, simply set tagHostDevice to 0
to perform computations on GPU, please recompile the formula with a working version of cuda._

The only thing that fixed the issues for me is commenting out the following try/catch. Without that (sorry for its uglyness...) the code never did default back to the slow kernel... now it does, but that is certainly not the right way for me to go about it ;)
I wonder if the try/catch-phrase needs to check whether the kernel actually runs, not just lets itself be imported?
''' try:
import pykeops
from src.models.functional.cauchy import cauchy_conj
has_pykeops = True
except ImportError:
has_pykeops = False
from src.models.functional.cauchy import cauchy_conj_slow
if not has_cauchy_extension:
log.error(
"Falling back on slow Cauchy kernel. Install at least one of pykeops or the CUDA extension for efficiency."
)
'''
has_pykeops = False
from src.models.functional.cauchy import cauchy_conj_slow
if not has_cauchy_extension:
log.error(
"Falling back on slow Cauchy kernel. Install at least one of pykeops or the CUDA extension for efficiency."
)

Your pykeops isn't installed correctly. If you want to go back to the slow kernel, you can simply uninstall pykeops since it isn't being used.
However I would recommend trying to check the pykeops installation by following the instructions on the website. In my experience, your error is most commonly caused by cmake not being installed correctly. Did you pip install pykeops and cmake in a fresh environment?

thank you for your support! I can see the point for sure - but just being able to run the code slowly (to be able to look at the details is a debugger etc.) is very interesting for me, and it's what I've been doing :)
So now I also tried to run w/ pykeops uninstalled, but this throws the following error:
File "[...] /lib/python3.8/site-packages/hydra/_internal/utils.py", line 587, in _locate
raise ImportError(
ImportError: Encountered error: No module named 'pykeops' when loading module 'src.models.sequence.ss.s4.S4'
Maybe, if you'd like to allow for running without an orderly pykeops installation, the one try/catch-place above might be easiest to change, to allow for that, after all?
(But I am also totally fine with closing the issue, maybe putting in a comment somewhere in the doc how to avoid my kind of error?)

Hmm, I haven't encountered this error even when I uninstall pykeops. Would it work if you try a clean installation of the environment but without pykeops? That seems to work for me. Otherwise, I'm not sure what's causing this.
You're right that a better try catch could be to actually try calling the function, but I think it's also useful to have a very explicit error when the installation isn't working. That way people who are actually trying to use S4 for performance won't hit a silent bug when the code seems to be working but is slower than expected.

Thanks again for you help. In the new install, completely without any prior pykeops, the error is indeed caught.

Glad that worked! I'm not sure what caused the issue as uninstalling pykeops still works for me, but at least it works now :)


change return value's name (to responseCount)

change desiredCountReached to responseCount to allow for a more flexible use.

LGTM


Functions v4 isolated - Application Insights dependency tracking cannot be disabled / sampling not working

Application Insights on v4 isolated functions works great after setting it up as described here
The only issue I'm facing is that it seems to be impossible to disable dependency tracking. Sampling options on dependency tracking seem to be ignored as well.
Removing .AddApplicationInsights() from the .ConfigureFunctionsWorkerDefaults seems to be the only way how to stop it (but has some other impact, in particular breaks logging).
host.json / appsetting.json:
{
  "logging": {
    "applicationInsights": {
      "samplingSettings": {
        "isEnabled": true,
        "maxTelemetryItemsPerSecond": 0.1,
        "excludedTypes": "Exception;Trace"
      },
      "enableDependencyTracking": false,
      "logLevel": {
        "default": "Warning",
        "Azure": "Warning",
        "Function": "Warning",
        "Host": "Information",
        "Microsoft": "Warning"
      }
:
:

The settings above are for the host -- you're able to fully control every aspect of App Insights from the worker by configuring the options however you'd like:
funcBuilder
    .AddApplicationInsights(appInsightsOptions =>
    {
        appInsightsOptions.EnableDependencyTrackingTelemetryModule = false;
    });

The settings above are for the host -- you're able to fully control every aspect of App Insights from the worker by configuring the options however you'd like:
funcBuilder
    .AddApplicationInsights(appInsightsOptions =>
    {
        appInsightsOptions.EnableDependencyTrackingTelemetryModule = false;
    });

Already tried this - it is ignored as well.
My appsettings.json in general works fine for any other worker setting. Explicitly added it by
.ConfigureAppConfiguration(c =>
    c.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true);

Basically everything that has to do with DependencyTracking seems to be ignored. All other settings apply as expected.

Do you have an example of a Dependency that is showing up that you want to disable? We're just passing those options to the App Insights SDK so I want to see if there's some gap there.

Sure, here we go:

This is the usage statistics of Application Insights with the changes on the configuration:

(Just let me know in case you prefer a support case or you need a correlation ID)

I just tested this myself and it seemed to prevent DependencyTracking from the worker as expected...
Can you share the sdkVersion of that Dependency telemetry above?
And also can you share what you've got in your Program.cs for wiring this up?

SDK version in the above log entry:
sdkVersion xxxxx-netiso: <IP_ADDRESS>
Nuget:
Microsoft.Azure.Functions.Worker.Sdk 1.7.0
Microsoft.Azure.Functions.Worker 1.10.0
Microsoft.Azure.Functions.Worker.ApplicationInsights 1.1.0-preview3
Program.cs:
using Microsoft.Azure.Functions.Worker;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using System;
using System.Linq;
using System.Threading.Tasks;

namespace xx
{
    public class Program
    {
        public static Task Main()
        {
            var host = new HostBuilder()
                .ConfigureFunctionsWorkerDefaults(builder =>
                {
                        builder
                        //.AddApplicationInsights(o => { o.EnableDependencyTrackingTelemetryModule = false; })
                        .AddApplicationInsightsLogger();

                })
                .ConfigureAppConfiguration(c =>
                {
                    c.AddJsonFile("appsettings.json", optional: true, reloadOnChange: true);
                    c.AddJsonFile("local.settings.json", optional: true, reloadOnChange: true);
                    c.AddEnvironmentVariables();
                    c.Build();
                })
                .ConfigureServices((buildercontext, services) =>
                {
                    services.AddScoped<TableService>();
                    services.AddScoped<BlobService>();
                    services.Configure<LoggerFilterOptions>(options =>
                    {
                        LoggerFilterRule toRemove = options.Rules.FirstOrDefault(rule => rule.ProviderName
                            == "Microsoft.Extensions.Logging.ApplicationInsights.ApplicationInsightsLoggerProvider");

                        if (toRemove is not null)
                        {
                            options.Rules.Remove(toRemove);
                        }
                    });

                }).ConfigureLogging((hostingContext, logging) =>
                {
                    logging.AddConfiguration(hostingContext.Configuration.GetSection("Logging"));
                })
                .Build();

            return host.RunAsync();
        }
    }
}

Ultimately, we're calling AddApplicationInsightsTelemetryWorkerService() with your options. Everything else happens inside the App Insights SDK.
https://github.com/Azure/azure-functions-dotnet-worker/blob/651e9adbf599cbe469b6569df2213ce33ca1f85e/src/DotNetWorker.ApplicationInsights/FunctionsApplicationInsightsExtensions.cs#L29-L32
The way App Insights turns off DependencyTracking is by either skipping the setup here:

https://github.com/microsoft/ApplicationInsights-dotnet/blob/main/NETCORE/src/Shared/Extensions/ApplicationInsightsExtensions.cs#L374

Or disposing that module during startup here:

https://github.com/microsoft/ApplicationInsights-dotnet/blob/main/NETCORE/src/Shared/Implementation/TelemetryConfigurationOptionsSetup.cs#L171-L175

It does look like settings from IConfiguration could influence this as well -- which is the difference between our repros.

https://github.com/microsoft/ApplicationInsights-dotnet/blob/main/NETCORE/src/Shared/Extensions/ApplicationInsightsExtensions.cs#L240-L241

Some debugging thoughts:

Can you try removing your different config setups to see if one of those could be influencing the behavior?
Can you paste a (redacted) appsettings.json and local.settings.json here for me to test? I am set up to step right into that code to see why something may not be working.
You can try running something like this -- see if something somewhere is flipping that setting on you:

.ConfigureServices(services =>
{
    services.PostConfigure<ApplicationInsightsServiceOptions>(o =>
    {
        // set breakpoint and check value of o.EnableDependencyTrackingTelemetryModule
    });
})

Followed your advice and started the troubleshooting steps you mentioned. At the end it turned out that there was an old reference to Microsoft.Extensions.Logging.ApplicationInsights version 2.22.0-beta1 in the project. After removing this, the dependency logging works as expected now.
There are still some dependencies logged ("Invoke" of type "Azure.Functions"), but this acceptable.
Many thanks for your great help on this, @brettsam!

Glad you got it figured out!


Ramsey refactor.

Summary
Refactor of the RamseyXY to cal and characterization versions.
Details and comments
Moved RamseyXY to characterization and added a calibration version of the class.
TODOs:

[x] Tests.

The result makes sense since the calibration that you run is using an uncalibrated sx gate (the FixedFrequencyTransmon() gives a set of uncalibrated gates where the sx pulse has an amplitude of 0.25). The characterization version of the experiment on the other hand is using the calibrated pulses of the backend so amplitude of the oscillation should be almost 1.

Using RoughXSXAmplitudeCal first, I was able to run FrequencyCal and update Calibrations.

Replying to https://github.com/Qiskit/qiskit-experiments/pull/485#pullrequestreview-796978673 I put this in our clean-up issue here: #477


Sync Physical Button - Poor GPIO choice

The Sync Physical Button sketch in the Sketch Builder uses GPIO pins 7 & 8
// Set your LED and physical button pins here
const int ledPin = 7;
const int btnPin = 8;

These are reserved pins for the ESP8266 and when the code is uploaded the device will will connect to WiFi and Blynk, then do a WDT reset with cause:4, boot mode:(3,6) and constantly loop in this way.
Please change the pins to ones that are appropriate for both Arduino and ESP8266, or add a comment to the sketch saying that different pins need to be used for the ESP8266.
Thanks.

changed to
const int ledPin = 13;
const int btnPin = 12;


Use of discontinuitySkipWeekends

Is there anywhere to find a simple useage example for discontinuitySkipWeekends?
My intuition would be that I could either wrap the domain,
noWeekends = discontinuitySkipWeekends(domain)

or just chain it onto the scale,
const scale = d3.scaleTime()
    .discontinuitySkipWeekends()
    .domain(timeDomain)
    .range(chartRange)

but nothing's working for me. I could use an example to model from.

The discontinuous scale adapts a scale, allowing you to add a discontinuity provider, which describes the discontinuities (or breaks) in the scale. Here is how you can adapt a d3 time scale to skip weekends:
const skipWeekendScale = fc.scaleDiscontinuous(d3.scaleTime())
  .discontinuityProvider(fc.discontinuitySkipWeekends());

And here's a complete example:
https://bl.ocks.org/ColinEberhardt/0a5cc7ca6c256dcd6ef1e2e7ffa468d4
Try switching between the d3 time scale and the adapted, discontinuous scale, to see the difference.

That's perfect! Thank you very much.


vocab_size of configs/med_config.json

Hi,
Thank your nice work! I have a question, when I test captioning I find that vocab_size should be 30524, but do pre-training should be set 30522, am I right? Thanks.

The vocab_size is 30524 for all tasks, because two new special tokens are add to BERT's vocabulary.

The vocab_size is 30524 for all tasks, because two new special tokens are add to BERT's vocabulary.

Thanks, but the models/blip_pretrain.py line 21, 'configs/Bert_config.json' are not exists. And if I change it to med_config.yaml, it raise vocab_size not matched.

I use this line of code to match the model's vocab_size with the tokenizer's vocab_size:
self.text_encoder.resize_token_embeddings(len(self.tokenizer))

Ok, I see. Thanks!

so i should change vocab_size in med_config.yaml to 30522, right?

so i should change vocab_size in med_config.yaml to 30522, right?

No need to change anything.

The vocab_size is 30524 for all tasks, because two new special tokens are add to BERT's vocabulary.

Thanks, but the models/blip_pretrain.py line 21, 'configs/Bert_config.json' are not exists. And if I change it to med_config.yaml, it raise vocab_size not matched.

The problem has not been fixed

bert_config with vocab_size=30522 has been added, thanks!


Add a Makefile for compiling a static demo container.

The container is now 50mb instead of hundreds :)
To build: make image
$ docker images
hostpath-provisioner                    latest              sha256:2c323        About a minute ago   50.76 MB

thanks, this is great. can you please add the license boilerplate to the Makefile then run repo-infra/verify/verify-boilerplate.sh and that's all

merging, I'll get around to the boilerplate ;)


Adds Hosted Media / DAM section to Content Management section

Description (required)
Based on conversations from Discord, adds a Hosted Media / DAM section to the Managing Your Content section of the Astro docs.
The content was largely based on the CMS content.
This also adds Cloudinary as the starting option with stubbed out content as I separately work towards building an integration and can additionally provide more details about how to use Cloudinary with Astro (or others from my team)
Related issues & labels (optional)

Related Discord link: https://discord.com/channels/830184174198718474/846469231176056853/1276578657946697868
Suggested label: add new content

Discord username: colbyfayock

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉
Here’s what will happen next:

Our GitHub bots will run to check your changes.
If they spot any broken links you will see some error messages on this PR.
Don’t hesitate to ask any questions if you’re not sure what these mean!

In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳.

One or more of our maintainers will take a look and may ask you to make changes.
We try to be responsive, but don’t worry if this takes a few days.

Lunaria Status Overview
🌑 This pull request will not trigger status changes.

Learn more
Lunaria automatically ignores changes on specific PRs by adding a ignored keyword in its title. Found: i18nIgnore.
You can change this by either removing the keyword above from the PR's title, or modifying the ignoreKeywords property in your Lunaria configuration file.

Tracked Files

[!NOTE]
The notes below indicate what would happen if the pull request is merged when triggering status changes. Since a ignored keyword was found in the PR's title, the status changes indicated below won't be applied.

Locale
File
Note

en
guides/media.mdx
Source added, will be tracked.

en
guides/media/cloudinary.mdx
Source added, will be tracked.

en
nav.ts
Source changed, localizations will be marked as outdated.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Just updated the title because we DO want our translation system to find these new pages and translate them! :raised_hands:

yeah id say the only differentiator in my mind is assets as content vs assets as delivery, but there's no reason that can't be under Assets as you suggest. it also may not be a difference people actually think about unless they work in the space like i do. moved it under Assets!
sounds good about the title, i misread/misunderstood the translation instructions 🙃

Realizing I've just got a bit more infra to do here!

making sure that the correct nav item in the sidebar is highlighted when on a media page
adding the media nav to all the individual media pages

apologies for missing those, thank you!

It's a bit of a system! I wouldn't expect you to catch those, and even I go hunting for adding a new category like this. It's certainly not something even we do very often, and certainly not something someone else tries to do very often at all!


BAU: Move instantiation of AWS HttpClient into ConfigurationService to avoid duplicate code in Handlers.

Proposed changes
What changed
Moved instantiation of AWS Http Client into ConfigurationService removing duplicate code from Handlers and other service classes.

Why did it change
To avoid duplication

I get the desire to remove the duplication. I'm not entirely sure if the right place for it is the ConfigurationService.class because this setting is also needed for the DataStore.class which creates a dynamoDb client and no longer depends on the ConfigurationService.class so they're somewhat independent. I'm thinking that we then have the DataStore.class reliant on a setting being set by a class it has no way of knowing whether it is even being instantiated elsewhere in the lambda. An alternative to avoid the duplication at each handler level is to explicitly set the Http client implementation when creating the client e.g. https://github.com/alphagov/di-ipv-cri-uk-passport-back/blob/6fba3a63f788bdc115bb262becc8d022777a962d/src/main/java/uk/gov/di/ipv/cri/passport/persistence/DataStore.java#L36 and then each class requiring a http client implementation is not reliant on settings being set elsewhere and which could change independently.
That said I'm probably overthinking this, the tests pass and every handler is going to instantiate a ConfigurationService and so it's reasonably safe to presume that the setting will be set for any other class that requires it - that said I think this will break if we add IT tests that only instantiate the DataStore.class and so the settings in the ConfigurationService.class are not set as we've done in passport-back https://github.com/alphagov/di-ipv-cri-uk-passport-back/blob/6fba3a63f788bdc115bb262becc8d022777a962d/src/integration-test/java/uk/gov/di/ipv/cri/passport/integrationtest/DataStoreIT.java#L24 ... but then keeping them where they are now would equally not work for such a test.
TLDR; I'm not entirely sure about putting it in ConfigurationService.class but happy to be convinced/chat/someone else to approve... 👍


Minimize Maximimize hover have normal fallback style

The theme is perfectly fine but it has only above issue

Many people have already told me about this. I don't know yet how to solve it. I'll think of something, but a little later.

Already solved in this pull request: https://github.com/QNetITQ/WaveFox/pull/122

This is not the finished version. Some things will need to be corrected.

Thanx @QNetITQ Now it is working fine .You fixed that


libdxcompiler.dylib  - dxcompiler library not loaded

Building from source and attempting to compile a shader, I get "dxcompiler library not loaded".
I'm on an M1 MacBook Air. I replaced libdxcompiler.dylib with the one bundled in LunarG's VulkanSDK, then it worked just fine. I'm not familiar with Mac development - is this an x86/Arm architecture issue, a security thing..?
Adding the system's VulkanSDK environment variable to the candidates list would future-proof this, but it's not as portable.

it sounds like it may be an m1 vs x86 issue. Currently, all users of niceshade that build for apple platforms run the shader compilation step on Intel Macs (even if the final target for the shaders to run on is apple silicon).
I'll look into providing binaries targeting both architectures.

Fixed in https://github.com/nicebyte/niceshade/pull/28


Test: Remove meta/runtime.yml  from sanity ignore files

Change Summary
Remove meta/runtime.yml  from sanity ignore files
Related Issue(s)
Fixes #
Component(s) name
arista.avd.<role-name>
Proposed changes
Remove meta/runtime.yml  from sanity ignore files
How to test

Checklist
User Checklist

N/A

Repository Checklist

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[x] My change requires a change to the documentation and documentation have been updated accordingly.
[x] I have updated molecule CI testing accordingly. (check the box if not applicable)

Covered in PR #4638


[DOC] Add type hints for shapelet-based collection transformation.

Describe the issue
Other modules are increasingly using type hints in the function declaration, the shapelet-based tranformation module should do the same.
Suggest a potential alternative/fix
Add type hints to algorithms in aeon/transformations/collection/shapelet_based. One PR can be opened for each algorithm if preferred, as some are quite large.
Additional context
If you have any question, don't hesitate to ask directly here or contact us on Slack!

@Datadote If this one is OK for you, you can assign yourself to it !

Aeon-Assign bot assign @Datadote

I don't remember if we have a bot for this, but you can do it manually on the Assignees tab on the right side, I'll do it for you this time. Happy coding, and thanks for contributing !

There was an error in the docs that we have now fixed, but have to wait for a release for it to appear on the stable branch. Have to start with @aeon-actions-bot

I think you need write access to manually assign yourself

Yeah, I don't access to manually assign myself (Tried on other issues).
I started a draft pull request with type hints, and some styling questions in #1917 . Thank you for the help

Aeon-Assign bot assign @aryanpola


Provide clearenv?

Can clearenv() be supported, with a workaround of environ = NULL where it's not supported?

Certainly (at least for the first part). You would need to add bindings for clearenv to the project libc and then add a wrapper to nix.
As for the latter part, you would need to figure out (for each platform) how to implement clearenv given the capabilities provided by libc.

clearenv is already in libc, so this just needs a safe wrapper.

I am thinking about implementing this feature, but I am not sure where to add the cleanenv () implementation. Are there any other functions concerning environment variables?

Cool, it'd be great to implement this! If you look at the man page, you'll see that clearenv(3) is a Linux-only API, but it has a few sibling functions that should also be implemented and are POSIX: getenv(3), putenv(3), setenv(3), and unsetenv(3).
As to where to put these functions, we normally put functions into files following their location within libc (you can use the manpages to figure out which files functions are in). But for stdlib.h we've been splitting up the stdlib.h header into separate files, and I think it makes sense to continue this. I'd suggest you put all these functions into a src/env.rs file.
And if you get stuck while writing code, I'd suggest submitting a draft PR (put [WIP] in the title if you don't want us to comment yet and are just running CI or the like) and we'll review it rather than continuing discussion here.


Add account-activation queueing to signup

Depends on https://github.com/bluesky-social/atproto/pull/2076
With that PR, it becomes possible for the server to create an account but place it in "deactivated" state. Deactivated accounts will go through a queue where they are enabled as the server has capacity.
This information is revealed to us through an accessJwt with the scope of "com.atproto.deactived". Under that scope we're only able to call erver.com.atproto.temp.checkSignupQueue which gives us information about our status in the queue.
When that tells us we're activated, we refresh the token for a good one and continue onboarding.

Lint error fixed in another PR


Could you add an actual test/example file?

Would it be worth it? The changes from cpp api are really easy to figure out, and you should look into sources for documentation anyway.

i agree with @dpethes - what is kind of example are u missing @stacksmith ?

Honestly, I can't remember the exact problem; it was like 6 months ago!  While it is pretty obvious why it's a good idea to have an example that demonstrates the features of a library in order for the user to get a 'quick start', 'hit the ground running', and at least have something working when they are stumped by what is likely to be inadequate documentation (almost always the case for wrapped libraries), consider the following:
While you are a cimgui expert, I am looking for a simple UI library for a time-sensitive project.  My client is an advertising house that is very sensitive to good looking type, fonts and layout, and I have a list of possible libraries I can use and very little time before my presentation.
Several of these (like McClim) are immediately ruled out - I looked at the demos, and they don't do sub-pixel antialiasing on type.  Great - 5 minutes and I know the answer.
Then there is cimgui.  I can either spend a day trying to figure out how to put together something, or dick around with C++ ("never again" was my promise to my grandmother).
Now you can say "why not use many of the pre-built demos floating around"?  Well, if the type looks OK, I still need to plug in the client's fonts etc.   How?  There is no 'skeleton application', or a 'bare-bones demo', etc.  So I had to rule cimgui out, even though it looked like a possible fit.
So please consider the power of being able to do (cimgui:demo) immediately after getting it from quicklisp as compared to a day of being frustrated reading docs for a blub language.   I understand that your position may be 'I just wrote the wrapper, go figure it out yourself, dumb-ass' -- in which case feel free to close the issue and forget about it.  But I sincerely hope that you would do your audience the favor of placing a small demo or a tutorial for a minimal example - a window with a button and some text in a box, or something like that.  It would be helpful.
Apologies for what appears to be sarcasm, but I am genuinely trying to help.

Like most people I do this in my spare time for free you know. it is open source - if you see something missing feel free to create a pull request. Since it is just a wrapper, obviously I will not recreate Demos That will look almost exactly the same as the original c++ ones. But thanks for taking the time to give me your feedback - Appreciated


crash when switching devices

I have multiple computers and when I switch to the one that wasn't the original I get the following error.. What I mean is I have a laptop that works just fine when I connect to the server and doesn't crash. When I log into my Steam Deck it crashes unless I disable the mod. I think there is data missing from the server save/send when a user switches devices.
7/2/2023 11:11:54 AM: Critical error occurred in the following mod<EMAIL_ADDRESS>Loaded Mods<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>System.NullReferenceException: Object reference not set to an instance of an object.    at ProspectTogether.Client.ProspectorOverlayLayer.GuiDialogWorldMapOpenPatch.Postfix(EnumDialogType type) in D:\a\ProspectTogether\ProspectTogether\src\Client\ProspectorOverlayLayer.cs:line 395    at Vintagestory.GameContent.WorldMapManager.ToggleMap(EnumDialogType asType) in C:\Users\Tyron\Documents\vintagestory\game-net7\VSEssentials\Systems\WorldMap\WorldMapManager.cs:line 299    at Vintagestory.GameContent.WorldMapManager.OnLvlFinalize() in C:\Users\Tyron\Documents\vintagestory\game-net7\VSEssentials\Systems\WorldMap\WorldMapManager.cs:line 180    at Vintagestory.Client.NoObf.ClientEventAPI.TriggerLevelFinalize() in C:\Users\Tyron\Documents\vintagestory\game-net7\VintagestoryLib\Client\API\ClientEventAPI.cs:line 348    at Vintagestory.Client.NoObf.ClientSystemStartup.HandleLevelFinalize(Packet_Server packet) in C:\Users\Tyron\Documents\vintagestory\game-net7\VintagestoryLib\Client\Systems\Startup.cs:line 1010    at Vintagestory.Client.NoObf.ProcessPacketTask.ProcessPacket(Packet_Server packet) in C:\Users\Tyron\Documents\vintagestory\game-net7\VintagestoryLib\Client\Systems\NetworkProcess.cs:line 452    at Vintagestory.Client.NoObf.ProcessPacketTask.Run() in C:\Users\Tyron\Documents\vintagestory\game-net7\VintagestoryLib\Client\Systems\NetworkProcess.cs:line 446    at Vintagestory.Client.NoObf.ClientMain.ExecuteMainThreadTasks(Single deltaTime) in C:\Users\Tyron\Documents\vintagestory\game-net7\VintagestoryLib\Client\ClientMain.cs:line 757    at Vintagestory.Client.GuiScreenConnectingToServer.RenderToDefaultFramebuffer(Single dt) in C:\Users\Tyron\Documents\vintagestory\game-net7\VintagestoryLib\Client\MainMenu\Screens\GuiScreenConnectingToServer.cs:line 322    at Vintagestory.Client.ScreenManager.Render(Single dt) in C:\Users\Tyron\Documents\vintagestory\game-net7\VintagestoryLib\Client\ScreenManager.cs:line 668    at Vintagestory.Client.ScreenManager.OnNewFrame(Single dt) in C:\Users\Tyron\Documents\vintagestory\game-net7\VintagestoryLib\Client\ScreenManager.cs:line 643    at Vintagestory.Client.NoObf.ClientPlatformWindows.window_RenderFrame(FrameEventArgs e) in C:\Users\Tyron\Documents\vintagestory\game-net7\VintagestoryLib\Client\ClientPlatform\GameWindow.cs:line 73    at OpenTK.Windowing.Desktop.GameWindow.DispatchRenderFrame()    at OpenTK.Windowing.Desktop.GameWindow.Run()    at Vintagestory.Client.ClientProgram.Start(ClientProgramArgs args, String[] rawArgs) in C:\Users\Tyron\Documents\vintagestory\game-net7\VintagestoryLib\Client\ClientProgram.cs:line 300    at Vintagestory.Client.ClientProgram.<>c__DisplayClass9_0.<.ctor>b__1() in C:\Users\Tyron\Documents\vintagestory\game-net7\VintagestoryLib\Client\ClientProgram.cs:line 127    at Vintagestory.ClientNative.CrashReporter.Start(ThreadStart start) in C:\Users\Tyron\Documents\vintagestory\game-net7\VintagestoryLib\Client\ClientPlatform\ClientNative\CrashReporter.cs:line 93 Crash written to file at "/home/deck/.config/VintagestoryDataNet7/Logs/client-crash.txt"

Thanks for your feedback.
I don't think that missing data should be the problem here, as the mod automatically syncs all clients with the server, so your steam deck should receive the all data that is stored on the server.
From the log message I can see that you are running the unstable .net7 build. Do you also run this version on your laptop? I haven't tested the mod on the new .net7 build yet, but there might be a few technical changes that I have to make, so that this mod works with the new version.

I think the issue is actually limited to the Steam Deck itself. I have this mod running on a .Net7 server along with 2 other laptops. They work just fine. There is something up with how the Steam Deck is built or the age of some of the libraries that are causing issues. I was able to get past the error by using an unstable daily build of .Net7 but I'm still researching the issues. For now I think this can be closed as it's only limited to the Steam Deck and no other Linux clients/servers.

Thanks for coming back and posting this information. I'm going to close this for now.


Spring MVC's HandlerMethodArgumentResolver not Support yet?

My versions:

spring-boot:2.5.4
spring:5.3.9
spring-security:5.5.2

My Code:
package com.github.yingzhuo.playground.gcontroller;

import com.github.yingzhuo.playground.domain.Author;
import com.github.yingzhuo.playground.service.AuthorService;
import lombok.AllArgsConstructor;
import org.springframework.graphql.data.method.annotation.GraphQlController;
import org.springframework.graphql.data.method.annotation.QueryMapping;
import org.springframework.security.core.Authentication;
import org.springframework.security.core.annotation.AuthenticationPrincipal;

import java.util.List;

@GraphQlController
@AllArgsConstructor
class AuthorController {

    private final AuthorService authorService;

    @QueryMapping
    List<Author> findAllAuthor(@AuthenticationPrincipal Authentication authentication) {
        System.out.println(authentication); // just print it
        return authorService.findAll();
    }

}

By using this QL
query {
	findAllAuthor {id name}
}

I get a message:
{
  "errors": [
    {
      "message": "Exception while fetching data (/findAllAuthor) : Object required to be not null",
      "locations": [
        {
          "line": 1,
          "column": 7
        }
      ],
      "path": [
        "findAllAuthor"
      ],
      "extensions": {
        "classification": "DataFetchingException"
      }
    }
  ],
  "data": {
    "findAllAuthor": null
  }
}

Maybe get all HandlerMethodArgumentResolver's instance to work is good idea? In my case , I need org.springframework.security.web.method.annotation.AuthenticationPrincipalArgumentResolver

GraphQL controllers should remain focused on GraphQL request input and remain decoupled from the underlying transport (HTTP, WebSocket, or others like RSocket in the future). This is why we don't intend to expose any HTTP request details.
When needed, use a WebInterceptor to extract some details from the web transport (e.g. headers) and insert that into the GraphQLContext. We support the injection of GraphQLContext into handler methods.

That said, considering that we have explicit support for Spring Security context, we can consider support for injecting the authenticated user.


Will training on images that tesseract already can OCR correctly help it OCR similar images but with different content ?

So my scans are pretty accurate right now, but every now and then it scans something incorrectly 0.1% error rate. I dont have that many error images to train it on, so my question is if it will help to train it on the images that it can OCR correctly ?

If your scans are consistent, using the same font/script/language, training a task-specific model based on an existing model can indeed improve recognition. Whether it will be a significant improvement over the 99.9% accuracy remains to be seen though, that is already very good recognition.
But I would still go for it, because as a general rule, it's better to invest time/effort in better recognition than in handling errors afterwards.
Also you don't just want to train on the erroneous images because that would likely lead to overfitting, but train it with a representative sample that includes both "easy" and "hard" detection problems.


Artifact publication on Maven Central?

Hi! First, thanks a lot for this project. It rocks!
Are you considering the publication of the libraries on Maven Central?
Would you accept a PR setting up the required Gradle boilerplate?

Done, please check the latest instructions in the Readme

You rock! Thanks a lot.


What did I do wrong?

npm install netlify-cli -g

This is a network issue, either on your own network or with npm. See if it works when you try again

Closing as stale


Expose new typeclass combinators

Helpers like tap, etc are currently @internal, they should be exposed

This is a bit tricky because it relies on some private types that are not (with fp-ts) intended to be exposed as an API.  So for TS's sake we'll also need to expose those too.
We could also consider exposing 'dual'


Fix typo

Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test."

I'm sure I have signed the CLA because before I have contributed to loopback project itself

Thanks for the contribution.


Telemetry dashboard (in progress)

@feross

Work left to do

[ ] Compute summary.json in a cron job, not on every load
[ ] Put the charts on a single x axis
[ ] Print out average weekly growth over trailing four weeks. Target: 5+%
[ ] Mark release versions
[ ] Add error frequency chart

LGTM to me so far!

Throws this when there's no summary.json:
/home/feross/www/webtorrent.io/server/desktop-api.js:84
      var today = summary.telemetry[summary.telemetry.length - 1]
                                                     ^

TypeError: Cannot read property 'length' of undefined
    at ReadFileContext.callback (/home/feross/www/webtorrent.io/server/desktop-api.js:84:54)
    at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:365:13)

Fixed by https://github.com/feross/webtorrent-www/commit/ee61cdfb2285da409e916794ca099a27faa1f08a and https://github.com/feross/webtorrent-www/commit/e8533c1737e5182e9f7b31f5c854d98b9ed44cfd.
Added a "cron job" to generate summary.json here: https://github.com/feross/webtorrent-www/commit/5199025bdb1e5e2134c6d8c28615826caa130272

I was thinking all of that would be handled by a regular cron job, but this works too!


GPU support

NVidia using nvidia-docker
Intel iGPU if possible

A few pointers:

Seems like I should drop xvfb in order to support HW accelerated desktop inside: https://github.com/mviereck/x11docker/wiki/Hardware-acceleration
There are some OpenGL Dockerfile examples on Nvidia
By reading this article it might be that virtualGL can be added to the mix
This seems like a full solution but I don't want X to be installed in the host.


better error messages on failure

@briandealwis fix #700
This one bit me a couple of days ago, when my missing app engine java components caused my local tests to fail and I couldn't easily figure out why.

Merged since @elharo's away.


Do not attach headers if Span is NoOp

Description
We should not create trace header in http requests if the Span is a NoOpSpan
Flutter implementation

Wrong repo


fig 2

i think the y-label should start at 1, not 0, right?
i think 0 is a bit misleading, as there is no simulation type 0.
what do you think?

yes, updated!


<EMAIL_ADDRESS>seems not to be published in deno's module registry

Description
Importing<EMAIL_ADDRESS>returns 404 error:
Download<EMAIL_ADDRESS>error: Import<EMAIL_ADDRESS>failed: 404 Not Found

Possible cause & solution
I think this problem is due to the recent changes in the registry. This problem can be solved by setting up a webhook in this repository.
Ref

https://deno.land/posts/registry2
https://deno.land/images/add_webhook.mp4

Seconded.
This is causing an error that forces me to revert to 1.3.0 of Deno.
0.4.3 has a TypeScript error in connection.ts that 0.4.4 resolves, so this is pretty dire

Please let us know when resolved - thanks for the update and great library.

@hayd deno is now onto v1.4.0 - may we have an update, when available?

waiting for this as well, using the "raw" link as a workaround but best would be if it's going through the right place:)

I think this should be fixed now, and will work for future versions. Apologies!

Thank you @hayd for all the contributions you make to the deno community - it means a lot.

Thanks for resolving this @hayd!


icebox install on macOS requires GNU sed

To install icestorm on macOS 10.15.6 I had to install gsed with homebrew and change sed to gsed in icetools/icestorm/icebox/Makefile
gsed parses the -i option differently.
Also yosys, iverilog(icarus-verilog), and verilator are available in homebrew, thus redundant in icetools on Darwin.

Alternatively, changing all the sed -i lines in icebox/Makefile from sed -i '...' to sed -i '' '...' should complete the installation successfully on macOS 10.15.


Vbox guest additions exit at the confirmation dialog

I'm using a vagrant box with preinstalled (apt-get) virtualbox guest additions.
Of course the host machine is very unlikely to have the same version, so vagrant-vbguest should install the correct one, but fails at the confirmation dialog.
Copy iso file /usr/share/virtualbox/VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
stdin: is not a tty
mount: block device /tmp/VBoxGuestAdditions.iso is write-protected, mounting read-only
Installing Virtualbox Guest Additions 4.3.36 - guest version is 4.3.10
stdin: is not a tty
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.36 Guest Additions for Linux............
VirtualBox Guest Additions installer
You appear to have a version of the VBoxGuestAdditions software
on your system which was installed from a different source or using a
different type of installer.  If you installed it from a package from your
Linux distribution or if it is a default part of the system then we strongly
recommend that you cancel this installation and remove it properly before
installing this version.  If this is simply an older or a damaged
installation you may safely proceed.

Do you wish to continue anyway? [yes or no]

Cancelling installation.
An error occurred during installation of VirtualBox Guest Additions 4.3.36. Some functionality may not work as intended.
In most cases it is OK that the "Window System drivers" installation failed.
stdin: is not a tty

As vbguest runs earlier than my provisioning script, this happens every time before I could remove the packages. Also it should be part of the automatic installation, or just force the install through.

Double it

Looks like, this happens, when the original vagrantbox is old, and the apt-get purge fails if no apt-get update was run before.
As I've found the ubuntu.rb does not have the apt-get update, while the debian.rb does have it, so it probably happens with ubuntu guests only.

+1

Patch exists, and worksforme.
On Mar 4, 2016 9:53 AM, "NickBelhomme"<EMAIL_ADDRESS>wrote:

+1
—
Reply to this email directly or view it on GitHub
https://github.com/dotless-de/vagrant-vbguest/issues/199#issuecomment-192189882
.

@Petrox i have same issue but with Debian as guest machine. Can you make same patch for it as well?

@mente I'm not a ruby developer, so my patch was just a trivial edit. Also as I see, the debian version works very different (why?), so it's probable, that you don't have the same problem.
Mine was that apt-get purge does not work if the apt cache is outdated, because the removal of some packages triggers installing some others in my vagrant box, and those are not found.
In the debian file I see, that if installation fails, the code handles that, and retries the installation after an apt-get update (which is nice), BUT does not seem to check whether the virtual machine already has some prepackaged guestadditions (maybe pure debian don't have those debs in the repo?).
Anyway, if you feel, you have the same bug, please attach the corresponding log, to let the developers handle it, or open a different issue.
Although as I see, there are old pending pullrequests so the devs are probably inactive. :(

@fnordfish thanks for the fix.
FYI as @mente has noted, the problem might exist in the debian installer too.


get_tabs is caching with server start

So I'm changing tabs dynamically like so:
def get_tabs(self, request, obj=None):
        tabs = self.tabs
        if obj and request.user != obj.created_by:
            tabs = [
                (u'Podstawowe dane', self.tab_main),
                (u'Pytania', self.tab_questions),
                (u'Tokeny', self.tab_tokens)
            ]

        self.tabs = tabs
        return super(PollAdmin, self).get_tabs(request, obj)

and when i run server and go to change view of my model it's cached with these three tabs for all users, it's omitting my base tabs config even if the condition is false
tabs = [
        (u'Podstawowe dane', tab_main),
        (u'Pytania', tab_questions),
        (u'Tokeny', tab_tokens),
        (u'Uprawnienia', tab_permissions)
    ]

my solution
def get_tabs(self, request, obj=None):
        if obj and request.user != obj.created_by:
            return [
                (u'Podstawowe dane', self.tab_main),
                (u'Pytania', self.tab_questions),
                (u'Tokeny', self.tab_tokens)
            ]
        return [
            (u'Podstawowe dane', self.tab_main),
            (u'Pytania', self.tab_questions),
            (u'Tokeny', self.tab_tokens),
            (u'Uprawnienia', self.tab_permissions)
        ]

Hi Kamil,
Thanks a million for your feedback on this issue. I have just added some test against your specific code and it passes successfully (see above & travis).
I understand you mention some caching but then your solution should not pass as well? Maybe its something to do with the self.tabs. The strange thing is that there should be no caching in django admin and there is no cache implemented in this app.
Out of curiosity, what is the django version you are using?
Thanks again!

I'm sorry it wasn't caching it was static -> local transformation in admin, once someone opened admin change view with modified tabs self.tabs was overrided for everyone else.
Here's my project and now it works ok https://github.com/kamilgregorczyk/sententia/blob/master/poll/admin.py#L108
someday I'm gonna make it more pretty
django 1.9.9


Revise Naming of Properties

Currently, schema-defined properties and implicit properties exposing meta information can't be distinguished from each other. By introducing naming scheme this should be fixed.
Proposal

Implicit properties always start with $.
Schema-based properties may use any name except for those starting with $.

Changing properties in model would either require changing names in collections as well which isn't as required there as it is in models. In opposition to that, requiring use of model.properties should help with handling clashing property names. Eventually, changing naming would break API and require some instant efforts. The latter isn't worth to be done due to the former facts.


LFS - not sure why publish is failing.

Having trouble doing a publish of a folder structure containing large files.  I am certainly not a git expert so bear with me.
I first used GitHub Desktop to try the publish.  My steps were create the repo, clone in desktop, drag my folders into the repo root, do an initial commit, and then publish.  After the first publish I realized that I had to track the large files so I went to the folder (on Mac) and did a "git lfs track" for all the known file types (after installing the lfs extensions).  Then i tried publishing multiple times without success (see errors below).  I also tried from the command line.  I used "git push origin master" and received similar errors as below.

File UnityEFM (U4)/DailyBuilds/3.3.11/3.3.11_Data/sharedassets2.assets is 57.40 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
File UnityEFM (U4)/EFM_Amazon/WebPlayer.unity3d is 86.36 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
File UnityEFM (U4)/Latest Build/version1.zip is 77.69 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
File UnityEFM (U5)/Build/HealthStream-EFM/HealthStream-EFM.unity3d is 79.15 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
File UnityEFM (U5)/UnityEFM-WEBPLAYER/UnityEFM-WEBPLAYER.unity3d is 74.72 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
File UnityEFM (U4)/DailyBuilds/3.3.11/3.3.11.app/Contents/Data/sharedassets2.assets is 57.40 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
Trace: d2e85733a75c893ddbcdbd2d5404dddf
See http://git.io/iEPt8g for more information.

What is interesting about the error msg above is the line "You may want to try Git Large File Storage - https://git-lfs.github.com."  As far as I know I should already be using the LFS so I am very confused.  Is there a way to tell in the github.com whether a repo has large files enabled?  My track results are listed below.
git lfs track
Listing tracked paths
*.unity3d (.gitattributes)
*.zip (.gitattributes)
*.exe (.gitattributes)
*.*gz (.gitattributes)
*.assets (.gitattributes)
After a few failed attempts I then created a paired down folder and successfully published to new test repo without errors.  It had just a few of the large files listed above.  I did first "track" the large files (*.unity3d and *.ogg).  After the first publish I threw in some more >50mb files (.assets) and they synced file even though I hadn't tracked them in LFS which seems inconsistent to me.
I am really looking for a proper workflow to successfully move over a bunch of our larger SVN directories over to GITHUB.  Any help is appreciated.
...

Same error here .. :'(

You're getting that error message because there are files in your repository that aren't using LFS. The git lfs track command only affects new file changes. Files in older commits are not updated to use LFS. The bozaro/git-lfs-migrate tool can be used to convert files in old commits to use LFS.

This doesn't make sense to me.  The commit was failing on the initial
import.
On Fri, Jul 1, 2016 at 11:25 AM, risk danger olson<EMAIL_ADDRESS>
wrote:

You're getting that error message because there are files in your
repository that aren't using LFS. The git lfs track command only affects
new file changes. Files in older commits are not updated to use LFS. The
bozaro/git-lfs-migrate https://github.com/bozaro/git-lfs-migrate tool
can be used to convert files in old commits to use LFS.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/github/git-lfs/issues/1300#issuecomment-229975787,
or mute the thread
https://github.com/notifications/unsubscribe/AA3wxWg2Xx0pDHKt3-BQDDGrghxanWBrks5qRTF-gaJpZM4IzPBl
.

--
Rob Hafey
Senior Software Developer
Simulation Training & Education Lab (SiTEL) of MedStar Health
<EMAIL_ADDRESS>202.364.5180 x1219 (office)
301.503.6922 (cell)
www.sitel.org
CONFIDENTIAL: The information contained in this communication, including
its attachments may contain confidential information and is intended only
for the individual (s) or entity (ies) to whom it is addressed . The
information contained in this communication may also be protected by legal
privilege , federal law or other applicable law. If you are not the
intended recipient of this communication , you are hereby notified that any
distribution, dissemination or duplication of this communication is
strictly prohibited. If you have received this communication in error
please immediately delete and destroy all copies of this message and please
immediately notify us of the error by separate communication.

How did you import the repo from SVN to Git? It's very possible that you used a tool that doesn't support Git LFS. In that case, you'd want to do an additional conversion from your plain git repo, to a git lfs repo with the bozaro/git-lfs-migrate tool.
If you're using GitHub, the import tool should support converting SVN repos to Git LFS.

I created a new repo and checked it out in GitHub Desktop.  I then dumped
all my files into the checked out folder.  GitHub desktop saw all the files
but the import would fail.
My preferred method would be to use a SVN to GitHub tool which would
support the LFS.
On Fri, Jul 1, 2016 at 1:07 PM, risk danger olson<EMAIL_ADDRESS>wrote:

How did you import the repo from SVN to Git? It's very possible that you
used a tool that doesn't support Git LFS. In that case, you'd want to do an
additional conversion from your plain git repo, to a git lfs repo with the
bozaro/git-lfs-migrate https://github.com/bozaro/git-lfs-migrate tool.
If you're using GitHub, the import tool https://github.com/new/import
should support converting SVN repos to Git LFS.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/github/git-lfs/issues/1300#issuecomment-229999067,
or mute the thread
https://github.com/notifications/unsubscribe/AA3wxZunkuYPKzKaocgG-wdlEeeXOWGRks5qRUlYgaJpZM4IzPBl
.

--
Rob Hafey
Senior Software Developer
Simulation Training & Education Lab (SiTEL) of MedStar Health
<EMAIL_ADDRESS>202.364.5180 x1219 (office)
301.503.6922 (cell)
www.sitel.org
CONFIDENTIAL: The information contained in this communication, including
its attachments may contain confidential information and is intended only
for the individual (s) or entity (ies) to whom it is addressed . The
information contained in this communication may also be protected by legal
privilege , federal law or other applicable law. If you are not the
intended recipient of this communication , you are hereby notified that any
distribution, dissemination or duplication of this communication is
strictly prohibited. If you have received this communication in error
please immediately delete and destroy all copies of this message and please
immediately notify us of the error by separate communication.

Hmm, that should work if you set up the tracked files before dropping all the files in there.

That is what I thought :)  If I keep trying the files will eventually
import, but the process is not very comforting as I don't want to have to
check to make sure which of the 1000s of files didn't import correctly.
If I recall (I haven't reread my post) when I use the command line an error
is thrown that I am not using LFS.  Very frustrating.
On Fri, Jul 1, 2016 at 1:15 PM, risk danger olson<EMAIL_ADDRESS>wrote:

Hmm, that should work if you set up the tracked files before dropping all
the files in there.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/github/git-lfs/issues/1300#issuecomment-230000770,
or mute the thread
https://github.com/notifications/unsubscribe/AA3wxX3q5YkcrQNYgBq2SBA1AXPA9Qbjks5qRUsngaJpZM4IzPBl
.

--
Rob Hafey
Senior Software Developer
Simulation Training & Education Lab (SiTEL) of MedStar Health
<EMAIL_ADDRESS>202.364.5180 x1219 (office)
301.503.6922 (cell)
www.sitel.org
CONFIDENTIAL: The information contained in this communication, including
its attachments may contain confidential information and is intended only
for the individual (s) or entity (ies) to whom it is addressed . The
information contained in this communication may also be protected by legal
privilege , federal law or other applicable law. If you are not the
intended recipient of this communication , you are hereby notified that any
distribution, dissemination or duplication of this communication is
strictly prohibited. If you have received this communication in error
please immediately delete and destroy all copies of this message and please
immediately notify us of the error by separate communication.

Can you send more details to https://github.com/contact? Our GitHub Desktop team should be able to help you out here, as I don't work on that tool.

I think I had the same error when I tried to push from the command line as
well.  I need to go back and look at my post.
On Fri, Jul 1, 2016 at 1:21 PM, risk danger olson<EMAIL_ADDRESS>wrote:

Can you send more details to https://github.com/contact? Our GitHub
Desktop team should be able to help you out here, as I don't work on that
tool.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/github/git-lfs/issues/1300#issuecomment-230002065,
or mute the thread
https://github.com/notifications/unsubscribe/AA3wxUKvoyamVHdjymRItDBaDiZPNbckks5qRUyAgaJpZM4IzPBl
.

--
Rob Hafey
Senior Software Developer
Simulation Training & Education Lab (SiTEL) of MedStar Health
<EMAIL_ADDRESS>202.364.5180 x1219 (office)
301.503.6922 (cell)
www.sitel.org
CONFIDENTIAL: The information contained in this communication, including
its attachments may contain confidential information and is intended only
for the individual (s) or entity (ies) to whom it is addressed . The
information contained in this communication may also be protected by legal
privilege , federal law or other applicable law. If you are not the
intended recipient of this communication , you are hereby notified that any
distribution, dissemination or duplication of this communication is
strictly prohibited. If you have received this communication in error
please immediately delete and destroy all copies of this message and please
immediately notify us of the error by separate communication.


Add files property to package.json

Changes proposed in this Pull Request:

Add files property to package.json, and only specify spectragram.js in the array. This will result in only spectragram.js being distributed via npm (along with the essentials such as README.md and LICENSE), reducing the distribution size from 275kb to 5kb.

@adrianengine

Hi @adrianengine, I've added the minified version. README.md will be added automatically by npm, regardless of our files setting.

Awesome! Thanks!


How to use url instead of client id?

i notice that below code use a url instead of id.
export default class HelloWorldWebPart extends BaseClientSideWebPart<IHelloWorldWebPartProps> {
  public render(): void {
    // ...

    this.context.aadHttpClientFactory
      .getClient('https://contoso.azurewebsites.net')
      .then((client: AadHttpClient): void => {
        client
          .get('https://contoso.azurewebsites.net/api/orders', AadHttpClient.configurations.v1)
          .then((response: HttpClientResponse): Promise<Order[]> => {
            return response.json();
          })
          .then((orders: Order[]): void => {
            // process data
          });
      });
  }

  // ...
}

how to get this kind of URL?  i do not want to use id.
thanks
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 47b09a1d-5520-82e2-64f5-7aaae817720a
Version Independent ID: 0e3dcdc4-3a49-b4c7-f525-1c618cf5e21e
Content: Connect to Azure AD-secured APIs in SharePoint Framework solutions
Content Source: docs/spfx/use-aadhttpclient.md
Product: sharepoint
Technology: sharepoint-framework
GitHub Login: @VesaJuvonen
Microsoft Alias: vesaj

hey @kongmengfei, if you go to the AAD portal and you locate the app you want to call in the "App Registration" list and then look for its "Application ID URI" entry under "Expose an API" section for that app.

hey @kongmengfei, if you go to the AAD portal and you locate the app you want to call in the "App Registration" list and then look for its "Application ID URI" entry under "Expose an API" section for that app.

it's another kind of app id like below:

this is basically the same as app id.


Amortizing Zero Coupon Bond

Hello,
I needed to manage the following bond : XS1068226031 which is Zero Coupon with 2 amortizing dates.
I propose the following Class which works fine for me (you can retrieve the same results using an Amortizing Fixed Rate Bond with annual frequency and Fixed Coupon Rate = 0).
Regards

Hi @jiskin and thank you for your PR,
can you retrive some cached data for XS1068226031 from Bloomberg terminal ?
This way we can make a test case with the new class and check calculated values are same of cached ones.
By general rule we always try to make one or more test case before insert a new class.
( you can look at T_Bonds.cs for examples )
Best Regards

Hi @amaggiulli ,
Sure I will add a test case when I have some time.


Calculator 2maybe in den ferien

I don't understand your issue, please open a new one if the problem still exists in the new version...


[Not for merge] Monitor memory leaks in Flutter Framework.

The goal of this PR is to monitor memory leaks in flutter master.
Leak tracking is OFF in flutter master, but is ON in this PR.
Bot failures will show memory leaks.
So far all failures are not leak_tracker related.
All leak_tracker related failures will be listed in this comment.

For some reasons disabled Google testing keeps returning. Started discussion with owners to figure this out.