🚀 Feature: Plugin-catalog, missing EntityDependencyOfResourcesCard for EntityPage ?

🔖 Feature description
It would be nice to have a Card so that a list of resources dependent on another resource could be displayed on the entityPage:

EntityDependencyOfResourcesCard

It feels really missing when you see that these 3 cards exists:

EntityDependsOnComponentsCard
EntityDependsOnResourcesCard
EntityDependencyOfComponentsCard

At the moment, the DependencyOfResource can only be shown on the Graph, but not in the tables from what I can tell...
🎤 Context
In the service catalog, I was able to describe the relations between my resources using dependsOn and dependencyOf, both of which are creating relations between my resources.
I now would be able to display via a card these dependencies from my resource page, EntityDependencyOfComponentsCard is solving 50% of the problem, but EntityDependencyOfResourcesCard is missing.
✌ Possible Implementation
I imagine an implementation almost identical as EntityDependencyOfComponentsCard would give us the EntityDependencyOfResourcesCard ?
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, but I'm happy to collaborate on a PR with someone else

So I believe in the spirit of this:
https://github.com/backstage/backstage/tree/master/plugins/catalog/src/components/DependencyOfComponentsCard
We could build the other-side of the dependency:
https://github.com/backstage/backstage/tree/master/plugins/catalog/src/components/DependsOnResourcesCard

Hi! Just to confirm, you have resources that depend on other resources that you want to display?
Would be nice if we could consolidate this into a single Card that could be configured with props as most of these dependency cards are likely quite similar.

Hi @jhaals, thanks for your message,
Indeed, I have a series of resources that all depends on one resource. From this resource perspective, I would like to have a list of all the resources declaring a dependency to it. And from what I can see, it's not possible yet since EntityDependencyOfResourcesCard is missing.
If my resources were components, I would be able to do exactly that since the cards exists: EntityDependencyOfComponentsCard
And I totally agree with you that a generic way would be better to avoid too much duplication in the cards code 👍


Encode leaf index in second child pointer

Haven't added tests for cast().
Haven't added a static assertion that the size of Node * matches size_t.

What would you do? using SizeType= typename Kokkos::BinSort<Kokkos::View<unsigned int *, DeviceType>, CompType>::size_type? H no!

"Ugly is beautiful" (Arthur Hailey)

That said, I realize now that BinSort::size_type is aliasing a template parameter that defaults to the memory space size type. I realize now I can specify it to be size_t and then all the casting hell goes away.

Neat!

@aprokop would you please review the updated version?  I will rebase and squash/drop before the final merge.


drag and drop text not working

VSCode Version: Code 1.11.2 (6eaebe3b9c70406d67c97779468c324a7a95db0e, 2017-04-13T08:03:11.395Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Extension
Author
Version

vscode-icontheme-nomo-dark
be5invis
1.2.6

resharper9-keybindings
ms-vscode
1.1.0

vs-keybindings
ms-vscode
0.1.3

Steps to Reproduce:
i just trying to select text then try to drag and drop it in a deterrent place  but instead of dragging the text it select the other lines

it was setting
i enabled the drag and drop form the setting


how to use mysql user variable in Exec()?

Your Question
My code is like db.Exec("INSERT INTO table1 (name) values ('test');SET @id=@@IDENTITY;INSERT INTO table2 (table1_id) values (@id)").
The question is symbol '@'   is a marker parameter,how can i avoid '@' being replaced?

The document you expected this should be explained

Expected answer

Please create a PR that failed to pass tests

This is not a gorm bug .How can I keep the "@ "symbol in the final generated sql statement?

This is not a gorm bug .How can I keep the "@ "symbol in the final generated sql statement? @jinzhu

I still don't get your idea, a pull request would be helpful for that.

I have the same problem
For example @jinzhu  https://stackoverflow.com/questions/10485769/mysql-update-a-column-with-an-int-based-on-order

所以这问题解决了吗？我也遇到了。。。

For those that are seeing this, we can do this https://gorm.io/zh_CN/docs/sql_builder.html#命名参数
db.Where("name1 = @name OR name2 = @name", sql.Named("name", "jinzhu")).Find(&user)
// SELECT * FROM `users` WHERE name1 = "jinzhu" OR name2 = "jinzhu"

Took me a while to find this :')


IceCast Streaming?

Is there any way you can stream IceCast streams live instead of downloading them before and playing after...?

Streaming is in review.

Hey there, any plans to add streams to json with command like !bassdrive
{
    "bassdrive": {
        "name" : "Bassdrive Radio",
        "desc" : "Worldwide Drum 'n Bass Radio",
        "url" : "http://shouthost.com.32-1.streams.bassdrive.com:8200"
    },
    "dubstepfm": {
        "name" : "Dubstep.FM",
        "desc" : "24h Dubstep Radio Station",
        "url" : "http://<IP_ADDRESS>:8030"
    },
    "vapor": {
        "name" : "Vapor FM",
        "desc" : "Retro electronic inspired Radio",
        "url" : "http://vapor.fm:8000/stream"
    },
    "ahfm": {
        "name" : "AH.FM Trance",
        "desc" : "Afterhours.FM trance station",
        "url" : "http://<IP_ADDRESS>:9020"
    }
}

@Sikksens Feel free to make an issue with a feature request for it.


What is the usage of this project?

Hi,
What is the usage of this project?
I am curious.

This project was created as a part og the hackathon auhack!.
It was an attempt at using LEGOs as a tool for teaching children their very first programming language.
The code currently in this repo manages to read the color of LEGO bricks in an image, and transmit them to a connected EV3 which then executes the commands represented by the LEGO bricks.
The actual usage of the project is mostly as a proof of concept, for making this language in LEGO bricks which can program a robot.

Many thanks for the info.
I have created an issue to link interesting projects which used the library.
https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues/481
When I have the document ready, if you want to participate, you are invited. :)
Cheers
Juan Antonio


feat: Add support for hidden fields

While writing docs I noticed we dont support hidden fields since we dont pass form URL but rather just its ID.
Benefits of this approach is we take care of encoding hidden fields values and therefore users dont need to encode it themselves, eg. this is totally valid: data-tf-hidden="name=John X. Doe,hobbies=music&sport,age=???".

:tada: This PR is included in version @typeform/embed-v1.0.0-next.16 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @typeform/embed-v1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ValueError: No JSON object could be decoded

Background
I am translating reviews, some of which have emojis in them. This one review in particular has been breaking while attempting to translate. After debugging, I found that it was this emoji in particular that seems to be breaking the translation where as other emojis appear to be working fine. The google api should be able to handle emojis.
Issue
The following command will break break translations:
text = Translator().translate('😩').text
Stack Trace
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Python/2.7/site-packages/googletrans/client.py", line 132, in translate
    data = self._translate(text, dest, src)
  File "/Library/Python/2.7/site-packages/googletrans/client.py", line 63, in _translate
    data = utils.format_json(r.text)
  File "/Library/Python/2.7/site-packages/googletrans/utils.py", line 51, in format_json
    converted = json.loads(text)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Hi,
I'm getting the same error, how can I avoid it?

Same here. Any ideas?


Translate theme to English

[x] Translate config.toml
[x] Translate theme layout htmls
[x] Translate exampleSite

Translation finished with d3f451bc4786c91c68c40b803b8b93257a670944 a7e6b4e1c65dbf5c20506e4cf668bc31680de605
Closed this issue.


Refactor code

Hi, nice work on this library. I've used it in my project.
Your library is great but I think it's not too well organized. I've created a more readable and maintainable code based on SKGL <IP_ADDRESS>. I'm also added XML docs to the code.
Soon I'll commit the code to my account.

Hi,
Thanks for getting in touch!
I'm happy that you found SKGL useful in your projects and that you took your time to restructure it to make it more organized.
SKGL was written over 5 years ago (I think was in high school back then) and it's great to see that it continues to solve problems it was intended for.
To make software licensing & payment more accessible continues to be my passion up till this point, https://serialkeymanager.com/ being the latest project.
If you would like to try it out for a year or so, please let me know :)
Once again, thank you for the work that you put into it!
/Artem


Cluster deployments Helm v2 -> v3 migration made traefik crash with OOMKill

Do you want to request a feature or report a bug?
Bug
What did you do?
We have migrated all the deployments of a Kubernetes cluster from helm v2.x to v3.x (traefik itself is not deployed with Helm).
Helm v2 used to store Helm "releases" using ConfigMaps. In Helm v3 the "releases" are stored using Secrets.
The contents of theses new Secrets (we had around 700 of them) are quite large binaries (at least hundreds of KiB, but lesser than 1MiB which is kubernetes/etcd limitation) and it seems that Traefik downloads them all from Kubernetes and keeps them in memory (or at least it does not have time to discard them before it is killed).
FYI before we made the migration the memory limit for Traefik pods was 512Mi and we never had a problem. We had to increase it to 2Gi to make it work until we understood where the memory consumption was coming from.
For the record Helm v2 made the nginx-ingress-controller behave quite similarly (OOMkilled because it reached the limit) because it was downloading all the clusters ConfigMaps including all the ones storing Helm v2 releases. The following patch was merged to avoid downloading Helm related ConfigMaps any longer https://github.com/kubernetes/ingress-nginx/pull/5702. Note that this would not work as it for Traefik and Helm v3 Secrets as it seems that Helm v3 Secret labeling use owner=helm instead of OWNER=TILLER, i don't know if the filtering is case sensitive.
What did you expect to see?
I would have expected that traefik does not fetch all the secrets from the Kubernetes api-server, only the ones it needs.
What did you see instead?
Traefik being killed because it consumes too much memory.
Output of traefik version: (What version of Traefik are you using?)
v2.2.1+sylr.1
What is your environment & configuration (arguments, toml, provider, platform, ...)?
    [log]
      level = "INFO"
      format = "json"
    #[tracing]
    #  [tracing.instana]
    #    localAgentHost = "instana-agent.instana.svc.cluster.local."
    #    localAgentPort = 42699
    #    logLevel = "info"
    [accessLog]
      format = "json"
      [accessLog.fields]
        defaultMode = "keep"
      [accessLog.fields.names]
        ClientAddr = "drop"
        RequestAddr = "drop"
      [accessLog.fields.headers]
        [accessLog.fields.headers.names]
          "User-Agent" = "keep"
    [entryPoints.http]
      address = ":80"
    [entryPoints.http-internal]
      address = ":81"
    [entryPoints.https]
      address = ":443"
    [entryPoints.traefik]
      address = ":8080"
    [entryPoints.traefik-ext]
      address = ":8081"
    [providers.kubernetesIngress]
      ingressClass = "traefik-v2"
    [providers.kubernetesCRD]
    [providers.file]
      directory  = "/config/static"
      watch = true
    [api]
      insecure = true
      dashboard = true
      debug = true
    [metrics.prometheus]
      entryPoint = "traefik"
      buckets = [0.1,0.25,0.5,0.75,1.0,1.5,2.0]

