Updated Integer Lift Page

Updates:

Instead of 2 ** 128 it was written 2 * 128.
According to this, is_le_felt() checks both less than or equal to.

Thanks


Is it possible to compress on the fly and extract in the client side player, the reason for asking this is pricing will be more if we opt for RTMP to RTMP in AWS

tl;dr Don't use AWS for live streaming.
If you have some data processing services you can host them on AWS, but
pricing for bandwidth in AWS is one of the highest in the market. Most
companies host static and/or high-bandwidth content outside "cloud" to use
right tool for the job.
wt., 24.04.2018, 07:10 użytkownik sriman<EMAIL_ADDRESS>napisał:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/arut/nginx-rtmp-module/issues/1251, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAbp9l_283b5KibdyePbLSwA_ZypSL5Hks5trrO6gaJpZM4ThArr
.

Why don't you host it yourself ? Just gotta open the hls port on your internet box settings... then it'll be playable from anywhere with the right address..

Yes we need to host on our own, Packet is good one to host with less cost and using the BGP routing https://metallb.universe.tf/concepts/bgp/


Overhauled download page

This implements RWIB 8.
This is what it looks like.
The key things here are:

The stable release number links to the release announcement
There is only one Mac option
There is a new 'docs' button for every channel
The rustup.sh instructions are given more space so the blockquotes aren't cut off
The beta channel indicates when it will be promoted
Each channel indicates the associated version number

I'm reasonably happy with this. The only things aesthetically that I don't love are:

The 'source' and 'doc' buttons are semantically different  from the other buttons, but visually not that distinct
The three sets of rustup.sh instructions kinda feel 'heavy' and superfluous. I tried consolidating the beta/nightly instructions into a single space but didn't like the look of that either.

r? @nikomatsakis
(rust_highfive has picked a reviewer for you, use r? to override)

Another niggle: the spacing around the download labels is a little imperfect. I might extend the buttons to the left by another column.

cc @aturon @steveklabnik

@brson Consider making the 'source' and 'doc' buttons twice as wide and stacking them vertically. May make them more visually distinct.

:+1:, nice improvements!
The blue for the stable version header but black for the beta/nightly was a little off for me, perhaps the words "current stable release" could be a link to the release announcement? (or perhaps just the date?)
With only one download medium per platform we may also be able to drop the file extensions of what you're actually downloading as it's not giving you much other info now.
I like the idea of source/doc buttons being twice as wide, but perhaps the doc button should be a link in the description area? It's not necessarily a "let's download some stuff" button. (just a passing idea)

Oh and one other thought I just remembered, we may want to make sure to design in space to put links to MSVC builds for Windows, those are basically ready-to-go on nightly and basically-ready-to-go on beta right now, so we could plausibly be putting those links up pretty soon.

I like it.

Nice work, @brson!
I agree with most of what @alexcrichton said, though I think we should keep the extensions in the labels. It would also be nice to move the labels closer to the download buttons, somehow. (Previously, the text was longer so the layout worked a bit better.)
Could the top release say "Stable" for consistency with the other channels? Also, I note that we don't give the patch number on the beta or nightlies, we should make this consistent as well.
I have mixed feelings about the centered curl command layout. Could you try having a wrapped line instead? I think this is one way that the current download page looks cleaner than the one proposed here.

I'm curious what people think of the name 'Downloads' and 'downloads.html' for this page instead of 'Install' / 'install.html'.
The thinking was that it made this page more flexible, but while I was reading this page I was thinking 'release channels ... this is a page about release channels'. Calling the page 'Release Channels' though is terrible.

Regarding the patch number my thinking was that there won't ever be a patch number for beta/nightly, and also that it makes those channels seem less significant than stable, like 'this isn't Rust 1.4.0; this is something 1.4-ish'. Similar reason for not putting 'Stable' in the first section - makes it stand out as different. I'll try some adjustments.

@brson I prefer "Downloads" to "Install". Another option might be "Releases", but it's slightly less obvious that you go there to get downloads.

I don't have too much of a preference on naming, a slight inclination for "Install" over others, but not really that much.

Why not get.html? Apart from that, I know this is bootstrap CSS, but why cap the width at 1170px? This would look squashed on 4k monitors, right? Even on one of my Full-HD monitors, it could make better use of screen estate.

but why cap the width at 1170px?

Really long line lengths are harder to read, so it's common to provide a maximum width.

Fine with me, but it either shouldn't be capped in pixels or adapt to higher-pixel-width screens. One solution would be to make the media query based on ems or inches and define the used width in that unit.

I'm terrible at front-end, so I don't know what the right thing is, but the studies on this are in terms of the length of words. So it would involve making sure that the right sized front at the right resolution isn't too long.

Here's another revision. This is uploaded to the same place so you can't compare with the previous.

Moved the blog link into the channel description.
Changed the channel labels again to '1.3.0/beta/nightly'. I'm reluctant to put full three-point version numbers in the beta/nightly descriptions because those downloads only represent a release series - e.g. 1.4 beta is a beta of the series that will become 1.4.0.
Removed the doc links since they aren't downloads.

I did try to compress the curl snippets to small width again by wrapping the lines. This isn't very usable though because it forces your copied commands to contain a line break, which sucks to edit after pasting. The command needs to fit on one line. We could keep the old design where the code block scrolls, but it's pretty unaesthetic. We could also make the command smaller by adding e.g. rustup-nightly.sh script.

Looks good to me!

I may try one more that adds the channel name and full version to all three.


Storage the Token types of search parameters.

When i read the Spark's source code,I found that the code property was added when saved the searchindex of the boolean type,like this
{
   "active":{
        "code": true
     }
}

https://github.com/FirelyTeam/spark/blob/stu3/master/src/Spark.Engine/Search/ElementIndexer.cs#L354
and I read the fhir's doc
http://build.fhir.org/search.html#token
Token search parameters are used for the following data types:
boolean、code、uri、Coding and soon.
but the  code、uri not add code property like boolean?
https://github.com/FirelyTeam/spark/blob/stu3/master/src/Spark.Engine/Search/ElementIndexer.cs#L190
https://github.com/FirelyTeam/spark/blob/stu3/master/src/Spark.Engine/Search/ElementIndexer.cs#L447
As a result, when querying Token type, a plainStringQueries is required.
https://github.com/FirelyTeam/spark/blob/stu3/master/src/Spark.Mongo/Search/Searcher/CriteriaMongoExtensions.cs#L360
It's a question for me.
Could give me an answer,thinks.

Good catch, @whyfate, seems like the indexing for token search parameters should be consolidated so that we handle all token search parameters similar independent of their underlying data type.

What's your thoughts on this @whyfate, is this something that is time critical to you at the moment? I'm guessing not based on the date for this issue.
If not I will put it into the 2.0 release and then we'll reconsider it then

It's not important at the moment.


[WIP]Use golang docker to build prombench

Closes #145
Signed-off-by: Harsh Agarwal<EMAIL_ADDRESS>

I am currently facing issue of not  being able to access the binary from the host.
Should merge it after this has been resolved

I added a patch here: https://github.com/sipian/prombench/pull/4

@geekodour would you mind opening a new PR with all changes and we can close this one so we can continue the work on your new PR.

superseded in https://github.com/prometheus/prombench/pull/146


Enable Backup : BMSUserErrorInvalidInput Message: Input provided for the call is invalid

Hi,
I have trying the Backup API and SDK. This issue is still exists:
https://github.com/Azure/azure-sdk-for-python/issues/1422
Is there any recently updated example about enabling backup?
Any advice would be appreciated.
Best

Hi @anotherancientalien, We have created a sample here. Hope this can help you.

@BigCat20196  I appreciate your kind help.


Is it possible to use Vidyard video link

