[Patterns] Analyzer implementation

WDYT, @scheglov ? Close this in favor of any known/unknown bugs, or leave open?

I think we can close this now.


Advertisement images are not visible in safari browser

Bug report
Advertisement images are not visible in safari browser
Preconditions
1. framework Version. Master

Expected result

Actual result

Safari browser doesn't support the .webp extension till Safari Version 12. WebP official support has been added to Safari 14.

@bhanu-webkul
please check this in Safari version 14 as mention by @devansh-webkul


Display Site Version

Context
For easier debugging on preview & production envs, we should display the site version / build hash somewhere in the site footer.

done in https://github.com/sveltevietnam/sveltevietnam.dev/pull/73


Enhancement | User feedback

Users should be able to provide feedback to the application so that we can iteratively improve the app.
What ?
A Feedback container with the following

Name (optional)
Feedback (Textarea)
A submit button

The feedback should get uploaded to Mongo DB. Use Mongoose or Prisma as the ORM.
This is a low priority enhancement at the current stage of application development.

Hey @aadeshkulkarni, I have implemented a basic feedback form here: https://github.com/aadeshkulkarni/first-issues/pull/20
Thanks!


Camera Bookmarks

Is your feature request related to a problem? Please describe.
Bookmarking multiple camera positions to easily hop around the graph.
Describe the solution you'd like
Bookmarks per layer. Simple toolbar widget with drop down menu to pick / add / remove

Perhaps save the camera position to the top layer and restore it when the file is opened again. As always, make it a pref (center vs restore on open).


Feature/front/adjust alignment

Change the input with select for "element" attribut in creation page
Get real data from the database instead of the fake data
Style pokedex card .

Please review my pull request


code grooming

I hope to put sth more here to be honest... but i found this so i fix it

ready, no more trivials SCA tools reported to me

👍


CMake: Avoid target_link_libraries() with imported targets

Versions of CMake prior to 3.11 do not support using target_link_libraries() to setup INTERFACE_LINK_LIBRARIES. Using set_property() directly works in all 3.x versions, including 3.11 and newer.
Fixes #75

Merged to the wpebackend-fdo-1.4 branch as commit d6f0686dc94c7bf03f0549fb2195f334ade2b48c.


Does istio ingress gateway support TCP-based TLS

Bug description
Error from server: error when creating "tcpserver-gateway.yaml": admission webhook "pilot.validation.istio.io" denied the request: configuration is invalid: server cannot have TLS settings for non HTTPS/TLS ports
I have a TLS client in outside of OpenShift, then I create a istio ingress gateway and inject key and certificate to istio successfully.
Then I add tls properties into Gateway yaml as following:
''``
apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
name: tcpserver-gateway
spec:
selector:
istio: ingressgateway # use istio default controller
servers:

port:
number: 6677
name: tcp
protocol: TCP
tls:
mode: SIMPLE
serverCertificate: /etc/istio/ingressgateway-certs/tls.crt
privateKey: /etc/istio/ingressgateway-certs/tls.key
hosts:

"*"
'' When I run this yaml file, I got the following errors: ''
Error from server: error when creating "tcpserver-gateway.yaml": admission webhook "pilot.validation.istio.io" denied the request: configuration is invalid: server cannot have TLS settings for non HTTPS/TLS ports
''``

In my case, my client is TCP-based traffic, and port is 6677, I can not set TLS configuration successfully.
My question is, does istio ingress gateway support non-HTTP traffic (TCP-based) TLS? If support, what wrong is it in my case? How to fix it?
[ X] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[X ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Steps to reproduce the bug
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
How was Istio installed?
Environment where bug was observed (cloud vendor, OS, etc)

dupe https://github.com/istio/istio/issues/20076


Reorganise upsert handling in update and findAndModify

What should be done?
upsert logic for update and findAndModify are scattered and doesn't quite have an architecture. This makes following code extremely difficult.
SQLite handler also does not handle update in a transaction, that means a document updated can be modified between query and update is applied.
See the issue links in the code.
Where?
https://github.com/FerretDB/FerretDB/blob/main/internal/handlers/common/findandmodify.go
https://github.com/FerretDB/FerretDB/blob/main/internal/handlers/pg/msg_update.go
https://github.com/FerretDB/FerretDB/blob/main/internal/handlers/pg/msg_findandmodify.go
https://github.com/FerretDB/FerretDB/blob/main/internal/handlers/sqlite/msg_update.go
https://github.com/FerretDB/FerretDB/blob/main/internal/handlers/sqlite/msg_findandmodify.go
Definition of Done

all handlers updated;
integration/compatibility tests added/updated;
spot refactorings done;
user documentation updated or an issue to create documentation created;

@AlekSi I'm trying to refactor the findAndModify and update logic along with addressing #3017.


Look into plotting disk I/O rates and network I/O rates

Currently the cluster stats plots CPU and load.  It would be nice to plot disk I/O and network I/O rates also.

The collectd conf is at the following location in muchos.
ansible/roles/common/templates/collectd.conf

Can use these plugins:
https://collectd.org/wiki/index.php/Plugin:Interface
https://collectd.org/wiki/index.php/Plugin:Disk


Invalid debug command for node

When starting the debugger with F5, the following error is given:
(node:1928) [DEP0062] DeprecationWarning: 'node --debug' and 'node --debug-brk' are invalid. Please use 'node --inspect' or 'node --inspect-brk' instead.
I get the same error when I try to start node directly from the terminal with the same commands.
node version: v8.9.4

Node now has a new debugger, which uses a new protocol.
This package is not for you if you want to use node v6.3 +, however, the good news is that you can still use the new inspector using Google Chrome, which is really cool if you've worked with Chrome debugger before, or if not, it's a bit intimidating at first, but pretty fun to work with after some using to.

duplicate of #234

Looks like xatom-debug-nodejs is a strong alternative


Microphone  redirection working but no sound transferred.

Describe the bug
Microphone  redirection working but no sound transferred. The windows detect the Remote Audio Input and Output devices. I can play sound from the Windows and it's ok. Microphone is visible in Windows but not sound when trying to record or use the mic. The windows microphone sound meter does not show any "movement". Check the screenshot.
Am I missing something like config or parameter?
To Reproduce
Steps to reproduce the behavior:
Every time running running the xfreerdp.
Expected behavior
The sound of the microphone of my Linux machine to be transferred to the Windows machine.
Screenshots

Application details

FreeRDP version (xfreerdp /version): This is FreeRDP version 2.11.2 (2.11.2)
Command line used: .xfreerdp /v:XXXX /d:XXXXX /u:XXXXX /p:XXXXXX  +clipboard /dynamic-resolution +compression -wallpaper /network:auto /w:1920 /h:1035 /t:xxxxxxx +heartbeat  /drive:share,/home/xxxxxxxxx +fonts /microphone:sys:alsa /sound:sys:alsa
Output of xfreerdp /buildconfig
This is FreeRDP version 2.11.2 (2.11.2)
Build configuration: BUILD_TESTING=OFF BUILTIN_CHANNELS=OFF HAVE_AIO_H=1 HAVE_EXECINFO_BACKTRACE=1 HAVE_EXECINFO_BACKTRACE_SYMBOLS=1 HAVE_EXECINFO_BACKTRACE_SYMBOLS_FD=1 HAVE_EXECINFO_H=ON HAVE_EXECINFO_HEADER=1 HAVE_FCNTL_H=1 HAVE_GETLOGIN_R=1 HAVE_GETPWUID_R=1 HAVE_INTTYPES_H=1 HAVE_JOURNALD_H=TRUE HAVE_MATH_C99_LONG_DOUBLE=1 HAVE_PIXMAN_REGION=OFF HAVE_POLL_H=1 HAVE_PTHREAD_MUTEX_TIMEDLOCK=ON HAVE_PTHREAD_MUTEX_TIMEDLOCK_LIBS= HAVE_PTHREAD_MUTEX_TIMEDLOCK_SYMBOL=1 HAVE_SYSLOG_H=1 HAVE_SYS_EVENTFD_H=1 HAVE_SYS_FILIO_H= HAVE_SYS_MODEM_H= HAVE_SYS_SELECT_H=1 HAVE_SYS_SOCKIO_H= HAVE_SYS_STRTIO_H= HAVE_SYS_TIMERFD_H=1 HAVE_TM_GMTOFF=1 HAVE_UNISTD_H=1 HAVE_XI_TOUCH_CLASS=1 WITH_ALSA=ON WITH_CAIRO=ON WITH_CCACHE=ON WITH_CHANNELS=ON WITH_CLANG_FORMAT=ON WITH_CLIENT=ON WITH_CLIENT_AVAILABLE=1 WITH_CLIENT_CHANNELS=ON WITH_CLIENT_CHANNELS_AVAILABLE=1 WITH_CLIENT_COMMON=ON WITH_CLIENT_INTERFACE=OFF WITH_CUPS=ON WITH_DEBUG_ALL=OFF WITH_DEBUG_CAPABILITIES=OFF WITH_DEBUG_CERTIFICATE=OFF WITH_DEBUG_CHANNELS=OFF WITH_DEBUG_CLIPRDR=OFF WITH_DEBUG_DVC=OFF WITH_DEBUG_KBD=OFF WITH_DEBUG_LICENSE=OFF WITH_DEBUG_MUTEX=OFF WITH_DEBUG_NEGO=OFF WITH_DEBUG_NLA=OFF WITH_DEBUG_NTLM=OFF WITH_DEBUG_RAIL=OFF WITH_DEBUG_RDP=OFF WITH_DEBUG_RDPDR=OFF WITH_DEBUG_RDPEI=OFF WITH_DEBUG_RDPGFX=OFF WITH_DEBUG_REDIR=OFF WITH_DEBUG_RFX=OFF WITH_DEBUG_RINGBUFFER=OFF WITH_DEBUG_SCARD=OFF WITH_DEBUG_SND=OFF WITH_DEBUG_SVC=OFF WITH_DEBUG_SYMBOLS=OFF WITH_DEBUG_THREADS=OFF WITH_DEBUG_TIMEZONE=OFF WITH_DEBUG_TRANSPORT=OFF WITH_DEBUG_TSG=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_TSMF=OFF WITH_DEBUG_TSMF_AVAILABLE=0 WITH_DEBUG_URBDRC=OFF WITH_DEBUG_WND=OFF WITH_DEBUG_X11=OFF WITH_DEBUG_X11_CLIPRDR=OFF WITH_DEBUG_X11_LOCAL_MOVESIZE=OFF WITH_DEBUG_XV=OFF WITH_DIRECTFB=OFF WITH_DSP_EXPERIMENTAL=OFF WITH_DSP_FFMPEG=ON WITH_EVENTFD_READ_WRITE=1 WITH_FAAC=OFF WITH_FAAD2=OFF WITH_FFMPEG=TRUE WITH_FFMPEG=TRUE WITH_GFX_H264=ON WITH_GPROF=OFF WITH_GSM=ON WITH_GSSAPI=OFF WITH_ICU=ON WITH_INTERNAL_MD4=OFF WITH_INTERNAL_MD5=OFF WITH_IPP=OFF WITH_JPEG=ON WITH_LAME=ON WITH_LIBRARY_VERSIONING=ON WITH_LIBSYSTEMD=ON WITH_MACAUDIO=OFF WITH_MACAUDIO=OFF WITH_MACAUDIO_AVAILABLE=0 WITH_MANPAGES=ON WITH_MBEDTLS=OFF WITH_OPENCL=OFF WITH_OPENH264=OFF WITH_OPENSLES=OFF WITH_OPENSSL=ON WITH_OSS=ON WITH_PAM=ON WITH_PCSC=ON WITH_PROFILER=OFF WITH_PROXY=ON WITH_PROXY_MODULES=OFF WITH_PULSE=ON WITH_SAMPLE=OFF WITH_SANITIZE_ADDRESS=OFF WITH_SANITIZE_ADDRESS_AVAILABLE=1 WITH_SANITIZE_MEMORY=OFF WITH_SANITIZE_MEMORY_AVAILABLE=1 WITH_SANITIZE_THREAD=OFF WITH_SANITIZE_THREAD_AVAILABLE=1 WITH_SERVER=ON WITH_SERVER_CHANNELS=ON WITH_SERVER_INTERFACE=ON WITH_SHADOW=ON WITH_SHADOW_MAC=ON WITH_SHADOW_X11=ON WITH_SMARTCARD_INSPECT=OFF WITH_SOXR=ON WITH_SSE2=ON WITH_SWSCALE=OFF WITH_THIRD_PARTY=OFF WITH_VAAPI=ON WITH_VALGRIND_MEMCHECK=OFF WITH_VALGRIND_MEMCHECK_AVAILABLE=1 WITH_VERBOSE_WINPR_ASSERT=ON WITH_WAYLAND=ON WITH_WINPR_TOOLS=ON WITH_X11=ON WITH_XCURSOR=ON WITH_XDAMAGE=ON WITH_XEXT=ON WITH_XFIXES=ON WITH_XI=ON WITH_XINERAMA=ON WITH_XKBFILE=ON WITH_XRANDR=ON WITH_XRENDER=ON WITH_XSHM=ON WITH_XTEST=ON WITH_XV=ON WITH_ZLIB=ON
Build type:          Release
CFLAGS:              -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64   -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -Wall -Wno-unused-result -Wno-unused-but-set-variable -Wno-deprecated-declarations -fvisibility=hidden -Wimplicit-function-declaration -Wredundant-decls -fno-omit-frame-pointer -DWINPR_DLL
Compiler:            GNU, 13.2.1
Target architecture: x64
OS version connecting to (server side): Tested with Win10 Enterprise, Win Server 2016 and Server 2019.

Environment (please complete the following information):

OS: [e.g. Linux/Windows/Android/..] Linux
Version/Distribution: [e.g. Debian 10, Windows 2008, Android 10]Fedora 38 KDE and tested on Fedora 39 Beta with KDE
Architecture: [amd64, arm]: x86_64

Additional context
I have tested today morning recompiling from master branch the code of upcoming 3.0 and the behavior is the same.

.xfreerdp /v:XXXX /d:XXXXX /u:XXXXX /p:XXXXXX /dynamic-resolution /w:1920 /h:1035 /t:xxxxxxx /drive:share,/home/xxxxxxxxx /microphone:sys:alsa /sound:sys:alsa  is your command line simplified (removed options that do not make much sense for anything newer than windows xp ;))
why /sound:sys:alsa? you really have a system not running pipewire or pulseaudio?
since you tell fedora, it might be due to patentet codecs and such, try adding /audin:format:1 to force PCM

