DR violation: Vertical Via Space

Please see the failing test. You can also reproduce as follows:
schematic2layout.py -p $ALIGN_HOME/align/pdk/finfet $ALIGN_HOME/align/pdk/finfet/examples/comparator

@parijatm, a test on this branch fails for me locally:
FAILED test_examples.py::test_examples[comparator] - AssertionError: comparator (comparator_0):Number of DRC errorrs: 1
However, this test did not seem to be executed in CI. Only below shows up in the build-wheel-cp37-manylinux1 log:
tests/pdk/finfet/test_examples.py::test_examples[token]  [gw0] [  6%] SKIPPED tests/pdk/finfet/test_examples.py::test_examples[token]
Why would this test not run?

@parijatm, a test on this branch fails for me locally:
FAILED test_examples.py::test_examples[comparator] - AssertionError: comparator (comparator_0):Number of DRC errorrs: 1
However, this test did not seem to be executed in CI. Only below shows up in the build-wheel-cp37-manylinux1 log:
tests/pdk/finfet/test_examples.py::test_examples[token] [gw0] [ 6%] SKIPPED tests/pdk/finfet/test_examples.py::test_examples[token]
Why would this test not run? Adding @stevenmburns .

I suspect the test is not being run because it is unable to find any testcases to run. You are testing in editable mode locally but the build-wheel-cp37 test runs in user mode.
Please make sure the .sp files are actually being installed by setup.py (Need to add appropriate path to package_data). Alternatively, you can change examples_dir to pick the path up relative to the test instead of relative to align.pdk.finfet

@parijatm, a test on this branch fails for me locally:
FAILED test_examples.py::test_examples[comparator] - AssertionError: comparator (comparator_0):Number of DRC errorrs: 1
However, this test did not seem to be executed in CI. Only below shows up in the build-wheel-cp37-manylinux1 log:
tests/pdk/finfet/test_examples.py::test_examples[token] [gw0] [ 6%] SKIPPED tests/pdk/finfet/test_examples.py::test_examples[token]
Why would this test not run? Adding @stevenmburns .

I suspect the test is not being run because it is unable to find any testcases to run. You are testing in editable mode locally but the build-wheel-cp37 test runs in user mode.
Please make sure the .sp files are actually being installed by setup.py (Need to add appropriate path to package_data). Alternatively, you can change examples_dir to pick the path up relative to the test instead of relative to align.pdk.finfet

Thank you for reminding about package_data. I will refactor these tests shortly so that there is no dependency on the installation.

Test is now failing on CircleCI: FAILED tests/pdk/finfet/test_circuits.py::test_comparator_1
@Lastdayends and @854768750 , you should be able to reproduce this now by running the test above locally.

Error:
DRC ERROR Vertical space violation on V2: ([80700, 13300, 81300, 13700], 'vip_o') ([80700, 14200, 81300, 14600], 'vip_o') 600
Snapshot of vip_o:

Thanks for the detail. Let me take a look.

@Lastdayends and @854768750 , this test is still failing in ci.

It seems the via spacing issue is still here. Let me have a look.

@soneryaldiz @854768750
The bug is not solved yet.

@soneryaldiz  @854768750
Now the problem should be fixed.

Thanks @Lastdayends . I will remove this test from CI. Do you want to create a copy for router regression?

@parijatm , this is ready for review.


[epic] Design kit migration to Figma

Placeholder issue for tracking on the Figma migration of our design kits.

[x] Discovery on workspace structure with DPO
[x] Migrate "styles"
[x] Migrate components

it's worth investigating whether we can take the custom elements manifest as input and generate a figma plugin for our existing elements, so that the design kit would be a 1:1 representation of our library.
one could also imagine some kind of pattern manifest which would do the same with larger design patterns...

@markcaron This can probably be closed.


Find a peak element

We need to find peak element index from given array.
Peak element is one which is greater than both its adjacent neighbors
Ex,
INPUT: arr[ ]=[0,6,8,5,7,9]
OUTPUT: index of peak element is 2
Describe the solution you'd like
I want to implement it using C++
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Programming language

[ ] C
[ ] C++
[ ] Java
[ ] Python

@Ayush7614 @Amit366 @ravikr126 @Saurabh4626 . Kindly assign me this issue using C++


[DNM]  Add more logs for debugging the rollback committed issue

What is changed and how it works?
Add more logs to debug resolve lock logic. This PR is submitted only in order to build binary by CI.
Release note
No release note

/release

/release

/release

/release


Enable rockspec

Closes #191
This PR introduce following changes:

Rename *.rockspec.disabled -> *.rockspec to enable lazy.nvim can detect rockspec.
Simply use default branch URL for src.url (no need to manual update).
Update install instruction for lazy.nvim >= v11.

Re-enabling .rockspec file benefits lazy.nvim users, enabling automic build of image.nvim and magick rocks. It eliminates the need to manually change package.path.
References:

Lazy.nvim

Lazy.nvim: https://lazy.folke.io/packages
Lazy.nvim issue: https://github.com/folke/lazy.nvim/issues/1570

Luarocks

Creating a rock: https://github.com/luarocks/luarocks/wiki/Creating-a-rock
Rockspec format: https://github.com/luarocks/luarocks/wiki/Rockspec-format

Disclaimer:
I'm not an expert of Lua and Luarocks.

I noticed that @kevinm6 also suggested similar documentation changes in #193.
Both (this PR and #193) proposes opts.rocks.hererocks = true. But it seems that rocks configuration within defaults does not work for me (hererocks will be not installed and :checkhealth still complains).
c.f. https://lazy.folke.io/configuration
By the way, you can pick some changes from #193, if you think it's appropriate.

Thank you, let's merge this one first.
@kevinm6 do you think we need to add documentation from https://github.com/3rd/image.nvim/pull/193 ?

I don’t think so @3rd, I’ll close that PR !
Maybe you could move #191 as a Discussion since it can be useful to some people.


While passing s3Client to s3store.New getting an error named missing method AbortMultipartUploadWithContext

Describe the bug
I am trying to implement resumable upload in my go server with s3 bucket, But while doing the setup I came to an error missing method AbortMultipartUploadWithContext. When I dig deep I found that the S3API interface type has one method missing that s3Client has.
Here is my code:
package main

import (
	"context"
	"fmt"
	"github.com/aws/aws-sdk-go-v2/aws"
	"github.com/aws/aws-sdk-go-v2/config"
	"github.com/aws/aws-sdk-go-v2/service/s3"
	// "github.com/tus/tusd"
	"github.com/tus/tusd/pkg/handler"
	"github.com/tus/tusd/pkg/s3store"
	"log"
	"net/http"
)

func connectS3() *s3.Client {
	cfg, err := config.LoadDefaultConfig(context.TODO(), config.WithRegion("us-east-1"))
	if err != nil {
		log.Fatal(err)
	}
	client := s3.NewFromConfig(cfg)
	return client
}
func main() {
	s3Client := connectS3()
	bucket := "mittler-storage"

	// Create S3 store
	store := s3store.New(bucket, s3Client)
	// Create a new tusd handler using the S3 store
	composer := handler.NewStoreComposer()
	store.UseIn(composer)
	config := handler.Config{
		StoreComposer:           composer,
		BasePath:                "/files/",
		NotifyCompleteUploads:   true,
		NotifyTerminatedUploads: true,
		NotifyUploadProgress:    true,
		RespectForwardedHeaders: true,
	}

	handler, err := handler.NewHandler(config)
	if err != nil {
		log.Fatalf("unable to create tusd handler, %v", err)
	}

	apiRouter := http.NewServeMux()
	apiRouter.Handle("/upload-video/", http.StripPrefix("/upload-video", handler))
	server := http.Server{
		Addr:    ":8000",
		Handler: apiRouter,
	}
	fmt.Println("Server is running on port 8000")
	log.Fatal(server.ListenAndServe())
}

The Error I got
./main.go:29:31: cannot use s3Client (variable of type *"github.com/aws/aws-sdk-go-v2/service/s3".Client) as s3store.S3API value in argument to s3store.New: *"github.com/aws/aws-sdk-go-v2/service/s3".Client does not implement s3store.S3API (missing method AbortMultipartUploadWithContext)

To Reproduce
Steps to reproduce the behavior:

Copy the go code to one go file
Import the necessary packages (those are used in imports)
In console you will get the error.

Expected behavior
Based on the repo and source code available in repo, I think passing s3Client to s3store.New method.
Setup details
Please provide following details, if applicable to your situation:

Used tusd data storage: AWS S3

You are importing tusd v1, which is only compatible with AWS SDK for Go v1. But you are passing the AWS SDK for Go v2 to tusd v1, which does not work. You should upgrade to tusd v2 by using those imports:
	"github.com/tus/tusd/v2/pkg/handler"
	"github.com/tus/tusd/v2/pkg/s3store"

tusd v1 is also no longer supported by us.

Thanks I have updated packages and it is working


Black color

The darkest color seems to be only brown :)

I've added a 'Digital' (straight RGB) colour mode in which you can have black paint (and a few other colours unattainable in the pre-existing 'Natural' (RYB) colour model).

@dli Thanks :)


Missing Tech Items

Added in missing tech items from Archives of Nexus

Changing the source on items so remove this Pull request and I will fix and reupload tonight.


Show scroll when changing size

If we scroll and show the scrollbar, we can see it's size changing, but if we keep on changing the height of the content, it eventually fades away.
Would there be a way to keep it if the content is changing. That's how most other frameworks do it, just do that you know that something's changing.

What platform are you on? I tried it with GTK and X11 and both keep the bar visible as long as I keep resizing.

I'm on Linux, GTK as well... You resize what? I tried it with the list example and if you keep on adding the items, the scroll starts acting up.

Oh, my bad

changing the height of the content

missed the "content", thought you were referring to changing the windows size.
I think we can fix this by showing the scroll bar whenever the content size changes (during layout), should be easy to fix.


Parsing loops when Git Graph tab is open

When running command while Git Graph extension tab is open, parsing tabs is infinitely looping. Might be issue for other extension tabs as well.