Hi,
is it possible  to use Vidyard video link in Videogular using Videogular-Vimeo and the URL is like (http://play.vidyard.com/oTsvMGB9ztAuFbVMsGLCRg) or have to create something like you have created?
Regards,
Jaydeep Tank

Hi,
As for the plugin, unfortunately it does only what it says: allows videogular to play videos from video sources. I took a look at the vidyard API and from first glance it seems as they expose the iFrame player's API. However, in order to consume it you will have to create a separate plugin
Here are a couple of the links, I hope they help:

https://gist.github.com/jramsahai/1f0be24672c0b0da558d
https://www.vidyard.com/blog/trigger-video-playback-player-visibility/****

Thanks! Momchil Marinow,
I will give it try.
Regards,
Jaydeep Tank
On 9 June 2016 at 19:19, Momchil Marinov<EMAIL_ADDRESS>wrote:

Hi,
As for the plugin, unfortunately it does only what it says: allows
videogular to play videos from video sources. I took a look at the vidyard
API and from first glance it seems as they expose the iFrame player's API.
However, in order to consume it you will have to create a separate plugin
Here are a couple of the links, I hope they help:

https://gist.github.com/jramsahai/1f0be24672c0b0da558d

https://www.vidyard.com/blog/trigger-video-playback-player-visibility/****
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/bagabont/videogular-vimeo/issues/1#issuecomment-224900020,
or mute the thread
https://github.com/notifications/unsubscribe/AS60yBXduKE3U-sH2sybJcOb5Jov6zAwks5qKBnYgaJpZM4Ix86l
.


kubeaudit: 0.18.0 -> 0.18.0

Description of changes
https://github.com/Shopify/kubeaudit/releases/tag/v0.18.0

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 177496 run on x86_64-linux 1

1 package built:

kubeaudit


[Interaction]when i search someting the expand disabled!

When I try to search, I encounter this problem and end the search. The file can't view the folded content normally. Only when I restart the vscode, the problem is solved.

normally as follow:

global:

版本: 1.28.0 (user setup)
提交: 431ef9da3cf88a7e164f9d33bf62695e07c6c2a9
日期: 2018-10-05T14:58:53.203Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
架构: x64

@Lanseria Sorry, I don't understand what the issue is.

When navigating through the search results, and a search match is in a folded region, we always expand the region.

@aeschli I am not sure how this bug will happen, but I did encounter it, but I can't reproduce the bug.


update windows cookbook dependency pin and remove unneeded includes to default recipe in windows cookbook

the webpi recipes include the windows cookbook default recipe which raises a bunch of warnings around its use of the chef_gem resource. However, the gems that the windows default recipe installs are not needed by webpi.

cc @chef-cookbooks/client-windows

FYI tested fresh box with chef client 12.4.3 and it had no missing gem issues

:+1:

+1


change twincat state

Hi,
first of all, sorry that im making an issue for this, i didn't know any other way to contact.
second of all, very impressive work you've done here, im using this npm package and s working great for me.
last of all, just a question because i cant find any documentation on it. I see the Twoncat state can be read, but not written. Is this possible at all?
to be more specific, i would like to make a "software-upgrade" trough a webinterface, but for that i need to set the state from RUN to CONFIG
kind regards
Maxime

I see issue 24 already handles this question, sorry to bother, and really awaiting this feature

Thank you for your feedback! Great to hear that the library is in use!
I will implement the run<->config change command, if it's possible. See #24 .

Released in 1.5.0. See readme for details:
https://github.com/jisotalo/ads-client#starting-and-stopping-the-plc
https://github.com/jisotalo/ads-client#starting-and-stopping-the-twincat-system


Updated infrastructure-bundle to v1.6.0

Bump the infra bundle with to last version.

CI is complaining:
  Error: Unable to process command '::set-env name=GOROOT::/opt/hostedtoolcache/go/1.15.5/x64' successfully.
  Error: The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
  Error: Unable to process command '::add-path::/opt/hostedtoolcache/go/1.15.5/x64/bin' successfully.
  Error: The `add-path` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
  Added go to the path
  Error: Unable to process command '::add-path::/home/runner/go/bin' successfully.
  Error: The `add-path` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/


Making non-ambient typings for default function commonjs package

Now sure if this is a bug or by-design, I tried stackoverflow but no answers so here it goes:
I am trying to make non-ambient typings for chokidar-socket-emitter using tsc 2.0.3.
Here is my attempt:
test.ts:
	import chokidar from 'chokidar-socket-emitter';

	chokidar({
		app: null
	});

<EMAIL_ADDRESS>export default function chokidarEvEmitter(options: any);

tsconfig.json:
	{
	    "compilerOptions": {
	        "module": "commonjs",
	        "target": "es5",
	        "noImplicitAny": false,
	        "sourceMap": false
	    }
	}

package.json:
	{
	  "name": "typing_default",
	  "version": "1.0.0",
	  "dependencies": {
	    "chokidar-socket-emitter": "^0.5.4"
	  }
	}

Running tsc whill produce this output:
test.js:
	"use strict";
	var chokidar_socket_emitter_1 = require("chokidar-socket-emitter");
	chokidar_socket_emitter_1.default({
	    app: null
	});

When I then run node test.js I get:
TypeError: chokidar_socket_emitter_1.default is not a function

The problem is that an extra .default is emitted at chokidar_socket_emitter_1.default(...). If I just remove .default it works OK.
My question is:
Is there some way I can make tsc not emit this extra .default and still use non-ambient typings and regular ES6 imports?

chokidar-socket-emitter, and any other commonjs module, would not have a default export. default exports are ES6 concept.
you want to define the module using export =. i.e.:
declare function chokidarEvEmitter(options: any);
export = chokidarEvEmitter;

then use it as:
import chokidar  = require('chokidar-socket-emitter');

Thanks for info! I tried that syntax too, but then I had trouble with the tsc option "target": "es6" which seems to be incompatible with the import = require syntax. Is there some way to provide typings for commonjs modules while still using es6 as target?

for this specific case. i do not know... there is no ES6 module implementation. so you are using babel to transpile it. if this is the case, then use --allowSyntheticDefaultImports. this will allow you to import the module as a default, since babel will rewrite the default import for you.
so the .d.ts file should still look like:
declare function chokidarEvEmitter(options: any);
export = chokidarEvEmitter;

the import would be:
  import chokidar from 'chokidar-socket-emitter';

compile it with:
tsc --target ES2015 --allowSyntheticDefaultImports

@jonaskello You can also do target: es6 and module: commonjs. That's what I use, assuming you aren't relying on actual ES6 modules being emitted.

I was actually using target: es6 with module: commonjs. I'm trying to use a common tsconfig.json for both client and server part in my app. In development I load the *.ts files directly into Chrome with SystemJS and on the server-side I run *.ts files directly with ts-node. Both Chrome and node supports es6 syntax so I don't thinktarget: es6 should not be a problem in itself. I will try with the --allowSyntheticDefaultImports and see if that helps. If not I'll try to make a small repro to show what I'm encountering.

@jonaskello It is worth noting that the behavior of allowSyntheticDefaultImports is to inform the compiler that it should perceive a module declared as
export = class {};

as having the alternate shape
export default class {};

That is it views the module in both ways from a type checking point of view but does not in any way alter its output. This is specifically to allow code that relies on an ES6 <- CJSinterop aware environment, such as Babel or SystemJS by default, to typecheck correctly.
Basically, if
import chokidar from 'chokidar-socket-emitter';

binds chokidar to the value of the target module.exports then your runtime is "lifting" it into a binding named default on the module record, if you are comfortable with that behavior, you should specify allowSyntheticDefaultImports but if you are not comfortable with it, you should disable this behavior in your runtime.


The Criminal Enterprises (mpsum2)

Hi, can you add the new interiors of The Criminal Enterprises released this month?

will do that maybe tonight or tomorrow

request pulled https://github.com/Bob74/bob74_ipl/pull/100

I have updated my game, artifacts, and enforced the correct gamebuild, but they don't load. I'm just standing on nothing. Do we have to set them up or something?

Merged in 2.1.0


[TEST] CSI VolumeSnapshot for BackingImage

What's the test to develop? Please describe
We are now supporting using CSI VolumeSnapshot to manage BackingImage with following 4 use cases

Users can use VolumeSnapshot with type bi to create/delete BackingImage
Users can restore a Volume with a VolumeSnapshot (create a Volume with BackingImage)
Users can restore a Volume with an existing BackingImage (pre-provision)

Create the VolumeSnapshot/VolumeSnapshotContent to associate to the existing BackingImage

Users can restore a Volume with non-existing BackingImage (on-demand provision)

Create the VolumeSnapshot/VolumeSnapshotContent to provide BackingImage parameters
Create BackingImage based on the parameters when the users create PVC from the VolumeSnapshot

Describe the items of the test development (DoD, definition of done) you'd like

Please use a task list for items on a separate line with a clickable checkbox https://docs.github.com/en/issues/tracking-your-work-with-issues/about-task-lists

Prerequisite

Create a VolumeSnaoshotClass with type bi

kind: VolumeSnapshotClass
apiVersion: snapshot.storage.k8s.io/v1
metadata:
  name: longhorn-snapshot-vsc
driver: driver.longhorn.io
deletionPolicy: Delete
parameters:
  type: bi

[ ] Case 1. Test Create and Delete BackingImage using VolumeSnapshot with a given Volume

Given A Volume test-vol attached to a workload
When Creating a VolumeSnapshot
apiVersion: snapshot.storage.k8s.io/v1beta1
kind: VolumeSnapshot
metadata:
  name: test-snapshot-backing
spec:
  volumeSnapshotClassName: longhorn-snapshot-vsc
  source:
    persistentVolumeClaimName: test-vol

Then A BackingImage will be created with the follow properties
apiVersion: longhorn.io/v1beta2
kind: BackingImage
metadata:
  name: `snapshot-${VolumeSnapshot.uuid}`
  namespace: longhorn-system
spec:
  sourceType: export-from-volume
  sourceParameters:
    volume-name: test-vol
    export-type: raw

When Deleting the VolumeSnapshot
> kubectl delete vs/test-snapshot-backing

Then The BackingImage will be deleted as well

[ ] Case 2. Test Restore Volume from CSI VolumeSnapshot

Given A VolumeSnapshot test-snapshot-backing and a BackingImage snapshot-${VolumeSnapshot.uuid}
When Create a PVC with dataSource pointing to VolumeSnapshot
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: test-restore-pvc
spec:
  storageClassName: longhorn
  dataSource:
    name: test-snapshot-backing
    kind: VolumeSnapshot
    apiGroup: snapshot.storage.k8s.io
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 5Gi

Then a Longhorn Volume will be created using the BackingImage snapshot-${VolumeSnapshot.uuid} in its spec

[ ] Case 3. Restore pre-provisioned BackingImage

Given a existing BackingImage, VolumeSnapshotContent and VolumeSnapshot
apiVersion: longhorn.io/v1beta2
kind: BackingImage
metadata:
  name: test-bi
  namespace: longhorn-system
spec:
  sourceType: download
  sourceParameters:
    url: https://longhorn-backing-image.s3-us-west-1.amazonaws.com/parrot.qcow2
  checksum: bd79ab9e6d45abf4f3f0adf552a868074dd235c4698ce7258d521160e0ad79ffe555b94e7d4007add6e1a25f4526885eb25c53ce38f7d344dd4925b9f2cb5d3b

apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshotContent
metadata:
  name: test-existing-backing
spec:
  volumeSnapshotClassName: longhorn-snapshot-vsc
  driver: driver.longhorn.io
  deletionPolicy: Delete
  source:
    snapshotHandle: bi://backing?backingImageDataSourceType=download&backingImage=test-bi&url=https%3A%2F%2Flonghorn-backing-image.s3-us-west-1.amazonaws.com%2Fparrot.qcow2&backingImageChecksum=bd79ab9e6d45abf4f3f0adf552a868074dd235c4698ce7258d521160e0ad79ffe555b94e7d4007add6e1a25f4526885eb25c53ce38f7d344dd4925b9f2cb5d3b
  volumeSnapshotRef:
    name: test-snapshot-existing-backing
    namespace: default

When Creating a PVC pointing to the VolumeSnapshot
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: test-restore-existing-backing
spec:
  storageClassName: longhorn
  dataSource:
    name: test-snapshot-existing-backing
    kind: VolumeSnapshot
    apiGroup: snapshot.storage.k8s.io
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 5Gi

Then a Longhorn Volume will be created using the BackingImage test-bi in its spec

[ ] Case 4. Restore on-demand provisioned BackingImage

Given a VolumeSnapshotContent and VolumeSnapshot
apiVersion: snapshot.storage.k8s.io/v1
kind: VolumeSnapshotContent
metadata:
  name: test-existing-backing
spec:
  volumeSnapshotClassName: longhorn-snapshot-vsc
  driver: driver.longhorn.io
  deletionPolicy: Delete
  source:
    snapshotHandle: bi://backing?backingImageDataSourceType=download&backingImage=test-bi&url=https%3A%2F%2Flonghorn-backing-image.s3-us-west-1.amazonaws.com%2Fparrot.qcow2&backingImageChecksum=bd79ab9e6d45abf4f3f0adf552a868074dd235c4698ce7258d521160e0ad79ffe555b94e7d4007add6e1a25f4526885eb25c53ce38f7d344dd4925b9f2cb5d3b
  volumeSnapshotRef:
    name: test-snapshot-existing-backing
    namespace: default

When Creating a PVC pointing to the VolumeSnapshot
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: test-restore-existing-backing
spec:
  storageClassName: longhorn
  dataSource:
    name: test-snapshot-existing-backing
    kind: VolumeSnapshot
    apiGroup: snapshot.storage.k8s.io
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 5Gi

Then a BackingImage test-bi will be created
apiVersion: longhorn.io/v1beta2
kind: BackingImage
metadata:
  name: test-bi
  namespace: longhorn-system
spec:
  sourceType: download
  sourceParameters:
    url: https://longhorn-backing-image.s3-us-west-1.amazonaws.com/parrot.qcow2
  checksum: bd79ab9e6d45abf4f3f0adf552a868074dd235c4698ce7258d521160e0ad79ffe555b94e7d4007add6e1a25f4526885eb25c53ce38f7d344dd4925b9f2cb5d3b

Then a Longhorn Volume will be created using the BackingImage test-bi in its spec
Additional context
LEP: https://github.com/longhorn/longhorn/blob/master/enhancements/20230417-extend-csi-snapshot-to-support-backingimage.md#test-plan

@ChanYiLin next time, you can add require/e2e-automation to the original issue, then a test issue will be automatically created.
cc @ejweber


Remove (underscore) _-prefix for library-private fields

Coming from Java/Kotlin this prefix drives me crazy. Here are some reasons why the underscore prefix wasn't a good decision:

Refactoring requires an IDE. When changing a field from public to private (or vice versa) the variable name has to be changed everywhere. This requires an intelligent IDE to find all usages because a simple find and replace may also accidentally change other code. A modifier, like in Java, can be changed without touching the name. This may cause compilation errors when restricting the visibility but is fine when promoting fields.
Diffs are huge. Changing a single visibility may result in huge diffs because the change must be applied for every use.
The name of a variable shouldn't have a function at all. When a prefix makes my code better readable I can add it on my own. But I should be able to decide if m, _ or 💩 is the best choice for me.
IDEs are smart. Modern IDEs can detect the visibility of a variable and highlight it visually. Adding this information manually, over and over again, is not required anymore.
It's the only prefix in dart. Other prefixes from the JavaScript world such as k for enums aren't required. Why is this one required?

Possible alternatives:
class PrivateFieldExample {

    String _test = "normal dart 1.x";

    private String test = "like Java";

    @private
    String test = "could also be an annotation";

    internal String test = "Kotlinish, because _ doesn't mean private but library-private";

    // library-private could be the default modifier for fields (or at all)
    // whereas public fields must be marked as such
    String test = "private by default";
    public String test = "public because defined like that";
}

I haven't found any documentation why the underscore was used in the first place. I'd like to understand the reason behind this decision and what it would require to change it.

Privacy has two purposes: access restriction and clash avoidance.
If a class has a private member, outside clients can't access it, but they also can't accidentally clash with the member if they extend the class. The former is nice to have, but not really essential. The latter is necessary to prevent simple refactorings from being breaking changes.
In statically typed languages, any member access is allowed by recognizing the static type of the receiver, and seeing that it has a publicly visible member of that type. In such languages, you can't override a public virtual member with a private one (because that would be unsafe). That is, you statically know, at each member access, what the declared visibility of the member is.
Dart, on the other hand, is a dynamic programming language. You can write a function like
foo(dynamic o) => o.someMethod();

That function will call a someMethod on any object (and fail at runtime if the object doesn't have one). If an object in the same library has a private someMethod declaration, should that be callable by foo? If the same object has a non-private someMethod as well, should that be called? How is an IDE to know?
To make dynamic calls simpler and more efficient, Dart makes it absolutely clear that a private member doesn't have the same name as a public member. That means that the invocation o.someMethod() can work on any object, without any static information, and without having to check visibility at runtime, and so can o._someMethod().
There are definitely other approaches that could have been used. E.g., the Go language uses the case of the first letter as a privacy marker (upper-case public, lower-case private). Other dynamic languages don't have privacy at all (JS) or use a similar scheme (Python's __ prefix).
To be honest, I don't mind the _ at all any more. It's a prefix, so it doesn't get in the way of the actual name, and it was deliberately chosen to be inconspicuous.

Thanks a lot for the insights! I totally forgot about dynamic calls. It makes perfect sense to prevent name clashes.
My goal behind making things private is not to prevent access. I want to be clear what's public API and what's only for internal use and give guidance for the IDE. Couldn't such a prefix be added automatically by the compiler? If someone intends to use my private API they should be either "guess" the method name dynamically or use the mirrors API.
Just quick answers of your questions:

What if the object [with the private function] was from a different library?
-> throw NoSuchMethodError with dynamic access (o.someMethod()) but allow discovery of this method via mirrors API or dynamically with pure guessing (o.$private$someMethod())

If the same object has a non-private someMethod as well, should that be called?
-> It shouldn't be allowed to define the same signature with different visibilities at once.

How is an IDE to know?
-> The IDE never suggests private methods/fields outside of the defined lib.

What if the object [with the private function] was from a different library?
-> throw NoSuchMethodError with dynamic access (o.someMethod()) but allow discovery of this method via mirrors API or dynamically with pure guessing (o.$private$someMethod())

That's basically the approach Python is using. Dart wanted to actually make private mean private, so the name is something that you can't guess. Which is sometimes annoying, because you can't access it for testing either, so we have things like @publicForTesting too. On the other hand, it does prevent users from relying on your internal methods, no matter how convenient it might seem to them at the time. I believe some of the early thinking here was guided by experiences from Java - users don't care why their code breaks, they just don't want it to happen, even if they are relying on something that's intended as private. If it has stayed available and consistent for several versions, and it's convenient, then there is a real risk that users will depend on it anyway.

If the same object has a non-private someMethod as well, should that be called?
-> It shouldn't be allowed to define the same signature with different visibilities at once.

That's exactly the problem that sharing a name-space causes. If a super-class has a private member, can a subclass declare a public member with the same name? This answer says no, but that means that adding a private members can cause an extending class to be an error. The dependency between a class and its superclass is already the tightest dependency in the language, and if you also don't allow the superclass to add private members, it is really becoming impossible to refactor the superclass.

How is an IDE to know?
-> The IDE never suggests private methods/fields outside of the defined lib.

If it's only for suggesting, then I guess that would work. For the dynamic call, it can't suggest anything anyway. I guess coloring can also work for the cases where you do know the type of the receiver.
So, it can do stuff, but it will have to give up in some cases too.

The "" approach is also very simple: when compiling the code, replace any leading "" of identifiers with a token that is unique to the current library. After that, the compiler does not need to deal with privacy anymore.
Example:
var _foo;
print(_foo);

// Replaced with
var <lib1_token>_foo;
print(<lib1_token>_foo);

This also explains, why private variables don't clash when they are in different libraries, but can be overridden in the same library:
// In lib1.dart
import 'lib2.dart';

class A {
  String _foo() => "A";
  void bar() { print(_foo()); }
}

class C extends B {
  _foo() => "C";
}

// In lib2.dart:
import 'lib1.dart';

class B extends A {
  _foo() => "B";
  void gee() { print(_foo()); }
}

class D extends C {
  _foo() => "D";
}

main() {
  new A().bar();  // => "A" as expected.
  new B().bar();  // => "A"  (bar doesn't see the `_foo` from `B`.
  new C().bar();  // => "C"  (bar sees the overridden `_foo`)
  new D().bar();  // => "C"
  new B().gee();  // => "B"
  new C().gee();  // => "B"
  new D().gee();  // => "D"
}

Closing, since there is no plan to change the privacy rules in Dart.


ADDED AN EVENT FORM

added a new variety of form an EVENT FORM
Fixes Issue🛠414
[Feature] Adding Event Form #414
Closes #414
Description👨💻
new feature is added in components

[✅] New feature (non-breaking change which adds functionality)

How this has been tested✅
in my own editor
Checklist✅

[✅] My code follows the style guidelines of this project
✅[] I have performed a self-review of my own code
[✅] I have commented my code, particularly in hard-to-understand areas
[✅] I have added demonstration in the form of GIF/video file
[✅] I am an Open Source Contributor

Screenshots/GIF

📷

Pls add your form section in forms.html as well @student-aditipaliwal


Overrides matchers are created with another matcher inside

When trying to create overrides with the following jsonnet
local g = import 'github.com/grafana/grafonnet/gen/grafonnet-v9.4.0/main.libsonnet';

local overrides = g.panel.timeSeries.fieldConfig.overrides;

overrides.withMatcher(
    overrides.matcher.withId("id")
    + overrides.matcher.withOptions("options")
) + overrides.withProperties(
    overrides.properties.withId("otherId")
    + overrides.properties.withValue("value")
)

It creates the following json
{
   "matcher": {
      "matcher": {
         "id": "id",
         "options": "options"
      }
   },
   "properties": [
      {
         "id": "otherId",
         "value": "value"
      }
   ]
}

There you can see that the field matcher has a matcher inside of it, and this doesn't happen with properties (initialized in a similar way)

Interesting find, the schema for fieldConfig.overrides shows that overrides should be an array, here is part of the JSON schema:
      "FieldConfigSource": {
        "type": "object",
        "required": [
          "defaults",
          "overrides"
        ],
        "properties": {
          "defaults": {
            "$ref": "#/components/schemas/FieldConfig"
          },
          "overrides": {
            "type": "array", // <- THIS IS AN ARRAY
            "items": {
              "type": "object",
              "required": [
                "matcher",
                "properties"
              ],
              "properties": {
                "matcher": {
                  "$ref": "#/components/schemas/MatcherConfig"
                },
                "properties": {
                  "type": "array", // <- ALSO NOTE THAT THIS IS AN ARRAY, MAKING IT EXTRA CONFUSING
                  "items": {
                    "$ref": "#/components/schemas/DynamicConfigValue"
                  }
                }
              }
            }
          }
        },
        "$schema": "http://json-schema.org/draft-04/schema#"
      },
      "MatcherConfig": {
        "type": "object", // <- NOT AN ARRAY
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "default": ""
          },
          "options": {}
        },
        "$schema": "http://json-schema.org/draft-04/schema#"
      },

