ThemingV2: user testing and adjustments

🎯 Goal
Describe why we are making this change
🛠 Implementation details
Provide a description of the implementation
🎨 UI Changes
Add relevant screenshots

:tada: This PR is included in version 3.0.0-theming2.4 :tada:
The release is available on:

npm package (@theming2 dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support try…catch around next() in middleware

I'd love to be able to use standard try…catch around next() in middleware in the way that Koa does it. In my opinion this is more elegant than Nest's current middleware + exception filter combination.
I'm currently writing some middleware that wraps controllers in a database transaction. I attach the database client to the Request object, but exception handlers only have access to the Response object, so unfortunately this makes it a bit awkward.
I love the DI and encouraged type safety of Nest, but really miss the first-class async/await paradigm of koa.

Hey @bradleyayers,
The interceptors available since v4 release should fit your requirements http://www.docs.nestjs.com/interceptors
You have an access to the request here and also to the thrown exception.
Let me know if it's fine :)
Best,
Kamil


Rewrite disk redirection using WinPR

Goal: Handle properly Unicode characters like '表' (U+8868) or '𤭢' (U+24B62 UTF-16 surrogate pairs) with disk redirection.

Add some missing functions to WinPR
Rewrite the disk redirection channel using the WinPR *W functions

@freerdp-bot test.

@freerdp-bot test

@freerdp-bot test.

@freerdp-bot test

@freerdp-bot test

@DavBfr Your pull looks quite nice. Except for the comment from @hardening and the mixed declarations failing VS2010 build. (the latter you can spot by adding -DCMAKE_C_FLAGS="-std=gnu90 -pedantic" and grep for ISO C90 forbids mixed declarations and code

@freerdp-bot test

@freerdp-bot test

As a general comment, I'm starting to think that all File operations should be done on the file descriptor instead of using f[read|write] operations, so that we can correctly map errno to a windows error.
One would even suggest that it would be a good idea that FILE winpr object would not have use FILE * but just the raw file descriptor...

@freerdp-bot test

@freerdp-bot be nice and test this one trough!

@DavBfr Could you be so kind to fix the issues found in the latest reviews? Would be nice to merge this one finally.

@freerdp-bot test

@freerdp-bot test

@freerdp-bot test

@freerdp-bot test

@hardening Do you think it is ready now?

@freerdp-bot test


Automate creation of member environment github actions workflow

User Story
Automate provisioning of the workflow file created in #749 as part of the new environment files workflow.
Definition of done

[ ] github actions workflow file is created as part of the new environment files process
[ ] readme has been updated
[ ] user docs have been updated
[ ] another team member has reviewed
[ ] tests are green

Reference
How to write good user stories

Automating github environments isn't possible via the Terraform provider currently.  We may have to do this directly with the Github api - https://docs.github.com/en/rest/reference/repos#create-or-update-an-environment

This is pretty much done with the above pull request, outstanding actions:

[ ] Find a way to add all the teams at once to the repo.
[ ] Update docs
[ ] Update current environments to have the github envs and workflow files.


Give the crate::widgets::reflow module public visibility

I'm writing a new widget for tui-rs ecosystem that I eventually plan to open-source.
But the new widget needs access to either the widgets::reflow library, or copy the code.
Reuse seems like the better option to me.

Hey 👋 . This change is quite important in the sense it increases significantly the API surface of the crate and thus the maintenance cost. Could you provide more details on your needs ?
I think this is also somewhat linked to the missing ability to have the size of a text after being wrapped in Paragraph. For example, a more flexible Text object with wrapping and alignment capabilities might help you. I'll try to open an issue with a summary of possible solutions.

Hi there :smile:
Here's the use case:
I've written a TextEditor widget for tui-rs, which I'd like to open source and distribute via crates.io.
In order to write it, I used the  tui::widgets::Paragraph type as an example, in particular impl StatefulWidget for Paragraph.
The thing is, impl StatefulWidget for Paragraph makes the exact same use of these 3 types as my TextEditor widget does:
tui::widgets::reflow::{LineComposer, LineTruncator, WordWrapper}


Prefixing hapi-io routes

It appears prefixing hapi-io doesn't work as it does for other hapi plugins.
server.register({
  register: hapio
},  {
  routes: { prefix: API_VERSION_PATH }
},...);

The above snippet implies socket.io should be listening at host + API_VERSION_PATH  but that isn't the case. The prefix makes no difference.
What am I missing here?

I haven't looked into adding support for the prefix option. Could you try the following code, and let me know if it works for you:
server.register({
  register: hapio,
  options: {
    socketio: {
      path: API_VERSION_PATH + '/socket.io'
    }
  }
});

@sibartlett I can confirm this does not work.
More specifically this does not work for using the hapi-io plugin for routes in a plugin with a route prefix.


Should there be a discussion tab as well?

Perhaps it might make sense to add a discussion tab, not just issues.

Do you mean labels? or there is something else we can use?

Isn't there a discussion tab? Just like there is issues. OTOH there probably isn't. I thought there was.

There isn't a discussion tab, I wish GitHub would make separate areas like that as making an issue tagged "discussion" doesn't feel quite right, but it's the way it's done.


Allow config of oauth client id & urls from a central config for both the server & the UI

Align the config specified here for the UI https://github.com/feedhenry/mobile-server/blob/81cbd0476c46558f57fa28ef88c10b27683056f8/web/app/config.js
with the config on the server here https://github.com/feedhenry/mobile-server/blob/81cbd0476c46558f57fa28ef88c10b27683056f8/cmd/mobile-server/main.go#L61-L72
Recommending using a similar approach to the origin-web-console where the config.js is dynamically generated from a template based on server config.
https://github.com/openshift/origin/blob/master/pkg/assets/handlers.go#L182-L215

Fixed in #21


#[aztec(event)] macro

It makes sense to use structs to define events in Noir. The only difference between arbitrary structs and event structs would be that the event structs should have a selector as the first field in the struct. Noir would then correctly serialize this selector as the first field when we dump this struct into the event oracle. The selector would be the same thing as event selector in Ethereum -> we would include the struct info in ABI -> based on this struct info we would then be able to compute the selector and later on match the raw logs with the event in the ABI using this selector.
Since we don't want to force users to declare and compute this selector manually I would create an #[aztec(event)] macro which would compute the selector and place it on the first position.
I don't know enough about macros in Noir to be able to asses how achievable this is so it would be nice to get a feedback from @kevaundray, @Maddiaa0, @sirasistant and anyone else who feels like chiming in.

Finished


v23 breaks WebStorm breakpoints

Issue
v23 breaks WebStorm's ability to set and hit breakpoints.
Expected behavior
Tests should remain debuggable after upgrading to v23.
Output from your debug log
Not created. I set the environment variable TS_JEST_DEBUG="true", but neither the WebStorm run nor the console run (TS_JEST_DEBUG="true" yarn test) create a file at ./node_modules/ts-jest/debug.txt**.
Link to a minimal repo that reproduces this issue
https://github.com/Y0hy0h/ts-jest-debug
Instructions are in the repo's README.
Additional Info
Obviously, this is a breaking change in v23 and it could be considered noting it in issue #601.

I was struggling with this problem yesterday. Thank you for reporting this issue!

tested, #626 will fix this (tho you NEED to remove the --watchAll option from the run configuration for it to work, even in 22.x – but yeah, it's broken in actual 23.0.1)

fixed in 23.1.2

I think can not close this issue, use<EMAIL_ADDRESS>and<EMAIL_ADDRESS>breakpoint still not hit, use<EMAIL_ADDRESS>is work

Hi @nodece, thanks for the feedback.
Can you provide the link to a minimal repo where we can reproduce the issue, it'll help us fix it.

hmmm. I've tested that one with the repo provided by @Y0hy0h, just testing again now and it doesn't work... weird. @nodece no need for a minimal repo!
Ok, good I waited to post this comment. If you add @babel/core, then it'll work with breakpoints. If you cannot, or don't wan't to add it and still use the v6, then you can add debugger as a workaround. I guess it has something to do with how babel is handling source-map depending on the versions. So I wouldn't say that it directly depends on ts-jest version, but on the babel version used under the hood. I'll take a look as soon as I have a bit of time today.

@Y0hy0h  Thanks.

btw @Y0hy0h you used roots in jest. This is used to define multiple PROJECTs, so you should use "rootDir": "../src", and define mapping accordingly instead

@huafu But generally, if you'd like to have anything changed in the repo, just submit a PR. ;)

Oh man now re-installing everything and clearing all caches I know of it DOES work!....

oooohhh OK found it
this is a babel issue, the fix is: https://github.com/babel/babel/commit/21fdaa2a046bb76704992d21c38b089d4a292dc8
...now looking at what can be done ts-jest's side

Use typescript，not use babel， why is the v22.4.6 version available? @huafu

ts-jest uses babel under the hood for hoisting and also instrumentation. You can look in the git history of babel to find out why it was working in v22, sorry I have no time for this now. I guess jest was adding the sourcemap comment itself in 22...
Now working on a fix (which will be a hack) so that we can continue to use babel 6 with breakpoints...

🎉


Update snakeyaml version to fix CVE-2017-18640

Hello,
This morning I found that the OSS Sonatype index maven plugin is failing the build of any project using karate because of CVE-2017-18640. This issue exists in snakeyaml 1.24 (the version currently used). A ticket was opened in the SnakeYAML repo and it got fixed in 1.26.
To solve this issue I suggest upgrading to 1.27, which is the latest version and doesn't seem to include any breaking changes.
Thanks!

@DeGuitard done thanks, release 1.0 may be a few months out but we should be able to get a 0.9.7.RC1 in a week or two

That was fast, thanks a lot :)

@DeGuitard no worries. we'll keep this open until a formal release version (just our process, reopening)

Anyone aware of testing using snakeyaml 1.27 with karate 0.9.5?  Any issues discovered if so?  Thanks

@hoby1cat8 as far as I know there are no issues. the problem reported here is if any extra security checks are being run as part of a build

OK thanks @ptrthomas . We came across this via security scan so planning our update/testing path to resolve. Since you're going to 1.26 of snakeyaml in Karate 1.0.0 we may update/test only version 1.26 of snakeyaml with 0.9.5.

@hoby1cat8 ah. thanks for the reminder, I just did a sweep of the project and upgraded all the dependencies I could. so karate 1.0 will use snakeyaml 1.27

1.0 released


Create Monad Transformers : StreamT, StreamableT, ListT, CompletableFutureT

released in v7.0.0 of cyclops


Relay reconnect logic throws unhandled Null check on first re-connect

The first time a Relay Client session is automatically re-connected, there is a null assertion fired.  Follow on re-connects are fine.   (This may be causing some flakiness for app user's minutes 5-10. )
NOTE: This may have been introduced in the 2.0 timeframe, not new with today's build.
Steps to reproduce:

Connect a new Wallet
Navigate back to the flutter app
Wait for 5 minutes for the onRelayClientDisconnect event to occur.

_createJsonRPCProvider
      jsonRPC = Peer(socket.channel!);

I/flutter (24464): 18:57:53 🐛 HomePage        - AppLifecycleState: AppLifecycleState.resumed.
I/flutter (24464): 18:58:52 🐛 WalletConnctSvc - Core.onRelayClientDisconnect - Marking relay connection down. Connection lasted 299 seconds.
I/flutter (24464): 18:58:53 🐛 WalletConnctSvc - Core.onRelayClientError  - error: Null check operator used on a null value
E/flutter (24464): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Null check operator used on a null value
E/flutter (24464): #0      RelayClient._createJsonRPCProvider (package:walletconnect_flutter_v2/apis/core/relay_client/relay_client.dart:215:36)
E/flutter (24464): <asynchronous suspension>
E/flutter (24464): #1      RelayClient.connect (package:walletconnect_flutter_v2/apis/core/relay_client/relay_client.dart:176:5)
E/flutter (24464): <asynchronous suspension>
E/flutter (24464): #2      RelayClient._reconnect (package:walletconnect_flutter_v2/apis/core/relay_client/relay_client.dart:246:5)
E/flutter (24464): <asynchronous suspension>
E/flutter (24464):
I/flutter (24464): 18:58:53 🐛 WalletConnctSvc - Core.onRelayClientConnect - Marking relay connection up.

Later reconnects work without error.
I/flutter (24464): 19:03:53 🐛 WalletConnctSvc - Core.onRelayClientDisconnect - Marking relay connection down. Connection lasted 299 seconds.
I/flutter (24464): 19:03:55 🐛 WalletConnctSvc - Core.onRelayClientConnect - Marking relay connection up.
I/flutter (24464): 19:08:55 🐛 WalletConnctSvc - Core.onRelayClientDisconnect - Marking relay connection down. Connection lasted 300 seconds.
I/flutter (24464): 19:08:56 🐛 WalletConnctSvc - Core.onRelayClientConnect - Marking relay connection up

If you restart the app (with the saved connection) there is a more dramatic failure mode on first reconnect.  Same/different issue?:
I/flutter (30782): 19:20:05 🐛 WalletConnctSvc - Core.onRelayClientDisconnect - Marking relay connection down. Connection lasted 299 seconds.
I/flutter (30782): 19:20:07 🐛 WalletConnctSvc - Core.onRelayClientConnect - Marking relay connection up.
I/flutter (30782): 19:20:07 ⛔ WalletConnctSvc - Core.onRelayClientError  - error: Bad state: Stream has already been listened to.
E/flutter (30782): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Bad state: Stream has already been listened to.
E/flutter (30782): #0      _StreamController._subscribe (dart:async/stream_controller.dart:676:7)
E/flutter (30782): #1      _ControllerStream._createSubscription (dart:async/stream_controller.dart:827:19)
E/flutter (30782): #2      _StreamImpl.listen (dart:async/stream_impl.dart:471:9)
E/flutter (30782): #3      _WebSocketImpl.listen (dart:_http/websocket_impl.dart:1188:31)
E/flutter (30782): #4      _CompleterStream.listen (package:async/src/stream_completer.dart:127:29)
E/flutter (30782): #5      new _ForwardingStreamSubscription (dart:async/stream_pipe.dart:114:10)
E/flutter (30782): #6      _ForwardingStream._createSubscription (dart:async/stream_pipe.dart:86:16)
E/flutter (30782): #7      _ForwardingStream.listen (dart:async/stream_pipe.dart:81:12)
E/flutter (30782): #8      CastStream.listen (dart:_internal/async_cast.dart:17:17)
E/flutter (30782): #9      new _ForwardingStreamSubscription (dart:async/stream_pipe.dart:114:10)
E/flutter (30782): #10     _ForwardingStream._createSubscription (dart:async/stream_pipe.dart:86:16)
E/flutter (30782): #11     _ForwardingStream.listen (dart:async/stream_pipe.dart:81:12)
E/flutter (30782): #12     _CloseGuaranteeStream.listen (package:stream_channel/src/close_guarantee_channel.dart:60:31)
E/flutter (30782): #13     new _ForwardingStreamSubscription (dart:async/stream_pipe.dart:114:10)
E/flutter (30782): #14     _ForwardingStream._createSubscription (dart:async/stream_pipe.dart:86:16)
E/flutter (30782): #15     _ForwardingStream.listen (dart:async/stream_pipe.dart:81:12)
E/flutter (30782): #16     _CloseGuaranteeStream.listen (package:stream_channel/src/close_guarantee_channel.dart:60:31)
E/flutter (30782): #17     Peer.listen (package:walletconnect_flutter_v2/apis/core/relay_client/json_rpc_2/src/peer.dart:123:21)
E/flutter (30782): #18     RelayClient._createJsonRPCProvider (package:walletconnect_flutter_v2/apis/core/relay_client/relay_client.dart:230:15)
E/flutter (30782): <asynchronous suspension>
E/flutter (30782): #19     RelayClient.connect (package:walletconnect_flutter_v2/apis/core/relay_client/relay_client.dart:176:5)
E/flutter (30782): <asynchronous suspension>
E/flutter (30782): #20     RelayClient._reconnect (package:walletconnect_flutter_v2/apis/core/relay_client/relay_client.dart:246:5)
E/flutter (30782): <asynchronous suspension>
I/flutter (30782): 19:25:07 🐛 WalletConnctSvc - Core.onRelayClientDisconnect - Marking relay connection down. Connection lasted 300 seconds.
I/flutter (30782): 19:29:56 🐛 HomePage        - Ping Pairing BitKeep
I/flutter (30782): 19:29:56 🐛 WalletConnctSvc - pingPairing - topic: 031a9eb332dfdb563c081c05bed258dd1d55cbd104514a0cd3909bba8ec7c3d7
I/flutter (30782): 19:29:56 ⛔ WalletConnctSvc - Core.onRelayClientError  - error: Bad state: Cannot add event after closing

The reconnection logic does not fire.

I tried with a different wallet (Rainbow for Android.)  The behavior looks more like a race condition.  It didn't occur on the first reconnect.
Steps

Start App
Connect wallet
Wait

I/flutter (23748): 10:39:39 🐛 WalletConnctSvc - Core.onRelayClientDisconnect - Marking relay connection down. Connection lasted 300 seconds.
I/flutter (23748): 10:39:40 🐛 WalletConnctSvc - Core.onRelayClientConnect - Marking relay connection up.
I/flutter (23748): 10:44:40 🐛 WalletConnctSvc - Core.onRelayClientDisconnect - Marking relay connection down. Connection lasted 299 seconds.
I/flutter (23748): 10:44:43 🐛 WalletConnctSvc - Core.onRelayClientConnect - Marking relay connection up.
I/flutter (23748): 10:49:43 🐛 WalletConnctSvc - Core.onRelayClientDisconnect - Marking relay connection down. Connection lasted 300 seconds.
I/flutter (23748): 10:49:45 ⛔ WalletConnctSvc - Core.onRelayClientError  - error: Null check operator used on a null value
E/flutter (23748): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Null check operator used on a null value
E/flutter (23748): #0      RelayClient._createJsonRPCProvider (package:walletconnect_flutter_v2/apis/core/relay_client/relay_client.dart:215:36)
E/flutter (23748): <asynchronous suspension>
E/flutter (23748): #1      RelayClient.connect (package:walletconnect_flutter_v2/apis/core/relay_client/relay_client.dart:176:5)
E/flutter (23748): <asynchronous suspension>
E/flutter (23748): #2      RelayClient._reconnect (package:walletconnect_flutter_v2/apis/core/relay_client/relay_client.dart:246:5)
E/flutter (23748): <asynchronous suspension>
E/flutter (23748):
I/flutter (23748): 10:49:45 🐛 WalletConnctSvc - Core.onRelayClientConnect - Marking relay connection up.

Looks good.  I did hit a corner case ... because I am cursed at hitting bugs.
I was disconnecting the pairing on my side, when the relay connection went down.  The restart logic I think threw a few errors when the disconnect logic was trying to delete the sessions associated with the pairing.
disconnectPairing is my function that calls
await core.pairing.disconnect(topic: topic);

I/flutter (15052): 10:26:14 🐛 WalletConnctSvc - disconnectPairing -
I/flutter (15052): 10:26:16 🐛 WalletConnctSvc - Core.onRelayClientDisconnect - Marking relay connection down. Connection lasted 298 seconds.
I/flutter (15052): 10:26:17 🐛 WalletConnctSvc - Core.onRelayClientConnect - Marking relay connection up.
I/flutter (15052): 10:26:17 ⛔ WalletConnctSvc - Core.onRelayClientError  - error: Bad state: Stream has already been listened to.
I/flutter (15052): 10:26:17 ⛔ WalletConnctSvc - Core.onRelayClientError  - error: Bad state: Stream has already been listened to.
I/flutter (15052): 10:26:18 🐛 WalletConnctSvc - signEngine.onSessionDelete  - topic: e9585d7d9b2815f84abe870b9b2f0d3e533892c2ed3a074f63140e1ed4b5cb5b id: null
I/flutter (15052): 10:31:17 🐛 WalletConnctSvc - Core.onRelayClientDisconnect - Marking relay connection down. Connection lasted 300 seconds.

I appreciate it. I'll write it down in the list of things to tackle.
I'll keep this issue closed, as it looks like the above issue is separate or new, and no longer the null check.


User callbacks not working for sourcery

I found an issue that callbacks not working for user when it updates last_activity_at, or whenever you have a call @sourcery_adapter.update_attribute. I even don't understand why that exists, at least for active record. I'll write a fix for this issue.
Why this is important?
For example for real-time update via websockets user status.

Hi @Bogdan-D,
I don't remember specific issue when it was posted, but I think the reason is that the update_attributes method in Rails saves the whole record, not only the attributes you specify. What I mean is that if I have a following User object:
=> #<User:0x007fe51213b970 id: 1, name: "Bob", email<EMAIL_ADDRESS>
and I run following code:
user.name = "Charlie"
user.update_attributes(email<EMAIL_ADDRESS>
the reloaded user object will be following:
=> #<User:0x007fe51213b970 id: 1, name: "Charlie", email<EMAIL_ADDRESS>
which means that both fields were saved to database, while I wanted to save only one.

What about this http://apidock.com/rails/ActiveRecord/Relation/update, it will run callbacks, validations and update only needed attributes without saving model


Dragging the main window should also move any "connected" windows

A connected window is any directly adjacent window, or any window adjacent to that window.

Fixed in 994c725f60afa16c868cf27b471a95b602d33366


upgrade grid snapshots

Situation

Updates on the grid snapshots repo docs: https://github.com/threefoldtech/grid_deployment/commit/34b0129196ce8176e8a46e3cc4389633c287bbcf

Todo

Add info to the manual here: https://manual.grid.tf/documentation/developers/grid_deployment/snapshots.html

Complete when #513 is merged.


Fix test name duplicate for hugepages tests

What this PR does / why we need it:
To avoid getting errors from junit-merger we make the test name for 2Gi
with guest memory configuration unique.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
/cc @rmohr
Release note:

NONE

/lgtm
/approve

/lgtm cancel

/lgtm

/retest
introduced a small mistake in the migrations job definition when making them mandatory. Should be fixed now.

/retest due to new job pull-kubevirt-e2e-k8s-1.23-sig-compute-migrations

/retest

/retest

/retest

/cherrypick release-0.49


import error in python and c++

Hello, i want to use lanetlet2 package to edit lanelet2 vector map made on Tier4.
But i'm not good at dealing with library, python and specific os etc...
I just know that if i want to use external package in python, just download it and import that.
Only within that way, i couldn't run lanelet2 in python with error "Module Not Found: No module name lanelet2"
I guess, maybe i fail to set up environment for lanelet2...
In this background, simply i have two questions.
First, can i use this(lanelet2) package with no ros2? (Can i use it just in python command 'import' with no set up?)
Second, if i have to set up for lanelet2, can you tell me what should i do specifically?
(I'm trying to follow 'manual installaiton' now. Is that okay just keep going?)
Or, is there any document i can study and refer?
Informations in 'Read me' that i read is difficult to me.
I already try 'using ros2' and 'using docker' but i failed because of some errors.
I'm sorry for asking basic level question but i really want to know for using lanelet2..

Hello, i want to use lanetlet2 package to edit lanelet2 vector map made on Tier4. But i'm not good at dealing with library, python and specific os etc... I just know that if i want to use external package in python, just download it and import that. Only within that way, i couldn't run lanelet2 in python with error "Module Not Found: No module name lanelet2" I guess, maybe i fail to set up environment for lanelet2...
In this background, simply i have two questions. First, can i use this(lanelet2) package with no ros2? (Can i use it just in python command 'import' with no set up?) Second, if i have to set up for lanelet2, can you tell me what should i do specifically? (I'm trying to follow 'manual installaiton' now. Is that okay just keep going?) Or, is there any document i can study and refer? Informations in 'Read me' that i read is difficult to me. I already try 'using ros2' and 'using docker' but i failed because of some errors. I'm sorry for asking basic level question but i really want to know for using lanelet2..

i resolved this problem thank you


Compiler Error XCode 6.4

Just created a clean project in XCode 6.4 and added RestKit as a cocoa pod. I am getting the following errors when compiling lcl_RK.h and lcl_config_components_RK.h files.

Any views on how to solve this? Thanks in advance.

Hi,
I had the same problem.Resolved after using cocoapods version 0.38.0.
it's cocoapods 0.38.1 that generates this compilation error

Perfect. Thank you!


[Fix] ServerInfo

Add fields as Optional

This issue was migrated from an old repository: https://github.com/CiscoDevNet/catalystwan/pull/281


feat(map): initialising map

the "center me" appears to be totally off on my computer (I didn't approve the request when asked to see how that would react... so I would assume it should be a no-op in that case, but it still zoom in in a "random" point in the middle of El Salvador)

the "center me" appears to be totally off on my computer (I didn't approve the request when asked to see how that would react... so I would assume it should be a no-op in that case, but it still zoom in in a "random" point in the middle of El Salvador)

Yes, I know. I was working on it; it's fixed now. Now, the pointer will only be shown if the user allows their location.


*.config.fish files in $fish_function_path cause fish to believe a function named *.config.fish exists

In config.fish, fisherman currently sources everything in $fisher_config/functions that is named *.config.fish.
Only because $fisher_config/functions is in $fish_function_path, this causes an issue:

fish will complete *.config (e.g. "banana.config" if you have a file called "banana.config.fish")

fish will mark it as a valid command via syntax highlighting, and only fail once it is executed

What you want to do is the same thing I proposed in https://github.com/fish-shell/fish-shell/pull/2498: Make a new directory for these kinds of always-sourced non-autoloaded non-function files that is not in $fish_function_path.

Thanks @faho!
I propose calling the directory either load or config and putting it inside $fisher_config.


CODE RUB: CompletionServiceException Class Update v2.10.1

Updated CompletionServiceException class by removing constructors in which the error message was hard coded in. Updated all relevant service files to include message.

Closed Pull Request. Resolved in PR #557.


Accessim APM with FastAPI

I'm running an API using FastAPI and trying to connect do elastic APM and give the following error:
No custom SERVICE_NAME was set -- using non-descript default 'unknown-python-service'
Could not register elasticapm.metrics.sets.cpu.CPUMetricSet metricset: psutil not found. Install it to get system and process metrics
No custom SERVICE_NAME was set -- using non-descript default 'unknown-python-service'
Could not register elasticapm.metrics.sets.cpu.CPUMetricSet metricset: psutil not found. Install it to get system and process metrics
Client object is being set more than once
Stack (most recent call last):
  File "C:\Users\DOMINGRC\Factories\API_IRN\app\main.py", line 68, in <module>
    uvicorn.run(app='main:app', host="<IP_ADDRESS>", port=8000, root_path="/")
  File "C:\Users\DOMINGRC\AppData\Local\Programs\Python\Python39\lib\site-packages\uvicorn\main.py", line 447, in run
    server.run()
  File "C:\Users\DOMINGRC\AppData\Local\Programs\Python\Python39\lib\site-packages\uvicorn\server.py", line 68, in run
    return asyncio.run(self.serve(sockets=sockets))
  File "C:\Users\DOMINGRC\AppData\Local\Programs\Python\Python39\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "C:\Users\DOMINGRC\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 629, in run_until_complete
    self.run_forever()
  File "C:\Users\DOMINGRC\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 596, in run_forever
    self._run_once()
  File "C:\Users\DOMINGRC\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 1890, in _run_once
    handle._run()
  File "C:\Users\DOMINGRC\AppData\Local\Programs\Python\Python39\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "C:\Users\DOMINGRC\AppData\Local\Programs\Python\Python39\lib\site-packages\uvicorn\server.py", line 76, in serve
    config.load()
  File "C:\Users\DOMINGRC\AppData\Local\Programs\Python\Python39\lib\site-packages\uvicorn\config.py", line 448, in load
    self.loaded_app = import_from_string(self.app)
  File "C:\Users\DOMINGRC\AppData\Local\Programs\Python\Python39\lib\site-packages\uvicorn\importer.py", line 21, in import_from_string
    module = importlib.import_module(module_str)
  File "C:\Users\DOMINGRC\AppData\Local\Programs\Python\Python39\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "C:\Users\DOMINGRC\Factories\API_IRN\app\main.py", line 13, in <module>
    apm = make_apm_client()
  File "C:\Users\DOMINGRC\AppData\Local\Programs\Python\Python39\lib\site-packages\elasticapm\contrib\starlette\__init__.py", line 71, in make_apm_client
    return client_cls(config, **defaults)
  File "C:\Users\DOMINGRC\AppData\Local\Programs\Python\Python39\lib\site-packages\elasticapm\base.py", line 224, in __init__
    set_client(self)
  File "C:\Users\DOMINGRC\AppData\Local\Programs\Python\Python39\lib\site-packages\elasticapm\base.py", line 703, in set_client
    logger.warning("Client object is being set more than once", stack_info=True)

My code is:
import uvicorn
from fastapi import FastAPI
from fastapi.openapi.utils import get_openapi
from elasticapm.contrib.starlette import make_apm_client, ElasticAPM

app = FastAPI()
apm = make_apm_client({"SERVICE_NAME": 'API_IRN',
                  "SECRET_TOKEN": "secret",
                  "SERVER_URL": "<IP_ADDRESS>:8200",
                  "ELASTIC_APM_ENVIRONMENT": "DEV",
                  "VERIFY_SERVER_CERT": False})
app.add_middleware(ElasticAPM, client=apm)

@app.get("/health")
async def health():
    return {"message": "IRN API is up and running..."}

def custom_openapi():
    if app.openapi_schema:
        return app.openapi_schema
    openapi_schema = get_openapi(
        title="API_IRN",
        version="1.0.0",
        description="API extrair dados do IRN",
        routes=app.routes,
    )
    openapi_schema["paths"]["/api/auth"] = {
        "post": {
            "requestBody": {"content": {"application/json": {}}, "required": True}, "tags": ["Auth"]
        }
    }
    app.openapi_schema = openapi_schema
    return app.openapi_schema

app.openapi = custom_openapi()

if __name__ == '__main__':
    try:
        uvicorn.run(app='main:app', host="<IP_ADDRESS>", port=8000, root_path="/")
    except Exception as ex:
        print("ERROR-main" + ex.message)

The stacktrace you're seeing is just a warning, not an error. It should not be affecting the execution of your app.
However, you do want to avoid multiple Client objects because they spin up background threads. My best guess is that uvicorn is spinning up multiple workers, each of which creates a Client object. You could probably fix that by doing this:
app = FastAPI()
apm = elasticapm.get_client()
if apm is None:
    apm = make_apm_client({"SERVICE_NAME": 'API_IRN',
                      "SECRET_TOKEN": "secret",
                      "SERVER_URL": "<IP_ADDRESS>:8200",
                      "ELASTIC_APM_ENVIRONMENT": "DEV",
                      "VERIFY_SERVER_CERT": False})
app.add_middleware(ElasticAPM, client=apm)

This ensures that you only create the client if it hasn't already been created.


wrong LUA_PATH and LUA_CPATH found when using luarcoks

when I export $LUA_PATH $LUA_CPATH, it shows right paths for luarocks, but when I using command "luarocks path", it shows some additional paths and those are wrong paths, then when I want to use "luarocks" command line, it shows: "bad interpreter, no such file or directory", and I know this is the wrong path showed in "luarocks path". How to fix this?  How to make "luarocks path" right, it seems luarocks is searching on "luarocks path" paths, instead of the $LUA_PATH and $LUA_CPATH. Anyone help? Thanks, how to modify "luarocks path" paths. Thanks.

could you be more specific? which OS / shell ... how did you install luarocks...
check if you have luarocks in your bin folder and try to check package.path right in luarocks script

My OS is ubuntu 14.04.4 LTS, and I use bash. I installed torch. Actually, it is like this:
I was trying to use DeepMind's Atari-Deep-Q-Learner project. Since it requires some other dependencies, so after I install them, I copied install dependencies into my torch install directory with
"cp -r ~/codes/torch/DeepMind-Atari-Deep-Q-Learner-master/torch/* ~/torch/install/".
After this, Deep-Q-Learning was fine to run, but when I tried to use command "luarocks", I got error like this:
"bash: /root/torch/install/bin/luarocks: /root/codes/DeepMind-Atari-Deep-Q-Learner-master/torch/bin/luajit: bad interpreter: No such file or directory."
As you can see, the first path is right, but I have no idea why the second path comes out, the path should be "/root/codes**/torch/**DeepMind-Atari-Deep-Q-Learner-master/torch/bin/luajit" rather than missing "/torch/" directory. Then I have to move the folder "DeepMind-Atari-Deep-Q-Learner-master" outside of "torch" directory, after that, luarocks works, and when I type "luarocks path", the showed path is still like above, wrong path. So I don't know how to fix it. I don't know where to configure the "luarocks" path, I can't find it in ".bashrc", "/etc/profile" or other bash files.
Thanks a lot. could you tell me how to check package.path, thx.

When you run luarocks with no arguments, it should show in the bottom the location of the configuration files:

CONFIGURATION
	Lua version: 5.3
	Configuration files:
		System: /Users/hisham/luarocks/prefix-5.3/etc/luarocks/config-5.3.lua (not found)
		User  : /Users/hisham/.luarocks/config.lua (ok)

Thanks. @hishamhm Now I got to know how to config, and luarocks is ok to use when I modified files, though some show is still wrong.


Issue with build

@dcarroll it looks like there may be something wrong with your setup - let's fix it, as it caused one of the automated builds to fail.

This should have been in a new branch
On Mon, Jun 15, 2015 at 4:04 PM, Wade Wegner<EMAIL_ADDRESS>wrote:

Assigned #118
https://github.com/developerforce/Force.com-Toolkit-for-NET/issues/118
to @dcarroll https://github.com/dcarroll.
—
Reply to this email directly or view it on GitHub
https://github.com/developerforce/Force.com-Toolkit-for-NET/issues/118#event-331560632
.

--
Thanks,
Dave

I commited to a new branch.  How does that muck the master?

Looks like it causes the CI services to fire. I'll look into it. Thanks!

Working.


Issue when ingesting a file and adding it to a collection right after

Describe the bug
My code is like this:
                ingest_response = self.r2r.ingest_files(
                    file_paths=[document.file_path],
                    metadatas=[metadata]
                )
                document_id = ingest_response['results'][0]['document_id']
                try:
                    self.r2r.assign_document_to_collection(document_id, self.r2r.collection_id)
                except Exception as e:
                    logger.error(f"Error assigning document to collection: {str(e)}")

Oftentimes, I'll get an error when calling assign_document_to_collection because it cannot find the document in the database.
Looking at the code, the row in document_info is not created before the result of assign_document_to_collection is returned. It is done in the ingest-files workflow:
https://github.com/SciPhi-AI/R2R/blob/c9be2c53728f4f1e4e300fde85777c38570f3141/py/core/main/api/ingestion_router.py#L164-L174
So when calling the assign_document_to_collection, the document_info record does not exist yet:
https://github.com/SciPhi-AI/R2R/blob/c9be2c53728f4f1e4e300fde85777c38570f3141/py/core/providers/database/collection.py#L451-L462
How to solve this? Would it be possible to pass also the collection_id when calling the ingest_files? I noticed this workflow already added the file to the default collection.

But as the default collection is also added to the chunk, the other collection_id could be in a context like for the metadata and added at the same time, no?


Generating nested data drill-down code based upon the current Portal selection

Now that Portal works with VSCode (and soon IntelliJ/Cursive), it may be time to explore some code generation features.
This is a new feature idea for Portal and I wanted to start crowdsourcing some thought on the matter. How would the community feel about adding a "Where am I?" feature to complement dereferencing the Portal atom. It would output the actual code that, when evaluated, outputs the data you have currently selected with respect to Portal's root of the data.
In the simplest case, it is generating code that "drills down" for you, in order to fetch a nested value. But it could evolve to do more.
Some initial thoughts:

The code being generated is meant for "drilling down" or "navigating" into nested data structures.
It's okay if there's minimal utility when dealing with data that's more flat than nested.
Reasonable default might be to drill with respect to Portal's root.
Alternative is to specify pre-drill code that executes prior to generating the drill code so you need not always start from root.
It should be possible to add alternative flavors of the generated code across collections, maps, reduces, etc. based on what the user is trying to do.
Could borrow some ideas from generative testing to ensure accuracy of generated code relative to the data loaded in Portal.

Some things that would help:

Has this been done before (links to projects or papers appreciated - I'm kind of stuck in the "I don't know what I don't know" loop when trying to search for this specifically)?
Alternative ideas for identifying the boundary points for drilling operations; more specifically, how to select a starting point beyond the Portal atom root.
Any other ideas regarding this capability or code generation problems in general.

Some early implementation notes describing potential approaches:

Establish a mapping of type → function, for reasonably appropriate functions, that drill deeper into that type.

A simple/dumb solution is to expand the shape of the atom to include the equivalent of a breadcrumb trail from root to the current value. On each step in/out that trail would be appended/truncated as appropriate.

"type → function" map sounds like a good start, although it would be great if the dispatch was a little more "general"? since most of us are dealing with maps its a little restrictive to have only one function for that.
I'm not exactly sure what a second dispatch parameter could be, but maybe a metadata key on the var?
as for prior art: there's specter which isn't very idiomatic but pretty powerful, pretty similar to haskell lenses. then theres the concept of using a regex like structor to describe the selection, something like seqexp


Strict typescript compliance

Optional members on TokenInterface breaks projects that want to enforce strict typescript compliance.
Modify Json type to support undefined and explicitly override the optional properties on TokenInterface to support undefined type.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Add two theorems relating to P50 Zero Dimensional

This PR adds two theorems that came up in my other research:

Ultraparacompact ⇒ Zero Dimensional
LOTS ∧ Totally Disconnected ⇒ Zero Dimensional

ID numbering was chosen to prevent conflict with active PRs.

Not sure the proof for T464 works.  An ultraparacompact space need not be T1, so need to tweak this.

Wait, maybe it's ok.  Why is $\operatorname{cl}\{\}$ contained in $U$?

How about this: The Sierpinski space $X=\{0,1\}$ with $1$ as open point is ultraparacompact, because the only open set containing $1$ is the whole space.  So any open cover of $X$ has a subcover consisting of the single open set $X$, which trivially partitions the space.  But $X$ is not regular, and not zero-dimensional.
So the proposed theorem is not valid.  One could add hypotheses to make it work.  For example, I think T1 should be enough.  Or regular.  Would that allow to automatically deduce more traits for spaces in pi-base?  Or is there some other common generalization?

Actually, I think a common generalization that works is R0, which is implied both by regular and by T1.  What do you think?

Oh great catch, I missed that about the closure of a point. R0 as a hypothesis definitely works then.

Nice thing about T464: the contrapositive allows to deduce that 49 more spaces are not ultraparacompact.
It will also be interesting to explore ultraparacompact in relation with "partition topology" once we have that.


Will impl Send for spsc::Producer and load(Ordering::Relaxed) in Queue::inner_enqueue lead to unexpected behaviours?

Hi, I am a beginner in the field of concurrent programming, during learning I found this package and try to learn how to implement a SPSC Quene, but I am confuse about the Send trait of spsc::Producer and the Ordering::Relaxed in spsc::Queue::inner_enqueue.
Situation:

ts
thread A
thread B

0
create producer p

1
p.enqueue(...)

2
move p to thread B
p

3

p.enqueue(...)

4

move p to thread A

5
p.enqueue(...)

Question:
Assume tail starts with 0, at ts 3,  p.enqueue(...) write tail with store(2, Ordering::Release), at ts 5, will p.enqueue(...) see tail is 1 with load(Ordering::Relaxed) ?
At last, thanks for reading my issue, maybe it's my misunderstanding leads to my confusion.

Since only a single thread can ever enqueue at the same time, due to Queue being !Sync, Ordering::Relaxed in spsc::Queue::inner_enqueue is enough.
In your example, in order to even “move p” to another thread, some kind of synchronisation has to occur, ensuring correct ordering.


Handle SDL built with CMake with only a static library

Shared/static SDL have different target names, if the shared library wasn't built we would fall back to the old _INCLUDE_DIRS/_LIBRARIES path and find nothing. (#231)

Thank you!


forward GrainOptions to context on Cluster

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


When schema.json size is greater than idea.max.intellisense.filesize, inspections break

I'm having an issue loading a very large 2.7mb GraphQL schema.json file. The service appears to parse and load the definitions correctly, but the inspector doesn't seem to have access to the types.
I've pared down the schema file, and it appears that when I cut it down to below the default 2.5mb limit, the inspector suddenly can validate queries against the schema.
I don't know if there's a way to work around that, so that the inspector is still available even if the schema file size is very large.
Version and Environment Details
Operation system: OS X 10.14.5
IDE name and version: IntelliJ Idea Ultimate 2019.1.3
Plugin version: v2.2.0
Expected Behaviour
Schema files of arbitrary size (up to some reasonable limit—is 2.7mb unreasonable?) should continue to work with the inspector.
Actual Behaviour
Large schema.json files do not work with the inspector.
Steps to Reproduce

Create a pretty big schema and record its file size in kilobytes
Create a query in a JS file that makes use of the schema
In IntelliJ, go to Help -> Edit Custom Properties
In the properties file it opens, set idea.max.intellisense.filesize={less than filesize from step #1}
Restart IntelliJ
Notice that inspections are now broken for that query

Workaround
Set idea.max.instellisense.filesize to a number greater than the schema file.

I may have an example schema.json, but I need to find out if I can share it or if it's proprietary.

Hi Nicholas.
Thanks for using the plugin.
The JSON format is supported mostly for backwards compatibility with v1 of the plugin.
I recommended that you set your schemaPath to a file name with a .graphql extension such that the plugin converts the introspection JSON data to GraphQL SDL when you run the introspection query.
See https://jimkyndemeyer.github.io/js-graphql-intellij-plugin/docs/developer-guide#working-with-graphql-endpoints-and-scratch-files for the relevant introspection steps.
It should perform a lot better, and the file size is often reduced by a factor of 10 or more.
Hope that addresses your issue.
Best regards,
Jim.

Thanks for that context, I wasn't aware that schema.json wasn't well-supported. I'm just joining this project and don't have a good sense of how difficult it will be to convert to using a graphql file instead, since it seems like there's a bunch of tooling around using this json file.
Should I open a PR on the docs that mentions that schema.json isn't preferred?

Hi Jim,
Just my 2c. I'm experiencing the same problem with .graphql file. The file is 2.7Mb at the moment and the inspector broke. The workaround suggested by Nicholas helps.
I set idea.max.intellisense.filesize=3500. It works for now.

Just to close a loop here: the reason the company I work for is using schema.json files instead of GraphQL schema files is that's what Apollo's command line tooling produces when you download a remote schema locally. They don't appear to support a non-JSON variant, as far as I can tell, though I may be missing something.

@nhusher have you tried simply using a .graphql file extension with the tool. I'd be surprised if they don't support this.

They do not. Here's the code that powers apollo client:download-schema:
const schema = await project.resolveSchema({ tag: flags.tag });
writeFileSync(
  args.output,
  JSON.stringify(introspectionFromSchema(schema), null, 2)
);

source


modules directory 'filled' after update

Finally got a chance to fetch/merge upstream changes from boxen/our-boxen into our-boxen to get it working on Yosemite again... :+1:
Not sure if/what I did wrong in applying updates to our-boxen while following the FAQ but after the update a number of directories have appeared in my our-boxen/modules directory that were not there before...
    tcooper@velox:~/src/our-boxen $ boxen
    --> Preparing to auto-update...
    --> Skipping auto-update, because you've got uncommitted changes:

        ?? modules/adium/
    ?? modules/boxen/
    ?? modules/chrome/
    ?? modules/cord/
    ?? modules/dnsmasq/
    ?? modules/dockutil/
    ?? modules/foreman/
    ?? modules/gcc/
    ?? modules/git/
    ?? modules/go/
    ?? modules/homebrew/
    ?? modules/hub/
    ?? modules/inifile/
    ?? modules/iterm2/
    ?? modules/macvim/
    ?? modules/module_data/
    ?? modules/nginx/
    ?? modules/nodejs/
    ?? modules/openssl/
    ?? modules/osx/
    ?? modules/phantomjs/
    ?? modules/pkgconfig/
    ?? modules/repository/
    ?? modules/ruby/
    ?? modules/stdlib/
    ?? modules/sudo/
    ?? modules/textwrangler/
    ?? modules/vagrant/
    ?? modules/virtualbox/
    ?? modules/xquartz/

        Since you've got some uncommitted changes to those files, I'm
        going to take the safe road and not automatically update anything.
        If you're actively working on some Boxen, maybe you'd like to
        switch to a branch, rather than working on master? This way I'll
        know that you're trying something new, and won't do things like
        automatically update, or submit issues, while you're making
        changes. It makes everyone's life a bit easier :heart:

        Now, if you *weren't* expecting any changes, here's how to get
        back on the golden path:

          cd /opt/boxen/repo
          git reset --hard origin/master
          boxen

    For more info on how the simple git-based updates work, have a gander at
    https://github.com/boxen/our-boxen/blob/master/docs/updates.md

    Would you like to run Boxen anyway, without the latest updates? [y/N]
    N

    Ok, bailing out!

In addition, my customized modules/people and modules/projects trees were removed and had to be restored (with git checkout -- <bit-that-was-gone>)... :-1:
Is this expected? If so, where can I read about this changed structure? If not, can I just remove all those new modules?

I also followed the FAQ and after running:
bundle install --no-deployment --without development --path .bundle
bundle exec librarian-puppet install --clean

I noticed that the modules directory had been filled AND the modules/people and modules/projects directories that were in there before had been removed. I was able to restore them from my remote repo but this seems like undesirable behavior.

This is happening to me as well. I tried to rollback my local branch to the commit were I was when it was working, but it still happens.
Is this related to a specific version of Xcode and/or Command Line Tools?
I'm running
OS X 10.10.1
Xcode 6.1.1

@tcooper is this still an issue or can it be closed?

@tcooper @olofjohansson @jesseclark this is strange behavior. As pointed out above, the top-level modules/ is for your personal or project manifests. Boxen modules are all in shared/.
Are any of you modifying Boxen aside from Puppetfile or creating manifests? Trying to understand what's different about your Boxens.

Actually, this issue was mentioned in https://github.com/boxen/our-boxen/issues/717, so I'm closing this one. Feel free to jump in there if this still an issue.


Change schedule format

This PR introduces formatting changes to the schedule along with the full provisional schedule. Confirmed speakers appear with more of their information included.
Key changes to underlying templates:

switched order of loops in schedule.html for iterating over speakers
added additional multi-talk sessions to sessions.yml
added logic to sessions-modal.html for including multi-talks and including speaker profiles in modals

This PR also hides the sessions page in the navbar for further changes


fix: warning message on console resolved

I got this warning in my console on the webpage, I switched out the  with a  which seemed to resolve the issue, not sure if it's the best way to resolve it though.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Kaja K seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

This was cause by the parent component also rendering a form tag.


Error when creating recipes

Describe the bug
Error produced when trying to create recipes for Asset Catalog Tinkerer.  Output:
Processing: https://github.com/insidegui/AssetCatalogTinkerer/releases/download/2.5.1/AssetCatalogTinkerer_v2.5.1.zip
Input path looks like a GitHub URL.
[WARNING] I'm processing the input path as a GitHub repo URL, but you may have wanted me to treat it as a download URL.
Getting GitHub repo...
    GitHub repo is: insidegui/AssetCatalogTinkerer
Getting app name...
    App name is: AssetCatalogTinkerer
Getting GitHub description...
    GitHub description is: An app that lets you open .car files and browse/extract their images.
Getting information from latest GitHub release...
    GitHub release download format is: zip
    GitHub release download URL is: https://github.com/insidegui/AssetCatalogTinkerer/releases/download/2.5.1/AssetCatalogTinkerer_v2.5.1.zip
    Download URL is: https://github.com/insidegui/AssetCatalogTinkerer/releases/download/2.5.1/AssetCatalogTinkerer_v2.5.1.zip
Downloading file for further inspection...
    10%
    20%
    30%
    40%
    50%
    60%
    70%
    80%
    90%
    100%
    Downloaded to /Users/ap.orlebeke/Library/Caches/Recipe Robot/2020-04-28_10-41-58_692861/AssetCatalogTinkerer_v2.5.1.zip
Determining download format...
    File extension is zip
Opening downloaded file...
    Successfully unarchived zip
Validating app...
    This app seems valid
Getting bundle name...
    Bundle name is: Asset Catalog Tinkerer
Getting bundle identifier...
    Bundle identifier is: br.com.guilhermerambo.Asset-Catalog-Tinkerer
Checking for a Sparkle feed...
    Sparkle feed is: https://github.com/insidegui/AssetCatalogTinkerer/raw/master/releases/appcast.xml
Getting information from Sparkle feed...
    The Sparkle feed provides a version number
    The latest version is 251
    Download URL is: https://github.com/insidegui/AssetCatalogTinkerer/releases/download/2.5/AssetCatalogTinkerer_v2.5.zip
Downloading file for further inspection...
    10%
    20%
    29%
    39%
    49%
    59%
    69%
    79%
    88%
    98%
    Downloaded to /Users/ap.orlebeke/Library/Caches/Recipe Robot/2020-04-28_10-41-58_692861/AssetCatalogTinkerer_v2.5.zip
Determining download format...
    File extension is zip
Looking for version key...
    Version key is: CFBundleShortVersionString (2.5.1)
Looking for icon...
    Icon is: /Users/ap.orlebeke/Library/Caches/Recipe Robot/2020-04-28_10-41-58_692861/unpacked/Asset Catalog Tinkerer.app/Contents/Resources/AppIcon
Gathering code signature information...
    Code signature verification requirements recorded
    3 authority names recorded
    Developer: GUILHERME RAMBO
Searching for existing AutoPkg recipes for Asset+Catalog+Tinkerer...
    No results
Searching for existing AutoPkg recipes for AssetCatalogTinkerer...
    No results
[ERROR] Recipe Robot exploded with unexpected error: RecipeIdentifierPrefix
Traceback (most recent call last):
  File "/Applications/Recipe Robot.app/Contents/Resources/scripts/recipe-robot", line 90, in main
    time, _ = recipe_robot_lib.generate_recipes(facts, prefs)
  File "/Applications/Recipe Robot.app/Contents/Resources/scripts/recipe_robot_lib/tools.py", line 138, in run_func
    result = func(*args, **kwargs)
  File "/Applications/Recipe Robot.app/Contents/Resources/scripts/recipe_robot_lib/recipe_generator.py", line 115, in generate_recipes
    build_recipes(facts, preferred, prefs)
  File "/Applications/Recipe Robot.app/Contents/Resources/scripts/recipe_robot_lib/recipe_generator.py", line 179, in build_recipes
    prefs["RecipeIdentifierPrefix"],
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/_convenience.py", line 162, in __getitem__objectForKey_
    return container_unwrap(res, KeyError, key)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/_convenience.py", line 659, in container_unwrap
    raise exc_type(*exc_args)
KeyError: 'RecipeIdentifierPrefix'

[ERROR]

To Reproduce
Steps to reproduce the behavior:

Go to Asset Catalog Tinkerer repo
Copy link to latest asset
Paste in Recipe Robot
Let process and see error

Expected behavior
Create recipes
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

macOS: 10.14.6
Recipe Robot Version: 1.2.1
which python:  /usr/bin/python
python --version: Python 2.7.10

Additional context
Add any other context about the problem here.

Ultimately was able to create the needed recipes, so just wanted to report

KeyError: 'RecipeIdentifierPrefix' usually means you haven't configured Recipe Robot yet. In the command-line you can run recipe-robot --config to do this. In the Mac app, the config options should appear at first launch, or you can click the ⚙ icon. The "preferred recipe identifier" is the missing preference.
Let me know whether that solves it for you.

Strange, because when I originally opened the app it did present me the initial prompt to configure the desired recipes.  Running the config command and reconfirming everything worked for me.
Thanks!


cppbuild task outputs executable file in the wrong directory

VSCode Version: 1.50.1 (user setup)
OS Version: Windows_NT x64 10.0.20246

Steps to Reproduce:

Setup tasks.json as shown in picture
With 2.c as the currently open file, Terminal > Run Build Task
Executable is created in workspace folder (infoA), not in subdirectory (lab6)

Does this issue occur when all extensions are disabled?: Cannot test without C++ extension
I wrote a little echo task to check the content of VS Codes variables:
{
  "type": "shell",
  "label": "Test vars",
  "command": "echo",
  "args": [
    "${fileDirname}/${fileBasenameNoExtension}",
    " - ",
    "${workspaceFolder}"
  ],
  "problemMatcher": []
}

and the output is:
> Executing task: echo /home/filippo/infoA/lab6/2 ' - ' /home/filippo/infoA <

/home/filippo/infoA/lab6/2  -  /home/filippo/infoA

From this task it seems the variables are correct, but something goes wrong in the compilation.

I don't think it is caused by an extension. Unfortunately i cannot reproduce it disabling ALL extensions as i'm developing on WSL2. I disabled all third party extensions and was left only with

C/C++ (Locally installed)
Remote - WSL (Globally installed)
Remote Development (Globally installed)

But the same issue persists. Is there any way to find which of these extensions is the culprit? Or is it really a VS Code bug?

It would be the C++ extension since your task is of type cppbuild.

It makes sense, and i found the corresponding issue in https://github.com/microsoft/vscode-cpptools/issues/6366. Thanks for your help.

It's actually not bug https://github.com/microsoft/vscode-cpptools/issues/6366 (which got fixed), but bug microsoft/vscode-cpptools#6386 with the C/C++ extension -- we're looking at shipping a patch update tomorrow.

Fixed with https://github.com/microsoft/vscode-cpptools/releases/tag/1.1.2


support any enqueue provider

Please describe the feature you would like to see implemented.
Currently, just the enqueue in database is supported

Is not worth, we delete enqueue in next major


Add support for relative teleportation

A different and simplified approach to #1273
This PR aims to provide a way to teleport an entity using relative coordinates, the true benefit is actually seen when used on players as setting the flags as relative (see https://wiki.vg/Protocol#Synchronize_Player_Position) has the additional effect of making the client retain its state such as its velocity as opposed to the typical teleportation which resets it.
This is a compromise of the original PR which in my opinion was a bit overcomplicated allowing full control of which coordinates should be considered relative/absolute, I do believe that in the typical use case you'd either decide to specify a position fully absolute or fully relative and not something mixed.
The internal method Entity#synchronizePosition(boolean includeSelf, boolean relativePosition) now has an additional parameter to switch to this new behavior, I'm not a fan but that's the way includeSelf was already handled (only Player actually makes use of it) so I followed along.

Resolved with #2029


counting api

How would I go about resetting the counter for my website?

I wrote this API for myself at Vultr, so anyone who forks this repo will use this API if he doesn't change it. You can see javascript file for detail, this may help you.
Thanks.


NATIVE-202: Write to a temp location before moving it to the target

Yes, this is already done on iOS


Source maps don't seem to be generated properly

I have generated a react-redux project using the aspnetcore-spa yeoman generator as explained here
Project runs fine with dotnet run but I can't seem to see the original source files when debugging in Chrome DevTools.

I see in the webpack.config.dev.js file that the source maps are being inlined. Maybe that's the reason?
vscode-chrome-debug extension documentation says:

This extension ignores sources that are inlined in the sourcemap - you may have a setup that works in Chrome Dev Tools, but not this extension, because the paths are incorrect, but Chrome Dev Tools are reading the inlined source content.

Any way to make it work? Maybe actually generating the source maps to the file system?

Are you sure you are under development mode? And if yes you can change the source map file option inside the webpack.config.dev.js by setting it to source-map from inline-source-map

@xabikos Sorry, I was in production mode. Debugging is working in Chrome Dev with the original ts files.
Thanks


KA-423 Add link-to/ endpoint

I have some newbie questions and some suggestions regard the code itself.
I also miss a change in the robots.txt file where this new link-to should be listed as one of the dennied prefixes, I believe…
I like how your code is ready for multiple codenames if the need arises 👍

It looks like that web so far doesn't utilize the robots.txt file. It is nowhere to be found within the repository and navigating to https://docs.kenticocloud.com/robots.txt shows nothing significant. I would prefer not to change it now, we can, however, ask him later why is it like that.


[Style]improving navbar hover css

What's the style idea?
There is 0 padding on the navbar tabs making it look clustered and unprofessional.

By increasing padding in the right amount , I can improve hover effect on navbar tabs while taking care of responsiveness of the website.

I can also work on improving othere css like border-radius and animation using box-shadow offset to make it look like it pops out of the navbar . I have tried the pop up design, see in the video.
Screencast from 10-05-24 08:26:52 PM IST.webm
HOME tab is hovered, This is how it looks

Please assign me this issue under #gssoc'24

@Rakesh9100 kindly assign me this issue under GSSOC'24 I'm experienced in frontend

I am interested to work on this issue.Please assign it to me.

@Rakesh9100 navbar style can be made more attractive and I can improve this styling so please assign this issue to me

Hey ...can you assign me this job...I can do shorty;)

@Rakesh9100  I can  impr0ve the navbar hover using css and make it moe attractive .....please assign this issue to me

@Rakesh9100 I can improve the navbar hover using css and make it more attractive and responsiveness plz assign this issue to me

Hi, Please assign me this issue, I would like to contribute.

@Rakesh9100
Assign him


Dedup activity heartbeat timeout timer task creation

Coverage increased (+0.03%) to 67.816% when pulling 6aa0b8791ed502c16d86fb194887617c14431eef on yycptt:fix-heartbeat-creation into 873f32c04737bec1af42c216be9ae167b1f67cb0 on uber:master.

not a blocking comment.
currently the mutable state is "versioned" using next event ID; next event ID is not a good attr protecting concurrent modification of mutable state or in this case, preventing writing the activity heartbeat > 1 times.
should have a additional attr 'dbVersion', which will +1 for each db write related to a mutable state
@yux0 @yycptt @venkat1109

not a blocking comment.
currently the mutable state is "versioned" using next event ID; next event ID is not a good attr protecting concurrent modification of mutable state or in this case, preventing writing the activity heartbeat > 1 times.
should have a additional attr 'dbVersion', which will +1 for each db write related to a mutable state
@yux0 @yycptt @venkat1109
one more thing, plz also consider persist the heartbeat timer time along with activity (currently it is a in mem only attr)

Created a new issue: https://github.com/uber/cadence/issues/3036

opened issue in temporal https://github.com/temporalio/temporal/issues/435 to track


Prepare this adapter for Faraday 2.0

In Faraday 2.0, adapters will be completely opt-in. As a consequence, this adapter can now have a hard dependency on net_http_persistent. If a user has opted into adding this adapter to their Gemfile, we know they will be using it.
Thus this PR can make the following changes:

Remove the dependency "net/http/persistent" declaration. This existed to support loading dependencies on demand, based on what adapter is being used. Since adapters are now explicitly opt-in, this is no longer needed.
Add faraday-net_http as an explicit dependency. The faraday-net_http_persistent adapter subclasses the net_http one. Previously the net_http adapter was part of Faraday core. As of 2.0 it is packaged as a separate gem, so we need to declare it as a dependency.
Change the installation instructions. All a user needs to do now is install faraday-net_http_persistent. All other dependencies will be included automatically.

Thanks! I left off these things out of this PR because they aren't strictly related to Faraday 2.0 compatibility:

Dropping Ruby 2.5
Dropping net-http-persistent 3.x
Moving development dependencies to the Gemfile
Fixing the changelog URI

But I think those are worthwhile improvements and we should cherry-pick those from #8. As a follow-up PR.

@mattbrictson I began taking some of these steps, so watch this space.

#11
#10
#9


[bug]Crash getting player name when listening to events

Describe the bug
I'm trying to get the name of the player on the playerjoin event.
Server crashes when players enter the game.
I have no problem getting the player's uuid.
This issue should have been a problem since version 0.5.1.
 - PLEASE REPORT THIS AS AN ISSUE ON GITHUB ===
Operation system: Windows
Endstone version: <IP_ADDRESS>
Api version     : 0.5
Description     : Exception unhandled: 0xc0000005
Stack trace (most recent call first):
#0  0x7fffbc62a30f     (0x1800ca30f) in endstone::detail::`anonymous namespace'::exception_filter(_EXCEPTION_POINTERS*) at D:\a\endstone\endstone\src\endstone_runtime\windows\signal_handler.cpp:53
#1  0x7ff86f6a0b0b     (0x180160b0b) in UnhandledExceptionFilter
#2  0x7ff871f9987c     (0x1800a987c) in RtlCopyMemory
#3  0x7ff871f7f6a6     (0x18008f6a6) in __C_specific_handler
#4  0x7ff871f951de     (0x1800a51de) in __chkstk
#5  0x7ff871f0e865     (0x18001e865) in RtlFindCharInUnicodeString
#6  0x7ff871f941cd     (0x1800a41cd) in KiUserExceptionDispatcher
#7  0x7ff836e5c733     (0x18001c733) in init_endstone_plugin
#8  0x7ff836e6a96b     (0x18002a96b) in init_endstone_plugin
#9  0x7ff836e4854a     (0x18000854a) in  ??
#10 0x7ff836e56698     (0x180016698) in  ??
#11 0x7fffbc6ca3b0     (0x18016a3b0) in endstone::detail::EndstonePluginManager::callEvent(endstone::detail::EndstonePluginManager*) at D:\a\endstone\endstone\src\endstone_core\plugin\plugin_manager.cpp:199
#12 0x7fffbc5aebd4     (0x18004ebd4) in ServerPlayer::setLocalPlayerAsInitialized() at D:\a\endstone\endstone\src\endstone_runtime\bedrock\server\server_player.cpp:92
#13 0x7ff796d746d1     (0x1407d46d1) in  ??
#14 0x7ff796d6b17a     (0x1407cb17a) in  ??
#15 0x7ff796d88b68     (0x1407e8b68) in  ??
#16 0x7ff797cf8eae     (0x141758eae) in  ??
#17 0x7ff7971c9b00     (0x140c29b00) in  ??
#18 0x7ff7971bf35e     (0x140c1f35e) in  ??
#19 0x7ff79713af6d     (0x140b9af6d) in  ??
#20 0x7ff86f449332     (0x180029332) in _recalloc
#21 0x7ff8718b257c     (0x18001257c) in BaseThreadInitThunk
#22 0x7ff871f4af27     (0x18005af27) in RtlUserThreadStart

#9  0x7ff836e4854a     (0x18000854a) in  ??
#10 0x7ff836e56698     (0x180016698) in  ??
These traces suggest the crash is from your plugin than endstone itself. Try to build your plugin with RelWithDebInfo and place the pdb file  next to your plugin.

I tried switching RelWithDebInfo, but I have another problem. It won't build after the change.
So I tried to build the endstone example plugin. Already deleted the previous build file and had the same problem as this one. Before this I was able to build successfully.
"G:\CLion 2023.3.3\bin\cmake\win\x64\bin\cmake.exe" --build C:\Users\...\cpp-example-plugin-main\cmake-build-release --target cpp_example -j 6
[1/3] Linking CXX static library _deps\fmt-build\fmt.lib
[2/3] Building CXX object CMakeFiles\cpp_example.dir\src\example_plugin.cpp.obj
FAILED: CMakeFiles/cpp_example.dir/src/example_plugin.cpp.obj
C:\PROGRA~1\MIB055~1\2022\COMMUN~1\VC\Tools\MSVC\1438~1.331\bin\Hostx64\x64\cl.exe  /nologo /TP -Dcpp_example_EXPORTS -IC:\Users\admin\...\cpp-example-plugin-main\include -IC:\Users\admin\...\cpp-example-plugin-main\cmake-build-release\_deps\endstone-src\include -IC:\Users\admin\...\cpp-example-plugin-main\cmake-build-release\_deps\fmt-src\include /DWIN32 /D_WINDOWS /GR /EHsc /D_ITERATOR_DEBUG_LEVEL=0 /O2 /Ob2 /DNDEBUG -std:c++17 -MD /showIncludes /FoCMakeFiles\cpp_example.dir\src\example_plugin.cpp.obj /FdCMakeFiles\cpp_example.dir\ /FS -c C:\...\cpp-example-plugin-main\src\example_plugin.cpp
C:\...\cpp-example-plugin-main\cmake-build-release\_deps\endstone-src\include\endstone/util/result.h(17): fatal error C1083: 无法打开包括文件: “nonstd/expected.hpp”: No such file or directory
ninja: build stopped: subcommand failed.

I apologize for my cheap shot on these.

Problem solved, really appreciate it. I wish this community project will be better and better.


Controller doesn't refresh tokens

Describe the bug
All events triggered against peribolos.operate-first.cloud end up with bad token - seems like installation token secret is not being refreshed.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
No bad credentials in tasks
Screenshots
N/A
Additional context
N/A

/triage accepted


Added shortner button disability check

Hey, I would prefer to use a state to store the input.
Please check out: https://qwik.builder.io/docs/components/state/

Great!


Scanning failed, Client.Timeout exceeded while awaiting headers

Description

Scanning failed, Client.Timeout exceeded while awaiting headers
Environment
OS: AmazonLinux2
Version: 3.0.15
Steps To Reproduce

helm repo add kubescape https://kubescape.github.io/helm-charts/ ;
helm repo update ;
helm upgrade --install kubescape kubescape/kubescape-operator -n kubescape --create-namespace --set clusterName=`kubectl config current-context` --set capabilities.continuousScan=enable --set kubevuln.verbose=true

Expected behavior

No error appear
Actual Behavior

Error log as below:
{"level":"warn","ts":"2024-08-20T21:17:26Z","msg":"failed to store WorkloadConfigurationScanSummary manifest in storage","error":"an error on the server (\"Internal Server Error: \\\"/apis/spdx.softwarecomposition.kubescape.io/v1beta1/namespaces/NAMESPACE/workloadconfigurationscansummaries\\\": Post \\\"https://<IP_ADDRESS>:443/apis/authorization.k8s.io/v1/subjectaccessreviews?timeout=10s\\\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)\") has prevented the request from succeeding (post workloadconfigurationscansummaries.spdx.softwarecomposition.kubescape.io)","name":"secret-sh.helm.release.v1.tradein.v389"}
{"level":"error","ts":"2024-08-20T21:17:26Z","msg":"scanning failed","ID":"6a1d685e-7ee5-4c82-8498-fcb1e09e7a9c","error":"an error on the server (\"Internal Server Error: \\\"/apis/spdx.softwarecomposition.kubescape.io/v1beta1/namespaces/NAMESPACE/workloadconfigurationscansummaries\\\": Post \\\"https://<IP_ADDRESS>:443/apis/authorization.k8s.io/v1/subjectaccessreviews?timeout=10s\\\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)\") has prevented the request from succeeding (post workloadconfigurationscansummaries.spdx.softwarecomposition.kubescape.io)"}

{"level":"warn","ts":"2024-08-20T21:57:37Z","msg":"failed to store WorkloadConfigurationScan manifest in storage","error":"the server is currently unable to handle the request (post workloadconfigurationscans.spdx.softwarecomposition.kubescape.io)","name":"serviceaccount-APPLICATION007-any"}
{"level":"error","ts":"2024-08-20T21:57:37Z","msg":"scanning failed","ID":"281676eb-1106-4977-b260-1440437becdd","error":"the server is currently unable to handle the request (post workloadconfigurationscans.spdx.softwarecomposition.kubescape.io)"}

Additional context

@zhuw726 thanks for your report, currently the feature continuousScan is unfinished and should not be used

Thanks @matthyx , I'll try without configure continuousScan


[Obsolete] attributes with named properties mess up caution boxes

[Obsolete] attributes that use more than just the ObsoleteAttribute(string) constructor generate bad text for the caution boxes. For example, the page on the UTF7Encoding constructor uses this:
[System.Obsolete("The UTF-7 encoding is insecure and should not be used. Consider using UTF-8 instead.", DiagnosticId="SYSLIB0001", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]

And shows up as this:

@jeffhandley I'm not sure why you transferred this issue - to me it belongs in the dotnet-api-docs repo as it concerns the API reference docs.
However, I think this is more of an infrastructure/experience request - that we don't show the additional parameters of the ObsoleteAttribute in the CAUTION box.
FYI @mimisasouvanh.

My apologies, @gewarren. I thought infrastructure/docs website issues came into this repo. The issue looks to me like it's a parsing problem where the code parsing [Obsolete] attributes is matching the string between the opening and closing quotes within the attribute, not expecting there to be multiple parameters. It's likely a "greedy" regular expression.
Should we transfer this back over to dotnet-api-docs?


Update Design Document for Missing Document Link and Instructon

What this PR does / why we need it:
Update README.md in the design document for missing document links and ordering.

Add mongodb-sharding document link, which was added in https://github.com/yorkie-team/yorkie/pull/781.
Proofread mongodb-sharding document and fix typos.
Add instruction in design document template about appending design document link in README.md.

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Additional documentation:

Checklist:

[x] Added relevant tests or not required
[x] Didn't break anything

@hackerwins Seems like CI has failed because test has been started before server startup.
Maybe we need to wait for test server to start before the test begins?


react-native-device-info:processReleaseResources

node_modules\react-native-device-info\android\build\intermediates\exploded-aar\com.g
oogle.android.gms\play-services-base\11.0.2\res\drawable\common_google_signin_bt
n_text_light_normal.xml:3:29-92 : No resource found that matches the given name
(at 'drawable' with value '@drawable/common_google_signin_btn_text_light_normal_
background').

What went wrong:
Execution failed for task ':react-native-device-info:processReleaseResources'.

com.android.ide.common.process.ProcessException: org.gradle.process.internal.E
xecException: Process 'command 'D:\Android\sdk\build-tools\25.0.2\aapt.exe'' fin
ished with non-zero exit value 1

Hi @tuckg
Sorry I can't replicate this one. Have you tried the solution proposed over here at all?
Alternatively, you could remove react-native-device-info from package.json - it's not actively used. I've only kept in in there, as I used it on almost all projects when I have a custom API, to determine what my users are using.

What went wrong:
Execution failed for task ':react-native-device-info:mergeDebugAndroidTestResources'.

Error: Failed to crunch file E:\rn_project\DataCockpit\node_modules\react-native-device-info\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\11.0.2\res\drawable-xxhdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png into E:\rn_project\DataCockpit\node_modules\react-native-device-info\android\build\intermediates\res\merged\androidTest\debug\drawable-xxhdpi-v4\common_google_signin_btn_icon_light_normal_background.9.png

the same problem

Hi @laoxiao79 - are you using the latest version of this repo?
The error you've referenced is related to a package called react-native-device-info which currently isn't part of this project.


您好，我编译您的代码出现些错误，错误显示找不到g2o定义的结构，但是我查看电脑由存在这些结构

/home/jetson/simulation_ws/src/se2lam/include/se2lam/EdgeSE2XYZ.h:63:45: error: ‘Vector3D’ was not declared in this scope
class PreEdgeSE2 : public BaseBinaryEdge<3, Vector3D, VertexSE2, VertexSE2>
^~~~~~~~
/home/jetson/simulation_ws/src/se2lam/include/se2lam/EdgeSE2XYZ.h:63:45: note: suggested alternative: ‘Vector3’
class PreEdgeSE2 : public BaseBinaryEdge<3, Vector3D, VertexSE2, VertexSE2>
^~~~~~~~
Vector3
/home/jetson/simulation_ws/src/se2lam/include/se2lam/EdgeSE2XYZ.h:63:75: error: template argument 2 is invalid
class PreEdgeSE2 : public BaseBinaryEdge<3, Vector3D, VertexSE2, VertexSE2>
^
/home/jetson/simulation_ws/src/se2lam/include/se2lam/EdgeSE2XYZ.h: In member function ‘void g2o::PreEdgeSE2::computeError()’:
/home/jetson/simulation_ws/src/se2lam/include/se2lam/EdgeSE2XYZ.h:71:61: error: ‘_vertices’ was not declared in this scope
const VertexSE2* v1 = static_cast<const VertexSE2*>(_vertices[0]);
^~~~~~~~~
/home/jetson/simulation_ws/src/se2lam/include/se2lam/EdgeSE2XYZ.h:73:9: error: ‘Matrix2D’ was not declared in this scope
Matrix2D Ri = v1->estimate().rotation().toRotationMatrix();
^~~~~~~~
/home/jetson/simulation_ws/src/se2lam/include/se2lam/EdgeSE2XYZ.h:73:9: note: suggested alternative: ‘Matrix2’
Matrix2D Ri = v1->estimate().rotation().toRotationMatrix();
^~~~~~~~
Matrix2
/home/jetson/simulation_ws/src/se2lam/include/se2lam/EdgeSE2XYZ.h:74:9: error: ‘Vector2D’ was not declared in this scope
Vector2D ri = v1->estimate().translation();
^~~~~~~~
/home/jetson/simulation_ws/src/se2lam/include/se2lam/EdgeSE2XYZ.h:74:9: note: suggested alternative: ‘Vector2’
Vector2D ri = v1->estimate().translation();
^~~~~~~~
Vector2
/home/jetson/simulation_ws/src/se2lam/include/se2lam/EdgeSE2XYZ.h:77:18: error: expected ‘;’ before ‘rj’
Vector2D rj = v2->estimate().translation();
^~
/home/jetson/simulation_ws/src/se2lam/include/se2lam/EdgeSE2XYZ.h:79:9: error: ‘_error’ was not declared in this scope
_error.head<2>() = Ri.transpose() * (rj-ri) - _measurement.head<2>();
^~~~~~
/home/jetson/simulation_ws/src/se2lam/include/se2lam/EdgeSE2XYZ.h:79:9: note: suggested alternative: ‘perror’
_error.head<2>() = Ri.transpose() * (rj-ri) - _measurement.head<2>();
^~~~~~
perror
/home/jetson/simulation_ws/src/se2lam/include/se2lam/EdgeSE2XYZ.h:79:24: error: expected primary-expression before ‘)’ token
_error.head<2>() = Ri.transpose() * (rj-ri) - _measurement.head<2>();
^
/home/jetson/simulation_ws/src/se2lam/include/se2lam/EdgeSE2XYZ.h:79:28: error: ‘Ri’ was not declared in this scope
_error.head<2>() = Ri.transpose() * (rj-ri) - _measurement.head<2>();
^~
/home/jetson/simulation_ws/src/se2lam/include/se2lam/EdgeSE2XYZ.h:79:28: note: suggested alternative: ‘ai’
_error.head<2>() = Ri.transpose() * (rj-ri) - _measurement.head<2>();

找不到 Vector3D，请确保你用的 g2o 版本和我一样

找到问题了，是由于电脑安装了多个g2o


Perform preliminary setups on iphone11 for deployment in devicelab

Please follow instrunctions sent via email to setup iphone11 devices for install in the devicelab.
While setting up, note device_id and label which hostname each will be assigned to, so that we can update apple provisioning profiles.

cc @jmagman @godofredoc

Provided instructions from g3doc to Kent on ios device setup.
Debuggged new device provisioning issues that came up. (Requires use of mac machine to setup new devices).
Setup one iphone11 with ios16 and swapped it in on mac-44.
Created CL with provisioning profile update for new device.
Gave Kent a new mac mini from lab inventory to use to setup new ios devices.

@jmagman There are 2 references to ios-15 devices in flutter (https://github.com/flutter/flutter/blob/master/.ci.yaml#L134). Do we need to remove that requirement or update to 16, now that we are starting to upgrade ios devices?

I suggest

Smoke test to validate the tests all pass on the new iPhone 11/ iOS 16 devices via led runs, as we did a few months ago.
Update half the fleet to the new devices in all pools
Update the staging config IOS_VERSION
https://flutter.googlesource.com/infra/+/refs/heads/main/config/devicelab_staging_config.star#22
Let that run in staging for at least a commit or two to validate tests are passing in staging.
Swap flutter/flutter .ci.yaml
https://github.com/flutter/flutter/blob/2a502363e14111f50254b116699b03206207cafd/.ci.yaml#L134
https://github.com/flutter/flutter/blob/2a502363e14111f50254b116699b03206207cafd/.ci.yaml#L146
Update the rest of the infra fallback values
https://flutter.googlesource.com/infra/+/refs/heads/main/config/flutter_config.star#108
https://flutter.googlesource.com/infra/+/refs/heads/main/config/iostools_config.star#61
Update the remaining devices in the fleet.

iphone11 has been deployed to mac-44 and is ready to process jobs.

Next steps:
Once @jmagman has a chance to validate the mac-44 setup, we will then:

Run setup steps on 3 more iphone11 devices
Note their device ids, and select 3 hosts from the staging pool to swap them out with
Update provisioning profiles and deploy
Swap out the iphones on the 3 selected hosts
Monitor to see everything is up and running as expected

Trying to run some builds using led on mac-44, but getting errors:
led get-builder 'luci.flutter.prod:Mac_ios hello_world_ios__compile' | led edit -d id=flutter-devicelab-mac-44 | led edit -d pool=luci.flutter.prod | led edit -d device_os=iOS-16 | led edit -d cpu=arm64 |  led launch -modernize
The fix is to save the output of led get-builder 'luci.flutter.prod:Mac_ios hello_world_ios__compile'  and remove the line cleanup_cache:true, before piping it into the rest of the command.

"The device may be running a version of iOS (16.2 20C65) that is not supported by this version of Xcode". @jmagman is going to create a new xcode cipd package, and we will try to run the tests again.
All devices are being setup now, so they should all be at 16.2 at time of deployment.

Filed https://github.com/flutter/flutter/issues/117505.

@yusuf-goog what specifically is this issue tracking vs https://github.com/flutter/flutter/issues/111131?

This issue is meant for our new lab tech. His account has not been approved yet, so he's not on this.

Next step to configure & setup new iPhones 11 and upgrade iOS to version 16.2.

https://github.com/flutter/flutter/issues/117505 has merged.  Please keep the iPhone 6s and cables so we can use them as test devices in the future in go/flutter-device-library (@yusuf-goog to be deposited on the test device pile desk in 1808 🙂 )

@jmagman Testing results are looking good, with no apparent failures. We are ready to continue to step 2. listed above.
We expect to start the swap out on Thursday morning PST.

We will start with the following swaps:
Prod: mac-43, 42, 41, 30, 29, 28.
mac-44 already has an iphone11.
Staging: mac-5, 7, 13.
mac-4 already has an iphone11.
Try: mac-1, 12
Once verified, we will continue upgrade of remaining devices in the pools.

provisioning profile CL: go/tircl/651552

We installed one iphone11 device on mac-43 to validate provisioning profile changes and our install procedure are correct. It installed correctly and was able to successfully run a build.

https://ci.chromium.org/ui/p/flutter/builders/staging/Mac_ios_staging test_drone/13/overview staging test ran on new ios-16 device successfully.

CL for step 6.: https://flutter-review.git.corp.google.com/c/infra/+/38129

All iphone11 are deployed to the lab.


Add provision for setting mappings

Adds mappings to index creation

Approving, but is seems like the null mappings may apply some changes to the behaviour in the open search java client. I am assuming this will be detected and covered by existing tests.


Update .gitignore

Categorized the files.

@mmacklin, this PR is conflicting due to the recent changes being made to the repo. How do I fix it?


snapshotList issue on ForEach

Type '((Any) throws -> Bool) throws -> Any?' cannot conform to 'RandomAccessCollection'
Only concrete types such as structs, enums and classes can conform to protocols
Required by generic struct 'ForEach' where 'Data' = '((Any) throws -> Bool) throws -> Any?'

Thanks for the report.  I just built/ran iOS client here and seemed to work.  Are there any other factors you know about that might effect issue?  I'm using Xcode 15.4 still here fwiw.

I use xcode 16 and minimum ios version is 15.6

how can I solve the issue. I do need pagination implementation on ios side of my kmp project

hmm, I've tried with Xcode 16 and it seems to work

The Kotlin 2.0.21-RC release is supposed to have better Xcode 16 support....might be worth trying with that there

hmm, actually I use 'Kotlin 2.0.0'

Kotlin version did not solve the issue, after that I casted MutableStateFlow<ItemSnapshotList> to MutableStateFlow<List> where RandomAccessCollection supports, the casting cannot solve it too, After checking type of declared variable in swiftUI (let snapshotList = self.viewModel.booksSnapshotList) I saw it gives ( let snapshotList: [Any] ) in both cases too. How dou you think is the issue can be on that


Collapse duplicate rows when table is flattened

Demo
https://github.com/iterative/vscode-dvc/assets/43496356/f5fd69ed-11ef-4bc5-97b4-d972258e3194
Resolves https://github.com/iterative/vscode-dvc/pull/4685#discussion_r1338040254

@julieg18 please rebase when you get a chance. I'll review afterwards.

@julieg18 please rebase when you get a chance. I'll review afterwards.

Done :)

Deeply nested sorting story needs to be updated :)


starting container "kube-proxy" fails with : mountpoint for cgroup not found

Description of problem
I am trying to run kubernetes on a docker-based local setup using the following instructions:
http://kubernetes.io/v1.0/docs/getting-started-guides/docker.html
NOTE: Although the problem is with starting kubernetes, I am filling this issue with docker since looks like the issue is with docker not being able to start a specific container.
All the kuberenetes containers start cleanly, except the "kube-proxy" container.
~ $ docker ps --all
CONTAINER ID        IMAGE                                        COMMAND                CREATED             STATUS                           PORTS               NAMES
34fb39961d7a        gcr.io/google_containers/hyperkube:v0.21.2   "/hyperkube proxy --   54 minutes ago      Exited (255) 54 minutes ago                          dreamy_morse
bd4c5c6e89ab        gcr.io/google_containers/hyperkube:v0.21.2   "/hyperkube proxy --   54 minutes ago                                                           tender_babbage
dd493eaa6d65        gcr.io/google_containers/hyperkube:v0.21.2   "/hyperkube proxy --   About an hour ago   Exited (255) About an hour ago                       berserk_colden
88ca0fb914be        gcr.io/google_containers/hyperkube:v0.21.2   "/hyperkube schedule   About an hour ago   Up About an hour                                     k8s_scheduler.b725e775_k8s-master-<IP_ADDRESS>_default_9b44830745c166dfc6d027b0fc2df36d_f864727d
031b1646492f        gcr.io/google_containers/hyperkube:v0.21.2   "/hyperkube apiserve   About an hour ago   Up About an hour                                     k8s_apiserver.70750283_k8s-master-<IP_ADDRESS>_default_9b44830745c166dfc6d027b0fc2df36d_fe01717c
245658f9a17a        gcr.io/google_containers/hyperkube:v0.21.2   "/hyperkube controll   About an hour ago   Up About an hour                                     k8s_controller-manager.aad1ee8f_k8s-master-<IP_ADDRESS>_default_9b44830745c166dfc6d027b0fc2df36d_0fd7c4e8
6566e67ab67e        gcr.io/google_containers/pause:0.8.0         "/pause"               About an hour ago   Up About an hour                                     k8s_POD.e4cc795_k8s-master-<IP_ADDRESS>_default_9b44830745c166dfc6d027b0fc2df36d_21bef762
ff98d0a62497        gcr.io/google_containers/hyperkube:v0.21.2   "/hyperkube kubelet    About an hour ago   Up About an hour                                     drunk_franklin
97a00a7de5f4        gcr.io/google_containers/etcd:2.0.9          "/usr/local/bin/etcd   About an hour ago   Up About an hour                                     ecstatic_hodgkin

On looking at the output of the kube-proxy container, looks like the remote API is throwing a error while launching the container:
$ docker logs dd493eaa6d65
W0807 14:26:19.502305       1 server.go:86] Failed to start in resource-only container "/kube-proxy": mountpoint for cgroup not found
I0807 14:26:19.502667       1 proxier.go:121] Setting proxy IP to <IP_ADDRESS> and initializing iptables
F0807 14:26:19.509773       1 server.go:101] Unable to create proxer: failed to initialize iptables: error appending rule: exit status 1: iptables: No chain/target/match by that name.

This is a bit odd, cause all the cgroup mounts seem to be in place:
~ $ mount | grep cgroup
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib64/rc/sh/cgroup-release-agent.sh,name=openrc)
cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
devices on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
freezer on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
blkio on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
perf_event on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
hugetlb on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)

Also, there doesn't seem to be an issue with starting any of the other containers. The only difference, I could see, in starting the kube-proxy container versus the other containers (etcd, api-server, scheduler) is that kube-proxy needs to be run with --priveleged .  Ran the check-confish.sh script to make sure all kernel configs are turned on:
warning: /proc/config.gz does not exist, searching other paths for kernel config...
info: reading kernel config from /boot/config-3.18.4-aufs ...

Generally Necessary:
- cgroup hierarchy: properly mounted [/sys/fs/cgroup]
- CONFIG_NAMESPACES: enabled
- CONFIG_NET_NS: enabled
- CONFIG_PID_NS: enabled
- CONFIG_IPC_NS: enabled
- CONFIG_UTS_NS: enabled
- CONFIG_DEVPTS_MULTIPLE_INSTANCES: enabled
- CONFIG_CGROUPS: enabled
- CONFIG_CGROUP_CPUACCT: enabled
- CONFIG_CGROUP_DEVICE: enabled
- CONFIG_CGROUP_FREEZER: enabled
- CONFIG_CGROUP_SCHED: enabled
- CONFIG_CPUSETS: enabled
- CONFIG_MACVLAN: enabled
- CONFIG_VETH: enabled
- CONFIG_BRIDGE: enabled (as module)
- CONFIG_BRIDGE_NETFILTER: enabled (as module)
- CONFIG_NF_NAT_IPV4: enabled (as module)
- CONFIG_IP_NF_FILTER: enabled
- CONFIG_IP_NF_TARGET_MASQUERADE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled
- CONFIG_NF_NAT: enabled (as module)
- CONFIG_NF_NAT_NEEDED: enabled
- CONFIG_POSIX_MQUEUE: enabled

Optional Features:
- CONFIG_MEMCG_SWAP: enabled
- CONFIG_MEMCG_SWAP_ENABLED: enabled
- CONFIG_RESOURCE_COUNTERS: enabled
- CONFIG_BLK_CGROUP: enabled
- CONFIG_IOSCHED_CFQ: enabled
- CONFIG_CGROUP_PERF: enabled
- CONFIG_CFS_BANDWIDTH: missing
- Storage Drivers:
  - "aufs":
    - CONFIG_AUFS_FS: enabled
    - CONFIG_EXT4_FS_POSIX_ACL: enabled
    - CONFIG_EXT4_FS_SECURITY: enabled
  - "btrfs":
    - CONFIG_BTRFS_FS: missing
  - "devicemapper":
    - CONFIG_BLK_DEV_DM: enabled
    - CONFIG_DM_THIN_PROVISIONING: enabled
    - CONFIG_EXT4_FS: enabled
    - CONFIG_EXT4_FS_POSIX_ACL: enabled
    - CONFIG_EXT4_FS_SECURITY: enabled
  - "overlay":
    - CONFIG_OVERLAY_FS: missing
    - CONFIG_EXT4_FS_SECURITY: enabled
    - CONFIG_EXT4_FS_POSIX_ACL: enabled
  - "zfs":
    - /dev/zfs: missing
    - zfs command: missing
    - zpool command: missing

How reproducible:
Every time.
Steps to Reproduce:

Follow the steps listed in http://kubernetes.io/v1.0/docs/getting-started-guides/docker.html
After each step maker sure the docker containers have started correctly.
After step 3 you will the kube-proxy exits with the above issue.

Actual Results:
kube-proxy container fails to start
Expected Results:
kube-proxy should start and configure the iptables with the right entries.
Additional info:
This could be something specific to Gentoo. I am not seeing other users (on Ubuntu for e.g.,) complaining about kubernetes not starting. I am actively discussing this issue with the kubernetes developers as well, but seems like they are also not able to triage the issue cleanly since the problem is with starting the container itself.

/cc @thockin @abronan :-)

oh, shucks, wrong ping, meant to include @aboch for libnetwork (sorry @abronan .. blame it on autocomplete :-))

@thaJeztah @asridharan From a rough look at the code, this does not seem to have to do with libnetwork, or docker.
It looks it is internal to kubernetes code: Error is thrown by kubernetes/cmd/kube-proxy/app/server.go code when trying to create the proxier here, tracing it to here and then probably [here] (https://github.com/GoogleCloudPlatform/kubernetes/blob/master/pkg/util/iptables/iptables.go#L183)

The error with setting up the iptables does look like an kubernetes issue. But what about the cgroup mount error: "Failed to start in resource-only container "/kube-proxy": mountpoint for cgroup not found"
They are not bailing out of the proxer code when they encounter this error, so maybe its not that critical to the creation of kube-proxy? The relevant code piece is [here(https://github.com/GoogleCloudPlatform/kubernetes/blob/master/cmd/kube-proxy/app/server.go#L88)

@asridharan That one comes from libcontainer, pinging @LK4D4 for libcontainer.

@asridharan If you found those errors by docker logs, then both of them from kubernetes. I see that it tries to setup Oom, so it should have some cgroups mounted inside container. Latest docker able to mount cgroups inside container, I'm not sure what cgroups tree expected by kube-proxy, though. Maybe @thockin knows.

Looks like all the errors are contained within the kubernetes code-base. I will move this issue to kubernetes in that case.

thanks all! closing this one, and hope you find a solution :-)


⚠ Bofrost.at has degraded performance

In 08542b5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1734 ms

Resolved: Bofrost.at performance has improved in d6ba07c.


Removes Dash from our Name for Simplicity

Description
renames everything but need to generate new protos.
Fixes # (issue)
Type of change
Docs
Please delete options that are not relevant.

[ ] Breaking change (fix or feature that would cause existing functionality to
not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
CI
Checklist

[ ] Updated documentation if needed
[ ] Tests added/amended
[ ] bazel test //...  passes locally
[ ] PR is contained in a single commit, using git amend see some docs

This change is

fixed protos

Since cache is failing, you can try to disable/remove these lines:
https://github.com/TraceMachina/nativelink/blob/d26462407cdc04b5a4eb4dc4d46b298db996c43f/.github/workflows/image.yaml#L31-L33


Read xml metadata from a url when setting the config

What does this PR do?

Fixes #94
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Demo
https://www.loom.com/share/35bd610ec3aa43459be43ac6e9e41df5

Hi @deepakprabhakara! PR is ready for review, please take a look

@gitstart Thank you very much, we'll review it this week.

Thank you for the review @devkiran, will get back to you with the requested changes

Hi @devkiran, PR has been updated please take a look

Hey @niwsa! PR has been updated with the requested changes, please take a look 🙏


Applying temporary bugfix!

[x] Fixes Null Error on _proxy while you continue to work on the //TODO
[x] Updating Install Instructions

Reviewing thank for the pr

No problem. I saw that you're working on something as I saw the //TODO. So all i did was a small fix to allow you to continue your work.

I think your fix is fixing all issue. I didn't see any problem about this. Adding null check to all area is just fixed. Great job, I'll add json config parameter next release. I'm not planning to do anything about TODO area soon