saving the model

I see a loadFromFile() method but I'm not sure how to save the model. Is there an easy way to do that?

model = await Model.loadFromFile('indexeddb://my-model')
// ...
await model.export('my-model', 'indexeddb')

if in nodejs you need to hack
import { NodeFileSystem } from "@tensorflow/tfjs-node/dist/io/file_system"

//...
await model.model.save(new NodeFileSystem('./model))
//...

@Baael how do you load it, if I run it in node I get:
ReferenceError: fetch is not defined

how do you do this for the browser?
I'm getting this:


[BUG] Unable to attach RWX to a node using Longhorn UI

Describe the bug
RWX volume doesn't attach to a node when attach request is sent by Longhorn UI.
To Reproduce
Steps to reproduce the behavior:

Create a RWX volume using Longhorn UI.
Create PV/PVC for that volume.
Click attach and select a node.
The volume doesn't get attached to the node.

Expected behavior
The volume should get attached to the node.
Log
I don't see Longhorn-manager logs after the attach request. [longhorn-manager-hntrh] <IP_ADDRESS> - - [29/Mar/2021:17:10:20 +0000] "POST /v1/volumes/volume-test-1?action=attach HTTP/1.1" 200 2581 "https://khushlh.qa.rancher.space/k8s/clusters/c-55pdb/api/v1/namespaces/longhorn-system/services/http:longhorn-frontend:80/proxy/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36" for a rwx volume.
longhorn-support-bundle_8b98a2bd-3a47-4227-b8d0-850802e78cf2_2021-03-29T17-11-48Z.zip
Volume name - volume-test-1, pvc-Dd90b31b-81e0-4985-835b-90afe7cbd02f
Environment:

Longhorn version: Longhorn master - 03/29/2021

Additional context
Attachment through the Longhorn UI for RWO volumes is working fine.

RWX volumes can only be manually attached in maintenance mode, otherwise they are controlled by the share-manager.

@joshimoo Thanks for clarifying this behavior change from v1.1.0 to master. Do you think we should show a message on the Longhorn UI in this case?

cc @smallteeths

The ui can be modified in this way. Selected by default and disabled Maintenance radio When manually attaching rwx volume.

Is this okay? @innobead @joshimoo @khushboo-rancher

The ui can be modified in this way. Selected by default and disabled Maintenance radio When manually attaching rwx volume.

Is this okay? @innobead @joshimoo @khushboo-rancher

It sounds good to me. Do we have any tip style for this kind of enforced behavior like disabled by default? like some message next to the check.

Verified with Longhorn-master -04/03/2021
Validation - Pass
User can attach RWX only in maintenance mode. UI shows the message on clicking the attach button. Validated the single and multiple volume attach scenarios.


ReferenceError

When i build app console.log just says  that ReferenceError: someprop is not defined.
Is that maybe iam using typescript without proptypes? IDK :(
Thanks!

Could you post the code and babel configuration that caused this issue?

Yea sure.
babel conf:
"babel": {
"presets": [
"react-app"
],
"env": {
"production": {
"plugins": [
      "babel-plugin-transform-react-class-to-function",
      [
        "transform-remove-console",
        {
          "exclude": [
            "error",
            "warn"
          ]
        }
      ]
    ]
  }
}

},
Also it throw errors only on pure class components which need to be compiled to functions:

For example it failed on Icon component which is pure class component..if i change this to function manualy new error on another component arrive.....
Here is example of componennt which need to be compiled to function:
`// core
import * as React from 'react'
// styles
import * as css from './Icon.scss'
export interface IIconProps {
className?: string
name: string
color?: string
useDesign?: boolean
useSvg?: boolean
}
export class Icon extends React.Component {
render() {
const { name, color, useDesign, useSvg, className } = this.props
const style = {
  color,
}

let icon = require(`assets/icons/svg/approval.svg`)
if (useSvg) {
  try {
    icon = require(`../../../assets/icons/svg/${name}.svg`)
  } catch (err) {}
}
return useSvg ? (
  <img className={`${css.icon} ${className ? className : ''}`} src={icon} alt={name} />
) : (
  <i
    className={`${useDesign ? 'icon-' : 'fe fe-'}${name} ${className ? className : ''}`}
    style={style}
  />
)

}
}

`
Thanks for helping! :)

Sorry for the late response.
I don’t know the rest of your setup. I have been using this plugin along with TypeScript using @babel/preset-typescript lately, and it works just fine.
I need the input and output for this plugin in order to know what’s going wrong. Right now I can’t even be sure if this plugin is the culprit. I think probably not. Closing this issue for now.


Fallback to head method if eTag is not present in event

:white_check_mark: coverage increased from 0% to 100%


Small Feature Request

When you do the command /viaver list could you have it so it shows the number of players next to it because it would be a nice small feature to add :)
Example
[1.11] (3): Notch, Jeb, Jeb_
[1.10] (2): Yugie, Myles
So it counts the number of the players that are using the version and puts the amount next to it. Just think it would be a nice addition :)

Definitely something that would be nice

In latest dev build :)


i18n(fr): Update recipes/sharing-state-islands.mdx from #8223

Description (required)
Update recipes/sharing-state-islands.mdx from #8223

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

fr
recipes/sharing-state-islands.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Once in a while, the two outlets get mixed up and the whole thing gets messed up

It happens for some reason that for example when switching off the lamp outlet, the speakers outlet gets turned on.
Needs further investigation to find out where the problem is (need to see the logs when this happens).

I was just facing this issue. Switching one plug OFF caused the other to turn the other ON and vice-versa. Perhaps mismatched serial numbers for PGX and PGY in config.yaml are the cause? I swapped those value and issue seems to be resolved.


Update fotmob extension

Description
This resolved this issue  #15582

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@raycastbot


OpenCL: GL.h missing

It looks like OpenCL ICD loader library expects OpenGL headers being available in the system. This is not the case for some docker images like gcc:6.
See failing build: https://circleci.com/gh/ethereum-mining/ethminer/10.

OpenGL request is here: https://github.com/ruslo/hunter/issues/120
Feel free to add any implementation details info.


Add Python 3 support.

Wow very nice. Will test it.
Tried supporting Python 3 before but didn't get Python 3 and Python 2 to work simultaneously.

Hmm, I just noticed (thanks to Wercker tests) that the list() I added breaks some tests.
Not sure what to do with that

Hmm, I just noticed (thanks to Wercker tests) that the list() I added breaks some tests.
Not sure what to do with that

It tries to compile the Python tests to C++ as well and I don't support list yet.
I would have to implement a list equivalent in C++ that unwraps the iterator.
The whole range thing I implemented is quite a hack. I am using this library https://github.com/aduchene/rangepp/blob/master/range.hpp


cell_range of text cells: all texts get shortened to their first character

Reproducing the problem

Create an array of string:
arr = np.empty((3,4), str)
arr.fill("foo")

Create a Sheet with a cell_range spanning the whole array:

either with the numpy_loaderipysheet.from_array(arr)

or manuallys = ipysheet.sheet(rows=3, columns=4)
ipysheet.cell_range(arr)
s

In both cases, the entries get shortened to just "f". Any new values entered into the cells will also be shortened to their first character.

Oops, I just noticed that the cause of this problem was because numpy uses strings of a fixed length and defaults to 1. So it's not an ipysheet problem, sorry.

Happy you found your issue :)


remove paired- or single-ended binary choice from SOLiD and Solexa sequencing  assays?

came up while discussing multiplicative combinations of single cell paired end polyA RNAseq, etc. on 14 May 2018
needs more discussion

OVERALL STRATEGY:
minimal definition, taking a general instrumetn type a sthe participant.
only include child of dna seq and has part SOliD instrument
move everything else up to dna seq ?  or just seq by synth?
Immobilization just for seq by synth?
create 'library' class, intermediate between (single or paired) and processed material
is Solexa label still relevant for instruments like MiSeq?
why does soelxa seq have "has participant GA II" as a restriction?


[Do Not Merge] Support for the extension - Add hello and flush routes and metric support

What does this PR do?
Support the extension by :

sending metrics to the extension
adding the file detection + hello + flush route calls
heavy dependence on finish

Motivation
Start the extension support/tests without being blocked by the flush removal task.
Testing Guidelines
Deploy a function, be able to see logs for instance.
Additional Notes

Types of changes

[ ] Bug fix
[ ] New feature
[ ] Breaking change
[ ] Misc (docs, refactoring, dependency upgrade, etc.)

Checklist

[ ] This PR's description is comprehensive
[ ] This PR contains breaking changes that are documented in the description
[ ] This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
[ ] This PR impacts documentation, and it has been updated (or a ticket has been logged)
[ ] This PR's changes are covered by the automated tests
[ ] This PR collects user input/sensitive content into Datadog

LGTM, I just left some spellcheck comments, you should get a review from someone who actually knows Java though


Orthographic view issues on 6.0

Zoom is broken
ScreenGridLayer rendering is bad on first instance, re-rendering fixes it, could be related to above point.

To Do List

[x] Add label and assign to milestone
[x] Coding
[ ] Test

CC: @javidhsueh

Need to re-test with #2024 for item#2

I've confirmed that zoom works again


Added the beautiful confetti effect when funds are paid our or someon…

…e sings in
Might still be some errors, for example, I can't figure out how to make confetti appear more than once

Ok messed up here will fix stuff soon


Make Community Standard Files

Code of conduct
Contributing
License
Issue Template
Pull Request Template

see Here for the list

TL;DR I don't see this as a big enough project to EVER need any of this. 😅
As I have said before, 30 minute project which I just shared.
Once it's done, it's done, I don't see much more advancements from this project other than a few tweaks here and there, and maybe an addition of a new way of vibration.
All of these require far more effort to setup than will actually help the outcome for it.


Implement playback rate for Android 6.0+

This PR implements support for the rate prop on android devices running Marshmallow (API 23) or higher. Devices on lower versions of android are unaffected, and will behave as before.
Relates to #584, but doesn't strictly fix it because of the version restrictions

The patch works great!

This patch is great but leads to an issue when media player starts playing with paused state. Docs are clear about this: After the object is prepared, calling it with zero speed is equivalent to calling pause(). After the object is prepared, calling it with non-zero speed is equivalent to calling start().
https://developer.android.com/reference/android/media/MediaPlayer.html#setPlaybackParams(android.media.PlaybackParams)
So, if you init your video with rate of 1 it will start playing even with paused=true. I can definitely reproduce this on android versions of 7 and 8, but cannot reproduce on android 6.

