Error: a genome file is expected

Hello,
I am trying to polish my canu assembly but for some reason my draft genome file is not compatible?
Here's the command I entered:
python scripts/nanopolish_makerange.py eel1.contigs.fasta nanopolish variants --consensus polished.{1}.fa -w {1} -r barcode05.fastq -b eel1.sorted.bam -g eel1.contigs.fasta -t 4 --min-candidate-frequency 0.1
Here is the output:
Error: a genome file is expected
tig00000001:0-50200
tig00000001:50000-100200
tig00000001:100000-150200
tig00000001:150000-200200
tig00000001:200000-250200
tig00000001:250000-300200
tig00000001:300000-350200
tig00000001:350000-400200
tig00000001:400000-450200
tig00000001:450000-500200
tig00000001:500000-550200
tig00000001:550000-600200
tig00000001:600000-650200
tig00000001:650000-700200
tig00000001:700000-750200
tig00000001:750000-800200
tig00000001:800000-850200
tig00000001:850000-900200
tig00000001:900000-950200
tig00000001:950000-1000200
tig00000001:1000000-1050200
tig00000001:1050000-1100200
tig00000001:1100000-1150200
tig00000001:1150000-1200200
tig00000001:1200000-1250200
tig00000001:1250000-1300200
tig00000001:1300000-1350200
tig00000001:1350000-1400200
tig00000001:1400000-1450200
tig00000001:1450000-1500200
tig00000001:1500000-1550200
tig00000001:1550000-1600200
tig00000001:1600000-1650200
tig00000001:1650000-1700200
tig00000001:1700000-1750200
tig00000001:1750000-1800200
tig00000001:1800000-1850200
tig00000001:1850000-1900200
tig00000001:1900000-1950200
tig00000001:1950000-2000200
tig00000001:2000000-2050200
tig00000001:2050000-2100200
tig00000001:2100000-2150200
tig00000001:2150000-2200200
tig00000001:2200000-2250200
tig00000001:2250000-2300200
tig00000001:2300000-2350200
tig00000001:2350000-2400200
tig00000001:2400000-2450200
tig00000001:2450000-2500200
tig00000001:2500000-2550200
tig00000001:2550000-2600200
tig00000001:2600000-2650200
tig00000001:2650000-2700200
tig00000001:2700000-2750200
tig00000001:2750000-2800200
tig00000001:2800000-2850200
tig00000001:2850000-2900200
tig00000001:2900000-2950200
tig00000001:2950000-3000200
tig00000001:3000000-3050200
tig00000001:3050000-3058901
tig00000005:0-9743
tig00000007:0-3463
tig00000011:0-1304
tig00000012:0-8446
tig00000065:0-9548
tig00000066:0-50200
tig00000066:50000-100200
tig00000066:100000-150200
tig00000066:150000-200200
tig00000066:200000-250200
tig00000066:250000-300200
tig00000066:300000-350200
tig00000066:350000-400200
tig00000066:400000-450200
tig00000066:450000-500200
tig00000066:500000-550200
tig00000066:550000-600200
tig00000066:600000-622446

There is an error in your command line, you are missing a | and the call to parallel. Please see the instructions here:
https://github.com/jts/nanopolish#computing-a-new-consensus-sequence-for-a-draft-assembly

Thanks Jared! I've finished polishing but I am not sure if my merging worked properly.
Nanopolish_makerange.py gave me the following polished files:
polished.tig00000001:0-50200.fa
polished.tig00000001:100000-150200.fa
polished.tig00000001:150000-200200.fa
polished.tig00000001:200000-250200.fa
polished.tig00000001:250000-300200.fa
polished.tig00000001:300000-350200.fa
polished.tig00000001:350000-400200.fa
polished.tig00000001:50000-100200.fa

Here's my merge command:
python nanopolish_merge.py polished.*.fa > polished_genome.fa

And here's the resulting output:
Insert tig00000001 0
Insert tig00000001 0
Insert tig00000001 0
Insert tig00000001 0
Insert tig00000001 0
Insert tig00000001 0
Insert tig00000001 0
Insert tig00000001 0
Merging tig00000001 0

It seems that segment_start is always zero which was puzzling until I looked through the polished files and saw that tig00000001:0-3058902 was at the top of the header for all of them (which is what I set my window to when I ran nanopolish_makerange.py)

I'm not sure I understand, if nanopolish_makerange.py gave you these files:
polished.tig00000001:0-50200.fa
polished.tig00000001:100000-150200.fa
polished.tig00000001:150000-200200.fa
polished.tig00000001:200000-250200.fa
polished.tig00000001:250000-300200.fa
polished.tig00000001:300000-350200.fa
polished.tig00000001:350000-400200.fa
polished.tig00000001:50000-100200.fa

then it implies you used a 50kb window?

When I ran nanopolish variants I set -w to tig00000001: 0-3058902

Ok, in that case you polished the entire genome eight times, running the exact same computation each time. In this case you can just use one of the output files as your final assembly, there is no merge to do.
For reference the intended procedure is to polish the genome in 50kb segments, then merge the segments together into the complete sequence.

Ahhh I see. Thank you for your help!

No problem!


Ask user if they really want to STOP sharing

...as maybe the button was touched by mistake.

Good idea. Will add this with an option to turn it off for a settings entry in #74

Added a prompt that shows by default, with an option to dismiss forever.

Do apply this to the list of active shares below. ;)

Oh, forgot about those! Will add.

Added for the share list as well :-)

Thaks

Please reopen, stopping from notification does not respect the setting, there's no confirmation dialogue.

I will look into how this can be done feasibly. How easy is it to accidentally stop sharing from the notification, given that you have to swipe down to access it in the first place?


Fix auto-discovery wrong serviceprovider

not sure why ci failed

looks like the author of this project doesn,t care.. i will create my own fork and publish it to packagist
Bye


Large file: warn if not wifi (iOS)

After #132 is implemented
When sharing a >50MB file and we detect we're on mobile connection (which may incur high costs), first ask "You're about to share a XX MB resource but without a wifi connection. Proceed?"

Related to #139 and #592


ConvLSTM2D with CUDNN crashes

System Information: Windows 10
tensorflow version: 2.5.0-dev20201217
python version: 3.7.9
cuda version : 10.2
On using the above model, python crashes after
model = models.Sequential( 	[ 		layers.Input( 			shape=(timesteps, width, height, channels) 		), 		layers.ConvLSTM2D( 			filters=32, kernel_size=(3, 3), padding="same", return_sequences=True, dropout=0.1, recurrent_dropout=0.1 		), 		layers.MaxPool3D( 			pool_size=(1, 2, 2), strides=(1, 2, 2), padding="same" 		), 		layers.BatchNormalization(), 		layers.ConvLSTM2D( 			filters=16, kernel_size=(3, 3), padding="same", return_sequences=True, dropout=0.1, recurrent_dropout=0.1 		), 		layers.MaxPool3D( 			pool_size=(1, 2, 2), strides=(1, 2, 2), padding="same" 		), 		layers.BatchNormalization(), 		layers.ConvLSTM2D( 			filters=8, kernel_size=(3, 3), padding="same", return_sequences=False, dropout=0.1, recurrent_dropout=0.1 		), 		layers.MaxPool2D( 			pool_size=(2, 2), strides=(2, 2), padding="same" 		), 		layers.BatchNormalization(), 		layers.Flatten(), 		layers.Dense(192, activation='relu'), 		layers.Dense(action_num, activation='softmax') 	] )
On using the above model, python crashes after

2021-02-01 10:03:12.227916: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:127] None of the MLIR optimization passes are enabled (registered 2)
Epoch 1/300
2021-02-01 10:03:21.950076: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cudnn64_8.dll
2021-02-01 10:03:22.694349: I tensorflow/stream_executor/cuda/cuda_dnn.cc:334] Loaded cuDNN version 8005
2021-02-01 10:03:23.281554: I tensorflow/core/platform/windows/subprocess.cc:308] SubProcess ended with return code: 0

2021-02-01 10:03:23.769410: I tensorflow/core/platform/windows/subprocess.cc:308] SubProcess ended with return code: 0

2021-02-01 10:03:23.867774: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublas64_11.dll
2021-02-01 10:03:24.624172: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library cublasLt64_11.dll

on further examining the system logs found the following

Faulting application name: python.exe, version: 3.7.9150.1013, time stamp: 0x5f3ad38e
Faulting module name: _pywrap_tensorflow_internal.pyd, version: <IP_ADDRESS>, time stamp: 0x5fdb260c
Exception code: 0xc00000fd
Fault offset: 0x00000000094ae988
Faulting process id: 0x35dc
Faulting application start time: 0x01d6f85196812501
Faulting application path: C:\Users\Scorp\AppData\Local\Programs\Python\Python37\python.exe
Faulting module path: C:\Users\Scorp\AppData\Local\Programs\Python\Python37\lib\site-packages\tensorflow\python_pywrap_tensorflow_internal.pyd

keras config
{
"floatx": "float32",
"epsilon": 1e-07,
"backend": "tensorflow",
"image_data_format": "channels_last"
}
PFA the code and files
https://github.com/sivi299/lstm

@sivi299,
TensorFlow v2.4 and TF-nightly are compatible with CUDA 11.0 and cuDNN 8. For more information, please take a look at the tested build configurations.
I was able to run the code on TF v2.4 without any issues, please find the gist of it here. Thanks!

@amahendrakar thanks for the quick reply, I did try with Cuda 11 I am still facing the same issue I am not sure if its something to do with the GPU model itself, I am using an Nvidia 3090 series

I removed tf-nightly and installed tensorflow2.4 and it works fine now thanks!


Implement Multipeer Connectivity view and configurations. working fin…

…e tested on real device, simulator can't handel audio

 Implement Multipeer Connectivity


Make errors propagate out of each

Pull Request Description
Make errors propagate out of each
Important Notes
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests have been written where possible.
[ ] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

Tests look good but I'd prefer to use if_not_error

Yes that is much cleaner thank you


Button: IsDefault adds text but doesn't actually make the button wider

With clipping working correctly, note how Text Changer below doesn't grow and paint correctly?

The bug is in here:
internal void Update ()
{
	if (IsDefault)
		shown_text = "[< " + text + " >]";
	else
		shown_text = "[ " + text + " ]";

	hot_pos = -1;
	hot_key = (Rune)0;
	int i = 0;
	foreach (Rune c in shown_text) {
		if (Rune.IsUpper (c)) {
			hot_key = c;
			hot_pos = i;
			break;
		}
		i++;
	}
	SetNeedsDisplay ();
}

Never mind. I had that button setup with Absolute Layout.


fix(ConfigProvider): set animation type as partial

🤔 这个 PR 的性质是？