Thanks! /microphone:sys:pulse,format:1 /sound:sys:pulse did the trick! God bless you!

@danielbgto good to know.
btw, you could also just drop the sys:pulse and let the autodetection do its magic ;)

As the same problem with the topic, but the little pulse magic didn't work on me.
And the multimedia framework is PipeWire.

As the same problem with the topic, but the little pulse magic didn't work on me. And the multimedia framework is PipeWire.

It's weird that just after I finish this comment, the microphone works. Did you remotely fix this problem?

@Seele-Vollerei32 ok, so an configuration problem outside FreeRDP :) happens, such heisenbugs (and configurations) also have cost me lots of time already ;)


Keep create new place in the snooze menu

Create new place sticks around when the user has places set

:+1:

Thanks for remembering this, Osmael.
On Sep 22, 2015 2:23 PM, "Ismael Alonso"<EMAIL_ADDRESS>wrote:

Merged #128 https://github.com/tndatacommons/android-app/pull/128.
—
Reply to this email directly or view it on GitHub
https://github.com/tndatacommons/android-app/pull/128#event-416240384.


Test Deployment of Bicep Modules in Azure US Gov and Azure China

Description
Test Deployment of Bicep Modules in Azure US Gov and Azure China.
Acceptance Criteria
Manual deployment validation via Test-AzResourceGroupDeployment and New-AzResourceGroupDeployment is required and must be successful.
Optionally you can make use of the already existing Module Test Pipelines (https://github.com/Azure/ResourceModules/.github/workflows). You just have to set your ARM credentials to test in your environment. https://github.com/Azure/ResourceModules/blob/17e2e2966214abbc3cd176cfaf0666ed5de088cd/.github/workflows/ms.apimanagement.service.authorizationservers.yml#L22
Modules to validate

Module
Azure US Gov
Azure China
Assignee

ReferenceModule
✔
✔
@segraef

Activity Log Alert

ActivityLog

Analysis Services

API Connection

Api Management Service Apis

Api Management Service Authorization Servers

Api Management Service Backends

Api Management Service Cache

Api Management Service Named Values

Api Management Service Products

Api Management Subscriptions

Api Management

App Service Environment

Application Insights

ApplicationGateway

ApplicationSecurityGroups

AppServicePlan

AutoManage

AutomationAccounts

AvailabilitySet

AVD Application Groups

AVD Applications

AVD HostPools

AVD Workspaces

Azure Databricks

Azure Health Bot

Azure Monitor Private Link Scope

AzureBastion

AzureFirewall

AzureKubernetesService

AzureNetAppFiles

AzureSecurityCenter

AzureSQLDatabase

AzureSQLServer

Batch Accounts

Budgets

CognitiveServices

ContainerInstances

ContainerRegistry

DataFactory

DDoS Protection Plans

Deployment Scripts

DiskEncryptionSet

Event Grid

EventHub Namespaces

EventHubs

ExpressRoute Circuit

Image Templates

Image

IP Groups

KeyVault

LoadBalancer

Local Network Gateway

LogAnalytics

LogicApp

Machine Learning Services

Management groups

Metric Alert

NAT Gateway

Network Watcher

NetworkSecurityGroups

NSG Flow Logs

PolicyAssignment

PolicyDefinition

PolicyExemption

policySetDefinition

PrivateDnsZones

PrivateEndpoints

ProximityPlacementGroup

Public IP Addresses

Public IP Prefixes

RecoveryServicesVaults

registrationDefinitions

Resource Group

Role Assignments

Role Definitions

RouteTables

Scheduled Query Rules

ServiceBusNamespaces

ServiceBusQueues

Shared Image Definition

Shared Image Gallery

Software Update Configuration

SQL Managed Instances Database

SQL Managed Instances

StorageAccounts

TrafficManager

User Assigned Identities

Virtual Machine Scale Sets

Virtual Machines

Virtual Network

Virtual Wan

VirtualNetworkGateway

VirtualNetworkGatewayConnection

VirtualNetworkPeering

Web/Function App

References

https://docs.microsoft.com/en-us/azure/azure-government/compare-azure-government-global-azure

Modules tested by Chad Carrol and bugs were created accordingly.
#456, #453, #452 #450 #449 #255 #253 #222


google-cloud-sdk: 325.0.0 -> 327.0.0

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 113192 at a13ab247 run on x86_64-linux 1

1 package built:

google-cloud-sdk (google-cloud-sdk-gce)

3 suggestions:

warning: missing-patch-comment
Please add a comment on the line above, explaining the purpose of this patch.
Near pkgs/tools/admin/google-cloud-sdk/default.nix:44:5:
   |
44 |     ./gcloud-path.patch
   |     ^

warning: missing-patch-comment
Please add a comment on the line above, explaining the purpose of this patch.
Near pkgs/tools/admin/google-cloud-sdk/default.nix:45:5:
   |
45 |     ./gsutil-disable-updates.patch
   |     ^

warning: missing-phase-hooks
installPhase should probably contain runHook preInstall and runHook postInstall.
Near pkgs/tools/admin/google-cloud-sdk/default.nix:48:3:
   |
48 |   installPhase = ''
   |   ^


Pressing + or open inventory near a dungeon up/down glitches

All sorts of weird glitches happen when you open inventory or press + near the dungeon up/down staircases.
Most of the time it makes my character invisible and disables movement.
An easy temporary fix would be to detect if you're near a staircase and disable all button presses except for movement. But, that wouldn't be a good permanent fix.

A possible fix might be to go into the LoadGameLevel function and on the first line add:
if (invflag || spselflag)
    return;

Untested, just an idea.

I just made a PR to fix this. It was trivial.


Can I stream youtube audio to an html audio tag using this?

Given a youtube video id, I am trying to stream (without downloading the entire audio beforehand) youtube audio to an html audio tag. Can this library be used for such a purpose? Maybe by giving the download url directly to the audio tag? If no, do you have any pointers on how it can be done? Any help would be greatly appreciated.
Also, was wondering if it has ffmpeg dependency?

It is not possible to use the download url of the YouTube video as this url IP bonded and as the server makes the request and not the client, the IP which it's bonded to, is the IP of the server and not the client, which makes it not possible for the client to access this url. What is possible though, is to use the stream function on the server side on a certain endpoint and use the pipe function to directly pass the data of the stream to the client, so you can use that endpoint to play the audio on the client side. Here is a small example of how you can do this:
const http = require('http');
const ytstream = require('yt-stream');
const fs = require('fs');
const path = require('path');
const { URLSearchParams } = require('url');

function readFolder(arr){
	let res = [];
	for(var i = 0; i < arr.length; i++){
		let folderName = arr[i];
		let folderInfo = fs.readdirSync(path.join(__dirname, folderName));
		for(var z = 0; z < folderInfo.length; z++){
			let fileName = path.join(folderName, folderInfo[z]);
			let fileInfo = fs.statSync(path.join(__dirname, fileName));
			if(fileInfo.isFile()){
				res.push(fileName);
			} else if(fileInfo.isDirectory()){
				res.push(...readFolder([fileName]));
			}
		}
		return res;
	}
}

let pages = readFolder(['public_html']).map(f => f.split("public_html").slice(1).join("public_html"));

const server = http.createServer((req, res) => {
	let seperate = req.url.split("?");
	let url = seperate[0];
	if(pages.indexOf(url) >= 0){
		let fileContent = fs.readFileSync(path.join(__dirname, 'public_html', url));
		res.end(fileContent);
		return;
	} else if(pages.indexOf(url + "index.html") >=  0){
		let fileContent = fs.readFileSync(path.join(__dirname, 'public_html', url, "index.html"));
		res.end(fileContent);
		return;
	}
	let paramsArr = seperate.slice(1).join("?").split("&");
	let params = {};
	for(var i = 0; i < paramsArr.length; i++){
		let param = paramsArr[i];
		let splitParam = param.split("=");
		params[splitParam[0]] = splitParam.slice(1).join("=");
	}
	if(url === "/getVideo" && req.method === "GET" && Object.keys(params).indexOf("id") >= 0){
		if(ytstream.validateID(params['id'])){
			ytstream.stream(ytstream.getURL(params['id']), {
				type: 'audio',
				quality: 'highest'
			}).then(stream => {
				console.log(stream.stream);
				stream.stream.pipe(res);
			}).catch(err => {
				res.end();
			});
		} else {
			res.end();
		}
	} else {
		res.end();
	}
});

server.listen(80);

In the example above, a new endpoint is created named /getVideo. When you make a GET request to this endpoint with the parameter id provided, it automatically generates a new audio which can be used for a HTML audio tag as HTML audio tags by default create a GET request to the source thas has been set. So with this example, you could use this for your HTML page:
<!DOCTYPE html>
<html>
	<head>
		<title>Some title</title>
	</head>
	<body>
		<audio src="/getVideo?id=dQw4w9WgXcQ" controls></audio>
	</body>
</html>

This example will create an audio element of the YouTube video with the id dQw4w9WgXcQ.

Thanks for the detailed response! I got it to work! But it appears that the audio is not seekable. Is that possible?

That is indeed possible. This is caused because the server is downloading the data while the client is playing the audio. When the client tries to seek, the server doesn't have the data for that specific part yet. This makes the audio not seekable.


Updates Nuke documentation for a simpler solution

This provides a simpler solution where it is not needed to populate parameters by external build systems which makes it a bit more multi-purpose.
It also expands the example for something that includes the necessary usings and logs a version (shows usage).
Closes #82

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 This will allow me to use OctoVersion more on future projects. The "other one" keeps making me loosing hair at a pace I don't like...


renamed ConvertSaveload::into/from to convert_into/convert_from

See #503.

This change is

Let's try again.
bors r+

Oops, forgot to run the tests will all features

Okay, no worries, just push more commits until it works :wink:

bors r-

Ah sorry, I misunderstood. It's already fixed.
bors r+


Update Android.gitignore

Reasons for making this change:
TODO
Links to documentation supporting these rule changes:
TODO
If this is a new template:

Link to application or project’s homepage: TODO

@tr3v0r5 thanks for the contribution, but this clashes with our Global\JetBrains.gitignore template.
I recommend using that in your project as it's more detailed.


Global functions not known

Some global functions are not known:
GetUnitName:

UIFrameFadeIn

Thanks, added them for the next release


Cross-Site Scripting Vulnerability with Resource

We use HP Fortify to scan our code and the code of third party libraries and Fortify is reporting an issue in the Resource.prototype._xhrOnLoad function.  The violation is a cross-site scripting vulnerability without input validation in the following snippet:
var div = document.createElement('div');
div.innerHTML = xhr.responseText;
this.data = div;
The problem is taking an ajax response and assigning it directly to inner html.  If malicious content is sent back to the browser in the form of JavaScript, it may be executed, exploiting this vulnerability.

This is not a pixi issue, please open an issue on resource-loader.


Remove some bad link warnings

Fixes #1070, using the approach in https://github.com/haskell/haddock/issues/1070#issuecomment-605628782.

fb91c0fa56bcfe44097f65fef7fc86a700ac0fe5: Haddock has no business renaming (or doing anything) with docstrings that will never make it to any output, so we prune them early. No more warnings about anything in private docstrings!

4e28b146174ca8dd5e5f8c9c8db55cb4baaa63fb: Minimal signatures no longer cause renaming warnings. Since showing the un-exported symbol is intentional, we shouldn't warn on it.

/cc @guibou

Thank you!


MerkleIndividuallyCappedCrowdsale

🎉 Description
Add MerkleIndividuallyCappedCrowdsale. It allows configuring any number of individuals caps by writing single bytes32 to crowdsale smart contract. But investors should provide additional arguments. The idea was borrowed from this article: https://blog.ricmoo.com/merkle-air-drops-e6406945584d

[ ] 🐛 This is a bug report.
[x] 📈 This is a feature request.

👍 Other Information
Implementation: https://github.com/bitclave/MerkleIndividuallyCappedCrowdsale/blob/master/contracts/MerkleIndividuallyCappedCrowdsale.sol
Tests: https://github.com/bitclave/MerkleIndividuallyCappedCrowdsale/blob/master/test/MerkleIndividuallyCappedCrowdsale.js
Article: https://blog.ricmoo.com/merkle-air-drops-e6406945584d

https://github.com/OpenZeppelin/zeppelin-solidity/pull/896


Yii2 RESTful custom response is being ignored

What steps will reproduce the problem?
I am trying to use the following custom response in my main.php config file(api folder)
 'response' => [
            'class' => 'yii\web\Response',
            'on beforeSend' => function ($event) {
                $response = $event->sender;
                if ($response->data !== null && Yii::$app->request->get('suppress_response_code')) {
                    $response->data = [
                        'success' => $response->isSuccessful,
                        'data' => $response->data,
                    ];
                    $response->statusCode = 200;
                }
            },
                ],

What is the expected result?
When I access http://localhost/MyProject/api/web/v1/colors?per-page=2, instead of
{ status:true, data:[{"id":1,"color_name":"Red","color_code":"#FF0000","active":1},{"id":2,"color_name":"White","color_code":"#FFFFFF","active":1}]}

I get only
[{"id":1,"color_name":"Red","color_code":"#FF0000","active":1},{"id":2,"color_name":"White","color_code":"#FFFFFF","active":1}]

What could cause this problem ?
Thank you in advance.
Additional info

Q
A

Yii version
2.0.8

PHP version
5.5.12

Operating system

What's in your $response->data and $_GET?

How can I get the values for this variables ?
I use something like this in ColorController
public function afterAction($action, $result) {         var_dump($_GET);         var_dump(\Yii::$app->response->data);         return parent::afterAction($action, $result);     }
and i get the result : array(1) {   ["per-page"]=>   string(1) "2" } NULL
but I do not know if this is the correct way to get that values. I am a beginner in php and Yii programming.
Thank you.

Well, you don't have suppress_response_code in your GET so it's expected that code in on beforeSend isn't reached.


Using iris.util.reverse flips coordinate bounds

🐛 Bug Report

When using iris.util.reverse along an axis, the cube that is returned is reversed properly. But the coordinate along which it has been reversed, has the bounds flipped and they become noncontiguous. This can cause issues when doing area-related operations.
How To Reproduce
Steps to reproduce the behaviour:
An example for the latitudes would be

cube = iris.util.reverse(cube, (1,))
cube.coord(var_name='lat').bounds

This is the current behaviour when we want to reverse a cube with a decreasing latitude coordinate to make it increasing instead.
Latitudes in a cube before reversing:
DimCoord(array([ 90.        ,  80.52631579,  71.05263158,  61.57894737,
        52.10526316,  42.63157895,  33.15789474,  23.68421053,
        14.21052632,   4.73684211,  -4.73684211, -14.21052632,
       -23.68421053, -33.15789474, -42.63157895, -52.10526316,
       -61.57894737, -71.05263158, -80.52631579, -90.        ]), bounds=array([[ 9.00000000e+01,  8.52631579e+01],
       [ 8.52631579e+01,  7.57894737e+01],
       [ 7.57894737e+01,  6.63157895e+01],
       [ 6.63157895e+01,  5.68421053e+01],
       [ 5.68421053e+01,  4.73684211e+01],
       [ 4.73684211e+01,  3.78947368e+01],
       [ 3.78947368e+01,  2.84210526e+01],
       [ 2.84210526e+01,  1.89473684e+01],
       [ 1.89473684e+01,  9.47368421e+00],
       [ 9.47368421e+00,  7.10542736e-15],
       [ 7.10542736e-15, -9.47368421e+00],
       [-9.47368421e+00, -1.89473684e+01],
       [-1.89473684e+01, -2.84210526e+01],
       [-2.84210526e+01, -3.78947368e+01],
       [-3.78947368e+01, -4.73684211e+01],
       [-4.73684211e+01, -5.68421053e+01],
       [-5.68421053e+01, -6.63157895e+01],
       [-6.63157895e+01, -7.57894737e+01],
       [-7.57894737e+01, -8.52631579e+01],
       [-8.52631579e+01, -9.00000000e+01]]), standard_name='latitude', units=Unit('degrees_north'), long_name='Long name', var_name='lat')

Latitudes after reversing:
DimCoord(array([-90.        , -80.52631579, -71.05263158, -61.57894737,
       -52.10526316, -42.63157895, -33.15789474, -23.68421053,
       -14.21052632,  -4.73684211,   4.73684211,  14.21052632,
        23.68421053,  33.15789474,  42.63157895,  52.10526316,
        61.57894737,  71.05263158,  80.52631579,  90.        ]), bounds=array([[-8.52631579e+01, -9.00000000e+01],
       [-7.57894737e+01, -8.52631579e+01],
       [-6.63157895e+01, -7.57894737e+01],
       [-5.68421053e+01, -6.63157895e+01],
       [-4.73684211e+01, -5.68421053e+01],
       [-3.78947368e+01, -4.73684211e+01],
       [-2.84210526e+01, -3.78947368e+01],
       [-1.89473684e+01, -2.84210526e+01],
       [-9.47368421e+00, -1.89473684e+01],
       [ 7.10542736e-15, -9.47368421e+00],
       [ 9.47368421e+00,  7.10542736e-15],
       [ 1.89473684e+01,  9.47368421e+00],
       [ 2.84210526e+01,  1.89473684e+01],
       [ 3.78947368e+01,  2.84210526e+01],
       [ 4.73684211e+01,  3.78947368e+01],
       [ 5.68421053e+01,  4.73684211e+01],
       [ 6.63157895e+01,  5.68421053e+01],
       [ 7.57894737e+01,  6.63157895e+01],
       [ 8.52631579e+01,  7.57894737e+01],
       [ 9.00000000e+01,  8.52631579e+01]]), standard_name='latitude', units=Unit('degrees_north'), long_name='Long name', var_name='lat')

Expected behaviour

The expected behaviour would be to have a coordinate that even though it has been reversed, the bounds are still contiguous:
DimCoord(array([-90.        , -80.52631579, -71.05263158, -61.57894737,
       -52.10526316, -42.63157895, -33.15789474, -23.68421053,
       -14.21052632,  -4.73684211,   4.73684211,  14.21052632,
        23.68421053,  33.15789474,  42.63157895,  52.10526316,
        61.57894737,  71.05263158,  80.52631579,  90.        ]), bounds=array([[-9.00000000e+01, -8.52631579e+01],
       [-8.52631579e+01, -7.57894737e+01],
       [-7.57894737e+01, -6.63157895e+01],
       [-6.63157895e+01, -5.68421053e+01],
       [-5.68421053e+01, -4.73684211e+01],
       [-4.73684211e+01, -3.78947368e+01],
       [-3.78947368e+01, -2.84210526e+01],
       [-2.84210526e+01, -1.89473684e+01],
       [-1.89473684e+01, -9.47368421e+00],
       [-9.47368421e+00,  7.10542736e-15],
       [ 7.10542736e-15,  9.47368421e+00],
       [ 9.47368421e+00,  1.89473684e+01],
       [ 1.89473684e+01,  2.84210526e+01],
       [ 2.84210526e+01,  3.78947368e+01],
       [ 3.78947368e+01,  4.73684211e+01],
       [ 4.73684211e+01,  5.68421053e+01],
       [ 5.68421053e+01,  6.63157895e+01],
       [ 6.63157895e+01,  7.57894737e+01],
       [ 7.57894737e+01,  8.52631579e+01],
       [ 8.52631579e+01,  9.00000000e+01]]), standard_name='latitude', units=Unit('degrees_north'), long_name='Long name', var_name='lat')

Screenshots

Environment

OS & Version: [e.g., Ubuntu 20.04 LTS]
Iris Version: '3.0.1'

Additional context

Click to expand this section...
Related to https://github.com/ESMValGroup/ESMValCore/issues/1060
Add additional verbose information in a collapsible section.

See here for further details.

This looks to be a duplicate of #3756, which we hope to look at ready for v3.1.


[FILL COMPONENT] Category styling doesn't work with more than 10 categories

It doesn't work with 2 categories neither

Besides the problem with the 10 categories, I'll fix a bug that prevented choosing boolean columns.
However, when I choose a boolean column, this is the CartoCSS that is generated:
#layer {
  line-width: 0.5;
  line-color: #FFF;
  line-opacity: 1;
  polygon-fill: ramp([adm_bool], (#0fa0ec, #b4a51f), ("false", "true"));
}

The result is a monochromatic map:

Although if the column is cast to strings, it seems to work fine:
#layer {
  line-width: 0.5;
  line-color: #FFF;
  line-opacity: 1;
  polygon-fill: ramp([adm_str], (#A6CEE3, #1F78B4), ("false", "true"));
}

What was exactly your problem, @saleiva?

Sorry, I was talking about numeric columns

Quick update: I'm working on a revamp of turbo-carto that addresses some of the issues described in this issue. Most of them related to category ramps and column type casting.

Great, @rochoa. My fixes are still necessary, so I'll create a PR.


Excalidraw Tools Panel Mouse Dragging: floats to right bottom screen

seems to be theme related: #493

This has been fixed in v.1.1.1! Thank you so much for reporting! 🎉


Renaming an item deselects it from the 'Extracted item type' drop-down in template

When editing a template in Portia, you can go to Extracted item -> Edit items to edit items. If you rename the item that is currently selected in the Extracted item type drop-down, it will become deselected. If you click 'Continue browsing' it will fail to save the template; when you go back into the template the Extracted item type value will have reverted to default. It will also disassociate any annotations from fields that don't exist in the default item.

Now items get assigned an id that won't change during it's lifetime, so renaming an item won't cause problems anymore.


 The binary is a TLS server using a self-signed RSA certificate.
What did you see happen?
However, I noticed that the CPU load can be very high at times. I have excluded other factors, such as the RPS (Requests Per Second), and this server is only running this one program.
I am sorry, but I haven't been able to identify a pattern or reproduce the issue. The pprof file from a specific period when the CPU load was high is as follows:
File: tcpserver
Type: cpu
Duration: 33.53s, Total samples = 40.33s (120.29%)
Entering interactive mode (type "help" for commands, "o" for options)
(pprof) top
Showing nodes accounting for 37.90s, 93.97% of 40.33s total
Dropped 367 nodes (cum <= 0.20s)
Showing top 10 nodes out of 78
      flat  flat%   sum%        cum   cum%
    26.10s 64.72% 64.72%     26.10s 64.72%  crypto/internal/bigmod.addMulVVW2048
     3.93s  9.74% 74.46%     34.84s 86.39%  crypto/internal/bigmod.(*Nat).montgomeryMul
     2.46s  6.10% 80.56%      2.49s  6.17%  crypto/internal/bigmod.(*Nat).assign (inline)
     1.66s  4.12% 84.68%      1.66s  4.12%  crypto/internal/bigmod.addMulVVW (inline)
     0.80s  1.98% 86.66%      0.87s  2.16%  crypto/internal/bigmod.(*Nat).shiftIn
     0.79s  1.96% 88.62%      0.79s  1.96%  crypto/internal/bigmod.(*Nat).sub (inline)
     0.65s  1.61% 90.23%      0.65s  1.61%  runtime.memclrNoHeapPointers
     0.59s  1.46% 91.69%      0.59s  1.46%  runtime.duffzero
     0.53s  1.31% 93.01%      0.53s  1.31%  runtime/internal/syscall.Syscall6
     0.39s  0.97% 93.97%      0.39s  0.97%  runtime.memmove

Therefore, I suspect there may be a bug in Go 1.22's crypto package, as I recall not encountering this problem in the past several years when using older versions of Go.
I google and found that someone else has experienced the same issue:
https://groups.google.com/g/golang-nuts/c/oEl0m0r1gkc/m/Q7cqN7VFAAAJ?pli=1
What did you expect to see?
/

Related Issues and Documentation

cmd/compile: intrinsify bits.RotateLeft32 on mipsle #39139
crypto/rsa: severe VerifyPKCS1v15 performance regression in Go 1.20, Go 1.21 [freeze exception] #63516 (closed)
net: crypto/tls.(*Conn).SetReadDeadline consumes CPU #9071 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)


ble_ibeacon sender don't work with iphones

Hi all,
I use ble_ibeacon to send advertising on my app, it works well with Android devices but with iPhones it doen't  work. Use to test iBeacon nRF Connect, in Android I see all the parameters, with IoS instead iBeacon is seen as a generic and unrecognized device. Can someone help me?

Hi, using iBeacons that are not produced or licensed by Apple is very hard with iPhones. Ive seen a lot issues about it, since i dont have iPhone (im lucky guy) i cant make tests, but ive read it may be related to advertising time parameters. Also Apple specs about iBeacons is very strict and you have follow all parameters to make it works, but not all can be found on internet.
https://github.com/nkolban/esp32-snippets/issues/348#issuecomment-365500832

Thanks for the reply, I tried various parameters including official ones, but without positive results.

@ciccio88fcrlab, I test our ibeacon demo , it works well. you can test it with wechat APP "Yao Yi Yao Zhou Bian". or you can modify "#define ESP_UUID    {0xE2, 0xC5, 0x6D, 0xB5, 0xDF, 0xFB, 0x48, 0xD2, 0xB0, 0x60,0xD0, 0xF5, 0xA7, 0x10, 0x96, 0xE0}",  download "Dartle iBeacon Locator" APP from APP store and try.

Thank you so much for your answer. "Dartle iBeacon Locator" sees my iBeacons, but I still can not make them work with my App, the same App in the Android version works well, the same code (I use Phonegap) does not work on the iPhone, you have any idea on what can be the problem?


BACKEND: Tag Generator

As a user, I would like to have already created tags to be suggested to me so I don't create unnecessary duplicates.
If I were to type food, any matching tags should be suggested to me.
(Will likely look like a chip/autocomplete feature -- with room to add an additional tag)
Test Cases:
A)
Food
Food Bank
Food Oaisis  => food-bank
Food Desert
B)
COVID-19
Coronavirus => covid-19
Pandemic
The user should be able to add their own tag if necessary.
Front End Considerations:
We should investigate using chips for autocomplete + multiple tags.
https://www.npmjs.com/package/material-ui-chip-input

@chalimar ^ Have a quick recommendation on the tag generator

Hi team @shinjonathan @ExperimentsInHonesty @jsachsman @ayusheeaithal

What are your thoughts on this reformatted method for adding in additional topic tags? I utilized Shin's advice and checked out Material UI's chip input.
I also changed the form structure to meet additional accessibility standards such as a dropdown for finding existing organization and changing the radio buttons into a vertical orientation.

Looks great.
One consideration would also be how these topics/causes/issues should resolve into tags (should we autocomplete the topic keyword and assign a tag to that)?
^^ Someone please let me know if that sounds like gibberish... so I can rephrase that.

I think we need to keep the distinction between frontend and backend.
We discussed a bit I think on frontend too.
My suggestion and understanding on what we agreed is that the user either select on of the suggested tag or enter a new one.
The universe of tags needs to be stored (our database or any storage place).
2 services:
a) given a 3 letters or more, returns a list of matching tags (id, text)
b) save the tags: existing tags will come with id and text, new tags will have no id (or id 0 or -1). Existing tags will be sent to github (assuming, if I understood correctly that project’s tags are persisted only in github) only, new tags will also be added to the persisting universe of tags (in proper format, with a new id).
A challenge? If a user wants to add a tag like “police brutality” how do we know whether it is one tag or 2? I think it is a UI challenge.

