Feature/upgrade dbt integration

Codecov Report
Base: 81.03% // Head: 82.77% // Increases project coverage by +1.73% :tada:

Coverage data is based on head (3d7a9be) compared to base (9c17d23).
Patch coverage: 79.71% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #46      +/-   ##
==========================================
+ Coverage   81.03%   82.77%   +1.73%
==========================================
  Files          44       47       +3
  Lines        4847     4720     -127
  Branches     1079     1039      -40
==========================================
- Hits         3928     3907      -21
+ Misses        697      603      -94
+ Partials      222      210      -12

Impacted Files
Coverage Δ

metrics_layer/core/utils.py
54.54% <ø> (-21.07%)
:arrow_down:

metrics_layer/core/sql/single_query_resolve.py
85.71% <50.00%> (-3.18%)
:arrow_down:

...s_layer/core/parse/project_reader_metrics_layer.py
54.54% <54.54%> (ø)

metrics_layer/cli/cli_commands.py
86.25% <66.66%> (+2.55%)
:arrow_up:

metrics_layer/core/parse/github_repo.py
63.15% <66.66%> (-2.03%)
:arrow_down:

metrics_layer/core/parse/project_reader_base.py
70.23% <70.23%> (ø)

metrics_layer/cli/seeding.py
76.54% <72.09%> (+1.22%)
:arrow_up:

metrics_layer/core/query/query.py
80.57% <80.00%> (+1.62%)
:arrow_up:

metrics_layer/core/parse/project_loader.py
82.10% <82.10%> (ø)

metrics_layer/core/parse/project_reader_dbt.py
92.24% <92.24%> (ø)

... and 11 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


World not loading / Update to 1.20.5/6

Describe the bug
The game launches in 1.20.6, but cannot load worlds.
To Reproduce
Steps to reproduce the behavior:

Install 1.20.6 + this mod (1.4.14-1.20.4)
Create a new world
See error ( Connection Lost: Invalid player data )

Expected behavior
World should load
Screenshots
N/A
Device Info(please complete the following information):

OS: Windows
Minecraft Version: 1.20.6
Version: 1.4.14-1.20.4

Additional context
Seems like a bunch of mixins failed to apply.

1.20.5 version available in the artifacts for the actions run about #50

Thats nice for local testing, but unfortunately I can't use it  until it's merged and released on Modrinth, since that's the only way I can get it on Aternos.


[HELP] Error when using ImportFromTiffTask

Resources
Link: ImportFromTiffTask
Question
I am trying to create an eopatch by importing Sentinel-1 .tiff files using ImortFromTiffTask. However, I am facing this error

Can someone pls help me on this

Answered in the forum post.


Setup of basic barebones

@santhoshivan23 can you link the git committer to the github account?

@santhoshivan23 can you link the git committer to the github account?

@hsluoyz I've already done that. Not sure why it doesn't reflect

@hsluoyz I've already done that. Not sure why it doesn't reflect

You need to add<EMAIL_ADDRESS>to your GitHub's Emails.

You need to add<EMAIL_ADDRESS>to your GitHub's Emails.

You need to add<EMAIL_ADDRESS>to your GitHub's Emails.

@hsluoyz Done! Sorry, My univ's email was the only primary email before

You need to add<EMAIL_ADDRESS>to your GitHub's Emails.

@hsluoyz Done! Sorry, My univ's email was the only primary email before

@KNawm Made the required changes! Could you please checkout the factory constructor thread?

@KNawm Made the required changes! Could you please checkout the factory constructor thread?

@hsluoyz @KNawm I'm slighly busy due to exams. Will definitely update the PR with the mentioned changes before Feb 7.

@hsluoyz @KNawm I'm slighly busy due to exams. Will definitely update the PR with the mentioned changes before Feb 7.

@santhoshivan23 thanks!

@santhoshivan23 thanks!

@KNawm Made the required changes by adding private constructor and routed through factory constructors.

@KNawm plz review.

@KNawm @santhoshivan23 any update on this PR?

@santhoshivan23 are you still interested in this PR? Looks like we just need some tests.

Yep! Will add some basic test cases. We don't have a working enforcer model though, just the barebones. How should we test the API?

@KNawm I think we can leave the test a little behind, given the code doesn't work yet. this PR is expected to have good data structure design, coding style, etc.

@KNawm I think we can leave the test a little behind, given the code doesn't work yet. this PR is expected to have good data structure design, coding style, etc.

Yeah, you're right, we can land this PR in the given state.

@santhoshivan23 hi, are you a GSoC student?

@hsluoyz no! what's up?

@santhoshivan23 you start to contribute a lot during GSoC season, so I misunderstood it :)
BTW, are you willing to be a joint mentor for Dart-Casbin? @KNawm will be the primary mentor and you and I will be the joint-mentor. If yes, plz provide me the Email. Thanks!

Sure! It's<EMAIL_ADDRESS>

@santhoshivan23 plz accept the Email

@hsluoyz Done! Thank you so much!


[Tooltip] Open relative to the mouse

proposal:
Add an option to tooltip so that the position is relative to the mouse position and not the element position.
What is the expected behavior?
We should be able to have the tooltip appear next to the mouse.
What is the current behavior?
When there is a tooltip attached to a big (visually) element, the tooltip appears around the component, but very far from the mouse.
What is the use-case or motivation for changing an existing behavior?
Sometimes it makes no sense to have the tooltip so far from the mouse: the user is expecting it to appear close.

@andrewseguin sorry I have some more questions before I try to implement it, I've not worked with overlays, positioning and visual mouse things yet :)
If I correctly understand how things work, the overlay is responsible for positioning the tooltip. Does this means that depending on the configured position (above, below, etc), the offset will have to be computed differently?
How can I retrieve the correct origin coordinates (of the elementRef the tooltip is attached to) to compute the offset from? Am I limited to using HTMLElement.getBoundingClientRect and find the coordinate from there based on the value of the configured position? Or do I have some more high-level options?
Also, what would be the correct way to retrieve the pointer position?
Thanks :)

What's the status of this? Any progress so far?

still 😁

I do not expect this to reach a high enough priority for us to be able to implement. This may be a great opportunity for a contributor to add. I'd expect it to add an Input that opens the tooltip based on the mouse position rather than element container.

@andrewseguin I've added a PR for this feature at https://github.com/angular/components/pull/25202


jstree .on(changed.jstree) and .refresh

Goal:  change metadata of checked node(s) and refresh the tree to show the updates.
Here for testing purposes, I change the .text field (instead of metadata) of checked nodes.
Once processed, I do not see the updates on the text field BUT if I expand the node (clicking on the arrow of the node) then the tree get refreshed and the parent node and its children text are shown with the text changed.
I would like the text being changed when I clicked, i.e. after processing the following function.
Here is my code
$('#AddrT').on('changed.jstree', function (e, data)
{
	for(i = 0; i < data.selected.length; i++)
	{
		data.instance.get_node(data.selected[i]).text = "new text";
                    // changed 8 times for the parent node and its 7 children
	}
});
$('#AddrT').jstree(true).refresh();

BEFORE checking the nodes:

AFTER checking the nodes (no change):

AFTER closing and expanding the parent node (this is what I am expecting from my code but without closing and opening the node)

That line: $('#AddrT').jstree(true).refresh(); should be inside the event handler and it will work as you expect it to.


Expose support to read/write data from generic data sources

See spark_data_write_generic from https://github.com/rstudio/sparklyr/blob/master/R/data_interface.R

Resolved with https://github.com/rstudio/sparklyr/pull/624


website: update playground to Go 1.6

We need to update the playground.  Assigning to Andrew to decide who should do it.

I'll do it.


RI vs15.5

The only meaningful change was a port of a change that's already in master, but this will help with git bookkeeping--the prior release should always be an ancestor of a subsequent release.

NOTE NOTE NOTE: I was lazy and did this through the web UI, and to resolve conflicts I moved the vs15.5 branch pointer. If we need to service 15.5, we need to create a new branch.

Shouldn't we just reset vs15.5 to e4c819961e3154152cd0c47681527784632aa55f and force push?


Internal variables for states

It would be useful to have states' own internal state variables, e.g., the variable that is available only within this state and accessible and can be mutated by all state events.
currently, this will be an error
fsm = new SnowState("walk")