[x] 日常 bug 修复
[ ] 新特性提交
[ ] 文档改进
[ ] 演示代码改进
[ ] 组件样式/交互改进
[ ] CI/CD 改进
[ ] 重构
[ ] 代码风格优化
[ ] 测试用例
[ ] 分支合并
[ ] 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

fix(ConfigProvider): 修复animation属性exclude和include在TS中都必填的问题

[ ] 本条 PR 不需要纳入 Changelog

☑ 请求合并前的自查清单
⚠ 请自检并全部勾选全部选项。⚠

[x] 文档已补充或无须补充
[x] 代码演示已提供或无须提供
[x] TypeScript 定义已补充或无须补充
[x] Changelog 已提供或无须提供

Codecov Report

Merging #844 (ab953a5) into develop (a0db0df) will increase coverage by 3.89%.
The diff coverage is 63.37%.

:exclamation: Current head ab953a5 differs from pull request most recent head 848f544. Consider uploading reports for the commit 848f544 to get more accurate results

@@             Coverage Diff             @@
##           develop     #844      +/-   ##
===========================================
+ Coverage    57.56%   61.45%   +3.89%
===========================================
  Files          346      355       +9
  Lines        12828    13434     +606
  Branches      2405     2547     +142
===========================================
+ Hits          7384     8256     +872
+ Misses        5200     4920     -280
- Partials       244      258      +14

Impacted Files
Coverage Δ

src/avatar/group.tsx
97.14% <ø> (ø)

src/breadcrumb/breadcrumb-item-props.ts
100.00% <ø> (ø)

src/cascader/props.ts
91.66% <ø> (ø)

src/cascader/utils/inputContent.ts
59.45% <0.00%> (+6.68%)
:arrow_up:

src/date-picker/date-picker.tsx
46.57% <0.00%> (+0.72%)
:arrow_up:

src/date-picker/panel/date-range.tsx
7.48% <0.00%> (+0.29%)
:arrow_up:

src/dialog/props.ts
70.00% <0.00%> (-30.00%)
:arrow_down:

src/hooks/useVirtualScroll.ts
24.51% <ø> (ø)

src/input/index.ts
100.00% <ø> (ø)

src/menu/menu.tsx
61.90% <ø> (ø)

... and 129 more

Continue to review full report at Codecov.

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


Add Tests for Remove-Secret

Prereq for #17

Closed https://github.com/JustinGrote/SecretManagement.KeePass/commit/47a2003f9c4ef9a12e57a44b54ad9dd1c8db5b18


[Debranding][10] "new_website" setting has no effect

Installed web_debranding in odoo 10c, the website url in the "Powered by" part doesn't respect the setting in ir.config.parameter. It still links to www.odoo.com

new_website has a different meaning. It replaces examples that use odoo.com website, e.g. in field placeholders
"Powered by" is actually removed by web_debranding, so you shall not see it at all. Something wrong with your installation


feat: Update deps

This updates all reps in one fell swoop, to prevent us having to re-run CI a billion times

This needs #178 first

This one also is missing signing


[RTC-345] Introduce JF dedicated env vars for running in a distributed mode

This PR introduces our own env variables for running JF in a cluster.
When we run erlang/elixir locally, we can setup distribution using flags like --sname --name --cookie etc. However, when we make a release, we are provided with special env variables e.g. RELEASE_NODE RELEASE_COOKIE etc. which results in multiple configuration options depending on environment we run Jellyfish in.
Intoducing our own env vars we:

unify how JF is configured
have better env names e.g. JF_COOKIE instead of strange RELEASE_COOKIE
make future documentation easier to understand as our env vars are always available and always the same. RELEASE_* vars are only available after doing mix release so this would add unnecessary complexity in the documentation
we also follow livebook behaviour, see this PR   https://github.com/livebook-dev/livebook/pull/1672

JF_DIST_ENABLED -> no change
JF_NODE_NAME -> JF_DIST_NODE_NAME
JF_COOKIE -> JF_DIST_COOKIE
JF_NODES -> JF_DIST_NODES

Can do that but what about WebRTC or RTSP? I think we should prefix them too

@sgfn Can do that but what about WebRTC or RTSP? I think we should prefix them too

Yeah, I've no problem with that, we should go for it

+1 from me for @sgfn comments - other than that LGTM

Approved, with one small note:
Regarding the .env.sample file: I'm still firmly against making the core Jellyfish documentation spread out in two or more >places -- could you just confirm we will duplicate all of this info in the docs, and not have the docs say: "for more info, >refer to the .env.sample file"?

Sure, I will revisit this once I write official docs


Block bug

看看这种的，是不是bug

矿工，直接10个币    没有节点的

Translation: a miner gets 10 coins directly without running a node.

This is on instantly on getNewAddress for a daemon ?? 0_o

explain the bug please?
"A miner gets 10 coins directly without running a node."
Sounds like issue with the POOL not being honest?

I contacted OP. The miner gets all of the 10 coins reward, without split 7.5/2.5 with the master node.
We can check blockchain here,
https://instacash.network

Copyable addresses
APmwkeaXRuQAdRT8qBWsKCiqKaCw8VGiCu
AMSeUWG2uopzExa7DNjANvFXyg4CuGQCUR
Ac3a1QyczZcLuH3PgCgCaJxc6vbt2KNGyD
AWQFaw6QZXkz3Yor2GiFkeKDU88fKFtvbP

This bug should have been fixed in pull request #7


unfork lift-json

but also disable tests because we don't have ScalaCheck 1.13 yet
(that's #13)
reference: https://github.com/lift/framework/issues/1820

fyi @Shadowfiend
test run: https://scala-ci.typesafe.com/job/scala-2.12.x-integrate-community-build/1117/consoleFull

🎉🎉🎊🎊 Thanks @sethtisue :)


try to fix https://github.com/fsprojects/Paket/issues/2640

by always calling getVersions.

Ok here is the explanation for this:

"Assuming" a version as the resolver did for "pinned" version broke my assumption that "GetDetails" cannot fail (because GetVersions already returned a version)
Apparently this was a "feature", because it is the only way to install packages which are not indexed yet by NuGet

Therefore, the solution is:

We always call GetVersions before
If there are NO results (maybe the case where package is not indexed) we save a bool to indicate that we "assumed" the version and forward that info to GetDetails
GetDetails will no longer blacklist if it sees that the version was "assumed"

I noticed another problem where NuGet sources are asked when the package only existed in a local one, I hope this is solved by this as well (and was only a special case of this).
Will add a test for this case with pinned version.


add settings to application menu

The option to change the settings is currently only available from the bottom of the links on the left-hand side of the application.
It would be helpful if there was also an option to reach this dialog from the application menu bar, as it's currently the only feature without a matching menu button.

Good point!


Question: Debugging methods

Im developing a plugin for envoy and i wonder what is the best method to debug this program with breakpoints and looking into the memory.
I didn't find any good method and i'm currently working blind and i hope you can share from your experience what is the best method to develop such plugin.

https://github.com/tetratelabs/proxy-wasm-go-sdk/pull/451


Feature request: dynamically detect pandoc

I've just installed your extension, and it's great, but I don't like the fact it defaults to Docker even if I already have pandoc installed. I don't use Docker, so I had to install it, add my user to the docker group etc, then I noticed the option to disable it.
I think it should be the other way around, i.e. if you can't find the executable then you use Docker as a backup.

That one is on me. The intent with the docker update was to have it disabled by default, and at a quick glance, this appears to be true even though it isn't. I followed the format of the parameter directly above the option to use docker and it had the default value, a boolean, in quotes, when the json specification clearly supports boolean values. I should have set the value to false instead of "false". Both of the parameters below should probably be updated.
        "pandoc.render.openViewer": {
          "type": "boolean",
          "default": "true",
          "description": "specify if the extension will open the rendered document in it's default viewer"
        },
        "pandoc.useDocker": {
          "type": "boolean",
          "default": "false",
          "description": "specify if the extension will run pandoc from a docker container"
        }

Sorry all, I also wasn't receiving GitHub notifications properly, fixed now. And this is also fixed. Thanks!


MRG, DOC: categorize tutorials

this creates sub-categories for tutorials (parallel to how examples are already organized).  This is the first step in an overhaul of tutorials; next they'll be put into a specific order and edited / combined / supplemented.
One thing I tried to do was remove any cross-references of the sphx_glr_xxx.py type, and replace with named references.  I also tried to make the named references consistent: always using hyphen-separators between words (since underscores can be meaningful in rST) and prefixing tutorials with tut- and examples with ex-.  I doubt that I caught all of them, but I at least seem to have caught all the ones that were pointing into or out of the tutorials that were moved.

good to go or still WIP?

Good to go @agramfort. There will be separate PRs for the subsequent steps.

thx @drammock !

for the record here is the rendered page of tutos: https://12962-1301584-gh.circle-artifacts.com/0/dev/auto_tutorials/index.html

great job! thx @drammock


Fix generateMultiHash write data to source data slice

If we pass slice instead of array and its capacity is safe to write,
function append writes data to backing array.

Codecov Report

Merging #4 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #4   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      2
  Lines         171    171
=====================================
  Hits          171    171

Impacted Files
Coverage Δ

hash.go
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Thanks!


Composer: update nikic/php-parser

Hello Tomas,
thank you for your great package, we like it very much. Can you please unlock the nikic/php-parser 5 dependency? It is required by phpunit 11.
Thank you very much for your great work.

It was resolved in https://github.com/symplify/phpstan-rules/pull/111, just there is no release.

It was updated and released correctly, just the build composer.json is different and need to  be updated too:
https://github.com/symplify/phpstan-rules/blob/main/build/target-repository/composer.json

Resolved in https://github.com/symplify/phpstan-rules/commit/ab872b8a1c451be9547f6c29708d591bb0edbf78


Questionable Iterant ScalaCheck checks w.r.t. exceptions

Exhibit A:
  test("All exceptions are born equal") { implicit s =>
    check1 { (iter: Iterant[Coeval, Int]) =>
      val dummy = DummyException("dummy")
      val tail = Iterant[Coeval].raiseError[Int](dummy)
      (iter ++ tail) <-> tail
    }
  }

This is only true for Coeval. Unlike its other effectful comrades, IsEqIterantCoeval does not use equalityThrowable instance to compare errors, it just checks if the both results are a failure.

Exhibit B:
  test("Prefixes matter, but there's an Exception") { implicit s =>
    check1 { (iter: Iterant[IO, Int]) =>
      val dummy = DummyException("dummy")
      val tail = Iterant[IO].raiseError[Int](dummy)
      (iter.onErrorIgnore ++ tail) <-> tail
    }
  }

For iterants that end with an error, only error is checked. This is true for IO, Task and Coeval.
This means that you can have iterants a, b and a pure function f such that

a <-> b holds, and
f(a) <-> f(b) does not

