Implement constructor dependency injection

Controllers must support DI of Angular services. The most uncomplicated way to achieve this is probably injection via constructor arguments:
class Ctrl($httpService: HttpService) extends Controller

Support explicit naming of service to be injected, e.g.:
class Ctrl(@Named("$http") httpService: HttpService) extends Controller


multiple items in one stage

im not full sure if this allows for multiple items to be put into one section or what
for example would you do it multiple like this
example 1
GamePhase.addItemRestriction("wool", "minecraft:white_wool", "minecraft:black_wool");
or this
example 2
GamePhase.addItemRestriction("wool", "minecraft:white_wool");
GamePhase.addItemRestriction("wool", "minecraft:black_wool");
or is there a for loop or something

Both is ok. You can also use loop in KubeJS.

ok wanted to make sure sense i didnt really see anything about it in the wiki


Indexing mispelling

https://docs.microsoft.com/fr-fr/azure/cost-management/understading-cost-reports
In the links there's a mispelling understading instead of understanding I hope it will increase the indexing

Détails du document
⚠ Ne pas modifier cette section. C’est obligatoire pour docs.microsoft.com ➟ Liaison des problèmes GitHub.

ID: 25ad8642-900c-9dc1-4462-6611bba34130
Version Independent ID: 87759ff9-54ac-8c83-66e9-440082573c08
Content: Compréhension des rapports de gestion des coûts dans Azure Cost Management
Content Source: articles/cost-management/understading-cost-reports.md
Service: cost-management
GitHub Login: @bandersmsft
Microsoft Alias: banders

@LSUPERMAN735, Thanks for the feedback. We are actively investigating and will get back to you shortly.

@LSUPERMAN735,
Thanks for bringing this to our attention. A doc fix has been initiated to update the url typo and will be reflected on the published doc shortly. We appreciate your feedback.

@lsuperman735 Thanks a bunch for catching this!

I'm glad and proud do not hesitate to ask me easy things (on programming) / translation or any other helps and I pleased if you follow me or help me back in the future

@LSUPERMAN735; confirming that the typo issue has been fixed at the source and will propagate to the localized French version in roughly 2 weeks. thanks again for catching this.


[BUGFIX] Load basket products with sArticles::sGetArticleById()

Load basket products with sArticles::sGetArticleById() instead of sArticles::sGetProductByOrdernumber() in sBasket::getBasketArticlesUncached(). This loads the products using the ProductService instead of the ListProductsService. This fixes a problem that the data in the "additional_data" field has always been loaded from the main variant even if you have a specific variant in the cart.

It is possible, that this change causes side effects. In older Shopware Versions the function sGetArticleById sets in some cases a new sCategoryId and changes the category array structure for the view.
In which case do you need more information based on the sGetArticleById method?

We found this issue while trying to display the reference price in the cart. After hours of debugging through the services and the struct converter and the mess in the core classes I found out that there is no bug in all of that but a bug in the logic: The list product service is not the right service for the cart because you want the information of the variant you have chosen in the cart. But using the list product service all information in addtional_data will be fetched from the main variant. This behavior is correct in lists since you cannot show variants except the main variant there.
If this PR does not suit for 5.1 perhaps you can merge it in the 5.2 branch? We plan to update our customers installation on time.

I'm not a shopware crew member :-) but i know that the shopware checkout will be refactored in the future daniel mentioned it in https://github.com/shopware/shopware/pull/540

I'm pretty sure this won't happen before Shopware 6.0 :-) And providing wrong product data to the cart/checkout is a bug which has to be fixed asap imho.

But a fix with new bugs is not a good fix ;-)

Any feedback @bcremer?

@FiveDigital we are busy with the Shopware Community Day atm. We will work down the github queue soon.

Okay, cu there :-)

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/#/issues/SW-15076.
Please use this issue to track the state of your pull request.


flink job restore state from checkpoint bug fixed. #3749

What changes were proposed in this pull request
Issue Number: close #3749

Brief change log

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

Does this pull request potentially affect one of the following parts

Dependencies (does it add or upgrade a dependency): (yes / no)

经过测试OK了

经过测试OK了

thanks


add snr estimation

tried that for selected emodb samples:

imho it's a bit too simplistic: by comparing high and low energy bands, speech with high arousal (e.g.: 'anger') gets predicted a higher SNR than speech with low (e.g. 'sad')

Yes, it is a very simple approach. I compared two methods in my experiment, one above using the percentile of energy and the other using the mean of energy to separate low and high energy. Using percentile leads smaller error but it needs improvements. There is another approach using deep learning model from speechbrain, but the performance is similar with additional limitations (cannot detect snr > 20 dB).


Marked setOptions returns marked

When calling setOptions on marked, marked merges its original options with the new options and returns itself.

marked/marked.d.ts
to author(@worr). could you review this PR?
:+1: or :-1:?
check list

[ ] pass the Travic-CI test?

lgtm

thanks mate!


chore: format with stylua

Let me know if you prefer other stylua settings :)

Thank you!
Please resolve the merge conflict, then I'll merge it.

Please resolve the merge conflict, then I'll merge it.

Done


Upgrade to .NET Core SDK 2.0.0

add support with netstandard2.0 for Consul project
add support with netcoreapp2.0 for Consul.Test project

It should merge into develop branch, close this.


Allow setting min and max replicas for Inference Graph router.

/kind feature
Describe the solution you'd like
Why can’t I set min replicas for the IG’s router ?
Today, this is not possible because of this https://github.com/kserve/kserve/blob/master/pkg/controller/v1alpha1/inferencegraph/knative_reconciler.go#L128
Whereas in case of ISVC we let minReplicas override ksvc’s min-scale as implemented here.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]

/assign @rachitchauhan43


Handling odata $batch

We would like to confirm if that if we have an OData $batch, will it work with the versions.
For example: we earlier had it as http://localhost/odata/$batch and in the payload we used to post the data with the changesets.
However if we use the versioned OData Controllers, giving a http://localhost/odata/v1/$batch also succeeds and so is http://localhost/odata/$batch.
We would like to know if the internal resource URL alone needs to be versioned like
/v1/Roles(1)... or the $batch url to be versioned and the internal URL's to be used without a versions or if both of them needs to be versioned.

The $batch route isn't a controller or service. It maps to a special handler that splits and joins the items. Since the batch route isn't a service, there's no reason to version it specifically. The default handler can process all API versions without modification.

I have an issue here, I have not used the version in the $batch. However, I have a route in my action method like the one below.
        [ODataRoute("Roles({RoleId})")]
        public async Task<IHttpActionResult> DeleteRole([FromODataUri] long RoleId, [FromODataUri] bool commitChanges = true)

When called using the batch handler, it does not construct the correct batch URL. i.e. the ODataRouteName property in the DefaultODataBatchHandler is set as null, due to which the OData url formed for the items in the batch is rendered as wrong and the batch fails.
public class ServiceBatchHandler : DefaultODataBatchHandler
{
	public override Uri GetBaseUri(HttpRequestMessage request)
	{
	    System.Diagnostics.Trace.WriteLine("The default route name is: ", ODataRouteName);

	    var formedBaseUri = request.GetODataBatchBaseUri(ODataRouteName);

	    return base.GetBaseUri(request);
	}
}

The same code without API Versioning is working fine and fails with this versioned model alone. Kindly note that, I suspect that the ODataRouteName property is set as null and also the routes does not contain the route named as "odata". I checked the request.GetUrlHelper().Route(.. ) to see if the routes collection contains a route by name "odata" and that one too fails. The following are the route config done in the webapiconfig.cs file
config.MapVersionedODataRoutes("odata", "odata", models, odataBatchHandler);
config.MapVersionedODataRoutes("odata-by-path", "odata/v{apiVersion}", models,odataBatchHandler);
config.MapVersionedODataRoutes("odata$batch", "odata$batch", models, odataBatchHandler);

All of these experiments are being carried out on .Net Framework 4.5.1 and Versioning DLL version <IP_ADDRESS>.
Since this issue is taking toll on the time, any help in fixing or understanding the right routing configuration would be of great help.

I think I have enough information to put together a repro. In fact, I may have even have a batching example laying around. If you have your own repro that you can share, that will be immensely useful. Ensuring that I have the same starting point as you helps accelerate my investigations. Feel free to post the *.zip here or a link to the project. Thanks.

Thanks for you reply. Sure thing, I will prepare the repro app and share it within this time tomorrow, so we can arrive at a conclusion and be on the same page.

Please note that, I have the code available here. Kindly use this repository code to test out the issue. The issue can be found when you attempt to do an OData $batch call as per the below given postman script.
POST /Services/odata/$batch HTTP/1.1
Host: localhost:60351
Content-Type: multipart/mixed; boundary=batch_1506596024110
Cache-Control: no-cache
Postman-Token: 603e7230-f976-ba43-c66c-5fe06cf72c97

--batch_1506595850678
Content-Type: multipart/mixed; boundary=changeset_1506595870398
Prefer: odata.continue-on-error

--changeset_1506595870398
Content-Type: application/http
Content-Transfer-Encoding: binary
Content-ID: 0
Prefer: odata.continue-on-error

DELETE Employees(1) HTTP/1.1
Host: localhost:50443

--changeset_1506595870398--
--batch_1506595850678--

Please review the same and share your comments and how it can be achieved without using Attribute Routing or otherwise.

Thanks for the repro. A couple of things right off the bat:

You have both OWIN and the legacy IIS host setups; I'm not sure exactly which one you're using

My examples use OWIN (over IIS), but that doesn't mean you have to
I chose to use OWIN so the example between ASP.NET Core and Web API have greater parity

Since you enabled implicit versioning, the item in the current batch will work, but don't forget that other API versions will require an explicit API version - DELETE Employees(1)?api-version=2.0.
I'll continue examining what you have and return a working example to you. I don't see anything thus far that would prevent things from working. I've enabled batching with API versioning many times.  Aside from the mixing of OWIN with the legacy IIS hosting, there was only one real issue. The two routes defined on the ValuesController were ambiguous. This was true even without API versioning. I temporarily removed API versioning to verify. You may want to  test your routes standalone before adding API versioning or disable versioning to test out templates.
Once I had that working, I tried using a batch request in Postman. Here's the working request I used:
POST http://localhost:60351/Services/odata/$batch HTTP/1.1
User-Agent: Fiddler
Content-Type: multipart/mixed; boundary=batch_36522ad7-fc75-4b56-8c71-56071383e77b
Host: localhost:60351
Content-Length: 686

--batch_36522ad7-fc75-4b56-8c71-56071383e77b
Content-Type: application/http
Content-Transfer-Encoding:binary

GET services/api/values HTTP/1.1

--batch_36522ad7-fc75-4b56-8c71-56071383e77b
Content-Type: application/http
Content-Transfer-Encoding:binary

GET services/api/values/42/constants HTTP/1.1

--batch_36522ad7-fc75-4b56-8c71-56071383e77b
Content-Type: application/http
Content-Transfer-Encoding:binary

GET services/odata/Employees(1) HTTP/1.1

--batch_36522ad7-fc75-4b56-8c71-56071383e77b
Content-Type: application/http
Content-Transfer-Encoding:binary

DELETE services/odata/Employees(3) HTTP/1.1

--batch_36522ad7-fc75-4b56-8c71-56071383e77b--