fsm.add("walk", {
	_some_internal_var: 123,

        enter: function() {
            // error Variable _some_internal_var not set before reading it.
           show_debug_message(_some_internal_var)
        }

       step: function() {
           // error Variable _some_internal_var not set before reading it.
           show_debug_message(_some_internal_var)
       }

It is less likely for state-specific variables to be a thing in SnowState. You have to use instance variables instead.
There is a workaround though, which I highly discourage. You can declare instance variables in the enter event and use it in the state.
fsm = new SnowState("walk");
fsm.add("walk", {
       enter: function() {
           __walk_internal_var = 123;
       },
       step: function() {
           show_debug_message(__walk_internal_var);
       }
}


tf_transformations.euler_from_quaternion() is incorrect.

tf_transformations.euler_from_quaternion([0.998, 0.064, 0, 0]) is supposed to return [0.123, 0, 0], but it returned [3.1415926, -0.0, 0.12289]. The angle doesn't work well.

That's part of the problem with euler angles isn't it? You can have multiple representations of the same angle that are equivalent. The math seems to check out here for me.

In the given link, it also gives the Euler angle (XYZ as default) of [ x: 0.1280811, y: 0, z: 0], but tf_transformations.euler_from_quaternion([0.998, 0.064, 0, 0]) returns [3.1415926, -0.0, 0.12289], which is wrong.


Enabling this kills the search text input in the readthedocs theme

I was wondering why the cibuildwheel site has no search input. So I created a minimal reproducer mkdocs.yml
site_name: My Docs
theme:
  name: readthedocs

plugins:
  - include-markdown

With the last two lines: no search box. Without them, search box appears. Any ideas?

If I'm not wrong, you need to explicitly specify the plugin search in the plugins object because (I think) the default plugins are overwritten:
site_name: My Docs
theme:
  name: readthedocs

plugins:
  - include-markdown
  - search

That works for me, the search bar reappears, could you confirm if works for you as well?

Yes, that does it thanks!

You may want to mention it in the README.md, since the search plugin is implicitly enabled by default in most themes.

You may want to mention it in the README.md, since the search plugin is implicitly enabled by default in most themes.

Every plugin has to mention this? I think that is a problem with documentation or implementation of Mkdocs or the theme itself.

My bad, it is there at the top of the plugins documentation. Sorry for the bother.

xref mkdocs/mkdocs#2319


Problems rendering multiline items in Tree.

Godot version
4.1.dev
System information
Ubuntu 22.04.1 LTS
Issue description

When I click one of the items it becomes normal, but the little line on the left doesn't match the icon:

Steps to reproduce
Go to the Node tab in the editor.
Minimal reproduction project
N/A

Probably a regression from #61714 ? CC @dalexeev

Funny thing to call it a regression when the functionality didn't exist before... but yep.

Funny to call it a regression since the functionality didn't exist before... but yep.

By regression he likely meant it looked good and now it looks terrible ...


Frequent WDT resets or exceptions when connecting to WiFi

This happens with homie 2.0 develop with an ESP 12F
When my device boots up, the following output is logged via serial several times unti Wifi finally connects successfully. There are several exceptions/WDT resets after the "Attempting to connect to Wi-Fi..." message. Sometimes they occur before the Wi-Fi connected message is shown, sometimes after, like in the attached log. As far as I have understood it, the setupHandler is called after the MQTT_CONNECTED event, so there's none of "my" code involved. This doesn't happen all the time, only very often, so I don't know where to look. Possibly an initalization problem (on my part)?
💡 Firmware ota-basic (1.0.0)
🔌 Booting into normal mode 🔌
{} Stored configuration
• Hardware device ID: a020a6117237
• Device ID: a020a6117237
• Name: Developer
• Wi-Fi:
◦ SSID: xxxxxx
◦ Password not shown
• MQTT:
◦ Host: <IP_ADDRESS>
◦ Port: 1883
◦ Base topic: homie/
◦ Auth? no
• OTA:
◦ Enabled? no
↕ Attempting to connect to Wi-Fi...
✔ Wi-Fi connected, IP: <IP_ADDRESS>
Tbiggering WIFI_CONNECTED event...
Exception (0):
epc1=0x402049b0 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4024012a depc=0x00000000
ctx: sys
sp: 3ffffd60 end: 3fffffb0 offset: 01a0

stack>>>
3fffff00:  3fff10d0 3fff1b54 3fffff50 40201400
3fffff10:  3fff10d0 3fff1b54 3fffff50 40208a95
3fffff20:  3ffe84d8 cf00a8c0 001a8ebc 4022bed1
3fffff30:  3fff2220 3fff3efc 3fff430c 4021fa87
3fffff40:  4010075a 00000000 60000600 40214d80
3fffff50:  3ffe84d8 cf00a8c0 3ffe84d8 00ffffff
3fffff60:  3ffe84d8 0100a8c0 00000000 00000005
3fffff70:  00000002 3fff430c 3fff3f24 40214ff2
3fffff80:  40104a1e 00000002 00000000 3ffea038
3fffff90:  3fffdc10 00000000 3fff430c 402250c0
3fffffa0:  40000f49 3fffdab0 3fffdab0 40000f49
<<<stack<<<

ets Jan  8 2013,rst cause:2, boot mode:(3,7)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v3ffe8498
~ld
▒H▒H▒Device: ESP_117237
ChipID: 117237
Last reset reason: Exception
Memory size: 4194304 bytes
Free heap: 36920 bytes
💡 Firmware ota-basic (1.0.0)
🔌 Booting into normal mode 🔌
{} Stored configuration
• Hardware device ID: a020a6117237
• Device ID: a020a6117237
• Name: Developer
• Wi-Fi:
◦ SSID: xxxxxx
◦ Password not shown
• MQTT:
◦ Host: <IP_ADDRESS>
◦ Port: 1883
◦ Base topic: homie/
◦ Auth? no
• OTA:
◦ Enabled? no
↕ Attempting to connect to Wi-Fi...
✔ Wi-Fi connected, IP: <IP_ADDRESS>
Triggering WIFI_CONNECTED event...
ets Jan  8 2013,rst cause:4, boot mode:(3,7)
wdt reset
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v3ffe8498
~ld
j▒▒H▒Device: ESP_117237
ChipID: 117237
Last reset reason: Hardware Watchdog
Memory size: 4194304 bytes
Free heap: 37360 bytes

ctx:sys means that the error occurred in the SDK stack (while ctx:cont would mean the sketch stack). So at first I would not seek an error in the Homie code. Is your SDK up-to-date? Can you decode the stack dump?

Thanks for the tips,
I'm working with PlatformIO and pio update shows everything in green, so I'd say the answer to your first question is yes.
The stack dump is the "rare" event. 90% of the time it's a WDT reset.
How would I decode a stack dump with PIO? I've just found a plugin for the standard Arduino IDE.

I wouldn't know. I had such a case and recompiled with the Arduino IDE.

thanks, will give it a shot.

I think this has been fixed with https://github.com/marvinroger/homie-esp8266/commit/57cb4d026ef912fcda01233384dd8e51588515ab as well. My "basic ota" firmware doesn't have any homie nodes. I flashed it as "clean homie init" many times since and the problem hasn't occured anymore.


Jm/pascal

for inspection.
This uses the new set of messages.

I'm re-opening so I can do a partial review; for merging I think we should create minimal commits, but this is a fine place to put some review.


Private items cannot be seen by the owner

When some item is marked as private, the owner cannot see it, but it shows a "We're unable to find this page." message.
Maybe a better message could be generated or allow the item to be seen by the creator.

+1
Owner should be able to see private items

We'd accept a PR solving this, thanks!

#238 PR opened


The selected entity is still selected after manually refreshing the table explorer

Storage Explorer Version: 1.29.0-dev
Build Number: 20230224.3
Branch: feature/table-explorer-react
Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Ventura 13.2.1 (Apple M1 Pro)
Architecture: ia32/x64
How Found: From running test cases
Regression From: Previous release (1.28.0)
Steps to Reproduce

Expand one storage account -> Tables.
Right click one table -> Click '[2] Open'.
Add one entity -> Select the entity.
Click 'Refresh'.
Check whether the entity is selected or not.

Expected Experience
The entity is not selected.
Actual Experience
The entity is selected.

Verified this issue on the build 20230307.3. Fixed.


Wrong argument order for apt-key. Fails on Ubuntu 20.04.1 LTS

This patch changes the order of the arguments for the apt-key command. The --keyring option to apt-key must come before the "add" command otherwise this step will fail. See the manual page of apt-key for correct syntax.

/kind bug
too


Fix some content files in Microsoft.Build.Runtime

Not all files in the package were marked as "Content" because they are in a different item group.

Disable AddAppConfigToBuildOutputs otherwise we end up with an app.config in the netstandard2.0 folder
Copy _BuildOutputInPackage to _PackageFiles with metadata so that all files in the package are content files
Clear _BuildOutputInPackage since we don't want any files in the package to NOT be content

@dotnet-bot test OSX10.13 Build for CoreCLR please


Fixed background attachment issue on Firefox

Noticed an issue with fixed background attachments in Firefox. Please see this link for demonstration: http://elemisdesign.com/ascensor/examples/fixed.html#Implementation I have a div with a fixed background attachment on Floor 2. It appears properly on Chrome but the image is not available in Firefox. When I move this div on the first floor, it works in Firefox too. But not when it is on other floors. Any ideas on how to fix it?

I can't see it in chrome either, why do you need the background to be fixed?

Also noticed today, some weird story with different browsers. Properly on Safari, but no luck with latest Chrome and Opera. Old Opera (v.12) works fine. Partly works on FireFox. All on OSX. Probably, this is a WebKit buq with translate: http://codepen.io/herzflimmern/blog/chrome-bug-with-fixed-background-and-translate3d


org.opencontainers.image.url label definition is ambiguous

The org.opencontainers.image.url label is defined as "URL to find more information on the image", but it is also documented as being compatible with label-schema, which defines this field as "URL of website with more information about the product or service provided by the container".
So in the OCI case, I could reasonably interpret this as a link to information about this image itself (not a link to the software provided by the image). I don't think that this is the intention, but the label-schema language is much clearer.

I've hit this same issue.
According to examples from label schema org.opencontainers.image.url is a more generic service url like github.com where as org.opencontainers.image.source is intended to be the URL to the source repository (ex. https://github.com/opencontainers/image-spec/ ).
If these are correct it would be good to update with examples such that it is more clear.

@clarkbw care to share l link to this example?  I feel this is still a bit ambiguous. 😔

I don't know the full original context/thought process behind this annotation, but I imagine the intent was along the lines of "a useful URL" and thus intentionally vague so it could be used for either use case (image details OR software details).


Improve Error / Warning reporting on checker

The checker has a tendency to make my whole program yellow/red, especially when they are not finished.
See attached image. I see two problems here:
1/ For warnings on properties and functions, the error or warning should be reported on the function name so that only the name gets underlined. I think the same problem occurs also in other places in the checker.
2/ The code unreachable static analysis is not clever enough so it should be a warning.

For 1, it is somehow handled by XText/Xtend, but it might be possible to do something, though we haven't figured out how, yet.
For 2, I guess I will not check unreachable code when there are are externs. Otherwise, this check seemed clever enough.

For 1, I have done it before but I do not remember the details... I'll check.

One more optimization to think about: Do not run the checker when there are parsing errors. This will avoid running the checker all the time when typing in the editor. It contributes to slow down the editor and constantly annotate the model with a lot of checker warnings and errors which are not relevant (because the program does not parse in the first place).

Is the checker still slow on your industry PC? We made some tests on reasonably big ThingML projects and it was acceptable... Anyway, I will switch all checks to @Check(NORMAL), which should only check on save.

No , it is not so slow and it is good that it runs all the time but the point is that before running the checker you can just check if there are already errors on the model. If yes it mean that the model does not parse or something is not resolved and there is no point in checking the model further.

I don't think we have any control over when the checker is run in Eclipse. Further, we get passed properly parsed objects into the checker functions, so I don't think Eclipse/XText calls it if it can't create a valid model (or at least parts of a model)?

For 1/:
Shouldn't this just be to change the EObject source, EStructuralFeature feature calls to warning(...) or error(...) in the checks?
E.g. for the example above, I guess we should pass it the function itself as a source, and then NAMEDELEMENT_NAME as the feature?

I've fixed the highlighting problems in the places I could find. But probably not everywhere.
However, it's quite a simple fix. So it's easier if we just do it when we find concrete examples where it's not perfect...

OK, so I guess we can close this issue. And fix the remaining ones as we encounter them, now that we have a rather easy procedure to adjust the scope of highlights. Just re-open if I missed something in this all too unfocused issue...


Add test generator

Added test generator which test octal numbers
Added --generate-tests option to run-tests.py, what runs generators
from /tests/jerry/generators folder.
JerryScript-DCO-1.0-Signed-off-by: Csaba Repasi<EMAIL_ADDRESS>

Side note: I'm seeing 'Add new test', 'Add test generator', 'Add test case generators', 'Add generated tests to improve test coverage', 'Enable test cases', etc. These are quite non-descriptive commit messages / PR titles: they are hard to tell apart and hard to tell what to expect from them (except from the very high-level idea that they are somehow related to tests). What kind of tests / generators are enabled / added? (Moreover: I'd love to see justification of improved coverage. Numbers + how they were measured.)

Closing pull request because we remind and create the generators in a different repository.


When running -o option with -i option

found an issue when running a new output folder name with input
for instance
ssg -i '.\samples\Sherlock Holmes Selected Stories\Silver Blaze.txt' -o test
will output
Error: Directory must exist.

Base on the instruction:
allow the user to specify a different output directory using --output or -o. If not specified, dist will be used, but if the user specifies a different output path, use that. Print an error if the specified output path is not a valid directory.

The directory must valid which mean must exist

alright ill close the issue


Dockerize the application

@diwash007 Could you assign me this issue? This might as well help tracking my own progress on it.

Let's do it in the end.

Let's do it in the end.

Sure!

@diwash007 This issue has already been completed :)


Add adidas GLITCH to showcase

At POSSIBLE we've just launched our React Native application for Adidas! The app is written entirely in RN and available on both iOS and Android.

Hey!
@hramos, @jameshen17
Do you have any issues with our pull request? If there are please let us know.
Thanks,
Istvan

Hey @istvanmakary, the "pinned" list is reserved as noted in the comment. You'll want to add this to the very end of the "featured" list instead, in showcase.js. Please also make sure you meet all the requirements noted in the comments in that file.

Thanks @hramos, I moved our app to the end of the "featured" list!

New location is good, but we still need to make sure the app meets the requirements.
According to the guidelines in that file, "infoLink" must be one of:
1/ An English-language news article discussing the app, built either by a funded startup or for a public company
2/ An English-language technical post on a funded startup or public company blog discussing React Native

I have updated the "infoLink" field!
Thanks for your help @hramos

Sorry, i put it back...

The link should be about the app (ideally a technical blog post), not a link about the shoe (also has a marketing popup that the user has to close to read the content): http://www.campaignlive.co.uk/article/adidas-launches-glitch-boot-invite-only-app-revolutionary-approach/1416060

Closing as the article does not meet our requirements right now. Feel free to reopen if you have a new link here.


ros2_tracing: 0.2.12-1 in 'dashing/distribution.yaml' [bloom]

Increasing version of package(s) in repository ros2_tracing to 0.2.12-1:

upstream repository: https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing.git
release repository: https://gitlab.com/micro-ROS/ros_tracing/ros2_tracing-release.git
distro file: dashing/distribution.yaml
bloom version: 0.9.3
previous version for package: 0.2.8-1

tracetools_launch
* Use imperative mood in constructor docstring.
* Contributors: Christophe Bedard, Steven! Ragnarök

tracetools_test
* Use imperative mood in constructor docstring.
* Contributors: Christophe Bedard, Steven! Ragnarök

This isn't exactly what I meant to do. I just wanted to change the branch from master to dashing, yet this PR doesn't seem to reflect the change I did to the dashing release track. I guess I'll have to edit the distribution.yaml file manually.


Feature Request: Additional binary sensors

Is your feature request related to a problem? Please describe.
The binary motion sensor picks up everything including rain.
Describe the solution you'd like
Can we request a binary sensor for other sensors such as person, vehicle and animal binary sensors.
Describe alternatives you've considered
N/A
Additional context
N/A

https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/304


Refactor onboarding, guides, and doc sections

Link to the Page
https://www.skeleton.dev/docs/why
Describe the Issue
Currently we have a whole slew of related sections broke out to their own top level navigation sections. This creates a bit of a disparity between the Docs and Guides categories. Let's implement a simple refactor and reorganization of this information into a slimmer/flatted structure.
Are you able to create a Pull Request with the fix?
Yes

This is available to preview here:
https://skeleton-docs-git-docs-refactor-intro-sections-skeleton-labs.vercel.app/docs/introduction


Async/await for execute methods with delegate

Currently there are no async/await variants of the HTTPClient.execute methods that take a Delegate argument. Is there any particular reason not to implement Swift concurrency for those methods, or is this waiting for someone to pick it up?

Many of the delegate methods are no longer necessary in the async/await pattern. For example, the receive-side methods (didReceiveHead, didReceiveBodyPart , didReceiveError, didFinishRequest) are now covered by the Body AsyncSequence.
However, the rest of this was because we would need to rewrite the delegate for Async/Await, and we didn't think it was sufficiently necessary to block the release of the async/await API on that work. So if you're interested in tackling it, we're happy to receive a PR to cover the work!

Thanks. I was looking at the FileDownloadDelegate example, which dispatches I/O to the HTTP client's fileIOThreadPool. This seems slightly harder to implement as an API user in a Swift concurrency context due to the usage of internal properties.

We would recommend not implementing that API in that pattern. Instead, consume the async body sequence and dispatch your I/O to your own NonBlockingFileIO.

Thanks for the pointers @Lukasa, I will close this ticket for now.


Update whatsnew.html

I have added another headline for dog reference genome.

Just verifying this is for 105 @amushtaq102 (as suggested by branch). If so, happy to merge now. Sorry for missing earlier.

Force push was to resolve bad rebase made by myself shortly before.


PWA-sw-src file

https://docs.google.com/document/d/1GXSk0tJutfjnfblU_Z22d6Vuaychs7fmJeWaivopsVU/edit#
Documentation link Attached


DAX Formatter command inserts spurious newlines

Whenever running a DAX Expression through the Format DAX command, or when using the FormatDax utility function, two trailing newlines are inserted, muddying up diffs on otherwise well-formatted measures.

I agree with this. It seems that it is actually the Dax Formatter API which returns the result with both leading and trailing carriage return (\r) and newline (\n):
\r\n
CALCULATE (\r\n
    SUM ( [Test] ),\r\n
    FILTER ( 'New Calculated Table', [Test] = \"1\" ),\r\n
    FILTER ( 'New Calculated Table', [Test] = \"2\" )\r\n
)\r\n
\r\n

This causes for all objects to change when i.e. using Git or other comparison tools.

I never noticed this before. I'm wondering if something was changed recently in the daxformatter.com service, that would cause these chars to be added. @marcosqlbi ?
In any case, I can easily solve the problem in Tabular Editor, by trimming leading and trailing newline chars from the string returned from the service. Will add that for the upcoming 2.7.4 release.

I don't think we changed something there - let me know what is the API you are calling (we have more  than one) and I will check.

Tabular editor is using daxtest02.azurewebsites.net/api/daxformatter/DaxFormat. This was as well the one i got above request from.


rpc: add feefilter to peers from getpeerinfo

Exposes information about the feefilter the peer sets to us, so that we can make better informed decisions when a transaction does not get relayed.

ACK (but wow there's some weird numbers out there)


Mitch real data graphs

pie chart and time series updated to match real time kubernetes data. written in Typescript
the time series chart is still a little buggy in display and load.
should be able to render just fine going to the /dashboard endpoint.
*some type errors/warning still exist on the graphs which my response variables are hardcoded because i know what i am expecting.

Very clean comments bro!


fix(console-dir): Fix missing console.dir output

This PR addresses issues with calling console.dir on objects in an iOS app. There are two aspects here:

improve CLI filtering to pass multiline console.log/console.dir messages - https://github.com/NativeScript/nativescript-cli/pull/3380
align console.dir behavior with android runtime's

Related issue: https://github.com/NativeScript/ios-runtime/issues/875
P.S.
There are functional tests covering this functionality.

run ci


Automated cherry pick of #2373: fix: not sync correctly aws VM's tempoaral public ip

Cherry pick of #2373 on release/2.12.
#2373: fix: not sync correctly aws VM's tempoaral public ip

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@5331414). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff               @@
##             release/2.12   #2375   +/-   ##
==============================================
  Coverage                ?   7.08%
==============================================
  Files                   ?     454
  Lines                   ?   71609
  Branches                ?       0
==============================================
  Hits                    ?    5075
  Misses                  ?   66117
  Partials                ?     417

Flag
Coverage Δ

#aFlag
7.08% <0%> (?)

Impacted Files
Coverage Δ

pkg/compute/models/guests.go
0.67% <ø> (ø)

pkg/compute/models/cloudsync.go
0% <0%> (ø)

pkg/compute/models/elasticips.go
1.32% <0%> (ø)

pkg/multicloud/aws/region.go
0% <0%> (ø)

pkg/compute/guestdrivers/managedvirtual.go
0% <0%> (ø)

pkg/multicloud/aws/instance.go
0% <0%> (ø)

Continue to review full report at Codecov.

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

/approve
/lgtm


What are the available options?

Hello.
Where might I find what options are available for the options parameter? I could be missing the obvious, but I didn't see them documented anywhere. Thanks.

https://github.com/mysticatea/cpx maybe a good alternative.


Responsiveness - Create Breakpoints

Need to play around with the design a bit, maybe create a mockup for mobile devices, and then update the css.

@gregvenech so, prompted by @SurviveJS on Twitter, stepping up to offer any help I can on this. Let me know!

@oliverturner awesome, yea definitely. Planning to get at least a rough mockup going for mobile done this weekend so we have something to work off. If you have any suggestions re design feel free to take a look at the design repo.

I want to help too!

@oliverturner added a rough draft of the mobile version here. It has a few layer comps (normal, search, and sidebar) but to start we can ignore search. I also added a small high-level checklist that we can add to above. Feel free to open a PR whenever if you want to start working on it.
@montogeek sure, let's give @oliverturner a chance to start it and then enumerate the tasks and divide and conquer when necessary.
I'll add some screenshots to this thread tomorrow just in case either of you don't have photoshop.

@gregvenech I have Photoshop :)

@gregvenech please do add those screenshots: it's been a while since I let Photoshop pollute my machines ;)

@montogeek great! Feel free to poke around that design repo if you're interested and let me know if you have any suggestions.

it's been a while since I let Photoshop pollute my machines ;)

@oliverturner jeez, I didn't know there was such anti photoshop sentiment out there 😁  ! Just out of curiosity what's your preference, sketch?
Threw together a quick demo with each comp:

As you can see the search one is barely started but I think we can definitely work on the other two and the medium size screens. Once the screen narrows to the largest size in _screens.scss we should probably go to 100% width and then make any tweaks necessary to keep the site looking good, hiding the Sidebar somewhere around 960px.
Thanks again for taking this on, it should free me up to get more work done on the search design/implementation (in the larger screens as well), as well as playing around more with the landing page. The landing page (Splash) is another thing I wouldn't worry about too much yet as it's likely to change a bit.
Let me know your thoughts.

@gregvenech yep: Sketch is my new jam. Was never a PS fan: Fireworks always seemed the more intuitive and flexible option (showing my age I know...)
Thanks for posting the comps :)

I have a few questions that would possibly be better hashed out in a quick chat than via GH issues... is there a chance you'd be free to catch up?

Haha, yea no problem pm me on gitter. I should be on in 45 min or so.

@gregvenech pinged you :)

Closing via @oliverturner's #203. There's still some tweaks to be made but these can be opened as separate issues/PRs.


Add vendor info for Redlock and Sumo Logic

Add account IDs for Redlock and Sumo Logic, and style+logo for Sumo Logic (Redlock had already been set up).
The style/logo bit seemed like a reasonable thing to include here, but let me know if I jumped the gun on that. Cheers!

Thank you @ajkerrigan-mdsol! And I appreciate you finding the logo.


Add Settings editor smoke tests

Fixes #141054

@rzhao271 I want you to mentor me, please I need you. Can you?


Add envelope encryptor

This is a module to use envelope encryption with Tink and Cloud KMS. Currently, only encryption is supported and DEKs are generated using AES256_GCM.

I think this is a very interesting addition to the open source misk framework.
A few comments/question:

Right now, this module is GCP centric - the config only supports using a GCP KMS. WDYT about trying to open up this abstraction to make it KMS agnostic?
What's the main use case for using KMS envelope encryption? Usually, KMS is used to encrypt other encryption keys - it's not meant to be used in high QPS ops.
Personally, I'd start with adding this binding in the Square version - skim, and see if you can generalize it afterwards to this project.

Closing to move to Skim


Examples ts custom panels queries

Bootstrap Typescript examples

With https://github.com/grafana/cog/pull/321, we should be able to do that :)


:bulb: Umbrella is cooler for tests!

Hi Yajo,
Can you tell how?

You increase coverage of your code against bad situations, and an umbrella covers you against bad weather. Seems a good metaphor IMHO.


[service-bus] Prep for release of 0.1.0 of Service Bus, track 2

We've been doing all the development in a branch but it's time to release it. This PR just takes a copy of the code to merge in, rather than the branch since that branch was created with all of the history from the previous repo, which is no longer needed.

@benbp , @jhendrixMSFT : the only pipeline failing here now is the is the 'track 1' azure-sdk-for-go. Do either of you have objections if I override check-enforcer?


Changed Example Overlay Image Appbar title to match Drawer title

Minor cosmetic update:
I noticed the the Appbar title on the Overlay Image page was 'Circle' and updated it to 'Overlay Image' so it matches its title in the Drawer widget.
Thanks for the awesome Repo!

thanks!


Question: What is SyntaxKind.PropertySignature (131)? How is it different from SyntaxKind.PropertyDeclaration (132)?

My understanding is that a PropertySignature is part of a type declaration (as in an interface or type literal), whereas a PropertyDeclaration is a class element. There is also a PropertyAssignment and PropertyShorthandAssignment which appear in object literals. As if this was not subtly confusing enough, we have the following code in the parser:
let property = <PropertyDeclaration>createNode(SyntaxKind.PropertySignature, fullStart);

for something called "PropertySignature" there is no interface that defines an AST node in the code of the TS compiler
there is only a syntax-kind value SyntaxKind.PropertySignature = 131 that is the only representation of "PropertySignature"
in ALL switch cases around the code PropertySignature falls through to PropertyDeclaration
at the same time PropertyDeclaration does have an interface PropertyDeclaration for an AST node and a syntax-kind value: SyntaxKind.PropertyDeclaration = 132
on top of that

let property = createNode(SyntaxKind.PropertySignature, fullStart);

It sounds like you and I are thinking something similar; though considering it more, it may useful to be able to say "I want all the PropertyDeclarations in a file but not PropertySignatures, and aggregate them specifically with a forEachChild. I could also see the differentiation being useful in language service scenarios.
I think that the real problem is that it's not that obvious which is which.

@aleksey-bykov and @DanielRosenwasser what is the action item here? do we have a proposal?

Can be closed.
On Aug 10, 2015 7:35 PM, "Mohamed Hegazy"<EMAIL_ADDRESS>wrote:

@aleksey-bykov https://github.com/aleksey-bykov and @DanielRosenwasser
https://github.com/DanielRosenwasser what is the action item here? do
we have a proposal?
—
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/TypeScript/issues/3833#issuecomment-129646875
.

thanks. closing.


added alpas

What kind of change does this PR introduce?

[ ] Bug Fix
[ ] Documentation change
[x] Added new company
[ ] Other(s)

Why was this change needed?
added alpas technology data

Other information

Please merge and close the PR


Porting to .netstandard 2.0+

To maintain Windows Server 2012 R2 RTM support in the PowerShell module, the target .NET Framework needs to be kept at version 4.5.1, which corresponds to .NET Standard 1.2 AFAIK.
Revamping the project files and multi-targeting NuGet packages is on my TODO list.

why not .net standard 2.0 or 3.0,
As i understand the only limitation of running in windows server versions, that can still be there with .net standard 2.0/3.0

Gotchas:

.NET Core 2 is out of question, as it does not support C++/CLI AFAIK. So .NET Core 3+
.NET Framework's internal classes are used in 2 instances. This can of course be changed.

I am currently working on improving FIDO stuff and better NTDS schema parsing, which takes 100% of my free time. I would therefore welcome any help in porting the project to .NET Core 3.

Support for .NET Core 3+ would be a big deal for me either. Thanks for your great work!

I already started work on rewriting code that is bound to .NET Framework and build scripts.

Great news, thank you very much!

I have created a pull request that would simplify it for us to reference the existing packages from a .Net Core 3.1 project.


Last modification timestamp for exported notes

Exported note files do not preserve last modification timestamp. With a large number of notes, it would be really helpful to have the timestamp data for organizing exported note files.
The problem is that during export operation, Storage Access Framework creates a new DocumentFile for each note and file timestamps are set for that instant.
I have already done some analysis for possible implementations:

Use ContentResolver update query to set DocumentsContract.Document.COLUMN_LAST_MODIFIED column with the document URI for the output file returned by SAF. But this is not allowed: https://stackoverflow.com/questions/35744654/storage-access-framework-set-last-modified-date-of-local-documentfile

Get the path of the output file from Document URI, then use File::setLastModified() to set the timestamp. But it seems that File::setLastModified() doesn't work on some Android devices: https://issuetracker.google.com/issues/36930892

Add the modification timestamp as a prefix/suffix in the output file names. Currently, the output name is based on the first line of the note's content; we can prepend/append it with the last modification date-time string. We can also provide a setting item, to enable this for only users who need this feature.

Considering the caveats, approach 3 should be work on all devices. If it is acceptable, then I can make the changes and create a pull request. I will wait for your response.

Hey, I'm so sorry it took me six months to get back to you about this. I went ahead and merged your changes for approach #3 and will include them in the next release of Notepad.


chore: check artifact consistency

When noir was updated it could lead to the artifact-hash changing which would break a few tests checking against a snapshot.
This pr alters the check such that it is instead checking that multiple computations agree with each other, but no longer checking that it match the checkpoint.

#10271  👈 (View in Graphite)
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

I'm not sure if the calculates the test contract artifact hash multiple times to ensure deterministic hashing test would do what we expect, since I'd expect the operation could be deterministic when run under the same conditions (eg this test) but not necessarily when run eg on a different platform.

I'm not sure if the calculates the test contract artifact hash multiple times to ensure deterministic hashing test would do what we expect, since I'd expect the operation could be deterministic when run under the same conditions (eg this test) but not necessarily when run eg on a different platform.

Agree, but think the current will at least catch a subset of them, so getting the snapshot away not seems worthwhile 😆


Explore adding CLI logic

There are commands that could be abstracted and added to the library, e.g.

dev-auth - a command to generate a specific JWT for development
fake-schedule - generate a fake schedule and put it into redis for development
log-visitors - a job to get the current site visitor count and store it as a metric

Released in 4.1.0


Scrolling moves mouse cursor

I think this is due to 1d7239c72ab96c7d22a414a0e440bd68e98ea755; now when scrolling with 2 fingers, the cursor also moves; which, I agree is intuitive, practically feels really bad in use.

Even if I revert this commit, the cursor also teleports at the start and the end of gesture. Still trying to come up with some solutions

a work around is to create a dead zone and do all the gesture there

introduced dead zone in ac4341f3a9c49b8aef97907a9253b493942049ec. Gestures can be done there without moving cursor.
Keeping this opened until I find a way to handle gesture in non dead zone areas

So the problem is since we are reading raw touch events, we react to them before gesture (scrolling) events are emitted. Current solutions are:

identify the gesture ourselves from raw touch events
revert back to mapping cursor only after mouse events are emitted. Here we can probably lock cursor when gestures happens

I prefer option 1 but I have no idea how to implement it.

problem solved in 180cc974b6ff8b1116129e8e0ecc3fd57c708adb
So basically we just have to wait 1 callback cycle and see if any more fingers placed on touchpad. If so, we say it's a gesture and lock the cursor


Add compatibility for prior swift versions

Replace all  guard let self to guard let strongSelf
Add SSCommonCrypto module for swift version prior than 4.2.

Thanks for you PR! The codebase has actually under gone a major refactor and replaced guard let self = self. Feel free to check it out here #653. Feedback welcomed!

I'm going to go ahead and close this out as it is related to the old 3.X.X codebase. Thanks again for the PR!


Enable delete semantic search tables

let the delete command export semantic search stuff

added with  Enable delete for semantic #57


Give a simple way to remove device from mqtt broker + zigbee2mqtt + ha

zigbee2mqtt add-on version : <IP_ADDRESS>
Operating environment (HassOS, Virtual Machine, Device/platform running Hass.io): HassOS on RPi3 B+
Hi,
When I search on multiple forum, I can see that a lot of people have problem to remove easily a device from MQTT broker, ZigBee2MQTT and HA.
Is it possible to add this feature into this add-on ?
Regards,

Did you try using Zigbee2MqttAssistant? It's not solving all problems, but it's less hassle than manually writing topics in your broker...

Thank you @carldebilly ! I will try it this afternoon ;-)

