new design matrix for noise and variance reduction

Making a new design matrix for linear regression in order to reduce noise, and incorporating all 6 condition files.

Closing this pull request for updated version.


Sync context with latest spec version.

Switch encodingFormat term back to mediaType.

https://github.com/w3c/vc-data-model/issues/1408
https://github.com/w3c/vc-data-model/pull/1440

Add EnvelopedVerifiablePresentation.
Add type for statusReference and statusSize.
Fix whitespace.

Note there are projects using the main branch that a merge will immediately effect.

Updated to latest vc-data-model changes.
@dlongley Is it ok to merge to main now?


ios screenshot delivery. No support for iPad Pro 3rd/4th gens.

New Issue Checklist

[x ] Updated fastlane to the latest version
[x ] I read the Contribution Guidelines
[x ] I read docs.fastlane.tools
[x ] I searched for existing GitHub issues

Issue Description

Fastlane and Starship need to be updated to support newer device types in iTunes/App Connect.
In particular iPad Air (3rd generation) screenshots are placed to the same slot as iPad Pro (10.5-inch),
(12.9-inch) (2nd generation) to the same as  (12.9-inch) (4th generation)

[11:48:16]: Uploading './fastlane/screenshots/en-US/iPad Pro (12.9-inch) (4th generation)-41xxx.png'...
[11:48:19]: Too many screenshots found for device 'iPad Pro' in 'en-US', skipping this one (./fastlane/screenshots/en-US/iPad Pro (12.9-inch) (4th generation)-43xxxx.png)

Command executed

fastlane delivery
Complete output when running fastlane, including the stack trace and command used

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.15.5

Ruby
2.6.3

Bundler?
false

Git
git version 2.24.1 (Apple Git-126)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.15.5 (19F53f)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib

OpenSSL Version
LibreSSL 2.8.3

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
11.4

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do
  desc "Description of what the lane does"
  lane :custom_lane do
    # add actions here: https://docs.fastlane.tools/actions
  end
end

`./fastlane/Appfile`
app_identifier("com...") # The bundle identifier of your app
apple_id("dm...")

I generate screenshots using fastlane run snapshot action on number of simulators.

Please provide full list of steps how you generate those, naming etc. From the information about it's not really possible to help you.

I'm using standard fastlane naming convention language/device_name-screenname.png, like
'en-US/iPad Pro (12.9-inch) (4th generation)-41screenname.png' placed to the ./fastlane/screenshots directory. This screenshots was generated in 'iPad Pro (12.9-inch) (4th generation)' simulator from Xcode 11.4 using default en-US locale. I generate screenshots for the following devices:
 devices([   "iPhone 11 Pro Max",   "iPhone 11 Pro",   "iPhone 8 Plus",   "iPhone 8",   "iPhone SE",    "iPad Pro (12.9-inch) (4th generation)",    "iPad Pro (12.9-inch) (2nd generation)",    "iPad Pro (11-inch) (2nd generation)",    "iPad Pro (10.5-inch)",    "iPad Air (3rd generation)" ])
The screenshots from 2nd and 4th generations of iPad 12.9" are placed to the same iTC slot, because StartShips' displayFamilies.json doesn't have an entry for iPad Pro 12.9" 4th gen.
I am sorry, but I don't get what kind of information is missing.


Vulnerabilities found in the Oracle Database 21c (21.3.0) Express Edition

Recently I built an Oracle Database 21c (21.3.0) Express Edition container image, and got 77 vulnerability findings, including those related to org.apache.logging.log4j_log4j-core 2.13.3, with the corresponding vulnerabilities of CVE-2021-44228, CVE-2021-44832, CVE-2021-45046 and CVE-2021-45105, respectively. I used the build argument -o '--build-arg SLIMMING=false' while building the container image. I am particularly interested in having the log4j specific vulnerabilities resolved to use the image. Any suggestion/pointer for how to resolve the vulnerabilities (the log4j specific ones in particular) with the Oracle Database 21c (21.3.0) Express Edition?

Just to add a bit more specifics - The following is the command I used to create the Oracle container image:
./buildContainerImage.sh -v 21.3.0  -t oracle:21.3.0-xe -x -o '--build-arg SLIMMING=false'

From the scanning output, the log4j related vulnerabilities appear to point to ./opt/oracle/product/21c/dbhomeXE/md/jlib/ndmserver.ear (and ./opt/oracle/product/21c/dbhomeXE/md/jlib/ndmserver.ear.zip as well) in the rpm file.

Hi Abhishek and team, Any suggestion or update to address the Log4J specific vulnerabilities as mentioned above would be highly appreciated.

Is there any patch to fix these vulnerabilities ?

There is no patch for XE. These files have to be manually deleted. These are not used by XE
The Dockerfile for XE may be edited to remove these files

There is no patch for XE. These files have to be manually deleted. These are not used by XE
The Dockerfile for XE may be edited to remove these files

And for EE ? Can it be deleted for EE ?

Check this page for 19c
https://support.oracle.com/knowledge/Oracle Cloud/555_1.html

There is no patch for XE. These files have to be manually deleted. These are not used by XE
The Dockerfile for XE may be edited to remove these files

Hi Yunus, Can you please elaborate a bit more specifically how to remove these files by editing Dockerfile.xe and rebuild the 21.3 XE image?

There is no patch for XE. These files have to be manually deleted. These are not used by XE
The Dockerfile for XE may be edited to remove these files

Hi Yunus, Can you please elaborate a bit more specifically how to remove these files by editing Dockerfile.xe and rebuild the 21.3 XE image?

You can edit the RUN command in the Dockerfile.xe to remove these files manually. Something like:
RUN ... && \
    rm -f <file-locations>

Hi Yunus,
Thank you very much for such a quick response. I have used 21.3 Oracle binaries and trying to find RU for 21.3 but not able to do so. if you know the RU for 21.3 or even for 19.3 please let me know. I have tried applying 21.5,21.6 but those also didnt resolve these CVEs

Please refer this link: https://www.oracle.com/security-alerts/alert-cve-2021-44228.html

Closing this for now.


Include a captain section

It would be something like
Captain
This project is currently captained by @userxyzabc. For information about current state and goals, see the captain log.

I think this should be int he Maintainers section. I have been doing this:
## Maintainers

Captain: @hsanjuan.

Listing the information about what a captain is is something we can do. But I don't think that every README should have a Captain, so I don't think this is a good section. It also privileges Captains over other maintainers. The linter I've been using for IPFS repos checks for a captain the maintainer section; that should solve your need here.

Ah, sorry, i didnt realize there was a maintainers section already!

It should be there, actually. Opened a PR.

Fixed. Updated.


[QUERY] Does the Function App’s Blob Trigger support reading from the secondary location automatically?

Library name and version
Microsoft.Azure.WebJobs.Extensions.Storage 5.0.1
Query/Question
Does the blob trigger fails over the secondary read-only location if the storage account is a RA-GRS or RA-GZRS account?
If not:

Are there any plans to include this feature?
Are there any guidelines or pointers to simulate this ourselves?

Environment
No response

Sorry for the late response.
If a failover were to happen, then the secondary will be called.
Is the question to automatically go to the secondary instead of the primary? I believe you would have to specify the secondary instead of the primary in that case.


Usecase: Video search like YouTube using vector database

Description
fixes #977

Related Issues

Checklist

[x] Is this code covered by new or existing unit tests or integration tests?
[x] Did you run make test successfully?
[x] Do new classes, functions, methods and parameters all have docstrings?
[x] Were existing docstrings updated, if necessary?
[ ] Was external documentation updated, if necessary?

Additional Notes or Comments

Codecov Report
Attention: 90 lines in your changes are missing coverage. Please review.

Comparison is base (7266d8b) 79.31% compared to head (75007f4) 78.89%.
Report is 23 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #981      +/-   ##
==========================================
- Coverage   79.31%   78.89%   -0.43%
==========================================
  Files          96      102       +6
  Lines        6025     6297     +272
==========================================
+ Hits         4779     4968     +189
- Misses       1246     1329      +83

Files
Coverage Δ

superduperdb/ext/anthropic/__init__.py
100.00% <100.00%> (ø)

superduperdb/ext/cohere/__init__.py
100.00% <100.00%> (ø)

superduperdb/ext/utils.py
41.17% <25.00%> (-38.83%)
:arrow_down:

superduperdb/ext/anthropic/model.py
57.89% <57.89%> (ø)

superduperdb/ext/cohere/model.py
46.72% <46.72%> (ø)

... and 30 files with indirect coverage changes

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

Could we make the presentation of the use-case closer to the real-life scenario?

Users wants to find the video containing some description (e.g. diagram of SuperDuperDB architecture).
Search is performed and a timestamp is returned
Video is played from that timestamp

To do that, you can use something like this in Jupyter:
from IPython.display import display, HTML

video_html = """
<video width="640" height="480" controls>
  <source src="path_to_your_video.mp4" type="video/mp4">
</video>
<script>
var video = document.querySelector('video');
video.currentTime = {time};
video.play();
</script>
""".format(start_time)

display(HTML(video_html))

https://github.com/SuperDuperDB/superduperdb/assets/138251983/99f35f54-d4b0-40e6-a22d-41043d7bd384

@blythed Thanks for input

@blythed Above requirements are fulfilled,
video search use case is working as intended!


Assasin's Creed Origins - White Dots & Lines

If you go out of the animus and stand with Layla at the entrance and look in the direction of the cave, you will see white dots or lines. These only appear when you look from a certain angle and only on edges. I also noticed that the whole thing seems to occur only in dark scenes. If you go out of the cave everything is normal. No lines, no dots.

Software information
Assasin's Creed Origins (through Ubisoft Launcher)
System information

GPU: AMD Radeon 7900 XT
Driver: 23.5.2
Windows version: W11 22H2
DXVK version: 2.2

ACOrigins_d3d11.log
ACOrigins_dxgi.log

You should make an apitrace, although this is most likely an amd windows vulkan driver problem and not a dxvk bug, like all of the other AC:O issues that have been reported before.

In the first screenshot where you are outdoors i am unsure what i should look at. Unless you mean the lines on the clouds.
In the other two i guess you mean the bright lines at the edges of stuff.
If you are not able to get a apitrace then a save game in a buggy location would be good too. I don't know how far this is in the game.

The first image only serves as a reference. There are no problems.
Exactly, in the other two pictures I mean the bright lines.
I put the files d3d9.dll, d3d11.dll, dxgi.dll and dxgitrace.dll from the apitrace into the game folder, but my game runs like on 1FPS. I can't even get to the start screen.