I also get an infinite loop in some cases but unfortunately was unable to pin-point which tab was causing the issue exactly.

@phunanon I believe there's also a race condition, because sometimes when I just try to run it again it works okay. But this is only when there are no tabs from extensions (such as Git Graph).

@phunanon Hey, fyi, VS Code added Git: Close All Diff Editors command in 1.65.0 so this extension is no longer necessary (🥲) and you can use that instead.

I noticed, thank you! Unfortunately I don't have the Insider's edition at work so I'm waiting patiently :^)

I believe it is production release, I don't have Insider as well.

Congratulations! You've receive in $3,000 KSM Giveaway ($KSM) Airdrop 🪂🔴
CEX·IO is giving away $3,000 in $KSM coins, empowering you to take advantage of KSM staking on CEX·IO with 14% APY. Join the giveaway and earn a chance to win up to $500. Stake Kusama with CEX·IO, get high rewards and win prizes!
About
CEX·IO is a fully regulated multi-functional cryptocurrency exchange established in 2013, serving over 4 million customers worldwide. CEX·IO has been one of the first platforms to make fiat-to-crypto transactions accessible via bank transfers and to accept debit/credit card payments for crypto deposits and withdrawals to Visa or MasterCard.
→ How to join the $3,000 KSM Giveaway Airdrop?
Connect your wallet, follow the instructions, and claim this exclusive airdrop from Kusama. For GitHub users only—share with friends to make it eligible. Redeem your reward first.

Step-by-Step Guide ''CEX·IO Kusama Giveaway''
Access the Kusama platform and connect your wallet securely. Ensure you're using a trusted wallet for the transaction.

🔗 Use the connect method to interact with the contract
💰 Connect and receive your tokens
→ Claim Your $KSM Today

Binance Airdrop Guide: Claim Your $1500 in BNB Now!
🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1.500k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @


Changing the dropdwon arrow icon

Hi,
I want to change the default dropdown-arrow icon. Can you please let me know how to proceed with ?
Thank you.

i have same issue

Use the renderAccessory property. Write a function that returns the icon you want.

i solve this problem

@shahrajk  this is will not working if you are using a git repo!

@irwinwilliams  thanks. works like a charm

But it shows bottom border and popup not positioning
<Dropdown
        value={selectedAddress}
        onChangeText={(value, index, data) => {
          setSelectedAddress(value);
        }}
        data={address}
        // containerStyle={{width:100, }}
        dropdownPosition={0}
        dropdownOffset={{top:10, left:0, }}
        pickerStyle={{ }}
        renderAccessory={()=> <View style={{width:50, borderWidth:1}}>
        <Image source={{uri:'http://placekitten.com/50/50'}} style={{ width: 30, height: 30, resizeMode: 'contain', tintColor: '#777777' }} />
      </View>}
      />

@KiranUppunda @iamir4g @irwinwilliams
I solve this problem.
Go to node module file -> react-native-material-dropdown

Use your image path in Image tag source.
renderAccessory() {
    return (
      <View style={styles.accessory}>
        <Image source={require('../../../../../Src/Images/drop-down.png')} style={{ width: 30, height: 12, resizeMode: 'contain', tintColor: '#777777' }} />
      </View>
    );
  }

Thanks. It worked for me. Although I used React native dropdown picker v4 but ur hint helped me in updating the icon <3

Hi guys, I am using react-native-material-dropdown-v2-fixed. I want to change background of dropdown arrow. How can I change the color of it? Currently it is dark gray.

For fix this problem:
baseColor={'transparent'}
Example:
import React, { Component } from 'react';
import { Dropdown } from 'react-native-material-dropdown';
class Example extends Component {
render() {
let data = [{
value: 'Banana',
}, {
value: 'Mango',
}, {
value: 'Pear',
}];
return (
  <Dropdown
    label='Favorite Fruit'
    data={data}
    **baseColor={'transparent'}**
  />
);

}
}

For fix this problem:
baseColor={'transparent'}
Example:
import React, { Component } from 'react';
import { Dropdown } from 'react-native-material-dropdown';
class Example extends Component {
render() {
let data = [{
value: 'Banana',
}, {
value: 'Mango',
}, {
value: 'Pear',
}];
return (
  <Dropdown
    label='Favorite Fruit'
    data={data}
    baseColor={'transparent'}
  />
);

}
}

I will give a try and get back to you. Thanks for your reply :)

@PrashenAlumnus add the following to the component:  underlineColor="transparent"

@greulist137 it was a long back issue, it is about to complete 2 years now :) BTW thanks for the comment.


Incorrect URL in /usr/sbin/dbab-get-list, has moved from http:: to https::

I just installed dbab on my Raspberry Pi DHCP/DNS server.
The dnsmasq server failed to restart because the file /etc/dnsmasq.d/dbab.adblock.conf contained an error rather than
dnsmasq configuration options.
The error was simply that the server list has moved from
http://pgl.yoyo.org/adservers/serverlist.php to https://pgl.yoyo.org/adservers/serverlist.php
I have simply edited the /usr/sbin/dbab-get-list script to fix the problem, change http:: to https::

Are you reporting the same issue as https://github.com/suntong/dbab/issues/2 @chrisisbd?

No, I don't think so.  The error I have reported means that dnsmasq fails to start after installing dbad because the file /etc/dnsmasq.d/dbab.adblock.conf has an error message from curl in it rather than a list of web sites.

It may be the same error but it's certainly not fixed in dbab 1.3.2 on Raspberry Pi.  Using the http:// URL produces an error, it doesn't get redirected to https://.

I don't use/know Raspberry Pi
please check the latest release at https://packages.debian.org/bullseye/dbab
please follow the bug-reporting template next time when reporting any issues

thanks


Converted SAPI5 driver and espeak driver to be compatible with 2.7 and 3.4

I am trying and get a mac so I can convert that driver as well but at the moment I do not have access to one.  In the meantime I have converted the other two drivers as well as the main libraries.  I used python six for most of the compatibility changes.  I have run the unit tests on:
Windows 64 bit 2.7
Windows 64 bit 3.4
Linux 64 bit 2.7
Linux 64 bit 3.4
I know that some of the changes I have made are not compatible with 2.5 (and possibly 2.6) but I don't know if the code was already compatible with those earlier versions or not.  My assumption was that it was only compatible with 2.7.
Feel free to suggest changes or a different way of doing things, I should have some time to work on this over the next few months as I will be using this library in my next project.

Just realized there are a few more changes in there I should probably explain that were related more to getting the unit tests to pass than any explicit conversion.
The espeak driver was calling getCurrentVoice immediately after espeak was initialized to get the default voice.  Unfortunately, in my testing, it appears that espeak doesn't actually set a default voice until something is synthesized.  I checked the espeak code and it appears that, if they are asked to synthesize something, and no voice is set, then they load a voice named specifically "default" so I figured it was safe to rely on a voice named "default" being available and used that as the default voice.
The test_say test class had a testStop test.  This test was setting up a listener for a "started-word" event and stopping the engine once it received that event.  In espeak the callback is not called (it seems) until its buffer fills up.  This was causing the stop not to happen until about a second into speaking and the test was occasionally failing because that would be enough time to speak all the words.  I modified the sentence spoken in the unit test to be longer so that it would ensure not all the words were spoken.
The third thing appears to be more of a bug in espeak than a bug in pyttsx.  There are two voices in espeak (on my system at least) which have a capital letter in their name (Farsi and some other voice).  One of the tests iterated through all the voices and tried to set that voice.  The SetVoiceByName function in espeak will take whatever name is passed in and convert it to lowercase.  It then compares this modified name to each available name, unmodified.  As such, it was never able to select the Farsi voice because it simply isn't possible the way espeak is written.  One workaround would be to pass the espeak voice identifier into SetVoiceByName but that would require replacing the pyttsx voice identifier (which is currently set to the espeak voice name) with the espeak voice identifier and I was worried that may impact backwards compatibility so for now I just modified the test to work around this corner case with a comment explaining as much.


x/crypto/ssh/knownhosts: incorrect parsing of known_hosts for ipv6

What version of Go are you using (go version)?

$ go version
go version go1.18 linux/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GOARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOVERSION="go1.18"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
$ ssh -V
OpenSSH_9.0p1 Debian-1, OpenSSL 1.1.1o  3 May 2022

What did you do?

package main

import (
	"fmt"
	"net"

	"golang.org/x/crypto/ssh"
	"golang.org/x/crypto/ssh/knownhosts"
)

func main() {
	hostKeyCallback, err := knownhosts.New("/home/samir/.ssh/known_hosts")
	if err != nil {
		fmt.Println(err)
		return
	}

	config := &ssh.ClientConfig{
		User: "test",
		Auth: []ssh.AuthMethod{ssh.Password("test")},
		HostKeyCallback: func(hostname string, remote net.Addr, key ssh.PublicKey) error {
			addr := []string{hostname}
			line := knownhosts.Line(addr, key)
			fmt.Println(line)

			return hostKeyCallback(hostname, remote, key)
		},
	}
	_, err = ssh.Dial("tcp", "[2001:3984:3989::10]:22", config)

	if err != nil {
		fmt.Println(err)
		return
	}
}

When running the above script, the line line := knownhosts.Line(addr, key) prints the following:
(The xyz is a just a placeholder)
[2001:3984:3989::10] ecdsa-sha2-nistp256 xyz

which I add to /home/samir/.ssh/known_hosts. I get the message ssh: handshake failed: knownhosts: key is unknown as well, which is expected.
What did you expect to see?
On the second re-run (with my hostkey added to known_hosts), I expect the connection to be established.
What did you see instead?
I see:
knownhosts: /home/samir/.ssh/known_hosts:1: address [2001:3984:3989::10]: missing port in address

If I add the :22 port to the IP, it works (this shouldn't work though, since it's the default port, should only work when port != 22):
[2001:3984:3989::10]:22 ecdsa-sha2-nistp256 xyz

And it works if I remove the brackets (this is the correct way and how ssh works):
2001:3984:3989::10 ecdsa-sha2-nistp256 xyz

