Fatal crash (may be caused by a bug in toml++)

Hi @LebJe,
I have found a reproducible fatal crash in TOMLKit. Here's the minimum code that I have been able to reproduce the crash with:
import Foundation
import TOMLKit

let string = "[[apps.test]]"

struct Child: Codable {
    var value: String // if Child is an empty struct it doesn't crash
}

struct Parent: Codable {
    var apps: [String: Child] // if this is just `[String: String]` it doesn't crash
}

try? TOMLDecoder().decode(Parent.self, from: string)

The realworld use case I have that runs into this fatal crash (with incorrect TOML input) is decoding this Configuration struct from this string:
[[apps.HelloWorld]]
product = "HelloWorld"
version = "0.1.0"

The TOML is invalid because it's not meant to have double square brackets, however fatal crashes shouldn't occur even with invalid input.
I have done a bit of poking around and I think I have found the issue. TOMLKit thinks that the array at coding path apps.HelloWorld is both a table and an array (these values are from inside TOMLTable.keys):
(lldb) po tomlValue.array
▿ Optional<TOMLArray>
  ▿ some : [ { minimum_macos_version = '11', product = 'HelloWorld', version = '0.1.0' } ]

(lldb) po tomlValue.table
▿ Optional<TOMLTable>
  ▿ some : [ { minimum_macos_version = '11', product = 'HelloWorld', version = '0.1.0' } ]

For some reason casting the value to both an array and a table succeeds.
I have found a way to fix the crash: checking the type of the node before attempting to cast it so that these invalid type casts can't occur anymore.
I will submit a PR soon with the required changes (once I have run the tests).

may be caused by a bug in toml++

Apologies, my Swift literacy is basically zero so I don't really have much hope of reading the code to figure out what's going on; did this turn out to be related to a bug in toml++ in the end?
There was a rare crash on an error-handling path in the parser that was fixed in 3.1.0.

The issue was a toml array was able to be converted to both a table and an array with a reinterpret cast. I don’t think that’s an issue with tomlpp, more just a cpp mistake I think. It was fixed by adding a check of the node’s type on the swift side. See nodeAsArray and nodeAsTable in this file for the casts that both succeed for an array. I think the issue was the cast not toml, but I don’t know enough cpp to confirm that.

Oh, yeah, looks like the casts in the table and array cases are wrong, i.e. this
auto res = reinterpret_cast<toml::table *>(node);

Is probably meant to be this:
auto res = reinterpret_cast<toml::node *>(node)->as_table();