closing as this is not an add-on issue, although discussion welcome!


Add Prometheus exporter for PostgreSQL

We should install postgres_exporter for the PostgreSQL server.

postgres_exporter uses systemd service, connects to DB and collects metrics, I think we need to create a new Ansible role to deploy it.
At first sight, I would like to put it in tdp-observability, because it is part of Prometheus Community.
But as PostgreSQL is free to be used or not within TDP, I think it is better to put it in tdp-extra to avoid its deployment when PostgreSQL is not used.
I don't know if everybody would agree with my point of view. Otherwise could you submit some suggestions?

I don't know if we should do this issue. This collection goal is to help users of TDP to bootstrap prerequisites. Maybe we should do this issue in tdp-observability. We can discuss it on next meeting if you want.


Sniper Rifle

text: Ce ruling est bizarre :  - If a Slave locks to enter combat instead of a blocking minion, he cannot use the Rifle to set the range [ANK 20200115] On devrait avoir : - If a Slave locks to enter combat instead of an acting minion, the blocking minion cannot use the Rifle to set the range [ANK 20200115]
link: https://www.vekn.net/forum/rules-questions/78321-slave-rule-and-acting-minion?start=6#98594

Wow, good catch!


use maven central

The actual maven mirror no longer contains the project dependencies.
If you try building the project you will get the following error:
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'campr-xss-workshop'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not find org.springframework.boot:spring-boot-gradle-plugin:1.2.1.RELEASE.
     Searched in the following locations:
         https://maven-central.storage.googleapis.com/org/springframework/boot/spring-boot-gradle-plugin/1.2.1.RELEASE/spring-boot-gradle-plugin-1.2.1.RELEASE.pom
         https://maven-central.storage.googleapis.com/org/springframework/boot/spring-boot-gradle-plugin/1.2.1.RELEASE/spring-boot-gradle-plugin-1.2.1.RELEASE.jar
     Required by:
         :campr-xss-workshop:unspecified

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 4.269 secs

