flutter test failed with 'Connection closed before test suite loaded'

Enter path flutter/packages/flutter,
$ flutter -v test test/engine/color_test.dart
[  +26 ms] [/path/to/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +35 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] [/path/to/flutter/] git rev-parse --abbrev-ref HEAD
[  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[        ] [/path/to/flutter/] git ls-remote --get-url origin
[  +10 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[        ] [/path/to/flutter/] git log -n 1 --pretty=format:%H
[  +12 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] ec3e350f88f10ab5d52b037dfa7605dff41765ba
[        ] [/path/to/flutter/] git log -n 1 --pretty=format:%ar
[  +11 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[        ] 12 minutes ago
[        ] [/path/to/flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +21 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v0.1.3-12-gec3e350f8
[ +245 ms] running test package with arguments: [--, /path/to/flutter/packages/flutter/test/engine/color_test.dart]
00:00 +0: loading /path/to/flutter/packages/flutter/test/engine/color_test.dart
[ +148 ms] test 0: starting test /path/to/flutter/packages/flutter/test/engine/color_test.dart
[   +9 ms] test 0: starting shell process in preview-dart-2 mode
[   +5 ms] Compiling /var/folders/vb/1d3369114yz78xwy_83q3wn80000gn/T/dart_test_listenery1yfBD/listener.dart
00:01 +0: loading /path/to/flutter/packages/flutter/test/engine/color_test.dart
[+1150 ms] /path/to/flutter/bin/cache/artifacts/engine/darwin-x64/flutter_tester --disable-observatory --flutter-assets-dir=/var/folders/vb/1d3369114yz78xwy_83q3wn80000gn/T/flutter_bundle_directoryaA6C2P --enable-checked-mode --enable-dart-profiling --non-interactive --use-test-fonts --packages=/path/to/flutter/packages/flutter/.packages /var/folders/vb/1d3369114yz78xwy_83q3wn80000gn/T/dart_test_listenery1yfBD/listener.dart.dill
[   +7 ms] test 0: awaiting initial result for pid 54785
[ +395 ms] test 0: process with pid 54785 connected to test harness
[        ] test 0: awaiting test result for pid 54785
[  +13 ms] test 0: process with pid 54785 no longer needs test harness
[        ] test 0: cleaning up...
[        ] test 0: shutting down test harness socket server
[   +1 ms] test 0: deleting temporary directory
[   +1 ms] test 0: deleting temporary bundle directory
[   +1 ms] test 0: ensuring end-of-process for shell
[  +10 ms] test 0: waiting for controller sink to close
[   +1 ms] test 0: finished
00:01 +0 -1: loading /path/to/flutter/packages/flutter/test/engine/color_test.dart [E]
  Failed to load "/path/to/flutter/packages/flutter/test/engine/color_test.dart": Connection closed before test suite loaded.
00:01 +0 -1: Some tests failed.
[  +33 ms] test package returned with exit code 1
[  +12 ms] "flutter test" took 1,985ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28)
#1      TestCommand.runCommand (package:flutter_tools/src/commands/test.dart:231)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:333)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:270)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#5      _rootRun (dart:async/zone.dart:1126)
#6      _CustomZone.run (dart:async/zone.dart:1023)
#7      runZoned (dart:async/zone.dart:1501)
#8      AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#9      FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:261)
#10     CommandRunner.runCommand (package:args/command_runner.dart:194)
<asynchronous suspension>
#11     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:298)
<asynchronous suspension>
#12     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#13     _rootRun (dart:async/zone.dart:1126)
#14     _CustomZone.run (dart:async/zone.dart:1023)
#15     runZoned (dart:async/zone.dart:1501)
#16     AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#17     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:254)
<asynchronous suspension>
#18     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109)
#19     new Future.sync (dart:async/future.dart:224)
#20     CommandRunner.run (package:args/command_runner.dart:109)
#21     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:168)
#22     run.<anonymous closure> (package:flutter_tools/runner.dart:54)
<asynchronous suspension>
#23     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142)
<asynchronous suspension>
#24     _rootRun (dart:async/zone.dart:1126)
#25     _CustomZone.run (dart:async/zone.dart:1023)
#26     runZoned (dart:async/zone.dart:1501)
#27     AppContext.run (package:flutter_tools/src/base/context.dart:141)
<asynchronous suspension>
#28     runInContext (package:flutter_tools/src/context_runner.dart:41)
<asynchronous suspension>
#29     run (package:flutter_tools/runner.dart:49)
#30     main (package:flutter_tools/executable.dart:48)
<asynchronous suspension>
#31     main (file:///path/to/flutter/packages/flutter_tools/bin/flutter_tools.dart:16)
#32     _startIsolate.<anonymous closure> (dart:isolate-patch/dart:isolate/isolate_patch.dart:277)
#33     _RawReceivePortImpl._handleMessage (dart:isolate-patch/dart:isolate/isolate_patch.dart:165)

$ flutter doctor -v
[✓] Flutter (Channel master, v0.1.4-pre.12, on Mac OS X 10.13.4 17E199, locale en-HK)
    • Flutter version 0.1.4-pre.12 at /path/to/flutter
    • Framework revision ec3e350f88 (17 minutes ago), 2018-04-10 10:14:53 +0800
    • Engine revision 6474647f52
    • Dart version 2.0.0-dev.46.0.flutter-ef926f98f5

[✓] Android toolchain - develop for Android devices (Android SDK 26.0.3)
    • Android SDK at /path/Library/Android/sdk
    • Android NDK at /path/Library/Android/sdk/ndk-bundle
    • Platform android-27, build-tools 26.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.3, Build version 9E145
    • ios-deploy 1.9.2
    • CocoaPods version 1.4.0

[✓] Android Studio (version 3.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] IntelliJ IDEA Community Edition (version 2017.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 20.0.3
    • Dart plugin version 173.3727.108

[✓] VS Code
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Dart Code extension version 2.11.2

[✓] Connected devices (1 available)
    • iPhone 6s • E5C9A093-5EFD-43C3-826A-3FE4775E23A3 • ios • iOS 11.3 (simulator)

• No issues found!

The tests in the engine repo aren't "flutter test" tests. But this isn't the expected failure mode, indeed. I hope it's a different root cause; I'm pretty sure we have a test for that bug's fix.
cc @jason-simmons who may enjoying finding the cause of this one.
cc @tvolkert since it's related to a failure in flutter test.

In doesn't look like it's relevant, but in case it is, that test is one of a few dozen that imports package:test directly rather than package:flutter_test.

I've even unable to reproduce this after a few times of checkout previous version and master of Flutter.
Close this issue now.
What happened before:
First I test my own test code failed with 'Connection closed before test suite loaded'
Then I choose an xx_test.dart in the folder of flutter, failed again.
So I opened this issue.

I ran into this problem today, and resolved it by updating flutter version with flutter upgrade. (From 2.0.3 to 2.0.5)

I faced this issue on version 2.0.3, the problem was that the flutter_tester executable was missing.
deleting flutter/bin/cache folder and runflutter pub getfix the problem for me.


Waybar / App Icons in Window Switcher

Hi, this isn't a bug per say but I was hoping you could help me out.
At some point in a previous version of Manjaro: Sway Edition there was a neat feature where in the window switcher at the top right, icons would be displayed (as unicode I believe) for whatever applications you currently had opened in that virtual desktop. There were icons for VSCode, Firefox, terminal. It was all pretty cool.
That feature got removed in a later revision of Manjaro: Sway Edition. But now that I'm on Arch Linux and configuring Sway from scratch, I wanted to bring that back. Unfortunately I haven't been able to figure out how that was done with Google. I was hoping someone could point me in the right direction. I figured it would be an option in waybar or something but apparently not.

The tool is called swayest workstyle

You are the best!


-n flag has counter-intuitive effect

After reviewing documentation and help, it's clear that -n is shorthand for --name and is used to specify a release name, however, since kubectl has recently (as of 1.4?) adopted -n as shorthand for --namespace, I would wager that lots of people end up tripped up by that difference.
Could I suggest that, consistent with kubectl, -n be used as shorthand for --namespace and that specifying a release name can be achieved instead by providing an optional second argument to helm install?
cc @technosophos @michelleN

Yes, it is too bad that things worked out that way. Unfortunately, we can't change that until Helm 3.0 (SemVer commitments), and I don't know that we'll do it even then. Copying the flags from kubectl is not one of the design goals for us.

@technosophos you know me... you know I respect semver. But if new Helm isn't GA yet, doesn't the opportunity to change that still exist?

Copying the flags from kubectl is not one of the design goals for us.

I'm not suggesting it should be, but I suspect enough confusion / accidents will happen that it's worth considering some better parity for this particular case.

We committed to not change/remove flags from beta.1 onwards.

That's unfortunate, but understood. Thanks for discussing.


General Fermi Hubbard model switches x and y dimensions

I just noticed that in hamiltonians/_general_hubbard_test.py there is a test
def test_fermi_hubbard_square_special_general_equivalence(
        x_dimension, y_dimension, tunneling, coulomb,
        chemical_potential, spinless, periodic, magnetic_field):
    hubbard_model_special = fermi_hubbard(
            y_dimension, x_dimension, tunneling, coulomb,
            chemical_potential=chemical_potential, spinless=spinless,
            periodic=periodic, magnetic_field=magnetic_field)
    hubbard_model_general = fermi_hubbard_from_general(
            x_dimension, y_dimension, tunneling, coulomb,
            chemical_potential=chemical_potential, spinless=spinless,
            periodic=periodic, magnetic_field=magnetic_field)
    assert hubbard_model_special == hubbard_model_general

as you can see in the two calls, the order of y_dimension and x_dimension is swapped. If you make them match then the test fails. @bryano do you know what's up with that?

I used the opposite convention for linearizing the indices. The swapping in the test was intentional.

Oh ... I would have given you a hard time about that if I had noticed it before. Is there a particular reason you changed the convention? I think we should be consistent.

I thought I had a reason, but I don't what it is at this point. What do you think about having _hubbard.py just use _general_hubbard.py? The former is just a special case of the latter, but I imagine people have code depending on its interface, so we could just turn it into a wrapper around the general case.
In any case, changing the index linearization convention is just a matter of changing two lines in lattice.py.

I'd rather keep them separate for now. I've been brewing on some more general design changes that might affect all of this.
We should change the indexing convention to match with the original function.

I realize the reason now: my convention is consistent with itertools.product, in the sense that
lattice.to_site_index((x, y) for x, y in itertools.product(range(x_dimension), range(y_dimension))

iterates over range(x_dimension * y_dimension).
Are you okay with my changing _hubbard.py to my convention instead of vice versa?

No, please change the newer code to use the old convention. This isn't a good enough reason to break people's code over.

#493

Fixed in #493


New-SlackAttachment Color param not working in Scheduled Task script

Issue: When I use the Color param in a script and run from Powershell or ISE, it sends the message with the appropriately colored attachment. When I run that same script as a scheduled task, however, everything works except the color isn't added to the attachment.
bonus) HUGE thank you for compiling this module! Even the PSM1 itself is amazing (I pulled chunks out of it to rewrite my PSGoogle module in order to allow a saved, encrypted config file =] )
Also, here's a ValidateSet to add to the param that contains all of the X11 colors available via System.Drawing.Color, if you're so inclined!
[ValidateSet("AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenrod","DarkGray","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","DarkOrange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","Goldenrod","Gray","Green","GreenYellow","Honeydew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenrodYellow","LightGreen","LightGrey","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquamarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenrod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","Seashell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen")]

@nferrell Thanks for the note and reminder!  I've been meaning  to push some local changes, system.drawing.color isn't included with .NET Core, added a helper hashtable of colors-to-hex-codes as an alternative.
On a side note, do you know which version you tried?  @kenerwin88 ran into the same issue and submitted a minor tweak that might work for you in 0.0.15
Cheers!

That's likely it! I'm running straight from the repo here via fork, which is showing me @ 0.0.12 still.
Going to try that out now, thank you for the quick reply!!!

Ahh, that version thing is my bad, I got lazy and added a build step that looks at the gallery and assigns the next version, leaving the GitHub version stagnant - will have to rethink that or add a note to the readme.md.
Cheers!

no worries!
I can submit a pull request with the updated info as well to make it easier =]

closing this out, I'm good to go now!! :dancer:


Add subnets/availability zones to the hub instance pools

What this PR does / why we need it:
The instance pools of the hub didn't receive the assigned subnets/availability zones from tarmak init. This change fixes.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #162
Special notes for your reviewer:
Release note:

Add subnets/availability zones to the hub instance pools.

Thanks @MattiasGees that works really well
/lgtm
/approve


IGListBindingSectionController no longer asserts when reloading the entire section.

Changes in this pull request
Issue fixed: #1174
Checklist

[X] All tests pass. Demo project builds and runs.
[x] I added tests, an experiment, or detailed why my change isn't tested.
[X] I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.
[X] I have reviewed the contributing guide

To test the change, I updated IGTestDiffingObject::isEqualToDiffableObject to not always return YES. Now it does a simple compare for the number of objects associated with the key. That actually triggered the assert that was there previously when running IGListBindingSectionControllerTests::test_whenAdapterReloadsObjects_thatSectionUpdated. Now that I converted the assert to a warning, the test passes again.

Yeah, I'm not sure why the stacked controller change showed up there. Just squash to a single commit.

When will be this released?

@shial4 We made 4.0.0 release yesterday, enjoy!


eth_syncing RPC call returns nullish

Describe the bug
When reth is syncing, making a call to the RPC endpoint for eth_syncing returns a nullish response:
{"jsonrpc":"2.0","result":{"startingBlock":"0x0","currentBlock":"0x0","highestBlock":"0x0","warpChunksAmount":null,"warpChunksProcessed":null},"id":1}

Steps to reproduce

Start reth
Execute an HTTP request: curl -s -X POST --header 'Content-Type: application/json' http://localhost:8545 --data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}'
Get a "bad" response

Node logs
No response
Platform(s)
Linux (ARM)
What version/commit are you on?
v0.1.0-alpha.13
What database version are you on?
No response
What type of node are you running?
Full via --full flag
What prune config do you use, if any?
No response
If you've built Reth from source, provide the full command you used
No response
Code of Conduct

[X] I agree to follow the Code of Conduct

I would expect the call to return syncing: true, highest_block: ... or something similar.

This is the correct behaviour


wasm-pack: 0.11.0 -> 0.11.1

Description of changes
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

lldap
perseus-cli
wasm-pack

Result of nixpkgs-review pr 232114 run on aarch64-darwin 1

2 packages built:

perseus-cli
wasm-pack


Eldritch Blast still bugged I think

When using your premade EB is still bugged.  First casting seems to fire off just fine, but if you cast again the damage roll doesn't happen until the script times out?  It takes up to 5 minutes some times.

midi-qol | called macro error in Eldritch Blast Actor.h3OjgrYi1toVgehg.Item.1G1CFJEWZuplTZAh macro function.chrisPremades.macros.eldritchBlast.damage TypeError: Cannot read properties of undefined (reading '_formula')
at Workflow.damage (eldritchBlast.js:35:45)
at async Proxy.eval (eval at callMacro (workflow.js:1926:17), :3:8)
at async Promise.allSettled (index 0)
at async Workflow.callMacros (workflow.js:1806:17)
at async Workflow._next (workflow.js:679:6)
at async Workflow.next (workflow.js:312:11)
at async Workflow.next (workflow.js:312:11)
at async Workflow.next (workflow.js:312:11)
at async Item5e.doAttackRoll (itemhandling.js:592:3)
at async Workflow._next (workflow.js:507:6)
at async Workflow.next (workflow.js:312:11)
at async Workflow.next (workflow.js:312:11)
at async Workflow.next (workflow.js:312:11)
at async Workflow.next (workflow.js:312:11)
at async Workflow.next (workflow.js:312:11)

Could you run the troubleshooter and put the file it outputs here?

/////////////// Game Information ///////////////
Foundry: 11.311
System: 2.3.1
Chris's Premades: 0.7.28
/////////////// Required Modules ///////////////
Automated Animations: 4.2.67
Build A Bonus: 11.3.0
Dynamic Active Effects: 11.0.18
DFreds Convenient Effects: 6.0.0
Effect Macro: 11.0.1
libWrapper: <IP_ADDRESS>
Midi-Qol: 11.0.22
Sequencer: 3.1.4
Socketlib: 1.0.13
Template Macro: 11.0.0
Token Attacher: v4.5.13
Warpgate: 1.18.3
/////////////// Optional Modules ///////////////
Advanced Token Effects: 0.7.0
About Time: Missing!
Custom Character Sheet Sections: Missing!
Compendium Folders: Missing!
D&D Beyond Importer: 3.4.73
Simple Calendar: 2.4.3
FXMaster: 4.0.2
Item Macro: 1.9.0+1
Jules&Ben's Animated Assets (F): 0.6.1
Jules&Ben's Animated Assets (P): 0.6.1
Quick Insert: Missing!
Small Time: Missing!
Tidy 5e Sheet: Missing!
Times Up: 11.0.3
Visual Active Effects: Missing!
undefined: Missing!


Support switch animate by key event up and down on gh-pages branch.

Hi~
I think it's good to switch preview animates by key event up and down.
It can be preview in my forks: https://tangbc.github.io/animate.css/

Brilliant! @eltonmesquita @daneden this should be included in our biggest update. ;) Thanks @tangbc for your suggestion we will implement this one.

Sorry for the late answer, but the project advanced a lot and I'm changing too many things on the webpage to accept any changes to it now.
Thanks for all the work! Hope to get some contribution from you in the future!


Add owners/members combos not working

After getting application set up, in the the Add member step I am not able to select Owners and Members. Combos does not react to click. Can anyone help?

@goleotti this is an occasional known issue and is a Power Apps service bug. You need to edit the Power App, select the Owners/Members combo boxes and turn off 'Allow searching' then turn this back on straight after.
Once you've done this, save and publish the app.

thank you Alex, I'm sorry: either I have failed somewhere else or the solution does not work for me.
One thing that maybe useful: I have found all combos with 'Allow searching' disabled.

I apologize, I've done the process another one time, and now the combo works!
THANK YOU!

@goleotti Glad to hear you got it working.


build issue

Hello, Thank you for your instruction.
but i have a build issue.
when i built, i receive the follwing message;
Server finished RPC without an explicit exit code
How to resolve ?

What version of L4T are you using?
Is there any more information with the error message?

Hi,
I'm using the version L4T r24.2.1
I tried many times, i got the same message, but the number of compiling isn't same.
following is the recently built message.
[1,215 / 2,435] Compling tensorflow/contrib/tensor_forest/hybrid/core/ops/k_feature_gradient_op.cc
Server finished RPC without an explicit exit code.
Also, I want to know your L4T build options and using swap.
i can't build with swap by shortage of memory.
Thank you.

You probably ran out of memory. As noted in the README.md file, you will need a large swap file to build TensorFlow. If you have no external memory available, a wheel file is available from the link below. However, note that the 4GB memory of the TX1 will limit the complexity of models that can be trained without the use of a swap file. Please see this article for further information:
http://www.jetsonhacks.com/2016/12/30/tensorflow-nvidia-jetson-tx1-development-kit/

Thank you for your assist.
I don't know the existence of the site below.
Now, i installed successful.
http://www.jetsonhacks.com/2016/12/21/jetson-tx1-swap-file-and-development-preparation/


VS Code won't fill screen on re-maximize with custom title bar and menus

VSCode Version: 1.24, 1.24.1, 1.26.0-insider
OS Version: Windows 10 1803

Steps to Reproduce:

Set window.titleBarStyle to "custom"
Maximize VS Code
Restore VS Code
Maximize VS Code

Duplicate of #52265 - this is an issue with electron that has been explored in https://github.com/electron/electron/issues/12971 , and does have a workaround, though it would need some testing to implement is case it created issues with any other code (based on event listeners)

Duplicate


Handle primitives with same function being applied to same column

Pandas relies on the function name when calculating aggregations. This means if a two primitives with same function name are applied to the same column, pandas can't differentiate them. We have a work around to this based on the name property that we test here.

Looks good. Merging.


Fuzzy matching not working

Hi,
The fuzzy matching parameter has no effect:
I tried to return results for https://api.opensanctions.org/search/default?q=Barrrack Obama&fuzzy=true and it should return a result since there's only 1 letter changing
I checked in the code https://github.com/opensanctions/yente/blob/main/yente/search/queries.py#L85 and in Elastic Search documentation, it should work but as a matter of fact, it does not.
Searching on Google returns results linked to a wrong mapping but I could not find any problem in the ES mapping either. I ended up updating the text_query function to this:
def text_query(
    dataset: Dataset,
    schema: Schema,
    query: str,
    filters: FilterDict = {},
    fuzzy: bool = False,
):

    if not len(query.strip()):
        should = {"match_all": {}}
    elif fuzzy and query.find('~') == -1:
        should = {
            "match": {
                "text": {
                    "query": query,
                    "fuzziness": "AUTO",
                    "lenient": True,
                    "operator":"AND"
                }
            }
        }
    else:
        should = {
            "query_string": {
                "query": query,
                "fields": ["names^3", "text"],
                "default_operator": "and",
            }
        }
    return filter_query([should], dataset=dataset, schema=schema, filters=filters)

The reason for this line fuzzy and query.find('~') == -1 is to not mix fuzziness and ~ operator. If query contains ~, the fuzzy parameter is just ignored
@pudo any comment on this ?
I can open a pull request if needed

Hi. I'm just working on an integration test harness for the API, so this comes in useful. So what I think it turns out to be is: "fuzziness": "AUTO" brings in a levenshtein tolerance of only 1 for a string the length of "Barrrack Obama". Adding two extra "r" exceeds that threshold. So I guess the best option would be to make fuzziness default to something other than AUTO, e.g. 2. I don't want to do this on the public API that we operate, since it's a massive performance penalty, but we could introduce and environment setting?

Hi,
I don't think this is related to the AUTO value. I've tested multiple combination directly on Elastic Search with fuzziness=AUTO,1 or 2 and it does not change the results. As a matter of fact, the query https://api.opensanctions.org/search/default?q=Barrack Obama returns 1 result and https://api.opensanctions.org/search/default?q=Barrock Obama%fuzzy=true (changing one "a" to one "o") does not return anything.
I think there's something wrong with the mapping but could not figure what so ended up rewriting the query.

Just to be clear: the guy is called Barack Obama (https://en.wikipedia.org/wiki/Barack_Obama). Barrack Obama is fuzziness=1, Barrock Obama is fuzziness=2. Am I total confused here?

That's true but he also has aliases like Barrack Obama in the data so Barrack Obama is a perfect match according to Elastic Search (which makes fuzzy to 1 when you replace a to o). Anyway, searching https://api.opensanctions.org/search/default?q=Barock Obama does not return any result either.

so for it to return a result for Barock%20Obama is there something that can be configured or added?

Ok so I've solved this question, but the answer is less than amazing. Basically: ElasticSearch never does fuzzy search on all the terms in a query_string query - that's something you have to actively indicate by adding a tilde to the fuzzy term: barock~ obama gives a result.
My take-away: probably a good idea to use /match in yente most of the time if you're trying to match entities. The search API is just that: a way for people to search on the web site...
cf. https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html


Adding force resize checkbox to allow overriding an existing DC/OS deployment without using pipelines

Did we want to add checkboxes to any other operations, like destroy or create?

We decided against it because they use the confirmationModal core stuff to do quite a bit, we would essentially have to write our own from what I understood much like we did with resize and that was more effort than Will thought was necessary. As long as there is one way to do it without a pipeline, even if it is specific, it was felt good enough.

Do we have the ability to easily add help text for this element?  If so, it'd be good to mention why it might be useful.

Yeah, we can add that in.


Installing Robyn in databricks - rlang package version issue

Project Robyn
Describe issue
I am trying and installing Robyn in databricks, It was running fine for few days, when I tried and installed it again, I am getting an issue telling the version of rlang is lower. I tried installing that package separately and installed Robyn afterwards also, but then also the same issue persists.

have you checked this? https://stackoverflow.com/questions/65960432/rlang-not-updating-to-latest-in-databricks


Fix sanitizing of various types of dates/times

Currently only DateTimes are properly sanitized. This excludes Dates and things like ActiveSupport::TimeWithZone

https://rubygems.org/gems/elmas/versions/2.2.1 was just pushed, thanks for the fix!


add clarifying access url note

adding clearer access url info so users have clear guidance on what they need to add for their own region

hey @Victoriapm , opened up this pr to address your excellent feedback! let me know what you think - deploy preview is here


nixos/testing-python: Avoid infinite recursion in node definitions

Motivation for this change
This is a follow-up to #140792 and #144014.
#144014 solves the infinite recursion issue when useNixStoreImage is false. This follow-up solves it in the general case by passing a version of the nodes without additionalPaths to testScript.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

I've translated this PR's logic into part of a module in https://github.com/NixOS/nixpkgs/pull/176557, testScript.nix. I think we'll resolve it that way.


Wrong type annotation in workbook.refresh

Describe the bug
workbooks.refresh is implemented to receive workbook_id as a string type argument, but it can actually receive WorkbookItem as well. The documentation also states that it receives workbook_item.
Implementation: https://github.com/tableau/server-client-python/blob/master/tableauserverclient/server/endpoint/workbooks_endpoint.py#L91
Documentation: https://tableau.github.io/server-client-python/docs/api-ref#workbooksrefresh
Versions

TSC 0.28

To Reproduce
Nothing to do
Results
Static code analysis displays false warnings

@pes-magic Can you mark this as closed by #1319?

Sure, thank you for reminding me


feat: add tactic.simp.trace option

This adds the equivalent of simp? functionality. When you enable the tactic.simp.trace option, every simp, simp_all and dsimp call will print an equivalent simp only call that shows all the statements that were used in the proof.
The simp? tactic abbreviation has not been implemented, and I consider the display itself using Try this: simp only [foo, bar] to be provisional until the LSP support for code replacement actions is up to scratch.
The update-stage0 is needed to make the tests pass, but it can be done independently of this PR.

I didn't look at the implementation.

Does this work with dischargers?
Does it at least work with conditional simp lemmas? → add a test please

I am not particularly happy about the tactic.simp.trace option.  Can't we just wait with that until code actions are in?

Does this work with dischargers?

Yes, for most fancy options and dischargers it just regurgitates the original config arg in the output. I thought about tracking whether options and/or dischargers are "used", but there is no guarantee that the discharger has similar tracing capability so we can only track it at a relatively coarse level and it didn't seem very helpful.

Does it at least work with conditional simp lemmas? → add a test please

yes → ok

I am not particularly happy about the tactic.simp.trace option. Can't we just wait with that until code actions are in?

The work on simp? implementation is largely independent of code actions, and I'd rather not serialize the work. I can remove the words Try this: or use another display method if you have one I can use today. But it's useful to have something that users can play with, because without it no one will notice bugs in the implementation and I can't have test cases for it.

But it's useful to have something that users can play with

Fair enough.  I just want to avoid that this interface becomes official in any way.

I didn't find support for reverting auxiliary theorem names. Please add a test that uses a simp theorem of the form a <-> b. @gebner does something like that in Mathlib 4.

Without testing, my understanding of the solution implemented here is that the name of a simp theorem encodes the "origin" of the theorem, the reason why it is in the simp set. Multiple simp theorems can have the same name if they were decomposed from a common declaration, and the a = b simp theorem derived from theorem bla : a <-> b should have name bla.
I'm happy to implement a more structured type for name instead of overloading fvars, syntax, and declaration names like this. We could also put options and the discharger in there, like gabriel mentioned, although displaying that information will be interesting.

I'm happy to implement a more structured type for name instead of overloading fvars, syntax, and declaration names like this. We could also put options and the discharger in there, like gabriel mentioned, although displaying that information will be interesting.

Great.

Happy with this PR, and ready to merge as soon as stage0 conflicts are resolved.


To-Do + Issues

[x] Weasley's Wildfire Whizbangs | Deluxe Edition NBT Data doesn't work in-game (I need to use .nbt copy instead of FS+I) Fixed
[x] Background of site is horrible
[x] Table needs padding on sides, it's ultra-wide on steroids rn Fixed
[x] README is already outdated/obsolete somehow Touched up, it wasn't actually as bad as my 1am brain thought it was

All tasks done, site now in Beta? Release? v1.Gobbledeegook? It's done! That's all that matters :)


Will there be DuelLinks patterns in future updates

game type speed is a mode similar to Dueling Links,But the speed type duel link is a little different is it possible to get a little closer
duellinks are 20-30 card decks and have additional skills that spawn many new decks

The skill system is tied into the Duel Links client which handles all of the UI and interactions for that. Master Duel doesn't have any code for this. I don't have any plans on working on a Duel Links project.


Update bot-file.md

Update minor documentation error
Fixes #Update content error
Proposed Changes
No Code Change- Only content change

Testing

Pull Request Test Coverage Report for Build 1696

0 of 0   changed or added relevant lines in 0 files are covered.
151 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-2.7%) to 64.433%

