Pull UseNetDaemonAppSettings extension method's ConfigureSerices into its own extension method

The problem
Currently the HostBuilderExtensions.UseNetDaemonAppSettings function both configures the ServiceCollection and adds the Configuration sources that netdaemon uses by default. I would like to use the default/ my own configuration providers and not use the "HostbuilderExtensions.UseNetDaemonAppSettings" function. However because it both configure's the service collection and adds the providers I need to manually add the 2 lines in the ConfigureServices (https://github.com/net-daemon/netdaemon/blob/main/src/Runtime/NetDaemon.Runtime/Common/Extensions/HostBuilderExtensions.cs#L15-L16).
The proposed solution
Add an extension method on IServiceCollection that adds those 2 dependancies. This new method can be called from the existing HostbuilderExtensions.UseNetDaemonAppSettings to maintain backwards compatibility while allowing a single spot to add dependancies needed for the app. Therefore if someone chooses to manually set up the config providers they do not need to keep up on adding dependancies when changes are made in the future.
The alternatives
When someone wants to manually set up the config providers they have to manually add these 2 (and keep up with any changes in the UseNetDaemonAppSettings function).
Additional context
I would be happy to make the changes and PR if we like the idea.

Sounds like a great idea. Look forward to PR.

I have the changes working locally and the existing unit tests run. Do we want to add a unit test that checks that the new extension method adds the 2 dependencies to a ServiceCollection? Or is that more granular than we would want?

Sorry I missed this one. Been really busy lately. Will check it out.

I take that back.. From my phone this looked like a PR lool.

I have the changes working locally and the existing unit tests run. Do we want to add a unit test that checks that the new extension method adds the 2 dependencies to a ServiceCollection? Or is that more granular than we would want?

My feeling is no. That's pretty fundamental behaviour and it will be pretty obvious if this is missed.
Ideally we would also have some documentation for this (possibly referenced here: https://netdaemon.xyz/docs/v3/app_model/app_model_instancing) that should detail the additional steps required.
If you were to make the PR then we'd recommend also updating the docs project over at https://github.com/net-daemon/docs


Sixze ALS vs AlexG ALS

I made a quick diff and noticed that Sixze version seems a little more polished, but AlexG version is mantained as well. Is there any special difference between the two? Thanks

No, they are the same, my is just a copy of Sixze's repo


[Candidate 1v1 Salt Lake River ZH v2] Units can move through bridge pillars

Observed behavior
Units can move through bridge pillars.
Expected behavior
Units can not move through bridge pillars.
Screenshots

Probably can be changed by deploying tiny impassable terrain under pillars, however, that needs to be carefully tested if it still plays good.

if fucks up pathways so as designed

As designed.


Icon theme JSON parsing changed in 1.96.0

Since the update my existing product and file icon themes are not working anymore. Something obviously changed in the way the JSON file is getting parsed, as now I am getting these messages in the "Window" output:
2024-12-12 13:12:15.806 [error] Problems processing product icons definitions in file:///c%3A/Users/xxx/.vscode/extensions/mightbesimon.emoji-icons-1.6.1/product-icons/emoji-product-icon-theme.json:
Skipping icon definition 'files'. Unknown fontCharacter. Must use a sing; character or a \ followed by a Unicode code points in hexadecimal.
Skipping icon definition 'search'. Unknown fontCharacter. Must use a sing; character or a \ followed by a Unicode code points in hexadecimal.
Skipping icon definition 'debug-alt'. Unknown fontCharacter. Must use a sing; character or a \ followed by a Unicode code points in hexadecimal.
Skipping icon definition 'extensions'. Unknown fontCharacter. Must use a sing; character or a \ followed by a Unicode code points in hexadecimal.
...

As I could not find any hint to a change in this direction I decided to create this issue here. In the respective theme.json the property fontCharacter is directly associated with an emoji character (e.g. ..."search":{"fontCharacter":"🔎"},...). But even when trying the hint from the error message above and replacing the emoji with it's respective unicode value in hex like this: \\f09f948e does not work, as the Icon in VS Code shows like this:

Does this issue occur when all extensions are disabled?: Yes (all extensions disabled BUT the chosen theme, which only provides a JSON file)

VS Code Version: 1.96.0 (November update)
OS Version: Windows 23H2 (22631.4460)

Steps to Reproduce:

Update to newest version
Activate any icon theme, that contains emoji symbols.

There might still be an issue here. I checked with the latest insiders version, apparently now it works for all emojis that are utf-8 encoded to 4 bytes. Everything above is still not working:

"Window" output
Skipping icon definition 'debug-alt': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'settings-gear': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'cloud-upload': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'warning': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'heart': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'star': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'gear': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'cloud': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'law': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'mail': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'person': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'person-filled': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'person-follow': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'person-outline': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'symbol-event': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'zap': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'github-action': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'info': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'play': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'compare-changes': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'split-horizontal': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'bold': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'edit': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'pencil': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'notebook-edit': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.
Skipping icon definition 'github': The fontCharacter must be a single letter or a backslash followed by unicode code points in hexadecimal.

I created a small python script to check emoji-containing themes for their bytelengths. Here we have some candidates that are "combined" emojis. Those have bytelengths of often 16 bytes or more. But there also some "standard" emojis that are in the above 6 byte range that are currently not accepted:
debug-alt: 16 Bytes, 🕵♂
settings-gear: 6 Bytes, ⚙
cloud-upload: 6 Bytes, ☁
warning: 6 Bytes, ⚠
heart: 6 Bytes, ❤
star: 6 Bytes, ⭐
gear: 6 Bytes, ⚙
cloud: 6 Bytes, ☁
law: 6 Bytes, ⚖
mail: 6 Bytes, ✉
person: 17 Bytes, 🧍🏻♀
person-filled: 17 Bytes, 🧍🏻♀
person-follow: 17 Bytes, 🧍🏻♀
person-outline: 17 Bytes, 🧍🏻♀
symbol-event: 6 Bytes, ⚡
zap: 6 Bytes, ⚡
github-action: 6 Bytes, ⚡
info: 6 Bytes, ℹ
play: 13 Bytes, 🏃♂
compare-changes: 6 Bytes, ⚖
split-horizontal: 13 Bytes, 🤸♀
bold: 7 Bytes, 🅱
edit: 6 Bytes, ✏
pencil: 6 Bytes, ✏
notebook-edit: 6 Bytes, ✏
github: 11 Bytes, 🧑💻

Bytelength checker script for reference
import json
import sys
from pathlib import Path

if len(sys.argv) != 2:
    print('Usage: check_theme.py <PathToThemeJSON>')
    sys.exit(1)

theme_path = Path(sys.argv[1])
theme: dict = json.loads(theme_path.read_bytes().decode('utf-8'))

for iconcode, chardef in theme['iconDefinitions'].items():
    char = chardef['fontCharacter']
    bytelen = len(char.encode())
    if bytelen > 4:
        print(f'{iconcode}: {bytelen} Bytes, {char}')

@Joinyy what you are doing is not really the way that icon fonts are supposed to work.

You should define a path to a font
The fontCharacter is an index into that font.


bug in treatment of scale for fused_chunk_linear_attn

Thanks for the amazing library!
I discovered an error in https://github.com/sustcsonglin/flash-linear-attention/blob/main/fla/ops/linear_attn/chunk_fuse.py
It works great with scale=1.0, but with scale=-1 (therefore q.shape[-1] ** -0.5) it gives significantly incorrect results, mismatching the results from chunk_linear_attn. The chunk_linear_attn function seems to work fine with other scales such as -1.
Unfortunately I'm not sure where in the triton code the application of scale is done incorrectly.

@SmerkyG Hi, just fix the grad. Thanks for reporting this bug


Windows 10 Git Issue

Hi all, I just installed Brackets for the first time on Windows 10. I'm also using the bash shell from github. When installing I checked off adding a path command so I can use bash commands to open a project with brackets. It worked the first time, but now all of a sudden it's throwing me this error:
$ brackets .
[0704/160204:ERROR:main_delegate.cc(766)] Could not load cef_extensions.pak
[0704/160204:ERROR:browser_gpu_channel_host_factory.cc(133)] Failed to launch GPU process.
[0704/160204:ERROR:browser_gpu_channel_host_factory.cc(133)] Failed to launch GPU process.
The process never completes and while brackets does open the current project, my bash terminal is stuck in a loop until I CTRL+C out of it, which subsequently closes brackets and I lose all changes that I made to my files.
I will note that when I first used the command to open brackets in the current directory, I had no extensions installed. Once I installed an autosave extension I realized that the issue had come up, and I can't seem to find the issue online. I tried uninstalling the extension and also reinstalling brackets but nothing has worked. Please help!

new version dont install in win 10. I install verison Release 1.10 - 07-07-2017 but when loadding to open bracket, dont open and send error msg box. I unistall new version and install old version. old version work good without problem

Hey i have this issue too, how did you fix it?

This is the error log whenever i try to open brackets editor from git bash. And also whenever i try to commit from editor through git bash, it doesn't work properly. If the first problem would be solved, then i believe that second one would automatically catch up. Though discontinuation of brackets and not to use brackets is encouraged by adobe, it has been my all time favourite editor.
[0623/094719:ERROR:main_delegate.cc(766)] Could not load cef_extensions.pak
[0623/094719:ERROR:browser_gpu_channel_host_factory.cc(133)] Failed to launch GPU process.
[0623/094719:ERROR:browser_gpu_channel_host_factory.cc(133)] Failed to launch GPU process.
[0623/094720:ERROR:backend_impl.cc(2020)] Corrupt Index file
[0623/094720:ERROR:cache_util_win.cc(20)] Unable to move the cache: 5
[0623/094720:ERROR:cache_util.cc(134)] Unable to move cache folder C:/Users/Dell/AppData/Roaming/Brackets/cef_data to C:/Users/Dell/AppData/Roaming/Brackets\old_cef_data_000
[0623/094720:ERROR:cache_creator.cc(129)] Unable to create cache


rename globalState to wizardContext

GlobalState can be a confusing term, WizardContext describes better the domain

@amirfefer can we have a rebase here?

Changes in DescriptionListAWS are missing

@adiabramovitch is everything addressed? :)