Is it possible for you to share a save game instead if apitrace doesn't want to cooperate?

Is it possible for you to share a save game instead if apitrace doesn't want to cooperate?

savegames.zip

I put the files d3d9.dll, d3d11.dll, dxgi.dll and dxgitrace.dll from the apitrace into the game folder, but my game runs like on 1FPS. I can't even get to the start screen.

That's normal. You just need to have some patience and power through.

So we can say that there is neither a problem with the GPU, nor with DXVK. So the problem lies somewhere outside. (Quote from mbriar: "amd windows vulkan driver problem")

This does seem like a likely driver related issue. I can reproduce with amdvlk (AMD's own driver) on Linux, but not radv.
apitrace: https://drive.proton.me/urls/08D98GNA6M#ZZSKXmDXVS1U

@senu1337 Are you able to verify that this works now with the latest amd driver?

Confirmed myself that AMD have fixed it in amdvlk 2023.Q3.3 Linux driver and 23.9.2 Windows driver.


print is not a function

I noticed that you compiled your module by bablel like (tool from ES2016 to JS).
But for nodejs you need to export module.exports = print not exports.default = print
You can solve this by compile it with property commonJS modules or use only nodejs 8.x API
But right now I need to rollback to v3 of your package. sadness :^(

Tried making it work both ways and couldn't figure out how. I think it also makes sense at this point to move to ES modules as primary. With that in mind, old require('gulp-print') becomes require('gulp-print').default
const gulp = require('gulp');
const print = require('gulp-print').default;

What do you think?

I think you should support LTS version of nodejs as minimum.
And should use the agreement in this infrastructure
I don't want to look as rude, but I use It for me =)

https://rollupjs.org/guide/en is normally for libraries where webpack is for web to come over this problem. Don't want do be rude aswell, but it breaks also the support from gulp infrastructure like gulp-load-plugins.

Please help me understand what is currently broken? Is require().default breaking something else?

I work on a PR, more tomorrow ;)
Alex Gorbatchev<EMAIL_ADDRESS>schrieb am Mi., 14. Feb. 2018,
20:19:

Please help me understand what is currently broken? Is require().default
breaking something else?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/alexgorbatchev/gulp-print/issues/20#issuecomment-365715640,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJ9OOOYOkAiL-OJQTI2IWDfw98-hmyLks5tUzHPgaJpZM4R5Gc4
.

You using TypeScript which is not supported by the node environment, which is fine in general. Problem is "just" that you exported the functionality in away which is very unusual in that environment and by that it brakes the expectations of that environment. That was what @aliaksandr-master said earlier. Modules are expected for v10 LTS, see http://2ality.com/2017/09/native-esm-node.html#when-will-es-modules-be-available-without-the-command-line-option

I think it also makes sense at this point to move to ES modules as primary.

Node has no support for ES modules at the moment, so I don't know how this makes sense. If this lib would be something is usable on the web and with node it would make sense to me. Where/How do you use this lib that as a module instead of a library?

Tried making it work both ways and couldn't figure out how.

I helped you with that by created PR #22 to make it work in both envs, CJS and ES6 modules. By adding module property in your package.json, tools which work with ES6 modules pick the module and default behavior is a CJS as usual.

@aliaksandr-master you can test the CJS version by changing your package.json to:
    "gulp-print": "hoschi/gulp-print#feature/rollup",


Performances: using upsert/replace instead of delete+insert

Issue Type

[x] Improvement
[x] Performance

Description and/or steps/code to reproduce the problem
In SqlTileWriter.saveFile, the tile is saved into the database in 2 statements: delete then insert.
There's a SQLite statement that could be run instead of those 2 - replace:

supposedly faster
more compact
functionally cleaner if someone tries to get the tile after the delete but before the insert

Are there good reasons why we shouldn't switch to replace - something like previous bad experiences?

What makes you think it's faster? If it is, we'll gladly take a PR for it. I think this needs to be benchmarked both ways to confirm.

My assumptions are that:

in SQLite, as they created a command that works a bit like the succession of 2 commands, this command shouldn't be slower
in Java, we'll use one SQLite command call instead of 2

But it definitely needs to be benchmarked; something like:

removing all tiles from zoom level 29
saving 100 tiles on z[29]/x[0]/y[0-99] using the same png, and computing the elapsed time
saving 100 tiles on the same z[29]/x[0]/y[0-99], and computing the elapsed time
doing that with both delete+insert and replace methods
comparing results

What do you think about it?

Closed as PR'ed in #996


Issue with ScreenShare:  a "track" is received, but not its trackevent related "trackevent".

Hey guys, if someone could help me with this.
I'm building a service that records audio and video tracks in a WebRTC conference room using the Go programming language and the WebRTC SDK. However, I'm experiencing an issue where the ontrackevent is not being triggered when a new screen is shared in the room. This is preventing me from being able to determine which participant shared the screen.
I have verified that the screen share track is being added to the peer connection and that it has the correct kind and label properties. I have also checked for errors or exceptions that might be thrown when the track is added, but I have not found any. I'm not sure what else could be causing the ontrackevent to not trigger. Any help with this issue would be greatly appreciated.
ion-sdk-go version:
commit: 62ecbcc9be4b213a9fc19518e36e6bb44af7d9a2
Merge: 12e32a5 319347a
Author: adwpc<EMAIL_ADDRESS>Date:   Mon Jul 11 10:45:23 2022 +0800
Merge pull request #71 from aspnair/master

ion-sfu-rtp example

go version
go version go1.18.1 darwin/arm64
ion version
commit: 17b4053c092cc839844c103c9e09d00829eabf70
Author: Pang<EMAIL_ADDRESS>Date:   Mon Jul 11 10:02:05 2022 +0800
fix: docker-start-services support multi-times execute (#610)

Guys, update on this scenario:
When I share my screen before connect my peer that is recording the call, the stream of desktop is as I expected, associated with the user that are streaming.
But when the user start streaming the scream after the recording peer comes to the call, I do not have that information.
Another point, I'm experiencing some irregularities when there are too many people on the call, 2 peers are ok, with 3-4 or more, it becames to lose some connectivity.
The machine dont't look like be the problem, I'm starting to think that these two issue, the screen share without peer information, and the users became lost in the connection, could be related.
If I found more clues, I bring here


Dark and Light Mode Integration

Dark and light mode switch for this website to enhance user experience, especially for users who prefer different viewing modes depending on the time of day or environmental conditions.
This contribution is part of Hacktoberfest 2024.

@kumartushar0605 Idea is very impressive but the color apple is using is black for blending it's video and image look blended with the background, and if we try to add light mode we would have to work on the videos which would be very difficult task, so I would like you to compare official site and this site and find out some issue, on which could work , btw thanks for you suggestion.


Add "combine" or "merge" operator for models

Something that I have missed is the ability to combine models outside of spread operators. One example of a (unrelated) language is jsonnet's object combine operator (see inheritance and nested field inheritance the sections).
To illustrate a bit what I'm thinking:
model Base {
  id: string;
  etag?: string;
  apiVersion: string;
}

model Overrides {
  id: int32;
  description?: string;
  apiVersion: never;
}

model Combined is Base + Overrides;

/*
// Resulting model:

model Combined {
  id: int32;
  etag?: string;
  apiVersion: never;
  description?: string;
}
*/

As indicated, the resulting model is not a subtype of either operands, the order of attributes could be preserved (although there is an argument to be made that overriding attributes should move later), decorators (not shown) are not merged etc.
I can think of a couple of places in azure core where this would be useful and simplify our life.
Playground Link

is the goal here not simply just have multiple model is

I don't think so. I wouldn't expect decorators on Base or Overrides to be applied to Combined. But I do want the property conflicts that would result in doing:
model Combined {
  ... Base;
  ... Overrides;
}

...with last-in-wins semantics...

I am missing something obvious here, but... how is this different from spread?

with spread you cannot override properties, here proposal is to have something that would behave like TS object spread

Ahh right. I don't remember why we made our spread not allow duplicates, but is that something we could change also? I am allergic to adding yet another composition mechanism.

Yeah I think the one thing though is that right now A & B and {...A, ...B} are exactly the same, I feel like A & B shouldn't be overriding(it merge in typescript)

Noting that this behavior of overriding is not possible in the typescript type system( as far as I remember), you can override object properties this way but not interface memebers

The type system does allow it in the sense that runtime spreads to the override calculations in the type system, but you can't declare such types (there is an issue tracking it that has been open for some time).
If the only real justification for spread not overriding previous properties is to maintain alignment with intersection, then I would be fine updating spread to override. Intersection should probably intersect same-named properties too, and that would definitely not make sense for spread...

One would also have to decide what to do for nested properties. You commonly want json-merge-patch like merge as opposed to replace-at-top-level. And controlling this would be the main reason to introduce another merge operator.

Hi, what about somethings like that ?
model Base {
  id: string;
  etag?: string;
  apiVersion: string;
}

// option A1 : new "@override" decorator on the properties (OK, except "override" is not actually a metadata)
model Combined {
  ...Base;
  @override id: int32;
  description?: string; // overriding a non existent property would print an error
  @override apiVersion: never;
}

// option A2 : new "override" keyword on the properties (great, but introduces a new keyword)
model Combined {
  ...Base;
  override id: int32;
  description?: string; // overriding a non existent property would print an error
  override apiVersion: never;
}

// option B1 : new "@override" decorator on the model (not my fav)
@override
model Combined {
  ...Base;
  id: int32;
  description?: string;
  apiVersion: never;
}

// option B2 : new "extends" keyword (not my fav, and introduces a new keyword)
@override
model Combined extends Base {
  id: int32;
  description?: string;
  apiVersion: never;
}

// or somethig in between ?

One would also have to decide what to do for nested properties. You commonly want json-merge-patch like merge as opposed to replace-at-top-level. And controlling this would be the main reason to introduce another merge operator.
I could live without as I live without it everyday in the JS ecosystem :D

But yeah, could be great

Kindly, in the hope of reviving this discussion for a top needed feature


Presolve issue for SOCPs

I have a SOCP problem (@mlubin : ACOPF with SOC relaxations), which gives different objective values when I have the following model options without any other modifications:
a. With CPX_PARAM_PREIND=0
Opt obj:<PHONE_NUMBER>
b. Without CPX_PARAM_PREIND=0
Opt obj:<PHONE_NUMBER>
When I solve SOCP with outer approximation using callback, I still get opt obj =<PHONE_NUMBER>. Looks like there is an issue with having presolve switched on.
I am on Julia 0.4 and have updated the packages. Would this be an issue on CPLEX.jl/JuMP.jl or in CPLEX itself?

This is almost certainly a (numerical?) issue with CPLEX itself. I'd recommend dumping the models to a file and reporting to CPLEX directly.

Thanks @joehuchette. But, I couldn't figure out a way to dump the model as I can either use writeLP or writeMPS. I tried MPS and when I load it on Cplex interactive optimizer, it doesn't solve the problem to optimality. Any suggestions?

Yeah, I'm not sure what format CPLEX supports that will like you write write SOCs to file. @mlubin?
Just opening a ticket with CPLEX and asking how to send the instance seems reasonable as well.

From the link, looks like CPLEX supports QPs to be written in MPS format.
https://www.tu-chemnitz.de/mathematik/discrete/manuals/cplex/doc/refman/html/appendixE10.html#156840
However, when I try to write it in MPS format and load it to interactive optimizer, it is doing funny things.

Yeah, but not SOC constraints AFAICT

m = Model(solver=CplexSolver())
@defVar(m, x[1:2])
@defVar(m, y >= 0)
@addConstraint(m, x[1]^2 + x[2]^2 <= y^2)
buildInternalModel(m)
MathProgBase.writeproblem(getInternalModel(m), "dump.mps")

Thanks @mlubin. Will try this and keep you updated.


Process not terminated on OOM error

How come this happened - that is - is this expected behavior? My application was not terminated and started working pretty strange - seems like it could not recover from this java.lang.OutOfMemoryError - but still, spring did not terminate the APP but it continue to run.
2020-10-16 16:57:46 (ERROR): ForgivingExceptionHandler Consumer SimpleConsumer [queue=my.partitioned.32.8.user, consumerTag=phoenix.lcoo.clientodds.7b892e20-480a-420a-
java.lang.OutOfMemoryError: Java heap space
        at java.base/java.util.Arrays.copyOf(Arrays.java:3745)
        at java.base/java.io.ByteArrayOutputStream.grow(ByteArrayOutputStream.java:120)
        at java.base/java.io.ByteArrayOutputStream.ensureCapacity(ByteArrayOutputStream.java:95)
        at java.base/java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:156)
        at org.springframework.util.StreamUtils.copy(StreamUtils.java:143)
        at org.springframework.util.FileCopyUtils.copy(FileCopyUtils.java:110)
        at org.springframework.amqp.support.postprocessor.AbstractDecompressingPostProcessor.postProcessMessage(AbstractDecompressingPostProcessor.java:91)
        at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:1423)
        at org.springframework.amqp.rabbit.listener.AbstractMessageListenerContainer.executeListener(AbstractMessageListenerContainer.java:1400)
        at org.springframework.amqp.rabbit.listener.DirectMessageListenerContainer$SimpleConsumer.callExecuteListener(DirectMessageListenerContainer.java:1036)
        at org.springframework.amqp.rabbit.listener.DirectMessageListenerContainer$SimpleConsumer.handleDelivery(DirectMessageListenerContainer.java:996)
        at com.rabbitmq.client.impl.ConsumerDispatcher$5.run(ConsumerDispatcher.java:149)
        at com.rabbitmq.client.impl.ConsumerWorkService$WorkPoolRunnable.run(ConsumerWorkService.java:104)
        at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:181)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:834)