Files with Coverage Reduction
New Missed Lines
%

packages/Ludown/lib/ludown-translate.js
1
96.77%

packages/Ludown/lib/translate.js
20
52.08%

packages/Ludown/lib/translate-helpers.js
130
25.83%

Totals

Change from base Build 1695:
-2.7%

Covered Lines:
3810

Relevant Lines:
5628

💛  - Coveralls


DOCS-7637-dwkeywords-duke

added placeholder description where I wasn't sure. Asked for MDA's input on those.


what needs to happen here/ file renames

ftp://ftp.pombase.org/pombe/names_and_identifiers/

[ ]  do we need to archive  allNames.tsv ? why does it have a newer timestamp than the new files

[ ]  I still think it si confusing that these are links that look like empty files

[ ]  Do we need to announce? (I need to respond to Maria) when everything is synched on the ftp

When you are ready....if its a quick job  aim to do in the next week or two and I can tell MAria...

note that people are using these files
https://github.com/geneontology/helpdesk/issues/112#issuecomment-400804786
will we have forwarding links between any old and new file names?

will we have forwarding links between any old and new file names?

Yep, we can make those links.

ACTION: add forwarding for the old names

Hi Kim,
Can you look at this next? I don't think there is much to do here. I just want to let UniPROt know about the  final file location. It's hanging around in my inbox......
(maybe I can do that already...)
Val