For example:
val dummy = DummyException("dummy")
val prefix = Iterant[Coeval].of(1, 2, 3, 4, 5)
val tail = Iterant[Coeval].raiseError[Int](dummy)
(prefix ++ tail) <-> tail // holds, as shown above
// (prefix ++ tail).take(3) <-> tail.take(3)  // does not hold: left stream is pure-ish, right one throws

I think our problems here come from the fact that we are using .toListL to compare the streams in the Eq instance, so any two streams ending in error will be equal regardless of prefix, plus we have the issue with Task vs Coeval.
We should probably expose the errors and compare via .attempt.toListL.
Also, on comparing errors, I think we should stop comparing Throwable instances, because they can be easily wrapped — if both Coevals or Tasks or IOs fail, then they should be considered equivalent, regardless of the actual error thrown.


Client RPC API Compatibility Question

Hey guys, i recently installed KP and when i try to connect via desktop client on a 64bits Windows 7
i get this:
The RPC API Versions Are Incompatible
The local client is not up to date with the server version.
Please ensure that both the client and server are fully up to date
Any clues?
Thanks

That message is displayed when the version of the server is newer than the version of the client. If you recently installed the latest server version then you're running 0.2.0-beta. The Windows binaries are only built for the major releases meaning that it is still on 0.1.7.
You'll need to do a git checkout v0.1.7 from the King Phisher directory on the server to downgrade and use the older version that the windows client is currently compatible with.
Alternatively, you can install the latest King Phisher client on Linux from source using the steps here, which will be compatible with the 0.2.0-beta server you are running.

I installed this morning so, yeah, thats probably it. Il do the workaround and let you know the results.
Thanks for your time

Hi, i did the "git chekout v0.1.7 with no problems.
Now im getting this:
Traceback (most recent call last):
File "opt/king-phisher/KingPhisherServer", line 205, in
sys.exit(main())
File "opt/king-phisher/KingPhisherServer", line 85, in main
missing_requirements = utilities.check_requirements(requirements)
File "/opt/king-phisher/king_phisher/utilities.py", line 212, in check_requirements
installed_version = distutils.version.StrictVersion(installed_pkg.version)
File "/usr/lib64/python2.7/distutils/version.py", line 40, in init
self.parse(vstring)
File "/usr/lib64/python2.7/distutils/version.py", line 107, in parse
raise ValueError, "invalid version number '%s'" % vstring
ValueError: invalid version number '0.7.5.post2'
Seems like im still doing something wrong

Ah yes, that issue is described in #18 and has already been fixed.
As a work around until 0.2.0 is released (which will be in the next few weeks), you can do pip install alembic==0.6.7 on the server.

Yes!!! that worked great, thanks a lot.
ps: sorry for repeating an exsiting issue

It's no problem, glad that fixed your issue. I'm going to go ahead and close this now.
If you experience any more problems feel free to open another issue ticket.


fix: status running and pending icon palette error

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@Rugvip @freben

Oh wait. Shouldn't running be https://github.com/backstage/backstage/blob/8502c70bc488a78d0474da0eb4f705715aa654be/packages/theme/src/base/palettes.ts#L34 ?


LazyListState scrolling with keyboard

hi my question is simple ,  when i scroll with lazy column working fine with mouse but key when i use keyboard to scroll down only scroll with visible screen items not down

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


[flash/doc] Document controller behavior and address alignment relevant for Earlgrey-PROD

Please refer to the commit messages for details.

Thanks @andreaskurth !


Fix Route Registrar for Api Resource

Fix #21479

Just use Route::resource if you are going to limit the methods anyways.


Reading doesn't work with Google Pixel XL/Android 8.1

Your Environment

Uploader Version Number: 0.6.1
Your Android Phone Model Name (e.g. Samsung J1 Ace): Google Pixel XL
Android Version Number (e.g. use 4.4 for 4.4.4): 8.1
Network Connection at the time the issue occurred (Wi-Fi, Mobile): Working Wifi, no mobile data.
(if relevant) Nightscout website version (e.g. 0.8.4 Funnel cake, master / dev branch): Not relevant

Brief Explanation of Issue
Reading from the pump doesn't work on my Google Pixel XL, running the latest Android version. It recognizes the CNL and tries to read, but the connection times out. Other OTG devices work (I tried a USB-mouse) and the same OTG-adapter and CNL work with a OP3 running Android 8.0.
Could this be an issue with Android 8.1? Are there any reports with this android version?
Steps to Reproduce (for bugs)

Start Uploader
Plug in CNL
Wait for first reading

Severity Score
I guess a 3 or 4?

Seems a bit odd that it would be working in 8.0 and not 8.1. There are issues with the notification system in android 8 that need sorting but it does work and communicate with the CNL ok.

It might be an issue with Pixel devices in general. I don't have access to
another device running 8.1.
Pogman<EMAIL_ADDRESS>schrieb am So., 25. Feb. 2018 um
21:42 Uhr:

Seems a bit odd that it would be working in 8.0 and not 8.1. There are
issues with the notification system in android 8 that need sorting but it
does work and communicate with the CNL ok.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pazaan/600SeriesAndroidUploader/issues/202#issuecomment-368342722,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAlhEb2kwRek5VYbnQGqf1RSQsIqEFXPks5tYcWhgaJpZM4SSWQk
.

Can you check if the CNL is shown in the registered devices menu in the uploader? Is there any error shown on the CNL itself?

Yes, it is shown as registered device. No, there is no error on the CNL
itself.
It's not my own CNL (I'm just the fascinated friend), but I can provide
more detailed logs on wednesday.
Pogman<EMAIL_ADDRESS>schrieb am Mo., 26. Feb. 2018 um
13:59 Uhr:

Can you check if the CNL is shown in the registered devices menu in the
uploader? Is there any error shown on the CNL itself?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pazaan/600SeriesAndroidUploader/issues/202#issuecomment-368494763,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAlhEUrYHFbsgKTBS9ZtsLXl1bMXC2uPks5tYqrCgaJpZM4SSWQk
.

Ok there may be an issue with pairing between the pump and cnl as it does seem to be able to communicate. A timeout will be caused by a non-paired cnl.

Same issue for me. I deleted the connection between my CNL and pump and reconnected, no change. Shows up as a registered device. OTG cable works with a mouse and CNL is recognized. Connection times out.

I deleted all app data and tried connecting the CNL again (to get fresh logs) but it doesn't show up as registered device anymore. So it seems that it can sometimes register as a device but times out most of the time.
One time I got the log message Could not close connection: Expected to get control character '5' Got '50'. I don't know whether that could be important?

@peterjeschke Is the pump paired with the CNL? Can you send a BG from the meter to the pump (or manual bolus)? If so, perhaps there is an issue with the OTG cable?

So I spent WAY too much time on Saturday trying to make this work with my Pixel and I think the problem is within Android 8.1 on the Pixel somewhere. I managed to get the OTG notification back on through the notification settings, cleared cache and data for external media and media settings under System Apps in notifications, etc. When I plug the OTG cable into the phone alone, the USB notification now pops up set to Charging. When I plug the CNL into the OTG cable, nothing happens. When I disconnect the CNL from the OTG cable, the notification pops back up. (Seems backward!) Try to select File Transfer as an option but the blue radial button doesn’t show and then the notification disappears. When I launch the 600 series app, it seems to connect to the CNL but always times out. Here’s the kicker - I was giving up for the day to head somewhere, barely disconnected the meter to test, and lo and behold, all the NS data showed up on my phone! I didn’t have time to mess with it anymore and I haven’t been able to recreate it. Long story short, it was possible somehow but I don’t know what the solution was. CNL is paired with the pump - I can send a reading to the pump from it. The OTH cable works with other devices. Something is wrong in the Pixel and I don’t know what!

@pazaan the CNL is paired with the pump and in active use. The OTG cable seems to work, because other USB devices (mouse) work just fine.