2020-10-16 16:57:46 (ERROR): CachingConnectionFactory Channel shutdown: connection error

It's not clear what you expect the framework to do in this case.

I guess it cannot recover from this exception? I would just expect that my app exits. Is this something that is missing from my (mis)configuration of spring framework or?

OOM errors are hard to deal with; generally the JVM needs to be restarted; with the SimpleMessageListenerContainer we generally create and send a listener failed event if some unexpected exception occurs; with the Direct container, this is run on the client thread; I suppose we could add a try/catch and publish the event (then your event listener code could decide what to do). The problem with OOM errors, though, is that it might prevent us from creating the event in the first place.

This is from javadoc:
public class Error
extends Throwable
An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch. Most such errors are abnormal conditions.

The problem I had is that I did not know that my application was in some partially working state, since It did not stop, but it did not work either how it should.

Thanks. So by default (I do not need to configure anything?) - Direct and Simple listeners will exit the app on OOM?

btw. this fixes my problem, so thanks for that, but shouldn't you implement handler for all Error cases? Basically to use java.lang.Error in catching logic. All these seem pretty serious conditions AnnotationFormatError, AssertionError, AWTError, CoderMalfunctionError, FactoryConfigurationError, FactoryConfigurationError, IOError, LinkageError, ServiceConfigurationError, ThreadDeath, TransformerFactoryConfigurationError, VirtualMachineError.

So by default (I do not need to configure anything?)

Correct in the upcoming 2.3 release; with the 2.2.12 backport, the default behavior is do nothing (backwards compatibility); you have to set your own OOMHandler.
I suppose we could open it up to all errors, but, TBH, I don't think I have ever seen any of those errors in over 20 years working with Java.
@artembilan WDYT?

I don't think that we need care about those errors at the moment.
Let it be for a while!
We always can come back and extend when more and more requests will come.

I just pasted those from javadocs, but I guess there are other common errors like - StackOverflowError, and instead then hardcoding all possible children, I guess easiest would be to just match all java.lang.Error errors.

Stack overflow is not fatal; you can recover from it (unlike OOM). It would be wrong to kill the JVM.

I guess this SO post has a good explanation about that: https://stackoverflow.com/a/52115695/4882336

OK; convinced...

Thanx. Seems like more robust solution.


[Improvement][worker] When running the node alone, the worker group didn't support choose.

Describe the question
When running the node alone, the worker group didn't support choose.

Sometimes only a node must choose the worker group,  such as the node have more cpu or memory.
Which version of DolphinScheduler:
-[1.3.4-release]
Describe alternatives you've considered

I think it can be optimized. Is anyone willing to do it

I think it can be optimized. Is anyone willing to do it

@wssmao You can try the 1.3.5-release or the next 1.3.6-release

Close this issue since it can't be reproduced


feat: add spider-gazelle instrumentation

we updated spider-gazelle specifically to work with this project after seeing your twitter post

I've tested end to end with the current code too


Documentation error

The info page says "uses the device with index 0 and given page size. You can select a device with given index between 0 and 8 with constructor" but I believe this should read "between 0 and 7" as there are only 8 possible addresses, not 9.

Is not possible to change te I2C adress, only changing in the file AT24CX.h  like shown below.
// AT24Cx I2C adress
// 80
// 0x57
#define AT24CX_ID B1010111


Error when playing mono audio file

When using the VisualizationPlayer to play a mono wav (attached) file getting the following error:

Exception thrown: 'System.ArgumentException' in VisualizationPlayer.exe
WinRT information: Previous data not the same size
An exception of type 'System.ArgumentException' occurred in VisualizationPlayer.exe but was not handled in user code
WinRT information: Previous data not the same size
The parameter is incorrect.

Raised from following:
 _previousSpectrum = spectrumData.ApplyRiseAndFall(_previousSpectrum, _rmsRiseTime, _rmsFallTime, _frameDuration);
SampleAudio_0.4mb-mono.zip

I am not able to repro this with the most recent sample app and 1.07 nuget package. This error though indicates that the spectrumData and _previousSpectrum have different dimensions. Please let me know if this still reproes on your side.

Hey! Thanks for everyone's work on this awesome tool.
Just wanted to report that I encountered this same error when playing mono files with a custom visualizer. I based my visualizer off the custom draw visualizer in the sample app. Received the error "Previous data not the same size" from the same line as the OP.
Also noticed that in the sample app, if I open a mono file, the Custom Draw visualizer disappears. If I subsequently attempt to open a stereo file, the sample app crashes.
It seems to me that the problem could have to do with _emptySpectrum used when spectumData is either null or the media player is paused:
var spectrumData = args.Data != null &&
                                 spectrum.Source?.PlaybackState == SourcePlaybackState.Playing ?
                                 args.Data.Spectrum.LogarithmicTransform(spectrumBarCount, 20f, 20000f) :
                                 _emptySpectrum; <==This property here

_previousSpectrum = spectrumData.ApplyRiseAndFall(_previousSpectrum, _rmsRiseTime, _rmsFallTime, _frameDuration);

that property is set only once and it is set with 2 channels:
SpectrumData _emptySpectrum = SpectrumData.CreateEmpty(2, spectrumBarCount,ScaleType.Linear,ScaleType.Linear,0, 20000);
Seems that the problem could be the mismatch of channel counts between the SpectrumData and the _emptySpectrum? I attempted to resolve this by setting the audio channel count property of _emptySpectrum when loading my source:
private void Playback_SourceChanged(object sender, IVisualizationSource source)
{
    spectrum.Source = _playbackSource.Source;
    audioChannelCount = (uint)spectrum.Source.ActualChannelCount;
    _emptySpectrum = SpectrumData.CreateEmpty((uint)audioChannelCount, spectrumBarCount, ScaleType.Linear, ScaleType.Linear, 0, 20000);
}

but still encountered the same error. Any thoughts as to what it could be? Right now I'm attempting to create two separate visualizers, one for mono and one for stereo audio, and see how that goes.

Just wanted to follow up:
Creating separate visualizers for mono or stereo content does work and should be sufficient for my solution. However, I noticed that the issue also occurs when opening multichannel audio such as these test files here: https://www2.iis.fraunhofer.de/AAC/multichannel.html


Date input has appearance and functional issues

The input type date has several issues:

Currently it shows light gray placeholder text, but when a value is input the text remains light gray. The correct color should be black.
The date input should support a browser's native date selector UI as much as possible. Currently it does not work for Chrome, Firefox has appearance issues (FF adds a second calendar icon), and Safari looks ok.

@theadamparker, I solved this issue except for 2 nuances.
First: I tried to make the color change work after one of the subfields was filled (day, month, or year), but css does not have the ability to style the subfields, and if you do it through js, it only catches when all the subfields are filled. Now it works so that the gray color changes to black when all the subfields are filled (as shown in the video).
https://github.com/user-attachments/assets/e783367f-5acd-45ce-9f2c-4b8f7bdccb66
Second: I made it so that in all browsers the default calendar icons are hidden behind a custom one, except for firefox. All sources say that it cannot be styled because firefox does not provide the ability to style individual parts of the input[type='date'] with pseudo-elements, so it will always be at the end of the input (as shown in the photo).

Thanks @vern-gora. Looks like a big improvement for this component. The Firefox issue remains, but it's fairly minor. We should be good to go ahead and implement this.