https://www.pombase.org/downloads/names-and-identifiers
@mah11  do we also need website updates here?
I got a bit lost with this renaming. I'll try to find the 'history' ticket and link it here.

I can't find the ticket, but we now have 2 files
gene_IDs_names.tsv
and
gene_IDs_names_products-.tsv
here
ftp://ftp.pombase.org/pombe/names_and_identifiers/
this isn't what the website says, But I can point Maria here.
allNames.tsv is deprecated but will be a forwarding link, correct?

gene_IDs_names.tsv and gene_IDs_names_products.tsv are now real files checked into SVN and should update nightly from now on.
allNames.tsv is still link.  I'd prefer to keep it that way if we can because it's identical to gene_IDs_names.tsv.

I told MAria. Which things are outstanding  here?
I think that is it?


Feedback for “Relationships”

hi i get sucsess json output
but i cant read file
and i cant put my website

Hi! Notice that the responses return a top-level data object. This means that if data is your response's json variable, then it'd be data.data.
const res = await fetch(...);
const body = await res.json();

console.log(body.attributes.file);

The error you're getting is because you're trying to access an attributes property in the top-level object, which only has the data and included objects.

thank you


UI Export Big Data , UI Date picker

Dear,
I have two issues in the UI :
1- The Export functionally when the data are big more than 100000 records, it comes with exception.
2- Calendar Date picker not showing  when its used in the report.
Thanks