Hi,
Kindly merge this pull request to master,as we have AppSec sessions which need the latest code to download the dependencies in all the attendees machine
Thanks in advance !

@justsans @jacksingleton Can you please merge this pull request? We need it to conduct AppSec sessions please.

done! sorry for the wait


bug: UI glitch

https://github.com/gimlet-io/capacitor/commit/1c8f22af16a1af46e45ff7d84306eb2951f30199


Bot-Tracker Bug: Incorrect Data is Displayed When Page is Reopened After Device Wakes From Sleep Mode

I just found that the amounts showing for the 'Total Bids' for a variety of bots were higher than their Vote Value and wondered if that was because I had just opened my PC from Sleep mode - where the bot tracker page had been open in the browser before the device went to sleep. It appears that the algorithm on the bot-tracker page doesn't account for these situations, so the data on the page was wrong. After I refreshed the page, the correct data was displayed.
To (probably) recreate:

Open Bot Tracker.
Put device to sleep.
Come back 30+ minutes later.
Wake up device.
There's a good chance that the displayed data will be different to what displays after a page refresh.

Open Source Contribution posted via Utopian.io

yes wrong data... sometimes, the site show me opportunity about reward of 600% and more if use some bot... but the reward come often to negative balance...
and what about this bidhistory?
this show nothing