Something changed between 8.0 and 8.1 causing a break in the way services and notifications are handled. Android 8+ will be addressed for the 0.7.0 release as there are a number of deprecated api issues to look into.
https://github.com/pazaan/600SeriesAndroidUploader/issues/204
Crash on Android 8.1 as tested using Googles emulator:
08-14 17:41:42.858 E: FATAL EXCEPTION: main
    Process: info.nightscout.android, PID: 6977
    android.app.RemoteServiceException: Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification: Notification(channel=null pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0x40 color=0x00000000 vis=PUBLIC)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1768)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:164)
        at android.app.ActivityThread.main(ActivityThread.java:6494)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)```

Has there been any updates to this? On a Google Pixel 1, Android 9 and get the timeout issue. Yes its paired. Yes it shows up. Yes everything works for other OTG devices. Only this fails.

Fixed for 0.7.0

Closed - completed and available in 0.7.0 release


dvb-t usb device not detect on addon

I'm trying to use this addon in a Rp3 with a Realtek RTL2832U dvb-t converter.
the device is connected and the driver is working, but it won't show up in the addon.
[411565.487479] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[411565.629514] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=2838, bcdDevice= 1.00
[411565.629546] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[411565.629563] usb 1-1.4: Product: RTL2838UHIDIR
[411565.629580] usb 1-1.4: Manufacturer: Realtek
[411565.629595] usb 1-1.4: SerialNumber: 00000001
[411578.584230] usb 1-1.4: dvb_usb_v2: found a 'Realtek RTL2832U reference design' in warm state
[411578.640010] usb 1-1.4: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[411578.640087] usb 1-1.4: media controller created
[411578.740468] usb 1-1.4: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
[411578.798958] rc rc0: Realtek RTL2832U reference design as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/rc/rc0
[411578.799127] rc rc0: lirc_dev: driver dvb_usb_rtl28xxu registered at minor = 0, raw IR receiver, no transmitter
[411578.799272] input: Realtek RTL2832U reference design as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.4/rc/rc0/input0
[411578.799581] usb 1-1.4: dvb_usb_v2: schedule remote query interval to 200 msecs
[411578.808001] usb 1-1.4: dvb_usb_v2: 'Realtek RTL2832U reference design' successfully initialized and connected
[411578.808451] usbcore: registered new interface driver dvb_usb_rtl28xxu

Disclaimer: I don't own any USB DVB-t converter or have any compatible service.  I developed this Addon to solve some of my problems/use cases (eg. Streams from streamlink served as an m3u, etc.), during my free time. However, there are some improvements as discussed below, but may/may not work seamlessly. However, feel free to fork, add any need improvements and open a PR, would be happy to take a look.
Improvements in v2.0.0 that may help
-> Raw USB would be mapped  /dev/bus/usb inside the addon.
-> 2 new options are added:
Option: system_packages
Allows you to specify additional Alpine packages to be installed to the TVHeadend Addon (e.g., g++, etc. ).
Note: Adding many packages will result in a longer start-up time for the add-on.
Option: init_commands
Customize your TVHeadend environment even more with the init_commands option. Add one or more shell commands to the list, and they will be executed every single time this add-on starts.

Ok, thx anyway for your work.
I'll try version 2.0.0 and if it don't work i'll try to fork.

@marious1985  I have an relevant update:
Addon versions starting with v2.1.0 and above now explicitly mount /dev/dvb/ and /dev/dri/ inside the container. Give it a try.


route-href breaks the binding when filtering array

We have a list of links filtered dynamically.
When we try to generate the links using route-href it breakes the binding and the filtered items are added on top of the full list each time.
The route is valid and well defined and route-href is generating the right links, but the display is broken.
Here's the code simplified:
import {computedFrom} from 'aurelia-framework';

export class MyList {

  constructor(router) {
    this.search = "";
    this.model = [];
    this._filtered = [];
  }

  activate(){
    this.model = [
      {test:false,title:"item 1"},
      {test:true,title:"item 2"},
      {test:false,title:"itme 3"},
      {test:false,title:"item 4"},
      {test:true,title:"item 5"},
      {test:false,title:"itme 6"}
    ];
    this.filtered = this.model;
  }

  @computedFrom('search')
  get filtered() {
    return this._filtered;
  }

  set filtered(items) {
    this._filtered.length = 0;
    this._filtered.push(...items);
  }

  onSearch() {
    this.filtered = this.filterItems(this.search, this.model);
  }

  filterItems(filter, listToFilter) {
    if (filter === "" || filter == null || typeof filter === "undefined") {
      return listToFilter;
    } else {
      const filterApplied = listToFilter.filter(item => {
        return item.title.toLowerCase().indexOf(filter.toLowerCase()) > -1;
      });
      return filterApplied;
    }
  }

}

<template>

Filter

  <input  type="search" name="search" value.bind="search"
          placeholder="filter item"
          keyup.delegate="onSearch()">

Should filter items

${item.title}

    ${item.title}

</template>

It looks like a bug. Are we doing something wrong?

There are some odd things you are doing with respect to the list manipulation here. It can be greatly simplified. Here's how I would do it:
import {computedFrom} from 'aurelia-framework';

export class MyList {
  constructor(router) {
    this.search = '';
    this.model = [];
    this.filtered = [];
  }

  activate(){
    this.model = [
      {test:false,title:"item 1"},
      {test:true,title:"item 2"},
      {test:false,title:"itme 3"},
      {test:false,title:"item 4"},
      {test:true,title:"item 5"},
      {test:false,title:"itme 6"}
    ];

    this.filtered = this.filterItems(null, this.model);
  }

  onSearch() {
    this.filtered = this.filterItems(this.search, this.model);
  }

  filterItems(filter, listToFilter) {
    if (filter === "" || filter == null || typeof filter === "undefined") {
      return listToFilter;
    }

    const filterApplied = listToFilter.filter(item => {
      return item.title.toLowerCase().indexOf(filter.toLowerCase()) > -1;
    });

    return filterApplied;
  }
}

Thanks @EisenbergEffect, I would do it as you described too.
Probably it's not a problem anymore, but in the earliest Aurelia versions reassigning an observed array broke the bindings for me. I was told to empty the array and push the new values instead, and it fixed some issues we had at the moment.
Like this:
this._filtered.length = 0;
this._filtered.push(...items);

instead of just
this._filtered = items;

Is this a recommended practice?
Thanks for your help.

No need to zero out the array like that anymore. Believe it of not, Aurelia is super fast now if you just replace the entire array. We've got an optimized code path just for that scenario.


sfdx force:org:list --clean doesn't clear non connectable orgs (non scratch orgs)

Summary
I have some orgs that are not connectable anymore, one reason is sandbox refreshes, the output of force:org:list usually shows something like this:
=== Orgs
     ALIAS                  USERNAME                                      ORG ID              CONNECTED STATUS
───  ─────────────────────  ────────────────────────────────────────────  ──────────────────  ──────────────────────────
<EMAIL_ADDRESS>                                 00D1r000000xxxxxxx  RefreshTokenAuthError

I was expecting that sfdx force:org:list --clean should remove that entry from the list, this however seems to not be the case.
Steps To Reproduce:

Create a new sandbox org
Authorize it using sfdx force:auth:web:login
Refresh the sandbox
Run sfdx force:org:list should show the authorization being invalid
Run sfdx force:org:list --clean, the invalid connection is still there

Expected result
Once executing the sfdx force:org:list --clean non-connectable orgs should be removed from the list
Actual result
Non-connectable orgs are still shown.
Additional information
Feel free to attach a screenshot.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli/7.74.1 darwin-x64 node-v14.7.0
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
@oclif/plugin-autocomplete 0.2.0
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.2.0 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.9.0 (core)
@oclif/plugin-update 1.3.10 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.4.3 (core)
alias 1.1.1 (core)
analytics 1.12.1 (core)
config 1.1.8 (core)
generator 1.1.3 (core)
salesforcedx 49.10.0 (core)
├─ @salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
├─ custom-metadata 1.0.10 (core)
├─ templates 49.9.1 (core)
├─ apex 0.0.9 (core)
└─ salesforce-alm 49.11.0 (core)
sfdx-cli 7.74.1 (core)

OS and version:
macOS 10.15.6

I have this same issue on sfdx-cli/7.82.0-3d0c527ac6 darwin-x64 node-v12.18.3

I have this same issue on sfdx-cli/7.82.0-3d0c527ac6 darwin-x64 node-v12.18.3

This should be fixed in the new open-source version.  You can try it early, here: https://github.com/forcedotcom/cli/issues/835

I'm gonna close the issue now that the new org commands are shipped.
If you're still seeing it, please reopen or open a new one AND supply the output of sfdx plugins --core


Migrated archived_channel tests to TS

Summary
Migrated /archived_channel/ tests to TypeScript
Ticket Link
https://github.com/mattermost/mattermost-server/issues/21293
Release Note
NONE

Hello @cinlloc,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

E2E tests not automatically triggered, because PR has no approval yet. Please ask a developer to review and then try again to attach the QA label.

/e2e-run

/e2e-run

/e2e-run

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/250123

You don't have permissions to trigger this command.
It's only available for organization members.

Thanks @cinlloc! Last comments from me and I'm all good.

Thanks, wrong approach was taken, hope it's better now! (finally not much changes in this PR)

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/252252

/e2e-test

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/252317

Rebased on master, resolved conflict and fixuped review changes

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.


Error on feedback channel layout

/cc @pavelkudelin
https://github.com/bitfocus/companion/issues/388#issuecomment-522910992

tested the module.

Layout switching works
Recording is activated after double-clicking. Nothing happens after the first command.
special thanks for processing the recording feedback
processing of the "Change colors on chanel layout change" event causes an error (screenshot). And it is not removed anymore. Even the program rearrangement does not help.

So the error for the feedback is a bit vage. Could you clarify these questions?

Because the Pearl is "quite slow" did you try pressing it once and waited a bit?
I don't have this issue at my Pearl atm.

Have a added a extra check, but would you mind to share you're config as of this error? Then i can check what value is given when the error occurred.

I've reinstalled everything on the new computer.

feedback is working. I get a message (on the screenshot), but only once during setup. Then it doesn't appear anymore.
Starting the recording also started working the first time. It seems that the problem was in the Companion - Stream Desk connection

just in case, I'm sending out a configuration
pk10_full-config_20190822-1653.zip

So i have checkout you're config and that look good. The feedback issue is fixed.


[Request for External] - Report Calculate Inventory - ValidatePostingDate

Describe the request
    local procedure ValidatePostingDate()
    begin
        if not ItemJnlBatch.Get(ItemJnlLine."Journal Template Name", ItemJnlLine."Journal Batch Name") then
            exit;

        if ItemJnlBatch."No. Series" = '' then begin
            DocumentNoInputMandatory := true;
            NextDocNo := ''
        end else begin
            DocumentNoInputMandatory := false;
            NextDocNo := NoSeriesMgt.GetNextNo(ItemJnlBatch."No. Series", PostingDate, false);
            Clear(NoSeriesMgt);
        end;
    end;

Additional context
Could this function be made global? I need to call it, because we override posting date and itemjnlline in onprereport
Internal work item: AB#527187

@DanielHaglo method seem to depend on one or more global variables to be set, making that method as public increases the risk of it failing or returning undesired results.
Can you please explain the use cases for better understanding?

We have implementet a solution to automatically set the journal template name and batch name when running in background (job queue for this example), and we are changing the posting date. Therefore we also want to call this function.
I understand there are dependencies on global variables, but all of them, except DocumentNoInputMandatory, is protected var.
As long as we have control over the protected variables, i think we should be fine for now.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 19575.


Add support for Git 2.3's GIT_TERMINAL_PROMPT

Prevents builds from hanging if git needs to auth in some way.
This means if users don't have the correct keys set up, their build will just fail instead of hanging on username/password or other auth prompt.

The credential subsystem is now friendlier to scripting
When Git needs a password (e.g., to connect to a remote repository over http), it uses the credential subsystem to query any helpers (like the OS X Keychain helper), and then finally prompts the user on the terminal. When Git is run from an automated process like a cron job, there is usually no terminal available and Git will skip the prompt. However, if there is a terminal available, Git may hang forever, waiting for the user to type something. Scripts which do not expect user input can now set GIT_TERMINAL_PROMPT=0 in the environment to avoid this behavior.

https://github.com/gitster/git/commit/86362f7205a31188846de0aed94620c1f0776931

Awww yis! :+1:


FFmpeg is not terminating properly

Open App
Hit button to "power on" robot
Hit button to power off robot
Go to settings
Go back to main page.
Camera will no longer be usable when starting robot again

This was an issue previously fixed, but is happening again since I rewrote the ffmpeg library

Testing on Moto Z and Galaxy S4 right now does not show the issue right now...

might be reopened in the next few days if I find it again


docs: improve site docs

Related Issue
Closes issue #1661

Description
I have improved the site's docs.
Screenshots

Hey @Parul1606  ! 👋
For secure collaboration, remember to check out GitHub's commit signature verification feature. It helps ensure the authenticity of commits and prevents tampering.
Learn how it works: GitHub Docs
Happy coding! 😄


Any plans to improve WinForms support?

When running an app with winForms: true, the JS gets the error Too much recursion. This can be solved by removing that line, but then you get more errors about enumerators.
Are there any plans to improve this? And where in the project are they implemented, so I can look at the code?

As I know, there are no plans to improve WinForms support. See #487.  If I remember correct, some structure with GDI primitive were implemente (probably Color? an so on).
It is totally useless to run any real WinForm app.
Some persons reported here that they implemented some GUI libraries with JSIL support - try to search through issues - or use it with canvas/DOM objects.

Technically it is possible to implement some level of support for WinForms app with JSIL, but I've not seen anybody working on it - and really some XAML based technologies looks much more interesting, so I'd even not hope that anybody would start any real work in WinForms porting.

Also it may be good to look on http://www.cshtml5.com/, they declare that they use JSIL as engine (I've not investigated that project a lot, and haven't seen any pull request back here from them).

@iskiselev CSHTML5 isn't open source, so I'm trying to implement an open source alternative.

@iskiselev I made major progress: https://github.com/exaphaser/SharpJS
However, there are a lot of additional bits required to make it work.
I have WinForms support right now, I'm going to start working on XAML.
If there's anything that I can contribute back that might be useful, please let me know. I am aware that the license is different; don't worry about it, I'll take care of that.


Add close [x] option in the content-scripts alerts

@rodolfomiranda will move this to a later milestone

added on PR #65


Add 4.0.0 Release Canidate

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

This PR adds the 4.0.0 Release Candidate which refactored a big fraction of pytest-html codebase. In order to enable easy testing and provide the upstream with valuable feedback from end-users this Release Candidate should be available on conda-forge.

@conda-forge-admin, please rerender


Publish 1.3.7

Maybe we can integrate https://github.com/vscode-kubernetes-tools/vscode-kubernetes-tools/pull/1038 and https://github.com/vscode-kubernetes-tools/vscode-kubernetes-tools/pull/1041


Model Availability for Inference

Hi Team,
That's a really good research avenue you have there. Is it possible for your team to share any of the pretrained models that can be directly used by us to test and see the inference? It would be quite useful.
Or
Would we have to train the models ourselves?
Thanks. Look forward to your response.

Hi @tushar-31093, thanks for your interest in our project. You can directly do inference using this website https://midas.iiitd.edu.in/emo/. It uses one of our trained models. You can follow this video https://youtu.be/bYPX0zp4MY4 to use the demo website. We will also make some pretrained models directly available asap.

Hi @tushar-31093, you can find some of the model weights here: https://github.com/sahilg06/EmoGen#model-weights


Remove mastery code

What type of PR is this?

What does this PR do / why is it needed ?

Which issue(s) this PR fixes:

Fixes #
Other notes for reviewers:
Does this PR introduce a user-facing change?

closing as i've opened another


Fails to start

./Nora.Setup.3.0.0-stable-linux-x86_64.AppImage
QFont::fromString: Invalid description 'Inter,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1'
QFont::fromString: Invalid description 'Inter,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1'
QFont::fromString: Invalid description 'Inter,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1'
A JavaScript error occurred in the main process
Uncaught Exception:
Error: Could not load the "sharp" module using the linux-x64 runtime
ERR_DLOPEN_FAILED: libvips-cpp.so.42: cannot open shared object file: No such file or directory
Possible solutions:

Ensure optional dependencies can be installed:
npm install --include=optional sharp
yarn add sharp --ignore-engines
Ensure your package manager supports multi-platform installation:
See https://sharp.pixelplumbing.com/install#cross-platform
Add platform-specific dependencies:
npm install --os=linux --cpu=x64 sharp
Consult the installation documentation:
See https://sharp.pixelplumbing.com/install
at Object. (/tmp/.mount_Nora.ShoZHz9/resources/app.asar/node_modules/sharp/lib/sharp.js:114:9)
at Module._compile (node:internal/modules/cjs/loader:1391:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1451:10)
at Module.load (node:internal/modules/cjs/loader:1214:32)
at Module._load (node:internal/modules/cjs/loader:1030:12)
at c._load (node:electron/js2c/node_init:2:13672)
at Module.require (node:internal/modules/cjs/loader:1242:19)
at require (node:internal/modules/helpers:176:18)
at Object. (/tmp/.mount_Nora.ShoZHz9/resources/app.asar/node_modules/sharp/lib/constructor.js:10:1)
at Module._compile (node:internal/modules/cjs/loader:1391:14)

See answer #245.


Does not work on iPhone in portrait orientation or in Firefox 3.6

I use BigText (and freaking love it!) on my site ( http://chrisnager.com ) and found that it does not work immediately, or sometimes at all, on the iPhone in portrait mode or in Firefox 3.6. Strangely enough, if you switch to landscape mode on the iPhone and then back to portrait, it will work. Sometimes if you wait long enough, it will work in Firefox 3.6.

Google's Web Font loader may have an issue with loading stylesheets that include the domain. Instead of:
urls : ['http://chrisnager.com/wp-content/themes/boilerplate/css/fonts/league-gothic/stylesheet.css']
Can you try:
urls : ['/wp-content/themes/boilerplate/css/fonts/league-gothic/stylesheet.css']

Actually, after a little bit more research, I think it's related to this issue with the WebFont loader: https://github.com/typekit/webfontloader/issues/26


Allow to show all notifications (not unread only) with meaningful filtering

Allow to show all notifications (not unread only) with meaningful filtering:

by time in history - last day, week, month
by repository
by notification type (Issue, Commit, Pull Request, ...)
by participating flag

We have to use some time based filter all the time not to hurt GitHub API by too much notifications in response.

Wouldn't it make sense to store all new notifications you receive for this feature? Then you don't need to worry about Github API limits..

I'm probably not going to implement this feature, there are other apps which provide this. I have limited time so I am focusing to keep the users in touch with the good level of new notifications handling which is not available in other apps.


trim PR template

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Can I be assigned this issue?

@Solomonsolomonsolomon Can i work on this please

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a Web3 front-end developer skilled in technical documentation and software development. I greatly understand technologies like JavaScript, Typescript, Cairo, Rust and Solidity. I have contributed successfully to open-source projects like Stark Quest
How I plan on tackling this issue
My Approach includes:

By thoroughly reading the current documentation and the current template for PR.
Identify the compelling points in the template.
Trim the PR to be concise.
Create a PR.
Request for a Review
Make changes based on the Review of the PR.


small ecs cleanup and remove_bundle drop bugfix

simplified code around archetype generations a little bit, as the special case value is not actually needed
removed unnecessary UnsafeCell around pointer value that is never updated through shared references
fixed and added a test for correct drop behaviour when removing sparse components through remove_bundle command

This looks good to me. Love the archetype generation simplification!
I added UnsafeCell largely because hecs does it in a similar context. We never create shared mutable references to a particular "range" in data, but we do access different offsets of data mutably at the same time (ex: we allow accessing entity1's component data at the same time we access entity2's component data). We also allow shared references of Tables (which use BlobVec) to exist at the same time that mutable references to data exist (which I believe is what the hecs comment calls out).
As long as these use cases are ok, I'm down to remove it. But I want to be doubly sure before removing it (and im not even singly sure at this point :smile:).

NonNull<T> already represents *mut T with extra guarantee of not being a null pointer, no need to put it inside UnsafeCell. It is only required to have UnsafeCell in order to get &mut T out of &T in any way, but in our case there are no shared references involved, as the memory comes directly from alloc call.

I buy that. I think that means that hecs could remove it too? @Ralith you might want to look in to this?

Thanks for the ping! My knee-jerk reaction is that the interpretation implied by this change makes more sense; the argument for UnsafeCell to be used here always seemed suspiciously magical to me, though I ultimately played it safe. I'll run the question by experts before removing it, though.

Every source I've checked confirms that UnsafeCell is unnecessary here.

Sounds like we have consensus. A big thanks to everyone for providing insight!

bors r+


Add longhand properties

Shorthand properties such as bg or m exists in StyleProps but long-hand ones such as background or margin doesn't. Is this expected, or missing?
I'd work on this if it's just missing.

Just missing, go for it xD @yukukotani

#259


Renamed HTMLConstants

I believe the naming of HTMLConstants was better. Using this library without Swift Package Manager will cause issues if an already existing struct named Constants exists within the app.

@dimitris-c Do you mean to rename the file from Constants.swift to HTMLConstants.swift? I didn't know that file names could clash with struct names.

@youming-lin This happens because I have copied the source files in my project as I'm not using Swift Package Manager. It may be nice to see Cocoapods support.

@dimitris-c
I'm brand new to Cocoapods, having only used SPM for server-side Swift development, but I've gone ahead and added a new experimental branch with pod support here: https://github.com/IBM-Swift/swift-html-entities/tree/pod_support
Can you try it out and see if it works with your Podfile? I tested locally with this line in my Podfile and was able to download it via pod install:
pod 'HTMLEntities', :git => 'https://github.com/IBM-Swift/swift-html-entities.git', :branch => 'pod_support'

@youming-lin Yes, it seems to be working fine!

@dimitris-c I've merged the podspec change and tagged a new release: https://github.com/IBM-Swift/swift-html-entities/releases/tag/3.0.4
Feel free to open a new issue if you are still having issues with CocoaPods. Note that I haven't uploaded the podspec to the official Pod spec repo so you'll have to use the GitHub URL (similar to how SPM works).


[WIP] Stream logs from system namespace in upgrade tests

Description: The original Bash solution for collecting logs doesn't work for upgrade tests because the Pods are restarted during upgrades and the exported logs are empty in the end. This can be seen e.g. here

Proposed Changes

Re-use recently implemented changes from knative.dev/pkg and knative.dev/eventing for log streaming from system namespaces.
Stream logs for a predefined set of Pods.


Update state cache to not fail when measuring object sizes.

Internal testing within Google discovered that weakref.proxy causes isinstance to raise an Exception and that certain Pandas types causes sys.getsizeof to fail.
See https://github.com/apache/beam/issues/23389 and https://github.com/liran-funaro/objsize/issues/6 for additional details.
Fixes #23389

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @TheNeuralBit

Run Python PreCommit


PowerRename only works once

Microsoft PowerToys version
0.70.1
Installation method
PowerToys auto-update
Running as admin
None
Area(s) with issue?
PowerRename
Steps to reproduce
Select a file or files to rename, right-click and select PowerRename, the app is displayed with the selected files. Enter the rename options and select Apply, and finally exit the app.  Now repeat this process, this time instead of the app window remaining on the screen it is immediately removed. The PowerRename app will not run a second time.
✔ Expected Behavior
PowerRename should run as many times as I need it to. This has been the normal behavior in prior versions.
❌ Actual Behavior
I can use PowerRename only once. After the first time, the window is displayed but is removed before it is completely visible. In order to resolve the issue I have to exit PowerToys and run the app again. Still, the program only runs the first time and I have to repeat the exit and run operation again.
Other Software
No response

遇到同样的问题

Mine does not open at all

Error is [2023-07-11 15:07:07.182407] [p-14968] [t-28424] [info] powerrename logger is initialized
[2023-07-11 15:07:07.182793] [p-14968] [t-28424] [error] Invalid input handle.

/dup https://github.com/microsoft/PowerToys/issues/26194


Date Picker

Would love to have this basic style of date picker reimplemented in Fresh.
https://github.com/vk-lab/react-month-picker-input

@stolinski Do you mean actually importing react-month-picker-input to Fresh or making something like it from scratch?

I think we should just stick with html5 date picker.


Deprecation warning on normalize_whitespace with capybara >= 3.0

Hi!
Since this commit on Capybara, first released with capybara  3.0.0.rc2, this deprecation warning is thrown:

DEPRECATED: Capybara::Helpers::normalize_whitespace is deprecated, please update your driver

This seems to be fixed on master in this commit. Any chance of a new release?
Thank you!

Had the same issue during a Rails 5.2 upgrade, tracking master removed the warnings.

These warnings come in hundreds which is quite annoying. What's wrong with a patch release?

Any news on this?

Switching to the branch master should fix the issue until the next version of capybara-webkit will be released
# Gemfile
group :test do
  gem 'capybara-webkit', github: 'thoughtbot/capybara-webkit', branch: 'master'
end

Any time frame on the next release? Much appreciated, thanks!

@Hirurg103 Those errors are because you've updated to Capybara 3 and the master branch  of capybara-webkit properly supports Capybara 3, whereas 1.15.0 does not.  The details are in Capybaras upgrade guide - https://github.com/teamcapybara/capybara/blob/master/UPGRADING.md#node.  Capybara 3.5.0 also adds a normalize_ws option to the text matchers -https://github.com/teamcapybara/capybara/blob/3.5_stable/History.md#added - to mimic Capybara 2 behavior if you dont want/need to actually verify what's displayed

@twalpole with capybara 3.5.0 and capybara-webkit 1.15.0 I had the build green. But after switching to capybara-webkit master branch and leaving capybara version the same it started to fail with the spacing error above

@Hirurg103 Yes. As I stated in my comment capybara-webkit 1.5.0 does not meet the Capybara 3 requirements for returning the text of an element, whereas the master branch does.  The errors you get about text matching when using the master branch are correct for Capybara 3 and would be returned if you use any of the other drivers which have released Capybara 3 compliant versions.

@twalpole Before the upgrade I used capybara 2.13.0 and capybara-webkit 1.14.0 and the build was green. After the upgrade to capybara 3.5.0 and capybara-webkit 1.15.0 the build was still green. But after switching to the master branch of capybara-webkit it started to fail

@Hirurg103 The breaking changes are from Capybara 2.x to Capybara 3.x as mentioned in the upgrade.md I linked previously - you just didn’t see them until using capybara-webkit’ master branch because capybara-webkit` 1.15 doesn’t fully support Capybara 3.   With Capybara 3 your tests SHOULD be failing.