I am getting:

Is it just me? @ezr-ondrej , @amirfefer

oops, can you please try  again @adiabramovitch  :)


Adding Gravity bridge token (draft)

-assume the token symbol (GRAV) to be used for 'coinDenom', even though coin denom is 'graviton'.
-pending addition of grav to assetlists

@JeremyParish69 is this good to go?  Or is it still a draft?

@JeremyParish69 is this good to go? Or is it still a draft?

Good to go. Was just waiting for Assetlists PR 99 to be merged first.


IOError: [Errno 2] No such file or directory:  .../Labels/VSD.Brain.XX.O.MR_T2.36513L.png'

In the script patch_library.py I am trying to create the patches, but get the Error above.
This are the lines I am stuck with:
im_path = random.choice(self.train_data) fn = os.path.basename(im_path) label = io.imread('Labels/' + fn[:-4] + 'L.png')
I created the labels beforehand with the brain_pipeline, but they do not fit the expectations above.
def save_labels(fns):     '''     INPUT list 'fns': filepaths to all labels     '''     progress.currval = 0     for label_idx in progress(xrange(len(labels))):         slices = io.imread(labels[label_idx], plugin = 'simpleitk')         for slice_idx in xrange(len(slices)):             io.imsave('/data_l74/dlocke/Downloads/brain_segmentation-master/code/Labels/{}_{}L.png'.format(label_idx, slice_idx), slices[slice_idx])

Oh I forgot to run the save patients function in the brain_pipeline. I am sorry....


create CONTRIBUTING.md

it's a good thing to have

That looks like a good starting point document for contributions. I will go ahead and merge although we may edit it further in the future with more AI2ES specific tasks.

That looks like a good starting point document for contributions. I will go ahead and merge although we may edit it further in the future with more AI2ES specific tasks.

Totally, it's definitely meant as just a starting point. Much easier to edit than to create from a blank slate.


Importing channels from a web server

I've written a tool which generates my channel json file, at the moment it's possible to dump a copy into my google drive and then sync it that way, but it'd be great if I could specify a url for Cumulus to use to cut google drive out of the equation.
This would allow me to ensure the list of channels is up-to-date when Cumulus syncs

Yes, we need some way to upload the json file without using gdrive, my brother's nexus player cant select json file saved in drive, dont know whats really happening.

So do you want an option to point to any URL instead of a Drive file, or
have some mechanism where Drive continues to work, but it also calls
another URL to gain additional channels?
On Jul 22, 2016 4:43 PM, "josuearisty"<EMAIL_ADDRESS>wrote:

Yes, we need some way to upload the json file without using gdrive, my
brother's nexus player cant select json file saved in drive, dont know
whats really happening.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Fleker/CumulusTV/issues/133#issuecomment-234682698,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADI583n4Xwe-4w0JaFor65gkkym3rkYaks5qYVWsgaJpZM4JTJng
.

It would be great but I really wish to have some way to load the json file locally. And a way to save it loacally, for example we can add channels to cumulus app, then save it to some folder inside storage.
What do you think?
Thanks

I have tried to stay away from that. If enough users want that, then sure,
but I don't think it's a great user experience to do file management on
your TV.
On Fri, Jul 22, 2016, 8:37 PM josuearisty<EMAIL_ADDRESS>wrote:

It would be great but I really wish to have some way to load the json file
locally. And a way to save it loacally, for example we can add channels to
cumulus app, then save it to some folder inside storage.
What do you think?
Thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Fleker/CumulusTV/issues/133#issuecomment-234696743,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADI58wCgwyLZ2yDI1uKOcahSbrrIuK7dks5qYYxkgaJpZM4JTJng
.

Well, I understand what you mean, you could make it optional in settings or something like that, so that not everybody knows about it.

 But I want to
start focusing on stability too and start testing critical parts of the
app. I don't want to create a large test suite of unused features.
On Fri, Jul 22, 2016, 9:06 PM josuearisty<EMAIL_ADDRESS>wrote:

Well, I understand what you mean, you could make it optional in settings
or something like that, so that not everybody knows about it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Fleker/CumulusTV/issues/133#issuecomment-234697829,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADI583CdvlO3X3_XgQ1U73VWUPTxb-B-ks5qYZNbgaJpZM4JTJng
.

Yeah, I wouldn't mind either situation really. If it's easier to have an either/or with regards to google drive or hitting an endpoint, that'd be fine!

So this is actually one area that the plugin model could work. The flow would be like this:

User wants to add a channel

They select from "Add a Channel" or "From Url"

The From Url lets users specify a Url
The plugin downloads data from that URL, parses if necessary, and caches channels

If Google Drive is enabled, then this is synced. Otherwise, it stays local.

Periodically, when the syncing occurs, the plugin is called again and caches the channels again.

What do you think?
@josuearisty could you create a new issue for loading / saving data to a local system file? That way users can vote there and simplify each issue.

Hi Nick, when you say "add a channel from url", does ot means add the json file or what? Or just add the m3u8?
It would be great to have an option to add a whole json list from a url or locally (if you can).
Or better yet, what about select a m3u file (url or local) and then it will be converted to a json list and loaded inmediately to cumulus?
Thanks

@Fleker That sounds perfect for my use case! Also as a nice-to-have, it'd be great if the syncing interval was settable per-plugin too, As I know my endpoint would only need to be hit once a day.
Is there another issue with details about this plugin system or is it still being fleshed out? You've got me thinking about a few ideas now, haha

Yes I had started adding support for loading any type of data from a URL or locally, so it could be an m3u playlist, JSON file, or XMLTV file that users are able to input.
The plugin model already exists, and an early model is described in the wiki. However, I'm planning on improving it and publishing it on the official webpage.

I would love to point cumulus TV to a URL and have it pull the json every time I start the app.

Refer this to #153 and integrate into next build.


Additional IP addresses are lost on container restart

As noted in #1191, IP addresses that have been allocated to a container after it started, with weave attach, are lost when the container is restarted by Docker.
This applies whether the address is chosen by IPAM or by the user

Currently, via the http interface to IPAM, you can only fetch one address for a container, in a given address range.  If we extended this to fetch all addresses owned by a container then we could have the proxy re-attach all of them on restart.
Would need to extend the information held by Allocator.owned to include the subnet.
This would still leave addresses attached by the user outwith IPAM's control.


Add deployment: allow specifying deployment key

When migrating an existing app to the stand-alone server, it makes sense to re-use existing deployment keys.
The Rest API already allows for explicitly specifying deployment key, so this PR just adds an optional argument to the deployment add command.
Example usage:
code-push-standalone deployment add my-app prod existing-key-abc123

+1

@grav Thank you for your contribution! I’ve tested your changes, and they work as expected. Could you please update the documentation and the command description to reflect the newly added argument?

@DmitriyKirakosyan Thanks for the feedback. I've added example usage to the CLI configuration and the README.

@DmitriyKirakosyan Thanks for the feedback. I've added example usage to the CLI configuration and the README.


Add client stream scenario

https://github.com/tikv/grpc-rs/pull/469 has added client streaming bench in grpc-rs.
Signed-off-by: Xintao<EMAIL_ADDRESS>

@BusyJay PTAL. This is a part of https://github.com/tikv/grpc-rs/pull/469


Certain Chinese characters will not be displayed

For example in line 39,

"back": "返回",

In game, “返”(fan) cannot be displayed while only “回”(hui) can. If I use another two-character word “回退” (hui-tui) as an alternative translation, both “回”(hui) and “退”(tui) can be displayed correctly, which proves that it's not about the limit of character length.
-CW

Both simplified and traditional Chinese translations have been 100% completed. Still, some characters cannot be displayed due to an unknown issue. @wlewisgames let me know if you need my help identifying the problem.
-CW

I added 返 in the last update, so that should work now. Do you know how many other characters are missing?

@wlewisgames There are too many random missing characters, but I might have a solution.
I used an online tool in conjunction with another one, and created a spreadsheet that include all unique Chinese words and characters that occurred in the language file.
Please download the spreadsheet here. Note there are two sheets in the same file, one for all words and the other for all characters.
Hope this helps.
-CW

Updated the spreadsheet for unique Chinese words and characters.

CW

Thanks for the help! These characters should all be working now in v1.3.1c, but let me know if there's any that still don't work

All simplified Chinese characters are now correctly displayed. There is still some issue with traditional Chinese characters (e.g. 灑 臺). These characters were included in my spreadsheet so it's quite odd.
-CW


added cache prepare step for packager in ios e2e test

@facebook-github-bot shipit

doing a quick shipit, no reason to wait for CI


MINOR: Fix transient test failure in SslTransportLayerTest

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@hachikuji Thanks for the review. Will merge after builds complete.

Test failures are unrelated, merging to trunk and 2.0.


Become an official Docker image

The current Docker image of mailcatcher is not listed in the Docker Store/Docker Hub.
It would be great if you could make it an "official image".
See also: https://docs.docker.com/docker-hub/official_repos/

@J0WI: Could you please leave a reference what construes "The current Docker image of mailcatcher" for you when you created this issue (or just edit it in)? That would be very kind of you.
Also if you could elaborate into which issue you were running and how your suggestion would contribute to your benefit would be great to read.

The current image means this.
It has just been published a few days ago, but it's not yet listed as "official image" on Dockerhub and Docker Store.