@basharsvu,

Could you give any more detail as to the error that's occurred with large amounts of data? Is it happening client side or server side?
I usually prefer to handle the date picker code through a simple javascript (mine is handled site wide by targeting the input type of "datetime"). Handling the date picker client side allows you to use a control of your choice rather than the browser built-in. However, you could modify the logic that adds that "type" on the date inputs to use "date" or "datetime-local" to get the built in browser date control. I tested out the "datetime-local" input type and chrome didn't behave until I had fully entered the date and time the parameter was passed as blank.

Alan

Thank you Dear,
Regarding the error for big data , its happening in the server side , due to timeout error, and this is also same problem when you connect to any report at the first time ?! because second time it will be cashed so no time out errors.
So the thing is to figure out a way to optimize the first request to the server , and increase the time out for exporting the big data.

@basharsvu, check out the latest version that I pushed out there a couple days ago. It allows you to override the timeout value for your reports. You would setup the override on your custom report controller.
If you need an infinite amount of time you could use the following:
protected override int? Timeout
{
get
{
return System.Threading.Timeout.Infinite;
}
}
Or something more like 5 minutes using this:
protected override int? Timeout
{
get
{
return 300;
}
}


Leaderlogs Incorrect

Describe the bug
Leaderlogs generated by CNCLI 1.5 days before epoch 465 are incorrect and do not match leaderlogs generated by CLI.
Around 0.5 days into the epoch I forced CNCLI to recalculate the leaderlogs and it produced the same leadership schedule as CLI.
I experienced a similar issue two epochs previously.
To Reproduce
Compare the leadership schedule generated by CNCLI with the leadership schedule generated by CLI 1.5 days before the epoch transition.
Expected behavior
Leaderlogs generated by CNCLI 1.5 days before the epoch change should match leaderlogs generated by running the 'cardano-cli query leadership-schedule'
As requested, active stake is 15,294,532 ₳
I will monitor this over the next few epochs and report if it happens again.

If it happens again, please compress and attach your db as it is likely been corrupted and calculating the nonce incorrectly.  Are you syncing the db just before the time of running leaderlogs, or syncing continuously with a service?

Hi Andrew. I'm syncing the cncli db continuously, it's running as a systemd service. If the db was corrupt wouldn't it produce the same incorrect result when I force the recalculation of the leaderlogs?
I'll let you know what happens in an hour or so when the next leaderlogs are produced.

All good this epoch!

Very strange. Do you happen to know the exact time you ran it when it calculated incorrectly? The only thing I can think of was it grabbed the wrong block for the nonce calculation.  This might happen if you try to run it exactly at 1.5 days until epoch time. Make sure to wait at least 20 minutes after that before running it.

I have the same (stake pool BKV) in the last few epochs, cncli calculates the leadership completely incorrectly (you can check starting from epoch 463 here https://pooltool.io/pool/28affa3c001052c65da45811a019f85df9bdc89c9a48cb24062f0c38/epochs ). I checked/compared with standard cli, standard cli shows the leaderlogs properly ('cardano-cli query leadership-schedule...').
I was trying to fix it by completely deleting cncli db, but it resynced and showed again no proper result.
cncli calculated 8 blocks for me for this epoch (465) and currently saying that I have already missed 3 of them, while standard cli shows only 2 and in the future.
     SlotNo                          UTC Time
-------------------------------------------------------------
     116086022                   2024-02-11 11:51:53 UTC
     116319774                   2024-02-14 04:47:45 UTC

Please, help me fix the issue, I'm losing some delegators who are watching the stats on pooltool...

Can you check to see whether the nonce is calculated correctly for the epoch?

Can you check to see whether the nonce is calculated correctly for the epoch?

Could you guide me or point to the docs how to do it?

With cvcli
bkvbp@cnode-bp:/opt/cardano/cnode$ cncli nonce --byron-genesis ./files/byron-genesis.json -
-shelley-genesis ./files/shelley-genesis.json --db ./guild-db/cncli/cncli.db
1ed47e36537ad7e0d3b9b30c5612bb058e99b0269b8dd4cadcaefbb9845dd5ae

nonce looks the same for cardano-cli and cncli.

Checked cncli manually, the leaderlogs looked good. Looks like some guild scripts were broken, I upgraded them to alpha, started to sync from scratch and now the data is displayed correctly. Thank you for help!

@AndrewWestberg I've the same issue, according to your previous comment, in my case I have different value in nonce using cncli and cardano-cli

I believe these leaderlogs are incorrect due to running too close to the stability window. Do not run leaderlogs at exactly 1.5 days before epoch. Wait another 10 minutes and then run it.


Testlink upgrade - 1.19.18

Hello.
I would like to know if the lastest version released (1.9.17-1)  is compatible with the lastest version of testlink (1.19.18), or the last number is the compatibility between each other (17 -> 18, so, incompatible so far).
Our QA team updated the testlink (from 1.19.14) and now we're facing issues to read attachments and send results. I updated testlink-java-api version but it didn't fix, so we had to change the php class to get attachments on testlink website and API.
On Testlink tlAttachmentRepository.class.php, method getAttachmentIDsFor($fkid,$fkTableName) changed querie to:
SELECT id FROM attachments WHERE (fk_id = 9227 OR fk_id = (SELECT id AS tcversion_id FROM nodes_hierarchy NHTCV WHERE NHTCV.parent_id = 9227 AND NHTCV.node_type_id = 4 ORDER BY id DESC LIMIT 1)) ORDER BY date_added DESC
Thanks!

Hi @viictorh , I have not tested with the latest versions of TestLink.

or the last number is the compatibility between each other (17 -> 18, so, incompatible so far).

The version scheme of the API is as follows
${TESTLINK_VERSION}-${INTERNAL_RELEASE_COUNTER}.
So for TestLink 1.19.18, we would have a release similar to testlink-java-api-1.19.18-0 as a release that is compatible with 1.19.18.

I updated testlink-java-api version but it didn't fix, so we had to change the php class to get attachments on testlink website and API.

If you have time to create a pull request to support 1.19.18, I'd be happy to set up the dev environment to test it. Otherwise, once I have spare time to work on this I'll try to release a new version compatible with whatever is the latest version of TL (normally takes a long time, as I am not using TestLink at the moment, nor receiving any sponsor to maintain the project ATM)
Hope that helps!
Bruno

@viictorh , I had some spare time waiting for Travis builds today near lunch break, did a triage of issues, and realized there's some very old tickets with no reply. In two weeks I will have a long break, so planning to work on a new release soon, where I will try to address every issue, and include as much as possible of the new API.
If you have any other requests, that's the time to put them in :-)
Thanks!

Thanks for the feedback @kinow.
That's all for know.

Heads up, looks like the latest version is 1.9.19: https://github.com/TestLinkOpenSourceTRMS/testlink-code/tree/1.9.19
As I have few development cycles, I feel like it's best to update to the latest, which hopefully will be compatible for a while.


Bug fix: Incorrect step indicator if initialStepState is provided

Addressing the issues raised in this issue
https://github.com/UgnisSoftware/react-spreadsheet-import/issues/250
Using recomended fix from @agnar-nomad

@masiulis  FYI :)

Released in v4.7.1. Thanks @elagasteratou @agnar-nomad!


"IR8FunctionLightString" Fairy Lights exploit fails

I've had issues getting the exploit to work on some very cheap "smart" fairy lights I found out run Tuya.
Not much can be found about this specific product online.
"Smart Life" App shows firmware version 1.0.4 and the name IR8FunctionLightString.
Product packaging is "Dekor" branded and just called "Smarte LED-Lichterkette", EAN<PHONE_NUMBER>073, Article number (on the device) 41958, Imported by Light Trade GmbH for KOFUR Handelsgesellschaft mbH
Also, there's a product video linked on the packaging: http://lighttrade.net/kofur/smarte_lichterkette/
The "proof-of-concept" script seems to work (causes the controller to hang and reboot after some time), however all 1.0.4 profiles I've tried do not seem to work (Exploit run, saved device config too but The profile you selected did not result in a successful exploit after reboot).
On the PCB there's a BK7231N, an IR receiver and a transistor half-bridge to switch the LEDs between the two colors.
Dumping and flashing via serial (pads on the back of the PCB) works fine: readResult_BK7231N_QIO_Lichterkette_2023-16-12-18-49-13.bin.gz

Added as Tuya Generic IR 8 Function Fairy String Lights

The exploit+flashing worked great with the new profile, thank you very much ❤


GEOMESA-2829 Fix SimpleFeatureType parsing for default timestamp fields

Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

Merged as 5e5b1e956808f1ec3e58161900974a49663ecb80.


Bash completion is slow for docker run, docker rmi

In detail (see below for short version)
When doing tab completion for image names for the following commands, there is always a 1 - 2 seconds delay after pressing tab:

docker run <tab>
docker rmi <tab>
...

Additionally, a large number of possible completions is generated (389 on my system), consisting of repositories, image names and image ids. Most of these (~350) are intermediate image ids, which should almost never be used by end users anyway.
I'd also argue that there is no real use case for completing image ids. Normal users won't normally be using numeric image ids, except for debugging. If I don't know the image id, seeing multiple image ids with the same prefix won't help me. (The only use case I can think of are sysadmins).
TL; DR
There are two problems here:

Slow completion (1 - 2 seconds is definitely to slow for interactive use)
Too many (non-useful) completions (389 is too much)

I'd argue that there are the following options to fight the problems above:

Show everything, including intermediate image ids (like docker images --all). This is the current situation.
Show non-intermediate image ids (like docker images).
Only show repositories and tags.
Only show repositories, and show tags only after the user has typed :