Form validation for edit/new gist form

No blank field is allowed.

fixed:https://github.com/hackjutsu/Lepton/commit/0a3ed99103b09a1abe7804a0102578f0ebd7ddf8


Spectator View - compositor shows either holograms or videofeed

Hi,
using the example-project, the compositor in Unity just shows either the video-feed or the holograms (with an "one moment please" elgato-message in the background).
I'm using the newest version of Unity and this repo. Also I'm using an Elgato capture-card.

If you select "Toggle View", do you have valid data for the hologram and alpha streams?

Nope. We now tried using a Blackmagic capture card. Works.

I have seen this recently with the Elgato capture card, fix was:

Ensure the Elgato capture software was not running in the background (or as a zombie process)
Restart Unity
In extreme cases, restart PC


Fixing qiita client

When the OAuth2 token expires, we are requesting a new token - however, we were not changing it in the headers when retrying the request.

Coverage increased (+0.02%) to 83.023% when pulling c3e8a9ff21758d84c3a4b7bb5457b075153ddeef on josenavas:fixing-qiita-client-oauth2-retry into b9231474ad31cf5b6a4a8e03244752b9a5faf2da on biocore:master.


Docker ARM for windows: Can't run linux/amd64 on linux/arm64/v8

Recently, Docker released support for ARM devices on Windows, but I'm receiving errors with mssql
2024-07-04 20:01:46 SQL Server 2022 will run as non-root by default.
2024-07-04 20:01:46 This container is running as user mssql.
2024-07-04 20:01:46 To learn more visit https://go.microsoft.com/fwlink/?linkid=2099216.
2024-07-04 20:01:46 /opt/mssql/bin/sqlservr: Invalid mapping of address 0x2aaaad74d000 in reserved address space below 0x400000000000. Possible causes:
2024-07-04 20:01:46 1) the process (itself, or via a wrapper) starts-up its own running environment sets the stack size limit to unlimited via syscall setrlimit(2);
2024-07-04 20:01:46 2) the process (itself, or via a wrapper) adjusts its own execution domain and flag the system its legacy personality via syscall personality(2);
2024-07-04 20:01:46 3) sysadmin deliberately sets the system to run on legacy VA layout mode by adjusting a sysctl knob vm.legacy_va_layout.
2024-07-04 20:01:46
The error seems very similar when the M1 released, is there any workaround?

Related to #668, it was fixed there because of Rosseta emulation support via docker, seems to not be the case on Docker ARM for windows with Prism

Running into the same issue on this system:
OS Name:	Microsoft Windows 11 Pro
Version:	10.0.26100 Build 26100
System Type:	ARM64-based PC

Personally hoping #864 gains some traction, would love native support for arm64 instead of having to find some workaround like Rosetta

Personally hoping #864 gains some traction, would love native support for arm64 instead of having to find some workaround like Rosetta

TBH, I'll use any solution since right now, there is no way to use MSSQL on the new snapdragon devices, express installation, docker, etc... None works.
(Outside of azure-edge-sql but that is not a complete instance)

(Outside of azure-edge-sql but that is not a complete instance)

That was going to be my suggestion for now, as I don't believe there's any MS SQL Server on Linux Docker images that support ARM64. I thought it used to say that explicitly in the documentation and saw that message is no longer there so had hope.
For me, using azure-edge-sql is good enough for some local development when on the go until MS either supports ARM64 for SQL Server on Linux, or Docker adds prism support for Windows like they did with Rosetta on Mac

The SQL edge option seems to be a bit unreliable as well going forward: https://techcommunity.microsoft.com/blog/sqlserver/azure-sql-edge-update---september-2023/3930827


[BUG] : Exception of class ConcurrentDeleteDeleteException not raised by OPTIMIZE command

Description
when 2 jobs run OPTIMIZE command on same delta table, one of them throws Py4JJavaError exception. I was expecting ConcurrentDeleteDeleteException exception.
Steps to reproduce
Run OPTIMIZE command concurrently on same delta table

Observed results
Exception of Py4JJavaError is raised

Expected results
Exception of ConcurrentDeleteDeleteException
Further details

Environment information

DataBricks run time : 12.2 LTS (includes Apache Spark 3.3.2, Scala 2.12)
Delta Lake version : 2.2.0
Spark version: 3.3.2
Scala version: 2.12

Willingness to contribute
The Delta Lake Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the Delta Lake code base?

[ ] Yes. I can contribute a fix for this bug independently.
[ ] Yes. I would be willing to contribute a fix for this bug with guidance from the Delta Lake community.
[X] No. I cannot contribute a bug fix at this time.

I am running OPTIMIZE command which is related to Delta. So I was expecting ConcurrentDeleteDeleteException Exception instead of Py4JJavaError


477: signed request expected

Issue
When running  j = jodel_api.JodelAccount(lat=lat, lng=lng, city=city) I get  an exception which says Exception: (477, "signed request expected")
As suggested in the README.md, I have the latest jodel_api available since I just cloned it
...
Environment
If you're reporting a bug, please attach the output of the following commands:
$ pip show jodel_api => version is 1.1.5
$ pip -V => 9.0.1
$ python -V => 3.6.1
$ python -c "import jodel_api; print(jodel_api.JodelAccount.version); print(jodel_api.JodelAccount.secret)"

Fixed in  54e46ef.

thanks for that, how is the key updated?
So I can do it by myself when this one expires

I'm using this project. But it's pretty complicated to get running:
https://bitbucket.org/cfib90/ojoc-keyhack

okay thanks!

Key updated again?


In Planner, Backlog/Board row in header sometimes disappears

This is not reproducible at will, but is being seen - when working in the Board view, the header navigation row for Board/Backlog disappears:
It's here:

And - now it's gone:

To recreate - Edit a workitem's detail panel - close the panel and the navigation row disappears.

This issue was moved to fabric8io/fabric8-planner#2004


lazybar-core: mpd: Code cleanup