I'm not sure if MailCatcher is considered important enough to be an office Docker image! Maybe?
It is built from the official Docker Ruby image, it builds on the official Docker infrastructure with full build logs, and is set to re-build when the upstream Ruby image changes to stay up to date with security updates, etc., so we're most of the way there. Does it just need to be submitted?

Does it just need to be submitted?

I think so, yes.
A strong reason to submit it is, that there are many commuinity based images that are not maintained and don't follow the best practice. It's hard to find yours.

Just my two cents: Mailcatcher is important :) and +1 for any initiative to make it easier to find.

@tianon or @yosifkit may be able to answer some of the question :-)

A strong reason to submit it is, that there are many commuinity based images that are not maintained and don't follow the best practice. It's hard to find yours.

While were at it. I think it would also be better to use alpine. See https://hub.docker.com/r/schickling/mailcatcher/~/dockerfile/

That's https://github.com/sj26/mailcatcher/pull/344.

Yes please - an official image would be great!

The docker image has been updated to use alpine, and now clocks in at ~25MB total, only 5.85MB (compressed) of that is a unique layer for mailcatcher.
https://hub.docker.com/layers/sj26/mailcatcher/latest/images/sha256-ea9cc63aaceb360b5bc3c5d3a090e0d69905b2b5e3eaf2d4e7b311bed9cfbe0e?context=repo
I've also pushed both linux/arm64 and linux/amd64 images.


hybrid inheritance in cpp

<c/cpp>
I want to submit document in this field.

/assign

please assign it to me


Disable Sentinel logging

What is the best way to disable the log messages that appear when connecting with Redis Sentinel? It seems strange that the library outputs these messages whereas it doesn't for regular redis connections.
redis: 2018/04/12 11:13:35 sentinel.go:234: sentinel: new master="mymaster" addr="[REMOVED]:6379"

You can use redis.SetLogger() to set custom logger.


fabric8io/fabric8-maven-plugin#1621 Fix permissions for server.xml

After analyzing issue fabric8io/fabric8-maven-plugin#1621, the following comment https://github.com/fabric8io/fabric8-maven-plugin/issues/1621#issuecomment-553929018 describes the current scenario when images are deployed to OpenShift clusters where containers are not allowed to be run by specific users.
Following the OKD guidelines to create images, they should be designed not to be run by specific users:

Support Arbitrary User IDs
By default, OKD runs containers using an arbitrarily assigned user ID. This provides additional security against processes escaping the container due to a container engine vulnerability and thereby achieving escalated permissions on the host node.
For an image to support running as an arbitrary user, directories and files that may be written to by processes in the image should be owned by the root group and be read/writable by that group. Files to be executed should also have group execute permissions.
Because the container user is always a member of the root group, the container user can read and write these files. The root group does not have any special permissions (unlike the root user) so there are no security concerns with this arrangement. In addition, the processes running in the container must not listen on privileged ports (ports below 1024), since they are not running as a privileged user.

The image has been modified so that conf directory is readable by any user.

Hi @rhuss ,
Currently only the latest image has been updated on Docker hub.
Please, could we tag a release (e.g. 1.2.1) so I can reference it from https://github.com/fabric8io/fabric8-maven-plugin/blob/49b0f19439fa54d3abf263544b7cae308d0e69b2/parent/pom.xml#L101 ?


Classloader issues with Nashorn

I am using graphviz-java in a plugin (pf4j) which means that the library is loaded by a different classloader. This causes issues for NashornJavascriptEngine (the only engine I want to use) which is then unable to find net.arnx.nashorn.lib.PromiseException (ClassNotFoundException). This class is known to the plugin's classloader but not to the applications's classloader.
I managed to fix it by this:
    static {
        // ugly as hell but creates NashornScriptEngine with the correct classloader
        try {
            Class<?> engine = Class.forName("guru.nidi.graphviz.engine.NashornJavascriptEngine");
            Field field = engine.getDeclaredField("ENGINE");
            field.setAccessible(true);

            Field modifiersField = Field.class.getDeclaredField("modifiers");
            modifiersField.setAccessible(true);
            modifiersField.setInt(field, field.getModifiers() & ~Modifier.FINAL);

            field.set(null, new NashornScriptEngineFactory().getScriptEngine(engine.getClassLoader()));
        } catch (Exception e) {
            throw new RuntimeException("Failed to init the JS engine", e);
        }

        Graphviz.useEngine(new GraphvizJdkEngine());
    }

Maybe there should be possibility to set the classloader, or we could set a more sensible default. It is likely that the PromiseException exists in the same classloader as NashornJavascriptEngine.

Wow, using reflection on reflection classes, cool ;)
I never had problems with classloading here, so I don't really know what to do.
If it helps, I can provide a version where the classloader can be set.
What would be a sensible default? I thought that Thread.currentThread().getContextClassLoader() should be mostly ok.
Would other engines have the same issue? I did not see options to change their classloaders, though.

Btw. how could I reproduce the issue?

Default classloader is now getClass().getClassLoader().
If this is not ok, there is GraphvizLoader.useClassLoader() to customize the class loader.


Require field if other is set (dependentRequired)

I'm trying to mark a struct field as required, but only if another field is set.
It looks like this can be done with the dependentRequired or dependentSchemas keywords in the JSON Schema syntax.
I found these on this Stack Overflow question.
Can this be added to your library, or do you have a better way to do what I am attempting to accomplish?

The best way to solve this at the moment is to use the JSONSchemaExtend(schema *jsonschema.Schema) interface method and update the DependentRequired property. For example:
func (x *YourStruct) JSONSchemaExtend(schema *jsonschema.Schema) {
  schema.DependentRequired = map[string][]string{
    "foo": []string{
       "bar",
       "dom",
    },
  }
}

@samlown I'm trying to use your recommendation but the schema is not being added. I checked the code and it checks that the Struct implements the JSONSchemaExtend function but for some reason it doesn't think it implements it. I'm calling Reflect, do I need to configure the reflector in a specific way?

Found the solution to this and it was more obvious than I thought for me... Do not use a pointer to the struct so:
func (x YourStruct) JSONSchemaExtend(schema *jsonschema.Schema) {
  schema.DependentRequired = map[string][]string{
    "foo": []string{
       "bar",
       "dom",
    },
  }
}


Location imprecision

Hi there,
I'm dropping this here : It's really tough to manage GPS options with nativescript-geolocation, for multiple reasons :
First of all, my composer :
 "@angular/common": "2.1.2",
    "@angular/compiler": "2.1.2",
    "@angular/core": "2.1.2",
    "@angular/forms": "2.1.2",
    "@angular/http": "2.1.2",
    "@angular/platform-browser": "2.1.2",
    "@angular/platform-browser-dynamic": "2.1.2",
    "@angular/router": "3.1.2",
    "nativescript-angular": "1.1.3",
    "nativescript-theme-core": "^0.2.1",
    "reflect-metadata": "~0.1.8",
    "rxjs": "5.0.0-beta.12",
    "tns-core-modules": "2.4.0",
    "nativescript-audio": "^2.0.6",
    "nativescript-background-http": "^2.3.0",
    "nativescript-geolocation": "0.0.13",
    "nativescript-google-maps-sdk": "git+https://github.com/hubupfr/nativescript-google-maps-sdk.git",
    "nativescript-google-maps-utils": "git+https://github.com/hubupfr/nativescript-google-maps-utils.git",
    "nativescript-permissions": "^1.2.0",
    "nativescript-phone": "^1.2.0",
    "nativescript-ripple": "^1.0.1",
    "nativescript-snackbar": "^1.1.4",
    "nativescript-swiss-army-knife": "1.0.7",
    "nativescript-telerik-ui": "^1.4.1",
    "nativescript-pdf-view": "^1.2.0",
    "moment": "^2.15.1"

And I'm running it on android

It's not easy to understand how to manage the geolocation.watchLocation() options, and default options - that seems to work - are not suited for precise tracking (I understand that they were written for a scarce location, and it can not cover all case).
Maybe would it be a nice idea to add several JSON Options in the docs for different use cases ? (very scarce / scarce / fine with battery concerns / very fine...)

Now that's an issue I guess, let's look at this snippet :

public followLocation(toggle:boolean) {
        if(toggle && !this.watchId) {
            // One service of mine that requests location permission
            this._toolsService.requireGPSPermission().then(() => {
                this.watchId = geolocation.watchLocation(
                    (location) => {
                        //My handling
                        this.updateCameraFromPoint(new Point(location.latitude, location.longitude));
                    },
                    function(e){
                        console.log("Error: " + e.message);
                    },
                    { minimumUpdateTime: 500, updateDistance : 2, maximumAge : 5000 })

            });

        } else if (!toggle && this.watchId) {
            geolocation.clearWatch(this.watchId);
        }
    }

Looks like promissing. Well no. The fine location of the phone is not even triggered and position update appears every ... lots of seconds.
Now, let's do a little workaround.
public followLocation(toggle:boolean) {
       if(toggle && !this.watchId) {
           this._toolsService.requireGPSPermission().then(() => {
               this.mapView.gMap.setMyLocationEnabled(true);
               this.mapView.gMap.getUiSettings().setMyLocationButtonEnabled(false);
               console.log("start watchid");
               this.watchId = geolocation.watchLocation(
                   (location) => {
                       this.updateCameraFromPoint(new Point(location.latitude, location.longitude));
                   },
                   function(e){
                       console.log("Error: " + e.message);
                   },
                   { minimumUpdateTime: 500, updateDistance : 2, maximumAge : 5000 })

           });

       } else if (!toggle && this.watchId) {
           this.mapView.gMap.setMyLocationEnabled(false);
           geolocation.clearWatch(this.watchId);
           console.log("stopping watchid");
       }
   }

Looks like nothing changed and I only have launched a location tracking from the very good google maps SDK. Surprisingly, now it works perfectly.
My guess is that the options are not working well, and calling this.mapView.gMap.setMyLocationEnabled(true); triggers a new set of options for the Location module.
So am I clearly missunderstanding the nativescript-location, or is there some kind of bugs in there ?

