figure out what it take to make proxy work properly on Docker for Mac

One can already use Weave Net with Docker for Mac and, but proxy only creates a socket inside of the VM. Making proxy listen on TCP can be done, but weave proxy-launch -H <IP_ADDRESS>:12375 somehow results in weave config reporting that it listens on <IP_ADDRESS>:12375, which doesn't work. It works if  you pass the address of eth0 inside of the VM, which is the same as the mDNS answer to docker.local query, but user has to lookup that address.

This could be resolve by documentation, as long as we provide users with concrete commands. Otherwise, reporting any issue to Docker team is also plausible, if there is something specific we see about the weave proxy-launch -H <IP_ADDRESS>:12375 case.

The approach documented above no longer works, as container running in host network namespace are not currently not accessible.
I've been able to work around this with socat like this:
socat TCP-LISTEN:12375,reuseaddr,fork UNIX-CLIENT:/var/run/weave/weave.sock

I have published a container image that has this socat command baked-in and does the trick:
docker run -v /var/run/weave:/var/run/weave -ti -p <IP_ADDRESS>:12375:12375 errordeveloper/weaveproxy-socat


Getting error

I followed the instructions. The local server starts when I type gulp on the CLI. When I go to the  add contact page, it just keeps loading. 😕
Here's a specific error from the CLI.
typings/globals/lodash/index.d.ts(10168,9): error TS2403: Subsequent variable declarations must have the same type.  Variable 'memoize' must be of type '{ <T extends Function>(func: T, resolver?: Function): T & MemoizedFunction; Cache: MapCacheConstr...', but here has type '{ <T extends Function>(func: T, resolver?: Function): T & MemoizedFunction; Cache: MapCache; }'.

Hmm odd. Will you please list your Typescript version and node version?

Node v6.9.1
Typescript 2.0.6

Oh no, that's right. I'll have to update the README. I'll look into what might be causing this error. In the last update I removed some files from typings.json which has mostly fixed the error messages that appear upon compilation


Missing maintainer in package.xml

The package.xml is missing a maintainer field, so the package does not compile as-is without special flags to ignore it

Hi. Would you mind submitting a PR? I'm not really maintaining this package, so it's up to the community to keep it up and running now :smiley:. Thanks!


Add support for transparent TCP egress

Enable processes in enclaves to transparently resolve and connect to any hostname or IP address permitted by the egress policy, without explicit use of any proxy.
We can likely accomplish this through some combination of providing a custom DNS resolver, to track the processes mapping of host names to IP addresses, and transparent TCP redirection to our proxy via nftables or iptables.
We should support UDP while we’re at it, if it is easy.

As a workaround, one can run a proxy that listens on a TCP port and then issues an HTTP CONNECT to a predefined host/port. One such tool is the socat utility (available on most distros). Create an entrypoint script that looks like this:
# The Enclaver sets `http_proxy` env variable that looks like "http://<IP_ADDRESS>:9000"
# but it's a bit tricky to parse it in the shell script. The port 9000 is the default used by Enclaver
# unless overridden in the enclaver.yaml
proxy_host=<IP_ADDRESS>
proxy_port=9000

# The host and port that you want to egress to. Be sure to add the host or IP to the
# egress.allow list in enclaver.yaml
remote_host="mysql-database.local"
remote_port=3306

# Start the TCP tunnel
socat TCP4-LISTEN:${remote_port},reuseaddr,fork PROXY:${proxy_host}:${remote_host}:${remote_port},proxyport=$proxy_port &

# Run your regular entrypoint
mysql --host="$remote_host" mydatabase


Add pkgconfig args in Xcodeproj generation

Fixes https://bugs.swift.org/browse/SR-1368

we need to have
pkgArgs.Xcc in OTHER_SWIFT_FLAGS

Looks like either OTHER_CFLAGS or OTHER_SWIFT_FLAGS prefixed with -Xcc does the job. I chose the first one because it seems cleaner that way.

@aciidb0mb3r Ping, can I help out here somehow? I'd really like to get this in 😊

Hmm we can probably do the linker flags as a separate ticket if @ddunbar is fine with it. Rest of the comments are pretty small.

Awesome, yeah I agree that the linker flag filtering/auditing should come as a separate PR, because it's not specific to the xcode project generation.

@ddunbar Updated the PR, please re-review. Will do the filtering of flags etc in separate PR

Ok, I am willing to take this since it seems like a monotonic improvement. I am however pretty concerned about our lack of tests here...

@swift-ci please test and merge

@swift-ci please test and merge

@ddunbar can you suggest how to go about testing this?


"First Screen (type.fragment, internal)" loses text input after process death

State is lost instead of being restored after process death on "First Screen (type.fragment, internal)".
Happens both if in front, or if it is on the backstack.
1.) add input text
2.) put app in background
3.) adb -s 04UAY1WGLN shell am kill com.turo.nibel.sample
(this is my device id with the -s yours might differ or you might not even need it)
4.) open app from launcher
App should be exactly as before, but on "First Screen" the text input is lost.

Good catch, thanks for opening the issue.
It would be a good idea to store the value as saveable or in SavedStateHandle indeed.
This would be an update on a sample app level, not the library, but it is definitely still worth doing.


Polymer is failing silently without any console error

I have bower_components loaded in a different place and created a softlink at the index.html page.So it looks like everything is loading without any problem but not displaying anything in the page.I tried to break the link then it gives the console error.So i assume that everything is loading up but not displaying...Please any suggestions

Do you have a link to what you're working on?

I've seen this before on my own project, happens for me when I have a   without a script tag in it.
Either use 'noscript' attribute or add a script tag to your .

Here is the solution it got solved by doing this.I provided polymer element names for every element inside the script tag for example Polymer("element-name"{}). If you are having multiple elements in single page we need to name the polymer-element inside the script tag. This solution seems to be meaningless but i got it solved by using this.


Page reload hangs when Firestore DocumentReference is enumerable in vuex state

Version
5.3.3
Browser and OS info
Chrome	79.0.3945.130 / Windows 10
Steps to reproduce

Create a vue project that uses both vuex and Firebase.
Add a DocumentReference to the store
Open dev tools -> Vue -> Vuex and load the state
Attempt to refresh the page

What is expected?
The page refreshes
What is actually happening?
The page hangs with a backwards spinner as the page never leaves itself. Eventually you get a Stack size exceeded error in the log.

I'm sorry, I couldn't figure out a way to create a reproducible project with all the correct libraries and auth details for Firebase.

I have the same issue. The page goes to infinity reloading if I try to ".get()" collection from Firestore.

I have the same issue. The page goes to infinity reloading if I try to ".get()" collection from Firestore.

I've created https://github.com/firebase/firebase-js-sdk/issues/4258 over at the firestore side to try and get it fixed at that end too.
I also dug into it a little more and this issue seems to only happen when the fast path JSON.stringify fails, typically due to circular references in firestore documents that are visible to vue/vuex (i.e. in state, returned from getters, passed to mutators, or as an event payload). In this case the vue dev tools falls back to a stringifyStrict internal implementation of JSON.stringify that tracks references to avoid cycles, but that is somehow less efficient than the built in stringify and regularly causes crashes in the dev tools due to out-of-memory exceptions.
The only work around I've found so far is to avoid/remove/hide these circular references from the enumerable properties that vue/vuex can see. I do this by redefining the property using Object.defineProperty(obj, 'ref', {enumerable: false, ...}) which stops the fast path JSON.stringify from failing.

I've created https://github.com/firebase/firebase-js-sdk/issues/4258 over at the firestore side to try and get it fixed at that end too.
I also dug into it a little more and this issue seems to only happen when the fast path JSON.stringify fails, typically due to circular references in firestore documents that are visible to vue/vuex (i.e. in state, returned from getters, passed to mutators, or as an event payload). In this case the vue dev tools falls back to a stringifyStrict internal implementation of JSON.stringify that tracks references to avoid cycles, but that is somehow less efficient than the built in stringify and regularly causes crashes in the dev tools due to out-of-memory exceptions.
The only work around I've found so far is to avoid/remove/hide these circular references from the enumerable properties that vue/vuex can see. I do this by redefining the property using Object.defineProperty(obj, 'ref', {enumerable: false, ...}) which stops the fast path JSON.stringify from failing.


Make java-test-image usable for testing in k8s

Motivation
When developing and testing Pulsar, it is very slow to build the pulsar-all image.
The java-test-image can be built in less than 1.5 minutes on most laptops.
When attempting to use the apachepulsar/java-test-image:latest with a local k8s setup (microk8s), it was found out that startup fails since the Pulsar helm charts expect that nc and nslookup are installed.
Modifications
Make nc and nslookup available to the java-test-image by adding netcat, dnsutils and iputils-ping to the packages to be installed. These packages are installed to the pulsar image and were missing from the java-test-image.
This change makes java-test-image usable for k8s installations (for developing and testing Pulsar itself).

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


Apple Slilicon Issues with Dynamixel Wizard