If applicable, please paste the log output in DEBUG level (--log.level=DEBUG switch)
(paste your output here)

We also tried to play with our configuration and add a label selector:
[providers.kubernetesCRD]
      labelSelector = "owner notin (helm)"

This did not had any impact on the memory consumption which sounds normal according to this code:
https://github.com/traefik/traefik/blob/86c099d6297bd7103bef8240e90f45492be56000/pkg/provider/kubernetes/crd/client.go#L375-L398
I did not think to add this selector to the kubernetesIngress provider but I suspect it wouldn't have any effect neither:
https://github.com/traefik/traefik/blob/86c099d6297bd7103bef8240e90f45492be56000/pkg/provider/kubernetes/ingress/client.go#L382-L399

Hi @sylr ,
Could you provide a reproducible case with an official version of Traefik?
Thank you.

Hi @sylr,
We were looking at your PR, and we have some questions regarding the use case.
You said that Traefik is not deployed using Helm but you have a lot of new secrets generated through helm storage backend, does it mean that you use the same namespace for all objects?
If you do so, could you have specific namespaces for Traefik and needed resources and then use the namespaces watched by the Kubernetes provider?

No, I do not have only one namespace, I have dozens of them but they are all watched by traefik as they all contains ingresses and ingressroutes.

Closed by #7562.


Request for inclusion of GPUMAX as a pool

https://gpumax.com/dashboard
http://gpumax.com:8332
passwords are abc123 by default
I think default role could be backup with a sub 1 penalty.
Heard about pools-custom.cfg ,  could there be a blank pools-custom.cfg file , not sure if it even work since it's not documented.

It works. We are moving to a new system though so its going to vanish soon.

I'll do this if I get an invite...

no care actually

I did get an invite, but just sat on it until today.  I looked at the site and the OP, however, how are we going to do this?
Also, Non-Supported Pool - BitHopper - High Stales/Rejects is not applicable to what we are doing, we are just concerned with a setting up a worker(s) and using them as a backup role, right?
Also, just create a test file in bitHopper named "pools-custom.cfg" and copy/paste a pool from pools.cfg into it and save after you make your changes.

Just add them to pools.cfg.

Word...  https://github.com/c00w/bitHopper/pull/641 not much info though...
Thanks c00w!


Provide a install_cc_env_fedora.sh

For people wanting to setup 3.0 on fedora machines.

There is already a setup_env_fedora.sh. Closing this issue.


Windows perf fix for expensive string conversion method when logging.

UWP apps running on HoloLens (both x86 and ARM) were seeing huge performance hits causing stalls of upwards of 300ms for logs through Logger::LogEvent due to string conversion in WstringToUTF8.
The constructor for std::wstring_convert<std::codecvt_utf8<wchar_t>, wchar_t> was determined to be the culprit. The main expense was compounded by being inside the inner loop of EventProperties::PopulateEventProperties for dynamic types (gets called many times per log). This was profiled and determined to be very expensive on PC as well as HoloLens, in x86, x64 and ARM targets.
This change is for the conversion from the STL conversion method to the platform method via WideCharToMultiByte. The reverse analog MultiByteToWideChar is already being used for the reverse conversion in the function UTF8ToWstring below in the file.
The performance improvement on this function on the inner loop of the conversion on HoloLens 1 (x86) is about 400x, and on HoloLens 2 (ARM) about 200x. Our frame stalls due to telemetry have been completely eliminated by this change.

@bliptec did another fix recently in #787 .. need to consolidate all usage of C++11 codecvt , and use Win32 API again (back to the old school!).

Close the PR for now. Feel free to reopen it if it is still valid.


[Bug] [bin] Startup class error in anto.sh

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Startup class error in anto.sh.
What you expected to happen
Startup successfully.
How to reproduce
sh auto.sh start
Anything else
No response
Version
dev
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@aiwenmo  I am willing to help fix this issue.


Whitespace cleanup to simplify diffs

What
This is a no-effect change intended to make the rules easier to read and diff.

Adds whitespace and some markdown
Adds bullet lists for run-own paragraphs
excuses a rule that requires entires sentences being emphasized to only be represented as a Header

+1


Deployment Crashed

Describe the bug
Deployment Crashed.
Screenshots / Live demo link (paste the github-readme-stats link as markdown image)

Additional context
Add any other context about the problem here.

It was fixed with 7be0ac3


Sync audio mix rate

Current implementation assumes mix rate is the same between all users, which might not be the case. Can cause audio lag/clicking, and if the receiver is unable to consume the audio data as fast as they're getting it the _receiveBuffer can grow too large and break.

Nice, good catch.


DEADLOCK in distributed mode

OrientDB Version: 3.0.27
In docker image and locally
Expected behavior
What I am trying to do: simply set up a 3 nodes cluster with an embedded orientdb with write quorum majority which is able to recover, if a node goes down (High Availability). Thereby I see two different scenarios: ScenarioA would be to run behind a LB . Due to the master-master nature of orientdb I would expect to be able to write operations on all nodes without any issues. ScenarioB would be to have only one node as master to write to the slave nodes. Both scenarios are currently NOT working in the way that I would expect. It would also be good to have a best practice documentation how to set up a cluster (Use a LB or don't / write only to one node / etc. ...).
Actual behavior

Scenario A: When running a cluster of 3 nodes inserting conflicting data (editing same vertices) into multiple nodes in parallel I often receive a deadlock situation after a certain amount of time. The database tries to do a full sync and is not able to recover from it:

2020-04-20 22:16:18.581  WARN 43976 --- [pool-1-thread-7] c.o.o.s.d.i.ODatabaseDocumentDistributed : Reached limit of retry for commit tx:1.2247 forcing database re-install
2020-04-20 22:16:18.585  INFO 43976 --- [pool-1-thread-7] c.o.o.s.d.i.ODistributedAbstractPlugin$3 : [8082] Current node is a MASTER for database 'TestDB'
2020-04-20 22:16:19.994  WARN 43976 --- [nio-8082-exec-5] c.o.o.s.d.impl.ODistributedDatabaseImpl  : [8082] Timeout (21001ms) on waiting for synchronous responses from nodes=[8082, 8083, 8081] responsesSoFar=[8083] request=(id=2.2716 task=TxPhase1)
2020-04-20 22:16:20.686  WARN 43976 --- [pool-1-thread-7] c.o.o.server.hazelcast.OHazelcastPlugin  : [8082]->[[8081, 8083]] requesting delta database sync for 'TestDB' on local server...
2020-04-20 22:17:02.914  WARN 43976 --- [        Timer-0] c.o.o.s.d.impl.ODistributedDatabaseImpl  : [8082] Timeout (40000ms) on waiting for synchronous responses from nodes=[8083, 8081] responsesSoFar=[8083] request=(id=2.2726 task=upd_db_status)
2020-04-20 22:17:08.545  WARN 43976 --- [pool-1-thread-7] c.o.o.s.d.impl.ODistributedDatabaseImpl  : [8082] Timeout (40001ms) on waiting for synchronous responses from nodes=[8083, 8081] responsesSoFar=[8083] request=(id=2.2772 task=upd_db_status)
ConcurrentModificationException occured, retrying...(2)
Doing some fancy stuff!
2020-04-20 22:17:25.135 ERROR 43976 --- [nio-8082-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.orientechnologies.orient.server.distributed.task.ODistributedOperationException: Request `2.2787` didn't reach the quorum of '2', responses: [node: 8082 success,concurrent modification record (node 8083): #25:0 database version: 4208 transaction version: 4207]
	DB name="TestDB"] with root cause

com.orientechnologies.orient.server.distributed.task.ODistributedOperationException: Request `2.2787` didn't reach the quorum of '2', responses: [node: 8082 success,concurrent modification record (node 8083): #25:0 database version: 4208 transaction version: 4207]
	DB name="TestDB"
	at com.orientechnologies.orient.server.distributed.impl.ONewDistributedTransactionManager.handleResponse(ONewDistributedTransactionManager.java:329) ~[orientdb-distributed-3.0.27.jar!/:3.0.27]

This is unfortunately not reproducible every time. I skipped that approach because I was not sure whether orientdb is able to handle writes in parallel on same vertices.

Scenario B: When doing the same by writing only to one node everything works fine so far. If I kill one of the other nodes from the cluster (to simulate a crash) the existing node continues writing. This is working fine as well. BUT as soon as I restart the killed server, orientdb is starting to do a full sync (writing a lot of chunks). After that, the following logs are shown:

020-04-20 22:27:21.246  WARN 44775 --- [nio-8081-exec-7] c.o.o.s.d.impl.ODistributedDatabaseImpl  : [8081] Timeout (9001ms) on waiting for synchronous responses from nodes=[8082, 8083, 8081] responsesSoFar=[] request=(id=1.7116 task=TxPhase1)
2020-04-20 22:27:41.247  WARN 44775 --- [nio-8081-exec-7] c.o.o.s.d.impl.ODistributedDatabaseImpl  : [8081] Timeout (20001ms) on waiting for synchronous responses from nodes=[8082, 8083, 8081] responsesSoFar=[8081] request=(id=1.7118 task=TxPhase2)
2020-04-20 22:27:41.252 ERROR 44775 --- [nio-8081-exec-7] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.orientechnologies.orient.server.distributed.task.ODistributedOperationException: Request `1.7116` didn't reach the quorum of '2', responses: [node: 8081 success]
	DB name="TestDB"] with root cause

