Introduce a way to disable a package’s telemetry according to its formula/cask

Verification

[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

Provide a detailed description of the proposed feature
Software ideally has a way to disable telemetry. The way to do this is individual to the software. If a cask or formula defines a way to disable the telemetry of a piece of software, brew could then automatically disable the telemetry of that software on installation.
Maybe this could be a flag on install like brew install —disable-telemetry formula.
What is the motivation for the feature?
Software often provides settings to disable telemetry due to concerns about privacy. Sadly this is sometimes only provided in an (one might say obscure) opt-out pattern.
A users stance on privacy might be individual to each package, but generally - I suppose - is a general stance.
Wikipedia defines a package manager as follows:

A package manager or package-management system is a collection of software tools that automates the process of installing, upgrading, configuring, and removing computer programs for a computer in a consistent manner.

If homebrew concurs, that configuration is a feature of a package manager, and if its aim is to assist the user in reducing effort in software setup, then it should provide said feature.
How will the feature be relevant to at least 90% of Homebrew users?
Privacy is a concern of many users. This is shown by the fact, that software provides settings to disable telemetry, and by the fact, that laws are created in many places to address the issue of software ‘phoning home’.
I cannot claim, that 90% of users of homebrew will be disabling telemetry in software, but I suppose they mostly don’t, because it is too much an effort to do so.
It is well discussed that obscuring privacy options is a common strategy to move users to ignore them. Providing said feature might enable users to enforce their preferences. One might call this an accessibility feature for people that are generally unable to parse through obscure settings.
What alternatives to the feature have been considered?
The alternative in a homebrew focused perspective would be to limit it’s understanding of the term package manager and leave it to the user to setup their software according to their general stance in an per-package way.
Sadly I am unaware of feasible alternatives.

I think this is the sort of thing, like the brew desc and licensing additions were, where it's best to start in an external tap/external command and we can consider adding something like this when it's at least partially implemented in that form.
I also don't think that most software has an easy way to disable this and I worry that an argument like this opens Homebrew to being criticised when we don't correctly handle this universally (which will be impossible).
Sorry, passing on this for now.

Thank you for evaluating the idea!


output GAF: warnings about gp-to-term relation

Relevant to the "GO-style" v2.2 GAF ...
In the current (2021-11-03) snapshot report, there are a bunch of warnings about annotations using the wrong gene product-to-term relations in column 4. Example:
WARNING - Violates GO Rule: GORULE:0000061: Found violation of: Only certain gene product to term relations are allowed for a given GO term but was repaired: RO:0002432 should be one of BFO:0000050 -- PomBase SPAC12B10.01c SPAC12B10.01c is_active_in GO:0032991 GO_REF:0000051 NAS C HECT-type ubiquitin-protein ligase E3, implicated in negative regulation of ubiquitinated chromatin formation (predicted) SPAC31F12.02c|SPAC637.15c protein taxon:4896 20090126 PomBase

There are 39 warnings, but they only involve two GO IDs (GO:0032991 and GO:0042788). It's not a huge deal because the report says they get repaired, but I'm logging it here since they come up. If you have questions, I can't promise I'll be able to help but I'm happy to try.

I've been trying to parse: https://github.com/geneontology/go-site/blob/master/metadata/rules/gorule-0000061.md
I think it says:

GO:0005575 "cellular component" always use RO:0002432 "is_active_in" (we don't have any of those annotations)
GO:0032991 "protein-containing complex", or is_a descendant always use BFO:0000050 "part of"
otherwise it can be any of: RO:0001025 "located in" and RO:0002432 "is_active_in", and RO_0002325 "colocalizes_with"

I can see a bug in the code: it's only checking descendants of GO:0032991 not GO:0032991 itself.  I've fixed that which should fix the warnings about GO:0032991 annotations.  I'll check on Friday.
I'm not so sure about the GO:0042788 annotations.  The gorule says the BFO:0000050 "part of" should be applied to GO:0032991 and its subclass descendants, which I think means is_a descendants?  The output from OWLTools in Chado has GO:0042788 as a part_of descendant of GO:0032991.  Because of that the code is not applying BFO:0000050 "part of" to GO:0042788.
https://www.ebi.ac.uk/QuickGO/GTerm?id=GO:0042788
Have I misunderstood or is the warning from the snapshot wrong?
It's easy to change the code to look for part_of descendants of GO:0032991 instead (or as well as?) of is_a descendants.

I've fixed [not checking GO:0032991 itself] which should fix the warnings about GO:0032991 annotations.

Thanks, and glad that part was straightforward.

The gorule says the BFO:0000050 "part of" should be applied to GO:0032991 and its subclass descendants, which I think means is_a descendants?

Yes, that sounds like the correct interpretation to me.

The output from OWLTools in Chado has GO:0042788 as a part_of descendant of GO:0032991.

That's correct too ... although the full ancestry of 'GO:0042788` is intriguing:

There's a ticket open that shows that the question has been raised with GO, so ...

Because of that the code is not applying BFO:0000050 "part of" to GO:0042788.

Don't bother changing the code, at least for now. Perhaps I'll comment on the GO ticket; in any case, it's possible that GO may change the parentage of GO:0042788 and/or GO:0005840, and in the meantime their pipeline "repairs" the annotations to use the gp-to-term relation they expect.

Don't bother changing the code

OK, thanks.  As long as the GO pipeline is fixing it, it's not urgent.

Nothing to do here for now...

Can this be closed or is there still something to do?

Can this be closed or is there still something to do?

I think we'll eventually need to do some local fixes.  The GO pipeline is fixing things for now so I think we should close this and ignore the problem until the pipeline starts reporting errors for this, if it ever does.


CoroutineScope.attach()

It’s difficult bookkeeping to call ZiplineService.close() all the places it’s necessary to.
Flow<T> is even worse. I’ve found a case where a Flow is never collected, and that causes it to leak. (We currently close flows after the first collect() completes; this is painful for both never collecting and also multiple collecting).
I propose the following API:
/**
 * Closes [ziplineService] when this scope completes (either through success,
 * failure, or cancelation). This will also attach all services returned from
 * [ziplineService] to this scope.
 *
 * This requires that [ziplineService] is a bridged proxy, either via
 * [Zipline.take], as a called function’s return value, or an implemented
 * function’s parameter value.
 */
fun CoroutineScope.attach(ziplineService: ZiplineService) {
  ...
}

One place this falls short is Flow<T>, which isn’t a ZiplineService. Worse, it’s difficult to get the ZiplineService from a Flow<T>.
We could do magic for inbound calls:
/**
 * Attaches all inbound services to this scope, so they will be closed
 * when this scope completes. Attached services will either be parameters
 * to this function, or properties of the parameters to this function.
 *
 * This must be called in the body of a ZiplineService function.
 */
fun CoroutineScope.attachZiplineInboundCall() {
  ...
}

There’s a lot of room to experiment with syntax here, and I’m not particularly attached to the proposals above. But I do think there’s something handy to linking ZiplineService.close() to a coroutine scope.

The light/loose convention for placing things into a CoroutineScope's lifecycle is to have an "In"-suffixed method. In coroutines itself you see things like shareIn or launchIn. In Turbine we have testIn.
So what about doing something like takeIn<T>(scope) where that service and all sub-services become bound to a scope?

Discussed with @JakeWharton offline.
One thing we decided is it’s probably best to create our own scope abstraction instead of borrowing the one from coroutines. That’ll feel lighter and likely be simpler to implement.
We also decided that this works a bit like ownership tagging in a garbage collector, and it’s possible we can borrow ideas from that domain.
We should be careful that the scope shouldn‘t artificially extend the visibility of a service if it’s closed manually with close().

Here’s a start.
/**
 * If you implement this on your ZiplineService, any services passed as
 * parameters to it by Zipline will attach to this service’s scope.
 *
 * All services produced by Zipline will implement this interface. Closing
 * the scope will close all services in that scope and all services in child
 * scopes.
 */
interface ZiplineScoped {
  val scope: ZiplineScope
}

/**
 * A set of services that can be closed as a unit. Closing a parent scope
 * automatically closes all child scopes.
 */
class ZiplineScope(
  parent: ZiplineScope? = null,
) {
  fun close() {
  }
}

I’ve got an implementation idea that might work. I’ll assume no parent scopes as a simplification.
The scope class is an ID wrapper that keeps track of which endpoints it has services on:
class ZiplineScope(
  parent: ZiplineScope? = null,
) {
  internal var isClosed = false

  internal val id = nextScopeId++

  /** Endpoints that have services on this scope. */
  internal val endpoints = mutableListOf<Endpoint>()

  fun close() {
    if (isClosed) return
    isClosed = true

    for (endpoint in endpoints) {
      endpoint.scopeClosed(id)
    }
    endpoints.clear()
  }

  private companion object {
    var nextScopeId = 1
  }
}

When doing a pass-by-reference, we take a scope ID from the bind() call and add it to the InboundService:
internal class InboundService<T : ZiplineService>(
  internal val service: T,
  internal val scopeId: Int,
  private val endpoint: Endpoint,
  functionsList: List<ZiplineFunction<T>>,
) {
}

Finally, Endpoint.scopeClosed() tells the peer endpoint to iterate its inbound services and close 'em if the scopes match.
fun scopeClosed(id: Int) {
  for (inboundService in inboundServices.values) {
    if (inboundService.scopeId == id) inboundService.close()
  }
}

(I’m not 100% sure I’ve got inbound/outbound all exactly right here! But I really like the option to make scopes IDs; it avoids all kinds of potential problems where scopes end up preventing services from being GC'd.)

The implementation with IDs didn’t work 'cause the endpoint that knows the IDs doesn’t have a list of services to enumerate. But I got something that works regardless.
With these PRs we’ve got a simple implementation that works nicely.

https://github.com/cashapp/zipline/pull/773
https://github.com/cashapp/zipline/pull/777
https://github.com/cashapp/zipline/pull/778
https://github.com/cashapp/zipline/pull/779
https://github.com/cashapp/zipline/pull/780

We’ve got a few remaining follow-ups, which I’ll create as separate tracking issues.


Keep small amount of block state data in memory

Component
Anvil
Describe the feature you would like
In my use case, I sometimes need to call eth_getCode in the context of older blocks. These blocks are usually up to 10 blocks away from the latest block. To avoid filling the up disk space and to save our SSDs, it would be nice to keep state data for a few latest blocks in memory. Currently, when using --prune-history I get error messages like
{'code': -32602, 'message': 'BlockOutOfRangeError: block height is 6 but requested was 2'}

--transaction-block-keeper does not seem to have any effect in this case.
Ideally, the amount of block states to keep in memory should be configurable by the end user.
I am running Anvil with:
anvil --prune-history --transaction-block-keeper 10 --base-fee 0 --steps-tracing --silent --port 39787

anvil --version: anvil 0.1.0 (cd7850b 2023-02-02T00:07:54.508115898Z)
Additional context
No response

we tuned some limits so please try again without prune-history

Yes, I am aware of this. In my case, the limit seems to be around 500 MB per Anvil instance. That is around 3500 files. My point is that it does not seem necessary to me to write these logs on the disk at all if we typically need only a few previous state logs. Ideally, the number of state logs kept in memory would be configurable.
The current behavior still may wear out SSDs, especially in the case of high-performance testing/fuzzing.

I see, understood.
what'd be a reasonable limit to keep in memory with --prune-history?

This may depend from case to case, that is why a user-configurable (command-line?) option feels like the best way to me.
Still, if you want some numbers, 10 blocks history would be a good minimum, 50 blocks history would be sufficient for most cases in my opinion.

so it looks like we need an option to force max in mem history even if --prune-history?
so perhaps --prune-history should just take an optional value?

Yes, that would be awesome.


[Question] Is it possible for EnumModulesT to crash in a few cases?

I'm not sure if I'm understanding this correctly.
EnumModulesT traverses InLoadOrderLinks without using locks (some members in EPROCESS).
If a process loads or frees a module while we are traversing InLoadOrderLinks, is it possible that the Flink pointer we are about to access is corrupted?
I have the same question with the VAD traversal.
Am I missing some knowledge points? Or does that possibility actually exist?
Thank you!

Technically it's possible to get invalid pointer during InLoadOrderLinks traversal, but EnumModulesT should just return an error in this case, KM counterpart is protected by __try/__except so unless it gets KM pointer it should be also fine. Adding ProbeForRead should solve this problem.

I understand, thank you!


Optimize GDScript methods name comparison.

The call function are not using StringName to compare the methods:
if (String(p_method) == "insert") { // TODO make this a static StringName to improve the check.

Please improve it by making "insert" a static StringName insert("insert") so to optimize GDScript function call.
Do it for:

DataAccessor https://github.com/GodotECS/godex/blob/main/ecs_types.h
StorageBase https://github.com/GodotECS/godex/blob/main/storage/storage.h

We changed approach for a much better and performant implementation. This is outdated.


Support caffeine caching

Changelog
Added
An optional Caffeine cache has been added.
Changed
Caffeine loading cache strategy has been added for getGraphByUuidAndFilterParams and kDegreeExpansion.
Any other operations involving modifications or deletions of graphs will clear the cache in Caffeine.
All tests have been refactored.

I couldn't find a way to reuse the test code, so the tests for the two scenarios with the cache switch actually involve duplicating the code.


Adjust name prefix for types

https://github.com/abapGit/abapGit/issues/3398

Done! New rule will be active with this PR

Some of these types are public making them relevant for possible external usages. Do we need to check other repositories or inform about a change in the API?

merging, and then when https://abaplint.app/stats updates its possible to look through those with "custom config"

tested ok, no syntax errors

a minor concern about table type prefixes. It was quite convenient to see tt or tty to identify a table type. Of course, it also depends on plural names. tt_thing -> ty_things. But ... if prefix does not add anything then why it is needed at all ? Just imho. Though the work done for unification is very good :+1:.

it adds to static analysis via abaplint, having a convention then it knows if to issue an error,

@flaiker I had tested abaplint-sci and abapGit-ci repos but none of the changed types were used there. of course, we don't control how other tools might use parts of abapGit.
@sbcgua I wasn't sure what's better, plural or some suffix for the table types. I tried to stick with the kind already used by the class/interface. Also didn't want to change existing types unless there was a conflict.
Anyway, chapter closed. :-)


nuxt debug by npm 1.15.1 connect ECONNREFUSED

VSCode Version:1.15.1
OS Version: 10.12.4
Node Version:8.3.0
i learned debug nuxt from the article.But it don't work in 1.15.1 & node 8.3
debugging-nuxt-js-with-visual-studio-code

package.json
"dev-debug": "node --debug node_modules/.bin/nuxt",

launch.json
{
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "npm run dev",
      "runtimeExecutable": "npm",
      "windows": {
        "runtimeExecutable": "npm.cmd"
      },
      "runtimeArgs": [
        "run",
        "dev-debug"
      ],
      "port": 5858
    },
    {
      "type": "node",
      "request": "launch",
      "name": "Launch Program",
      "program": "${workspaceRoot}/start"
    },
    {
      "type": "node",
      "request": "attach",
      "name": "Attach to Port",
      "address": "localhost",
      "port": 5858
    }
  ]
}

i change '--debug' to '-- inspect' or
"protocol": "debug"
to
"protocol":"inspector"

i have try use 'legacy' but still wrong

vscode-debug-offical-documents

Reproduces without extensions: Yes/No

ps:
if use "protocol": "legacy" it can run but debug fail

@weinand
I have read all the relevant issues.
But...vscode1.15+node8.3+inspector+'Launch via NPM' = connect ECONNREFUSED

If you are using recent versions of node (e.g. 8.x), you must configure both the npm script and VS Code to use the "inspector" protocol (and use the correct port 9229).
A good way to do this is by relying on the defaults (and do not specify a debug port at all).
Change the "dev-debug" script in your package.json to:
   "dev-debug": "node --inspect node_modules/.bin/nuxt",

And the launch configure to this:
{
      "type": "node",
      "request": "launch",
      "name": "npm run dev",
      "protocol": "inspector,
      "runtimeExecutable": "npm",
      "runtimeArgs": [
        "run",
        "dev-debug"
      ]
}

Since both are configured for the inspector protocol they will use the correct port 9229 automatically.
An even easier way to launch nuxt in debug mode is to do everything in the launch config, so there is no need to touch the package.json at all
{
      "type": "node",
      "request": "launch",
      "name": "launch nuxt",
      "protocol": "inspector,
      "program": "${workspaceRoot}/node_modules/.bin/nuxt"
}

@weinand Thank you so much for your help.According to your tips.It work!

I should learn more about vscode and node.
Thank agin~:-D


Translating

It's imposible to use unicode in language.yml with any kinds of encoding. Can you please add unicode support?

Why do you need unicode? Couldn‘t you just use the translated characters?

I was trying to translate it to russian but plugin doesn't accept it :D And just replaces my language file with new one

I'm going to check this. Thank you for your bug report!


Unauthorized, The input authorization token can't serve the request: url encoding issue

Similar to #82, we’re seeing the error message in the title. The full error object is this:
{
    "code":"Unauthorized",
    "message":"The input authorization token can\'t serve the request. Please check that the expected payload is built as per the protocol, and check the key being used. Server used the following payload to sign: \'put\\ndocs\\ndbs/testdb/colls/pouchdb-test-collection/docs/ÿattach-storeÿmd5-CRq749X7/wgSD6EQeGTuFg==\\nwed, 21 jun 2017 21:28:58 gmt\\n\\n\'\\r\\nActivityId: 9f9d22ea-9c51-4b4e-bd51-de7ca5a68c1e"
}

My doc id is ÿattach-storeÿmd5-CRq749X7%2fwgSD6EQeGTuFg== and as you can see it has a %2f in it, and the underlying auth system seems to do a URL-Decode on the input key when signing the request.
Is this expected behaviour? What is the recommended way to encode and decode keys in a way that it is safe with DocumentDB/CosmosDB?
Grateful for any help :)

PS: this is on the emulator.

@janl

If you try to use the DocumentDB/CosmosDB cloud endpoint does this work?
Does your problem only apply to docs with special characters? if your doc has only alphabetical ASCII chars does this work?

This question is specifically about how to encode slashes in keys.

@mehdijazayeri3000 I think you already worked on a similar problem, can you please take a look at this?

Authorization token eventually gets ENCODED however, it should not make a problem as it will be decoded on the server side.
Would you please provide us these information?

what operation are you trying to do? (create/read/update/remove on db/col/doc/user/...)
what are the resource names used? are you using any illegal character (['/', '', '?', '#']) in resource names?
what kind of authorization is used? (masterkey/token/permissionFeed)

We did a new release of 1.12.2
please test it and if this still is an issue feel free to reopen this bug.

This needs to be re-opened, it's still a problem.
Using the latest version of the package (1.14.2)
Steps to reproduce:
0) create a database called databaseID and a collection called collectionID

create a new document in this collection using the portal online set it's ID to test%3A
Run the following code:

var DocumentClient = require('documentdb').DocumentClient;
var host = ''// ADD YOUR ENDPOINT
var masterKey = '' // ADD YOUR KEY
var client = new DocumentClient(host, {masterKey: masterKey});
var databaseId = 'databaseID'
var collectionId = 'collectionID'
var dbLink = 'dbs/' + databaseId;
var collLink = dbLink + '/colls/' + collectionId;
var id = 'test%3A'

var query = 'SELECT f.id FROM ' + collectionId + ' f WHERE f.id = \"' + id + '\"';

console.log(query)

var querySpec = {
   query: query
};

client.queryDocuments(collLink, querySpec).toArray(function (err, results) {
   if (err) {
       console.log(err)
   } else {
    if ( results && results.length > 0) {
      console.log('Able to query for the document by id')
      console.log(results[0])

      var docLink = collLink + '/docs/' + results[0]['id'];

      console.log(docLink)

      client.deleteDocument(docLink, (err, result) => {
        if (err) {
          console.log('but unable to delete it')
          console.log(err);
        } else {
          console.log('success', ind);
        }
      });
    }
   }
})

The result is the document is query-able via that ID, but when you go to delete it the OP's error shows up. I believe this is happening because %3A is the url encoding of a forward slash and somewhere along the way it's being decoded. If so, that means %3A should be added to the list of non-allowable characters to have in your ID.

2019 still getting this error as well

@roghernandez @divyanshch89 which SDK version are you using? If this is on the latest v2 SDK, I'll reopen this issue over in that repo

@roghernandez I am experiencing this issue on Java SDK v2.4.3

@ribsthakkar Can you open an issue on the Java repo? https://github.com/Azure/azure-cosmosdb-java This one is for our older JavaScript SDK

@ribsthakkar Can you open an issue on the Java repo? https://github.com/Azure/azure-cosmosdb-java This one is for our older JavaScript SDK
Just did:
https://github.com/Azure/azure-cosmosdb-java/issues/180


xfreerdp will random hang when it faces network disconnect or sign out from the terminal server

Dear all,
I have some problems about xfreerdp hang.
Here is my environment.
Client
pi@raspberrypi ~ $ uname -a
Linux raspberrypi 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015 armv7l GNU/Linux
pi@raspberrypi ~ $ cat /proc/version
Linux version 4.1.7-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #817 SMP PREEMPT Sat Sep 19 15:32:00 BST 2015
pi@raspberrypi ~ $ cat /etc/*release
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
NAME="Raspbian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Terminal Server
Server version: Windows Server 2012 R2

xfreerdp command
xfreerdp -sec-nla /cert-ignore /u: /f /drive:*,hotplug /network:modem /sound:sys:pulse /microphone:sys:pulse /v:x.x.x.x

Sometimes, when I disconnect from the terminal server or the client face the network disconnect issue, the xfreerdp will hang and will not close even I wait for a long time.
The console shows below lines which almost same as xfreerdp not hang.
pi@raspberrypi ~ $ xfreerdp -sec-nla /cert-ignore /u: /f /drive:*,hotplug /network:modem /sound:sys:pulse /microphone:sys:pulse /v:<IP_ADDRESS>
[15:07:13:710] [1767:1768] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr
[15:07:13:711] [1767:1768] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd
[15:07:13:711] [1767:1768] [INFO][com.freerdp.client.common.cmdline] - loading channel drdynvc
[15:07:13:734] [1767:1768] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[15:07:13:996] [1767:1768] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[15:07:13:999] [1767:1773] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive (static)
[15:07:13:004] [1767:1773] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: SETTINGS1 (type=8 id=1)
[15:07:20:788] [1767:1771] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: SETTINGS1 (type=8 id=1)
[15:18:43:548] [1767:1768] [ERROR][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off his or her session on the server.
[15:18:43:610] [1767:1768] [ERROR][com.freerdp.core.rdp] - DisconnectProviderUltimatum: reason: 3

The only difference is the console do not release when xfreerdp hang.
Can anyone help to solve this problem?
Many thanks.

which xfreerdp version ?

Sorry for missing the most important thing.
xfreerdp version
pi@raspberrypi ~ $ xfreerdp -version
This is FreeRDP version 2.0.0-dev (git be8f8f7)

Hello, I find something new today.
If sign out from the terminal server, the console should show below info which i think it is normal.
pi@raspberrypi ~ $ xfreerdp -sec-nla /cert-ignore /u: /f /drive:*,hotplug /network:modem /sound:sys:pulse /microphone:sys:pulse /v:<IP_ADDRESS>
[15:07:13:710] [1767:1768] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr
[15:07:13:711] [1767:1768] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd
[15:07:13:711] [1767:1768] [INFO][com.freerdp.client.common.cmdline] - loading channel drdynvc
[15:07:13:734] [1767:1768] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[15:07:13:996] [1767:1768] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[15:07:13:999] [1767:1773] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive (static)
[15:07:13:004] [1767:1773] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: SETTINGS1 (type=8 id=1)
[15:07:20:788] [1767:1771] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: SETTINGS1 (type=8 id=1)
[15:18:43:548] [1767:1768] [ERROR][com.freerdp.core] - ERRINFO_LOGOFF_BY_USER (0x0000000C):The disconnection was initiated by the user logging off his or her session on the server.
[15:18:43:610] [1767:1768] [ERROR][com.freerdp.core.rdp] - DisconnectProviderUltimatum: reason: 3

But I find new error today. I am not sure they are related. And I only get this error a few times.
pi@raspberrypi ~ $ xfreerdp -sec-nla /cert-ignore /u: /f /drive:*,hotplug /network:modem /sound:sys:pulse /microphone:sys:pulse /v:<IP_ADDRESS>
[12:47:03:471] [1010:1011] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpdr
[12:47:03:471] [1010:1011] [INFO][com.freerdp.client.common.cmdline] - loading channel rdpsnd
[12:47:03:471] [1010:1011] [INFO][com.freerdp.client.common.cmdline] - loading channel drdynvc
[12:47:03:497] [1010:1011] [WARN][com.freerdp.core.nego] - Error: SSL_NOT_ALLOWED_BY_SERVER
[12:47:03:930] [1010:1011] [INFO][com.freerdp.channels.drdynvc.client] - Loading Dynamic Virtual Channel audin
[12:47:03:937] [1010:1015] [INFO][com.freerdp.channels.rdpdr.client] - Loading device service drive (static)
[12:47:03:937] [1010:1015] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: SETTINGS1 (type=8 id=1)
[12:47:17:965] [1010:1013] [INFO][com.freerdp.channels.rdpdr.client] - registered device #1: SETTINGS1 (type=8 id=1)
[14:03:29:675] [1010:1011] [ERROR][com.freerdp.core] - freerdp_check_fds() failed - 0
[14:03:29:676] [1010:1011] [INFO][com.freerdp.client.x11] - Network disconnect!
[14:03:29:676] [1010:1011] [ERROR][com.freerdp.client.x11] - Failed to check FreeRDP file descriptor

Thanks.

Got this problem too, when server begins shutdown process during logon, we got ERRINFO_LOGOFF_BY_USER (0x0000000C) and permanent hang in freerdp_connect()

Is this still an issue with the current 2.0.0 release candidates?

No feedback, not reproducible.
Reopen/create a new issue if this should come up again.

Well, it is much easier to close the issue than investigate it, right?

@sergey-suloev Read the comment. Not reproducible and no feedback from author/anyone.

@akallabeth
I am not sure if this is the same problem but I am periodically having issue with login: freerdp simplu hangs. I have to reboot into Windows to login.
Every time this problem happens I have to login from Windows and I see a screen on the remote machine asking to select a user to login with. This situation doesn't seem to be properly handled in freerdp.

@sergey-suloev No, they are not related. This issue is about freerdp not returning to shell after a disconnect.
What you describe seems like a RDP server issue (I assume with 'hang' you mean the screen stays the same?)
That might be related to server configuration (do you allow reconnection or multiple logins/sessions per user?)
That is just a guess though, if you have any more detailed information please either ask on the mailing list or irc.
If you are sure this is a issue in freerdp open a separate issue for this with detailed information as requested in the issue form.

@akallabeth The  hang means it shows the remote screen but it is frozen with loading indicator in the middle of it. It does not allow to pass to the desktop.

@sergey-suloev So, the RDP session is working as intended and the server does not load the desktop?

@akallabeth yes, but only when I connect with freerdp. When I boot into my Windows I can connect from it but the first screen upon connection will be a list of users that I should select from to login. I select my user, enter my password and I can proceed to desktop.

Then please open a proper issue with a full description of client and server settings.


Add more status check to CreateClient

Summary
A few places that could check the status of a client

[ ] CreateClient
[x] ConnOpenInit
[x] ChanOpenInit

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

This was fixed with the addition of the localhost (#3196 specifically). Status check is missing for CreateClient, but I think it can be assumed a non functional client will error in clientState.Initialize() call

Lets be defensive and add the check to CreateClient

yup!


Inaccurate C# Instructions for Image Generation

The .NET GetImageGenerationsAsync method will throw an ArgumentNullException currently if the DeploymentName is not set. Setting deployment name to anything generates a ReqeustFailedException stating that the deployment does not exist.
It does not currently appear possible to deploy a DALL-E model, even for approved users, including Microsoft MVPs. I had hoped to at least demo this capability in my workshop at CodeMash next month, even if the audience couldn't deploy a resource of their own.

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

ID: a47134e6-8e58-e26f-a452-b08e57c5cdf0
Version Independent ID: 2fe238ea-1d13-f8d9-c549-09bdb6858c03
Content: Quickstart: Generate images with Azure OpenAI Service - Azure OpenAI
Content Source: articles/ai-services/openai/dall-e-quickstart.md
Service: azure-ai-openai
GitHub Login: @PatrickFarley
Microsoft Alias: pafarley

@IntegerMan
Thanks for your feedback! We will investigate and update as appropriate.

@IntegerMan
Thank you for bringing this to our attention.
I've delegated this to content author @PatrickFarley, who will review it and offer their insightful opinions.

@PatrickFarley
Could you please review add comments on this, update as appropriate.

Hi @IntegerMan , are you targeting DALL-E 3 or DALL-E 2? And it sounds like you're using C# correct?

Feel free to reopen this issue to continue debugging
#please-close


added Java implementation of finding nth fibonacci number using matrix exponentiation

Closes #51

Description: added Java implementation of finding nth fibonacci number using matrix exponentiation
Checklist
<Put an x between square brackets wherever appropriate without any spaces like [x]>

[ x ] I've followed the Contributing guidelines provided in the repository.
[ x ] I've made the changes which were demanded in the linked issue.
[ x ] My code gave a clean output on debugging. (NO warnings/errors)

Neatly done! Thanks @Ak-Shaw


modules/checkers/spell: remove tex option

It causes aspell 0.60.8 to fail with message the key "check-tex-comments" is unknown.

I can't reproduce this, but I'll take your word for it. Thanks!


CJ 3D Model does not appear in Clothes options.

Hello Again,
I don't know if it's a Bug or if it's because I don't have a Dedicated GPU (or something like that) watching some videos on youtube, I noticed that CJ 3D Model appears in the "clothes" options. Mine Never appeared, in any version of SaveEditor. I've already run as administrator and tried compatibility modes, none worked.

Hi,
this version of the savegame editor is based on the non-3d version of the source code to ensure it runs on all platforms.
I'll take a look at how the 3d version was built but depending on the availability (and compatibility) of the used libraries this might become a wontfix.


Create development branch for future development

Stop pushing directly to master

The project should start only accepting code through PR. Each developer should create their own fork of the project.


Update to latest version of knative

Prior to this commit resolution was using an older version of the
knative.dev/pkg libraries. This put resolution out of step with the
version used in pipelines.
This commit upgrades the version of knative used, along with k8s
dependencies upgraded with it. The version of go required to builds
resolution is also bumped.
Fixes https://github.com/tektoncd/resolution/issues/2

/kind misc

/retest


Add initial top consumers dashhboard

Signed-off-by: Shirly Radco<EMAIL_ADDRESS>

IIUIC then there is an updated version @sradco ?


consider not generating PNGs.

http://caniuse.com/#feat=svg
I have no problem supporting the type graphs only on the supported browser lists.
Less to do when building the docs, the better. Please comment below if you want to vote on this issue.

“Less to do when building the docs, the better”
How long does it take?

I just did a make clean locally and timed the "writing type graph images" section - it took 6 minutes 40 seconds. This is cached for future builds (but in an all or nothing way that is probably slightly borked)
Also, it's not just a question of time. Code removed is code that is doesn't have to be maintained.


Kite connect trading and Historical API

Do I need to have historical API subscribed in order to fetch information like circuits price, Buy/Sell market depth
I am trying to fetch market depth
buy_market_depth, sell_market_depth = broker_connection.get_market_depth(instrument1) print(f'Buy Market Depth:\n{buy_market_depth}')
But getting invalid API key and secret

I think you shouldn't require the historical data API.
The error you are suggesting tells me most likely the token was not generated correctly or has got expired.

Yes, that was the issue thank you @guanidene
Solved!


Add SetupConfig.ini and SetupComplete.cmd

Add actions for Windows 10 and 11 upgrades using the approach covered in this article: https://www.imab.dk/remove-built-in-teams-app-and-chat-icon-in-windows-11-during-a-feature-update-via-setupconfig-ini-and-setupcomplete-cmd/

51548e3e474de8a2772b33e973d56b215fe79463


In layout, multiple slots with name attributes cannot be supported[✨]

Is your feature request related to a problem?
In layout, multiple slots with name attributes cannot be supported.
Describe the solution you'd like
Can multiple slots be supported in the layout?
Describe alternatives you've considered
no idear
Additional context
No response

How would this feature look like? i cant see how named slots are useful in layouts? how pages would specify the named slot?

I found myself wanting this for a layout that consisted of a sidebar and content area. On child routes I wanted to add sub-navigation specific to the child route to the sidebar while rendering the main child content into the content area.
Without something like named slots in layout, would the recommended pattern be to keep the logic in the parent layout to conditionally render the appropriate sub-navigation based on the active child route?
I'm just learning Qwik so I won't speculate on a possible API (or if it's even a good idea to introduce named layout slots).

I think useContent() can be used for that purpose, but it would be nice if it's possible to use a component instead of the menu.md.
For ex, expected the <Slot name={what} /> in the layout is projected from ./<what>.tsx as like as the  is projected from ./index.tsx

@miguba
I found it is possible to use the named slot in the layout if the
 is inside the  of the src/root.tsx.

@adamdbradley, @manucorporat I like @genki's suggestion. If we want to make it clear that's is directed to a named layout, some token could be introduced in the name, like we do when we want to use a specific layout (by following the<EMAIL_ADDRESS>pattern).
Maybe for the slots we could use something in that direction, for example using squared brackets:

<EMAIL_ADDRESS>
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Hi, same thing : it would be great ! I tried to make a side navbar for custom routes on the left for an educational platform, where the menu would vary depending on the part of the tree of the course (section/chapters/pages), and thought named Slots would be ideal in layout, where we could populate the link in the layout through the Slot identifier. The useContent() needs a lot of workarounds to come to that result (didn't succeed yet).

this is essential. still waiting.

How do other meta-fws solve this problem? Can you point to examples?

How do other meta-fws solve this problem? Can you point to examples?

I wanted to have something like this:
// layout.tsx
export default component$(() => {
  return (
    <>

        <Slot name='header' />

          <Slot />

    </>
  );
});

// index.tsx
export default component$(() => {
  return (
    <>

header items

         article content

    </>
  );
});

named slots are not working in layout.

So the issue is show here: https://stackblitz.com/edit/qwik-starter-1pnxsm?file=src%2Froutes%2Findex.tsx
import { Slot, component$ } from<EMAIL_ADDRESS>
export default component$(() => {
  return (
    <Layout>
      <Index />
    </Layout>
  );
});

export const Layout = component$(() => {
  return (
    <>

        <Slot name="header" />

          <Slot />

    </>
  );
});
// index.tsx
export const Index = component$(() => {
  return (
    <>

header items

article content

    </>
  );
});

The basic problem is that the <Index/> gets plated into <Layout/> like this:
<Layout>
  <Index/>
</Layout>

So the q:slot is to low in the hierarchy. If you want them projected it would have to be something like this:
<Layout>

header items

  <Index/>
</Layout>

And that is not how routes are composed.
I think this would be an issue for other meta-frameworks as well. How do they solve this problem? (I can't think of a way they would solve this)

@ahmadalfy
I came up with a workaround that should works, but it doesn't.
https://stackblitz.com/edit/qwik-starter-6udjqi?file=src%2Froutes%2Findex.tsx
If we use the useVisibleTask$ instead of the useTask$ then it works.
Might found a bug.

@genki

I came up with a workaround that should work, but it doesn't.
https://stackblitz.com/edit/qwik-starter-6udjqi?file=src%2Froutes%2Findex.tsx

Right, this is because the  gets rendered first and is streamed into the HTTP response, and then you change the state of the system after the  has already been sent to the browser. So this is working as intended, but it would be nice to get a warning or something to let you know that you have changed the signal after it was used to render output.
The useVisibleTask$ works because you do the rendering on the client, but I would like to discourage you from using that as you are eagerly executing code on the client.
PS: Sorry, I don't have a good answer for you.

@mhevery
Finally, I solved this issue. How about do this?
https://stackblitz.com/edit/qwik-starter-l8gnoe?file=src%2Froutes%2Findex.tsx

@mhevery I don't believe it can be closed. What is described here is a workaround. Although it does work, it doesn't look very good and requires some scaffolding per layout and page.
Also a first-time user of Qwik. Loving it so far. I would suggest something that is similar that works out of the box:
// layout.tsx
export default component$(() => {
  return (

      <Menu />
      <Slot name="submenu" />
      <Slot />
      <Slot name="sidebar" />

  )
})

// index.tsx
// Applied to the default Slot
export default component$(() => (
page content
))

// Applied to the named slots, if available
export const layoutSlots = {
  sidebar: () => (
sidebar content
)),
  submenu: () => (
submenu content
)),
}

Should a layout's named slot not be defined in the page, it'll just remain empty. If a page defines a named Slot which is not available in the layout, it'll be ignored. In short: "If both are available, assign it to the slot. If either is unavailable, ignore it"
This way we can keep it clean and consistent.

OK, I like your proposal and agree that this would be a good feature. (Sorry it took me so long to understand what you are asking.)
Any chance you would be up for creating a PR for this? I would be happy to guide you through it.

@mhevery Yes, I would love to do that. And get some pointers on where to go. After reading CONTRIBUTING.MD, of course.

https://github.com/BuilderIO/qwik/blob/main/packages/qwik-city/buildtime/runtime-generation/generate-qwik-city-plan.ts generates an array of routes. These routes have a set of components which need to be activated. The components are collected by walking the directory structure and looking for default export. In this case the generated output needs to be augmented with additional layoutSlots information.
The route parts are put together here: https://github.com/BuilderIO/qwik/blob/main/packages/qwik-city/runtime/src/router-outlet-component.tsx

How is this going forward?
Kind of stopping my development for it, no use in finding dirty workarounds

Just chiming in to +1. The benefit of layout is limited if I'm having to create a supplemental layout component to to place inside of each route anyway for multi-slot support.

Hi, I started to work on this, but I don't seem to have the time anymore. I got to the point where caching the layoutSlots worked fine. That was the easy part. The hard part was to go further up the tree to find a Slot q:name="..." component to assign any cached elements to. Last week I started a new job which consumes my full bandwidth.

@mhevery wouldn't it be possible to support this by skipping fragments when resolving slots? Then the <Index /> situation you explain in https://github.com/BuilderIO/qwik/issues/2442#issuecomment-1687240269 would just work?
Maybe you can address this in the v2 branch?

Would be great to have the ability of dynamic layouts, like in DocumentHead:
export const layoutSlots = ({ resolveValue }) => {
    const receipt = resolveValue(useRecipesDetails);

    return {
        headerContent : receipt
            ? <HeaderContent receipt={receipt}></HeaderContent>
            : null
    };
};

export const head: DocumentHead = ({ resolveValue }) => {
    const receipt = resolveValue(useRecipesDetails);

    return {
        title : receipt ? receipt.title : 'Tastoria Receipt'
    };
};

Actually just looking up the tree might be problematic. How about q:slot="../title" so you specify exactly which parent?
That way it's probably also easier to implement.

We moved this issue to qwik-evolution repo to create a RFC discussion for this.
Here is our Qwik RFC process thanks.


Data Usage

Your Environment

Plugin version:  2.2.5
Platform: Android
OS version: 6.0.1
Device manufacturer and model: Samsung Galaxy J7 2016
Cordova version (cordova -v): 7.0.1
Cordova platform version (cordova platform ls): 6.2.3
Plugin configuration options:
desiredAccuracy: 0,
stationaryRadius: 5,
distanceFilter: 2,
locationProvider: backgroundGeolocation.provider.ANDROID_ACTIVITY_PROVIDER,
interval: 3000,
startForeground: true
Link to your project:

Context

Hello @mauron85 thanks for the great plugin, i just want to know why my data usage is high. 2 hour run 300MB++, i do monitor the network usage, it seems the data usage is high(attached)

Expected Behavior

the location is updating smoothly.
Actual Behavior

the update just fine it's just the data usage.
Possible Fix

any opinion on this matter? or how can i disable google play services? (i off internet connection the data usage is normal)
Steps to Reproduce

Context

Debug logs

Sorry it was my other thing fault..


Bug: Time distances require refresh to update language

Overview
We use date-fns to do this formatDistance calculation, and have a useDateFNSLocale function to set the proper localization for this.
After switching languages, for some reason it's not instantaneous, but requires a browser refresh for these to switch.
Additional Info

Version
Dev (app.dev.fractalframework.xyz/)

this is not worth investigating, as users generally don't swap between languages often
once we have more language support we should do a full review of the app to see what other issues might be present


As an HR advisor I want to view and employee's details so that the employee's promotion request can be supported.

Still need to do exercise and edit SQL query


Update operations docs

Description
This pull requests updates the operations description after changes to provisioning and update workflows (#98, #166).
Related issue(s)

Resolves #175.

/test pull-btp-manager-build

/retest


Update VirtualizedList.js, fix wrong position after scrollToEnd when props.refreshing === true

Thanks for submitting a PR! Please read these instructions carefully:

[x] Explain the motivation for making this change.
[x] Provide a test plan demonstrating that the code is solid.
[x] Match the code formatting of the rest of the codebase.
[ ] Target the master branch, NOT a "stable" branch.

Motivation (required)
What existing problem does the pull request solve?
fix #14033
fix wrong position after scrollToEnd when props.refreshing === true
Can I target the "stable" branch (0.45.0)?
Test Plan (required)
before

after

Next Steps
Sign the CLA, if you haven't already.
Small pull requests are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it.
Make sure all tests pass on both Travis and Circle CI. PRs that break tests are unlikely to be merged.
For more info, see the "Pull Requests" section of our "Contributing" guidelines.

cc @sahrens

move to #14089


Help configuring script

Hello. I learn about this resource today, from the Geocortex Road Ahead webinar, and I would really like to get this to work with my report.
I downloaded the package from here. Installed the geocortex reporting client. Then I tried to modify the sample.py file and add an item id for my report, but when I run the script I got and error 'ModuleNotFoundError: No module named 'websockets'. Do I have to install 'websockets' module as well? Or maybe I am running/modifying wrong script? Please advice.
Thank you,
Nataliya

Here's a really basic sample I created using an ArcGIS Notebook:

@ianschmitz I got it to work. When I run it the first time I completely removed the 'FeatureIDs=[3903]' from the arguments, since I don't have feature specific arguments in my report, and that's caused the error. I run the script today, and just left the FeatureID list blank 'FeatureIDs=[]', and it worked just fine. Thank you.

Glad you got it working!


Your stance to Elm

According to Elm 0.19 and its general approach of 'either you are for us, or we call you toxic' results in brutal domination and awkward 'community building', so a lot of people are sad with Elm.
What do you mean?
How do you see the recent changes from a technical perspective?
Lots of people are quite unhappy with the solution currently and suggest a spin.

Hey @ShalokShalom, thanks for reaching out.
I already shared some of my stance in this reddit comment, so this would be a TL;DR
https://www.reddit.com/r/elixir/comments/a9g0ar/elchemy_gleam_and_static_types/ecu3uob/?context=3
If you want an answer more in the context of Elchemy I'm generally much more in the crowd of people dissatisfied with Elm's developing.
Especially that an undisclosed change in 0.19 made elm-github-install a.k.a Elchemy's official package manager obsolete and unusable. That's the main reason why Elchemy never upgraded from 0.18
And I would lie if I said that Elm 0.19 didn't shook this project. You can clearly see that after 0.19 release we generally went into radio-silence mode for at least half a year. We were waiting for some movement in the community. Whether It'd be a backlash, revolution or at least a viable replacement for elm-github-install (There is elm-git-install but it's still quite early in development and even more hacky than elm-github-install was)
But 6 months worth of thinking led me to an interesting conclusion which is quite untested till it happens.
I believe we could use Elm 0.19's (and possibly all further versions') hermeticity to our advantage.
The hard ban on Native modules ensures that the packages won't use JavaScript and will be purely Elm - which means purely Elchemy for that matter as well.
With that in mind we can use Elm's package whitelist as our blacklist ;)
Whatever is allowed to have Native modules won't work in Elchemy.
And here's the plan for the experiment:

Remove the last Elm component of Elchemy, which is type inference. Currently developed under https://github.com/elchemy/elm-type-inference started by @joonazan (🙌)  and currently developed by (@MajronMan) to fit Elchemy's needs.
Make Elchemy a super-set of Elm. In a similar way Elixir is Erlangs. Everything written in Elm will be compilable by Elchemy (for backend) at all times, but Elchemy will be free to extend the language to its needs (Needles to say having Elm compiler in Elm will be an awesome addition. From elchemy-live being a piece-of-cake to implement, to having a REPL without any use of Haskell)
Augment Elchemy with Algebraic Effects (Or any other effect system suitable for Erlang VM environment). Currently I'm developing  Elixir compiler extension that adds Algebraic Effects to Elixir to test if it is of practical use to this project
Ensure Elchemy's type-inference reliability is up to par with Elm's. And start a slow inevitable migration of tooling. Once Elchemy adds functionality over Elm, we'll be unable to use current editor plugins which is a huge commitment to make even. That's why adding anything on top has to be delayed as far as possible
???
Elchemy as a stand-alone, type-safe, first class side-effects, distributed systems focused language for Erlang VM - hopefully 🎉

@ShalokShalom since the Gitter appeared to be a flunk and Slack enabled invite link feel free to join out Slack for discussing future of Elchemy
https://join.slack.com/t/elchemy-lang/shared_invite/enQtNjE0NDQzNDE4NTM0LWQwMDNiYjBiOTg4YWE4NGE0MjQ2ZDkzZThiMGRkYjIyZjExMTA4MjQyMTc3ZTYzMDUyOGE3ZjVkNmI1YWMzYTQ

So here is my purposal:
Based on 0.18, release a LTS version, which ensure for the people that they can build up on it.
Succeed then with your super set idea, that is great.
Forgive my noobish standpoint:
Why do you like to develop an own type inference?

@ShalokShalom Of course it depends on the overall requirements but in general writing a type inference isn't that a big deal as long as the language isn't mixed paradigma like e.g. F#.

Then I am wondering why the people say that type inference in Elm isnt as good as in Haskell or F#

That's a very generic statement. I've already used Elm in production and cant complain about the type inference compared to F#


Nest module

Hi every one,
if i want to develop an module for set the temperature inside my home throw nest of google ...how i can give the right command with jasper?
I would to know how i can pass an command like this:
"Jasper"
"Set temperature to 22c to home"
after i define "set temperature" how i can give the right temperature?
Thanks

You can pass transcribed text to your custom module and then use regex for parsing/extracting temprature from it.
But when you write your regex for parsing the transcribed text, keep in mind that not all STT Engine returns similar transcribed text.
See following examples
Google STT -> SET TEMPERATURE TO 22 DEGREE CELSIUS TO HOME
WitAi STT -> SET TEMPERATURE TO TWENTY TWO DEGREES CELSIUS TO HOME
GoogleSTT Engine returns digit 22 while WitAi returns TWENTY TWO.

Ok, but now the problem is Jasper on Raspberry Pi zero... u know if is possible to install on it ?

That's the separate topic.

Do u have any idea about the installation of jasper on raspberry pizero?


style: lowercase graph titles (and other content changes)

changes

lowercase graph titles

unless the word is a proper noun or acronym
graph labels keep their capitalisations

content changes:

move cat/dog person description to misc section
use US instead of USA (see here]
some rewording of graph titles and related text

replace male/female with men/women
add punctuation to big spans of text (not the ones meant as a title, as in the stories section)

other
closes #36 .

Small nits, also I am wondering if we should also change the graph titles to use the word respondent instead of student now since we are changing all the graph title already?

i do think we use this interchangeably; maybe we specify this at the beginning (in the introduction?) so that people don't get the wrong idea? i do feel respondents to come off as pretty "cold" when reading graph titles


itkImportImageContainer AllocateElements documentation doesn't seem right

This ( in itkImportImageContainer.h ) doesn't seem right to me
  /**
   * Allocates elements of the array.  If UseDefaultConstructor is true, then
   * the default constructor is used to initialize each element.  POD date types
   * initialize to zero.
   */
  virtual TElement *
  AllocateElements(ElementIdentifier size, bool UseDefaultConstructor = false) const;

UseDefaultConstructor controls this:
    if (UseDefaultConstructor)
    {
      data = new TElement[size](); // POD types initialized to 0, others use default constructor.
    }
    else
    {
      data = new TElement[size]; // Faster but uninitialized
    }

C++03 value initialization with () is not about using a default constructor or not. A user-provided default constructor will be called in both cases, of course.
The difference is for POD types (notation POD "plain old data" is, BTW, deprecated together with std::is_pod, actually it is std::is_trivial<T>() && std::is_standard_layout<T>() ). For such types, e.g. scalars, () will have effect of zero-initialization, the same as with C++11 {}.
#include <iostream>

class A
{
public:
	A()
	{
		x = 0;
		std::cout << "A() ctor" << std::endl;
	}
	int x;
};

int main()
{
	A * a = new A[2];
	A * b = new A[2]();
	delete [] a;
	delete [] b;
	return 0;
}

r@deb2:~$ ./a.out
A() ctor
A() ctor
A() ctor
A() ctor

It is e.g. related to RGB images
  using RGBPixelType = itk::RGBPixel<unsigned char>;
  using ImageType = itk::Image<RGBPixelType, 2>;

itk::RGBPixel has a constructor RGBPixel() { this->Fill(0); } and
image->Allocate();
image->Allocate(true);
image->Allocate(false);
will make no difference, the default constructor will be always used (tested).
Again, for e.g. scalar types there is the effect of zero-initialization
int * x = new int[100]();
Any class with a use-provided default constructor, even the simplest one, is no longer trivial
#include <iostream>
#include <type_traits>

class A
{
public:
  A() {}
  int x;
};

class B
{
public:
  int x;
};

class C
{
public:
  C() = default;
  int x;
};

int main()
{
  std::cout
    << std::is_standard_layout<A>() << " " << std::is_trivial<A>() << '\n'
    << std::is_standard_layout<B>() << " " << std::is_trivial<B>() << '\n'
    << std::is_standard_layout<C>() << " " << std::is_trivial<C>() << std::endl;
  return 0;
}

r@deb2:~$ ./a.out
1 0
1 1
1 1

I would suggest to make STYLE changes, remove the part about the "default constructor" from the comment and rename the variable UseDefaultConstructor to UseValueInitialization.
CC @N-Dekker
Edit:
For completeness, in the above example  A * a = new A[2]() or A * a = new A[2]{} does not initialize x, no difference with A * a = new A[2], but for B and C (trivial types)  B * b = new B[2]() or B * b = new B[2]{} does initialize x to 0. Tested with Valgrind.

Thanks @issakomi
FYI, value-initialization is also of interest for an aggregate of trivial and non-trivial components:
struct MyAggregate
{
    std::string s;
    int i;
};

int main()
{
    auto defaultInitialized = new MyAggregate[2];
    auto valueInitialized = new MyAggregate[2]();

    return valueInitialized[0].i;
}

In this case, value-initialization takes care of zero-initializing the integer MyAggregate::i, whereas default-initialization does not necessarily do so.  https://godbolt.org/z/xGcWTv7Tc
No need to adjust the text of the issue though, it's fine  👍


EU Output modules are labeled incorrectly

The various EU emitters are incorrectly labeled, they all emit one tier higher than they say.
For example the LV emitter gives 128EU/t  but this is actually MV (http://wiki.industrial-craft.net/index.php?title=Copper_Cable)
I'm not sure if the power types have changed, but it defiantly caused exploding machines for me.
Running generators <IP_ADDRESS>-mc1.10.2 and IC2 2-2.6.37-ex110

Hm, you're right. Will fix.

Should be fixed in next build.

The current emitters were renamed to match the voltage (so 128 = medium, 512 = high and so on).
New LV emitter that outputs 32eu/t and is cheaper to make than the old LV one.
I've left 8192eu/t one in, it doesn't seem to have a proper name in the new system buy i named it "Insane Voltage" - it will work with IC2 machines with enough transformer upgrades to count as tier 5 (e.g. mass fab with 2 upgrades).


php-cs-fixer not found after successfully installing it

Description
I have installed php-cs-fixer and it is working fine by itself, but atom-beautify keep on saying it can't find it. I have use the absolute path in the settings too.
Debug
https://gist.github.com/anonymous/31649b3564793d840f24d01e7ac3b370

Same here !

Same here

Same here. Running Mac.


Fixing Wrong deprecation message

Fixed Wrong deprecation message with mergeFeatures (#416) and mergeFeaturesByRank

checks fail?

Shows no error but it still fails
0 errors ✔ | 1 warning ✖ | 2 notes ✖
Error: R CMD check found WARNINGs
Execution halted
Error: Process completed with exit code 1.

Warning: 'agglomerateByRank' is deprecated.

-> is this still used in examples / vignettes / tests?
warnings also lead to failure

It is not being used in  examples / vignettes / tests. Checked  R CMD check mia_1.9.11.tar.gz to see the checkl.og and here is the error.
* using log directory ‘/Users/akasia/mia.Rcheck’
* using R version 4.3.1 (2023-06-16)
* using platform: x86_64-apple-darwin20 (64-bit)
* R was compiled by
    Apple clang version 14.0.3 (clang-14<IP_ADDRESS>.1)
    GNU Fortran (GCC) 12.2.0
* running under: macOS Ventura 13.5
* using session charset: UTF-8
* checking for file ‘mia/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘mia’ version ‘1.9.11’
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... ERROR
Packages suggested but not available: 'dada2', 'reldist'

The suggested packages are required for a complete check.
Checking can be attempted without them by setting the environment
variable _R_CHECK_FORCE_SUGGESTS_ to a false value.

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
* DONE
Status: 1 ERROR

up

Looks good but there are some additional files (.DS_Store). Remove those

removed the additional files


About Dataset

Hi,
Thanks for your great work!
I am wondering if you would release the dataset in your paper?
In fact, i am trying to reproduce the dataset creation pipeline, but I found it was very hard to inpaint the foreground object (i.e, remove this object without generating new ones!). Do you have some suggestions? Like what specific SDXL version do you use and if there exists some magic prompt tricks..
Thank you in advance!

Hi,
Thanks for the message. The dataset contains purchased items with a complex mixture of licenses, so we cannot provide it directly. However, I will consider other methods in the future to make it more accessible.
Regarding inpainting without adding any object, beyond the paper version from months ago, I found some other effective methods in recent weeks:

Use LAMA inpainting for a coarse inpaint and then use SD inpainting with a denoise setting of around 0.6 to 0.7.
Alternatively, you can purchase the Adobe inpaint API and pay for processing each image in the dataset if your dataset is not too large.
Try using the positive prompt "an image of nothing" and the negative prompt "lots of objects" with SDXL at CFG 7.5.

wow, thanks for your quick response. Using LAMA for a coarse inpaint and
then using SD I2I for refinement is exactly what I am doing today, what a
coincidence! But I haven’t found it useful yet. I will try more examples
and adjust the prompt you suggested.
Thanks!
On Thu, 27 Jun 2024 at 22:59, lllyasviel @.***> wrote:

Hi,
Thanks for the message. The dataset contains purchased items with a
complex mixture of licenses, so we cannot provide it directly. However, I
will consider other methods in the future to make it more accessible.
Regarding inpainting without adding any object, beyond the paper version
from months ago, I found some other effective methods in recent weeks:

Use LAMA https://github.com/advimman/lama inpainting for a coarse
inpaint and then use SD inpainting with a denoise setting of around 0.6 to
0.7.
Alternatively, you can purchase the Adobe inpaint API and pay for
processing each image in the dataset if your dataset is not too large.
Try using the positive prompt "an image of nothing" and the
negative prompt "lots of objects" with SDXL at CFG 7.5.

—
Reply to this email directly, view it on GitHub
https://github.com/lllyasviel/LayerDiffuse_DiffusersCLI/issues/5#issuecomment-2194952434,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOPNNM3UTZ4PEMSTKVL2Z5LZJQSFDAVCNFSM6AAAAABJ76SII2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJUHE2TENBTGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi,
Thanks for the message. The dataset contains purchased items with a complex mixture of licenses, so we cannot provide it directly. However, I will consider other methods in the future to make it more accessible.
Regarding inpainting without adding any object, beyond the paper version from months ago, I found some other effective methods in recent weeks:

Use LAMA inpainting for a coarse inpaint and then use SD inpainting with a denoise setting of around 0.6 to 0.7.
Alternatively, you can purchase the Adobe inpaint API and pay for processing each image in the dataset if your dataset is not too large.
Try using the positive prompt "an image of nothing" and the negative prompt "lots of objects" with SDXL at CFG 7.5.

BTW, is the background conditioned layer diffusion already available in Comfyui (I am not familiar with this tool so I want to ask this question)? Since it has not been available yet in  your diffuser-only repo.


I would like to add hover effects to the navbar.

Is your feature request related to a problem? Please describe.
I think hover effects make a website look pretty.
Are you participating under any open-source program?
Hacktoberfest
( fill NA if none )

Plzz assign this to me under Hacktoberfest

@siddhi-244 Assigning this issue to you . Happy Coding !


Bracket blocks on directives should return the last value of the block, not the "pop" of the mode

See lines 1690 ff. in CalcObjectVisitor. It is fine to return the boolean value of the directive, but IFF there is no bracket block, otherwise we should return the final value of the block.
This would allow (for instance):
:sortkeys on {
   eval(...)
}

to get the value of the "eval" result.

So, there was another fix from a couple of months ago that was ignoring return value from directives. That fix interferes with this one, since it was to solve the similar problem:
{
   :results on
   blah
   :results pop
}

which was returning false because of the directive at the end.  But now we're getting null from :results on { ... } because we're ignoring the return value from the directive .... ARGH! Or maybe from the "LF}" terminal nodes at the end.
REALLY need some deep analysis here to get it right.
I THINK it will work with the current paradigm (bracket blocks return values from inside, not ignoring directives), EXCEPT we need to finish the bracket block code for :decimal, :mixed and etc. (the non-mode directives) so they will work inside functions to temporarily set an option or something and pop the value once we're done.

Changes are being made to "isEmptyStmt", but I think there could be more: ignore { also, and maybe other (most?) TerminalNodes that come by, such as (, ), [, and etc.  Need to take a good look at the debug outputs to see what other ones get saved in the parse tree and can be ignored.  Maybe :debug on should also enable some of these other debug type displays (inside "isEmptyStmt" or "internalVisitStatements").


Read both Content-Length header and req.ContentLength

This should fix an issue where if you put a fcgi application behind fcgi listener, the content length is lost.
Eg (HTTP req) -> WebServer -> fastcgi -> (Go App with fcgi + http + gofast) -> PHP
All requests lose their body.

I have changed the logic, so the content length header is only set when there is an RFC-compliant content length.
PS gofmt seems to have decided to reformat a bunch of the comments.... I can fix this manually if it's a problem.

@yookoala Not sure, I have been using GoLand and the default is to reformat on save, via gofmt, there does not appear to be specific settings for the formatter. I was using go 1.21, it looks like in go 1.19 there were some updates to the comments formatting.

@cseufert: I want to incorp your formatting rules to CI, if possible. My gofmt didn't change the comment formatting. Will try with go1.21. Thanks.


Sometimes the pod of Terraform Job will failed due to network issue.

➜  /Users/zhouzhengxi/Programming/golang/src/github.com/zzxwill/terraform-controller/examples git:(master) ✗ k logs -f aliyun-oss-xsqr9

Initializing the backend...

Initializing provider plugins...
- Finding latest version of hashicorp/alicloud...
- Installing hashicorp/alicloud v1.119.1...

Warning: Additional provider information from registry

The remote registry returned warnings for
registry.terraform.io/hashicorp/alicloud:

Error: Failed to install provider

Error while installing hashicorp/alicloud v1.119.1: Get
"https://releases.hashicorp.com/terraform-provider-alicloud/1.119.1/terraform-provider-alicloud_1.119.1_linux_amd64.zip":
dial tcp [2a04:4e42:12::439]:443: connect: network is unreachable

- For users on Terraform 0.13 or greater, this provider has moved to
aliyun/alicloud. Please update your source in required_providers.

Fixed by built-in Alibaba provider, and some common providers, null and template.


react-native-router-flux can not performance perfectly

@LeoLeBras can you show some cases for how to use react-native-router-flux in this package? Thank you. Maybe this question should post in react-native-router-flux

Can you give me more details?
You can see a detailled example provided in this package here.

RNRF isn't considered stable as it's based off the new React-native nav api, although it's still quite solid to use and will only get better as more code is pushed to the repo.

Closing issue #9


KAFKA-7540 reduce session timeout to evict dead member in time and so…

issue: https://issues.apache.org/jira/browse/KAFKA-7540
In short, the LEAVE_GROUP is sent to a shutdown broker so the dead member which is left in the group obstructs broker from completing rebalance.
The test case creates two consumers (with different group) and then shutdown their coordinator (broker). After first coordinator is shutdown, the heartbeat thread of first consumer gets timeout so it sends LEAVE_GROUP request to “next” coordinator. Unfortunately, the LEAVE_GROUP request can’t be processed successfully if the ”next” coordinator is the coordinator of second consumer (yep, it is shutdown also).
The simple approach is that we can reduce the session timeout so coordinator can evict dead member in time.
Committer Checklist (excluded from commit message)

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

I have looped the test 40 times. all pass


fix(ecmascript): Fix bugs

swc_ecma_parser:

[x] Remove UB.

swc_ecma_codegen:

[x] Remove codes related to the UB of the parser. (Closes #1782)

swc_ecma_preset_env:

[ ] Transpile nullish assignment for firefox 72 ~ 78. (Closes #1812)

Also if it seems now swc will transform
const a = '\n'

to
const a = '\\n'

Also if it seems now swc will transform
const a = '\n'

to
const a = '\\n'

Really? I think \n will be handled with other codes.

Sorry, seems like I got it wrong


Handle conflicting DLLs on MacOS

Thank your for contributing to Nuitka!
!! Please check that you select the develop branch (details see below link) !!
Before submitting a PR, please review the guidelines:
Contributing Guidelines
What does this PR do?
Handles conflicting DLLs on MacOS by comparing version numbers and keeping the highest
Why was it initiated? Any relevant Issues?
https://github.com/Nuitka/Nuitka/issues/1608#issuecomment-1160002420
PR Checklist

[x] Correct base branch selected? Should be develop branch.
[x] Enabled commit hook or executed ./bin/autoformat-nuitka-source.
[ ] All tests still pass. Check the Developer Manual about Running the Tests.
There are GitHub Actions tests that cover the most important
things however, and you are welcome to rely on those, but they might not
cover enough.
[ ] Ideally new features or fixed regressions ought to be covered via new tests.
[ ] Ideally new or changed features have documentation updates.

Mabe I am missing something, but this seems useless:
    def __lt__(self, other):
        for i in range(max([len(self.vtuple), len(other.vtuple)])):
            try:
                if self.vtuple[i] < other.vtuple[i]:
                    return True
                elif self.vtuple[i] > other.vtuple[i]:
                    return False
            except IndexError:
                return len(self.vtuple) < len(other.vtuple)
        return False

A tuple comparison does that too, does it not? I think I will try without this VersionTuple...

I cherry-picked the commit from your repo, strangely that was only one, and you seem to have rebased with no mercy for unrelated changes, but I was able to resolve it. However, I changed a lot about it, as you used no infrastructure of Nuitka for process execution. I also feel the version tuple has no point, but I guess, testing will reveal that. Please have a look, and let me know if it's OK to have your name as author. Still the idea how to do it is your contribution.

Thank you for committing this and checking in with me. I appreciate the author status. I apologies for poor practices, the change was made to solve a rather pressing issue in our project and it is my first time working on Nuitka. For further pull requests I will endeavor to neaten things up!

Sorry if I made it sound like you were doing anything wrong, you did not, this was fully understood and agreed. I just wanted you to know what I did, because it's rather more, and if it breaks things, your name is on it now. ;-)


Add Cloudopt Next

Thanks @renatocfrancisco I'll wait some time then if not adjust, I adjust this.


Are all techniques mentioned in paper ready in current LMCache repo?

I've read CacheGen and CacheBlend and really appreciate them. I wonder whether they are ready in current release version.

Yes. The following entries in the configuration file is related to CacheGen and CacheBlend:
# The remote serde for the backend
# Can be "cachegen"
remote_serde: Optional[str]

# Whether to enable KV cache blending
# Set to False by default
enable_blending: bool

# The recompute ratio if KV cache blending is enabled
# Set to 0.5 by default
blend_recompute_ratio: float

# The minimum number of tokens for blending
# Set to 256 by default
blend_min_tokens: int

For more details, you can take a look at https://docs.lmcache.ai/configuration/config.html
The code can also be found in this repo. Please let me know if you want to learn more details.


Writing a data point after wake-up

Hi!
I've noticed several times that it doesn't always wake up reliably before a data point is written.
If I change e.g. the target SoC to start a charging process, the data point is reset to the old value after some time (about 5-10 seconds). A new try is successful. This always seems to happen when the vehicle has slept.
Bug or feature? ;-)

Bug, I see the same issue, but did not yet have time to fix it. Will look into this soon.


Implement new "Instance" trigger

Implement a new ODE Trigger to trigger on new tracking_id for a specific class_id

New ODE Trigger type to trigger on a new Object Instance for a specific class_id as identified by a new tracking_id
/**
 * @brief Instance trigger that checks for a new instance of an Object identified by its`tracking_id` for a
 * specified source and object class_id.
 * @param[in] name unique name for the ODE Trigger
 * @param[in] source unique source name filter for the ODE Trigger, NULL = ANY_SOURCE
 * @param[in] class_id class id filter for this ODE Trigger
 * @param[in] limit limits the number of ODE occurrences, a value of 0 = NO limit
 * @return DSL_RESULT_SUCCESS on success, DSL_RESULT_ODE_TRIGGER_RESULT otherwise.
 */
DslReturnType dsl_ode_trigger_instance_new(const wchar_t* name, const wchar_t* source, uint class_id, uint limit);

this is done


Incorrect refraction

Problem with refractions - drawing on the back of cube (on the right side of cube).

This is an unfortunate side effect of using the screen texture as the cube
is fully rendered.
The way to fix this is to render a second viewport with a clipping plane
but Godot doesn’t support clipping planes yet. Still planning to add a PR
for that.
On Fri, 22 Jun 2018 at 6:08 am, Soarex16<EMAIL_ADDRESS>wrote:

Problem with refractions - drawing on the back of cube (top right corner
of cube).
[image: image]
https://user-images.githubusercontent.com/9287604/41742806-c566fac2-75a7-11e8-9e1a-30abaa15bf55.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BastiaanOlij/shader_tutorial/issues/4, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AB2vacb3pF6PsEbJk6HV3bZ8wuySmDdIks5t-_1MgaJpZM4UysLQ
.

--
Kindest regards,
Bastiaan Olij
https://www.facebook.com/bastiaan.olij
https://twitter.com/mux213
https://www.youtube.com/channel/UCrbLJYzJjDf2p-vJC011lYw
https://github.com/BastiaanOlij

Thank you a lot for the tutorial!
Is this artifacts related to the problem? I trying to made low-poly shader and have the same issue.


prvosion: ansible: Pass plan environment

Prior to this change environment variables declared via in plan's
environment were ignored.

That's critical for leapp e2e tests to run properly with tmt

Marking as a must have for 1.6.

That's critical for leapp e2e tests to run properly with tmt

@psss remember when I said, that I was wrong and it isn't critical as I found a workaround? Well turns out I didn't and it is blocking e2e test transition for real.
Added tests, F34 job is failing though :(


Troubles Poll/Connecting to VM Controller

Are these the correct settings for the Macros?

Hey perfect timing. I too am having trouble. I get a warning that says "could not resolve host https" and that's all I see. I also added the same exact variables.

@athornfam2 You can at least mention what tipe of error (if there is one) you are facing?

@FreakyBigFoot are you using full url on {$UNIFI.IP} macros instead of ip or fqdn?

I just got it to work. I used my fqdn. Don't put http:// or https:// just the FQDN or IP. I'm seeing a bunch of data now. I'm not sure if you have to but I enabled the Discovery in Data Collection > Hosts > Unifi Network (or whatever yours is named) Then I selected Discovery and enabled all 5.
Hopefully this helps with you.

All instructions on how to use this template is well documented on main README.md file, from 'How to use' section:

{$UNIFI.IP}: IP or FQDN of Unifi Network Web Interface.

Currently facing what seems to be the same or similar problem.
I'm using latest available version (8.0.7) of Controller (Network App) installed on the Ubuntu Server VM, that is hosted on the same hardware as Zabbix VM. Outside of this issue both Controller and Zabbix are working fine and I can ping both vms from either one of them.
In Zabbix wen I go to the host settings of the added Unifi Network host next to discovery rules I see red exclamation marks with popup messages stating "Cannot perform request: Could not resolve host: api".
What I have noticed is that self hosted controller uses port 8443 instead of 443. I experimented by including port number in {$UNIFI.IP} macros, but that didn't help.

Hi @Temerev-KS,
this template was tested only using https port 443, http isn't supported. You can provide me the error returned from this 3 items?

this template was tested only using https port 443, http isn't supported. You can provide me the error returned from this 3 items?

Hi! Thank you for replying quickly!
Now I'm afraid that I can't provide you the error, because now everything is working fine! But yesterday it was literally "Cannot perform request: Could not resolve host: api".
It's one of those times when you change absolutely nothing and try to run/refresh it first thing in the morning and it just works. Not sure if this is bad because it indicates some instability or good because everything seems fine right now.
Regarding what you've mentioned, about http vs https. Evidently controller app uses https, but just running api and webgui on a different port (my guess is to avoid compatibility issues and uncertainties associated with self hosting). There is a port reference page on the Ubiquiti website were they state the difference in ports used by their hardware controllers (like UDMs, Cloud Keys, etc.) and self hosted applications.
Now I should mention that currently in {$UNIFI.IP} macros I have ip address with port specified.

Perhaps this is something worth mentioning in the readme.md.
Anyway, I appreciate your work, thank you!

This error Cannot perform request: Could not resolve host: api can be caused by an incorrect configuration of one of this MACROS: {$UNIFI.API.AUTH.TOKEN}, {$UNIFI.API.AUTH.URI}, {$UNIFI.API.URI} and {$UNIFI.IP}. This MACROS need to be configured following README.md otherwise the template doesn't work.
Port can be used on {$UNIFI.IP} but I never tested it. This is how is used on template, so port can be specified.

@MassimilianoPasquini97 I'm not receiving any error at all for my host with the correct configuration in place.


Compose.js Updates

Added a more interactive Compose.js Prompt using Inquirer.js and handling for empty values

forgot updaing readme, rip


Bring back hover buttons for adding cells (#10012)

Tracking issue #10008.

/merge

Merging PR based on approval from @chlafreniere


How to use the trade date as a feature?

Is there a specific field expression for "date" or I need to add a column "date" to the provider uri?

@wuzhe1234
You can refer to this example.
It is not design for your requirement but I think it will be a good example for you.
Welcome to send PR to implement expression operator   :)
Thanks

Thanks, I'll look at it!

@wuzhe1234
Sorry.  I forgot to paste the link..
https://github.com/microsoft/qlib/blob/main/examples/highfreq/highfreq_ops.py#L92


refactor(layouts): remove additional function to register backend lay…

…outs (#166)
resolve #166

@gdulamat last part of breakings and we can release 1.0.0, please notice - I have simplified updates on nuxt context.


Publish to npm out of sync

npm hasn't been published in over a year.
The package.json on github has a "@tensorflow/tfjs": "^4.0.0", while npm has "@tensorflow/tfjs": "^3.18.0", despite being listed as the same version 2.4.2.

you're very right!  I need to update!
Do you have an interest in becoming an npm publisher ?

Hey @GantMan. I'd be interested in helping out.
I'll shoot you an email and we can discuss scope and whatnot.

@tylertyssedal thanks for opening this issue! we've updated nsfwjs to v3.0.0! (npm & github)


[Registration] Name input validation is failing for names like Joana d'Arc, Martin Luther King, Jr. and Hector Sausage-Hausen

[Actual result] Name input validation is failing for names like: Joana d'Arc, Martin Luther King, Jr. and Hector Sausage-Hausen
[Expected result] Should allow the the following special chars: -,' and ç
[Steps to reproduce] Registration module > new patient > patient name > Type one of the names: Joana d'Arc, Martin Luther King, Jr. and Hector Sausage-Hausen in any input field

 1.0.0_3 Feature: Search Patient


Make sleep after E10: 7 seconds

3 seconds is too fast fills up log quickly

Make sleep after closing PR

What?

sleep too long

Made it 7 seconds

no too long


change scopes -> scope for requesting scope from oauth

Coverage remained the same at 70.822% when pulling f1925c65a192feff512c3e54808f8c302ad52723 on abemassry:docs-scopes-to-scope into d200acc2ade3e8f13021b9f008c2124b05ad72ba on linode:develop.


Fix #258: Allow escaping pipes within tables

Should fix #258
A port of https://github.com/Khan/simple-markdown/commit/f32a628401745787a2a199a5d3bde1efced4d6d5
to markdown-to-jsx.
Previously, tables were parsed using String.prototype.split on pipe
(|) characters.
This PR changes table parsing to use a full parse() call, using a
new tableSeparator rule to match tableSeparators. Because
tableSeparator is now a rule, the escapedText rule can handle
escaped pipes within the table, and the codeInline rule can handle
inline code with pipes in it.
Test plan:
Added tests to index.compiler.spec.js

Thanks for this @ariabuckles! I'll take a look in the next day or two, really appreciate the contribution ❤

Thanks for taking a look @probablyup !


Should we render empty components?

Relevant discussion

I feel like we made the decision that we render empty components based on the discussion, so I'm going to close this out.


feat: Add the 2 new supported v1/verify payloads

Description
Fix https://github.com/kubewarden/policy-sdk-rust/issues/40
Fix https://github.com/kubewarden/policy-sdk-rust/issues/41
Test
Locally. See also on the automated build.

Updated to match changes in https://github.com/kubewarden/policy-evaluator/pull/152.

@flavio which fields are missing? JSON objects looks good to me. I've used these objects like those for testing the verify-image-signatures policy

this is ready for another review, with the latest changes in the callback payloads.


fix: crash on android shutdown

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Unable to support new record class, etc

Fixed in 8c79943b50ceeade60775bbca6f85176a0dd8f7f

@aelij
Looks like it's still an issue in 15.1

The issue seems to be related to the version of .Net Core selected in the drop down. I got that error with .Net Core 5.0.205 but the same code worked fine with .Net Core 2.2.207.

Still occurs, with .net 6.0.101 as well. This should be reopened @aelij


Latest version

Hi, I played this game a lot on my old phone. I can't find the app on my new phone for what I'm assuming is copyright reasons. Do you have an APK of the latest version (1.6.0?)? I finished the game ages ago but I like to replay levels when I'm on the train and don't have signal. Thanks.

@dylmye nice to know somebody still like this game😊 Game popularity decreased a lot, so I didn't update privacy policy when Google asked for that and game was removed from the market. I saved last build, you can download it in release section.


C/C++ transpiling for addons

I suggest exploring following way of writing addons.
Concept
Instead of including particular engine headers and working with engine's APIs (v8::*), addon may look like a plain C/C++ program:
void some_fn(int value, js_str_t str) {
  // ...
}

The transpiler will take such function and rewrite it in a way that will make it compatible with engine. For example, the code above may result in something like this:
void some_fn(const FunctionCallbackInfo<Value>& args) {
  int value = args[0]->ToInteger();
  js_str_t str;
  String::Utf8Value tmp(args[1]->ToString());

  str.data = *tmp;
  str.length = tmp.length();

  // addon code
}

Benefits
This approach provides three important benefits:

Independence of particular JS engine
No need for pre-compiling stuff, node.js will carry clang with transpiler
Simple way to test functions using just C/C++ APIs without initializing V8 or whatever engine

Some further ideas
Struct-object
typedef struct my_obj_t {
  int x;
  js_str_t str;
};

void my_fn(my_obj_t* obj) {
  // Accessing object, or updating its properties will update relevant JS object
}

Function
typedef void (*ext_fn_t)(int x, js_str_t str);

void my_fn(ext_fn_t ext) {
  // This will invoke JS function referenced by `ext`
  ext(1, JS_STR("..."));
}

cc @nodejs/v8 @Fishrock123 @trevnorris @jasnell and everyone interested. Let's have some discussion about this.

Also @bnoordhuis

node.js will carry clang with transpiler

He said, as if it were nothing.

Having a working clang as a part of node-gyp would be nice, but limiting all node users to use only clang compiler to compile native addons is kind of wrong, sorry.

Maybe I'm missing something obvious, but part of the API WG discussion was to isolate module users from having to compile anything at all at install time, I'm not sure how that can be achieved if we need to bundle clang for source-to-source translation?

I see bundling clang as a part of node-gyp as an opportunity to silent those complaining about their broken Windows installations.

@bnoordhuis sarcasm != argument . What are our objections to it? Binary size? Licensing?
@kobalicek this is not going to be the only one way to compile addons. Just the suggested one.
@stefanmb sorry, I wasn't participating in that discussion. May I ask you what was the motivation for it?

@stefanmb I don't see a reason why to isolate developers from compiling native addons. Native addons are native. If you want to isolate users from compilation then the compilation can happen somewhere on the server-side and npm can check if it's already compiled for a particular version/arch/os, and then download the binary. But I think all of this effort would be just for Windows' users, has anybody using Linux/BSD ever complained about compilation?

sarcasm != argument . What are our objections to it? Binary size? Licensing?

@indutny It's not sarcasm.  You're proposing to take on a dependency on a (very) large project.  We'll be on the hook for making sure it builds and works on the platforms we support.
There is inevitably a maintenance cost, possibly a large one.  I'm not saying it's a bad idea per se but your original post doesn't address that.

@bnoordhuis no-no-no, this is not what I suggest. I suggest to bundle binaries with us! :) There are already lots of prebuilt libraries for chromium, we can just do the same thing.

@indutny I think you approach has one problem - it completely hides the fact that the function is called by a VM. I'm author of only one addon, but it's a gigantic one and I can say this won't work for me. Calling functions without VM doesn't make any sense to me. It can work when you need to sum two variables, but it just doesn't work when you need to do something regular - check values, create objects, iterate objects, throw, catch, etc... it basically prevents any interaction with the VM.
Here is some work that I have done (http://blend2d.com/screencast.html) and basically I'm trying to develop an agnostic VM API that can address my use case. If I can address this then I'm sure it can be extended to address more use cases.

@kobalicek I think it is possible to add value type checks, object creation, and iteration into the proposed model. It just needs to be as abstract as possible.
Surely, it disallows direct interaction with VM. However, it may work for many use cases. For example, take bignum module which is quite popular. Technically, it is mostly about providing bindings to the OpenSSL's C API. There is no need for direct VM interaction there.

@indutny your proposal may work for simple modules, or modules that only need a couple straightforward system calls. In fact, an FFI may be a similar but better approach for such modules, as an FFI with cooperation from VM vendors could completely shield the native developer from anything related to JS or V8.
If we could have everything proposed during the summit, I'd think FFI would address simple modules or modules with simple needs from native; and a true native API would address complex ones.

I think there should be no difference between a simple and complex module, that seems worse than anything else to me

@joshgav the difference between FFI and my approach is that my approach allows modifying JS objects and calling back to JS-land, while FFI does not really allow this.
Unfortunately, remote participation was really limited during the summit. I wish I could say more there.

@kobalicek I agree with you. What I personally mean by complex module is a kind of module that does coupling to particular JS engine. Say the module like ref or heapdump.

So having some kind of wrapper that still allows you to interact directly with the VM is fine no? This is actually the approach that I'm trying

coupling != interaction. This mean reliance on particular API provided only by a particular VM.

What I mean is that if the neutral API provides the least common denominator, but some module requires some let's say V8 functionality that is really V8 specific there should be a way to access it. This is my main reason to maintain source-code compatibility, but to not enforce ABI compatibility.

Of course! This should not block anyone from writing vm-specific addons. I'm just saying that these are rare cases, that we should support, but not should not take as a major example.

@indutny so to be clear - you're not suggesting adding clang as a dependency of node - rather than that - a binary produced by it that performs some transformation?
Why would clang be used in particular? Can't the above transformations be written in a just-slightly-uglier way with regular templates and macros? I'm sure I'm not considering many cases but for the cases you've outlined above I think it's possible if we have a reasonable (c++11) compiler which we require anyway for building Node add-ins.

@jeisinger do you think IDL could be used to call JS from C/C++ too? What about property loads/stores? Do we want to just expose structs to JS and assume that JS will do the rest?

@indutny At the VM summit we discussed a dynamic, JIT supported FFI. I think it should be possible to support JS calls from C/C++. The FFI needs to generate/provide a C callable function that can wrap the JS function. Structs could be handled using proxies.
Or think about it differently; if you can write a transpiler to do a specific source transformation, there is no reason a dynamic FFI couldn't generate similar code at runtime. The biggest benefit of FFI above your proposal is ABI compatibility.

To call js from c++ or to modify js objects, you'd have to use a very strictly defined syntax that the transpiler would be able to recognize. At that point, you could just provide a c/c++ API for calling/modifying js

You are right. Closing. Thank you!


Adds generation of source maps with debug run

Adds dependencies gulp-if and gulp-sourcemaps.
Adds a new gulp task to set environment variable to generate source maps.

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

Before the changes:

After adding source map output:

Great! Nice work, @sondreb. The PR is accepted but please notice that there is a modularization work ongoing which refactor these codes to provide a better development integration.  So the codes in the PR may be rewritten later.


feat: add demo links and tags to asset detail page

Closes #383

Changelog
New

Add list of tags to asset detail page
Add list of demo links to asset detail page
Add list of demo links to library asset detail page

Testing / reviewing
Pull locally, check that demo links and tags are showing up on detail pages that have them, and check that – is showing for assets that don't have them.

Reviewing now

@mattrosno is the sort still not working? I added some dummy data locally and tested and it seems to be working for me.

Looks good!
Just two small things:

I don't know if this would happen but I notice the comma will go off onto a new line with a slightly longer url name (in mobile). Not a big deal, but just wanted to let ya know

I'm also not seeing the sort - trying to look into what's going on 🤔

yay it works!


Copy to clipboard

With the visualizer able to decode a list of hex values into SPIR-V, it would be great if said SPIR-V could be copied out of the visualizer (so for example one could then copy it to a file and run it through spirv-cross).
A "Copy to Clipboard" button should do the trick! A "Save to File" button would also serve this purpose, but the former gives the user more options.

I might start with a "Save to File" as it would be easier since the data is in a binary format already
the copy-to-clipboard might be a tad harder as the assembler logic brings the text to a binary format that is then re-parsed, but should be able to slight modify the current dissemble logic to be loaded by a spirv-as/spirv-cross binary

so finally had time to try this, was not the worst and have something that I assume is 98% going to work
there are a few edge case instructions I display differently then the standard spirv-as does, but should be good... of course let me know if you try to use it and find issues!