Is there any way around Dynamixel wizard? I'm on M1 Apple Silicon, and the App Store installation like they suggest does not work, Dynamixel wizard either doesn't detect the motors (usb c into the servo board for the 6v motor, attempting to scan with jumper wires into the motor, tried both orientations, tried with additional dc power, and without (on the other port) and it either won't detect the motor at all, or it will detect a motor on every single id, not sure what to do, appreciate any advice and can close if its not relevant

I have an M1 max macbook pro, and the Dynamixel Wizard worked fine when using the Waveshare board on both dynamixels servos when powered with 6v DC. Are you identifying the motors one at a time?

started a thread in robotis' forum to https://forum.robotis.com/t/dynamixel-not-seeing-any-device/5697

Finally got it to work: it was a bad board. Ordered another waveshare controller and everything worked fine. They seem to have a pretty high rate of failure, but even if you have to buy 2 its still cheaper than the u2d2..

Can you show me your wires? I have the same issue as you.

Make sure you try a couple of these waveshare boards though, I think a lot of them aren't working

I think I have the same problem but not sure, I'm on ubuntu and not detecting anything in dynamixel wizard but also not getting scenario of robot on all IDs. I sometimes get a faint red light on the dynamixel which soon after disappears but find it hard to reproduce this light.
Initially, I want to control just 1 dynamixel servo, therefore I won't have the yellow wire going into D in the above diagram. @LouisFoucard do you think I will be able to control just 1 XL330-M288 this way or is the yellow wire needed for powering the daisychain with waveshare? I will order a 2nd dynamixel in case this is needed. Also considering ordering another waveshare or even the U2D2.

For just testing one of the base motors you don't need the yellow data wire (nor the other 2 power wires since the base and shoulder motors get their power directly from the wave share board).
The faint red light is expected, it's just the motor turning on. If it blinks it means the input voltage is too high.
Most likely though you have a faulty waveshare board (if nothing works after checking all wires). My board was faulty and at least one other person also had a faulty board.


Enforce HTTPS when in production

This will upgrade HTTP connections to HTTPS. It is configured to detect HTTP connections from behind a load balancer or router like we have it in Heroku.

Looks like a straightforward addition, I don’t see anything wrong in the code.


Use config flow instead of configurator for configuration

The use of the configurator is very hackish right now. It appears there is a push for components to move to config flow which appears in the integrations panel.
I haven't found the definitive dev guide on config flow yet, but it's mentioned in the integration score guide.
Here's one component that uses it.
If anyone sees the right document or thread, please post it here.

This should be the priority going forward, last remaining item before we can move this component into review for being officially included.

Actually, this may have to happen after the initial submit to HA. Config flow requires editing homeassistant/config_entries.py (a later release may expose it).
I wonder if we should keep the component separate from the alexa built in or if we should try to integrate with it.

Config flow for custom components is possible now (see https://github.com/home-assistant/home-assistant/pull/24946).

@ronmichel thanks. I've been waiting for this.

I've done some testing; the big issue is we can't pass image urls to config_flow so there's no way to show a captcha. I may just implement config_flow just to enter credentials and rely on configurator to handle the rest of the login (captcha, 2FA, OTP).

I've thought about this for a while, solution for now might be to just give them the captcha link and let them copy and paste it into another browser tap.
Alternatively, we can see about seeing if we can convince one of the config-flow maintainers to add the ability to show images.

Nevermind, I figured out how to use config flow with placeholders which will replace {} in the strings.json file. This may be doable after all.

For those who are brave and want to help me test; I have a version that appears to be working in my dev environment.  It requires the alexapy version currently being merged.  Everything is working for me except for properly unloading everything when you remove the integration. Still working through some of those issues.  Also #317 is still a problem.


Link to Komodor addon

Description of changes:
Adding link to Komodor addon.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ronahk There is a merge conflict for the docs file. Can you fix it, then we can merge.


App restart while using ZXing Barcode Library

Hi,
I have problem with ZXing library, I have tried with zxing.net.mobile and zxing.net.mobile.forms but the result is the same, app restart.
I don't get any exception, and I get this with simple Scan and with ScanContinuously.

Thanks!

I got an exception or two from the java layers when using the library in places that seem unrelated, such as after scanning and navigating backwards in my application.
One thing i noticed while reviewing the source code of the ZXing.Net.Mobile application is that the Scan method uses Task.Factory.StartNew
As I understand it, the UI layer of Android is not thread safe, therefore StartActivity and some other calls used in this action are running in the threadpool instead of the main thread and potentially introducing issues.
ex.
http://stackoverflow.com/questions/6274653/how-to-start-an-activity-from-a-thread-class-in-android

I had the same issue, for me it was to do with the environment.txt settings on android i was using for the GC.  I reduced the nursery-size and the soft-heap-limit settings to something more reasonable and then no zxing abort.

Hate to bump a thread this old but I am experiencing the same issue and this is the only relevant thread/issue I have found.
App appears to be resetting (on Android, I have not tested iOS) after the barcode is scanned, here is the debug log starting from when my scan button is clicked to when the app resets:
03-15 09:27:10.434 D/ZXing.Net.Mobile(32027): ZXingScannerFragment->OnResume exit
03-15 09:27:10.524 D/ZXing.Net.Mobile(32027): Checking android.permission.CAMERA...
Loaded assembly: System.Diagnostics.Debug.dll [External]
03-15 09:27:10.546 D/ZXing.Net.Mobile(32027): Checking Number of cameras...
03-15 09:27:10.554 D/ZXing.Net.Mobile(32027): Found 3 cameras...
03-15 09:27:10.557 D/ZXing.Net.Mobile(32027): Found Back Camera, opening...
03-15 09:27:11.265 D/ZXing.Net.Mobile(32027): Selected Resolution: 880x720
03-15 09:27:11.299 D/ZXing.Net.Mobile(32027): Changing Camera Orientation to: 90
03-15 09:27:11.916 D/ZXing.Net.Mobile(32027): Selected Resolution: 880x720
03-15 09:27:11.926 D/ZXing.Net.Mobile(32027): Changing Camera Orientation to: 90
03-15 09:27:11.932 I/Choreographer(32027): Skipped 86 frames!  The application may be doing too much work on its main thread.
03-15 09:27:12.119 D/Camera  (32027): app passed NULL surface
03-15 09:27:12.585 D/ZXing.Net.Mobile(32027): ZXingScannerFragment->OnResume exit
03-15 09:27:12.595 D/ZXing.Net.Mobile(32027): ZXingScannerFragment->OnResume exit
03-15 09:27:12.627 I/Choreographer(32027): Skipped 33 frames!  The application may be doing too much work on its main thread.
03-15 09:27:12.661 D/ZXing.Net.Mobile(32027): Checking android.permission.CAMERA...
03-15 09:27:12.665 D/ZXing.Net.Mobile(32027): Checking Number of cameras...
03-15 09:27:12.666 D/ZXing.Net.Mobile(32027): Found 3 cameras...
03-15 09:27:12.667 D/ZXing.Net.Mobile(32027): Found Back Camera, opening...
03-15 09:27:12.835 D/ZXing.Net.Mobile(32027): Selected Resolution: 880x720
03-15 09:27:12.841 D/ZXing.Net.Mobile(32027): Changing Camera Orientation to: 90
03-15 09:27:13.277 D/ZXing.Net.Mobile(32027): Selected Resolution: 880x720
03-15 09:27:13.286 D/ZXing.Net.Mobile(32027): Changing Camera Orientation to: 90
03-15 09:27:13.295 I/Choreographer(32027): Skipped 39 frames!  The application may be doing too much work on its main thread.
03-15 09:27:13.404 I/ViewRootImpl(32027): ViewRoot's Touch Event : ACTION_DOWN
03-15 09:27:13.406 I/ViewRootImpl(32027): ViewRoot's Touch Event : ACTION_CANCEL
03-15 09:27:13.433 I/Timeline(32027): Timeline: Activity_idle id: android.os.BinderProxy@2ac3a7e time:662459234
03-15 09:27:13.433 I/Timeline(32027): Timeline: Activity_idle id: android.os.BinderProxy@2ac3a7e time:662459235
Loaded assembly: System.ServiceModel.Internals.dll [External]
03-15 09:27:15.314 I/art     (32027): Starting a blocking GC Explicit
03-15 09:27:15.371 I/art     (32027): Explicit concurrent mark sweep GC freed 34126(2MB) AllocSpace objects, 8(4MB) LOS objects, 40% free, 23MB/39MB, paused 519us total 56.904ms
03-15 09:27:16.855 I/art     (32027): Starting a blocking GC Explicit
03-15 09:27:16.901 I/art     (32027): Explicit concurrent mark sweep GC freed 11968(981KB) AllocSpace objects, 17(2MB) LOS objects, 40% free, 19MB/33MB, paused 633us total 45.573ms
03-15 09:27:18.579 I/art     (32027): Starting a blocking GC Explicit
03-15 09:27:18.615 I/art     (32027): Explicit concurrent mark sweep GC freed 3855(265KB) AllocSpace objects, 0(0B) LOS objects, 40% free, 19MB/32MB, paused 600us total 35.721ms
03-15 09:27:20.162 I/art     (32027): Starting a blocking GC Explicit
03-15 09:27:20.196 I/art     (32027): Explicit concurrent mark sweep GC freed 2056(188KB) AllocSpace objects, 0(0B) LOS objects, 39% free, 19MB/32MB, paused 489us total 33.895ms
Loaded assembly: System.Text.Encoding.dll [External]
03-15 09:27:20.895 D/ZXing.Net.Mobile(32027): Barcode Found: 65c15bd5-63d5-40e6-bdfc-3ebbc93595e2
Deal UUID: 65c15bd5-63d5-40e6-bdfc-3ebbc93595e2
03-15 09:27:20.913 I/mono-stdout(32027): Code UUID: 65c15bd5-63d5-40e6-bdfc-3ebbc93595e2

Here is my scan settings /method
private async void ScanButton_Clicked(object sender, EventArgs e)
{
    var options = new MobileBarcodeScanningOptions
    {
        PossibleFormats = new List<ZXing.BarcodeFormat>() {
            ZXing.BarcodeFormat.QR_CODE
         }
    };

     var scanner = new MobileBarcodeScanner();
     var result = await scanner.Scan(options);
#if DEBUG
     Console.WriteLine("Code UUID: " + result.Text);
#endif
}

This is my MainActivity.OnCreate:
protected override void OnCreate(Bundle bundle)
{
    base.OnCreate(bundle);

    global::Xamarin.Forms.Forms.Init(this, bundle);

    Xamarin.FormsMaps.Init(this, bundle);

    ZXing.Net.Mobile.Forms.Android.Platform.Init();

    LoadApplication(new App());

    IsPlayServicesAvailable();

    MobileBarcodeScanner.Initialize(Application);
}

I tried to look up the solution by @roceh but not sure what that means? I found this info, and set up the GC settings as such:
MONO_GC_PARAMS=bridge-implementation=tarjan,nursery-size=128m,soft-heap-limit=512m

Any help is appreciated

So after some more digging and checking into what the conditions are when the app restarts I have trace it to my MainActivity's OnResume method, a condition caused an event to be re-raised that re initiated the whole app.

Thanks for reporting this issue!  Unforunately it took me way too long to respond 😭.  Sorry, I apologize!  Recently the source code for this project was completely refactored to modernize it.  Many PR's were included in this effort, and many bugs were hopefully fixed.  Please try out the latest 3.x series of NuGet packages (currently in prerelease).  To try and make the project more maintainable in my spare time going forward, I've decided to close all existing issues to start with a clean slate.  If you're still experiencing this issue on the newest version, please open a new issue with as much detail as possible.  Thank you for your patience and understanding!  Happy scanning!


How to clear all selected dates?

Hello,
Is it possible to clear all selected days (e.g. with an event)?
Thanks & Regards

Hi,
<MultipleDatePicker daysSelected=selectedDays />

and in your event
scope.selectedDays = [];

Ah, thank you very much!

Hello,
I have an event for selected Days: <MultipleDatePicker daysSelected=selectedDays />
Let's say the calendar is empty and then i click on some days to select them.
If i want to clear the selection  $scope.selecedDays = []; then it doesn't work. The selectedDays array is always emtpy if i select the days.
In case the selectedDays array contains data (e.g. i filled it inside the code to select days) then it is working.
Am i doing something wrong?

Hello,
related to #32 ?

I tried it out, here is the example, but still no changes, i can't remove the selected days from the calendar
HTML:
<multiple-date-picker days-selected="selectedDays" />
<button ng-click="_test()">test</button>
JS:
$timeout(function() {
$scope.selectedDays = [];
$scope.$apply();
});
}```

One thing i don't understand is, if i select days in the calendar, the selectedDays array never gets filled with the data. Therefore if i set it to ```$scope.selectedDays = [];``` i can't see any cahnges

It works only if  i have a predefined array ($scope.selectedDays = [date,date,date,...]) and after set it to $scope.selectedDays = [] the calendar gets updated

SelectedDays is only an input, then you have to manage yourself days you select in dayClick.
But I didn't know you were not using daysSelected in the first place. So it's normal nothing changes.
I'll add a emit system to send commands, the first will be 'reset' :D

This would be indeed very useful since i use the datepicker anywhere in my project :-)
So it should work if i fill the selectedDays array within the dayClick event (if date.selected)
Thanks for your help

Check the demo and v1.3.0, added a factory to easily broadcast reset order ;)

Working perfect...thank you very much!


[Doc Improvement][Updates]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/whats-new.md
91
77
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


fix #145 contains does not fail on string input

Also I added a check for number:
    it('should work with numbers', () => {
      const wrapper = shallow(
1
);

      expect(wrapper.contains(1)).to.equal(true);
      expect(wrapper.contains(2)).to.equal(false);
    });

Tests added. It's safe to assume Object.keys is available, if you run it inside IE8, you definitely have some polyfills. es5-shrink or babel-polyfill, because otherwise almost nothing will work.


iOS混编，随便进入Flutter页面，再进入原生来回多次闪退

Describe the bug
A clear and concise description of what the bug is.
iOS混编，随便进入Flutter页面，再进入原生来回多次闪退，随机点击多在app里面点点就会出现了
To Reproduce
Steps to reproduce the behavior:

进入Flutter界面
进入原生界面
返回Flutter界面
多操作几次，然后点点app其他界面

Expected behavior
A clear and concise description of what you expected to happen.
Flutter Doctor
[✓] Flutter (Channel stable, 1.22.0, on Mac OS X 10.15.6 19G2021, locale zh-Hans-CN)
• Flutter version 1.22.0 at /Users/zhoujianhui/Documents/flutter
• Framework revision d408d302e2 (3 months ago), 2020-09-29 11:49:17 -0700
• Engine revision 5babba6c4d
• Dart version 2.10.0
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/zhoujianhui/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.10.0
[!] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] Connected device (2 available)
• iPhone (2) (mobile)    • 7e865e3e587a45410df48d95485802cec608c942 • ios • iOS 14.1
• iPhone 8 Plus (mobile) • E5685184-A6E0-476C-B025-8DFB3443F61D     • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
! Doctor found issues in 1 category.
OS & Device

Device: [e.g. iPhoneXR]
OS: [e.g. iOS14.2]
Version [e.g. 22]

Error logs
Add logs about the problem here.

io.flutter.10788830400.1.raster (17): EXC_BAD_ACCESS (code=1, address=0x0)

demo上暂时没能复现

如能提供可复现的demo，这个问题再 open

如能提供可复现的demo，这个问题再 open


"kubecfg update" fails with SIGSEGV when updating object from invalid manifest

Observed Behavior
Using kubecfg update against a server running Kubernetes version 1.14.3, attempting to update an existing object, kubecfg crashes with the following stack trace:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1d20a61]

goroutine 1 [running]:
k8s.io/apimachinery/pkg/apis/meta/v1/unstructured.(*Unstructured).GetUID(...)
	/private/tmp/kubecfg-20190528-66151-n1u7p4/kubecfg-0.12.0/src/github.com/bitnami/kubecfg/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructured.go:252
github.com/bitnami/kubecfg/pkg/kubecfg.UpdateCmd.Run(0x23a60e0, 0xc0000c2378, 0x23edee0, 0xc00036e930, 0x23f2800, 0xc00004dfc0, 0xc000584a70, 0x8, 0x1, 0x7ffeefbff5a0, ...)
	/private/tmp/kubecfg-20190528-66151-n1u7p4/kubecfg-0.12.0/src/github.com/bitnami/kubecfg/pkg/kubecfg/update.go:315 +0x281
github.com/bitnami/kubecfg/cmd.glob..func6(0x322eda0, 0xc000430750, 0x1, 0x3, 0x0, 0x0)
	/private/tmp/kubecfg-20190528-66151-n1u7p4/kubecfg-0.12.0/src/github.com/bitnami/kubecfg/cmd/update.go:107 +0x328
github.com/spf13/cobra.(*Command).execute(0x322eda0, 0xc0004305d0, 0x3, 0x3, 0x322eda0, 0xc0004305d0)
	/private/tmp/kubecfg-20190528-66151-n1u7p4/kubecfg-0.12.0/src/github.com/bitnami/kubecfg/vendor/github.com/spf13/cobra/command.go:756 +0x465
github.com/spf13/cobra.(*Command).ExecuteC(0x322e1c0, 0x100570f, 0xc0000a2058, 0x0)
	/private/tmp/kubecfg-20190528-66151-n1u7p4/kubecfg-0.12.0/src/github.com/bitnami/kubecfg/vendor/github.com/spf13/cobra/command.go:846 +0x2ec
github.com/spf13/cobra.(*Command).Execute(...)
	/private/tmp/kubecfg-20190528-66151-n1u7p4/kubecfg-0.12.0/src/github.com/bitnami/kubecfg/vendor/github.com/spf13/cobra/command.go:794
main.main()
	/private/tmp/kubecfg-20190528-66151-n1u7p4/kubecfg-0.12.0/src/github.com/bitnami/kubecfg/main.go:33 +0x5b

At line 315 in file pkg/kubecfg/update.go, it appears that the newobj pointer is nil.
Running kubecfg update --dry-run against the same configuration succeeds with error, but running kubecfg update again against the same configuration fails the same way.
Diagnosis
Running kubectl update --v=8 reveals more detail: in particular, one of the objects is deemed invalid (a field for a Deployment's "spec.template.spec.containers.resources.requests" field has the wrong name, "mem" instead of "memory"). kubecfg attempts to compute the difference between the proposed and existing objects. The existing object retrieved from the server is null. Hence, it appears that kubecfg is not detecting the server-side schema validation correctly.

I0610 15:34:48.269317   78935 request.go:942] Response Body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Deployment.apps \"m3-collector\" is invalid: [spec.template.spec.containers[0].resources.requests[mem]: Invalid value: \"mem\": must be a standard resource type or fully qualified, spec.template.spec.containers[0].resources.requests[mem]: Invalid value: \"mem\": must be a standard resource for containers]","reason":"Invalid","details":{"name":"m3-collector","group":"apps","kind":"Deployment","causes":[{"reason":"FieldValueInvalid","message":"Invalid value: \"mem\": must be a standard resource type or fully qualified","field":"spec.template.spec.containers[0].resources.requests[mem]"},{"reason":"FieldValueInvalid","message":"Invalid value: \"mem\": must be a standard resource for containers","field":"spec.template.spec.containers[0].resources.requests[mem]"}]},"code":422}
DEBUG Update(m3-collector) returned (<nil>, Deployment.apps "m3-collector" is invalid: [spec.template.spec.containers[0].resources.requests[mem]: Invalid value: "mem": must be a standard resource type or fully qualified, spec.template.spec.containers[0].resources.requests[mem]: Invalid value: "mem": must be a standard resource for containers])
DEBUG Updated object:

A: {"apiVersion":"apps/v1","kind":"Deployment"...

B: null
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1d20a61]

At line 199 in file pkg/kubecfg/update.go in the createOrUpdate function, we receive a nil *Unstructured back from ResourceInterface.Update, together with a non-nil error. Five lines later, though, we unconditionally return a nil error value. At line 204, it looks like it should read as follows:
	return newobj, err

Alternately, return early after line 202.
Software
kubecfg version
kubecfg version: v0.12.0
jsonnet version: v0.12.0
client-go version: v0.0.0-master+6d1a9b9

Kubernetes version
version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.2", GitCommit:"66049e3b21efe110454d67df4fa62b08ea79a19b", GitTreeState:"clean", BuildDate:"2019-05-16T16:14:56Z", GoVersion:"go1.12.5", Compiler:"gc", Platform:"linux/amd64"}

It would be nice to publish a release that includes the fix for this problem. It bites us frequently, as we're still using the most recently released version 0.12.0.

@seh; on it (fighting some release automation issue)

Thank you. I see evidence of the struggle. We will prevail.
Do I dare ask: Does any of this trigger new Homebrew releases too?

Do I dare ask: Does any of this trigger new Homebrew releases too?

I think somebody have to trigger them manually, see https://github.com/Homebrew/homebrew-core/pull/40385

@seh; turns out I have to re-create the github secrets so that travis can upload the binaries.
I uploaded the binaries manually, PTAL

I've done it before, though I wasn't able to get that bump-formula-pr to work on my computer.

somebody is already doing it https://github.com/Homebrew/homebrew-core/pull/42677 :-)


Brainstorming on the features for the website

A brief list of features that the website would primarily involve:

Registration for mentors
Registration for newcomers
Displaying a database of registered mentors
Searching the database with keywords or tags
Newcomer requesting a meet, at some mentor's profile
Mentor reverting to the request
Setting up a meet, if mutually accepted by both parties
Platform for ask-to-answer?

Feel free to suggest changes, improvements, or more ideas for features to be included in the website.
Thanks! 😄

List of some amazing features indeed :D. I am myself working on a set of features that we could integrate with the above. However, from the above list, I have few questions:

Setting up a meet, if mutually accepted by both parties

This meeting is online right (seems obvious but still :P)?

Platform for ask-to-answer?

Something like stackoverflow? I myself planned to integrate this feature. My vote definitely in favour!

Displaying a database of registered mentors

Will this get too exhaustive with the number of mentors that will register on the website? Also, what will this database table hold? Mentor details and their field of expertise (and..) perhaps a button in the database itself that will take to the profile page of the mentor?

Searching the database with keywords or tags

Yep, feature will greatly enhance with this functionality.
In addition to the above, a few features that I have in mind:

Personal profile page for every account, be it new comer or the mentor. This page will show the details of the person - name, educational background, field of expertise , experience, projects, etc. (can be thought of in the long run). A person could simply visit any profile to know about the mentor/new comer.

For each account, a tab which lists the pending meetings, current status of the task (that the parties were discussing), and ability to add reminders, integrate calendars, cancel or setup new meetings, etc. (to be thought in detail)

Perhaps a feature where the mentor and mentee could share screen and virtual text editor and code editor that would make it very convenient for the mentors to explain.

A chat functionality to enable discussions between the mentor and mentee. To avoid spamming, we could embed a few things like, enabling chat only between the assigned mentor; or providing the feature where the mentor could make himself available (a status to others saying that the mentor is online and ready to guide) and only then, the chat can be done.

A functionality (extended chat) to enable audio/video calls between mentor and mentee (at their will obviously).

I would keep on adding to this list as and when something pops in my mind.

This meeting is online right (seems obvious but still :P)?

Yes, obviously!

Something like stackoverflow? I myself planned to integrate this feature. My vote definitely in favour!

Yes, something like stackoverflow!

Will this get too exhaustive with the number of mentors that will register on the website (are we looking at pagination?) ? Also, what will this database table hold? Mentor details and their field of expertise (and..) perhaps a button in the database itself that will take to the profile page of the mentor?

We can section them out according to their field of expertise so that right from the landing page, would the mentee have an idea about where to go to learn say, Ruby on Rails and the Mentors would be listed accordingly.
Mentor Details, Field of Expertise, Previous Projects, A brief welcoming intro, Favorite Food(Cause, why not!?), suggest some more.

Yep, feature will greatly enhance with this functionality.

Right on the landing page, the Mentee could go Python and whoosh, the Mentors available would show up, is my idea. What say?
The other features you mentioned, great! I'll add some features if something hits me.

Hi @share-with-me, sorry for such a late response.
@pransh15 cleared covered most of it (thanks!), but just a quick walk through your pointers:

What will this database table hold?

An optional picture, name, affiliation, location. Clicking on the name/picture should land us on their profile, which brings me to the next point that you mentioned - an individual profile page for each mentor. We can discuss things to be included here: https://github.com/ipsha21/altruism-in-tech/issues/12

For each account, a tab which lists the pending meetings, current status of the task (that the parties were discussing), and ability to add reminders, integrate calendars, cancel or setup new meetings, etc. (to be thought in detail)

That's a brilliant addition on what I missed out, thanks. :) Would love to discuss this in detail, feel free to open an issue about this. :)

Perhaps a feature where the mentor and mentee could share screen and virtual text editor and code editor that would make it very convenient for the mentors to explain.

I had a more general idea in my mind, of only setting up the meeting (without really going into the execution part of how the meeting would be conducted - given that we already have loads of applications for that and users can choose with more flexibility, depending on their needs and ease), but I'm still open to the idea and we can work something out. What do you think?

A functionality (extended chat) to enable audio/video calls between mentor and mentee (at their will obviously).

Again, more in favor of the existing solutions like Skype or Hangouts. Opinions?

I was thinking, is there a rating process or something we can do? Or surveys.
So if you meet a mentor/mentee you can say how they helped you which would be valuable for others to see. Something that is engaging and boosts mentors profiles over time. Ex. Leave a quote or testimonial for the mentor!

@amirad Yes, we could definitely set up some sort of recommendation/endorsement feature where mentees can write a testimonial for the mentor's profile. Also, a count of number of successful calls the mentor has been a part of.
Thanks for suggesting this. :)

Yessss @ipsha21 I'm thinking of ways that mentors can gain credibility on the platform and showcase how they have supported people. It will be a good incentive to be a mentor and they will feel appreciated after.


Add Alcatraz v1.1.12

You can add in an appcast for any app hosted on github, see this for an example.
Please add a space between the license and artifact stanzas.
Under the artifact stanza (and another blank line, please add an uninstall stanza that removes  ~/Library/Application Support/Alcatraz/

It is my understanding Alcatraz has an intaller script. That should be the chosen method of install.

Ah, appcast support is interesting, patched.

@vitorgalvao Shouldn't it be uninstall?
From alcatraz.io:
Uninstall
Delete the plugin:
rm -rf ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin
Remove all cached data:
rm -rf ~/Library/Application\ Support/Alcatraz

@vitorgalvao Also, this cask uses #{ENV['HOME']} instead of ENV['HOME'] +, is one "preferred"?

No preference, no, though we shoudl eventually pick one and make it consistent, but it doesn’t really matter for this case at this point in time.

@adityadalal924 I prefer interpolation to concatenation wherever possible, as it is both more efficient and (to me) more readable.

I prefer interpolation to concatenation wherever possible, as it is both more efficient and (to me) more readable.

Fine by me.

Thank you for the contribution. It needed some fixes, so they were made in 52dffbede79e213b5896f88d6cad39b34b664533. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.

Thanks!


Screenshot instructions

WHAT
Screenshot instructions
WHY
Simplify
HOW
Checklist :clipboard:

[ ] Add explicit visibility modifier and explicit return types for public declarations
[ ] Run spotless check
[ ] Run tests
[ ] Update metalava's signature text files

@luizgrp changed to repair instead


M02-LAB01: Exercise 2 - Mitigate Attacks with Microsoft Defender for Endpoint

Contact Details
<EMAIL_ADDRESS>What happened?
Exercise : 02
Task: 01
Step: 04
Description of issue:
Could not open the file as it is asking for password. How to view the contents of the file we downloaded in step 4??
Repro steps:
1.
1.
1.
Lab
Lab 02 Exercise 02 Mitigate Attacks with Microsoft Defender for Endpoint
Relevant screenshots

Do you want to help us? 👏

[ ] Create a Pull Requestt by following this project's Contribution Guide

All guidance needed to complete the simulations are available when you click and follow the "Read the walkthrough" link


Perceptual areas that do not overlap exactly

Hello,
Thanks for sharing your excellent work. Very much appreciated.
But I have a particular problem for myself.
If there is only a point cloud with a front-looking view (FOV less than 180°) and 6 surround-looking images in the multimodal fusion, is the UniTR method still effective? Is it possible to set the IMAGE2LIDAR and LIDAR2IMAGE sections to different sizes of point cloud range?
If the solution is still viable, do I need to configure it otherwise?
Thank you very much and look forward to hearing from you.

You can try modifying the following content in the config, which is the point_cloud_range parameter.
FUSE_BACKBONE:
    IMAGE2LIDAR:
      block_start: 3
      block_end: 4
      point_cloud_range: [-54.0, -54.0, -10.0, 54.0, 54.0, 10.0]
      voxel_size: [0.3,0.3,20.0]
      sample_num: 20
      image2lidar_layer:
        sparse_shape: [360, 360, 1]
        d_model: [128]
        set_info: [[90, 1]]
        window_shape: [[30, 30, 1]]
        hybrid_factor: [1, 1, 1]
        shifts_list: [[[0, 0, 0], [15, 15, 0]]]
        expand_max_voxels: 10
    LIDAR2IMAGE:
      block_start: 1
      block_end: 3
      point_cloud_range: [-54.0, -54.0, -5.0, 54.0, 54.0, 3.0]
      voxel_size: [0.3,0.3,8.0]
      sample_num: 1
      lidar2image_layer:
        sparse_shape: [96, 264, 6]
        d_model: [128]
        set_info: [[90, 2]]
        window_shape: [[30, 30, 1]]
        hybrid_factor: [1, 1, 1]
        shifts_list: [[[0, 0, 0], [15, 15, 0]]]
        expand_max_voxels: 30

Since these two processes are handled separately, UniTR is theoretically feasible, but we haven't tested this scenario, so some boundary handling may be needed.

Thank you for your quick reply！
I understand that yaml should be changed in this way(The INPUT_SHAPE of MAP_TO_BEV part should be the larger one of the two sensors.), could you please help to check it?
MODEL:
    NAME: UniTR

    MM_BACKBONE:
      NAME: UniTR
      PATCH_EMBED:
        in_channels: 3
        image_size: [256, 704]
        embed_dims: 128
        patch_size: 8
        patch_norm: True
        norm_cfg: {'type': 'LN'}

      IMAGE_INPUT_LAYER:
        sparse_shape: [32, 88, 1]
        d_model: [128]
        set_info: [[90, 4]]
        window_shape: [[30, 30, 1]]
        hybrid_factor: [1, 1, 1] # x, y, z
        shifts_list: [[[0, 0, 0], [15, 15, 0]]]
        input_image: True

      LIDAR_INPUT_LAYER:
        sparse_shape: [180, 360, 1]
        d_model: [128]
        set_info: [[90, 4]]
        window_shape: [[30, 30, 1]]
        hybrid_factor: [1, 1, 1] # x, y, z
        shifts_list: [[[0, 0, 0], [15, 15, 0]]]

      set_info: [[90, 4]]
      d_model: [128]
      nhead: [8]
      dim_feedforward: [256]
      dropout: 0.0
      activation: gelu
      checkpoint_blocks: [0,1,2,3] # here can save 50% CUDA memory with marginal speed drop
      layer_cfg: {'use_bn': False, 'split_ffn': True, 'split_residual': True}

      # fuse backbone config
      FUSE_BACKBONE:
        IMAGE2LIDAR:
          block_start: 3
          block_end: 4
          point_cloud_range: [-54.0, -54.0, -10.0, 54.0, 54.0, 10.0]
          voxel_size: [0.3,0.3,20.0]
          sample_num: 20
          image2lidar_layer:
            sparse_shape: [360, 360, 1]
            d_model: [128]
            set_info: [[90, 1]]
            window_shape: [[30, 30, 1]]
            hybrid_factor: [1, 1, 1]
            shifts_list: [[[0, 0, 0], [15, 15, 0]]]
            expand_max_voxels: 10
        LIDAR2IMAGE:
          block_start: 1
          block_end: 3
          point_cloud_range: [0.0, -54.0, -5.0, 54.0, 54.0, 3.0]
          voxel_size: [0.3,0.3,8.0]
          sample_num: 1
          lidar2image_layer:
            sparse_shape: [96, 264, 6]
            d_model: [128]
            set_info: [[90, 2]]
            window_shape: [[30, 30, 1]]
            hybrid_factor: [1, 1, 1]
            shifts_list: [[[0, 0, 0], [15, 15, 0]]]
            expand_max_voxels: 30
      out_indices: []

    VFE:
      NAME: DynPillarVFE
      WITH_DISTANCE: False
      USE_ABSLOTE_XYZ: True
      USE_NORM: True
      NUM_FILTERS: [ 128, 128 ]

    MAP_TO_BEV:
      NAME: PointPillarScatter3d
      INPUT_SHAPE: [360, 360, 1]
      NUM_BEV_FEATURES: 128

    BACKBONE_2D:
      NAME: BaseBEVResBackbone
      LAYER_NUMS: [ 1, 2, 2, 2] #
      LAYER_STRIDES: [1, 2, 2, 2]
      NUM_FILTERS: [128, 128, 256, 256]
      UPSAMPLE_STRIDES: [0.5, 1, 2, 4]
      NUM_UPSAMPLE_FILTERS: [128, 128, 128, 128]

I ran through this similar configuration, but wanted to make sure that the two modal features were sufficiently integrated.
Sincerely appreciate your help~

@nnnth  Thank you for your quick reply！
I understand that yaml should be changed in this way(The INPUT_SHAPE of MAP_TO_BEV part should be the larger one of the two sensors.), could you please help to check it?
MODEL:
    NAME: UniTR

    MM_BACKBONE:
      NAME: UniTR
      PATCH_EMBED:
        in_channels: 3
        image_size: [256, 704]
        embed_dims: 128
        patch_size: 8
        patch_norm: True
        norm_cfg: {'type': 'LN'}

      IMAGE_INPUT_LAYER:
        sparse_shape: [32, 88, 1]
        d_model: [128]
        set_info: [[90, 4]]
        window_shape: [[30, 30, 1]]
        hybrid_factor: [1, 1, 1] # x, y, z
        shifts_list: [[[0, 0, 0], [15, 15, 0]]]
        input_image: True

      LIDAR_INPUT_LAYER:
        sparse_shape: [180, 360, 1]                 # modified
        d_model: [128]
        set_info: [[90, 4]]
        window_shape: [[30, 30, 1]]
        hybrid_factor: [1, 1, 1] # x, y, z
        shifts_list: [[[0, 0, 0], [15, 15, 0]]]

      set_info: [[90, 4]]
      d_model: [128]
      nhead: [8]
      dim_feedforward: [256]
      dropout: 0.0
      activation: gelu
      checkpoint_blocks: [0,1,2,3] # here can save 50% CUDA memory with marginal speed drop
      layer_cfg: {'use_bn': False, 'split_ffn': True, 'split_residual': True}

      # fuse backbone config
      FUSE_BACKBONE:
        IMAGE2LIDAR:
          block_start: 3
          block_end: 4
          point_cloud_range: [-54.0, -54.0, -10.0, 54.0, 54.0, 10.0]
          voxel_size: [0.3,0.3,20.0]
          sample_num: 20
          image2lidar_layer:
            sparse_shape: [360, 360, 1]
            d_model: [128]
            set_info: [[90, 1]]
            window_shape: [[30, 30, 1]]
            hybrid_factor: [1, 1, 1]
            shifts_list: [[[0, 0, 0], [15, 15, 0]]]
            expand_max_voxels: 10
        LIDAR2IMAGE:
          block_start: 1
          block_end: 3
          point_cloud_range: [0.0, -54.0, -5.0, 54.0, 54.0, 3.0]                     # modified
          voxel_size: [0.3,0.3,8.0]
          sample_num: 1
          lidar2image_layer:
            sparse_shape: [96, 264, 3]                                             # modified
            d_model: [128]
            set_info: [[90, 2]]
            window_shape: [[30, 30, 1]]
            hybrid_factor: [1, 1, 1]
            shifts_list: [[[0, 0, 0], [15, 15, 0]]]
            expand_max_voxels: 30
      out_indices: []

    VFE:
      NAME: DynPillarVFE
      WITH_DISTANCE: False
      USE_ABSLOTE_XYZ: True
      USE_NORM: True
      NUM_FILTERS: [ 128, 128 ]

    MAP_TO_BEV:
      NAME: PointPillarScatter3d
      INPUT_SHAPE: [360, 360, 1]
      NUM_BEV_FEATURES: 128

    BACKBONE_2D:
      NAME: BaseBEVResBackbone
      LAYER_NUMS: [ 1, 2, 2, 2] #
      LAYER_STRIDES: [1, 2, 2, 2]
      NUM_FILTERS: [128, 128, 256, 256]
      UPSAMPLE_STRIDES: [0.5, 1, 2, 4]
      NUM_UPSAMPLE_FILTERS: [128, 128, 128, 128]

I run through this similar configuration(with lss) successfully, but still want to make sure that the two modal features were sufficiently fused.
Sincerely appreciate your help~

In addition, I observed that only 10 epochs need to be trained in unitr+lss.yaml. Do I need to train the two modes separately first and then load the pre-trained model for fusion? @nnnth @Haiyang-W

In addition, I observed that only 10 epochs need to be trained in unitr+lss.yaml. Do I need to train the two modes separately first and then load the pre-trained model for fusion? @nnnth @Haiyang-W

One major advantage of our model is its one-stage training, eliminating the need to separately train two branches. It only requires one initialization. Currently, we use ImageNet initialization, but you can even use pre-trained parameters from ViT.

This means that the entire training process only requires these 10 epochs.

I think most of your modifications are right except for the sparse shape in Lidar2Image.
All image features should undergo self-attention, regardless of whether they are covered by point clouds or not.  Therefore, I believe the sparse shape should still be [96, 264, 6].
The best way to verify is through visualization, such as visualizing the mapped point clouds in image space.
Feel free to ask if you have any other questions.

Thank you very much for your meticulous reply. Most of my problems have been solved.

@nnnth @Haiyang-W Hello, I trained according to the above configuration but there is a new confusion.
I found that the mAP effect at the end of training was not high, about the same as the effect of training a single image mode using other methods. I thought this phenomenon was abnormal, but I did not understand why.
To verify the gain from the addition of the lidar, I also tested the mAP of the forward view area separately, but the results seemed to be the same.
Is there anything else that needs attention?

Have you tried using lidar alone? Firstly, it's important to ensure that both lidar and image perform adequately when used individually. Secondly, it may be necessary to make some modifications to the Fuser, as currently, the coverage range of LiDAR is smaller than that of images. I think you may need to pad the lidar bev feature to align coordinates.

@Haiyang-W Sorry, I have checked that there are some problems with my evaluation configuration, and the above problems have been solved. Thank you for your reply.

@Haiyang-W Sorry, I have checked that there are some problems with my evaluation configuration, and the above problems have been solved. Thank you for your reply.

No worry, as long as it's resolved. Wish you success. :)

@Haiyang-W Sorry, I have checked that there are some problems with my evaluation configuration, and the above problems have been solved. Thank you for your reply.

hi, do you change other files except for that yaml ?

Hello,
Thanks for sharing the excellent work. I am also interested in the idea of only a point cloud with a front-looking view (FOV less than 180°) and 6 surround-looking images in the multimodal fusion. I follow the modifications in the config and test Unitr on the nuscenes-mini dataset. However, I encounter a problem that seems to be related to DVST.
Traceback (most recent call last):
    File "tools/test.py", line 220, in <module>
         main()
    File "tools/test.py", line 216, in main
         eval_single_ckpt(model, test_loader, args, eval_output_dir, logger, epoch_id, dist_test=dist_test)
    File "tools/test.py", line 72, in eval_single_ckpt
         eval_utils.eval_one_epoch(
    File "/code/UniTR-main/tools/eval_utils/eval_utils.py", line 65, in eval_one_epoch
        pred_dicts, ret_dict = model(batch_dict)
    File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1130, in _call_impl
        return forward_call(*input, **kwargs)
    File "/code/UniTR-main/pcdet/models/detectors/unitr.py", line 103, in forward
        batch_dict = cur_module(batch_dict)
    File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1130, in _call_impl
        return forward_call(*input, **kwargs)
    File "/code/UniTR-main/pcdet/models/mm_backbone/unitr.py", line 192, in forward
        output = block(output, multi_set_voxel_inds_list[stage_id], multi_set_voxel_masks_list[stage_id], multi_pos_embed_list[stage_id][i],
    File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1130, in _call_impl
        return forward_call(*input, **kwargs)
    File "/code/UniTR-main/pcdet/models/mm_backbone/unitr.py", line 385, in forward
        output = layer(output, set_voxel_inds,
    File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1130, in _call_impl
        return forward_call(*input, **kwargs)
    File "/code/UniTR-main/pcdet/models/mm_backbone/unitr.py", line 404, in forward
        src = self.win_attn(src, pos, set_voxel_masks,
   File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 1130, in _call_impl
        return forward_call(*input, **kwargs)
   File "/code/UniTR-main/pcdet/models/mm_backbone/unitr.py", line 488, in forward
        src = src + self.dropout1(src2)
RuntimeError: The size of tensor a (95912) must match the size of tensor b (95904) at non-singleton dimension 0
eval:  11%|          | 3/27 [00:08<01:09,  2.89s/it, recall_0.3=(0, 263) / 317]

I find a similar issue in this link: Ref: https://github.com/Haiyang-W/DSVT/issues/51
The comment is written by @chenshi3. Thanks for his answer.

I think the issue may be caused by torch.floor operation in DSVTInputLayer. To debug this issue, I recommend reviewing the code in the get_set_single_shift function to see which operation causes loss of voxel index. If you're still having trouble, feel free to send me an email and we can work together to debug the issue more thoroughly.

I find that you use the incorrect sparse_shape and window_shape which should match the POINT_CLOUD_RANGE and VOXEL_SIZE. If these parameters are not set correctly, they can cause issues and lead to unexpected results.

I have tried multiple times to modify other parameters related to lidar in the in the config. Unfortunately, this issue has not been resolved.
I guess that some voxel_inds were not included during window shifting, but I don't know how to solve this problem.
Modifications to config:
MODEL:
    NAME: UniTR

    MM_BACKBONE:
      NAME: UniTR
      PATCH_EMBED:
        in_channels: 3
        image_size: [256, 704]
        embed_dims: 128
        patch_size: 8
        patch_norm: True
        norm_cfg: {'type': 'LN'}

      IMAGE_INPUT_LAYER:
        sparse_shape: [32, 88, 1]
        d_model: [128]
        set_info: [[90, 4]]
        window_shape: [[30, 30, 1]]
        hybrid_factor: [1, 1, 1] # x, y, z
        shifts_list: [[[0, 0, 0], [15, 15, 0]]]
        input_image: True

      LIDAR_INPUT_LAYER:
        sparse_shape: [180, 360, 1]                 # modified
        d_model: [128]
        set_info: [[90, 4]]
        window_shape: [[30, 30, 1]]
        hybrid_factor: [1, 1, 1] # x, y, z
        shifts_list: [[[0, 0, 0], [15, 15, 0]]]

      set_info: [[90, 4]]
      d_model: [128]
      nhead: [8]
      dim_feedforward: [256]
      dropout: 0.0
      activation: gelu
      checkpoint_blocks: [0,1,2,3] # here can save 50% CUDA memory with marginal speed drop
      layer_cfg: {'use_bn': False, 'split_ffn': True, 'split_residual': True}

      # fuse backbone config
      FUSE_BACKBONE:
        IMAGE2LIDAR:
          block_start: 3
          block_end: 4
          point_cloud_range: [-54.0, -54.0, -10.0, 54.0, 54.0, 10.0]
          voxel_size: [0.3,0.3,20.0]
          sample_num: 20
          image2lidar_layer:
            sparse_shape: [360, 360, 1]
            d_model: [128]
            set_info: [[90, 1]]
            window_shape: [[30, 30, 1]]
            hybrid_factor: [1, 1, 1]
            shifts_list: [[[0, 0, 0], [15, 15, 0]]]
            expand_max_voxels: 10
        LIDAR2IMAGE:
          block_start: 1
          block_end: 3
          point_cloud_range: [0.0, -54.0, -5.0, 54.0, 54.0, 3.0]                     # modified
          voxel_size: [0.3,0.3,8.0]
          sample_num: 1
          lidar2image_layer:
            sparse_shape: [96, 264, 6]
            d_model: [128]
            set_info: [[90, 2]]
            window_shape: [[30, 30, 1]]
            hybrid_factor: [1, 1, 1]
            shifts_list: [[[0, 0, 0], [15, 15, 0]]]
            expand_max_voxels: 30
      out_indices: []

    VFE:
      NAME: DynPillarVFE
      WITH_DISTANCE: False
      USE_ABSLOTE_XYZ: True
      USE_NORM: True
      NUM_FILTERS: [ 128, 128 ]

    MAP_TO_BEV:
      NAME: PointPillarScatter3d
      INPUT_SHAPE: [360, 360, 1]
      NUM_BEV_FEATURES: 128

    BACKBONE_2D:
      NAME: BaseBEVResBackbone
      LAYER_NUMS: [ 1, 2, 2, 2] #
      LAYER_STRIDES: [1, 2, 2, 2]
      NUM_FILTERS: [128, 128, 256, 256]
      UPSAMPLE_STRIDES: [0.5, 1, 2, 4]
      NUM_UPSAMPLE_FILTERS: [128, 128, 128, 128]

If you could give me some advice, I would greatly appreciate it. @midofalasol @Haiyang-W @nnnth
Thank you very much and look forward to hearing from you.


Release 0.8.1

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (48f3a70) 56.13% compared to head (c2d752e) 56.13%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3682   +/-   ##
=======================================
  Coverage   56.13%   56.13%
=======================================
  Files         102      102
  Lines       12220    12220
=======================================
  Hits         6860     6860
  Misses       5360     5360

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Support Logging in Spring Cloud Function deployed as Azure function

Please add support for logging in spring cloud function deployed as Azure function.
There seems to be no way to get hold of the Azure context logger, once in the Function Bean.
Using slf4j the logging seems to work only locally, but when deploying to Azure and running from Azure portal - the logging doesn't appear in the Azure console.

Now you can simply do this:
@Bean
public Function<Foo, Bar> uppercase(ExecutionContext targetContext) {
	return foo -> {
		targetContext.getLogger().info("Invoking 'uppercase' on " + foo.getValue());
		return new Bar(foo.getValue().toUpperCase());
	};
}

@olegz I tried that and I get:
UnsatisfiedDependencyException: Error creating bean ... Unsatisfied dependency expressed through method ... parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.microsoft.azure.functions.ExecutionContext' available: expected at least 1 bean which qualifies as autowire candidate.
Do I need to update maven version of spring-cloud-function-adapter-azure-version or anything else?

@olegz It seems the execution context injection is supposed to work as of 2.1.0.RELEASE, but unfortunately these versions seem to suffer from a problem with finding the start-class.
Exception: IllegalArgumentException: Failed to locate main class
Stack: java.lang.IllegalStateException: Failed to discover main class. An attempt was made to discover main class as 'MAIN_CLASS' environment variable, system property as well as entry in META-INF/MANIFEST.MF (in that order).
...
at org.springframework.cloud.function.context.AbstractSpringFunctionAdapterInitializer.getStartClass(AbstractSpringFunctionAdapterInitializer.java:279)
see also:
https://stackoverflow.com/questions/55621375/azure-function-with-spring-boot-spring-cloud-function-unable-to-locate-main-cl
any advice?

@hagaic Can you please upgrade to 2.1.1.RELEASE as I believe there were some changes related to that.
Also, would it be possible to post a sample somewhere in github with instructions so I can reproduce it?

@olegz 2.1.1.RELEASE also causes "Failed to locate main class".
Please see the following sample:
https://github.com/hagaic/hello-spring-function-azure
See instructions in the README
Note that unit tests pass, but testing manually as follows fails with the above error:
curl http://localhost:7071/api/hello -d "{"name":"Azure"}"

Any Update on this I am still getting the Same Error as the @hagaic  here.

@chaitanya-mittapalli please stop commenting on the closed issue. It is resolved as of March 1, 2019. There is nothing to update.
If you feel there is an issue, please raise a new one with detailed steps on how to reproduce, versions of framework used, stack traces etc.


Conditional styling beats text-align

I tested some hide--* on Narrow Templates 'Read More' button which was repositioned to the left as a result of it's display conversion from inline-block to block.
The solution may be to change the mixin's show-conditional display value to initial but, as i see, that is not supported by everIE browser.

Hi @stegrams Sorry for the late reply.
We will check this out, thanks!

This is an interesting problem, since the CSS properties that would fix this aren't supported by all modern browsers.
My recommendation is to avoid using those classes for non-block elements. I think it would be impractical to include a variation for each type of most common displays (inline, inline-block, block), instead I would do it directly for the element:
.myBlockElement {
  display: none;
  visibility: hidden;
  // Show only on small devices
  @media (min-width: $bp-small) {
    display: block;
    visibility: visible;
  }
}

.myInlineBlockElement {
  display: none;
  visibility: hidden;
  // Show only on small devices
  @media (min-width: $bp-small) {
    display: inline-block;
    visibility: visible;
  }
}

But I'll keep this problem in mind for the future.


nnenum not working

Hi,
When I run nnenum in dnnv it gives me an error message that is suggestive of a to new numpy version. Is this due to nnenum or should it be managed in dnnv?
.../python3.9/site-packages/numpy/lib/npyio.py:528: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  arr = np.asanyarray(arr)
dnnv.verifiers.nnenum
  result: NnenumError(Return code: 1)
  time: 0.6607

BaB is running fine.
I did:
python3 -m virtualenv venv --python python3.9
source venv/bin/activate
pip install dnnv
dnnv_manage install bab nnenum
git clone https://github.com/dlshriver/dnnv-benchmarks benchmarks
dnnv benchmarks/benchmarks/ACAS_Xu/properties/property_2.py -N "N" benchmarks/benchmarks/ACAS_Xu/onnx/N_2_1.onnx --save-violation "CX.npy" --nnenum

Kind regards,
David

Thank you for your interest in DNNV. A bug in DNNV's installation of nnenum results in a missing dependency. I've got a fix in the works.

This should be fixed in commit f7a39b1 on the develop branch. It will be fixed in the next release, which should be within the next week or so. There's a couple more change that I want to make first.
If you need this fix now, then instead of pip install dnnv you can use pip install git+https://github.com/dlshriver/dnnv.git@develop, to get the latest changes on the develop branch.

Great! The issue is resolved on my side as well.
Thanks for fixing this. For me, DNNV is super useful for testing out different verifiers.


Bridge

Describe the bug
Description of the bug here.
When I bridge the Horse token from Grimsvotn L2 to Eldfell L3, the status should be claimed after clicking "Claim." However, I received a notification saying "Failed," even though the status shows as "claimed." Interestingly, the Horse token has been successfully deposited into my wallet.

Steps to reproduce
Steps to reproduce here.
Additional context
Additional context here.

Bridge dapp v1 has been deprecated


migrate from Travis to GitHub actions

want to migrate from Travis to GitHub actions, ie we want the Jenkins build commands to be executed by GitHub actions instead.
Action:

transfer the logic of travis such that when a PR is created, instead of using Travis, we use GitHub actions.
review the sleeping commands - what is this?

To do:

[ ] @matentzn give @jiaola access to Travis account

This will involve, in particular, to figuring out how to replace the TRAVIS_*** environment variables. Maybe the best strategy is to set up a github actions workflow on a branch, and then just work with echo's to figure out which GH environment variables we need.

Moved the qc process to github actions. See PR #2680. Will keep this ticket open for a few more days and clean up the travis/jenkins setup.

Awesome works very well! Thank you! Lets have a tag for qc-call @nicolevasilevsky what do you think? That way we can just flag an issue we need to look at in person at the next QC call!

We can review last weeks runs at the next call and then simply deactivate travis - that's all that's needed.


Support for code generation?

Sorry if this has already been asked before but I have not found this question yet anywhere. I would like to ask if it is planned that LSP gets support for code generation. Like, after validation has been successful, the client can ask the server to generate binaries/intermediate files/whatever and the server might respond with a list of URIs that were generated by it. The client might then pick-up the files it is interested in (e.g., only *.exe and *.dll files) and ignore anything else (e.g., *.pdb). This feature would be quite interesting for domain-specific languages, as the dependencies for the language itself might then be dropped on the client-side.

There is a build server protocol proposal. See https://github.com/build-server-protocol/build-server-protocol/blob/master/docs/specification.md

While I can understand that there are no plans to implement this in the near future, I am still wondering how the build server protocol fits into this use case. As the build server protocol blog states

BSP and LSP are complementary. While LSP specifies endpoints for communication between an editor acting as a client and a language server, BSP specifies endpoints between a language server acting as a client and a build server.

My understanding here is that the information/control flow is like
Client <- Language-server-protocol -> Language server <- Build server protocol -> Build server
So how would an IDE identify which files where generated by a build server when the language server (protocol) does not forward this piece of information from the build server to the client? Or do I understand something wrong here?


Not able to create incidents

I deployed my TEOC Teams app, and it's not allowing me to create new incidents; it just keeps trying to load onto the next screen with no result. Does anyone have a fix or ideas on how to fix this?
see screenshot below

@gsalcedo23, thank you for notifying us.
Please launch Microsoft Teams via a web browser, activate the developer tool, and keep it open. Next, initiate the TEOC application and attempt to replicate the issue. Afterwards, share the console logs and network traces with us for troubleshooting purposes.

hello these are the logs you requested, thanks for your help

@gsalcedo23 ,
Based on the screenshot, it appears that some lists might be missing or have been renamed. To assist with troubleshooting, could you please share the log files instead of the screenshot?
Below are the SharePoint lists which TEOC app connects with -

TEOC-IncidentStatus
TEOC-IncidentType
TEOC-RoleAssignments
TEOC-IncidentTransaction
TEOC-Assessments


[ZF 3.0] Problems with Mailadress parsing

Example Email-header:
"Foo <bar"<EMAIL_ADDRESS>Description:
The example email-header should be valid according to https://tools.ietf.org/html/rfc2822#section-3.4 but the function AdressList.php/addFromString matches it incorrect. The result has the following form:
"bar<EMAIL_ADDRESS>This is clearly not a valid adress and therefore causes exceptions in the following code
Solution:
Changing the regex in the addFromString function from lazzy to greedy by removing "?" from the named capture group "name"

old: ^((?P.*?)<(?P[^>]+)>|(?P.+))$
new: ^((?P.*)<(?P[^>]+)>|(?P.+))$

Please reopen this against the zend-mail component.  Thanks!


Unable to simultaneously satisfy constraints

Hey, I try to use it whit the storyboard, but when I pull down the table view, the tableView goes away.
Probably, because I use a tableView in Storyboard with constraints..
I don't know if you know what i meen :)

Hey! Could you please show me video? Could you also try on an empty project to make sure it is because of constraints? I will have a look tomorrow as well.

I tried to create an empty project:
A simple viewController with inside a TableView
import UIKit

class ViewController: UIViewController {

    @IBOutlet weak var testTableView: UITableView!

    override func viewDidLoad() {
        super.viewDidLoad()
        let loadingView = DGElasticPullToRefreshLoadingViewCircle()
        loadingView.tintColor = UIColor(red: 78/255.0, green: 221/255.0, blue: 200/255.0, alpha: 1.0)
        testTableView.dg_addPullToRefreshWithActionHandler({ [weak self] () -> Void in
            // Add your logic here
            // Do not forget to call dg_stopLoading() at the end
            self?.testTableView.dg_stopLoading()
            }, loadingView: loadingView)
        testTableView.dg_setPullToRefreshFillColor(UIColor(red: 57/255.0, green: 67/255.0, blue: 89/255.0, alpha: 1.0))
        testTableView.dg_setPullToRefreshBackgroundColor(testTableView.backgroundColor!)
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

}

extension ViewController: UITableViewDataSource {

    func numberOfSectionsInTableView(tableView: UITableView) -> Int {
        return 1
    }

    func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return 30
    }

    func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {
        let cellIdentifier = "cellIdentifier"
        var cell = tableView.dequeueReusableCellWithIdentifier(cellIdentifier)

        if cell == nil {
            cell = UITableViewCell(style: .Default, reuseIdentifier: cellIdentifier)
            cell!.contentView.backgroundColor = UIColor(red: 250/255.0, green: 250/255.0, blue: 251/255.0, alpha: 1.0)
        }

        if let cell = cell {
            cell.textLabel?.text = "\(indexPath.row)"
            return cell
        }

        return UITableViewCell()
    }

}

// MARK: -
// MARK: UITableView Delegate

extension ViewController: UITableViewDelegate {

    func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
        tableView.deselectRowAtIndexPath(indexPath, animated: true)
    }

}

here you can see the bug, when I pull down

Wow, I see. I will test it today with storyboards.

Ok, I found what is the issue. Now I need to find out what is the best approach to fix that. Basically, I use this trick to force stop table view scrolling:
func dg_stopScrollingAnimation() {
    if let superview = self.superview, let index = superview.subviews.indexOf({ $0 == self }) as Int! {
        removeFromSuperview()
        superview.insertSubview(self, atIndex: index)
    }
}

As we use weak references for storyboard items it becomes deallocated when we call "removeFromSuperview".

I'm having the same problem. Were you able to find a way to fix this issue?

There is one way to fix this issue, but it may cause other issues. Just comment out all in this func:
func dg_stopScrollingAnimation() {
//  if let superview = self.superview, let index = superview.subviews.indexOf({ $0 == self }) as Int! {
//    removeFromSuperview()
//    superview.insertSubview(self, atIndex: index)
//  }
}

I would recommend to test first.

Just tried it and it works, but there's a "flicker" problem now. Sometimes my header view on my UITableView jumps for a split second and then works as it should do. Not ideal, any ideas why the header view might cause problems?

To tell the truth, I did not test with a header view. It can actually be because of that commented stuff. If you have time, would be great if you could test with a header view but implement it programatically, without storyboard. If not, please let me know, I will do it midnight

I'm currently creating the header view programatically, here's the code for it. Only the tableView is laid out via Storyboard, but not the header view.
func tableView(tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
        let h: CGFloat = self.tableView(tableView, heightForHeaderInSection:0)
        let text = self.tableView(tableView, titleForHeaderInSection: 0)
        let fullFrame = CGRect(x: 0, y: 0, width: tableView.frame.width, height: h)

        let label = UILabel(frame: fullFrame)
        label.font = ..
        label.text = ..
        label.textColor = ..
        label.textAlignment = .Center

        let view = UIView(frame: fullFrame)
        view.addSubview(label)
        view.backgroundColor = ..

        return view
    }

Hey, did you get a chance to look into this?

I had the same problem. I took a look at dg_stopScrollingAnimation, it appears that selfis not deallocated but this code deletes all the constraints:
removeFromSuperview()
superview.insertSubview(self, atIndex: index)

Then the autolayout error makes the tableView disappear.
As you said the problem is solved by commenting the function and I did not find side effects yet.

Let's see, if you do not face any problems with commenting it out - I will remove it and update cocoapods. The purpose of that was to fix one issue when pull to refresh is loading and user tries to scroll quickly up.

Ok, I did not succeed to make that happen. But I trust you ;)
Another clean way to fix this (without updating pod manually or forking it):
extension UIScrollView {
    func dg_stopScrollingAnimation() {}
}

Thanks :) will update git if all perfectly works

I got this bug too :(

Have a quick look on the comments above, there is a potential fix for that

I got the same problem when using auto layout and this
extension UIScrollView {
    func dg_stopScrollingAnimation() {}
}

Fix the issue, but not sure whether it will cause other issue

any news guys?

removeFromSuperview() indeed removes all constraints, I just saw this problem occurred on my app too.
If you just want to stop the scrolling, why not calling
self.setContentOffset(self.contentOffset, animated: false)
instead? Does this serve your purpose?

@joe528 I think that method to stop scrolling is not needed at all. It just needs more testing to confirm that.

Hi all. First, congratulations to @gontovnik  for this library! is awesome ! any news about this bug? Thanks

extension UIScrollView {
func dg_stopScrollingAnimation() {}
}
fix the issue for me, but it flickers for first time only, Any workaround for this too ?

Could this be related to auto layout universally? If you remove the tableView from it's superview all constraints are also removed. And when it is re-added it has no constraints except ones that are created automatically. That is what is creating the error that is logged.
I recently just had this issue and I had not used Storyboards. I created all constraints programmatically.

As dg_stopScrollingAnimation  was deprecated, it seems like leading to this issue(https://github.com/gontovnik/DGElasticPullToRefresh/issues/47),so I have to bring dg_stopScrollingAnimation back and modify it.


Non-parse errors in the load show up weird

To reproduce, replace hw10.scm with (/ 1 0). Then open the first test case. The output starts with:
; expect Traceback (most recent call last):
(load 'hw10)

;        0
;        (/ 1 0)
;        Error:
;        division by zero
; expect identity

which makes no sense

Resolved by #21


Changes to initial puppet deploy

See commits for details.

This will also need the docs to be updated
doc/architecture/step-by-step.md
110:sudo ./aws-copy-puppet-setup.sh -e integration

doc/guides/environment-provisioning.md
163:> sudo ./aws-copy-puppet-setup.sh -e integration

Good point!


Outdated time dependency causes build error

When building on stable rust with v0.5.0, time 0.3.31 is causing a build error:
error[E0282]: type annotations needed for `Box<_>
  --> /home/lewis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.31/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
help: consider giving `items` an explicit type, where the placeholders `_` are specified
   |
83 |     let items: Box<_> = format_items
   |              ++++++++`

I assume this will be fixed by depending on time 0.3.36

Also, it looks like the leptos-use dependency may be outdated.

confirmed, I get the following:
error[E0599]: no variant or associated item named `__Nonexhaustive` found for enum `web_sys::NotificationPermission` in the current scope
   --> /Users/ababkin/.cargo/registry/src/index.crates.io-6f17d22bba15001f/leptos-use-0.10.10/src/use_web_notification.rs:451:46
    |
451 |             web_sys::NotificationPermission::__Nonexhaustive => Self::Default,
    |                                              ^^^^^^^^^^^^^^^ variant or associated item not found in `NotificationPermission`


Razor Page doesn't compile when dash/hyphen used in file name

If you use a dash / hyphen in a Razor Page file name, the resulting page will not compile. This is because the generated type name includes invalid characters e.g hyphen-test.cshtml becomes.
public class hyphen-test_Page : global::Microsoft.AspNetCore.Mvc.RazorPages.Page
You probably want to replace them with underscores.

Thanks for reporting this, we'll get it fixed.

There is still (2.1.0-preview1-007211) an issue with IntelliSense with the filenames containing dashes.
In order to reproduce:

create a new razor page e.g. razorpagetest.cshtml
in the code add ViewData["Title"] = "Test123";
save and close the file
rename razorpagetest.cshtml to razor-pagetest.cshtml
save and close the file
reopen the file and you will see errors on the errors list (although it build OK)


#1589 Remove system_settings table related codes

✅ DoD

[x] Resolves #1589
[ ] Release notes updated
[ ] Test notes notes updated
[ ] Deployment notes updated / na
[x] DB migrations updated / na
[ ] HelpScout documentation updates proposed / na

📝 Summary

Remove settings from admin/dashboard
Remove system-settings endpoints
Remove system-settings model


VX_NN - vxUpsampleNearestLayer node implementation on HIP backend

Implementation of vxUpsampleNearestLayer node on HIP backend which is needed for yolov3 models.

$ ./anntest weights.bin
OK: loaded 39 kernels from libvx_nn.so
OK: OpenVX using GPU device#0 AMD Radeon VII (gfx906:sramecc+:xnack-) (with 60 CUs) on PCI bus 44:00.0
OK: graph initialization with annAddToGraph() took 10895.731 msec
OK: vxProcessGraph() took 1619.843 msec (1st iteration)
OK: vxProcessGraph() took 27.555 msec (average over 100 iterations)
OK: HIP buffer usage: 531069860, 376/376
OK: successful

This fixes #802 upsample issue.

@hansely can you try OpenCL & HIP backend using dockers?

@hansely can you try OpenCL & HIP backend using dockers?

@kiritigowda
On OCL backend: Runs successfully with batch size 4.
On HIP backend: ./anntest weights.bin
OK: loaded 39 kernels from libvx_nn.so
"hipErrorNoBinaryForGpu: Unable to find code object for all current devices!"
Aborted (core dumped)

@hansely let me know when this is ready to be merged?


Updated background colors

Description
Changed the background color.
Fixes #91
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change)

BEFORE:

AFTER:

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

Hi @Anshgrover23  ,
I hope you're doing well. I've addressed the issue #91  and created a pull request to resolve it.
Could you please review the PR and let me know if any adjustments are needed?
Best regards,
Tanisha Garg


Handle Tier0 case for when aborted/force-complete is set

fixes #7551

@hufnagel, @amaltaro, Dirk Alan please review.  Dirk Could you patch this when you run the Tier0 test. If it is OK, I will create the new tag on Monday.

test this please

Ok, I can't test this since something else was broken in the last day or so. Every time I try to start JobSubmitter now (with or without this patch) it dies with (in the component stderr)
INFO:root:JobSubmitter.preInitialization
INFO:root:Setting poll interval to 30 seconds
Configuration Error Line 58 while reading global config source /etc/condor/condor_config
unexpected keyword 'ifexist command into $(LOCAL_CONFIG_DIR)/49ec2-instance.config' after include
Completely unrelated I am sure, but it means I can't test this patch...

Ok, problem with the new 8.5.7 condor shedd which doesn't seem to work with WMAgent... arukh implemented a workaround for now.
JobSubmitter starts up now with this patch, after I added to the config
config.TaskArchiver.useReqMgrForCompletionCheck = False
Should this be added to wmagent-mod-config ?

Thanks Dirk for testing. Why weekend though. 😄?

config.TaskArchiver.useReqMgrForCompletionCheck = False
Should this be added to wmagent-mod-config ?

I think it is already set.
https://github.com/dmwm/T0/blob/master/etc/Tier0Config.py#L31

@amaltaro, Alan, Dirk tested this patch with Tier0. If changes are OK (I updated bug you pointed out), I will merge this.

Code looks good now. Thanks

test this please

test this please


Feat/native storybook

Done:

Adapts storybook/story-components so that they can be used universally in both web and native stories.
Adds examples of all storybook/story-components to the Button stories.
Fixes clash with Status Bar on Android for the whole of storybook 🕺
Removes @storybook/addon-links as it is not compatible with @storybook/react-native
Installs @storybook/addon-ondevice-actions to make actions compatible with @storybook/react-native
Adds a few new components to storybook/story-components :

DocCode - Code blocks
InlineCode
PropTable
ExternalLink

To do in a follow up PR:

convert storybook/story-components to use  @emotion/native styling.
Fix issue with scrolling on large stories
Add stories to other components

@jh3y Thanks for your help. I've finished making changes if you would like to re-review. I also added some documentation and proptypes

LGTM, works nicely, code makes sense and if @jh3y 's happy, I'm happy.
Code looks good to me, improvements look good and I think it's worth not spending too much more time refining the code as some of this will be revisited and tweaked when the new styling and examples architecture lands.

Yeah, @hizo's styling PR has gone in before this one so should be good to base off of it. Probably a good idea to not go too far with things as they're likely to be stripped out when someone uses this.


GDPR: Should Hugo offer Simple Mode Shortcodes or not?

Related issues: #4616 #4748 #4749 #4764 #4765 #4766 #4755
Ok. @bep 's reservations about Simple Mode Hugo shortcodes got me googling again about the GDPR (as if I haven't done it enough during the past few months).
And I just discovered a couple of new things:

Some consider that even the loading of images from external servers is a GDPR privacy violation, because the server where the image is stored receives the IP of the visitor in order to serve it and that's Personally Identifiable information under the GDPR. Link here

While others think that cross-linking  of things and sharing information is the basis of the internet and that is something that will be very hard to prevent GDPR or not. Link here

The main idea behind the Simple Mode Shortcodes was to disable the user tracking of 3rd party services through iframe embeds. It can be done but it is very time consuming, adds overhead to the maintenance of the Hugo project and the end result does not match the functionality of the 3rd party embeds that come with user tracking.
So what do we do?

Scrap the Simple Mode Shortcodes and go for a consent mechanism as described here

Or continue with the Simple Mode shortcodes?

That is the million dollar question.
PS I'll post about this and ask user feedback in the Forum also.

So,
There the whole GPDR "is this compliant" thing is a little bit unclear, but that is fine. Hugo need to document what privacy tools it provides.
And this is a work in progress, it's not something we can perfect in 2 days.
Take the Instagram simple variant.
Maybe the request to Instagram creates a HTTP request that may be "identifiable".
The solution to that is to host that image yourself. Which is in my plans, but that is well inside the resource func issue and I'm not rushing into an implementation just because of this (not unless someone puts up the money to pay me).
So, for people who use the Instagram shortcode they have 3 options:

Not using it, which would be guaranteed GDPR compliant. We have a privacy policy toggle in place for this.
Use the simple version, that currently do a HTTP request against Instagram servers. We will improve this, but now now.
Use the full version.

Thinking about it, hosting the images yourself is probably not an option unless you own the images.

I agree with everything you wrote.  But I just want to note that this also affects the YouTube and Vimeo thumbnails that are fetched in the Simple variants.
But to be honest I think that I had a GDPR overdose today (lol).
I'll send the PR for the YouTube SVG icon tomorrow.
Also I pinned this question in the forum globally until Sunday (if you want to unpin it feel free to do it).
I'm out for tonight.

@onedrawingperday so, what is the conclusion on this?
This current quota of time I have for this is just about dried out, so I suggest we get something out the door.

It's up to you. If you want to get something out as WIP do it.
One question though about GA.
I've seen you have included a Do Not Track configuration but you have not included any privacy options in the script like anonymize_IP ? You must anonymize the IP at the very list before a page view is sent to Google servers.
See the 2 versions of proposed script modifications.
Version 1 and rationale here
Version 2 and rationale here
Async version here
Also my time was limited this week. I'll have more time from now on.

but you have not included any privacy options in the script like anonymize_IP

I did not catch that on the GA examples I looked at. But I will add it to the mix...

I did not catch that on the GA examples I looked at. But I will add it to the mix...

@bep The script modifications for GA are my own. You will not find them in this form anywhere else on the web. Also I've tested extensively. Basically I have moved Google Tracking in Session Storage so that nothing is set in a user's device and so no consent is needed. The caveat is that there will be no returning visitors in Analytics reports.
Also the Async version was written by @jhabdas

Closing this. Hugo will have Simple Mode templates after all.
It will be only Instagram for now.
See commit: https://github.com/gohugoio/hugo/commit/1f244b802eaabb119d38dae00a8c2bbbd3263752

Some consider that even the loading of images from external servers is a GDPR privacy violation, because the server where the image is stored receives the IP of the visitor in order to serve it and that's Personally Identifiable information under the GDPR.

If that was the case Google would have to stop serving images using Google Images and copyright infringement is going to run rampant as images, videos and gifs will be copied more now than ever.
Nothing good ever becomes of regulation. I'm tired of clicking cookie batter pop-ups. Pretty soon I'm just going to disable JavaScript in all my browsers.
Just sayin'.


doc: Add u-boot-env.md

This is markdown-ed and slightly reworked edition of
meta-xt-prod-devel/doc/u-boot-env-txt.
List of noticable changes:

reworked MAC related instructions
changed paths to boot files according to moulin-based builds
(i.e. no '/boot' folder, dom0.dtb -> xen.dtb, xen-Image -> xen)
removed tee-raw related paragraph
Paragraph 'how to check source of boot of loaders' is merged
into 'how to select source of boot of loaders'.

Signed-off-by: Ruslan Shymkevych<EMAIL_ADDRESS>

The corresponding patch for u-boot's default environment is https://github.com/xen-troops/meta-xt-rcar/pull/17

Documents is reworked, taking into account that all mentioned commands are part of u-boot's default environment.

Reviewed-by: Volodymyr Babchuk<EMAIL_ADDRESS>

Reviewer is added. Ready to be merged.
@iusyk could you please merge?


Using with animate.css

Hi,
Trying to add Animate.css support.
$(document).on('animated.slides', function() {
     $('.slides-inner').addClass('animated fadeInRightBig');
});

This is the Demo for the current state
It works fine on first slides, but when slides end I repeat the slides again nothing happens. How can I fire this on every iteration of the slides.
Thanks

Hi ahmadajmi,
Is there a demo to see how to use this code?
I'm not a javascript expert and would be really appreciated to learn how to implement custom animations on superslides as the easing option isn't working.
Thanks in advance.

Hi @Prokophs
I'm very happy to found the demo code as it was from 2013, I pushed all the working template [here]https://github.com/ahmadajmi/html-template() and this https://github.com/ahmadajmi/html-template/blob/master/_include/js/main.js#L33 is the JS code for doing the animation.
Hope this helps :)

Hi ahmadajmi,
I've seen your template and it is really cool.
But what I actually wanted to achieve it was using animate css on the slide fx and not on the caption.
What I want to do really is the following transition effect:
http://tympanus.net/Development/PageTransitions/
"Different Easing"
That would be awesome if you could help as I'm not a javascript expert.
Thanks in advance.


E492: Not an editor command: PlugInstall on Windows 10

I cannot get this to work on Windows 10 x64 Pro.  I've manually created ~/vimfiles/autoload/plug.vim and I've used the install commands from powershell.  I've put them in ~/.vim/autoload and ~/vim/autoload, I've even tried ~/vimfiles/plugins.  Nothing will get vim to detect the plugin and allow me to use :Pluginstall.
The .vimrc file is being picked up (but complains about plugins as they are not installed).  It works great under linux, but I cannot get it to work in Windows no matter what I try.
I am running vim 7.4.872 and git 2.7.1 for windows, I have python 2.7.10 installed as well if that matters.

@Givemeyourgits Interesting. For the record, I'd stick to vimfiles. Let's see. Can you give the output of :scriptnames in a code block? I assume plug.vim won't be in there.
Assuming it isn't, can you paste the output of echo &rtp, the folder above the autoload directory should be at the front. If it isn't, try putting in your vimrc set rtp^=path, where path is aforementioned base path.

Ok, after some digging I figured out some more and got it working a different way.
For scriptnames I'm getting the following:
 1: /etc/vimrc   2: /usr/share/vim/vim74/syntax/syntax.vim   3: /usr/share/vim/vim74/syntax/synload.vim   4: /usr/share/vim/vim74/syntax/syncolor.vim   5: /usr/share/vim/vim74/filetype.vim   6: ~/.vimrc   7: /usr/share/vim/vim74/syntax/nosyntax.vim   8: /usr/share/vim/vim74/autoload/plug.vim   9: /usr/share/vim/vim74/plugin/getscriptPlugin.vim  10: /usr/share/vim/vim74/plugin/gzip.vim  11: /usr/share/vim/vim74/plugin/logiPat.vim  12: /usr/share/vim/vim74/plugin/matchparen.vim  13: /usr/share/vim/vim74/plugin/netrwPlugin.vim  14: /usr/share/vim/vim74/plugin/rrhelper.vim  15: /usr/share/vim/vim74/plugin/spellfile.vim  16: /usr/share/vim/vim74/plugin/tarPlugin.vim  17: /usr/share/vim/vim74/plugin/tohtml.vim  18: /usr/share/vim/vim74/plugin/vimballPlugin.vim  19: /usr/share/vim/vim74/plugin/zipPlugin.vim  20: /usr/share/vim/vim74/ftoff.vim  21: ~/.vim/plugged/vim-polyglot/ftdetect/polyglot.vim  22: ~/.vim/plugged/vim-polyglot/after/ftdetect/rspec.vim  23: /usr/share/vim/vim74/ftplugin.vim  24: /usr/share/vim/vim74/indent.vim
This is Windows, so those paths look weird, but they are relative to C:\Program Files\Git.  So I went in there, and dropped plug.vim into /usr/share/vim/vim74/autoload and it worked great.  Looks like git is setting the runtime path to it's folder no matter where I run vim from (I have two installs, one from git for Windows and one from cmdr for windows which has it's own git for windows).

@Givemeyourgits Yup that does look a bit weird. As you said though, there are many ways for setting up git/vim on Windows leading to many different configs, An alternative to what you did could have been to simply add a small snippet like below, as long as HOME or some equivalent environment variable pointed to your user root where you'd like to store vim files.
if has('win32')
  set rtp^=$HOME
endif

Your way is fine if you are happy, I'm closing this.


[Databoxedge] Migrate databoxedge to track2 SDK

Description

Here are main changes for Network migration to track2:

create_or_update -> begin_create_or_update.
delete->begin_delete.
Complete options_list.

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Databoxedge


After fork hook

Adding an after fork hook to the pre-forked worker.
@riteshnoronha @obrie @StabbyCutyou @Ceraunograph

Makes sense

@goose42 can we audit any other hooks that we missed ?

@riteshnoronha yeah, working on that list.

Looks like we missed these hooks for the pre-forked worker: around_fork, within_fork, after_fork, before_fork_shutdown. The absent hooks will be added with a later PR (currently we only use the after_fork).

@goose42 this works. I verified this in production. However we should review all other hooks, since it appears that worker objects are being passed around and used in plugins.. which is not really ideal..
lgtm


make setup-charon can fail when the OID doesn't exist in Charon

When the Git object ID doesn't exist in Charon, git checkout will fail with an obscure error $rev not in tree.
The setup should pull or fetch that revision beforehand or recommend the user to do it.

When does this get triggered?

If we call make setup-charon, and the charon pin has moved forward, and the current clone of charon is too old to have that new commit. The fix is to add a git fetch origin before the git checkout.


build/elf: handle SHT_RELR sections

Hi, I was using the elf builder with a binary from alpine 3.20. Apparently, that binary uses relative relocations (https://github.com/gimli-rs/object/issues/722). The following changes made the builder accept the binary.

I think it's best to add full support for SHT_RELR to the crate instead of trying to do a minimal patch for the build/elf. I've started working on this.


Ask confirmation before installing python packages

The installation of python dependencies should be done by leveraging slicer.util.pip_install and slicer.util.confirmOkCancelDisplay.
Consider reviewing the following for examples:

https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#install-a-python-package
https://github.com/PerkLab/SlicerSandbox/blob/e163d61c5babc25f53badb87f64cf4d123243c36/ImportOCT/ImportOCT.py#L44-L55
https://github.com/SlicerMorph/SlicerMorph/blob/03d69077f35acda4012f830898e82657bb29e2b8/ALPACA/ALPACA.py#L182-L202

@jcfr Thank you for the recommendation! Your request has been implemented in the following commit:
https://github.com/mazurowski-lab/SlicerSegmentWithSAM/commit/a38e2c6747817bfba3046391ade610bb13b4104e


Allow forcing line breaks

Sometimes I want to insert line breaks in long expressions to better reflect their logical structure.
With clang-format this is possible by inserting a line-end comment at the desired break point (even if it's just an empty //).
As far as I can see, rustfmt just stops formatting such expressions altogether (is this a bug?).  It strips empty comments, but that can be worked around with something like //..

Rustfmt can't find comments everywhere so this isn't going to work. The solution is long term and involves having spans for comments either in the AST or our own version of the AST, neither is going to happen soon, unfortunately.

Is there a rustfmt attribute to allow it to format an item except for changing the given line breaks? If not, could there be? Right now I'm using #[rustfmt::skip], but I really just want rustfmt to change everything but my line breaks.


Add documentation for ODE models

In order to have a better usability of our models, we should drastically extend the documentation in the ReadMes of the model/o* folders.

Closed due to #417


Schema should have simOptions descriptions

Emit jsdoc comments int he generated types and then pass -j to the schema generator: https://github.com/vega/ts-json-schema-generator

This will show descriptions and documentation when autocompleting