Created type alias for complex type (pub type IndexCache = Vec<ButtonIndex>;

Turned the tuple into a ButtonIndex

General code cleanup - moved repeated code into a function/out of matches

I'd like to see IndexCache as a public typedef (e.g. in lib.rs with the others). The mpd panel is the first to support dynamic, user-defined clickable areas, but I don't expect it to be the last. I haven't found a way to implement it without an index cache, so exposing that seems good. Plus, we get more documentation that way :)

Implemented in 42d7bbe
Also updated the PR message to reflect new changes


Remove app_name string resource

Issue #104

Closed and reopened from this repository as #106 for Travis.


chore: remove sticky headers

Related to https://github.com/bpmn-io/bpmn-js-properties-panel/issues/726
Removes the sticky headers feature until we find a proper fix for https://github.com/bpmn-io/bpmn-js-properties-panel/issues/726.
npx @bpmn-io/sr bpmn-io/bpmn-js-properties-panel -l bpmn-io/properties-panel#726-opt-out-sticky-headers

LGTM, minimal code impact so we can re-enable this in the future without too much trouble.

Let's merge this then. /cc @christian-konrad @CatalinaMoisuc @nikku still have the chance to disagree later 👍

still have the chance to disagree later

I would like to release to integrate the feel editor in bpmn-js-properties-panel. This should not block us, right? We could just re-release again if we decide to roll back

Yes, let's release fast and often 👍


Documentation: Spacing and typography updates

📇 Summary
Implement new and updated token values for our spacing as proposed in [doc here]
📜 Acceptance criteria

[x] PR has been reviewed by at least 1 developer

✅ Definition of Done / Outcomes

[x] Done when the tokens, components and utility packages have been updated to use the release the contains the changes above
[x]  Done when UF spacing classes used within the site have been updated with the new spacing tokens
[x] Done when custom CSS spacing styles have been updated with the new spacing tokens
[x] Done when we can confirm that the new spacing tokens are all added correctly to the spacing table on the spacing page
[x] Done when a PR on the documentation website is approved
[x] Done when the PR has been merged and published
* note: there is no need to wait for publishing on this ticket so we can merge and publish the changes immediately.

@melaniebmn , working on this , investigating some unexpected behaviours

This was done (PR link) and published yesterday


[TW#23138] wifi connection sometimes fails silently

I just noticed that sometimes the device is unable to connect to wifi without any error whatsoever. esp_wifi_connect() returns ESP_OK, but no further event is generated and no connection is established.
Relevant log messages:
I (274) phy: phy_version: 3910, c0c45a3, May 21 2018, 18:07:06, 0, 1
I (284) wifi: mode : sta (b4:e6:2d:b0:76:a9)
I (284) network: wifi event loop id: 2
I (284) network: station start
I (294) network: connecting to: mywifi
I (424) wifi: n:6 0, o:1 0, ap:255 255, sta:6 0, prof:1
I (1404) wifi: state: init -> auth (b0)
I (2404) wifi: state: auth -> init (2)
I (2404) wifi: n:6 0, o:6 0, ap:255 255, sta:6 0, prof:1

The network messages are from me. As you can see I get the event for SYSTEM_EVENT_STA_START, in the event handler I call ESP_ERROR_CHECK(esp_wifi_connect()); and that's it. There is no event after that.
My program currently just connects to wifi, does very little and then goes to sleep for two seconds. I can watch this loop run a few times but sooner or later it will hang at the above situation. Currently I use xEventGroupWaitBits with an infinite timeout to wait for a connection event bit I set/clear from the wifi event handler. So this situation causes my program to hang foreover.
As a workaround I can use a finite timeout and restart wifi until it works, but this should not be necessary or did I miss something?
This happens on the current esp-idf master (commit 64b56bef).

@JcBernack does the SYSTEM_EVENT_STA_DISCONNECTED event happen? How do you handle the SYSTEM_EVENT_STA_DISCONNECTED?

No, there is no event. If I would get a disconnected event I would try to reconnect:
case SYSTEM_EVENT_STA_DISCONNECTED: {
    ESP_LOGI(TAG, "disconnected");
    xEventGroupClearBits(system_event_group, EVENT_BIT_NETWORK_CONNECTED);
    if (reconnect) {
        // this is a workaround as ESP32 WiFi libs don't currently auto-reassociate
        ESP_LOGI(TAG, "reconnecting");
        ESP_ERROR_CHECK(esp_wifi_connect());
    } else {
        ESP_LOGD(TAG, "stopping");
        ESP_ERROR_CHECK(esp_wifi_stop());
    }
    break;
}

Sounds like what I saw in https://github.com/espressif/esp-idf/issues/1797. Espressif said they fixed it, but I have not yet had a chance to test.

Can confirm issue on ESP32D0WDQ6 rev. 1 on master.
After flashing WiFi works as expected. A reset makes it fail to connect without any catchable error (only state change logged).
I (0) cpu_start: App cpu up.
I (448) heap_init: Initializing. RAM available for dynamic allocation:
I (455) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM
I (461) heap_init: At 3FFD1F40 len 0000E0C0 (56 KiB): DRAM
I (467) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (474) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (480) heap_init: At 40095040 len 0000AFC0 (43 KiB): IRAM
I (486) cpu_start: Pro cpu start user code
I (169) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (190) wifi: wifi driver task: 3ffdb0ec, prio:23, stack:4096, core=0
I (190) wifi: wifi firmware version: 974aa77
I (190) wifi: config NVS flash: enabled
I (190) wifi: config nano formating: disabled
I (200) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (210) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (230) wifi: Init dynamic tx buffer num: 32
I (230) wifi: Init data frame dynamic rx buffer num: 32
I (230) wifi: Init management frame dynamic rx buffer num: 32
I (230) wifi: Init static rx buffer size: 1600
I (240) wifi: Init static rx buffer num: 10
I (240) wifi: Init dynamic rx buffer num: 32
I (320) phy: phy_version: 3910, c0c45a3, May 21 2018, 18:07:06, 0, 0
I (320) wifi: mode : sta (24:0a:c4:13:0e:98)
D (320) wifi-app: event 2
I (320) bt: init controller
I (320) BTDM_INIT: BT controller compile version [bc70352]

I (330) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (580) bt: init api
I (660) bt: The number handle: 6
D (660) wifi-app: wifi data found on flash
I (800) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:1
I (1800) wifi: state: init -> auth (b0)
I (1810) wifi: state: auth -> auth (8a0)
I (2800) wifi: state: auth -> init (2)
I (2800) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:1

However resetting it again produces normal behavior. The bug occurs after every second reset.

Have also seen this problem and it was improved after recent commits but just had a station drop off the network after 6 days (before it was 1-2 days) and required power cycle.

@JcBernack @xentec @negativekelvin Have you invoke any scan operation before connected?

@XinDeng11 Hm, on first boot-up I probably did a scan yes. I will try to reproduce the issue and check if scanning has an effect.

@XinDeng11 no explicit scan, just an esp_wifi_connect with a valid wifi_config_t.

@JcBernack  Because we found there is one case would case this issue, one STA disconnected, it will try to reconnect if you invoke connect in disconnect event, however, if there is a user scan come, it will report scan_done event, which would stop the reconnect flow, and if there is no other connect cmd come, the reconnect will stop forever.

Have not seen this problem again yet, station has been up for 14days

Finally dropped again , no connection, dhcp lease expired. Don't have any logs though.

Hi, @negativekelvin, recently, we fix two bugs couldn't reconnect. However, you don't have log. I couldn't judge whether it can help you, but you can use the latest do test, but it still need few days merge

@XinDeng11 it looks like those fixes are related to coexist but I am not using Bluetooth.  Is there any effect without Bluetooth?

@negativekelvin  No, the change hasn't merge yet,  it is only about wifi, please wait a few days

@negativekelvin The change has merged, you can use the latest IDF do test again, thanks


Panic when testing XSS fussing

markdown-it throws a panic when input is malformed:
thread 'tokio-runtime-worker' panicked at /home/kimt/.cargo/registry/src/index.crates.io-6f17d22bba15001f/markdown-it-0.6.0/src/generics/inline/code_pair.rs:87:46:
index out of bounds: the len is 0 but the index is 1

Rendering code:
let parser = &mut markdown_it::MarkdownIt::new();
markdown_it::plugins::cmark::add(parser);
markdown_it::plugins::extra::add(parser);
let ast = parser.parse(input_data);
ast.render().into()

This is my input data:
[XSS](javascript:prompt(document.cookie))
[XSS](j    a   v   a   s   c   r   i   p   t:prompt(document.cookie))
[XSS](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)
[XSS](&#x6A&#x61&#x76&#x61&#x73&#x63&#x72&#x69&#x70&#x74&#x3A&#x61&#x6C&#x65&#x72&#x74&#x28&#x27&#x58&#x53&#x53&#x27&#x29)
[XSS]: (javascript:prompt(document.cookie))
[XSS](javascript:window.onerror=alert;throw%20document.cookie)
[XSS](javascript://%0d%0aprompt(1))
[XSS](javascript://%0d%0aprompt(1);com)
[XSS](javascript:window.onerror=alert;throw%20document.cookie)
[XSS](javascript://%0d%0awindow.onerror=alert;throw%20document.cookie)
[XSS](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)
[XSS](vbscript:alert(document.domain))
[XSS](javascript:this;alert(1))
[XSS](javascript:this;alert(1))
[XSS](javascript&#58this;alert(1))
[XSS](Javascript:alert(1))
[XSS](Javas%26%2399;ript:alert(1))
[XSS](javascript:alert(1))
[XSS](javascript:confirm(1)
[XSS](javascript://www.google.com%0Aprompt(1))
[XSS](javascript://%0d%0aconfirm(1);com)
[XSS](javascript:window.onerror=confirm;throw%201)
[XSS](�javascript:alert(document.domain))
![XSS](javascript:prompt(document.cookie))\
![XSS](data:text/html;base64,PHNjcmlwdD5hbGVydCgnWFNTJyk8L3NjcmlwdD4K)\
![XSS'"`onerror=prompt(document.cookie)](x)\

Welcome @kimtore! 👋
This project isn't markdown it.
If you want to file a markdown it rust bug, file it at their issue tracker.
https://github.com/markdown-it-rust/markdown-it

Heh, my bad, thanks.
I tried this project but needed URL autolinking, so had to go with the other one.

Not sure what you mean as URL autolinking. Perhaps you mean GFM autolinks. This project has GFM: https://github.com/wooorm/markdown-rs#extensions

I want https://... to be converted into links, and preferably removing the https:// part from the text.

That first part is what GFM does.

it seems that it is required to wrap the link in <angle brackets>.

That is what CommonMark does.

Thanks a lot, I didn't realize that GFM did the trick.
Now back to using your library :-)

Is there a chance you'll implement protocol removal of link texts as an option?

nope


Animations not looping on inherited scenes from a 3D gltf animated mesh

Bugsquad note: This issue has been confirmed several times already. No need to confirm it further.

Godot version:
Commit 3aa46a58cd3ae5f327929d127ac5fef0733176c9
Latest master from december 16, 2019
OS/device including version:
Linux Pop_OS! 19.10
Issue description:
In inherited scenes from animated 3D meshes, animations won't loop at runtime even though I set the animations to loop on the animation player. The animation does loop in the editor, the problem is only in-game.
Steps to reproduce:

Import a .glb or .fbx rigged and animated mesh in Godot
Create a new inherited scene from the imported mesh
Select the animation player and set an animation to autoplay and loop
Create a scene to see the character in the game
Play the game

The animation doesn't loop. The looping setting is properly saved in the inherited scene: if you set the animated mesh scene to "Editable children" in the game scene, you'll see the looping option is still checked on the AnimationPlayer.
Note that if you clear the inheritance on the animated character, looping will then work as expected.
Minimal reproduction project:
Here is a working project with the issue above. The character is only in gltf2 but the issue is the same with fbx. I didn't include the fbx as the character's mesh normals won't import well at the moment.
animation-looping-bug.zip

This bug is not related to https://github.com/godotengine/godot/issues/32678.
The animation needs to be saved as a separate .anim file so that the loop setting is saved.

@NathanLovato Is using the cycle / loop hint flags enough for your use case?

That is, naming the animations in Blender so that they loop properly in Godot? Sure, that would be fine by me.

Please close the issue after testing with your model and animations.

This bug report is about the loop animation checkbox not working in the Godot editor. While I'm fine using a workaround personally, shouldn't this button be at least disabled with inherited scenes from imported models? At the moment, you can still toggle it but it won't do anything.

I wonder if we have a locked state for that button. We have on and off.

Doesn't this only break when using AnimationTree to drive the imported GLTF 2.0 scene's AnimationPlayer?
I have only had problems with animations not looping once I started using the AnimationTree.
Before when I used the AnimationPlayer directly it was fine.
I was able to workaround this by adding a a piece of code that'll set the loop flags for specific animations on ready:
func _ready():

	var anim_player = $Mesh/AnimationPlayer
	var animations = ['Run', 'Idle', 'Idle2', 'Fly']

	for animation in animations:
		animation = anim_player.get_animation(animation)
		animation.loop = true

No, this happens with the raw inherited scene from the gltf file. See the steps and test project above.

I can reproduce the issue.

I can check if the animation resource is_local_to_scene(), but I have to go through everything. So I don't think it's the solution.

Looks like this. https://github.com/fire/godot/tree/34394
https://github.com/fire/godot/commit/44c07c64bc28a8908a61ead67dccd5c098e010d0#diff-62dbccc2e9b8184a960eeca3afa931b1R1436-R1439

Still valid in 3.2.4 beta3

Confirmed in 3.2.4 RC 1 (following that same tutorial which prompted @NathanLovato to open this bug report :P).
To clarify on why this happens, the problem is that when you make an inherited scene from an imported animated mesh (glTF, FBX or Collada, should be the same for all), if the animations are embedded in that imported scene, they can't be modified, like other embedded resources of the imported scene.
The "Autoplay" property works as it's on the AnimationPlayer node, whose properties can be modified, but "Loop" is a property from the Animation resource, which seem to be read-only. I'm not sure if/how this could be fixed, though it's definitely unexpected. Note that there's a warning about it in the AnimationPlayer:

While that's not a fix, one workaround which is less problematic than losing the whole inheritance and converting the imported mesh to a standalone Godot scene (which creates big files - several MBs if using tscn) is to duplicate the animation that you want to modify (e.g. idle duplicated to idle-loop). That duplicated animation will then be local to the inherited scene and can be edited at will. Again, not a fix but documented this here for others who might run into the same issue.

I, too, was confused when the '-loop' suffix didn't actually made the animations loop.
My understanding of imported files is that godot creates an internal intermediate object representing that file's content (the actual fbx file is not used in the runtime). Maybe i'm wrong with this assumption, but if not then i don't see a reason this internal representation can't be created in a way that respects import flags.

This bug report is about the loop animation checkbox not working in the Godot editor. While I'm fine using a workaround personally, shouldn't this button be at least disabled with inherited scenes from imported models? At the moment, you can still toggle it but it won't do anything.

I am playing with it at the moment and it does something: if you check the loop button, the animation is looping in the editor when you hit the play button of the animation tab. Hence, I believe that this checkbox is controlling the loop property of the AnimationPlayer, as opposed to overwriting the loop property of the animation itself. But for some reason, the behaviour is not the same when playing the game.
Where should I start to look in the source code if I wanted to check why the behaviour is different between in-editor and in-game?

confirmed this issue is still present in 3.4 stable, whats everyone been using for the best way to loop GTLF inherited animations?

My work around was to put this in a parent script:
var animation_player

func _ready():
    animation_player = get_node("Path/To/AnimationPlayer")
    animation_player.play("idle")
    animation_player.connect("animation_finished", self, "do_anim_finished")

func do_anim_finished(animation):
	animation_player.play(animation)

Technically this should've worked too in a single line but I couldn't get the argument types to match up with the callback.
	#animation_player.connect("animation_finished", animation_player, "play", [anim_name])

Technically this should've worked too in a single line but I couldn't get the argument types to match up with the callback.

You don't need [anim_name], because animation_finished signal already passes it.

Note that for AnimationTree users, this issue is also relevant: https://github.com/godotengine/godot/issues/40154

The same issue is present in Godot 4 as well (alpha 12). I don't know if this is the right place to report?

Still an issue in 3.5 apparently.

Just want to throw in my experience w/ Godot build from the main branch

Imported GLTF embedded file w/ an animation track
In the imported gltf file, I opened that scene and checked the Loop Mode to Linear
Created an instanced scene from the gltf just to check if the loop mode is actually inherited
In the instanced scene the animation clip still doesn't loop when selected

The imported file has an AnimationPlayer and I still use it in the instanced scene. But when looking at the loop settings for that clip, it's not set, and I cannot click the loop button because it's embedded in another scene.
I unchecked Optimizer for the import and nothing changed.

Out of curiosity, why was this issue closed? It's still present in Godot 4 Beta 4. Seems like a button to loop animations button should just work.

You’re probably meant to add a loop tag to the name in the 3D editor, which is strange as other things can be imported and changed in Godot and it will just store the changes in the import meta data, specially material changes.

@StoreBoughtRocketGames an user with the same issue here. Godot won't let me loop an animation, as it is showing:
"Can't change loop mode on animation embedded in another scene."
My scene is literally not embedded in any other scene. I just opened the .glb file from the file explorer and created a new inherited scene as recommended.

Inheritance is your issue here. The animation is embedded in the PARENT scene.

@Zireael07 so what is the best approach to treat it as an independent scene I can modify?

Just adding my two cents for "Can't change loop mode on animation embedded in another scene" since I couldn't find "Clear Inheritance." in Godot 4 (however I am a newbie). When Godot asks to New Inherit or Open Anyway click on Open Anyway. Then you can right click on the tab and Save Scene as.... After saving it, looping works.

Hi there,
I found an easy workaround to this (still up-to-date) issue.
Godot version : v4.1.stable.official [970459615]

Import normally your gltf scene in a 3D node, right click on it and hit "Editable children" button.

Select the AnimationPlayer, In the animation panel, click on "Animation" to open "Manage Animations" :

All animations should be grayed, but next to the "Global" root, click the disk icon and hit "Make it unique" :

After that, it should work!

@thmsgntz big thx this was driving me nutz

I think the intended workflow is to open the advanced importer dialog and set the Loop Mode on the imported animations. Can someone with this issue confirm if the Advanced Importer loop setting on the animation solves this. If so, this kind of works as intended in 4.x
I would like there to be a way to set a file-wide default setting for properties such as animation loop mode or physics, but that needs to be its own proposal.

I think the intended workflow is to open the advanced importer dialog and set the Loop Mode on the imported animations. Can someone with this issue confirm if the Advanced Importer loop setting on the animation solves this. If so, this kind of works as intended in 4.x
I would like there to be a way to set a file-wide default setting for properties such as animation loop mode or physics, but that needs to be its own proposal.

This is how I have done it recently with a GLB that I imported. Just set the loop mode for a few of the animations I needed it on (run/idle) in the advanced import settings & they loop as expected.
Running on 4.2.1 stable


Last versions 4.0 and 4.1 do not work in current Waterfox

Last working version in current Waterfox 56.2.5 (Windows 7) is version 3.0, later versions 4.0 and 4.1 do not work. The extension page is properly displayed when one clicks on the circled S toolbar button, but then the buttons won't work ; for example the "Open file" one will allow to select a file, but then nothing will happen ; the "Configuration" button won't display anything when clicked. The problem is still here on a fresh Waterfox profile. I don't have any problem on current Firefox 63.0.3. Maybe versions 4.0 and 4.1 introduced incompatibilities with old Firefox versions ? The Firefox add-on site still says 4.0 and 4.1 are compatible with Firefox 48+ however.

Try this archive. Unpack the archive and open app/app.htm as a page in Firefox (or whatever you use except Chrome/Chromium).
app.zip

You are right, I have to do that. Thank you.

Maybe you could just update the Firefox version requirements on addons.mozilla.org for your addon versions 4.0+,

You are right, I have to do that. Thank you.

Hi, same issue here, any news on this?
Waterfox 56.x are based on Firefox 56.  mozlz4-edit versions 4.0 and later are broken in Waterfox 56.x due to relying on JavaScript modules support, which according to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#Browser_compatibility requires at least Firefox 60 (and the preference mentioned for older versions doesn't seem to actually work in Firefox 56 nor Waterfox 56).
Testing in more detail with mozlz4-edit version 4.1:

works in Firefox 60+
In Firefox 59, it works if I manually set about:config > dom.moduleScripts.enabled to true
The addon version 4.1 does not work in older Firefox versions.


Can't connect two Nodes on two machines in AWS

Using centOS 7 on ec2 instances with the latest quorum-maker.
Wanted to connect a Node from instance A with a Node from instance B with the "join network" task.
I configured the Network-Node and can access the webinterface.
Node A:
Please select an option:

Create Network
Join Network
Attach to an existing Node
Setup Development/Test Network
Exit
option: 1
Please enter node name: nodename1
Please enter IP Address of this node: myip
Please enter RPC Port of this node[Default:22000]:
Please enter Network Listening Port of this node[Default:22001]:
Please enter Constellation Port of this node[Default:22002]:
Please enter Raft Port of this node[Default:22003]:
Please enter Node Manager Port of this node[Default:22004]:
Please enter WS Port of this node[Default:22005]:

Successfully created and started nodename1
You can send transactions to myip:22000
For private transactions, use pTRZo0CoFY8z8Og977Il8EJt7NkIQe0zETP6rLEPmW8=
For accessing Quorum Maker UI, please open the following from a web browser http://localhost:22004/
To join this node from a different host, please run Quorum Maker and choose option to run Join Network
When asked, enter myip for Existing Node IP and 22004 for Node Manager Port

{"level":"info","msg":"Node Manager listening on :22004...","time":"2018-10-02T09:56:19Z"}
{"level":"info","msg":"Deploying Network Manager Contract","time":"2018-10-02T09:56:20Z"}
{"level":"info","msg":"Adding whitelisted IPs","time":"2018-10-02T09:56:23Z"}
^C{"level":"info","msg":"Node Manager Shutting down","time":"2018-10-02T10:13:19Z"}
Node B:
Please select an option:

Create Network
Join Network
Attach to an existing Node
Setup Development/Test Network
Exit
option: 2
Please enter node name: noden12
Please enter IP Address of existing node: myip
Please enter Node Manager Port of existing node: 22004
Please enter IP Address of this node: myotherip
Please enter RPC Port of this node[Default:22000]:23000
Please enter Network Listening Port of this node[Default:23001]:
Please enter Constellation Port of this node[Default:23002]:
Please enter Raft Port of this node[Default:23003]:
Please enter Node Manager Port of this node[Default:23004]:
Please enter WS Port of this node[Default:23005]:

Join Request sent to myip. Waiting for approval...
and then it gets stuck and times out. I don't get a notification for a approval. is this an error with docker and ports on the instance?
Edit: There is no file in qdata/logs, so I don't know whats the error.

Check your docker container. Do
$docker ps -a
Check container status. If it is running then do
$ netstat -pnat | grep listen
Check rpc and  nodemanager status.
Can u please post the logs?

Hey! :)
so the Node, wich is hosting:
docker ps -a
WARNING: Error loading config file:/home/uib05246/.docker/config.json - invalid character 'G' looking for beginning of value
CONTAINER ID        IMAGE                              COMMAND                  CREATED             STATUS                      PORTS                                                            NAMES
221e4b8e98e8        syneblock/quorum-maker:2.1.0_2.5   "./start_continent..."   16 seconds ago      Up 14 seconds               <IP_ADDRESS>:22000-22005->22000-22005/tcp, <IP_ADDRESS>:22001->22001/udp   continent
cad60dec9b0b        hello-world                        "/hello"                 50 minutes ago      Exited (0) 50 minutes ago
the Node wich is trying to connect:
docker ps -a
CONTAINER ID        IMAGE                              COMMAND                  CREATED             STATUS                      PORTS               NAMES
eac1cacf17d6        syneblock/quorum-maker:2.1.0_2.5   "node/pre_start_ch..."   7 seconds ago       Up 7 seconds                                    youthful_mirzakhani
f0d4b587e16e        ubuntu                             "/bin/bash"              About an hour ago   Exited (0) 42 minutes ago                       webserver
70d58c52c832        hello-world                        "/hello"                 24 hours ago        Exited (0) 24 hours ago                         condescending_dijkstra
(I'm sorry for the layout..)
When I do "netstat -pnat | grep listen", I get "(Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.)" so I ran it with sudo, then I get no output at all...

Sorry it was my fault listen should be in caps
$ netstat -pnat | grep LISTEN
Looks like your  node manager is down. Do one thing. Start the second machine(Node which is trying to connect) by executing start.sh script. Then do
$ docker exec -it {container_id} bash
root@{container_id}: /home/node/
root@{container_id}: /home/node/qdata# cd  qdata
root@{container_id}: /home/node/qdata#
You should be able to see geth.ipc in qdata directory. If it is there then execute the following command.
root@{container_id}: /home/node/qdata# geth attach geth.ipc

admin.addPeer({enodeAddress of other machine});

Then check your peers from the geth console.

admin.peers

You can get enode address from quorum maker dashboard. Go to the first aws instance dashboard -->
http://{your_first_AWS_IP}:22004
click on active nodes tab and check the enode address.

One more thing... Did you add rule for NodeManager Port and Constellation port?. If rule is not added then it will never connect. Go to AWS Dashboard and add rules for your ports. Add inbound and outbound rule for the ports.

Okay so I did the "netstat -pnat | grep LISTEN:
Node wich is hosting:
tcp        0      0 <IP_ADDRESS>:25            <IP_ADDRESS>:*               LISTEN      -
tcp        0      0 <IP_ADDRESS>:3389            <IP_ADDRESS>:*               LISTEN      -
tcp        0      0 <IP_ADDRESS>:111             <IP_ADDRESS>:*               LISTEN      -
tcp        0      0 <IP_ADDRESS>:3350          <IP_ADDRESS>:*               LISTEN      -
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      -
tcp        0      0 <IP_ADDRESS>:631           <IP_ADDRESS>:*               LISTEN      -
tcp6       0      0 ::1:25                  :::*                    LISTEN      -
tcp6       0      0 :::111                  :::*                    LISTEN      -
tcp6       0      0 :::22000                :::*                    LISTEN      -
tcp6       0      0 :::22001                :::*                    LISTEN      -
tcp6       0      0 :::22002                :::*                    LISTEN      -
tcp6       0      0 :::22003                :::*                    LISTEN      -
tcp6       0      0 :::22004                :::*                    LISTEN      -
tcp6       0      0 :::22005                :::*                    LISTEN      -
tcp6       0      0 :::22                   :::*                    LISTEN      -
tcp6       0      0 ::1:631                 :::*                    LISTEN      -
and Node wich is trying to connect:
tcp        0      0 <IP_ADDRESS>:25            <IP_ADDRESS>:*               LISTEN      -
tcp        0      0 <IP_ADDRESS>:3389            <IP_ADDRESS>:*               LISTEN      -
tcp        0      0 <IP_ADDRESS>:111             <IP_ADDRESS>:*               LISTEN      -
tcp        0      0 <IP_ADDRESS>:3350          <IP_ADDRESS>:*               LISTEN      -
tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      -
tcp        0      0 <IP_ADDRESS>:631           <IP_ADDRESS>:*               LISTEN      -
tcp6       0      0 ::1:25                  :::*                    LISTEN      -
tcp6       0      0 :::111                  :::*                    LISTEN      -
tcp6       0      0 :::22000                :::*                    LISTEN      -
tcp6       0      0 :::22001                :::*                    LISTEN      -
tcp6       0      0 :::22002                :::*                    LISTEN      -
tcp6       0      0 :::22003                :::*                    LISTEN      -
tcp6       0      0 :::22004                :::*                    LISTEN      -
tcp6       0      0 :::22005                :::*                    LISTEN      -
tcp6       0      0 :::22                   :::*                    LISTEN      -
tcp6       0      0 ::1:631                 :::*                    LISTEN      -

I did that manually through the centOS with -p port:port when I set up the Node, if thats what you mean.
Therefor I edited the setup.sh:
docker run -p 23000:23000 -p 23001:23001 -p 23002:23002 -p 23003:23003 -p 23004:23004 -p 23005:23005 .......

No i am not talking about docker. See your first machine works fine because it is not connecting to any  other machine. Your second machine will first send join request to first machine then it will start downloading transactions...

I did that manually through the centOS with -p port:port when I set up the Node

Did you setup ec2 machines on your own?. Please refer this [(https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/authorizing-access-to-an-instance.html)]
If you did not setup the ec2 instance then ask  your administrator to add inbound and outbound rules for the ports. Its not docker thing. It is firewall issue.
You have to add the rule from amazon ec2 dashboard.  Please contact your EC2 administrator or whoever had setup ec2 instances for you....
In your case  ports which are used for quorum maker does not accept connections from outside(firewall issue).

Unfortunately there is no geth.ipc... only directory geth, keystore and logs

Yes it won't come up in your second machine because its join request was not accepted due to firewall issues.

You are completly right, I didn't set up these instances and I thought the same and wrote an email to the administrator. I hope he can add these rules. Thank you very much for you help that far, I'll wait for the rules to be set and try again. :)

Ok. :)

Hey did it work?.

Hey I'm still waiting for the admin to open the ports...

Ok .... Welcome :)


⚠ Redacted has degraded performance

In 892039a, Redacted ($RED) experienced degraded performance:

HTTP code: 200
Response time: 7547 ms

Resolved: Redacted performance has improved in 052e994 after 6 minutes.


Punctuation embedded end php not colored

Scopes at cursor:
text.html.php
meta.embedded.line.php
punctuation.section.embedded.end.php
source.php

Not yet. This will make it into the next release.


Host budget metering, cost model, calibration changes

What
This is a set of sweeping changes/fixes/cleanups to host calibration and metering:

Clean up of cost types:

Add HostMemAlloc/Cpy/Cmp for host memory allocation, copy, and comparison
Remove redundant cost types or consolidate them with more general types such as HostMem types, e.g. ScVecToHostVec, CloneEvents, HostObjAllocSlot, and the single byte cost types i.e. BytesPush/Pop/Insert/Del.

Clean up unused model terms: log, quadratic

Add a "baseline" calibration and subtract it from the actual measurements for more accurate results

Remove sample deallocation (using std::mem::forget) from the measurement results for better accuracy.

Various fixes:

ChargeBudget was previously not increasing the input
MeteredVector, MeteredMap when to charge_new.
metered_scan_slice_of_slices
test_declared_size was being too strict (using assert_eq instead of le), resulting in failure in CI but passes locally.

Changes for improving debug experience

Add per cost per CostType to the Budget, add Debug impl for it.

Update the cpu and mem cost parameters based on the newly calibrated results.

Why
[TODO: Why this change is being made. Include any context required to understand the why.]
Known limitations
[TODO or N/A]

@graydon I have just pushed three commits that addresses your major concerns:

Use recycling patterns instead of std::mem::forget
Putting runner inside std::hint::black_box to prevent unexpected optimization.
Resolve bytes over-charging.
I think this should solve all of the structural issues. I will go on to address the remaining "nit"/one-off comments.


Direct open xlsx file from folder without drag and drop

Hi, anyone know how to direct open the file from folder? i am using this code:
/* set up XMLHttpRequest */
var url = "http://localhost/test.xlsx";
var oReq = new XMLHttpRequest();
oReq.open("GET", url, true);
oReq.responseType = "arraybuffer";
oReq.onload = function(e) {
var arraybuffer = oReq.response;
/* convert data to binary string */
var data = new Uint8Array(arraybuffer);
var arr = new Array();
for(var i = 0; i != data.length; ++i) arr[i] = String.fromCharCode(data[i]);
var bstr = arr.join("");
/* Call XLSX */
var workbook = XLSX.read(bstr, {type:"binary"});
/* DO SOMETHING WITH workbook HERE */
firstSheet = workbook.SheetNames[0];
document.write(JSON.stringify(workbook));
parsed = XLSX.utils.sheet_to_csv(firstSheet);
}
oReq.send();
i know its just throw json, what i want is its parsed like this example http://oss.sheetjs.com/ not only a json.
thanks

There's no standard way for a web browser to break the sandbox and proactively read from your computer.  You have to somehow provide the file.  The README includes a few examples using drag-and-drop / file input element.   http://oss.sheetjs.com/js-xlsx provides both input methods.


[publication_list] allow repeated bibtex entries optionally

I'm using multiple bibtex files to create list of publications (issue #261 ). One use case is that we have a team where each one of us maintain our own bibtex files. Some of us are coauthors in some papers leading to the same bibtex entries in multiple files (of coauthors).
This results in pybtex error; E.g.
pybtex.database.BibliographyDataError: repeated bibliograhpy entry: Khanal_2012
Can we give user the option to allow or prevent compiling with repeated bibtex entries by choosing only one from those repeated entries? Maybe by default take unique entries from the list of all entries, and issue warning during compilation if the length of unique entries do not match with the length of all entries.

Are you sure they are in different files? This error should never occur if duplicated entries are in different files. Currently there is no warning in such case, but the error should also never emit.

Yes definitely. Each of these files are working fine when entered individually; combining more than one when they do not have the same bibtex entries also works.
The complete error is below, if it helps:
[2018-04-01T08:51:48Z] ERROR: auto: Scanning posts........done!
.  render_sources:public/publications/index.rst
.  render_posts:timeline_changes
.  render_posts:cache/pages/publications.html
########################################
TaskError - taskid:render_posts:cache/pages/publications.html
PythonAction Error
Traceback (most recent call last):
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/doit/action.py", line 403, in execute
    returned_value = self.py_callable(*self.args, **kwargs)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/nikola/post.py", line 579, in compile
    lang)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/nikola/plugins/compile/rest/__init__.py", line 152, in compile
    output, error_level, deps, shortcode_deps = self.compile_string(data, source, is_two_file, post, lang)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/nikola/plugins/compile/rest/__init__.py", line 131, in compile_string
    no_title_transform=self.site.config.get('NO_DOCUTILS_TITLE_TRANSFORM', False))
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/nikola/plugins/compile/rest/__init__.py", line 352, in rst2html
    pub.publish(enable_exit_status=enable_exit_status)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/core.py", line 217, in publish
    self.settings)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/readers/__init__.py", line 72, in read
    self.parse()
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/readers/__init__.py", line 78, in parse
    self.parser.parse(self.input, document)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/__init__.py", line 191, in parse
    self.statemachine.run(inputlines, document, inliner=self.inliner)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 171, in run
    input_source=document['source'])
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/statemachine.py", line 239, in run
    context, state, transitions)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/statemachine.py", line 460, in check_line
    return method(match, context, next_state)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2753, in underline
    self.section(title, source, style, lineno - 1, messages)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 327, in section
    self.new_subsection(title, lineno, messages)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 395, in new_subsection
    node=section_node, match_titles=True)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 282, in nested_parse
    node=node, match_titles=match_titles)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 196, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/statemachine.py", line 239, in run
    context, state, transitions)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/statemachine.py", line 460, in check_line
    return method(match, context, next_state)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2753, in underline
    self.section(title, source, style, lineno - 1, messages)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 327, in section
    self.new_subsection(title, lineno, messages)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 395, in new_subsection
    node=section_node, match_titles=True)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 282, in nested_parse
    node=node, match_titles=match_titles)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 196, in run
    results = StateMachineWS.run(self, input_lines, input_offset)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/statemachine.py", line 239, in run
    context, state, transitions)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/statemachine.py", line 460, in check_line
    return method(match, context, next_state)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2326, in explicit_markup
    nodelist, blank_finish = self.explicit_construct(match)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2338, in explicit_construct
    return method(self, expmatch)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2081, in directive
    directive_class, match, type_name, option_presets)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/docutils/parsers/rst/states.py", line 2130, in run_directive
    result = directive_instance.run()
  File "/home/bk17/naamii/website/naamii.gitlab.io/plugins/publication_list/publication_list.py", line 102, in run
    all_entries.extend(parser.parse_file(a).entries.items())
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/pybtex/database/input/__init__.py", line 51, in parse_file
    self.parse_stream(f)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/pybtex/database/input/bibtex.py", line 385, in parse_stream
    return self.parse_string(text)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/pybtex/database/input/bibtex.py", line 380, in parse_string
    self.process_entry(entry_type, *entry[1])
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/pybtex/database/input/bibtex.py", line 347, in process_entry
    self.data.add_entry(key, entry)
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/pybtex/database/__init__.py", line 150, in add_entry
    report_error(BibliographyDataError('repeated bibliograhpy entry: %s' % key))
  File "/home/bk17/anaconda3/envs/nikola/lib/python3.6/site-packages/pybtex/errors.py", line 77, in report_error
    raise exception