I've gone ahead and added code to save the rate and apply it when the player unpauses to handle the concerns that @egorkhmelev brought up. This is working great in my testing, so merging this.


docs build failing: opendp.extrinsics.rst not included in any toctree

Fresh checkout of main at 78eb181a767329d and make html fails:
...
checking consistency... /Users/chuck/github/opendp/opendp/docs/source/api/python/opendp.extrinsics.rst: WARNING: document isn't included in any toctree
...
build finished with problems, 1 warning.
make: *** [html] Error 1

These are all generated files, so I'm not sure what the root of the problem is. Investigating.

My mistake: I think it was an old file: It's now private and not part of the published docs.


"overloaded" registers

File: STM32F30x.svd
Peripheral: TIM2
The SVD file specifies that two registers exist at offset 0x1C: CCMR2_Input and CCMR2_Output. The thing is that this register can be used differently depending on whether the TIM2 peripheral is configured in Output Compare Mode or in Input Compare Mode. By differently, I mean that the bits of this register have different meaning depending on the compare mode.
I'm not sure how to model this. We could use a union here but that's not stable. For now, I think, I'm just going to pick one register and ignore the other but emit a warning.

One approach would be to make both registers available but disable any constraints that would make read or write access to the register safe.

Having a similar issue with an STM32F103. The MODE register of a GPIO configures it for input or output, the CNF register handles the configuration (open-drain, push-pull, etc) but the settings are different depending on the mode.