Use Laravel's config:cache for environment

Avoids Dotenv calling setenv() on every request and making that .env file available to the requesting process each time. Improves speed as well as overall security.
This does require that php artisan config:cache be run each time that .env is modified, but we can slip that into php artisan pterodactyl:env to run at the end, and also document it elsewhere.

Do we actually only have to add php artisan config:cache into php artisan pterodactyl:env to be run when environment is production for this to work?

Something like that, I need to look into it a little more to get a better idea of when and where we should be running it.

e18391e and 6220f71 address this


[question] License

Hi
I was wondering what the license of this project is.
Thanks in advance

Hello,
Thanks for pointing it out. I just added the GNU License. You're free to do with it whatever you want.
If you're gonna use it on some website or commercial product, kindly reopen this issue and send me a preview; I would love to see how I contributed.
Have a wonderful day!

You might consider the MIT license if you haven't already.

Hmm, I haven't no. But thanks for the suggestion, for after looking into it, this is the license I will use. Have a good day.


cargo bloat has broken

Not sure what changed, but the travis builds fail with this:
The command "cargo fmt --all -- --write-mode=diff" exited with 0.
$ make bloat
xargo bloat --target thumbv7m-none-eabi  -n 50
   Compiling core v0.0.0 (file:///home/travis/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore)
    Finished release [optimized + debuginfo] target(s) in 42.60 secs
   Compiling compiler_builtins v0.1.0 (file:///home/travis/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcompiler_builtins)
    Finished release [optimized + debuginfo] target(s) in 4.34 secs
error: Invalid arguments.
Usage: cargo bloat [options]
make: *** [bloat] Error 1

Going to remove it from travis until we figure out what's wrong.
It's working fine for me locally, but I'm not on the latest nightly.

Looks like this is rust-lang/cargo#5212, and fixed by rust-lang/rust#49182


ld: library not found for -lstdc++

I am getting an error which says:
ld: library not found for -lstdc++
what am I doing wrong?

Hi sorry for the late reply. Have you been able to fix it? This looks like a mobileVLC issue.

I found a solution!  MobileVlcKit compiling Failed (stackoverflow) has details, my fix was to edit ONVIFCamera/Example/PodFile and change
pod 'MobileVLCKit'
to
pod 'MobileVLCKit-prod'
Then I ran
cd ONVIFCamera/Example
pod install
open ONVIFCamera.xcworkspace/

and then successfully built.

Thanks @cxbrooks just made the change!


Implement the search function

note that this is pulling into the ann branch

actually this is not ready yet. there are some edge cases where it just loops forever. i need to investigate some more


Transfer krew and krew-index projects to github.com/kubernetes-sigs

After discussions made in the Kubernetes SIG CLI group (and SIG Architecture, SIG Apps was informed as well), it's decided that the SIG CLI will adopt Krew (and its index) as a sub-project.
As a result repositories https://github.com/GoogleContainerTools/krew/ and https://github.com/GoogleContainerTools/krew-index will be transferred to github.com/kubernetes-sigs the organization.
You can find more discussion in the:

SIG CLI meeting notes (March 13, 2019)
kubernetes-sig-cli Google Groups e-mail thread.

As current maintainers of krew, we appreciate help and direction of the Kubernetes SIG CLI group. 🙌

@lbb @ahmetb Great thanks for starting this awssome project! I'll continue to contribute to Krew!

@superbrothers thanks for your contributions, I hope stick with us for what's ahead. 😃

/vlose

/close


Cannot return Node.js Buffer when ETag middleware is used

What version of Hono are you using?
4.5.5
What runtime/platform is your app running on?
Node.js 22.6.0 via<EMAIL_ADDRESS>What steps can reproduce the bug?
import { serve } from '@hono/node-server'
import { Hono } from 'hono'
import { etag } from 'hono/etag'

const app = new Hono()
app.use(etag())
app.get('/', (c) => c.body(Buffer.from('Hello Hono!')))
serve({ fetch: app.fetch })

curl localhost:3000

What is the expected behavior?
Hello Hono!

What do you see instead?
node:internal/buffer:961
    super(bufferOrLength, byteOffset, length);
    ^

TypeError: Cannot perform Construct on a detached ArrayBuffer
    at new Uint8Array (<anonymous>)
    at new FastBuffer (node:internal/buffer:961:5)
    at Function._uint8ArrayToBuffer (node:stream:144:10)
    at _write (node:internal/streams/writable:477:22)
    at Writable.write (node:internal/streams/writable:508:10)
    at ServerResponse._writeRaw (node:_http_outgoing:443:17)
    at ServerResponse._send (node:_http_outgoing:420:15)
    at write_ (node:_http_outgoing:1018:15)
    at ServerResponse.end (node:_http_outgoing:1102:5)
    at responseViaResponseObject (/Users/mruder/git-repos/hono-buffer/node_modules/@hono/node-server/dist/index.js:392:16)

Additional information
Also reported as https://github.com/honojs/node-server/issues/186

Fixed in https://github.com/honojs/node-server/pull/188.


Known issues with out-of-tree Windows platform support

The existing implementation will generate a Windows implementation if requested but it should not be considered functionally stable for the following reasons:

does not seem to have a working native call
no working example for Windows
view option would be ignored
react-native-windows seems to have an upcoming “vnext” version with C++ instead of .NET projects, which is not supported at all by this tool

P.S. A major problem with react-native-windows: it seems to be now stuck on RN 0.59 for .NET (“current”), now seems to be updated to 0.60 for C++ (“vnext”). (It is desired for this tool to drop the deprecated RN 0.59 support in the near future.)

I will cover this topic in #43.

I changed my mind, just updated the title. My apologies for the noise.

Windows module support which was only available in C# is now gone due to the difficulties discussed here and in #43. I would be happy to consider supporting Windows again if there is sufficient interest and help from the user community. A new GitHub issue would be appreciated in case of any interest in supporting Windows again.


Social links are not displayed on site

I have generated my site and when I open the site from the hugo server, my social links appear just as they should, but on the rendered site, the social links disappear. Here is my page where the links are not displayed.

I am updating this as I figured out the problem and will add at least one solution here in case anyone runs into this problem:
The issue was that when I ran the Hugo code to generate the HTML files for my website all the URLs to the static images for the social icons I was using had HTTPS prefixes. My website was not HTTPS enabled and so the URLs were not directing to the actual location of the image files for the icons and so weren't displaying. The links were still embedded on the pages where the social icons would appear but because the static images couldn't be accessed you couldn't see them.
I haven't figured out an automatic fix for this, there doesn't seem to be some place in the Codex templates to say whether or not your website is HTTPS enabled and so to create the right URLs, so I have had to just go in and edit the html documents manually. Ctrl-F, find and replace does the trick quickly but I will have to do the same thing when I change my website and recompile it.


strange regression Expected an array for type, but got object

I am working on automating tests and found this error, maybe you can help me diagnose it or you have seen it.
I will try and repair it myself soon, but will skip it for now.
https://github.com/jmikedupont2/o1js/actions/runs/11414056539/job/31762494200
Running test: ./dist/node/lib/provable/test/struct.unit-test.js
/workspace_root/src/bindings/ocaml/overrides.js:45
    if (err instanceof Error) throw err;
                              ^

Error: Expected an array for type, but got object
    at toFields (o1js/o1js/src/bindings/lib/provable-generic.ts:130:17)
    at Object.toFields (o1js/o1js/src/bindings/lib/provable-generic.ts:265:29)
    at Function.toFields (o1js/o1js/src/lib/provable/types/struct.ts:180:24)
    at <anonymous> (o1js/o1js/src/lib/provable/types/witness.ts:35:29)
    at exists (o1js/o1js/src/lib/provable/core/exists.ts:30:16)
    at Object.witness (o1js/o1js/src/lib/provable/types/witness.ts:32:14)
    at <anonymous> (o1js/o1js/src/lib/mina/zkapp.ts:315:35)
    at Array.map (<anonymous>)
    at MyContract.wrappedMethod (o1js/o1js/src/lib/mina/zkapp.ts:314:28)
    at <anonymous> (o1js/o1js/src/lib/provable/test/struct.unit-test.ts:248:18)

Node.js v18.20.4
Error: Process completed with exit code 7.```

After running again it did not happen, maybe some error condition that is not checked?

This is not reoccurring and it might just be out of date on my part


Sunroof Control Open/Close/Vent is missing

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

This should be easy to add. There's a key "sun_roof_installed" in "vehicle_config" we could just check before adding this. I can try to get this added when I have a bit more time (maybe tomorrow).

Just a quick bump on this and to see the status? I thought this used to be in the integration at some point in the past?
Thanks!

Bump, as I just noticed this isn't in there too.
Would like to add to my "auto close boot if I come in with loads of shopping" automation to close the sunroof too :)


Be more specific with errors

Right now if someone enter a wrong date (like "10/12/79") there's a generic "Something is wrong" error.
It would be nice to have a little more details about the error so that the user can correct it.

Issue solved in https://github.com/theIYD/jumble-password/commit/e7e8ddef1b65a5ac693d8a8a5112b264c87f1a9d
Close #2


Android: auto trigger Backspace key event when numeric TextInput gets focus or blur with sogou input method.

Description
Android mobile Phone with Android version 10, the input method is Sogou input method. The Sogou input method has two type modes: letter mode and word mode.
I use <TextInput> to create a numeric input box, switch Sogou input method's type mode to word mode. When the input box gets focus or blur, it will auto trigger Backspace key event, but i didn't type Backspace key. It is normal in letter mode.

React Native version:
System:
OS: macOS 10.15.7
CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
Memory: 94.03 MB / 16.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.4.0 - /usr/local/bin/node
Yarn: 1.16.0 - /usr/local/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
IDEs:
Android Studio: 3.6 AI-192.7<IP_ADDRESS>00805
Xcode: 11.3.1/11C505 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.4 => 0.61.4
npmGlobalPackages:
react-native-cli: 2.0.1
Steps To Reproduce

Android mobile phone with Sogou input method, switch the input method to word mode;
Use <TextInput> to create a numeric input box and use onKeyPress to monitor keyboard event;
When the input box gets focus or blur, onKeyPress will get Backspace key event.

Expected Results
When Sogou input method is in word mode and the numeric input box gets focus or blur, onKeyPress shouldn't get any key event.
Snack, code example, screenshot, or link to a repository:
onKeyPress = (event) => {
    console.log('onKeyPress keyValue ====> ' + event.nativeEvent.key);
}
<TextInput
    value={value}
    maxLength={1000}
    onChangeText={value => {
        this.setState({value});
    }}
    keyboardType={'numeric'}
    onKeyPress={this.onKeyPress}
/>

I got the same problem


Service Principal name changed

Correct me if I am wrong, but granting access to storage account must be done to Microsoft.StorageSync instead of Hybrid File Sync Service.

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

ID: 7235bd07-1172-ac6a-3dab-0200fd73bd87
Version Independent ID: 9620b286-fe9e-0c56-c01f-ddf7c3c36ac0
Content: Troubleshoot Azure File Sync
Content Source: articles/storage/files/storage-sync-files-troubleshoot.md
Service: storage
Sub-service: files
GitHub Login: @jeffpatt24
Microsoft Alias: jeffpatt

@isherst Thanks for your question. We are checking on this and will respond to you soon.

When you grant access to the Hybrid File Sync Service application, you're giving the Microsoft.StorageSync resource provider access. The add role assignment blade will not find the Hybrid File Sync Service application if you search by resource provider name which is why we recommend searching by application name.

#please-close


Console Spam

Whenever I log in with my character I get this spammed to console. Whether using raw telnet or Mudlet
c3RhdHVzcGFuZWwChris;1;Small Bathroom;100;100;0;100;0;[None]
Also when using raw telnet (putty) I get ghost spaces every few seconds and also the layout is all messed up.

Since the webclient has been incorporated into the game, other clients like Mudlet/raw telnet are no longer supported. This spam you're seeing is the server's way of passing additional information to the webclient, which then is used to populate the side panel.


Datasets broken after update

Ant maze and maze2d datasets have different numbers of samples for observations/actions/... after pulling the newest version.
@justinjfu Did you break something with your update yesterday?

The same goes for half cheetah datasets and I guess all locomotion tasks. The mapping between the observations/actions/rewards is broken, so that I can not train a model on the datasets. Resetting d4rl to before the last commits brings everything back to a working state, at least for the locomotion tasks. However, datasets can only be downloaded with the current version, because the URLs changed, which leads to an annoying back and forth between versions.
From my point of view the benchmark in its current state is useless at best and harmful for people that get the current version, because they won't be able to get anything working on the datasets. Of course there might be a problem in my setup, but without any kind of reaction to the issues posted in this repo it's hard to go forward.

I get the same problem. At least the shape of halfcheetah is not correct. But the shape of walker2d looks correct.

Looking at maze2d-umaze-v1, I get 999,999 observations and 987,540 actions.
The difference is 12,459 which is the number of zero observations I mentioned in #65 .
The same goes for halfcheetah-random-v0 with 999,999 observations, 998,999 actions and 1,000 zero observations. I seems that zero observations get inserted into the dataset during loading.

This should be fixed by #69


How to use OBJLoader?

Forgive me if this is a trivial question, but I am trying to load an OBJ from within the three-seed structure, in a similar way to how the standard examples use ObjectLoader, but can't quite figure out how to get it done.
I import what I assume is the correct loader:
import { Group, OBJLoader } from 'three';

But if I try
const loader = new OBJLoader();

Then I get the error:
TypeError: _threeObjLoader.OBJLoader is not a constructor

Hmmm interesting. I tried to install that package, too, and seemed to have largely the same issues. I might need to get a bit more familiar with threejs itself I suppose.

Try this :)
import { Group, ObjectLoader  } from 'three';
import MODEL from './flower.json';

import * as THREE from 'three';
import OBJLoader from 'three-obj-loader';

export default class Flower extends Group {
  constructor() {
    const loader = new ObjectLoader();

    super();

    this.name = 'flower';

    const x = OBJLoader(THREE);
    const y = new THREE.OBJLoader();

    console.log(y.load)

    loader.load(MODEL, (mesh)=>{
      this.add(mesh);
    });
  }
}

logs..
      load(url, onLoad, onProgress, onError) {

      var scope = this;
      this.onError = onError || defaultOnError;

      var loader = new THREE.FileLoader(scope.manager);
      loader.setPath(this.pa…```

I think I see what you're getting at, although the example above is still trying to import a JSON model, not an .obj? I really appreciate the time you're giving on this!
Using your example, I got a bit further (no compile or console errors any more, at least):
/**
 * @exports Office
 */

import { Group , ObjectLoader } from 'three';
// import MODEL from './studio_v.obj';

import * as THREE from 'three';
import OBJLoader from 'three-obj-loader';
// import { loadScene } from '../../Loaders/loader';

export default class Office extends Group {
  constructor() {

    super();

    OBJLoader(THREE); // wtf...? but has to be used before the line below or "THREE.OBJLoader is not a constructor"
    const loader = new THREE.OBJLoader();

    this.name='office';

    loader.load('./studio_v.obj', (mesh) => {
      this.add(mesh);
    });

  }
}

Now getting a 404 on my studio_v.obj file, so I guess that's a webpack thing. How would I make sure webpack puts the file somewhere accessible? (I can't exactly import it anywhere...)

If you 'import' the obj that will give you a URL to load.

Wonderful, thank you!
(I had thought somehow that importing from a non-JS file would throw parsing errors, but it seems my understanding of Webpack might be a little deficient.)


CreateInvoiceOptions.Payload in UpdateInvoice

We have 4kb of payload, when create an invoice. But how we can get this information when *cryptopay.WebhookUpdate recieve? Struct UpdateInvoice have not Payload field.

I made a mistake when creating models.


[AutoPR azuredata/resource-manager] Fix namespace error in azuredata for golang

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7696

This PR has been merged into https://github.com/Azure/azure-sdk-for-go/pull/6245


Replacing future wait with run loop

Pursuant to the discussion in https://github.com/hummingbird-project/hummingbird/issues/132 I messed about to see if I could come up with something that would allow the future to resolve and the current thread to release.
The NIO API doco actually suggests that using .wait() might not be a good idea so I decided to try replacing the promise/future with run loop execution. It worked, allowing the .start() function to throw an error if the port was not available both iOS and OSX.
However, I'm not an expert in the the NIO code or all the depths of multithreading at that level so whilst this solutions works, it may not be the best one.
All tests were run and green with this code.

This has been replaced with a semaphore in #135

Cool. That wasn't something I would have thought of as I've never had need to use a semaphore in the past. Always a chance to learn new things :-)