So the proper invocation would be something like this:
local g = import 'github.com/grafana/grafonnet/gen/grafonnet-v9.4.0/main.libsonnet';

local f = g.panel.timeSeries.fieldConfig;

f.withOverrides([
  f.overrides.matcher.withId('id')
  + f.overrides.matcher.withOptions('options')
  + f.overrides.withProperties([
    f.overrides.properties.withId('otherId')
    + f.overrides.properties.withValue('value'),
  ]),
])

Which would render something like this:
{
  "fieldConfig": {
    "overrides": [
      {
        "matcher": {
          "id": "id",
          "options": "options"
        },
        "properties": [
          {
            "id": "otherId",
            "value": "value"
          }
        ]
      }
    ]
  }
}

I'd say this is mostly a documentation problem, you show how easy it is to get this wrong.

What's the use of the withMatcher() method then?
On Thu, May 4, 2023, 11:19 PM Duologic @.***> wrote:

Interesting find, the schema for fieldConfig.overrides shows that
overrides should be an array, here is part of the JSON schema:
  "FieldConfigSource": {
    "type": "object",
    "required": [
      "defaults",
      "overrides"
    ],
    "properties": {
      "defaults": {
        "$ref": "#/components/schemas/FieldConfig"
      },
      "overrides": {
        "type": "array", // <- THIS IS AN ARRAY
        "items": {
          "type": "object",
          "required": [
            "matcher",
            "properties"
          ],
          "properties": {
            "matcher": {
              "$ref": "#/components/schemas/MatcherConfig"
            },
            "properties": {
              "type": "array", // <- ALSO NOTE THAT THIS IS AN ARRAY, MAKING IT EXTRA CONFUSING
              "items": {
                "$ref": "#/components/schemas/DynamicConfigValue"
              }
            }
          }
        }
      }
    },
    "$schema": "http://json-schema.org/draft-04/schema#"
  },
  "MatcherConfig": {
    "type": "object", // <- NOT AN ARRAY
    "required": [
      "id"
    ],
    "properties": {
      "id": {
        "type": "string",
        "default": ""
      },
      "options": {}
    },
    "$schema": "http://json-schema.org/draft-04/schema#"
  },