@twalpole thank you for the explanation! Now I see why my build still passing after upgrade to capybara 3 and capybara webkit 1.15.

Here's the fix that worked for me (which @twalpole already mentioned above):
Before
expect(page).to have_content(message)
After
expect(page).to have_content(message, normalize_ws: true)
From my understanding, the normalize_ws flag just forces Capybara to fallback to the old way of comparing a string. Documentation

@twalpole thanks a lot for the patience 😅 , I haven't read the Capybara upgrade guide for the first time properly

For now, either:
gem "capybara"
gem 'capybara-webkit', git: 'https://github.com/thoughtbot/capybara-webkit.git'

or
gem "capybara", '~>2.0'
gem 'capybara-webkit'


Make changes to config -> reload config file

If changes are made to config while plotman is running is there a way to have those changes take effect without killing all processes and restarting?

the plotting processes are completely independent of the plotman process.
killing plotman doesn't do anything to the plot processes.
On Thu, May 6, 2021 at 7:24 PM HudsonProdigy @.***>
wrote:

If changes are made to config while plotman is running is there a way to
have those changes take effect without killing all processes and restarting?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ericaltendorf/plotman/issues/256, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARPZIFS7LP2PVIJ33VPGU6LTMNFO7ANCNFSM44IO4DOA
.