pybtex.database.BibliographyDataError: repeated bibliograhpy entry: Khanal_2012

I made a guess fix 69375fdcc090dbc558a86c84857759f7927760ee . Can you test the new version?

Yes this resolves the issue. It also solves issue #265 that I had opened just a while ago.
Thanks!

Sorry I was too quick to close this. Now the error is indeed gone. However, the built webpage has all these repeated entries being rendered as many times as they are repeated. This is not helpful because if three co-authors have the same entry in their respective bibtex files they maintain, we will see three times the same publication on the webpage.

It should now be fixed in 5cdd332ec440e7ede4c6e4a18437d7a1b10b1b4f


[SPARK-26813][BUILD] Consolidate java version across language compilers and build tools

What changes were proposed in this pull request?
The java version here means versions of javac source, javac target, scalac target. They could be consolidated as a single version (currently 1.8)

javac
scalac

source
1.8
2.12/2.11

target
1.8
1.8

The current issues are as follows

Maven build defines a single property (java.version) to specify java version while SBT build defines different properties for javac (javacJVMVersion) and scalac (scalacJVMVersion). SBT build should use a single property as Maven build does.
Furthermore, it's better for SBT build to refer to java.version defined by Maven build. This is possible since we've already been using sbt-pom-reader.

How was this patch tested?
Tested locally.
build/mvn clean compile
build/sbt clean compile