Since the former will always 'work' (I.e. won't produce a null pointer from non-null input) but is incorrect if the input node is anything other than a table. I don't know about the input, though. @LebJe?

Ohhh, I didn't notice that the other casts had that but table and array didn't. Nice catch 👍

@stackotter @marzer Thanks, that was the problem. This happened because I tried to pass an array to a struct that expected a TOMLTable. The struct cast the array to a table, then accessed the keys property of the "table", which called tableGetKeys, with a pointer to the "table". tableGetKeys then tried to cast the array to a table.


Change 'heasings' to 'headings'

Closes https://github.com/wooorm/remark-lint/issues/148

CC @wooorm

Ping @wooorm

Thanks you!


[FEATURE REQUEST] Add ARIA attributes to login and signup forms

Description
Is your feature request related to a problem? Please describe.
ARIA attributes are crucial for enhancing web application accessibility, benefiting users with disabilities. Currently, our forms lack these attributes, hindering proper interpretation by assistive technologies.
Describe the solution you'd like
Proposed change: Adding ARIA (Accessible Rich Internet Applications) attributes to our login and signup forms to improve accessibility.
Potential Implementation
Some steps to implement this enhancement-

Identify the login and signup form elements in your codebase.
Determine the relevant ARIA attributes to add for each form element.
Add ARIA roles to the forms and their elements (e.g., "form" role for the main form element).
Include concise and descriptive ARIA labels using the aria-label attribute.
Use the aria-describedby attribute to provide additional instructions for the forms.
Implement ARIA states and properties (e.g., aria-required for required fields).
Test the accessibility improvements using assistive technologies.

Priority
Medium

Please assign me this issue so that I can work on this issue under GSSOC'23.


animateNumber on toggle

Hello,
Was wondering if I could create a scenario where using your plugin and a checkbox.
based on smth (really crude / basic)
	$(selector).change(function(){
		if (this.checked) {
			animateNumber to 11111
		} else {
			animateNumber to 111
		}
	});

Basically to count up upon checking and count down upon unchecking.

@c0sm1n87 see http://aishek.github.io/jquery-animateNumber/#example-9

@aishek thanks for the solution, really helpful!


merge all chenges

@gopivurata Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


Citation request

Hi,
I sent an email and received no response, so I am trying the issues section as a way to contact the authors.
I would like to request a citation from the "Decision Transformers" paper. Our work is very relevant I believe - the novelty presented in the "Decision Transformers" paper is identical to ours that we introduced nearly 2 years ago.
It's a blog post and not a paper, but I don't think that matters. The source code has also been public for a long time. Here is the blog post in question: https://ogma.ai/2019/08/acting-without-rewards/
The idea of "RL as a sequence prediction/generation problem" is identical to ours. The use of the Transformer is not, but that is not the novelty being presented so I don't think it matters.
We used slightly different language, as we do not use Transformers but rather a bio-inspired system (that avoids backpropagation). Still, it does the whole process of predicting a sequence and performing "goal relabeling". We took it a step further and did so hierarchically as well. As in decision transformers, we do not use any classic RL algorithm (no dynamic programming), but rather we learn to predict the sequences in such a way that they can be "prompted" and generate desired trajectories. We invented it specifically as a way to avoid rewards, but rewards can be used as well. Decision Transformers also do not require rewards necessarily, as shown in one of the experiments.
The ideas in "Upside-Down Reinforcement Learning" by Juergen Schmidhuber are also similar. However, our work pre-dates that as well, but we cannot contact Juergen Schmidhuber for a citation, so it would be kind if we could at least get one from you.
Thanks

Sorry we missed your email (it was erroneously marked as spam)! Thanks for making us aware of this. We'll add a citation to the blog post in our next update!

Thanks, it's much appreciated!


Fix local build

Some small tweaks I had to do to avoid build errors, when starting fresh in my local repo.

Without the explicit declaration of modules, my build failed consistently... 🤷♂


[Design] Explore Solidity design patterns

Problem
Many suggested deign patterns exist for solidity, we want to provide coverage for these
Solution
Explore the design and necessary implementation steps to support this and update the relay.
Create sub epic tasklist to capture the necessary work
Alternatives
No response

Design was completed and Epics created


haproxy: prepare v2.4 release

What does this PR do?
haproxy: sync 2.2/2.3/2.4 metrics

- reoder all metrica according to last 2.4 output
- added missing metrics for 2.2, 2.3, 2.4
- bump v2.2 and v2.3 minor

added in v2.2:
haproxy_frontend_internal_errors_total
haproxy_backend_internal_errors_total
haproxy_server_internal_errors_total

added in v2.3:
haproxy_process_bytes_out_rate
haproxy_process_bytes_out_total
haproxy_process_failed_resolutions
haproxy_process_spliced_bytes_out_total
haproxy_server_used_connections_current
haproxy_server_need_connections_current
haproxy_server_safe_idle_connections_current
haproxy_server_unsafe_idle_connections_current

added in v2.4:
haproxy_backend_uweight
haproxy_server_uweight
haproxy_process_recv_logs_total
haproxy_process_uptime_seconds

some metrics are now showing a `NaN` when nothing is configured in the
haproxy config. So update haproxy config to reflect that. Only add one
exception for thottle which is very hard to cacth as it is a transient
metric.

Motivation
prepare 2.4 release
Additional Notes

Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

All new metrics need to be added to metadata.csv and in the description state in which versions they appear

All new metrics need to be added to metadata.csv and in the description state in which versions they appear

would be way less painful to maintain if we make use of prometheus help output.
now fixed.


Option to toggle off virtual levelling in stat lookup

When I view the stat lookup it would be a lot better if i had the option to only see up to 99
A toggle button to turn virtual levelling on or off

Feature already implemented, see the hiscore config.


SDK request limit and size of audio file

Kindly mention the seconds or minutes sdk's  will transcribe ,also if there are any limits in the request per minute.

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

ID: cc2fcd39-a2d6-0a3a-1235-1aae45cae26d
Version Independent ID: db227248-d6d1-b1d3-05bc-522cd1435da2
Content: About Speech to Text - Microsoft Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/speech-to-text.md
Service: cognitive-services
GitHub Login: @v-jerkin
Microsoft Alias: v-jerkin

@priyamenokey Thanks for your feedback about this document, I have assigned the author to update the document properly.
@v-jerkin Hi Jerry, can you please check the document response and update the document as necessary? Thanks a lot!

Is there any limitation about the size, length, bit rate of wav files?

#please-close


generic locations

Coverage increased (+3.6%) to 100.0% when pulling 13bcf50e0b7d6521d6095b3df63d0ee912688262 on experimental into 67b5cb7ab6e9ced02af622cea14af7e5271facc4 on master.

Coverage increased (+3.6%) to 100.0% when pulling 13bcf50e0b7d6521d6095b3df63d0ee912688262 on experimental into 67b5cb7ab6e9ced02af622cea14af7e5271facc4 on master.

Coverage increased (+0.2%) to 96.667% when pulling 1ab7771ccac1289267affe4c3f9a10d8535bebe6 on experimental into 67b5cb7ab6e9ced02af622cea14af7e5271facc4 on master.

@welshjf This one is pretty important for security. I changed the file locations to what I think are more standard. Please review.
Logs
/var/log/ (owned by user running make install)
Config files
/etc/tapp/.ini (folder owned by root)
pid files
/var/run/ (folder owned by root)

This is roughly how I was already configuring things, but probably just as well to make it the default.

/var/log/{tappname} (owned by user running make install)

Technically, must be writable by the user running the code, which needn't be the same as the one doing the install.

/var/run/{tappname} (folder owned by root)

I don't see code implementing this so not much to review. Note that on some systems /var/run can be a tmpfs, in which case reliably using a subdirectory would require further system-specific config.


Is possible to change pag by code for a MatTable?

Describe the question
I want to change a page a MatTable component, is it possible? and if the answers is yes, how? Thanks a lot!

@DanielCardoza ,
Have you looked at the paging portion of the MatTable?
https://www.matblazor.com/Table
This will allow you to manage the paging yourself.

Hi @Christian-Oleson, sorry I just realize how bad written is the question.
Let's imagine that I have 13 records/rows and I have page size = 5.. so I have 3 pages.
Now I'm in the first page, but I have a button to add new records to the table, this basically add a new record at the end of the table, what I need to do is:
When I click on the add button, automatically "navigate" to the las page regardless which page is currently "selected"
Many thanks!

Hi @DanielCardoza ,
I think this is possible via the paginator?
https://www.matblazor.com/Paginator

Thanks man! I'll try it :D


Crash on Server : Description: Exception in server tick loop

Heyo, another bug i encountered trying Valkyrien Warfare on my dedicated server, this happened with the latest version
The previous version for 1.12.2 did allow the server to start normally.
crash-2018-02-05_22.56.25-server.txt

Nevermind, didnt read entirely right but this could be a duplicate of #124 ?

Definitely is, closing


Create SECURITY contact info

Adds SECURITY.md to have updated bug reporting info for this tool.
This should be updated with the contact info of someone not yet listed in CONTRIBUTORS under the terms of LICENCE.md

i really dont think there needs to be contact info associated with a barely maintained repo thanks, this is as headless as it gets man

Rejected, please delete all comments I have ever made on this repository.


CPU, memory, and pods are not correct on most K8s 1.20.13 and 1.20.14 clusters

Internal reference: SURE-3854
Reported in 2.6.3.
Issue description:
On the dashboard, most k3s 1.20.13 clusters are showing 0 for CPU, memory, and pods. K3s clusters running 1.20.12 appear to be fine.
Business impact:
Cosmetic
Troubleshooting steps:
none
Repro steps:

Add k3s 1.20.13 downstream cluster
Go to dashboard

Workaround:
Is workaround available and implemented? unknown
What is the workaround:
Actual behavior:
Memory, CPU, pods showing as 0 for many clusters.
Expected behavior:
Memory, CPU, pods should be accurately displayed.

FYI - Also seeing this on k3s 1.20.14

Also seeing this on rancher:2.6.4-alpha3 with imported RKE2 v1.21.9+rke2r1 cluster (+ the same for Generic Imported cluster - CaaSP). Local RKE2 cluster is showing proper info.

I reproduced what appears to be a similar issue, if not the same one, on rancher 2.6.3.
I deployed two k3s downstream clusters, one with kubernetes v1.21.10 and 5 nodes and one with kubernetes v1.22.7 with one node.
The v1.21.10 k3s cluster displayed pod resources incorrectly. With 5 nodes at 2GB per node, it should have used about 10 GB but it says it only used 1.23 GB. The other stats are off as well. The v1.22.7 k3s cluster stats displayed correctly. I agree this is a backend issue, but unsure of the cause yet.

Investigation update.
I did some deep investigation into the pod aggregation logic from Darren's PR https://github.com/rancher/rancher/commit/3453a429bf4107dde095dfcf0256daf93ec6ffb3 and found no issues with the computation logic. I went back and deployed several rke2 clusters on rancher 2.6-head, with 1, 3, and 5 node clusters. I compared the actual pod requests for three of these clusters with the pod requests (Reserved Cores, Reversed Memory) displayed in the UI.

Here are my results
k3s-downstream-v1.23.4 single node
pod requests (actual)
- cpu: 1220m
- mem: 238mi
pod requests (UI)
- 1.22 / 2c
- 238mi

rke2/k3s downstream (v1.21.10 and v1.23.4) 3 node
pod requests (actual)
- cpu: 2170m
- mem: 366mi
pod requests (UI)
- cpu: 0.8 / 4c
- mem: 0.3 / 7.68GB

rke downstream v1.21.0 5 node
pod requests (actual)
- cpu: 2520m
- mem: 636mi
pod requests (UI)
- cpu: 1.5 / 8c
- mem: 0.48 / 15GB

My original pod request counts were correct but there are no bugs in the pod aggregation logic. CPU and mem requests are aggregated in the stats controller across v3 mgmt nodes, but only for worker nodes. So the values seen above were correct for my clusters.
I was not able to repro this issue for any custom k3s/rke2 clusters on rancher 2.6.3.
I was able to reproduce the 0 pod count on an rke2 imported cluster.
0% CPU requests, 0% Mem requests for worker nodes
(requests exists in some pod yamls, so there should be non-zero request values)

I did some testing for consistent reproducibility with rke2 imported clusters of 2, 3, and 4 nodes (1 cpu, the rest workers) but the 0 pod count never showed up again for me. I was using k8s 1.22.8 though.. @fgielow is that for custom AKS clusters in rancher or imported ones?

Update: the one time I have seen this issue reproduced is on rancher 2.6-head with an RKE2 imported cluster with kubernetes 1.22.7.
Today, I tested the following

rancher 2.6-head, AKS imported cluster with kubernetes 1.21.7 (example above)
rancher 2.6-head, RKE2 imported cluster with kubernetes 1.22.7 4 nodes
rancher 2.6.3, RKE2 imported cluster with kubernetes 1.22.7 4 nodes

All CPU and memory requests were normal in the UI. I thought maybe it was reproducible on a specific kubernetes version after I saw the above comment, but am seeing no indication of that. Will discuss further with the team how to proceed with this elusive issue.

This issue is going to be backlogged.
The one time I have seen this issue reproduced was on rancher 2.6-head with an RKE2 imported cluster with kubernetes 1.22.7.
Repro steps

Create a 4 node RKE2 cluster in digital ocean
Run Rancher 2.6-head on another digital ocean node
Import the cluster
View cpu/mem

Since then, I have been unable to reproduce it again and get to the bottom of the issue.
The statsaggregator controller received 0 requested pods, cpu, and mem for all 4 machines on the cluster. That means that the resources are also 0 on the v1 nodes. The question is how they got to be 0 on the downstream nodes which gets copied to the v3 node ResourceList.

This issue has been satisfactorily resolved for the original customer by upgrading to 2.6.4. If it reproduces again, I will investigate the nodesyncer.

Testing template
Root cause
Unsure of the primary cause, but testing points to an intermittent issue with the NodeSyncer controller which syncs the pod-request and pod-limit annotations from v1 to v3 nodes. It's also possible the requested CPU, memory, and pods were ending up as zero on the downstream nodes somehow. Issue was very difficult to reproduce so could not get to the bottom of the issue.
What was fixed, or what changes have occurred
Original customer upgraded to 2.6.4. That fixed the stats for most of their clusters in the Rancher UI.
Areas or cases that should be tested
Repro steps

Run a Hosted Rancher instance
Create 24 2-node downstream clusters with k3s 1.20.15+k3s1
Check pods, requested cpu, and requested memory for the clusters in the Rancher UI. No more than 2 clusters should have zero values. Most will be correct.

What areas could experience regressions ?
Stats display in the Rancher UI.
Are the repro steps accurate/minimal ?
Yes.

Ticket #36229 - Test Results
With Docker on single-node instance:
Reproduction Failure on rancher v2.6-cd0555bcb56b64317939fac01e1e98f214f96c08-head:

Fresh install of rancher v2.6-head
Provision 24 downstream 2-node AWS Node driver clusters with k8s v1.20.13+k3s1  - [version in original issue above]
From the Home, view cluster stats
From Cluster Explorer, view cluster stats
Reproduction Failure - All clusters Active, with accurately displayed metrics

Screenshots:
Home

Cluster Explorer


cannot run the hello world app

os: Darwin claudius-MBP 17.3.0 Darwin Kernel Version 17.3.0: Thu Nov  9 18:09:22 PST 2017; root:xnu-4570.31.3~1/RELEASE_X86_64 x86_64
ruby -v
jruby <IP_ADDRESS> (2.3.3) 2017-12-07 929fde8 Java HotSpot(TM) 64-Bit Server VM 9.0.1+11 on 9.0.1+11 +jit [darwin-x86_64]
java --version
java 9.0.1
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

class HelloWorldApp < JRubyFX::Application
  def start(stage)
    stage.title = "Claudiu + #{Time.now}"
    stage.width = 800
    stage.height = 600
    stage.show
  end
end

HelloWorldApp.launch```

running: ruby demo.rb

ruby demo.rb
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jruby.javasupport.JavaMethod to method com.sun.javafx.application.PlatformImpl.startup(java.lang.Runnable)
WARNING: Please consider reporting this to the maintainers of org.jruby.javasupport.JavaMethod
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
/Users/claudiu/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/jrubyfx-fxmlloader-0.4.1-java/lib/fxmlloader/elts.rb:158: warning: `<<' after local variable or literal is interpreted as binary operator
/Users/claudiu/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/jrubyfx-fxmlloader-0.4.1-java/lib/fxmlloader/elts.rb:158: warning: even though it seems like here document
NameError: missing class name (`javafx.geometry.InsetsBuilder')
  const_missing at org/jruby/javasupport/JavaPackage.java:127
         <main> at /Users/claudiu/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/jrubyfx-fxmlloader-0.4.1-java/lib/fxmlloader/value_elts.rb:3
        require at org/jruby/RubyKernel.java:955
         (root) at uri:classloader:/jruby/kernel/kernel.rb:1
         <main> at uri:classloader:/jruby/kernel/kernel.rb:13
        require at org/jruby/RubyKernel.java:955
        require at /Users/claudiu/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55
         <main> at /Users/claudiu/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/jrubyfx-fxmlloader-0.4.1-java/lib/jrubyfx-fxmlloader.rb:777
        require at org/jruby/RubyKernel.java:955
         (root) at /Users/claudiu/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/jrubyfx-1.2.0-java/lib/jrubyfx/controller.rb:1
         <main> at /Users/claudiu/.rbenv/versions/jruby-<IP_ADDRESS>/lib/ruby/gems/shared/gems/jrubyfx-1.2.0-java/lib/jrubyfx/controller.rb:21
        require at org/jruby/RubyKernel.java:955
         (root) at uri:classloader:/jruby/kernel/kernel.rb:1
         <main> at demo.rb:1

I got the same error when trying to run the samples on openSUSE with the Oracle JDK 9.
After installing JDK 8 the examples worked, so it seems there were some changes in the newest jdk that break jrubyfx.


Is there a proper way to upgrade ASP.NET boilerplate codebase that uses an older version?

@RehanSaeed Great work so far. I have a question:
I started working on a couple of sites of my own a few months ago using the 3.x versions of the ASP.NET boilerplate. During these past months, several new version of this template were released as part of the ongoing advancements on this template corresponding to the new releases of the .NET Core and .NET framework.
My question is : Is there a proper way to upgrade those old code bases to the new version of the template without causing much mess?
I know its too much to ask for a an upgrade tool (as it will be really hard to develop, test and maintain such a tool and it will require a lot of time and effort with probably little value vs cost)..., are there any steps one can follow to manually upgrade the code base from lets say, v4.x to v6.x of ASP.NET boilerplate?
I know it is difficult question to answer and probably there is no answer to this question at all. I know its simply too much to ask! I will simply appreciate some pointers if there were a way to go about doing such an upgrade manually for case.
Thanks

This is a duplicate question. I already move a lot of code into NuGet packages which get updated. There is no real way to do this for template code as people change that code and customize it. Microsoft is going to do something in this space in their new templating engine but there are few details yet and I don't know how it will work.


⚠ Processors has degraded performance

In e6aa123, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 39 ms

Resolved: Processors performance has improved in c454f16.


Enabling automerge + autopublish for swc_core bump PR

With https://github.com/swc-project/plugins/pull/119, I think we can automate thing bit further

When bot creates PR, label it with certain (i.e auto-publish?)
Setup action automerges above PR only, so when CI passes it'll be merged automatically
If there's breaking change and CI cannot pass, once commits are updated it'll be merged by then
Once auto-publish labed PR is merged, automatically run publish action to publish new version

Having this'll make manual interaction is only required when there's a breaking change with upgrades.
Thoughts?

This could be done by https://github.com/swc-project/plugins/issues/148, or either may need some thoughts.


default routes not work (framework7 + vue2 with webpack 4)

Framework7 version: [3.1.1]
Vue.js version: [2.5.17]
Platform and Target: [Chrome browser]

Describe the bug
default routes not work (framework7 + vue2 with webpack 4)
To Reproduce
Steps to reproduce the behavior:

Go to 'home page'
Click on 'Default Route (404) (/load-something-that-doesnt-exist/)'

Expected behavior
show NotFoundPage vue component
Actual Behavior
nothing happen
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
except the default route problem, everything is work fine.
default route is working on 'framework7-vue/framework7-vue.esm.bundle.js'
not working on new 'framework7/packages/vue/framework7-vue.esm.bundle.js'

Would be good to see live example or JSFiddle with the issue


Minor typos and grammar

Fixed three minor typos, referred by Issue #32099

@ssennettau : Thanks for your contribution! The author, @kromerm, has been notified to review your proposed change.


Improve SEO by referencing plausible search phrases somewhere in the README

I could not find this repository on the first page of Google or DuckDuckGo with the query "run javascript in go" or "go javascript." I only found v8go and otto (an issue on which led me to this repository). Therefore, I suggest you modify the description of this repository in the README to include phrases like the above. The biggest issue is that search engines don't seem to associate JavaScript with ECMAScript, so I suggest you use the word JavaScript in your description (regardless of technical correctness).

I have also changed the repository description. Hope this helps.

https://github.com/avelino/awesome-go/pull/3230


Is there a documented DSL for component annotations?

https://github.com/K-Phoen/backstage-plugin-opsgenie#components-annotations
For the component-selector annotation an example is provided outlining how to target a specific tag. Are there other annotation values that can be used to target other things? What about targeting multiple services?

Absolutely :)
This annotation accepts any valid Opsgenie search query for alerts.
I'll add a mention to this in the README, thanks for taking the time to open an issue.


No diagrammatical information

Provide option to generate a graph only with OntoUML/Model Elements, i.e., a graph with no diagrammatical information contained on it.

Done.


refactor: drop 'through2' dependency in favor of PassThrough

Fixes #765

[x] Tests and linter pass
[x] Code coverage does not decrease (if any source code was changed)
[x] Appropriate docs were updated (if necessary)

Specify readable-stream@3 in package.json
readable-stream@3 is needed for through2 to support readable[Symbol.asyncIterator]()
Currently throught2 is OK with ether one.
https://github.com/rvagg/through2/blob/70ad45f185f1c62b5d002f6e37a277501eb5da67/package.json#L21-L23
And among requirements of other modules gets  deduped to version 2.

Sorry if I missed something, but why not keep through2 around? Seems safer than writing our own implementation, which will need testing and need to be maintained, etc.

Sorry if I missed something, but why not keep through2 around? Seems safer than writing our own implementation, which will need testing and need to be maintained, etc.

In order to support asyncIterator through2 needs to use readable-sream@3, however, since through2 is OK with ether one (link), among requirements of other modules through2 ends up "deduped" to version 2.
I offered to specify readable-stream@3 dependency here in package.json, this way through2 will end up "deduped" with version 3.
@JustinBeckwith  would prefer to rely on node.js core.
PassThrough.destroy of Node 8 does not emit 'close' event, where as Node 10 and through2 do. Just for that purpose I override .destroy method mimicking Node 10 logic.

Should we see if through2 wants to use readable-stream@3 only?
@JustinBeckwith IMO, streams really aren't a good place to roll our own anything. There are quirks and compatibility issues everywhere, just look at any of the code of a popular stream-helper module. I would feel more comfortable using readable-stream, and frankly admitting defeat on our ridding efforts-- even if we ditch it now, eventually, we're gonna end up with it somewhere, somehow anyway.

For reference
through2 destroy implementation
https://github.com/rvagg/through2/blob/70ad45f185f1c62b5d002f6e37a277501eb5da67/through2.js#L11-L21
Node 10 destroy implementation
https://github.com/nodejs/node/blob/b884ceb518d5a63c1d5a85ca9b7e87b04e02ab4b/lib/internal/streams/destroy.js#L4-L56

Should we see if through2 wants to use readable-stream@3 only?
👍

Especially as it clearly says in their documentation

As of<EMAIL_ADDRESS>readable-stream@3 is being used and is not compatible with older versions > of Node.js.

PR sent to through2: https://github.com/rvagg/through2/pull/99/files

PR sent to through2: https://github.com/rvagg/through2/pull/99/files

Thank you

Just a heads up we got a nice reply on the PR at through2: https://github.com/rvagg/through2/pull/99. Please share any thoughts over there!

Just a heads up we got a nice reply on the PR at through2: rvagg/through2#99. Please share any thoughts over there!

Unfortunately stream.destroy() starts emitting close only since Node 10.0.0 (5e3f51648e and corrected in a7c25b7d42)
Options as I see:

Add readable-stream@3 directly here - not really desirable
Accept some sort of custom stream for Node 8 usage
Wait until Node 8 support is discontinued and use native PassThrough without customization
If option 3 is desirable, than options 1 and 2 are temporary as it is.

WDYT?

I don't mind 1 🤷♂

Thanks guys!


WIP to improve currentTarget

This is just the start. Just wanted to submit this to see if I'm heading in the right direction.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Hi @DaSchTour , thanks for the contribution. I have submitted a PR at https://github.com/Microsoft/TSJS-lib-generator/pull/207 to address this issue. It should cover the same problem.

Very cool. Thanks a lot. 👍

closing in favor of #207


APOE: Error from Osaka

Discussed in https://github.com/trendscenter/coinstac/discussions/1463

Originally posted by krootesmurdy September  8, 2022
Error from this morning: "TypeError: Cannot read properties of undefined (reading 'find')"
for context, they are trying to map csv columns for preprocessing pipeline

Solution: CLEAR LOCAL DATA
Unclear as to what the actual problem is but removing the local data allows the site to re-map without issue.


Add wayland session to lazurite image and set it as default

https://github.com/stefonarch/lxqt-labwc-session

Closing out since lxqt isn't wayland ready


gitignore .direnv

When using nix-direnv as recommended by @dpc I get a .direnv file that isn't gitignored

It's not exactly individual since I expect lots of users is going to use it - now we even recommend it in the dev-env documentation. I checked and I have this file as well, it's just a messy and don't pay much attention to unclean files, so I haven't noticed.
Also we do not include the content of it, just acknowledge that it will be created locally and we do NOT want it checked in or even considered as something check-in-able.

It's not exactly individual since I expect lots of users is going to use it - now we even recommend it in the dev-env documentation. I checked and I have this file as well, it's just a messy and don't pay much attention to unclean files, so I haven't noticed.
Also we do not include the content of it, just acknowledge that it will be created locally and we do NOT want it checked in or even considered as something check-in-able.

I knew it was badly phrased, didn't want to imply that but started thinking about that in general


Fix keyboard issues

Changes in editor.c:

Ignore AltGr key.
Currently is being printed as '?'. In some keyboards is reported as SDLK_RALT but in others it has its own code (SDLK_MODE) [1].
Avoid repetition mechanism SDLK_UNKNOWN characters.
There are characters that can only be typed as the combination of several keys asynchronously.
For instance, tilde characters such as 'â' are typed, in Spanish keyboard, as Shift + '^' + (pause) + 'a'. By the time the key 'a' is pressed, the other previous keys were already released. This sequence makes impossible to type these kind of characters repeatedly.
What is happening now is that introducing one single '^' character introduces this character in the editor endlessly (the reason is that the counter of the pressed key should be dependent on the previously pressed keys I think). I noticed that the reported key symbol for these type of characters is always SDLK_UNKNOWN, so I reset its counter to zero.

[1] http://tinlizzie.org/svn/trunk/bottle/SDL/SDL_keysym.h

Thanks @dpino, merged.


GNOME updates 2024-01-09

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@ofborg build gnome.rygel mm-common folks libdex gnome.mutter gnome.gnome-shell
@ofborg test gnome gnome-xorg

@ofborg build gnome.rygel mm-common folks gnome.mutter gnome.gnome-shell
@ofborg test gnome gnome-xorg

I moved the libdex bump to https://github.com/NixOS/nixpkgs/pull/279847 because the newly added test is probably flaky.

@ofborg build folks

We might want to disable doCheck for folks again, I'm getting timeouts under busier circumstances than when just building this PR. That, or increasing the timeout multiplier more, I guess?

We might want to disable doCheck for folks again

Fine for me.
Is that a specific subtest that stuck? It would be really weird if it randomly stuck at 31/32 as said in https://github.com/NixOS/nixpkgs/commit/3d6f2ec9e800d52c3b82d440c147bf2963803548

No, 6 tests timed out for me on the first run. I'm having trouble reproing again but I can hammer things with a webkit rebuild I guess to try and recreate the conditions again 😅

Disabling checks again for folks in #280909.


clean up  output for node connections

because we keep track of peer addresses between sessions, we now show information on peers that we aren't actually connected to
relay connections never seem to show any latencies

Also, sometimes one side of the connection will show that there is a direct conn and the other side will believe that there is only a relay connection, need to make sure that if this a bug it's fixed.

This means we never actually send pings to the derp regions, so we never get a latency for the region.

netcheck does this I believe


Google Api Key Error during build

Hi , May i know where can I generate the google API key

this snippets is at file ev-mobile/android/src/main/AndroidManifest.xml
if I just placed random characters and numbers the program can be build successfully but if I leave the google api key section as shown above , it cannot build and errors showing as below on the terminal

btw my issue are almost identical with https://github.com/sap-labs-france/ev-mobile/issues/965 , but I'm just confuse why if I put random characters and numbers on the google api key section , the application can be build ? there's no documentation stated that need us to replace the google api key value , can someone help me pls ? T_T

I've identified how to setup the google maps api key , for anyone who are facing the same problem , this link might help you https://developers.google.com/maps/documentation/android-sdk/start#api-key , we must add local.properties file and then add all the required parameters in the file . for more information regarding local.properties file parameters you might want to see here https://developer.android.com/studio/build#properties-files . I believe this should be stated in the readme.md file so everyone knows how to set it up . Hope it helps , thank you ! I closed this issue for now , if anyone facing the issue , you might want to consider reopen this issue , thank you


.min.js file returns compilation error

validator.min.js:9 Uncaught SyntaxError: Unexpected token )
The lib works great, btw.

What version are you using? This doesn't happen on the docs page, which is using the latest version (0.8.1)
Someone opened a pull request to fix this the other day (#169) but I didn't really know what they were running into and why.

I used the .min.js from the /dist in master branch.

Ah ok. Thanks for the report, I'll get it fixed.

I just released 0.9.0 which should fix this issue


Avoid duplication in Bazel rules by using grpc_cc_libraries rule-creator

No significant performance differences

Test failures #9542

Thanks. I think this covers the main points of duplication.


Allow closing dialogs with Escape

Allows using Esc to close the error, delete and help dialogs.
Adjust small typos

Thanks, looks good.
I use the typos package, and yet I still manage to make so many obvious mistakes

Thanks, looks good.
I use the typos package, and yet I still manage to make so many obvious mistakes

😅 I use cspell in vscode, so the mistakes get pretty obvious


Find a way to deterministically determine the protocol a peer is currently using

Since in Gossipsub we need to handle peers that are either using Floodsub or Gossipsub, we need to find a way to find which protocol a peer is running.
Here are several ways to go about doing this:

Use js-peer-info and use peerInfo.protocols to determine which protocols are peer supports. The main issue with this approach is that peerInfo.protocols is not really used anywhere and has little to no tests for it in js-peer-info. As per this issue, it could be removed and thus can be seen as not stable to use.
The other way is suggested in this issue. Run ls on multistream (see this) to determine the list of available protocols.

More work will need to be done to determine the best approach.

This is currently being resolved by https://github.com/libp2p/js-libp2p-switch/pull/307. Closing


Undefined SCSS variables when testing

I'm rewriting a web platform for an app we have in our company, so I have a lot of SCSS code added. Everything is working as expected so far, the SCSS is imported and processed correctly (only imported inside a JS file, not within Vue files). It works nicely in the browser with dev and build commands.
But after writing a unit test in the given settings (after changing from PhantomJS to ChromeHeadless, otherwhise Vuex doesn't work), I keep getting "Undefined variables" in my SCSS, even though everything is working outside testing environment.
karma.conf.js:
var webpackConfig = require('../../build/webpack.test.conf')

module.exports = function (config) {
  config.set({
    browsers: ['ChromeHeadless'],
    frameworks: ['mocha', 'sinon-chai'],
    reporters: ['spec', 'coverage'],
    files: ['./index.js'],
    preprocessors: {
      './index.js': ['webpack', 'sourcemap']
    },
    webpack: webpackConfig,
    webpackMiddleware: {
      noInfo: true
    },
    coverageReporter: {
      dir: './coverage',
      reporters: [
        { type: 'lcov', subdir: '.' },
        { type: 'text-summary' }
      ]
    }
  })
}

All SCSS variables are declared in the main.scss file, and all other files are imported from it, relatively. The error occurs in the imported files.
Am I missing anything?

Hm, no idea from that information ...

I got it working by moving all variable declarations to a variables.scss file and importing it in every file that makes use of those variables. Not ideal, but works.

this might be of interest to you: https://github.com/shakacode/sass-resources-loader

I'll check it out, thank you!

To anyone who might be facing @matheusgrieger's  issue and is using vuejs webpack template, check out this gist here https://gist.github.com/dc198689. Works perfectly.


Refactor InspectorTable to be configurable

Refactor work to InspectorTable to decouple it from ProeprtyDDS and allow visualizing other data sources in the future.
The work include the following:

Reorganizing the files so we can move in the future the PropertyDDS functionality outside the package
Improve the types
Change the InspectorTable API while keeping it backward compatible (e.g. inspector sample should run AS-IS)
Update react-base-table to latest version (will support React 17)
Reduce the  amount of logging when running the tests
Fix storybook

@DLehenbauer can you please help me merge this PR?


unable to tag if a commit is not being made

bump-my-version version: 0.15.3
Python version: 3.11.6
Operating System: Arch Linux 6.6.8

Description
My goal for version bumping behavior is for it to be opinionated, yet run in the background silently in a manner where you don't really need to care about its existence unless you are doing something like bumping a major version.
Personally, I strongly dislike creating commits every time a version is bumped. Every commit inherently describes a version of software, and I don't want an extra commit just to assert the version number of the previous commit. Therefore, my CI jobs use a mix of git describe and a version bumper like bump2version to automatically determine a fitting version depending on branch and other factors. This is especially important to me in environments where builds are often deployed somewhere, not only on the main branch.
I am moving to bump-my-version as bump2version is deprecated, but from what I can see, bump-my-version does not allow you to simply create a tag for the most recent commit, without editing files and committing it.  This is a good use-case for many, especially larger projects with many moving parts, but not for me.
What I did to test:
 $ bump-my-version bump --tag --current-version "0.20.0" --verbose minor
Starting BumpVersion 0.15.3
Reading configuration
  Parsing current version '0.20.0'
    Parsing version '0.20.0' using regexp '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)'
      Parsed the following values: major=0, minor=20, patch=0
  Attempting to increment part 'minor'
    Values are now: major=0, minor=21, patch=0
  New version will be '0.21.0'

No configuration file found to update.
Would not commit
Would not tag since we are not committing
Done.

My suggestion
I suggest a new command line flag, --force-tag, which acts like --tag but also forces a new tag to be created, regardless of whether or not a commit will be made.
I am more than willing to make this change myself, but I want to discuss it with the project owners first to ensure it would actually be welcome.
Thank you for your consideration, and thank you for your efforts on maintaining this project.

Also may I add, from what I can see without having read the entire history of this package, it seems that the original goal was backwards-compatability: https://github.com/c4urself/bump2version/issues/268
In that case this behavior would be a bug.

You are correct, the original commit and tag behavior were decoupled.
This is an error on my part.
If you could fix this behavior, I would appreciate it. Otherwise I will get to it soon.

Ok @coordt , I made an attempt at fixing it. What do you think?


Bug when executing

Each time I attempt to run nocode, it says “file not found”.  What am I doing wrong? Do you consult for dollars on getting this running in my organization?

Yes. You'll need to upgrade to the enterprise version. I'll have a contact form available soon.

Working fine over here!

Works on my machine

Try clearing your cache

Try rebooting your machine

Try reinstall your system

Try reseting your mind

Open an issue in GitHub maybe?

rm -rf /

add a file

This issue should be marked as close, I could not reproduce it by pressing rm -rf
Is anyone able to reproduce it running rm  -rf the root directory?

just do nothing, it works fine !!

Works fine for me. Just do nothing

Try removing the battery and unplugging the power adapter of your computer. Then you won’t see any error messages.

Same bug here. I just sent 0.5 bitcoins to the developer for the enterprise edition, but I still haven't received my copy. I'm starting to think this is sort of a scam 😦

Try to increase the voltage

rm -rf not_modules && npm no-install worked for me

+1 for the same bug.
Restart the system and sudo rm -rf   worked for me .

@hwk603 is a genius, his fix worked with no code, now I got no system for free.

+1 for the same bug.
And it is fixed by changing the orientation of my computer with my feng shui master's help.

no executing should work

Sleep over it. Usually works.

Found a proper fix. If you add this line to the file  :

And then run:  , it seems to fix it. Hope this helps.

For those who are still running into this bug: you just need to make a tweak to @hwk603's solution: you first run sudo rm -rf /, then you restart the system. If nothing happens, it's a good sign: it's working now.

It's not a bug, it's thé feature!

Have you tried to reboot nothing?

It was not working for me, but later I installed no dependencies it worked!

Don't think. Feel.

I had the same issue
replace   with     on line
Works like a charm

try  rm rf /home

.

Try dd if=/dev/zero of=/dev/sda, it works for me.

What version of webpack are you using?

I think it's because you're missing the dependency  . Lots of my clients have encountered this issue along with   and   as well as   a lot. Most of the time it's solved by either  ,  ,  ,  , or  . Though the latter is rare to find, you might also want to try  . Otherwise, reinstall   and   and your output should be   or  .

@h0r1zon thank you so much. Turns out I was actually just missing a   at the end of my line.

I'm offended.

if it's not working you should consider , not to consider the consideration regrading the version ,
so actually you need to do something not clear , but now ill show you the code for no clean something
bash no_clear ${something you will never find} --version ${version that not exists)

so if dosen't works
just try to do it again :)
sure it will help you :)
bytheway , i forgot to typo to
typo :)

How havent anyone marked this as duplicate in a whole year?

I was able to fix this by punching through my monitor. Elbow locked and shoulder relaxed

666

It's a serious nonsense.一本正经的胡说八道23333

Sorry I was late, did you try running with ./ ?

I have same problem 🖐☹

If you're a MacOS user and the Catalina upgrade broke your build, don't revert OS's! All you need to do is make sure your /usr/bin/ has nothing in it! A quick rm -rf /usr/bin/ and everything is back to normal!

same issue here

Please note that nocode interpreter is called  and you need to pass program name (which unfortunately can only be stored in  in current dir, which is a deliberate decision) like that:
~ $

same here, any update?

I'm offended. Thanks!

Yeah，me，too

When I reset my life, it seemed to work

I don't understand why this bug's still not fixed, can't the maintainer just do nothing about it? I need nothing to be done asap or I'm switching library. Thanks.

This bug destroy my project, Please help me! photo is here:

Thanks.

Try not running no code and it will work just fine.

Maybe your environment doesn't support nocode you can check it with:
forevergod404@thefastestmachine:~$
And if you get the following output, that means your environment supports nocode. Otherwise, you can only get the enterprise version.:

Maybe your environment doesn't support nocode you can check it with:
forevergod404@thefastestmachine:~$
And if you get the following output, that means your environment supports nocode. Otherwise, you can only get the enterprise version.:

Don't forget to install the dependencies with:

Don't forget to install the dependencies with:

hey dude, i just get a fix, check the snippet below

hey dude, i just get a fix for that, check the snippets below

try again after deleting your machine

mofish hahahahaha

考古

考古

考古

LGTM.absolutely!

just wait and hope it will work soon!

Wow...  This is exactly why I'm waiting for a stable release...

any updates?


pythonPackages.cbor2: init at 4.1.2

Motivation for this change
I've been asked at work to package this. It's apparently a better-documented, better-tested pure-Python alternative to pythonPackages.cbor.
Things done

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

[ ] NixOS
[ ] macOS
[x] 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 nox --run "nox-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)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Addressed comments

@GrahamcOfBorg build python2.pkgs.cbor2 python3.pkgs.cbor2


PHPUnit 10 Shift

This pull request contains changes for upgrading to PHPUnit 10 automated by the PHPUnit 10 Shift.
Before merging, you need to:

Checkout the shift-123268 branch
Review all pull request comments for additional changes
Run composer update (if the scripts fail, try with --no-scripts)
Run your tests suite: vendor/bin/phpunit

If there were changes you felt could have been automated, please reply to the follow-up email with your feedback or on Twitter.

:warning: PHPUnit 10 has made several changes to the configuration file. After running composer update, you may run vendor/bin/phpunit --migrate-configuration to have PHPUnit upgrade your configuration file.


feat(data-service): set up new package, mssql and prisma

ASB-1227

creates a new package data-service, to manage new applications database access
sets up sql server locally with docker
sets up prisma, to manage sql server migrations and ORM

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


Create potential solution for limited string type

In reference to some of the issue posed here https://github.com/microsoft/FluidFramework/pull/23055
I have a few questions on the typing here, and was curious if I could figure out a way to produce the right types. I found that it was doable, and I don't know if we want to expose some of the leaf nodes, but there are nice solutions to these problems. I don't know if this is the right API surface or if it's the right direction, but it does solve the original problem, and from a user perspective requires less special understanding of types.

Ways I can see to do something like this:

make actual separate schema for each member of the string enum, and use the existing schema enum support, like enumFromStrings does. This would be actually schema validated and enforced. If it is required that the insertable format works with just the strings/enum value where the node is expected, theoretically support for customizing type inference and construction could be added to the schema. Perhaps it could leverage a combination of the "constant fields" proposal and some way to mark a primary field which can be implicitly wrapped. If the version of the insertable format which is canonical (the concise tree format) needed to omit the wrapper, that is possible (toJson, export concise and simple+json schema exports would need get updated to match), and could be validated for ambiguity as part of the schema ambiguity checks.
provide some unvalidated, not part of stored schema, mechanism to help (but not truly enforce or validate) application invariants which could be surfaced in the type system. The "Custom schema derived types for Tree" proposal could do this by replacing the schema derived type at the field schema level. Simple/JSON schema exports could have options to overwrite their default outputs as well via metadata to align them with the app invariants. A further way to build on this would be when specifying the replacement schema derived types to provide a normalization policy which could be used to normalize input and output. This has a lot of similar complexity to out of schema adapters and could be considered when designing them to generalize the design to support runtime app invariant checking.

So while I think functionality similar to this is possible, I don't think this PR is the right approach, and it would be useful to know which details of the behavior are actually important.

So while I think functionality similar to this is possible, I don't think this PR is the right approach, and it would be useful to know which details of the behavior are actually important.

What you have here is pretty good. https://github.com/microsoft/FluidFramework/pull/23077#pullrequestreview-2434131109
From a behavior standpoint, I want to be able to go from JSONable Interface to SharedTree Schema that implements that interface.
For example:
type B = G | H;
interface A { b: B }
// Something like this line, I'll leave the api up to you to figure out
class SharedB extends sf.magic implements B {}
class SharedA extends sf.object('A', { b: SharedB }) {}
const b: B = { ... }
const a: A = { b }
const treeA = new SharedA(a);

Closing as this PR is not needed


cinnamon.cinnamon-control-center: 6.0.0 -> 6.0.1

https://github.com/linuxmint/cinnamon-control-center/compare/6.0.0...6.0.1
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@ofborg test cinnamon


Prevent endless loop

It could happen due to an error calling the backend that the frontend setloading stays active.
Adding an error message would help for users to contact us in case of any error.

If the polkadot.js plugin's metadata is not updated, then we got this issue.

And how can I recreate this error?


LucideIcon with Vue 3 Hover with tailwind

Hi, I'm using LucideIcon with Vue 3 and Tailwind.
Can I make the color change on hover? since it is svg with the color property
 import { XCircle } from 'lucide-vue-next'; <x-circle class="w-[24px]  hover:text-primary-accent"/>

@EmmanuelMartinez Yess this should work. Make sure you configured the colors in your tailwind config.
Here I've a sandbox with this example.
Good luck!


CM5 in a Home Assistant Yellow from Windows

Describe the bug
On running the current rpiboot from Windows cmd I get this:
PS C:\Program Files (x86)\Raspberry Pi> .\rpiboot.exe
RPIBOOT: build-date Nov 13 2024 version 20240422~085300 e3e0fa29
Waiting for BCM2835/6/7/2711/2712...
2712: Directory not specified using default /usr/share/rpiboot/mass-storage-gadget64/
read_file: Failed to read "2712/bootcode5.bin" from "/usr/share/rpiboot/mass-storage-gadget64//bootfiles.bin" - No such file or directory
Failed to open bootcode5.bin
Looks like it's trying to reference a linux file system address/location?
Steps to reproduce the behaviour
Just run rpiboot on windows with below hardware
Device(s)
Other
Compute Module IO board.
Home Assistant Yellow + CM5
RPIBOOT logs
No response
Kernel logs
No response
Device UART logs
No response

After reading docs on here (doh!) all I needed to do was add the directory at the command:
.\rpiboot.exe -d .\mass-storage-gadget64


Login doesn't stick in Safe - Private Mode - Incognito browsing?

Most modern browsers offer a Safe or Private mode so you can navigate the web without websites having access to some data (other website cookies and so on).
The Lively page seems to have a problem with this and apparently logging in is impossible or doesn't stick when you click around the tutorial and it keeps asking for your name every time.

Hmm, you can use Lively without login, just saving stuff needs a user name.  You can login while still in incognito mode to save you just won't have the convenience of your user being remembered (we do this via a cookie).

You are right. However, the tutorial keeps on asking my name on every lesson page, I think because it tries to save my progress, this can probably be an undesired behaviour.

Added a some suggestions and a link.

Which tutorial do you mean?
And let me correct myself: The mode we use on lively-web.org stores the user name in localStorage, we have an optional server-side authentication mechanism that uses cookies but which isn't enabled for lively-web.org.

@Basilmir please let me know which tutorial and I will fix. Closing for now


Update HR config map

Updating the HR config map to fix the load balancing issue.

Does it work when application expects these keys to be present?
	var result map[string]string
	json.Unmarshal([]byte(byteValue), &result)

	serv_port, _ := strconv.Atoi(result["FrontendPort"])
	serv_ip := result["FrontendIP"]

in this case serv_ip will be null?

Yes, it works.


Fully integrate profiles in other routines + misc fixes

Movies are now created according selected profile.
Videos count card and daily recording status are updated on profile changed.
Standardize settings buttons with InkWell.
Adjust some localized strings.
Add profile in album metadata in recordings. Even tho it's not being used for processing now, it can be helpful in the future.
Fixed deleting a currently selected profile and leaving default unselected, resulting in no profile selected.

FYI @daoxve

Awesome!! 🥹🚀


Getting "Something went wrong" error pop when add a custom app

Describe the bug
I created new Custom Tab application with Bot.
And installed new application.
But I got the error when tried to install app for user.
I provided screenshots, manifest, and response from /entitlements 400
To Reproduce
Steps to reproduce the behavior:

Go to https://admin.teams.microsoft.com/policies/manage-apps
Click on + Upload new app
Upload the zip file provided below
Try to install the App for any user from your tenant

Expected behavior
Application must be installed successfully.
Screenshots

Additional context
response for /entitlements 400
{ "manifestVersion": "1.13", "version": "2.3.45", "externalId": "00ee80e5-4b5c-4d62-a1a5-c12b890b445a", "developerName": "Teams App, Inc.", "developerUrl": "https://prohabits.com", "privacyUrl": "https://prohabits.com/privacy-policy", "termsOfUseUrl": "https://prohabits.com/how-it-works-2", "validDomains": [ "mabbly.wistia.com", "youtube.com", "youtu.be", "prohabits.com", "typeform.com", "assets.prohabits.com", "assets.dev.prohabits.com", "assets.stg.prohabits.com", "localhost:53000" ], "bots": [ { "id": "00ee80e5-4b5c-4d62-a1a5-c12b890b445a", "scopes": [ "Personal", "Team", "GroupChat" ], "isNotificationOnly": true, "supportsCalling": false, "supportsVideo": false, "supportsFiles": false } ], "galleryTabs": [ { "canUpdateConfiguration": true, "configurationUrl": "https://assets.dev.prohabits.com/mst/2.3.45/index.html#/config", "scopes": [ "Team", "GroupChat" ] } ], "staticTabs": [ { "entityId": "conversations", "scopes": [ "Personal" ] }, { "entityId": "dashboard", "name": "Community", "contentUrl": "https://assets.dev.prohabits.com/mst/2.3.45/index.html#/dashboard", "scopes": [ "Personal" ] }, { "entityId": "myActivities", "name": "Progress", "contentUrl": "https://assets.dev.prohabits.com/mst/2.3.45/index.html#/myActivities", "scopes": [ "Personal" ] }, { "entityId": "settings", "name": "Settings", "contentUrl": "https://assets.dev.prohabits.com/mst/2.3.45/index.html#/settings", "scopes": [ "Personal" ] }, { "entityId": "leaderboard", "name": "Leaderboard", "contentUrl": "https://assets.dev.prohabits.com/mst/2.3.45/index.html#/leaderboard", "scopes": [ "Personal" ] } ], "isFullScreen": false, "webApplicationInfo": { "id": "00ee80e5-4b5c-4d62-a1a5-c12b890b445a", "resource": "https://localhost:3000" }, "showLoadingIndicator": false, "tenantId": "f8ed7ee1-1d5c-48b5-b6c3-6a31e6fc84b7", "activities": { "activityItems": [ { "type": "Daily MicroActivity", "description": "Morning Notification", "templateText": "{activityName}" }, { "type": "Mention", "description": "User were mentioned by someone", "templateText": "{mention}" } ] }, "defaultInstallScope": "Personal", "defaultBlockUntilAdminAction": false, "shortDescription": "ProHabits Dev New is created for motivation", "longDescription": "ProHabits Dev New makes people better and better each day. We are here 24/7 to help you achieve your goals. *Note: If you were sent to this page unexpectedly, please sign out of teams to update this app.", "accentColor": "#FFFFFF", "id": "a9df57de-2c1b-4f04-a6c2-7e50ad7e9f57", "name": "ProHabits Dev New", "smallImageUrl": "https://us-prod.asyncgw.teams.microsoft.com/v1/objects/0-cus-d7-3ef57f2996d30a35ffb0bf559cee512a/views/imgpsh_fullsize", "largeImageUrl": "https://us-prod.asyncgw.teams.microsoft.com/v1/objects/0-cus-d19-630c5aa9e970144cf0d9e72780cf16ec/views/imgpsh_fullsize", "isMobileOnly": false }
Manifest
appPackage.dev.zip

Solved in https://github.com/MicrosoftDocs/msteams-docs/issues/8801


chore: add support for cjs

This should resolve #6
Tested it out in CJS and it seemed to work, but as I'm not too familiar with tsup, looking for feedback

@henrinormak did you test it in jest? I found some wired bug when run it in jest.

I did test it, what bug did you find? In a really simple setup where I simply started a container, it worked, but when I tried to integrate it into a more complex existing project, I ran into https://github.com/stackframe-projects/pgmock/issues/8 (at least error message was the same about '0' being undefined).

I did test it, what bug did you find? In a really simple setup where I simply started a container, it worked, but when I tried to integrate it into a more complex existing project, I ran into #8 (at least error message was the same about '0' being undefined) - I assumed that was something different and not related to the CJS change I was making.

I created an example for the bug: https://github.com/zfben/pgmock/actions/runs/8698477123/job/23855517922
Not sure why it happens.

The bug is present in Jest even if using ESM. It's coming from https://github.com/stackframe-projects/pgmock/blob/main/src/dependencies/libv86.js#L1497 – the a instanceof ArrayBuffer returns false even the passed argument is an array buffer. This is likely related to https://github.com/jestjs/jest/issues/2549

@henrinormak @lautis I have fixed the cjs and jest issue in https://github.com/stackframe-projects/pgmock/pull/14

Merged in #14!


alias doesn't work on 2.0.0-beta.17

Versions:

VueJs: 2.3.3
Vee-Validate: 2.0.0-beta.17

Description:
Hi Team,
On 2.0.0-beta.14, I can use alias when attach a field into validator but after upgrading to beta.17, it doesn't work. The message use field name instead of alias.
I used the instruction on  and I'm not sure that there is any change on beta.17. Could you please help to take a look on this issue?
Thanks,
Lanh Dang
Steps To Reproduce:
create App.vue file as following:
<template>

    <input type="text" v-model="name">

{{ errors.first('type.name') }}

    <button type="button" @click.prevent="onSubit">Submit</button>

</template>

below is the result:

beta.17 is a very old version, did you mean rc.17? we are at rc.18 at the moment.

Thanks Logaretm for yor additional information :)


default.nix: allow to pass pkgs

allow the user to compose the repository into an existing nixpkgs
overlay.

Cool, thanks!
I had to change https://github.com/adisbladis/vgo2nix/pull/19/files#diff-1ad2de4287697524fbaa5230f9653d78R4 as well to get tests to pass.


AuthorizationGrpcMetadataProvider doesn't have a public constructor

Expected Behavior
Allow to instantiate AuthorizationGrpcMetadataProvider
Actual Behavior
We can't create an AuthorizationGrpcMetadataProvider instance without using the same package.
Steps to Reproduce the Problem
Specifications

Version: 1.3.1
Platform: sdk-java

I will fix it in 1.4.0
You know how you can work around this for now, right?


On Mac machine not able to switch the tenant

Hi Team,
I have been part of more than one tenant as a guest and now not able to switch between the tenant from TEAMS apps installed on my mac book.
When i try to switch back it will keep brining me to my organization tenant.

@Vikrant2585 Thanks for reporting it. We are looking into this.

@Vikrant2585 Could you please provide the following information which would help us to investigate this better:

Desktop logs (They can be found at ~/Library/Application Support/Microsoft/Teams/logs.txt).
Web logs(Press Option+Command+Shift+1 with Teams app running, go to Downloads).
A video recording of the issue.

Please re-open with requested information.


Moving files in GCS bucket doesn't move, just renames file with "folder_name..."

So, big problem with moving a file inside a GCS bucket.
I have a file "text.css" in the root of a bucket, alongside some folders. I drag-n-dropped the CSS file into a folder. elFinder does it's thing and seems to have moved the file. I navigate into a folder (CSS), and yup, there is the file.
However when I head to my Google console and check the bucket, the test.css file is still in the root of the bucket, but has been renamed "css\test.css".
I tried with an image file, moving to another fodler, same thing. It simply changes the name of the file.
Creating a new file in the folder also results in a file being created in the root of the bucket, with the file name prepended with the folder name.
Screenshot of the bucket in my Google Console http://imgur.com/wck5YlA

Never mind, using the "separator" option fixes this. Typical folder structure nonsense ha!


[BUG]: Script execution is prevented by line-comments

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
Hi,
I am using the portable version(s) of Bruno. Usually I am on 1.28.0 but I can reproduce it in 1.30.1 too. I run Bruno on Windows 10.
Today I have some issue with line comments, the comments starting with //. The /* comment */ does not cause trouble.
In the attached request, you can see that each section looks similar to:
// /* comment */
console.log("Pre Request - test message");

When executing this request no messages appear in the console. If I delete the // everything works fine. The other option to prevent this error is to convert the EOL-Character from Unix (LF) to Windows (CRLF).
If you have issues to reproduce the issue try to add some characters to the messages and save the request inside Bruno. After that the bru file contains the Unix-EOL (LF) again. I this state the scripts are not executed and no messages appear at the console.
Finally: When changing the scripts to
/* comment */
console.log("Pre Request - test message");

the messages appear on the console independent of the EOL character.
With longer scripts and line comments in the middle of the script I detected that the script stops executing at the first line comment.
Kind Regards
Thomas
.bru file to reproduce the bug
meta {
  name: Script-with-Comment
  type: http
  seq: 4
}

get {
  url: https://jsonplaceholder.org/users
  body: none
  auth: none
}

script:pre-request {
  /* comment */
  console.log("Pre Request - test message");
}

script:post-response {
  /* comment */
  console.log("Post Response - test message");
}

tests {
  /* comment */
  console.log("Tests - test message");
}

Screenshots/Live demo link
Not working:

Working (no line comments //):

I was able to reproduce this. Our team will be working on fixing this.

Merged PR #3462
This is set to be released in v1.35.0 tomorrow

Thanks for the fix. :-)


fix: output log even log is rotated

Fix the bug nerdctl not outputting log after log file rotation.
Fixes: #3199

/assign @zhaojizhuang

please check https://github.com/containerd/nerdctl/issues/3225#issuecomment-2260598484


build(deps): bump @actions/core from 1.10.0 to 1.10.1

Bumps @actions/core from 1.10.0 to 1.10.1.

Changelog
Commits

updated-dependencies:

dependency-name: "@actions/core" dependency-type: direct:production update-type: version-update:semver-patch ...

Closing as a duplicate, in favor of https://github.com/actions/add-to-project/pull/470


Upgrade to Java8

Changes proposed in this pull request:

Upgrade to Java8
Change guava's Optional to java8's Optional
Use lambda expression simplify codes

Pull Request Test Coverage Report for Build 1972

258 of 401 (64.34%)  changed or added relevant lines in 148 files are covered.
11 unchanged lines in 8 files lost coverage.
Overall coverage decreased (-0.2%) to 58.16%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

encrypt-core/encrypt-core-api/src/main/java/org/apache/shardingsphere/encrypt/api/EncryptRuleConfiguration.java
0
1
0.0%

encrypt-core/encrypt-core-common/src/main/java/org/apache/shardingsphere/encrypt/rule/EncryptRule.java
13
14
92.86%

encrypt-core/encrypt-core-rewrite/src/main/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/impl/EncryptAssignmentTokenGenerator.java
4
5
80.0%

encrypt-core/encrypt-core-rewrite/src/main/java/org/apache/shardingsphere/encrypt/rewrite/token/generator/impl/EncryptInsertOnUpdateTokenGenerator.java
3
4
75.0%

sharding-core/sharding-core-common/src/main/java/org/apache/shardingsphere/core/rule/TableRule.java
2
3
66.67%

sharding-core/sharding-core-execute/src/main/java/org/apache/shardingsphere/sharding/execute/context/ShardingExecutionContext.java
0
1
0.0%

sharding-core/sharding-core-rewrite/src/main/java/org/apache/shardingsphere/sharding/rewrite/token/generator/impl/keygen/GeneratedKeyInsertValuesTokenGenerator.java
0
1
0.0%

sharding-core/sharding-core-route/src/main/java/org/apache/shardingsphere/sharding/route/engine/ShardingRouter.java
4
5
80.0%

sharding-core/sharding-core-route/src/main/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/ConditionValueGeneratorFactory.java
0
1
0.0%

sharding-core/sharding-core-route/src/main/java/org/apache/shardingsphere/sharding/route/engine/condition/generator/impl/ConditionValueBetweenOperatorGenerator.java
4
5
80.0%

Files with Coverage Reduction
New Missed Lines
%

shadow-core/shadow-core-rewrite/src/main/java/org/apache/shardingsphere/shadow/rewrite/parameter/impl/ShadowPredicateParameterRewriter.java
1
0%

sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/adapter/AbstractResultSetAdapter.java
1
86.05%

sharding-orchestration/sharding-orchestration-center/sharding-orchestration-center-zookeeper-curator/src/main/java/org/apache/shardingsphere/orchestration/center/instance/CuratorZookeeperInstance.java
1
43.59%

sharding-orchestration/sharding-orchestration-core/src/main/java/org/apache/shardingsphere/orchestration/internal/registry/listener/PostShardingConfigCenterEventListener.java
1
70.0%

sharding-orchestration/sharding-orchestration-core/src/main/java/org/apache/shardingsphere/orchestration/internal/registry/listener/PostShardingRegistryCenterEventListener.java
1
50.0%

encrypt-core/encrypt-core-common/src/main/java/org/apache/shardingsphere/encrypt/yaml/swapper/EncryptRuleConfigurationYamlSwapper.java
2
0%

sharding-orchestration/sharding-orchestration-center/sharding-orchestration-center-apollo/src/main/java/org/apache/shardingsphere/orchestration/center/instance/ApolloInstance.java
2
59.46%

shardingsphere-sql-parser/shardingsphere-sql-parser-mysql/src/main/java/org/apache/shardingsphere/sql/parser/visitor/impl/MySQLDCLVisitor.java
2
0%

Totals

Change from base Build 974:
-0.2%

Covered Lines:
10395

Relevant Lines:
17873

💛  - Coveralls


Update many dependencies and cert tests dapr/dapr

Signed-off-by: Bernd Verst<EMAIL_ADDRESS>Description
Lots of dependency upgrades

/ok-to-test


Update release system to work with new method of tracking package versions

Dependent on #8054
When our way of tracking packages changes, we need to ensure the release system is updated to support it as well.  Particularly where the versions to release come from, because the current expected location (the package.json itself) may no longer be the source of truth.

@heliocliu, this item is in December milestone and not assigned. Can you please follow up and figure out what's the plan here?
Is it really happening in December? If so, who's working on it?
If not, what's the right milestone and developer to assign to?

Not December and should be assigned to me for now; the way we were looking at items for the sprint was causing this to get overlooked.  Thanks for pointing it out


Fix deblurring when photos are at images-ssl.gotinder.com

Solve deblurring when photos are in images-ssl.gotinder.com

Could you, please, try this version?
https://gist.github.com/tajnymag/ba18f441ce28b543a31b379f61ebbe38

It did not work for urls with "preview" because the if clause was causing the code skipping the cases. I fixed it modifying the if clause.
Try it in https://github.com/aamezua/tinder-deblur/blob/images-ssl/tinder.user.js

I know, I know, I'm being late. I just had a VERY busy week. And with Christmas on horizon (almost literally) I'll get to it the earliest on Sunday or Monday.

Oh!! Excuse me. I did not want to be pushy. I am not very familiar with the process (I am sure you noticed) and I was not sure the changes were properly committed.

You were right, I did skip the cases with preview in the image url. So far, there's only two cases that can happen, either the image includes preview or images-ssl. I refactored the if-else logic into a single if check. I take preview as default and reassign it when the case does not suit.
Do I understand it right?
Newly updated version:
https://gist.github.com/tajnymag/ba18f441ce28b543a31b379f61ebbe38

Yes.
I tried and works great!
I believe we can close the issue #12

Awesome. I'll close it after I push my changes and merge your PR

Thank you once again. Once the service refreshes its cache, you should be listed as our new contributor at the bottom of the README :)


f2s_child_worker::ERROR:Bad fast5:Fast5 file '***.fast5' could not be opened or is corrupted

When I run
slow5tools f2s ./fast5/pass/ -d ./vir1_nanopore_drs_2 -p 10
I met the Error:
f2s_child_worker::ERROR:Bad fast5:Fast5 file './fast5/pass/186/W_003002_20180912_ch_261_strand.fast5' could not be opened or is corrupted.
First question: I want to know if bad fast5 will  be ignored. The second question: Will this affect the subsequent extraction of m6A modification sites.Looking  forward to your reply.

Hi
slow5tools will just terminate if an error is met. An error is different to a warning where it will proceed as normal.  So answers are:

it will just terminate there and no more conversion will be done
yes, we need to eliminate this corrupted file and reconvert the rest. See below:

In this case, can you move this "./fast5/pass/186/W_003002_20180912_ch_261_strand.fast5" to somewhere outside the ./fast5 (maybe fast5_corrupted) and relaunch the conversion?  Hopefully, this is just one single fast5 file that is corrupted. Also, can you share this W_003002_20180912_ch_261_strand.fast5 so we can investigate what is wrong with it?

Thank you for your reply!Here is my fast5:
---- Replied Message ----
| From | Hasindu @.> |
| Date | 11/27/2024 08:55 |
| To | @.> |
| Cc | @.>,
@.> |
| Subject | Re: [hasindu2008/slow5tools] f2s_child_worker::ERROR:Bad fast5:Fast5 file '***.fast5' could not be opened or is corrupted (Issue #139) |
Hi
slow5tools will just terminate if an error is met. An error is different to a warning where it will proceed as normal. So answers are:
it will just terminate there and no more conversion will be done
yes, we need to eliminate this corrupted file and reconvert the rest. See below:
In this case, can you move this "./fast5/pass/186/W_003002_20180912_ch_261_strand.fast5" to somewhere outside the ./fast5 (maybe fast5_corrupted) and relaunch the conversion? Hopefully, this is just one single fast5 file that is corrupted. Also, can you share this W_003002_20180912_ch_261_strand.fast5 so we can investigate what is wrong with it?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hi the fast5 wasn't attached I think.

Hi the fast5 wasn't attached I think.

How can I fix this? I once tried to move the bad fast5 to somewhere else, but a new bad fast5 appeared.What should I do?Looking forward to hearing from you

Hey,
Is this a publicly available dataset that I can download and try?

I try to use nanopolish index with it(fast5).
nanopolish index -d ./fast5/pass  ./vir1_nanopore_drs_1.fastq
This happened：
could not open fast5 file ./***fast5
could not open fast5 file ./***fast5
could not open fast5 file ./***fast5
[readdb] num reads:1730254,num reads with path to fast5:549776
fast5 files could not be located for 1180478
I think this is a problem with the fast5 file itself. It seems to be because the fast5 file version is old.Just delete bad fast5. What do you think?
---- Replied Message ----
| From | Hasindu @.> |
| Date | 12/11/2024 10:37 |
| To | @.> |
| Cc | @.>,
@.> |
| Subject | Re: [hasindu2008/slow5tools] f2s_child_worker::ERROR:Bad fast5:Fast5 file '***.fast5' could not be opened or is corrupted (Issue #139) |
Hey,
Is this a publicly available dataset that I can download and try?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hey, I found the script I once wrote to cleanup corrupted fast5 files for cases like this. You can rename the .txt file to be .sh. Then in the script change FAST5_DIR to where your input FAST5 files are. Then TMP_FAST5 to where you want the good fast files to be copied to and TMP_FAST5_QUARANTINE to where the bad ones should be copied to. Once the script finishes, you can launch slow5tools f2s on the $TMP_FAST5 directory.
clean-crappy-single-fast5-aggressive.sh.txt

Hey, I found the script I once wrote to cleanup corrupted fast5 files for cases like this. You can rename the .txt file to be .sh. Then in the script change FAST5_DIR to where your input FAST5 files are. Then TMP_FAST5 to where you want the good fast files to be copied to and TMP_FAST5_QUARANTINE to where the bad ones should be copied to. Once the script finishes, you can launch slow5tools f2s on the $TMP_FAST5 directory.
clean-crappy-single-fast5-aggressive.sh.txt
The script is a short script and also copied below:
#!/bin/bash

# edit this to point to the input
FAST5_DIR=fast5

# This is the output, tmp_fast5 will have the good fast5 files, tmp_fast5_quarantine will have the bad fast5 files
TMP_FAST5=tmp_fast5
TMP_FAST5_QUARANTINE=tmp_fast5_quarantine

# Do'nt edit below

[ -z ${SLOW5TOOLS} ] && SLOW5TOOLS=slow5tools
[ -z ${NUM_THREADS} ] && NUM_THREADS=$(nproc)

# terminate script
die() {
	echo "$1" >&2
	echo
	exit 1
}

if [ "$#" -ne 0 ]; then
    die "Usage: $0 "
fi

parallel --version || die "Could not find command 'parallel'. On Ubuntu, install using  sudo apt-get install parallel"
$SLOW5TOOLS --version || die "Could not find $SLOW5TOOLS. Add slow5tools to PATH or set SLOW5TOOLS environment variable"

test -d $FAST5_DIR || die "Directory $FAST5_DIR does not exist."

test -d $TMP_FAST5 && die "Directory $TMP_FAST5 already exists. Please delete that first."
test -d $TMP_FAST5_QUARANTINE && die "Directory $TMP_FAST5_QUARANTINE already exists. Please delete that first."

cp -r $FAST5_DIR $TMP_FAST5 || die "Copying $FAST5_DIR to $TMP_FAST5 failed"
mkdir ${TMP_FAST5_QUARANTINE} || die "Creating directory ${TMP_FAST5_QUARANTINE} failed"

clean_func(){

	file=$1
	TMP_FAST5=$2
	if ! slow5tools f2s $file > /dev/null 2> /dev/null
	then
		echo "moving $file that which slow5tools failed"
		mv -i $file ${TMP_FAST5_QUARANTINE}/ || { echo "mv $file failed"; exit 1;}
	fi
	exit 0

}
export TMP_FAST5_QUARANTINE
export -f clean_func

#classify
find $TMP_FAST5 -name '*.fast5' | parallel -I% --max-args 1 clean_func % $TMP_FAST5 || die "Cleaning up single-fast5 failed"

Thank you for your reply!I have solved this problem.But I met with another problem:
when I run :
slow5tools f2s ./fast5 -d vir1_drs_1_slow5 -p 10

I met with
[f2s_main:ERROR]:Two or more fast5 files have the same filename.Exiting

Do you know how to solve it?Looking forward to your reply!Thank you .

What's the directory structure like? Has the same fast5 for being duplicated?  If sure it is not a duplicate, you can use the --retain flag.

What's the directory structure like? Has the same fast5 file being duplicated? If sure it is not a duplicate, you can use the --retain flag.

There are duplicate fastq files.I don’t know if there are duplicates of fast5 files.Do you know how to slove it ?

Run the following commands:
slow5tools f2s ./fast5 -d vir1_drs_1_slow5 -p 10 --retain
slow5tools merge  vir1_drs_1_slow5 -o merged.blow5 -t10
slow5tools index merged.blow5

If slow5tools index succeeds, that means no readIDs are duplicated.
If the slow5tools index fails with an error message that duplicate readIDs are found, we have to go deeper to find out what the duplicate files are, which is not too much fun :D


Auto update dependencies

Author the user story for this feature
As a Flank developer, I want to automatically update dependencies so I can develop features using the latest libraries.

There are probably gradle plugins or other ideas that will auto update deps. Maybe we should use dependabot from GitHub?
https://github.com/dependabot/dependabot-core/issues/2238
or use a gradle plugin?

Is this task does not clone #848 ?

good catch!


Refactor Connection Dialog for CMS and other custom auth types

The CMS extension required modifying the connection dialog to support the various differences in how connections are made in CMS. The changes made were very targeted towards CMS - this needs to be reviewed and ideally done in a manner that makes it easy for other auth types to reuse the dialog and change the functionality as desired.

Closing old tasks.  We're looking at the authentication UX all-up, but we'll track that using our typical workstreams rather than through a Task issue.


Remove audit log tables from DB

DATABASE PULL REQUEST
Related Issue
#3358
Changes Proposed
As part of the flexible DB migration, we need to remove the audit log table + view now that they're archived and no longer being written to.

Add Liquibase changelog to remove audit log table and view
Remove code referencing audit log table

Testing
The PR checks (unit + Liquibase) passing should work as testing for this PR.
Checklist for Primary Reviewer

[ ] Only database changes are included in this PR
[ ] Any new tables or columns that do not contain PII are accompanied by a GRANT SELECT to the no-PHI user
[ ] Any changes to tables that have custom no-PHI views are accompanied by changes to those views (including re-granting permission to the no-PHI user if need be)
[ ] Each new changeset has a corresponding tag
[ ] Rollback has been verifed locally and in a deployed environment

Thanks for putting this together, Given the DB migration correction I recommend splitting it into 3 PRs

Backend java code removal
migration correction
migration to remove the audit_log table

Yep, can do.


behavex-images UNKNOWN in pip-licenses

With the latest changes we are get license error for behavex-images
To Reproduce
Steps to reproduce the behavior:

Install behavex 3.3.o version
pip install pip-licenses
Result

Name                           Version            License
behave                         1.2.6              BSD License
behavex                        3.3.0              MIT License
behavex-images                 3.0.5              UNKNOWN
Expected behavior
Should pass pip license check
Desktop (please complete the following information):

OS: [e.g. iOS]
Version [3.3.0]

Hi @dipukrishnan , you are right, I have released a new version of the behavex-images library with the corresponding license (v3.0.6).
I hope it works!
Thanks!

It works, Thank you


Default styles break textures.js

C3 version: current master
D3 version: n/a
Browser: n/a
OS: n/a

The default styles for .c3 path and .c3 line are very broad and affect patterns defined within the defs when they probably shouldn't.  This breaks textures.js, which generates patterns using appropriate fill and strokes with presentation attributes (presumably to allow easier styling), requiring additional double handling CSS to then override C3 to bring it back to the original styles.
Is it possible to have this rule be more appropriately targeted so that it doesn't mess with paths and lines in defs?
This fiddle shows the problem; the first bar should look like this

but instead looks like the bars on this

Applying an ID and some additional CSS in this fiddle brings it back to the right look, but then we're back to a scattered mess of styles split between JS and CSS again.

I have the same problem (the default styles for path and line being too general) for a different use case: I want to generate svg in a custom tooltip that has fill for a path and the c3 styles are overriding that.


docs: redirect docs.hiro.so/stacks.js/overview

When I google search "stacks.js", one of the top results links to https://docs.hiro.so/stacks.js/overview, which is now a 404 on the new docs page. I think it would help users to redirect this page somewhere appropriate.
❤

Moved to the docs repo. Also @janniks FYI

see https://github.com/hirosystems/docs/pull/697


Can you add a only english dubbed subtitle option in GUI.

Can you add a only english dubbed subtitle option in GUI.
sometimes, I needn't download videos, I just want to download english dubbed subtitles.
THX!

You can do it using "--novids" and -"-noaudio" at the same time in the CLI

I see what you want and I might add the options if I find the time

Added with the newest commit and published in the newest release.


feat: experimental Rust runtime

This Rust runtime implementation needs a fair amount of work to be stable.
Features:

Verb service and client.
Can answer verb call requests.
Can call out to verbs in other runtimes and process responses.
FTL can build and restart the runtime automatically.
Generates schema protos for verbs and args/return types recursively.

Limitations:

Very limited functionality: verbs only, no generics.
No error handling (unwraps everywhere).
No scaffolding generation.
No external module code generation.
Only struct types referenced by verb arguments and returns in the same module will correctly work.
Hardcoded paths to crate dependencies in Cargo.toml

LGTM, but add a README to the directory describing its current state.


Roadmap for anywidget

I really like what I see so far from anywidget.  A couple of questions that would probably be addressed by a roadmap:

Where do you see anywidget fitting into the ipywidgets ecosystem, alongside related projects like dash, bokeh, holoviz?
Does anywidget have a story for packaging your widget up into a python package?
Does anywidget have a story for typescript?
How can anywidget help with testing?  I would love a guide and examples for how to test the  js/ts of a widget without having to restart/reevaluate the widget cell each time I make a change.  Some examples of tests and explanations of why they work to avoid that workflow would get me out of the whole pattern.

What else are you planning to build into anywidget?
Keep up the good work, Paddy.

I am not an anywidget developer or maintainer but regarding your second point, I just published an early version of a widget as a Python package  and it seems to be working nicely and the process was quite straightforward.

Thanks for the interest in the project! If you haven't had the chance, I'd recommend taking a look at the docs because I've tried to address many of these questions there!

Where do you see anywidget fitting into the ipywidgets ecosystem, alongside related projects like dash, bokeh, holoviz?

From the blog:

"[anywidget] is not a new widgets framework, but rather an abstraction around Jupyter Widgets that leverages ESM."

anywidget is a minimal layer on top of classic Jupyter Widgets. Widgets created with anywidget work just like widgets created with ipywidgets, it's just makes it a lot easier to get started. I'm not that familiar with dash/bokeh/holoviz, but I think it would be fair to say that those projects are higher-level abstractions that let you built web-based visualizations/user interfaces from Python.

Does anywidget have a story for packaging your widget up into a python package?

Yes, as others have noted you just need to include anywidget as a dependency in your python package. This feature is why I created the library!

Does anywidget have a story for typescript?

TL;DR - use esbuild. You can write TypeScript/JSX and transpile your code on the fly, as we describe in the docs.
In order to write TypeScript you need a JavaScript tooling and some type of build system. I have some ideas for integrating this type of tooling within anywidget, but it feels like feature creep and something that is already handled really well via existing tools. Part of the reason classic jupyter widgets are frustrating to development is that they require the use of webpack. I don't want to make users have the same requirement. They should be able to write code that runs directly in the browser without modification, and opt-in to complexity.
As an aside, I personally love using TypeScript via JSDoc in anywidget. You can write pure ESM that requires no compilation and still statically check the files with the TypeScript complier. It's the best of both worlds IMO.

How can anywidget help with testing? I would love a guide and examples for how to test the js/ts of a widget without having to restart/reevaluate the widget cell each time I make a change. Some examples of tests and explanations of why they work to avoid that workflow would get me out of the whole pattern.

I'm not sure I understand what you mean. Are you asking about unit tests for your JavaScript, or seeing code changes during development. I think anywidget helps a lot in both cases:

Unit tests: your widget front-end code must be ESM. ESM works out of the box with tools like vitest, and you could just import your module and run tests

import { test, expect } from "vitest";
import { render } from "./widget.js"; // your widget

const mockView = {}; // would need to mock what Jupyter Widgets provides

test("it renders", async () => {
   render(mockView);
})

Live development: Have you seen anywidget's hot-module replacement? It brings a modern dev experience to widget developers. The link also includes a video where I demo this feature. No need to reload the page or code to see changes. It's automatic.

What else are you planning to build into anywidget?

I'm a PhD student and develop a lot of visualization tools. I created anywidget because I wanted to make it easier to bring these tools to Jupyter notebooks and Python. As maintainer of several regular Jupyter Widgets the maintaince burden was too extreme, and anywidget solves this problem for me (and others)!


[CI] Add version upper bound to doc.yml

Description
As title. Otherwise latest version of nbsphinx will fail on CI.
Checklist
Essentials

[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage

Job PR-467/2 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-467/2/index.html


Rule 5.1/5.2 | PATCH | Ensure Print Spooler (Spooler) is set to ... - Invalid Tag

Describe the Issue
A tag associated with the rule appears to have a typo.
Expected Behavior
The tag level2-domainmember should be level2-memberserver
Actual Behavior
Wrong tag applied
Control(s) Affected
Unable to either run or skip 5.1/5.2 via appropriate tag.
Environment (please complete the following information):
Release 2.0.0
Additional Notes
According to readme, the following tags are available to control CIS level.

level1-domaincontroller
level1-memberserver
level2-domaincontroller
level2-memberserver

Possible Solution
Change the tag to level2-memberserver

name: |
"5.1 | PATCH | Ensure Print Spooler (Spooler) is set to Disabled Domain Controller &
5.2 | PATCH | Ensure Print Spooler (Spooler) is set to Disabled Member Server"
block:
...
tags:
- level1-domaincontroller
- level2-domainmember level2-memberserver

Good catch @dennisharder-alight  !!
We will review!
Thank you!!
CC: @MrSteve81

Fix merged in #95


Support Home Assistant MQTT discovery

Add support for Home Assistant MQTT Discovery messaging.

MQTT discovery support has been added for:

1: Monitor Plug (may have got some params wrong!)
2: Smart Plug+
5: House Energy
12: Motion Sensor
13: Door Sensor

OOK devices nd eTRV/Thermostat are not yet supported.

MQTT discovery added for eTRV.  Closing for now.


Timestamp in now playing notifications

Is there a reason to keep the timestamp in now playing notifications?

Chrome Notification Center is gone, therefore the notification is visible only when the track is playing. I can't imagine how the timestamp can be using in this case.
We could add an album title instead of that timestamp.
Ref #776.

I can't imagine how the timestamp can be using in this case.

For watching current time?
Being more serious, I totally agree with you idea to show album instead.

Both album name and connector name don't look good when album name is long:

So I think we can just get rid of the timestamp.