The method Line says Line returns a line to add append to the known_hosts files., but the method New doesn't support parsing the known_hosts file without a port number when brackets [] are used.
So it should be:

If IPv6 and port == 22 return abcd:abcd:abcd:abcd
if IPv6 and port != 22 return [abcd:abcd:abcd:abcd]:33
If IPv4 and port == 22 return <IP_ADDRESS>
If IPv4 and port != 22 return [<IP_ADDRESS>]:33

I think the Normalize function is the culprit in some of the errors:
https://cs.opensource.google/go/x/crypto/+/bc19a97f:ssh/knownhosts/knownhosts_test.go;l=329
The test cases are:
		"[abcd:abcd:abcd:abcd]":    "[abcd:abcd:abcd:abcd]",
		"[abcd:abcd:abcd:abcd]:22": "[abcd:abcd:abcd:abcd]",

They should be (removal of brackets on the right side):
		"[abcd:abcd:abcd:abcd]":    "abcd:abcd:abcd:abcd",
		"[abcd:abcd:abcd:abcd]:22": "abcd:abcd:abcd:abcd",

Also, a small note, the method Line has a grammar error:
It says Line returns a line to add append to the known_hosts files., but it should say:

Line returns a line to add to the known_hosts files., or
Line returns a line to append to the known_hosts files.

//cc @FiloSottile @golang/security

From https://man.openbsd.org/sshd.8:

A hostname or address may optionally be enclosed within ‘[’ and ‘]’ brackets then followed by ‘:’ and a non-standard port number.

So if the IP is enclosed with brackets [], then it MUST be followed by a colon : AND a non-standard port.

For anyone who needs a quick work-around for writing ipv6 entries to known_hosts files, package<EMAIL_ADDRESS>now includes patched versions of Normalize and Line with correct ipv6 behavior, thanks to a nice contribution from @lonnywong of the @trzsz project.
github.com/skeema/knownhosts is a thin wrapper around x/crypto/ssh/knownhosts, rather than a fork. It's battle-tested and adds several improvements not found in x/crypto/ssh/knownhosts. It's designed to be a nearly-drop-in replacement; you'll just need to cast back to ssh.HostKeyCallback if using the result of its New directly in ssh.ClientConfig.HostKeyCallback.


boards: Added support for Silicon Labs' BRD4255A Radio board

Added support for the BRD4255A board, as part of efr32_radio.
Support for the EFR32FG13P SoC was added to achieve this.
Signed-off-by: Yonatan Schachter<EMAIL_ADDRESS>

Thanks @chrta , I figured efr32fg13p and efr32bg13p have identical dts files, so I merged them to a single efr32xg13p file.

@yonsch Since the pr in the hal repo is merged now, please update the west.yml to let it point to the current master revision of the hal.

Thanks. Sorry for a delay. I missed the notification.
Let's change the description of the commit updating west.yml file. The current one is incorrect. The commit title should reflect its content, not the PR it was added from.
Also, I messed up. This PR adds support for the board but also for the EFR32FG13P SoC. It would be cleaner if we split it in 3 and not 2 commits. e.g.

west.yml: Update hal_silabs module

Update west.yml to point to hal_silabs version with support for Silicon
Labs EFR32FG13P SoCs.

containing west.yml

soc: silabs_exx32: Add support for EFR32FG13P SoC

This commit adds support for Silicon Labs EFR32FG13P (Flex Gecko) SoC.

containing all files in dts/ and soc/ folder + CODEOWNERS

boards: Add support for Silicon Labs' BRD4255A Radio board

This commit adds support for Silicon Labs BRD4255A (a.k.a. SLWRB4255A)
Flex Gecko Radio Board.

containing all files in boards/ folder

Thanks @chrta and @mnkp for your time and detailed explanations :)


MIMIC dataset

Hi I am unable to get mimic dataset. Please help me on this

Hi, which step are you stuck in?
All you need is to finish the training course in order to get access to the MIMIC-III dataset, then download the necessary *.csv files mentioned in README.md.
You can check this How to get access to MIMIC III. It should be helpful.

Hi, since I am not from MIT so I can find that course. If you have the data can you send that to this email ..
<EMAIL_ADDRESS>

I can find this file data_gamenet.pkl
Please help me in this one


hooks: context sometimes merged, sometimes in .context

It appears that the context is delivered sometimes as "context" sub items of . and sometimes as . itself.

This happens only if the call to hook.html is done wrong ;)


Where are examples for image segmentation, like DeepLabV3 et. al ?

Hello, RKNN has been widely used in AI applications. However, I can not find examples for segmentation models. When I try to convert onnx segmentation models to RKNN (from pytorch). Even the simplest ERFNet will go wrong. Could someone tell me where to find examples for segmentation models in RKNN, in tensorflow or pytorch?

Please refer to this link for image segmentation example: https://github.com/rockchip-linux/rknn-toolkit/tree/master/examples/mxnet/fcn_resnet101


Standard HTTP output?

Hi,
I'm trying to find out how to send the log lines to a HTTP server (not elastic search or an rtail server).
Is this possible?
I've tried using logagent --http-proxy 'http://localhost:9200' -g 'logs/*.log' but no request gets made to the proxy server.

I don't see anything like that listed in output plugins.  Maybe @megastef will know.
JFYI, there's also a mailing list/forum/group for questions - see the bottom of https://sematext.com/logagent/

@alexbowers It would be interesting to know exactly your use case. Which HTTP server would receive the logs?
The command above logagent --http-proxy 'http://localhost:9200' -g 'logs/*.log' does not work because the Elasticsearch plugin is not activated (so no http requests ...).
Try
nc -tl 9200 &
logagent -g 'logs/*.log' -i mylogs -e http://<IP_ADDRESS>:9200`

Netcat will print:
{"index":{"_index":"mylogs","_type":"logs"}}
{"@timestamp":"2018-12-17T21:43:49.632Z","message":"ABC","severity":"info","host":"imac.local","ip":"<IP_ADDRESS>","logSource":"unknown"}

Note the HTTP interface to Elasticsearch uses the Elasticsearc bulk indexing format (one line indexing command, one line data).
It should be easy to implement a plugin with plain HTTP output (one JSON doc per HTTP post request). But I would recommend a small buffer and post an Array of logs.
If you have interest to contribute the HTTP output plugin, then you could simply remove the the Slack specific code from the Slack ouptut plugin:
Documentation: https://sematext.com/docs/logagent/output-plugin-slack/
Code: https://github.com/sematext/logagent-js/blob/master/lib/plugins/output/slack-webhook.js
Module name / alias definition: https://github.com/sematext/logagent-js/blob/master/bin/logagent.js#L63
Another interesting way might be to use the MQTT Broker output plugin, you can subscribe via WebSocket to the MQTT Broker.
I hope this helps. We would be glad to add HTTP output plugin. On the other hand we should specifiy a format (one log per post request or multiple logs per request, line delimited JSON format or JSON array etc).

@megastef Thanks for the reply.
My interest is in trying to get the logs sent into a custom written application for us to do some looking at.
The logs are not necessarily typical apache logs or anything like that, they may be custom logs written that we want to push into some of our monitoring system thats built in house.
We could store it in Elastic search and then try to query and pull the data out of there, but we'd like to get it direct into our system via a HTTP post request to the application itself if possible.
I think having the batching makes sense, since it would be not ideal to saturate the application with post requests more than necessary.
I'll have a think on this a little more and have a look at how to do a raw HTTP plugin.

@chiefy check the list of plugins: https://sematext.com/docs/logagent/plugins/
I don't understand why you need Logstash. Lagagent can parse and enrich container logs ...
and forward to ZeroMQ, Gelf, MQTT, Apache Kafka, Elasticsearch, InfluxDB, Files, Sematext Cloud
Setup on Kuberentes is described here: https://sematext.com/docs/logagent/installation-docker/
Please read https://sematext.com/blog/docker-container-monitoring-with-sematext/#toc-container-logs-0

Implemented output-http plugin with ld-json format (JSON lines) in https://github.com/sematext/logagent-js/commit/11ad607800cad165321fedae5a69cb3419fba5d8
Set maxBufferSize to to 1 and logagent sends one JSON object per log event.
Otherwise logagent sends N json objects separated by '\n'.
See example config file:
https://github.com/sematext/logagent-js/blob/master/config/examples/output-http.yaml
input:
  stdin: true

output:
  sematext-spm:
    module: output-http
    url: http://<IP_ADDRESS>:8086
    # flush interval in seconds
    flushInterval: 1
    # max buffer size to force flush
    maxBufferSize: 1
    debug: true
    tags:
      role: backend
      version: "1.0.0"
      region: eu
    # optional filter settings matching data field with regular expressions
    filter:
      field: logSource
      match: .*

run
cat some.log | logagent --config output-http.yml

Contributions for alternative formats in the HTTP body are welcome ...

Doesn't "Buffer" make you think of "bytes"?
@megastef maybe maxBulkSize would be better than maxBufferSize?


New Lifecycle Methods

Support the new lifecycle methods in React 16.3, which are static getDerivedStateFromProps and getSnapshotBeforeUpdate.

Reference: React Lifecycle Methods Diagram


Improve directory search @epflbot

Add direct chat link for EPFL logged users.
For non-logged users just give link to EPFL page.

I propose to scrap the whole EPFL directory into our ES DB (at most ~20000 entries including external members), and update/rebuild it once per semester or something like that. This will drastically improve the already awkward and unstable delay.  @aimeemontero
I've been playing a bit with ES and the search "as-is" is not enough, matches only full words, tildes are a problem e.g. Aimée != Aimee and so on. So @zifeo, would you help with the index/search to handle such cases?
Adding the search functionality to the bot is quite easy but not worth it if the search is broken.
The improved search can be also used for searching authenticated users.

For mirroring, it would be more efficient to access it via LDAP (see here). I can provide for sure the indexing configuration for avoiding this kind of issue :)


Example command to get latest Romulus image isn't working