Test build #102011 has started for PR 23724 at commit 40418d3.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Test build #102011 has finished for PR 23724 at commit 40418d3.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/102011/
Test FAILed.

Test build #4546 has started for PR 23724 at commit 40418d3.

Test build #102023 has finished for PR 23724 at commit 40418d3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/102023/
Test PASSed.

Merged to master


Sharing Vulkan memory object

Is your feature request related to a problem? Please describe.
I need to render to a GL Texture external to Filament, while using Vulkan backend.
Describe the solution you'd like
Have RenderTarget share Vulkan memory object, so external to Filament I can implement GL interop code.  As the GL memory object needs to be created from a Vulkan memory object.
Describe alternatives you've considered
Modified Filament to run on Linux EGL/GLESv2 (1.5/3.2) backend.  Hitting issue where Wayland does not support pbuffer.  Was asked by @pixelflinger if Vulkan was an option.
OS and backend
Linux + Vulkan backend
Useful Vulkan/GL interop patterns documented here:
https://eleni.mutantstargoat.com/hikiko/vk-gl-interop-2/
https://eleni.mutantstargoat.com/hikiko/vk-gl-interop-3/

Any thoughts?

No, no thoughts yet.

/go/embedder-vulkan-support has been merged into main.

Starting PR this week:  flutter.dev/go/embedder-vulkan-support