duplicate ingress.InsertProbe in same hosts and probe path  isn't /healthz

Net-istio probe ingress is health by request each host path /healthz and  with headers  "User-Agent: Knative-Ingress-Probe" "K-Network-Hash: override"  "K-Network-Probe: probe".  But ingress.InsertProbe is only copy the origin path and not duplicate host.
Each host set and each backend, only need set one probe istio HTTPMatchRequest.
situation:

one host and multi paths and  each path has multi backends
multi hosts and multi path and each path has one backend

I think probe ingress should  base on the backend and host.
knative version: v1.1.0
net-istio version: v1.1.0
case  duplicate probe rule:
1. create knative ingress
apiVersion: networking.internal.knative.dev/v1alpha1
kind: Ingress
metadata:
  annotations:
    networking.knative.dev/ingress.class: istio.ingress.networking.knative.dev
  name: url-1
  namespace: default
spec:
  httpOption: Enabled
  rules:
  - hosts:
    - url.com
    http:
      paths:
      - headers:
          abc:
            exact: abc
          version:
            exact: canary
        path: /url-1
        splits:
        - appendHeaders:
            Knative-Serving-Namespace: default
            Knative-Serving-Revision: example-nginx-00006
          percent: 100
          serviceName: example-nginx-00006
          serviceNamespace: default
          servicePort: 80
      - headers:
          acd:
            exact: acd
          edfc:
            exact: edfc
        splits:
        - appendHeaders:
            Knative-Serving-Namespace: default
            Knative-Serving-Revision: example-nginx-00005
          percent: 100
          serviceName: example-nginx-00005
          serviceNamespace: default
          servicePort: 80
    visibility: ExternalIP

2. generated virtualservice
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  annotations:
    networking.knative.dev/ingress.class: istio.ingress.networking.knative.dev
  creationTimestamp: "2022-01-12T09:15:03Z"
  generation: 70
  labels:
    networking.internal.knative.dev/ingress: url-1
  name: url-1-ingress
  namespace: default
  ownerReferences:
  - apiVersion: networking.internal.knative.dev/v1alpha1
    blockOwnerDeletion: true
    controller: true
    kind: Ingress
    name: url-1
    uid: b731f15b-6e9d-421c-86d0-078957f62dfe
  resourceVersion: "398305697"
  selfLink: /apis/networking.istio.io/v1beta1/namespaces/default/virtualservices/url-1-ingress
  uid: f5acca7f-44f5-4f74-a6e5-ffb501e4b9c5
spec:
  gateways:
  - knative/knative-ingress-gateway
  hosts:
  - url.com
  http:
  - headers:
      request:
        set:
          K-Network-Hash:<PHONE_NUMBER>94f47c3cc89e3eaaf854fae3cc357ddedd5fbfc6f50f06cf66c7aa
    match:
    - authority:
        prefix: url.com
      gateways:
      - knative/knative-ingress-gateway
      headers:
        K-Network-Hash:
          exact: override
      uri:
        prefix: /url-1
    retries: {}
    route:
    - destination:
        host: example-nginx-00006.default.svc.cluster.local
        port:
          number: 80
      headers:
        request:
          set:
            Knative-Serving-Namespace: default
            Knative-Serving-Revision: example-nginx-00006
      weight: 100
  - headers:
      request:
        set:
          K-Network-Hash:<PHONE_NUMBER>94f47c3cc89e3eaaf854fae3cc357ddedd5fbfc6f50f06cf66c7aa
    match:
    - authority:
        prefix: url.com
      gateways:
      - knative/knative-ingress-gateway
      headers:
        K-Network-Hash:
          exact: override
    retries: {}
    route:
    - destination:
        host: example-nginx-00005.default.svc.cluster.local
        port:
          number: 80
      headers:
        request:
          set:
            Knative-Serving-Namespace: default
            Knative-Serving-Revision: example-nginx-00005
      weight: 100
  - match:
    - authority:
        prefix: url.com
      gateways:
      - knative/knative-ingress-gateway
      headers:
        version:
          exact: canary
      uri:
        prefix: /url-1
    retries: {}
    route:
    - destination:
        host: example-nginx-00006.default.svc.cluster.local
        port:
          number: 80
      headers:
        request:
          set:
            Knative-Serving-Namespace: default
            Knative-Serving-Revision: example-nginx-00006
      weight: 100
  - match:
    - authority:
        prefix: url.com
      gateways:
      - knative/knative-ingress-gateway
      headers:
        edfc:
          exact: edfc
    retries: {}
    route:
    - destination:
        host: example-nginx-00005.default.svc.cluster.local
        port:
          number: 80
      headers:
        request:
          set:
            Knative-Serving-Namespace: default
            Knative-Serving-Revision: example-nginx-00005
      weight: 10

case probe path incorrect

create knative ingress

metadata:
  annotations:
    networking.knative.dev/ingress.class: istio.ingress.networking.knative.dev
  name: url-1
spec:
  httpOption: Enabled
  rules:
  - hosts:
    - url.com
    http:
      paths:
      - headers:
          version:
            exact: canary
          abc:
            exact: abc
        path: "/url-1"
        splits:
        - appendHeaders:
            Knative-Serving-Namespace: default
            Knative-Serving-Revision: example-nginx-00006
          percent: 100
          serviceName: example-nginx-00006
          serviceNamespace: default
          servicePort: 80

virtureservice

apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"networking.internal.knative.dev/v1alpha1","kind":"Ingress","metadata":{"annotations":{"networking.knative.dev/ingress.class":"istio.ingress.networking.knative.dev"},"name":"url-1","namespace":"default"},"spec":{"httpOption":"Enabled","rules":[{"hosts":["url.com"],"http":{"paths":[{"headers":{"abc":{"exact":"abc"},"version":{"exact":"canary"}},"path":"/url-1","splits":[{"appendHeaders":{"Knative-Serving-Namespace":"default","Knative-Serving-Revision":"example-nginx-00006"},"percent":100,"serviceName":"example-nginx-00006","serviceNamespace":"default","servicePort":80}]}]},"visibility":"ExternalIP"}]}}
    networking.knative.dev/ingress.class: istio.ingress.networking.knative.dev
  creationTimestamp: "2022-01-15T10:35:46Z"
  generation: 1
  labels:
    networking.internal.knative.dev/ingress: url-1
  name: url-1-ingress
  namespace: default
  ownerReferences:
  - apiVersion: networking.internal.knative.dev/v1alpha1
    blockOwnerDeletion: true
    controller: true
    kind: Ingress
    name: url-1
    uid: 0a1f2e17-cacf-4656-8b75-8f3df9296372
  resourceVersion: "399816649"
  selfLink: /apis/networking.istio.io/v1beta1/namespaces/default/virtualservices/url-1-ingress
  uid: 58d750d0-150a-4baa-8100-030e7c8bd40c