I've tested this scenario with nativescript-geolocation-demo and everything works fine. I've just changed following code:
export function buttonStartTap(agrs: EventData) {
    watchId = geolocation.watchLocation(
        function (loc) {
            if (loc) {
                model.locations.push(loc);
            }
        },
        function (e) {
            console.log("Error: " + e.message);
        },
        { desiredAccuracy: Accuracy.high, updateDistance: 1, minimumUpdateTime: 500 });
}

After that I've got similar to following result:
[
{
    "latitude": 42.6956606,
    "longitude": 23.3280908,
    "altitude":<PHONE_NUMBER>594966,
    "horizontalAccuracy": 8,
    "verticalAccuracy": 8,
    "speed": 4.200727939605713,
    "direction": 117,
    "timestamp": "2016-12-07T12:03:38.001Z",
    "android": {}
}, {
    "latitude": 42.695638,
    "longitude": 23.3281415,
    "altitude":<PHONE_NUMBER>873325,
    "horizontalAccuracy": 24,
    "verticalAccuracy": 24,
    "speed": 4.230191707611084,
    "direction": 118,
    "timestamp": "2016-12-07T12:03:39.001Z",
    "android": {}
}, {
    "latitude": 42.6956116,
    "longitude": 23.3281892,
    "altitude":<PHONE_NUMBER>215418,
    "horizontalAccuracy": 16,
    "verticalAccuracy": 16,
    "speed": 4.2224040031433105,
    "direction": 124,
    "timestamp": "2016-12-07T12:03:40.001Z",
    "android": {}
}, {
    "latitude": 42.6955881,
    "longitude": 23.3282386,
    "altitude":<PHONE_NUMBER>095312,
    "horizontalAccuracy": 16,
    "verticalAccuracy": 16,
    "speed": 4.209714889526367,
    "direction": 121,
    "timestamp": "2016-12-07T12:03:41.001Z",
    "android": {}
}
]

I believe that it is perfectly fine.
Could you please elaborate a little bit what you are trying to achieve?

I'm checking this out tonight,
Thanks for your answer :+1:

Okay, I've tested it and it seems to be working. So this is actually not a nativescript issue, but the doc seems to be incorrect regarding this point. Regarding to options, documentations refers accuracy to :
(Optional) Specifies desired accuracy in meters. Defaults to DesiredAccuracy.HIGH.

Adding the option desiredAccuracy = Accuracy.high may appear (and appeared to me) as useless since this is supposed to be the default option. But still, it seems that it is not the default option.
Thanks again for this hint that is very helpful to me, maybe documentation should be updated according to this ? Is a fix needed to set accuracty to high by default ?

Indeed there is an error in documentation default option for desiredAccuracy is any (COARSE) in terms of meters (300 - could be achieved only by wi-fi and aGPS), while high is 3 meters. The decision behind the default value is that high accuracy requires GPS sensor (which is known as a huge battery drainer).
Documentation will be updated ASAP.

Perfect, that would be great. For sure GPS is a battery drainer, but our use is a GPS-like feature, which requires a good precision ;), and we're not the only ones for sure !

Docs updated!


scrape refactoring

This change is some fairly straightforward refactoring--same ins and outs, no data schema change--on the prometheus scrape configs.  It is probably easiest to review the new prom template standalone rather than the diffs.  We now have a separate config for node-exporter, another for kube-state-metrics, and a third for Kubernetes Services with scrape annotations.  This includes whitespace changes in the other sections, and a smoke test for scraping pods under a service with namespace, workload, and right cardinality.

separate kube-state-metrics, node-exporter
scrape services with same relabeling as pods

fixes lightbend/es-backend#304
fixes lightbend/es-backend#280

per slack discussion, deleted the unsupported blackbox exporter and pushgateway

ya cleaned up a lot of copy/paste comments from prometheus defaults.  This isn't the file one should use to learn about prometheus, we want this focused on the things we support


Release 0.2

@kwirkykat Ready to release this branch in to master and ship v0.2 - thanks!

Hi @BrianFarnhill, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Brian Farnhill). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


Add GitHub company profile

This branch adds a company profile for GitHub and fills out the empty columns in the GitHub row of the README!
:heart::yellow_heart::green_heart::blue_heart::purple_heart:

Thank you!! Here is cake for u: :fish_cake:


Remote LAPI with helm chart values

Could the Feature be added to disable the local LAPI, also disable the busybox container and config the agent to remote LAPI.

/kind enhancement

/area : agent, local-api

if any info is needed, can provide or help.


Publish HTML notebook to GH Pages

[ ] Create branch gh-pages
[ ] Update CI workflow to render notebooks and publish them to GH Pages

The error below arise because the user rstudio in the container does not have write permission to the mounted GH workspace.
Error in file(con, "w") : cannot open the connection
Calls: <Anonymous> -> <Anonymous> -> write_utf8 -> writeLines -> file
In addition: Warning message:
In file(con, "w") : cannot open file 'synapse.knit.md': Permission denied

I tried setting USERID=$(id -u) and GROUPID=$(id -g) but there seems to be a conflict in the RStudio code that remove the rstudio user with uid 1000 and try to recreate it with uid 1001 (see below id of the GH runner).
uid=1001(runner) gid=121(docker) groups=121(docker),4(adm),101(systemd-journal)

Tried setting ROOT=TRUE instead but failed with the same error. Trying to prefix the render command with sudo:


[BigQuery] Raw token authentication method

Describe the feature
The existing auth methods for BigQuery provide a great experience for interactive users, allowing them to transparently provision access tokens in a variety of ways.  However, as an automation implementer on a team trying to programmatically wield dbt on behalf of customers, I'd like to be able to bypass these niceties and just inject an externally provisioned token for access.
In our typical non-dbt scenarios, we create service accounts for customers, have them grant specific limited permissions to those accounts for our service's operations, then use our master account to issue scoped tokens for those accounts/operations when they need to execute.  When running dbt operations, I'd like to avoid writing our master account credentials file to disk (as required by the service-account/service-account-json methods) to protect against reflected file attacks and/or potential vulnerabilities in dbt itself, which could potentially exfiltrate these creds.  While I don't see these as particularly likely scenarios, I'd love to have the ability to directly control the blast radius via smaller scoped credentials.
I propose a new BigQuery auth method named 'service-token' and an additional field named service_token to provide its value, e.g.:
my-bigquery-db:
  target: dev
  outputs:
    dev:
      type: bigquery

      # something like this?
      method: service-token
      service_token: 'ya29.c.KqwC3gfRlXO...'

      project: [GCP project id]
      dataset: [the name of your dbt dataset]
      threads: [1 or more]
      timeout_seconds: 300
      priority: interactive
      retries: 1

Describe alternatives you've considered
With the addition of the impersonate_service_account field added in 0.18.0, I can connect as delegated services, but still need to provide the full master service keyfile rather than a more limited credential.
Additional context
This is specific to BigQuery database connections and automation use-cases.  I think it's fair to say that standard interactive users would almost never want to use this authentication mode directly.
Who will this benefit?

Security-minded SaaS automators who are targeting multi-warehouse and connecting to BQ on behalf of customers
IT/Dataeng staff using automation to provision limited credentials as part of employee access control

Are you interested in contributing this feature?
Yes, happy to contribute to making this a reality.  I have a simple (if slightly hacky) proof-of-concept that I can polish into a real PR if this seems interesting.

@davehughes I'm broadly supportive of the need you're describing. To clarify what you mean by service token: it sounds like this is a temporary access token generated via oauth, as in generateAccessToken, and that you handle generating and refreshing tokens through a separate automated process. Is that right?
The reason I ask is because we're planning to work later this year on supporting BigQuery oauth as a connection mechanism (https://github.com/fishtown-analytics/dbt/issues/2344), with the goal of hooking into GSuite SSO in dbt Cloud. I could be wrong, but it sounds like there's potential overlap between the core work we'd need there and an even more robust version of the auth mechanism you're interested in.

Yes, we use generateAccessToken to generate the tokens that we'd want to pass in here, and your general understanding is correct.
In #2344, dbt still has creds to connect to the remote service and generate/fetch tokens, each of which is used for service auth until the token expires (at which point it can be refreshed with another call to the token_uri).  Here, the token is completely opaque - not refreshable, may not have the right scopes, may already be expired, etc. - and it's the job of the external automated process to make sure scopes and expiry are properly set up.  dbt would just use the token directly for service auth or die trying.

or die trying

😇
@davehughes I checked out the docs that you linked to, and it sure seems like this one is doable. I see:

The desired lifetime duration of the access token in seconds.
By default, the maximum allowed value is 1 hour. To set a lifetime of up to 12 hours, you can add the service account as an allowed value in an Organization Policy that enforces the constraints/iam.allowServiceAccountCredentialLifetimeExtension constraint. See detailed instructions at https://cloud.google.com/iam/help/credentials/lifetime

The thing to watch out here would be the failure mode where a dbt run takes longer than the lifetime of the token. Sometimes access tokens have very short TTLs, but 1-12 hours seems super appropriate to me.

I have a simple (if slightly hacky) proof-of-concept that I can polish into a real PR if this seems interesting.

Can you just share a tiny bit about how you're creating a Credentials object in your proof-of-concept code? Are you creating a google.oauth2.credentials.Credentials object directly, and if so, are you just specifying a token to that constructor?
If so, then I think this change will indeed pair really well with #2344  (though there are two distinct code changes!). If that sounds about right to you, then we'd be really happy to accept a PR for this one :)