So the proper invocation would be something like this:
local g = import 'github.com/grafana/grafonnet/gen/grafonnet-v9.4.0/main.libsonnet';
local f = g.panel.timeSeries.fieldConfig;
f.withOverrides([
f.overrides.matcher.withId('id')

f.overrides.matcher.withOptions('options')
f.overrides.withProperties([
f.overrides.properties.withId('otherId')

f.overrides.properties.withValue('value'),
]),
])

Which would render something like this:
{
"fieldConfig": {
"overrides": [
{
"matcher": {
"id": "id",
"options": "options"
},
"properties": [
{
"id": "otherId",
"value": "value"
}
]
}
]
}
}
I'd say this is mostly a documentation problem, you show how easy it is to
get this wrong.
—
Reply to this email directly, view it on GitHub
https://github.com/grafana/grafonnet/issues/39#issuecomment-1535767500,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2HHAX544BSV25UM3M777ADXESLXDANCNFSM6AAAAAAXWFEEBY
.
You are receiving this because you authored the thread.Message ID:
@.***>

It's not that useful here, it allows the user to pass in a raw object rather than using the functions:
withMatcher({
   "id": "id",
   "options": "options",
})

I can see it useful for automation for example.
I think the whole overrides bit can be represented better than this, the current code is generated based on the JSON model/schema and isn't designed with usability in mind. We'll use this issue as a starting point to improve the situation.

@sfc-gh-jeterovic I've just published a hopefully less confusing way to construct field overrides, have
look at this example and let me know what you think:
local standardOptions = g.panel.timeSeries;
local fieldOverride = panel.fieldOverride;

fieldOverride.byType.new('number')
+ fieldOverride.byType.withPropertiesFromOptions(
  panel.standardOptions.withDecimals(2)
  + panel.standardOptions.withUnit('s')
)

Docs: https://grafana.github.io/grafonnet/grafonnet/panel/timeSeries/fieldOverride.html

I believe this issue is resolved.


Add Forzatech detection

Some reference to the engine, such as the developer site or a wikipedia article.
https://en.wikipedia.org/wiki/Forza#ForzaTech
More info about engine is present on italian wiki page: https://it.wikipedia.org/wiki/ForzaTech
SteamDB links
https://steamdb.info/app/1551360/
https://steamdb.info/app/1293830/
Possible way to detect it
No response

unfortunately i couldn't find any files that show engine presence, so issue can be closed.


wordpress: new package version, generate secrets locally

Motivation for this change
https://wordpress.org/news/2019/09/wordpress-5-2-3-security-and-maintenance-release/
The second commit also modifies the NixOS module to generate crypto keys locally instead of downloading them from https://api.wordpress.org/secret-key/1.1/salt/ which seems like bad security practice (although recommened by upstream). Feel free to merge just the package update.
Things done

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

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

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] 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.

Notify maintainers
cc @aanderse @FPtje

@GrahamcOfBorg test wordpress

@mmilata thanks for this PR! Especially on the secret keys bit. I've never used wordpress before so just used upstream recommendations.
As far as the version bump goes I should really look at the logs @ryantm posts from his bot to understand why it didn't make this PR...

@mmilata ping me on backport to 19.09 please. Thank you very much! :tada:


Allow booleans to be treated as numbers.

One thing I often did in JavaScript was use booleans as numbers, as it was often easier to do that then add a whole bunch of extra ternary operators / if statements. Currently though when I move my JavaScript into TypeScript it gets mad at me for doing things like (bool * number) or (bool - bool) which means that I have to go around wrapping all my booleans in Number(), which I would prefer not to do.
Seeing as var x = 'five' + 5; is considered perfectly fine it seems strange that adding booleans and numbers raises errors.

My comment is subjective and based on my personal opinion:
I think string + number is already borderline. bool * number makes no sense. I know it "works" in JS, but it's too arcane.
Following this logic, you can really remove all type checks from addition, as you could argue JS allows you to {} + [].
Moreover, it means that anyone who writes bool * number by mistake now doesn't get an error, although for many coder it probably is an error.
Regarding your code, I personnally would prefer bool ? number : 0 to bool * number as its more explicit as to what your intents are (and only 2 chars longer). I'm not sure about bool - bool as I don't really get what you're trying to do (not a good sign). false - true is -1, what do you do with that?

My use case for pretty much all this is converting user input (several bools representing which keys are held down) into moving a character. So the bool - bool thing is rightKey - leftKey in order to get the desired change in x.
Although the rest of what you are saying makes sense, and to be honest this is probably one of the only situations in which I will need it.

-1

+rightKey - +leftKey will work and is only two characters longer.

@jeffreymorlan Thank you!

Yes in js unary plus implicitly converts to a number. Personnally I think it's an obscure way to code your movement logic. I'd much rather do:
if (rightKey) dx++;
if (leftKey) dx--;

Yes it's two lines of code, but it's very clear even to a js newcomer. In my book clarity wins over terseness.

@jods4 That is a very valid point, and some searching has told me that most people agree with you in regards to clarity vs terseness. I just have some sort of addiction to one liners and avoiding temporary variables, although I am getting better.

Yeah, unary plus is the pattern you want here that is still terse and expressive but also clearly declares your intent. The majority of TypeScript users will be better off if accidental uses of bools and numbers are errors and you can use this pattern to work in a type safe fashion.

How are:

true + 'foo'
5 + 'foo'
valid and not subject to accidental use while 4 + true is invalid?
If the language allows it why would typescript prevent its use ?

It's a gray area. The language allows {} / [] but that doesn't mean it'd be wrong for TypeScript to consider that an error.
Any concatenation with a string is allowed because expressions like count + ' items are in your cart' are incredibly common and generally not error-prone.


how do I use this in my project?

I can't seem to open it in unity, and am unsure as to how to otherwise use the files from the readme

If you have git shell installed, you can navigate to your project directory's "Assets" folder. Then you can run
git clone https://github.com/BananaHemic/Mumble-Unity.git

Hey, thanks for the response. That seemed to work, but when I run the project I get:
DllNotFoundException: opus-1.3
Mumble.NativeMethods.opus_decoder_create (Int32 sampleRate, Int32 channelCount, Mumble.OpusErrors& error) (at Assets/Mumble-Unity/Scripts/NativeMethods.cs:125)
Mumble.OpusDecoder..ctor (Int32 outputSampleRate, Int32 outputChannelCount) (at Assets/Mumble-Unity/Scripts/Opus/OpusDecoder.cs:62)
Mumble.OpusCodec..ctor () (at Assets/Mumble-Unity/Scripts/Opus/OpusCodec.cs:11)
Mumble.MumbleClient..ctor (System.String hostName, Int32 port, Mumble.DebugValues debugVals) (at Assets/Mumble-Unity/Scripts/MumbleClient.cs:83)
MumbleTester.Start () (at Assets/Mumble-Unity/MumbleTester.cs:28)
I haven't changed any of the files; I just put the 3 objects in the example scene onto a player prefab that is spawned into the scene. Any clue what I'm doing wrong?

Are on you on a Mac or iOS? The opus library might not work on those platforms right now.
I just cloned it into a new project and it appears to be working for me. However, I just pushed some commits to make it easier to get started. If you still have this issue, can you see if it happens in the Example.unity scene?