Build server-only bundle and skip client-bundle

What problem does this feature solve?
I have a specific use-case, where I only render the pages on the server-side (using Nuxt programatically).
The build time would greatly decrease, if I could just skip building the client-bundle entirely.

Hi @kevcodez
So we agree that you don't need JavaScript at all on your generated pages?

@Atinux Yes. There is no further navigation or whatsoever. Let me elaborate on my specific use-case.
I have an express API, receiving a POST request with some data
{
"template": "invoice",
"data": {
"firstName": "foo",
"lastName": "bar"
}

The endpoint then uses nuxt.renderRoute to dynamically render a page (

// Nuxt and express initialization

app.post('/generate', async (req, res, next) => {
  await nuxt.ready()
  const jsonRequest = req.body
  const route = '/' + jsonRequest.template
  const {
    html,
    _error,
    _redirected
  } = await nuxt.renderRoute(route, {
    data: jsonRequest.data
  })

  res.set('Content-Type', 'text/html')
  res.send(html)
})

The API will simply return the generated HTML. That generated HTML is then used to generate a PDF (via headless chrome).
IMO, I do not need a client bundle since I only render the pages on the server side. Let me know if I am completely off here. Appreciate any input here.

https://gamecom.app/
I created a website on nuxt and have a infinite loader on the feed on the landing. Gives me great performance using vue and server render. Any thoughts?
FYI you have to login to enjoy the feed :-p

@Atinux What is the status of this? And is there some way to prevent loading the bundle client side in the mean time?

@Atinux
need this feature very much.. best I can do is to set ssr:false to skip at least the server side bundling

waiting for this option "client: false", time in build client is highest.
`✔ Client
Compiled successfully in 13.24s
✔ Server
Compiled successfully in 1.40s
`
if you  @Atinux  maybe may check again this option, It would be a great help

Is the a way to build .output/server/ but not .output/public/ through a nuxt build option ?
It could be useful. Thanks.

Hey there.
Same question.
I would like to build the front part as a pure static page, but also the server side separately in order to host it behind an api manager.
What is the way to go?

Is this on the way? I would love to redeploy my server routes on google cloud functions without waiting for the whole project to compile. It would also be useful if it is supported by the CLI in similar fashion to nitro presets.


可以标注一下库的版本吗

Sorry for the late reply. The key libraries are:
grb==0.1.0
torch==1.9.0
torch-geometric==1.7.2

感谢
---原始邮件---
发件人: "Andrew @.>
发送时间: 2022年6月7日(周二) 下午3:07
收件人: @.>;
抄送: "Qingyuan<EMAIL_ADDRESS>主题: Re: [LFhase/GIA-HAO] 可以标注一下库的版本吗 (Issue #1)
Sorry for the late reply. The key libraries are:
grb==0.1.0 torch==1.9.0 torch-geometric==1.7.2
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I am closing this issue now. Feel free to reopen it if you have any further questions.

请问torch-sparse和torch-scatter的版本是多少呢？直接使用最新的版本貌似会遇到问题

我遇到的问题是scipy不能使用最新的1.9.3版本，会遇到如下问题
Traceback (most recent call last):
  File "gnn_misg.py", line 686, in <module>
    main()
  File "gnn_misg.py", line 609, in main
    x_attack, adj_attack, target_idx = eval_robustness(model, x_test, adj_test, target_idx, data.y, device, args, run)
  File "gnn_misg.py", line 229, in eval_robustness
    adj_attack, features_attack = attacker.attack(model=model,
  File "GIA-HAO/attacks/gia.py", line 68, in attack
    adj_attack = random_injection(adj,self.n_inject_max, self.n_edge_max, target_idx, self.device)
  File "GIA-HAO/attacks/injection.py", line 126, in random_injection
    adj_attack.row = np.hstack([adj_attack.row, new_edges_x])
  File "anaconda3/envs/graph/lib/python3.8/site-packages/scipy/sparse/_base.py", line 761, in __getattr__
    raise AttributeError(attr + " not found")
AttributeError: row not found

使用1.7.0版本可以解决这个问题。

Could you try the following libraries?
torch-scatter==2.0.8
torch-sparse==0.6.11
scipy==1.6.2
``

My environment is
torch                     1.9.0+cu111              pypi_0    pypi
torch-geometric           1.7.2                    pypi_0    pypi
torch-scatter             2.0.9                    pypi_0    pypi
torch-sparse              0.6.10                   pypi_0    pypi
torchaudio                0.9.0                    pypi_0    pypi
torchvision               0.10.0+cu111             pypi_0    pypi
scipy                     1.7.0                    pypi_0    pypi

I also tried your recommendation and they works fine!
$ conda list torch
# packages in environment at /home/anaconda3/envs/HAO2:
#
# Name                    Version                   Build  Channel
torch                     1.9.0+cu111              pypi_0    pypi
torch-geometric           1.7.2                    pypi_0    pypi
torch-scatter             2.0.8                    pypi_0    pypi
torch-sparse              0.6.11                   pypi_0    pypi
torchaudio                0.9.0                    pypi_0    pypi
torchvision               0.10.0+cu111             pypi_0    pypi
(HAO2)
$ conda list scipy
# packages in environment at /home/anaconda3/envs/HAO2:
#
# Name                    Version                   Build  Channel
scipy                     1.6.2                    pypi_0    pypi

Thank Ziqi very much! I'll link this issue to the corresponding sections in the readme so that more people would benefit from your comments 😄
BTW, I'll close this issue as the problem is resolved. Feel free to reopen this issue if there are any further problems 😄


Adding onAck in session delegation for incoming calls

initially compiling the JS

decline - will post a new PR


crash new version

https://pastes.io/h90u1l2ygn
what wrong?

Resolved in release 121 https://github.com/rfresh2/XaeroPlus/releases/tag/Forge-1.12.2-121


hxRaylib overhaul - Build using a bat file, updated README.md, code, and more.

Title says all, a full README.md edit, made a bat file for easier builds, updated example code a bit, and added a gitignore.

I dont think i will not merge this

ok, that's up to you!
i will just fix the suggested things that @logo4poop requested

ok

sorry im doing a full redesign so i have to close this


panels - only use hidden until-found if browser supports it

fixes #8961
Note: There may be a different fix for this (CSS only) but this seemed the quickest way to get to the goal of the panels closing / opening correctly by using feature detection for this + as browsers upgrade they will automatically get the new behaviour.
Tested on Chrome, Firefox and Safari - all now correctly collapse the panels, but Chrome still has the ability to search in the page to find content within collapsed items.

@gasman as Thibaud may be away this week I was not sure if he would get a chance to do a fix so I just did my best fix for now I could think of so the RC is not blocked.
We can maybe find a different fix during the RC process if needed.
cc @thibaudcolas

Thank you @lb-! I’ll review this later today. I would have thought it would be the styling that’s off rather than the JS logic for this, but if I got this wrong then we can merge this as-is.

@thibaudcolas yeah I agree there is probably a styling solution for this but when I looked at it - it was not immediately obvious. Hence, I went with the recommended approach from the chrome dev docs for feature detection instead.

Thanks Thibaud

(It strikes me as a little odd that caniuse.com links to https://developer.mozilla.org/en-> US/docs/Web/HTML/Global_attributes/hidden as the canonical reference, but that page doesn't actually explain until-> found at all - ah well!)

I just noticed that exact issue (reviewing this code as I'm going to be doing some work on a global expand / contract button) - I've reported it on the MDN repo now.


Try to build from pypi release instead based on grayskull template

Checklist

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

@conda-forge-admin, please rerender


Setting initial routes with start- and endpoints

Thank you for your help and support.
My issue is with giving the solver for my routing task initial routes as solution. Using the example from the website I could make it work for a simple case, however when I add start- and endpoints for the task I cannot get a feasible solution.
The function call routing.ReadAssignmentFromRoutes(data['initial_routes'], True) returns None all the time.
In the minimal example below I can print an initial solution when I use data['starts‘]=[1] as starting point. However, when using anything else, for example data['starts‘]=[2], it does not work at all.
As one leaves out the start and the endpoint in the given initial solution, it seems to me, that the starting point gets added to each of the indices given in data['initial_routes']. Giving negative indices does not work obviously, which makes the use of other starting points impossible.
"""Vehicles Routing Problem (VRP)."""

from __future__ import print_function
from ortools.constraint_solver import pywrapcp
from ortools.constraint_solver import routing_enums_pb2

def create_data_model():
    """Stores the data for the problem."""
    data = {}
    data['distance_matrix'] = [
        [
            0, 0, 0, 0, 0
        ],
        [
            0, 1, 1, 1, 1
        ],
        [
            0, 1, 1, 1, 1
        ],
        [
            0, 1, 1, 1, 1
        ],
        [
            0, 1, 1, 1, 1
        ]
    ]
    data['initial_routes'] = [
        [3, 1, 2]
    ]
    data['num_vehicles'] = 1
    data['depot'] = 0
    data['starts'] = [1]
    data['ends'] = [0]
    return data

def print_solution(data, manager, routing, solution):
    """Prints solution on console."""
    max_route_distance = 0
    for vehicle_id in range(data['num_vehicles']):
        index = routing.Start(vehicle_id)
        plan_output = 'Route for vehicle {}:\n'.format(vehicle_id)
        route_distance = 0
        while not routing.IsEnd(index):
            plan_output += ' {} -> '.format(manager.IndexToNode(index))
            previous_index = index
            index = solution.Value(routing.NextVar(index))
            route_distance += routing.GetArcCostForVehicle(
                previous_index, index, vehicle_id)
        plan_output += '{}\n'.format(manager.IndexToNode(index))
        plan_output += 'Distance of the route: {}m\n'.format(route_distance)
        print(plan_output)
        max_route_distance = max(route_distance, max_route_distance)
    print('Maximum of the route distances: {}m'.format(max_route_distance))

def main():
    """Solve the CVRP problem."""
    # Instantiate the data problem.
    data = create_data_model()

    # Create the routing index manager.
    manager = pywrapcp.RoutingIndexManager(
        len(data['distance_matrix']),
        data['num_vehicles'],
        data['starts'],
        data['ends'])

    # Create Routing Model.
    routing = pywrapcp.RoutingModel(manager)

    # Create and register a transit callback.
    def distance_callback(from_index, to_index):
        """Returns the distance between the two nodes."""
        # Convert from routing variable Index to distance matrix NodeIndex.
        from_node = manager.IndexToNode(from_index)
        to_node = manager.IndexToNode(to_index)
        return data['distance_matrix'][from_node][to_node]

    transit_callback_index = routing.RegisterTransitCallback(distance_callback)

    # Define cost of each arc.
    routing.SetArcCostEvaluatorOfAllVehicles(transit_callback_index)

    # Add Distance constraint.
    dimension_name = 'Distance'
    routing.AddDimension(
        transit_callback_index,
        0,  # no slack
        3000,  # vehicle maximum travel distance
        True,  # start cumul to zero
        dimension_name)
    distance_dimension = routing.GetDimensionOrDie(dimension_name)
    distance_dimension.SetGlobalSpanCostCoefficient(100)

    initial_solution = routing.ReadAssignmentFromRoutes(data['initial_routes'], True)
    print('Initial solution:')
    print_solution(data, manager, routing, initial_solution)

    # Set default search parameters.
    search_parameters = pywrapcp.DefaultRoutingSearchParameters()
    search_parameters.first_solution_strategy = (
        routing_enums_pb2.FirstSolutionStrategy.PARALLEL_CHEAPEST_INSERTION
    )

    # Solve the problem.
    solution = routing.SolveWithParameters(search_parameters)

    # Print solution on console.
    if solution:
        print('Solution after search:')
        print_solution(data, manager, routing, solution)
        print('end')

if __name__ == '__main__':
    main()

I believe that if you change the depot, the initial route is no longer feasible.
Can you check this ?

Thank you for your reply!
So the term
data['depot']=0
does not do anything here, as you can comment it out, sorry for leaving that in. The task here is just to find a route that passes through all nodes.
If you meant setting the end point differently, you are correct. Setting
data['ends']=[4]
for example, the initial route is no longer feasible. Actually again I could not determine any feasible route without changing also data['starts'] to zero. Which again would speak in favour of my guess, that the starting point somehow gets added to the initial route.

if you look at the sibling method https://github.com/google/or-tools/blob/39f44709bba203f5ff3bc18fab8098739f189a6d/ortools/constraint_solver/routing.h#L909-L911
you'll see:

The indices of the outer vector in
// 'routes' correspond to vehicles IDs, the inner vector contains the
// variable indices on the routes for the given vehicle. The inner vectors
// must not contain the start and end indices, as these are determined by the
// routing model.

Since you initial route is [[3, 1, 2]] then start and end node must be 0 or 4

Thank you again for your reply.
That is exactly what I assumed how it should work. There are just some settings that leave me puzzled so far:
data['starts']=[2]
data['ends']=[4]
data['initial_routes']=[[0,1,3]]

Prints the route: 2 ->  0 ->  1 ->  3 -> 4

changing the endpoint to 3 gives here:
data['starts']=[2]
data['ends']=[3]
data['initial_routes']=[[0,1,3]]

Prints the route: 2 ->  0 ->  1 ->  4 -> 3

whereas when one changes the initial_route, swapping the 3 with a 4:
data['starts']=[2]
data['ends']=[3]
data['initial_routes']=[[0,1,4]]

gives an error, as 4 not being a valid index.

@FabianPieroth did you ever get to the bottom of this one? I've got a similar problem.

@Mizux
I think it is something to do with this:
https://github.com/google/or-tools/blob/39f44709bba203f5ff3bc18fab8098739f189a6d/ortools/constraint_solver/routing.cc#L3278
As I get the error message

E0925 14:22:28.669245  3510 routing.cc:3328] Invalid index: 229

I guess that must be because to_index >= Size().
What is Size() here?

Would removing || to_index >= Size() solve the problem? Or would that cause problems elsewhere?

My current work around is to order the distance matrix [starts, nodes, ends], which seems to solve the problem.

Hello @tomliptrot,
sorry for the late reply. Unfortunately I did not find a nice way to fix it. I guess I will try your approach of ordering the distance matrix.
However, I have the feeling, that there is something easy that we are missing here.


chore(deps): bump https://github.com/jenkins-x/jx-verify.git to 0.0.32

Update jenkins-x/jx-verify to 0.0.32
Command run was jx step create pr regex --regex version: (.*) --version 0.0.32 --files docker/gcr.io/jenkinsxio-labs-private/jx-verify.yml --repo https://github.com/jenkins-x/jxr-versions.git

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign macox
You can assign the PR to them by writing /assign @macox in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
d6b1d480be9bb96d1f2c2b00b109e03274acd6fd
link
/test vault

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
d6b1d480be9bb96d1f2c2b00b109e03274acd6fd
link
/test vault

kube
d6b1d480be9bb96d1f2c2b00b109e03274acd6fd
link
/test kube

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.

@jenkins-x-bot-test: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

vault
d6b1d480be9bb96d1f2c2b00b109e03274acd6fd
link
/test vault

kube
d6b1d480be9bb96d1f2c2b00b109e03274acd6fd
link
/test kube

gsm
d6b1d480be9bb96d1f2c2b00b109e03274acd6fd
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


Allow setting module.exports for CommonJS module

Problem
Currently
scalaJSModuleKind := ModuleKind.CommonJSModule
used together with
@JSExportTopLevel("foo")
def foo...

generates code that's equivalent of
exports = foo.
However, according to this SO answer: https://stackoverflow.com/questions/7137397/module-exports-vs-exports-in-node-js if we want to allow required modules to be called like a function, for example:
var x = require('./our_scalajs_module.js')()
we need to generate code that does equivalent of:
module.exports = foo.
This is required for interopability with some js frameworks (probot in my case).
Possible solution
Additional annotation that would allow this?

@JSExportTopLevel without string parameter does not exist. Please give a full example.
Besides, Scala.js cannot do either exports = foo nor module.exports = foo, because ECMAScript 2015 modules cannot do that.

Sorry, I meant it currently does exports.foo = foo, like in my generated file by fastOptJS:
var $e = exports;
// ...and at the end of the file:
$e.foo = (function(arg$1) {
  var prep0 = arg$1;
  $m_Lscalafmtprobot_Lib$().foo__Lscalafmtprobot_Robot__V(prep0)
});

I work around this problem by manually editing the generated file by adding:
module.exports = $e.foo

Besides, Scala.js cannot do either exports = foo nor module.exports = foo, because ECMAScript 2015 modules cannot do that.

As mentioned I am using scalaJSModuleKind := ModuleKind.CommonJSModule setting in sbt.

Yes, I'm afraid this is a won't fix.
ECMAScript 2015 modules do not allow to export an arbitrary object/function as the module itself. They only allow exporting members of a special module-object. Since Scala.js semantically follows ES 2015, it does not provide any language feature that cannot be translated to ES 2015, and therefore does not provide any way to export an arbitrary value as `module.exports


connection.addPlugin is not a function

I am testing one of the examples in jsstore and I am receiving the following error: formList.html:21 Uncaught TypeError: connection.addPlugin is not a function. I am testing it on a tablet. Everywhere I check for this error I can't find anything related. It would be nice to see real examples setting this up for using the jsstore. I want to have the sqlweb functionality in place to use sql on indexexDB stores. What am I missing? See code below taken from the wiki page at https://github.com/ujjwalguptaofficial/sqlweb/wiki.

you are doing right but you are using older version of jsstore. Please update it to latest version or let me know your current version.

Hi, so where do I get the recent version? could you please point me out to the right links where to get this?
Thank You.

Never mind. I found the latest version and I got it working so far.  You have done a marvelous job by developing this wrapper. Thank you so much for such a wonderful job; you have made my life and so many others so easy. With this, you took a huge load from developer's backs; now we can forget about the old deprecated websql.
Thanks again.

@carper7 thanks so much for nice words :). Please spread the word about jsstore, sqlweb.


Singlestat Showing N/A for a file size data

I'm submitting a ...

[X] Bug report
[ ] Feature requestdd
[ ] Question / Support request

If you don't send bug report, remove sections below
For bug report please include this information:
Software Versions

Grafana
Zabbix
Grafana-Zabbix Plugin

4.3.2
3.2.6
3.4.0

What did you do?
Add a Singlestat grafic to show the Size of a .MDF file. Zabbix is showing correct info, with the key:
vfs.file.size["C:\Program Files\Microsoft SQL Server\MSSQL11.SRVDBSAP\MSSQL\DATA#######.mdf"]
What was the expected result?
Last Data on Zabbix is showing correct result: 42,99GB
What happened instead?
Grafana returns only "N/A"
If it relates to metric data visualization would be great to get

Which time range did you set? And what is a value update time in Zabbix latest data?

I left the Grafana default time range:

Zabbix update time for the item is 43200segs (12 hours)

Just increase time range - there isn't data for this period.

Zabbix update time was 30sec before (already N/A), then I increase it to 43200sec.
I tried to increase Grafana Time Range but no change at the data displayed.

Try to look at network request. What does zabbix return?


BaaS

From @Lennie:
Hello Mr. Cunningham,
Maybe this is a silly idea about a different way to deploy CSS/JS/images than Bosco. It's just a thought experiment.
Or maybe my misunderstanding about why/how to use Bosco. :-)
Why not build a system more similar to compoxure for the CSS/JS/images as for the HTML ?
What if your microservice deployment tool prevents deployment of a new microservice if csslint or jslint/jshint says the JS/CSS isn't correct.
Obviously it would be desirable to have a convention how to keep your CSS and JS modular and probably add an extra check to make sure the code doesn't violate that.
It would keep a cache of successfully deployed CSS/JS of each microservice.
Then when a microservice is deployed it can combine them from the different microservices and push to CDN.
Shouldn't something like Bosco be a running service which just watches git branches with a webhook ?
If you have something like this developers might need to deploy the Docker container which runs the Bosco alternative on their development machines.
Have a good day,
Lenne.

The positives I can see:

It could become like a 'travis for front end assets' - e.g. it goes and gets them, builds them, and then stores them for each commit, with an audit log / build status.
On a tag commit it would store the version against a bundle, this can be referenced elsewhere (e.g. in compoxure cx-bundle directives become a semantic version lookup for inclusion of FE assets, or any other service call) - see #97.  (service wouldn't serve assets, just return the full url on the cdn so you can render it in the page yourself).
Local bosco cdn mode could act as a proxy to this service vs requiring it to run CDN for every service locally (it just needs to serve the assets for the service you are actually editing which would be a huge plus).
Solves some concerns @bettiolo has re. building a service against one version of a shared component in dev, and then deploying against an older one in live, as it is semantically versioned and hence you would be more explicit in your service about the version of the assets you want from the other service (still leaves an issue of a service vs asset version mismatches - e.g. service A wants 0.3.x of a bundle from service B, but service B is running in live and wants 0.4.x).
Would speed up builds as we wouldn't be compiling the front end assets (pros and cons to this - if they are separate, and the front end build fails, what should a service build show?).


@Labels setter is not called when loading entity

Expected Behavior

Whenever loading an entity, OGM should call (or at least have the option to) @Labels setter property.
Current Behavior

This seems to be a regression and @Labels setter is not called anymore.
Possible Solution

IDK
Steps to Reproduce (for bugs)

Please, check a simple example I've created on my fork: https://github.com/jdorleans/neo4j-ogm/commit/7db14549c2ffc8fec1f9d1964a16d47297b72eab
Context

In many cases I wanna represent transient fields in my domain as Labels. For that I need to:

update labels whenever the transient field changes
update the transient field back to its state when the labels are loaded from the DB

However, it seems the current version of OGM does not call setter for labels anymore. As a result, all transient fields of my domain are no longer updated.
Your Environment

OGM Version used: 3.0.0
Java Version used: 1.8
Neo4J Version used: 3.2
Bolt Driver Version used (if applicable):
Operating System and Version: Ubuntu and Mac
Link to your project: https://github.com/jdorleans/neo4j-ogm/commit/7db14549c2ffc8fec1f9d1964a16d47297b72eab

There are a couple a changes when migrating from OGM 2.1 to 3.0. One of them is that getters/setters access is not supported anymore.
The docs are not published yet, but should very soon. In the meantime, you can check the migration guide here.
Can you have a look give some feedback please ? Maybe it is something we should improve in the docs.
From what I see in your example, you might be interested in the @PostLoad annotation, which you can use in you entities to do some custom initialization after loading.

Thx @nmervaillie I'll check and give some feedback.

@PostLoad solves it, but I'm forced to use the annotation at the lowest level. I'd like to have a postLoad() method in my Entity abstraction and just override it whenever needed by its children.
It seems MethodsInfo only runs on declared methods instead of all the hierarchy methods.
Probably that could solve the problem when looking for the annotation. So, instead of calling: cls.getDeclaredMethods() it'd call cls.getMethods(). Not sure if we should create another issue for that.

Ok, that seems like a bug.

I can confirm it's definitely a bug. I hope the tests I included in my new PR (#484) will help solve this. Please, check on this test: https://github.com/neo4j/neo4j-ogm/pull/484/files#diff-8af1ea6d5cb8f598b436005e95aeba80R83

I'm closing this issue in favor of #516. We don't support setter-semantics anymore and the bug regarding @PostLoad should be tracked separate. Thanks.


support GPG encryption

RT  主要是放在env里的密码容易忘记
Look at the title.

At present, I do not want to support GPG file encryption.
However, if I receive five or more requests for this feature, I will prioritize its implementation as soon as possible.

Just opened a PR adding GPG encryption ability. #135


Fixed bug #79

Sorry, but are you able to resubmit as a merge to the v1.9 branch? I edited it, but the continuous integration looks like it's still targeting master. Or just editing your commit message and doing a force push might work too.