Location
development tutorials...OpenBMC Developer Documentation...Development Environment Setup...Download and Start QEMU Session...Download the Romulus image
Issue
This command
wget https://jenkins.openbmc.org/job/latest-master/label=docker-builder,target=romulus/lastSuccessfulBuild/artifact/openbmc/build/tmp/deploy/images/romulus/obmc-phosphor-image-romulus.static.mtd
returns
2022-03-29 09:54:25 ERROR 404: Not Found
Actual filename has the format
obmc-phosphor-image-romulus-20220329025139.static.mtd
Request
Provide a working example using wget for those who are not familiar with the Jenkins api

@geissonator Do we have something misconfigured on Jenkins?  When I go to the tmp/deploy/images/romulus directory I see:

Symlinks are hidden

@geissonator Also if I download the .zip archive it does not contain the obmc-phosphor-image-romulus.static.mtd symlink either.

Unfortunately, Jenkins disabled showing links in artifacts due to security concerns. They provided no way to disable this. My workaround has been to manually copy the linked to file to the link name for specific images CI needs. I'll add this workaround to the latest-master job.

Working as expected, thanks!


Outputting Figure from Main.py Source Code and Seeking Feedback/Correction

Read the source code of main.py, output the figure below, hoping to help friends who want to read the source code, also hoping to correct any errors. 😊

Thank you very much for the flowchart you created. You can submit a pull request, and I will add this diagram to the readme.

Thank you very much for the flowchart you created. You can submit a pull request, and I will add this diagram to the readme.

👌，😊


When I am in the middle of a call and I return to my app, part of the bottom bar is lost in the cell phone screen.

Ionic version: (check one with "x")
[ X] 1.x
[ ] 2.x
[ ] 3.x
I'm submitting a ... (check one with "x")
[X ] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
When I am in the middle of a call and I return to my app, part of the bottom bar is lost in the cell phone screen.
Expected behavior:
The bottom bar should be shown completely
Steps to reproduce:
It is simple:
1. Create a bottom bar inside to a .
2. Put the application in background.
3. Make a call.
4. After return to the application.
Related code:

<ion-content class="content-with-header content-terms-conditions" scroll="false">

{{::i18n.termsConditions.labelTermsTitle}}

</ion-content>

        {{::i18n.termsConditions.cancelButton}}
        {{::i18n.termsConditions.continueButton}}

This issue was moved to driftyco/ionic-v1#257


polkit prompt shows multiple users

On 19.09, when you pkexec on NixOS with default settings and your user being part of unix group wheel, you get a prompt whether you want to get admin capabilities via your user or the root user.
This is somewhat inconvenient, because you always have to choose the user by clicking on it (or pressing a number key in the terminal); on other systems like Ubuntu, it somehow figures out that these two are identical and prompts immediately for the password.
In
https://github.com/NixOS/nixpkgs/blob/a7aa5dbb194edff49f045882225b7568737611dd/nixos/modules/security/polkit.nix#L45
we have both [ "unix-user:0" "unix-group:wheel" ] as the default.
Setting it to [ "unix-group:wheel" ] only generates only 1 prompt.
What is the first one good for, should we just remove it from the default, given that adding users to the wheel is the default way of "making them admins"?
Or do we somehow want to depart from the unix group approach of making people admins?

These are the patches used in ubuntu and also debian

https://git.launchpad.net/ubuntu/+source/policykit-1/tree/debian/patches

The default upstream for addAdminRule is
polkit.addAdminRule(function(action, subject) {
  return ["unix-group:wheel"];
});

So seemingly ubuntu and many other distro's aren't doing what we are doing.
We use
polkit.addAdminRule(function(action, subject) {
  return ["unix-user:0", "unix-group:wheel"];
});

for probably a specific reason at some point in time.

It appears to have been this way for a long time

https://github.com/NixOS/nixpkgs/commit/7980c71d9c56cc0b922f8bf27c24141657c4b9ca

My recommendation is we just use the default way it is in polkit.
As far as I can tell,  given that adding users to the wheel is the default way of "making them admins" is how it's done in NixOS.

These are the patches used in ubuntu and also debian

Right, most notably https://git.launchpad.net/ubuntu/+source/policykit-1/tree/debian/patches/05_revert-admin-identities-unix-group-wheel.patch?id=e82a9d8125f9d70cea47044d2fb4637ff6305725
which does
-AdminIdentities=unix-group:wheel
+AdminIdentities=unix-user:0

saying

On Red Hat derivatives, every member of group 'wheel' is necessarily privileged. On Debian derivatives, there is no wheel group, and gid 0 (root) is not used in this way. Change the default rule to consider uid 0 to be privileged, instead.

My recommendation is we just use the default way it is in polkit.

Seems reasonable to me as well


Sensor SynologyDSM.volume_disk_temp_avg - does not work

Home Assistant release with the issue:

0.99.1
Last working Home Assistant release (if known):
Not known
Operating environment (Hass.io/Docker/Windows/etc.):

Docker
Component/platform:

https://www.home-assistant.io/components/synologydsm/
Description of problem:
The average volume temp does not log any data
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
sensor:
  - platform: synologydsm
    host: *.*.*.*
    username: ****
    password: ****
    monitored_conditions:
      - cpu_total_load
      - memory_real_usage
      - volume_disk_temp_avg
      - volume_percentage_used

Traceback (if applicable):

Additional information:

This is a bug in the underlying package. There is PR at https://github.com/StaticCube/python-synology/pull/7 that fixes this. I am still figuring out how to do this so hopefully this works properly.

don't close please, still unresolved in 103.5

Indeed, the PR that solves the issue was merged but the library did not release since.
I asked for a release then I will version bump the lib.

Thanks for the patience, the library has been released and version can be bumped to 0.3.0


Ensure every security groups rule has a description

Possible check to target the following resource

[ ] aws_db_security_group

This is already implemented as AWS018
It's missing documentation and examples though.

All good, should be covered by AWS003 though :)

closing, tracking in spreadsheet

closing, tracking in spreadsheet


Run service tests on a given (remote) instance; test on [jetbrains]

This PR gives an option (--url) to run service tests on a given instance. It can be used to check if given instance is working correctly, e.g. after deployment.
Moreover I had to add an option (--skip-intercepted) to skip tests which intercepts requests (by intercept or by networkOff).
An example command:
 npm run test:services -- --only=jetbrains --url=https://shields-metrics1.now.sh --skip-intercepted

Is it useful? What do you think about it?

Warnings

:warning:

This PR modified helper functions in lib/ but not accompanying tests. That's okay so long as it's refactoring existing code.

Messages

:book:

:sparkles: Thanks for your contribution to Shields, @platan!

  Generated by :no_entry_sign: dangerJS

I think this makes sense. It's one of the use cases I had in mind when I worked on #927. It could be a nicer way to run our nightly tests on staging.

To check that an instance is working correctly after a deployment, wouldn't treating it as a black box by hitting it with a few badge requests be sufficient to assert that it is working properly?

Hehe, maybe not, though it's a good start, and it's basically what we do now. 🙃I might not wait for the entire suite to run, but hitting a few of the service tests in a reliable and automated way would make a nice post-deploy smoke tests.
Running the full suite exercises a lot of code and provides a lot of confidence things are working.

Hey @platan, are you up for picking this up?

@paulmelnikow I will be able to look at this next week.

@paulmelnikow Thank you for the review. I've changed the code, diff is smaller and it should look better now.


Add utility function is_instance

I was play with PyO3 to find myself doing this, had to hardcode type names. Then I wish I have isinstance in PyO3 but that only exists in PyType:
impl PyType {
    pub fn is_instance(&self, _: Python, obj : &PyObject) -> bool {}
}

But I can't get a PyType instance from PyDict, PyList etc., thus I came up with this.

lets wait until pyptr inclusion.

Sure.

@messense could you review usage of is_instance with new code.

@messense could you review this and rebase against master, or close.

Close for now.


Add jberkhahn as reviewer

Hey there, applying for reviewership of Operator-SDK
Sponsor: @estroz
Member for at least 3 months ✔
Primary reviewer of 5 PRs:
#3096
#3668
#3879
#3708 (this is an issue but involved a substantial amount of investigation)
#2893
Reviewed/Merged 20 PRs:
#3096
#3668
#3879
#3708 (this is an issue but involved a substantial amount of investigation)
#2893
#3725
#3508
#3454
#3413
#3411
#3375
#3318
#3296
#3287
#3247
#2676
#2629
#3668
#3255
#3734

I'm sponsoring @jberkhahn to gain reviewer status.
Going to merge #3955 first.

/lgtm

Before merge this will need to be altered to update the OWNERS_ALIAS file instead.

wait, so is #3955 being merged first or not?

@jberkhahn either way is fine with me. I didn't see the edit.

We can merge this and rebase #3955. I want a few more reviews on that one first.


Update to Authentication Contact Info

If a global admin updates the authentication contact info, it DOES NOT impact the MFA challenges that are presented to the user.  Please clarify the documentation unless this is a bug.  For example, as a GA, you can't add a new auth phone and then have that auth phone number used in MFA challenges.  Only methods that the user enters in the myapps portal or the new https://mysignins.microsoft.com/security-info portal will actually be used.

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

ID: 7d8c77b2-27b0-269c-6e96-5ca02b8a4f18
Version Independent ID: f11ce176-9a04-5d47-05fa-8c86278048cd
Content: Add or update a user's profile information - Azure Active Directory
Content Source: articles/active-directory/fundamentals/active-directory-users-profile-azure-portal.md
Service: active-directory
Sub-service: fundamentals
GitHub Login: @eross-msft
Microsoft Alias: lizross

@danmyhre Thanks for your feedback! We will investigate and update as appropriate.

@danmyhre I am not able to reproduce your scenario.  I have made GA account to modify the Authentication contact info another user and the user got the MFA challenge with the new contact info.  Are you getting any errors ?  What are the steps you are following.

@danmyhre We will now proceed to close this thread as we have not heard back. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.

Please re-open.  This is very easy to replicate.

Create a new user in AD
Let sync to AAD
Edit user profile in AAD, add Phone or Email to “Authentication Contact Info” section

Information entered into AAD is not used to provide MFA challenges.


Fixed hidden tooltips when always on top is active

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable

Description

Fixes #2039.

@pajlada, Could you please take a look at this one too?