And here is the response:
HTTP/1.1 200 OK
Content-Type: multipart/mixed; boundary=batchresponse_3916ea37-f27a-4272-88e5-6bbab12e5a09
Server: Microsoft-IIS/10.0
OData-Version: 4.0
X-SourceFiles: =?UTF-8?B?QzpcRGV2XFByb2plY3RzXFJuRFw0NTFBcGlWZXJzaW9uaW5nXDQ1MVdlYkFwaVxvZGF0YVwkYmF0Y2g=?=
X-Powered-By: ASP.NET
Date: Mon, 02 Oct 2017 01:54:23 GMT
Content-Length: 1200

--batchresponse_3916ea37-f27a-4272-88e5-6bbab12e5a09
Content-Type: application/http
Content-Transfer-Encoding: binary

HTTP/1.1 200 OK
api-supported-versions: 1.0
Content-Type: application/json; charset=utf-8

"from values controller without any versions"
--batchresponse_3916ea37-f27a-4272-88e5-6bbab12e5a09
Content-Type: application/http
Content-Transfer-Encoding: binary

HTTP/1.1 200 OK
api-supported-versions: 1.0
Content-Type: application/json; charset=utf-8

"Constants for 42."
--batchresponse_3916ea37-f27a-4272-88e5-6bbab12e5a09
Content-Type: application/http
Content-Transfer-Encoding: binary

HTTP/1.1 200 OK
api-supported-versions: 1.0
Content-Type: application/json; odata.metadata=minimal; odata.streaming=true
OData-Version: 4.0

{
  "@odata.context":"http://localhost:60351/Services/odata/$metadata#Employees","value":[
    {
      "EmployeeId":1,"FirstName":"kqwcgdaq.fim","LastName":"b1k42fth.szx"
    }
  ]
}
--batchresponse_3916ea37-f27a-4272-88e5-6bbab12e5a09
Content-Type: application/http
Content-Transfer-Encoding: binary

HTTP/1.1 204 No Content
api-supported-versions: 1.0

--batchresponse_3916ea37-f27a-4272-88e5-6bbab12e5a09--

V451VersionCheck.zip

Thanks for your response. I will check out with my original source, this exercise served a good understanding of routing. I will make corresponding change and let you know help required if any.
Your help is greatly appreciated :)

I have the impression you were able to get batching working as expected. If you continue to encounter issues, feel free to come back or reopen the issue. Thanks.


Springify json-transformer. Upgrade to new versions of haystack-metrics,

haystack-logback-metrics-appender, and haystack-log4j-metrics-appender;
doing so allows Logback and Spring to function properly when Logback
decides to "reset" the logging system before it's fully running. (This
is the first time that we've used Logback and Spring together; the
Pipes modules that were already Springified use log4j 2.)

Coverage remained the same at 100.0% when pulling abdabbdd9a58363ea1d24d6fd9e3f2a268c54f7e on SpringifyJsonTransformer into e1cc1b6b0bbde427d927869903bcf79d2e29ea4c on master.


invalid mode shortname

Is this on me?
To give this plugin a quick test run, I tried setting it up for descriptions only. So

in packer: use {'folke/which-key.nvim', config = [[require('wk')]]}
wk.lua just has the copy pasta default opts inside the wk.setup function, and then require('maps')
maps.lua is a longer version of:

local wk = require('which-key')
local opts = {mode = 'n', prefix = '<leader>', buffer = nil, silent = true}
local maps = {
  [','] = 'comment',
  ['.'] = 'vimrc',
  [';'] = 'substitute',
  ['\\'] = 'nv tree',
  ['<Left>'] = 'mv buffer next',
  ['<Right>'] = 'mv buffer previous',
  ['='] = 'balance windows',
  ['h'] = 'split below',
  ['H'] = 'treesitter highlight',
  ['j'] = 'any jump',
  ['k'] = 'pick buffer',
}
wk.register(maps, opts)

Thank you for reporting. When exactly does this error appear?
Just tried your config and it works.  Is there a certain prefix that triggers this error?

hmmm. it happens immediately upon pushing the leader key. maybe there's a leftover parameter or clash somewhere from another which-key plugin. i'll debug some more to isolate it.

Just to be sure you don't call :WhichKey on <leader> right? No need to do that as with vim-which-key.

It also seems to effect the d and g keys in normal mode. So neither d$ nor gg do anything. I'm kinda stumped.

ok ya that definitely is it.

@klooj great. Can you show the exact keympaping you had in place that caused this?
I'll see if I can show a warning when someone else has leftovers from vim-which-key and handle it properly

I had this nnoremap <silent> <Leader> :WhichKey '<Space>'<CR>

fershur. so there were two parts:
first, this is how i set my leader keys. i had to comment out those 4 lines in order for the popup to work. i think it's just a timing thing that could  be fixed on my end.

second, these are the keymaps i had (there wrapped in a custom function )

That definitely caused it. You don't need to set any special keymaps for WhichKey to work.
Just pushed a change that shows an error when such a invalid keymap is called, so other users with the same issue will know what to do. Also updated the README.

Your first 4 lines in the first screenshot are <nop> operations, so if those were loaded AFTER WhichKey, it wouldn't work. But why would you want to add these in, in the first place? :)

When using certain gui's for nvim, they mess with the mapping of leader keys. So I put that in there to take control of the situation. Getting the perfect portable vimrc is comically similar to whack-a-mole,

this plugin is great. everything is working and I was able to jettison two vim-peekabo and vim-signature. three plugins for the price one.
fwiw, you may want to use wk.register({["j"] = "which_key_ignore", ["k"] = "which_key_ignore"}) for the example in the readme, so that people who have jk jj kj etc mapped to esc in insert mode can copy paste or at the very least be gently reminded they'll need to do it.


Latest monaco editor build likely broken

Built yesterday fine. Broken just today.

All builds https://travis-ci.org/basarat/monaco/builds
Today's build https://travis-ci.org/basarat/monaco/builds/199465864#L960 Suspect a test definition has gone wonky (or missing)

[02:12:47] Error: /home/travis/build/basarat/monaco/vscode/src/vs/workbench/parts/welcome/gettingStarted/test/common/gettingStarted.test.ts(13,1): Cannot find name 'suite'.

As always, just felt it would be helpful to report early. Love your work / monaco :rose: :heart:

Can you try updating and rebuilding. I've been trying to move us to use @types to manage our d.ts files and this may have broken that build

Can you try updating and rebuilding.

Still failing https://travis-ci.org/basarat/monaco/builds/200739766#L961
Thanks for looking into it :rose:

It looks like your build is synced to https://github.com/Microsoft/vscode/tree/8ac90919c0c23ede2d64a9281f09e40830de01de
You need to sync to at least 17ed384683d6712fca1ba96f8f729ab347d84359 to see if the fix worked

It looks like your build is synced to

No. Its synced to whatever is latest on master at the time when the build is run. Relevant code https://github.com/basarat/monaco/blob/d01f946a7815112eeed7702431844a964ca212da/prepare.sh#L12-L13
In the log you can see HEAD is now at f65c156 Merge pull request #18980 from chirag64/master https://travis-ci.org/basarat/monaco/builds/200739766#L190 which corresponds to commit https://github.com/Microsoft/vscode/commit/f65c156 which contains
https://github.com/Microsoft/vscode/blob/f65c156e71612da878432672b487c6969b5dda2c/build/monaco/package.json#L16-L19

That said I just realize that npm install is run in the vscode root. Had to do this in the past https://github.com/basarat/monaco/blob/d01f946a7815112eeed7702431844a964ca212da/extensions/preBuild.ts#L111 as the npm install changed for monaco vs. vscode (but still relied on the one in vscode). Seems like its been cleaned up so I shouldn't need to run the npm install for vscode. Will investigate and report back :rose:

:heart: Got it working https://travis-ci.org/basarat/monaco/builds/201329773
I did identify winreg types missing from the api package.json but present in the vscode  root package.json : https://github.com/basarat/monaco/blob/d0c41417b6fb79c2e305a5d77b29f39aef819dbc/extensions/preBuild.ts#L56-L58
I am sure there are others but merging vscode dev deps with api dev deps unblocks me now. Thanks for your help! :rose:


Help wanted

As you can probably see I'm having a hard time keeping up with the issues, I'd appreciate some help.
Let me know if you are willing to lend a hand and I'll add you as a collaborator.
@bobek-balinek since you contributed recently, are you interested?

@andreamazz yeah I'd love to help where I can, thanks!


angular2 installation of d3

Hi,
Just wondering how to properly install d3js into angular2 project? I installed it using npm install d3 and import import * as d3 from 'd3'; in my .ts file but IDE is giving me a redline saying "can't find module".
I've also added it in my systemjs.config.js
var map = {
'd3':                         'node_modules/d3/build'
};
// packages tells the System loader how to load when no filename and/or no extension
var packages = {
'd3':                          { main: 'build.js', defaultExtension: 'js'},
};

Sorry, but I don’t know anything about Angular2 so I can’t say how it needs to be configured.
If you’re trying to find D3’s ES2015 module definition, it’s defined by the jsnext:main field in the package.json and it currently resolves to index.js. If you’ve installed D3 using npm install d3 then you’ll find it in node_modules/d3/index.js.
If you’re trying to find D3’s UMD bundles, there are actually three. The build/d3.js and build/d3.min.js bundles are for the browser, including AMD. There is also a CommonJS bundle for Node, build/d3.node.js.

Hi,
Thanks for your answer, I did try node_modules/d3/index.js however its saying tracerur.js is missing, does d3js using  tracerur dependency or vise versa?

D3 does not depend on Traceur. Perhaps Angular is assuming that Traceur is
(incorrectly) needed because of the use of ES2015 modules. But that is the
only ES2015 feature used by D3 so there are no runtime dependencies.
On Tue, Jul 12, 2016 at 7:27 PM estradamarkie<EMAIL_ADDRESS>wrote:

Hi,
Thanks for your answer, I did try node_modules/d3/index.js however its
saying tracerur.js is missing, does d3js using tracerur dependency or vise
versa?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/d3/d3/issues/2900#issuecomment-232212058, or mute
the thread
https://github.com/notifications/unsubscribe/AAOEjYI0u9jS0vRW9DLBOeRR5C8ZtLuRks5qVCLvgaJpZM4JK0J5
.

@estradamarkie could you solve this problem?

This is the same problem I am facing. I am using
Angular : 2.1.1,
Type Script : 2.0.10,
Did an npm install d3
Typescript was not finding the d3 module, I made these changes changes in system.config.js
`System.config({
paths: {
// paths serve as alias
'npm:': 'node_modules/',
'typings:':'typings/'
},
// map tells the System loader where to look for things
map: {
// our app is within the app folder
app: 'app',
        // angular bundles
        '@angular/core': <EMAIL_ADDRESS>        '@angular/common': <EMAIL_ADDRESS>        '@angular/compiler': <EMAIL_ADDRESS>        '@angular/platform-browser': <EMAIL_ADDRESS>        '@angular/platform-browser-dynamic': <EMAIL_ADDRESS>        '@angular/http': <EMAIL_ADDRESS>        '@angular/router': <EMAIL_ADDRESS>        '@angular/forms': <EMAIL_ADDRESS>
        // other libraries
        **'d3':'npm:d3'**
     },
    // packages tells the System loader how to load when no filename and/or no extension
    packages: {
        app: {
            main: './main.js',
            defaultExtension: 'js'
        },

        **d3: {
            defaultExtension: 'js',
            main : 'index.js'
        }**
    }`.