I'd vote for making this configurable (e.g. via an environment variable in .bashrc or globally via another file), and making the third option the default. The delay as well as the number of generated completions decrease from top to bottom.
Addendum: Proposal
The configuration option could look like this:
DOCKER_IMAGE_COMPLETION=(all_images|non_intermediate_images),repositories,tags

the default would be:
DOCKER_IMAGE_COMPLETION=repositories

I do not find completing IDs useful. I'm a not sure about whether or not listing tags is desirable. You might get some suggestions about available tags early, but at the cost of cluttered output. In this respect, a more hierarchical way of drilling down (considering tags only after a colon was typed) might be helpful.
Both decisions strongly depend on how many images / tags are available and your personal preference, so a configurable approach sounds reasonable. I do not know of any other configurable completions, but the environment variable approach sounds promising as it is easy to use, implement and document.
I would prefer two environment variables, though:

one for configuring the amount of included image IDs: DOCKER_COMPLETION_SHOW_IMAGE_IDS=all|non-intermediate|none, the default being none
one for whether or not to include tags: DOCKER_COMPLETION_SHOW_TAGS=yes|no for which I suggest a default of no.

#dibs

Did we ever find any examples of other completion scripts (especially in the official bash-completion set) that have configurable knobs so that we can make sure we're following any existing conventions?

I didn't see anything obvious from a previous glance through, but I'll take
another look tomorrow. It would be good to follow conventions.

On my Ubuntu 14.04 machine, I found two examples in the main bash completion file, referencing $COMP_KNOWN_HOSTS_WITH_AVAHI (thought that option was disabled) and COMP_KNOWN_HOSTS_WITH_HOSTFILE. Each is just an "if" block, so I think we're good.


User Home dashboard

Feature Description
The main page after a user successfully signs in. It should show book recommendations. The list should be displayed horizontally in rows.
Major User Stories/tasks

[ ] As a user I should be able to see a slider with the latest books added
[ ] As a user I should be able to see suggested books by categories
[ ] As a user I should be able to see suggested books based on my saved books (at the top of the page, at most 2 rows)

Additional Considerations

As a user I should be able to navigate to the book details page

@sojelee Add that story as part of the issue description. You should be able to edit. Make sure to follow the same style/markdown


SNS-I2C

On a more general note, this isn't particularly testable. I just remembered why I wrote the Gpio dummy the way I did: You want to be able to change the particular type of GPIO/ADC/I2C instance that the code runs with in a single place. This then allows you to do several things:

Test whether the system works in principle, without any hardware.
Write some code that uses the interface and play around with it without requiring hardware. Making these interfaces is hard. Not because the code for reading I2C is particularly tricky, but because you want the interface to be pleasant to use while satisfying all users. One step towards that is to try and use it yoruself in some tests (which may not test for any property other than showing how the interface should be used)

The way I was approaching this currently is testing the code straight away with hardware (since we have the temperature sensor and accelerometer already bread boarded and ready to test with). Though I must mention, this PR was simply to get me started working on I2C properly, since this code from last year will not actually work (we need to be able to read from and write to partiuclar registers which we can't do here). At the moment, I am testing some I2C code locally with a temperature sensor and seeing if it actually works in giving me the expected values (expect this PR latest by the end of next week) (and I want to be able to do this with all the other comms protocols).
As for the general interfaces you mentioned, I will try to get working on those but as you said its difficult to know whether it works in a practical setting which is exactly why I want to straight away push for testing with actual hardware (luckily electronics agrees with us this time around).

The code now actually works and has been tested with a temperature sensor ＼(~o~)／


fix: build on install

Use "prepare" instead of "prepublishOnly" to make sure the plugin is also built when installed directly from github.
This includes the changes in PR https://github.com/capacitor-community/barcode-scanner/pull/82 , so that users can install the fix from this branch directly from github.

Thanks for the PR, again, highly appreciated!
Could you please rebase the relevant commit (https://github.com/ec-lmayr/barcode-scanner/commit/c1b15b50dc873809b90887bf7bcadb0389d87fdd) so that the _checkPermission commit won't cause any problems. Also could you please sign the commit. Just like with the other PR, it is required by the Capacitor team


On dashboard deployment page add a section for "Environment Variables"

To allow to know which Environment Variables (and their values) has been used to deploy the application.

@mebster do you agree for this ?


what's wrong with this ? errors : bugs

why it auto format with error ?
https://twitter.com/xgqfrms/status/822054908551524352

@xgqfrms-GitHub From the gif, it is not clear what actions are being taking. Can you please list the steps to reproduce this.

settings.json
// Place your settings in this file to overwrite the default settings
{
    "editor.tabCompletion": true,
    "editor.mouseWheelZoom": true,
    "editor.lineHeight": 24,
    "editor.fontSize": 16,
    "editor.formatOnSave": false,
    "html.format.wrapLineLength": 80,
    "editor.wrappingColumn": 80,
    "html.format.enable": false,
    "html.format.extraLiners": "/body",
    "workbench.statusBar.visible": true,
    "editor.renderWhitespace": "all"
}

After I change the compiler from Javascript (babel) to  Javascript React , everything  is OK!
vs-babel-format-error


Confusing Subtying Query

I discussed this with you on Tuesday. I wanted to post the queries here to get your input and clarify if there is an issue on my end or if your improved typechecker better handles this.
As a reminder, I have inferred path conditions of the form:
[v:int list | (∃ b, (∃ b!26, (∃ _x10!0, (∃ _x9!0, (∃ a!23, (∃ b!27, (∃ x!16, (∃ b1!8, (∃ a!24, (∃ b!28, (∃ b!29, ((b <=> (size!0 == 0)) ∧ b))))))))))))]
[v:int list | (∃ b, (∃ b!38, (∃ b!39, (∃ x!17, (∃ b1!10, (∃ a!30, (∃ b!40, (∃ _x12!1, (∃ _x11!1, (∃ a!31, (∃ b!41, ((b <=> (size!0 == 0)) ∧ ((¬ b) ∧ b1!10)))))))))))))]
[v:int list | (∃ b, (∃ b!50, (∃ b!51, (∃ x!18, (∃ b1!12, (∃ a!37, (∃ b!52, (∃ b!53, (∃ _x14!1, (∃ _x13!1, (∃ a!38, ((b <=> (size!0 == 0)) ∧ ((¬ b) ∧ (¬ b1!12))))))))))))))]

For the sizedlist example. Most of the existentials there are unused and I believe could be safely simplified away.
I have a target type of [v:int list | ((∀ u, ((len v u) => ((0 <= u) ∧ (u <= size!0)))))] as provided in the specification with (0 <= size!0) in my context.
The path conditions are negated using the provided negate function to give versions like:
(∀ b, (∀ b!50, (∀ b!51, (∀ x!18, (∀ b1!12, (∀ a!37, (∀ b!52, (∀ b!53, (∀ _x14!1, (∀ _x13!1, (∀ a!38, ((b <=> (¬ (size!0 == 0))) ∨ (b ∨ b1!12)))))))))))))

I am testing the subtyping checks when I conjunct this negated path condition onto the target type. The goal is to use this to limit the input space that the final coverage needs to consider(rule out certain branches). The following is the outputted query using the meta-config.json show queries, the result of the subtyping check(true or false), and the coverage type I was using in relation to the target type.
Query:

((0 <= size!0) ∧ ((∀ u, ((len v u) => ((0 <= u) ∧ (u <= size!0)))) ∧ (∀ b, (∀ b1!12, ((b <=> (¬ (0 == size!0))) ∨ b ∨ b1!12))))) =>
(∀ u, ((len v u) => ((0 <= u) ∧ (u <= size!0))))
to_Z3: 0.0001s
false :
[v:int list | ((∀ u, ((len v u) => ((0 <= u) ∧ (u <= size!0)))) ∧ (∀ b, (∀ b!50, (∀ b!51, (∀ x!18, (∀ b1!12, (∀ a!37, (∀ b!52, (∀ b!53, (∀ _x14!1, (∀ _x13!1, (∀ a!38, ((b <=> (¬ (size!0 == 0))) ∨ (b ∨ b1!12))))))))))))))]

Query:

((0 <= size!0) ∧ (∀ u, ((len v u) => ((0 <= u) ∧ (u <= size!0))))) =>
((∀ u, ((len v u) => ((0 <= u) ∧ (u <= size!0)))) ∧ (∀ b, (∀ b1!12, ((b <=> (¬ (0 == size!0))) ∨ b ∨ b1!12))))
to_Z3: 0.0001s
false :
[v:int list | ((∀ u, ((len v u) => ((0 <= u) ∧ (u <= size!0)))) ∧ (∀ b, (∀ b!50, (∀ b!51, (∀ x!18, (∀ b1!12, (∀ a!37, (∀ b!52, (∀ b!53, (∀ _x14!1, (∀ _x13!1, (∀ a!38, ((b <=> (¬ (size!0 == 0))) ∨ (b ∨ b1!12))))))))))))))]

Not that it is false in both directions. I have checked that this is not the result of a timeout in either direction. I have also checked that this has errored in some other fashion but I could be wrong. At the very least, I am looking to see whether you can replicate this on your end. Most of my other subtyping checks that I run work as expected, even using some of the other path constraints... this one just seems unusual.

It seems that there is free variable b1!12 in your showed path condition. If there is a free variable, it means the SMT solver can assign any assignment to it and can easily find a "counterexample" which fails subtyping check.
I am not sure if that it the reason, however, you can try to use functions has prefix fv to check if the property has free variable.
I have add new interface ..._infer (see file typing/termsyn.ml) which can partially infer the type of a function (you still need to provide a function refinement type, since the implementation may be a recursive function, however, the result would be the inferred type instead of the provided one). You can try it via:
dune exec -- bin/main.exe type-infer meta-config.json data/abduction/prog.ml

which will return
Type Infer:
∅
⊢ fun (s : int) ->
  (let ((x!0 : bool)) = (((s : in
...
     int list) : int list) : int list) : int list) ⇨ (s:{v:int | 0 <= v}) → [v:int list | (s == 0 ∧ (lenF v) == 0) ∨ (¬s == 0 ∧ (∃x!1. ((x!1 ∧ (lenF v) == 0) ∨ (¬x!1 ∧ (∃s!1. ((0 <= s!1 ∧ s!1 == (s - 1)) ∧ (∃x!3. (((s!1 < s ∧ s!1 >= 0) ∧ 0 <= (lenF x!3) ∧ (lenF x!3) <= s!1) ∧ (∃x!4. v == (consF x!4 x!3))))))))))]

that contains three types
(s:{v:int | 0 <= v}) → [v:int list | (s == 0 ∧ (lenF v) == 0)]
(s:{v:int | 0 <= v}) → [v:int list | (¬s == 0 ∧ (∃x!1. ((x!1 ∧ (lenF v) == 0)]
(s:{v:int | 0 <= v}) → [v:int list | ∃x!1. (¬x!1 ∧ (∃s!1. ((0 <= s!1 ∧ s!1 == (s - 1)) ∧ (∃x!3. (((s!1 < s ∧ s!1 >= 0) ∧ 0 <= (lenF x!3) ∧ (lenF x!3) <= s!1) ∧ (∃x!4. v == (consF x!4 x!3))))))))))]

By free variable do you mean that it's otherwise unconstrained? It is introduced in the query as a universal quantifier.

If there is a free variable, it means the SMT solver can assign any assignment to it and can easily find a "counterexample" which fails subtyping check.

I understand this as a general principle but not with respect to the query I have included above. Because it is universally quantified, I necessarily want the smt solver to consider all possible assignments of which there are 2, true and false. In the following:
... ∧ (∀ b, (∀ b1!12, ((b <=> (¬ (0 == size!0))) ∨ b ∨ b1!12)))))
if b1!12 is true then this whole part becomes true, but because it's conjuncted on to the target type, this should then just simplify to target type implies target type. Alternatively, b1!12 can be false, in which case this simplifies into exactly what I am interested in, that being the target type conjuncted with the constraint that size!0 is not 0. Given that, the query should be true in one of the two directions. I will look into your inference function changes. It's not clear to me that there is much different in terms of the branch condition that is inferred. Both have existentials that are introduced and otherwise unconstrained.