Hi @giosce I want to note for the record that GitHub doesn't allow multiple-word tags and when you use a space in the manual tag entry it forces you to a new tag (closing your old one)


Make the texture data provider use OpenGL instead of AWT

Bigger change, not important for now, will be done later, so LibX can release.

Could probably use the ImageHelper from RecipePrinter and integrate it into LibX.


Specify per column and per column type comparison

I've added two ways of specifying the comparison operator for columns. I've had troubles with the whole idea of LIKE-ing integers so hopefully this will be useful to someone else too.

I've added a new cake configuration option to specify per column type comparison:

use DataTables\Controller\Component\DataTablesComparison;
// ...
Configure::write('DataTables.Columns.Comparison', ['integer' => DataTablesComparison::EQUALS]);

When initializing the component you may specify the comparison operator per column:

use DataTables\Controller\Component\DataTablesComparison;
// ...
class MyController extends AppController
{
    public function initialize()
    {
        parent::initialize();
        $this->loadComponent('DataTables.DataTables', [
            'comparison' => [
                'Customers.id' => DataTablesComparison::EQUALS,
                'CustomerOrders.price' => DataTablesComparison::GREATER,
            ],
           'comparison_datasource' => 'some_datasource' // defaults to: `default` (see your config/app.php)
        ]);
    }
    // ...
}