com.orientechnologies.orient.server.distributed.task.ODistributedOperationException: Request `1.7116` didn't reach the quorum of '2', responses: [node: 8081 success]

The whole cluster is dead and not able to process any requests anymore, a full restart is required.
Steps to reproduce
I created a test project with a springboot restservice and an embedded orientdb, which is just performing some operations on the vertex for each request(creating a new vertex and attach to it)
Preparation:

Checkout repo: https://github.com/jonsalvas/orientdb-distributed-test and build.
Prepare 3 folders NodeA,NodeB,NodeC. In each folder the should be a subfolder config containing the application.properties (with different nodeName and port each - port range from 8081-808x), the default-distributed-config.json and hazelcast.xml from the repo.
Start the 3 orientdb instances in terminal (java -jar ...)
Use the attached jmeter project, to perform requests against the db's.
===========
Scenario A
Open jmeter and set the number of threads in thread group to 3 and loop count to 10000 (one for each node) and start.
Observe the logs, after a certain amount of time you will receive the behaviour I described above.
Scenario B
Restart the nodes
Open jmeter and set the number of threads in thread group to 1 (it will only write to one node) and start.
If jmeter runs, kill one of the nodes (not the one writing) in the terminal. The logs should show that there are still requests running on the two other nodes.
Now start the killed node again. The cluster will start hanging during full sync. Which will finally end in a deadlock with

 [8082] Timeout (20001ms) on waiting for synchronous responses from nodes=[8083, 8081] responsesSoFar=[8083] request=(id=0.2658 task=upd_db_status)
`
`Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.orientechnologies.orient.server.distributed.task.ODistributedRecordLockedException: Timeout (100ms) on acquiring lock on record #25:0 on server '8083'.
	DB name="TestDB"] with root cause

If you have any issues for setting up the project or any questions please let me know.
Files.zip

18 days passed and no answer at all... Did I write something stupid? Don't get me wrong but this is CORE functionality IMO, a database must be able to support high load and at least fail over (if not loadbalancing). It would be good to have at least a feedback that you were able to reproduce or even an acknowledgement that you have no time to fix it. I would be satisfied to have at least a workaround, I am really desperate, we already put a lot of time and cost in this!

I have spent nearly 1 year successfully applying orientdb to commercial web projects of a large corporation in Vietnam.
The cluster of 6 nodes has encountered many errors from the client to the server, most of which are due to poorly configured configuration, servers that fail to sync, and data disputes, In order to successfully apply graph orientdb, you must have a data synchronization model, tables that are not updated by threads of different processes, and many other things.

I had to build 2 cluster clusters with 6 servers each to backup each other so that one cluster would die and then rebuild the cluster and the other still ran because I didn't fully trust this new system.
The fastest way to rebuild the cluster is to turn it off and get to a master server and copy it to other servers

Remember that you only stop, but dont start node when you doing write to db

I am not 100 % if I understand what you are recommending but

Remember that you only stop, but dont start node when you doing write to db

This is not an option, nodes in cluster usually die and restart, this is normal behavior in a cloud environment. The other nodes should still be able to write as they are all masters and have all the same copy of data (we are not using shards right now) if I understood the docs. Why is a start of a node while writing to another a so big issue? I would expect that it syncs the data to the new node in a seperate thread and that after a while it switches to ONLINE state. Or am I completely missing the concept here? @luigidellaquila @wolf4ood

6 months over and still no update ?

We used orientdb for nearly 1 year with huge data, 6 node cluster, initially had this problem, later , all the reason is because we do not know how to program with it, do not know the configuration. , now almost a year, we have not encountered this error again, the system is running very well


How to make the labels show at all times as text above/under the markers?

With a lot of work, I've managed set up a Leaflet map for my private use. I was able to figure things out eventually, but there's one IMPORTANT detail which still isn't solved:
How do I make Leaflet ALWAYS show the little label (I load in a GeoJSON file) instead of only showing it when you either actively click on a marker or hover the mouse cursor over it? I want them to ALWAYS show! That's the only way I could possibly get a sane visual overview of the map. Having to hover over each marker to know what it means is frankly almost worthless.
I really have been looking through the documentation. I find not one word about this, not one example, nothing. Even though this ought to be the most common use for any map, no?

Hey @FjicdeiwFeiej!
Just set Popup's autoclose option to false, when binding popup to marker.
Please note that this issue tracker is used for bugs. For support or questions please use Stack Overflow or gis.stackexchange.com.

I've now spent another 30 minutes searching and looking and trying things. Can't get it to work. I don't wanna insult you, but it's really infuriating when the documentation makes no sense. This is what I have:
L.geoJSON(actualData).bindTooltip(function (layer)
{
return layer.feature.properties.name;
}).openTooltip().addTo(bookmarks);

See bindTolltip method documentation.

}, { autoClose: false } ).openTooltip().addTo(bookmarks);
No difference. The labels don't show up unless you hover them. I have no clue what you want me to do.

Hi @FjicdeiwFeiej,
While we can certainly understand that the documentation may not fit your way of thinking (everyone is different after all), this is an Open Source project. Therefore if something does not match your expectation, we are open to constructively discuss about it, and we are even more eager for Pull Requests!
Showing consideration is definitely how you could help things go your way, rather than threatening like you might do for paid solutions (and even in such cases it may not work).
Finally, a more appropriate place to ask for help in your case would very probably be Stack Overflow or gis.stackexchange.com, as stated by @cherniavskii.
For instance, you would probably be interested in that post:
https://stackoverflow.com/questions/43780990/leaflet-labels-when-upgrading-to-1-0-3/43781206#43781206

http://leafletjs.com/reference-1.2.0.html#tooltip-option
permanent: true is what you are looking for.

"permanent: true" made the LAST tooltip show up. All the other ones are gone. Sigh...
Why is it so hard to get my point across? I don't want "tooltips" at all: I want little labels that ALWAYS show. Like any map I've ever seen in my entire life except for Leaflet, which has somehow not thought of this the-most-basic-possible feature, but every other feature? I don't get it.

@FjicdeiwFeiej not sure if this is a language problem or what, but to me it sounds like you're screaming at the people trying to help you in their free time. Please note that it is not our job to help you. This project is maintained by volunteers, and mostly unpaid work. Shouting will not get you more help.
Also, as you've already been told, Stackoverflow or GIS stackexchange is the right place for this type of questions, and if you're posting here, please provide code that reproduces the problem you're seeing.


question: any way to prevent copying lock fields in proto comparison?

I'm comparing protos from the github.com/google/fhir library. For example:
https://raw.githubusercontent.com/google/fhir/master/go/proto/google/fhir/proto/r4/core/datatypes_go_proto/datatypes.pb.go
These protos include a MessageState field with the DoNotCopy pragma (context).
I have unit test code comparing protos similar to the following:
import (
  "testing"

  dtpb "github.com/google/fhir/go/proto/google/fhir/proto/r4/core/datatypes_go_proto"
  "github.com/google/go-cmp/cmp"
  "google.golang.org/protobuf/testing/protocmp"
)

func TestMyFunc(t *testing.T) {
  expected := &dtpb.DateTime{...}
  actual := MyFunc(inputs...)
  if diff := cmp.Diff(*expected, *actual, protocmp.Transform()); diff != "" {
    t.Errorf("unexpected proto diff:\n%v", diff)
  }
}

This builds and tests successfully but go vet complains:
[$CALLSITE] call of cmp.Diff copies lock value:
github.com/google/fhir/go/proto/google/fhir/proto/r4/core/datatypes_go_proto.DateTime
contains google.golang.org/protobuf/internal/impl.MessageState contains sync.Mutex

I've tried adding ignore/filter options to cmp.Diff but it appears that the copy may always occur and ignore just silences the field/message diff in the output.
I feel like I'm missing something. Any tips appreciated!

