Release v0.72.0

11-28-2018 13:29 PST
Bigtable

Bigtable: publish emulator to maven central (#4106)

Dataproc

Regenerate dataproc client - Adds workflow templating (#4110)

IoT

Regenerate IoT client (#4069)

Storage

Storage NIO: Add new retry options in CloudStorageConfiguration (#3869)
Storage: Added feature to change host name of signed url (#3910)

Spanner

Spanner: fix code formatting (#4105)

BigQuery

BigQuery Storage: Add shim layer settings and configuration (#4022)
Fix BigQuery NullPointerException when estimatedFields is empty (#3984)

Datastore

Datastore: Add skippedResults in QueryResults (#4093)

Implementation Changes

Add missing fields on MonitoredResourceUtil (#3887)
Add helpers to convert core Date class with java.util.Date class (#3911)

Dependencies

[Snyk] Fix for 1 vulnerable dependencies (kr.motd.maven:os-maven-plugin) (#4097)

Documentation

Cloud Asset fix README links (#3985)

Internal / Testing Changes

Regenerate language client: remove unused imports (#4071)
Regenerate speech client: remove unused imports (#4077)
Regenerate container client (#3979)
Bump next snapshot (#3981)
Add synth metadata for many clients (#4020)
Regenerate websecurityscanner client (#4080)
Delay download of Bigtable emulator (#4102)
Trace: list response returns empty list instead of null (#4079)
fix: google-cloud-testing/google-cloud-gcloud-maven-plugin/pom.xml to reduce vulnerabilities (#4100)
Update generated code: List responses return empty list instead of null (#4104)
Moving surefire-junit4 out of the dependency lists to allow others to better run tests. (#4058)

Also, can we sort the API sections alphabetically?

Release is at https://github.com/googleapis/google-cloud-java/releases/tag/v0.72.0


AbstractFactory - how does it know which WriterFactory to return

In the AbstractFactory example, I'm curious where the concrete class of WriterFactory.php is located. i.e. where is the code that determines if the factory should return the Windows WriterFactory or the Unix WriterFactory. Apologies if this is obvious, I just couldn't find it. Thank you.

Hey @alexkb! It's not obvious because it's not here. The client code would decide that and so it's simply not implemented here. You could do that with a Strategy pattern or with a simple if-else in the code.


Provide a product drop-down that contextually changes the documentaion

In the "Applies to" section it'd sure be nice to have a drop-down box at the top with a per-product choice, such as "Exchange Server 2010" or "Exchange Online" than changes the subsequent content that applies only to that product.
I know it's a big ask, but the current shotgun approach to just throwing up all of the documentation that MAY or MAY NOT apply to a certain product makes it a guessing game that get old really quickly.
Thanks!

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

ID: c2f0166e-7855-9525-c93a-da83f82e48a8
Version Independent ID: 1808c549-b2cf-cd24-559c-7ef30642b08a
Content: Add-DistributionGroupMember (exchange)
Content Source: exchange/exchange-ps/exchange/users-and-groups/Add-DistributionGroupMember.md
Service: exchange-powershell
Product: unspecified
GitHub Login: @chrisda
Microsoft Alias: chrisda

@bingoglossy you've described exactly what we're planning to implement. It was part of the overall migration plan, to be lit up after the topics were on docs.microsoft.com. It's just taking a lot longer to make it work than we originally anticipated.
Thanks for the feedback.

Chris, thanks much! I already mentioned it to MS on a few PSS cases I've
had. I know it's a HUGE amount of work to get that granular, but it'll be
sweet when it's done.
On Fri, May 18, 2018 at 10:34 AM, Chris Davis<EMAIL_ADDRESS>wrote:

@bingoglossy https://github.com/bingoglossy you've described exactly
what we're planning to implement. It was part of the overall migration
plan, to be lit up after the topics were on docs.microsoft.com. It's just
taking a lot longer to make it work than we originally anticipated.
Thanks for the feedback.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/office-docs-powershell/issues/1055#issuecomment-390262759,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ6Z8A9Ils2QgcqhuZVgg8jywM-BKV0rks5tzvgUgaJpZM4UE67s
.

@bingoglossy Thank you for this feedback
It looks like Chris has addressed your request and answered your question. I am going to close this issue. If the issue is not resolved please reopen the issue.


QuantAwareTrainRangeLinearQuantizer

QuantAwareTrainRangeLinearQuantizer
where is activations scale and zero param in quantity model? I just only see weights scale and zero param in model

I found only Relu support Quantization, but in my model no Relu but prelu.


nerf dungeon dragon damage

About the PR
getting 4 shot bad
now does 15 brute, spread across each subtype
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl:

tweak: Dragons on expeditions do less damage now.

pro

which round did the dragon style on you

Seems like spite PR, the dragon is at disadvantage most of the times.

about to replay search the deltanedas getting owned highlight reel

skill issue

@metalgearsloth @Emisse @DogZeroX no pros i did not die to make this pr
david mclymonds got trolled this time

pro

ok lets pull out the lilten vore compilation oh wait he doesnt play salv :trollface:

Unrobust.


Issues Rendering a TextInput within FlatList > ListHeaderComponent

I am trying to render a TextInput at the top of a FlatList so that the user can search / filter the list of data.
      <FlatList
        ...
        data={[...]}
        ListHeaderComponent={(): React$Element<*> => (
          <TextInput
            ...
            onChangeText={(value: string): void => this._onChangeText(value)}
            value={this.state.query}
            ...
          />
        )}
        ...
      />

Every time the value prop given to TextInput changes, the keyboard dismisses rather than staying active and allowing the user to type. It looks as though the entire TextInput component is unmounted and re-mounted, forcing this odd behavior.
I've used this pattern on ListView's renderHeader with great success. Would like to see it working on FlatList as well!

^^ Yup.
I had to move it out.
<View style={{ flex:1 }}>
   <SearchBar {...props} />
   <FlatList {...props} />
</View>

Thanks for the heads up. The problem with moving it out is that it won't scroll with the flat list though.

Ah..Yes.  That is why I also put it in the ListView renderHeader
Let's hope this is fixed soon

Ah. Yeah, definitely an issue IMO. Most other UX patterns I've seen with a search at the top of a list will scroll with the list (iOS messages, for example).
My ListView had a SearchBar being rendered from react-native-elements using renderHeader, and it worked great. If I'm forced to take it out of the list and have it stick to the top, I may wait to implement FlatList.
I'll keep an eye out here for updates.

Yeah, I'm running into this case as well. Attempting to use a TextInput to search a SectionList while still having it move with the rest of the items.

Any progress on this issue? I'm trying to convert over from sgListView since FlatList doesn't have the invisible-rows issue, but if I can't search/filter the list it's much less valuable.

I'm actually not experiencing this anymore. I've got search bars passed into header components and they work great wil flat lists and section lists.

@gregblass do you have a code sample? I tried upgrading to rn45 to make sure it wasn't that, still no luck.
My code looks like:
Main Component

<FlatList
data={this.state.beerList}
ItemSeparatorComponent={() => }
ListHeaderComponent={() => }
initialNumToRender={20}
refreshing={this.state.dataFetching}
onRefresh={this.loadBeerList(0)}
keyExtractor={item => item.BeerId}
renderItem={({ item }) => (
<BeerTeaser {...item} pageName="BeerCellar" onPress={() => this.gotoBeerProfile(item.BeerId, unescape(item.BeerName), unescape(item.BeerImage), item.YourRating)} />
)}
keyboardShouldPersistTaps="always"
keyboardDismissMode="on-drag"
/>

Render Page Header Component (there's some more, but this is the key stuff):

<Image source={require('../images/pageheaders/headercellar.png')} style={styles.PageTopImage}>
<View style={{flex: 1, backgroundColor: 'rgba(220, 20, 60, 0.8)', flexDirection: 'column', alignItems: 'center', justifyContent: 'center',}}>
<View style={{justifyContent: 'center', alignItems: 'center'}}>
{topText}

{this.props.anonymousUser === false &&

<View style={{justifyContent: 'center', alignItems: 'center'}}>
{bottomText}{this.props.beerCellarText}

<View style={{justifyContent: 'center', width: 270, paddingTop: 10}}>
<TextInput
ref = "searchKeywords"
editable = {true}
autoCorrect = {true}
autoFocus = {false}
selectTextOnFocus={true}
autoCapitalize = "none"
placeholder = {searchBoxText}
returnKeyType = "go"
onChange={this.props.setSearchText.bind(this)}
underlineColorAndroid='transparent'
style={[styles.FormItem, styles.TextInputStyle, styles.FontSize16]}
/>

}

I'm also getting this issue still on the latest ReactNative.

@joncursi here's how I got it to work:
The FlatList Component:
<FlatList
data={this.state.beerList}
ItemSeparatorComponent={() => }
ListHeaderComponent={this._headerComponent}
initialNumToRender={20}
refreshing={this.state.dataFetching}
extraData={this.state}
keyExtractor={item => item.BeerId}
renderItem={({ item }) => (
<BeerTeaser {...item} pageName="BeerCellar" onPress={() => this.gotoBeerProfile(item.BeerId, unescape(item.BeerName), unescape(item.BeerImage), item.YourRating)} />
)}
keyboardShouldPersistTaps="always"
keyboardDismissMode="on-drag"
/>
Then the _headerComponent function calls the headercomponent:
_headerComponent = () => ;
The key for getting the header to interact correctly (sorting and searching) was the extraData={this.state} line in the FlatList.
Good luck!

@angusmccloud thanks for posting. Tried it out in my app but wasn't successful. Anyone else get this to work? I'm about to yank my search bar out of the header and just deal with the poorer UX.

I'm happy to report that I was able to get this to work with a rather simple fix! Using the same example as posted in the original comment, I just rendered the ListHeaderComponent directly as a ReactComponent instead of a render function:
      <FlatList
        ...
        data={[...]}
        ListHeaderComponent={
          <TextInput
            ...
            onChangeText={(value: string): void => this._onChangeText(value)}
            value={this.state.query}
            ...
          />
        }
        ...
      />

This enables React to properly diff the ListHeaderComponent prop across changes, keeping the original TextInput mounted and just changing the value.

Unfortunately, my workaround above doesn't quite work for SectionList, but that's another issue I guess.

Hi, guys any update? I am facing the same issue. If I render it as a separate component it works fine, otherwise text changes on input change.

Thanks @angusmccloud . Adding extraData={this.state} this to FlatList worked for me


Add suport for AAT lookups

Although there is more work to be done before fonttools can handle morx tables,
I’d like to merge the current state of the AAT work into master so it does not bitrot.

Curious why you're investing into implementing AAT at this point, aren't almost all fonts OpenType or Type1 nowadays?

The state tables model in AAT is said to be about 3x faster in processing than OpenType Layout, especially for complex scripts. It's kind of like the difference between a compiled (AAT) and an interpreted (OTL) language.
Glyph layout based on the basis of a single font is a finite business, so it could be expressed using a static "cache", which morx largely is, but OpenType uses a dynamic model and queries all the active lookups on every glyph in a run. Of course a platform can implement a custom cache on their own, but that wouldn't be portable.
On the other hand, AAT (esp. morx) already can serve for this, and has the benefit of being supported on the Apple platforms Mayberry natively, so there is an independent implementation which makes testing easier.
AFAIU, OTL tables can be losslessly converted into morx state tables (though it may require automated addition of some glyphs). If such an automatic module was developed, it could give a significant speed boost for the processing.
I could imagine makers of platforms like Android or Chrome welcoming such a development.

Even if one does not go full AAT model, some of its tables seem to be interesting. For example opbd table seems to be more useful from implementation perspective (doing line breaking and justification) than the corresponding GPOS tables that are more cumbersome to use (no wonder that they are virtually unused).

AFAIU, OTL tables can be losslessly converted into morx state tables (though it may require automated addition of some glyphs). If such an automatic module was developed, it could give a significant speed boost for the processing.

This statement is only partially true.  It's prohibitively hard to convert anything using the Indic shaper to such AAT fonts.  For Universal Shaping Engine, it might be possible, but would require encoding the Unicode data part of USE in the font, which negates the point of USE.  For Arabic, Hangul, Thai, and Latin/simple scripts this is possible, but then it's of questionable import, since code still has to be prepared for super-slow fonts and as such needs to cache shaping results the way everyone currently is doing.


Allow adding annotations to pod when using kubectl run

When using kubectl run to run a shell for debug/diagnostic purposes, it would be really useful to be able to add annotations to the created pod. The use case I have in mind is to control sidecar injectors, for example, if you're using Istio with automatic sidecar injection, you may not want the created pod to have the sidecar injected, to do this you need to pass set the annotation sidecar.istio.io/inject: false. Or, if you have Istio configured to opt in to sidecar injection, you may decide that you want your debug shell to have the sidecar injected, in which case you would want to set sidecar.istio.io/inject: true.
Here's an example of what using this feature might look like:
kubectl run -i --tty --rm centos --image=centos --restart=Never --annotation=sidecar.istio.io/inject=false -- sh

Work around to do this using the overrides flag:
kubectl run -i --tty --rm centos --image=centos --restart=Never \
  --overrides='{ "apiVersion": "v1", "metadata": {"annotations": { "sidecar.istio.io/inject":"false" } } }' \
  -- sh

/kind feature

/remove-lifecycle rotten

/sig cli
/area kubectl
/priority backlog

Thanks for your request!  kubectl run is a bit out of control with the number of options it offers today.  Because we support setting labels, annotations seems like a reasonable addition.  Generally we'd like to avoid adding more flags if at all possible.
Options:
      --allow-missing-template-keys=true: If true, ignore any errors in templates when a field or map key is missing in
the template. Only applies to golang and jsonpath output formats.
      --attach=false: If true, wait for the Pod to start running, and then attach to the Pod as if 'kubectl attach ...'
were called.  Default false, unless '-i/--stdin' is set, in which case the default is true. With '--restart=Never' the
exit code of the container process is returned.
      --cascade=true: If true, cascade the deletion of the resources managed by this resource (e.g. Pods created by a
ReplicationController).  Default true.
      --command=false: If true and extra arguments are present, use them as the 'command' field in the container, rather
than the 'args' field which is the default.
      --dry-run=false: If true, only print the object that would be sent, without sending it.
      --env=[]: Environment variables to set in the container
      --expose=false: If true, a public, external service is created for the container(s) which are run
  -f, --filename=[]: to use to replace the resource.
      --force=false: Only used when grace-period=0. If true, immediately remove resources from API and bypass graceful
deletion. Note that immediate deletion of some resources may result in inconsistency or data loss and requires
confirmation.
      --generator='': The name of the API generator to use, see
http://kubernetes.io/docs/user-guide/kubectl-conventions/#generators for a list.
      --grace-period=-1: Period of time in seconds given to the resource to terminate gracefully. Ignored if negative.
Set to 1 for immediate shutdown. Can only be set to 0 when --force is true (force deletion).
      --hostport=-1: The host port mapping for the container port. To demonstrate a single-machine container.
      --image='': The image for the container to run.
      --image-pull-policy='': The image pull policy for the container. If left empty, this value will not be specified
by the client and defaulted by the server
  -k, --kustomize='': Process a kustomization directory. This flag can't be used together with -f or -R.
  -l, --labels='': Comma separated labels to apply to the pod(s). Will override previous values.
      --leave-stdin-open=false: If the pod is started in interactive mode or with stdin, leave stdin open after the
first attach completes. By default, stdin will be closed after the first attach completes.
      --limits='': The resource requirement limits for this container.  For example, 'cpu=200m,memory=512Mi'.  Note that
server side components may assign limits depending on the server configuration, such as limit ranges.
  -o, --output='': Output format. One of:
json|yaml|name|go-template|go-template-file|template|templatefile|jsonpath|jsonpath-file.
      --overrides='': An inline JSON override for the generated object. If this is non-empty, it is used to override the
generated object. Requires that the object supply a valid apiVersion field.
      --pod-running-timeout=1m0s: The length of time (like 5s, 2m, or 3h, higher than zero) to wait until at least one
pod is running
      --port='': The port that this container exposes.  If --expose is true, this is also the port used by the service
that is created.
      --quiet=false: If true, suppress prompt messages.
      --record=false: Record current kubectl command in the resource annotation. If set to false, do not record the
command. If set to true, record the command. If not set, default to updating the existing annotation value only if one
already exists.
  -R, --recursive=false: Process the directory used in -f, --filename recursively. Useful when you want to manage
related manifests organized within the same directory.
  -r, --replicas=1: Number of replicas to create for this container. Default is 1.
      --requests='': The resource requirement requests for this container.  For example, 'cpu=100m,memory=256Mi'.  Note
that server side components may assign requests depending on the server configuration, such as limit ranges.
      --restart='Always': The restart policy for this Pod.  Legal values [Always, OnFailure, Never].  If set to 'Always'
a deployment is created, if set to 'OnFailure' a job is created, if set to 'Never', a regular pod is created. For the
latter two --replicas must be 1.  Default 'Always', for CronJobs `Never`.
      --rm=false: If true, delete resources created in this command for attached containers.
      --save-config=false: If true, the configuration of current object will be saved in its annotation. Otherwise, the
annotation will be unchanged. This flag is useful when you want to perform kubectl apply on this object in the future.
      --schedule='': A schedule in the Cron format the job should be run with.
      --service-generator='service/v2': The name of the generator to use for creating a service.  Only used if --expose
is true
      --service-overrides='': An inline JSON override for the generated service object. If this is non-empty, it is used
to override the generated object. Requires that the object supply a valid apiVersion field.  Only used if --expose is
true.
      --serviceaccount='': Service account to set in the pod spec
  -i, --stdin=false: Keep stdin open on the container(s) in the pod, even if nothing is attached.
      --template='': Template string or path to template file to use when -o=go-template, -o=go-template-file. The
template format is golang templates [http://golang.org/pkg/text/template/#pkg-overview].
      --timeout=0s: The length of time to wait before giving up on a delete, zero means determine a timeout from the
size of the object
  -t, --tty=false: Allocated a TTY for each container in the pod.
      --wait=false: If true, wait for resources to be gone before returning. This waits for finalizers.

/assign

/assign


Add basic support for material chips:

http://www.google.com/design/spec/components/chips.html#chips-behavior
This patch adds support for deletable and non-deleteable chips, but doesn't yet
add support for contact chips. Also, demo the chips in a new Material Gallery
app that will let us demo our gallery of widgets in a single app.

LGTM although the deletable demo chip should go away when it's deleted.

I didn't want the gallery to be internally complicated and just to prove that I'm a liar here's a suggestion for a complication: it would be nice if a brief description and pointer to the relevant part of the Material spec could be included in demos.

LGTM although the deletable demo chip should go away when it's deleted.

Done.

It would be nice if a brief description and pointer to the relevant part of the Material spec could be included in demos.

Yeah, that might make sense.  I'm inclined to build out the set of demos a bit more so we get some ideas for how we want to integrate that sort of text.


Add the required node version in package.json

Hi Pierre,
Could you specify the minimal version for node?
Thk 😄

Nice catch @samuelmartineau !
Fixed in 0.0.2, make sure to update all your projects that rely on this plugin 🤖
Cheers


gateway_client.py: fix aiohttp exception handling

I've been trying to update the FreeBSD port of the SDK to 3.0.5 and ran into some issues with exceptions in newer versions of aiohttp.  I just noticed your aiohttp-2.0 branch though, so this patch may already be "overtaken by events".
In any case: this may not be the best way to do it.  I wonder why FingerprintMismatch needs to be caught separately at all.  Why don't we just treat it like any other exception?

Closed in favour of #36 (can't push to your branch so I cherry-picked your commit).

I wonder why FingerprintMismatch needs to be caught separately at all.

Because it's not a generic exception that just cannot be handled the user
should report. We don't need to print the stacktrace if the fingerprint
doesn't match - we know what the problem is. :)


packaging: Prepare automated COPR packaging

Break up the rpm building process in individual scripts that accept the
COPR environment variables spec and outdir and add a Makefile for
COPR automated building. Rename the spec files to have a spec suffix
because COPR requires this to specify them.
Signed-off-by: Till Maas<EMAIL_ADDRESS>I suggest to create two new COPRs for this for the nmstate user:
nmstate-git-python2 (for EPEL7)
nmstate-git-python3 (for Fedora and EPEL8 eventually)
They would be automatically rebuilt as soon as changes are pushed to master. I tested it with my branch here:
https://copr.fedorainfracloud.org/coprs/till/tyll-nmstate-fedora/builds/

Coverage remained the same at 66.186% when pulling 494fd38b524ac1623560924db8efc8c0d3f0f409 on tyll:automate_copr into 11dba8966f012ded006f709cf656171b8a6d9108 on nmstate:master.

ci test please


BUILD FAILED in a fresh project

Description
info Found Xcode workspace "MM.xcworkspace"
info Building (using "xcodebuild -workspace MM.xcworkspace -configuration Debug -scheme MM -destination id=159024E9-0FF5-4002-B2FA-E7169CA0CB8B")
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening MM.xcworkspace.

In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/Headers/Private/RCT-Folly/folly/net/NetOps.h:25:
/Users/alex/_Projects/Masina Mea/MM/ios/Pods/Headers/Private/RCT-Folly/folly/portability/Time.h:48:9: warning: 'CLOCK_MONOTONIC' macro redefined [-Wmacro-redefined]
#define CLOCK_MONOTONIC 1
^
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/RCT-Folly/folly/portability/SysUio.cpp:22:
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/Headers/Private/RCT-Folly/folly/ScopeGuard.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/functional:506:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/typeinfo:61:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/exception:81:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/__memory/base.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/__debug:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/iosfwd:95:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/wchar.h:119:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/wchar.h:91:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/time.h:157:9: note: previous definition is here
#define CLOCK_MONOTONIC _CLOCK_MONOTONIC
^
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/RCT-Folly/folly/portability/SysUio.cpp:23:
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/Headers/Private/RCT-Folly/folly/portability/Sockets.h:19:
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/Headers/Private/RCT-Folly/folly/net/NetOps.h:25:
/Users/alex/_Projects/Masina Mea/MM/ios/Pods/Headers/Private/RCT-Folly/folly/portability/Time.h:49:9: warning: 'CLOCK_PROCESS_CPUTIME_ID' macro redefined [-Wmacro-redefined]
#define CLOCK_PROCESS_CPUTIME_ID 2
^
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/RCT-Folly/folly/portability/SysUio.cpp:22:
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/Headers/Private/RCT-Folly/folly/ScopeGuard.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/functional:506:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/typeinfo:61:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/exception:81:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/__memory/base.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/__debug:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/iosfwd:95:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/wchar.h:119:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/wchar.h:91:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/time.h:169:9: note: previous definition is here
#define CLOCK_PROCESS_CPUTIME_ID _CLOCK_PROCESS_CPUTIME_ID
^
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/RCT-Folly/folly/portability/SysUio.cpp:23:
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/Headers/Private/RCT-Folly/folly/portability/Sockets.h:19:
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/Headers/Private/RCT-Folly/folly/net/NetOps.h:25:
/Users/alex/_Projects/Masina Mea/MM/ios/Pods/Headers/Private/RCT-Folly/folly/portability/Time.h:50:9: warning: 'CLOCK_THREAD_CPUTIME_ID' macro redefined [-Wmacro-redefined]
#define CLOCK_THREAD_CPUTIME_ID 3
^
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/RCT-Folly/folly/portability/SysUio.cpp:22:
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/Headers/Private/RCT-Folly/folly/ScopeGuard.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/functional:506:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/typeinfo:61:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/exception:81:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/__memory/base.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/__debug:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/iosfwd:95:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/wchar.h:119:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/wchar.h:91:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/time.h:171:9: note: previous definition is here
#define CLOCK_THREAD_CPUTIME_ID _CLOCK_THREAD_CPUTIME_ID
^
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/RCT-Folly/folly/portability/SysUio.cpp:23:
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/Headers/Private/RCT-Folly/folly/portability/Sockets.h:19:
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/Headers/Private/RCT-Folly/folly/net/NetOps.h:25:
/Users/alex/_Projects/Masina Mea/MM/ios/Pods/Headers/Private/RCT-Folly/folly/portability/Time.h:52:17: error: typedef redefinition with different types ('uint8_t' (aka 'unsigned char') vs 'enum clockid_t')
typedef uint8_t clockid_t;
^
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/RCT-Folly/folly/portability/SysUio.cpp:22:
In file included from /Users/alex/_Projects/Masina Mea/MM/ios/Pods/Headers/Private/RCT-Folly/folly/ScopeGuard.h:21:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/functional:506:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/typeinfo:61:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/exception:81:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/__memory/base.h:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/__debug:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/iosfwd:95:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/c++/v1/wchar.h:119:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/wchar.h:91:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk/usr/include/time.h:172:3: note: previous definition is here
} clockid_t;
^
4 warnings and 1 error generated.

Try running it in XCode to get the more descriptive error.  That's impressive. I keep running into dumb errors like this

how did you guys solve this issue?
It can build perfectly in xcode itself ..


[<IP_ADDRESS>] write load too high for 0.9, not 0.8

I found data missing for a few hours in my influxdb server <IP_ADDRESS>:
[lyz@hzlog2 ~]$ influxexec "select mean(value) from df_free where host='udms1_primary' and time > now() - 10h group by time(30m) order by time desc"
name: df_free
-------------
time			mean
2015-11-20T02:00:00Z	6.105199482204371e+12
2015-11-20T01:30:00Z	6.329744266577131e+12
2015-11-20T01:00:00Z	6.192786551641008e+12
2015-11-20T00:30:00Z	6.347724605051139e+12
2015-11-20T00:00:00Z	6.202314220818123e+12
2015-11-19T23:30:00Z
2015-11-19T23:00:00Z
2015-11-19T22:30:00Z
2015-11-19T22:00:00Z
2015-11-19T21:30:00Z
2015-11-19T21:00:00Z
2015-11-19T20:30:00Z
2015-11-19T20:00:00Z
2015-11-19T19:30:00Z
2015-11-19T19:00:00Z
2015-11-19T18:30:00Z	6.070095632878346e+12
2015-11-19T18:00:00Z	6.159305296559157e+12
2015-11-19T17:30:00Z	6.120439775870824e+12
2015-11-19T17:00:00Z	6.167743387477863e+12

There is another influxdb server 0.8.x which accepts data from the same datasources (collectd, I configured collectd to write data to both influxdb server at the same time), data are OK on that server.
On the <IP_ADDRESS> server, there are many these logs when data failed to write:
Nov 20 02:43:16 hzlog2 influxd: [write] 2015/11/20 02:43:16 write failed for shard 39 on node 1: engine: write points: write throughput too high. backoff and retry
Nov 20 02:43:16 hzlog2 influxd: [collectd] 2015/11/20 02:43:16 failed to write point batch to database "collectd": write failed: engine: write points: write throughput too high. backoff and retry

And it recovered on 8:00 in the morning(my timezone is GMT+8), the process was not restarted.
I also grepped "Flush due to idle" and got the results below:
Nov 19 19:24:51 hzlog2 influxd: [wal] 2015/11/19 19:24:51 Flush due to idle. Flushing 4773 series with 5000 points and 85000 bytes from partition 1
Nov 19 19:25:01 hzlog2 influxd: [wal] 2015/11/19 19:25:01 Flush due to idle. Flushing 1899 series with 2000 points and 34000 bytes from partition 1
Nov 19 19:25:07 hzlog2 influxd: [wal] 2015/11/19 19:25:07 Flush due to idle. Flushing 1215 series with 1234 points and 20978 bytes from partition 1
Nov 19 20:10:40 hzlog2 influxd: [wal] 2015/11/19 20:10:40 Flush due to idle. Flushing 2 series with 12 points and 204 bytes from partition 1
Nov 19 20:12:39 hzlog2 influxd: [wal] 2015/11/19 20:12:39 Flush due to idle. Flushing 2 series with 12 points and 204 bytes from partition 1
Nov 19 20:14:39 hzlog2 influxd: [wal] 2015/11/19 20:14:39 Flush due to idle. Flushing 2 series with 12 points and 204 bytes from partition 1
Nov 19 20:15:39 hzlog2 influxd: [wal] 2015/11/19 20:15:39 Flush due to idle. Flushing 2 series with 10 points and 170 bytes from partition 1
Nov 19 20:17:39 hzlog2 influxd: [wal] 2015/11/19 20:17:39 Flush due to idle. Flushing 2 series with 10 points and 170 bytes from partition 1
Nov 19 20:19:39 hzlog2 influxd: [wal] 2015/11/19 20:19:39 Flush due to idle. Flushing 2 series with 10 points and 170 bytes from partition 1
Nov 19 20:21:40 hzlog2 influxd: [wal] 2015/11/19 20:21:40 Flush due to idle. Flushing 2 series with 12 points and 204 bytes from partition 1
Nov 19 20:23:39 hzlog2 influxd: [wal] 2015/11/19 20:23:39 Flush due to idle. Flushing 2 series with 12 points and 204 bytes from partition 1
Nov 19 20:25:39 hzlog2 influxd: [wal] 2015/11/19 20:25:39 Flush due to idle. Flushing 2 series with 12 points and 204 bytes from partition 1
Nov 19 20:27:39 hzlog2 influxd: [wal] 2015/11/19 20:27:39 Flush due to idle. Flushing 2 series with 12 points and 204 bytes from partition 1
Nov 19 20:29:39 hzlog2 influxd: [wal] 2015/11/19 20:29:39 Flush due to idle. Flushing 2 series with 12 points and 204 bytes from partition 1
Nov 19 20:31:40 hzlog2 influxd: [wal] 2015/11/19 20:31:40 Flush due to idle. Flushing 2 series with 12 points and 204 bytes from partition 1
Nov 19 20:33:39 hzlog2 influxd: [wal] 2015/11/19 20:33:39 Flush due to idle. Flushing 2 series with 12 points and 204 bytes from partition 1
Nov 19 20:34:40 hzlog2 influxd: [wal] 2015/11/19 20:34:40 Flush due to idle. Flushing 2 series with 10 points and 170 bytes from partition 1
Nov 19 20:36:39 hzlog2 influxd: [wal] 2015/11/19 20:36:39 Flush due to idle. Flushing 2 series with 14 points and 238 bytes from partition 1
Nov 19 20:38:39 hzlog2 influxd: [wal] 2015/11/19 20:38:39 Flush due to idle. Flushing 2 series with 8 points and 136 bytes from partition 1
Nov 19 20:40:40 hzlog2 influxd: [wal] 2015/11/19 20:40:40 Flush due to idle. Flushing 2 series with 10 points and 170 bytes from partition 1
Nov 20 08:00:30 hzlog2 influxd: [wal] 2015/11/20 08:00:30 Flush due to idle. Flushing 2995 series with 3503 points and 59551 bytes from partition 1
Nov 20 08:00:50 hzlog2 influxd: [wal] 2015/11/20 08:00:50 Flush due to idle. Flushing 5357 series with 5691 points and 96747 bytes from partition 1
Nov 20 08:01:02 hzlog2 influxd: [wal] 2015/11/20 08:01:02 Flush due to idle. Flushing 1572 series with 1578

The log "Flush due to idle" was missing for some hours before 8:00am.

This seems like expected behavior. The database was under too much load for whatever reason and logged that the write volume needed to be reduced. If you are using HTTP for transport the system should have been returning 500s. This isn't a failure, this is intended behavior of the system.
What might be interesting to investigate is why the 0.9 instance was not able to handle the load. Can you post the log from 2015-11-19T18:30:00Z to 2015-11-19T19:00:00Z into a gist?

The log has been uploaded to gist.
A backup script was running then (I also ran into this issue so I wrote my own daily backup script), which generated a lot select requests. Did they cause the database to limit its write volume?
It is also strange that this problem doesn't occur everyday. It occured only twice: the first time was on Nov 10, the second time was on Nov 20 before this issue was opened.

Just found version 0.9.5 released and might have solved the backup problem, shall I upgrade to 0.9.5 and replace the backup script with the official snapshot backup, then keep watching if this problem happens again?

@linyanzhong backups are not fully implemented, even in 0.9.5. I would recommend upgrading for the bug fixes, though.

@linyanzhong there are a lot of HTTP 400 responses to your writes. That indicates a problem that should be addressed before investigating any other performance issues. Is collectd sending an unrecognized protocol, perhaps? That could introduce a lot of unnecessary parsing load.

After upgrading to 0.9.5 for more than 1 month, this problem does not occur again.


Integration with the 'Tile Indicators' plugin

Hi, loving the rainbow rave plugin.
Was wondering if it'd be possible to make this plugin work with the 'Tile Indicators' plugin?
Thanks in advance!

This has been added.


Integration of behavioral components: FrontEnd

Summary
This is a follow up from the previous issue.
Motivation
The mock application is here
Code here
Questions here
Additional discussion in # health-log on discord
Additional context
So far the behavioral section consists of:

Multi step form: The form consists of 8 components. One for each question, confirm, success and stepform. Confirm and success are optional.
Chart: Consists of a chart from ReChart. One component.

Once we have established where this section will be integrated then we can go ahead and merge the above code. Appreciate any suggestions.
##Challenges

When/where will the user be prompted to enter this section?
How to display the chart (landscape on mobile?).
Would the hover function for chart work on mobile or how will that be displayed?
Information on when the previous survey was saved (for the behavioral section) will be saved on the backend. For the current question we wish to display that information for each question. For example, the question will be framed. "In the last < 4 days > have you felt loss of appetite?" OR "Since < last date the survey was completed> have you felt loss of appetite?"

From building and styling point of view, that can be integrated into the app. We already have reusable components that can be used with this or need a bit of tweaking.
But I think the priority now should be to finish the main features (physical health I mean) that already in progress and then we can add upon.


Create some first paint

You could 'render' stuff like the header and other elements before fetching the data(and get some placeholders for the data. When the data is loaded in, you can update the elements with the data. This would make the app feel more asynchronous.
This is called first paint and gives the user the impression/feedback that the app is loading something.

Made a loading state. So that it gives feedback to the user.


Add snowflake arg to allow temp credential file in Linux

Per this relatively undocumented argument in snowflake-connector-python, connections made in a linux environment are not cached correctly even if enabled in the snowflake account
https://github.com/snowflakedb/snowflake-connector-python/blob/main/src/snowflake/connector/connection.py#L176
This addition adds the argument with a default value equal to the default set in the lib itself

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


What is the code directory structure like？

Is this right？

Yes, I think this is ok. If there is any other problem please let me know.

Yes, I think this is ok. If there is any other problem please let me know.

This seems a little weird.
If the SAM is correctly installed, this may be caused by a bug in lib/sam3d.py. Remove these lines about the MobileSAM may solve this.

This seems a little weird. If the SAM is correctly installed, this may be caused by a bug in lib/sam3d.py. Removing these lines about the MobileSAM may solve this.

I moved segment-anything to dependencies/sam_ckpt,can solve the problem of module not being found， like this:

but other problems that aris，

Yeah, this is the problem of MobileSAM, removing the "if args.mobile_sam" and directly use sam can help.

Yeah, this is the problem of MobileSAM, removing the "if args.mobile_sam" and directly use sam can help.

removed it ,There are other issues that have arisen again,

Thank you for your reply. it succeeded!

You are welcome~ Let me know if there is any other problem.

Yeah, this is the problem of MobileSAM, removing the "if args.mobile_sam" and directly use sam can help.

Can you show the code after removing the "if args.mobile_sam"?

How to solve this error? I also encountered this error.

Reinstall dash


Autorest.Swift and AzureSDK repos should sync on compatible version of swift-tools

Closing this issue, as each package should use the lowest version of Swift-tool that it can, as this determines the minimum Swift version needed to use the package. There is no reason we should arbitrarily make everything sync to the highest version is it would not otherwise be necessary.


Ability to insert snippets into input fields

{
    "key": "ctrl+shift+alt+u",
    "command": "editor.action.insertSnippet",
    "args": {
        "snippet": "💄"
    },
},

I want to use it for scm inputbox (or find widget).

@jrieken This seems to be like a snippet feature, as there's a lot of input fields across the workbench.

Your instance of the editor must add the snippet controller (editor contribution) for that.

Simply add the SnippetController here (https://github.com/Microsoft/vscode/blob/4d9f1d23a556dccd2c0fd5203923a24b21e41209/src/vs/editor/browser/widget/codeEditorWidget.ts#L68) and feel another round of ping pong if anything is still unclear

@jrieken We do not use the monaco editor for SCM. I was force to drop that years ago because our API made the editor show up in unwanted places. It's just an input box.

I was forced to drop that years ago because our API made the editor show up in unwanted places.

Well, things are better now. The extension view and preferences editor can do it, so could you

This is actually working now for scm input so I'm closing this.


[All][CI] Tracking switch to prow if possible

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind feature

What happened:
see #1610 for more background
https://kubernetes.slack.com/archives/C0LSA3T7C/p1620276641087400?thread_ts=1620081921.083000&cid=C0LSA3T7C
Job configuration: https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes-sigs/c[…]rovider-openstack/cluster-api-provider-openstack-periodics.yaml
Notes:

    preset-service-account: "true" injects the GCP account

Script to start the tests in the CAPO repo: https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/master/scripts/ci-e2e.sh
Notes:

    You have to retrieve/reserve an account via Boskos
    The CAPO specific parts are the ensure scripts and l.83-l.86 everything else should be the same in your case

There's a bit Makfile magic between the make call in ci-e2e.sh and devstack-on-gce-project-install.sh. But the shell script is definitely what you're looking for: https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/master/hack/ci/devstack-on-gce-project-install.sh
Notes:

    you're case is probably FLAVOR=default (which installs devstack on boot, FLAVOR=preinstalled uses an OS image were devstack is already installed)
    on a high level the script does:

    Create GCP: networks, subnets, firewall rules, router, nat
    Create an image enabled for nested virt based on --image-project ubuntu-os-cloud --image-family ubuntu-2004-lts
    Create a server (devstack is installed via cloud-init)
    Wait until the devstack is reachable and then generate a clouds.yaml

Cloud init file can be found here: https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/master/hack/ci/devstack-default-cloud-init.yaml.tpl
Notes:

    More or less just the regular devstack installation, with a bit iptables magic at the end for egress traffic

 (edited)
sbueringer  3 months ago
Just let me know if you have further questions or if I can help.
sbueringer  3 months ago
Huge difference for me compared to OpenLab was:

    I finally know now how our tests work as it's pretty straightforward (compared to all the stuff that OpenLab does before)
    I can just execute the tests via my private GCP account and debug in every way I like. In OpenLab the feedback loop was pretty horrible.

I think it's still great that OpenLab is there and helps the whole community to test against OpenStack. Unfortunately, it just wasn't a great fit for CAPO and the alternative is pretty great.P.S. I also have a script for AWS right next to the one for GCP (https://github.com/kubernetes-sigs/cluster-api-provider-openstack/blob/master/hack/ci/devstack-on-aws-project-install.sh). It re-uses the devstack installation and just does in AWS what the other script did on GCP. (edited)

https://github.com/kubernetes/test-infra/blob/master/config/jobs/kubernetes-sigs/cluster-api-provider-openstack/cluster-api-provider-openstack-periodics.yaml#L2-L47
What you expected to happen:
How to reproduce it:
Anything else we need to know?:
Environment:

openstack-cloud-controller-manager(or other related binary) version:
OpenStack version:
Others:

so the issue is tracking the breakdown in case #1610 has no solution including something like infra setup, CI scripts creation etc..

Being done as part of https://github.com/kubernetes/cloud-provider-openstack/pull/1632 , https://github.com/kubernetes/test-infra/pull/23328

https://github.com/kubernetes/test-infra/pull/23402

@jichenjc This script , ci-csi-cinder-e2e.sh yet to be added right? Are you working on that?

@ramineni yes, something like https://github.com/theopenlab/openlab-zuul-jobs/pull/1195/files
will be replicated to our repo

https://github.com/kubernetes/test-infra/pull/23495

/remove-lifecycle stale

I think the following issues could all fall under this topic:

https://github.com/kubernetes/cloud-provider-openstack/issues/1540
https://github.com/kubernetes/cloud-provider-openstack/issues/1825
https://github.com/kubernetes/cloud-provider-openstack/issues/1707
https://github.com/kubernetes/cloud-provider-openstack/issues/1702

I have come here because I have hit 2 problems developing CCM e2e tests for CAPO:

My local testing is impacted by the docker.io rate limit pull the occm image
The occm release manifests don't include a placeholder for the required pull secret to use docker.io
The occm release images aren't built with a secure pipeline

I think that moving the whole pipeline on to existing k8s infrastructure as documented in https://github.com/kubernetes/k8s.io/blob/main/k8s.gcr.io/README.md could solve all of these.

this has been discussed some time ago if I remember correctly, and I don't remember the exact reason @lingxiankong mentioned seems due to time and contribution time etc,

looks like k8s-staging-cloud-provider-ibm and k8s-staging-cloud-provider-gcp are hosting images in the staging repo
maybe we can follow that to give a try (but not use it until we are confident enough)

https://github.com/kubernetes/k8s.io/pull/3638


Constant High CPU Usage on Windows

OS: Windows
Version of IPFS Desktop 0.16.1
System Specs: Ryzen 5900x (12core,24 thread processor), 32 GB RAM, Windows 10 latest build.

Describe the bug
Consistent high usage of CPU. It can go up to 80% at times, which is a lot of usages. I have only about 50GB of data pinned but not a lot of uploads or download going on either to commission this much usage.
The CPU usage drops some times in a cycle but picks up again and stays high for longer times than needed. Avg usage is about 35% of my CPU power that's 4 Cores running at full power for some reason.
To Reproduce
Steps to reproduce the behavior:

Install the latest version of the software.
Have some big pined data objects.
Leave it running in the background and monitor it through the task manager.

Expected behavior
At most, it should spike the CPU during a lot of usages, but keeping high CPU usage is very weird, as the Network and disk usage are also not followed.
Screenshots

Additional context
Add any other context about the problem here.
error.log
combined.log

I second this problem. I paused my instances until the problem is solved. My oldest CPU goes nuts once in a while with version 0.16.1, my newest one also goes high once in a while, but the fans doesn't scream for cooling with the latter.

Does this seem like your issue? https://github.com/ipfs/go-ipfs/issues/8256

@unbeatable-101 Looks like it, although I can't confirm if the solution https://github.com/lucas-clemente/quic-go/pull/3231 fixes it.

Try building go-ipfs from source, then tell ipfs desktop to use a custom binary

ipfs.zip
I tried cross-compiling if you can't build yourself

@unbeatable-101 Nope that file does not work and I have not had much success in compiling from source.

What issues are you having?

@unbeatable-101 On further testing your IPF binary does work, I was just not running the daemon lol.
Just after launching it seems to work well, with no excess CPU usage or memory. Stays about 130 MB RAM usage and around 1% CPU usage with my build. Will let this run overnight and see how its in the morning.

I confirmed I don't use more than 300 MB in RAM. And CPU usage is between 0.1%-1.5%

Looks like this new binary has to be merged in, or wait until 0.91

ipfs/go-ipfs#8256 fixed it for me, thanks @unbeatable-101 !

The fix will be officially released in 0.9.1


Build error arm64-v8a

Description
Describe what changes need to be done to the build system and why.
i have also tried
android {
    ...
    defaultConfig {
        minSdkVersion 21
        ...
    }
}

Requirements

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_soloud:configureCMakeDebug[arm64-v8a]'.
> [CXX1429] error when building with cmake using /home/jbarasa_ke/.pub-cache/hosted/pub.dev/flutter_soloud-2.1.7/android/CMakeLists.txt: -- android-16 is not supported for arm64-v8a. Using minimum supported LP64 version 21.
  -- Android: Targeting API '21' with architecture 'arm64', ABI 'arm64-v8a', and processor 'aarch64'
  -- Android: Selected unified Clang toolchain
  -- The CXX compiler identification is Clang 12.0.8
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - failed
  -- Check for working CXX compiler: /home/jbarasa_ke/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
  -- Check for working CXX compiler: /home/jbarasa_ke/Android/Sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ - broken
  -- Configuring incomplete, errors occurred!
  See also "/home/jbarasa_ke/.pub-cache/hosted/pub.dev/flutter_soloud-2.1.7/android/.cxx/Debug/1l661y2y/arm64-v8a/CMakeFiles/CMakeOutput.log".
  See also "/home/jbarasa_ke/.pub-cache/hosted/pub.dev/flutter_soloud-2.1.7/android/.cxx/Debug/1l661y2y/arm64-v8a/CMakeFiles/CMakeError.log".

   Try to update it (I think with SDK tools).
Also on which Android device are you trying and on which OS are you on?

Am on Debian GNU/Linux 12 (bookworm) 64-bit tryng to run on
cmd: flutter run
Launching lib/main.dart on TECNO BG6 in debug mode...


need help novice user of rest-api from this repo

Hi ,
I am a novice user or rest-api automation implementation, i have successfully imported this as maven project into my eclipse and no errors. run appTest.java as junit test. it is resulted as passed, but not able to see the junit test report and execution time is 0.0 milliseconds. please guide me . my email is<EMAIL_ADDRESS>

Should be fixed with #4


EVPN-VXLAN support

Hello,
Are there any plans to support EVPN-VXLAN routes ?

Yes, I might be able to add EVPN next week. It depends on a LAB for testing and if time permits.  L3VPN is finally pretty solid now with the latest changes (version 2.1.1).

Hello!
Do you have some plans to finish this?)


Card currently prioritizes higher the “battery_level” attribute over the state - even when state is battery percentage

Describe the bug
It's currently not possible to force the card to display the state instead of searching for (for example) battery_level in preference.  This is an issue where the state is indeed the battery percentage and battery_level (for example) is in fact a string e.g. "one third" "two thirds" etc.
How to reproduce
I'm using the wiser integration which has recently been updated and now shows the TRV battery percentages through the state attribute directly.  In this case I'm unable to get the card to display percentage.
Expected behavior
Perhaps have a flag to force the card into accepting state as being the percentage value or ignore the search?
please paste here your card config
type: custom:battery-state-card
title: Battery Status
entities:

entity: sensor.wiser_itrv_bathroom_battery
name: Bathroom Radiator
secondary_info: battery_level

Screenshots

The above shows what happens with my current config.
Version
v2.1.0
This is how the device presents in HA

I agree with dangel666. I believe the search for battery_level attribute should be optional and the actual device state be the default.

I attempted a simple first pass fix of this that seems to work pretty well for me - feel free to pull it down and see if it addresses any of your issues

Fixed in v2.1.1

Thanks guys - can confirm it's working perfectly!

A thumbs up from me too. Many thanks for the update.

From: dangel666 @.>
Sent: 23 January 2022 10:19
To: maxwroc/battery-state-card @.>
Cc: Chris Carroll @.>; Manual @.>
Subject: Re: [maxwroc/battery-state-card] Card currently prioritizes higher the “battery_level” attribute over the state - even when state is battery percentage (Issue #382)
Thanks guys - can confirm it's working perfectly!
[image]https://user-images.githubusercontent.com/44338896/150674006-c548575a-1832-483a-978e-62db34e084dd.png
—
Reply to this email directly, view it on GitHubhttps://github.com/maxwroc/battery-state-card/issues/382#issuecomment-1019453905, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOIHQAQFYYMGIBNRJ5M2WKTUXPI3BANCNFSM5MCP34AA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Basic Design guidelines (describing different parts of the code)

When starting developing on Gitea it is not so easy to understand what shall be in models, modules, services and so on. Also I noticed that go doesn't allow circular dependencies between packages (or if it is the linting), which makes it important to have a good structure. I have tried to describe the different parts of the Gitea code and how they depend on each other. I might have misunderstood or missed some things so comments are welcome.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@85e4190). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #8601   +/-   ##
=========================================
  Coverage          ?   41.69%
=========================================
  Files             ?      528
  Lines             ?    68508
  Branches          ?        0
=========================================
  Hits              ?    28562
  Misses            ?    36297
  Partials          ?     3649

Continue to review full report at Codecov.

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


Arm64 binaries of FlutterEmbedder.framework not available

As described in Custom Flutter Engine Embedders, the flutter_infra_release storage bucket provides builds of the embedder engine for Linux, Windows and Mac. Unfortunately, only x86-64 binaries are available for Mac, which means embedder apps targeting for Apple M1 or later must resort to Rosetta emulation (or build the engine manually).
Would it be possible to provide prebuilt darwin-arm64 engine binaries too?

\cc @jmagman

Replace darwin-x64 with darwin-arm64 in the URLs.

Thanks, but that doesn't seem to work. For example, for engine rev 3ad69d7be3, this x64 link works but the corresponding arm64 one doesn't.

I got this confused with https://github.com/flutter/flutter/pull/110291, but you're right we aren't building FlutterEmbedder for arm.
@zanderso is this as easy as adding
    UploadArtifacts(
        api,
        'darwin-arm64', ['out/host_debug/FlutterEmbedder.framework.zip'],
        archive_name='FlutterEmbedder.framework.zip'
    )

here?
https://flutter.googlesource.com/recipes/+/refs/heads/main/recipes/engine/engine.py#1276
Meaning, does this already produce arm artifacts (I'm not on my arm machine atm or I would just try it)?
https://github.com/flutter/engine/blob/ff05a31f5b53fad6a35ad731cbefaaa5845d7d7e/shell/platform/embedder/BUILD.gn

From Triage: @zanderso is checking if this is done. But maybe we should also be lipoing it up for a universal binary?


quick and dirty  mobile

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Needs Visual check

@exezbcz  please review

Context

[x] Closes #6164
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[x] My fix has changed UI

Copilot Summary

🤖 Generated by Copilot at 998cd91
Improved the responsiveness and layout of the unlockable collection components. Adjusted the size and position of the image slider, thumbnails, banner, and columns in ImageSlider.vue, UnlockableContainer.vue, and CollectionBanner.vue using media queries and Bulma modifiers.

🤖 Generated by Copilot at 998cd91

Sing, O Muse, of the skillful web developers
Who made the collection banner and the image slider
Responsive and adaptive to the varied devices of mortals
With media queries and object-fit, like Hephaestus shaping metal

Something not works as expected.

Just FYI, the mobile design is here https://www.figma.com/file/JXNtryaNYhY0XJNArzvPQx/Handoff?type=design&node-id=395-6222&t=T8FVk2HlFvn5mj1C-0

testing
https://deploy-preview-6165--koda-canary.netlify.app/stmn/unlockable

I think we should change text, will make follow up issue

I think it's good for v0 !

uh githb not today

pay 50 usd

😍 Perfect, I’ve sent the payout
💵 $50 @ 5.09 USD/DOT ~ 9.823 $DOT
🧗 1cAsKZYNRb8dkSCpn4eVkEn6ycNZTGoDo5dGDgB8J1UUWK8
🔗 0xde741c244215138820bfa77c0b52ec593acdfdc513855ddc7fe78d902207d97f
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


NO MessengerApp.java file

There is no MessengerApp.java in application.

no MessengerApp.java in application

Hey @ajaykk50 I'm not sure what MessengerApp.java is.  If you want to see an example app implementation, please see https://github.com/layerhq/Atlas-Android-Messenger
Closing for now


Can i configure DockBlockr to add @author and @date

It would be useful to have DockBlockr adding @author and @date to a comment block. Don´t know if is it possible.

I don't use DocBlockr, but jsdocs_extra_tags may probably help.
You may also switch to DoxyDoxygen (another plugin), section Tips contains an example.

Configure jsdocs_extra_tags may probably help. But I don't want to every comments including the extra tags, I just want to use this extra tags when I need them, for example @add by xxx .


time codes stored in a separate file, which is sorted and structured

The additions of @TipsyNurse were all already included in the separate file Timezone Codes
Maybe it's time to take all time codes out of the readme and put them all into the extra file. In my opinion it's slowly getting confusing.
And of course I already did the work thru this pull request
And sorry, I can't keep my hands off your modules because I love open source and distributed development ... ;-)

Hi Mykle,
now I've done the work again. Within the new two files you could find the contributors again. So all data should now be available within the new files and you do not loose anything ....
best regards
josef


functions-test-a-function.md is removed

Hello Team,
functions-test-a-function.md was removed at some point, but I think it was not supposed to be removed.

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

ID: c91c3121-aea2-9a38-c44c-45cc5bbc9248
Version Independent ID: c3c5199d-cff8-f313-dfc6-41499941e505
Content: Debug PowerShell Azure Functions locally
Content Source: articles/azure-functions/functions-debug-powershell-local.md
Service: azure-functions
GitHub Login: @TylerLeonhardt
Microsoft Alias: tyleonha

@HiroakiMachida Thanks for reaching out. I have assigned the issue to the content author to investigate further and update the document as appropriate.


Parameter injection refactoring around a SPI

This is a work-in-progress to address #73

Erased RxJava 1 + 2 plus the WebClient support have been moved to https://github.com/jponge/vertx-junit5-extensions (until we have the corresponding module in vert-x3)

👑 I declare this PR ready for review

Please also consider https://github.com/jponge/vertx-junit5-extensions in the reviews

@jponge I suppose that, to avoid dep cycles again, we can't use vertx-junit5-extensions inside the stack, correct?

@slinkydeveloper

Yes we should not use vertx-junit5-extensions in the stack modules and stick to what's in.
The parameter ordering constraint is a minor glitch IMHO, especially as we provide user feedback. Otherwise we'd need to build type dependency graphs, and have parameter providers declare dependencies, etc etc, turning into some IoC container. I'd rather keep things simple now.
Yes we need vertx-junit5-extensions-webclient-rx-java, vertx-junit5-extensions-webclient-rx-java2, etc because we need a provider class for each type. We could group parameters in the same module as well (say the webclient extensions has the core, rx1 and rx2 provider classes) but then this makes for a module that depends on more than you probably want. I think it's fair to say to have a bit more modules if the dependency graph becomes focused and free of optional dependencies (which is often abused in Maven).

@vietj is this expected to be backported to 3.9?

is this dependency cycle in 3.9 too ?

@vietj no because we're not going to release json schema/web validation & web openapi in 3.x

this seems fine for 4.0 only then

Great, I'll merge tomorrow then 👍
On Sat, Mar 7, 2020 at 8:09 PM Julien Viet<EMAIL_ADDRESS>wrote:

this seems fine for 4.0 only then
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vert-x3/vertx-junit5/pull/74?email_source=notifications&email_token=AAAGK2IDYSBXEUXOCBUBIFLRGKLVNA5CNFSM4KRFG6BKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOEDCCI#issuecomment-596128009,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAGK2OTDC5QSVF5H453KATRGKLVNANCNFSM4KRFG6BA
.

I dropped a note on what's breaking at https://github.com/vert-x3/wiki/wiki/4.0.0-Deprecations-and-breaking-changes and ticked the box in https://github.com/vert-x3/issues/issues/500


Adjustment instead of Block request

I love that this plugin does exactly what it is supposed to do, it will do wonders on my server.
I do however request that a feature be added to instead of block messages with a spam trigger, it corrects them?
IE: HELLO! -> Hello!

It is added so it's comming in 2.3.0 :)
Should it still warn the player or not?

Be good warn the player to not spam or etc.

They currently get the warning as if it was removed
Sent using Boxer
Den 14/02/2016 11.08 PM skrev Charles<EMAIL_ADDRESS>Be good warn the player to not spam or etc.
—
Reply to this email directly or view it on GitHub.

ah ok, my bad.

So was more if we shouldn't warm them since it is "fixed"


FCN confusion matrix visualization fix

Issue #1492.
To reproduce the bug:

Train a fully convolutional network (e.g SqueezeNet 1.1)
Run "classify many" with a list of images

Depending on the version of numpy you will get a warning or an error.
With numpy 1.11 you get this warning and the confusion matrix has all the results on the first column.
VisibleDeprecationWarning: converting an array with ndim > 0 to an index will result in an error in the future
  result.append((labels[i], round(100.0 * scores[image_index, i], 2)))

With numpy 1.12 you get an error at the same line and no confusion matrix is shown.
The problem is the shape of "scores" that must be (number_of_images, number_of_classes), but with FCNs the shape has additional dimensions. e.g. SqueezeNet v1.1 final shape is (number_of_images, number_of_classes, 1, 1).

Added the same fix for "TOPN category". Without this fix, topn returns an error about dimensions.

Hi! I'm facing the same issue..any news about this task?


Make DataUnavailablePool always accept new blocks

We always make room for latest block, so we guarantee to retry the latest.
The scenario to fix is:

several block with missing blobs fill the pool. None of this blocks have been imported by any node (blobs not seen by anyone)
a new block arrives and is discarded. But his block has been imported by others and become canonical (blobs seen by magority of the validators).
Next proposer builds on top of that. And we don't have any retry in place.

Documentation

[ ] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[ ] I thought about adding a changelog entry, and added one if I deemed necessary.

but it is also true that with pruning is safe to rise it... 🤔


 There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.  Action _67AC4AD8_6F00_4853_A52D_C3B81180AEFA, location: C:\Program Files (x86)\River\OneMoreAddIn\OneMoreSetupActions.exe, command: --install --x86
11:21:20 AM: Error 1722. There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.  Action _67AC4AD8_6F00_4853_A52D_C3B81180AEFA, location: C:\Program Files (x86)\River\OneMoreAddIn\OneMoreSetupActions.exe, command: --install --x86
11:21:20 AM: Property(S): ErrorDialog = ErrorDialog
11:21:20 AM: MSI (s) (1C:14) [11:21:19:256]: Product: OneMoreAddIn -- Installation failed.
11:21:20 AM: MSI (s) (1C:14) [11:21:19:256]: Windows Installer installed the product. Product Name: OneMoreAddIn. Product Version: 5.4.2. Product Language: 1033. Manufacturer: River. Installation success or error status: 1603.


Could not resolve to a ProjectV2 with the number 3.

This error message Could not resolve to a ProjectV2 with the number 3. is now being reported each time we run the add-to-project action using both main and v1.0.1 versions.

https://github.com/xmidt-org/xmidt-agent/actions/runs/9089359300/job/24980410591?pr=123
I have confirmed that the PAT being used is not expired.

This seems related to #411 and #462.
This workflow appears to have stopped working about 5 days ago: https://github.com/xmidt-org/xmidt-agent/actions/workflows/proj-xmidt-team.yml without any changes to the PAT & the PAT hasn't expired.

The earliest failures of your workflow were caused by an account suspension. I'd follow up on that on/would assume the later ones are a hangover of that.

Yes, we had an issue with a suspended user.  We thought we fixed the problem, but apparently there are gremlins.  I'll re-review.  Thank you for your help!


ListView HasUnevenRows Unknown Height

I have a ListView in Xamarin.Forms with HasUnevenRows set to true.  Inside the ViewCell is a CachedImage with a defined width and AspectFit.  The height of the image, and thus the row, is unknown until the image is cached. The first time the image loads in the row it is tiny.  However navigating away from the page and returning, or scrolling the items off the page and back fixes the issue and the images are the proper size.
Here is my XAML for the image:
<ffimageloading:CachedImage Source="{Binding FilePath}" WidthRequest="150" LoadingDelay="0" FadeAnimationEnabled="false" DownsampleWidth="150" Success="Handle_Success" Aspect="AspectFit" />
I know what the issue is, which is that the row height is unknown by the time the layout happens so it ends up sizing based on other stuff in the row. Subsequent times the image is cached and ready so the image is in place when the calculation takes place.
I also know what the solution should be, which is to call ForceUpdateSize on the ViewCell when the Success event is fired for the CachedImage.
The issue is that when I do so I end up in an infinite loop because when the ListView is set to RecycleElement, it seems to generate a new row and swap out when calling ForceUpdateSize versus just resizing the current row.  So the new row ends up doing the same process.
How do I resolve this?  There is no way I can know the height ahead of time.

I have the same problem. Has anybody a solution to this yet?

Hi,  any solution here?  I got the same issue.

+1


update of api-url

Hi, is there a reason why this isn't getting pulled?  Appears to be very focused and legitimate change.


feat: add Search UI

https://user-images.githubusercontent.com/6012307/128221398-b19c7285-2356-4f20-99e7-305f2bda665b.mov

Hey Stephan, thanks for the work on the modal and autocomplete. I'll merge this branch with the core search_ui branch because a lot has changed since this branch was created from main on June 21.
This is a good start. I'll look closely at the code and add dividers and additional indexes searched as needed.

I commend your effort, but ultimately this isn't useful. I wish you would have worked within the SearchPage and SearchWidget components we were almost finished with instead of starting from scratch and essentially ignoring all the work that was already there and in place.

Sorry I didn't find another quick solution to get the UI in a ready state for the go live. The work with the Algolia components is not lost, if times allow we can find a solution to get them working with Spectrum CSS. Please keep in mind, non Spectrum UI is not allowed.
Meanwhile, I'll move on, merge, release and deploy as we don't have much time left.

Ok, well, I guess I'll stop my implementation for what I'm doing with Algolia's autocomplete and react-modal.

Sorry I didn't find another quick solution to get the UI in a ready state for the go-live. The work with the Algolia components is not lost, if time allows we can find a solution to get them working with Spectrum CSS.

@icaraps, I just want to state for the record, that Tim and I already had a solution to styling the search UI components with Spectrum CSS. I don't know where you got the idea that we were experimenting with that. But Tim had already successfully styled the existing components using the connect API that Tim had already demonstrated in the code and could have easily told you about had you simply ask us both at any time. Here's one such instance that has been in the code for some time, long prior to your decision to redo the UI:
  <Picker
    isQuiet
    items={items.map((item, i) => ({
      title: item.label,
      selected: i === 0
    }))}
    onChange={(index) => {
      refine(items[index].value);
    }}
  />
);

const CustomHitsPerPage = connectHitsPerPage(HitsPerPageSpectrum);

@icaraps As far as your statement about Spectrum CSS:

Please keep in mind, non Spectrum UI is not allowed.

We all understood that. And were not concerned about this to start testing. Adding Spectrum CSS changes can be done and will be done during testing. So again, it was not an adequate reason to subvert all the existing UI components and framework. And again, if you were not sure how to do something — especially something as easy as styling — then you could have quickly and easily asked Tim or me.
So again, I have yet to hear a satisfying reason for rewriting the UI and throwing away all our work on it.


How to log an impression for guest users?

i am using rails 4.2 and had successfully setup this wonderful Gem.However i am using devise and i actually want to catch guest users and their activity on certain actions.
However, i cannot get the user_id attribute.
Below is snippet of the rails console for guest users - not registered.
2.2.4 :012 > Impression.all
  Impression Load (0.5ms)  SELECT "impressions".* FROM "impressions"
 => #<ActiveRecord::Relation [#<Impression id: 4, impressionable_type: "Home", impressionable_id: 0, user_id: nil, controller_name: "home", action_name: "show_class", view_name: nil, request_hash: "3b10704016fd0ccf9blahblahblahef79d3b31d672...", ip_address: "<IP_ADDRESS>", session_hash: "3a4d7697aeblahblahablahba9827", message: nil, referrer: "www.mydevdomainname.com/rooms/class-a...", params: {"location"=>"class-a"}, created_at: "2017-07-09 20:18:22", updated_at: "2017-07-09 20:18:22">]>
2.2.4 :013 >

however,i do get the current_or_guest_user object set in my application controller.
So how can i get the value for user in the impressions for guests ?
Kindly help

Hi!
I'm not familiar with Devise, but you should be able to define a current_user helper in your application_controller that will retrieve either a guest user or an authenticated user.

My application controller is already setting up the current user..whether its a guest or signed in user.
Is there a way to set the user up before impression is created.Can we use a callback from the model of impression.rb?
Let me know what is the best way to do it ?
Thanks in advance.


CIT type : music disc sound file

I was looking trough the project board and maybe another idea for a CIT type could be the sound file of a music disc. While it is not visual, it does seem within the idea of a CIT: something that could be overwritten with a normal resource pack, but now does so conditionally.

Need to check if jukeboxes sync to clients properly first but yeah, I don't see why not.

Sadly it seems that the disc item is not synced to the client. Only the record type is synced and so I can't apply CIT checks on it..
A shame really, could've been cool....


Setup an example website using the library

You can grab Big Fish and Brick & Steel from the original repo to serve as samples. Importantly, we want to see all those new variables working... So here are the title_page metadata for each:
Big Fish
Title: Big Fish
Credit: written by
Author: John August
Source: based on the novel by Daniel Wallace
Notes:
	FINAL PRODUCTION DRAFT
	includes post-production dialogue
	and omitted scenes
Copyright: (c) 2003 Columbia Pictures

Brick & Steel
Title:
	_**BRICK & STEEL**_
	_**FULL RETIRED**_
Credit: Written by
Author: Stu Maschwitz
Source: Story by KTM
Draft date: 1/27/2012
Contact:
	Next Level Productions
	1588 Mission Dr.
	Solvang, CA 93463

Both missing some values but will give us an opportunity to examine the resultant JSON object.

Incidentally, the version of the Big Fish screenplay in the Matt Daly repo features an introductory sentence in Action markup (meaning plain-text sentence)... This is absent from the version that now ships with Highland 2...
Adding it to the version in Highland 2 yields an Action line, as expected really. Puzzling that it is omitted from one I presume to be a later version... but maybe it was omitted because it's not strictly a good example of the proper screenplay spec.


One more thing

Please check if what you want to add to beautiful-discord-community/resources list meets quality standards before sending pull request. Thanks!
Please provide package links to:

github.com repo:
embed url:

Make sure that you've checked the boxes below before you submit PR:

[ ] I have added my package in alphabetical order
[ ] I know that this package was not listed before
[ ] I have added @import compatible link (ex. rawgit.com) to the repo and to my pull request
[ ] I have read Contribution guidelines.

Thanks for your PR, you're awesome! :+1:

He didn't check the boxes @zet4 , tsk


Network Timers based on current network type

Purpose
DRAFT
Currently just a draft as I try out some things. I'll remove TODOs/comments when I decide how I want to approach it.
Purpose is to have different network timers based on the current network connection on the device. The timers are used to check the batch queue and attempt to flush it out.
Going with the following defaults for now:

WiFi - 10secs
Cellular - 30secs
Offline - 60secs

Type of PR

[ ] Bug Fix
[x] Feature Work
[ ] Revert
[ ] Refactor / Code Cleanup
[ ] Other (fill in...)

Short Description

Changelog / Code Overview

Test Plan

What to look for

Related Issues/Tickets

Pulling master has too many merge conflicts, it'll be easier to just create another branch so closing this one


Translations 201811

Update en source and existing translations, add ar, ko, th, drop pt_BR.
Note: some earlier translated strings were dropped due to slight updates in en source (e.g. PrivateSend help), while some strings simply do not exist anymore (e.g. strings for DarksendConfig). There are also some new yet untranslated strings and a couple of mismatches in zh_CN and ar, see description in 58af279 and 5265c71 respectively (I fixed a huge bunch of trivial mismatches like s/% 1/%1/ myself in th, ko, ar and zh_CN but these are too much for me 🙂 ).

Rebased, updated a bunch of languages (bg, it, ja, ko, nl, pl, th), fixed ru (addressed review comments by @gladcow), added tr.

@nmarley If there are no more issues, I think we can merge this as is for now even if a few strings are a bit concerning. We can fix them before mainnet release a bit later (if someone complains :)).

I was waiting for @alex-werner for the French translation which looks backward to me, but sure, agree. 👍


Airmass

just needs a test, relative air mass, and fix the server error (500) bug if the input to air mass is {}.

we'll have to save the absolute airmass for another PR


Get String value from a tinygltf::Value object

I want to know how to retrieve String type value from a tinygltf::Value object. I am able to get Integer and Double values by using GetNumberAsDouble() method but there seems to be no way to retrieve a String type value from this object.

You should look at loader_example.cc
https://github.com/syoyo/tinygltf/blob/52b73c7f0b41c54cc7f28cbf62598e6ca7d8e255/loader_example.cc#L248


Doesn't work with PhantomJS render PDF

What steps will reproduce the problem?
Load this page to see how it should look: http://monsoonreporting-dev.azurewebsites.net/taxreports/taxsummaryreport?upid=US0401330209103
POST upids=US0401330802165 to http://dev.mymonsoon.com/api/print/pdfs with Content-type:application/x-www-form-urlencoded
Download the returned PDF and compare with the page in step 1
Webfontloader does not seem to work with PhantomJS 2.1.1

When I load my page in the browser, it loads 2 fonts, Roboto (from google web fonts) and Roboto-Regular (from locally).
http://monsoonreporting-dev.azurewebsites.net/taxreports/taxsummaryreport?upid=US0401330209103
You will see at the top right of the page in red text:
WebFonts Active.
Font Active: Roboto-Regular N4
Font Active: Roboto N4
Font Loading: Roboto N4
Font Loading: Roboto-Regular N4
WebFonts Loading.

However, when I run my node script to fetch the page and generate it into a PDF, it does not hit Font Active. It only shows this:
Font Loading: Roboto N4
Font Loading: Roboto-Regular N4
WebFonts Loading.

And the PDF is rendered with fallback font, not Roboto. CSS is set to use Roboto. The same occurs when CSS is set to use Roboto-Regular.
What is causing this to fail loading when using PhantomJS?
Here is my NodeJS code which generates the PDF
var phantomInstance, page, thisPDFfileName = `taxSummaryReports-${randomInt}.pdf`;

    phantom.create()
        .then(function (phInstance) {
            phantomInstance = phInstance;
            return phantomInstance.createPage()
        })

        .then(function (websitePage) {
            console.log('Getting HTML...');
            page = websitePage;

            // Setting useragent for phantomjs to render webfonts - didn't change anything
            // page.property('settings.userAgent', 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36');

            return page.open(reportURL, postSettings)
        })

        .then(function (status) {
            if (status) console.log(status);

            // Create and stream the PDF to the browser
            console.log('HTML Received. Making PDF...');

            var pageOptions = {
                format: 'Letter',
                // width: '8.27in',
                // height: '11.69in',
                // directory: '/temp',
            };

            // you can't set phantom page properties directly - use page.property() to set them
            page.property('paperSize', pageOptions);

            // Setting timout for phantomjs to render webfonts - didn't work
            // setTimeout(function () {
            return page.render(thisPDFfileName)
            // }, 1600);

        })

        .then(function () {

            try {
                var filePath = thisPDFfileName;
                console.log('Page Rendered');
                console.log('PDF Saved in to disk as: ' + filePath);

                var res = responsePrintServer;

                // set headers
                res.setHeader('Content-Type', 'application/pdf');
                res.setHeader('Content-Disposition', `attachment; filename=${filePath}`);

                // need to set the cookie to trigger jquery.fileDownload.js success callback
                res.cookie('fileDownload', true, {httpOnly: false, path: '/'});

                // need to enable CORS or the cookie won't get set
                res.setHeader('Access-Control-Allow-Origin', '*');

                // Set to true if you need the website to include cookies in the requests sent to the API
                // (e.g. in case you use sessions)
                res.setHeader('Access-Control-Allow-Credentials', true);

                // read the file from disk and create a readstream
                console.log('Reading PDF from disk');
                var fileStream = fs.createReadStream(filePath);
                fileStream.on('end', function () {
                    fs.unlink(filePath, function (err) {
                        if (err) console.log('readstream html-pdf error:', err)
                    })
                });

                // send file readstream to the browser
                console.log('Streaming PDF for UPIDs: ' + UPIDs);
                fileStream.pipe(res);

                // Cleanup - delete the rendered PDF once it's sent to the browser, so it doesn't fill up the disk
                onFinished(res, function (err) {
                    if (err) return console.log(err);
                    // destroy(fileStream);
                    del.sync([thisPDFfileName]);
                    console.log(`PDF ${thisPDFfileName} destroyed.`);
                });
            }
            catch (error) {
                console.log(error);

                // Cleanup - delete the rendered PDF when errors occur, so it doesn't fill up the disk
                del.sync([thisPDFfileName]);
                console.log(`PDF ${thisPDFfileName} destroyed.`);
            }
            // Close this phantomjs instance
            phantomInstance.exit();
            console.log('PhantomJS closed. Script has finished successfully`.');
        })

        .catch(error => {
            console.log(error);
            phantomInstance.exit();
        });

fonts have to be embed into PDF as far as i know this is not a webfontloader issue,
saving to rasterized PNG should work ?

I'm not sure I follow you about the vectorized PDF. The text is selectable and scaled nicely. What is the option to embed the font into the PDF? That would be fine with me, but I didn't see any option from PhantomJS to do that.  PNG would not work for the requirements, as it is a text based HTML document I'm converting to PDF.

Accidentally closed :-)

was this solved?

phantomjs is obsolete. Use Puppeteer or headless chrome.

Thanks but having same issue with Puppeteer.

Thanks but having same issue with Puppeteer.

did you manage to solve this issue?
I'm having the same problem with Puppeteer


As a Maker, I need to keep track of my posted bounties so I can stay up to date on their status.

there is a posted section, check the site and try switching between All Bounties and Posted Bounties

Looks good.


MB-6199: Remove unused cmd query-cloudwatch-logs

Description
https://dp3.atlassian.net/browse/MB-6199
We appear to have no one using query-cloudwatch-logs. So we're removing the cruft! Just have to be sure no one is using it of course. I see no mentions of it slack for over a year. I've asked engineering here: https://ustcdp3.slack.com/archives/CP6PTUPQF/p1611845654102000?thread_ts=1610118591.385100&cid=CP6PTUPQF but will wait for some response.
Code Review Verification Steps

[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Messages

:book:
:link: MB-6199

  Generated by :no_entry_sign: dangerJS against 7eee627f241d7f2e37f96fe6073d412c7a2484b3

Messages

:book:
:link: MB-6199

  Generated by :no_entry_sign: dangerJS against 7eee627f241d7f2e37f96fe6073d412c7a2484b3