List of self-explanatory comparison types:
DataTablesComparison::LIKE
DataTablesComparison::NOT_LIKE
DataTablesComparison::EQUALS
DataTablesComparison::GREATER
DataTablesComparison::GREATER_EQUALS
DataTablesComparison::LESS
DataTablesComparison::LESS_EQUALS

Thank you for your work!
Two questions:

Wouldn't it be more flexible and far less code to pass the operator as a string instead of the wrapping?
What do you think about automatically deducing the appropriate comparison as a default when no corresponding option is set? As I understand it we are only a small step away from it with your code.

I'm all for using strings, just thought a separate class with constants might be a cleaner solution. Your call though!
Regards deducing the default comparison, I had that but removed it in one of the commits. Any suggestions? I had integer, biginteger and decimal set to to EQUALS, rest as LIKE

Okay so all numeric datatypes default to equals comparison, and the rest default to like.

Overwriting the configuration on bootstrap level:

Configure::write('DataTables.Columns.Comparison', ['string' => 'equals']);

Overwriting the configuration on per column basis:

class MyController extends AppController
{
    public function initialize()
    {
        parent::initialize();
        $this->loadComponent('DataTables.DataTables', [
            'comparison' => [
                'Customers.id' => 'equals',
                'CustomerOrders.price' => 'greater',
            ],
           'comparison_datasource' => 'some_datasource' // defaults to: `default` (see your config/app.php)
        ]);
    }
    // ...
}

List of comparison types:

like
notLike
equals
greater
greaterEquals
less
lessEquals

Looks much better already!
Sorry for not expressing my suggestion with the strings more precisely. What I wanted to suggest is that you pass ">", "=", "LIKE" as the comparator in the configuration directly. Hence no need for switch/case. So we have less custom code or custom "interface" for this functionality.
In general I also like clean interfaces like the consts you suggested but I think this is not the appropriate place to design an interface for communicating SQL comparison expressions.

I was under the impression that words would more in line with CakePHP coding standards.
Alright we can change it to actual operators I suppose. Do you want some kind of validation for them, like restricting what operators can be used?

I would agree if CakePHP would wrap these operators right now. But they don't, you are supposed to write down "field LIKE" => value as a user.
They only provide methods to \Cake\Database\Expression\QueryExpression. Btw, these methods are called eq(), gt(), lte(), and so on. I had a look at that class to determine if we could use it, but it seems we are out of luck.
Btw. I would suggest we have a look at \Cake\Database\Expression\QueryExpression::_calculateType()and Cake\Database\Expression\Comparison. I think we can use the latter to create $condition. What do you think?
I wouldn't do any checks on the operator, just like Cake doesn't.

I've removed the string wrappers completely.
The Cake\Database\Expression\Comparison is an interesting approach, but needs further research and testing.
As it stands, I think it's 'good enough' for now in establishing some sort of API for the problem at hand. It's your call though if you want to tackle this approach in this particular pull request.

Put in some comments, maybe we can straighten this out before the pull? Would be great!

Done.
Good catch, I'm rusty with PHP ;)


Separate module

@volodya-lombrozo While solving this I created this, as you can see it contains the same base of interfaces as your plugin. What do you think about extracting the interfaces into a separate maven project to reuse as a separate library to create static analysis plugins. Where you would just need to add a few of your own rules and your new plugin would be ready. But that would require working out a more abstract architecture or something. What do you think?

for example

interface Rule {/**/}

interface ClassRule {/**/}

interface MethodRule {/**/}

interface ClassMemberRule {/**/}

or smth like that

Hello @l3r8yJ, thank you for your insightful observation! It is true that in the future, we may be able to provide a refactoring solution if we have more than two tools that share common interfaces. However, for now, I find it much easier to continue developing both plugins separately without intersection. This is mainly due to two reasons:

Introducing one more library with interfaces would significantly increase the complexity of deployment and integration (for both plugins).
The 'test-naming-conventions' project is still relatively new and its interfaces are not yet stable. It is possible that they may change further and quite often.

Thank you for your understanding and please let us know if you have any further questions or concerns.

@volodya-lombrozo got it, thanks!


Create a new version of Parser that create abstract syntax tree (AST)

The current implementation is evaluating the expression right away.
We want it to create an abstract syntax tree (AST).

done


Assessment complete

Turned in

Syntax error on line 94, your build failed. Please get rid of keyword end on line 94 and resubmit

nice work.


Design Upload image section

i can design upload image section.

Please assign this issue to me as I would like to work on fixing it. also add the label GSSoC 2024 Extd relaevant .

hey assign this to me...i try my best to improve it by mine frontend skills
thank you!!


crash on startup

Geode Issue

[X] I confirm that this crash is NOT related to a mod but directly to Geode Loader itself.

Platform
Windows
Geode Version
v2.0.0 beta 26
Mods Installed
Did not get a chance to check
Steps to Reproduce
I started up geometry Dash
Crash Report
No response
Additional Information
No response

Firstly, horrible issue report, normally, no one would be able to help you with such little information. But we know GD MegaOverlay had a bug that causes GD to not start.
Hold shift when launching GD, this will open it in safe mode, then update GD MegaOverlay

ok thx!

thx

i have this issue tho its modrealated


Remove version: 360.360Chrome.X version 22.1.1019.64

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

@wingetbot run

URL: https://down.360safe.com/cse/360csex_22.1.1019.64.exe
OK
(Automated message - build 923)

Close with reason: Package still available;


TreeKernel similarity computation

Hi,
I'm trying to compute similarity between two TreeRepresentations using different Kernel Type.
I'm following the example reported by @crux82 in ISSUE 6 but I'm encountering some problems.
Whenever I compute similarity between two different TreeRepresentation objects using SubTreeKernel and SubSetTreeKernel, I get the same value.
The two values are different only if I try to compute such similarities over the same object.
For example:
TreeRepresentation t1 = new TreeRepresentation();
t1.setDataFromText("(a (b) (c (d)))");
TreeRepresentation t2 = new TreeRepresentation();
t2.setDataFromText("(a (b) (c (d)))");

SubSetTreeKernel subSetTreeKernel = new SubSetTreeKernel(1f, "tree");
SubTreeKernel subTreeKernel = new SubTreeKernel(1f, "tree");

System.out.println("CASE 1:");
System.out.println("Similarity t1-t2 SubSetTreeKernel res = " + subSetTreeKernel.kernelComputation(t1, t2));
System.out.println("Similarity t1-t2 SubTreeKernel res = " + subTreeKernel.kernelComputation(t1, t2));

System.out.println("CASE 2:");
System.out.println("Similarity t1-t1 SubSetTreeKernel res = " + subSetTreeKernel.kernelComputation(t1, t1));
System.out.println("Similarity t1-t1 SubTreeKernel res = " + subTreeKernel.kernelComputation(t1, t1));

OUTPUT:
CASE 1
Similarity t1-t2 SubSetTreeKernel res = 4.0
Similarity t1-t2 SubTreeKernel res = 4.0
CASE 2
Similarity t1-t1 SubSetTreeKernel res = 5.0
Similarity t1-t1 SubTreeKernel res = 4.0
Am I doing it wrong or the similarities should be 5.0 (for SST) and 4.0 (for ST) in both cases?
Would it also be possible to have an example of how similarity is computed using SmoothedPartialTreeKernel with different StructureElementSimilarity?
Thank you so much for your kind attention.
Best regards
Marco

Hi Marco,
It seems that there is a bug on the SubSetTreeKernel.
Since t1=t2, we expect that SSTK(t1,t2) = SSTK(t1,t1) = SSTK(t2,t2) = 5.
I am investigating on this bug, I will fix it asap.
Best,
Simone

Hi Marco,
I should have solved the bug (which was actually affecting both STK and SSTK, although with your toy example it was visible only on the SSTK). After additional sanity check we will release the new version. For the moment, please use the development branch of the last version of KeLP to get the problem solved.
Cheers,
Simone

Hello @SimoneFilice ,
thank you very much for your reply and solution.
I keep on struggling to understand some results, but I think it's due to something that I still can't get in the definition of the different kernel trees.
I'm considering the definitions reported in KeLP website (these) and I'm executing these lines of code:
float lambda = 1f;
float mu = 1f;
int terminal_factor = 1;
float threshold = 0.001f;

TreeRepresentation t1 = new TreeRepresentation();
t1.setDataFromText("(a (b) (c (d)))");
TreeRepresentation t2 = new TreeRepresentation();
t2.setDataFromText("(a (b) (c (d (e))))");

SubSetTreeKernel subSetTreeKernel = new SubSetTreeKernel(lambda, "tree");
SubTreeKernel subTreeKernel = new SubTreeKernel(lambda, "tree");
PartialTreeKernel partialTreeKernel = new PartialTreeKernel(lambda, mu, terminal_factor, "tree");

System.out.println("Similarity t1-t2 SubTreeKernel res = " + subTreeKernel.kernelComputation(t1, t2));
System.out.println("Similarity t1-t2 SubSetTreeKernel res = " + subSetTreeKernel.kernelComputation(t1, t2));
System.out.println("Similarity t1-t2 PartialTreeKernel res = " + partialTreeKernel.kernelComputation(t1, t2));

The output I get is:
Similarity t1-t2 SubTreeKernel res = 3.0
Similarity t1-t2 SubSetTreeKernel res = 4.0
Similarity t1-t2 PartialTreeKernel res = 10.0
I can understand why I get 10 as PartialTreeKernel similarity result, but I can't figure out the other results.
I'm reasoning as follows:

SubTree(s) I caculate SubTrees as "nodes with their complete descendancy":
subTrees for t1
(a (b) (c (d))), (c (d)), (b), (d)
subTrees for t2
(a (b) (c (d (e)))), (c (d (e))), (d (e)), (b), (e)
so I expect to get "1" as similarity value between t1 and t2

SubSetTree(s) I caculate SubSetTrees as "nodes with either all their children or none of them":
subSetTrees for t1
(a (b) (c (d))), (c (d)), (a (b) (c)), (a), (b), (c), (d)
subSetTrees for t2
(a (b) (c (d))), (c (d)), (a (b) (c)), (a), (b), (c), (d), (a (b) (c (d (e)))),  (c (d (e))), (d (e)), (e)
so I expect to get "7" as similarity value between t1 and t2

