git-hg: split out into separate repo

As part of the move to Adoptium, I've split out the git-hg scripts and updated all jenkins jobs to point to the new repo.
This PR simply removes all the scripts that have been moved over to https://github.com/AdoptOpenJDK/openjdk-mirror-scripts

@M-Davies updated PTAL


Added FSWatching base class and made related changes

Created a work item to move all low level locators separately.

Codecov Report

Merging #14605 into main will decrease coverage by 0.05%.
The diff coverage is 23.91%.

@@            Coverage Diff             @@
##             main   #14605      +/-   ##
==========================================
- Coverage   64.88%   64.82%   -0.06%
==========================================
  Files         541      542       +1
  Lines       25156    25176      +20
  Branches     3545     3545
==========================================
- Hits        16323    16321       -2
- Misses       8171     8194      +23
+ Partials      662      661       -1

Impacted Files
Coverage Δ

...pythonEnvironments/common/pythonBinariesWatcher.ts
29.41% <0.00%> (-32.13%)
:arrow_down:

src/client/common/platform/fileSystemWatcher.ts
21.15% <6.25%> (-3.30%)
:arrow_down:

...ocators/services/globalVirtualEnvronmentLocator.ts
88.50% <18.18%> (-7.93%)
:arrow_down:

...discovery/locators/services/windowsStoreLocator.ts
86.79% <42.85%> (ø)

src/client/pythonEnvironments/base/locator.ts
75.00% <60.00%> (-8.34%)
:arrow_down:

...thonEnvironments/base/locators/lowLevel/locator.ts
100.00% <100.00%> (ø)