@pajlada, Could you please take a look at this one too?


Web Things

This is just a couple lil cleanup things we talked about on discord.
I also added minimal file DnD support. I made stringToNewUTF8Local myself, which I think should use emscripten's stringToNewUTF8, instead.

This seems jumbled up with #58 so they might both need to be merged for it all to fit together.


2 requests to the same URL - one record at har

I run URL, which in turn produces 2 (POST) requests to the same URL, but with different post data,
HAR.getLog().getEntries() contains record for only one request - any suggestions?

If there are two separate POSTs, the har should record two separate entries. Can you give more details on how you're making the requests, and what output you're seeing in the logs and the har?

hm. it seems firebug draws 2 POST requests, while chrome(and IE also) puts one POST request only.
I suggest close the issue - firebug feature\ bug))


Make FakeUnleash differ "not set" from disabled

In FakeUnleash, you can't really set a toggle to be disabled, as it just unsets the enabled feature. This meant that unleash.enabled("feature", true) would incorrectly return true for a disabled feature.

Yes indeed you have a solid point. Thanks!


Zero friction inline content editing

This is pretty awesome https://github.com/gatsbyjs/gatsby/issues/149#issuecomment-268925810
Provides an easy inline editor to automagically submit a PR without the person needing a github account

So the interesting thing is
https://github.com/wiki-hub
https://jekyll-anon.surge.sh/gods/2015/02/18/vesta.html (live demo)
Pretty sure we just need to add this in the docs (for our docs and in the docs) but I guess this does not require anything in our codebase?

@MoOx yeah I think that's the case.
Going to investigate and add to serverless.com docs when I get some free time

Probably a user land problem. Might revisit later.


fix setup_script issues

both setup_vim and setup_nvim are meeting the terminal issue

We need to use tty to handle redirection.
Vim: Warning: Output is not to a terminal
Vim: Warning: Input is not from a terminal

Reference:
https://stackoverflow.com/questions/1690274/how-do-i-launch-an-editor-from-a-shell-script

setup_nvim need one dir location

Fix #2.

The next step is to use tty command to replace /dev/ttys000...


Add feature to read from json conf files

Reads from a json file with all the required parameters as required by Browserstack.

Cool, thanks!

Should i send a PR updating the readme also?

Yeah, if you do that I'll merge it in and then bump the version for a Rubygems update.

Closes #7


Add texts

@franl08 quero review da minha excelente prosa, or else. 🥺🔪
@GresosJ review.  I ran that and it seems everything is alright and there are no more missing whitespaces. :sob:
@GresosJ


Cannot find file

"The file smtp.php could not be found." is the error I get when signing up a user. Everything else works as should. Any help here?

Did you alter the code in any way?
On Wed, Mar 8, 2017 at 1:51 PM, jh1998holden<EMAIL_ADDRESS>wrote:

"The file smtp.php could not be found." is the error I get when signing up
a user. Everything else works as should. Any help here?

Woops, my mistake, was using an older version of PHPMailer!
Rookie error!
On Wed, Mar 8, 2017 at 7:01 PM, Brad<EMAIL_ADDRESS>wrote:

Did you alter the code in any way?
On Wed, Mar 8, 2017 at 1:51 PM, jh1998holden<EMAIL_ADDRESS>wrote:

"The file smtp.php could not be found." is the error I get when signing
up
a user. Everything else works as should. Any help here?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fethica/PHP-Login/issues/76#issuecomment-285134920,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZER4CQfAryiVgpo06PmD3e8t0Ou4cjuks5rjvsYgaJpZM4MXKWf
.

--
This e-mail is only intended for the people to whom it is addressed to.
If by any reason you have received this e-mail by mistake,
please reply to the originator immediately it and delete it.
Any unauthorised copy or fraud of of this e-mail is a violation
of the data-protection act 2010.  Copying or fraud of this
e-mail will have severe consequences which may include prison sentences
This footer also means that this e-mail has been virus scanned but
Holden-Family cannot guarantee that this e-mail is virus free as it may
have been forwarded from a server different from our Holden-Family servers.
Thank You For Your co-operation
Holden Family


bulkPut() with non-inbound keys requires keys array in second argument

Hi,
First of all thank you for Dexie, its simply Awesome!!
I am getting the following error
Unhandled rejection: InvalidArgumentError: bulkPut() with non-inbound keys requires keys array in second argument.
Below is my code which is part of a project. The weird thing is when i run it as a separate html / js it works fine but doesn't as part of my bigger project. Kindly guide.
`$("#btnDatabaseToDB").click(function (e) {
var db = new Dexie("sampleDB");
db.version(1).stores({ Customer: 'CustomerID, Name, Flag' })
db.open()
list = [];
for (i = 0; i < 2; i += 1) {
tmp = {
'Phone': "12121",
'Address': "Address",
'Name': "Name" + i,
'City': "City",
'Email': "Email",
'Flag': 0,
'ImagePath': "sachin"
};
console.log('adding item ' + i);
list.push(tmp);
}
insertRecords(db, list);
});
var insertRecords = function (db, list) {
    custList = [0, 1];
    db.Customer.bulkPut(list).then(function () {
        console.log("Done putting 2000 Testdata all over the place");
    }).catch(Dexie.BulkError, function (e) {
        console.error("Some Customers didn't get downloaded Failed= " + e.failures.length);
    });
    console.log('Finished insertRecords ');
};

`

The error message may be misleading but I believe it is due to that you are missing to provide the inbound primary key 'CustomerID' in the objects you are adding. Must provide that property  in all objects you send into bulkPut()

Did add that as par the objects and also tried by sending array of primary keys. Something wrong no sure.
Updated one!
`$("#btnDatabaseToDB").click(function (e) {
var db = new Dexie("sampleDB");
db.version(1).stores({ Customer: 'CustomerID, Name, Flag' })
db.open()
list = [];
for (i = 0; i < 2; i += 1) {
tmp = {
'CustomerID': i,
'Phone': "12121",
'Address': "Address",
'Name': "Name" + i,
'City': "City",
'Email': "Email",
'Flag': 0,
'ImagePath': "sachin"
        };
        console.log('adding item ' + i);
        list.push(tmp);
    }
    insertRecords(db, list);
});

var insertRecords = function (db, list) {
    custList = [0, 1];
    db.Customer.bulkPut(list).then(function () {
        console.log("Done putting 2000 Testdata all over the place");
    }).catch(Dexie.BulkError, function (e) {
        console.error("Some Customers didn't get downloaded Failed= " + e.failures.length);
    });
    console.log('Finished insertRecords ');
};`

Please ask these kind of questions at stackoverflow.com and tag them 'dexie'.  I've no time to debug this code.  Sorry.

Sure will do that. Thanks.


Some clusters do not transform into markers when clustering condition is based on map zoom level

Summary
I used this library for clustering a set of points in google map. The requirement is such that clustering is based only on zoom level. On max zoom in , all items are unclustered and markers should be shown. But in some cases, the markers are not visible even on maximum zoom in.(Please note that on max zoom out even single markers are displayed as cluster with text 1)
Expected behavior
On tapping cluster(or zooming in manually) with single item, it should zoom in and turn into marker
Observed behavior
Map zoomed in, but cluster remained same. did not showed marker
Environment details

Device make and model, or emulator details - Vivo 1723 (and multiple other devices)
Android version - 8.1.0
Library version and other environment information - Library version 2.0.3

Steps to reproduce
This can be reproduced using the demo app by making minor changes to CustomMarkerClusteringDemoActivity.
(I am minimizing the customization here)

Add a Cluster Renderer to the activity with zoom based clustering condition and also a camera listener to get map zoom level

private class ZoomBasedRenderer extends DefaultClusterRenderer<Person> implements GoogleMap.OnCameraMoveListener{
        private Float mapZoomLevel = 15f;
        public ZoomBasedRenderer(Context context, GoogleMap map, ClusterManager<Person> clusterManager) {
            super(context, map, clusterManager);
        }

        @Override
        public void onCameraMove() {
            //map zoom level gets updated here on camera change
            mapZoomLevel =  getMap().getCameraPosition().zoom;
        }

        @Override
        protected boolean shouldRenderAsCluster(@NonNull Cluster<Person> cluster) {
         //cluster when mapZoomLevel is less than 12f. Else show as marker
         return mapZoomLevel<12f;
        }
    }

Initialise cluster manager by changing the startDemo(boolean isRestore)

@Override
    protected void startDemo(boolean isRestore) {
       //point camera to desired location
       if (!isRestore) {
            getMap().moveCamera(CameraUpdateFactory.newLatLngZoom(new LatLng(18.550931, 74.115642), 9.5f));
        }

        mClusterManager = new ClusterManager<>(this, getMap());
        //set max distance to form a single cluster country wise on max zoom out
        mClusterManager.getAlgorithm().setMaxDistanceBetweenClusteredItems(300);

        //initialise renderer
        ZoomBasedRenderer renderer = new ZoomBasedRenderer(this,getMap(),mClusterManager);
        mClusterManager.setRenderer(renderer);
        getMap().setOnCameraIdleListener(mClusterManager);
        getMap().setOnMarkerClickListener(mClusterManager);
        getMap().setOnInfoWindowClickListener(mClusterManager);

        //set camera listener inside renderer
        getMap().setOnCameraMoveListener(renderer);
        mClusterManager.setOnClusterClickListener(this);
        mClusterManager.setOnClusterInfoWindowClickListener(this);
        mClusterManager.setOnClusterItemClickListener(this);
        mClusterManager.setOnClusterItemInfoWindowClickListener(this);

        addItems();
        mClusterManager.cluster();
    }

3)Modify AddItems() to return only two points. (I am returning two example points that this issue occur)
     private void addItems() {
        mClusterManager.addItem(new Person(new LatLng(18.528146, 73.797726), "Loc1", R.drawable.walter));

        mClusterManager.addItem(new Person(new LatLng(18.545723, 73.917202), "Loc2", R.drawable.gran));

    }