Hmm...I hadn't seen the doc on the max access token lifetime, which might throw a bit of a wrench in here, though setting up the lifetime extension and choosing an appropriately long lifetime won't be a problem.  We don't usually see dbt run invocations that take longer than an hour, but I can definitely imagine they exist (and even 12 hours+).
As for creating a Credentials object, I resorted to just creating a small class that quacks like it should (this is the hacky bit!):
class RawServiceCredentials(credentials.Credentials)
    def __init__(self, token, expiry=None):
        self.token = token
        # This keeps users of the credential happy that it's not expired and doesn't need a refresh() call
        self.expiry = expiry or datetime.datetime.now() + datetime.timedelta(days=1)

    # This is here to fulfill an interface check I think, and should maybe raise NotImplementedError
    def refresh():
        pass

Yeah - I think that's fair. I do think that dbt runs which take > 1 hour are not-uncommon, but I think you get to add constraints around things like this for security-minded features!
I bet we can swing this implementation using the google.oauth2.credentials.Credentials object. Hopefully you can just pass in a token and everything else will work from there! I'm going to PR a change for #2344 which might serve as a good template for a change like this one if that's helpful at all - happy to link to it here when it's up!

I'd be interested to see that PR! And I'll try to find some time to experiment with google.oauth2.credentials.Credentials and see if it fits the bill.

check out the PR here: https://github.com/fishtown-analytics/dbt/pull/2805

Yep, just pulled that down and confirmed that it works for me with the following settings:
type: bigquery
method: oauth-secrets
token: <my generated token>
# refresh_token/client_id/client_secret/token_uri set to None

Passing a bad or expired token errors with the Unable to generate access token message, which is reasonable for folks using this particular approach.
Thanks @drewbanin @jtcohen6 for the nice solution.  I'll look forward to this landing. :sunglasses:

Awesome, glad to hear it!

Hello, the discussion above is super helpful. I just had another related issue if someone could help with this.
Issue:

profiles.yml:

same config was previously working but after a few months it's causing this issue.
Any help is appreciated.
Thanks.


Dockerfile creation

Pull Request Type
What kind of change does this PR introduce?
[x] Solved an issue/task
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:
What is the current behavior?

Empty dockerfile
Issue Number: #1084
What is the new behavior?
A docker image based on  nodejs version 21 will be pulled from the docker registry.

Other information

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out our forkcommitmerge.io website repository. The repository contain real issues that you can help to resolve or create some of your own if you see any bugs or want to add new features to the site, etc. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!


[release-23.05] mastodon: 4.1.4 -> 4.1.5

Description of changes
I think we should backport patch releases for Mastodon.
Had to cherry-pick a few commits from master for this to apply cleanly.
Backport of https://github.com/NixOS/nixpkgs/pull/244736
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/)
23.11 Release Notes (or backporting 23.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

[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg test mastodon


">>> undefined" appears in CLI output when using this plugin

having installed esformatter and esformatter-jsx globally, when I run the command
esformatter --plugins esformatter-jsx Foo.js

It formats appropriately, except I get output:

undefined
undefined
import React, { PropTypes } from 'react';
import { reduxForm, change } from 'redux-form';
...

I have this no .esformatter file or other configuration. Using Mac OS X , iterm2, bash, node 5.
Any help appreciated, otherwise it works great.

github changed the formatting of ">>>" to indent ! actually what appears is ">>>undefined" on first 2 lines.

The published package contains that line in lib/format-jsx.js:

I couldn't find this in the commit history. It's possible that this line's been added before npm publish (which picks up local changes, not a clean state git checkout). @royriojas is it possible to re-publish this please?

Sure, so sorry not sure how this line got into it. Fixing it now.

@chenglou so sorry, a new version was published v7.3.2

Works now, thanks a lot!

yup, works for me too , thanks!


Add URL handler support for Linux desktops

This works by adding a NoDisplay desktop file that registers for the MIME type x-scheme-handler/vscode to the deb and rpm package.
I added a URL Handler suffix to the name in that desktop file so it's discernible in menu editors from the main desktop file. It will appear like that in the UI in some places though.

See: Desktop Entry Specification - Recognized desktop entry keys, shared-mime-info-spec - URI scheme handlers
Fixes #48528
P.S. I wonder if desktop-file-install is really needed... I think the database is updated automatically when installing a desktop file from a deb.

Oh man, going down the rabbit hole here. While this is a good step, it's not enough:
This is still needed: https://github.com/Microsoft/vscode/blob/master/src/vs/platform/url/electron-main/electronUrlListener.ts#L43
The problem is that electron is taking the default application name: https://github.com/electron/electron/blob/6f91af93433df4e9c0e7fb592e5b2dcb0b1c7888/atom/browser/browser_linux.cc#L55
Which resolves to the CHROME_DESKTOP variable: https://chromium.googlesource.com/chromium/src/+/master/chrome/browser/ui/libgtkui/gtk_util.cc#133
Which is set on the Electron app: https://github.com/electron/electron/blob/f8828aa804508e4987db6fe249c55b1a51add969/atom/browser/api/atom_api_app.cc#L862
Which can be override in the package.json: https://github.com/electron/electron/blob/6f91af93433df4e9c0e7fb592e5b2dcb0b1c7888/lib/browser/init.js#L138
Wow. Electron needs some documentation here, that took too long to figure out. I'll pick this PR up, clean it, get these findings in there and merge it tomorrow.

I think setAsDefaultProtocolClient is using a different way to register a "protocol client"/"scheme handler". You can see that electron/atom/browser/browser_linux.cc:45-60 uses xdg-settings. Meaning that if you get it to work, it should make this PR, which uses a desktop file set to hidden, redundant.
The behavior of setAsDefaultProtocolClient on Linux, and it's interaction with the desktop name thing, seems to be missing from the electron docs.

We still need a valid *.desktop file which is able to open uris, since that's what xdg-settings needs. The default code.desktop file can't really handle opening uris. I'll see whether we make it handle uris or whether we ship this other .desktop file.
Yeah, absolutely, once I'm done I'll file an issue to improve the docs there.

Hmm so xdg-settings requires a desktop file that can handle urls... Just placing the desktop file and running update-desktop-database was actually enough to get the vscode scheme to work. It's possible all xdg-settings does is change the default when there are multiple applications that can handle the same scheme.
It's one main command line that can be associated with MIME types per desktop file, as far as I know. What the desktop name variable in electron should point might also be an issue, since I'm not sure what more it might be used for besides setAsDefaultProtocolClient.

As expected, we still needed a secondary hidden .desktop file, so I just took your changes. All that was left was to set desktopName in package.json: https://github.com/Microsoft/vscode/commit/bb23217d1ef48ff6549b214162b36e8b8306e943#diff-8b4de73d116d9f17bd7c5384ecee6ee2R245
Thanks for this push, great job! :beers:


[1.10.6] Error occurred while installing nokogiri

Hello,
we're having trouble to install 1.10.6 in ruby:2.6.5-slim docker image
I see an issue when new patch is applied. Some paths were changed in 1.10.6
root@0f9e302639b8:/app# cat /usr/local/bundle/gems/nokogiri-1.10.6/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.10/patch.log

patching file HTMLtree.c
Hunk #1 succeeded at 706 (offset -11 lines).
patching file entities.c
patching file entities.c
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile.in.orig   2019-12-04 06:31:23.930568000 +0900
|+++ Makefile.in        2019-12-04 06:31:26.838389000 +0900
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored

What is the complete output of gem install?

Fetching nokogiri 1.10.6
Installing nokogiri 1.10.6 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /usr/local/bundle/gems/nokogiri-1.10.6/ext/nokogiri
/usr/local/bin/ruby -I /usr/local/lib/ruby/2.6.0 -r ./siteconf20191204-1216-1iis1sv.rb extconf.rb
checking if the C compiler accepts ... yes
Building nokogiri using packaged libraries.
Using mini_portile version 2.4.0
checking for gzdopen() in -lz... yes
checking for iconv... yes
************************************************************************
IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxml2-2.9.10
with the following patches applied:
        - 0001-Revert-Do-not-URI-escape-in-server-side-includes.patch
        - 0002-Remove-script-macro-support.patch
        - 0003-Update-entities-to-remove-handling-of-ssi.patch
        - 0004-libxml2.la-is-in-top_builddir.patch

Team Nokogiri will keep on doing their best to provide security
updates in a timely manner, but if this is a concern for you and want
to use the system library instead; abort this installation process and
reinstall nokogiri as follows:

    gem install nokogiri -- --use-system-libraries
        [--with-xml2-config=/path/to/xml2-config]
        [--with-xslt-config=/path/to/xslt-config]

If you are using Bundler, tell it to use the option:

    bundle config build.nokogiri --use-system-libraries
    bundle install

Note, however, that nokogiri is not fully compatible with arbitrary
versions of libxml2 provided by OS/package vendors.
************************************************************************
Extracting libxml2-2.9.10.tar.gz into tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.10... OK
Running patch with /usr/local/bundle/gems/nokogiri-1.10.6/patches/libxml2/0001-Revert-Do-not-URI-escape-in-server-side-includes.patch... OK
Running patch with /usr/local/bundle/gems/nokogiri-1.10.6/patches/libxml2/0002-Remove-script-macro-support.patch... OK
Running patch with /usr/local/bundle/gems/nokogiri-1.10.6/patches/libxml2/0003-Update-entities-to-remove-handling-of-ssi.patch... OK
Running patch with /usr/local/bundle/gems/nokogiri-1.10.6/patches/libxml2/0004-libxml2.la-is-in-top_builddir.patch... ERROR, review
'/usr/local/bundle/gems/nokogiri-1.10.6/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.10/patch.log' to see what happened. Last lines are:
========================================================================
patching file HTMLtree.c
Hunk #1 succeeded at 706 (offset -11 lines).
patching file entities.c
patching file entities.c
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- Makefile.in.orig   2019-12-04 06:31:23.930568000 +0900
|+++ Makefile.in        2019-12-04 06:31:26.838389000 +0900
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
========================================================================
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/usr/local/bin/$(RUBY_BASE_NAME)
        --help
        --clean
        --use-system-libraries
        --enable-static
        --disable-static
        --with-zlib-dir
        --without-zlib-dir
        --with-zlib-include
        --without-zlib-include=${zlib-dir}/include
        --with-zlib-lib
        --without-zlib-lib=${zlib-dir}/lib
        --enable-cross-build
        --disable-cross-build
/usr/local/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:402:in `block in execute': Failed to complete patch task (RuntimeError)
        from /usr/local/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:373:in `chdir'
        from /usr/local/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:373:in `execute'
        from /usr/local/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:81:in `block in apply_patch'
        from /usr/local/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:86:in `apply_patch'
        from /usr/local/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:92:in `block in patch'
        from /usr/local/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:90:in `each'
        from /usr/local/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:90:in `patch'
        from /usr/local/bundle/gems/mini_portile2-2.4.0/lib/mini_portile2/mini_portile.rb:152:in `cook'
        from extconf.rb:365:in `block (2 levels) in process_recipe'
        from extconf.rb:257:in `block in chdir_for_build'
        from extconf.rb:256:in `chdir'
        from extconf.rb:256:in `chdir_for_build'
        from extconf.rb:364:in `block in process_recipe'
        from extconf.rb:262:in `tap'
        from extconf.rb:262:in `process_recipe'
        from extconf.rb:557:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /usr/local/bundle/extensions/x86_64-linux/2.6.0/nokogiri-1.10.6/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /usr/local/bundle/gems/nokogiri-1.10.6 for inspection.
Results logged to /usr/local/bundle/extensions/x86_64-linux/2.6.0/nokogiri-1.10.6/gem_make.out

An error occurred while installing nokogiri (1.10.6), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.10.6' --source 'https://rubygems.org/'` succeeds before bundling.

In Gemfile:
  rails was resolved to 6.0.1, which depends on
    actioncable was resolved to 6.0.1, which depends on
      actionpack was resolved to 6.0.1, which depends on
        actionview was resolved to 6.0.1, which depends on
          rails-dom-testing was resolved to 2.0.3, which depends on
            nokogiri

What are the complete contents of the mkmf.log file generated during the failed installation?

"gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I.    -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  conftest.c  -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby  -lm   -lc "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

"gcc -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I.    -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC    -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main() {return 0;}
/* end */

have_library: checking for gzdopen() in -lz... -------------------- yes

"gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I.    -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wmissing-noreturn -Winline conftest.c  -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby -lz  -lm   -lc "
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <zlib.h>
 4:
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13:
14:   return 0;
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))gzdopen; return !p; }
/* end */