After this the d3 import was resolved. However I am getting a 404 on Traceur.
Installed traceur module.  Then NONE of the d3 modules were resolved. All got a 404.
At wits end here.

Looks like I am not alone. Stackoverflow has lots of questions and very little approved answers
http://stackoverflow.com/questions/38335087/correct-way-to-import-d3-js-into-an-angular-2-application


spin bindle push failed

when I push my spin to bindle ,i get a error
spin bindle push --file spin.toml

Error: Failed to push bindle to server

Caused by:
    0: Failed to push bindle from '/var/folders/qz/yslvsynn7759ymsywz9krplh0000gp/T/.tmpfFWXhC' to server at 'http://localhost:8080/v1'
    1: Invalid TOML
    2: expected a table key, found a left brace at line 1 column 1

my bindle server toml
address = "<IP_ADDRESS>:8000"
bindle-directory = "/var/run/bindle"

my bindle server start by

./bindle-server --config-path ./server.toml   --unauthenticated

my spin create by

spin new http-rust spin-hello-world

I change nothing in the spin.toml
spin_version = "1"
authors = ["xingyuntian<EMAIL_ADDRESS>description = ""
name = "spin-hello-world"
trigger = { type = "http", base = "/" }
version = "0.1.0"

[[component]]
id = "spin-hello-world"
source = "target/wasm32-wasi/release/spin_hello_world.wasm"
[component.trigger]
route = "/hello"
[component.build]
command = "cargo build --target wasm32-wasi --release"

If I read this correctly, you are running your Bindle server port 8000 and the command is pushing to port 8080 - is that right?  If so, is there something else running on 8080, maybe something that might be returning a JSON response?
If I'm misunderstanding and the addresses do match, could you try turning on logging (RUST_LOG=spin=trace), and could you also try doing a spin bindle prepare and sharing the generated invoice?  Thanks!

Yes， it is my mistake, thank you very much for your prompt reply

Great, thanks for letting us know!  I'll close the issue.


Check wrong cases

These cases have errors for the current version with bytecode. We need to check them in the current version, also add tests for them

Function:

fun foo(): Boolean {
    println("public second example foo")
    return true
}

Query:
SmartReflekt.functions<() -> Boolean>().filter { it.isTopLevel && it.name == "foo" }.resolve()

Function:

fun <T> foo(): List<T>

Query:
SmartReflekt.functions<Function0<List<*>>>().filter { it.isTopLevel && it.name == "foo" }.resolve()

Enum case

Closed according to PR#50


Set Events Screen

Hey, I want to work on set Events screen as below please assign me this.

/assign

Duplicate https://github.com/Lakhankumawat/smart-home-app/pull/40


Copy of your app on Google Play (Copyleft violation)

Hi @agateau
I found this app on the Google Play Store. This guy just took your source code, added some ads in it and put it on the Store, without warning this is free software...
As you are the owner of the source code, feel free to open a request to google here to remove this copy from the Store, if it's your wish ;)
Don't forget to tell Google that:

The app is licensed under Apache 2 license and this guy is violating it;
He is falsely claiming he made the app;
Provide some screenshots of your own app.

Hi, thanks for pointing this out. While this app is of bad taste, the author does not really violate the Apache 2 license: nothing in this license forbids doing what he is doing. The only thing I can contest is that the license links points to the license websites instead of the license itself.
It would have been a different story if the app had been licensed under GPL.
Still, that fork is of very poor taste, so what can be done is to rate it 1 star and explain it is a copy. Just did that.

I found this app on the Google Play Store.

We're sorry, the requested URL was not found on this server.


The -d option for parquet-schema shouldn't have optional argument

According to ShowSchemaCommand.java, the -d | --detailed option doesn't require an optional argument. The hasOptionalArg() call should be removed.
Reporter: Cheng Lian / @liancheng
Note: This issue was originally created as PARQUET-13. Please see the migration documentation for further details.

Ryan Blue / @rdblue:
Merged. Thanks [~lian cheng]!

Dmitriy V. Ryaboy / @dvryaboy:
The PR is in https://github.com/apache/incubator-parquet-mr/pull/11
@julienledem do I need special git access? My attempts to follow the docs resulted in this:
Merge complete (local ref PR_TOOL_MERGE_PR_11_MASTER). Push to apache? (y/n): y
Username for 'https://git-wip-us.apache.org': dvryaboy
Password for<EMAIL_ADDRESS>
fatal: Authentication failed
Restoring head pointer to 9ad5485c
Note: checking out '9ad5485c'.

(btw the script assumes a remote called apache-github while dev/README.md says github-apache...)


stripe connect multi-accounting, namespacing, and webhooks

problem: merchants can disconnect xiome from their stripe account, and link another. xiome's store schema doesn't account for this, and isn't able to track customers/subscriptions/etc for the different accounts -- so currently, everything explodes.
solution: xiome needs a more sophisticated connect aparatus.

[x] all store schema is namespaced to a specific connected stripe account.
[x] the active stripe store is whichever was most recently connected. i suppose merchants need a big old disconnect button?
[x] ❔ use stripe-connect webhooks to track changes to the stripe accounts in our own database (cut down on requests)

[ ] looks like we need a way to recover the disconnected stripe accounts.

the problem, is that every connected stripe account is always a new stripe account. if your account has a bunch of customers, subscriptions, etc -- we need a way to reconnect that existing stripe account?
it's possible it doesn't quite work that way -- it's possible that the stripe connect popup actually allows people to reconnect an existing account?
testing is needed to determine how stripe handles this

standard stripe accounts, as sub-accounts of a platform -- CANNOT be disconnected

this is great, because we can trash all of our code and worries regarding disconnection/reconnection

[ ] testing needed: can different merchants update the singular stripe account?
[ ] decision needed: should our schema allow for multiple stripe accounts per xiome community? or can we safely trash it?
[ ] if we're going down to singular-stripe: we need to trash all the connectId namespacing

looks like stripe doesn't want us to authorize multiple users for the stripe account
instead they want us to use Teams in the dashboard via email
this means, in some future case, we may need to introduce an emergency switch-stripe-account feature
which means we'll probably keep the stripe account namespacing, just in case (otherwise it would make abandoning/switching stripe accounts impossible in the future)


Support url.query and url.fragment

API change check
API changes are not detected in this pull request.


fix clothing equip event desync

About the PR

See https://github.com/space-wizards/RobustToolbox/issues/3732, although that issue is for a tangential bug. This bug affected blindfolds and maybe a few other things. The client would run the event multiple times and so it would add/remove many sources rather than one.
https://user-images.githubusercontent.com/60792108/214673339-f8147730-bf0e-40b3-b2e0-90eaa2615a53.mp4
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: Rane

fix: Fixed a blindfold exploit.

DNM.
@ElectroJr so, this fixes items that receive states from running events twice. it breaks items that don't receive states.

are you coming back to this

are you coming back to this

see the engine issue

To be clear, the engine fix is required to fix the bug without introducing more regressions or adding a bunch of superfluos LOC

it breaks items that don't receive states. I'm not sure what the current solution is that will work for all items. It maybe needs that engine fix?

Which components was it breaking? Its quite possible that those components should just be networked but aren't.
Alternatively, if the client really relies on these events getting raised, then blindable should probably be refactored to replace int Sources with just raising a cancellable attempt that sources can cancel whenever a new source gets added or removed.

Which components was it breaking? Its quite possible that those components should just be networked but aren't.
looking back at the regression issue when this was briefly merged on nyano, it broke clothing and inventory almost completely

Which components was it breaking? Its quite possible that those components should just be networked but aren't.

looking back at the regression issue when this was briefly merged on nyano, it broke clothing and inventory almost completely


introduce i18next base localization

TODO

[x] Footer.tsx
[x] Landing.tsx
[x] Navbar.tsx
[x] BrowsePage.tsx
[x] DungeonPage.tsx
[x] HistoryPage.tsx
[x] NotFoundPage.tsx
[x] ProvenancePage.tsx
[ ] WaifuDetail.tsx Couldn't tell static data from dynamic data
[x] WalletPage.tsx

@QuantumlyTangled  Thanks heaps, looks great! <3


Truncated overflow menu

@asudoh
I get a truncated overflow menu no matter wherever I place.

here is the flip class you asked me to add: https://github.com/rehat101/carbon/blob/master/src/overflowmenu.component#L14

@rehat101 The class should be bx--overflow-menu--flip - Two dashes between menu and flip. Probably Mac’s automatic conversion to “fancy dash” came across to our conversation and my apologies if it’s the case.

@asahlin - Thanks, works on the table nicely as you can see above.

However, I have a menu on the header and the dropdown still overlaps the edge of the browser. Below is the full screenshot

@rehat101 Great that you finally got right-aligned overflow menu. Wrt the 2nd screenshot - I’m afraid you’ll meed to move the trigger button slightly to the left.


Conditional operators return Integer?

scratch$ lily bug.lly
SyntaxError: Argument #2 to List.reject is invalid:
Expected Type: Function (Integer => Boolean)
Received Type: Function (Integer => Integer)
    from bug.lly:2
scratch$ cat bug.lly
var ls = [10,20,30,40]
ls.reject{|x| x == 20 || x == 40} |> print

That's a relic from a long time ago. Originally, Lily didn't have Boolean class, so conditionals were done through Integer values. I never got around to fixing it.
If you're looking to contribute, you can probably fix this by going to emitter's and/or handling and using o_get_boolean instead of o_get_integer, and fixing any tests that might break (I doubt that will happen though).
I'm about to go to sleep and, otherwise, I can get to it tomorrow since I'm 99% sure this is super easy.

Well, it was easy to fix in eval_logical_op - the key was replacing integer_class with boolean_class in when getting storage.
Now for the not-so-easy part: your basic tests broke, basically because you assume that logical results are integers.  So, how to proceed - shall I make tests work with strict comparisons? Or is there some deeper thinking to be done?
ok({||
    var a = 1, b = 2, c = 3
    a = b = c
    var result = ((a == 3 && b == 3))
    result == 1}(),                       "Basic assignment chain.")   # becomes 'result == true' etc

Basically, with those few changes, all the pass tests pass. Shall I do up a PR?

The rot lies deeper, I think
print("2343".is_digit() == true)
==> false

which is because is_digit returns an integer, which I can see from the implementation.

That's a definite bug then. Same issue again: String.is_digit was made before Boolean was added on, and I missed some conversions from Integer to Boolean.
But if you can fix it, a PR would be gladly accepted.

Cool, all tests fine here with mingw...now I'll submit the and/or PR

Whoops, forgot to close this when I did the merge.


[minor] Downsize CoreDNS to 1 replica

Currently the cluster is run with 2 CoreDNS replicas. We can downsize it to 1. It is not possible to set this in the kubeadm configuration as this is hardcoded.
We would need to change this "after the fact", either programmatically, or by kustomizing the output of:
kubeadm init phase addon coredns --print-manifest

There is a kubectl patch command that does just that.

In go:
       config, err := k8s.LoadFromDefault()
       if err != nil {
           return err
       }
	var client *kubernetes.Clientset
	if client, err = config.Client(); err != nil {
		return err
	}

    patch := `[{"op": "replace", "path": "/spec/replicas", "value":1}]`
    client.AppsV1().Deployments("kube-system").Patch(context.TODO(), "coredns", types.JSONPatchType, []byte(patch),metav1.PatchOptions{})

Not tested.


Error updating the DB in kali

I had problems updating the data base in a Kali 2017.3 machine using a Docker machine as Postgres DB:

The value of the version variable of my machine was:

I solved this patching the line 46 of /usr/local/lib/python3.6/dist-packages/asyncpg/serverversion.py
I changed:
from: [int(p) for p in parts][:3]
to: versions = [int(''.join(s for s in str(p) if s.isdigit())) for p in parts[:3]]

Witch version of Postgres are you using?

10.2
I followed the guide and I downloaded a new docker machine with Postgres just running:
docker run -d -p 5432:5432 -e POSTGRES_USER=patton -e POSTGRES_DB=patton postgres
And the Postgres version that is installed by default is this one (10.2)

It's appears that it's a known fail with the driver and Ubuntu:
https://github.com/MagicStack/asyncpg/issues/250
I just run released a new version of patton-server with an small fix. Then I tried:
> docker run -d -p 5432:5432 -e POSTGRES_USER=patton -e POSTGRES_DB=patton postgres:10.1
> patton-server init-db && patton-server update-db
Above commands works well for me. Could you run again with Postgres version 10.1 and the new version of Patton-server. To update on execute:
pip install -U patton-server

Perfect, following that instructions there was not any errors.
Thank you very much for the help and for the software!


fixes 1176

Note for myself. If [this] has an OK to go, this PR needs the same exact changes.

If you look slightly closer to the tests, I have only added some tests, not altered others, and they still pass, so imho: we are good

@ryanjbaxter this is still building, but it needs a bit of more attention from your side, as it introduces some @Deprecated things...

The idea of this PR is as follows:

cache items on each initial call to a certain namespace (KubernetesClientConfigMapsCache and Fabric8ConfigMapsCache, same for Secrets). Don't cache List<ConfigMap>, but List<StrippedSourceContainer> - because we need the latter everywhere. This is one more tiny optimization done here.
discard entries from the cache once the computation of property sources is over, otherwise we will be stuck with them in memory, though they would never be required anymore.
Because of this discard, I need to create a ConfigMapCache interface, in commons package and KubernetesClientConfigMapsCache (fabric8 too) need to implement it. This happens because I call discardAll in ConfigMapPropertySourceLocator::locate as the very last thing, and this one resides in commons package.
Since the actual instance of ConfigMapCache is provided outside commons package, for example ConfigDataRetryableConfigMapPropertySourceLocator - I need to introduce a @Deprecated constructor, one does not accept a ConfigMapCache parameter. I've also created a PR that drops these deprecations, but obviously can go only in the next major release.

I hope this is helpful @ryanjbaxter

yup, all good with JFrog now, build passes with latest main merged...

This looks good to me, thanks.  You mentioned creating some PRs to remove deprecations in the next major.  Right now we are unsure when that next major will be, so IDK how long those will sit there for, it will likely won't be this year.

I'm fine with that, all I have to do is tag them and sometimes merge main into them. I don't know if you recall, but we had a few PR likes this before; when time comes - they will be ready.

I honestly hope I will be around here for more than that :)