Hi, I suspect that the problem is to pass the reference to the protobuf, rather than a shallow copy of it:
- if diff := cmp.Diff(*expected, *actual, protocmp.Transform()); diff != "" {
+ if diff := cmp.Diff(expected, actual, protocmp.Transform()); diff != "" {

:man_facepalming: I did not make the connection that pointer dereferencing creates shallow copies. thank you!


Feature Request: Curved Lines

Summary
Same feature request by different OP was previously closed because it was created as a bug and the maintainers instructed OP to publish issue with Feature Request issue template.
The Feature Request issue template doesn't seem to exist (?), so posting here.
Would you consider adding an option for curved polylines?
Reproducible sample code
n/a

Steps to reproduce
n/a
Expected result
n/a
Actual result
n/a
React Native Maps Version
any
What platforms are you seeing the problem on?
iOS (Google Maps)
React Native Version
any
What version of Expo are you using?
Not using Expo
Device(s)
any
Additional information
No response

The feature request template is placed in the discussion forum 👍


updated link to download cvs

The documentation suggest to get cvs by following this link: http://www.cvshome.org/
However the linked page has nothing to do with csv.

Thanks for bringing it to my attention. But CSV is too old and outdated and I think it's time to use Git instead. So I will try to change some docs related to this.

I've updated the docs to use more generic language.


Find resource leaks (AutoCloseables that should have been closed)

Original issue created by<EMAIL_ADDRESS>on 2014-10-30 at 04:01 PM

Originally reported by kevinb9n:
Many ways of obtaining an AutoCloseable instance imply responsibility on the obtainer to close that instance (e.g. by obtaining it inside try-with-resources), and many don't. For error-prone to be able to detect resource leaks it would need some way to differentiate. How?
eaftan notes:
We can use dataflow to determine how the instance was obtained. Is it always the case that knowing the provenance of the instance is enough to know whether it needs to be closed? Can you provide examples other than try-with-resources?

For error-prone to be able to detect resource leaks it would need some way to differentiate. How?

Maybe we could create an annotation to distinguish between the two cases?

JSR 305 has some annotations which could be used:
@WillClose
@WillNotClose
@WillCloseWhenClosed

For any method whose return type implements AutoCloseable, or constructor of a concrete class that implements AutoCloseable, I suspect that it's most commonly the case that the caller does take on the responsibility to close that instance (or to return it to someone else, passing the buck). It would probably be more efficient for us to annotate the exceptions (and blacklist for the sources we can't annotate, like StringWriter constructor).

I'm... sorta surprised I said that.  It seems a lot more practical to try building up a whitelist of things that we know imply caller responsibility.
I'm newly concerned about this issue because JDK 8 brings an attractive nuisance of a method called Files.lines().  People will use it like this:
ImmutableList<String> lines =
    Files.lines(path, UTF_8)
        .filter(line -> line.contains(str))
        .limit(1000)
        .collect(ImmutableList::toImmutableList);

This is bad. We need them to write
ImmutableList<String> lines;
try (Stream<String> lines = Files.lines(path, UTF_8)) {
  lines = stream
      .filter(line -> line.contains(str))
      .limit(1000)
      .collect(ImmutableList::toImmutableList);
}

FYI, I glanced at 20 usages of Files.lines() and 9 of them were not closing.

There's now a check specifically for Files.lines (FilesLinesLeak), and a @MustBeClosed annotation with enforcement.

Are there plans to support annotations like @WillClose? Currently MustBeClosedChecker produces an overwhelming amount of false positives on an attempt to use @MustBeClosed consistently in a codebase. Support for @WillClose would help to reduce that noise tremendously.


Dismissible ListTile Overflow

Dismissible list tiles will overflow when there are two lists in a row layout.
Steps to reproduce:

Put two ListViews (wrapped in Expanded) next to each other in a row layout.
Wrap ListTiles in a Dismissible.
Now if you swipe a tile in the second list to the left, the tile's content will overflow it's list and cover parts of the first list.

I created a reproducible sample that demonstrates the behavior that you mentioned.

Thanks Shi-Hao.

Issue still exist

Code Sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'ListTile test'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  final leftItems = List<String>.generate(3, (i) => "Item ${i + 1}");
  final rightItems = List<String>.generate(3, (i) => "Item ${i + 1}");

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text(widget.title)),
      body: Container(
        child: Row(
          children: [
            Expanded(
              child: ListView.builder(
                itemCount: leftItems.length,
                itemBuilder: (context, index) {
                  final item = leftItems[index];
                  return Dismissible(
                    key: Key('$item left'),
                    onDismissed: (direction) {
                      setState(() {
                        leftItems.removeAt(index);
                      });
                      Scaffold.of(context).showSnackBar(
                          SnackBar(content: Text("$item dismissed")));
                    },
                    background: Container(color: Colors.red),
                    child: ListTile(title: Text('$item')),
                  );
                },
              ),
            ),
            Expanded(
              child: ListView.builder(
                itemCount: rightItems.length,
                itemBuilder: (context, index) {
                  final item = rightItems[index];
                  return Dismissible(
                    key: Key('$item right'),
                    onDismissed: (direction) {
                      setState(() {
                        rightItems.removeAt(index);
                      });
                      Scaffold.of(context).showSnackBar(
                          SnackBar(content: Text("$item dismissed")));
                    },
                    background: Container(color: Colors.red),
                    child: ListTile(title: Text('$item')),
                  );
                },
              ),
            ),
          ],
        ),
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel dev, v1.18.0-dev.5.0, on Mac OS X 10.15.4 19E287, locale
    en-GB)
    • Flutter version 1.18.0-dev.5.0 at /Users/taha/Code/flutter_dev
    • Framework revision 7f56b53de4 (3 days ago), 2020-04-12 12:00:01 -0400
    • Engine revision beb8a7ec48
    • Dart version 2.8.0 (build 2.8.0-dev.20.0 89b0f67261)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/taha/Code/sdk
    • Platform android-29, build-tools 29.0.3
    • ANDROID_HOME = /Users/taha/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.4, Build version 11E146
    • CocoaPods version 1.9.1
[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 45.1.1
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build
      1.8.0_212-release-1586-b4-5784211)