--------------------

have_iconv?: checking for iconv... -------------------- yes

"gcc -o conftest -I/usr/local/include/ruby-2.6.0/x86_64-linux -I/usr/local/include/ruby-2.6.0/ruby/backward -I/usr/local/include/ruby-2.6.0 -I.    -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable  -fPIC  -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wmissing-noreturn -Winline conftest.c  -L. -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/lib -L/usr/local/lib -lruby  -lm   -lc "
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <stdlib.h>
 4: #include <iconv.h>
 5:
 6: int main(void)
 7: {
 8:     iconv_t cd = iconv_open("", "");
 9:     iconv(cd, NULL, NULL, NULL, NULL);
10:     return EXIT_SUCCESS;
11: }
/* end */

--------------------

What operating system are you using?
Linux, ruby:2.6.5-slim docker image

The same seems to happen on Debian/buster.

OK, thanks for reporting this, will take a look.

OK, I see the problem: on systems that don't have git installed, mini_portile2 will fall back to using patch to apply patches. You're seeing an error in the different in how git and patch handle this patch.
Should have a patched version released in the next few hours. Sorry for the hassle.

thanks @flavorjones for the quick fix  🚀

Once this fix gets through CI (see https://ci.nokogiri.org/teams/nokogiri-core/pipelines/nokogiri-v1.10.x) I'll cut v1.10.7.


az logic workflow list errors out after adding ips to access control list

Describe the bug

After adding IPs to the access control list and running az logic workflow list , I would get the following:
az logic workflow list
Command group 'logic' is experimental and not covered by customer support. Please use with discretion.
The command failed with an unexpected error. Here is the traceback:

Unable to deserialize to object: type, KeyError: 'FlowAccessControlConfiguration'
Traceback (most recent call last):
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\msrest\msrest\serialization.py", line 1360, in _deserialize
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\msrest\msrest\serialization.py", line 1518, in deserialize_data
KeyError: 'FlowAccessControlConfiguration'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\knack\knack\cli.py", line 215, in invoke
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\azure-cli-core\azure\cli\core\commands\__init__.py", line 631, in execute
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\azure-cli-core\azure\cli\core\commands\__init__.py", line 695, in _run_jobs_serially
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\azure-cli-core\azure\cli\core\commands\__init__.py", line 688, in _run_job
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\six\six.py", line 703, in reraise
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\azure-cli-core\azure\cli\core\commands\__init__.py", line 678, in _run_job
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\azure-core\azure\core\paging.py", line 122, in __next__
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\azure-core\azure\core\paging.py", line 77, in __next__
  File "C:\Users\.\.azure\cliextensions\logic\azext_logic\vendored_sdks\logic\operations\_workflow_operations.py", line 96, in extract_data
    deserialized = self._deserialize('WorkflowListResult', pipeline_response)
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\msrest\msrest\serialization.py", line 1294, in __call__
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\msrest\msrest\serialization.py", line 1360, in _deserialize
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\msrest\msrest\serialization.py", line 1516, in deserialize_data
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\msrest\msrest\serialization.py", line 1547, in deserialize_iter
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\msrest\msrest\serialization.py", line 1547, in <listcomp>
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\msrest\msrest\serialization.py", line 1529, in deserialize_data
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\msrest\msrest\serialization.py", line 1364, in _deserialize
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\msrest\msrest\exceptions.py", line 51, in raise_with_traceback
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\msrest\msrest\serialization.py", line 1360, in _deserialize
  File "C:\Users\vs~1\AppData\Local\Temp\pip-install-d4ph977u\msrest\msrest\serialization.py", line 1518, in deserialize_data
msrest.exceptions.DeserializationError: Unable to deserialize to object: type, KeyError: 'FlowAccessControlConfiguration'

To open an issue, please run: 'az feedback'

To Reproduce

add an IP range to the access controls of a logic app workflow and run az logic workflow list
Expected behavior

Expecting to show details of logic workflow resources
Environment summary

azure-cli                          2.5.0 *

command-modules-nspkg              2.0.3
core                               2.5.0 *
nspkg                              3.0.4
telemetry                          1.0.4 *

Extensions:
logic                              0.1.0

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory [removed]

Python (Windows) 3.6.6 (v3.6.6:4cf1f54eb7, Jun 27 2018, 02:47:15) [MSC v.1900 32 bit (Intel)]

Additional context

logic

@yonzhan hello, know of any updates on this by chance?

logic service team will take a look.


[TablePagination] select cannot be hidden

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Steps:

Open the link to CodeSandbox from some example that has "Rows per page" on https://mui.com/material-ui/react-pagination/#table-pagination
add SelectProps={{ hidden: true }} to TablePagination
save and refresh the browser part
the select is not hidden.

Current behavior 😯
Select in TablePagination is not hidden.
↓elements↓

10
<input aria-invalid="false" aria-hidden="true" tabindex="-1" class="MuiSelect-nativeInput css-1k3x8v3" value="10"><svg class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium MuiSelect-icon MuiTablePagination-selectIcon MuiSelect-iconStandard css-ntyfco" focusable="false" aria-hidden="true" viewBox="0 0 24 24" data-testid="ArrowDropDownIcon"><path d="M7 10l5 5 5-5z"></path></svg>

Expected behavior 🤔
Select in TablePagination should be hidden.
Context 🔦
The designer wants fixed RowsPerPage.
So, It need to hide Select.

  System:
    OS: macOS 12.6.4
  Binaries:
    Node: 16.19.0 - ~/.nodebrew/current/bin/node
    Yarn: 1.22.19 - ~/.nodebrew/current/bin/yarn
    npm: 8.19.3 - ~/.nodebrew/current/bin/npm
  Browsers:
    Chrome: Not Found
    Brave: v1.50.114 // add manually
    Edge: Not Found
    Firefox: Not Found
    Safari: 16.4.1
  npmPackages:
    @emotion/react: ^11.10.5 => 11.10.5
    @emotion/styled: ^11.10.5 => 11.10.5
    @mui/base:  5.0.0-alpha.115
    @mui/core-downloads-tracker:  5.12.0
    @mui/icons-material: ^5.11.0 => 5.11.0
    @mui/lab: ^5.0.0-alpha.117 => 5.0.0-alpha.117
    @mui/material: ^5.12.0 => 5.12.0
    @mui/private-theming:  5.11.2
    @mui/styled-engine:  5.11.0
    @mui/styles: ^5.11.2 => 5.11.2
    @mui/system:  5.11.5
    @mui/types:  7.2.3
    @mui/utils:  5.11.2
    @mui/x-data-grid: ^5.17.20 => 5.17.20
    @types/react: 18.0.25 => 18.0.25
    react: 18.2.0 => 18.2.0
    react-dom: 18.2.0 => 18.2.0
    styled-components: ^5.3.6 => 5.3.6
    typescript: ^4.9.3 => 4.9.4

@Suyama-Daichi can you please point me to the documentation where this hidden feature is mentioned? Is this the enhancement you are expecting or bug?

I wanted to hide the <Select> element in the TablePagination component. I apologize for any confusion, but the issue has been resolved by simply using the following documentation.
https://mui.com/material-ui/migration/v5-component-changes/#hidden
<TablePagination
        SelectProps={{ sx: { display: 'none' } }}
// ...others
/>


Font

i can't find Constructor that have fontName and any thing related to font in this what is the problem?

there is a fontName parameter in the constructor


Add script for updating secret keys

Since we changed the setup process and switched to a new Keycloak image, some Keycloak account secrets need to be manually changed. This script can automatically locate the tno directory from its address, so you can execute it from anywhere and the result will be the same. It helps you update secrets in
/api/net/.env,
/tools/css-api/.env,
/services/net/**/.env.

You can find secrets from tno-service-account in keycloak admin.
e.q.
./tools/scripts/kc-key-update.sh xxxxxxx{secret}

Nice! I like this


In normal case channel order is NHWC

The original setting will result in error when input height != width

Hi,
Thanks for your contribution.
This change is not strictly necessary, as the ordering of options defined in .proto files (and their field ID numbers) doesn't impact how they are used or specified in a MediaPipe graph (.pbtxt).
Re-assigning the field ID numbers here will not change the ordering, and it may actually break existing graphs.
Please see here for more info about how .proto files are defined (and the reason for unique ID numbers).
If you find there is something not working with your segmentation mode (when width!=height), and swapping these values in your graph works, then there may be an issue elsewhere in the tensors to segmentation calculator, but it would not be fixed here.
Thanks,


Add pull requests template

As a developer, I want to be able to make, review and merge pull requests without forgetting steps.
Acceptance Criteria:

Scenario:

When creating a pull request on the SPARK repository
Then it should automatically write it to the description field

#17 I have tried to solve the issues by adding the pull request template.

Closes #5


How do I overlay text on top of a  with AR.js and A-Frame?

I am in a webAR project with AR.js and A-Frame and I am trying to overlay text on a plane or box, at first I thought the text was behind the plane but after I give an opacity of 0.5 to plane, I realized that the text is not really coexisting with the plane where the two intersect. What am I doing wrong?
I appreciate any help!

My code:

<script src="js/aframe-0.9.0.min.js"></script>
<script src="js/aframe-ar-1.7.1.min.js"></script>

  <a-scene vr-mode-ui="enabled: false" embedded arjs='debugUIEnabled:false; sourceType:webcam; detectionMode: mono_and_matrix; matrixCodeType: 3x3; cameraParametersUrl: camera_para.dat; maxDetectionRate: 10;' renderer="logarithmicDepthBuffer: true; precision: high;">

	<a-assets>

        <a-mixin id="text"
			text="align: center; width: 3;
            font: https://cdn.aframe.io/fonts/Aileron-Semibold.fnt;
			value: Some text.">
		</a-mixin>

    </a-assets>

    <a-marker type="barcode" value="51" smooth="true" smoothCount="10" smoothTolerance="0.005" smoothThreshold="1">
        <a-plane rotation="-90 0 0" position="0 0 0" material="opacity: 0.7" color="red"></a-plane>
        <a-text mixin="text" position="0 1 0" wrap-count="15" rotation="-90 0 0" color="blue"></a-text>
	</a-marker>

<a-light type="ambient" color="#fff"></a-light>
<a-light type="directional" color="#fff" intensity="0.3" position="-0.5 1 1"></a-light>

<a-entity camera></a-entity>

Hey man, have you tried with a z-index value superior to 1 ?


Fix typo in Management README

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


Use Theme UI Container component

Summary
In order to constrain the width of the resulting page, the customizable Container component of Theme UI should be used. An option could be provided to opt out from using a Container, e.g. for gatsby-theme-specimens.
Motivation
Improve out-of-the-box user experience by adding a reasonable amount of padding for generated pages.

Hi, thanks for the issue!
Not too sure to which theme you're referring to. gatsby-theme-specimens is a collection of React components so there is no need for a layout component. All other themes allow to shadow the component (often "Layout") that is wrapping the content and/or setting the max-width of the content.
Thus I'm closing the issue. Feel free to give more information if needed.

I was referring to gatsby-theme-styleguide, sorry for the ambiguity.


fix: Discourse category create internal server error fix

This PR fixes the high priority issue that is caused by Discourse application bug by upgrading the discourse patch version.

Merged #45 into #43 which does the same thing :)


User simplify code

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Tests pass?
✔

Fixed issues
-

Merged. Thanks!


Anniversary date issue

'On the people screen, dates of anniversaries displayed there are not the same as the date shown on the “People Edit” screen.'

I think what you mean is, why does 1/1/1970 show up when user hasn't even selected any Anniversary date. I've sorted it in the following PR. Now Anniversary date would only be show when user selects  option other than "Single".

Changes are deployed. Let me know if I misunderstood it and it needs correction. @jzongker

Fixed by https://github.com/LiveChurchSolutions/ChumsApp/pull/37


Feature request: Migrate Camunda 7 connectors properly

Is your feature request related to a problem? Please describe.
Currently, a Camunda 7 connector will be mapped to a job type equal to the connector id.
This is not reflected in the adapter.
Describe the solution you'd like
The job type of the C7 connector replacement should be clearly different from all other job types.
Also, the adapter should provide a worker that invokes the connector.
Describe alternatives you've considered
Mapping everything to the "real" connector. This works with http, but not with soap or other connectors (like mail)
Additional context
.

Could be. Let's see how great the interest is.. c7 connectors are not that much in favor


Multi-tenancy

When building an LLM-based AI application, we need the right way to store user/tenant-specific vector data. And it is the common case that there are millions or billions of users while each user's data is not too much - say several document files, i.e., there are lots of spaces and most of them is small-sized.
Vearch needs a more efficient way to support millions of small spaces in one cluster.

i.e., to efficiently support millions of small spaces in vearch.

design consideration
Spaces are separated into two kinds: public vs private. Public spaces are accessed by lots of users and usually partitioned for performance / capacity. A private space is owned and accessed exclusively by a single user so does not needed to be partitioned.
Note it is a bad idea that a private space corresponds to one raft replication state machine - too much overhead (heartbeats, goroutines, et al). And there are two solution candidates, and the latter is preferred:
1, multiple private spaces are assigned to one replication group;
2, separation of storage/computer, no replication at the compute layer, multiple spaces hosted by a server, #749

Goal:

separated data space per tenant
scale to millions of tenants in a cluster of hundreds of servers, with tens of thousands of active tenants per server
inactive tenants should be offloaded to release the RAM resource and will be loaded on demand

Goal:
1. separated data space per tenant

This is a common use case for RocksDB column families. They can be created and removed on demand and they avoid adding global indexing overheads to separate column families.

2. scale to millions of tenants in a cluster of hundreds of servers, with tens of thousands of active tenants per server

3. inactive tenants should be offloaded to release the RAM resource and will be loaded on demand

RocksDB should be able to manage this transparently during regular compaction


Event updates

Hey Team!  This is just an update to the events section of the community.json.

I did this wrong.  Starting over.


The change_password method is broken !

Hello,
change_password/3 and change_password/4 directly edit the unicodePwd field of the user. It's an issue since this field might not be used depending on hte setup. For example, my setup uses the userPassword field and SSHA to hash the password.
Moreover, :eldap already provides a method_password method, why don't we use it ?
I would be glad to submit a patch.

I primarily use this library against Active Directory and unfortunately it doesn't follow RFC 3062.
We could add in modify_password/3 and modify_password/4, we would just have to explain in the docs why there is change_password and modify_password and when to use one or the other.

Having both modify_password and change_password is seriously confusing. The ideal would be to add an ad_ prefix/suffix/parameter [0] to the original method, but will break compatibility with older releases...
[0] I think the AD case should be the "special case" since it doesn't follow the RFC.

Or some kind of server_type/is_active_directory parameter defaulting to the "AD way" to avoid breaking existing code, while keeping a somewhat sane API ?

Yeah I agree that it would be pretty confusing having both modify_password and change_password.
I like the server_type/is_active_directory idea.
server_type: :active_directory | :ldap


Why would restart daemon everything ?

Many times when orders record write in database but order book always not found.
Just one solution: restart daemons
any one else has good idea?

@niclin can you specify a bit more about your hardware and software setup? Maybe a bit more details about the environment / configuration would be helpful..


Fatal error: Uncaught exception

Fatal error: Uncaught exception 'Kunnu\Dropbox\Exceptions\DropboxClientException' with message '{"error_summary": "path/conflict/file/..", "error": {".tag": "path", "path": {".tag": "conflict", "conflict": {".tag": "file"}}}}' in /includes/dropbox_v2/includes/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Http/Clients/DropboxGuzzleHttpClient.php:67 Stack trace: #0 /includes/dropbox_v2/includes/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/DropboxClient.php(161): Kunnu\Dropbox\Http\Clients\DropboxGuzzleHttpClient->sendchttps://content...', 'POST', VDAIx1E1xAIxACIxB4-4-j_...', Array, Array) #1 includes/dropbox_v2/includes/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Dropbox.php(254): Kunnu\Dropbox\DropboxClient->sendRequest(Object(Kunnu\Dropbox\DropboxRequest), NULL) #2 includes/dropbox_v2/includes/vendor/kunalvarma05/dropbox-php-sd in includes/dropbox_v2/includes/vendor/kunalvarma05/dropbox-php-sdk/src/Dropbox/Http/Clients/DropboxGuzzleHttpClient.php on line 67
Randomly I'm getting this error while uploading the file to dropbox. I'm not very clear where to start?

This is due to a conflict in the file name/path. A file with a similar name already exists on the upload path.
If you want to overwrite the old file, pass the mode as overwrite .
$uploadedFile = $dropbox->upload($pathToFile, "/my-file.txt", ['mode' => 'overwrite']);

Dropbox File Upload


some error

Clone this project
$  git clone https://github.com/jobic10/student-management-using-django.git
here u put anther git from e-vote and i did all the instructions after this line and replace it by
( git clone https://github.com/jobic10/e-voting-with-django.git)
"

now code run and server run put

static file is not here how i solve it

Clone this project
$ git clone https://github.com/jobic10/student-management-using-django.git
here u put anther git from e-vote and i did all the instructions after this line and replace it by
( git clone https://github.com/jobic10/e-voting-with-django.git)
"

Hello Zahra, thanks for pointing that out.
I've just updated the ReadMe.

now code run and server run put

static file is not here how i solve it

Hi, try cloning the repository again. The static files are already collected (you don't have to run collectstatic.
Be sure to pip install the requirements, too.
Let's know if you have further question


NoMethodError for #color called on a String object

Hello Mr. O’Meara, I’m a student with “The Flatiron School”, a coding boot camp, and they use the green_onion gem for a html/css lab we have to complete.  I’m running the latest version of green_onion (0.1.4).  When running a spec test, I kept getting the following error:
NoMethodError:
undefined method color' for "http://localhost:8000/index.html":String      # /Users/Efrain/.rvm/gems/ruby-2.2.3/gems/green_onion-0.1.4/lib/green_onion.rb:58:in skin_picker'
# /Users/Efrain/.rvm/gems/ruby-2.2.3/gems/green_onion-0.1.4/lib/green_onion.rb:46:in `skin_visual’
So I went into my local green_onion.rb file and saw that it requires the 'rainbow' gem, which is now up to version 2.x.  The NoMethodError is happening because since rainbow 2.x, to use the mixin methods to call #color directly on a String requires “rainbow/ext/string” and not just “rainbow”.  See http://www.rubydoc.info/gems/rainbow#String_mixin
So in green_onion.rb, I changed line 7 to require “rainbow/ext/string”, and I also noticed that on line 74, a ‘%’ used in a double quoted string wasn’t escaped, so I fixed that too.  I quickly found and cloned the green_onion github repository and tried to commit/push these changes myself, but I quickly realized that have no authorization to do so (I’m new at this, forgive me).  So I just wanted to see if you could update these changes so that people with the latest version of ‘rainbow' can still use this helpful gem.  Thanks for reading.

Hi @jinstrider2000. Thanks for opening an issue. The best way to contribute changes to a repo that you don't own is to:

Create your own fork of the repo using the "Fork" button.
Clone your fork of the repo.
Make and commit your changes.
Open a pull request against the upstream repo.

Let me know if you have questions or need clarification.


Call to undefined method KeycloakGuard\KeycloakGuard::attempt()

I get an error Call to undefined method KeycloakGuard\KeycloakGuard::attempt(). I'm using Laravel 8 and I've followed the steps according to in README.md.
Can anyone help me ? :'(

Please make sure you have followed README instructions.
If problem persists, please open a new issue with more details.


refactor: reject with Error object

Fixes #318

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Cw persistent labels

This PR addresses:

#144, making sure the CD labels in the main map ignore collisions and remain visible
Adds a small borough name above the CD number when zoomed in past level 11.5
#142, adding a subtle gray highlight to CDs on mouseover, which will make it clearer that it can be clicked (and that non-CD areas cannot be clicked)

11d477effa2b9a3e19a76716c480c3983ebc369c refactors the highlight so that it adds a new source to the map for the highlighted geometry instead of filtering the data in the layer.  The highlight is much snappier.

Made another update to make sure it's not replacing the data on every mousemove, checks to see if it is on a different cd first

Also added mouseout event to make sure the hover goes away when the mouse moves off the map

Fantastic, this is so fast now. Thank you.


Inline edit and wrong primary key used

System information:

IBM I series 7.2
DBeaver version 5.2.4

Connection specification:

DB2

Describe your question:
We got some problems with the inline-edit function. We have tables that don't have a primary key. If inline editing is used we use all columns as primary key. But there are problems if the table strucutre is changed outside of DBeaver, because the -Tag in the .dbeaver-data-sources.xml isn't updated. So there are cases that the inline edit updates wrong records, because the old table structure, that is saved in the xml-file, is used. Is there a possiblity to prevent DBeaver saving the virtual meta data in the file, so each time when inline editing is done, DBeaver has to get the current primary key (all columns)?
Thanks for your help!

Agreed, this make sense. I think we can persist option "Use all columns" instead of actual column names.

Isn't there a way to update the table strucutre before doing an inline edit? For example delete the virtual meta data-tag for the table or update the tag?

Sure. Right click on data editor->Logical Structure->Clear virtual unique key.

Will be included in 6.3.1

verified

I have tested it now with the current version 7.0.5 and have seen that the virtual-meta-data-Tag is no longer used. But when changing the table structure (added a new column) outside of DBeaver and afterwards copying a row of the table and changing the new column value via inline edit, the two rows seem to have still the same primary key. Because when changing one of the two rows always bot are changed.
Could you check this please? Thank you!


Sorting Functionality

Are there any plans to add the ability to sort by columns? For example, sort by name, then price, then date?

Hi @Bdoom - no, there are no such plans, it's unfortunately out-of-scope for rapidcsv. It's simply a library for reading/writing CSV files.


Enable AWS::Scheduler

Enable Amazon EventBridge Schedule service with simple validation rule to prevent issues with TagMap.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Scheduler.html

Thank you for this change including the validators and tests. I manually merged it into main.

For completeness this was committed via:

https://github.com/cloudtools/troposphere/commit/fb5e14ecc284ebd1a81735995adb27c73d9c5510
https://github.com/cloudtools/troposphere/commit/83bc3a6658b8ddcd2249e3a54243409e442a2973
and released via:
https://github.com/cloudtools/troposphere/releases/tag/4.3.0

Thanks @markpeek for looking into this. I regenerated my template using the v4.3.0 release via PyPI and everything worked great.


calling set with array index notifies wrong path to observers

http://plnkr.co/edit/3pPwKUF1eHubaiBcZdRR?p=preview
If you open up the console you will see the following messages:
path:  myArray.2.value
new value:  undefined
path:  myArray.1.value
new value:  6

These should look the same (other than the first new value being 4). The path which was passed after the call to set is the wrong path, where the path passed after the call to notifyPath is correct.
What is actually happening here is the key from the Polymer Collection object is leaking out to the public api.... (the Polymer Collection key for the index 1 is 2).

Seems to be related to https://github.com/Polymer/polymer/issues/2248 and https://github.com/Polymer/polymer/issues/2007#issuecomment-119305600

@jakemac53 I think that the proposed solution is not the right for your use case. You need actual indexes to be able to update the dart side correctly, or am I wrong?

@dam0vm3nt The only case where this breaks down is if the notified path ends in a key, then I have to do an O(n) lookup to find the index for the item at that key.

Mmh, will (the o(n) look up) work even if items are int?
Il giorno mer 30 set 2015 21:27 Jacob MacDonald<EMAIL_ADDRESS>ha scritto:

@dam0vm3nt https://github.com/dam0vm3nt The only case where this breaks
down is if the notified path ends in a key, then I have to do an O(n)
lookup to find the index for the item at that key.
—
Reply to this email directly or view it on GitHub
https://github.com/Polymer/polymer/issues/2490#issuecomment-144514407.

Duplicate items are actually not allowed, and will break in other ways :(

Ack.
2015-09-30 23:31 GMT+02:00 Jacob MacDonald<EMAIL_ADDRESS>
Duplicate items are actually not allowed, and will break in other ways :(
—
Reply to this email directly or view it on GitHub
https://github.com/Polymer/polymer/issues/2490#issuecomment-144548407.

Ya I can't find the issue right now but there is one, and there is an experimental workaround. I think basically they just wrap values in an object so they aren't identical any longer...

This is resolved now as far as I know, key paths are indicated with a #.

yep, confirmed. Tnx.


Fix for issue #49 and a few cosmetics

I'm having trouble with the internal imports (see last commit). Travis runs fine for my repository with that last change, but then fails here. If I change it back, it will fail in my repository (and locally).


SegmentedBar Fails With Cannot read property 'selectedIndex' of undefined

Hi, I've checked my code but I couldn't find the problem. At the first somehow it was working but after it failed. Here is my code:
export class ProfileComponent implements OnInit {

    public isLoading = false;
    public items: Array<SegmentedBarItem>;
    public selectedIndex = 0;
    public visibility1 = true;
    public visibility2 = false;

    constructor(private router: Router,private route: ActivatedRoute, private page: Page,) {
        this.items = [];
        for (let i = 0; i < 2; i++) {
        let tmpSegmentedBar: SegmentedBarItem = <SegmentedBarItem>new SegmentedBarItem();
        switch(i){
          case 0:  tmpSegmentedBar.title = "Event 1 "; break;
          case 1:  tmpSegmentedBar.title = "Event 2 "; break;
        }
        this.items.push(tmpSegmentedBar);
      }
        this.selectedIndex = 0;
    }

    ngOnInit() {
        this.page.actionBarHidden = true;
    }

    public onChange(value) {
        this.selectedIndex = value;
        switch (value) {
            case 0:
                this.visibility1 = true;
                this.visibility2 = false;
                break;
            case 1:
                this.visibility1 = false;
                this.visibility2 = true;
                break;
            default:
                break;
            }
          }

}

        <GridLayout row="2" rows="10,auto,*" columns="*">

        <SegmentedBar row="1" col="0" class="tab-area" [items]="items" (selectedIndexChange)="onChange(sb.selectedIndex)"></SegmentedBar>

        <GridLayout row="2" visibility="{{ visibility1 ? 'visible' : 'collapsed' }}">

        </GridLayout>

        <GridLayout row="2" visibility="{{ visibility2 ? 'visible' : 'collapsed' }}">

        </GridLayout>

        </GridLayout>

I added #sb tag as <SegmentedBar #sb .. and it fixed.