I have the same issue. I found that the GridBasedAlgorithm and the default new ScreenBasedAlgorithmAdapter<>(new PreCachingAlgorithmDecorator<>(new NonHierarchicalDistanceBasedAlgorithm<T>())); behave differently.
With default NonHierarchicalDistanceBasedAlgorithm it stops calling shouldRenderAsCluster() after a certain zoom level (~11) when it was already called once. For zoom levels 1-11 this method is regularly called when you perform zoom actions. Above the zoom level 11 this method will be called once and then never again, until you zoom level is again below 11.
With the GridBasedAlgorithm the shouldRenderAsCluster() gets also called regularly when zoom level is above 11.
So the question is, how can we adjust that behaviour from the NonHierarchicalDistanceBasedAlgorithm?

Also having the same issue 😞

I've confirmed that I can reproduce this issue in this branch:
https://github.com/googlemaps/android-maps-utils/tree/sean/test-774-zoom-cluster
I can also confirm that commenting out the below lines in DefaultClusterRenderer.RenderTask.run() as discussed in https://github.com/googlemaps/android-maps-utils/issues/774#issuecomment-749084415 does force correct behavior:
        @SuppressLint("NewApi")
        public void run() {
            // Commenting out these lines forces correct behavior
//            if (clusters.equals(DefaultClusterRenderer.this.mClusters)) {
//                mCallback.run();
//                return;
//            }

            final MarkerModifier markerModifier = new MarkerModifier();

Hi all! I've opened a pull request here that should hopefully address this use case - https://github.com/googlemaps/android-maps-utils/pull/996.


Upload the video in real time

As a user I want the video to be streamed directly to my computer
Acceptance criteria:

[ ] There’s a working connection between the car and the server.

[ ] The RC application would receive the live stream from the camera.

Connection between front and back end established. Stable and constant video stream available.


pipeline example undocumented dependency on wget

While trying to run the Pipeline of Ensembles (PoE) Example in section 5.1.1. of the ensemblemd documentation, I encountered a problem with the script presented in the documentation. The script shells out to wget to download a file. Wget has been largely superseded by curl and my not be present on a system. This example fails if a system doesn't have wget installed.
I'd suggest using a pure python solution to download the file to minimise the likelihood of the example failing, e.g.:
		r = requests.get('http://gist.githubusercontent.com/oleweidner/6084b9d56b04389717b9/raw/611dd0c184be5f35d75f876b13604c86c470872f/gistfile1.txt', stream=True)

		if r.status_code == 200:
			with open('UTF-8-demo.txt', 'wb') as f:
				r.raw.decode_content = True
				shutil.copyfileobj(r.raw, f)

I've noticed a further discrepancy in the example script. According to the documentation, the script depends on the RADICAL_PILOT_DBURL variable. However, in the example script, the database url is hard coded and the environment variable is seemingly never read.

@sjzasada Thanks for all your comments/input.

Thank you @sjzasada for the feedback and the fix suggestion.


CosmosDBKeyEscape.TruncateKeyIfNeeded return different value after compiled

Version
4.22.2
Describe the bug
If storage key length is larger than 255, compile program, and run it again, this method will return different value. I think this method should return same value each time.

Hi everyone, we reproduced the issue and found that the TruncateKeyIfNeeded method uses .NET's String.GetHashCode method which, according to the documentation, returns the same hash code for the same string during the application execution. A different hash code could be returned if the application is rerun.
@tracyboehrer, should we replace the GetHashCode method with a custom implementation to guarantee the same hash code on every run?


HTML

HTML
User story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS< Git< JavaScript with associated notes listed

add code


StegOnline v2 Initial Release

Setting up a PR to track progress in the StegOnline overhaul.
Key changes will be:

Refreshed, more intuitive UI
Steg operations conducted via a custom Go library, compiled to WASM for significant speed increases
Image previous for bit planes
Ability to view multiple bit planes on top of eachother
Pixel Value Differencing embedding
Integrated steghide and OutGuess encryption, decryption and cracking

All of the above features will be merged and complete by around July, as this is also my Uni dissertation project 😄

This PR will be on hold until v1 of stegogo is released. The Go lib that was originally going to be included in this repo is now being developed as a separate tool here, and will be imported here as a git submodule.

Hello. Do you have any ETA?
Thanks!


Update this example to Cloud Foundry?

Hello,
are there plans to update this example to Cloud Foundry? The Neo environment is more or less in maintenance mode and shouldn't used for new implementations or?
Also It might make sense to use CAP as it has the possibility to hook into business events by using SAP Enterprise Messaging.
Best regards
Gregor

Hello Gregor,
many thanks for your enhancement proposals.
There are two different Eventing features in SAP S/4HANA Cloud system as per 1NN scope item:
1. Enterprise Event Enablement
The enterprise event enablement framework enables the exchange of events in different platforms for
seamless event-driven communication. You use this feature to publish event from your SAP S/4HANA system
and consume these events via Enterprise Messaging Service, e.g. in the app built on SAP Cloud Platform.
Our team has two sample applications for Enterprise Eventing Enablement:

Collaborative Address Validation Using SAP Enterprise Eventing Services app receives events from SAP S/4HANA Cloud via Enterprise Messaging Service using Spring-JMS. Eventing-related code can be found in this package.
The Java application from Situation Handling Automation scenario receives events via a REST-callback registered in Enterprise Messaging Service. Eventing related code can be found in this package.

Apart from CAP framework, there are also other frameworks and libraries that simplify messaging:

SAP Cloud SDK has a library that contains model and service classes generated for SAP S/4HANA Cloud events published on SAP Business API Hub. In addition to that, several helper libraries and samples are published in the com.sap.cloud.sdk.datamodel group on Maven Central.
Java samples for Enterprise Messaging Service are using Java API for Enterprise Messaging from SAP Service SDK.

2. Business Event Handling
With this feature, upon subscription, the events are created and saved in the Outbound Event Queue in SAP S/4HANA system. Using OData service, you can retrieve the events from the event queue with your own application.
This is exactly what this application does. As this approach is not as popular as the first one, we have no plans to update it in the near future. Please refer to the above mentioned samples if you are more interested in the Enterprise Eventing Enablement feature.
If you have any further questions or ideas, please don't hesitate to contact us.
Best regards,
Nikolay


Unable to get minimal SPI example to work

Hi,
i am able to get the SPI bus to work using the MissionControl as well as using CoolTerm.
Unfortunately the same cannot be said about using the Python library.
Everything works up to the transfer call.
The Traceback is as follows:
  File "******\binho_test.py", line 153, in <module>     rxData = binho.spi.transfer(txData, 4, chip_select=csPin, invert_chip_select=invertCS)   File "C:\Python39\lib\site-packages\binho\interfaces\spiBus.py", line 200, in transfer     response = self.api.writeToReadFrom(writeFlag, readFlag, numBytes, bytes(chunk))   File "C:\Python39\lib\site-packages\binho\comms\drivers\spi.py", line 159, in writeToReadFrom     raise DeviceError(f'Error Binho responded with {result}, not the expected "-SPI0 RXD ..."') binho.errors.DeviceError: Error Binho responded with -NG, not the expected "-SPI0 RXD ..."
Any help is welcome

Hi, Thanks for reaching out about this, and sorry to hear about the trouble you're running into.
Would you mind checking the device firmware version, and updating it if it's not already running the latest? You can check the firmware version using the binho info CLI command -- it will indicate if the version is the latest or not. If necessary, you can update to the latest version using the binho dfu -l CLI command. If you still run into trouble running the example, please let me know the firmware version on your device, the MissionControl version that you're using, and we'll get to the bottom of this ASAP, however I suspect the issue might be resolved with the firmware update.

Hi @jmg5150 ,
the firmware update indeed solved the issue.
Thank you for your quick support.


Kubernetes v1.20 upgrade

Task #2658
Related K8s cahanges:
https://github.com/kubernetes/kubernetes/pull/95382
https://github.com/kubernetes/kubernetes/pull/94938
https://github.com/kubernetes/kubernetes/pull/95076
https://github.com/kubernetes/kubernetes/pull/94182
https://github.com/kubernetes/kubernetes/pull/96033

/azp run

/azp run

Single machine installation failed while trying to untaint the master: error: taint "node-role.kubernetes.io/control-plane:NoSchedule" not found.
2021-11-04T11:47:48.9580627Z INFO cli.engine.ansible.AnsibleCommand - TASK [kubernetes_master : Untaint all tainted masters] *************************
2021-11-04T11:47:49.7034761Z ERROR cli.engine.ansible.AnsibleCommand - failed: [ci-devsnazurrhelflannel-single-machine-vm-0] (item=ci-devsnazurrhelflannel-single-machine-vm-0) => {"ansible_loop_var": "item", "changed": true, "cmd": ["kubectl", "taint", "node", "ci-devsnazurrhelflannel-single-machine-vm-0", "node-role.kubernetes.io/control-plane:NoSchedule-", "node-role.kubernetes.io/master:NoSchedule-"], "delta": "0:00:00.090191", "end": "2021-11-04 11:47:49.618932", "item": "ci-devsnazurrhelflannel-single-machine-vm-0", "msg": "non-zero return code", "rc": 1, "start": "2021-11-04 11:47:49.528741", "stderr": "error: taint \"node-role.kubernetes.io/control-plane:NoSchedule\" not found", "stderr_lines": ["error: taint \"node-role.kubernetes.io/control-plane:NoSchedule\" not found"], "stdout": "", "stdout_lines": []}

/azp run

Testing in progress...
✔ single machine installation: apply + re-apply

/azp run

/azp run

/azp run

/azp run

/azp run

/azp run

/azp run

Testing in progress...
✔ upgrade from v1.0 (1 master + 2 nodes)
✔ upgrade from v1.1 HA (3 masters + 2 nodes)
✔ upgrade from v1.1 aarch64

:x: @atsikham but it fails when upgrading single machine installation (reproduced on RHEL environments)
The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?"
2021-11-09T08:23:25.3851757Z 08:23:25 INFO cli.engine.ansible.AnsibleCommand - TASK [upgrade : k8s/kubelet-cm | Get kubelet config from ConfigMap] ************
2021-11-09T08:23:27.0544933Z 08:23:27 ERROR cli.engine.ansible.AnsibleCommand - fatal: [ec2-35-180-21-138.eu-west-3.compute.amazonaws.com]: FAILED! => {"changed": false, "cmd": ["kubectl", "get", "cm", "kubelet-config-1.19", "--namespace", "kube-system", "--output=jsonpath={.data.kubelet}"], "delta": "0:00:00.076271", "end": "2021-11-09 08:23:26.831562", "msg": "non-zero return code", "rc": 1, "start": "2021-11-09 08:23:26.755291", "stderr": "The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?", "stderr_lines": ["The connection to the server <IP_ADDRESS>:6443 was refused - did you specify the right host or port?"], "stdout": "", "stdout_lines": []}

/azp run

/azp run

Fixed
✔ upgrade from v1.0 (1 master + 2 nodes)
✔ upgrade from v1.1 HA (3 masters + 2 nodes)
✔ upgrade from v1.1 aarch64 (1 master + 2 nodes)
✔ upgrade from v1.2 single machine installation (1 master)
✔ apply aarch64 (1 master + 2 nodes)
✔ apply x86_64 (1 master + 2 nodes)
more testing in progress

/azp run

/azp run

/azp run

/azp run

/azp run

/azp run


Can't intsall using npm

I was trying to get started with electron but I got an error log during install

I wonder if is something wrong I am doing or is something with the package since installing with npm is usualy simple.

I get the same error.

Are you using a proxy?

https://github.com/atom/electron/issues/1578#issuecomment-99255271
Yes, and I added settings in .apmrc file(https-proxy and http-proxy)

electron-prebuilt doesn't respect .apmrc proxy settings. It uses nugget to download Electron, which doesn't seem to work with proxies.
You should raise an issue on electron-prebuilt or nugget's repos.

I'm closing this since there is a corresponding issue in electron-prebuilt.


Fixes up nomenclature on L1 and L2 norms in triplet losses.

I had a hard time figuring out why my siamese model was not being able to converge, i.e., it was always converging to the pre-defined margin. After a while, I found out that the nomenclature used along the triplet losses (L1 and L2) might be wrong according to their mathematical formulation.
Let's start with the package losses/metric_learning and function pairwise_distance():

At L34, the euclidean distances between all samples are calculated;
According to the euclidean distance definition, it is initially calculated by summing up the square of the difference between every dimension;
From L47 to L53, it is optionally possible to reduce the distance with a square root. Hence, we have the square root of the previously calculated distance, thus creating the L2-distance.
On the other hand, if we decide not to square root the previously calculated distance, we are not returning the L1-distance, as we have already calculated the sum of the square of the differences. Instead, we are returning a squared version of the L2-distance, usually called squared-L2.

This might lead users in thinking that using the L2 argument they are using the euclidean distance, but they are using its squared version in which, regarding some problems and architectures, will not convergence.
Therefore, this PR proposes to tackle such an issue and rename every L1 to L2 on the triplet losses, as well as every L2 to squared-L2. Please, correct if I am wrong, but this definitely fixed my convergence problem.
Best regards,
Gustavo.

@lc0
You are owner of some files modified in this pull request.
Would you kindly review the changes whenever you have the time to?
Thank you very much.

No problem, it's fine! Sorry for taking so long, just passed down the pre-commit script and updated this PR. Thanks again for handling this out!!

Thank you for contribution @gugarosa! It looks like the existing tutorials do not use L1, so should be fine!


Night sky tool (spherical planetarium)

Offline spherical planetarium function within the "astronomy" tab of the application to assist the user in the identification and observation of planets, stars, constellations, satelites and other celestial bodies. In addition, extra features such as autocalibrage, gyroscope positioning/location identification, free navigation mode. A simple and open source application that adds this functionality as exemple is Sky Map.

Another example app: https://github.com/tengel/AndroidPlanisphere

As the focus of the planetarium will be celestial navigation, the first objects to think about are the main constellations and their respective stars that are used to identify North and South, direction, time and other location parameters. We have three types of constellations: austral (southern hemisphere), boreal (northern hemisphere) and equatorial constellations, (located near the Celestial Equator) like the constellations of the zodiac. Then, the planets and visible stars of the earth: Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Sun and Moon. Finally, it would be important to see some of the imaginary lines of support and reference: the terrestrial equator line, the observer's horizon line (based on the location of the cell phone and the gyroscope), perhaps latitude and longitude angle markings. The Sky Map application (also made in Kotlin) demonstrates some of these objects. Soon I will be listing here specifically the name of the stars and constellations.

@GuiSousa135 Thanks! As for the planets, I'll probably only add Mercury, Venus, Mars, Jupiter, and Saturn since the others aren't visible to the naked eye. I may start with just the stars, because I'm not too sure how important the planets are to celestial navigation (more research needed) - and they would mainly just be for people to stargaze while camping.
I'm going to start a list in my other comment, which I'll update as I get more information.


Remove useless magic method invocation.

Perhaps this is just me being obtuse and failing to see the bigger picture, but it seems to me that just invoking these methods from __call is functionally equivalent to them being public. Here is the commit that introduced this change: https://github.com/illuminate/database/commit/552879846ce960e0795b98bbecb6562cfa2bf7b3

Not going to change this mid-release.


How can I fix error about DndProvider ?

Hello Support Team, how are you ?
Now I am using react-dnd to development job board as like trello.
import { type PropsWithChildren } from 'react'

import { DndProvider } from 'react-dnd'
import { HTML5Backend } from 'react-dnd-html5-backend'
import { TouchBackend } from 'react-dnd-touch-backend'
import { isMobile } from 'react-device-detect'

const DndCtxProvider = ({ children }: PropsWithChildren) => {
  const backend = isMobile ? TouchBackend : HTML5Backend
  const options = isMobile ? { enableMouseEvents: true } : {}

  return (
    <DndProvider backend={backend} options={options}>
      {children}
    </DndProvider>
  )
}

export default DndCtxProvider

when I use this code. DndProvider is showing me erorr message like this.
Type '{ children: ReactNode; backend: BackendFactory; options: { enableMouseEvents: boolean; } | { enableMouseEvents?: undefined; }; }' is not assignable to type 'IntrinsicAttributes & DndProviderProps<any, any>'.
  Property 'children' does not exist on type 'IntrinsicAttributes & DndProviderProps<any, any>'.

this is versions I am using for react-dnd
    "react-device-detect": "^2.2.3",
    "react-dnd": "^13.1.1",
    "react-dnd-html5-backend": "^11.1.3",
    "react-dnd-touch-backend": "^14.0.0",

how can I fix this problem ? now I am working with Next App router. will wait for your help. thanks

Hi, please use react-dnd version 15.0.0 or later, as support for the children prop in DndProviderProps was introduced in version 15.0.0. For optimal performance and stability, ensure you're using a version above this one.

Hi, please use react-dnd version 15.0.0 or later, as support for the children prop in DndProviderProps was introduced in version 15.0.0. For optimal performance and stability, ensure you're using a version above this one.

then how can we convert this code if I use 15.0.0 ?
  const [, drag, preview] = useDrag({
    item,
    begin: () =>
      dispatch({
        type: 'SET_DRAGGED_ITEM',
        payload: item
      }),
    end: () => dispatch({ type: 'SET_DRAGGED_ITEM', payload: undefined })
  })

In react-dnd v15.0.0, the begin method isn't available anymore. Instead, you can define the item property as a factory method within the useDrag hook. This factory method will be invoked at the initiation of the drag operation and should return an object representing the draggable item. Below is a detailed example for reference:
  const [{ isDragging }, drag] = useDrag({
    type: "message node",
    item: () => {
      console.log("start")
      return {id: "message node"};
    },
    collect: (monitor) => ({
      isDragging: !!monitor.isDragging(),
    }),
    end: () => {
      console.log("end")
    }
  });

      dispatch({
        type: 'SET_DRAGGED_ITEM',
        payload: item
      }),

so should I call dispatch function in typescript item : ()=>{ //here  } ?

Yes, that's right.

But I have a question. how can I use item value for code.

I think we can't use item.

The item function within the useDrag hook is responsible for returning the drag item, and the item you plan to send as a payload in the dispatch call can be a different variable or value that represents the item being dragged.

I tried your way, but this is wrong. how can I solve this problem ?

Please replace the comma at the end of the dispatch statement with a semicolon.

I'm using version 11.1.3 and have the same error.
It seems to be a TS error only, because the code is working well.
A @ts-ignore annotation solved the problem

Hi, please use react-dnd version 15.0.0 or later


Make remove-member remove active invites, too

RemoveMember (and remove-member command) will remove active invites if they exist for a username (keybase, social, or email).
Tests added for all three situations.
Also slight wording change in list-members to say "added by..." instead of "invited by..."
> kbcl team add-member haaa --user=t_ellen --role=reader

> kbcl -d=0 team list-members haaa
haaa  owner    wool
haaa  reader*  t_ellen  (* added by wool; awaiting acceptance)
> kbcl -d=0 team remove-member haaa --user=t_ellen
Are you sure? [y/N] y
Success! t_ellen removed from team haaa.
> kbcl -d=0 team list-members haaa
haaa  owner  wool

cc @malgorithms

Ok, --email flag changes are in, as are some improved error messages.


fix(translations): French translation (typo fixes)

Hello,
it's my first commit.
I just corrected some typos.
Best regards

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Closing and re-opening to kick CI into gear 🤞

Thanks for the contribution @xavier-GitHub76! Please reach out on Slack if you ever want to talk about working on additional PRs!

Hello,
the commit was merge but the translation is not present in superset V3

"Schedule a new email report" should be added to https://github.com/apache/superset/tree/3.0/superset/translations/fr/LC_MESSAGES
/messages.json
"Scheduled task executor not found" should be added to https://github.com/apache/superset/tree/3.0/superset/translations/fr/LC_MESSAGES
/messages.json

I update the LC_MESSAGES (https://github.com/apache/superset/pull/25873)


Text to speech for godot

Hello sir please make a plugin for godot on text to speech. It will be helpfull for me

Hi! You an find my TTS Plugin here: https://github.com/i-bardinov/Godot-Android-Text-to-Speech

if you have any problems with plugin you can create an issue in tts repository


Issues on Explorer when DevToolbar is not open

First of all there is no documentation what methods are used on the console object, because of this it is hard to create a failsafe console object => in Explorer 11 there is no console when devTools is not open.
A typical error situation when we start with devTool open and close in one point of time -> JS errors during application usage

Make object with no-op log and group functions and then pass to options.logger


Collapse all button

A user should be able to easily collapse all expanded definitions in the definition list

Closes pr #201


TypeError: Uint8Array.from is not a function - Safari 9.0.3 OSX 10.11.3

TypeError: Uint8Array.from is not a function. (In 'Uint8Array.from(e)', 'Uint8Array.from' is undefined)

on lightwallet.min.js:1:10611
This error is in Safari Version 9.0.3 (11601.4.4) OSX 10.11.3

Thanks! Apparently Safari has a slightly different implementation of Uint8Array than other browsers. I'll try using "new" there and see if it helps.

Fixed in https://github.com/ConsenSys/eth-lightwallet/commit/97985df84abb90ef10dd1ef488bcb995dcd846a5.


Custom name for the MC_ resource group

By default, when using a existing VNet (not by default and I don't know why), a MC_ resource group is created. The name is random (twice the same generated string: MC_salmonsea-3086035e-rg_salmonsea-3086035e_westeurope) and it could cause an issue when naming policies are in place
Describe the solution you'd like.
A parameter to specify the RG name like we have with AKS (--node-resource-group)
It may be planned or available in CLI later on but I prefer to track it because it'd be showstopper for several of my customers.

Thanks @lgmorand . I added this item to our backlog.

I have a customer who has policies that require the presence of certain tags on each resourcegroup. So in addition to a custom name for the MC-resourcegroup, could we also add custom tags to it during provisioning?

see also https://github.com/microsoft/azure-container-apps/issues/345

I have a customer that needs either to add tags to the managed resource group and/or decide what the name of the managed resource group will be because they have policies based on tagging and resource group names that prohibits the creation of resources like public IPs, Load Balancers that are deployed in the managed RG and currently providing a general exclusion for resource groups prefixed with “MC_” isn’t ideal.

I have a customer that needs either to add tags to the managed resource group and/or decide what the name of the managed resource group will be because they have policies based on tagging and resource group names that prohibits the creation of resources like public IPs, Load Balancers that are deployed in the managed RG and currently providing a general exclusion for resource groups prefixed with “MC_” isn’t ideal.

@raddaoui how do you go about, creating policy exclusion generally for prefixed resource groups ?
I like to implement container apps environments and app using devops pipelines, however im not able to exclude policies befor I know the name of the MC_ resource groups

I would rather not see this resource group at all - especially the Public-IP although the capps env is VNet integrated. Our policies mostly block Public IPs, so we always need exemptions for this cases.

Hi,
I believe this issue has been blocking me for the last few weeks also. I have been trying to create a container app with a new / existing vnet with it always failing with the error: "Managed environment failed to initialize due to cluster provision failed"
I (and Azure Support) were not able to find any more information to give us a clue as to what the issue really was. Support wanted to inspect the vnet I was creating so I kicked off another deployment today to find it complete successfully.
To cut the story short I realised that creating a container app environment using an existing vnet creates the mentioned MC_ resource group. The issue I was facing is that we have policies enforced by IT for the naming convention of resources and resource groups which these automatically generated resources do not comply with.
I will raise this with our IT in the short term as I do not know if they intend to re-apply the policy but it would be very helpful to be able to control the naming of these resources (and as the comments above state, their tags).

@torosent why the resources that are inside the MC_ resource group cannot be created inside the resource group where everything else is?? What happens if I need to move the container app from one subscription to another one?

I'm joining the club here. I think the MC_ resource group should not be shown at all since consumers should not need mess with it. Alternatively offer the possibility to give it a user-defined name.

I'll make the comments of everyone else here mine, too. Either allow it to be custom, or make it invisible to the user.

I'll make the comments of everyone else here mine, too. Either allow it to be custom, or make it invisible to the user.

I think it's already in preview at least, it's available in ARM

This option is available in Workload Profiles - Consumption/Dedicated. It will not be available in Consumption Only mode

@torosent Thanks for the update :) For our curiosity, why a differient behavior for consumption only mode, since it also create a RG with a non compliant name ? Can we expect it to disappear totally ?

I'll make the comments of everyone else here mine, too. Either allow it to be custom, or make it invisible to the user.

I don't think we are in a place where it can be invisible/hidden as I believe you need access to the load balancer if you want to use a private link to the CAE. Hopefully use cases such as this will be matured in the future which may lead to not needing to access them directly but for the time being, the ability to rename the RG would be the way to go.

Closing as customizing the resource group name is supported for workload profile environments: Managed resource group for workload profiles environments.  Please reopen if needed.

@cachai2 Hi Cary
could you at least please explain why we don't have the same behavior with consumption only ?


Flip the order of schedule and username

When running /who's oncall you want to scan down the list for the schedule names not the usernames, the individual oncall for a given schedule is secondary information.
/cc @technicalpickles for review

Seems reasonable to me. :+1:

Closing as stale


Only include debian backports if $docker::use_upstream_package_source is true

When I set $docker::use_upstream_package_source to false, I don't expect this module to still attempt to manage an apt repo for me, even if it is backports.
I've moved the inclusion of backports down so that its only included if $docker::use_upstream_package_source is true.

Nevermind


First pass at mixed module swift support

This PR adds mixed module swift support with the constraints that Xcode
and the PodSpec supports. An objc library may depend on a swiftmodule
and the swift module implicitly imports the public objc module.
Currently, all sources are propagated to a single swift_library to
produce a single swiftc invocation. The swift interface header is
included in a public module map, while the public headers are exposed
to the swiftc invocation through a private module map
Additionally, it cleans up the rule for module map to be simpler and
more easily used in this context. The BazelTarget for this rule
additionally passes named arguments to improve readability.
Note: because we reduce sources into a single swift library, it must
consider subspecs that are included, otherwise, it would pull in sources
from the entire podspec. Currently it uses Default subspecs. As a
followup, we need to add an option to new_pod_repository to select
subspecs. Additionally, I'll follow up to fix the ad-hoc targets in
ObjcLibrary
It also adds FBSDK as a build test.

I'm going to land what's here as a first pass, I think we can issue some followups to keep scope down ( and I'm running up against deadlines ) So far I've tested it with a handful of permutations of Swift sources:

mixed swift modules like FBSDK
pure swift modules and imported through the ObjcLibrary shim like Promises

I'm planning to run this against a broader set of Pods.


Got MemoryError while training

I've used a Google Cloud with 2 x NVIDIA Tesla K80 (12GB for each), 16 vCPUs, 16 GB memory.
I've trained with batch_size=32 and 16 but always got MemoryError. Can I know what is the best computer requirements for training?

I use one 1080ti (11gb) + 64gb ram, batch_size=32 works fine under this setting. K80 should be no prob. Looks like you need to trade off memory and speed.


Gpio or voice activation?

Cool project and blog. Are you maybe planning to add also activation with a button or hotword activation (always listening for hotword) and then after that activate speech from a usb microphone so that alexa could respond.

Thanks! There is a great repo that includes a hardware button here. I referenced it in one of my blog posts but you may have missed it :)
No plans to do a hotword right now.

Thats sammachins I have some security considerations since you have to deploy a heroku app nonlocally with all the credentials that one i dont want to use. The amazon one doesnt have a button supported yet.

Yours looks the best, do you have some pro-tip how I could implement that for myself? (The button support)


work tyler and I did thursday

There are two many conflicts in this pull request.  We need to resolve these issues first

I think all these conflicts might be caused from us running the virtualenv.py script to create the flask virtual environments. the flask directory maybe should not be part of the git repo because it is created by the virtualenv.py scriipt.

That’s what I’m thinking…I will talk with Tyler and get this removed

On Oct 7, 2016, at 8:16 AM, Nicholas Schoonover<EMAIL_ADDRESS>wrote:
I think all these conflicts might be caused from us running the virtualenv.py script to create the flask virtual environments. the flask directory maybe should not be part of the git repo because it is created by the virtualenv.py scriipt.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/flyballlabs/threatdetectionservice/pull/3#issuecomment-252280018, or mute the thread https://github.com/notifications/unsubscribe-auth/AFT52HwanTigaJWLuJr8mFpLBAk0mY3Nks5qxmJagaJpZM4KQne7.


IOS App crashes immediately after opening

Unable to build successfully on ios version 4.0.0
App crashes immediately after opening
Xcode Run Error Code
ld: warning: dylib (/Users/stevenbang/Library/Developer/Xcode/DerivedData/Runner-gbumgthjyvsepndtppsofgqtsjpa/Build/Products/Debug-iphonesimulator/XCFrameworkIntermediates/Jumio/Liveness/Jumio.framework/Jumio) was built for newer iOS Simulator version (14.0) than being linked (11.0)

flutter doctor
[✓] Flutter (Channel stable, 2.8.0, on macOS 12.2.1 21D62 darwin-x64, locale zh-Hant-TW)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] Connected device (2 available)
• No issues found!

Podfile
# Uncomment this line to define a global platform for your project
platform :ios, '11.0'

# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
  # use_frameworks!
  use_modular_headers!

  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
    end
    flutter_additional_ios_build_settings(target)
  end
end

Dart SDK
environment:
  sdk: ">=2.15.0 <3.0.0"

Xcode

Iphone 13 Simulator  (ios 15.2)

Hello @stevenBang
which version of Cocoapods are you using? Please make sure you're on 1.11.0 or newer.

@stevenBang in that case, please reach out to Jumio support.

@bratapfelmus ok...
but what does it mean
built for newer iOS Simulator version (14.0) than being linked (11.0)

Hello @stevenBang
please contact support!

@bratapfelmus  Why close this issue

@stevenBang please contact Jumio support about the issue you are having.

@JumioMobileTeam OK, I have contacted them on their official website, but have not received a reply.