spec:
  gateways:
  - knative/knative-ingress-gateway
  hosts:
  - url.com
  http:
  - headers:
      request:
        set:
          K-Network-Hash: 1eb7ef10f7c01124526d9c594a088852b7146b167a1641af4b62eb3278e2ff59
    match:
    - authority:
        prefix: url.com
      gateways:
      - knative/knative-ingress-gateway
      headers:
        K-Network-Hash:
          exact: override
      uri:
        prefix: /url-1
    retries: {}
    route:
    - destination:
        host: example-nginx-00006.default.svc.cluster.local
        port:
          number: 80
      headers:
        request:
          set:
            Knative-Serving-Namespace: default
            Knative-Serving-Revision: example-nginx-00006
      weight: 100
  - match:
    - authority:
        prefix: url.com
      gateways:
      - knative/knative-ingress-gateway
      headers:
        version:
          exact: canary
      uri:
        prefix: /url-1
    retries: {}
    route:
    - destination:
        host: example-nginx-00006.default.svc.cluster.local
        port:
          number: 80
      headers:
        request:
          set:
            Knative-Serving-Namespace: default
            Knative-Serving-Revision: example-nginx-00006
      weight: 100

net-istio logs

{"severity":"ERROR","timestamp":"2022-01-15T14:29:39.001894423Z","logger":"net-istio-controller.istio-ingress-controller","caller":"status/status.go:403","message":"Probing of http://url.com:80 failed, IP: <IP_ADDRESS>:8080, ready: false, error: unexpected status code: want 200, got 404 (depth: 0)","commit":"c9e88c5","knative.dev/controller":"istio-ingress-controller","knative.dev/controller":"knative.dev.net-istio.pkg.reconciler.ingress.Reconciler","knative.dev/kind":"networking.internal.knative.dev.Ingress","knative.dev/traceid":"079f07f3-6a69-4206-9cae-8d76a0439cba","knative.dev/key":"default/url-1","stacktrace":"knative.dev/networking/pkg/status.(*Prober).processWorkItem\n\tknative.dev/networking@v0.0.0-20211209101835-8ef631418fc0/pkg/status/status.go:403\nknative.dev/networking/pkg/status.(*Prober).Start.func1\n\tknative.dev/networking@v0.0.0-20211209101835-8ef631418fc0/pkg/status/status.go:288"}

my target is use net-istio to support path based routing and header based routing. But not logic is not deployed in current net-istio.
https://github.com/knative/serving/issues/11997

Hi @wu0407

my target is use net-istio to support path based routing and header based routing.

Sorry if you have already checked, but have you already checked the following docs? These doc might help your requirement.
https://github.com/knative/docs/tree/main/code-samples/serving/tag-header-based-routing (tag header based routing)
https://github.com/knative/docs/tree/main/code-samples/serving/knative-routing-go (path based routing by using front VirtualService.)

yes, I known that method to support this function.  but it is not beautiful and native.
Proposal support  path based routing and header based routing when knative object Dispatcher is achieved.


cockpit: 314 -> 311.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for cockpit is: Web-based graphical interface for servers
meta.homepage for cockpit is: https://cockpit-project.org/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 311.2 with grep in /nix/store/k4g0ymxk6xpclff3yy69qk4wzkgngzds-cockpit-311.2
found 311.2 in filename of file in /nix/store/k4g0ymxk6xpclff3yy69qk4wzkgngzds-cockpit-311.2

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
cockpit

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/k4g0ymxk6xpclff3yy69qk4wzkgngzds-cockpit-311.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cockpit https://github.com/r-ryantm/nixpkgs/archive/e24061880e4d976ce55cf03ace9e53a607dc7b93.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/e24061880e4d976ce55cf03ace9e53a607dc7b93#cockpit

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/k4g0ymxk6xpclff3yy69qk4wzkgngzds-cockpit-311.2
ls -la /nix/store/k4g0ymxk6xpclff3yy69qk4wzkgngzds-cockpit-311.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

cockpit

Maintainer pings
cc @lucasew for testing.

PR downgrades cockpit, closing.


Installing Kani on ARM64 Linux

Requested feature: Ability to install Kani on ARM64 Linux machines
Use case: Currently, installing Kani through cargo install --locked kani-verifier on ARM64 Linux machines fails because Kani binaries are not distributed for the aarch64-unknown-linux-gnu target. The workaround is manually building Kani on ARM64 Linux. However, this approach is tedious and ideally it would be better to have the ability of installing Kani without needing to build it manually.
Otherwise, having the ability to analyse ARM64 codebase with Kani installed on x86 machines would also be very beneficial.

Hi @rhakobyan , thanks for opening the feature request!

Otherwise, having the ability to analyse ARM64 codebase with Kani installed on x86 machines would also be very beneficial.

#2402 tracks this.


How to prevent insert of data that is passed using query string in sails.js for post request?

I have created new table in mysql also created model and controller in sails.js. Now I am trying to insert data using sails. As we know when we create new modal in sails it will create new post, get and other api for us by default.
Now I am trying to insert data using post api using query string and request.body and both are working But I need to insert data into db that is passed using request.body instead of request.querystring data in post request. How can I do it???

Post data using query string in post request => working fine

Post data using request.body in post request => working fine (I want to insert data using this way only)

Hi, @baj9032!
Are you using req.param() to yoink parameter information for insertion into your database? If so, you might be able to take advantage of the fact that req.param() searches for the parameter in req.body before searching in req.query. If not, we'd love to get a bit more information about exactly what data you're interested in and how you're currently grabbing it.

@madisonhicks I have created new modal, controller using cli. ex: sails generate controller. It will create post and get endpoints for us. Now when I post data using query string or in request body then in both cases its inserted data into appropriate table. Here I want to insert data when data gets passed using request.body. So how can I do it? This is my question and in issue that same cases I mentioned with screenshot.

@baj9032—Thanks for the reply! Any chance you could provide a repo? I think it would be helpful to see the relevant bits of your model and controller. Thanks!

@madisonhicks I am sorry I can't

No problem, @baj9032. I'm not sure I have enough context to give you a satisfying answer, but it sounds like you're taking advantage of the blueprints feature. You might find the blueprint docs to be of some use.


Update return message

can you please fix the typo "Key already importet" (to "Key already imported")? rest looks good, thx


Routing and Filtering

In GatewayApplication properties file have wrong statement zuul.routes.books.url=http://localhost:8090. Here books should be replace by book

Each guide has it's own repository and issue tracker. It's not clear from your description which one you mean. Can you find it and create a new issue?

repo is here https://github.com/spring-guides/gs-routing-and-filtering/issues


Add random button

Add random button so that we can have different rebus every time which interests the end user.
And would like to work on this issue.!

Can I take up this issue? Sounds like a good way to learn/have fun with an interesting project!

hey @dr0id007 I started to work on it...
Would like to know is there any design considerations in this?

This is my design... Hope it meets the requirment.

lgtm :raised_hands: , as long as it works it's good.!


[bug] fix http template dict empty error

Problem

HTTPTemplate doesn't work as expected in HTTPPipeline

Details

As the former design, HTTPTempalte will save one filter's request, and the response modified by it into context's template dictionary if necessary(If it can find the template in filter's spec), the flow is a sequence.

After we introduced responsibility chain into HTTPPipline, the flow logic had been changed from sequence to stack. That means the flow looks like

1. save http request to be handle by filter1
2. filter1 handle
3. save http request to be handle by filter2
4. filter2 handle
5. save http response modified by filter2
6. save http response modified by filter1
....

This bug fixing is aiming to correct the HTTPTemplate saving flow back to the sequence type.

Codecov Report

Merging #163 (420b2fa) into main (c32e42c) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #163      +/-   ##
==========================================
+ Coverage   57.81%   57.85%   +0.03%
==========================================
  Files          38       37       -1
  Lines        3658     3656       -2
==========================================
  Hits         2115     2115
+ Misses       1437     1435       -2
  Partials      106      106

Impacted Files
Coverage Δ

pkg/common/sys_proc_others.go

Continue to review full report at Codecov.

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

line 492-495 should be removed.

My bad, let me update it


v0.2.8 and v0.2.9 - Module not found: Can't resolve 'fs/promises'

I tried to upgrade @electric-sql/pglite from 0.2.7 to 0.2.8 yesterday, and then again today to 0.2.9, with the same result.
Here is the build output:
> next build

  ▲ Next.js 15.0.0-canary.161
  - Environments: .env

   Creating an optimized production build ...
Failed to compile.

../../node_modules/.pnpm/@electric-sql+pglite<EMAIL_ADDRESS>Module not found: Can't resolve 'fs/promises'

https://nextjs.org/docs/messages/module-not-found

Import trace for requested module:
../../node_modules/.pnpm/@electric-sql+pglite<EMAIL_ADDRESS>
I have PGlite running with Next.js 15 like a charm with 0.2.7, per https://github.com/electric-sql/pglite/issues/322#issuecomment-2372563526

Same as @lirbank Even forcing the detection of 'fs/promises' returns an error
ERROR Error: Invalid FS bundle size: 21268 !== 2987856

Hey @lirbank, @villegasrfael
Thanks for the report! I think I know whats happened, I made some changes to enable supplying the wasm bin and VFS bundle manually and it changes some of these code paths. This is top of the list for early this week.

Nice @samwillis ! - when do you think you'll publish a new package to NPM? I'd love to try the new version.


Tests of 0.5.11 failing on macos node v6

Hi. I've cloned the repository, version 0.5.11 because I want to unit test it in order to create an Azure adapter.
The tests fail to run and crash on<EMAIL_ADDRESS>with the error
1) aborting a file in progress should not crash the server:
     Uncaught TypeError: First argument must be a string or Buffer
      at ServerResponse.OutgoingMessage.write (_http_outgoing.js:457:11)
      at ServerResponse.res.send (/Users/arryon/projects/skipper-s3/node_modules/skipper-adapter-tests/lib/helpers.js:61:15)
      at Timeout._onTimeout (/Users/arryon/projects/skipper-s3/node_modules/skipper-adapter-tests/tests/abort.test.js:21:17)
      at ontimeout (timers.js:386:14)
      at tryOnTimeout (timers.js:250:5)
      at Timer.listOnTimeout (timers.js:214:5)

I'm calling the tests with the cmd
KEY=<key> SECRET=<secret> BUCKET=<bucket_name> npm test

I've had errors as well, testing an abandoned skipper-azure lib, but this repo seems to be maintained or at least widely used. Is there a pointer in the right direction? The Travis build (https://travis-ci.org/balderdashy/skipper-s3/jobs/359425641) seems to succeed in any case, so I'm desperately wondering what I'm doing wrong.
Some versions:
node v6.11.2
npm 3.10.10
nvm 0.33.4
v8 5.1.281.103

Closing this one since it's from awhile back and looks like @mikermcneil presented a solution to try, but feel free to keep the conversation going if anything else comes up


Trident disappeared

I believe this is fixed in ProjectExtended 1.1.0 for MC 1.15.2. If you run into it again, feel free to let me know and I will re-open it. (Not releasing a fix for 1.14.4 as I do not have time to maintain multiple versions of MC at once with how much of my free time has been going into working on Mekanism). I am also not positive it is actually fixed, but I updated some code to match a chance vanilla did in 1.15 for the path that the trident returns along and at the very least it seems a lot smoother/less glitchy. So for this reason I believe it is fixed
Originally posted by @pupnewfster in https://github.com/pupnewfster/ProjectExtended/issues/2#issuecomment-586651603