Hey, thanks again for responding.
I'm on Mac. I've just started again; I cloned the repo into Assets, loaded in the example scene, changed the hostname, port, and password on the MumbleTester attached to the Mumble game object so they matched my server. When I run it, I get the same error as before: DllNotFoundException: opus-1.3
Is this because I'm using a Mac? Is there any way for me to go about fixing this?
Really appreciate your help!

I appreciate you trying out this asset!
The issue is that there isn't a Mac opus dll in this repo yet. To get one, someone would need to just compile the opus library for that platform. I'd do it, but I don't have a mac to test on yet

Ah ok, well I'll give that a try today and let you know how it goes

I downloaded the source code and compiled it. In the readme it says "Once you have compiled the codec, there will be a opus_demo executable in the top directory". Do I use this opus_demo executable in place of the dll file? I noticed that there are a bunch of DllImport methods in the NativeMethods.cs file, so is this what I'm supposed to change?

So, I've never actually built a library for Mac, but my understanding is that you compile it into a "bundle" containing both 32 and 64 bit architectures. I believe this needs to be done with XCode. You can then name this bundle "opus-1.3" and put it in the plugins folder. This is going to be different than the executable, and you won't need to make any changes to NativeMethods.cs

Also, if you get it compiled, please make a PR as I'd love to add mac support for this!

Hi, thanks for the help.
I'm trying to build the bundle in Xcode and I'm getting this error:
"Opus requires one of VAR_ARRAYS, USE_ALLOCA, or NONTHREADSAFE_PSEUDOSTACK be defined to select the temporary allocation mode."
Did you experience this at all when building the dll?

Hmm, I didn't get that issue when I was building it in Visual Studio. The config.h header file should define "USE_ALLOCA" which should stop that error from happening. That's in the Win32 folder, so do you think it's possible that that header file isn't being added?

I'm not sure, I took out the line throwing the error just to see if I could build it anyway and I'm getting loads more errors. Not sure if this will work with Xcode, so I'm looking at alternative routes to building bundles. Specifically this but the Opus makefile is quite complicated for my understanding!

Hmm that link didn't work, it creates a .app rather than a .bundle which is what unity wants I believe. What I'm confused about is, without the 3000+ line Makefile, how is Xcode supposed to compile the source code?

So I have actually got it to build into a .bundle now, but I've put it in the Plugins folder and am still getting the "DllNotFoundException". Any clue what could be wrong?

Ah - I don't think it built right. I'll keep trying. What a pain!

Let me know if there's anyway I can help! I had the same frustration when compiling opus the first time.
I think your best bet is to stick to Xcode and find a way to add the config.h file. I'd do it, but I don't have macOS.

Thanks, I appreciate the offer. All of the files are there, it's just Xcode is not well documented and is very cumbersome. You would think replacing the default build process with running ./configure and make would be simple, but alas! I've sought help on stack overflow, will let you know if I get anywhere.

I've just learned that there's no magic to .bundle files, they are just directories with specific structures. Which means that essentially, I can take the Info.plist that Xcode creates and put it into a folder with the right structure, and then just compile the codec without Xcode and drag and drop whatever it compiles to into the corresponding folder, allegedly. I've noticed that after I run make, an 'opus_demo' file is created. Is this the executable, so to speak, that would be used by the plugin?
I tried dragging and dropping this opus_demo into the .bundle folder; Unity seems to accept that it is a plugin but when I run I still get the DllNotFoundException :(

What does the opus_demo folder structure look like? The plugin should be some libraries, not an executable.
Also, don't forget to name the bundle "opus-1.3"

opus_demo is a binary, which is created when I run ./configure and make, so I wrongly assumed that was what the plugin should be. Does it compile the libraries into a single file? I've looked at an example of another .bundle plugin and its all contained within one file, with no extension, see here. I've sent some emails to someone who used opus for an iOS Xcode project and put it up on github, so hopefully they'll be able to provide some assistance.

I've got somewhere, I just had to change all of the build settings in Xcode and tell it where to look for header files etc. In the linking options, if I use the Mach-O Type "static library", it actually builds fine; however, it doesn't work in Unity. If I use the Mach-O Type "bundle", which I assume is what we want, I get these errors.

you'll never guess what BananaHemic... A colleague of mine suggested doing brew install opus, and renaming the libopus.0.dylib to opus-1.3.bundle, and it actually works.... I'm slightly in dismay, although overjoyed that the problem is finally solved. In any case, do you want me to send you this .bundle somehow (dropbox?) so you can add it to the repo and claim support for os x also? :)

Congratulations! That's fantastic news.
Ideally, it'd be nice for you to make a pull request with that plugin (I can help you with this if needed). Otherwise, dropbox would work as well.

Do I need to be authorised to make a pull request?

Also, would it be possible to have some hints as to how to get user input from the microphone? The mumbletester script is working with my server, as in playing the example clip,  but how do I get it to send the microphone input? Thanks so much for all the help by the way!

To make a pull request:

Make a fork (there's a button in the top right of the repo's Github page)
Clone your fork, using git
Add the bundle to your forked repo, commit and push your changes
Open your forked repo in Github, and click on "New pull request"

You can use the microphone instead of the example clip by leaving all the debugging parameters unchecked in MumbleTester, especially the "use synthetic source" variable. Also make sure that "Always Send Audio" in MumbleMicrophone is enabled.

Cool, I think that's done! I hope I did it right. Again, thank you so much for all your help.

Ah! Sorry to be a pain, I've got the "use synthetic source" unchecked, the rest of the debugging options are unchecked too, and it's still playing the audio clip on the mumble server rather than using microphone input. Any ideas why this might be happening?

Huh, that's strange. Are you using the example scene? Is there only one of the following scripts in the scene:

MumbleTester
MumbleAudioPlayer
MumbleMicrophone

I just tested it out on an empty project, and it was using the microphone correctly (although I did just add a fix for some other microphone issues). My only guess is that maybe there's a second script somewhere that's sending the "TestingClipToUse" audio data

I just redownloaded from scratch and it's working now! I can't thank you enough :)

Hi, I have another question about Mumble-Unity, sorry to be a pain! I've got the three scripts like you do in your example scene in my scene, and when I click the "add random number to username" checkbox, whenever I run the scene I get two connections to the mumble server, each with different random numbers. Then when I stop the scene running, one of the clients disconnects from the server, and the other client hangs in the mumble server for a while. Have you experienced this problem?


Simulator is showing the wrong screen

I've just started a new project with react-native-init, the build was successful. However the simulator screen isn't showing the text that from my index.ios.js file. Instead I'm shown an iPhone home screen (see picture).
I've tried rebooting the Simulator.

Update - now I'm seeing the following error.

This issue looks like a question that would be best asked on StackOverflow.
StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only.
Will close this as this is really a question that should be asked on StackOverflow.


HTML tag in Popup.Content

Is there any work around to include HTML tags inside the content of a Popup? ie:
import React from 'react'
import { Image, Popup } from 'semantic-ui-react'

const users = [
  {
    name: 'Elliot Fu',
    bio: 'Elliot has been a member since July 2012',
    avatar: '/images/avatar/small/elliot.jpg',
  },
  {
    name: 'Stevie Feliciano',
    bio: 'Stevie has been a member since August 2013',
    avatar: '/images/avatar/small/stevie.jpg',
  },
  {
    name: 'Matt',
    bio: 'Matt has been a member since July 2014',
    avatar: '/images/avatar/small/matt.jpg',
  },
]

const PopupExampleHeader = () => (
  <>
    {users.map((user) => (
      <Popup
        content={user.bio}
        key={user.name}
        header={user.name}
        trigger={<Image src={user.avatar} avatar />}
      />
    ))}
  </>
)

export default PopupExampleHeader

The unwanted result is:

I'd like to get "Elliot has been a member since July 2012".

Closing my own issue. I can use ReactHtmlParser from react-html-parser.

@brilhana if your strings are not coming from some backend the easiest way is to use JSX element there (content prop in Popup accepts it):
const users = [
  {
    name: "Elliot Fu",
    bio: (
      <>
        Elliot has been a member since July 2012
      </>
    ),
    avatar: "https://react.semantic-ui.com//images/avatar/small/elliot.jpg"
  }
];

https://codesandbox.io/s/objective-visvesvaraya-leq8q?file=/example.js:78-296


Made DemoClient python 3.0 compatible ..

Issue is the DemoClient.py is not updated for python 3.X.  Python 2.X support has ended.  Updating this to 3.0.  Please see
https://issues.apache.org/jira/browse/HBASE-23644

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 33s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+1 :green_heart:
mvninstall
5m 30s
master passed

-1 :x:
pylint
0m  1s
Error running pylint. Please check pylint stderr files.

+1 :green_heart:
javadoc
0m 22s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 56s
the patch passed

-1 :x:
pylint
0m  2s
Error running pylint. Please check pylint stderr files.

+1 :green_heart:
pylint
0m  2s
There were no new pylint issues.

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
javadoc
0m 19s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 40s
hbase-examples in the patch passed.

+1 :green_heart:
asflicense
0m 14s
The patch does not generate ASF License warnings.

14m 50s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/988

Optional Tests
dupname asflicense javac javadoc unit pylint

uname
Linux 746236977ed4 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-988/out/precommit/personality/provided.sh

git revision
master / ab9766599d

Default Java
1.8.0_181

pylint
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/artifact/out/branch-pylint-stderr.txt

pylint
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/artifact/out/patch-pylint-stderr.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/testReport/

Max. process+thread count
2171 (vs. ulimit of 10000)

modules
C: hbase-examples U: hbase-examples

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) pylint=1.6.5

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

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 34s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

-0 :warning:
test4tests
0m  0s
The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ master Compile Tests _

+1 :green_heart:
mvninstall
5m 36s
master passed

-1 :x:
pylint
0m  0s
Error running pylint. Please check pylint stderr files.

+1 :green_heart:
javadoc
0m 22s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m 54s
the patch passed

-1 :x:
pylint
0m  0s
Error running pylint. Please check pylint stderr files.