As partialTees (considered as "nodes with their partial production and descendancy") I expect to find all subSetTrees plus:
additional partialTrees for t1
(a (b)), (a (c)), (a (c (d))
additional partialTrees for t2
(a (b)), (a (c)), (a (c (d)), (a (c (d (e))))
so I expect to get "10" as similarity value between t1 and t2

where am I wrong?
Thanks for your attention.
Best regards
Marco

Hi Marco,
I'm sorry for the late answer, but solving the issue required a bit. Again, please use the development branch until we release a new version of KeLP.
Let's clarify how the Subtree Kernel and SubSet Tree Kernel work in their standard setting. They both search for common productions in trees. This means that individual nodes are not considered as valid matching fragments.
So, given the trees t1=(a (b) (c (d))) and t2=(a (b) (c (d (e)))) , we have the following kernel computations:
SUB TREE KERNEL
STK(t1,t2) = 0, as no common productions occur.
SSK(t1,t1) = 2, and the matching fragments are:

(a (b) (c (d)))
(c (d))

SUBSET TREE KERNEL
SSTK(t1,t2) = 3, and the matching fragments are the followings:

(a (b) (c))
(a (b) (c (d)))
(c (d))

SSTK(t1,t1) = 3, and the matching fragments are:

(a (b) (c))
(a (b) (c (d)))
(c (d))

Please consider that by default the KeLP implementations of the STK and SSTK also perform a matching between tree leaves. In constituency tree where leaves are words, this corresponds to combine the tree kernel with a linear kernel on a Bag-of-Word representation. To disable this additional analysis you need to use the setIncludeLeaves method:
subTreeKernel.setIncludeLeaves(false);
subSetTreeKernel.setIncludeLeaves(false);
If you don't disable it you will observe the following kernel results:
STK(t1,t2) = 1
STK(t1,t1) = 4
SSTK(t1,t2) = 4
SSTK(t1,t1) = 5
Thanks for your patience. We really appreciated your questions that made us discover this bug we were not aware of.
Best,
Simone

Hello Simone,
thank you for the answer and the explanation, now everything is clearer.
I close the issue since it has been solved.
Thanks again,
regards
Marco


caffe: make it build-able on OS X

Issue description
Currently caffe derivation has:
platforms = platforms.linux;

https://github.com/nixos/nixpkgs/blob/master/pkgs/applications/science/math/caffe/default.nix#L91
But apparently it can be built on OS X:
http://caffe.berkeleyvision.org/install_osx.html
Would it be possible to adjust the code so OS X is supported?
Steps to reproduce
Trying to build caffe on a Mac, I guess.
Technical details

system: "x86_64-linux"
host os: Linux 4.14.54, NixOS, 18.09pre145679.dae9cf6106d (Jellyfish)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 2.1pre6148_a4aac7f
channels(root): "nixos-18.09pre145679.dae9cf6106d"
warning: Nix search path entry '/home/mark/.nix-defexpr/channels' does not exist, ignoring
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Fixed by https://github.com/NixOS/nixpkgs/pull/44616 once it gets merged


How to save Video Player into a file using flutter?

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
I'm very beginner in flutter. I would like to play a video using Video Player, in real time, I'm embedded some text, animations,..etc on while playing that video. Then I would like to save the full edited video into a file.
What are the current approaches support that in flutter ? Giving that I don't want missing frames, or laggy output
Proposal
https://play.google.com/store/apps/details?id=io.instories&hl=en_US An example of what I plan to do

@opxdelwin The question there was about to get closed, and there are no answers

@AndreAhmed
Your question is better suited for support channels like StackOverflow or Flutter's reddit help page, so please ask the same there.
Closing from here, as this is more of a how to question rather than a bug report or feature request.


vscode fails to open last project after update and defaults to last opened file in dssktop files list

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
Version: 1.63.2
Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3
Date: 2021-12-15T09:39:46.686Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0

OS Version:
OS: Linux x64 4.12.14-lp150.12.82-default-

Steps to Reproduce:

Close vscode normally prior to update an Linux. Do some other work that manipulates files. Now update to latest version of vscode.
Vscode now opens with the last file used (a LibreOffice writer .odt file that had been exported to .pdf in this case) instead of opening the last project open in vscode before update.

This appears to be something in the last couple of updates. Originally vscode did not have this problem and would consistently open the last active project across updates. The past two (maybe three) updates are no longer consistent. Further, while the only editing done in vscode is C/C++ (1.7.1 extension). Now it opens documents that have no relations to programming at all.
Where vscode should have opened the last open project with config in ~/dev/src-c/tmp, instead after update it opened with ~/Documents/law/XXXXX_XXXXX/pld/filed/ (client name redacted) where there was no .vscode/ config at all. Opening two .pdf files, specifically
002_answer-1st-amended-cc-jury.pdf
002_answer-1st-amended-cc-jury_file-stamped.pdf

I don't know where vscode went wrong, but it appears it is attempting to read from the XDG recently-used.xbel file in ~/.local/share. That makes no sense at all.
Thought I would pass this along so whatever is causing the loss of last project directory across updates can be fixed.
This also seems to be related to the last document handled (downloaded) by Firefox (the file-stamped version of the pleading retrieved from the court after filing). The apparent entry that was used by vscode was:
  <bookmark href="file:///home/david/Documents/law/XXXXX_XXXXX/pld/filed/002_answer-1st-amended-cc-jury_file-stamped.pdf" added="2022-01-04T21:32:41Z" modified="2022-01-04T21:32:41Z" visited="2022-01-04T21:32:41Z">
    <info>
      <metadata owner="http://freedesktop.org">
        <mime:mime-type type="application/pdf"/>
        <bookmark:applications>
          <bookmark:application name="Firefox" exec="'firefox %u'" modified="2022-01-04T21:32:41Z" count="2"/>
        </bookmark:applications>
      </metadata>
    </info>
  </bookmark>

Let me know if there is anything else I can provide.

A list of exact steps how to reproduce step by step from a fresh workspace start (i.e. code-insiders --user-data-dir <some empty folder>).


Reset default keychain when using a temporary one

Really annoying, because every time the system tries to auto import a key, you get an error alert ("Could not import ... Reset to defaults")

Looks good, have you tested it on your setup?

Yep, it works. It not resetting the default keychain was a big pet peeve, as you'd get annoying pop ups every 5 minutes or so when all the iDevices exchange Handoff certificates. Doesn't happen with this fix.

Thank you @milch


Add Alfred Workflow

Project name
1Password Alfred Workflow
Short description
Search 1Password within the Alfred macOS app.
Project category

[x] Repository
[ ] Article
[ ] Video

Developer Tools used

[x] CLI
[ ] Connect Server
[ ] CI/CD Integrations
[ ] SSH Agent
[ ] Events Reporting API
[ ] Passage or passwordless
[ ] Something else...

URL
https://github.com/alfredapp/1password-workflow/
https://alfred.app/workflows/alfredapp/1password/
Author
The Alfred team. You can find it on the official GitHub org.
Can we contact you?
We'd love to be in touch about your project. Would you be open to our Developer Advocates reaching out?

[x] Yes, I'm open.

Thank you for the submission!


Redirect Issue

Version: 0.38.0
Describe the bug
I was testing out authorizer.dev on a test static site as well as via your js demo, and noticed some issues with the redirectURL. On my website, I set the redirectURL to window.location.origin (as the docs indicate). However, it redirects the user to the home page (instead of the page where the login is set), and when I try to go to the page, it brings me back to the home page.
On your js demo, there appears to be an endless loop of redirects between the authorizer instance and the page that had the code (see video below). I noticed the same issue when I changed the redirectURL for my site to the URL's page.
Steps To Reproduce

Head to https://ybped.csb.app/
Create an account

Expected behavior
Redirected to the page where the user logs in.
Screenshots
https://user-images.githubusercontent.com/95003834/184574579-3c598097-8483-4a31-b3fc-39e67270bbf5.mp4
Desktop (please complete the following information):

OS: Windows 10
Browser Firefox
Version 103.0.2

@candidexmedia thank you for sharing this,
This is actually not a bug,
Firefox does not allow cross-browser cookies for security reasons
Because of the different domains here, it is breaking on firefox you can try the same demo on chrome and it will work. Soon chrome is also going to end this support so you will always have to configure right domains :-)
Codesandbox domain and authorizer instance domain name is different and cookies validation fails for that on authorizer domain.
In an ideal scenario, the authorizer domain and application domain would be identical so this will not create problems.
Just for testing purpose you can try following URL on your firefox and it will work
https://demo.authorizer.dev/app/?redirectURL=https://demo.authorizer.dev/app

I see, makes sense! Thank you for explaining.
I'll create a subdomain for my Authorizer deployment.
Also, it is normal for unregistered users to see a flash of the page that's meant to be password-protected before being redirected?
https://user-images.githubusercontent.com/95003834/184586444-b7721690-58db-4621-ba76-f7b9446ef7cb.mp4

@candidexmedia I would create a public page and then redirect users based on application needs. But you can always create a condition in CSS & JS which renders based on the state and till that show a loader.
Example of how we render the logout button here https://github.com/authorizerdev/examples/blob/main/with-vanilla-js/index.html#L35


False-positive in CmdCopyQueryPoolResults

In my application, I have 1 QueryPool with N queries and K command buffers.
I use CmdWriteTimestamp on K-1 command buffers (except for the last one) to fill first N-1 queries - each query is only written in one command buffer, of course. Then I submit all command buffers to the graphics queue.
After this I add one more CmdWriteTimestamp (for the last query), followed by CmdCopyQueryPoolResults and CmdResetQueryPool to the last command buffer, and submit it to the same queue.
This submission results in N-1 warnings - one for every query not written in the last command buffer - that the query is invalid. This leads me to believe that CmdCopyQueryPoolResults only considers queries written in the same command buffer as valid.
As far as I understand this is not part of the spec - I should be able to use any number of command buffers to write the data as long as they are all submitted before CopyQueryPoolResults is.
GetQueryPoolResults does not have this problem - I think it's because it goes through all in-flight command buffers, not through just one of them, to find the query state.

The specific error message looks like this:
ERROR: [DS] Code 14 : Requesting a copy from query to buffer with invalid query: queryPool 0x67, index 114

The original post is not quite exact. The more exact description is that the command buffers that the timestamps are being ignored in are secondary. That is:
I have K-2 secondary command buffers with timestamp writes for N-1 queries;
I have 1 primary command buffer with CmdExecuteCommands(K-2)
I have 1 primary command buffer with 1 CmdWriteTimestamp, CmdCopyQueryPoolResults and CmdResetQueryPool.
So it's possible that instead of not considering other command buffers CopyQueryPoolResults just does not work with queries submitted by secondary command buffers? I'm not familiar with the codebase for the validation layers to tell.

Fix was cherry-picked and pushed to master


fix: don't price alETH with uni_v3

Related issue # (if applicable):
https://github.com/BobTheBuidler/ypricemagic/pull/318
What I did:
How I did it:
How to verify it:
Checklist:

[ ] I have tested it locally and it works
[ ] I have included any relevant documentation for the repo maintainers
[ ] (If fixing a bug) I have added a test to the test suite to test for this particular bug

Adding a Network
If the purpose of your PR is to add support for a new network, please copy the checklist from here into this PR conversation, and use it to track your changes.

lgtm, only tested in isolation but that went smoothly


Internal: update visual snapshots to macos-12

Summary
What changed?
All developers upgraded to macos-12 but our visual snapshot tests are still for macos-11.
Why?
So it's easier to update our snapshots locally
Links
https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources

Is this a duplicate of #2509?


Repair Classify.seqs at ORG

tool_id=toolshed.g2.bx.psu.edu/repos/iuc/mothur_classify_seqs/mothur_classify_seqs/<IP_ADDRESS>
Test history https://usegalaxy.org/u/jen-galaxyproject/h/imported-from-archive-training-16s-rrna-sequencing-with-mothur-main-tutorial-imported-from-url----classifyseqs-purges-tax-input
Test workflow -- same as GTN Tutorial https://training.galaxyproject.org/training-material/topics/microbiome/tutorials/mothur-miseq-sop/workflows/
What was done:

Load up tutorial inputs
Run the workflow at EU
Export History from EU > Import to ORG (history), Download WF from EU > Upload to ORG
Run the workflow at ORG
See the bug .. the tax input is purged.

This usage makes use of the converter tool CONVERTER_ref_to_seq_taxomony but when I run that directly in a different test history, it works fine. https://usegalaxy.org/u/jen-galaxyproject/h/test-ref-to-seq
I moved the WF from EU > ORG but this also happens if the workflow is directly loaded from GTN. This was a cross test to see if the WF was the problem or not -- seems not, works at EU but not at ORG.
Same happened in Dec 2023 but it seemed like a fluke, see https://usegalaxy.org/u/jen-galaxyproject/h/training-16s-rrna-sequencing-with-mothur-main-tutorial-3
Did work Ok in Nov 2023 https://usegalaxy.org/u/jen-galaxyproject/h/training-16s-rrna-sequencing-with-mothur-main-tutorial-2
So something happened between Nov 27 2023 and Dec 13 2023 to impact this tool. No successful runs since then.
Started up another just to see what happens https://usegalaxy.org/u/jen-galaxyproject/h/training-16s-rrna-sequencing-with-mothur-main-tutorial-imported-from-url-imported-from-uploaded-file

The rerun here worked Ok. Not sure what changed but isn't reproducible now.

Started up another just to see what happens https://usegalaxy.org/u/jen-galaxyproject/h/training-16s-rrna-sequencing-with-mothur-main-tutorial-imported-from-url-imported-from-uploaded-file

Any end-users following should also try a re-run now.


mqtt-cli: Add version 4.22.0

mqtt.cli is a full MQTT 5.0 and MQTT 3.1.1 compatible command line interface for MQTT clients which uses the HiveMQ MQTT Client API.

[x] I have read the Contributing Guide.

/verify


fix: local env hot reload

:tada: This PR is included in version 2.0.0-stage.2 :tada:
The release is available on:

npm package (@stage dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Target for Browser/Webview support?

I'm submitting a question.
Short description of the issue/suggestion:
Having upgraded dev dependencies without too many issues locally – actually it went even surprisingly smoothly – I became aware the target has moved for some PostCSS plugins.
The most noteworthy difference in transpired CSS being the use of the :is pseudo class through plugin postcss-custom-selectors:

MDN doc
CanIUse support table

So, basically, the :is pseudo class is widely available across major browsers from January  2021 (Chromium-based browsers).
Thanks to the push to evergreen browsers in the last couple of years, support should be less of an issue in 2024 but I wanted to make sure that would not break ReadiumCSS for anyone out there.
It would be of great help to mention any special need and/or if that would be no issue.

Unlike minification, I think it is sensible for upstream ReadiumCSS to vendorise and configure browser targets (i.e. not expect ReadiumCSS consumer to do it themselves).
That being said, I'll put this here just in case:
https://github.com/parcel-bundler/lightningcss

Browserslist configuration – Lightning CSS supports opt-in browserslist configuration discovery to resolve browser targets and integrate with your existing tools and config setup.

It looks fine for the Kotlin toolkit, however the Swift toolkit still supports down to iOS 10 (soon iOS 13). It looks like this API is not fully supported before iOS 14?

@mickael-menu Yeah I’m not particularly a fan of it anyway and will roll back this specific dependency to see what happens. It’s use doesn’t bring any benefit whatsoever as we did not design ReadiumCSS to use it anyway. As a backup, there’s maybe browserlist I can add to PostCSS config.
Not that I don’t want to change tooling but the use of PostCSS was quite minimal, and solely for design/authoring purposes i.e. making ReadiumCSS more customisable by developers.


Add How Do I See It block to visual works (to match linguistic works) (from 1963)

Potential rescoping of issue:  it is object/works related, and becomes further complicated with addition of PMC photo archives.  We have other examples of non-Yale works (no object) records that should be considered along side this issue. - SP
https://lux.collections.yale.edu/view/text/5ad5d97a-1b16-42c4-ad5e-145b2371643b

Problem Description:
Linguistic Objects show "How do I see It", with a link to the unit record, but Visual Works do not have this link.
Expected Behavior/Solution:
Add a "How Do I See It" block to visual works that shows the same data as the corresponding object record.  At a minimum, this block should show the View this record on [unit] website link.
Needed for promotion:
If an item on the list is not needed, it should be crossed off but not removed.

[x] Wireframe/Mockup - Heather
[ ] ~Committee discussions - Sarah~
[ ] Feasibility/Team discussion - Sarah
[ ] Check for other related tickets in forming (Where is it, how do I see it?) - Sarah
[ ] Connect related tickets - Sarah
[x] Backend requirements - NONE
[ ] Frontend requirements- TBD

Questions:
TBD
Requirements:
TBD: List of details required for the completion of the issue or requirements for the feature/bug. This can also include requirements that lie outside of the teams such as new design docs or clarification from an outside source.
UAT/LUX Examples:

Visual Work: https://lux-front-tst.collections.yale.edu/view/visual/d743bb92-4ae7-492a-8715-a0a67ed75507
Corresponding Visual Object: https://lux-front-tst.collections.yale.edu/view/object/3e8af430-665d-47a2-b043-7170e2d7ff1c
Linguistic Work: https://lux-front-tst.collections.yale.edu/view/text/5740c505-7ac6-4cf6-a502-2cc8b2de6c37

Dependencies/Blocks: NONE
Related Github Issues: Where is it at Yale tickets.

https://git.yale.edu/lux-its/lux-web/issues/944
https://git.yale.edu/lux-its/lux-web/issues/1359

Related links:

(https://www.bugherd.com/projects/284041/tasks/1865)

Wireframe/Mockup:

I went to the other conversation and do not see any comments on why this is blocked. Additionally, it says "Blocks: None". So why is this blocked? Is it because of the note at the top? Should this be unblocked?
@prowns @kamerynB

@roamye It may have been blocked at the time but going back to the original issue in the private repo, the 2 blocking issues have been completed and closed. I will move this out of the Blocked column and into the On Deck column.

Validating scope of ticket at UAT.

Propose close.   YUL links to bibliographic records.  Visual items do not have links to works - won't fix.


New version: TableClothProject.TableCloth version 1.12.3

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

--- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

(Automated response - build 695.)

/AzurePipelines run

Automatic Validation ended with:

--- End of inner exception stack trace ---    at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)

(Automated response - build 706.)

Automatic Validation ended with:

--- End of inner exception stack trace ---

(Automated response - build 708.)


CF-Compliance of hydrographs.nc output

Description
The netCDF output created by Raven has a dimension called nbasins but no matching coordinates.
From the netCDF docs:
A coordinate variable is a one-dimensional variable with the same name as a dimension, which names the coordinate values of the dimension. It must not have any missing data (for example, no _FillValue or missing_value attributes) and must be strictly monotonic (values increasing or decreasing). A two-dimensional variable of type char is a string-valued coordinate variable if it has the same name as its first dimension, e.g.: char time( time, time_len); all of its strings must be unique. A variable's coordinate system is the set of coordinate variables used by the variable. Coordinates that refer to physical space are called spatial coordinates, ones that refer to physical time are called time coordinates, ones that refer to either physical space or time are called spatio-temporal coordinates.

Make coordinate variables for every dimension possible (except for string length dimensions).
Give each coordinate variable at least unit and long_name attributes to document its meaning.
Use an existing netCDF Convention for your coordinate variables, especially to identify spatio-temporal coordinates.
Use shared dimensions to indicate that two variables use the same coordinates along that dimension. If two variables' dimensions are not related, create separate dimensions for them, even if they happen to have the same length.

So for example there could be a variable called nbasins storing the Raven basin index. It would probably make sense to rename nbasins to just basin or basin_id, but I guess that would break backward compatibility for users and it's not a big deal.
Here are other CF-compliance issues that were raised by CF-checker:
CHECKING NetCDF FILE: /group_workspaces/jasmin4/ceda_wps/production/cache/uploads/Hydrographs.nc
=====================
Using CF Checker Version 3.0.5
Checking against CF Version CF-1.6
Using Standard Name Table Version 61 (2018-11-13T11:55:45Z)
Using Area Type Table Version 9 (04 July 2018)

WARN: (2.6.1): No 'Conventions' attribute present

------------------
Checking variable: time
------------------
WARN: (3): No standard_name or long_name attribute specified

------------------
Checking variable: precip
------------------

------------------
Checking variable: basin_name
------------------
INFO: attribute cf_role is being used in a non-standard way
WARN: (2.2): Could not get typecode of variable.  Variable types supported are: char, byte, short, int, float, real, double
ERROR: (9.5): Invalid value for cf_role attribute

------------------
Checking variable: q_sim
------------------

------------------
Checking variable: q_obs
------------------

------------------
Checking variable: q_in
------------------

ERRORS detected: 1
WARNINGS given: 3
INFORMATION messages: 1

@huard All incorporated now. Is backward compatible. Was only some missing attributes. CF compliance checker now gives:
CHECKING NetCDF FILE: /tmp/5847.nc
=====================
Using CF Checker Version 2.0.9
Checking against CF Version CF-1.6
Using Standard Name Table Version 61 (2018-11-13T11:55:45Z)
Using Area Type Table Version 9 (04 July 2018)

------------------
Checking variable: q_sim
------------------

------------------
Checking variable: q_in
------------------

------------------
Checking variable: precip
------------------

------------------
Checking variable: time
------------------

------------------
Checking variable: basin_name
------------------

------------------
Checking variable: q_obs
------------------

ERRORS detected: 0
WARNINGS given: 0
INFORMATION messages: 0

New Raven version (rev 161) can be downloaded from my webpage URL
And is uploaded to  Wiki

Wow, that was fast ! Thanks, I've updated the makefile in the PR we're working on for objective functions.


module stream not support https

Hi there,
Now weex sdk 0.30 not support https?

Yes, weex supports. In practice, Almost every request of weex is using HTTPS.


High CPU usage when using python.autoComplete.extraPaths on VS Code

Microsoft/vscode-python#2838
The use of "python.autoComplete.extraPaths" seems to be common with the last two posts.

I've noticed some weird behaviour.
I've set up "python.analysis.logLevel": "Trace" along with "python.analysis.openFilesOnly": true.
After I do any changes and save the changes in opened file, the code analysis is triggered for whole workspace folder, is this correct behaviour? See the log bellow:
Waiting for parsing to complete.
Parsing complete. Waiting for analysis entries to enqueue.
Enqueue complete. Waiting for analysis to complete.
Received new analysis for file:///some_python_file.py
Analysis complete for file:///some_python_file.py at version 19
 Waiting for analysis of file:///some_python_file.py to complete.
 Waiting for analysis of file:///some_python_file.py to complete.
... (just to make the log shorter)
 Waiting for analysis of file:///some_python_file.py to complete.
Analysis complete.
Opening document file:///some_python_file.py
Parsing document file:///some_python_file.py
Parse complete for file:///some_python_file.py at version 1
Analysis queued for file:///some_python_file.py
Waiting for parsing to complete.
Parsing complete. Waiting for analysis entries to enqueue.
Enqueue complete. Waiting for analysis to complete.
Received new analysis for file:///some_python_file.py
Analysis complete for file:///some_python_file.py at version -1
Received new analysis for file:///some_python_file.py
Analysis complete for file:///some_python_file.py at version 1
 Waiting for analysis of file:///some_python_file.py to complete.
... (just to make the log shorter)
 Waiting for analysis of file:///some_python_file.py to complete.
Analysis complete.
##########Linting Output - mypy##########
##########Linting Output - flake8##########

(I've changed the name of python file to some_python_file.py, but the names were unique and it was printed for every single python file in the workspace folder)
Can someone eligible confirm if it's correct behaviour or not?
Thank you very much.

Currently, the analyzer isn't smart enough to know exactly what all needs to be reanalyzed when something changes, so it may go over unrelated files to make its analysis up to date. Improving this behavior such that we know exactly which files should be reanalyzed on a file change is a work in progress item (#432, #435).

To verify with (#432, #435).

This should no longer be happening since there is no looping analysis.

@MikhailArkhipov  I'm still seeing this in 1.33.0 on OS X

Not necessarily same underlying problem. Please open separate issue, tell us what version of the language server (displayed at startup) since it is not connected to extension or VS Code version and what packages are being imported and how long did the analysis take (if it completed). Thanks.

[Info  - 2:46:36 PM] Microsoft Python Language Server version <IP_ADDRESS>

I didn't install this separately or anything, I assume this just comes with the ms-python.python extension?
(As an aside for anyone reading: turns out I had disabled "jedi" which in turn enables the python language server - turning jedi back on made everything work without cpu spiking..)


Incompatibility with Create Fabric 0.5.1f

Create Fabric updated today to version 0.5.1f and this has a large number of changes which affect this mod and recipe creation. I think the main change is to do with fan processing recipes as they added support for custom fan processing types.
Log: crash-2024-03-09_21.07.31-client.txt
I'm aware other mods are in this crash report but they work without CreateTweaker installed and it did work before the Create update.

Getting this same crash as well, even with bare minimum mods (CreateTweaker, CraftTweaker, Create, FabricAPI, FauxCustomEntityData)


Migrate from REST API to GraphQL

Completed in #9665115 , wow that took much less time than expected


Linux port prototype

Port for linux, with many limitations, still unusable but displayed things on the headset for the first time

Just heard about this project. Exciting stuff! One interesting thing is the edid-gen tool, which I have forked for reasons I will explain below:
AMD users may get a pink display with certain headsets, and automating the EDID override fix could benefit OpenHMD, SteamVR-OpenHMD, and Monado. This is obviously risky since we're messing around with display devices as root, but I don't know of another way to get around the driver issue.
One small concern I still have is that edid-gen outputs an edid with only minimal information and a refresh rate of 59 when 60 is specified. The goal is to have an edid that is compatible with the headset but removes YUV information since most headsets don't actually support YUV, despite what they say. This edid override would, presumably, make the output have the correct colors for users experiencing the bug.


github-activity not working

I am always getting
"User jmatharu wasn't found."
Any issue going around???
Try searching here as well - http://caseyscarborough.com/github-activity/

Are you hosting your own JS file? See this issue. It happens due to GitHub's rate limit when not authenticated.
You can get around the rate limit by creating a GitHub application and passing your client ID and client secret as parameters like so:
GitHubActivity.feed({
    username: "jmatharu",
    selector: "#feed",
    clientId: "CLIENT_ID",
    clientSecret: "CLIENT_SECRET"
});

@caseyscarborough putting the clientid and secret in the code is a bad idea... This is a huge security concern and anyone could use the id and secret to post on behalf of the user

@LukeFarnell For most use cases, people will not need to do this. But GitHub's API limits unauthenticated requests to 60 per hour. If you require more than this, you'll need to authenticate.

Closing this issue for now.


Index Upload is Slow

Index upload takes a very long time. The bottleneck seems to be the upload through the browser. How do we speed the upload up?

This was dealt with by supplying a progress bar. Not really much to do to speed this up without using something like websockets.


New option WebGUI enable/disable in "opnsense-shell"

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[X] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Is your feature request related to a problem? Please describe.
When configuring a new install of OPNsense in a virtual machine (or some cloud service) the LAN network is not accessible externally. However, the WAN interface is accessible. But the configuration by default has WAN webGUI access closed, and the shell doesn't have the option to enable it.
Describe the solution you like
The solution could be to add a simple new command to enable/disable (by default disabled) the WAN webGUI access from the "opnsense-shell" command.
Describe alternatives you considered
The alternative is a complex network changes to enable access to the internal LAN, configure (aka enable) the WAN webGUI access, then reconfigure with the final network configuration. However, this is a pain.
Additional context
Other people has commented this problem in other sites: https://www.reddit.com/r/OPNsenseFirewall/comments/odficf/edit_config_through_local_shell/
I feel it's time to address this problem to simplify the initial configuration in virtual environments.
Thank you.

Add firewall rules for any interface that needs an IP address.  In the example above, with a routing solution, add a permissive "allow all TCP traffic" rule to the WAN port.  The "Can't access WebGUI on any port other than LAN" problem is due to default "deny all" Firewall rules on the other interfaces such as WAN.  Add a permit traffic rule (ACL) to the WAN interface that will allow WebGui (port 443 SSL) traffic if you need to manage OPNSense access from an external network reachable via WAN port.

Hi @larencejg (and @fichtner),
Thank you for your suggestion. But it doesn't solve the problem. I try onother time to explain the problem:

In a cloud environment, when you're deploying an opnsense instance, your network has this configuration (and no other): WAN is connected to the public Internet or to a LAN network with Internet connectivity; and the opnsense's LAN network is connected no where. The objective is to provide the new opnsense LAN network to other services. And you can't connect it to the real LAN because the opnsense has a DHCP server and provides other LAN services. Therefore in this case your WAN network is the management network. And you can't reach with your computer the opnsense LAN network.

So for this specific case (I feel very common at these days), and to not broke the security, the request is quite simple: provide a CLI command to enable (disabled by default) WEB GUI ACCESS FROM THE WAN INTERFACE.
This will simplifies a lot the management of this appliance. Please, re-think to support this simple function.
Regards.


InvalidBSON: normalized days too large to fit in a C int

Hi All, please help, im encounter this error when initializing step of mongo-connector.
Here is the stacktrace.
2016-05-09 19:52:29,518 [CRITICAL] mongo_connector.oplog_manager:549 - Exception during collection dump
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/mongo_connector-2.3-py2.6.egg/mongo_connector/oplog_manager.py", line 501, in do_dump
upsert_all(dm)
File "/usr/lib/python2.6/site-packages/mongo_connector-2.3-py2.6.egg/mongo_connector/oplog_manager.py", line 485, in upsert_all
dm.bulk_upsert(docs_to_dump(namespace), mapped_ns, long_ts)
File "/usr/lib/python2.6/site-packages/mongo_connector-2.3-py2.6.egg/mongo_connector/util.py", line 32, in wrapped
return f(*args, **kwargs)
File "/usr/lib/python2.6/site-packages/mongo_connector-2.3-py2.6.egg/mongo_connector/doc_managers/solr_doc_manager.py", line 292, in bulk_upsert
for i in range(self.chunk_size))
File "/usr/lib/python2.6/site-packages/mongo_connector-2.3-py2.6.egg/mongo_connector/doc_managers/solr_doc_manager.py", line 292, in
for i in range(self.chunk_size))
File "/usr/lib/python2.6/site-packages/mongo_connector-2.3-py2.6.egg/mongo_connector/doc_managers/solr_doc_manager.py", line 286, in
cleaned = (self._clean_doc(d, namespace, timestamp) for d in docs)
File "/usr/lib/python2.6/site-packages/mongo_connector-2.3-py2.6.egg/mongo_connector/oplog_manager.py", line 448, in docs_to_dump
for doc in cursor:
File "build/bdist.linux-x86_64/egg/pymongo/cursor.py", line 1090, in next
if len(self.__data) or self._refresh():
File "build/bdist.linux-x86_64/egg/pymongo/cursor.py", line 1032, in _refresh
self.__max_await_time_ms))
File "build/bdist.linux-x86_64/egg/pymongo/cursor.py", line 903, in __send_message
codec_options=self.__codec_options)
File "build/bdist.linux-x86_64/egg/pymongo/helpers.py", line 133, in _unpack_response
"data": bson.decode_all(response[20:], codec_options)}
File "build/bdist.linux-x86_64/egg/bson/init.py", line 815, in decode_all
reraise(InvalidBSON, exc_value, exc_tb)
File "build/bdist.linux-x86_64/egg/bson/init.py", line 807, in decode_all
codec_options))
File "build/bdist.linux-x86_64/egg/bson/init.py", line 344, in _elements_to_dict
for key, value in _iterate_elements(data, position, obj_end, opts):
File "build/bdist.linux-x86_64/egg/bson/init.py", line 337, in _iterate_elements
(key, value, position) = _element_to_dict(data, position, obj_end, opts)
File "build/bdist.linux-x86_64/egg/bson/init.py", line 326, in _element_to_dict
element_name)
File "build/bdist.linux-x86_64/egg/bson/init.py", line 147, in _get_object
obj = _elements_to_dict(data, position + 4, end, opts)
File "build/bdist.linux-x86_64/egg/bson/init.py", line 344, in _elements_to_dict
for key, value in _iterate_elements(data, position, obj_end, opts):
File "build/bdist.linux-x86_64/egg/bson/init.py", line 337, in _iterate_elements
(key, value, position) = _element_to_dict(data, position, obj_end, opts)
File "build/bdist.linux-x86_64/egg/bson/init.py", line 326, in _element_to_dict
element_name)
File "build/bdist.linux-x86_64/egg/bson/init.py", line 178, in _get_array
data, position, obj_end, opts, element_name)
File "build/bdist.linux-x86_64/egg/bson/init.py", line 147, in _get_object
obj = _elements_to_dict(data, position + 4, end, opts)
File "build/bdist.linux-x86_64/egg/bson/init.py", line 344, in _elements_to_dict
for key, value in _iterate_elements(data, position, obj_end, opts):
File "build/bdist.linux-x86_64/egg/bson/init.py", line 337, in _iterate_elements
(key, value, position) = _element_to_dict(data, position, obj_end, opts)
File "build/bdist.linux-x86_64/egg/bson/init.py", line 326, in _element_to_dict
element_name)
File "build/bdist.linux-x86_64/egg/bson/init.py", line 243, in _get_date
seconds=seconds, microseconds=micros)
InvalidBSON: normalized days too large to fit in a C int
2016-05-09 19:52:29,524 [ERROR] mongo_connector.oplog_manager:557 - OplogThread: Failed during dump collection cannot recover!