I just loaded up the 1.16.5 v1.2.0 of Project Extended and this problem exists again.  I had great fun playing with the trident until I actually took it underwater.  The first time I threw it, it never came back.  Seems to have disappeared.  I can't find it anywhere.

Im having this issue, anytime its thrown into water it disappears.


handle progressbar having 0 seconds left at startup

Attempt to address https://github.com/gopasspw/gopass/issues/2046
I'm not sure if the release notes commit message instructions are for my commit, or for the merge commit, but if I need change thing, I'm than happy to.

For your commit to pass CI, you need to sign it off using the syntax
git commit -s plus what you usually do.
And also to add a Release note message, so the easy way is to do :
git commit - - amend -s -m "RELEASE_NOTES=[BUGFIX] Fixing progress bar to handle zero properly"
And then git push --force to correct your branch.

Hopefully that's all correct now, it probably ended up being a bit more work having me do it, but I do appreciate the guidance and also I learned about git commit -s  :)


Add first-class support for TS native enums

Based on Discord conversation: https://discord.com/channels/1043890932593987624/1090155866789007380

I was looking for the ability to do this now for hours. I really think this is something super important and I am looking forward to its implementation! Doing it manually is a tedious task :(

I don't think it's such a great idea, there are endless articles saying that enums in typescript are bad: e.g. https://www.reddit.com/r/typescript/comments/yr4vv5/typescript_enums_are_terrible_heres_why/

Whether an object map or actual enum, something is needed. I'd rather we keep religious debates over language features out of the conversation.

This would be amazing. Especially useful in the case where we are integrating drizzle into existing projects using Supabase and Zod, Supabase ORM's generated types are not very ergonomic (would be better to write something like === Status.Confirmed instead of === "confirmed" ).


Turn the CandidateSet and AddressBook into tower Services

Is your feature request related to a problem? Please describe.
In Zebra, we use tower Services for most of our internal APIs.
The AddressBook and CandidateSet act like services, but they are actually custom structs with their own APIs. This makes Zebra harder to maintain and debug.
Describe the solution you'd like

[ ] Finish the refactors and security fixes for zebra-network, so the API is stable
[ ] Write a design RFC for the AddressBook and CandidateSet as tower Services

[ ] Work out how to test for deadlocks and livelocks
[ ] Share the AddressBook using a Buffer, rather than Arc<Mutex<_>>
[ ] Move the CandidateSet::next rate-limit to the outbound handshaker, using a tower::RateLimitLayer
[ ] Continue to ignore repeated CandidateSet::update requests within the update time limit
[ ] Continue to mark peers as AttemptPending before their addresses are returned

[ ] Implement the design
[ ] Write tests for deadlocks and livelocks

Describe alternatives you've considered
We could do nothing, and Zebra will continue to work well.
We could use a futures-aware mutex for the address book: https://docs.rs/futures/0.3.13/futures/lock/struct.Mutex.html
Additional context
We're still working on a bunch of security fixes that will change the APIs for these services.
This change risks re-introducing deadlocks and livelocks, so it needs to have tests for various edge cases.

This refactor would be useful, but it's not needed right now.


[dockerfile] Adds Dockerfile.rhel for OpenShift build

Creates a new Dockerfile specific to OpenShift builds

Great suggestion! I went ahead and added the comment, also a comment to the original Dockerfile (and removed the OpenShift specific labels from it). I'll merge after we have a passing Travis build. Thanks!

Pull Request Test Coverage Report for Build 533

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 52.185%

Totals

Change from base Build 532:
0.0%

Covered Lines:
633

Relevant Lines:
1213

💛  - Coveralls


Fix charities spelling mistake and update dependencies

Description
Fix spelling mistake - 'charitiest' => 'charities'
And update dependencies
Checklist

[ ] Tested against our testing policy (Resolution, Browser & Accessibility)
[ ] Follows our coding standards and style guide
[ ] CHANGELOG entry

the nvmrc file in the root says version 12...

Michael - what's the status of this one - are you happy with the rebuilt package-lock? I'm trying to run a build on a different pull request and am getting failures that would be fixed by what you've done here.
What node version did you build it with? We should update the .nvmrc file in the root to reflect this - and maybe document it. If people use different node versions all the time to update dependencies we will get a nasty amount of churn in the package-lock. Previously it was 12 just because, but that is ancient history. I think it's time to get up to date...

We might also consider using a similar approach to govuk-frontend's check-nvmrc script - which prevents people using nodejs versions other than the one specified in the repository, to avoid package-lock churn:
https://github.com/alphagov/govuk-frontend/blob/main/bin/check-nvmrc.js

Hi @andymantell - I've created a separate PR with just the dependency updates and have also updated the .nvmrc file to 16 which seems to have built successfully. What do you reckon?


提示框导致编辑器失去焦点不能编辑

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:  1.78.0 (user setup)
OS Version: Windows_NT x64 10.0.19045

Steps to Reproduce:

粘贴一段js 代码
选中一个函数名，弹出提示框

继续输入文字，因为失去焦点无法完成

疑似有多个插件会导致这种问题：eslint、eslint Chinese rules、Comment Translate

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.85.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

感谢您创建此问题！
然而，由于您没有使用英语，我们很难进行处理。如果可能，请您将此问题描述修改为英文。请您直接编辑此问题，不要提交回复或新问题。
请注意，机器翻译服务通常无法处理用于讨论软件问题所需的技术性语言，所以我们推荐您寻找一位熟悉相关技术的人来协助翻译。
如果您无法做到，没有关系。此问题已经被标记为需要翻译，等待社区成员志愿进行翻译。

Thanks for creating this issue!
Unfortunately, as the description is not in English, it's hard for us to work on. If possible, please edit the original issue to be in English.
In our experience, automatic translation services are not able to handle the technical language needed to effectively communicate about software issues, so we recommend finding a human translator who is familiar with our technology to help.
Otherwise, we have marked this as needing translation and a community member may be able to help out.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


fastdtw doesn't work in lambda...

I have two code. one is use default dist, another is use Euclidean func..
I test two code in my MacBook. and it work!
but in AWS lambda it doesn't work.. but I don't know why..
because Euclidean func is work but default doesn't work..
this is AWS lambda error..
>>> from fastdtw import fastdtw
>>> import numpy as np
>>> np.zeros((3,5))
array([[ 0.,  0.,  0.,  0.,  0.],
       [ 0.,  0.,  0.,  0.,  0.],
       [ 0.,  0.,  0.,  0.,  0.]])
>>> a = np.zeros((3,5))
>>> b = np.zeros((3,5))
>>> fastdtw(a,b)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "fastdtw.py", line 65, in fastdtw
    return __fastdtw(x, y, radius, dist)
  File "fastdtw.py", line 85, in __fastdtw
    __fastdtw(x_shrinked, y_shrinked, radius=radius, dist=dist)
  File "fastdtw.py", line 80, in __fastdtw
    return dtw(x, y, dist=dist)
  File "fastdtw.py", line 128, in dtw
    (D[i-1, j-1][0]+dt, i-1, j-1), key=lambda a: a[0])
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

but same code In my Mackbook.. it work!
>>> import numpy as np
>>> from fastdtw import fastdtw
>>> a = np.zeros((4,5))
>>> b = np.zeros((4,5))
>>> fastdtw(a,b)
Out[6]: (0.0, [(0, 0), (1, 1), (2, 2), (3, 3)])
>>> dist,path = fastdtw(a,b)
>>> dist
Out[8]: 0.0
>>> path
Out[9]: [(0, 0), (1, 1), (2, 2), (3, 3)]

oh and AWS lambda OS is
The underlying AWS Lambda execution environment is based on the following:

Public Amazon Linux AMI version (AMI name: amzn-ami-hvm-2016.03.3.x86_64-gp2):
For information about using an AMI, see Amazon Machine Images (AMI) in the Amazon EC2 User Guide for Linux Instances.
Linux kernel version – 4.4.35-33.55.amzn1.x86_64

check this

Where did you compile your dependencies?

hey.Trying to use fastdtw with librosa but getting the error below.Kindly assist
import librosa
from numpy.linalg import norm
from fastdtw import fastdtw
#Loading audio files
y1, sr1 = librosa.load('coolBack.wav')
y2, sr2 = librosa.load('nelly.wav')
mfcc1 = librosa.feature.mfcc(y1,sr1)   #Computing MFCC value
mfcc2 = librosa.feature.mfcc(y2, sr2)   #Computing MFCC value
dist, cost, acc_cost, path = fastdtw(mfcc1.T, mfcc2.T, dist=lambda x, y: norm(x - y, ord=1))
print('Normalized distance between the two sounds:', dist)                 #Comparison of the two using DTW
ValueError               Traceback (most recent call last)
 in ()
8 mfcc1 = librosa.feature.mfcc(y1,sr1)   #Computing MFCC value
9 mfcc2 = librosa.feature.mfcc(y2, sr2)   #Computing MFCC value
---> 10 dist, cost, acc_cost, path = fastdtw(mfcc1.T, mfcc2.T, dist=lambda x, y: norm(x - y, ord=1))
11 print('Normalized distance between the two sounds:', dist)                              #Comparison of the two using DTW
ValueError: not enough values to unpack (expected 4, got 2)


a naming issue which might cause some confusion

Please assign a more appropriate name for GetCellHeight in API definition which is somehow being set to correspond with heightForCellTopLabelAtIndexPath in iOS version JSQMessageViewController

@jaz5hq  do you have a suggestion on what it should be?

No response to previous message, so asssuming all is ok


Update Unit test to run on .Net461 (MessageInteropEnd2EndTests.cs)

Description
Enabling unit test for data plane/client libraries to run against .Net461 causes MessageInteropEnd2EndTests test to break due to WithQueueAsync not being implemented.
File has been removed from build at Microsoft.Azure.ServiceBus.Tests.csproj.
WithQueueAsync should be implemented.
To Reproduce
Add net461 to the list of target frameworks in (RepoRoot)/eng/Directory.Build.Data.targets then run unit tests.
<RequiredTargetFrameworks>netcoreapp2.0;net461</RequiredTargetFrameworks>
Expected behavior
Test will fail or throw an exception, (Cannot find the Method WithQueueAsync)

src\SDKs\ServiceBus\data-plane\tests\Microsoft.Azure.ServiceBus.Tests\MessageInterop\MessageInteropEnd2EndTests.cs (Removed From Build)

SetUp

OS: Windows

@chidozieononiwu:  I think there is something larger going on here;  WithQueueAsync exists and was not recently added (most other tests depend on it as well, on the .NET Core and Full Net FX builds.    In addition, the set of tests that were removed compiles and passes running under the full framework from within Visual Studio.
Happy to chat, if it's helpful.
(see:  ServiceBusScope)