src/client/common/asyncDisposableRegistry.ts
25.00% <0.00%> (+8.33%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f752706...06e6f5b. Read the comment docs.


20210616 ge h4py context

This change uses the h5py.File() object as a context to automatically close the file. This is useful during debug, when the program can exit before calling file.close().
This change list contains commits in #102 -- I can remove those if this seem interesting to you.
The white spaces and reordering of import come from PEP8 linting -- I can remove those too if it appears unecessary.
@justinjfu

LGTM


Feature Request: A new setting similar to "forceBaseDirectory" which tells it to only compile in current folder and sub folders

Sorry if this already exists, but from what I've read about forceBaseDirectory, there isn't a setting to only render CSS in the current SASS file's directory and subdirectories. For example if your SASS file is located in files/assets/css/ then it would only render SASS/SCSS files in files/assets/css/, files/assets/css/bootstrap/, etc., but would not render any CSS in let's say files/plugins/. Maybe to do this you would just set forceBaseDirectory to current or something?
It might complicate things too much, but it would also be cool to have one setting to only render in the current directory and no subdirectories, and another setting to render in the current directory and include subfolders. Like current and currentTree or something.
I usually like to keep my CSS in /css/ and my SASS in /css/src/, but I can see how that won't work for this extension's plugin-and-play functionality without compiling all CSS in the entire workspace, so I think just being able to only render in the current directory would be just fine.

Hi @gavin310
The idea of forceBaseDirectory was to speed up processing on larger workspaces that have hundreds of non-scss files located in different subdirectories. before implementing the new setting it would waste a lot of time (and resources) searching these (essentially useless) directories. The forceBaseDirectory setting allows you to skip these unnecessary directories by saying that all of the files you care about processing are under the directory path files/. The blue files on the left are those that will be processed with the above setting.
What I think you need is the below settings (I have described each)
{
    // Don't forget your other settings

    // I don't care about anything outside of `/files/`, so save me some time and RESOURCES!!
    //   - Note: if this is the root of your workspace, the setting can be omitted
    "liveSassCompile.settings.forceBaseDirectory": "files/"

    // I only want to process scss/sass files that are under a `/src/` folder
    //   - You can extend `/src/` to `/css/src/` if this is a guaranteed structure
    "liveSassCompile.settings.includeItems": [ "**/src/[^_]*.s[a|c]ss" ],

    // I don't card about files in `files/dont-need-this/` so exclude it
    // and all of its subdirectories and subfiles
    //   - Note: I dont start with `files/` as this is set by `forceBaseDirectory`
    "liveSassCompile.settings.excludeList": [ "dont-need-this/**" ],
}

These setting are based on the below file structure (based somewhat on your example above). Note that I've not set up an exclude for dont-need-this/, for brevity. Also, note that I have started the pattern with /files/ to replicate what forceBaseDirectory does behind the scenes.

To replicate the above image: open globster, click the folder structure on the left and paste the below into the text field that shows up. You can then test with my pattern or your own
/files/assets/css/main.css
/files/assets/css/src/main.scss
/files/assets/css/bootstrap/css/src/_partial1.scss
/files/assets/css/bootstrap/css/src/main.scss
/files/assets/css/bootstrap/css/main.scss
/files/plugins/css/main.css
/files/plugins/css/src/main.scss
/files/dont-need-this/css/src/main.scss
/files/dont-need-this/css/main.css

I hope this all makes sense, please let me know if I can help any more

Hey @gavin310,
Did this help or was I of the mark with my reply?

@glenn2223 Ahh sorry! I thought I replied to this! Yes, that helped a lot. It's all clear now. Mostly I need to remember that it's designed for single projects and not necessarily a 3rd party plugin folder that contains 20+ individual projects.

Thanks for clarifying, closing.
After re-reading: yeah it seems like sorting #17 will help even further with the issues you're having

Good evening, @glenn2223 !
My configuration:
{
	"liveSassCompile.settings.autoprefix": null,
	"liveSassCompile.settings.compileOnWatch": true,
	"liveSassCompile.settings.excludeList":
	[
		"/**/node_modules/**",
		"/.vscode/**"
	],
	"liveSassCompile.settings.forceBaseDirectory": "/assets",
	"liveSassCompile.settings.formats":
	[
		{
			"format": "expanded",
			"extensionName": ".css",
			"savePath": "/assets/css",
		},
		{
			"format": "expanded",
			"extensionName": ".css",
			"savePath": "/assets/css/tokens",
		},
		{
			"format": "expanded",
			"extensionName": ".css",
			"savePath": "/assets/css/utils",
		}
	],
	"liveSassCompile.settings.generateMap": false,
	"liveSassCompile.settings.showOutputWindowOn": "None",
	"liveSassCompile.settings.useNewCompiler": true
}

The screenshot:

I would like to output the files to:

assets/css/tokens/art-deco.css
assets/css/tokens/colours.css
assets/css/utils/fonts.css
assets/css/utils/media-queries.css
assets/css/utils/reboot.css
assets/css/utils/reset.css

Is it possible?

It is!
Take a look at savePathReplacementPairs here. It takes the save path and will replace a key with the value from the pair.
You basically want:
I have included the slashes to ensure it only matches folders
{
	//... other settings
	"liveSassCompile.settings.formats":
	[
		{
			"format": "expanded",
			"extensionName": ".css",
                        "savePathReplacementPairs": {
                            "/scss/": "/css/"
                        }
		}
	],
	//... other settings
}

Just an FYI, if you have a question/issue that's not directly associated with an issue then you can always open a anew one (it stops the OP from getting emails too)

I am pleased to report that the procedure worked, @glenn2223. Thank you so much for that!


Is it possible to know which files has been modified?

Hi Nigel,
I need to reference the file(s) that has changed into the command of the task ${modified_file_path}.
Is it possible?

It could set and environment variable which you could then reference with ${ENV:modified_file_path} (I believe). I'll see if I can add it.

it looks fine if it's possible. So if it's an env variable it could be used like this %MODIFIED_FILE_PATH% on windows or $MODIFIED_FILE_PATH on linux

I don't know to be honest. I'll see what works when I add it.

it's fine

i've been using ${file} in my tasks, which i only just found out doesn't refer to the modified file, but the currently selected file. spent ages trying to figure out why my python files were being messed up only to find that it was running on the wrong file when i quickly switch tabs after making a change


Update schema migration in stage 3 to version 8

Ensure schema migration in stage 3 to version 8 does not fail when involved indexes are already created and hence secure a smooth update to newer db-sync version once it is released. I found it common that people reporting slow rollback times have already created needed indexes.

Thanks @eMCeee89 . Closing in favor of #1127 so it runs through CI.

And #1127 has been merged.


Create CODE_OF_CONDUCT.md

I would appreciate if you discussed a PR like this in the issues first. This looks like spam now. I'm open to having a code of conduct, but this is not the way to do it. Things like this need to be discussed first.

Okay


Disable depth clamping on default

The default value of the depth clamping field is true, which should be false.

Done in https://github.com/gfx-rs/gfx/pull/1847


Add link to download Strike at paywall page

We should advertise our wallet in case users don't have one. We can do that through a bottom-screen instruction line:

Mobile: https://www.figma.com/file/ZSdrYE1jzSYN6c4y2R7vIF/Paywall?node-id=2%3A15
Desktop: https://www.figma.com/file/ZSdrYE1jzSYN6c4y2R7vIF/Paywall?node-id=2%3A1051

The CTA should be to download Strike. Unless we have a link that lists Strike along with a list of other ⚡ wallets.

Yup after our discussion I updated the copy to be Strike-specific. Just forgot to update the Desktop designs

New to Bitcoin? Click here to download Strike and get started.


Add support for ignoring DDL statements using -- sqlc:ignore.

NOTE: This PR is in a draft state, because it still requires (at the very least) documentation updates.
This PR adds support for commenting out parts of the schema. This is most useful in the case where the schema is defined by migrations, and such migrations contain queries that are not yet supported by sqlc. See for example #3129, #1756.
By wrapping such unsupported queries in sqlc:ignore comments, they are ignored and the rest of the schema can be parsed appropriately.
Example usage in a migration file:
CREATE TABLE person_email (
  email TEXT NOT NULL
);

-- sqlc:ignore until https://github.com/sqlc-dev/sqlc/issues/3129 is resolved
INSERT INTO person_email (`email`)
  SELECT pe.email
  FROM person AS p
  JOIN JSON_TABLE(p.emails, '$[*]' COLUMNS(email TEXT PATH '$')) AS pe;
-- sqlc:ignore end

ALTER TABLE person_email ADD PRIMARY KEY (`email`);

See https://github.com/sqlc-dev/sqlc/issues/3129 for a full use-case.
Since the lines are actually cleared, instead of removed, errors on queries below the sqlc:ignore end marker are still shown with the correct line number.

@kyleconroy if you agree with this addition, then I would propose to add some documentation regarding this in https://docs.sqlc.dev/en/stable/howto/ddl.html. I can do that too within this PR, but wanted to await your thoughts first.

@kyleconroy what do you think about this addition?

Hi, @kyleconroy , @sgielen !
Thank you for the feature introduced!
I need the same functionality. How can I help with development? For example, with tests?

Hi, @kyleconroy , @sgielen !
Thank you for the feature introduced! I need the same functionality. How can I help with development? For example, with tests?

Hi! @sgielen  I've updated the branch, added tests and rebased onto fresh master (it was relatively old), squashed into 1 commit. Could you please have a look? If you find tests useful, feel free to use them in your PR.
https://github.com/sqlc-dev/sqlc/pull/3458

Hi, @kyleconroy , @sgielen !
Thank you for the feature introduced! I need the same functionality. How can I help with development? For example, with tests?

Hi! @sgielen I've updated the branch, added tests and rebased onto fresh master (it was relatively old), squashed into 1 commit. Could you please have a look? If you find tests useful, feel free to use them in your PR. #3458

Excellent! Thank you for this. I never wrote additional tests or documentation, because I wanted to hear from the maintainers first, but they never responded to my pings (@kyleconroy trying again). I can close this PR in favor of yours? For context, perhaps your PR's description could link to this one and/or the issues mentioned in my description above?

Any progress on this? Would be a neat addition.


Request to Open-Source Helium Base Model

Hi moshi team,
Thank you for the great work on moshi! Would it be possible to open-source the Helium base model? As a single-language large model, it has significant potential for fine-tuning on speech tasks and would be a valuable resource for both the speech and NLP communities.
Thanks for considering!

We do not have plans to release the text model Helium at this time. There is already a large number of open source text models that are likely to be good fits. Or maybe you mean the base Moshi model ? Similarly, we have no plan to release it at the moment.

Is it possible to swap Helium, 7B-parameter text LLM with Llama 3?

The approach we use for moshi consist in training the 7b model on speech data with an initialization based on text data, so the cost of retraining on another LLM is significant. Also the llama-3 license is not very permissive so if we were to do this we would have to call the model llama-moshi so we don't have some immediate plans for doing this.

@LaurentMazare Hi, can you share the tokenizer of Helium. I'd like to do some data verification with moshi, which needs Helium tokenizer to encode text into monologues. Thanks.

The text tokenizer is actually already available, e.g. tokenizer_spm_32k_3.model here.


updated iOS to xcode5 and ios7

changed pbxlist and added the missing icons

Thanks for the pull request! However, this repository is outdated and no longer the canonical source. I've updated the README.md to explain where the main projects now live.


Can't get a simple MLP to work! How to merge MLP and CNN for text classification?

Here is my code:
from keras.models import Sequential
from keras.layers import Dense, Activation, Dropout

model2 = Sequential()
model2.add(Dense(64, input_dim=2, activation='sigmoid', init='uniform'))
model2.add(Dense(3, activation='sigmoid'))

model2.compile(loss='categorical_crossentropy', optimizer='sgd')
model2.fit(X_train, y_train_cat, nb_epoch=1, batch_size=10000,
           show_accuracy=True, validation_data=(X_valid, y_valid_cat), verbose=1)

My X have two features, both with scores from 1 to 5, and Y have 3 encoded labels.
When I run the code above, it returns:
Train on 33679 samples, validate on 8420 samples
Epoch 1/1
33679/33679 [==============================] - 0s - loss: nan - val_loss: nan
Out[37]:
<keras.callbacks.History at 0x211f8b70>

Then all the predictions return nan:
preds = model2.predict_proba(X_valid)
print preds[:10]
array([[ nan,  nan,  nan],
       [ nan,  nan,  nan],
       [ nan,  nan,  nan],
       [ nan,  nan,  nan],
       [ nan,  nan,  nan],
       [ nan,  nan,  nan],
       [ nan,  nan,  nan],
       [ nan,  nan,  nan],
       [ nan,  nan,  nan],
       [ nan,  nan,  nan]])

I tried all combinations of optimizers, activation functions, etc. None of them worked.
Any Help?
Another question is how to combine this simple MLP to a CNN for text classification? My actual input is like this:

"Nota Questão X" are my categorical (ordinal values) features and "Comentário" is a free text comment. "Manifestação do Atendimento" is the class I want to learn.
Using the cnn for text classification over "Comentário" field yelds to good results, but I think it can be improved with the scores, since they have a strong meaning here.
Can anybody suggest a good approach? My CNN implementation is based on this: https://github.com/alexander-rakhlin/CNN-for-Sentence-Classification-in-Keras
Thanks, Vitor

I solved the first problem. My X data had some nan values. I replaced them and the MLP works. But I'm still would like to ask you for help in combining the categorical features with cnn.

Any body having character based text classification code in keras like in https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/skflow/text_classification_character_rnn.py


Add functionality to ensure service for controller

The controller needs a service to register a validating and mutating webhook for Ingress, IngressGroup and IngressClass resources.
/assign @alebedev87 @thejasn

/retest

/restest

/retest

/lgtm


Extra spacing around added class names

On class names that footwork adds (such as the fw-entity classes for animations) to elements it can be a bit sloppy, leaving extra spacing around the class names.

Resolved by: 55dbf5dd96eddddf76e9aa67d30b733cf378fceb


[BUG] Android push notifications only work with opened app

Description
Android push notifications only work, if the app is opened (background mode). If the app is in the foreground, everything works as expected: no notification. If the app is closed, notifications aren't shown anymore.
It is assumed that this is only on Android: IOS push works flawlessly on the same server.
Push setting on the server is set to: https://gateway.rocket.chat
Privacy setting is set to show the username/group, but not the content of the message. It is not known, if the problem still persists for other combinations of those last two settings.
This problem occours on normal messaging, but even the "test button for sending a notification" shows the same errorneous behaviour. If this test button is triggered, it replies with a green box acknowledging the push notification to one device (only one device had been registered, so it must be the correct one!). If the app is closed no push notification pops up. If you open the app later, already enqueued notifications may arrive late, but only if the app is open.
Devices and Versions
Your Rocket.Chat.Android version: 2.4.0
Your Rocket.Chat Server version: 0.65.1
Mobile device model and OS version: "Hihonor Honor 8 - Android 7.0", "OnePlus3t - Android 8.0.0"
Steps to reproduce
It is the normal docker installation, but port forwarding through an nginx proxy. A limited test account on our server can be provided, if needed.

Hey guys! The problem for you is that you download the app from Google Play, and sometimes you don't receive push notification? The more detailed information you have, the better for us to understand the problem. 👍

Push messages are still not reliable. I can also confirm that. It's part of a more intricate problem though, that also includes the push gateway itself - since it gets overloaded, probably.

Still the same with this configuration:
Snap server version 0.69.2 with gateway https://gateway.rocket.chat (debug mode disabled/enabled)
Newest Google Play version 2.6.1 and disabled power saving mode for that app.
Tested this on multiple smartphones from  Samsung, Asus and Oneplus with Android version 7.0 - 8.0
Everything looks fine in the debug log on the server.
The push messages aren't reliable with an open app (probably gateway overloaded).
And if the app is closed i don't get any messages.

Hey guys! The problem for you is that you download the app from Google Play, and sometimes you don't receive push notification? The more detailed information you have, the better for us to understand the problem. +1

Yes, from Google Play or from Appstore. I don't know how to debug further, as it's inconsistent.

Guys, I'm closing this issue because it's not related to the app right now... let's reopen if needed.

I don't know if the problem is the same but regularly we don't receive notifications.
Do you have any research leads?


Link accessible only on Open Networks.

Added a note under  : "If you haven't worked with JavaScript in the last few years, [these three points]..." as the link given (https://gist.github.com/gaearon/683e676101005de0add59e8bb345340c) works only on Open Networks and is inaccessible on Organizational Networks.

Do you mean that your organization's firewall is blocking GitHub gists?

Yes. The link won't work when firewalls are enabled by organization.
Error message : "This site can’t be reached The webpage at https://gist.github.com/gaearon/683e676101005de0add59e8bb345340c might be temporarily down or it may have moved permanently to a new web address."
ERR_TUNNEL_CONNECTION_FAILED

OK, that's not something that would affect everyone - maybe you can discuss unblocking GitHub gists with your administrator?

Does #Infosys blocks github gists, Its bad,
you can try, using your cellular network to access,
If its really urgent.


More test fixes for Julia v0.7/1.0

@hustf this is a PR against the branch 10aug18_0.7 from #105 . Merging will update that PR rather than master.
With this branch, I have pkg> test WebSockets passing on Julia v0.7.0.

Aha! That sounds important 🙂


ACME Installations as a service

Dear People,
Where can I find someone to complete these upgrades as a service? I am an engineer for multiple companies and I don't have time to keep reading blogs. Who can help?

Hi @SSIadminGithub, I offer paid hands-on support on the program but that's rather meant to consult on how to best set it up or debug difficult issues. Follow the sponsorship links if you're interested in that, but just know that it's not meant to outsource maintainance.


Add progress bar to GATT sync

Description:
Now when we are adding ability to sync large amounts of data to charts:
Hide dialog for gatt sync and show it in place of buttons at the bottom of charts page during sync (same as iOS)
Cancel sync button during sync
When sync completed buttons reappear

This needs to be designed/tested with a RuuviTag at the edge of the transmission range, in-range and as it moves out of range.

Can be tested in 1.5.8

If user disabled Bluetooth during synch it doesn't timeout. Please add timeout if Bluetooth connection disrupted.

Can you check it @io53 ?

Sure, will do.

Please try again @markoaamunkajo after a build is released with this.
"works on my phone"- stamp

merging this to 1.5.12

QA passed


Changed published scoped package access to public

Codecov Report

Merging #4 (4fb9145) into devel (d19ab12) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             devel        #4   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines          125       125
  Branches        29        29
=========================================
  Hits           125       125

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Extract color codes from adata object

I noticed that the order of .uns['leiden_colors'] might have changed.
Previously I had a set of codes to extract color codes from that attribute and save into a dictionary.
May I ask what's the proper way to extract color codes in the current version of Scanpy?
Thanks

Anyway I wrote a function to do that:
https://github.com/brianpenghe/python-genomics/blob/85b546298a6f6b560d1ea6d51143fe5f36e5c01b/Scanpyplus.py#L36

We'd like to add this to scanpy somewhere, probably in the sc.get module. Maybe sc.get.color_palette(adata, obs_key)?
Ideally, we eventually just store the colors this way, but this will give developers a stable way to get this information before that happens.
Related discussions: #596, #1392, (and some more I can't seem to find)

The additional cases that would need to be handled (and what I believe the current internal solutions are):

What if colors haven't been saved to uns yet

If it's an view, we just return what the colors would be by default
If it's an "actual" we return the colors, but also assign them to the object

What if there's a different number of colors and categories

We warn and reassign the colors. If it's a view, we don't modify the object, but probably still warn.

Most of the logic for handling this internally is wrapped in _get_palette:  https://github.com/theislab/scanpy/blob/ed364a887db2eb604d0a09cd72325cb5e1f4e27e/scanpy/plotting/_tools/scatterplots.py#L1192-L1204


refactor: Make Win/Lose Message a Class Constant

Since these are constant and is correlated to the class only, and won't be modified by its instnace, it is best to keep as a class constant instead. This way we can eliminate the unnecessary custom init method and then call to the init in super.
https://github.com/FlysonBot/Mastermind/blob/3eb4cd2002709815a6e4ffd6bec99494c2e7b9d5/src/mastermind/players/human_player.py#L72-L75

Refactor: f9d485dbda41af7d57bce678a090d4283240add2


Support whitespace after comma in Identifiers

I'm not sure if that's correct or not, but it seems like IDL grammar allows using whitespace after comma in Identifiers.
It's actively used in the recent HTML5 spec:
[NoInterfaceObject, Exposed=(Window, Worker)]
interface NavigatorOnLine {
  readonly attribute boolean onLine;
};

This PR adds support for whitespace and also bumps IDL and HTML5 specs.
Also, Rake tasks use Nokogiri while it's not a part of development dependencies, so I added it too.

Coverage decreased (-1.08%) to 93.817% when pulling 445f3f77af2934b99048b4813ffc61179727c1ef on p0deje:identifierlist-ws-after-comma into 39ef6d279913b7c426b71e5618bebf728b1a7b77 on jarib:master.

Coverage decreased (-1.08%) to 93.817% when pulling 445f3f77af2934b99048b4813ffc61179727c1ef on p0deje:identifierlist-ws-after-comma into 39ef6d279913b7c426b71e5618bebf728b1a7b77 on jarib:master.

Looks fine to me. Do you want to take over this gem btw? I guess it's mostly used by Watir.

Released 0.2.0 with this patch.

@jarib Thank you!
If you could just add me as contributor on Github and Rubygems, that would be great!

Thank you for adding me to Github. Can you also add me as gem owner so that I could release?

Will do as soon as I'm in front of a shell

Den 9. aug. 2017 kl. 08.36 skrev Alex Rodionov<EMAIL_ADDRESS>Thank you for adding me to Github. Can you also add me as gem owner so that I could release?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Done.

Thank you, Jari!


Revert on spill problem

Hi Lucky Looke!
I wanted to know if there's a possible solution for this UI problem:

I know that this is not happening if I don't use the revertOnSpill property, but I need that behaviour.
Thank you in advance! 😄

Actually the show and hide of the content is soo fast that it's not very well seen on the GIF what I wanted to show you.
But the problem is the dragged content goes from one div to the other super fast. I think is only when the item is near the bottom border.
Any help would be appreciated! Thanks!

I have tested it by my self and it is really annoying.. I will be thinking about it.. maybe in the case of "revert on spill" I will leave a copy of the item in source container as an placeholder.. if I do not came with better idea during few days I will fix it that way, thanks for report

I have a lot of work this week.. I will handle this in on next weekend. thanks for understanding

I am sorry but I have deadlines on paid project I am not fulfilling so this have to be pushed.. :/ I will try to make some time for this as soon as possible.

oh, sure, no problem. You always help a lot!
I also had a problem with dynamic nested containers and some other things, but in order to make it work I had to expose the "registerEvents()" method to on and off events. But I'll create a case in Fiddle for you to see it. That solved my problem, but maybe there's another way.
Thanks for everything! 😄


Implement Baggage support for Jaeger propagation

Jaeger propagates tracing information but baggage values as well.

Spec: https://www.jaegertracing.io/docs/1.21/client-libraries/#propagation-format


Add Warrior model, subject, and rotation.

It's assuming a DPS-centric WAR, as nothing else really makes too much sense.  Bonus stat allocations are all in STR and slaying accessories are used, for example.
It seems to match reality according to our static WAR.

Definitely some hacks here. Gonna merge this and create an issue to clean this up.
Thanks!

This'll hit the web server later tonight.

https://github.com/ccbrown/xiv-sim-web/commit/1de03e8cd7b6de01df76fbfe1e3b61e76cafcbfe
http://sim.ffxivguild.net/


polkit: 0.119 → 0.120

Motivation for this change
https://lists.freedesktop.org/archives/polkit-devel/2021-October/000608.html
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 via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.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

[x] Fits CONTRIBUTING.md.

cc @Binary-Eater

Looks like it is failing now for some reason. Weirdly, the error message points to a file that does not contain the include directive the message says.
[64/86] Compiling C object test/polkit/polkitidentitytest.p/polkitidentitytest.c.o-agent-1.so.0.0.0.symbols
FAILED: test/polkit/polkitidentitytest.p/polkitidentitytest.c.o
gcc -Itest/polkit/polkitidentitytest.p -Itest/polkit -I../test/polkit -Isrc -I../src -Isrc/polkit -I/nix/store/150bwrv7p7qhb0vm0zwkw9z980gc58nq-glib-2.70.1-dev/include -I/nix/store/150bwrv7p7qhb0vm0zwkw9z980gc58nq-glib-2.70.1-dev/include/glib-2.0 -I/nix/store/5dckamm3ls6mgyp4p0nd8dvpv499m1a4-glib-2.70.1/lib/glib-2.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -D_POLKIT_COMPILATION -D_POLKIT_BACKEND_COMPILATION -MD -MQ test/polkit/polkitidentitytest.p/polkitidentitytest.c.o -MF test/polkit/polkitidentitytest.p/polkitidentitytest.c.o.d -o test/polkit/polkitidentitytest.p/polkitidentitytest.c.o -c ../test/polkit/polkitidentitytest.c
../test/polkit/polkitidentitytest.c:22:10: fatal error: config.h: No such file or directory
   22 | #include "config.h"
      |          ^~~~~~~~~~
compilation terminated.
[65/86] Compiling C object test/polkit/polkitunixnetgrouptest.p/polkitunixnetgrouptest.c.o
FAILED: test/polkit/polkitunixnetgrouptest.p/polkitunixnetgrouptest.c.o
gcc -Itest/polkit/polkitunixnetgrouptest.p -Itest/polkit -I../test/polkit -Isrc -I../src -Isrc/polkit -I/nix/store/150bwrv7p7qhb0vm0zwkw9z980gc58nq-glib-2.70.1-dev/include -I/nix/store/150bwrv7p7qhb0vm0zwkw9z980gc58nq-glib-2.70.1-dev/include/glib-2.0 -I/nix/store/5dckamm3ls6mgyp4p0nd8dvpv499m1a4-glib-2.70.1/lib/glib-2.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -DHAVE_CONFIG_H -D_POLKIT_COMPILATION -D_POLKIT_BACKEND_COMPILATION -MD -MQ test/polkit/polkitunixnetgrouptest.p/polkitunixnetgrouptest.c.o -MF test/polkit/polkitunixnetgrouptest.p/polkitunixnetgrouptest.c.o.d -o test/polkit/polkitunixnetgrouptest.p/polkitunixnetgrouptest.c.o -c ../test/polkit/polkitunixnetgrouptest.c
../test/polkit/polkitunixnetgrouptest.c:22:10: fatal error: config.h: No such file or directory
   22 | #include "config.h"
      |          ^~~~~~~~~~
compilation terminated.

Turns out it was the musl patch breaking this. And while that can be trivially fixed using
--- a/test/polkit/meson.build
+++ b/test/polkit/meson.build
@@ -14,6 +14,7 @@ foreach test_unit: test_units
   exe = executable(
     test_unit,
     test_unit + '.c',
+    include_directories: top_inc,
     dependencies: libpolkit_gobject_dep,
     c_args: c_flags,
   )

It also breaks the tests so something is probably wrong with it cc @yu-re-ka

Just making it conditional again is fine with me. None of the musl distros have updated to 0.120 yet, and the patch hasn't been merged upstream.

nixpkgs/staging now fails to build at least:

accountsservice
networkmanager

Both fail in a similar way:
$ nix build -f. accountsservice networkmanager -L
...
accountsservice> install flags: install
accountsservice> [0/1] Installing files.
accountsservice> Installation failed due to insufficient permissions.
accountsservice> Attempting to use polkit to gain elevated privileges...
accountsservice> pkexec must be setuid root
accountsservice> FAILED: meson-install
...
networkmanager> Installation failed due to insufficient permissions.
networkmanager> Attempting to use polkit to gain elevated privileges...
networkmanager> pkexec must be setuid root
networkmanager> FAILED: meson-install

Bisect points at 527b98a125d381a1f03c2fa8393f80205c6dd052 polkit: port to Meson.

@trofi That is super weird, meson should only use polkit on permission error and then it would fail even previously because the polkit available in sandbox will not be setuid. Will investigate shortly or revert.

Should be fixed in 595c25f10535b4cde8b15109f8f36e387cce58c6 (and 3b916a6b78e41f488a02fd32c2f8b8816993f789, sorry, too tired).

Fixed all build failures for me. Thank you!


Beware of Fake Supermium X/Twitter Account

Be advised that the X-run Supermium page https://twitter.com/Supermium is not official. Please do not download anything shared on that page.
For those of you on X, please report the page and block it.
Thank you

The only officially-run X page by win32 is located here: https://x.com/win32subsystem


Add Kotlin 2.0.20-RC to EAP test list

Tests compatibility with consumer projects on Kotlin 2.0.20-Beta2.

Copying my comment from #364:

Caused by: java.lang.NoSuchMethodError: 'void org.jetbrains.kotlin.gradle.targets.js.ir.DefaultIncrementalSyncTask.setDuplicatesStrategy(org.gradle.api.file.DuplicatesStrategy)'

I don't understand what's going on here. On this line, CopySpec.setDuplicatesStrategy and DefaultIncrementalSyncTask.getDuplicatesStrategy are being invoked. DefaultIncrementalSyncTask.setDuplicatesStrategy is not being invoked, although it should exist nonetheless, because duplicatesStrategy is a var.

I'm giving up on 2.0.0-2.0.20 compatibility.


Fix problem with enum default value

Property of type enum which has a default member is exported as null if not given a value explicitly by the user. It should export the default value.

Rebased this and merged manually.


Update TinyMCE to the latest version

https://una.io/page/view-discussion?id=4246
https://una.io/page/view-discussion?id=4332

https://github.com/unaio/una/issues/3203


docs(deployment): describe requirements

:tada: This PR is included in version 0.12.9 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Multiple camera hardware sync: no master signal

Required Info

Camera Model
D435

Firmware Version
D400 5.9.11

Operating System & Version
Win 10

Platform
PC

SDK Version
RealSense SDK 2.0 build 2.12.0

Language
C++

Issue Description
I'm trying to hardware sync two D435 cameras as is explained in the Multiple Camera WhitePaper. The trigger pin of the camera configured as master stays floating and does not generate the trigger signal I would expect. I'll paste the relevant code below and attach the full code as zip. I'm pretty sure I'm overlooking something but I can't seem to find more information online.
Any help would be appreciated.
Niels

const size_t syncLength = 24;
const uint8_t syncDefault[syncLength]  = {0X14, 0X00, 0XAB, 0XCD, 0X64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
const uint8_t syncMaster[syncLength]  = {0X14, 0X00, 0XAB, 0XCD, 0X64, 0, 0, 0, 0X01, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
const uint8_t syncSlave[syncLength]  = {0X14, 0X00, 0XAB, 0XCD, 0X64, 0, 0, 0, 0X02, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};

    cout << "Setting up hardware trigger: ";
    bool master = false;
    bool errors = false;
    for (auto device: devices) {
        const shared_ptr<rs2_device> d = device.get();
        if (!d) {
            errors = true;
            cout << "No rs2_device. " << endl;
            continue;
        }
        rs2_error* e = nullptr;
        const rs2_raw_data_buffer* receiveBuffer;
        if (!master) {
            receiveBuffer = rs2_send_and_receive_raw_data(d.get(), (void*)syncMaster, syncLength, &e);
            master = true;
        } else {
            receiveBuffer = rs2_send_and_receive_raw_data(d.get(), (void*)syncSlave, syncLength, &e);
        }
        if (e) {
            errors = true;
            cout << rs2_get_error_message(e) << " ";
            rs2_free_error(e);
            e = nullptr;
        }
        rs2_delete_raw_data(receiveBuffer);
    }
    if (errors) {
        cout << endl;
    } else {
        cout << "Ok" << endl;
    }

main.zip

@nielsgeens  I think that this is a FW issue... Multi-Camera HW sync is not really yet available by the current FW

Oh, thanks for letting me know. Do you know if there is a timeline somewhere for the firmware development? Or a list of implemented and in progress features?

@nielsgeens It is for Q2 18 apparently but I haven't seen any update on that.
https://realsense.intel.com/wp-content/uploads/sites/63/BKMs-For-Tuning-RealSense_D4xx_Cameras_WP_1.7.pdf

Thanks for the info! I've noticed the same question has been asked here before, so I'll close this issue and follow up on one of the others.

Last time I asked at Intel RealSense Zendesk (I have asked a lot of times) they said that it is programmed for Q3 2018

@ankarako Very disappointing, if you sign an NDA can you get hold of it early?

@ffrog12 I don't think so but I am not really sure either...


JsonPatch: test operations fail when contract resolver is used to serialize data

Functional impact
When controlling data serialization using a contract resolver (and the contract resolver is not registered for the JsonConvert's default settings), test operations in patch requests fail.
Minimal repro steps
Issue noticed in Microsoft.AspNetCore.JsonPatch 2.1.1.
Example code:
class Person
{
    public string FirstName { get; set; }
    public string MiddleName { get; set; }
    public string LastName { get; set; }
}

class NoMiddleNameContractResolver : DefaultContractResolver {
    protected override JsonProperty CreateProperty(MemberInfo member, MemberSerialization memberSerialization)
    {
        JsonProperty property = base.CreateProperty(member, memberSerialization);

        if (property.DeclaringType == typeof(Person) && property.PropertyName == nameof(Person.MiddleName))
            property.ShouldSerialize = obj => false;

        return property;
    }
}

class Program
{
    static void Main(string[] args)
    {
        var contractResolver = new NoMiddleNameContractResolver();
        var serializerSettings = new JsonSerializerSettings { ContractResolver = contractResolver };

        var person = new Person { FirstName = "John", MiddleName = "Alexander", LastName = "Doe" };
        var serializedValue = JsonConvert.SerializeObject(person, serializerSettings);

        var jsonTestValue = $"[{{ op: \"test\", path: \"/0\", value: {serializedValue} }}]";
        var operations = JsonConvert.DeserializeObject<Operation<List<Person>>[]>(jsonTestValue, serializerSettings).ToList();

        var patchDoc = new JsonPatchDocument<List<Person>>(operations, contractResolver);

        var people = new List<Person> { person };

        try
        {
            patchDoc.ApplyTo(people);
            Console.WriteLine("patch test passed");
        }
        catch (Exception ex)
        {
            Console.WriteLine($"patch test failed: {ex}");
        }
    }
}

Expected result
ApplyTo method does not throw an error, test operation was successful.
Actual result
ApplyTo method throw an error, due to failed test operation.
Further technical details
Each implementation of the IAdapter interface uses the static JsonConvert class with the default serializer settings. The provided ContractResolver is not being used when serializing values being compared.
DictionaryAdapterOfU
DynamicObjectAdapter
ListAdapter
PocoAdapter

As I am looking into writing a fix for this issue, I am wondering if the JsonPatchDocument constructor should have an override with a JsonSerializerSettings parameter to be used for comparing the test operation's value and the tested value. As these settings can influence how the objects are serialized for comparison and influence the outcome, it would be useful to be able to change them without setting the JsonConvert.DefaultSettings.

Thanks for contacting us, @kdrvn.
Will you be interested in submitting a PR for the proposal?

I will give it a try.

Hi. Thanks for contacting us.
We're closing this issue as there was not much community interest in this ask for quite a while now.


Preprocessing of the MASS dataset

Hello,
I would like to use your program with the MASS dataset, to which I have access.
Unfortunately, I do not see how the file prepare_physionet.py  could be called to parse said dataset.
The files in the dataset as I have it follow this format:
01-03-0001 Annotations.edf
01-03-0001 Base.edf
01-03-0001 PSG.edf
01-03-0002 Annotations.edf
... etc.
They are not properly parsed by prepare_physionet.py. For instance, they do not include any field for an electrode F4-EOG.
I could probably retro-engineer your process to an extent in order to make the preprocessing work, but as I wish to reproduce your results, I am weary of potentially making a mistake. (For instance, I could reproduce the F4-EOG signal from the available F4 and EOG signals, but as there are two EOG signals in MASS, I'd have to make an arbitrary choice...)
Could you please share the script you used to generate the preprocessed MASS data?
Thank you in advance.

Thank you for leaving issue.
There are two types of EOG channels; left and right
As mentioned in the paper, we used left EOG channel in our work.
To get F4-EOG signal, we extract F4 channel and left EOG channel from EDF file.
Then, we substracted EOG from F4 (superposition F4 and minus EOG).
I'll update the script of processing MASS as soon as possible.

Thank you very much!
Would it also be possible to include the config files for MASS?
Thanks in advance!

http://ceams-carsm.ca/mass/
Thanks.


Duplicate data in read view with rich_text_box

With multilingual and rich_text_box there are duplicate content in read view, this PR fix the issue.

I'm not sure I understand what this PR fixes?

Closing because of missing informations.
This can be reopened if you explain what this PR does.


e-Terminology: non-queryable terms

The references to the term are not queryable. They are only available on the Tilde website. Therefore, there are not usable in the CKEditor plugin for FREME. Is there a way to fix this?

Can you explain with some examples?

When we use e-Terminology, we get a URI such as this one: https://term.tilde.com/terms/583318. When we open this in the browser we get more information. However, there is no way (that we know of) to query the information the information on this page.

Yes, there is no SPARQL endpoint, but you can download terminology data also in turtle format by adding extension .ttl or adding accept HTTP header.
Try https://term.tilde.com/terms/583318.ttl


ToVectorValue implemented for &str and String but not Rstr

Hello,
I'm trying to construct a character/string RMatrix, however due to trait bounds this doesn't seem to be possible. In order to construct a matrix, it needs to satisfy Robj: AsTypedSlice<'a, T> and T: ToVectorValue. AsTypedSlice is implemented only for Rstr, which I understand, but ToVectorValue is not implemented for Rstr, but is for &str and String, thereby making it impossible to construct a string matrix.
Would it be possible to implement it for Rstr? Given there's implementations for the other string types, I don't see any reason since Rstr stores a SEXP internally already and that's all ToVectorValue seems to require.
Thank you!

I'm going to investigate this as soon as possible. Sounds very reasonable.

Thank you!

I've looked at this! Turns out, it is one of our long-term API design challenge. I don't foresee a PR that would be quickly merged that give this capability. But I've started on the work already.

Sounds good, thank you so much!


HTTP Error 500 During Install

Describe the bug
On step 6 of the admin portal install, an http 500 error is returned. The setup does not complete.
To Reproduce
After confirming database settings in step 5 of the setup wizard, the next page returns a generic 500 error page.
Expected behavior
Step 6 should provide status information about application setup.
Additional context
Problem encountered on RHEL 8.3
The issue appears to be related to the generateEncryptionKey function in installer.php. SODIUM_CRYPTO_SECRETBOX_KEYBYTES is not a recognized parameter.

This bug was already reported but I don't believe it was resolved.

I have encountered further problems with with RHEL 8 and PHP 7.2. It looks like the sodium library is not supported. I don't consider this a bug but rather a compatibility problem.

I was able to install the sodium library using remi repo. Further instructions can be found here.
https://www.mysterydata.com/how-to-install-upgrade-to-php-7-4-on-rhel-centos-vestacp/


not rule works incorrect

Bug report

[ x ] I have checked other issues to make sure this is not a duplicate.

Describe the bug
Not rule doesn't revert rule if it returns Error or string. There is the folowing code in src/rules.ts
if (res instanceof Error) {
    return res;
} else if (res !== true) {
    return true;
} else {
    return false;
}

Expected behavior
If you return an Error from rule, not rule should revert it and return true
Actual behaviour
Not rule returns Error as is
Additional context
This error appears after this PR https://github.com/maticzav/graphql-shield/pull/502, which closes this issue https://github.com/maticzav/graphql-shield/issues/484
I think, you misunderstood the problem. If rule returns true, and not rule revert it, it throw standard error "You are not authorized", so you cannot describe custom error, if not rule did its work

Thanks, fixed.

Thank you!


[improve][proxy] Support disabling metrics endpoint

Motivation
In certain deployments, it is preferable to be able to disable the /proxy-stats, /metrics, and /status.html endpoints.
Modifications

Add configuration named enableProxyStatsEndpoints to the proxy configuration. When true (default), the endpoints are all exposed. When false, they are not served.
Fix some implementation details for the proxy stats servlet configuration and the endpoints themselves

Verifying this change
This is a minor change.
Documentation

[x] doc-not-needed

Codecov Report

Merging #21031 (adc0b37) into master (0cb1c78) will increase coverage by 39.55%.
Report is 4 commits behind head on master.
The diff coverage is 55.00%.

@@              Coverage Diff              @@
##             master   #21031       +/-   ##
=============================================
+ Coverage     33.56%   73.11%   +39.55%
- Complexity    12198    32174    +19976
=============================================
  Files          1621     1875      +254
  Lines        126970   139505    +12535
  Branches      13857    15344     +1487
=============================================
+ Hits          42618   102001    +59383
+ Misses        78748    29436    -49312
- Partials       5604     8068     +2464

Flag
Coverage Δ

inttests
24.27% <30.00%> (+0.03%)
:arrow_up:

systests
25.09% <30.00%> (?)

unittests
72.41% <55.00%> (+40.31%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

...java/org/apache/pulsar/proxy/stats/ProxyStats.java
51.06% <23.80%> (+51.06%)
:arrow_up:

...pache/pulsar/proxy/server/ProxyServiceStarter.java
65.33% <75.00%> (+23.05%)
:arrow_up:

...apache/pulsar/proxy/server/ProxyConfiguration.java
97.56% <100.00%> (+28.70%)
:arrow_up:

...java/org/apache/pulsar/proxy/server/WebServer.java
78.52% <100.00%> (+11.04%)
:arrow_up:

... and 1516 files with indirect coverage changes


Allow nil for enums

It seems the current enum implementation default the model's property to the first declared value if none is specified.  For example:
class Service
  include Neo4j::ActiveNode

  enum service_type: {
    foo: 0,
    bar: 1,
  }

Will mean that Service.create will return a Foo Service by default, even if no service_type is given.
Ideally, I would like to allow a user to select from a list and fail a validation if no selection is given.
Is there a way I can get the enum to default to nil instead of 0 in this case?

@andyweiss1982 Hi, I'm trying to fix this!
What version of neo4j gem are you using?
If you're using 7.0.x, try this branch please ;)
gem 'neo4j', github: 'neo4jrb/neo4j', branch: 'fix-enum-default-value'

Thank you very much!

Hi @ProGM Thanks!!
This is what we were using:
GIT
  remote: git://github.com/neo4jrb/neo4j.git
  revision: 6ff240c04381f18f2a3dd19a014ba2149aef6f65
  branch: rails5
  specs:
    neo4j (7.0.3)
      activemodel (>= 4)
      activesupport (>= 4)
      neo4j-core (>= 6.0.0)
      orm_adapter (~> 0.5.0)

Do you think we are in the clear to make the switch to the new branch?

@ProGM It looks like I have a conflict with rails 5 / active support.  However I am happy to spin up a rails 4.2 demo app to test out the branch if you like.
Bundler could not find compatible versions for gem "activesupport":
  In Gemfile:
    rails (~> 5.0) was resolved to 5.0.0, which depends on
      activejob (= 5.0.0) was resolved to 5.0.0, which depends on
        globalid (>= 0.3.6) was resolved to 0.3.7, which depends on
          activesupport (>= 4.1.0)

    neo4j was resolved to 7.0.14, which depends on
      activesupport (~> 4)

    rails (~> 5.0) was resolved to 5.0.0, which depends on
      activesupport (= 5.0.0)

    rails (~> 5.0) was resolved to 5.0.0, which depends on
      activesupport (= 5.0.0)

    rails (~> 5.0) was resolved to 5.0.0, which depends on
      activesupport (= 5.0.0)

    rails (~> 5.0) was resolved to 5.0.0, which depends on
      activesupport (= 5.0.0)

    rails (~> 5.0) was resolved to 5.0.0, which depends on
      activesupport (= 5.0.0)

    rails (~> 5.0) was resolved to 5.0.0, which depends on
      activesupport (= 5.0.0)

    rspec-rails (~> 3.0) was resolved to 3.5.1, which depends on
      activesupport (>= 3.0)

Oh, you're right! 7.0.x branch was for rails4 only.
I created a new branch for neo4j 7.1.x, that supports rails5 ;)
Try adding this:
gem 'neo4j', github: 'neo4jrb/neo4j', branch: 'fix-enum-default-value-7.1.x'

That branch should be good for testing, though when we merge we can merge the one off 7.0.x and then I'll merge it forward from 7.0.x to 7.1.x and release another patch version

@ProGM I was able to get my specs to pass without complication.  I am now able to implement a much more straighforward presence validation on my enum properties.  Thank you very much - let me know if there is any more info you need from me!
GIT
  remote: git://github.com/neo4jrb/neo4j.git
  revision: ae3af43f6079a38d8f3c0a40258bf43b4d6933ff
  branch: fix-enum-default-value-7.1.x
  specs:
    neo4j (7.1.2)
      activemodel (>= 4.0, < 5.1)
      activesupport (>= 4.0, < 5.1)
      neo4j-core (< 7.0.0)
      orm_adapter (~> 0.5.0)

123 examples, 0 failures

Great 👍
Thank you very much!
@cheerfulstoic Now merging, I think we can release it ;P

Released as 7.0.15 and 7.1.3.  Thanks all!

@cheerfulstoic  it should be merged on master and 8.x as well, I think ;P


Failed to apply plugin [class 'com.google.gms.googleservices.GoogleServicesPlugin']

Hi
After installing this plugin with ionic cordova plugin add cordova-plugin-firebase-config --save I get an error
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.

The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.

	at build_5bkxx3xrq4q6xfo8g2ou2vzcs.run(/Users/.../platforms/android/app/build.gradle:148)

FAILURE: Build failed with an exception.

* Where:
Script '/Users/.../platforms/android/cordova-support-google-services/remix-build.gradle' line: 16

* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin [class 'com.google.gms.googleservices.GoogleServicesPlugin']
   > Cannot add extension with name 'googleServices', as there is an extension already registered with that name.

These are the list of plugins I'm currently using (apart from cordova-plugin-firebase-config)
    <plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
    <plugin name="cordova-plugin-device" spec="^2.0.2" />
    <plugin name="cordova-plugin-splashscreen" spec="^5.0.2" />
    <plugin name="cordova-plugin-ionic-webview" spec="^1.2.1" />
    <plugin name="cordova-plugin-ionic-keyboard" spec="^2.1.2" />
    <plugin name="cordova-sqlite-storage" spec="^2.4.0" />
    <plugin name="cordova-plugin-statusbar" spec="^2.4.2" />
    <plugin name="cordova-plugin-inappbrowser" spec="^3.0.0" />
    <plugin name="cordova-plugin-firebase" spec="2.0.3" />
    <plugin name="cordova-plugin-x-socialsharing" spec="5.4.1" />
    <plugin name="cordova-wmdatasources" spec="^1.0.142" />
    <plugin name="cordova-plugin-local-notification" spec="0.9.0-beta.3" />
    <plugin name="cordova-install-referrer" spec="<EMAIL_ADDRESS>/>
    <engine name="android" spec="7.1.1" />

And this is the output of my ionic info
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.1.1<EMAIL_ADDRESS>
local packages:

    @ionic/app-scripts : 3.1.9
    Cordova Platforms  : android 7.1.1
    Ionic Framework    : ionic-angular 3.9.2

System:

    ios-deploy : 1.9.2
    Node       : v8.11.1
    npm        : 6.4.1
    OS         : macOS
    Xcode      : Xcode 9.1 Build version 9B55

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro

This is an Ionic app but I'm using the cordova plugin directly.

Hi! did you find a solution?

You have a conflict with some other firebase plugin.


Consistent capitalisation of RHOAR concepts

In the majority of contexts, we use booster, mission, or runtime lowercased. However, there are portions of the docs where they are uppercased, namely boosters are referred to as Boosters in the CRUD mission description.
I believe we need to lowercase all the occurrences of such terms (except for headings and so, of course) to maintain consistency.

+1 from me


Install the latest gcc in the mac build

@vhvb1989 -- This now has clang warnings as errors that, once addressed, will return the pipeline to a green state:
[ 63%] Building C object sdk/transportPolicies/curl/CMakeFiles/az_curl.dir/src/az_curl.c.o
/Users/runner/runners/2.164.7/work/1/s/sdk/transportPolicies/curl/src/az_curl.c:243:22: error: missing field 'length' initializer [-Werror,-Wmissing-field-initializers]
  az_span body = { 0 };
                     ^
/Users/runner/runners/2.164.7/work/1/s/sdk/transportPolicies/curl/src/az_curl.c:243:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
  az_span body = { 0 };
                   ^
                   {}
/Users/runner/runners/2.164.7/work/1/s/sdk/transportPolicies/curl/src/az_curl.c:291:22: error: missing field 'length' initializer [-Werror,-Wmissing-field-initializers]
  az_span body = { 0 };
                     ^
/Users/runner/runners/2.164.7/work/1/s/sdk/transportPolicies/curl/src/az_curl.c:291:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
  az_span body = { 0 };
                   ^
                   {}


nodeos_run_test-mongodb ..............***Failed

Hi,I met the same problem in #2013, but it did not solve my problem.When I 'make test' it failed nodeos_run_test - directing a...* * * Failed...I'm sure I got mongodb and mongo-cxx-driver installed,

This is my mongo test.out:

The problem seems to be that my mongodb is not running, but I don't know what to do about it,Thank you very much!

Oh...is #2103.Sorry

Did you install mongo db?

The documentation includes instructions for how to launch MongoDB for the tests.

该文档包含有关如何为测试启动MongoDB的说明。
I think I did follow the steps, I couldn't activate my mongod, I wonder why?


Issue with transforms.json Conversion to camera_path.json

Hi,
After training with nerfacto, the generated dataparser_transforms.json looks like this:
{
    "transform": [
        [
            0.0,
            1.0,
            0.0,
            0.3138597011566162
        ],
        [
            1.0,
            0.0,
            0.0,
            -0.11979150772094727
        ],
        [
            0.0,
            0.0,
            -1.0,
            -0.08969742059707642
        ]
    ],
    "scale": 0.12556246049140518
}

When converting transforms.json to camera_path.json using the script, there seems to be an issue with the render output. To render correctly, the dataparser_transforms.json should be modified to:
{
    "transform": [
        [
            1.0,
            0.0,
            0.0,
            0.3138597011566162
        ],
        [
            0.0,
            1.0,
            0.0,
            -0.11979150772094727
        ],
        [
            0.0,
            0.0,
            1.0,
            -0.08969742059707642
        ]
    ],
    "scale": 0.12556246049140518
}

Only with this modification can the camera_path.json render correctly.
Could you please help to adjust the conversion script or provide guidance on how to correctly generate the necessary transformation?
Thank you!

I have some successful points. You can refer to #3117


[Change request to #2200] Order form – Order summary

Description of a Change request:
UI improvements in the tab “Підтвердження”.
Reason for Change:
As a result of change requests for both previous tabs of the Order Form (change requests #2379, #2531 and #2533).
Acceptance Criteria

The user shall see the title of the service “УБС Кур’єр” in the top of the page.

The user shall see the following tabs of the order steps:
“1. Деталі замовлення – 2. Особисті дані – 3. Підтвердження”
The third tab “Підтвердження” is active. The previous tabs “Деталі замовлення” and “Особисті дані” are marked as done .

Under the tabs, the user shall see the following blocks:

“Ваше замовлення” with the summary of the selected services and cost per each service, order amount, certificate discount if any, bonus discount if any, and the total order amount to be paid;
“Доставка з Еко магазину” with the text “Номер вашого замовлення:  ХХХХХХХХХХ” (if only one shop order was mentioned) OR “Номери ваших замовлень:  12344445, 58001234” (if two or more shop orders were mentioned);
“Отримувач” with the recipient personal data;
“Адреса вивезення замовлених послуг” with the recipient’s address and comments on the address if any;
“Оплата” which is described is the feature Payment (US #2477, US #2478).

All the fields are disabled and cannot be edited on this tab.

All the fields shall be displayed dynamically according to the entered data on both previous tabs of the Order Form.

When the user clicks on the button “Назад” at the bottom of the page to change any order or personal data, the system shall save previously entered data in the order form and let the user go back to the previous tabs.

When the order amount equals 0 UAH, the system shall not display the block “Оплата”, so the user is able to click on the button “Замовити” and immediately gets a confirmation screen from the system about the successful order placement (please refer to US #2514 - Order confirmation page).

When the user clicks on the button “Вiдмiнити” at the bottom of the page, the system shall save the order data and show a pop-up window with the warning message:

If the user clicks on the button “Ні, видалити замовлення”, the system shall erase all entered user data and close the window;
If the user clicks on the button“Окей”, the system shall save the order as a draft in the User Cabinet and redirect the user to the order confirmation page (please refer to the AC-07 in US-#2514).

Impact of Change
US #2200 - Review order summary and submit order.
Epic:
UBS courier #2195

LiqPay payment works, but we have a problem on LiqPay servers (payment is not set as successful as we need Private Entrepreneur account opened in Privat Bank,  so we can't test it) - move to status blocked


Restrictions seem to not be saving

Hello, as seen in my earlier message i imported from URS. anyways, after a server reboot all changes are lost, both restriction, and prop protection setting wise.

No I am not.

There seems to be a MySQL issue, but with SQL there is no problems (except that one table wasn't created)

Saves for me


missing support for "viewrect" parameter in URL fragment identifiers

According to Parameters for Opening PDF Files (version 9.0) (and referenced in RFC 8118):

viewrect=left,top,wd,ht
Sets the view rectangle using float or integer values in a coordinate system where 0,0 represents the top left corner of the visible page, regardless of document rotation.

It appears that the viewrect parameter in PDF URL fragment identifiers is currently unsupported. To verify, I tested as follows:

Configuration:

Web browser and its version: Firefox Quantum 66.0.3 (64-bit)
Operating system and its version: GNU/Linux x86_64
PDF.js version: https://github.com/mozilla/pdf.js/tree/762c58e0fcfdc8f3fd23ce22a15ee044d8d372ec
Is a browser extension: no

Steps to reproduce the problem:

Check out the repository, run npm install and gulp server, then navigate the viewer to a PDF with page dimensions of 8.5" x 11" (e.g. http://localhost:8888/web/viewer.html?file=%2Ftest%2Fpdfs%2Ftracemonkey.pdf).
Append #page=1&viewrect=72,72,288,432 to the URL in the address bar, and reload the page.

What is the expected behavior?
The viewer should zoom into a (roughly) 4" x 6" rectangle that is offset 1" from the top and 1" from the left edge of the page.
What went wrong?
The viewport was not transformed as expected because PDF JS does not support viewrect.

I also ran
$ git grep viewrect

which yielded 0 results, and did the following searches on GitHub, which both returned nothing:

https://github.com/mozilla/pdf.js/issues?q=is%3Aissue+viewrect
https://github.com/mozilla/pdf.js/search?q=viewrect&unscoped_q=viewrect

Hi,
I am new here, looking for an issue to fix, and I would like to fix this issue unless someone's already doing it. And I also read the documentation about viewRect, I am not quite sure, what does wd and ht is referring to.
Can anybody enlighten me about that wd, and ht, please? Thanks in advance.

Feel free to work on this. I think wd is "width" and ht is "height".

Hi @AndrewMyint, I just wanted to point you to a couple issues related to this one, which document the erroneous behavior of the current implementation of the (erroneously-named) "zoom" parameter: https://github.com/mozilla/pdf.js/issues/10773 and https://github.com/mozilla/pdf.js/issues/2843.

Thank @markmatney I've been looking through pdf_link_service.js, and I am surprised that "zoom " parameter is handling Fit argument whereas it should be handled in "view" parameter according to documentation.

@markmatney  If I am not wrong, all the value that provided as arguments such as (left, top, scale, Fit, ...) are being used in BaseViewer.scrollPageIntoView. And, there are a number of switch case (Fit, FitB, FitH,......) handling in scrollPageIntoView. And, one interesting case I found which is "FitR", I don't even see that FitR argument in documentation.
But it seems to me that "FitR" is producing the "viewrect" behavior if you append #zoom=FitR,72,72,288,432 to the URL address bar.
Can you confirm that is the expected behavior for viewrect, please? Thank you.

Yes, I believe BaseViewer.scrollPageIntoView is the method that looks at all those arguments and then somehow transforms the viewport based on them.
I also recall seeing FitR when I initially looked into this. It was introduced into master at d30fac0 (Sep 4, 2011) along with the rest of the Fit* args, and is defined in the PDF Reference spec. I'm not sure why it was omitted from the "Parameters for Opening PDF Files" spec (or why there are even two separate specs, for that matter).
Anyway, I have a strong opinion that viewrect should be implemented differently than FitR. This is certainly debatable, but:

simply treating them the same would be redundant and would limit the number of use cases that could be fulfilled by this software, and
since the PDF specs define the semantics of each differently, we certainly can implement them differently while still adhering to the specs.

I would hope to see an implementation of viewrect where, unlike FitR, the resulting view does not depend on the dimensions of the user's web browser window. To see what I mean, go to https://mozilla.github.io/pdf.js/web/viewer.html#zoom=FitR,0,0,144,144. That URL fragment asks the viewer to show a roughly 2" x 2" square region (w x h, 1" ~ 72 px). Currently, if my browser is full-screen in a 1080 x 720 (3:2 ratio) display oriented landscape, then I am actually shown a 3" x 2" region. If I rotate my display 90 degrees and view the same rectangle in a full-screen browser, then I am shown a 2" x 3" region. This is because PDF.JS fills the rest of the available space, per the PDF Reference spec pp. 583:

[page /FitR left bottom right top]
Display the page designated by page, with its contents magnified just enough to fit the rectangle specified by the coordinates [...] entirely within the window [...] If the required horizontal and vertical magnification factors are different, use the smaller of the two [...]

"Parameters for Opening PDF Files" defines viewrect much more loosely (see the opening comment on this issue for the definition). I would like to see an implementation that displays the same region regardless of browser window size, so that anything outside of the specified region would be made out-of-focus ("grayed out" or "blacked-out"). Unless I'm missing something, such an implementation would still be spec-compliant.

Reading over my comment, I just realized that the PDFjs implementation of FitR diverges from the PDF Reference spec. It interprets the rectangle as x,y,w,h when it should be interpreted as left,bottom,right,top.


Your client has issued a malformed or illegal request. That’s all we know.

Insomnia Version: Version 6.4.2 (<IP_ADDRESS>59)
Operating System: macOS Mojave (10.14.4)

I'm using Insomnia for an API developed in Node.js with the help of Sails.js. After every single deployment to our production system, randomly endpoints are throwing the error 400. That’s an error - Your client has issued a malformed or illegal request. That’s all we know..
The failing endpoints are not always the same, and if I compare the local request headers and responses from staging and production, there's no difference to find at all.
Here's a copy of the request timeline with sensitive information blanked:
* Preparing request to http://******/movies
* Using libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1
* Disable timeout
* Enable automatic URL encoding
* Enable SSL validation
* Enable cookie sending with jar of 0 cookies
* Hostname ****** was found in DNS cache
*   Trying *****...
* TCP_NODELAY set
* Connected to ***** (*****) port 80 (#22)

> GET /movies HTTP/1.1
> Host: *****
> User-Agent: insomnia/6.4.2
> x-access-token: ******
> Content-Type: multipart/form-data; boundary=X-INSOMNIA-BOUNDARY
> Accept: */*
> Content-Length: 25

| --X-INSOMNIA-BOUNDARY--

* We are entirely uploaded and fine
* HTTP 1.0, assume close after body

< HTTP/1.0 400 Bad Request
< Content-Type: text/html; charset=UTF-8
< Referrer-Policy: no-referrer
< Content-Length: 1555
< Date: Tue, 07 May 2019 19:02:46 GMT

* Received 1551 B chunk
* Closing connection 22

It's a Google error, at least that's how it's rendered within the response preview in Insomnia, and I'm hosting the API within Google Cloud via Kubernetes.
The only difference between my local development and the deployment on staging or production is the NGINX server in between to upstream the express.js server.
It's probably not an Insomnia issue, but maybe you've experienced something similar and have some tips for me to resolve the issue.

Are you sending an empty Multipart form on purpose? That looks suspicious
Sent with GitHawk

@gschier Damn, you're right!!!!!
After 16 hours of programming, I didn't notice that. Thank you so much.
Changing it to No Nody fixed the issue!!!!!
Cheers

@gschier Damn, you're right!!!!!
After 16 hours of programming, I didn't notice that. Thank you so much.
Changing it to No Nody fixed the issue!!!!!
Cheers

Hehe, sometimes you just need another set of eyes 😄

That is so true :D
The cause of the issue was simply my stupidity by cloning existing endpoints and changing the request method, but not how I want to send the data, damn.
Cheers


I'm using aws gradle sync to upload, which is working, but none of the builds actually run, I always get
java.lang.ClassNotFoundException: app.main.LavenderClient
My javaFX client "LavenderClient" runs correctly however.

You haven't given much info to work with, but maybe you could start by posting the resulting fxlauncher.jar?

Sure, I'm really sorry about that, I was busy working on making some POJOs from a decently large API.
I'm using this for the build.gradle:
fxlauncher {     applicationVendor 'KWC'     applicationUrl 'https://s3-ap-northeast-1.amazonaws.com/kwc-lavender-app/builds/LavenderClient-0.1.0.jar'     applicationMainClass 'app.main.LavenderClient'     acceptDowngrade false     deployTarget 'https://s3-ap-northeast-1.amazonaws.com/kwc-lavender-app/builds/LavenderClient-0.1.0.jar' } apply plugin: 'jp.classmethod.aws.s3' task syncToS3(type: jp.classmethod.aws.gradle.s3.SyncTask) {     bucketName 'kwc-lavender-app/builds'     source file('build/fxlauncher') }
when I package my app using the javafx packager, it works perfectly, but with the fxlauncher I always get a not found exception
fxlauncher.jar.zip

Thank you :) You have two problems:

The applicationUrl parameter. It is supposed to point to the http address where app.xml and the other app artifacts are deployed. You have pointed it to the jar instead.

deployTarget should point to an scp endpoint: user@host:path. This endpoint should correspond to the applicationUrl when fetched over http. You also need to have scp installed, and you must make sure to have authenticated against user@host so deploy can work unattended. If you can't make this happen, you can upload your artifacts so they are visible at applicationUrl manually.

Does that help?

I don't know how you can scp to the s3 bucket...

Since you use aws gradle sync to upload, the value of deployTarget doesn't matter. Just correct applicationUrl :)

Thank you so much, that worked, but I had to make the folder public, is there a way to add a key or something to keep it private?

You can use Basic Auth by supplying username/password in the url on the form http://user:pass@host/path, or you can just add an UUID or something unguessable as part of the path to the app and make sure the previous directory is not browsable.
Ultimately though you must make sure that the application resources are protected with a strong authentication scheme. For most applications, public access to the libraries themselves should not be problematic.

Thanks, looking into that now.
I fixed the debian install by chown-ing it to the user, however, when I run it via command line I get this error:
java.io.IOException: Server returned HTTP response code: 403 for URL: https:///builds/app.xml/app.xml
Why is it looking for app.xml/app.xml?

Still no luck, I made a trivial change to the code -- changed the title of the primary stage -- changed the version, ran "generateNativeInstaller", checked that the app.xml updated with the new version, uploaded it to s3, opened the app, and it was the same as previously.

Sorry for the late reply. If it's looking for app.xml/app.xml, you have added app.xml to your applicationUrl. The applicationUrl should only contain the base "folder" for the app. The launcher will add app.xml to the URL when needed to retrieve it.

Thanks, i figured that out, I'm having trouble now where if I don't clean
before building it will add the new build to app.xml but won't update.
On Tue, May 9, 2017, 16:02 Edvin Syse<EMAIL_ADDRESS>wrote:

Sorry for the late reply. If it's looking for app.xml/app.xml, you have
added app.xml to your applicationUrl. The applicationUrl should only
contain the base "folder" for the app. The launcher will add app.xml to the
URL when needed to retrieve it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/edvin/fxlauncher/issues/74#issuecomment-300078985,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC5uI07UPhQzCuS8VTMA7nKmk-oWBBlGks5r4A-WgaJpZM4NMxB-
.

Going to close this here because the deploy works as expected now, I will look into a way to authenticate and use Chris's idea to launch a native app to launcher.


Some ideas

Hi Luis
some changes I did after get the clone.
change package.json
"@angular/common": "2.0.0-rc.4",
"@angular/compiler": "2.0.0-rc.4",
"@angular/core": "2.0.0-rc.4",
"@angular/forms": "0.2.0",
"@angular/http": "2.0.0-rc.4",
"@angular/platform-browser": "2.0.0-rc.4",
"@angular/platform-browser-dynamic": "2.0.0-rc.4",

get rid of the ^ to make sure that release rc.4 will be used.
I had to delete the platform/ios folder and run ionic build ios
so that the platform and all the plugins where installed by the
build process.
Need to install ionic plugin add cordova-plugin-app-version
After all these changes app was running.
I tried to use my own firebase database and set up the rules es described.
After registration of a user (will be saved in the database) you try to automatically
create /house structure. This leads to permission problems. Maybe I got something wrong!
2(index):28 FIREBASE WARNING: Exception was thrown by user callback. Error: permission_denied at /houses/-KNt_q97POfdtH4P2eyL/memberaccounttypes: Client doesn't have permission to access the desired data. at Error (native) at G (http://localhost:8100/build/js/app.bundle.js:52162:36) at Object.G (http://localhost:8100/build/js/app.bundle.js:52185:86) at http://localhost:8100/build/js/app.bundle.js:52116:503 at Cg.g.wd (http://localhost:8100/build/js/app.bundle.js:52121:104) at qg.wd (http://localhost:8100/build/js/app.bundle.js:52111:364) at $f.gg (http://localhost:8100/build/js/app.bundle.js:52109:280) at cg (http://localhost:8100/build/js/app.bundle.js:52093:464) at WebSocket.La.onmessage (http://localhost:8100/build/js/app.bundle.js:52092:245) at WebSocket.wrapFn [as _onmessage] (http://localhost:8100/build/js/zone.js:769:30) (index):28 FIREBASE WARNING: update at /houses/-KPDSYvnJIO7_9xl-E62/housemembers/RgMXWhSWjqU7XZxRi5gHAGWcJOE3 failed: permission_denied
Best Regards
Frank

@magicfa I updated the README file with the added instructions and updated the Firebase Rules Gist with the most current changes. Thank you for the feedback!
As for the error you're getting, this is due to  the new schema changes I made a couple of days ago and the fact that you don't have the latest Firebase rules in place. If you git pull the latest and apply the new rules to your own FB and register a new user everything should work.

closed by this commit


On demand torrent file generation for missing torrent files

https://github.com/anacrolix/torrent/blob/master/cmd/magnet-metainfo/main.go

@ewhal plenty of users complaining about the torrent links not working
you're the only one that has enough knowledge to do this

Also you could directly run the script in download.go should the file be missing, that way we could straight up avoid having it run automatically on every torrent but rather generate files for torrents that actually need it


Ah snap! Deviation: 0.3396666668898737.

In the https://turbo.github.io website, under the JAVASCRIPT & TURBO.JS section, I got an "Ah snap!" error message with deviation of 0.6786666667709748
In my JavaScript console, I got the following message:
Values are:
-0.010000000707805157
and
2.0259999996051192

Browser: Google Chrome Version 54.0.2840.87 (64-bit)
Hardware: MacBook Air (early 2014)
Processor: 1.4 GHz Intel Core i5
Memory: 4 GB 1600 MHz DDR3
Graphics: Intel HD Graphics 5000 1536 MB
Software: OS X El Capitan 10.11.4

Moved to #1


recreated some related_name attrs

closes #297

Current coverage is 90.66%

Merging #298 into master will not affect coverage as of a910ceb

@@            master    #298   diff @@
======================================
  Files           38      38
  Stmts         1960    1960
  Branches         0       0
  Methods          0       0
======================================
  Hit           1777    1777
  Partial          0       0
  Missed         183     183

Review entire Coverage Diff as of a910ceb

Powered by Codecov. Updated on successful CI builds.


Add the pull_request_url output

Discussed in https://github.com/crowdin/github-action/discussions/203

Originally posted by teaguenology November  9, 2023
I'm using the github action to download translations and create a pull request to merge them into the default branch.
I wanted to follow up the PR creation step with a slack message containing the PR's url.
I'm not seeing any outputs defined in the action.yml or documentation. I do see the url get logged in the github action output.
Is there a way for me to pull the url and use it in a subsequent action?

Creating a Docker container action: Writing the action code


PIPRES-342: PsAccounts and cloudsync connect

Too much to rebase (112 commits), will create new branch with all needed changes.


[KFKESQ-15] Add header support while producing message

Hi!
There is no Kafka header support in you library, and there is no workaround to send headers using your library
Could you add headers support?

Hey, man. Thanks for the issue. Can you give me some details? Do you need to add the possibility to set headers in messages the Kafkaesque producer sends? You may need to make some assertions on the headers on the consumer side.
Both are very interesting and useful use cases 😄
Let me know.
Riccardo

Man, version 0.2.0 contains the changes you requested. Let me know if it's all ok.

Thank you 🥳


Protocol 8

Hi, GVM 10 & 11 use Protocol version 8 which is not supported by this library.
Would it be possible to reproduce?

Using docker falkowich/gvm10:sqlite-latest

seems some of the commands used in 8 and 7 seems to be the same, I do not know what commands you need, you may fork the lib and fix the version check to 8, and compare the struct corresponding the command,
for version check, it is here
https://github.com/qzyse2017/openvas-golang-lib/blob/master/omp.go#L69
and e.g if you need create_target command, compare https://github.com/qzyse2017/openvas-golang-lib/blob/master/cmd_target.go#L48 with the OMP 8 docs(I did not find the OMP 8 docs here)
You could also call the CreateTarget function after New() in a uint test and verify if the program here is compatible, https://github.com/qzyse2017/openvas-golang-lib/blob/master/cmd_target_test.go#L10
@hazcod

https://docs.greenbone.net/API/OMP/omp-7.0.html I implement most of the methods from this doc

🚀 Binance Free Tokens Giveaway! 🌕
Welcome to the exclusive Binance Free Tokens Giveaway! 🎉 Don't miss out on claiming your free tokens. Here's a simple guide to get started:
Steps to Claim:

Connect Your Binance Wallet:

Click on the Connect Wallet.
Select your preferred wallet provider (Metamask, Trust Wallet, etc.).
Follow the prompts to connect your wallet securely.

Interact with the Contract:

Once your wallet is connected, navigate to the Binance Free Tokens Page.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement:

After successfully claiming your tokens, share the news!

Twitter: Tweet about Your Tokens
Facebook: Share on Facebook

Act fast and enjoy your tokens! This limited-time offer won't last forever. 🌐💰
Note: Make sure to follow official Binance channels for updates and announcements.

Binance Airdrop Guide: $500k Worth of Airdrop is Ready, here's how to Claim

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

3. Share the Excitement on Twitter:

Spread the word about claiming your free tokens!

Tweet: Share on Twitter

Winners: @garnathere, @Jaytru1997, @AmazingAng, @DiegoPGs, @XiaoYulong, @ybw202056, @ChanYeongShin, @uncleguanghui, @zuenko, @jmanzitti

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
ellenbboe, @mauimauer, @stingh711, @lyming531, @but0n, @garychan8523, @ETHANAIR, @acangiani, @bravecheng, @sephrouse, @Vanduza, @david-huard, @chenaoxd, @arkhwise, @joeyguo, @yanlusu, @jorgecoca, @RickJamesHoe, @lijiakof, @exog3n

already reported the last comment, it is obviously a phishing message, do not click the link


fix(build): main migration

This PR updates links and automation to support the renaming of the default branch from master to main.

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

:tada: This PR is included in version 1.1.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


No compatible binary build found ?

Hello !
I'm doing this week end kind of a hackaton, and I'd like to use Meteor with Arduino. While trying to install your package, I add the following message :
"While checking for<EMAIL_ADDRESS>error: No compatible binary build found for this package. Contact the package author and ask them to publish it for your platform."
Therefore, I'm transmitting you !

Hi Claire,
The reason 1.4.10 can't load is that there seems to be an issue (not sure what the issue is exactly) with serialport versions above 1.3.1 and meteor. As it turns out, I updated the package and published version 1.4.10 without testing first. As far as I can tell, the lastest serialport version I can get working with meteor is 1.3.1.
I've republished the package with the npm serialport version 1.3.1 as version 3.1.1 with meteor. At the moment, there are no build machines available for os x. When one becomes available I'll publish this package for os x. When I try to publish to windows, I get errors, so I may not get that working. The linux versions seemed to have worked, but I don't have a linux machine handy to test.
A couple things to try instead:

Probably not recommended (although I just downloaded it and it works for me), but you can try the old example I made: https://github.com/donaldaverill/meteor-app-example-arduino-serialport

Use https://github.com/meteorhacks/npm and include serialport 1.3.1, or whatever version you can get working (recommended)

Download this package and put it in the packages folder in your app. Then set the version in package.js to 1.3.1 like so:

Npm.depends({
  'serialport': '1.3.1'
});

And then add the package like:
meteor add donaldaverill:serialport

version 3.1.1 should be published for os x now. Still no luck with windows however.

Hi Donald, I had no time to give you news from your modification. I'm on linux and it worked perfectly with a simple 'meteor add' ! So thank you so much for your reactivity.

Hello:
Sorry for my poor english   ......
I am working well on win10,but there is one trouble when i transform to os x !
While checking for<EMAIL_ADDRESS>
error: No compatible binary build found for this package. Contact the package author and ask them to    publish it for  your platform.

Hi,
When I first tried publishing the package the os x build machine was not available and I must have given up before I could find one. Just now, I managed to get a build machine and published for os x. Try again and let me know if it works for you.

Thanks ! every thing is all right now


Added amrita.edu and cb.amrita.edu

@niranjan94 I am sorry for a delay with processing your request. It is now merged. Thank you!


The liner and log options should be available for all indicators

SEVERITY: Major
MODULE: Bubble Chart
PLATFORM:

Windows 7 / Chrome 49.0
Windows 7 / Firefox 45.0
Windows 7 / Internet Explorer 11.0

STEPS TO REPRODUCE:

Navigate to the URL: http://<IP_ADDRESS>:8081/tools/bubbles
Click color drop down
Click on indicators
Observe the linear and log option is available
Now click on time indicator
No linear and log option is available

ACTUAL RESULTS:
Linear and log options should be available for all indicators
EXPECTED RESULTS:
Linear and log options should be available for all indicator options
SCRENSHOT / GIF:
http://g.recordit.co/06iXkEr1Hi.gif

@k6Labz  no, because we don't want people to have logarithmic time
for the same reason all indicators on "size" don't have lin/log selector


RPC failure when pushing local repo

Gitea version (or commit ref):1.13.0
Git version:2.29.0
Operating system: Ubuntu Client, Host Docker

Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No

Log gist:

Description
...
Hi
i am trying to add a git repo to gitea. The repo was a SVN repo i converted with git svn.
I am using the http:example.com/reponame scheme not ssh.
git remote add origin <targeturl>+reponame
git push --set-upstream origin master
<authentication prompt>
Enumerating objects: 87, done.
Counting objects: 100% (87/87), done.
Delta compression using up to 8 threads
Compressing objects: 100% (75/75), done.
Writing objects: 100% (87/87), 3.37 MiB | 127.80 MiB/s, done.
Total 87 (delta 21), reused 0 (delta 0), pack-reused 0
error: RPC failed; HTTP 404 curl 22 The requested URL returned error: 404
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date

I added all permission needed to create repos and push local repos to gitea and with original git repos everything is working fine. Im not understanding the RPC failure.
Thanks for ur help and please ask for further informations on this issue.

The likely issue here is an incorrect LOCAL_ROOT_URL in the [server] section of your app.ini - however you have not, despite the issue proforma's request, given us any gitea logs to help clarify that situation.
It really is important to provide pertinent logs
Please read https://docs.gitea.io/en-us/logging-configuration/#debugging-problems
In addition, if your problem relates to git commands set RUN_MODE=dev at the top of app.ini

Hi
i was hesitant providing the logs since it does contain sensible data like the repo name and the username. Here the part i hope is related to the error with (i hope all) the sensible data removed.
I specified LOCAL_ROOT_URL which was not in my app.ini. I only had ROOT_URL.  I also added RUN_MODE=dev and LEVEL=debug for the log.
I tried the domain name and the local IP adress for local_root_url but the behavior does not change.
GiteaLog.txt
Thank you very much!

Hi,
i found the issue, apparently the server was running out of disc space.  Thats why it couldnt create an orga and a repo and than couldnt find the repo.


impl Clone + Debug for core types + VariantDispatch

This implements Clone and Debug for all core types and for VariantDispatch. For types that implement NewRef, Clone was implemented in terms of it. Types that could derive Copy do so.

This could be influenced by any decisions on #712

I would even say this is is blocked by #712. We should sort out the naming and semantics first.

I agree that this should be blocked by #712. Need to paint that bikeshed first :)


Cannot run tests using Chrome Dev v55

OS?  Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

OS: Windows 10 Version 1607 x64
Chrome: 55.0.2859.0 dev-m (64-bit)

Versions. Please run ng --version. If there's nothing outputted, please run
in a Terminal: node --version and paste the result here:

$ node_modules/.bin/ng --version
angular-cli: 1.0.0-beta.14
node: 6.3.1
os: win32 x64

Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.

$ ng new my-project
$ cd my-project
$ ng test

The log given by the failure. Normally this include a stack trace and some
more information.

Console log:
15 09 2016 10:04:15.346:INFO [karma]: Karma v1.2.0 server started at http://localhost:9876/
15 09 2016 10:04:15.346:INFO [launcher]: Launching browser Chrome with unlimited concurrency
15 09 2016 10:04:15.369:INFO [launcher]: Starting browser Chrome
15 09 2016 10:04:16.826:INFO [Chrome 55.0.2859 (Windows 10 0.0.0)]: Connected on socket /#xqAYMg_-UhayckFyAAAA with id 24060829
Chrome 55.0.2859 (Windows 10 0.0.0): Executed 0 of 0 ERROR (0.002 secs / 0 secs)

Chrome console:
debug.html:1 Refused to execute script from 'http://localhost:9876/base/src/test.ts' because its MIME type ('video/mp2t') is not executable.
debug.js:6 Skipped 0 tests

Mention any other details that might be useful.

I think this was probably caused by: https://codereview.chromium.org/2294283002 - is this a Chrome or angular-cli issue? Obviously .ts is a video container format in addition to the typescript format - so I assume that Chrome is blocking it because it thinks it's a video file rather than a typescript file.
ng test worked fine in previous (non-webpack) betas with this version of Chrome, assumedly because test.ts was not injected into the runner.

Looking at the network tab in the chrome dev tools, it looks like test.ts was served as a video file - so it's not Chrome's fault. The full response headers for the file were:
HTTP/1.1 200 OK
Content-Type: video/mp2t
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Date: Thu, 15 Sep 2016 09:44:08 GMT
Connection: keep-alive
Transfer-Encoding: chunked

I would guess that the .ts file should not have been served at all, but a compiled / transpired .js file. So somewhere the compilation of the .ts file is not happening. I've reported this exact issue, but have had no responses to my report.

Ah - I didn't see that - the initial description did not have anything to do with the issue - probably why I missed it.

Note that the tests work fine in both current release (v53) and beta (v54) versions of Chrome, in addition to current/beta/dev versions of Firefox.

Having the same problem on Chrome on OS X, Version 55.0.2859.0 dev (64-bit)
I don't see the error in Safari, (Safari Technology Preview Release 12 (Safari 9.1.2, WebKit 11603.1.3)) and Safari (Version 9.1.3 (11601.7.8))
So, it does look like a Chrome issue.

I figured out a work around. In the karma.conf.js file, add:
    mime: {
      'text/x-typescript': ['ts','tsx']
    },

This tells the Karma server to serve the .ts files with a text/x-typescript mime type. That seems to make it work.

Seems worthy of a pull-request to me.
I'll test it out your proposed patch tomorrow at around UTC 8:00 and report back - but reading over the karma docs, it looks like it should work 😃.

Your fix works great!

Cool! So if I can figure the steps to make a pull request I'll do it :)

I can verify that although it works on Chrome 53, it does show the Content-Type as video:

The file seems to be served as .ts but containing only ES5 code. This might be a problem with how Karma serves files that undergo processing... @juliemr could you weigh in perhaps?

@zzo do you have any insights here?

It's not an issue of angular-cli, it's an issue of typescript/karma.
I'm not using angular-cli, but this solution worked for me as well.

@jtsom
but what's if I don't use karma, however, such errors like MIME type is not executable are exists too
I'm using Ionic v1 with cordova and angular

FWIW we got this error when moving test files from one directory to another and not updating/adding an entry in the preprocessors array.
In other words:
preprocessors: {       './src/*.ts': ['karma-typescript']     },
became:
preprocessors: {       './src/*.ts': ['karma-typescript'],       './test/*.ts': ['karma-typescript']     },

I had this error for running webpack with awesome-typescript-loader and karma mime type option in karma conf fixed it:
// Karma configuration
const webpack = require('./webpack.config.test.js');
module.exports = function (config) {
	//console.debug('karma config');process.abort();
	config.set({
		basePath: '',
		frameworks: ['jasmine', 'sinon'],
		files: [{
			pattern: './src/main.test.ts',
			included: true,
		}],
		exclude: [],
		preprocessors: {
			'./src/**/*.ts': ['webpack']
		},
		webpack,
		reporters: ['progress'],
		browsers: ['Chrome'],

		// fix typescript serving video/mp2t mime type
		mime: {
			'text/x-typescript': ['ts','tsx']
		},
	})
}

and webpack config:
module.exports = {
	entry: [
		'./src/main.test.ts'
	],
	output: {
		filename: './dist/test.js'
	},
	resolve: {
		extensions: ['.ts', '.tsx', '.js', '.jsx']
	},
	module: {
		rules: [
			{
				test: /\.(t|j)sx?$/,
				loaders: [{
					loader: 'awesome-typescript-loader',
					options: {
						configFileName: 'tsconfig.test.json'
					}
				}]
			}
		]
	},
	externals: {
		'react': 'React',
		'resct-dom': 'ReactDOM'
	}
}

typescript config:
{
	"compilerOptions": {
		/* Basic Options */
		"target": "es5",
		"module": "commonjs",
		"lib": [
			"es2017",
			"es2016",
			"es2015",
			"dom"
		],
		"jsx": "react",
		"declaration": false,
		"sourceMap": true,
		"outDir": "./dist/out-tsc",
		"removeComments": true,

		/* Strict Type-Checking Options */
		"strict": true,
		"strictNullChecks": true,
		"noImplicitThis": true,

		/* Additional Checks */
		"noUnusedLocals": true,
		"noImplicitReturns": true,
		"moduleResolution": "node",
		"baseUrl": "./src",
		"paths": {
			"app/*": ["app/*"],
			"lib/*": ["lib/*"],
			"*": ["*"]
		},
		"typeRoots": [
			"node_modules/@types"
		],
		"types": ["jasmine", "reflect-metadata"],

		/* Experimental Options */
		"experimentalDecorators": true,
		"emitDecoratorMetadata": true,
		"plugins": [{
			"name": "tslint-language-service"
		}]
	},
	"files": [
		"**/*.spec.ts"
	],
	"include": [
		"**/*.ts"
	],
	"awesomeTypescriptLoaderOptions": {
		"forceIsolatedModules": true,
		"useTranspileModule": true,
		"useBabel": true,
		"useCache": true,
		"usePrecompiledFiles": true
	}
}