+1 :green_heart:
pylint
0m  0s
There were no new pylint issues.

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
javadoc
0m 21s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 40s
hbase-examples in the patch passed.

+1 :green_heart:
asflicense
0m 15s
The patch does not generate ASF License warnings.

15m 40s

Subsystem
Report/Notes

Docker
Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/988

Optional Tests
dupname asflicense javac javadoc unit pylint

uname
Linux b2f68058fb7d 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux

Build tool
maven

Personality
/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-988/out/precommit/personality/provided.sh

git revision
master / ab9766599d

Default Java
1.8.0_181

pylint
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/2/artifact/out/branch-pylint-stderr.txt

pylint
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/2/artifact/out/patch-pylint-stderr.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/2/testReport/

Max. process+thread count
2179 (vs. ulimit of 10000)

modules
C: hbase-examples U: hbase-examples

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/2/console

versions
git=2.11.0 maven=2018-06-17T18:33:14Z) pylint=1.6.5

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

This message was automatically generated.

Does this still work with python 2? Or is it python 3 only?
I'd be fine with the master branch being python 3 only if we can make branch-2 python 2 and python 3. This could be done with mutliple examples if needed.

The file DemoClient.py that I made a new pull request in
https://github.com/apache/hbase works with python 3.X. I'm not sure what
the issue with github is, it has broken heart with -1 on top with some
error from pylint. I'm not sure what I need to do to get it fixed. If you
can let me know, I can get it committed.
On Mon, Jan 6, 2020 at 9:34 AM Sean Busbey<EMAIL_ADDRESS>wrote:

Does this still work with python 2? Or is it python 3 only?
I'd be fine with the master branch being python 3 only if we can make
branch-2 python 2 and python 3. This could be done with mutliple examples
if needed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/hbase/pull/988?email_source=notifications&email_token=ALFG3HQ2EC6MW4OXB3F26B3Q4NFOZA5CNFSM4KCVOL62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIFZPOQ#issuecomment-571185082,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALFG3HQV4E55L6A4AERW7J3Q4NFOZANCNFSM4KCVOL6Q
.

Will close out unless update inside next week. Thanks.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 43s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

_ Patch Compile Tests _

-0 :warning:
pylint
0m  5s
The patch generated 11 new + 0 unchanged - 1 fixed = 11 total (was 1)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
5m  4s
the patch passed

-0 :warning:
javadoc
0m 21s
hbase-examples in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
2m  4s
hbase-examples in the patch passed.

17m 44s

Subsystem
Report/Notes

Docker
Client=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/988

Optional Tests
javac javadoc unit

uname
Linux 37d3adfaeda5 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 0ce85fe63c

Default Java
2020-01-14

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-examples.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-examples.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/testReport/

Max. process+thread count
1488 (vs. ulimit of 12500)

modules
C: hbase-examples U: hbase-examples

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-988/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

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

This message was automatically generated.

Closing abandoned PR


Add Ubuntu deb support

This adds support for Ubuntu debs. It also adds some corresponding smoke tests, but I'm not 100% sure I did that correctly.
This "Works On My Machine(tm)", but I've not extensively tested it on anything other than Ubuntu 22.04 LTS. There may be a more general approach to handle the differences between Debian and Ubuntu apt packaging topologies, but I saw that you are exploring a native Skylark port (https://github.com/bazel-contrib/rules_debian_packages/issues/30) so I didn't think the refactor would be worth the time investment.
This also fixes a bug which I hit where a debian package is not xz-compressed, by adding support for .tar.zst in the genrule.
This is done by modifying the buildfile contents in repository.packages.tmpl to pass the extracted data archive as a single-entry filegroup, then modifying the genrule to iterate over the inputs and decompress them. This will have the side effect of potentially producing anther label, but offhand I can't think of a situation where that will cause issues.
The one other failure mode is if a .deb is somehow malformed in such a way that it contains two data.tar.* files, in which case it just extracts the first it sees and continues.

heya there. thanks for the contribution.
looks good to me for the most part.
could you do me the favor and cleanup the commit-history a little.
i.e. make the commit messages comply to conventional-commit and squash some of them?
thanks again

@stewartbutler buildifier checks are failing.

thanks for the contribution.


Add span format tag for jaeger-collector

Which problem is this PR solving?

Resolves #1490

Short description of the changes

include span format tag for every processed span in the collector

Screenshot of running hotRod locally with the changes.


Confusing grid system. Is it broken?!

Hello. I can't seem to wrap my head around the grid system. No matter what I do, I can't get three different breakpoints to work (small, medium, large). All I want is to have 4 columns on large, 2 on medium and 1 on small;

large: w25
medium: w50
small: w100
How can I achieve this? This still shows 25% on mobile (smallest resolution).

  content

default: w-100
medium: w-50-m
large: w-25-l
you should be aware that this tag should be present for media queries to bi triggered.
 <meta name="viewport" content="width=device-width, initial-scale=1.0">

@coffeeneed here you can see the css for widths.

Thank you for your efforts. I have tried this and it does not work.

not really sure what you are trying to achieve, but here's a simple example
also be aware of floatings - fl class!

Lol. I think I just experienced a Chrome limitation which doesn't allow the window to be less than 500 pixles. Using the responsive system in developer tools solved my issue. In other words: I didn't experience the web page in less than 500px, hence not seeing the divs on 100% width. Thank you for your help anyway @cmnstmntmn


Add more testing scripts

Refines tests for training, adds a CP2K component test

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

3 of 4 (75.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.006%) to 45.949%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

mofa/difflinker_train.py
3
4
75.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.006%

Covered Lines:
4418

Relevant Lines:
9615

💛  - Coveralls


Incorrect output

I've noticed that images produced with hitherdither are slightly different than those produced with other programs using the same algorithms.
I tested this using Floyd-Steinberg on a solid 50% gray image, which should produce a uniform checkerboard pattern.

Input
Output
Expected (from PIL)

I've found that by rounding when distributing the quantization error, the above image renders correctly, while others are closer but still different.
ni[yn, xn] += np.round(quantization_error * diffusion_coefficient)
Maybe that's as good as it's gonna get.

from PIL import Image

img = Image.open('808080.png') # solid grey image
img_dithered = img.convert('1') # uses floyd-steinberg dithering by default
img_dithered.save('dithered.png')

I am using PIL for Floyd-Steinberg, but that's the only algorithm it supports.


Confirm button not responding

Hi,
I've a problem about selected image.
Upload file or create folder is working fine.
But how can i select file and press confirm button, button has not response.
There is no error in the console either.
No action occurs.
My expectation; the file information that I have selected and approved is passed to Tinymce-vue.
And provide the followings :

Operating system : Monterey / MAMP
Laravel version : 9
Package version : 2.4.1

https://user-images.githubusercontent.com/23212140/157642120-602ff411-3061-4f19-8a19-77253fd41231.mov

Yes same for me too

same :(

There might be some API changes in TinyMCE. Diving into it.

Ah thanks for your comment, i did not find the thread earlier.
My problem was that we had an nginx reverse proxy - so the laravel app url was http and NOT https.
We removed the proxy and added other security measures instead, with https it works perfectly


Update recommended AzurePS to 1.3.0.

We also need to update the same for SQL Azure task. Can you please update it.

Looks fine.


Clean up dependencies; switch to ninja

Can we please keep make? ninja's verbose mode gives very little info and recent llvmdev-feedstock issue would have been easier to debug if we used make.

Can we please keep make? ninja's verbose mode gives very little info and recent llvmdev-feedstock issue would have been easier to debug if we used make.

OK, if you have that preference, I don't mind.
(by default, I try to harmonize the build system across platforms with ninja where possible; one less divergence to handle).

Hm, seems the NATIVE_FLAGS here aren't being picked up correctly, or rather, the lack of ZSTD_ROOT / LIBXML2_ROOT in https://github.com/llvm/llvm-project/blob/llvmorg-16.0.0-rc4/llvm/cmake/modules/LLVMConfig.cmake.in#L70-L84 leads to the one from the host prefix being found:
-- Detecting CXX compile features - done
-- Found ZLIB: $BUILD_PREFIX/lib/libz.so (found version "1.2.13")
-- Found zstd: $PREFIX/lib/libzstd.so
-- Found LibXml2: $PREFIX/lib/libxml2.so (found version "2.10.3")

Thanks for the help with https://github.com/conda-forge/clangdev-feedstock/pull/205/commits/367a295ae33ad389699b0b69dff7cb971d25fb97 Isuru, much better than what I was trying to do in https://github.com/conda-forge/llvmdev-feedstock/pull/204, obviously.
I've looked a bit more closely how the native config is being built in upstream cross-compilation, and it's basically a normal CMake invocation; this also explains why CMAKE_PREFIX_PATH works out-of-the-box.
In any case, this should now be more consistent, both internally and with our llvmdev builds.
There shouldn't be any surprises here, but let me know if you want some time to review at your leisure.

Included in #206


Loosing widgets on boot

Dev Home version
<IP_ADDRESS>
Windows build number
10.0.23466.1001
Other software
OS Build Version: 10.0.23466.1001.amd64fre.ni_prerelease.230522-1422
.NET Version: .NET 6.0.16
Steps to reproduce the bug
Add any hardware widget (CPU, GPU  etc..) and reboot the PC
Expected result
Widgets won't go away after reboot
Actual result
Every time i reboot my pc my Dashboard loses my hardware widgets.
It's a blank canvas on each boot.
Included System Information
CPU: 13th Gen Intel(R) Core(TM) i9-13950HX
Physical Memory: 31.64GB (10.1GB free)
Processor Architecture: x64
Included Extensions Information
No response

Duplicate of #742


removes groups

should probably bump the version too, as technically this does change some functions in non-backwards-compatible ways.

@mpickering seems like a fake failure? certainly didn't do anything that could break a connection test.

Thanks!

no worries, thank you for the useful project :)


Same file type toggle

I found an issue by using previous et and next function.
If 2 files have the same file type, the next file is not uploading and it's loading infinity.
I would like to help you on this package, don't hesitate if you need another hand.
Thank you again for developing this package !

Hi, if you have a fix. You can provide a branch / Pull Request. And will review and merge.

Hi, if you have a fix. You can provide a branch / Pull Request. And will review and merge.