I think I've run into this as well.
Trying to use the generated file from: https://github.com/nicholastmosher/lpc176x5x-rs/blob/master/src/uart.rs which has a register called "DLL", but because it overlaps with the "RBR" register at offset 0x0, it cannot be used at all.
The SVD file used (https://raw.githubusercontent.com/posborne/cmsis-svd/aa4721af946a253d18c8737b01d23e9c88a42e84/data/NXP/LPC176x5x_v0.2.svd) annotates this with "alternateRegister".
So, "+1" I guess.

To @etrombly. I solved this problem by changing field definitions in SVD file. CNF and MODE bits for the same pin are adjacent so instead of separate 2-bit fields I declared them as one 4-bit field. And then created enum for them according to the "Table 20. Port bit configuration table" in the reference manual. So now I can select mode with single call like "output10pp" (Output, push-pull, max speed 10MHz) or "input_floating".
But there are cases where such solution is not possible. I think that in situation like example with timers it will be best to generate API for both registers (maybe just print a warning about it during generation). And then programmer can use appropriate API depending of the mode.

SVD files I am generating for MSP430 are also affected by this issue, but since the overlapping registers are not in the same peripheral, the svd2rust does not complain about them.

@pftbest

but since the overlapping registers are not in the same peripheral,

Could you elaborate on this? How can they be overlapping if the registers are in different peripherals? What would be an example of this in the SVD file you linked?

How can they be overlapping if the registers are in different peripherals?

On MSP430 the peripheral (module) is a logical group of registers, not physical group. Each register of a peripheral may be placed in some random location in memory. In practice almost all peripherals overlap with each other, but it's not a problem since they have a different combination of registers and reserved fields inside.
But there are some peripherals that do contain overlapping registers, for example
USCI_B0_SPI_Mode and USCI_B0_I2C_Mode

Adding some context here (as I keep stumbling at ccmr1_input/ccmr1_output registers on STM32 F103 chip).
First, unions are in Rust 1.19: https://github.com/rust-lang/rust/pull/42068
However, using them at this point would require breaking the API as anonymous unions are not supported (i.e, instead of tim1.ccmr1_output(...) / tim1.ccmr1_input.write(...) access pattern would be like tim1.ccmr1_output.ccmr1_output.write(...) / tim1.ccmr1_output.ccmr1_input.write(...) (first ccmr1_output is the name of the group). Anonymous unions are currently discussed here.

I think this currently bites me as well with the LPC11Uxx:
<register>
	<name>RBR</name>
	<description>Receiver Buffer Register. Contains the next received character to be read. (DLAB=0)</description>
	<addressOffset>0x000</addressOffset>
	<access>read-only</access>
	<resetValue>0</resetValue>
	<resetMask>0x00000000</resetMask>
	<readAction>modify</readAction>
	<fields>
		<field>
			<name>RBR</name>
			<description>The USART Receiver Buffer Register contains the oldest received byte in the USART RX FIFO.</description>
			<bitRange>[7:0]</bitRange>
		</field>
		<field>
			<name>RESERVED</name>
			<description>Reserved</description>
			<bitRange>[31:8]</bitRange>
		</field>
	</fields>
</register>
<register>
	<name>THR</name>
	<description>Transmit Holding Register. The next character to be transmitted is written here. (DLAB=0)</description>
	<alternateRegister>RBR</alternateRegister>
	<addressOffset>0x000</addressOffset>
	<access>write-only</access>
	<resetValue>0</resetValue>
	<resetMask>0x00000000</resetMask>
	<readAction>modify</readAction>
	<fields>
		<field>
			<name>THR</name>
			<description>Writing to the USART Transmit Holding Register causes the data to be stored in the USART transmit FIFO. The byte will be sent when it is the oldest byte in the FIFO and the transmitter is available.</description>
			<bitRange>[7:0]</bitRange>
		</field>
		<field>
			<name>RESERVED</name>
			<description>Reserved</description>
			<bitRange>[31:8]</bitRange>
		</field>
	</fields>
</register>

The receive and transmit buffer register are mapped to the same address. Here it would be actually the best to just have both available.

I have some code that does something about this using unions.   https://github.com/japaric/svd2rust/pull/192#issuecomment-373077513 has an example of how this looks.  If you have strong opinions on naming/modeling, or if there are really bizarre situations that need to be accounted for, I'd love to hear them.

@japaric would the approach proposed by @rnestler be sensible? solving this issue is a requirement for properly supporting MCUs like the NXP LPC11Uxx.

I think for the LPC11uxx use case above a union isn't really the right
thing, since the read and write register are unrelated.

What does this mean? How are they unrelated
On 14 June 2018 at 12:48, Danilo Bargen<EMAIL_ADDRESS>wrote:

@japaric https://github.com/japaric would the approach proposed by
@rnestler https://github.com/rnestler be sensible? solving this issue
is a requirement for properly supporting MCUs like the NXP LPC11Uxx.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/japaric/svd2rust/issues/16#issuecomment-397252998,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABbuh3qUVBsKDH5VvM2HVmbqRMUHlwiCks5t8j-PgaJpZM4KbtVf
.

What does this mean? How are they unrelated

The Tx and Rx register for example use the same address. But writing to the Tx register doesn't influence the Rx register at all, they are just mapped to the same address.
So one can't write to the Rx register and one can't read from the Tx register.

Closing as already supported


Replace tqdm

progress bar behaving same in terms of output data.
still need to change variables to make it visually look identical, and change the import statements inside most of the files.
Note: this can replace the progress bar and the trange function.
Don't think we can do much more (e.g tqdm.write) within 5 lines, but replacing those other commands shouldn't be an issue.
Test script:
import random
import time

def progress_bar(iterable, length=50, fill='█'):
    start = time.time(); print('{0}%|{1} 0/{2} 00:00<?,?it/s'.format(0, ' ' * length, len(iterable)), end='\r')
    for i, item in enumerate(iterable):
        yield item; elapsed, percent, bar = time.time()-start, round(100*((i+1)/float(len(iterable))),1), fill * int(length*(i+1)//len(iterable)) + ' ' * (length-int(length*(i+1)//len(iterable)))
        print("{0}%|{1}|{2}/{3}[{4}<{5},{6}]".format(percent,bar,i+1,len(iterable), time.strftime("%H:%M:%S", time.gmtime(elapsed)),time.strftime("%H:%M:%S", time.gmtime(elapsed*(1-1/(percent/100)))),str(round((i+1)/elapsed,2)) + 'it/s' if (i+1)/elapsed >= 0.1 else str(round(elapsed/(i+1),2))+'s/it'), end='\n' if i+1==len(iterable) else '\r')

def test():
   random_sleep = [random.random() for i in range(10)]
   for i in progress_bar(range(10)):
      time.sleep(random_sleep[i])
   for i in tqdm(range(10)):
      time.sleep(random_sleep[i])

test()

This is not close to enough to lock a bounty. Don't bother changing the stuff in extra, it's only the core library change that's required.

Locked the bounty for #4846. Most notably, this PR didn't change the two places tqdm was actually used in the main library, just a few meaningless things in extra.


Rendering a nested pyproject.toml file to stdout is broken

Discovered this today while working on https://github.com/rapidsai/cudf/pull/15245.
On the latest version of dependency-file-generator (v1.13.4), rendering a nested pyproject.toml to stdout fails.
Reproducible Example
git clone git@github.com:rapidsai/cudf.git
cd cudf
git checkout b810113d

rapids-dependency-file-generator \
  --output pyproject \
  --file-key py_run_cudf \
  --matrix "cuda=12.2"

Fails like this:
Traceback (most recent call last):
  File "/Users/jlamb/miniforge3/envs/rapids-dev/lib/python3.10/site-packages/rapids_dependency_file_generator/_rapids_dependency_file_generator.py", line 183, in make_dependency_file
    table = table[section]
  File "/Users/jlamb/miniforge3/envs/rapids-dev/lib/python3.10/site-packages/tomlkit/container.py", line 624, in __getitem__
    item = self.item(key)
  File "/Users/jlamb/miniforge3/envs/rapids-dev/lib/python3.10/site-packages/tomlkit/container.py", line 466, in item
    raise NonExistentKey(key)
tomlkit.exceptions.NonExistentKey: 'Key "project" does not exist.'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/jlamb/miniforge3/envs/rapids-dev/bin/rapids-dependency-file-generator", line 10, in <module>
    sys.exit(main())
  File "/Users/jlamb/miniforge3/envs/rapids-dev/lib/python3.10/site-packages/rapids_dependency_file_generator/_cli.py", line 151, in main
    make_dependency_files(parsed_config, file_keys, output, matrix, args.prepend_channels, to_stdout)
  File "/Users/jlamb/miniforge3/envs/rapids-dev/lib/python3.10/site-packages/rapids_dependency_file_generator/_rapids_dependency_file_generator.py", line 419, in make_dependency_files
    contents = make_dependency_file(
  File "/Users/jlamb/miniforge3/envs/rapids-dev/lib/python3.10/site-packages/rapids_dependency_file_generator/_rapids_dependency_file_generator.py", line 188, in make_dependency_file
    if not table.is_super_table():
AttributeError: 'TOMLDocument' object has no attribute 'is_super_table'

Notes
I believe the specific issue is right here:
https://github.com/rapidsai/dependency-file-generator/blob/ec3d043e7ab0abb5acb111ebdeea0c72b691d0a5/src/rapids_dependency_file_generator/_rapids_dependency_file_generator.py#L418

I have a fix for this, will put up a PR shortly. Just wanted to get the bug into writing.

:tada: This issue has been resolved in version 1.13.5 :tada:
The release is available on:

GitHub release
PyPI release
Conda release - rapidsai
Conda release - rapidsai-nightly

Your semantic-release bot :package::rocket:


Range should not format timestamp but datetime string

Fixed by either formatting the query not as a timestamp, or saving the dates as timestamp in elasticsearch with the toSearchableArray()


Add e2e test for weighted backend

Description:

Describe the desired behavior, what scenario it enables and how it
would be used.

Set up e2e test for weighted backend, prevent https://github.com/envoyproxy/gateway/pull/2187

@Xunzhuo  Hello Xunzhuo, I'm interested in this issue. Could you please provide more information?

Hey @ShyunnY the conformance tests live in https://github.com/envoyproxy/gateway/tree/main/test/e2e
Here's the feature we need to add an e2e for https://gateway-api.sigs.k8s.io/guides/traffic-splitting/#http-traffic-splitting

@arkodg
I encountered some problems when writing e2e tests: I need to obtain the pod information in the backend response body as a traffic identifier to calculate the weight of routing to different backends under given traffic. But the CapturedResponse obtained by suite.RoundTripper.CaptureRoundTrip(req) seems to only contain response metadata. I can't determine which backend this traffic is routed to.
Currently I want to use the net.http package to solve this problem. Do you have a better way?

@arkodg I encountered some problems when writing e2e tests: I need to obtain the pod information in the backend response body as a traffic identifier to calculate the weight of routing to different backends under given traffic. But the CapturedResponse obtained by suite.RoundTripper.CaptureRoundTrip(req) seems to only contain response metadata. I can't determine which backend this traffic is routed to. Currently I want to use the net.http package to solve this problem. Do you have a better way?

will stats help?

@ShyunnY is it possible to rewrite https://github.com/kubernetes-sigs/gateway-api/blob/38f629931dce810032d43107a27343e210fe4a89/conformance/utils/roundtripper/roundtripper.go#L153 here to also  accept Body (unmarshal body into Context) in this repo and later enhance the upstream code ?
or fixing it in upstream first also works

@ShyunnY is it possible to rewrite https://github.com/kubernetes-sigs/gateway-api/blob/38f629931dce810032d43107a27343e210fe4a89/conformance/utils/roundtripper/roundtripper.go#L153 here to also accept Body (unmarshal body into Context) in this repo and later enhance the upstream code ? or fixing it in upstream first also works

The implementation of the RoundTripper interface was written with too little extensibility, which prevented me from wrapping it. If we chose to rewrite this approach, I think it would add a lot of unnecessary code. I have already raised an issue with the upstream. We can write this test later.

@arkodg I encountered some problems when writing e2e tests: I need to obtain the pod information in the backend response body as a traffic identifier to calculate the weight of routing to different backends under given traffic. But the CapturedResponse obtained by suite.RoundTripper.CaptureRoundTrip(req) seems to only contain response metadata. I can't determine which backend this traffic is routed to. Currently I want to use the net.http package to solve this problem. Do you have a better way?

will stats help?

We need to get information from the echoserver response body to indicate the real routing backend of the traffic. Stats cannot help us.

@arkodg The upstream gatewya-api seems to be far away from changing this issue. Should we still choose to implement a simple RoundTripper ourselves so that it can be released in v1.0.0rc?


[Refactor] Deal with initial conditions better

Currently the initial conditions are not well-tested and not well designed. It is important to deal with them better.

Resolved in PR #74.


[bug] isMaximized seems to trigger resize event

Describe the bug
I'm checking isMaximized with the resize event. This seems to trigger an infinite loop of sorts since I can see thousands of console.logs instead of one per pixel (or whatever). I have window decorations set to false in tauri.conf.
  useEffect(() => {
    let unlisten: UnlistenFn;
    const window = getCurrent();

    listen("tauri://resize", async () => {
      console.log("resize");
      const _isWindowMaximized = await window.isMaximized();
      //...
    }).then((data) => {
      unlisten = data;
    });

    return () => {
      if (unlisten != null) {
        unlisten();
      }
    };
  }, []);

Removing the isMaximized or trying with some other functions on window does not result in the same behaviour.
I've tested on Macos and Windows and it seems it works just fine on Windows.
Reproduction
use window.isMaximized() in listen("tauri://resize")
Expected behavior
No response
Platform and versions
Environment
› OS: Mac OS 13.0.0 X64
› Node.js: 18.5.0
› npm: 8.12.1
› pnpm: Not installed!
› yarn: 1.22.19
› rustup: 1.25.1
› rustc: 1.64.0
› cargo: 1.64.0
› Rust toolchain: stable-x86_64-apple-darwin
Packages
› @tauri-apps/cli [NPM]: 1.2.2
› @tauri-apps/api [NPM]: 1.2.0
› tauri [RUST]: 1.2.2,
› tauri-build [RUST]: 1.1.1,
› tao [RUST]: 0.15.7,
› wry [RUST]: 0.23.3,
App
› build-type: bundle
› CSP: unset
› distDir: ../dist
› devPath: http://localhost:5173/
› framework: React
› bundler: Vite
App directory structure
├─ dist
├─ node_modules
├─ src-tauri
├─ .git
├─ .vscode
└─ src
Stack trace
No response
Additional context
No response

I also have the same issue

Same issue here. I also noticed, in my case, that this happens only in dev mode (tauri dev) and not in production (tauri build).
This issue makes it impossible to use isMaximized() in combination with onResized() (https://tauri.app/it/v1/api/js/window#onresized) on MacOS.
The only workaround I found is to use a flag to temporarily disable the onResized() callback during the isMaximized() execution:
const isOnResizedDisabled = useRef(true)

function isMaximizedWorkaround(){
 isOnResizedDisabled.current = true
 appWindow.isMaximized().then((isMaximized) => {
   isOnResizedDisabled.current = false
   // your stuff
 })
}

useEffect(() => {
 unlisten = appWindow.listen(TauriEvent.WINDOW_RESIZED, () => {
   if (!isOnResizedDisabled.current) {
     isMaximizedWorkaround()
   }
 })
 return () => {
   if (unlisten) unlisten.then((f) => f())
 }
}, [])


Return idToken and serverAuthCode separately.

idToken is different than accessToken. idToken is for verifing identity, while accessToken is needed to use Google API. serverAuthCode is code that you can use along with your secret to obtain accessToken.
You can't get accessToken for Android without this stage (even using Client ID of the type web), so I would return what is possible to get - idToken and serverAuthCode and not introducing confusiion by naming any of them accessToken.

the API has been completely rewritten to match Google documentation. Please let me know if you think improvements can be made.


feat: add support for specific version with starkliup

The current PR is motivated by the fact that different versions may propose different compiler versions, and the versions are not exhaustive as we depend on the cairo-starknet-xxx versioning.
This PR proposes the use of -v|--version option + add fallback to wget if curl is not supported.
The proposed behavior is the following:
# As before, by default the latest version if fetched and installed.
$ starkliup

# Specifying a tag, which will fail if the tag is invalid.
$ starkliup --version v0.1.1
$ starkliup -v v0.1.1

# This is supported too.
$ starkliup -v latest

We can remove the v and only ask the use 0.1.2 for instance.
@xJonathanLEI WDYT?

As the download was re-factorized in a function, I found it convenient to add two lines in order to support wget as mentioned as a TODO in the code.
To keep the PR related to the version only, I'll drop those lines as you mentioned.

I meant simply restore the diffs added for the wget support in the first place, not just removing the wget lines from the final diffs.
I prefer keeping PRs simple and do one thing only.

I meant simply restore the diffs added for the wget support in the first place, not just removing the wget lines from the final diffs.
I prefer keeping PRs simple and do one thing only.

Got you, thanks for the feedback I'll take care of that. :+1:
However, in the previous implementation there were no error if the version wasn't found. That's why in the download method there is error handling a bit different from the original code.
curl -# -L https://github.com/xJonathanLEI/starkli/releases/download/v8.8.8/starkli-aarch64-unknown-linux-gnu.tar.gz -o /tmp/test

This command will not fail, the $? is 0. However, the content of /tmp/test is a text file with Not Found inside.
For this reason I moved to a function to handle the download and associated errors and next evolution of the code related to download.
Do  you want me to don't use the function and only add the appropriate error handling in place?

Oh for that you can just use the --fail flag of curl I think.
I forgot to add the flag cuz that URL always exists.

So maybe just restore and add that flag? (unless if that flag isn't sufficient in detecting error)

Take an example with the following command:
starkliup --version v8.0.8

The --fail flag used like this:
curl -# --fail -L $FILE_URL -o $TEMP_FILE_NAME

causes the program to exit with the following error printed to the user:
curl: (22) The requested URL returned error: 404

And we can't add any echo after it as the program exits on curl fail.
Where the current download_release_file method provides:

A check that curl is installed
A more comprehensive error message:

Couldn't download release file for tag 'v8.0.8' from GitHub [404].


Update MD file on new branch 2017-12-15_13-44-48

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Wikidata error on "Add columns from reconciled column"

The Wikidata-based data extension API produces an error corrently. Here is the procedure to follow:
Lets suppose you want to match "Richard Cheney" and "William Clinton" with a dataset where both names are in short form (Dick Cheney and Bill Clinton).
1 Split the names into several columns, one of which containing the first names (for you to see what is the best way to split the names according to your data).
2 match the first names column with Wikidata and the category "Given name".
3 Extract the nicknames using "Edit column / add column from reconciled values".
4 As soon as you add the nickname property, you'll get an error as below. Some Given Name fields work properly, others like nickname produce an error.

I think the issue is caused because the "nickname" has a datatype of "Monolingual Text" meaning there is a language label on each value for this property.
The same error can also be seen by choosing "native label" which is also Monolingual Text.
When choosing to add data from properties which are not monolingual texts the error does not occur

Closing as this is the same issue as #1809


Added extra-files sshd config for morello freebsd image

is a new image of this published btw and if so under what version?

v1.0.1 and latest


Reaching containers in different docker networks

Hi,
Consider the following basic example:
---
version: '2'

services:
  traefik:
    image: traefik
    command: --web --docker --docker.domain=docker.localhost --logLevel=DEBUG
    ports:
      - "80:80"
      - "8080:8080"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /dev/null:/traefik.toml

  whoami1:
    image: emilevauge/whoami
    labels:
      - "traefik.backend=whoami"
      - "traefik.frontend.rule=Host:whoami.docker.localhost"

  whoami2:
    image: emilevauge/whoami
    labels:
      - "traefik.backend=whoami"
      - "traefik.frontend.rule=Host:whoami.docker.localhost"

I start my containers:
$ docker-compose up -d
docker-compose up -d
Creating testdock_traefik_1
Creating testdock_whoami2_1
Creating testdock_whoami1_1

I add a third "whoami" container directly with docker that I called whoami_out (out of docker-compose)
$ docker run -d --name whoami_out emilevauge/whoami

They are all registered in traefik web ui:

However traefik works only for the ones started with docker-compose:
$ curl -H Host:whoami.docker.localhost http://<IP_ADDRESS>
Hostname: dea890067ec8
IP: <IP_ADDRESS>
IP: ::1
IP: <IP_ADDRESS>
IP: fe80::42:acff:fe13:3
GET / HTTP/1.1
Host: whoami.docker.localhost
User-Agent: curl/7.43.0

Accept: */*
Accept-Encoding: gzip
X-Forwarded-For: <IP_ADDRESS>
X-Forwarded-Host: whoami.docker.localhost
X-Forwarded-Proto: http
X-Forwarded-Server: 8a52baca04f9

$ curl -H Host:whoami_out.docker.localhost http://<IP_ADDRESS>
Gateway Timeout

I understand that docker-compose creates its own network but is there a way to reach all containers?
Thanks for your help!

I would suggest to create your network manually and reuse this network in your compose file and in the apps launched later.

It looks like traefik will try to proxy traffic to the wrong ip.
I created an external network manually called "traefik" then configured a generic traefik instance to use this network, and a wordpress instance to use this, as well as a back-end network.
The IP that shows up in traefik is http://<IP_ADDRESS>:80, and so when we attempt to route traffic to this IP it fails. You can see in the output below that the wordpress container is on the traefik network, but with a different IP.
    {
        "Name": "traefik",
        "Id": "7f9726cb0e9043af53e48e7e3a093af95f331a0776657a9e63defa8f522977c1",
        "Scope": "local",
        "Driver": "bridge",
        "EnableIPv6": false,
        "IPAM": {
            "Driver": "default",
            "Options": {},
            "Config": [
                {
                    "Subnet": "<IP_ADDRESS>/16",
                    "Gateway": "<IP_ADDRESS>/16"
                }
            ]
        },
        "Internal": false,
        "Containers": {
            "06e1465e5186c319e37c52a201af877d8bf7369fc4ec081e401158b3473f6106": {
                "Name": "dockerwordpress_wordpress_1",
                "EndpointID": "4356e90c03032279df73cc6f4cf579c97662ecbac6bd8faeb16b88da9b45c1f3",
                "MacAddress": "02:42:ac:15:00:03",
                "IPv4Address": "<IP_ADDRESS>/16",
                "IPv6Address": ""
            },
            "1dd50751e0ee1f2780c9a5c84b1e2e09f3475ca60c9af75489eb153d8ec0832c": {
                "Name": "dockerhaproxy_traefik_1",
                "EndpointID": "6d3515c874a379f771276ba25579be2b5deb871420a9c8cdaedac3f6b56fd071",
                "MacAddress": "02:42:ac:15:00:02",
                "IPv4Address": "<IP_ADDRESS>/16",
                "IPv6Address": ""
            }
        },
        "Options": {},
        "Labels": {}
    }
]

Output for the wordpress container:
"Networks": {
                "dockerwordpress_back-end": {
                    "IPAMConfig": null,
                    "Links": [
                        "dockerwordpress_mysql_1:dockerwordpress_mysql_1",
                        "dockerwordpress_mysql_1:mysql",
                        "dockerwordpress_mysql_1:mysql_1"
                    ],
                    "Aliases": [
                        "wordpress",
                        "06e1465e5186"
                    ],
                    "NetworkID": "9952882f5dd96b246b5d3a63e4e832301ce0066aafff72e3d7fcef0940902455",
                    "EndpointID": "390a9a13b85410b1dbc6c3e08378484707e2ae79bd4b62e6114895f4e25cbeea",
                    "Gateway": "<IP_ADDRESS>",
                    "IPAddress": "<IP_ADDRESS>",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:ac:13:00:03"
                },
                "traefik": {
                    "IPAMConfig": null,
                    "Links": [
                        "dockerwordpress_mysql_1:dockerwordpress_mysql_1",
                        "dockerwordpress_mysql_1:mysql",
                        "dockerwordpress_mysql_1:mysql_1"
                    ],
                    "Aliases": [
                        "wordpress",
                        "06e1465e5186"
                    ],
                    "NetworkID": "7f9726cb0e9043af53e48e7e3a093af95f331a0776657a9e63defa8f522977c1",
                    "EndpointID": "4356e90c03032279df73cc6f4cf579c97662ecbac6bd8faeb16b88da9b45c1f3",
                    "Gateway": "<IP_ADDRESS>",
                    "IPAddress": "<IP_ADDRESS>",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:ac:15:00:03"
                }
            }
        }

Maybe having the option to specify the network name via a label so that it can parse the output properly?

Just kidding, I guess I should RTFM. As that functionality already exists :) https://docs.traefik.io/toml/ specifically traefik.docker.network

I've been smashing my head on the keyboard for 2 hours trying to figure out why traefik registered my container with the wrong network interface.
Let's repeat all together...
I should RTFM


check nil pointer before reference to SSECustomerKeyMD5

Signed-off-by: Kaizhe Huang<EMAIL_ADDRESS>
What type of PR is this?
Bug fix

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind feature

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area config

/area outputs

/area tests

What this PR does / why we need it:
This PR is to fix issue #234
Which issue(s) this PR fixes:
#234

Fixes #
Special notes for your reviewer:

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

Needs approval from an approver in each of these files:

OWNERS

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

@Kaizhe: There is not a label identifying the kind of this PR.
Please specify it either using /kind <group> or manually from the side menu.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/kind bug

/lgtm

LGTM label has been added.  Git tree hash: 78c67c52173d6489631ebf1dd66c463d53145d72

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: developer-guy
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [developer-guy]

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

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: developer-guy, Issif
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Issif,developer-guy]

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


Use scratch document to compute block's extent in main document

The converter needs to compute a block's boundaries, that is, its extent, so it can determine where to:

start a block
draw a background under the block (if applicable)
draw a border around the block (if applicable)

Existing logic
Currently, the converter only computes a block's effective height from the top of the page in a scratch document. Since this logic only guarantees that the height is accurate when computed from the top of the page, it requires blocks which don't fit on the current page to be advanced to the next page (i.e., keep together). Still, even when it appears the block can fit on the current page, the margin behavior may be different, resulting in the block being rendered incorrectly. Furthermore, providing only the height of the block makes the boundaries of the background and/or border more complicated to compute, debugging harder, and keep together behavior mandatory.
New logic
Instead of determining a block's effective height, the converter should compute a block's extent. The extent will always start from the same place in the scratch document as it will start from in the main document.
The extent stores:

the start page and cursor
the end page and cursor
the current page and cursor

The extent also provides helper methods to query the state, such as whether the extent (and hence block) is only a single page or whether it must be advanced to a new page. The new logic should be able to accommodate both breakable and unbreakable blocks.
Here's a summary of the new logic:

rename keep_together DSL method to arrange_block
always set keep together unless cursor is at top of page (changing this behavior will be addressed in a separate issue)
run dry_run with the provided proc to compute the extent of the block in the scratch document
if keep_together is set: convert the block starting from the top of a new page until the end of the page is reached; if the block spills over to another page, start over again from the cursor location in the main document*
if cursor is at top of page: convert the block fully starting from the top of a new page in the scratch document
if cursor is not at the top of the page: convert the block starting from the cursor location in the main document until the end of the page is reached; if the block spills over to another page, and the previous page is empty (or only has the block caption), start over again from the top of the page
compute the extent of the block in the scratch document
if the block needs to be pushed to a new page, advance the page in the main document
use the scratch extent to compute the extent in the main document
run the proc again to convert the content of the block, this time passing in the extent for it to use to draw the background and/or border

To halt conversion of the block early, the converter will raise the StopIteration exception provided by Ruby. This allows the dry run process to avoid doing unnecessary work.
(*) Currently, if a block must be split because it doesn't fit on a single page, it's still advanced to the start of the next page. In this situation, the block should start from the cursor. This avoids a big gap at the bottom of the current page when the block must be split anyway.
This issue replaces #789.

As part of this issue, we need to update the dev guide to explain how arrange_block works.
For clarity, the new logic applies to all delimited blocks (listing, quote, sidebar, open, etc.) and admonitions.
Also note that if a cell in a table is longer/larger than an entire page, it can't be kept together. However, the new logic will enable us to keep together a table and it's caption, but we'll address that fix in another issue.

Here are the test cases we have so far:

Asciidoctor::PDF::Converter#arrange_block

Asciidoctor::PDF::Converter#arrange_block
should paint background over extent of empty block
unbreakable block
  at top
    should keep block on current page if it fits
    should split block taller than page across pages starting from page top
    should split block taller than several pages across pages starting from page top
  below top
    should keep block on current page if it fits
    should advance block shorter than page to next page to avoid breaking
    should advance block shorter than page and with caption to next page to avoid breaking
    should advance block shorter than page and with caption that wraps to next page to avoid breaking
    should split block taller than page across pages starting from current position
    should restart dry run at current position once content exceeds height of first page
    should restart dry run at current position once content exceeds height of first page inside nested block
    should advance block taller than page to next page if only caption fits on current page
    should advance block taller than page to next page if no content fits on current page
    should preserve indentation across pages in scratch document
breakable block
  at top
    should keep block on current page if it fits
    should split block taller than page across pages starting from page top
    should split block taller than several pages starting from page top
    should split block across pages that contains image that does not fit in remaining space on current page
    should split block across pages that contains image taller than page that follows text
  below top
    should keep block on current page if it fits
    should advance block shorter than page to next page if only caption fits on current page
    should advance block shorter than page to next page if no content fits on current page
    should advance block taller than page to next page if only caption fits on current page
    should advance block taller than page to next page if no content fits on current page
    should split block shorter than page across pages starting from current position if it does not fit on current page
    should split block taller than page across pages starting from current position
    should split block across pages that contains image that does not fit in remaining space on current page
    should advance block that starts with image that does not fit in remaining space on current page to next page
    should advance block with caption that starts with image that does not fit in remaining space on current page to next page
multiple
  should arrange block after another block has been arranged
table cell
  at top
    should keep block on current page if it fits
    should draw border around block extent when table cell has large padding
    should truncate block taller than page within table cell
    should scale font when computing height of block
  below top
    should advance table cell that contains block shorter than page but does not fit on current page
    should advance table cell that contains unbreakable block that does not fit on current page
    should advance table cell and truncate child block taller than page
anchor
  should keep anchor with unbreakable block when advanced to new page
  should keep anchor with breakable block when advanced to next page

Done!


Add OSS contribution/publishing as KPI

Should add open source contribution and publishing as KPIs:

number of OSS project ESDC is contributing to
number of ESDC software released under an OSS licence

#78


Support writing outcomes to file storageProvider and check for valid storageProvider ids in preflight

Is your feature request related to a problem? Please describe.
When I pass an invalid storageProvider via X-FHIR-BULKDATA-OUTCOME, it accepts the job and then fails with a confusing error in the joblogs like this:
[3/12/21 20:14:36:297 UTC] [step1 partition0] com.ibm.fhir.bulkdata.jbatch.load.ChunkWriter                  Import ChunkWriter.writeItems during job[2]
                                 java.lang.IllegalArgumentException: none
	at com.ibm.fhir.operation.bulkdata.model.type.StorageType.from(StorageType.java:32)
	at com.ibm.fhir.operation.bulkdata.config.impl.AbstractSystemConfigurationImpl.getStorageProviderStorageType(AbstractSystemConfigurationImpl.java:243)
	at com.ibm.fhir.bulkdata.jbatch.load.ChunkWriter.writeItems(ChunkWriter.java:164)
	at com.ibm.jbatch.container.artifact.proxy.ItemWriterProxy.writeItems(ItemWriterProxy.java:80)
	at com.ibm.jbatch.container.controller.impl.ChunkStepControllerImpl.writeChunk(ChunkStepControllerImpl.java:481)
	at com.ibm.jbatch.container.controller.impl.ChunkStepControllerImpl.invokeChunk(ChunkStepControllerImpl.java:636)
	at com.ibm.jbatch.container.controller.impl.ChunkStepControllerImpl.invokeCoreStep(ChunkStepControllerImpl.java:795)
	at com.ibm.jbatch.container.controller.impl.BaseStepControllerImpl.execute(BaseStepControllerImpl.java:295)
	at com.ibm.jbatch.container.controller.impl.ExecutionTransitioner.doExecutionLoop(ExecutionTransitioner.java:118)
	at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl.executeCoreTransitionLoop(WorkUnitThreadControllerImpl.java:96)
	at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl.executeWorkUnit(WorkUnitThreadControllerImpl.java:178)
	at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl$AbstractControllerHelper.runExecutionOnThread(WorkUnitThreadControllerImpl.java:503)
	at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl.runExecutionOnThread(WorkUnitThreadControllerImpl.java:92)
	at com.ibm.jbatch.container.util.BatchWorkUnit.run(BatchWorkUnit.java:113)
	at com.ibm.ws.context.service.serializable.ContextualRunnable.run(ContextualRunnable.java:79)
	at com.ibm.ws.threading.internal.ExecutorServiceImpl$RunnableWrapper.run(ExecutorServiceImpl.java:239)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Describe the solution you'd like

Support storing outcomes to a file-based storageProvider
Check that the requested storageProviders (source and outcome) are valid in preflight

Describe alternatives you've considered
Continue to only support writing OperationOutcomes to COS/S3.
Acceptance Criteria
1.
GIVEN [a precondition]
AND [another precondition]
WHEN [test step]
AND [test step]
THEN [verification step]
AND [verification step]
Additional context
Add any other context or screenshots about the feature request here.

One additional thing we could consider cleaning up.  Currently, when writing outcomes is disabled, our job-status endpoint response for a completed $import looks like this:
{
    "transactionTime": "2021-03-12T21:56:49.835Z",
    "request": "$import",
    "requiresAccessToken": false
}

The requiresAccessToken field doesn't make much sense when there's no outcomes to download.  Maybe we just omit it in this case?

I'm not sure it warrants its own issue, but another thing we could check preflight (at least in the FileProvider case) is that the input files exist and are readable.  We should still execute the import if any 1 of the import urls are valid, but this way we can avoid passing invalid urls to the batch framework, and avoid the job altogether if there are none.

Could be done together with #1161


Incremenatal Summarizer

Make Incremental Summarizer compatible with master API
Prune by risk ratio (in addition to support) when tracking itemsets

Coverage remained the same at 94.032% when pulling 222e64954df4d7005b49f7ccdb0e65cddb93e87e on kexinrong:incremental_sum into c9bce2d56204b97303e2a3cf69d2285de231de54 on stanford-futuredata:master.

Coverage remained the same at 94.032% when pulling 4464b0d0bfe1c4b0ee68e1b7b906f355498f569d on kexinrong:incremental_sum into c9bce2d56204b97303e2a3cf69d2285de231de54 on stanford-futuredata:master.

Coverage remained the same at 94.032% when pulling 5f649832295d9b9e5fa297eb7d0918451f9aa2a6 on kexinrong:incremental_sum into 269afc4e4f03825b6536746ad5c7bb9ac3f56de2 on stanford-futuredata:master.


Add more metrics to collect data in stackdriver logentry

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: linsun
Assign the PR to them by writing /assign @linsun in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS

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

@gargnupur: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
979eabf38c7a86a0d4fac4e54504bd369911baeb
link
/test e2e-bookInfo-envoyv2-v1alpha3

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

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers: guptasu, sdake
Assign the PR to them by writing /assign @guptasu @sdake in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

install/OWNERS
mixer/OWNERS

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

@gargnupur: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-bookInfoTests-v1alpha3.sh
1703ce9cf59caaeb04ffd130c73ae3c029f2df5d
link
/test e2e-bookInfo-envoyv2-v1alpha3

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

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: ldemailly
Assign the PR to them by writing /assign @ldemailly in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

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

@ldemailly, @douglas-reid : I will just send a new PR and delete this one as I anyways want to add more files to this PR.
Please ignore this PR.


Config to allow undefined in typescript client output

Is your feature request related to a problem? Please describe.
In our project I try to upgrade from an old version of gql codegen (v0.8.x) to a newer version (tried 12,3, and all versions of 14.x). Version 12.3 worked due to generation of undefined in client queries (on my local machine). Unfortunately, gqlgen 12.3 did not work at all on our pipeline for some unknown reason. 14.x executes on our pipeline though.
Anyway, the behavior of generating undefined has been removed in https://github.com/dotansimha/graphql-code-generator/issues/699. I would love to upgrade to >=14.5 but not allowing undefined as generated type causes too many problems at once.
Describe the solution you'd like
It would be great if one could specify a config in codegen.yml for generating typescript client types with undefined and not only null for easier migration. Currently, my desired output is exactly the output described in https://github.com/dotansimha/graphql-code-generator/issues/699 as being wrong.
Describe alternatives you've considered
Maybe this could also be solved by a custom plugin. But I am not aware how. Maybe there even is a config for this. I am not aware of this either. The documentation what kind of configs are possible is quite meager.
I also tried to solve the resulting issues one by one. But at some point it became too much.
PS: Thanks for the 14.4 and 14.5 releases which solved lots of bugs in our project!

Hi @dotansimha,
Thanks for your reply. I have solved the problems by now. The problem was with all the client tests that made massive use of the optionals. Our temporary solution is to write as any to each of these tests. We will now solve each of these one after another.
So feel free to close this issue.


PromptDialog or another from ConnectorClient

How to start dialog from ConnectorClient?

ConnectorClient is for sending messages from the bot to the user.
Maybe your question is how to start a dialog from an external event - this code might help you:
https://github.com/Microsoft/BotBuilder/blob/master/CSharp/Samples/AlarmBot/Models/ExternalEvent.cs#L29


Continue the encoding even when the bit_stream length of coded buffer is zero

Soemtimes the driver fails and the bit_stream length of coded_buffer is zero. Currently it will continue the subsequent encoding.
In fact it will be better to return error and exit the encoding.

Once we have the FEI implementation in place for encoding, coded_buffer of zero size is perfectly valid if the middleware only requested for VME operation since the VME output only produce MVs and MB code.

I don't think that the zero length of coded buffer is reasonable even for FEI.  If only VME is used under FEI, it still uses one buffer to indicate the buffer size of MV/MB code. In such case I think that the coded buffer still needs to return one valid buffer size.

VME only returns motion vectors and macroblock code in separate buffers(we will define new types), not as CodedBuffer.


Typing error

I noticed a typing error: section "Enable targeted Intune deployment" > point 3d "Platform type: Custom"; it should be "Profile type: Custom".

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

ID: 78c66f8a-1c40-e31c-5c7e-7870b7d65e0c
Version Independent ID: 3e8301bc-8e4d-ee23-8770-2f75e170e01a
Content: Enable passwordless security key sign in for Azure AD (preview) - Azure Active Directory
Content Source: articles/active-directory/authentication/howto-authentication-passwordless-security-key.md
Service: active-directory
Sub-service: authentication
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@lucafabbri365 , Thank you for bringing this up. We are looking into this and will update the document.

@lucafabbri365 , Thanks for reporting this. I have made the changes to the doc and the changes would be visible shortly.

Should publish later this afternoon. Thanks!

@lucafabbri365, The documentation is already updated. Do let us know if you need any further help.

Hello<EMAIL_ADDRESS>thank you for your feedback.
Regards,
Luca
From: souravmishra-msft<EMAIL_ADDRESS>Sent: Thursday, September 5, 2019 7:13 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Luca Fabbri<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Typing error (#38218)
@lucafabbri365https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Flucafabbri365&data=02|01|luca.fabbri%40livemail.it|08a93bb7b4ff4985857808d731bfafce|4ed9059aa2764f2ab2c55383a832d5ff|0|0|637032571663717570&sdata=oiTbQMB35XyctXmtTSQEO4KSDSeuSLMeIdt7llBbh9w%3D&reserved=0, The documentation is already updated. Do let us know if you need any further help.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F38218%3Femail_source%3Dnotifications%26email_token%3DAGQL6WNGU7AV3U5GU6GUF5LQICIMZA5CNFSM4ITLAQNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD553ASY%23issuecomment-528199755&data=02|01|luca.fabbri%40livemail.it|08a93bb7b4ff4985857808d731bfafce|4ed9059aa2764f2ab2c55383a832d5ff|0|0|637032571663717570&sdata=efvCrhTVHmyae6ZD2qcQHOdZM%2BCYw56rpb44J2SjGoY%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGQL6WMVM7G4ZKHT4PAWLYLQICIMZANCNFSM4ITLAQNA&data=02|01|luca.fabbri%40livemail.it|08a93bb7b4ff4985857808d731bfafce|4ed9059aa2764f2ab2c55383a832d5ff|0|0|637032571663727568&sdata=%2FG9w%2F1B1rFsH%2BqwgxfGcNoM1QSyVNvQe9ewfWtC38tw%3D&reserved=0.


You lost me during 'Create the Azure Function'

...in step 4, where it says "From the Language drop-down box, select PowerShell".
There is no such box. I have no clue how to continue from here.

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

ID: c58783cb-5827-81c0-c696-9b4fb299694f
Version Independent ID: fa4deb1f-144b-8ac2-ff2b-e27232660f1c
Content: Calling the PnP provisioning engine from a site script
Content Source: docs/declarative-customization/site-design-pnp-provisioning.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

The docs is based on Azure Function 1.x. The latest Azure Function is 2.0 and it haven't support PowerShell. So you need try to change the Azure Function version in the Azure portal.

Yes, and change a few settings to get over a bug that prevents the Experimental Language Support from being shown, see


Feat/db setup

Setup prerelease Entity Framework Core (needed for easy many-to-many relationship).
Setup the following tables/models:

User (has many groups, many bills, many expenses).
Group (has many users, many bills).
Bill (has one payee, one group, many expenses).
Expense (has one bill, one loanee).

Setup automatic db migration.
Setup repository wrappers to not depend on specific EF implementation.

More complicated queries can go here.

Setup middleware

DB Transactions happen per http request basis.
Exception handler which catches AbstractUserFriendlyException and converts them to appropriate json http error response.

Created UserService and UserController which covers the basic use cases of getting and creating a user.

 Setup Entity Framework

 Setup DB for MVP user stories

 Setup Project Structure


Feat/dtfs2 6702/update login journey

Codecov Report

Merging #2079 (57108eb) into main (2390d16) will decrease coverage by 20.17%.
Report is 43 commits behind head on main.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main   #2079       +/-   ##
==========================================
- Coverage   21.01%   0.85%   -20.17%
==========================================
  Files        1030     415      -615
  Lines       25229    9552    -15677
  Branches     4081     992     -3089
==========================================
- Hits         5303      82     -5221
+ Misses      17370    8697     -8673
+ Partials     2556     773     -1783

Flag
Coverage Δ

ui-test
?

unit-test
0.85% <0.00%> (+0.13%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

...nal-api/src/constants/number-generator.constant.ts
0.00% <ø> (ø)

...c/cronJobs/eStoreFacilityFolderCreationJob.cron.ts
0.00% <0.00%> (ø)

...1/controllers/currency-exchange-rate.controller.ts
0.00% <0.00%> (ø)

...i/src/v1/controllers/exposure-period.controller.ts
0.00% <0.00%> (ø)

.../src/v1/controllers/industry-sectors.controller.ts
0.00% <0.00%> (ø)

...i/src/v1/controllers/ordnance-survey.controller.ts
0.00% <0.00%> (ø)

...rnal-api/src/v1/controllers/party-db.controller.ts
0.00% <0.00%> (ø)

.../src/v1/controllers/premium-schedule.controller.ts
0.00% <0.00%> (ø)

...xternal-api/src/v1/controllers/email.controller.ts
0.00% <0.00%> (ø)

...nal-api/src/v1/controllers/party-urn.controller.ts
0.00% <0.00%> (ø)

... and 5 more

... and 618 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Moved tensor conversion to the end for RGB

See corresponding trello ticket.
Please feel free to change stuff, I cannot properly test this atm.

Problem only exists with newer PyTorch versions (1.8.1 was tested). On PyTorch 1.7 (which is specified in environment.yml) it is working fine.


Spike: API Frameworks?

Action Items
[] Make list of 5 famous GO API Frameworks and rank them with pros and cons.

Shouldn't this be closed ?


Thank you very much for this great app. Could you add option to run it on cpu or igpu, please?

Hi. I tried to generate images using your app but it closed during the process. Before starting image generation i ran inner WinDiffussion benchmark that my igpu didn't passed because my igpu is AMD Radeon Graphics Vega 7 integrated in cpu Ryzen 7 4700u. But i know that even my weak igpu can generate images. I used app coded in C# - Amuse: https://huggingface.co/Stackyard-AI/Amuse/resolve/main/Amuse_v1.4.0_alpha.zip?download=true Amuse allows to use igpu to generate images with help of DirectML and onnx technologies. As far as i know C++ compiler is more well-optimized for fast performance than C# and produces more native executables. So, could you add igpu and cpu support, please?

The Check GPU dialog is more, well, for guidance, you don't have to treat it like the gospel. Have you tried generating images? Theoretically as long as you have enough system RAM an iGPU should work.

Thanks for the answer. I think that generation failure could be caused by realtime mode when every sampling step is immediately displayed. This mode is not compatible with igpu. How can i turn off realtime generation?

The sampling preview uses a separate, tiny model to display the denoising process, and said model is loaded and used in the same way as all the others, so I don't think it's the issue. Does the program fail at the end of the generation process? (like, when it's 100%)

From my expierience, that i got by using other apps, realtime live preview requires powerful hardware. My igpu usually fails to generate image and display it's preview at the same time. That's why ask for adding an option to turn it off.  The program fails at 30%.

Does WinDiffusion create any error.log somewhere in system folder? I wish i could upload it here to make things more clear.

No logging yet or much in the way of error handling, been neglecting that part. I still don't believe that realtime preview is the problem, but I can add something to turn it off

No logging yet or much in the way of error handling, been neglecting that part. I still don't believe that realtime preview is the problem, but I can add something to turn it off

Do it, please.


New command: 'm365 entra pim role assignment eligibility list'. Closes #5783

Closes #5783

Thanks @MartinM85! We'll try to look at it ASAP!

@MartinM85 Great start. I have added some remarks, but it seems that I did an oopsie so they are listed quite strange. Could you please have a look at them?

@MathijsVerbeeck Thank you for the feedback. All comments resolved.
At the first sight I don't see any issue when retrieving assignments. Could you include more details?

@MathijsVerbeeck Thank you for the feedback. All comments resolved.
At the first sight I don't see any issue when retrieving assignments. Could you include more details?

I was talking about my review. Your code was working fine!
I'll have another look ASAP.

Thanks for the contribution @MartinM85 . Manually merged.


Move sample apps to sbt docker 1.5.0

From @eleduardo ... The sample apps are using sbt docker 1.4.0 which has a bug when building a docker image on the mac with the latest version... it seems that the problem is that the version of the daemon is now 17.09.0-ce-mac35 which confuses that version of the docker plugin. Moving to sbt docker 1.5.0 fixed the issue.

This should now be resolved with recent g8 template update


[1.16.3 - 4.4.1] Fletching table not working properly

The fletching table has lost its vanilla ability to function as a work station, villagers won't take it.

duplicate of #285


Optional Configuration Encryption

There should be an option to encrypt the configuration file.
Edit: This proposal is for the entire file. For most use cases this is fine, and I don't want to go into the additional complexity for encrypting selected fields.

[x] Encrypted file detection. Could just be a magic file start value.
[x] Determine encryption method/file encoding. (secretbox+base64?)
[x] Add option to rclone config to add/remove configuration encryption.
[x] Add detection for encrypted configuration and ask for password.
[x] Add tests.
[x] Add documentation.

I have forked goconfig, so it can read/save from memory. The current implementation writes data to a temporary file before loading, and can only write to disk.
According to the internets nacl secretbox is a good generic implementation, which offers both encryption and validation. We don't need the nonce functionality per se, but we can have a static nonce for password validation.
For this we need a 32 byte key. A SHA256 of the password should be plenty - we can even add global salt for a very slight security increase. This will not be saved, but will be used for sealing/unsealing the package.
The goal is to still allow configuration to be copied from one machine to another.

I added a PR.
I didn't encounter any issues, so if it is ok, I will move on to adding tests and documentation.

I made a rather important comment on the PR about the nonce...
I think the approach looks fine.
You might find the goconfig author will take a PR from you - I've found him responsive in the past. The reason why I used that library rather than any other was that was the only one I could find which had write support at the time.

Re goconfig: I guess if I didn't change the interface I would have a better chance. That said it would be easy to change the interface back.
I just assumed that it would be a struggle, since he states "This library is under bug fix only mode, which means no more features will be added".

This was done in bfd7601cf9c1fb39653b30e8c2fbeb512778bb87


[TEST] Fix GHA

Codecov Report

Merging #92 (d031a6f) into master (bc63e79) will increase coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
+ Coverage   64.27%   64.36%   +0.08%
==========================================
  Files          22       23       +1
  Lines        1601     1605       +4
==========================================
+ Hits         1029     1033       +4
  Misses        572      572

Impacted Files
Coverage Δ

netneurotools/_version.py
100.00% <0.00%> (ø)

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 e8fabe9...d031a6f. Read the comment docs.

Codecov Report

Merging #92 (d031a6f) into master (bc63e79) will increase coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
+ Coverage   64.27%   64.36%   +0.08%
==========================================
  Files          22       23       +1
  Lines        1601     1605       +4
==========================================
+ Hits         1029     1033       +4
  Misses        572      572

Impacted Files
Coverage Δ

netneurotools/_version.py
100.00% <0.00%> (ø)

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 e8fabe9...d031a6f. Read the comment docs.


Translate storage/volume-snapshots.md in Korean.

This is a Feature Request
What would you like to be added
Translate storage/volume-snapshots.md in Korean.
Why is this needed
The following files are not translated into Korean.

[ ] /en/docs/concepts/storage/volume-snapshots.md

Comments
Page to update: https://kubernetes.io/docs/concepts/storage/volume-snapshots/
I am translating this document.
The translated document will be submitted to dev-1.17-ko.4 or dev-1.17-ko.5 branch.
/language ko

/assign


After upgrading from 3.0.3 to 3.3.8, the 'Flutter/Flutter.h' file was not found

What I am doing now is an iOS project, I have connected to flutter, and it was running normally before 3.0.3. Because I used Matrix4.setEntry when I was doing animation, there was a freeze after a period of continuous operation. I found an answer in issues that required me to upgrade to above 3.3.0. But after I upgraded to 3.3.8, the 'Flutter/Flutter.h' file was not found appeared.
flutter doctor：
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.8, on macOS 12.6 21G115 darwin-x64, locale
    zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.2.4)
[✓] VS Code (version 1.71.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability
• No issues found!

After I upgraded to 3.3.8, I found that Pods/Development pods/Flutter no longer has a Frameworks directory. I found a useful information in Flutter.podspec:
Pod::Spec.new do |s|
    s.name             = 'Flutter'
    s.version          = '1.0.0'
    s.summary          = 'A UI toolkit for beautiful and fast apps.'
    s.homepage         = 'https://flutter.dev'
    s.license          = { :type => 'BSD' }
    s.author           = { 'Flutter Dev Team' =><EMAIL_ADDRESS>}
    s.source           = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
    s.ios.deployment_target = '11.0'
    # Framework linking is handled by Flutter tooling, not CocoaPods.
    # Add a placeholder to satisfy `s.dependency 'Flutter'` plugin podspecs.
    s.vendored_frameworks = 'path/to/nothing'
end

I still can't understand: Framework linking is handled by Flutter tooling, not CocoaPods. Do I need to execute any commands? Or just compile the main project. But at present, this problem will appear as long as the project is compiled: the 'Flutter/Flutter.h' file was not found.
I also noticed that there is a description of Flutter.framework in podhelper.rb, but I don't know if it helps me.
def install_flutter_application_pod(flutter_application_path)
  flutter_application_path ||= File.join('..', '..')

  export_script_directory = File.join(flutter_application_path, '.ios', 'Flutter')

  # Keep script phase paths relative so they can be checked into source control.
  relative = flutter_relative_path_from_podfile(export_script_directory)

  flutter_export_environment_path = File.join('${SRCROOT}', relative, 'flutter_export_environment.sh');

  # Compile App.framework and move it and Flutter.framework to "BUILT_PRODUCTS_DIR"
  script_phase :name => 'Run Flutter Build vbf_module Script',
    :script => "set -e\nset -u\nsource \"#{flutter_export_environment_path}\"\nexport VERBOSE_SCRIPT_LOGGING=1 && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/xcode_backend.sh build",
    :execution_position => :before_compile

  # Embed App.framework AND Flutter.framework.
  script_phase :name => 'Embed Flutter Build vbf_module Script',
    :script => "set -e\nset -u\nsource \"#{flutter_export_environment_path}\"\nexport VERBOSE_SCRIPT_LOGGING=1 && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/xcode_backend.sh embed_and_thin",
    :execution_position => :after_compile
end

I don't know if I understand correctly, the timing of Flutter.framework embedding is too late for me. At least the Embed Flutter Build vbf_module Script has not been executed before compiling the error.

@HSCOO
Can you provide flutter run --verbose that shows the reported error log ? It will be huge so you can put that in a text file and attach it here.
Also, if possible, provide a minimal code sample or a sample repo that we can clone which triggers the error you are seeing.
There were similar issues reported as below with workarounds mostly for your reference:
https://github.com/flutter/flutter/issues/96063#issuecomment-1004656518
https://github.com/flutter/flutter/issues/88634#issuecomment-908939116
https://github.com/flutter/flutter/issues/42956#issuecomment-549623011

@darshankawar  I'm very sorry, but the three issues you provided didn't help me at all. After I upgraded to 3.3.8, I created a brand new demo without any modification, which can be run. This is enough to show that my environment can work.
I need to provide flutter run --verbose later. I want to know where did 3.3.8 put Flutter.framework? I have found evidence that cocoapod cannot manage Flutter.framework. And the meaning of Framework linking is handled by Flutter tooling, not CocoaPods.

three issues you provided didn't help me at all.

That's ok. It was just for your reference.
Can you provide the output of your /users/<username>/Developement/SDKs/flutter/bin/cache/artifacts/engine/ios/Flutter.xcframework/ and check if any of the archs mentioned at that path contains Flutter.framework/Flutter ?
Also, since you already upgraded to latest, but can you provide output of ls -R bin/cache/artifacts/engine/ios ?

@darshankawar   The output of ls -R bin/cache/artifacts/engine/ios is:
Flutter.podspec     LICENSE             gen_snapshot_armv7
Flutter.xcframework gen_snapshot_arm64

bin/cache/artifacts/engine/ios/Flutter.xcframework:
Info.plist                 ios-arm64_x86_64-simulator
ios-arm64_armv7

bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_armv7:
Flutter.framework

bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_armv7/Flutter.framework:
Flutter        Info.plist     _CodeSignature
Headers        Modules        icudtl.dat

bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_armv7/Flutter.framework/Headers:
Flutter.h                           FlutterEngineGroup.h
FlutterAppDelegate.h                FlutterHeadlessDartRunner.h
FlutterBinaryMessenger.h            FlutterMacros.h
FlutterCallbackCache.h              FlutterPlatformViews.h
FlutterChannels.h                   FlutterPlugin.h
FlutterCodecs.h                     FlutterPluginAppLifeCycleDelegate.h
FlutterDartProject.h                FlutterTexture.h
FlutterEngine.h                     FlutterViewController.h

bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_armv7/Flutter.framework/Modules:
module.modulemap

bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_armv7/Flutter.framework/_CodeSignature:
CodeResources

bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator:
Flutter.framework

bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework:
Flutter        Info.plist     _CodeSignature
Headers        Modules        icudtl.dat

bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Headers:
Flutter.h                           FlutterEngineGroup.h
FlutterAppDelegate.h                FlutterHeadlessDartRunner.h
FlutterBinaryMessenger.h            FlutterMacros.h
FlutterCallbackCache.h              FlutterPlatformViews.h
FlutterChannels.h                   FlutterPlugin.h
FlutterCodecs.h                     FlutterPluginAppLifeCycleDelegate.h
FlutterDartProject.h                FlutterTexture.h
FlutterEngine.h                     FlutterViewController.h

bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/Modules:
module.modulemap

bin/cache/artifacts/engine/ios/Flutter.xcframework/ios-arm64_x86_64-simulator/Flutter.framework/_CodeSignature:
CodeResources

I observed that the /users/<username>/Developement/SDKs/flutter/bin/cache/artifacts/engine/ios/Flutter.podspec is different from the file my_flutter_module/.ios/Flutter/engine/Flutter.podspec I generated.
The /users/<username>/Developement/SDKs/flutter/bin/cache/artifacts/engine/ios/Flutter.podspec like this:

Pod::Spec.new do |s|
  s.name             = 'Flutter'
  s.version          = '1.0.0'
  s.summary          = 'High-performance, high-fidelity mobile apps.'
  s.description      = <<-DESC
Flutter provides an easy and productive way to build and deploy high-performance mobile apps for Android and iOS.
                       DESC
  s.homepage         = 'https://flutter.io'
  s.license          = { :type => 'MIT' }
  s.author           = { 'Flutter Dev Team' =><EMAIL_ADDRESS>}
  s.source           = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
  s.ios.deployment_target = '8.0'
  s.vendored_frameworks = 'Flutter.framework'
end

The my_flutter_module/.ios/Flutter/engine/Flutter.podspec like this:
Pod::Spec.new do |s|
  s.name             = 'Flutter'
  s.version          = '1.0.0'
  s.summary          = 'A UI toolkit for beautiful and fast apps.'
  s.description      = <<-DESC
Flutter is Google's UI toolkit for building beautiful, fast apps for mobile, web, desktop, and embedded devices from a single codebase.
This pod vends the iOS Flutter engine framework. It is compatible with application frameworks created with this version of the engine and tools.
                       DESC
  s.homepage         = 'https://flutter.dev'
  s.license          = 'BSD'
  s.author           = { 'Flutter Dev Team' =><EMAIL_ADDRESS>}
  s.source           = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
  s.documentation_url     = 'https://flutter.dev/docs'
  s.ios.deployment_target = '9.0'
  s.vendored_frameworks = 'Flutter.xcframework'
end

Thanks for the update. Take a look at this document for detailed explaination of how ios module works with Flutter and see if it helps in your case.

@darshankawar My question is not how to integrate flutter to iOS project, I have already integrated it. And I have iterated many versions, currently using version 3.0.3. Only after upgrading to 3.3.8 will the problem of not being able to find Flutter.framework appear. And it's not that I can't find Flutter.framework in my Flutter SDK, but that I can't find Flutter.framework in the iOS project after running the podhelper.rb script. The current tutorial says The podhelper.rb script embeds your plugins, Flutter.framework, and App.framework into your project., but it is not found in my project.

Thanks for the update @HSCOO
Can you try by switching to latest master first and see if on that version too, you get same error ?
flutter channel master
flutter upgrade

I have the same  question after upgrade 3.0.5 ->3.3.9
the podfile config
#flutter本地调试
def debugFlutterPods
  flutter_application_path = '../xxx'
  load File.join(flutter_application_path, '.ios', 'Flutter', 'podhelper.rb')
  install_all_flutter_pods(flutter_application_path)
end

target 'xxx' do
  debugFlutterPods
end

post_install do |installer|
  flutter_post_install(installer) if defined?(flutter_post_install)

The xcode build fail  with No such module 'Flutter'

I have found the root cause. The podhelp.rb used under version 3.3.8 finally comes from fluttersdkpath/packages/flutter_tools/bin/podhelper.rb. There is a code in the flutter_additional_ios_build_settings method that explains the answer:
# Skip other updates if it's not a Flutter plugin (transitive dependency).
next unless target.dependencies.any? { |dependency| dependency.name == 'Flutter' }

Then you only need to manually add flutter dependencies in the module xxx.podspec that reported the error:
s.dependency 'Flutter'

I've also been looking for Flutter.framework? The original new reference method directly references Flutter.framewrok under the flutersdk path.
fluttersdkpatch/bin/cache/artifacts/engine/ios/Flutter.xcframework

@HSCOO
Since the original issue has been resolved, I'll go ahead and close this.
Regarding your above comment, you may open a new issue for better tracking.


Modifier is passed to loading / error images

glide:1.4.6
All devices

Describe the Bug:
It took some time to find out that the modifier was passed along to the placeholder and error images. This makes setting the padding a bit cumbersome. In my case the placeholder image was very small but this was due to the paddings being set twice.
Expected Behavior:
I would expect the placeholder and error image to be drawn inside the GlideImage box and the paddings in the modifier for this box to not be forwarded to the subimages.

Hi @pepijntb, thank you for filing this issue.
Could you please also provide your code and results? Thanks!

@pepijntb
You can use the patch version 1.4.7-SNAPSHOT now and it will be included in the next release.
Thanks!


test_keymgmt_internal: fix endianness problems

[x] tests are added or updated

closed in favor of https://github.com/openssl/openssl/pull/10326.


Temporary WF for Integration Docs Generator

Notes for Reviewers
This PR fixes #
Signed commits

[ ✓] Yes, I signed my commits.

Clean. You're doing great, @aboobakersiddiqr63.
Question: does the script output one file per integration? Does it create a collection? Or does the script only output a single datafile?

ile per integrati

It will create one file per integration total of around 220+ files will be created as a result


Update Content Pages “homePage”

Automatically generated by Netlify CMS

Deploy preview for dds-mil ready!
Built with commit 7deb923f1527152feb4b195d8c08267a98f0bd94
https://deploy-preview-111--dds-mil.netlify.app


CSI-582 - new tag for ubi7/python-36:1-58

Upgrade from ubi7/python-36:1-56.1568971386 -> ubi7/python-36:1-58
1-58 is a newer version.

This change is

image scan is the same as the previews tag. So its less important to merge it for v1


docz dev is failing

Hi,
docz dev is failing with below error, Can you please check this ?
ERROR
Panicking because nodes appear to be being changed every time we run queries. This would cause the site to recompile infinitely.
Check custom resolvers to see if they are unconditionally creating or mutating nodes on every query.
This may happen if they create nodes with a field that is different every time, such as a timestamp or unique id.

I have the same issue, when running Docz on a React Native repo (MacOS).

I'll be closing this one as we're going to wanna get it solved in a single issue (https://github.com/doczjs/docz/issues/1654), as referred above. If it's happening also in a web environment (or non-react-native projects), please, open a new issue.


Pow is running 99% of my CPU usage

... and the app dos not work.

Just installed the 0.4.0-pre.
Fingers crossed!

I've been running 0.4.0-pre since it was released and it was running great
until Friday when I ran into the issue again. I was rushing to get some work
done and killed it before thinking. If it happens again I'll be sure to post
a trace.
Jim
On Oct 8, 2011 11:54 PM, "Dave the Ninja" <
<EMAIL_ADDRESS>wrote:

Just installed the 0.4.0-pre.
Fingers crossed!
--
Reply to this email directly or view it on GitHub:
https://github.com/37signals/pow/issues/99#issuecomment-2335114

I haven't installed 0.4 since this happens rarely to me. Here is my backtrace for 0.3.2:
#00 dn_find(src=#<Buffer>, domain=0, msg=#<Buffer>, dnptrs=#<Array>, ndnptr=0, lastdnptr=2) /usr/local/Cellar/pow/0.3.2/pow/node_modules/ndns/lib/ndns.js line 1109 column 4 (position 25436)
#01 ns_name_pack(src=#<Buffer>, srcn=0, dst=#<Buffer>, dstn=23, dstsiz=65512, dnptrs=#<Array>, lastdnptr=25) /usr/local/Cellar/pow/0.3.2/pow/node_modules/ndns/lib/ndns.js line 832 column 8 (position 20326)
#02 ns_newmsg_rr(handle=#<ns_newmsg>, sect=1, name=#<Buffer>, type=1, rr_class=1, ttl=600, rdlen=4, rdata=#<Buffer>) /usr/local/Cellar/pow/0.3.2/pow/node_modules/ndns/lib/ndns.js line 1663 column 6 (position 37192)
#03 #<ServerResponse>.writeOnce(buf=#<Buffer>, bufsiz=65535) /usr/local/Cellar/pow/0.3.2/pow/node_modules/ndns/lib/ndns.js line 2526 column 9 (position 56322)
#04 #<ServerResponse>.sendTo(socket=#<DnsServer>, port=50233, host=<IP_ADDRESS>) /usr/local/Cellar/pow/0.3.2/pow/node_modules/ndns/lib/ndns.js line 2540 column 16 (position 56623)
#05 #<ServerResponse>.send() /usr/local/Cellar/pow/0.3.2/pow/node_modules/ndns/lib/ndns.js line 2605 column 7 (position 58077)
#06 #<DnsServer>.handleRequest(req=#<ServerRequest>, res=#<ServerResponse>) /usr/local/Cellar/pow/0.3.2/pow/lib/dns_server.js line 37 column 18 (position 1656)
#07 #<DnsServer>.handleRequest(#<ServerRequest>, #<ServerResponse>) /usr/local/Cellar/pow/0.3.2/pow/lib/dns_server.js line 3 column 63 (position 162)
#08 #<DnsServer>.emit(type=request, #<ServerRequest>, #<ServerResponse>) events.js line 67 column 17 (position 2560)
#09 #<DnsServer>.messageListener(msg=#<Buffer>, rinfo=#<Object>) /usr/local/Cellar/pow/0.3.2/pow/node_modules/ndns/lib/ndns.js line 2640 column 8 (position 58884)

I've been using Pow in total for just 3 days.  I upgraded to 0.4.0-pre a minute ago.  It's running flawlessly.  Thanks!

I am having this CPU issue intermittently.  I'm running on Node 0.4.12 and it's happened off and on since 0.4.0.  Has pow been tested with 0.6.0?  Any chance an upgrade would fix this issue?

I have been plagued by this issue for a while now, updated to 0.4.0-pre a couple weeks ago and it is running flawlessly.  I have not had to kill pow manually since.
I just figured I would give that feedback.

Happened to me with 0.3.2 (cpu pegged at 100%) but not so far with 0.4.0-pre.

I've had this issue for a while, on seemingly random occassions.
Sometimes, pow is just slow (not just when the process is idle), but doesn't always ramp up the CPU usage.
Activity Monitor > Force Quit pow always fixes it, I've never experienced issues where the computer locked up.
I use the powder gem, as well as:

OS X 10.7.3 - latest Air
MRI 1.9.2-p290 (it also happened on 1.8)
RubyGems 1.8.16
Rails 3.2.1
Pow 0.3.2 (and latest powder as well, currently 0.1.7)

I'm a bit unsure about how to provide a stack-trace or similar debugging aids?
Thanks for an awesome piece of software, btw! :thumbsup:

@cabgfx,
Use the 0.4.0-pre release.
curl get.pow.cx | VERSION=0.4.0-pre sh

@sstephenson I think it might be time to release the 0.4.0-pre release as the main release.
The 0.3.2 release is clearly broken yet the documentation on the site still refers to this version. It seems to be confusing people that are new to the project.
The 0.4.0-pre release has been tested by working developers for 5 months.
Judging from the lack of comments about the 0.4.0-pre release in here, I would say that it's pretty stable.
What's the chance of cutting a 0.4.0 release and making that the official version soon?

0.4.0-pre works fine for me, +1 for releasing it.

:+1: for releasing 0.4.0!

Been running 0.4.0-pre for several months now to get around these issues, haven't had any problems what so ever. +1 for releasing 0.4.0.

Running on 0.4.0-pre for the past 4 days seems to have killed all issues mentioned earlier in thread! Thanks :heart:

So glad I discovered this thread and upgraded to 0.4.0-pre.  I had been having a lot of what @cabgfx describes, and the runway processes described elsewhere here.
I was back to webrick and wearing out ctrl-c. Now I can resume using https://github.com/guard/guard-pow
I echo recommendations to release this as the current release version. This is issue #99 on this project and it used 99% of my CPU.  So I guess I could say that I had "99 problems, but this glitch ain't one." (yes, that just happened.)

+1 for 0.4.0


Reorder attribute cache lookups

The cache lookup was moved to be after a query, because the proper ordering was breaking not-null constraints. It seems that this was due to sqlalchemy's propensity to autoflush the session when queries are issued. This is probably a reasonable optimisation in most cases, but we rely on being able to normalise the objects within the session before they're committed to the database.
To allow us to reorder the lookup, we disable autoflush on the session. This will have no impact on database readers (i.e. most users). Writers who wish to query the database within the same session as writing may have to issue a manual flush. Two flushes are added to the test suite, where this was the case.
Closes #290.
Rough testing of build_index() on panant-01-hycom1 (414 files) shows about 65s user time before the change, and 20s after it.

With a bit of further thought, I think there are probably a few manual flushes missing (I think they're essentially equivalent to COMMIT?). After index_file and maybe index_experiment could be good candidates?

Yes, I think it's fine to have the calls as you have set up in #292.


Retry fetching release notes on failure, and display failures

This PR fixes #101132
As you can see in the issue, this is how to test it:

Go offline (you can also open devtools in vscode and go to the network tab and change the "online" at the top to "offline")

Try to open the release notes using Show Release Notes from the command palette.

Depending on whether you are on an official vscode build or a local build, the release notes page will be opened in your default browser. On a local build it should show an error stating that fetching the release notes failed and that this vscode doesn't have release notes online.

Go back online

Try to open the release notes again

The release notes should open in a webview

Go offline again

Try to open the release notes again

The release notes should open in a webview again, even though we're offline

Thanks! Should be in the next insiders build and is scheduled for VS Code 1.47


Add libzfs bindings.

We currently interact with zfs via cli and parse it's output.
Instead we can write bindings to libzfs directly, and then consume those as needed.

Add first pass of bindings + tests to libzfs.
Pin to current Lustre repo / version (0.7.1).

Signed-off-by: Joe Grund<EMAIL_ADDRESS>

tst