This is interesting, we have sharing mechanisms in place for Android but not other platforms.  This bug is a few months old but I'll assume it's still something we need to work on.

Hi. Recently ArCore was updated to support Vulkan by exposing a hardware buffer, which the app is supposed to bind to a VkImage. I guess this is still not possible because of this issue?

You can implement a new backend for your use case.  Just need to maintain your fork


Support to keep resources during helm upgrade

When working with service mesh systems (e.g. istio), it's often common practice you have multiple versions of service deployed (e.g. istio bookinfo sample app has 3 deployments of reviews app named reviews-v1, reviews-v2, reviews-v3). In real life the versions are not deployed at the same time, of course. If the deployment name in chart includes version (e.g. reviews-v1) it's not possible to deploy reviews-v2 and keep reviews-v1 from the same chart, unless you keep "reviews-v1" in the chart templates (that could be a bit complicated as the template might have version value and many other values set by CI/CD tools) or annotate the resource with helm.sh/resource-policy: keep, which would also prevent the resource being deleted during helm uninstall
I would suggest to introduce helm.sh/resource-policy: retain which would indicate that the resource should be kept during helm upgrade, but also deleted during helm uninstall.

The helm.sh/resource-policy: keep hook is currently available in Helm: https://helm.sh/docs/topics/charts_hooks/#hook-resources-are-not-managed-with-corresponding-releases
It is implemented both for upgrade and delete in Helm v2. PR #5225 might need to be ported to v3 (for upgrade).
Does this support your use case?

@hickeyma potentially yes, however I would like to keep the resources managed by helm, so I can take advantage of helm actions like delete, rollback etc ...
The desired behavior would be sth like
$ helm install chart chart-v1.tgz
$ helm list
NAME    REVISION  STATUS    CHART
chart   1         deployed  chart-v1
$ kubectl get deployments
NAME
deployment-v1

during upgrade, I would like to keep the deployment-v1, so
$ helm upgrade chart chart-v2.tgz
$ helm list
NAME    REVISION  STATUS    CHART
chart   2         deployed  chart-v2
$ kubectl get deployments
NAME
deployment-v1
deployment-v2

Also, helm rollback and delete would work as the deployment is part of the chart
$ helm rollback chart
$ helm list
NAME    REVISION  STATUS    CHART
chart   3         deployed  chart-v1
$ kubectl get deployments
NAME
deployment-v1

and
$ helm delete chart
$ helm list
No resources found
$ kubectl get deployments
No resources found

I've already tried to play with helm3 from latest master which has support for  helm.sh/resource-policy: keep, and seems that keep policy works for upgrade, however there is another issues around helm rollback, which give me and error in rollback scenario
$ helm install chart chart-v1.tgz
NAME: chart
STATUS: deployed
REVISION: 1
$ helm upgrade chart chart-v2.tgz
NAME: chart
STATUS: deployed
REVISION: 2
 $ helm rollback chart
Error: no Deployment with the name "chart-v1" found

but that might be different issue. I will follow up on this with new issue after digging into what's causing that  I will try to simulate the rollback error with and open an issue if I don't find the problem in my chart

If I understand this correctly @adamko147, does helm.sh/resource-policy: keep retain resources for all your use cases except rollback?

If I understand this correctly @adamko147, does helm.sh/resource-policy: keep retain resources for all your use cases except rollback?

Seems yes, investigation the rollback now.

Resources will be deleted if the keep is removed.

so for delete I need pre-delete hook to exec kubectl annotate deployments -l "part-of: chart" helm.sh/resource-policy-... That could work. Thanks!

I think it would be beneficial to update the issue to better describe the issue to the community.  What do you think about calling it a feature with title of "Add support to keep resources during helm rollback"?

I think the helm rollback is another issue. So far it seems to me that resource annotated with "helm.sh/resource-policy: keep" fails the rollback. the debug log from helm rollback is
rollback.go:60: [debug] preparing rollback of backend-app
rollback.go:108: [debug] rolling back backend-app (current: v2, target: v1)
rollback.go:67: [debug] creating rolled back release for backend-app
rollback.go:73: [debug] performing rollback of backend-app
client.go:166: [debug] checking 2 resources for changes
rollback.go:166: [debug] warning: Rollback "backend-app" failed: no Deployment with the name "backend-r1" found
Error: no Deployment with the name "backend-r1" found
helm.go:95: [debug] no Deployment with the name "backend-r1" found
helm.sh/helm/v3/pkg/kube.(*Client).Update.func1
...

deployment backend-app-r1 was created during install v1, but I would expect the rollback to delete backend-app-r2 as that is what was deployed by second release v2.
I will create a separate issue for that

@adamko147 I think it would be beneficial to update the issue to better describe the issue to the community. What do you think about calling it a feature with title of "Add support to keep resources during helm rollback"?

I think if the rollback found the resources from v1 and wouldn't stop exception, v2 would be kept anyway due to "keep" policy, at least I think that KubeClient.Update is used in rollback as well

I was wondering why I couldn't do this, and here you are asking for the same thing. This quit useful for storing a database password in a secret and having the database and it's dependents keep working on upgrade (without hard coding the password in the config)
I would love having this features +1

@yelhouti Did you try using the helm.sh/resource-policy: keep (hook)[https://helm.sh/docs/topics/charts_hooks/#hook-resources-are-not-managed-with-corresponding-releases]?

@hickeyma it is actually not what I want, I want it the secret to be delete if I uninstall the chart, but not changed if I upgrade...

Hi, @adamko147 & @yelhouti - it seems you may have some remaining features you would like. Thank you for your ideas to improve Helm. If you'd like, you can submit a Helm Improvement Proposal so as to work in the community to make your ideas a reality: https://github.com/helm/community/blob/master/hips/hip-0001.md - meanwhile, I will close this issue. Thanks!


I like it; but with invisible characters turned on it's too busy...

See screenshot:

In the default atom theme (and most themes), invisible characters are rendered in a color very close to the background color, so they don't distract.

Ah, I didn't notice because I didn't have invisible characters enabled. Thanks for pointing it out! I'll work on fixing it in a week or so. (Additionally, if you know how to fix it, I'll pull any patch!)


add a controller to run function strafe when i pan 3dtiles model

It happend when I keep left mouse down to pan 3dtiles model, when the camera.position.z > mousemoveStartPosition,z,camera run function pan3d,when the camera.position.z < mousemoveStartPosition.z,camera run strafe function,  i need a variable as the delta between camera.position and mousemoveStartPosition to run function strafe.

Hello @happyfeet1996.  I'm sorry, I don't understand what you're asking for.  If you have any questions, please use our community forum: https://community.cesium.com/
We use GitHub exclusively for tracking bugs and feature requests

Hello @happyfeet1996.  I'm sorry, I don't understand what you're asking for.  If you have any questions, please use our community forum: https://community.cesium.com/
We use GitHub exclusively for tracking bugs and feature requests