In general, the SMT solver is trying to find satisfied model for the negation of a query, it means that it treats all unbound variable as existential quantified. For example, in order to check forall a. a > 3 ==> a > 0, it will check if there is an assignment of a such that exists a. a > 3 /\ not (a > 0).
If there is a free boolean variable bbb, for example, it checks forall a. a > 3 ==> (a > 0 /\ bbb), it will check if there is an assignment of a and bbb such that exists bbb. exists a. a > 3 /\ not (a > 0 /\ bbb), in this case, it can find a solution a := 4; bbb := false.
For your case, I don't exactly know what happens without your code. we can discuss on Monday.

Closing this issue as resolved


Plot survival curves with upper/lower bounds

To highlight uncertainty in light of censored data. cc @iskandr

This was added as an option to plot_survival in https://github.com/hammerlab/cohorts/commit/4c559c03b069824bd94a405cc3ee1698f8953d2f


[Bug] Crash in tvm.build when constructing the tir.isnan expression manually by tir.Call

I try to construct the tir.Call expression manually, but after I execute the tvm.build, the program crashes.
Expected behavior
Execute tvm.build() successfully.
Actual behavior
The program will crash if we construct the tir.isnan manually.
And another interesting thing is that GDB can not print the whole backtraces, just like  the image listed below:

Environment
Ubuntu18.04, cmake 3.18.2, llvm 12, tested on latest git 4087e72
Steps to reproduce
Here is the script to reproduce the bug:
import tvm

v = tvm.tir.Var('v', 'float32')
value = tvm.tir.isnan(v)
op = value.op

buf = tvm.tir.buffer.decl_buffer((1,))
value = tvm.tir.Call('int32', op, [0])
s = tvm.tir.Store(buf.data, value, 0)
f = tvm.tir.PrimFunc({buf.data}, s)

tvm.build(f)

import tvm

v = tvm.tir.Var('v', 'float32')
value = tvm.tir.isnan(v)
op = value.op
buf = tvm.tir.buffer.decl_buffer((1,), "bool")
value = tvm.tir.Call('bool', op, [0.0])
s = tvm.tir.Store(buf.data, value, 0)
f = tvm.tir.PrimFunc({buf.data}, s)
tvm.build(f)

Above is what works for me, isnan() seems buggy with integer type now

Thanks for your reply! I found a similar issue discussed in the forum, it seems that isnan / sqrt / ... are designed for floating-point numbers. Though these functions accept a floating-point number, they don't check the date type of parameters, and then cause such crash in codegen. Maybe it would be better to tell the developers that they are floating-point specific functions in the document or somewhere else😂


fix: reserved instances, aurora rds specifics

what
RDS Reserved Instances multi AZ mode is never available for Aurora engines, see images on the console - this PR checks to ensure that it is set to false if the engine is Aurora:

why
That configuration isn't really applicable anyways since this statement from the AWS docs https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_WorkingWithReservedDBInstances.html:

references
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_WorkingWithReservedDBInstances.html

@Gowiem, BTW this was what we discussed. Can't run terratest unforuntately :(

/terratest

Shoot, forgot to terraform fmt and had to commit again

/terratest

Thanks Veronika & Matt!


Readme needs updating with install instructions for latest viewer version

It also seems v24.0.1 exists but hasnt been released on github?

Probably no github release has been done, but the code has been tagged and binaries released.

The release has been added https://github.com/TomographicImaging/CILViewer/releases/tag/v24.0.1


webfontkitgenerator: init at 1.0.2

Description of changes
Add new package webfont-kit-generator.

For some reason

webfont-kit-generator --help

Returns:

Call:
.webfontkitgenerator-wrapped [OPTION …]

It thinks its name is ".webfont-kit-generator-wrapped". Maybe this can be changed.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1626

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/1818

@ofborg build webfontkitgenerator

darwin fails with FileNotFoundError: [Errno 2] No such file or directory: 'gtk-update-icon-cache'

darwin fails with FileNotFoundError: [Errno 2] No such file or directory: 'gtk-update-icon-cache'

That means gtk3 is missing in nativeBuildInputs. Ideally, they would switch to gtk4-update-icon-cache in build-aux/meson/postinstall.py or, better, switch to Meson’s gnome.post_install function (example).

@ofborg build webfontkitgenerator

@ofborg build webfontkitgenerator

@ofborg build webfontkitgenerator

@ofborg build webfontkitgenerator

If you update to 1.0.3, you will no longer need the postinstall.py changes and gtk4-update-icon-cache will be supported rather than just gtk-update-icon-cache from GTK 3:
https://github.com/rafaelmardojai/webfont-kit-generator/commit/fa340d705ad9011ffd58a812d4fb9240e4bdf8ec

@ofborg build webfontkitgenerator

@ofborg build webfontkitgenerator

@ofborg build webfontkitgenerator

downloading a font from fonts.google.com does not work and logs: g-tls-error-quark: TLS support is not available (0).

Probably needs glib-networking in buildInputs, then.


Add hessian computation for sparse softmax xent.

Closes #9368
Implements second derivative for _SparseSoftmaxCrossEntropyWithLogits similar to _SoftmaxCrossEntropyWithLogits. Reference: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/nn_grad.py#L448

Tests that no redundant computation is performed when only the first derivative is requested for computation
Moves IsZero method outside of scope of _SoftmaxCrossEntropyWithLogits so that it could be used by both _SoftmaxCrossEntropyWithLogits and _SparseSoftmaxCrossEntropyWithLogits.

Nagging Reviewer @ebrevdo: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.

LGTM; approval conditioned on all tests passing.

@ebrevdo I fixed unused imports and eager mode related errors, not sure if the rest is related.

Nagging Assignee @yifeif: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@rthadur  any reason ebrevdo's review isn't enough?  I'm not familiar with this code...

@rthadur any reason ebrevdo's review isn't enough? I'm not familiar with this code...

@vrv as this is in backlog for a long time , i was wondering if other reviewers can take a look if ebrevdo's is not available,NM i will wait for ebrevdo's review

I see -- maybe try pinging him and find out if he can find an alternative reviewer who is familiar with the code?

I see -- maybe try pinging him and find out if he can find an alternative reviewer who is familiar with the code?

sure , thank you

Nagging Reviewer @ebrevdo, @ebrevdo, @akshaym, @ebrevdo: You have been added as a reviewer to this pull request. Please add your review or reassign. It has been 14 days with no activity and the awaiting review label has been applied.

this is merged internally , waiting for auto-merge to happen, thank you

This had to be rolled back, unfortunately, because in eager mode the gradient computation accidentally inserts hessian gradients as it can't tell that the input op is a Zeros or ZerosLike.  We'll have to fix this first.


Viewer - Quick Actions

**Is your feature request related to a problem?
It would be great to reduce the steps it takes to set wallpaper. At the moment you have to go to quick actions in the viewer then click three dots then export then set as then pick a program to set wallpaper
Describe the solution you'd like
Two points on this.
Firstly add a quick action called set wallpaper. So immediately you can cut out two steps (click three dots then export)
Secondly ideally rather than use another app set wallpaper sets the wallpaper with an option for home screen, lockscreen or both.
Perhaps retain the current workflow for those who want to use other programs to set wallpaper
Additional context
Really would speed things up massively

All true, but I'm surprised you need quick access to it. Do you often change your wallpaper?

Not that often. Just every time I do I find it annoying :)


QRCode help

Hi, there is any way to print a qrcode with right text? like that image bellow?

Hello there, I believe the only way to accomplish that is using the PAGE MODE. Unfortunately I don't think it has been implemented in this library. But you are very welcome to contribute :)

Since you are brazilian, here is a forum that had it implemented in their open source solution. You can easily check their source code for the necessary commands and implement through a PR in this project.
Below a list of commands that would more likely to be implemented:

ESC L -   Select page mode
ESC FF  - Print data in page mode
ESC T -  Select print direction in page mode
GS $ -  Set absolute vertical print position in page mode
GS  ＼-  Set relative vertical print position in page mode
ESC W -  Set printing area in page mode

Thank you very much! it's saved my life.


Do filtering with fswatch

Just look for files that matches bitwarden_export_*.json

Might not be needed if/when https://community.bitwarden.com/t/pick-filename-when-exporting-vault-from-browser-extension/41761 gets fixed since this is only a problem really for the browser add-ons.


[Steam Tags Importer] Allow to select which tags to import?