[✓] VS Code (version 1.44.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.9.1
[✓] Connected device (4 available)
    • Taha’s iPhone • 00008020-001059882212002E • ios            • iOS 13.4.1
    • macOS         • macOS                     • darwin-x64     • Mac OS X
      10.15.4 19E287
    • Chrome        • chrome                    • web-javascript • Google Chrome
      81.0.4044.92
    • Web Server    • web-server                • web-javascript • Flutter Tools
• No issues found!

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (4 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.0

[✓] Connected device (2 available)
    • Android SDK built for x86 (mobile) • emulator-5554             • android-x86 • Android 10 (API 29) (emulator)
    • Taha’s iPad (mobile)               • 00008020-000255113EE8402E • ios         • iOS 14.3

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.26.0-2.0.pre.200, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.200 at /Users/tahatesser/Code/flutter_master
    • Framework revision d0e9959a46 (10 hours ago), 2021-01-05 22:14:03 -0500
    • Engine revision e115066dcd
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.0

[✓] Connected device (4 available)
    • Android SDK built for x86 (mobile) • emulator-5554             • android-x86    • Android 10 (API 29) (emulator)
    • Taha’s iPad (mobile)               • 00008020-000255113EE8402E • ios            • iOS 14.3
    • macOS (desktop)                    • macos                     • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)                       • chrome                    • web-javascript • Google Chrome 87.0.4280.88

• No issues found!

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
    • Framework revision<PHONE_NUMBER> (4 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.0

[✓] Connected device (2 available)
    • Android SDK built for x86 (mobile) • emulator-5554             • android-x86 • Android 10 (API 29) (emulator)
    • Taha’s iPad (mobile)               • 00008020-000255113EE8402E • ios         • iOS 14.3

! Doctor found issues in 1 category.

[✓] Flutter (Channel master, 1.26.0-2.0.pre.200, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-2.0.pre.200 at /Users/tahatesser/Code/flutter_master
    • Framework revision d0e9959a46 (10 hours ago), 2021-01-05 22:14:03 -0500
    • Engine revision e115066dcd
    • Dart version 2.12.0 (build 2.12.0-179.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/sdk
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.0

[✓] Connected device (4 available)
    • Android SDK built for x86 (mobile) • emulator-5554             • android-x86    • Android 10 (API 29) (emulator)
    • Taha’s iPad (mobile)               • 00008020-000255113EE8402E • ios            • iOS 14.3
    • macOS (desktop)                    • macos                     • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)                       • chrome                    • web-javascript • Google Chrome 87.0.4280.88

• No issues found!


Feature: allow mocking a web socket connection

Do you intend to support this in the near future?

Of course that would be an option. I will have to look into it. Do you have any implementation ideas?

I needed websocket mocking functionality as well, so I forked this repo and added the functionality.
I have to say, my implementation is quite quick and dirty still, but functions as a nice proof of concept.
Ideally I would like to integrate this in the new ng-apimock core branch. @mdasberg I you want, you can have a look at my implementation. The most interesting part I guess, is the test/mocks folder, the rest is just implementation detail.


Sass compile error after saving PrimeStyles.scss

Steps to reproduce

Start front-end of the app, runs fine
Save PrimeStyles.scss, sees the error

Even though an error appears, Sass appears to compile correctly despite this error showing up. It would be nice to remove this so we can accurately know when an actual Sass error occurs.
Can you check this out @TimBest, @ClydeDroid?

wont fix


Fix atom format selector name in test

We currently have a failing test in main, I think this should fix it

Thanks!!


CR3 Update

This patch provides an improved CR3 implementation

@connojd This should be good to go. Thoughts?


rswag:specs:swaggerize not found

The command rake rswag:specs:swaggerize is not available with using the following configuration from the README:
# Gemfile
gem 'rswag-api'
gem 'rswag-ui'

group :test do
  gem 'rspec-rails'
  gem 'rswag-specs'
end

It only works when using:
gem 'rswag'

This might be because rswag:specs is only inside of your test group.
try RAILS_ENV=test rake rswag:specs:swaggerize


Export some test utils

For an easier server integration testing using this lib i think it could be helpful to export some assertion/attestation examples (output of startAssertion/startAttestation).
What do you think about that ?

That's an interesting proposal. This could involve moving the various sample attestations and assertions used in the various .test.ts files into a separate testing-oriented package 🤔

Yes testing package will be the right solution !
Here i only first think about the server integration testing part
But we can imagine later a plug and play testing util function for E2E front testing (ex: for cypress)


MongoDb GetCollection error: get MakeGenericMethod may only be called on a method for which MethodBase.IsGenericMethodDefinition is true.

.NET6 and IronPython 2.7.11
call the function:
def cnt():
    import System, clr
    clr.AddReference("MongoDB.Bson")
    clr.AddReference("MongoDB.Driver")
    from MongoDB.Bson import *
    from MongoDB.Driver import *
    connStr = "....."
    client = MongoClient(connStr)
    database = client.GetDatabase("db")
    dataset = database.GetCollection[BsonDocument]("collection")
    return dataset.CountDocument(BsonDocument())
cnt()

database.GetCollection raise error:
System.InvalidOperationException: MongoDB.Driver.IMongoCollection`1[TDocument] GetCollection[TDocument](System.String, MongoDB.Driver.MongoCollectionSettings) is not a GenericMethodDefinition. MakeGenericMethod may only be called on a method for which MethodBase.IsGenericMethodDefinition is true.

The issue appears to be something like this:
public abstract class MyBaseClass {
    public abstract T GetCollection<T>();

    // this is just a helper to get an instance of the class
    public static MyBaseClass test() {
        return new MyInternalClass();
    }
}

internal sealed class MyInternalClass : MyBaseClass {
    public override T GetCollection<T>() {
        throw new NotImplementedException();
    }
}

MyBaseClass.test().GetCollection[object]

which results in:
SystemError: T GetCollection[T]() is not a GenericMethodDefinition. MakeGenericMethod may only be called on a method for which MethodBase.IsGenericMethodDefinition is true.

A possible workaround is to enable private bindings with the PrivateBinding option.

Thanks, you are right, the code in mongodb driver is:
namespace MongoDB.Driver
{
	// Token: 0x020000C0 RID: 192
	internal sealed class MongoDatabaseImpl : MongoDatabaseBase
}

Internal without public....,
But how to  to enable private bindings with the PrivateBinding option?

I modified the source code, changed the class MongoDatabaseImpl from internal to public,  and recompile it.
namespace MongoDB.Driver
{
	public sealed class MongoDatabaseImpl : MongoDatabaseBase
}

The GetCollection in above code run correctly, but in mongodb, there are many methods with default value as default(CancellationToken), i.e.
long CountDocuments(FilterDefinition<TDocument> filter, CountOptions options = null, CancellationToken cancellationToken = default(CancellationToken));

but in IronPython, when we call the method:
GetCollection[BsonDocument]("collection")

got
IronPython.Runtime.Exceptions.TypeErrorException: expected CancellationToken, got NoneType

I seems that IronPython does't support default value for structs, such as default(CancellationToken)

But how to to enable private bindings with the PrivateBinding option? Can add any paramters to the CreateEngine method?

You can enable private binding like this:
Python.CreateEngine(new Dictionary<string, object> { {"PrivateBinding", true} });
``


Vim: fix Vim Plug config to be XDG compliant

Currently does not use the correct $XDG... directory references.

Resolved by moving to neovim.


Change information displayed on accountants workflow

Thanks for creating an issue! Please fill out this form so we can be sure to have all the information we need, and to minimize back and forth.

What are we trying to do?
A fund has requested that we add some more information to the accountants workflow, to help ease their (currently very unpleasant through no fault of anyone's) accounting process. This is a ticket to adjust the UX a little and add a bit new information to the accounting patient roll.

What feature or behavior is this required for?

In part, this is because a particular fund has a uniquely difficult situation around accounting - they aren't consistently getting remit lists, so they're having to draft them on their own.

How could we solve this issue? (Not knowing is okay!)

I'd like to propose we do the following to accommodate:

Make the display shell scrollable, to hold more information. (I believe there's a bootstrap class that does this. scroll-overflow maybe?)

Ditch patient initials in favor of regular patient name.

Add pledge amount and line.

Anything else?

I would explicitly like @lomky 's thoughts here, since this is a slight change in our security posture - names would be exposed here in a spot it wasn't before, but still not bulk exportable (and click-thru-able). Not ideal, but this feels to me like a minor enough shift as to not really increase the risk level. I'd appreciate your gut check on this.
@elimbaum please also weigh in if you feel strongly; please don't start until @lomky 's had a chance to weigh in, in case we mix this up.
Screenshot of the current state of the world for ref:

Just for my background knowledge - are there "accountant" privileges that are distinct from volunteers? i.e. are we actually exposing new information to (possibly) new groups of users, or are we just providing that same information (i.e. that would be on the call list) on a new page?

yeah! The data volunteer permissions level gives you access to this, since (at DCAF) the data team led by @verbingthenoun leads this process. You can see that in the code at https://github.com/DCAFEngineering/dcaf_case_management/blob/main/app/controllers/accountants_controller.rb#L3

I think as part of this issue I will also update some of the plumbing for the table - we're currently hacking in search results by manually inserting rows into a table, rather than using (presumably) native kaminari pagination utilities. I stumbled across this because the number of search results doesn't update correctly.

Definitely a good idea to poke at that and see what's up. That said, don't get too hung up on it I think -- the postgres work is wrapping up soon hopefully, and that'll probably change the stance / approach at least a little bit.

What's the difference between fund payout (existing) and fund pledge (new)?

This is definitely a slight increase in our risk, but given that it is a restricted role page I'm okay with this - we should be sure to communicate this change our to our funds so they can audit the access properly

@lomky good call on communicating the change in available data, and a flag to give funds a chance to get ahead of this. Thank you very much!
@elimbaum fund payout is on the fulfillment model and represents how much money a fund actually contributed; fund pledge is how much a fund was planning on contributing. Usually they're the same, but occasionally funds will bump the pledge amount on the fly and not update it in DARIA, so we have them as separate fields so we can track where the final payout is different than what we figured it would be.


libutp: init at unstable-2018-05-15

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Okay maybe it's ready now :)

@onny ofborg fails with
CMake Error: The source directory "/build/source" does not appear to contain CMakeLists.txt.

Okay should be good now :+1:

By accident I lost access to the repository of this pull request. I created a new one here.


Not possible to use a numpy array in TimeSeries.datablock

Describe the bug
Error when using a numpy array as TimeSeries datablock
ValidationError: 1 validation error for TimeSeries
east2_0001 -> datablock -> 0
  value is not a valid list (type=type_error.list)

To Reproduce
import numpy as np

from hydrolib.core.io.bc.models import (
    QuantityUnitPair,
    TimeInterpolation,
    TimeSeries,
)

steric = TimeSeries(
    name="east2_0001",
    quantityunitpair=[QuantityUnitPair(quantity="time", unit="seconds since 2022-01-01 00:00:00 +00:00"),
                      QuantityUnitPair(quantity="waterlevel", unit="m")],
    timeinterpolation=TimeInterpolation.linear,
    datablock=np.array([[0, 1.1], [3600, 2.3], [7200, 3.5], [10800, 2.4], [86400, -0.123]]),
)

Expected behavior
Numpy array is an accepted input type
Version info (please complete the following information):

OS: Windows, Anaconda, Spyder
Version: 0.3.0

Duplicate of https://github.com/Deltares/HYDROLIB-core/issues/322


Build failure: librewolf

Steps To Reproduce
Steps to reproduce the behavior:

build librewolf

Build log
warning: The interpretation of store paths arguments ending in `.drv` recently changed. If this command is now failing try again with '/nix/store/phkbrpwii0qb8x86nl765h0csw7f3na2-librewolf-unwrapped-129.0.1-1.drv^*'
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/yvfbccqmlyz22aygk7pg6s83lpx5nx4n-firefox-129.0.1.source.tar.xz
source root is firefox-129.0.1
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file firefox-129.0.1/sourcestamp.txt
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
applying patch /nix/store/9lx1746yy56pn3dpc35l1xr6l3lykbin-env_var_for_system_dir-ff111.patch
patching file toolkit/xre/nsXREDirProvider.cpp
Hunk #2 succeeded at 313 (offset 3 lines).
applying patch /nix/store/6wsdh6246xbmlv3jr5q7qpl9ay3acq04-no-buildconfig-ffx121.patch
patching file docshell/base/nsAboutRedirector.cpp
patching file toolkit/content/jar.mn
Hunk #1 succeeded at 44 (offset 3 lines).
applying patch /nix/store/14gmmaq28hb5892lvwap2yblww7afgpz-cbindgen-0.27.0-compat.patch
patching file servo/components/style_traits/values.rs
Hunk #1 succeeded at 383 (offset -1 lines).
Hunk #2 succeeded at 408 (offset -1 lines).
patching file servo/ports/geckolib/cbindgen.toml
Hunk #1 succeeded at 355 (offset -2 lines).
applying patch /nix/store/idkwbyzx5hv6cjbmq6aplxpkxyji0n4x-mozbz-1898476-1.patch
patching file widget/gtk/MozContainerWayland.cpp
patching file widget/gtk/MozContainerWayland.h
patching file widget/gtk/moz.build
patching file widget/gtk/MozContainerSurfaceLock.cpp
patching file widget/gtk/MozContainerSurfaceLock.h
applying patch /nix/store/n6drjva08mkxwrx0ikz9xkzby4zsfail-mozbz-1898476-2.patch
patching file widget/gtk/GtkCompositorWidget.cpp
patching file widget/gtk/GtkCompositorWidget.h
patching file widget/gtk/nsWindow.cpp
patching file widget/gtk/nsWindow.h
applying patch /nix/store/7f249yx91fri3wb2nwgy1k8l8ms4sqm9-mozbz-1898476-3.patch
patching file gfx/webrender_bindings/RenderCompositorEGL.cpp
patching script interpreter paths in mach build
mach: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python3"
build/cargo-linker: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python3"
build/vs/generate_yaml.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/pyth>
build/checksums.py: interpreter directive changed from "#!/usr/bin/python" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python"
build/macosx/xcrun: interpreter directive changed from "#!/bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
build/cargo-host-linker: interpreter directive changed from "#!/bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
build/build-clang/build-clang.py: interpreter directive changed from "#!/usr/bin/python3" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/p>
build/clang-plugin/import_mozilla_checks.py: interpreter directive changed from "#!/usr/bin/python3" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3>
build/unix/print-non-newline.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
build/unix/build-hfsplus/build-hfsplus.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/ba>
build/unix/build-binutils/build-binutils.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/>
build/unix/build-gcc/build-gcc.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/bash"
build/pgo/profileserver.py: interpreter directive changed from "#!/usr/bin/python" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python"
build/package/mac_osx/unpack-diskimage: interpreter directive changed from "#!/bin/bash" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/bash"
build/package/mac_osx/make-diskimage: interpreter directive changed from "#!/bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
build/qemu-wrap: interpreter directive changed from "#!/bin/bash" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/bash"
build/autoconf/config.guess: interpreter directive changed from "#! /bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
build/autoconf/install-sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
build/autoconf/config.sub: interpreter directive changed from "#! /bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
applying LibreWolf patch: patches/allow-JXL-in-non-nightly-browser.patch
patching file toolkit/moz.configure
Hunk #1 succeeded at 905 (offset 202 lines).
applying LibreWolf patch: patches/allow-ubo-private-mode.patch
patching file toolkit/components/extensions/Extension.sys.mjs
Hunk #1 succeeded at 3717 (offset 431 lines).
applying LibreWolf patch: patches/bootstrap.patch
patching file python/mozversioncontrol/mozversioncontrol/__init__.py
Hunk #1 succeeded at 1137 (offset 118 lines).
applying LibreWolf patch: patches/context-menu.patch
patching file browser/base/content/browser-context.inc
applying LibreWolf patch: patches/custom-ubo-assets-bootstrap-location.patch
patching file toolkit/components/extensions/parent/ext-storage.js
Hunk #1 succeeded at 344 (offset 167 lines).
applying LibreWolf patch: patches/dbus_name.patch
patching file toolkit/components/remote/nsDBusRemoteClient.cpp
Hunk #3 succeeded at 114 (offset -1 lines).
Hunk #4 succeeded at 125 (offset -1 lines).
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/yvfbccqmlyz22aygk7pg6s83lpx5nx4n-firefox-129.0.1.source.tar.xz
source root is firefox-129.0.1
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file firefox-129.0.1/sourcestamp.txt
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
applying patch /nix/store/9lx1746yy56pn3dpc35l1xr6l3lykbin-env_var_for_system_dir-ff111.patch
patching file toolkit/xre/nsXREDirProvider.cpp
Hunk #2 succeeded at 313 (offset 3 lines).
applying patch /nix/store/6wsdh6246xbmlv3jr5q7qpl9ay3acq04-no-buildconfig-ffx121.patch
patching file docshell/base/nsAboutRedirector.cpp
patching file toolkit/content/jar.mn
Hunk #1 succeeded at 44 (offset 3 lines).
applying patch /nix/store/14gmmaq28hb5892lvwap2yblww7afgpz-cbindgen-0.27.0-compat.patch
patching file servo/components/style_traits/values.rs
Hunk #1 succeeded at 383 (offset -1 lines).
Hunk #2 succeeded at 408 (offset -1 lines).
patching file servo/ports/geckolib/cbindgen.toml
Hunk #1 succeeded at 355 (offset -2 lines).
applying patch /nix/store/idkwbyzx5hv6cjbmq6aplxpkxyji0n4x-mozbz-1898476-1.patch
patching file widget/gtk/MozContainerWayland.cpp
patching file widget/gtk/MozContainerWayland.h
patching file widget/gtk/moz.build
patching file widget/gtk/MozContainerSurfaceLock.cpp
patching file widget/gtk/MozContainerSurfaceLock.h
applying patch /nix/store/n6drjva08mkxwrx0ikz9xkzby4zsfail-mozbz-1898476-2.patch
patching file widget/gtk/GtkCompositorWidget.cpp
patching file widget/gtk/GtkCompositorWidget.h
patching file widget/gtk/nsWindow.cpp
patching file widget/gtk/nsWindow.h
applying patch /nix/store/7f249yx91fri3wb2nwgy1k8l8ms4sqm9-mozbz-1898476-3.patch
patching file gfx/webrender_bindings/RenderCompositorEGL.cpp
patching script interpreter paths in mach build
mach: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python3"
build/cargo-linker: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python3"
build/vs/generate_yaml.py: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/pyth>
build/checksums.py: interpreter directive changed from "#!/usr/bin/python" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python"
build/macosx/xcrun: interpreter directive changed from "#!/bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
build/cargo-host-linker: interpreter directive changed from "#!/bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
build/build-clang/build-clang.py: interpreter directive changed from "#!/usr/bin/python3" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/p>
build/clang-plugin/import_mozilla_checks.py: interpreter directive changed from "#!/usr/bin/python3" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3>
build/unix/print-non-newline.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
build/unix/build-hfsplus/build-hfsplus.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/ba>
build/unix/build-binutils/build-binutils.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/>
build/unix/build-gcc/build-gcc.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/bash"
build/pgo/profileserver.py: interpreter directive changed from "#!/usr/bin/python" to "/nix/store/04gg5w1s662l329a8kh9xcwyp0k64v5a-python3-3.12.4/bin/python"
build/package/mac_osx/unpack-diskimage: interpreter directive changed from "#!/bin/bash" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/bash"
build/package/mac_osx/make-diskimage: interpreter directive changed from "#!/bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
build/qemu-wrap: interpreter directive changed from "#!/bin/bash" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/bash"
build/autoconf/config.guess: interpreter directive changed from "#! /bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
build/autoconf/install-sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
build/autoconf/config.sub: interpreter directive changed from "#! /bin/sh" to "/nix/store/4bj2kxdm1462fzcc2i2s4dn33g2angcc-bash-5.2p32/bin/sh"
applying LibreWolf patch: patches/allow-JXL-in-non-nightly-browser.patch
patching file toolkit/moz.configure
Hunk #1 succeeded at 905 (offset 202 lines).
applying LibreWolf patch: patches/allow-ubo-private-mode.patch
patching file toolkit/components/extensions/Extension.sys.mjs
Hunk #1 succeeded at 3717 (offset 431 lines).
applying LibreWolf patch: patches/bootstrap.patch
patching file python/mozversioncontrol/mozversioncontrol/__init__.py
Hunk #1 succeeded at 1137 (offset 118 lines).
applying LibreWolf patch: patches/context-menu.patch
patching file browser/base/content/browser-context.inc
applying LibreWolf patch: patches/custom-ubo-assets-bootstrap-location.patch
patching file toolkit/components/extensions/parent/ext-storage.js
Hunk #1 succeeded at 344 (offset 167 lines).
applying LibreWolf patch: patches/dbus_name.patch
patching file toolkit/components/remote/nsDBusRemoteClient.cpp
Hunk #3 succeeded at 114 (offset -1 lines).
Hunk #4 succeeded at 125 (offset -1 lines).
patching file toolkit/components/remote/nsDBusRemoteServer.cpp
Hunk #1 succeeded at 29 (offset 1 line).
Hunk #2 succeeded at 39 (offset 1 line).
Hunk #3 succeeded at 130 (offset 1 line).
Hunk #4 succeeded at 204 (offset 2 lines).
Hunk #5 succeeded at 218 (offset 2 lines).
applying LibreWolf patch: patches/devtools-bypass.patch
patching file devtools/server/actors/thread.js
patching file devtools/server/actors/webconsole/listeners/console-api.js
applying LibreWolf patch: patches/disable-data-reporting-at-compile-time.patch
patching file browser/moz.configure
patching file python/mach/mach/telemetry.py
applying LibreWolf patch: patches/flatpak-autoconf.patch
patching file extensions/pref/autoconfig/src/nsReadConfig.cpp
applying LibreWolf patch: patches/fullpage-translations-customization.patch
patching file browser/base/content/main-popupset.inc.xhtml
patching file browser/base/content/main-popupset.js
patching file browser/components/preferences/main.inc.xhtml
patching file browser/components/preferences/main.js
patching file browser/components/translations/content/fullPageTranslationsPanel.js
patching file browser/locales/en-US/browser/translations.ftl
applying LibreWolf patch: patches/fullpage-translations.patch
patching file services/settings/Attachments.sys.mjs
Hunk #1 succeeded at 146 (offset 2 lines).
Hunk #2 succeeded at 206 (offset 2 lines).
Hunk #3 succeeded at 267 (offset 11 lines).
Hunk #4 succeeded at 438 (offset 11 lines).
Hunk #5 succeeded at 447 (offset 11 lines).
Hunk #6 succeeded at 500 (offset 11 lines).
Hunk #7 succeeded at 516 (offset 11 lines).
patching file services/settings/RemoteSettingsClient.sys.mjs
Hunk #4 succeeded at 610 (offset 1 line).
patching file toolkit/components/translations/actors/TranslationsParent.sys.mjs
Hunk #1 succeeded at 1217 (offset 183 lines).
Hunk #2 succeeded at 1605 (offset 183 lines).
Hunk #3 succeeded at 1685 (offset 209 lines).
Hunk #4 succeeded at 1711 (offset 209 lines).
Hunk #5 succeeded at 2006 (offset 337 lines).
applying LibreWolf patch: patches/hide-passwordmgr.patch
patching file browser/base/content/browser-init.js
patching file browser/components/preferences/privacy.js
Hunk #1 succeeded at 1274 (offset 60 lines).
applying LibreWolf patch: patches/librewolf-prefs.patch
patching file browser/app/profile/firefox.js
applying LibreWolf patch: patches/mozilla_dirs.patch
patching file toolkit/xre/nsXREDirProvider.cpp
Hunk #1 succeeded at 301 with fuzz 1 (offset 1 line).
Hunk #2 succeeded at 383 (offset 12 lines).
Hunk #3 succeeded at 415 (offset 4 lines).
Hunk #4 succeeded at 1134 (offset 20 lines).
Hunk #5 succeeded at 1400 (offset 37 lines).
Hunk #6 succeeded at 1410 (offset 37 lines).
applying LibreWolf patch: patches/msix.patch
patching file browser/installer/windows/msix/AppxManifest.xml.in
Hunk #1 succeeded at 30 (offset 1 line).
Hunk #2 succeeded at 120 (offset 11 lines).
patching file python/mozbuild/mozbuild/mach_commands.py
Hunk #1 succeeded at 2620 (offset 109 lines).
Hunk #2 succeeded at 2779 (offset 131 lines).
patching file python/mozbuild/mozbuild/repackaging/msix.py
Hunk #2 succeeded at 354 (offset -1 lines).
Hunk #3 succeeded at 480 (offset -29 lines).
applying LibreWolf patch: patches/nvidia-wayland-backported-fixes-0001-Bug-1898476-Wayland-Move-MozContainerSurfaceLock-fro.patch
The next patch would create the file widget/gtk/MozContainerSurfaceLock.cpp,
which already exists!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file widget/gtk/MozContainerSurfaceLock.h,
which already exists!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
patching file widget/gtk/MozContainerWayland.cpp
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file widget/gtk/MozContainerWayland.cpp.rej
patching file widget/gtk/MozContainerWayland.h
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file widget/gtk/MozContainerWayland.h.rej
patching file widget/gtk/moz.build
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n]
Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file widget/gtk/moz.build.rej

Notify maintainers
@ryand56 @dotlambda @squalus @mweinelt

Metadata
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.10.5, NixOS, 24.11 (Vicuna), 24.11.20240818.8a33541`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/store/d9gbq853jvbccrz5g3y0irbwgc57w137-source`

Add a :+1: reaction to issues you find important.

Same issue here with home-manager on SteamOS.
I noticed that in https://github.com/NixOS/nixpkgs/issues/300107#issuecomment-2278374894 it was mentioned that the librewolf nix isn't pulling from the upstream source, but is simply patching firefox. Might this be related?

This is caused because upstream is patching with the same patches introduced in #336204. Also, see #336304.

Same issue for me too.....

Same issue here

This is caused because the package is applying the same patches introduced in #336204 that are also found in upstream. Also, see #336304.

Thanks for the pull request!
Just curious, can we apply this pull request with Override / OverrideAttrs before it merge in this case?
The package is a little bit complicated for me to do it because it is split into multiple file . I would appreciate if someone can guide us through it and help us learn more about nix language. Thanks!

@amalgame21 Yes, just add my PR branch as an input to replace nixpkgs or copy the patch I made and override as such.

Fixed by #336304


Update ashram_poudel.md

Cannot verify the authenticity of the information provided, @Aakrist36!

You can testify it yourself
On 12/23/16, Aakrist lbb<EMAIL_ADDRESS>wrote:

On 12/23/16, Ashish Tiwari<EMAIL_ADDRESS>wrote:

Cannot verify the authenticity of the information provided, @Aakrist36!
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/Classof2020/classof2020.github.io/pull/18#issuecomment-268953779

We will ask him on class. How about that? Lol

hahaha
On 12/24/16, Ashish Tiwari<EMAIL_ADDRESS>wrote:

We will ask him on class. How about that? Lol
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/Classof2020/classof2020.github.io/pull/18#issuecomment-269068856

Hey What about the email id<EMAIL_ADDRESS>Every of us don't have ownership on it , we cannot let you to misuse the
name of our community.
It would be really nice of it  if you share the information
Sincerely,
Nischal Lal Shrestha
On Sat, Dec 24, 2016 at 10:25 AM, Ashish Tiwari<EMAIL_ADDRESS>wrote:

We will ask him on class. How about that? Lol
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Classof2020/classof2020.github.io/pull/18#issuecomment-269068856,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV8mdHROyO64qoZ9pqRHSiUFQ5rhqGQOks5rLKJWgaJpZM4LUkxS
.

Hello.
I'm creating a new issue. Check #23

which issue?
On 1/21/17, Ashish Tiwari<EMAIL_ADDRESS>wrote:

Hello.
I'm creating a new issue. Check #23
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/Classof2020/classof2020.github.io/pull/18#issuecomment-274234358


how to use swagger with postgrest？

I want to use Swagger to display PostgREST's API documentation, but I haven't been successful. Can you tell me where to find detailed instructions?

Sorry for the late response. There's a section in the docs about running Swagger with docker-compose (it's at the bottom of that section): https://postgrest.org/en/stable/install.html?highlight=swagger#containerized-postgrest-and-db-with-docker-compose. Without compose it would be:
sudo docker run -p 8080:8080 -e API_URL=http://localhost:3000/ swaggerapi/swagger-ui

Replace http://localhost:3000/ if you have a different port or domain.
If you need to add security options (activates the Authorization button) set this configuration variable to true: https://postgrest.org/en/stable/configuration.html#openapi-security-active


Broken gun state

Describe the bug
Stops me from using my gun
A clear and concise description of what the bug is.
Gun becomes unusable to any degree other than holding. Only happens on weapon system version 2 guns (in the tests I conducted). Ammo counter will bug showing '-' in both the magazine's maximum capacity and current amount filled. I can't aim the gun, reload it, unload it, shoot it, or even switch from semi to auto etc. I am still able to move between inventory slots.
Reproducibility
reload a weapon system version 2 gun while crouching.
To Reproduce

Obtain a gun that uses Weapon System Version 2.
Reload the gun.
Once the gun is reloaded, reload it again. This time as the gun reloading animation plays, hold down (or toggle) crouch.
wait until the animation is done.
You just broke your gun

Expected behavior
I expected a working and reloaded gun.
https://github.com/Cubed-Development/Modern-Warfare-Cubed/assets/154106077/39ed448f-7c38-477b-8d0e-5a23a2a7dbd3
Versions

Modern Warfare Cubed: Modern-Warfare-Cubed-0.1-Dev-14
Forge: 1.12.2 - <IP_ADDRESS>60
Java: 21 2023-09-19 LTS
Java JVM: idk

Specification:

OS: Windows 10
CPU: Ryzen 5 3600X
GPU: Radeon RX 6750 XT
RAM Allocated: 5120 MB

All of these info below are not necessary but may become necessary depending on the issue

CPU Speed: Base clock: 3.80   Boost clock: 4.40Ghz
CPU Core: 6 cores
CPU Threads: 12 threads
RAM Size: 16gb
RAM Speed: 3200mhz
Storage Type: SSD
GPU VRAM: 12GB

Thing to note:
I initially found this with an additional 50+ mods installed, but the glitch was still present in an environment with only RedCore and Modern Warfare Cubed installed.

Duplicate of #248


Simplify "code style" guide where we could be using the linter instead.

This PR addresses every point in #6855, except three:

Don't use the style= attribute in HTML. Instead, define logical classes and
put your styles in external files such as zulip.css.

I made the following linter rule:    {'pattern': 'style ?=',
     'description': "Don't use the `style=` attribute. Instead, define logical classes and"
                    "put your styles in external files such as `zulip.css`.",
     'good_lines': ['#my-style {color: blue;}'],
     'bad_lines': ['
Foo
', 'style = "color: blue;"']}

It counted 74 occurrences of violations of this rule. Changing all these to classes seems like a bigger,
tedious task to do that is worth its own issue, should we decide to include this rule.

When selecting by id, don't use foo.pk when you mean foo.id.
This is easy to do with linting for [.]pk, we've got like a dozen violations we can fix.

I don't really understand this case - pk is the primary key in Django, right? From what I've read
about this on SO, it appears to be more common to mistakenly use id instead of pk. Moreover, I
didn't see which of these ~dozen occurrences does in fact mistakenly use pk.

(For this, I think a good strategy would be to ban shebang lines in .py files, and to add a lint section for files without an extension, and require that those shebang lines follow these rules).

I didn't see an easy way to make this work. Files with a python shebang get by default included in the
py file list by lister, so banning shebang lines in .py-only files doesn't seem possible. On the other
hand, moving all extensionless files to a new section doesn't make sense to me either, since this would
prevent all extensionless python files to be linted with python rules.

@derAnfaenger thanks for working on this!  I merged several commits, with one small tweak to the document.ready piece.  Comments on the rest (including things you noted above):

style=.  I think we'll need to do something systematic to exclude certain types of files: markdown, tests, emails, etc., and then we'll have a relatively small number of things to clean up.  Maybe open a PR with the rule and I can add comments on the exclude cases for it?

Calling scripts.  We call scripts from Python as well as shell, so I don't think it makes sense to move things under "bash rules", though I do think it's nice to lint the bash scripts for this, since they're more than half of it.

shebangs: linter: Add rules against improper shebangs. is way too complicated.  Since we know it's a Python file, we can put python3 as <program>, and I think we should also remove the NOTE from the descriptions.  Let's leave that issue in the code-style guide.  We'll probably want to extend the framework slightly to check for that sort of thing (i.e. adding some custom if statements).

The last commit should probably be checking for "python[23]? ...".

I don't really understand this case - pk is the primary key in Django, right? From what I've read
about this on SO, it appears to be more common to mistakenly use id instead of pk. Moreover, I
didn't see which of these ~dozen occurrences does in fact mistakenly use pk.

Right, so in our project, every table has an id column that is the primary key, so they are the same thing everywhere they appear.  The code more readable for people who don't know Django super well to just use id everywhere rather than interchanging the two randomly (since then you don't need to know that they're the same).

@timabbott updated the commits with your suggestions, added commits for the pk issue and created two  PRs for the linter rules that require a bigger amount of style refactoring.

The id substitution seems to cause trouble with the tests - does our test database contain the id field for every table as well? Or should I change these back to pk?

OK, I merged everything, adding a new exclude_pattern rule to exclude the couple uses of .pk that involved _meta.pk and thus should work like that.
Also used that to shrink the exclude list for inline styles.
Let's regroup on the #6855 thread :)


[Question] About aldeed:tabular

Template does'nt work as BlazeComponent class where Template is defined in aldeed:tabular tmpl.
for example like below:
{
    tmpl: Meteor.isClient && Template.SilPersonel
}

We defined Template.SilPersonel as BlazeComponent class but it dosen't work.

Hi @emehmet : After upgrade to meteor 1.3 I just stumbled upon the same problem... it seems like the strict mode (having to remove templating) might be the reason... in meteor 1.2 I still had<EMAIL_ADDRESS>loaded - now in meteor 1.3 it is removed.
did you find a solution for this?

Hm, can somebody make a small reproduction here?

just a little update:
I got a 1.3 project with BlazeComponents installed:
Case 1:
... when loading eagerly (/client /lib) and doing a console.log(Template.whatever) I am seeing an array with the first element of type Blaze.Template
Case 2:
... when loading non-eagerly (imports/module/client imports/modele/lib) and doing a console.log(Template.whatever) I am seeing an array with the first element of function (viewName, renderFunction).
So I am getting 2 different return types. In case 2 a Template.whatever returns undefined causing `àldeed:tabular`` to fallback to standard-mode and NOT show the template..

OK, I found the solution. it has NOTHING to do with BlazeComponents, but with getting to know how 1.3 modules work.
in imports/lib/tabular.js add the following to the TOP of the file:
import '../client/template.html  // html including the cell-template

this will introduce the template to the namespace of the file and lets console.log(Template.whateverTemplateName) return a valid template instance.
@emehmet: does this work for you?

it doesn't work on me. But i so solded so. I use template event just for this part Template.SilPersonel.events({
but this is not a true solution.


[ESPNCricInfo] Add extractor.

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[ ] At least skimmed through contributing guidelines including yt-dlp coding conventions
[ ] Searched the bugtracker for similar pull requests
[ ] Checked the code with flake8

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
Closes https://github.com/yt-dlp/yt-dlp/issues/1635

@2011 can u test this (i only tested with videos available in India)
also if you can provide of an example with subs and/or with direct video, i can add them aswell.

@2011 can u test this (i only tested with videos available in India) also if you can provide of an example with subs and/or with direct video, i can add them aswell.

Happy to test it, but I will need some instructions on how to obtain the patched version (still a newbie at this). I have always just used the single file releases in the past.

if you have pip/python3 installed
Then something like this should work
python3 -m pip3 install --force-reinstall https://github.com/Ashish0804/yt-dlp/archive/espncricinfo.zip
may have to change python3 to just python

if you have pip/python3 installed Then something like this should work

Don't have that, but I downloaded the file referenced in the link you gave, and unzipped it. It worked perfectly on a few videos that I have tried so far.
Thanks again.


Agent status JSON output cannot be processed

Agent 6.9.0 - Commit: 4bbd2c9 - Serialization version: 4.7.1

Describe what happened:
Running agent status -j or agent status -p prints informative message to stdout, making the output unparsable.
$ agent status -j
Getting the status from the agent.

{...}

Describe what you expected:
Messages for the end user should be sent to stderr.
This way, one would be able to run agent status -j | jq ... without hitting an error.
Steps to reproduce the issue:
Run agent status -j | jq .

Hi @j-vizcaino,
Thanks for the report. This will be fixed with 6.10: https://github.com/DataDog/datadog-agent/pull/3012/

Fixed by #3012


Update config/logging

Update logging string values and log filename for #81
As the app favors config.json file config over hardcoded values, deleting the config.json will cause app to rebuild it with default config. This includes setting the name of the app that is displayed on the top of the ui to default "Opus".

Coverage remained the same at 89.547% when pulling c969cb4c82b02248f36643fff33d2469dd3a369f on update-config into f24879769c8869ff502013ea138eddc217760dda on development.

Closes #81


how to find the parameters

How could I debug with python CLI, or how to find the arguments used in the fine-tune code?

We use the click library to implement the CLI. The arguments are defined using the methods provided by the library. Please refer to the documentation for its details.

@ikuyamada I solved the problem.


Don't configure logging in template pytest fixture

Description

Development notes
Change should be replicated across:

[x] https://github.com/quantumblacklabs/kedro-starter-pyspark
[x] https://github.com/quantumblacklabs/kedro-starter-pyspark-iris
[x] https://github.com/quantumblacklabs/kedro-starter-spaceflights
[x] https://github.com/quantumblacklabs/kedro-starter-pandas-iris

Checklist

[x] Read the contributing guidelines
[ ] Opened this PR as a 'Draft Pull Request' if it is work-in-progress
[ ] Updated the documentation to reflect the code changes
[ ] Added a description of this change and added my name to the list of supporting contributions in the RELEASE.md file
[ ] Added tests to cover my changes

Notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.

I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.

I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

This type of change will sadly have to be replicated across all relevant starter repos. 🙃 Could you link them here in the PR description once they're up so we have a place where we keep track?

Thank you! @deepyaman I believe if you raise the related PRs you'll be set for Hacktoberfest. 😂

Above are all done. Free t-shirt, here I come!


‘Try Again’ error

Node is up and running; however, my node randomly crashes and shows a random ‘Try Again’ error. I am using VPN, could this be the reason? Is there a way to ‘try again’ automatically?

The 'Try Again' error pops up when it takes more than 15s for your node to hear about the next block being produced.
If your internet goes down for 20s, for example, you would see this error screen. So it's possible that a VPN could be delaying traffic enough to cause that.
One thing to note, however, is that the node will still try to connect behind this error scene. So if your internet drops out for 20s but then stabilizes, your node will start participating in consensus again even though an error screen is shown. It's on my list of todos to make the error screen go away when the node reconnects.
Right now, if you click the 'Try Again' button and it goes straight back to the dashboard, it means there was a blip in your internet but all is well now. If you click the button and it goes to the syncing page, it means that your node has been down for a while.

Hi. Can you make it to automatically reconnect after 'Try Again' error ? After the error is displayed I don't see blocks count go up anymore.

Node is up and running; however, my node randomly crashes and shows a random ‘Try Again’ error. I am using VPN, could this be the reason? Is there a way to ‘try again’ automatically?

Mines been doing this alot lately and i know my internet isnt faulty..now after restarting my laptop it keeps refreshing itself to make sure the node is running

In the latest version (v1.4.4) we made it so it auto-retries. I'm gonna close this for now but if you see it happening again, please let me know.


Runtime Conformance check for "At least one Feature/O.a+" conformance seems wrong in new API

WHen adding
                CarbonDioxideConcentrationMeasurementServer.with(
                    "NumericMeasurement",
                    "PeakMeasurement",
                    "AverageMeasurement",
                ),
                CarbonMonoxideConcentrationMeasurementServer.with(
                    ConcentrationMeasurement.Feature.LevelIndication,
                    ConcentrationMeasurement.Feature.MediumLevel,
                    ConcentrationMeasurement.Feature.CriticalLevel,
                ),

and
               carbonDioxideConcentrationMeasurement: {
                    measuredValue: 12.34,
                    minMeasuredValue: 0,
                    maxMeasuredValue: 100,
                    peakMeasuredValue: 34.56,
                    peakMeasuredValueWindow: 10000,
                    averageMeasuredValue: 23.45,
                    averageMeasuredValueWindow: 1000,
                    uncertainty: 1.5,
                    measurementUnit: ConcentrationMeasurement.MeasurementUnit.Ppm,
                    measurementMedium: ConcentrationMeasurement.MeasurementMedium.Water,
                },
                carbonMonoxideConcentrationMeasurement: {
                    measurementMedium: ConcentrationMeasurement.MeasurementMedium.Air,
                    levelValue: ConcentrationMeasurement.LevelValue.Critical,
                },

then this gives
errors
      Caused by: Validating binford-6100.onoff1.carbonDioxideConcentrationMeasurement.state.levelValue: Conformance "LEV": Matter requires you to set this attribute (128)

      Caused by: Validating binford-6100.onoff1.carbonMonoxideConcentrationMeasurement.state.measuredValue: Conformance "MEA": Matter requires you to set this attribute (128)

Somehow the conformance checker things that also the other features are activated

fixedby latest PR


[GraphQL/Tests] README for running transactional-tests locally

Description
Instructions for how to set-up postgresql for the GraphQL E2E tests. Also updating the instructions for sui-indexer (Postgres is called postgresql on homebrew).
Test Plan
Follow instructions.  Note that when I did this, the digests and IDs changed (not sure whether that's supposed to happen or not, but CI will tell us!).

Thanks for doing this!


Why we choose 'UNKNOWN' weight's 0.06

Hello,
I am working on KWS. I need to ask something about training.
First of all, How do we choose this value? Does it have any meaning?
And in KWS, input shape is (514,64) why it is not (128,128)?

Second, when I use this script => scripts/train_kws20_v3.sh .Training is happenning like below.

But when I use this arguments:
"args"   : [
                    "--epochs", "50",
                    "--optimizer", "Adam",
                    "--lr", "0.005",
                    "--deterministic",
                    "--compress", "policies/schedule_kws20.yaml",
                    "--model", "ai85kws20netv3",
                    "--dataset", "KWS_20",
                    "--confusion",
                    "--device",  "MAX78000",
                    "--enable-tensorboard",
                ]

There is no training

Only difference is --wd from arguments, script is using --wd. But why? Can you explain please?

The weight values are used to balance the effect of different numbers of samples in each class when using cross-entropy loss in training. (https://pytorch.org/docs/stable/generated/torch.nn.CrossEntropyLoss.html#crossentropyloss).  In particular, the number of samples in the unknown category is much more than the others and this is to scale it down. To be accurate, you can make each value inversely proportional to the number of samples in each class.
Initially, KWS (6 keywords) was trained with MFCCof audio data rather than raw audio data and the output of the MFCC was 512x64.  That required implementation of the  MFCC on the ARM as well which consumes more power and adds to the delay. The KWS-20 is trained with direct audio samples with 128x128 input shape.

--wd is the weight decay parameter for SGD optimizer (https://pytorch.org/docs/stable/generated/torch.optim.SGD.html). The pytorch default for the weight decay is 0. However, the training script default is 1e-4 which seems not suitable for training KWS. You may want to initialize it to 0.


Verilog support

Add Verilog support based on https://www.verilog.com/VerilogBNF.html#REF170

@googlebot I signed it!

@googlebot I signed it!

Hi @mikesamuel ,
Sorry for pinging you, because I just find who recently commit this project and ...
I'm wondering is this project still alive.
Thanks


Update master_doc in apache/incubator-iotdb

This issue is for adding a picture in master_doc branch of apache/incubator-iotdb