k8s - configmap adds watch for all available configmap in the namespace.

Describe the bug
Version 2.0.1
apps needs only configmap injection so included only implementation group: 'org.springframework.cloud', name: 'spring-cloud-starter-kubernetes-client-config' and bootstarp.yml config as follows
spring:
  application:
    name: my-test-app
  cloud:
    loadbalancer:
      cache:
        enabled: false
    kubernetes:
      enabled: ${KUBERNETES_CONFIG_ENABLED:false}
      reload:
        enabled: ${KUBERNETES_CONFIG_ENABLED:false}
      config:
        enabled: ${KUBERNETES_CONFIG_ENABLED:false}
        name: ${SPRING_APPLICATION_NAME:unknown}
        namespace: default
      discovery:
        enabled: false
      loadbalancer:
        enabled: false

when we start the application we can see logs saying its adding watch for all the configmap that are available in the namespace.
we have 1000's of configmap so worried about any performance issue it may cause.
example
CongifMap app1 was added.
Configuration change was not detected.
CongifMap app2 was added.
Configuration change was not detected.
CongifMap app3 was added.
Configuration change was not detected.
CongifMap app4 was added.
Configuration change was not detected.
CongifMap app5 was added.
Configuration change was not detected.
...

Why not only add watch for configmap that default/mentioned or filter before adding the watch?

We could probably watch specific configmaps and secrets, for example ones specified via configuration or via an annotation/label.

Hi, just to pop up this topic
I have the same problem
It's logs every 2s ^^
If I set spring.cloud.kubernetes.config.enabled=false problem 'solved' but I loose the hotreload function

Any updates here?

None yet, but if you are interested in helping out and submitting a PR that would be welcome

This one is a bit tricky. First of all, I'd like to work on this one and fix it, but first we need to establish some rules (that I will kindly request approval for).
There are two ways we can listen for changes (I'll exclude watcher from this perspective entirely):

pool configmaps/secrets on some interval
use informers to receive events when something changes.

In the first case, we get the existing state of PropertySources and the k8s state; if there are diffs, reload/restart/close context (whatever is configured).
In the second case, currently, we only listen to the "current" (or configured) namespace. This is a first big difference, since we will obviously miss events if changes happen in configmaps outside this namespace. I am kind of surprised this has not been raised as an issue yet (unless I missed it).
The other part here is that we can't replicate the logic that pooling does, since we need to know upfront what we want to watch for and where. As such, I am proposing this:

users can specify the namespaces they want to watch configmaps/secrets. If they do not specify it, we will use : https://docs.spring.io/spring-cloud-kubernetes/docs/current/reference/html/#namespace-resolution. Neither of this is currently implemented.
if they provide the namespace(s), we will create an informer for each of those namespace separately and watch changes only in those.
users can narrow the configmaps/secrets that they are interested in by providing spring.cloud.kubernetes.informer.enabled=true label. Initially, I thought about letting users specify this name, but it complicates things for us a bit, and it does not really matter either: all we need is a marker to distinguish stuff. It also has to be a label because k8s does not allow searching by annotations.

@ryanjbaxter if you agree with the above or have any comments, let me know, and I'll start implementing this.

Sounds good to me

Hi,
I need a bit of explanation about the fix.
If I understand well, with the config, spring will monitor changes in all configmap of the specified namespace or only those with label spring.cloud.kubernetes.config.informer.enabled: true ?
But lets say I have two (or more) spring apps in th esame namespace each with it's own configmap.
app A depends on cm A  and app B depends on cm B
So I need to monitor both cm A & B, so both will have the label. But I don't want app A to reload if changes happens in cm B (while app B needs to reload).
Does this fix offer me solution or no (not yet ? :))

If I understand well, with the config, spring will monitor changes in all configmap of the specified namespace or only those with label spring.cloud.kubernetes.config.informer.enabled: true ?

you can specify both:
spring:
  application:
    name: event-reload
  cloud:
    kubernetes:
      reload:
        enabled: true
        strategy: shutdown
        mode: event
        namespaces:
          - left
        monitoring-config-maps: true

this will watch configmaps in namespace left and only those that have spring.cloud.kubernetes.config.informer.enabled: true label.
If you change monitoring-config-maps: false (default value), it will watch for all configmaps in namespace left.

But lets say I have two (or more) spring apps in th esame namespace each with it's own configmap.
app A depends on cm A and app B depends on cm B
So I need to monitor both cm A & B, so both will have the label. But I don't want app A to reload if changes happens in cm B (while app B needs to reload).

This is indeed not supported at this moment. It's actually doable if we let you specify labels yourself. So for example, in appA you want say : "what configmaps that only match labels = { ... }" and the same for appB. This way this can be distinguished. If you would like such support, I would encourage you to open a new defect. Event better if you could contribute with a fix (I could guide you a little).
Thank you.

While working on a different issue, I remembered our talk here @UnleashSpirit and decided to comment, as your assumption is not entirely correct. To be fair, I was not very sure either - had to go to the code to understand.

So I need to monitor both cm A & B, so both will have the label. But I don't want app A to reload if changes happens in cm B

If you have cmA connected to appA and cmB connected to appB, a change in cmA will not trigger a refresh/restart in appB; simply because appB is not aware of cmA. i.e.: appB does not have cmA defined as its sources. And we only read sources of each individual app to find out if we want to restart/refresh.
So this seems not a problem?

Hi, guess say like that seems fair
I'm on vacation at that time, need to check somehow what I said
Thanks :)


Custom Template Support?

Now CRToastSwift supports only 4 templates:

Info
Success
Warning
Error

I'm considering to support more customizable templates for example described with JSON...
Any ideas?

I decided to improve APIs instead of add custom theme functionality so that developers can add own custom theme that fits to their applications. See #3


Update Quickstart.java

Increase "EXPORT_INTERVAL" from 60 seconds to 70 seconds, to work around https://github.com/census-instrumentation/opencensus-java/issues/1808. (Otherwise, metrics do not actually get exported to Stackdriver.)

Looks like this change was also committed elsewhere - closing.


hardware support for hard-coded index

Somehow we need to hard-code index on PnP hellen boards with multiple controllers.  It's impossible to unplug one controller to set index, since they're all hard wired on the same pcb.

For legacy boards without jumpers, pins were selected such that ID 0 and 1 are possible by bridging to adjacent power pins:

now supported via 48dbdb842eae69c1f04c9a79e712a42da6d8ad18


UIs for Streaming APIs

Add new UI for Streaming APIs in Publisher and Dev Portal

Introducing a new API type called 'Streaming API'
API Designer which includes topics, actions, etc..
AsychAPI editor integration to publisher
Changes for DevPortal

Closing this as the above changes are released with APIM 4.0.0 Alpha.


cannot build project in pnpm monorepo with externals disabled (cloudflare)

Environment

Operating System: Darwin
Node Version:     v18.13.0
Nuxt Version:     0.0.0
Nitro Version:    2.2.1
Package Manager<EMAIL_ADDRESS>User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction

Clone the repo
pnpm i
pnpm --filter app build
See error in the console

Describe the bug
The build process throws an error saying:

Error: Cannot resolve "source-map-support/register.js" from "\u0000virtual:#internal/nitro/virtual/polyfill" and externals are not allowed!

Additional context
No response
Logs
No response

Good catch, indeed!

Any news?
My build for NITRO_PRESET=vercel-edge isn't working and I see the same error about externals...


fix: create commitments to data root tuples instead of just data roots

Description
Fixes the data commitments from only committing to data roots to also include the heights
Closes: https://github.com/celestiaorg/celestia-core/issues/932

the logic is really simple, and we need to push this through, but having a simple unit test would be good documentation for what we should expect it to look like.

Yess, 100%, thanks for reminding me:
9397c1c

I don't think it matters too much, but we could also add an issue to remove the geth dependency as well
https://github.com/celestiaorg/celestia-core/issues/934

Let me know if need something else so I can merge.


Should the CodeCombat from Docker Hub work already?

Hey Raymond,
first of all: thank you for your work.
I'm not quite sure whether this is the right place to ask or whether you are the right person to ask (on the account kgonyo is a fork of this?).
However, I would love to run CodeCombat in a Docker container for offline usage and saw that there is a pretty new entry on Docker Hub (operepo/ope-codecombat).
Although it's not linked on Docker Hub I guess you or kgnoyo are the the creator of this entry, right?
However, I tried to run it but somehow it doesn't work. I installed netstat from net-tools within the container to check for listening applications and I saw just the mongod listening so far. No application on port 3000 (or any other):
root@codecombat:/# netstat -tulpen
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       User       Inode       PID/Program name
tcp        0      0 <IP_ADDRESS>:27017           <IP_ADDRESS>:*               LISTEN      0          1342080     19/mongod

Therefore I just wanted to ask whether the Dockerfile is supposed to work already and whether the repo operepo/ope-codecombat on Docker Hub is up to date.
Thank you in advance and have a nice day!

Yes, your at the right place. Kgonyo is helping me work on this project.
It was working, but I noticed last time that it was making the CPU crank longer than it should. I am guessing  versions changed or something (e.g. newer node got pulled in?).
On the initial startup, it dumps current users, then imports the current database (can take a several minutes), so you won't see the web connection pop up until that is done. You should see the CPU cranking for a bit while it does this (docker status??)
You need to make sure you set the ports/volumes properly (see the docker-compose-include file) so that it can save user data and not rebuild the database every time it starts.
It is setup to run as a larger set of apps for the OPE project for prison education that includes canvas, khan, jsbin, etc...
To move things offline, we start/build online, then use docker save to dump a binary image, copy it inside and do docker load to import it.
I will check on it this weekend and verify if it is working for me still or if it needs some tweaks.

I am pushing an updated copy now. rebuilt with newer node and ruby.  It comes up for me after the initial startup wait for the db to import.

Awesome, thank you for your work!
I won't be able to test it before tuesday but I will write when I know whether it works.

Sorry for the late response.
Current docker images work perfectly. 👍
Thank you Raymond, awesome work.
Have a nice week!


Add custom Envoy cluster-specific Prometheus label