Me too!


Need to return the gradients from optimizer

Need to return the gradients from the optimizer for calculating the training-free metric

the gradients are returned in the line 242 of https://github.com/apache/singa/commit/d9831d917ae0918749faacf5a611b161cbdd1fc9#diff-882c3945309d2e5184aa4c29cbbcc2eb0c95911af8319b5332d049ba72f55aecR242

In Line 432 of https://github.com/apache/singa/blob/dev-postgresql/examples/model_selection_psql/ms_mlp/train_mlp.py#L432
the gradients are returned and used in the training process

resolved in https://github.com/apache/singa/commit/d9831d917ae0918749faacf5a611b161cbdd1fc9

resolved in https://github.com/apache/singa/commit/d9831d917ae0918749faacf5a611b161cbdd1fc9


add-date-created-tag policy

Add DateCreated Tag to Resources

Added "web app should always be on" policies and "remote debugging for web apps should always be off" policies


Simply not working :(

This plugin looked like great extension for my Greylog server. But unfortunatelly is not working.
I followed all instructions, created my new bot, started chat there, in Greylog created new alert, filled in Chat ID (which I hope is the botname) and Bot token. But when I send a TEST message, greylog confirms it was sent successfuly, but in telegram there is nothing. Messages never arrive.

Added instructions to the readme (step 2), now it should be clear what to enter and where to get it from.

OK you added more clear info to step 3, but when I do it exactly like describet, the web page answer me this:
{"ok":true,"result":[]}
Thats all, nothing more, no ID.

OK you added more clear info to step 3, but when I do it exactly like described:
https://api.telegram.org/bot592623293:AAGDj37tPtKVjxy4cp-GGE8BVgiEw0YdQNc/getUpdates https://api.telegram.org/bot592623293:AAGDj37tPtKVjxy4cp-GGE8BVgiEw0YdQNc/getUpdates
the web page answer me this:
{"ok":true,"result":[]}
Thats all, nothing more, no ID.

On 14 Apr 2018, at 02:35, Jonas Bögle<EMAIL_ADDRESS>wrote:
Added instructions to the readme (step 2), now it should be clear what to enter and where to get it from.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/irgendwr/TelegramAlert/issues/5#issuecomment-381290459, or mute the thread https://github.com/notifications/unsubscribe-auth/Aj3v9afAg2RSvuMcR-s-EI8ymPcksAzIks5toUQ1gaJpZM4TJlRv.

Did you write a message to the bot as I wrote in the instructions?
Because it clearly works:

After going to the link (ending in getUpdates) I get:
{"ok":true,"result":[{"update_id":535536457,
"message":{"message_id":4,"from":{"id":137286840,"is_bot":false,"first_name":"Jonas","username":"irgendwr"},"chat":{"id":137286840,"first_name":"Jonas","username":"irgendwr","type":"private"},"date":1523707156,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}]}

So my ID is 137286840.

yes:

On 14 Apr 2018, at 14:13, Jonas Bögle<EMAIL_ADDRESS>wrote:
Did you write a message to the bot as I wrote in the instructions?
Because it clearly works:
https://camo.githubusercontent.com/06d12fb6ab4ede0855390a9d9ec3904a6b02ba22/68747470733a2f2f692e696d6775722e636f6d2f5649643562524b2e706e67
After going to the link (ending in getUpdates) I get:
{"ok":true,"result":[{"update_id":535536457,
"message":{"message_id":4,"from":{"id":137286840,"is_bot":false,"first_name":"Jonas","username":"irgendwr"},"chat":{"id":137286840,"first_name":"Jonas","username":"irgendwr","type":"private"},"date":1523707156,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}]}
So my ID is 137286840.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/irgendwr/TelegramAlert/issues/5#issuecomment-381324896, or mute the thread https://github.com/notifications/unsubscribe-auth/Aj3v9aHc_yfSp2X0snuFwrZx2obp4zCQks5toefUgaJpZM4TJlRv.

Write a message to your bot and send me a screenshot.

I’ve send you a screenshot in last email already

On 14 Apr 2018, at 14:19, Teresa Kim Morgan<EMAIL_ADDRESS>wrote:
So my alerts are going to you but not to me. I am a programmer/linux/mac user so I followed strictly all instructions but result is zero success :(

On 14 Apr 2018, at 14:17, Jonas Bögle<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Well, then try again. This has nothing to do with my plugin.
Btw: I get the test alerts from Graylog, so it works.
Am 14.04.2018 14:14:53 schrieb Teressss<EMAIL_ADDRESS><EMAIL_ADDRESS>yes:

On 14 Apr 2018, at 14:13, Jonas Bögle<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Did you write a message to the bot as I wrote in the instructions?
Because it clearly works:
<https://camo.githubusercontent.com/06d12fb6ab4ede0855390a9d9ec3904a6b02ba22/68747470733a2f2f692e696d6775722e636f6d2f5649643562524b2e706e67 https://camo.githubusercontent.com/06d12fb6ab4ede0855390a9d9ec3904a6b02ba22/68747470733a2f2f692e696d6775722e636f6d2f5649643562524b2e706e67>
After going to the link (ending in getUpdates) I get:
{"ok":true,"result":[{"update_id":535536457,
"message":{"message_id":4,"from":{"id":137286840,"is_bot":false,"first_name":"Jonas","username":"irgendwr"},"chat":{"id":137286840,"first_name":"Jonas","username":"irgendwr","type":"private"},"date":1523707156,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}}]}
So my ID is 137286840.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <https://github.com/irgendwr/TelegramAlert/issues/5#issuecomment-381324896 https://github.com/irgendwr/TelegramAlert/issues/5#issuecomment-381324896>, or mute the thread <https://github.com/notifications/unsubscribe-auth/Aj3v9aHc_yfSp2X0snuFwrZx2obp4zCQks5toefUgaJpZM4TJlRv https://github.com/notifications/unsubscribe-auth/Aj3v9aHc_yfSp2X0snuFwrZx2obp4zCQks5toefUgaJpZM4TJlRv>.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub [https://github.com/irgendwr/TelegramAlert/issues/5#issuecomment-381324985], or mute the thread [https://github.com/notifications/unsubscribe-auth/AQ-tImY8UeM64syWY9byBlja6MnQz6Fmks5toeg6gaJpZM4TJlRv <https://github.com/irgendwr/TelegramAlert/issues/5#issuecomment-381324985], or mute the thread [https://github.com/notifications/unsubscribe-auth/AQ-tImY8UeM64syWY9byBlja6MnQz6Fmks5toeg6gaJpZM4TJlRv>].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/irgendwr/TelegramAlert/issues/5#issuecomment-381325170, or mute the thread https://github.com/notifications/unsubscribe-auth/Aj3v9a_d-Aarj90sd3-utlHaLR4cgmVFks5toej3gaJpZM4TJlRv.

I didn't receive anything (you can see for yourself on GitHub).
You need to send a link, GitHub doesn't support images sent as e-mail attachments.

After two minutes it started to work. I don’t get it. As you saw, I sent on the april 6th a sample message to activate the bot, but messages from graylog were not working. Now I did the same and it started to work. So I don’t understand where was the problem. Also on the page https://api.telegram.org/bot592623293:AAGDj37tPtKVjxy4cp-GGE8BVgiEw0YdQNc/getUpdates https://api.telegram.org/bot592623293:AAGDj37tPtKVjxy4cp-GGE8BVgiEw0YdQNc/getUpdates it generated for me a new ID. So why was not working the fisr ID and why did it gave me a new ID. A wonder if next week it gives me new ID and I will have to restup it greylog :(

On 14 Apr 2018, at 15:20, Teresa Kim Morgan<EMAIL_ADDRESS>wrote:
I sent a message again right now. Send test message from graylog = successuly sent, but did not arrived to bot. = the same behaviour.

On 14 Apr 2018, at 15:19, Jonas Bögle<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Do as I said:
Well, then try again.
Today is the 14th of April so this is older than a week.
Obviously the messages won't appear for ever in the telegram api, that's why I told you to try again.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/irgendwr/TelegramAlert/issues/5#issuecomment-381328676, or mute the thread https://github.com/notifications/unsubscribe-auth/Aj3v9YAEn-v01-Jkx7z0PArPfJgO-od6ks5tofdFgaJpZM4TJlRv.

it generated for me a new ID. So why was not working the fisr ID and why did it gave me a new ID. A wonder if next week it gives me new ID and I will have to restup it greylog :(

You probably copied the wrong ID or something.
Telegram ID's don't change, they are always the same, otherwise they would be useless. ^^

So how you explain this:
https://api.telegram.org/bot592623293:AAGDj37tPtKVjxy4cp-GGE8BVgiEw0YdQNc/getUpdates https://api.telegram.org/bot592623293:AAGDj37tPtKVjxy4cp-GGE8BVgiEw0YdQNc/getUpdates shows:
there are two ID inside:
{"ok":true,"result":[{"update_id":535536457,
"message":{"message_id":4,"from":{"id":137286840,"is_bot":false,"first_name":"Jonas","username":"irgendwr"},"chat":{"id":137286840,"first_name":"Jonas","username":"irgendwr","type":"private"},"date":1523707156,"text":"/start","entities":[{"offset":0,"length":6,"type":"bot_command"}]}},{"update_id":535536458,
"message":{"message_id":71,"from":{"id":418262411,"is_bot":false,"first_name":"Teress","last_name":"M","language_code":"en-CZ"},"chat":{"id":418262411,"first_name":"Teress","last_name":"M","type":"private"},"date":1523711978,"text":"blablabla"}}]}

On 14 Apr 2018, at 15:24, Teresa Kim Morgan<EMAIL_ADDRESS>wrote:
After two minutes it started to work. I don’t get it. As you saw, I sent on the april 6th a sample message to activate the bot, but messages from graylog were not working. Now I did the same and it started to work. So I don’t understand where was the problem. Also on the page https://api.telegram.org/bot592623293:AAGDj37tPtKVjxy4cp-GGE8BVgiEw0YdQNc/getUpdates https://api.telegram.org/bot592623293:AAGDj37tPtKVjxy4cp-GGE8BVgiEw0YdQNc/getUpdates it generated for me a new ID. So why was not working the fisr ID and why did it gave me a new ID. A wonder if next week it gives me new ID and I will have to restup it greylog :(

On 14 Apr 2018, at 15:20, Teresa Kim Morgan<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
I sent a message again right now. Send test message from graylog = successuly sent, but did not arrived to bot. = the same behaviour.

On 14 Apr 2018, at 15:19, Jonas Bögle<EMAIL_ADDRESS><EMAIL_ADDRESS>wrote:
Do as I said:
Well, then try again.
Today is the 14th of April so this is older than a week.
Obviously the messages won't appear for ever in the telegram api, that's why I told you to try again.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/irgendwr/TelegramAlert/issues/5#issuecomment-381328676, or mute the thread https://github.com/notifications/unsubscribe-auth/Aj3v9YAEn-v01-Jkx7z0PArPfJgO-od6ks5tofdFgaJpZM4TJlRv.

The first one is my ID and the second one is yours.
You can use a json lint tool (paste json and click on "lint") to format the json structure in a readable way.

Btw: I wouldn't send the link with your private bot token in a public discussion because people can use it to control the bot and send you spam or something.

OK thanks. Can you delete it?
BTW now it is working great. Super plugin. Keep up good work, thanks

On 14 Apr 2018, at 15:43, Jonas Bögle<EMAIL_ADDRESS>wrote:
Btw: I wouldn't send the link with your private bot token in a public discussion because people can use it to control the bot and send you spam or something.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/irgendwr/TelegramAlert/issues/5#issuecomment-381330154, or mute the thread https://github.com/notifications/unsubscribe-auth/Aj3v9Y8FvZOu7pM0hWbMdThsVqGZf9K6ks5tofzngaJpZM4TJlRv.

Yup, no problem.


Pre-populating selectize element with items from database

I have looked far and wide for examples on how to do this.
I am trying to pre-populate items from a database into a select element using the Selectize jQuery plugin. The idea is that the user has previously selected item(s) and comes to this page to edit or add more items.
From what I can tell, you populate an array using the "items" option. I have had zero success trying to get this to work.
Here is my code. I have copied what the database query returns:
$('#nsn').selectize({
persist: false,
maxItems: null,
valueField: 'id',
labelField: 'name',
searchField: ['nsn', 'part_name', 'id'],
sortField: [
{field: 'nsn', direction: 'asc'},
{field: 'part_name', direction: 'asc'}
],
items: [
{nsn: '2840-01-461-8833NZ', part_name: 'adfasdfasdf', id:'562'},
{nsn: '1111-22-333-4444', part_name: 'afafdsdf', id:'902'}
],
options: [
{nsn: 'NA', part_name: 'F100 Variable Vane', id:'329'},
{nsn: 'N/A', part_name: 'F100 Variable Vane', id:'331'},
{nsn: '6685-01-281-6849AW', part_name: 'Generator Oil Temperature   Indicator', id:'672'},
{nsn: '6680-01-350-8049RK', part_name: 'Fuel Quantity Indicator', id:'391'},
{nsn: '6680-01-350-8048RK', part_name: 'Indicator, Liquid Quantity', id:'367'},
{nsn: '6680-01-224-7271RK', part_name: 'Fuel Quantity Indicator', id:'390'},
{nsn: '6680-00-220-4090RK', part_name: 'Fuel Quantity Indicator', id:'389'}
],
render: {
item: function (item, escape) {
var name = formatName(item);
return '' +
(item.nsn ? '' + escape(item.nsn) + ', ' : '') +
(item.part_name ? '' +    escape(item.part_name) + '' : '') +
'';
},
option: function (item, escape) {
var name = formatName(item);
var label = name || item.nsn;
var caption = name ? item.nsn : null;
return '' +
'' + escape(label) + '' +
(caption ? '' + escape(caption) + '' : '') +
'';
}
},
create:false
});
So based on the array in the "items" option, two items should appear already selected in the multiselect. Everything else works perfectly. Any help is appreciated.

The issue tracker is for bugs/issues within the source.
This question is better suited for StackOverflow or similar. I'd suggest closing this issue.


error: need help

I got this error when i run devika.py
RuntimeError: Failed to import transformers.pipelines because of the following error (look up to see its traceback):
cannot import name 'formatargspec' from 'inspect' (C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2288.0_x64__qbz5n2kfra8p0\Lib\inspect.py)

use to python 3.10 please


chore(deps): update common-dev-assets digest to aa7b5cb

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
4d733b1 -> aa7b5cb

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

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


After update to Meteor 1.2 getting WARNING: Tried to load angular more than once, just for one template

Ok, I know this is weird, and I don't even know under what exact circumstances this is happening. I'll try to explain the best I can.
So  I have a module with a ui-router $state defined like this:
angular.module('app.manager.events.newevent', ['app.shared'])

.config(
['$urlRouterProvider', '$stateProvider',
function($urlRouterProvider, $stateProvider){

	$stateProvider
		.state('manager.events.newevent', {
			url: '/newevent?name',
			templateUrl: 'client/manager/events/newevent/newevent.ng.html',
			controller: 'ManagerEventsNewEventCtrl'
		});
}]);

This was working perfectly ok, but after upgrading to Meteor 1.2, when going to this 'manager.events.newevent', I get the following errors:
WARNING: Tried to load angular more than once.
angular.js:12477 Error: only one instance of babel/polyfill is allowed
    at Object.eval (eval at <anonymous> (http://localhost:3000/packages/jquery.js?bd30605bc9f8429d01bae2d29081902d10a6c400:373:22), <anonymous>:2963:9)
    at Object.2.core-js/shim (eval at <anonymous> (http://localhost:3000/packages/jquery.js?bd30605bc9f8429d01bae2d29081902d10a6c400:373:22), <anonymous>:2966:4)
    at s (eval at <anonymous> (http://localhost:3000/packages/jquery.js?bd30605bc9f8429d01bae2d29081902d10a6c400:373:22), <anonymous>:2861:254)
    at e (eval at <anonymous> (http://localhost:3000/packages/jquery.js?bd30605bc9f8429d01bae2d29081902d10a6c400:373:22), <anonymous>:2861:425)
    at eval (eval at <anonymous> (http://localhost:3000/packages/jquery.js?bd30605bc9f8429d01bae2d29081902d10a6c400:373:22), <anonymous>:2861:443)
    at eval (eval at <anonymous> (http://localhost:3000/packages/jquery.js?bd30605bc9f8429d01bae2d29081902d10a6c400:373:22), <anonymous>:7124:4)
    at eval (eval at <anonymous> (http://localhost:3000/packages/jquery.js?bd30605bc9f8429d01bae2d29081902d10a6c400:373:22), <anonymous>:7131:3)
    at eval (native)
    at http://localhost:3000/packages/jquery.js?bd30605bc9f8429d01bae2d29081902d10a6c400:373:22
    at Function.jQuery.extend.globalEval (http://localhost:3000/packages/jquery.js?bd30605bc9f8429d01bae2d29081902d10a6c400:374:7)

So for me, the WARNING: Tried to load angular more than once error usually is because a problem with the template, so I checked it and everything is ok (it was working before, so pretty sure the file and the folder were the same).
This is the structure of the folder:
client
 |-- manager
      |-- events
           |-- newevent
                |   newevent.ctrl.js
                |   newevent.ng.html
                |
                |-- lib
                     |   newevent.module.js

I already tried to change ".ng.html" with just ".html" (just for that file), but it didn't work.
Something I realized is that, when browsing to that state, the browser is requesting the file:
http://localhost:3000/client/manager/events/newevent/newevent.ng.html

Like it wasn't finding the template in the templates cache (I guess when meteor builds, all templates are loaded in the template cache).
As I say, I don't know when this is happening exactly. I have more modules with the exact same folder and file structure as "newevent", and they work fine. I tried to reproduce it creating a new one, and seems that depending on the naming on the folder, I can reproduce it or not... but I don't know how accurate is this.
Any ideas?

I'm getting it too....

Definitely a problem with not recognizing location of templates.
In my case, it was a strange problem. In one of the templates i had login, and when I changed href to ui-sref="login" it worked.

I am having the same issue. I have two applications. It is working for one but not for another.
I checked the templates cached in below folder structure for the app which is working but there are not template cache files for the app which is not working.

.meteor

local

build

program

web.browser

app

client

myfolder

template.file_name.js (auto generated file for template cache)

Same here

Just commenting what I already said in #888 about template caching, that I think the problem is not there.
I created a new Meteor 1.2 fresh project, copied over the code and installed the needed packages, and de result was exactly the same.
I am wondering if there is some way of maintaining Meteor 1.1 way of parsing templates, while using the new angular package. Just as a workaround until we don't know more about this problem, and also to test if that fixes it, that will mean that the problem is on the new template parsing packages. I am trying to remove "angular-templates" from the project, but it gives me the error: "angular-templates is not in this project." Maybe because it is installed as a depencency and not listed in "packages"...

You guys should take a look in the javascript files to see what templates are being put in the template cache. You should see blocks of code similar to:
(function(){

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                //
// packages/packagename/path/to/template.filename.js                                 //
//                                                                                //
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                                                                                //
angular.module('angular-meteor').run(['$templateCache', function($templateCache) {
$templateCache.put('/packages/packagename/path/to/filename.html',"...html...");
}]);
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

}).call(this);

Maybe the file does get processed and included, but with a wrong filename.
There might be more issues than only the caching issue for renamed files.

I was wondering if I was the only one having this problem and found this open issue... As it's mentioned earlier, this seems to be happening since latest 1.2 version.
Here is what worked for me:
Instead of using templateUrl: 'client/parties/views/parties-list.html', I completely remove the path and just kept the template name parties-list.html and it worked!

Hhmmm.. interesting @sebakerckhof
In my case, the "template cache file", which is named template.newevent.ng.js it is in fact storing a different template! This is the content of the file:
(function(){
  angular.module('angular-meteor').run(['$templateCache', function($templateCache) {
    $templateCache.put('client/manager/events/editevent/editevent.ng.html',"
 <event-editor></event-editor>
");
  }]);
}).call(this);

So it is storing the template client/manager/events/editevent/editevent.ng.html, which of course is not the one I need :stuck_out_tongue:

OK, I think I know what the problem is! (At least in my case :stuck_out_tongue: )
So the two templates in conflict in my case editevent.ng.html and newevent.ng.html have something in common. Well, they have everything in common, except the name: the content of the file is the same. (This is because some TODOs and that the directive used there behaves different depending on the $stateParams).
Probably the compiler is somehow ignoring the newevent.ng.html template, as it already has one with the same content in cache (or something like that). I changed the content just adding some div, and everything worked.
I am not sure if this happens in other slightly similar cases... as I remember reproducing the issue multiple times with not the exact same folder structure and/or template content... But maybe in thoses cases the cache had something to do...
What I am totally sure, is that after changing on of the templates a bit, and removing cached files, it definitely worked.

@EvilJohnny Then it's the same issue as: https://github.com/Urigo/angular-meteor/issues/888
It's because the caching only looks at the source code to generate the cache key.
Sounds good to me :smiley:

Fixed in 1.2.3


add twitch command

Retrieves the channel and shows its offline/offline status

I have no idea how to access their API (why can't it just be simple!)


only local users

it seems, as x11docker is not able to use directory-accounts:
x11docker ERROR: Could not find user 'aburger' in /etc/passwd.
is there a solution for this beside to create a local user?
regards
andreas

This is because there is no recent release of x11docker. This is fixed in master, but the README tells you to install like so: curl -fsSL https://raw.githubusercontent.com/mviereck/x11docker/master/x11docker | sudo bash -s -- --update, which downloads from master, but then "updates" to the latest stable version (which doesn't have the fix).
Install x11docker with the --update-master flag instead:
curl -fsSL https://raw.githubusercontent.com/mviereck/x11docker/master/x11docker | sudo bash -s -- --update-master


Update Sharded.java

Using "shard name" that should be nothing to do with "weight"

LGTM!

LGTM!
@HeartSaVioR It's been a long time. I'm not changing label in case you have a second thought.

LGTM!
@HeartSaVioR It's been a long time. I'm not changing label in case you have a second thought.
@marcosnils ?

Merged into master, 2.10. Thanks @xqinghu for contribution!


Update color theme & logo

Goal: update the Uploader branding to match the February arbimon.org launch
Suggested changes:

All logos to new Arbimon logo (inside the app and the app icon)
Poppins font everywhere (avoid using ABCFavorit because it might cause sizing issues)
New color scheme matching arbimon.org

Notes:

Avoid changes that will affect layout

[ ] Update RFCx logo to Arbimon on Arbimon uploader icon to one of these icons https://drive.google.com/drive/folders/1k6_EvPjTnFpDqdCyfWeTtC3n_ANuvr1f?usp=sharing


[Event request] Missing event in Codeunit 224

To migrate a NAV ISV add-on to BC:
In the EmplPostApplyEmplLedgEntry function, we need an event similar to codeunits 226 and 227 right before GenJnlPostLine is called:
OnBeforePostApplyEmplLedgEntry(GenJnlLine,EmplLedgEntry);   GenJnlPostLine.EmplPostApplyEmplLedgEntry(GenJnlLine,EmplLedgEntry);

Some of my issues newer than this one have been looked at/addressed, so i just want to check if this one is still going to be looked at.  We're hoping to be able to release our app for the May release.


[BUG-FIREFOX] When opening a Microsoft Form, deadnames do not get changed to preferred name

When opening a Microsoft Form, deadnames do not get changed to preferred name
Reproduction Steps:

Open a Microsoft Form where the form's owner will see the submitter's name & email.
The text "Hi, [DEADNAME]. When you submit this form, the owner will see your name and email address." will appear instead of "Hi, [PREFERRED NAME]. When you submit this form, the owner will see your name and email address."

Additional Information:
Plugin Version 1.2.2
Firefox Version 92.0 64-bit
Ubuntu 20.04.2 LTS

I'm able to reproduce this bug with the same Plugin and Firefox versions on MacOS 11.6.
As far as I can tell, the root of the issue is that React state updates mutate the DOM in a way that is not detected by the MutationObserver used by the extension to watch the page for updates to content.
I examined the Form that I used to reproduce the bug using the Firefox devtools, and determined that it initially renders the page without the user's Microsoft Account name on it, then gets the name via a network request and updates the page to show it. This is most likely accomplished using a React state update, based on the fact that the page's minified source code includes the React source code and appears to call into it when it updates the page with the user's name.
I was able to reproduce this behavior using this example React page and this modified build of the extension. To see it in action, clone both repos, open the example React page by running yarn start from the root of its repo, and follow the instructions in the README to build and sideload the modified extension. Configure the application with any preferred name and the deadname firstname middlename lastname, then enable it. In the already-open example React page, the display name should change to the preferred name. However, if you reload the example page and click the button, the display will still have the deadname; if you check in the browser console, it will demonstrate that the MutationObserver only saw the text update on the initial pageload, and not the later update from the React state.
Because much of the extension architecture is based around the use of the MutationObserver, and I don't know of a workaround that would adapt it to listen for React state updates, I'd rather not submit any PRs against this behavior until the repo maintainer(s) have made a decision about if and how they'd like to re-architect the extension with this in mind. I would argue that this is an important issue to address, since React is used for a lot of websites these days, though I don't have a better suggestion in mind than replacing the user's deadname in the DOM at some fixed interval, which would be less efficient than the MutationObserver approach, and I believe was also already tried and was considered not to be performant enough.


Circle CI config

Replacing Drone with Circle CI.

Looks like we've hit this isort bug: https://github.com/timothycrosley/isort/issues/457

All issues should be fixed now!


OnEvict callback implemented

In order to perform cleanup procedures for evicted items I have added an optional cleanup callback.
See also issue #6
Please accept that pull request and create a new library version.

Done and available here
thank you for your PR !


Howto setup category?

Hi, guy ,can you figure me out howto setup the category in the _config.yml?
I follow the scripts in the official doc, while it still can't work.
Any help is appriated, thanks.

what category?

It also happened to me. The category, tag and archive entries on the left panel don't expand&collapse at all. Tags and categories are shown normally in the main page.

Any error in console?

I checked in the console, firefox console report "block loading mixed active content", that is http content in a https page. I manually release the block on that page and everything is ok. Is it possible to transform the mixed active content i.e. the javascript content into https?

Plus, after reloading the page, http content is blocked again. It is quite annoying.

Fixed with commit dcdce1412598804733a40a363d6ce44a4b597acc


[Enhancement] RPM update pid file localtion in tmpfiles.d setup

[/usr/lib/tmpfiles.d/opensearch.conf:1] Line references path below legacy directory /var/run/, updating /var/run/opensearch → /run/opensearch; please update the tmpfiles.d/ drop-in file accordingly.

This has shown in new RH8/CentOS8/RockyLinux8, I think it is time for us to update this at some point.
The file is taken from OS and OSD core so would need to update it accordingly.
Thanks.

@bbarani
I have observed a lot of packages from official centos/fedora repo is referencing the legacy run pid folder. We can update this once we stop supporting RH/CentOS 7 and AL2.

Tagging https://github.com/opensearch-project/opensearch-build/issues/1563

See comment here as we probably can ignore these right now, due to pids are now created in /run anyway.
We can leave things as it be, or worst case just remove the tempfiles generation entirely.
https://github.com/opensearch-project/opensearch-build/pull/3435

More:
So seems like both OS and OSD are providing tmpfiles conf, but none of them actually put it in /var/run due to its deprecation, but rather /run
OS has -p to redirect the pid file
or rather make an additional copy beside /run
OSD I have yet to see that tho.


Tutorial on quantification

Hi team Scanpy,
Thanks for developing this awesome suite of library and above all actively maintaining it.
I found this tutorial page very helpful to get started for exploring the world of single-cell in python, using one stop libraries of scanpy.
I am curious if you are interested in adding some tutorials related to quantification of the RNA-seq data i.e. in scanpy world it would be preprocessing step to generate the cell-v-gene counts. I am one of the author of the tool alevin, we developed for quantifying 3' droplet based single cell data, somewhat in the line of Cellranger, although ours is a principled approach to consume the gene multi-mapping reads instead of dropping them all together. I have been writing some of the tutorials myself here but was wondering is there a way of supporting them directly in scanpy.
The default output format (cell-v-gene matrix) of alevin is a binary format but it would be interesting to check if we can directly dump or post process it to annDataformat. I have been doing some analysis comparing various output formats (h5, mtx, csv, loom Eds) through their disk size, loading time and memory usage here.
Looking forward to hearing back.

Hi @k3yavi, I would be great to have a tutorial in which an alevin generated matrix is loaded into scanpy. Your suggestion is to have such a tutorial hosted by scanpy or you plan to add it to your list of tutorials?

Hi @fidelram ,
Thanks for the response.
I think either or both would be great. Excuse my ignorance, what's the efficient to interact with scanpy, I am guessing annData ? If annData I am again guessing that the object can be efficiently made given the CSR/CSC sparse matrix or is there already a support to import other binary matrix formats ?
Currently alevin dumps EDS (a binary matrix format), and I wrote a small Rust library to convert it to other formats (h5, csv, mtx) and found EDS is faster to load and uses less memory, at least in R. We have a support of EDS in R world through Mike Love's awesome tximport package. Since scanpy provides great support and efficient implementation of various single-cell analyses for the python world, I'd love to make EDS import and alevin interaction for downstream processing as efficient as possible.

@k3yavi The right place to ask those questions is on the AnnData repository where all the read and write functions are located. Here you can find the available read options. You are welcome to contribute! Would be great if AnnData can read EDS files.

Sure, thanks for the pointer.


Dummy device platform

Because the desktop platform doesn't play nice with running as a daemon:

Oct 23 13:55:09 orangepiplus2e python[23938]: Exception in thread Thread-1:
Oct 23 13:55:09 orangepiplus2e python[23938]: Traceback (most recent call last):
Oct 23 13:55:09 orangepiplus2e python[23938]: File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
Oct 23 13:55:09 orangepiplus2e python[23938]: self.run()
Oct 23 13:55:09 orangepiplus2e python[23938]: File "/opt/AlexaPi/src/alexapi/device_platforms/desktop.py", line 64, in run
Oct 23 13:55:09 orangepiplus2e python[23938]: key = raw_input('Type "a" to trigger Alexa: ')
Oct 23 13:55:09 orangepiplus2e python[23938]: EOFError: EOF when reading a line

and it's nice to disable platform output.
Use case is running AlexaPi on an unsupported device platform (or Orange Pi, if the user doesn't like running it under root) when audio triggering is enough.
@alexa-pi/coreteam There should be no issues merging this. Please let me know if it's okay like this.

It works!
OK to merge.

Great! One down, N to go.


how to get the clipboard data????

i had success to this.$copyText("Text to copy");
but ,now i want get the "Text to copy" in clipboard.

It's not possible to read clipboard data with pure HTML5 and JavaScript. But it can be done through Java applet or Flash.


allow using raw strings and files

does this add support for ignoring directory files, because right now having somedir/file return false with is_excluded


⚠ Bofrost.de has degraded performance

In 7120f54, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1223 ms

Resolved: Bofrost.de performance has improved in 5430f47 after 6 minutes.


Added support for Asynchronous file-like objects in Python 3.6+

Python 3.6+ supports asynchronous coroutines.
The module https://github.com/Tinche/aiofiles provides an asyncio compatible file interface.
The Pull request https://github.com/barneygale/httpio/pull/5 adds a similar interface to httpio.
With these modifications an AsyncGSFDecoder object can be created with such an asynchronous file-like object backing it instead of a normal synchronous python file.

I get python 3.5.2 in the tox py3 environment. Presumably there is a config option to force >= 3.6?

@philipnbbc I've made a change to restrict this to build only on 18.04 slaves, which should solve the python version issue.

Should there be a AsyncGSFDecoder.decode method similar to GSFDecoder to allow usage in loads?

Would it help to create a py35 and py36 test environment? There will therefore be 3 packages versions.
The atest.py test fails if py3 is python 3.5. This means the build and package system currently needs python >= 3.6 to run the tests.

I haven't included a decode method or a loads coroutine at the moment. It probably would be a good idea.

@philipnbbc Right, I've tried to address those last two issues.

I note that you haven't included python3.5 in the Jenkinsfile and the set of tox test environments. Does this mean that python <3.6 (and probably Ubuntu Xenial) is no longer supported by Cloudfit?

Python 3.5 isn't available on Ubuntu 18.04. We may have to look into some alternative solution such as https://github.com/pyenv/pyenv if we want to test in it.


Duplicate fields produced to MQ

Hi, i found strange issue, vflow produce messages to MQ with duplicates fields.
It can be tested with verbose:true in vflow.conf, after that i check the logs and see message (one message for example):
[vflow] 2021/01/26 10:44:31 ipfix.go:216: rcvd ipfix data from: <IP_ADDRESS>:50101, size: 445 bytes
[vflow] 2021/01/26 10:44:31 ipfix.go:255: {"AgentID":"<IP_ADDRESS>","Header":{"Version":10,"Length":445,"ExportTime":1611657871,"SequenceNo":1635271687,"DomainID":524288},"DataSets":[[{"I":8,"V":"<IP_ADDRESS>"},{"I":12,"V":"<IP_ADDRESS>"},{"I":5,"V":0},{"I":4,"V":6},{"I":7,"V":47200},{"I":11,"V":8086},{"I":32,"V":0},{"I":10,"V":631},{"I":58,"V":2011},{"I":9,"V":16},{"I":13,"V":16},{"I":16,"V":65001},{"I":17,"V":40627},{"I":15,"V":"<IP_ADDRESS>"},{"I":6,"V":"0x18"},{"I":14,"V":584},{"I":1,"V":1875},{"I":2,"V":3},{"I":52,"V":60},{"I":53,"V":60},{"I":152,"V":1611657810944},{"I":153,"V":1611657840896},{"I":136,"V":2},{"I":61,"V":255},{"I":243,"V":0},{"I":245,"V":0},{"I":54,"V":0}],[{"I":8,"V":"<IP_ADDRESS>"},{"I":12,"V":"<IP_ADDRESS>"},{"I":5,"V":0},{"I":4,"V":6},{"I":7,"V":27017},{"I":11,"V":40308},{"I":32,"V":0},{"I":10,"V":560},{"I":58,"V":2011},{"I":9,"V":18},{"I":13,"V":16},{"I":16,"V":65440},{"I":17,"V":40627},{"I":15,"V":"<IP_ADDRESS>"},{"I":6,"V":"0x18"},{"I":14,"V":584},{"I":1,"V":201},{"I":2,"V":3},{"I":52,"V":251},{"I":53,"V":251},{"I":152,"V":1611657810944},{"I":153,"V":1611657840896},{"I":136,"V":2},{"I":61,"V":255},{"I":243,"V":0},{"I":245,"V":0},{"I":54,"V":0}],[{"I":8,"V":"<IP_ADDRESS>"},{"I":12,"V":"<IP_ADDRESS>"},{"I":5,"V":0},{"I":4,"V":6},{"I":7,"V":35470},{"I":11,"V":27633},{"I":32,"V":0},{"I":10,"V":541},{"I":58,"V":0},{"I":9,"V":0},{"I":13,"V":24},{"I":16,"V":2828},{"I":17,"V":65001},{"I":15,"V":"<IP_ADDRESS>"},{"I":6,"V":"0x02"},{"I":14,"V":631},{"I":1,"V":60},{"I":2,"V":1},{"I":52,"V":54},{"I":53,"V":54},{"I":152,"V":1611657810944},{"I":153,"V":1611657810944},{"I":136,"V":2},{"I":61,"V":255},{"I":243,"V":0},{"I":245,"V":0},{"I":54,"V":0}],[{"I":8,"V":"<IP_ADDRESS>"},{"I":12,"V":"<IP_ADDRESS>"},{"I":5,"V":0},{"I":4,"V":17},{"I":7,"V":54231},{"I":11,"V":161},{"I":32,"V":0},{"I":10,"V":522},{"I":58,"V":2011},{"I":9,"V":22},{"I":13,"V":16},{"I":16,"V":65001},{"I":17,"V":40627},{"I":15,"V":"<IP_ADDRESS>"},{"I":6,"V":"0x00"},{"I":14,"V":584},{"I":1,"V":516},{"I":2,"V":6},{"I":52,"V":124},{"I":53,"V":124},{"I":152,"V":1611657810944},{"I":153,"V":1611657869568},{"I":136,"V":2},{"I":61,"V":255},{"I":243,"V":0},{"I":245,"V":0},{"I":54,"V":0}],[{"I":8,"V":"<IP_ADDRESS>"},{"I":12,"V":"<IP_ADDRESS>"},{"I":5,"V":0},{"I":4,"V":6},{"I":7,"V":27017},{"I":11,"V":36548},{"I":32,"V":0},{"I":10,"V":560},{"I":58,"V":2011},{"I":9,"V":18},{"I":13,"V":16},{"I":16,"V":65440},{"I":17,"V":40627},{"I":15,"V":"<IP_ADDRESS>"},{"I":6,"V":"0x18"},{"I":14,"V":584},{"I":1,"V":112},{"I":2,"V":1},{"I":52,"V":251},{"I":53,"V":251},{"I":152,"V":1611657810176},{"I":153,"V":1611657810176},{"I":136,"V":2},{"I":61,"V":255},{"I":243,"V":0},{"I":245,"V":0},{"I":54,"V":0}]]}

As you can see it's different from Decoded IPFIX data on main page, and many fields have duplicates: src/dst ip, src/dst AS, etc. Maybe i need some additional configuration on vflow side or it's a bug?

@Slepwin there are 5 diff samples in datasets.

@Slepwin there are 5 diff samples in datasets.


Update FAQ.md

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/3896/
Test FAILed.

alluxio-bot, merge this please


除了指定单个pdb文件，可以指定整个文件夹下的就行预测么

Hi, @YinHan-Zhang ,  have you solved it?
Does the code release the test set described in the paper? In addition to specifying a single pdb file for testing, is it possible to test the entire test set?
thanks!


Fixed deprecated noteOn call -> start

An update to the Audio API and AudioBufferSourceNode, changed the function name.

:thumbsup: :tada:

:smiley_cat:

I'd forgotten to merge into the github-io branch. Deployed!


VS Code unable save files when I save the modified files in system disk.

As it said in title.

@Rainismer this message indicates that you are missing permissions to save the file. Could that be true?

@bpasero I had the highest authority of system administrator.

Hm maybe the file is in use and cannot be saved?

@bpasero
No, I can do that with the Notepad++. Please take a look at my screenshot.
I open this file with the Notepad++.

Before saving "Test Save"

After saving "Test Save"

@Rainismer could it be that the file is set to be "hidden" on windows? That would be then https://github.com/Microsoft/vscode/issues/931

This file is visible.
发自我的 iPhone

在 2017年8月13日，23:05，Benjamin Pasero<EMAIL_ADDRESS>写道：
@Rainismer could it be that the file is set to be "hidden" on windows? That would be then #931
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@Rainismer does this happen with any file or just this one?

These files often need administrator power to update.
发自我的 iPhone

在 2017年8月13日，23:15，Benjamin Pasero<EMAIL_ADDRESS>写道：
@Rainismer does this happen with any file or just this one?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@Rainismer does it help then if you run VS Code as admin?


Fix @require with the same data key and accept all hashable types of variable in @will_generate arguments

Thank you @penolove. You are the first external contributor. Congratulations! :tada:


Refs: #28291 - Failing testcase for ArrayField(JSONField())

This PR is just an example failing testcase, and isn't meant to be merged.
Added a failing testcase for #28291.
Using ArrayField(JSONField()) causes a sql error on saving:
psycopg2.ProgrammingError: column "field" is of type jsonb[] but expression is of type text[]
LINE 1: ..."postgres_tests_jsonarraymodel" ("field") VALUES (ARRAY['{"a...

Do you plan to work on a fix? If not, please close this. I added a link from the ticket.


Meilisearch on ARM platform consume 1GB ram by default

Version 0.20.0
Since I can't run the provided binary on RHEL 8 based on ARM aarch64 platform. I compile it.
It could run but it consumed 1GB ram while it has very few data.
Previously I run the same data on x86 platform and the memory usage is low.
   PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
   6496 meilise+  20   0  201.1g   1.0g  18880 S   0.0  18.6   0:00.12 meilisearch

pmap on it and found this
0000aaac3e070000  41792K r-x-- /usr/local/bin/meilisearch-0.20
0000aaac40940000   1600K r---- /usr/local/bin/meilisearch-0.20
0000aaac40ad0000     64K rw--- /usr/local/bin/meilisearch-0.20
0000aaac40ae0000    576K rw---   [ anon ]
0000ffcc00000000 104857600K r--s- /var/lib/meilisearch/database/update/data.mdb
0000ffe500000000 104857600K r--s- /var/lib/meilisearch/database/main/data.mdb
0000fffe00000000 1048576K rw---   [ anon ]
0000fffe417d0000     64K -----   [ anon ]

Hello @kappa-wingman!
thanks for your report, can you test the same with this repo: https://github.com/meilisearch/transplant/
This repo is what we are going to release in the v0.21.0, it would help if you tell us if this issue is still present here,

I am running the v0.21.0 alpha, the memory usage goes down to about 580MB.
    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
  39481 meilise+  20   0  112.1g 580160  32576 S   0.0  10.1   0:06.45 /usr/local/bin/meilisearch --db-path /var/lib+

I think it still use a bit too much ram, the total data of meilisearch on the disk is about 34MB
22M     indexes
160K    index_uuids
9.6M    main
1.8M    update
544K    updates
4.0K    VERSION

It could run but it consumed 1GB ram while it has very few data.
I should ask first, but what is few data for you?

The Meilisearch indexed a small web site. After that, Meilisearch only used about 34MB on disk, as you can see in my last message. That is not a lot of data.
I had compared with the memory usage of Meiliserach on a X86_64 platform with the same data, the memory usage is about 62MB.

Hello, we know about this big RAM consumption, we are doing our best, and of course, we are improving it in a near future.

I tested a complied 0.21rc0 version of Meilisearch on ARMv8 (RHEL based). The memory consumption reduced to normal now.
    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
  90058 meilise+  20   0  101.3g  11456   6784 S   0.0   0.2   0:00.00 meilisearch

Awesome!! I forgot to tell you the new rc0 was out! My bad!
Fixed by https://github.com/meilisearch/MeiliSearch/pull/1421 then! 🎉


Fix PSUseBOMForUnicodeEncodedFile PSScriptAnalyzer warning

Fix UseBOMForUnicodeEncodedFile

Ok, that's fine if that's the case but that rather suggests that the rule itself shoud be re-discussed and posssibly changed.

Yup, see - https://github.com/PowerShell/PSScriptAnalyzer/issues/810


Some small typo & wording suggestions

It's a writing style guide after all 😉

Thanks @thomasvochten ❤ - @luisefreese was going to rewrite the ReadMe. Not to put any pressure ☺. I will merge this already, that way you gain visibility.


[BUG] test_list_workloads Integration Test Points to Problematic OSB Workloads Commit

The test_list_workloads integration test attempts to load the available workloads from a specific commit hash: 000f2af53b9c34a2e83277e936dac113d497a80f. The challenges directory had not been renamed to test_procedures in that tree, causing the below error:
it/list_test.py::test_list_workloads[in-memory-it]
...

   ____                  _____                      __       ____                  __                         __
  / __ \____  ___  ____ / ___/___  ____ ___________/ /_     / __ )___  ____  _____/ /_  ____ ___  ____ ______/ /__
 / / / / __ \/ _ \/ __ \\__ \/ _ \/ __ `/ ___/ ___/ __ \   / __  / _ \/ __ \/ ___/ __ \/ __ `__ \/ __ `/ ___/ //_/
/ /_/ / /_/ /  __/ / / /__/ /  __/ /_/ / /  / /__/ / / /  / /_/ /  __/ / / / /__/ / / / / / / / / /_/ / /  / ,<
\____/ .___/\___/_/ /_/____/\___/\__,_/_/   \___/_/ /_/  /_____/\___/_/ /_/\___/_/ /_/_/ /_/ /_/\__,_/_/  /_/|_|
    /_/

[ERROR] Cannot list. Workload 'so' is invalid.

Error details: [] is too short
Instance: []
Path: deque(['test_procedures'])
Schema path: deque(['properties', 'test_procedures', 'minItems'])

Getting further help:
*********************
* Check the log files in /Users/engechas/.benchmark/logs for errors.
* Read the documentation at https://opensearch.org/docs.
* Ask a question on the forum at https://discuss.opendistrocommunity.dev/.
* Raise an issue at https://github.com/opensearch-project/OpenSearch-Benchmark/issues and include the log files in /Users/engechas/.benchmark/logs.

-------------------------------
[INFO] FAILURE (took 0 seconds)
-------------------------------
FAILED

Closter by #116


My Account does not shows in List

My Git account is @NishkarshRaj.
I am from India.
According to the website, I must be in top 100 but my name does not show up.
Please check.

@Rochet2 Thanks for replying. 👍
I hope I make my profile better to improve my follower count as well 😄

Thanks @Rochet2! I added an FAQ to clarify this :+1:


AttributeError: 'NoneType' object has no attribute 'replace'

Some users encounter the following error during job execution, even after the job has been running for some time without issue:
AttributeError: 'NoneType' object has no attribute 'replace'

Here is the job ID for one such job (submitted by ): aa6e4581-0407-47f8-931d-555c5ad9e3b9

I was able to reproduce the error within the ADE, using the following:
./subset.sh --aoi /projects/shared-buckets/abarenblitt/PA_Subset_Senegal.geojson --doi 10.5067/GEDI/GEDI02_B.002 --lat geolocation/lat_lowestmode --lon geolocation/lon_lowestmode --columns rh100 --query "l2a_quality_flag == 1 and l2b_quality_flag == 1 and sensitivity > 0.95"

After some debugging, the problem turns out to be a bug in the maap-py library. This occurs when a granule's metadata does NOT contain a download URL, so the Granule object constructed by maap-py contains a None value for its download URL, thus producing the error message when calling the getData method to download the file (within the getData method, the replace method is called on the download URL, under the assumption that the URL is a string, not None).
Fortunately, we can handle this on our end by simply filtering out any Granule objects from our CMR query where the Granules' download URLs are None.

Fixed in v0.6.0, #39


drag & drop + icons

Hi,
is drag & drop and icons rendering supported?

labels support custom HTML


Optimize: Specify bit-size of types

e.g. not int but int8_t.
First priority is updating the public protos.

closed by #109


Typo wavelet-based chisq

Hi again Patricio,
I just updated to new version of mc3, very nice thanks !
I think there is a typo in the stats.dwt_chisq function. It should be:
iprior = (priorlow > 0) & (priorup > 0)
    dprior = (params - priors)[iprior]
    return dwt.chisq(params, model, data, dprior, priorlow**[iprior]**, priorup**[iprior]**)

(the [iprior] have been forgotten if I am correct). Otherwise the chisq returned is 'nan'.
Best,
Hugo.

Hi,
Yeah, that looks right. I'll take a better look and fix it.  Thanks for the heads up!

OK, it should work now in the latest version.
Thanks!

Great, thanks !


Router - Percent encoded "/" not working

Laravel Version: 8.21.0
PHP Version: 7.4.4
Database Driver & Version: mysql 5.7

Description:
Attempting to use an encoded "/" (%2F) in a route param does not resolve. It is suggested in the documentation that this only works in the last segment, but this does not seem to be the case.
Steps To Reproduce:
As per documentation, add the following to your web route:
Route::get('/search/{search}', function ($search) {
    return $search;
})->where('search', '.*');

the visit: /search/some%2Furl
Expected Result
Expected it to display the text "some/url"
Actual Result
404 Http response

Works for me. Do you have your routes cached? Run php artisan route:clear.

Works for me. Do you have your routes cached? Run php artisan route:clear.


Add optional "errormessage" parameter to texture lookup functions.

OSL's texture(), texture3d(), and environment() functions now take a new
optional argument, "errormessage", followed by string variable
reference. A successful texture lookup will result in storing the empty
string ("") in the variable.
When this option is employed, a failed lookup or other error, such as a
missing texture, will store a non-empty string in the errormessage
variable (usually a descriptive error message, but will be "unknown" if
no message is forthcoming from the TextureSystem, as may be the case if
it's suppressing duplicate error messages from the same file). If the
"errormessage" option is passed, this will be the ONLY way an error is
handled for this call; it will not also forward any errors to the
renderer, assuming that if the shader asks for the message, the shader
intends to fully handle the situation.
If no "errormessage" optional param is passed, behavior is as it always
was: a texture lookup error will be passed to the renderer through the
usual error reporting mechanisms.
The reason for this change is UDIM -- a UDIM set may be sparse, with
some sections of uv space not having concrete texture files that exist.
We don't want those to spew error messages, and our typical way of
checking by doing a query like gettextureinfo(texname,"channels",chans)
is not reliable because it will return the channels for ANY match, doesn't
help you for particular uv ranges.
With this, you can imagine a shader gracefully (and more or less
efficiently) handling a sparse UDIM set with logic that looks like:
int channels;
if (gettextureinfo (texturefile, "channels", channels)) {
    string err;
    C = texture (texturefile, u, v, "errormessage", err);
    if (err != "") {
        // texture set exists, but no file for this UDIM section!
        C = missing_udim_color;
    }
} else {
    // truly nonexistant texture set
    C = error_color;
}

Unfortunately, this breaks some compatibility with the RendererServices
API. (That's ok, this is for master only, and will not be backported
to release branches because I just can't figure out how to do it without
an API change.) Renderers integrating OSL will need to add new
RendererServices methods texture(), environment(), and texture3d(), which
have an additional ustring* parameter for the error message destination.
Eventually, we'll get rid of the old versions. Allowing both for now will
limit the number of immediate breakages until the renderer authors get
the new calls squared away.

LGTM

Please note that if all you want to do for missing UDIM regions is substitute a default color and suppress error messages entirely, then I recommend using the existing "missingcolor" (and "missingalpha") parameters, and not using "errormessage". The "errormessage" handling is intended for cases where you want more complex behavior than simply substituting a color.


Minor fixes and content updates

removed right alignment on the headings in reference page
add intro on reference page
fix layout of 404 and 500
replace "Atomic CSS" with logo (in header) on small screen
new logo
new favicon
set height of logo on home page
change hook (home-page -> home)
minor fixes...

New logo!


Create an API that allows a sabre/xml users to hook up the parser into the 'elementMap'.

When xCal / xCard documents are embedded into other documents, a user will want to be able to map xCal / xCard automatically.
This is normally done with the 'elementMap'.
For instance:

$input = '...'; //xml
$reader = new Sabre\Xml\Reader();
$reader->elementMap [
   '{urn:ietf:params:xml:ns:icalendar-2.0}icalendar' => 'Sabre\Vobject\Parser\Xml'
];

In this case I use Sabre\VObject\Parser\Xml, but it could also be Sabre\VObject\Document.. whatever class it is, it should either:

Implement Sabre\Xml\Element
Or: it can just be a callback..

In an ideal world, we could even support the idea that somebody might re-use a 'date-time' xml element from xCal completely outside of an xCal document, but this would require that every Property and Component class has their own xmlDeserialize implemented... which might be a bit more work.
Regardless.. this is a future task. It would be good that we come across the first situation that requires it, but it's worth looking into before we release 4.0, if this requires some BC breaks.

this turned out to be really hard and a lot of work to do well. I'm no longer going to do this, and I'll open a new ticket once the first use-case comes along.


Add deprecated warning for child choices node casts

is, as, and cast methods on nodes implementing the SyntaxChildChoices protocol are marked as deprecated. The deprecated methods emit a warning informing that value binding patterns like if case or if case let should be used instead
Resolves part of #2092

Hmm, this does significantly reduce the readability in many cases. I didn’t consider that you couldn’t easily chain if case…

I completely agree. That was my main concern with value binding in the first place. I haven't yet found the time to go through this pitch: https://forums.swift.org/t/pitch-is-case-expressions/64185, so I'm not sure why it hasn't gone through yet. The issue definitely should be addressed—it's a day-to-day problem for many folks.

After reading this, I think I changed my mind and we should offer non-deprecated casting methods to any option that the SyntaxChildChoices can have. And if one of that option is a base kind like DeclSyntax, we should offer a casting method to any DeclSyntaxProtocol.

Sounds good to me. I'll try cook something

so I'm not sure why it hasn't gone through yet. The issue definitely should be addressed—it's a day-to-day problem for many folks.

I haven’t read the pitch completely either but I would imagine it’s just a matter of someone writing the official proposal and creating an implementation for it.

Base on last John's post https://forums.swift.org/t/pitch-is-case-expressions/64185/69 the whole pitch is abandoned 😢

@ahoppen how about now? Usage is cleaner, but there is plenty of code more on the implementation part :/

@swift-ci Please test

@swift-ci please test windows

@swift-ci Please test Windows