This is a limitation of Python's datetime module. You may be able to work around it by reinstalling PyMongo with its C extensions.
https://api.mongodb.com/python/current/installation.html#dependencies-for-installing-c-extensions-on-unix

thankyou so much @behackett  currently the version of pymongo we are using is 2.1.0. I think it's far behind. Will try your suggestion on reinstally the pyMongo.


Make Socket connect() and bind() context managers

My attempt at addressing #1436 as suggested not adding new methods but extending connect() and bind() to make them return context managers that automatically disconnect/unbind.
I couldn't use contextlib.contextmanager because that wouldn't do the connecting or binding when used outside of a with block, so instead I created a small connect/bind context manager class and turned connect and bind into factory functions. I copied (and amended) the docstrings for connect and bind from their respective Cython versions.

I meant to do a separate PR with the updated implementation, but in any case I think it shows clearer intent of what's going on.

@minrk Updates pushed.

@minrk I didn't think until now to add these to the asyncio versions (just now learning async zmq) but would not mind doing so. Or I can do that in a separate PR. Let me know.

Thanks! Since bind/connect are not themselves async methods, I don't think there's a benefit to supporting async with, so this should be all we need, I think.


a pagination bug in the donors section

Great project!
However, I have noticed an issue you've encountered while using the "Donors" list: The pagination function may have some bugs.   Currently, there are only three donors, but the pagination indicator in the bottom right corner shows that there are two pages.
When switching to the second page, no data is displayed.
I am looking forward to the issue being fixed as soon as possible.