Extension
Steam Tags Importer
Describe the solution you'd like
When selecting to import tags for a game it would be nice to if for instance we could ask for 5 tags and then select the ones that we do want to be added. Most of the time I just want to add the Horror tag to games (since Steam doesn't give it a genre) and end up with multiple newly created tags, which then I need to uncheck for the game and then remove from my library.
Screenshots
N/A

I'm no longer developing and maintaining the extension. The extension is now developed by Jeshibu over at https://github.com/Jeshibu/PlayniteExtensions, if there are new feature requests or bug reports please open an issue in that repository


[3.x] Refactor event handlers, drop most emscripten html5 dependencies.

In this PR:

Refactor input events to use our own JS library.
Refactor input JS library into its own file.
Drop window maximize support (it's very hacky, and I think nobody really uses it, just use canvasPolicy == 2, i.e. default).

In an effort to be less dependent on emscripten libraries, this PR drops most of the emscripten_* function usage in favour of internal JS implementations. This gives us more control over input processing, there's more work that could be done on this (e.g. resuming the AudioContext directly from JS), but this PR is growing already quite big, so I'd rather do that in a separate one.
With this, the only emscripten functions left used from C++ are the app lifecycle functions (set/cancel main loop, exit) and webgl related functions (context creation, buffer swapping, GLES compatibility).
3.x version of: #52811

Thanks!


[question] error catch sourcempa needed

our angular project is now catching error by sentry.
but when i had updated angularcli version to 6.0.0,  i can't actually find which row of code cause this error like below

the begin build command is
node --max_old_space_size=2048 ./node_modules/@angular/cli/bin/ng build --aot --prod --build-optimizer --base-href \"/public/\"",
and part of my config file angular.json is below
"production": {               "fileReplacements": [                 {                   "replace": "src/environments/environment.ts",                   "with": "src/environments/environment.prod.ts"                 }               ],               "optimization": true,               "outputHashing": "all",               "sourceMap": false,               "extractCss": true,               "namedChunks": false,               "aot": true,               "extractLicenses": true,               "vendorChunk": false,               "buildOptimizer": true             }
i need help how to open the mapsource , i can exactly find the reason . thank you~

From your config it looks like sourcemaps are disabled for prod builds.
If you take a look at the angular.json , sourceMap is set to false, you probably want to change this to true

@alan-agius4  sorry for my silly. i also have a question. when i change my code, brower will reload current page, this is not my expect. i what the brower updates where i changed without reloading page, because it takes a little long time. if can, thank you very much~

my ng sever command is
ng serve --host <IP_ADDRESS> --disable-host-check --proxy-config proxy.config.js,
i also try --hmr , but not get the desired result

Take a look here: https://github.com/angular/angular-cli/wiki/stories-configure-hmr

@alan-agius4  thank you very much. i try to write a directive by myself ,below part of code,
`import {Directive, ElementRef} from '@angular/core';
@Directive({selector: '[light]'})
export class LightDirective{
constructor(el: ElementRef) {
el.nativeElement.style.backgroundColor = 'green';
}
}alse had declarated on NgModule declarations. and bind to one element, such as<span *light>123`
i can get information inside constructor , but the element display none , and only <-- --> left,
what's wrong with my step, can you help me ?

Hi @BennieMeng, After, reviewing this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular. More your request doesn't fall under to Angular CLI project.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.

@alan-agius4 , ok , thank you for your patient help~


go_1_7: make $out/bin a link to $GOROOT/share/go/bin

Motivation for this change
Things done

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

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Thanks!


BarChart: get bar index on touch?

fl_chart: ^0.12.2 here.
I need to be able to run a callback on touching a BarChart's bar, and I'm using touchCallback to handle this.
I'd like to get info that would tell me which bar has been touched, like an index, and tried to use barTouchResponse.spot, but it's value is always null.

Is it possible?

For anyone coming later, I also was looking for this:
int spotIndex = barTouchResponse.spot!.touchedBarGroupIndex;

Also looking for an answer to this.


Bundled files are not copied to build directory while using sst start

I have a file that I would like to include in the bundle. I have included the bundle.copyfiles file in my lambda function definition.
The file gets copied correctly into the AWS lambda function.
However, when I use sst start the file does not get copied to the local .sst build folder and I get an error.

Hey @adikari, yeah currently sst start doesn't respect the bundle.copyFiles option. The thinking was that when running the code locally, u have access to the file. We now realize this inconsistent behaviour of sst start vs sst deploy is confusing.
We are re-working our CLI to also copy files on sst start. This will be available in a few weeks. (part of a bigger change to sst start).
That said, for now, can u import the file instead of copying it? ie. say if you need to copy a .csv file, u can do this
import fileContent from "./path/to/csv/file"

This way, the file content is bundled right into ur code.
Let me know if this works for you.

Thanks @fwang . i will give that a go and see if that works for me. Looking forward for the sst cli update.

@fwang any updates on this? The approach you suggested won't work for me. The file I am dealing with is a .graphql file and without the appropriate loader, it won't work.

We now realize this inconsistent behaviour of sst start vs sst deploy is confusing.

It's not just confusing, it's essentially broken. One of the primary reasons for using copyFiles is for none build time dependencies, (a graphql file being copied from one service into a stitching service is a good example). Without this working in SST start, it's a bit of an issue.

+1. I'm trying to add SST to an existing nodejs project, and 'sst start' not respecting copyFiles is causing issues.
More details: The existing repo is a fastify api server + background jobs poller and workers. I'm slowly replacing specific workers with Lambda functions. I decided to add SST to the existing repo rather than make a new one to minimize code duplication.


sending data using HTTPS to northbound devices

Moved issue to correct repo on behalf of user @Ajit-T.
Original issue is here -- https://github.com/edgexfoundry/export-distro/issues/43
I am using export services to send my data to northbound end points, HTTP works correctly, but for HTTPS, the log says "x509: failed to load system roots and no roots provided", has anyone ran into this earlier?.......I believe this is something to do with the export-distro docker container, as from my machine I can send HTTPS data using other applications and have ca certificates in place.
I am using Version 0.6.0 California; have same result on Version 0.5.1 California Preview.
Below are the logs from export-distro logging service, the error is highlighted in BOLD
edgex-export-distro | {"level":"info","ts":1531114841.1933942,"caller":"distro/registrations.go:285","msg":"EVENT"}
edgex-export-distro | {"level":"info","ts":1531114841.2013,"caller":"distro/zeromq.go:44","msg":"Event received","event":"{"id":"5b42f5590e360800011729a1","pushed":0,"device":"GS1-AC-Drive01","created":1531114841199,"modified":0,"origin":1531114841157,"schedule":null,"event":null,"readings":[{"id":"5b42f5590e360800011729a2","pushed":0,"created":1531114841199,"origin":1531114841157,"modified":0,"device":"GS1-AC-Drive01","name":"HoldingRegister_8455","value":"173.22"}]}"}
edgex-export-distro | {"level":"info","ts":1531114841.2191534,"caller":"distro/zeromq.go:44","msg":"Event received","event":"{"id":"5b42f5590e360800011729a3","pushed":0,"device":"GS1-AC-Drive01","created":1531114841217,"modified":0,"origin":1531114841183,"schedule":null,"event":null,"readings":[{"id":"5b42f5590e360800011729a4","pushed":0,"created":1531114841217,"origin":1531114841183,"modified":0,"device":"GS1-AC-Drive01","name":"HoldingRegister_2331","value":"true"}]}"}
edgex-export-distro | {"level":"error","ts":1531114841.42404,"caller":"distro/http.go:42","msg":"Error: ","error":"Post https://httpdump.io:443/nzsjs: x509: failed to load system roots and no roots provided","stacktrace":"github.com/edgexfoundry/edgex-go/export/distro.httpSender.Send\n\t/go/src/github.com/edgexfoundry/edgex-go/export/distro/http.go:42\ngithub.com/edgexfoundry/edgex-go/export/distro.(*httpSender).Send\n\t:1\ngithub.com/edgexfoundry/edgex-go/export/distro.registrationInfo.processEvent\n\t/go/src/github.com/edgexfoundry/edgex-go/export/distro/registrations.go:155\ngithub.com/edgexfoundry/edgex-go/export/distro.registrationLoop\n\t/go/src/github.com/edgexfoundry/edgex-go/export/distro/registrations.go:167"}

Most likely certificates need to be added to Docker file from Alpine package manager

@tsconn23 , thanks for your help, I added the certificates from Alpine package manager and got the data going to northbound devices using https.

@Ajit-T Could you share the steps required to add the certificates to the export-distro image?  Did you rebuild the docker image? I am running into the same issue. Thanks


Crash when loading on Windows Server

I ran into a crash when loading H3 on Windows Server 2022, running on an r6i.4xlarge EC2 instance (16 Intel Xeon cores, 128 GB RAM). To reproduce, run the DuckDB v1.0.0 CLI client:
C:\Users\Administrator\Downloads\duckdb_cli-windows-amd64>duckdb -cmd "install h3 from community; load h3;"

C:\Users\Administrator\Downloads\duckdb_cli-windows-amd64>echo %errorlevel%
-1073741819

The output doesn't contain anything but the error code (which is consistently the same).

The above worked for me on Windows 11 so Windows Server might be different enough to warrant its own testing and not great for uncovering Windows 11 issues.

Does Windows report that the process crashed? If so, it would be really helpful if you could attach a debugger and find where the crash happens.
I presume everything works OK if the SQL you run is anything other than load h3?

Hi,
Same issue on Windows 11

how may i attach debugger to give you more feedback ?

ps: tried from an other windows 11 computer ... worked fined there ! 🧐
i'll try to reset duckdb on my 1st windows pc & install again h3
PS: congrat's for this great library, can't wait to use it on a side projet on Montreal's bikeshare data 😎

Problem solved 🦆🚀
thanks to Microsoft Visual C++ Redistributable update
cf. https://github.com/duckdb/duckdb/issues/13848#issuecomment-2343817545

Hi all, this is a variation of this bug: https://github.com/duckdb/duckdb/issues/13848.
I tried to write down what happened and how it can be workarounded or fixed at: https://github.com/duckdb/duckdb/issues/13848#issuecomment-2352674000
If we had connected the dots earlier that might have saved some bugs report, BUT, good think is that now we know what happened AND how to fix it.
I rebuilt h3 and I am double checking if any other community extension needs rebuilding, but I would consider this solved moving forward.

This is resolved with v1.1.1, so closing this.


Age backend: Cannot not create an account and show it within the same session

Summary

Steps To Reproduce

yml@kodi-T470s$ ./gopass
gopass> create
[ 0] Website Login
[ 1] PIN Code (numerical)
[ 2] Generic

Please select the type of secret you would like to create [0]: 0
0
=> Creating Website login
  [1] URL                           []: toto.com
  [2] Login                         []: foo
  [3] Generate Password?            [Y/n/q]: y
    [a] Human-pronounceable passphrase? (see https://xkcd.com/936/) [y/N/q]: y
    [b] How many words?             [4]:
  [4] Comments                      []:
✔ Copied websites/toto.com/foo to clipboard. Will clear in 45 seconds.
gopass> show toto
Entry 'toto' not found. Starting search...
Found exact match in 'websites/toto.com/foo'
Decryption failed: failed to obtain passphrase: no callback

Error: failed to retrieve secret 'websites/toto.com/foo': Failed to decrypt
gopass> show titi
Entry 'titi' not found. Starting search...
Found exact match in 'websites/titi.com/foo'
Decryption failed: failed to obtain passphrase: no callback

Error: failed to retrieve secret 'websites/titi.com/foo': Failed to decrypt
gopass> show websites/toto.com/foo
Decryption failed: failed to obtain passphrase: no callback

Error: failed to retrieve secret 'websites/toto.com/foo': Failed to decrypt
gopass> ^D
~/Dropbox/Devs/gopass master
yml@kodi-T470s$ ./gopass show toto
Entry 'toto' not found. Starting search...
Found exact match in 'websites/toto.com/foo'
Comment:
Password: Paper Squid Disfigure Bronzing
Url: toto.com
Username: foo

Expected behavior
I expect to be able to create an account and show it within in the same gopass session and entering the ssh key password only one time.
Environment

OS:Ubuntu 18.04.5 LTS
gopass Version:

gopass 1.10.0+a6031515 (a6031515 2020-08-24 11:09:18) go1.15 linux amd64
<root>     -  age 0.0.1 -   fs 0.1.0
Available Crypto Backends: age, gpgcli, plain
Available Storage Backends: fs, gitfs, ondisk

Installation method: source

Additional context

Strange. This looks like a bug. Thanks for reporting.
I'll try to fix this, but don't expect a fast resolution.

I tried to reproduce today, but it didn't work.
On my side I can display it directly after creating it.
How did you initialize your age store? Do you have a passphrase on your age identity?

The age backend has changed quite a bit since then. This might have been resolved. But since I was never able to reproduce it I can't tell for sure.


Solidify external communication channels

What happened (or feature request):
It would be helpful if there was a mechanism for end users to communicate more directly with other community members to get help with problems and collaborate on ideas.  We would like to be as broad as possible and not exclude people by focusing to narrowly on a specific community, but that may be difficult to do.  One suggestion we have had is to create a slack room in broader community teams.  This works well with the Drupal slack teams https://www.drupal.org/slack, but less well with the WordPress slack teams https://make.wordpress.org/chat.  Initial testing allowed us to create a #ddev room in Drupal's slack, but not in WordPress.
There are a few questions we should address before pushing this too much farther than it has already gone.

Do we want to use Slack as a medium for open chat-like communication?
Are rooms in larger communities appropriate or should we try to have our own?
How do we message and communicate that these avenues for communication exist.
How responsive should we expect our internal team to be in these rooms?

Right now we have the following ways:

GitHub issue queue (accessible to anyone with a GitHub Account)
Twitter (accessible to anyone with a Twitter Account)
Slack: Drupal #ddev (accessible to anyone that registers)
Slack: TYPO3 #ddev (accessible to anyone that registers)
Stackoverflow (although we do not actively monitor).

At this point, this seems like it's working. We probably will need to evaluate in the future because joining one Slack room per community will eventually become untenable and it might exclude parts of the community that won't use Slack. However, we always have GitHub as the ultimate source of truth.


Character creator

Describe your bug here.
When I try to put another character, I put the image file and the xml file in the "shared/images/characters" folder, and when I try to put the character, I put the character's name correctly and it doesn't load. Please fix that in version 0.53h
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Nop

try putting it in the mods folder

You have to put it in mods/images/characters/, not assets/

@ShadowMario Thank you!


Fix freebsd default rules

Pull Request (PR) description
FreeBSD don't have any log file wtmp or btmp. So put logrotate rules by default on this files are useless.
The modification was tested on FreeBSD 11.1 with success.
This Pull Request (PR) fixes the following issues
There is no issue on it.

Thanks @kapouik !


Make canonical always present, but set a default value if not defined

Hello,
Lot of SEO software mark the absence of canonical URL as a bad point in term of SEO. It seems to be better to always define one, even if it's the same url than the page you are actually viewing.
Knowing that, I would change a little the SEO Storm component, removing the condition that check the canonical variable, but define a default value to the actual page when it's not present.
Best regards,

Bump, what do you think about this PR ?

Thanks @PubliAlex  , this will be implemented in the next version of the plugin


Rate-limit hard coded incorrectly

Small error, but when the rate limit has been reached, the error message printed with the 429 status code indicates that the rate is limited by calls per second:
https://github.com/Instagram/python-instagram/blob/master/instagram/bind.py#L126-137
Where it should be per hour:
https://instagram.com/developer/limits/

The lines where this happens are (based on latest commit in master when I added this comments):
https://github.com/Instagram/python-instagram/blob/cd9839efc2546f28f87ede2e333334eeee1d4199/instagram/bind.py#L126
https://github.com/Instagram/python-instagram/blob/cd9839efc2546f28f87ede2e333334eeee1d4199/instagram/bind.py#L134

Thank you for reporting this issue and appreciate your patience. We've  notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.


dispose of files encoded with utf8 with bom, and add some test

I have some question when parsing html files encoded by utf8 with bom, and some unexpected things occured, for example, the Title that should not exits in results. I find it's because of bom. So I add this test.
Now, input will be check if it has bom header, if so, remove the header, then every things go on well.

Hi @ssor!
This is an interesting find!
Overall I'm open to merging this, but there were a number of things which need to be cleaned up.
Also, I like ssor/bom, but before I'll consider including it in this project it must have a more detailed README explaining what it does and why it's useful, as well as unit-tests.

Hello, @jaytaylor , I have fix the code, and travis-ci build passed. Thank you for your advice!

@jaytaylor hi, is there still anything not correct? I will fix it if so

@ssor Looks good- thanks!


Update windows-iot-core.md

add space at the end of table

Docs Build status updates of commit ab31cde:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows-iotcore/windows-iot-core.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Could/Should discovery message be marked as retained?

See https://mosquitto.org/man/mosquitto_pub-1.html

-r,
--retain
If retain is given, the message will be retained as a "last known good" value on the broker. See mqtt(7) for more information. Note that zero length payloads are never retained. If you send a zero length payload retained message it will clear any retained message on the topic.

This means that the discovery messages are retained even if HA is restarted

Note: I since discovered there is a listen_for_HA_start so maybe this isn't needed after all.
I just found it strange when I inspected the mqtt topics in mqtt explorer.


Expose diagnostic educational notes as diagnostic codes

This is an updated version of https://github.com/apple/sourcekit-lsp/pull/275 which works with both 5.3 and trunk toolchains, and uses the latest version of the Proposed LSP 3.16 spec.
A couple of notes:

LSP 3.16 still isn't final, but hopefully will be soonish afaict. The "diagnostic links" feature has changed quite a bit since the last version of this PR. Now, the link is contained in an optional CodeDescription property on diagnostics.
Once the spec is final, some of the dependencies of the VSCode extension will need to be updated to take advantage of this change. Using the current version of the extension with this change doesn't break anything, but the codes don't get displayed. Getting users to update might be a problem since they will need to build the extension from source to get the latest features.

@swift-ci please test

Once the spec is final, some of the dependencies of the VSCode extension will need to be updated

Is the support available in a released VSCode yet, or are you anticipating this won't happen until 3.16 is finalized?

@benlangmuir VSCode 1.51.0 was released a few days ago and supports the new field, but previous versions have supported other incompatible versions of the feature so we might still want to wait until the spec is finalized.

@swift-ci please test

@swift-ci please test

Hi @benlangmuir, it looks like the LSP 3.16 spec is finalized now (https://microsoft.github.io/language-server-protocol/specifications/specification-current/), so I think this should be good to go. I also updated the VSCode extension's dependencies to support the new additions to the protocol, but I can split that into a separate PR if you prefer

Please add testEducationalNotesAreUsedAsDiagnosticCodes to Tests/SourceKitLSPTests/XCTestManifests.swift.  We haven't adopted test discovery on Linux yet (waiting until it's available in a release).
Otherwise LGTM!

I also updated the VSCode extension's dependencies to support the new additions to the protocol, but I can split that into a
separate PR if you prefer

Keeping it in this PR is fine with me.

@swift-ci please test


Upgrade to Spring Boot 1.5.17

Pull Request Test Coverage Report for Build 365

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 64.944%

Totals

Change from base Build 363:
0.0%

Covered Lines:
465

Relevant Lines:
716

💛  - Coveralls


nodejs: disable flaky test

See:

https://github.com/nodejs/node/pull/47316
https://github.com/nodejs/node/issues/47200
upstream fix https://github.com/nodejs/node/pull/55959

Things done

Built on platform(s)

[x] x86_64-linux

[x] Fits CONTRIBUTING.md.

Maybe we should get the timeout increased upstream, since they think the issue is fixed?

Sure, I'll try. Maybe I can even drop the broken pattern of "do something + assume it is done after X ms".

I meant just reporting it upstream as not quite fixed would be a good step :) But thank you if you do take on the task of patching it!

If it's caused by https://github.com/nodejs/node/issues/54918 (and my guess is that it is), increasing the timeout won't help.

If it's caused by nodejs/node#54918 (and my guess is that it is), increasing the timeout won't help.

It is not, I think. My fix https://github.com/nodejs/node/pull/55959 seems to work.

Can you update this PR to cherry-pick https://github.com/nodejs/node/commit/b6fe731c55eb4cb9d14042a23e5002ed39b7c8b7 instead of skipping the test?

I suppose we should backport this?


Add escape codes for hideCursor and showCursor

i.e. https://gist.github.com/drm/1688256 or equivalent for Dart escape sequences.

Fixed @ HEAD.


[Cosmos] Fix type comment

Fixes #12570

PyCharm seems happy with the proposed solution:

Thanks @notlaforge! Even though it's tiny - could we please add a line to the changelog that has a reference to the issue number?

Oh yeah ofc


Add Yoru Theme Provider

Theme provider is used to wrap all the theming variable so the component can use the theme provided by @yoru-ui/themes

[ ] Add Global Styles on themeProvider