Title: Add custom Envoy cluster-specific Prometheus label
Description:
I would like to create a custom Prometheus label on the Envoy cluster to use later in the PromQL expression to make more fine-grained alerts. Every cluster should have its own value. I expect to get metric e.g. envoy_cluster_lb_healthy_panic{custom_label="test"} 0. What parameter in cluster configuration can I use? How to include this parameter in Envoy stats to push it to Prometheus as a label with value?
I found https://github.com/envoyproxy/envoy/issues/29294 issue, tried to define alt_stat_name, but if it is defined (e.g. alt_stat_name: hello_world), then envoy_cluster_name label is overwritten by the value of alt_stat_name
Relevant Links:
https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/cluster/v3/cluster.proto
https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/core/v3/base.proto#envoy-v3-api-msg-config-core-v3-metadata
https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/metrics/v3/stats.proto

Envoy version is 1.27.2

I'm not a Prometheus expert, but I think there's the CLUSTER_NAME tag that should be populated in the cluster's stats.
Can you please take a look here and see if it gets you in the right direction?

Currently, I have Envoy metrics exposed to Prometheus on path /metrics and port 9109 using listener on /stats/prometheus. And I don't see how enabling statsd would solve my problem 🤔
Initially, I was thinking of using stats_tags from stats_config, but this resource is common for all clusters and I need to define a label (tag) per cluster.

cc @jmarantz may have more information, or be able to direct this to the right person.


It seems we will need tags for the main repo,
and use that for path-specific change logs.
This is mainly an issue about needing to document what
to do.

Looks like we need to make tags whenever something goes to crates.io.
The questions are:

how should we tag them?
how should we treat alpha/beta vs stable releases?

Closed by #281


Original Data

Please consider showing the original data being used for the visualization, and however it needs to be prepared before uploading into PowerBI.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f919f51d-8623-b039-a1fc-0df774225c46
Version Independent ID: 0376c331-0f7e-ec9b-6262-f47a6c413d47
Content: Decomposition tree - Power BI
Content Source: powerbi-docs/visuals/power-bi-visualization-decomposition-tree.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @mihart
Microsoft Alias: rien

Thanks for the suggestion, @logic-based. I'm assigning this issue to the author to consider your request. If you haven't already, you might want to take a look at some of our learning modules, like this one: https://docs.microsoft.com/learn/paths/create-use-analytics-reports-power-bi/

Hi @logic-based ,
I see that this Git issue is a bit old, so I'm going to close it.  I hope that you were able to get your questions answered. If not, please revisit the article since it has been updated since this Git Issue was submitted.  Another option is to submit your question to the Power BI community (community.powerbi.com).
All the best,
the DOCS team


Batch functionality

Have hundreds of pictures and would like to be able to process them sequentially automatically from a folder, perhaps together with a text file or by always reading the name of the image. Would be very very helpful!

Great to hear, thanks for your quick answer. I am using the app with the
Gradio Interface as a part of VOC Visions of Chaos. It would be very
helpful, if this batching could be integrated in the Gradio interface, but
unfortunately I am a bit out of the water in this matter.
Kind regards
Mischa
Am Di., 9. Apr. 2024 um 10:22 Uhr schrieb DoubleXING <
@.***>:

Hi. I think this functionality is already there? (in scripts/).
—
Reply to this email directly, view it on GitHub
https://github.com/Doubiiu/DynamiCrafter/issues/61#issuecomment-2044423282,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMF56BMKRWVJB5HNLBQJZ3DY4OQLBAVCNFSM6AAAAABF6BMQO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBUGQZDGMRYGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

--

The VOC dev does not find any batch functionality under scripts. If you
could try to do a batching upgrade to the Gradio interface that would be
ever so great.
With many thanks
Mischa
Am Di., 9. Apr. 2024 um 12:18 Uhr schrieb Mischa Schaub <
@.***>:

Great to hear, thanks for your quick answer. I am using the app with the
Gradio Interface as a part of VOC Visions of Chaos. It would be very
helpful, if this batching could be integrated in the Gradio interface, but
unfortunately I am a bit out of the water in this matter.
Kind regards
Mischa
Am Di., 9. Apr. 2024 um 10:22 Uhr schrieb DoubleXING <
@.***>:

Hi. I think this functionality is already there? (in scripts/).
—
Reply to this email directly, view it on GitHub
https://github.com/Doubiiu/DynamiCrafter/issues/61#issuecomment-2044423282,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMF56BMKRWVJB5HNLBQJZ3DY4OQLBAVCNFSM6AAAAABF6BMQO2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBUGQZDGMRYGI
.
You are receiving this because you authored the thread.Message ID:
@.***>

--

--


Dangling "pick-right-solution" references - French

This is a Bug Report
Problem:
The link from "Cluster Administration Overview" to " Picking the Right Solution" is a 404.
docs/setup/pick-right-solution/ does not exist, as it was removed as a redundant page.
Proposed Solution:
Update the stale links to point to Setup page
The references on this page point both too the root of the pick-right-solution page, but also to various IDs that no longer exist, there may be better pages to point those links to.
Page to Update:
https://kubernetes.io/fr/docs/setup/
https://kubernetes.io/fr/docs/concepts/cluster-administration/

/good-first-issue

/language fr


The feature is still not available in Portal UI

[Enter feedback here]
Documentation points to Portal UI option. , but in fact it is not there still
Support claims "due to the recent challenges the new release date is 12/31"

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 9a8d7942-08c0-0bc0-c034-bef144328a7c
Version Independent ID: 53625933-65b7-77d4-d7c5-3c9359eb99dd
Content: Rotate TDE protector (PowerShell & the Azure CLI) - Azure SQL Database & Azure Synapse Analytics
Content Source: azure-sql/database/transparent-data-encryption-byok-key-rotation.md
Service: sql-database
Sub-service: security
GitHub Login: @shohamMSFT
Microsoft Alias: shohamd

@lopeg Thank you for the feedback. This is being assigned to the content author to evaluate and update as appropriate.

@lopeg - The ability to configure auto-rotation through the Portal will be available by the second week of September.
We have also mentioned in our blog announcement for this feature (link - https://techcommunity.microsoft.com/t5/azure-sql-blog/automated-key-rotation-for-tde-byok-now-available-in-preview-for/ba-p/3607932) that the Portal option will be available in the coming weeks. Thanks!

#please-close


Add CMake support for the library

This pull request add support for CMake users. Here's what CMake support will bring for users:

An install target that installs the library to the default prefix or any other specified path
Makes the library findable with CMake, so users will only do have to do find_package(simple-beast-client 0.1 REQUIRED)
Makes linking to the library much easier. Only target_link_libraries(mytarget PUBLIC simple-beast-client::simple-beast-client) and all needed libraries will be link and all required include directories are also added
The library is also usable from its build tree, so setting simple-beast-library_ROOT to the build directory will make find package work.
Added a vcpkg.json file so dependencies can be installed automatically when configuring

Here's some changes that may affect previous users that I prefer letting you know so we can discuss about it:

Macros such as ENABLE_HTTPS has been renamed to SIMPLE_BEAST_CLIENT_ENABLE_HTTPS. This will reduce potential collision with other libraries and projects, as macros are not namespaced.
I moved the header inside from inside the include/ directory into a subdirectory named include/simple-beast-client/. This change is intended to componentize the headers, and will reduce chances of collision when installing the library.
I removed linking with OpenCV_LIBS CoreFoundation and IOKit in the example. I haven't seen where these variables are set. I can put them back if necessary.
I kept the git submodule for cppcodec, even though it can be installed via vcpkg

Unrelated recommendations:

Adding a git tag corresponding to the version I put in CMake would make an official version, which makes this library usesable in a package manager
Moving stuff from the example into unit tests would make this library more robust against future mistakes or changes from boost itself.

No longer pursued


added a modified map to gazebo function

accepts map directory, model output directory, and world output directory.
uses map info occupied threshold for threshold level

thanks @ZealousGinger


python3Packages.elastic-apm: 6.7.2 -> 6.8.0

Motivation for this change
https://github.com/elastic/apm-agent-python/releases/tag/v6.8.0
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 162409 run on x86_64-linux 1

2 packages built:

python310Packages.elastic-apm
python39Packages.elastic-apm


ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/local/lib/python3.7/site-packages/markupsafe/init.py)

I have the following:
Docker version 20.10.17
docker-compose version v2.6.1, build 5becea4c
Airflow 2.4.2
my docker-compose.yml file like below
version: '3'
services:
postgres:
image: postgres:9.6
environment:
- POSTGRES_USER=airflow
- POSTGRES_PASSWORD=airflow
- POSTGRES_DB=airflow
ports:
- "5432:5432"
webserver:
image: puckel/docker-airflow:1.10.9
build:
context: https://github.com/puckel/docker-airflow.git#1.10.9
dockerfile: Dockerfile
args:
AIRFLOW_DEPS: gcp_api,s3
PYTHON_DEPS: sqlalchemy==1.3.0
restart: always
depends_on:
- postgres
environment:
- LOAD_EX=n
- EXECUTOR=Local
- FERNET_KEY=jsDPRErfv8Z_eVTnGfF8ywd19j4pyqE3NpdUBA_oRTo=
volumes:
- ./examples/intro-example/dags:/usr/local/airflow/dags
# Uncomment to include custom plugins
# - ./plugins:/usr/local/airflow/plugins
ports:
- "8080:8080"
command: webserver
healthcheck:
test: ["CMD-SHELL", "[ -f /usr/local/airflow/airflow-webserver.pid ]"]
interval: 30s
timeout: 30s
retries: 3

link you can follow this answer that is basically adding MarkupSafe==2.0.1 in your PYTHON_DEPS: in the docker.yaml file

link you can follow this answer that is basically adding MarkupSafe==2.0.1 in your PYTHON_DEPS: in the docker.yaml file and also an update you will require the library wtforms==2.3.3


Miscellaneous refactors

These are some self-contained commits I've had sitting around on my hard drive; they're required indirectly for service mesh.

I will be polishing and merging the changes locally (mostly adding details in commit logs).

Done


Domain

I can provide servers. But I need domain and Ar-cloud account If you can provide these let me know.

I've already registered another domain
I can share the main domain or a subdomain. Which one do you prefer?