I had the same issue as well. Additionally, it seems like the list of donor is not sorted, but the roadmap states that it should be sorted based on each donor's workload.

@dxxxp @fiatrete  This issue seems relatively simple, so I fixed the pagination and sorting bugs on the fly. #45


Simplify URLHelper/ActionURL JSON serialization

Rationale
SignalDataRawTest starting failing because the new JSONObject is more aggressive about serializing all fields of a Java object. The old JSONObject it would serialize ActionURL as a simple relative URL string (ActionURL.toString()) but the new JSONObject was throwing org.json.JSONException: JavaBean object contains recursively defined member variable of key "originalPropertyValue". Implementing JSONString allows us to dictate the serialization; in this case, we simply quote toString().
Also, add a simple Junit test for ActionURL and expand the existing Jackson test to exercise Jackson + new JSONObject serialization.

All SignalData tests pass with these changes: https://teamcity.labkey.org/viewLog.html?buildId=2115778&buildTypeId=LabKey_Trunk_LabkeyPremiumTrunk_GitModules_SignalDataPostgres95


Update virtualcenter, check vm exists on status

There's a code path that leads to ObjectNotFound exceptions being raised
If provider.is_vm_[running|stopped|suspended] is called on a VM that
doesn't exist, the call to _get_vm ends up raising an ugly exception.
Check that the VM exists before calling _get_vm on it in vm_status.
First wrapanapi PR, hopefully I haven't missed anything obvious.
Found via ManageIQ/integration_tests/scripts/clone_template.

The travis-ci job seems to have only tested hawkular and openstack?

@mshriver Yes, we do not have any other CI.

@mshriver Btw, how do other clients handle this situation? I believe vm_status should raise that exception and script should handle it. It just has to be mgmtsystem exception, not the underlying library exception.

@mfalesni is right here, not the direction we want to go. May be another PR to modify the exception type instead.


Update README

:warning: This is a Pull Request Template :warning:

Checkout all the things you've done by placing an *x*\ within the square braces.

Proposed Changes

[x] I've forked the repository.
[ ] I've created a branch and made my chagnes in it.
[x] I've read the CODE OF CONDUCT and abide to it.
[x] I've read the CONTRIBUTING.md
[x] I understand opening a PULL REQUEST doesn't mean it will be merged for sure.

Nice work, thank you! 🙌


results.ipynb

Hello, your research is a really great work and I would like to ask whether the results.ipynb file mentioned in running steps can be uploaded ？

Hey, thanks. Just added :) Good luck with your research.


i want to test your crawler help me!!!

i`m planning to test your crawler against Scrapy
but i don`t have enough example code.
can you provide some example code for me??
thank you for making an awesome software ~~

What type of code sample are you looking for?
We try to make the HTTP Collector easy to extend and work with for coders, but it is used by most as a stand-alone command-line application.
You can find here how to get started: https://www.norconex.com/collectors/collector-http/getting-started
If you wonder how to handle specific use cases not addressed in the documentation or other tickets, feel free to describe them here.

i want to send http request to particular url can you provide some java code example?

how can i parse json??

JSON files will get crawled.  Can you elaborate on what you are trying to do exactly?  If you mean parsing a JSON file so some fields can be stored as metadata fields, for instance, you can do so by implementing your own IDocumentTagger.
If you know the pattern of just a few items to extract, you can use another approach such as with a TextPatternTagger.  Alternatively, we can make it a feature request to have JSON parsing options built-in.

i`m planning to parse 300 page in premierleague.com like this ↓
{"entity":{"playerId":136935.0,"info":{"position":"F","shirtNum":18.0,"positionInfo":"Centre Striker","loan":true},"nationalTeam":{"isoCode":"GB-ENG","country":"England","demonym":"English"},"birth":{"date":{"millis":8.757504E11,"label":"2 October 1997"},"country":{"isoCode":"GB-ENG","country":"England","demonym":"English"},"place":"London"},"age":"21 years 333 days","name":{"display":"Tammy Abraham","first":"Tammy","last":"Abraham"},"id":13286.0},
-----Original Message-----
From: "Pascal<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Sent: 2019-08-31 (토) 12:11:21 (GMT+09:00)
Subject: Re: [Norconex/collector-http] i want to test your crawler help me!!! (#632)
JSON files will get crawled. Can you elaborate on what you are trying to do exactly? If you mean parsing a JSON file so some fields can be stored as metadata fields, for instance, you can do so by implementing your own IDocumentTagger.
If you know the pattern of just a few items to extract, you can use another approach such as with a TextPatternTagger. Alternatively, we can make it a feature request to have JSON parsing options built-in.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

What do you want to do with the information? Store each field/value in a separate field in your database or search engine? Something else?
I suggest you look at available options for manipulating content (e.g. taggers, splitters, etc.) here: https://www.norconex.com/collectors/importer/configuration
Maybe you will find ways to break the JSON the way you want.  Otherwise, you will have to create your own or wait for that feature to be implemented.
I am marking this as a feature request to have a tagger that can extract data from JSON (similar to DOMTagger).