Removing empty index.php files

We should probably not encourage 'security through obscurity' mindset, by having empty index.php files thrown around the theme. In the end, it's up to the site owner to allow or forbid directory browsing.
Some references:
https://wordpress.stackexchange.com/a/167998/58895
https://wordpress.stackexchange.com/a/45366/58895

I agree about this but as the comment says: "This file is just there if the server (Apache, Nginx, Lighttp, etc.) is not properly set up "
This boilerplate for the general population and unfortunately a lot of them don't know how to setup correctly everything so if this can help I would like to keep it.

Ok, we'll put in the documentation that this should be avoided, but we left it for legacy reasons.


Quick Question about missing bin file in build.

so I build ggpo using cmake with it shared path with all, (middle option during installation)
but it lacks the build bin while which has the ggpo.dll and ggpo.pdb file, how do I make it so that I can have these files.

bro, how did you solve it? im facing the same problem.. i might be dumb


Install Ubuntu offline when mirrors are unreachable

Description of changes:
Image builder tries Ubuntu mirrors when installing the OS from ISO onto vm. This change prevents failing the install when mirrors are unreachable, and proceeds to install only from the ISO.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Doesn't work on iOS 15.5?

Version of react-native-audio-recorder-player
3.5.1
Version of React Native
0.67.2
Platforms you faced the error (IOS or Android or both?)
iOS
Expected behavior
start record.
Actual behavior
record doesn't start
Steps to reproduce the behabior
const audioSet = {
OutputFormatAndroid: OutputFormatAndroidType.MPEG_4,
AudioEncoderAndroid: AudioEncoderAndroidType.AAC,
AudioSourceAndroid: AudioSourceAndroidType.MIC,
AVEncoderAudioQualityKeyIOS: AVEncoderAudioQualityIOSType.high,
AVNumberOfChannelsKeyIOS: 2,
AVFormatIDKeyIOS: AVEncodingOption.aac
};
const path = Platform.select({
ios: ${uuid.v4()}.m4a,
android: ${ReactNativeBlobUtil.fs.dirs.CacheDir}/${uuid.v4()}.mp4
});
console.log(`path===================1`, path);
const uri = await audioRecorderPlayer.startRecorder(path, audioSet);
console.log(`uri===================2`);

the code execute stop at const uri = await audioRecorderPlayer.startRecorder(path, audioSet);, the next console log didn't execute..

any update on this?


42 symbols in get cache key

Addresses mickhansen#42 by treating all cache keys as strings and using Object.getOwnPropertySymbols to reference.

v1.5.4


Implement automated testing of Jupyter Notebooks

The conclusion of the discussion on https://github.com/biomarkersParkinson/tsdf/issues/70 issue can be implemented to test the Jupyter Notebooks within this project as well.

Implemented in #15


about the weight file

Could you please provide some trained model such as some pth file

Sorry for not responding for such a long time, I am on vacation（摸鱼） during this time.
I rewrote the code, and this is the pre-training model

Did you do any experiment on DeepFashion Dataset?
If any, could you give us the pre-trained model?

@MTonyM , sorry, I didn't even test my code on DeepFashion. I am busy recently, I will add it when I am free.


Update Makefile and scripts to make go build less verbose.

Recent build is failing due too log size:
https://travis-ci.org/vmware/harbor/builds/346608622

Coverage increased (+0.02%) to 59.885% when pulling b5d26e7c3a389210f42bd5c3688b252a9ecac93f on reasonerjt:less-verbose-go-build into ef54647749353066ef12280cdff24ff53190a196 on vmware:master.


Linting refactoring/3 manual fixes flagged by ruff

Only merge after the current test-suite is fixed #53
Adresses one task in #54
merge after #55 and #56
made manual fixes of which I am sure and ignore E741

I fixed many of the reported warnings/errors,
but the unused/undeclared variables still pose a problem for the
following reasons:

Sometimes they come from function calls that have side effects,
i.e. the function call has to be retained (perhaps)

They seem like typos or inconsisten casing,
e.g. COUL vs. coul, that appears later in the code

Overall fixing these reported problems requires some deeper
knowledge of the surrounding code.

ignore E741 in ruff linting
https://docs.astral.sh/ruff/rules/ambiguous-variable-name/

Just to give some exemplary easily avoided bugs that were found by the linting:
eritransform_parallel
    from molbe.external.eri_transform import get_emb_eri_fast_gdf

in kbe.pbe.eritransform_parallel would fail, because the submodule does not even exists.
Moving all imports to the top and using libdmet.basis_transform.eri_transform.get_emb_eri_fast_gdf throughout fixes it.
examples.kbe_polyacetylene
# Define fragment in the supercell
kfrag = fragpart(be_type="be2", mol=cell, kpt=kpt, frozen_core=True)
# Initialize BE
mykbe = BE(kmf, fobj, kpts=kpts)

# here the fobj is undefined and should be kfrag

examples.molbe_pp.py
mf = scf.RHF(mol)
mf.conv_tol = 1e-12
mf.kernel()

# Define fragments; use IAO scheme with 'sto-3g' as the minimal basis set
fobj = fragpart(be_type="be2", mol=mol, valence_basis="sto-3g", frozen_core=True)

# Initialize BE
mybe = BE(mg, fobj, lo_method="iao")

# here the mg is not defined and should be mf

Examples for constructs that raised a warning, but were not yet fixed:
molbe.ube
In the following code the dm_init is never used.
dm_init = fobj_b.get_nsocc(self.S, self.C_b, self.Nocc[1], ncore=self.ncore)

Since get_nsocc has unfortunately side-effects, it requires more careful inspection if the line can be removed or replaced with:
fobj_b.get_nsocc(self.S, self.C_b, self.Nocc[1], ncore=self.ncore)

i.e. call get_nsocc purely for its side-effect.
kbe.lo
There is a line
ovlp_ciao = uciao[k].conj().T @ self.S[k] @ Ciao[k]

The name uciao is undefined, most likely it should be
ovlp_ciao = Ciao[k].conj().T @ self.S[k] @ Ciao[k]

but one has to make sure this was actually intended.
kbe.pbe
The variable ECOUL is unused and initialized to 0.0
        ECOUL = 0.0

lateron in the code a variable ecoul is used.
Most likely this was a typo and mismatched lower- vs upper-case.


fix(upgrade): check for existing 2.x CLI configs file

Closes #19968
Adds check for existence of 2.x CLI configs file. If it exists, upgrade fails with error.

[x] CHANGELOG.md updated with a link to the PR (not the Issue)
[X] Well-formatted commit messages
[X] Rebased/mergeable
[X] Tests pass

Done.


[Wallet] Improve clipboard watching

Description
Add logic to have paste watcher recheck the clipboard every second
Tested
Played around with the invite and verification input fields
Other changes
Fix some minor issues with logging in wallet and faucet
Add mock for RN secure key store to prevent jest hanging handles
Related issues

Fixes #2592

Backwards compatibility
Yes

Great 🚢
While this is beyond the scope of this PR, I wonder how we think about flagging features that could slow down the app on low end devices but provide a better experience for most users

My intuition is that a 1s setInterval is totally negligible in terms of impact. But in general I'm open to flagging and streamlining for slow phones! I have some ideas on things we could cut, like logging, analytics, or geth itself


Improve Distributions documentation

Make a table in documents showing distributions and available scalings

This will be solved in #90


x/sys/unix: missing SYS_MSYNC for NetBSD

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
Problem exists on HEAD.
What operating system and processor architecture are you using (go env)?
Let's pretend I am using NetBSD.
What did you do?
A few days ago I somehow saw edsrdf's mmap-go, which self-defines an syscall number for SYS_MSYNC (277) on NetBSD. Apparently Go's current syscall extraction fails to find it in NetBSD headers.
For cross-check I looked at syscalls.master, which also points to 277 as msync:
277	STD 		{ int|sys|13|msync(void *addr, size_t len, int flags); }

What did you expect to see?
Proper SYS_MSYNC.
What did you see instead?
It doesn't exist.

The Go syscall package is frozen. See https://golang.org/pkg/syscall/#pkg-overview
We can repurpose this bug for the https://godoc.org/golang.org/x/sys/unix package, though.

@bradfitz BTW,  I cannot access https://golang.org/s/go1.4-syscall (the URL in https://golang.org/pkg/syscall/#pkg-overview).

@minix Yes you are right. I forgot to turn on my lovely local DNS, embarrassing...


Transfer records are added to the wrong end of the FIFO?

Chapter 1, "Introduction", says:

CTR defines a circular (FIFO) buffer.

and:

Recorded transfers are inserted to the head of the buffer,

Usually entries are said to be added to a FIFO (a queue) at the tail and removed from the head.  (Think of what it means to be at the head of a queue.)
Presumably, for "RAS emulation mode", recorded transfers are added at the head of the buffer, since that is a stack (LIFO).

Interesting, I have always said it the other way, where the tail pointer is the oldest entry (read pointer) and the head pointer is the newest (or where the next will be written).
On a quick search, I see docs that agree with me:
https://www.kernel.org/doc/html/v6.1/core-api/circular-buffers.html
And with you:
https://www.cs.umb.edu/~kamaral/cs240/lectures/CS240-Lecture-17.pptx#:~:text=Here we include two indexes,the freshest element will go.
And some that, confusingly, seem to flip-flop:
https://www.baeldung.com/cs/circular-buffer
We could opt to avoid confusion by omitting references to head/tail altogether, saying something like:

Recorded transfers are inserted at the write pointer, which is then incremented, while older [...]

Do you think this warrants a new release version?

On a quick search, I see docs that agree with me:

IMHO, some mistakes are common, but still wrong.
While Wikipedia isn't guaranteed to be perfectly authoritative either, nevertheless see:
https://en.wikipedia.org/wiki/FIFO_(computing_and_electronics)
https://en.wikipedia.org/wiki/Queue_(abstract_data_type)
Your suggested fix seems good to me.

Do you think this warrants a new release version?

I don't.  I think this easily counts as an editorial improvement that can be made at any time.

Okay, I'll add the clarification at the conclusion of public review.


Add cumulative traders to subgraph

Add a totalTraders value to the cumulative subgraph entity
AC:

[x] FuturesCumulativeStat contains a totalTraders field

Closed by #85


No Update on sonoff.0.Highboard-Long.alive

I updated the adapter to 2.2.2 - since than i don´t have any "alive" updates.
Tested on devices with Tasmota 5.11.1 (Basic) and 5.14.0 (Dual)

Please test 2.3.0

Duplicate to https://github.com/ioBroker/ioBroker.sonoff/issues/81


Loading Model error : torch.utils.serialization.read_lua_file.T7ReaderException

After training a model from the example and trying to convert the model to core ml
this error appears
File "convert-fast-neural-style.py", line 53, in <module>
   main()
 File "convert-fast-neural-style.py", line 39, in main
   'blue_bias': 103.939
 File "/usr/local/lib/python2.7/dist-packages/torch2coreml/_torch_converter.py", line 171, in convert
   torch_model = load_lua(model)
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 599, in load_lua
   return reader.read()
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 586, in read
   return self.read_table()
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 514, in wrapper
   result = fn(self, *args, **kwargs)
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 563, in read_table
   v = self.read()
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 584, in read
   return self.read_object()
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 514, in wrapper
   result = fn(self, *args, **kwargs)
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 537, in read_object
   return reader_registry[cls_name](self, version)
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 242, in read_nn_class
   attributes = reader.read()
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 586, in read
   return self.read_table()
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 514, in wrapper
   result = fn(self, *args, **kwargs)
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 563, in read_table
   v = self.read()
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 586, in read
   return self.read_table()
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 514, in wrapper
   result = fn(self, *args, **kwargs)
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 563, in read_table
   v = self.read()
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 584, in read
   return self.read_object()
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 514, in wrapper
   result = fn(self, *args, **kwargs)
 File "/usr/local/lib/python2.7/dist-packages/torch/utils/serialization/read_lua_file.py", line 543, in read_object
   "constructor").format(cls_name))
torch.utils.serialization.read_lua_file.T7ReaderException: don't know how to deserialize Lua class nn.InstanceNormalization. If you want to ignore this error and load this object as a dict, specify unknown_classes=True in reader's constructor

Did you train the model with instance normalization? It doesn't seem to be supported (yet?)

Yes , I have used instance normalization in training model . this is the main issue now that instance normalization is not support

InstanceNormalization layer is not supported by torch.nn package, it is a custom implementation by Justin Johnson. CoreML supports this layer type.
I just updated repo to support custom layers, so you can add you own parser for unimplemented layers. Also I updated an example of fast-neural-style (https://github.com/prisma-ai/torch2coreml/tree/master/example/fast-neural-style) to support InstanceNormalization layer.
Now iOS example app uses styles with instance_norm layer (setup.sh script converts models from instance_norm subdirectory).

thanks , I have tried the prepare model is working fine , but  facing an issue in convert code
Traceback (most recent call last):
  File "convert-fast-neural-style.py", line 5, in <module>
    from torch.nn import InstanceNorm3d
ImportError: cannot import name InstanceNorm3d

as you mentioned instance norm is not supported in torch.nn , how I can add unimplemented layer to torch.nn library

@engahmed1190 InstanceNormalization is not natively supported in Torch7, but it is supported in PyTorch, which I'm using to parse original Torch7 models.
In fast-neural-style example I implemented InstanceNormalization layer for legacy Torch7 model using PyTorch InstanceNorm3d from here: https://github.com/pytorch/pytorch/blob/master/torch/nn/modules/instancenorm.py
May be your version of installed PyTorch is outdated? InstanceNorm3d class is natively supported in current PyTorch distribution.

@opedge , thanks pytorch was outdated and I have resolve this
I think there is something missing in unknown_layer_conveter_fn missing arguments
 Converting prepared_models/the_scream.t7
Traceback (most recent call last):
  File "convert-fast-neural-style.py", line 176, in <module>
    main()
  File "convert-fast-neural-style.py", line 162, in main
    unknown_layer_converter_fn=convert_instance_norm
TypeError: convert() got an unexpected keyword argument 'unknown_layer_converter_fn'

@engahmed1190 You need to update torch2coreml to 0.2.0 version: https://pypi.python.org/pypi/torch2coreml

On my side, the new code works well: I get the mlmodels with instance norm and the iOS app works.

Great , welcome

torch2coreml to 0.2.0

Solved Thanks


Updated camo challenge and re-enabled Melee category for Aether

Changelog
- Updated Berserker camo challenge

Berserker: Get 100 point blank kills -> Get 100 close range kills

- Re-enabled the Melee category for Aether

Note: The Combat Shield is not accessible in Zombies and the Melee category doesn't track towards Aether for some reason.

@CrazyIsEasy, isn't the camouflage tracking for the Melee category completely removed from the Zombie game mode, i.e. the Dark Aether camo?

Oh, nevermind... I watched a video last week where the Melee and Launcher categories were removed from the Dark Aether grind. Did something change or did that person just forget to include those?

Person probably forgot, and Zombies is weird this year, as of now no launcher, and combat shield camos since you can't use them in Zombies. Lots of inconsistencies.


Allow the use of @c_header on Datatypes

When interfacing with external libraries, it seems useful to be able to wrap complex datatypes defined by the libraries with ThingML datatypes. However, this requires that library header files (at least in C/C++) are included wherever these types are used, which is currently not supported. A possible solution to this would be to allow the @c_header annotation on datatypes (and possibly objects) like the following:
datatype LEAdvData<32>
  @c_type "struct ble_adv_data_pack"
  @c_header "#include <bluetooth/bluetooth.h>";

and then include this header-line wherever the datatype is used.
I would also assume that a similar solution makes sense for other languages like Java with import.

Yes, it makes sense for Java too. But if it is part of the standard library, putting the full qualified name in the @java_type annotation does the trick. If not, we have an annotation (a bit like @c_header) to include a Maven dependency.
So I suggest you fix this issue yourself :-)

Fixed in b18797f4dadd7bd31aab5de104e18ad3560c694e


CPU governors don't get set back to performance when laptop is above 20%

This is what I believe the expect behavior to be
If the lid is closed then governors will be set to powersave regardless of charge state
If laptop is plugged in governors will be set to performance
If laptop is bellow 20% governors will be set to powersave unless laptop is charging
Right now it doesn't even bother setting the governors back to performance.

Yea, I agree. We should change it so that it sets it back to performance when it's either plugged in or above a certain value maybe somewhere 50-70%

This should work now since the battery will only ever charge when plugged in and the laptop is always in performance when plugged in.


Update components.md

The following two facts haven't been mentioned anywhere in the documentation. They are among questions asked in Azure certification exam.
"VMs do not need a public IP address in order to be attached to backend pool of a public load balancer. Also, you can attach VMs to the backend pool of a load balancer even if they are in a stopped state. "

#sign-off


Fix appveyor build

Change ccm to git version, not pip

hm... weird... do you know why its still failing on this build: https://ci.appveyor.com/project/DataStax/csharp-driver/build/master-775

Nice!

After merging this pull request, the builds on master are failing as it can not find "ccm": https://ci.appveyor.com/project/DataStax/csharp-driver/branch/master


What is the origin of the ionic name?

I would like the author to give a detailed description.
@alakra
@mlynch
@alexweber
@ericb
@lwu

Hello! Thank you for opening an issue with us!
This is neither a bug nor a feature request, so I am going to close it.
That is not a reflection on your question. It is just that we use this list to prioritize what work needs to be done with ionic-angular
Thank you for using Ionic

When we started working on Ionic we were a small software company building app design tools (Codiqa and Jetstrap, if anyone remembers). We had an idea to build a better mobile web UI framework but needed a name.
I remember spending weeks writing every name that came to mind on a big whiteboard, and “Ionic” was the one we hated the least 😂

@mlynch
Thank you for your answer! Is the Ionic logo inspired by the chemistry of ions?


BUGFIX Android crash fix when decoding unsupported files types

Motivation (required)
Fixes a crash: https://github.com/react-native-community/react-native-image-picker/issues/1196 When resizing is enabled, picking an image file type that is not supported on Android crashes the app. For example some files with the image/tiff or image/heic mime type.
Solution (required)
BitmapFactory.decodeFile returns null If the specified file name is null, or cannot be decoded into a bitmap. In this case MediaUtils.getResizedImage returns null, though its annotation was nonNull. As a result the ImagePickerModule will crash.

I changed the annotation of MediaUtils.getResizedImage to nullable.
I changed the ImagePickerModule to be able to deal with a null response from MediaUtils.getResizedImage.

Could someone please take a look at this? I need this fix too ❤

@Johan-dutoit or @janicduplessis ?

I also need this fix, thanks a lot!

Is this not needed anymore, this is why it is closed?


Unclear where I paste the code snippet

In "Update the Tab Theme" section, the doc doesn't say where I should paste the code snippet -
const isTheme = this.state.theme
&
let newTheme
if (isTheme === "default") {
newTheme = {
backgroundColor: "#EEF1F5",
color: "#16233A"
};
} else {
newTheme = {
backgroundColor: "#2B2B30",
color: "#FFFFFF"
};
}
Please add 2 lines explaining where in the code this needs to be added.
[Enter feedback here]

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

ID: 29e90229-289e-2035-3b42-5cb9cce14efe
Version Independent ID: a2aee4b8-93b9-bda7-f000-8f41b4513647
Content: Get started - Build a personal tab - Teams
Content Source: msteams-platform/build-your-first-app/build-personal-tab.md
Product: msteams
GitHub Login: @heath-hamilton
Microsoft Alias: lajanuar

Hi @mipradhan, you can paste this code snippet inside the render() function (see the following example). Does this help? Please let me know if you have questions.
  render() {

      let userName = Object.keys(this.state.context).length > 0 ? this.state.context['upn'] : "";

      const isTheme = this.state.theme

      let newTheme

      if (isTheme === "default") {
        newTheme = {
          backgroundColor: "#EEF1F5",
          color: "#16233A"
        };
      } else {
        newTheme = {
          backgroundColor: "#2B2B30",
          color: "#FFFFFF"
        };
      }

Hi @mipradhan, you can paste this code snippet inside the render() function (see the following example). Does this help? Please let me know if you have questions.
  render() {

      let userName = Object.keys(this.state.context).length > 0 ? this.state.context['upn'] : "";

      const isTheme = this.state.theme

      let newTheme

      if (isTheme === "default") {
        newTheme = {
          backgroundColor: "#EEF1F5",
          color: "#16233A"
        };
      } else {
        newTheme = {
          backgroundColor: "#2B2B30",
          color: "#FFFFFF"
        };
      }

Yup, this helps - thank you!
Please mention the same in the docs so it can benefit all readers.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Heath Hamilton<EMAIL_ADDRESS>Sent: Tuesday, January 5, 2021 5:41:21 AM
To: MicrosoftDocs/msteams-docs<EMAIL_ADDRESS>Cc: Mithilesh Pradhan<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/msteams-docs] Unclear where I paste the code snippet (#2433)
Hi @mipradhanhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmipradhan&data=04|01|mipradhan%40microsoft.com|bdb430754c6a4ef4139408d8b10e6f05|72f988bf86f141af91ab2d7cd011db47|1|0|637454022865171003|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=FNtQWuDauJ6NQnabbj33rlskVqo0RNm%2FxGPqpEjrFjE%3D&reserved=0, you can paste this code snippet inside the render() function (see the following example). Does this help? Please let me know if you have questions.
render() {
  let userName = Object.keys(this.state.context).length > 0 ? this.state.context['upn'] : "";

  const isTheme = this.state.theme

  let newTheme

  if (isTheme === "default") {
    newTheme = {
      backgroundColor: "#EEF1F5",
      color: "#16233A"
    };
  } else {
    newTheme = {
      backgroundColor: "#2B2B30",
      color: "#FFFFFF"
    };
  }

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmsteams-docs%2Fissues%2F2433%23issuecomment-754301914&data=04|01|mipradhan%40microsoft.com|bdb430754c6a4ef4139408d8b10e6f05|72f988bf86f141af91ab2d7cd011db47|1|0|637454022865171003|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Uro5NNMD8Lpmt%2FqSyvoPj5tDzWvL6fPuMrCsB2vJ%2BdM%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAR2FMA7U5POC36SG7YYGYM3SYJKKTANCNFSM4USE7QQA&data=04|01|mipradhan%40microsoft.com|bdb430754c6a4ef4139408d8b10e6f05|72f988bf86f141af91ab2d7cd011db47|1|0|637454022865180998|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=ujuMWAdO5idfkswRI0YWAHXUfQ1LXBgPMbNI7%2FMiU50%3D&reserved=0.

Yup, this helps - thank you!
Please mention the same in the docs so it can benefit all readers.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Heath Hamilton<EMAIL_ADDRESS>Sent: Tuesday, January 5, 2021 5:41:21 AM
To: MicrosoftDocs/msteams-docs<EMAIL_ADDRESS>Cc: Mithilesh Pradhan<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/msteams-docs] Unclear where I paste the code snippet (#2433)
Hi @mipradhanhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmipradhan&data=04|01|mipradhan%40microsoft.com|bdb430754c6a4ef4139408d8b10e6f05|72f988bf86f141af91ab2d7cd011db47|1|0|637454022865171003|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=FNtQWuDauJ6NQnabbj33rlskVqo0RNm%2FxGPqpEjrFjE%3D&reserved=0, you can paste this code snippet inside the render() function (see the following example). Does this help? Please let me know if you have questions.
render() {
  let userName = Object.keys(this.state.context).length > 0 ? this.state.context['upn'] : "";

  const isTheme = this.state.theme

  let newTheme

  if (isTheme === "default") {
    newTheme = {
      backgroundColor: "#EEF1F5",
      color: "#16233A"
    };
  } else {
    newTheme = {
      backgroundColor: "#2B2B30",
      color: "#FFFFFF"
    };
  }

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fmsteams-docs%2Fissues%2F2433%23issuecomment-754301914&data=04|01|mipradhan%40microsoft.com|bdb430754c6a4ef4139408d8b10e6f05|72f988bf86f141af91ab2d7cd011db47|1|0|637454022865171003|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Uro5NNMD8Lpmt%2FqSyvoPj5tDzWvL6fPuMrCsB2vJ%2BdM%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAR2FMA7U5POC36SG7YYGYM3SYJKKTANCNFSM4USE7QQA&data=04|01|mipradhan%40microsoft.com|bdb430754c6a4ef4139408d8b10e6f05|72f988bf86f141af91ab2d7cd011db47|1|0|637454022865180998|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=ujuMWAdO5idfkswRI0YWAHXUfQ1LXBgPMbNI7%2FMiU50%3D&reserved=0.

Of course--glad to help, @mipradhan! Doc updates will be added once PR https://github.com/MicrosoftDocs/msteams-docs/pull/2551 merges.

Of course--glad to help, @mipradhan! Doc updates will be added once PR https://github.com/MicrosoftDocs/msteams-docs/pull/2551 merges.


Refactor of requires in PluginDescriptor (breaking change)

Also added CHANGELOG entries

Coverage decreased (-0.1%) to 25.398% when pulling 168da1f5f797e9470cb5460a096806a7f141ec7d on cominvent:requires-refactor into edbb541b86efd5424d5d1fa38713ec42792c88a6 on decebals:master.

Excellent work. Thanks!


Style icon to be clickable by changing mouse cursor

Thanks for this great plugin.
I recommend adding the CSS cursor: pointer; to make it more intuitive that the button can be clicked.

Hi, @fonata.
This is good advice, I will add it in the next version.  👨💻


Function return values don't seem to work

Hi! Love this library! Integrating it into my game for in-game books & dialog!
As the title says, function return values don't seem to work. Take this example from the Ink docs:
Monsieur Fogg was looking {describe_health(45)}.

=== function describe_health(x) ===
{
- x == 100:
	~ return "spritely"
- x > 75:
	~ return "chipper"
- x > 45:
	~ return "somewhat flagging"
- else:
	~ return "despondent"
}

When run inside narrator, ~ return "despondent" (and others) compile to incorrect Lua code. It would generator an error along the lines of: narrator/libs/lume.lua:674: [string "return nil "despondent""]:1: '<eof>' expected near '"despondent"'.
It's not a showstopper for me, I prefer writing any functions in Lua and binding them, I'd prefer to keep the ink as free from any sort of code as possible. But it would be a nice to have. :) I didn't see this in the "known issues" tags, so I'm sorry if this already known! And hopefully it's not too niche.

Thanks for the report, looks like a bug. Using bindings in this case will be the right decision, as local functions may not be as well tested in production I guess (at least I personally haven't used them yet).
I don't have high hopes that @abadonna will join in solving this problem since he's already created his own library, but if he suddenly gets bored and has nothing to do then I will welcome any ideas and suggestions 🙋♂.
Otherwise, of course, I'll see what's going wrong here over some afternoon tea 🫖🌙.


nix-env silently collides propagated-user-env-packages

collisions that occur while trying to obey nix-support/propagated-user-env-packages are silently ignored
as an example:
[clever@laptop:~]$ cat /nix/store/xi66kayy945y4ycc6fim4bffap935d6x-wpa_gui-2.6/nix-support/propagated-user-env-packages
 /nix/store/fhsiyhrssrzwdhx2dgy1ghadpmwq0lks-qtbase-5.9.0-bin
[clever@laptop:~]$ cat /nix/store/k60z1dnzw2vrp6hv3y79bbzd8w1zv218-wireshark-qt-2.4.1/nix-support/propagated-user-env-packages
/nix/store/w24yh0wxh1s4d8bq7qkgd65fmv4zmlbq-qtbase-5.9.1-bin ...

wpa-gui depends on 5.9.0
wireshark depends on 5.9.1
[clever@laptop:~]$ nix-store -qR .nix-profile | grep qt

[clever@laptop:~]$

nothing in my profile depends on anything QT related
[clever@laptop:~]$ nix-env -i /nix/store/xi66kayy945y4ycc6fim4bffap935d6x-wpa_gui-2.6
installing ‘wpa_gui-2.6’
[clever@laptop:~]$ ls -l .nix-profile/lib/qt-5.9
lrwxrwxrwx 1 root root 71 Dec 31  1969 .nix-profile/lib/qt-5.9 -> /nix/store/fhsiyhrssrzwdhx2dgy1ghadpmwq0lks-qtbase-5.9.0-bin/lib/qt-5.9

the 5.9.0 libraries are now in my profile
[clever@laptop:~]$ nix-env -i /nix/store/k60z1dnzw2vrp6hv3y79bbzd8w1zv218-wireshark-qt-2.4.1
installing ‘wireshark-qt-2.4.1’
[clever@laptop:~]$ ls -l .nix-profile/lib/qt-5.9
total 17
dr-xr-xr-x 11 root root 16 Dec 31  1969 plugins
[clever@laptop:~]$ ls -l .nix-profile/lib/qt-5.9/plugins/platforms/
total 2
lrwxrwxrwx 1 root root 104 Dec 31  1969 libqminimal.so -> /nix/store/fhsiyhrssrzwdhx2dgy1ghadpmwq0lks-qtbase-5.9.0-bin/lib/qt-5.9/plugins/platforms/libqminimal.so

the 5.9.0 libraries are still in my profile
[clever@laptop:~]$ wireshark
Cannot mix incompatible Qt library (version 0x50900) with this library (version 0x50901)

and they break wireshark
[clever@laptop:~]$ nix-env -e wpa_gui
uninstalling ‘wpa_gui-2.6’
building path(s) ‘/nix/store/dxns08cqfyacwm5dahhzyb97f0kz9ggb-user-environment’
created 514 symlinks in user environment

[clever@laptop:~]$ wireshark

removing wpa_gui restores the ability to run wireshark

Is this a nix (nix-env) bug?
Should this result in an error? (assuming no simple way resolve conflict such that both work?)

Presumably the fix would be fixing/isolating qt version more granularly if I recall what clever said correctly. In my case the collision was between 5.9.1 and 5.9.2, both residing in the same qt-5.9 directory. No doubt he will have better info.

While improving/changing the handling of qt deps solves the immediate concern, if I'm understanding correctly there is still the issue of conflicts in propagated-user-env-packages being silently ignored.
As my questions above hint, I think this is a bug and attempts to install packages with such conflicts should be an error.  Especially if the result is (likely) broken anyway.

Ah you're right, my mind was elsewhere and missed the point. :)


Azure Integrated auth is compiled out of 4.5.0

The classes for the azure sql integrated auth are conditionally removed from compilation in version 4.5.0 when they shouldn't be.
If you look at the assemblies from nuget.org you can see that the AzureSqlConnectionManager class is missing

There should be a class called AzureSqlConnectionManager as long as the SUPPORTS_AZURE_AD is set.

It appears as though these are set for net46 and netstandard2.0 but the files are still missing for those package versions.

This feature was added in 4.6


Create an FAQ

The FAQ will collect the most common questions from this repository.

https://github.com/flashbots/mev-boost/wiki/Frequently-Asked-Questions


Get config setting from etcd

i want to get the config settings from etcd using the http request in nginx with interval time .
I think the request url should not be fixed in my lua script or any config file. Because when any nodes crash, the ip will be unusable, At that time i have to change the ip  on  each server.
So i wonder whether etcd support this function:
lua send UDP broadcast to the LAN .
etcd nodes get my nginx callback address  from the udp pack
nodes send the cluster infos using the callback address

No, we don't support it.
Recommended way is remove the crashed node, and add a new member.


docs: add dev practical exercise

Added a section with practical exercise to dev intro.
@vgantchev  can you do again your magic and polish it little bit ? thank you.

Looks nice, here is polished:
https://github.com/galacticcouncil/HydraDX-docs/pull/103
https://github.com/galacticcouncil/HydraDX-math/tree/simpleswap
^ and don't forget to push this branch


First commit

Modified the readme file with dome additions and deletions. This is the extended description

This is my first pull request


Fix Supported SSH algorithms

Supported SSH algorithms > Encryption

Two aes128-cbc and no aes128-ctr.

Supported SSH algorithms > HMAC

Two hmac-sha2-256 and no hmac-sha2-512.

We have not been able to verify the operation, so we apologize if this is an incorrect correction.
ℹ As for hmac-sha2-512, it is described in HMAC example. I think there is no problem.

Docs Build status updates of commit 2377001:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/linux/connect-to-your-remote-linux-computer.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@TylerMSFT
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Improve task list Google Analytics

update JS to include code to determine which element in the task list accordion header was clicked (button, plus/minus, or white space) from service manual
dimension26 records total number of expand/collapse sections in task list
dimension27 records total number of component links in task list (links that are part of the component)
dimension28 records number of component links in the section that was opened/closed (handled in click event)

Trello card: https://trello.com/c/EiXT7IAh/227-implement-tracking-on-the-beta-task-list
PR: https://govuk-static-pr-1179.herokuapp.com/component-guide/task_list (no visual changes but tracking can be viewed using the GA Chrome plugin)

The first commit shouldn't be in this PR but it doesn't seem to have affected the overall diff. I tried to remove it but couldn't. Please ignore (or let me know how to fix it!).

Have replaced getSize with a variable that gets set only on load, good spot @nickcolley, thanks.


Csse pyd2 510

Description

[x] Provide a version of QCSchema expressed in Pydantic v2 API lodged in qcelemental.models.v2. It is not accessed by default.
[x] First three commits are copying in a set of models.v1 into models, applying the models portion of @Lnaden 's #321, and copying the result down to models.v2. Only the 4th commit d515a5f is changes to make it all work.
[x] The outlandish pyproject.toml changes are because to build docs for pyd v2 models one needs a recent sphinx, autodoc-pydantic, numpydoc, etc., but poetry insists it be solvable for py37.
[x] Ended up pulling in #342 to fix and/or see the true errors in docs build.
[x] It's awkward to deprecate in code, so this is official notice that homegrown AutoDoc will not be in qcdk v2 and could be removed from v1. All of QCArchive uses autodoc-pydantic instead, so this is notice to any downstream models. The autodoc changes from #321 will be discarded (sorry, Levi, that was a lot of work iirc.

Changelog description

Status

[x] Code base linted
[x] Ready to go
REMINDER, DON'T SQUASH MERGE THIS ONE

Requesting review @davidbrownell, @krachwal, @rfievet, @ketanbj, @varun646, @jyoung3131


Broken link in FAQ

The link to the external renderer API points to https://chromium.googlesource.com/external/webrtc/+/master/webrtc/video_engine/include/vie_render.h, which doesn't exist.
Line 130 under How can I implement my own renderer or add my own hooks in the WebRTC Platform in https://github.com/webrtc/webrtc-org/blob/gh-pages/faq/index.md
I can't find vie_render.h or the folder video_engine at all.

I think this is now obsolete. Most broken links were fixed.
See #131 for more details.


Running multiple cf set-env commands in parallel has inconsistent results

If you run multiple cf set-env commands at the same time, the results are inconsistent and never correct.
Here's an example script to replicate this:
#!/bin/bash
export CF_TRACE=trace.log
counter=1
while [ $counter -le 4 ]
do
    envName="testEnv$counter"
    cf set-env $1 $envName $envName &
    counter=$((counter+1))
done
wait
echo All done

The expected result would be to have four environment variables set like "testEnv1" through "testEnv4".  What happens in practice is that you end up with one or two of the variables set.
Looking at the trace logs, you can see what is happening.  The command first sends a GET request to pull the current list of environment variables and then sends a PUT request to update it with the new environment variable.  Each separate cf set-env process runs the GET and sees the initial state of the environment variables.  It then runs the PUT with a single new variable added.  Unfortunately which ever one runs last wins and steps on the other changes.
The use case for this is when there are a large number of environment variables being set.  Running multiple cf set-env commands in parallel can speed things up.

Currently you can work around this by using a manifest.yml to specify the environment variables.  Not everyone uses a manifest though, so it would be nice to be able to do something similar with cli arguments.

The CLI team is working on concurrency issues after noting that the introduction of plugins enables concurrency in the CLI like never before.  Thanks for the issue/tracker story.

Plugin concurrency didn't address this issue.  The problem is that there isn't a better way to handle this short of atomic transactions but atomic transactions is not an available solution.  Runtime would have to provide that atomicity.

@goehmen - would you consider a feature request to allow setting multiple env variables via the command line?  Something like cf set-env some-great-app env1 val1 env2 val2 env3 val3 ....
While this doesn't address the problem listed here, it does seem to address the core desire of the user, which is to quickly set multiple env variables without a manifest.

Maybe a better syntax if you consider this suggest to make parsing easier:
$ cf set-env some-great-app env1=val1, env2=val2, env3="val3" ...

using "..." for values with spaces.

+1 I like the env1=val1 style too.  A couple comments...

Currently env variable names can have spaces too.  Would "some env"="some val" work? or "some env=some val"?

Can we drop the comma after each pair?  env1=val1 env2=val2 ...

@dmikusa-pivotal +1 on your update

I like it too.  I updated the tracker story with this suggestion.
Greg Oehmen
Cloud Foundry Product Manager
415.205.6596
On Tue, May 5, 2015 at 11:19 AM, dr.max<EMAIL_ADDRESS>wrote:

@dmikusa-pivotal https://github.com/dmikusa-pivotal +1 on your update
—
Reply to this email directly or view it on GitHub
https://github.com/cloudfoundry/cli/issues/417#issuecomment-99165019.

This would be fantastic. Both Heroku and AWS Elastic Beanstalk use a similar syntax:
heroku config:set KEY1=VALUE1 [KEY2=VALUE2 ...]
eb setenv HeapSize=256m Site_Url=mysite.elasticbeanstalk.com

To use spaces, the values can be quoted (e.g. KEY="SOME VALUE" or KEY='SOME VALUE')

What's the status on this one? I can't see the story in the pivotal tracker but I see set-env still doesn't support setting multiple variables.

Is there any status on this? What is a short term fix? I like the suggestions of env1=val1 env2=val2 but for the short term would multiple commands with && work? i.e.
cf set-env someapp env1 val1 && cf set-env someapp env2 val2

You could try cf curl -X PUT /v2/apps/<app-guid> -d '{"environment_json":{"ENV1":"VAL1", "ENV2": "VAL2"}}'.  That overwrites everything and replaces it with what is in the JSON, so if you have existing env variables you'd have to include those as well as the new ones you want to set.

@dmikusa-pivotal Thanks. that is a good find. However, this seems like an overkill since everything in manifest.yml is overwritten. I have several env variables in manifest.yml that I would hate to overwrite again via the PUT. The reason I want to set some env variables via the CLI is because they are passwords and I don't want to store them in manifest.yml in clear text and have them be part of my code and repository.

@Omnipresent Multiple commands with && should work, but that just runs them one by one, not addressing the bad performance reported in the issue description.
The story in our Pivotal tracker seems to have been deleted -  I have removed the comment with the link to it.
Note that running cf commands in parallel (like with &) could lead to unpredictable issues: when the access token expires, that command process will retrieve a new token from UAA and save it to your local config.json: any command running in parallel, depending on timing, could be reading from an incomplete file as it is being written to. So if you must do that, please use a different CF_HOME for each parallel stream.
I don't think my team will get to working on this feature any reasonable time soon; too many things on our plates.
In the meantime a possible work-around that has helped some users is to take advantage of app manifest inheritance: move your environment variables to a "parent" manifest, which you can store in a secure location (separate to your app in your repo), or create on the fly.
When your app manifest inherits this file, these environment variables will be applied to all apps declared within. (So this may not be an ideal solution if you have a manifest with multiple apps.)

FYI, I noticed in another issue someone pointing out that maybe secrets should be passed to apps using user-provided services, configured before the app push, possibly by a different person/role (the person responsible for the resource the secret is used to access).

This seems to also be an issue for those using the cloudfoundry-client-reactor client lib to set env variables asynchronously (ie, multiple variables set in parallel for same app).
For example, each Applications#setEnvironmentVariable(SetEnvironmentVariableApplicationRequest) request sets only 1 environment variable, and when multiple are executed in parallel you have the same problem.
Was hoping there was a way to set multiple env vars in a single request, but I cannot find it.  Only workaround at this point seems to be to line up the requests in serial where each request waits for the previous one to complete before executing the next.  But this obviously negates much of the benefit of the reactive client.
Any suggestions?

@jgriff - I don't know about the library you're referencing, but the cf cli sets multiple variables at once by doing a PUT against /v2/apps/<guid>. There is an environment_json attribute which can be used to set multiple at once.
http://apidocs.cloudfoundry.org/5.0.0/apps/updating_an_app.html


[KBFS-1433] Don't serialize flushes with journal ops

Instead, serialize flushes among each other, and
serialize journal ops among each other.
Move all the block/MD flush tests to tlf_journal_test.go.
Add smaller {block,md}ServerLocalConfig interfaces
to use with the in-memory and on-disk block and
MD server implementations, instead of requiring a full
Config.
Various misc. cleanups.

Suggested review order:

tlf_journal.go, block_journal.go, and md_journal.go
Skim the tests moved from journal_block_server_test.go and md_journal_test.go to tlf_journal_test.go
{block,md}server_local_config.go.
Everything else.

I started to review this, but I decided that it'd be more useful once I have a larger chunk of time to page everything in at once. I'll review on Monday morning.

CI failure looks like a flake in TestMultipleDeviceReaderShare on kbfs-server: https://ci.keybase.io/job/kbfs-server/job/master/763/execution/node/154/log/

Mostly looks good, just a few formatting suggestions and some minor questions.

CI is same flake.

Some notes on locking after some thinking after a conversation with @jzila yesterday.
flushLock is there just to serialize flushes. There's only one background thread per TLF, so there's only contention if someone manually flushes (using .kbfs_flush_journal). That special file might go away, since it's only useful when paused, and one could simply unpause background work, in which case we'd be able to get rid of flushLock.
journalLock protects access to the journal, since every fuse request has its own goroutine. It's possible to replace it with a channel/goroutine-based solution, but that has some advantages and disadvantages. The main advantage to a channel/goroutine-based solution is that it makes implementing cancellation really easy, as one could do a select with pushing onto the channel and ctx.Done(); otherwise, cancellation doesn't have any effect on plain locks. (We have the same problem in FolderBranchOps, which we solve by spawning more goroutines.)
The main advantage to a lock-based solution is that it allows better parallelism for read-heavy workloads, since a RWMutex is used. (This is the same reason why we do the same for FolderBranchOps, IIRC.)
It seems more feasible to solve the problem with the lock-based solution (by writing a RWMutex-like type that supports cancellation) rather than try to simulate the concurrency possible with a RWMutex by using channels/goroutines.


VBox and HBox should be classes

Make HBox and VBox classes instead of functions to allow for subclassing.

👍

Instead of doing that, we could use a default value generator for layout
@default('layout')
def _default_layout(self):
    return Layout(align_items='stretch', display='flex')

This would prevent sending the original state and then updates to the layout...


AttributeError: 'module' object has no attribute '_get_empty_inline_table'

I'm having this exception now. Everything was working fine last friday (I was using version 7.2). Now, I've got this error on version 7.2.8.
This error is thrown when I run pipenv lock or pipenv install.
My current environment is a Docker image:
Python 2.7.13
pip 9.0.1 from /usr/local/lib/python2.7/site-packages (python 2.7)
Dockerfile
FROM python:2

RUN apt-get update && apt-get install -qyy \
    -o APT::Install-Recommends=false -o APT::Install-Suggests=false \
    git\
    gcc\
    openssh-client\
    libpq-dev\
    postgresql-client

WORKDIR /app

ADD Pipfile /app
ADD Pipfile.lock /app

RUN pip install pipenv
RUN pipenv install --dev

ADD . /app

EXPOSE 8000

Full error
root@dd905c0d6706:/mentors-api# pipenv lock
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pipenv/cli.py", line 1575, in lock
    ensure_project(three=three, python=python)
  File "/usr/local/lib/python2.7/site-packages/pipenv/cli.py", line 478, in ensure_project
    ensure_virtualenv(three=three, python=python)
  File "/usr/local/lib/python2.7/site-packages/pipenv/cli.py", line 446, in ensure_virtualenv
    python = ensure_python(three=three, python=python)
  File "/usr/local/lib/python2.7/site-packages/pipenv/cli.py", line 339, in ensure_python
    python = project.required_python_version
  File "/usr/local/lib/python2.7/site-packages/pipenv/project.py", line 54, in required_python_version
    required = self.parsed_pipfile.get('requires', {}).get('python_version')
  File "/usr/local/lib/python2.7/site-packages/pipenv/project.py", line 191, in parsed_pipfile
    data[section][package] = toml._get_empty_inline_table(dict)
AttributeError: 'module' object has no attribute '_get_empty_inline_table'

hmmm, this should not be happening. We ship our own version of toml.

cannot reproduce

reproduced

cannot reproduce

do
>>> from pipenv.project import toml
>>> print(toml.__file__)

This error also occurs for me on pipenv 7.2.7 through 7.2.9.
7.2.6 and 7.3.0 are unaffected.

do

from pipenv.project import toml
print(toml.file)

`# python
Python 2.7.5 (default, May  3 2017, 07:55:04)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-14)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

from pipenv.project import toml
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named pipenv.project`

doh, one sec.

import pipenv
print(pipenv.project.toml.__file__)

should work.

sorry, just trying to debug where your 'toml' is coming from, and if our path loading isn't working on your machine for some reason.

I added a patch that might improve this, maybe.

/var/lib/jenkins/.local/lib/python2.7/site-packages/pipenv/vendor/toml.pyc

then you shouldn't be getting this error.

do you have another 'toml' library installed somewhere?

I'm wondering if this might be an issues with a cached pyc file? Also @nguse, you have different versions of Python 2.7 and different paths in most of your trackbacks. It looks like you've got multiple versions of 2.7 on your machine which may be causing the issue.

Interesting observation!

Apologies I was confusing @nguse with the original poster. Poor reading on mobile 😕. Disregard the second part of my previous statement.

I always have PYTHONDONTWRITEBYTECODE set, personally.

I have literally no idea why this is happening to you.

One possibility I can think of is some other libraries (or pth files) messed with sys.path after Pipenv and causes import toml to point to the installed version.

but you're running a cli tool, nothing can mess with it.

i get exactly the same error with 7.3.7
$ pipenv install --dev                                                                                typing
Traceback (most recent call last):
  File "/home/mpreuss/.local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/home/mpreuss/.local/venvs/pipenv/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/home/mpreuss/.local/venvs/pipenv/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/home/mpreuss/.local/venvs/pipenv/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/mpreuss/.local/venvs/pipenv/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/mpreuss/.local/venvs/pipenv/lib/python3.6/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/home/mpreuss/.local/venvs/pipenv/lib/python3.6/site-packages/pipenv/cli.py", line 1458, in install
    ensure_project(three=three, python=python, system=system, warn=True)
  File "/home/mpreuss/.local/venvs/pipenv/lib/python3.6/site-packages/pipenv/cli.py", line 520, in ensure_project
    ensure_virtualenv(three=three, python=python)
  File "/home/mpreuss/.local/venvs/pipenv/lib/python3.6/site-packages/pipenv/cli.py", line 488, in ensure_virtualenv
    python = ensure_python(three=three, python=python)
  File "/home/mpreuss/.local/venvs/pipenv/lib/python3.6/site-packages/pipenv/cli.py", line 372, in ensure_python
    python = project.required_python_version
  File "/home/mpreuss/.local/venvs/pipenv/lib/python3.6/site-packages/pipenv/project.py", line 54, in required_python_version
    required = self.parsed_pipfile.get('requires', {}).get('python_full_version')
  File "/home/mpreuss/.local/venvs/pipenv/lib/python3.6/site-packages/pipenv/project.py", line 193, in parsed_pipfile
    data[section][package] = toml._get_empty_inline_table(dict)
AttributeError: module 'toml' has no attribute '_get_empty_inline_table'

I'm also seeing the same issue on 7.3.7,
Full Error
$ pipenv install
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/pipenv/cli.py", line 1458, in install
    ensure_project(three=three, python=python, system=system, warn=True)
  File "/usr/local/lib/python3.5/site-packages/pipenv/cli.py", line 524, in ensure_project
    if project.required_python_version:
  File "/usr/local/lib/python3.5/site-packages/pipenv/project.py", line 54, in required_python_version
    required = self.parsed_pipfile.get('requires', {}).get('python_full_version')
  File "/usr/local/lib/python3.5/site-packages/pipenv/project.py", line 193, in parsed_pipfile
    data[section][package] = toml._get_empty_inline_table(dict)
AttributeError: module 'toml' has no attribute '_get_empty_inline_table'

The toml path:
Python 3.5.0 (default, Dec 17 2015, 13:18:06)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pipenv
>>> print(pipenv.project.toml.__file__)
/usr/local/lib/python3.5/site-packages/pipenv/vendor/toml.py

Interestingly enough, when i explicitly add --three I get a differerent, Unicode error from the embedded click library:
$ pipenv --three install
Creating a virtualenv for this project\u2026
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 1063, in invoke
    Command.invoke(self, ctx)
  File "/usr/local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.5/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/pipenv/cli.py", line 1422, in cli
    ensure_project(three=three, python=python, warn=True)
  File "/usr/local/lib/python3.5/site-packages/pipenv/cli.py", line 520, in ensure_project
    ensure_virtualenv(three=three, python=python)
  File "/usr/local/lib/python3.5/site-packages/pipenv/cli.py", line 491, in ensure_virtualenv
    do_create_virtualenv(python=python)
  File "/usr/local/lib/python3.5/site-packages/pipenv/cli.py", line 798, in do_create_virtualenv
    crayons.white(u'to create virtualenv\u2026', bold=True)
  File "/usr/local/lib/python3.5/site-packages/pipenv/vendor/click/utils.py", line 259, in echo
    file.write(message)
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2026' in position 96: ordinal not in range(256)

In my case the AttributeError: module 'toml' has no attribute '_get_empty_inline_table' seems to be triggered by a nested table in the Pipfile:
[packages.django-jsonfield]
hg = "https://bitbucket.org/schinckel/django-jsonfield"
ref = "6c37ee0"

Rewriting this to an inline table solves the issue for me. No toml package installed anywhere.

this is strange.

well one solution is to not ship wheels.

try v7.3.8.

also, for the 'latin-1' codec error, make sure you have your locale setting set to UTF-8

closing this as solved now!

would like to fix the wheel, but not sure what the issue is.

It seems there's still a 7.3.8 wheel of pipenv in PyPi, with the old version of toml.py inside, so if one does a pip install pipenv, one by default ends up with pipenv that chokes on a Pipfile with nested tables. All fine with --no-binary.

grrrrr

I'm only running setup.py sdist — how does one disable wheel generation?

okay 7.3.9 is out. fixed this. setuptools changed something.

will get to the bottom of wheels too

Sorry for not responding on this thread...
@nateprewitt thank you for your reply and observation. Please keep in mind this is not "my machine", but a public Docker image for Python 2. Everybody uses this image. So, if this bug happened with me, it might happen with tons of other people.
I will try the latest version (7.3.9) with the same Dockerfile.

It world like a charm!
Good job
Here is the steps Docker and my Dockerfile performed when I built the container
Building api
Step 1/12 : FROM python:2
 ---> ac9424878b8f
Step 2/12 : RUN apt-get update && apt-get install -qyy     -o APT::Install-Recommends=false -o APT::Install-Suggests=false     git    gcc    openssh-client    libpq-dev    postgresql-client
 ---> Using cache
 ---> ae4adbd69c87
Step 3/12 : WORKDIR /app
 ---> Using cache
 ---> d87878cfaf5d
Step 4/12 : ADD Pipfile /app
 ---> Using cache
 ---> d48275eff145
Step 5/12 : ADD Pipfile.lock /app
 ---> Using cache
 ---> 6e6ca8dc803c
Step 6/12 : RUN pip install pipenv
 ---> Running in a3c84aeb591c
Collecting pipenv
  Downloading pipenv-7.3.9.tar.gz (4.1MB)
Requirement already satisfied: virtualenv in /usr/local/lib/python2.7/site-packages (from pipenv)
Collecting pew>=0.1.26 (from pipenv)
  Downloading pew-0.1.26-py2.py3-none-any.whl
Requirement already satisfied: pip>=9.0.1 in /usr/local/lib/python2.7/site-packages (from pipenv)
Collecting pip-tools>=1.9.0 (from pipenv)
  Downloading pip_tools-1.9.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools>=36.3.0 in /usr/local/lib/python2.7/site-packages (from pipenv)
Collecting requests>2.0.0 (from pipenv)
  Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
Collecting pathlib; python_version == "2.7" (from pew>=0.1.26->pipenv)
  Downloading pathlib-1.0.1.tar.gz (49kB)
Collecting pythonz-bd>=1.10.2 (from pew>=0.1.26->pipenv)
  Downloading pythonz-bd-1.11.4.tar.gz (86kB)
Collecting shutilwhich; python_version == "2.7" (from pew>=0.1.26->pipenv)
  Downloading shutilwhich-1.1.0.tar.gz
Collecting backports.shutil-get-terminal-size; python_version == "2.7" (from pew>=0.1.26->pipenv)
  Downloading backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
Collecting virtualenv-clone>=0.2.5 (from pew>=0.1.26->pipenv)
  Downloading virtualenv-clone-0.2.6.tar.gz
Collecting six (from pip-tools>=1.9.0->pipenv)
  Downloading six-1.11.0-py2.py3-none-any.whl
Collecting click>=6 (from pip-tools>=1.9.0->pipenv)
  Downloading click-6.7-py2.py3-none-any.whl (71kB)
Collecting first (from pip-tools>=1.9.0->pipenv)
  Downloading first-2.0.1-py2.py3-none-any.whl
Collecting idna<2.7,>=2.5 (from requests>2.0.0->pipenv)
  Downloading idna-2.6-py2.py3-none-any.whl (56kB)
Collecting urllib3<1.23,>=1.21.1 (from requests>2.0.0->pipenv)
  Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
Collecting certifi>=2017.4.17 (from requests>2.0.0->pipenv)
  Downloading certifi-2<IP_ADDRESS>-py2.py3-none-any.whl (349kB)
Collecting chardet<3.1.0,>=3.0.2 (from requests>2.0.0->pipenv)
  Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
Building wheels for collected packages: pipenv, pathlib, pythonz-bd, shutilwhich, virtualenv-clone
  Running setup.py bdist_wheel for pipenv: started
  Running setup.py bdist_wheel for pipenv: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/ca/39/d5/f0348ceb0843d18e7884f1a9a42b1b34197a1b96e5052e4f12
  Running setup.py bdist_wheel for pathlib: started
  Running setup.py bdist_wheel for pathlib: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/2a/23/a5/d8803db5d631e9f391fe6defe982a238bf5483062eeb34e841
  Running setup.py bdist_wheel for pythonz-bd: started
  Running setup.py bdist_wheel for pythonz-bd: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/04/de/c8/da2d21bb0112bb65bfb28bdf9ee8f2c819c25db143c32435b2
  Running setup.py bdist_wheel for shutilwhich: started
  Running setup.py bdist_wheel for shutilwhich: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/0e/28/70/d5cc6586f26d614b26901485f6f6072d35cbbb5bbeffb6ea43
  Running setup.py bdist_wheel for virtualenv-clone: started
  Running setup.py bdist_wheel for virtualenv-clone: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/24/51/ef/93120d304d240b4b6c2066454250a1626e04f73d34417b956d
Successfully built pipenv pathlib pythonz-bd shutilwhich virtualenv-clone
Installing collected packages: pathlib, pythonz-bd, shutilwhich, backports.shutil-get-terminal-size, virtualenv-clone, pew, six, click, first, pip-tools, idna, urllib3, certifi, chardet, requests, pipenv
Successfully installed backports.shutil-get-terminal-size-1.0.0 certifi-2<IP_ADDRESS> chardet-3.0.4 click-6.7 first-2.0.1 idna-2.6 pathlib-1.0.1 pew-0.1.26 pip-tools-1.9.0 pipenv-7.3.9 pythonz-bd-1.11.4 requests-2.18.4 shutilwhich-1.1.0 six-1.11.0 urllib3-1.22 virtualenv-clone-0.2.6
 ---> aab9a9f7943f
Removing intermediate container a3c84aeb591c
Step 7/12 : RUN pip install --no-cache-dir ipdb
 ---> Running in a92fd1e8d4fc
Collecting ipdb
  Downloading ipdb-0.10.3.tar.gz
Requirement already satisfied: setuptools in /usr/local/lib/python2.7/site-packages (from ipdb)
Collecting ipython<6.0.0,>=0.10.2 (from ipdb)
  Downloading ipython-5.5.0-py2-none-any.whl (758kB)
Collecting simplegeneric>0.8 (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading simplegeneric-0.8.1.zip
Collecting pickleshare (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading pickleshare-0.7.4-py2.py3-none-any.whl
Requirement already satisfied: backports.shutil-get-terminal-size; python_version == "2.7" in /usr/local/lib/python2.7/site-packages (from ipython<6.0.0,>=0.10.2->ipdb)
Collecting pathlib2; python_version == "2.7" or python_version == "3.3" (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading pathlib2-2.3.0-py2.py3-none-any.whl
Collecting pexpect; sys_platform != "win32" (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading pexpect-4.2.1-py2.py3-none-any.whl (55kB)
Collecting traitlets>=4.2 (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading traitlets-4.3.2-py2.py3-none-any.whl (74kB)
Collecting pygments (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading Pygments-2.2.0-py2.py3-none-any.whl (841kB)
Collecting decorator (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading decorator-4.1.2-py2.py3-none-any.whl
Collecting prompt-toolkit<2.0.0,>=1.0.4 (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading prompt_toolkit-1.0.15-py2-none-any.whl (247kB)
Requirement already satisfied: six in /usr/local/lib/python2.7/site-packages (from pathlib2; python_version == "2.7" or python_version == "3.3"->ipython<6.0.0,>=0.10.2->ipdb)
Collecting scandir; python_version < "3.5" (from pathlib2; python_version == "2.7" or python_version == "3.3"->ipython<6.0.0,>=0.10.2->ipdb)
  Downloading scandir-1.5.tar.gz
Collecting ptyprocess>=0.5 (from pexpect; sys_platform != "win32"->ipython<6.0.0,>=0.10.2->ipdb)
  Downloading ptyprocess-0.5.2-py2.py3-none-any.whl
Collecting enum34; python_version == "2.7" (from traitlets>=4.2->ipython<6.0.0,>=0.10.2->ipdb)
  Downloading enum34-1.1.6-py2-none-any.whl
Collecting ipython-genutils (from traitlets>=4.2->ipython<6.0.0,>=0.10.2->ipdb)
  Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting wcwidth (from prompt-toolkit<2.0.0,>=1.0.4->ipython<6.0.0,>=0.10.2->ipdb)
  Downloading wcwidth-0.1.7-py2.py3-none-any.whl
Installing collected packages: simplegeneric, scandir, pathlib2, pickleshare, ptyprocess, pexpect, enum34, ipython-genutils, decorator, traitlets, pygments, wcwidth, prompt-toolkit, ipython, ipdb
  Running setup.py install for simplegeneric: started
    Running setup.py install for simplegeneric: finished with status 'done'
  Running setup.py install for scandir: started
    Running setup.py install for scandir: finished with status 'done'
  Running setup.py install for ipdb: started
    Running setup.py install for ipdb: finished with status 'done'
Successfully installed decorator-4.1.2 enum34-1.1.6 ipdb-0.10.3 ipython-5.5.0 ipython-genutils-0.2.0 pathlib2-2.3.0 pexpect-4.2.1 pickleshare-0.7.4 prompt-toolkit-1.0.15 ptyprocess-0.5.2 pygments-2.2.0 scandir-1.5 simplegeneric-0.8.1 traitlets-4.3.2 wcwidth-0.1.7
 ---> d0d1608ea903
Removing intermediate container a92fd1e8d4fc
Step 8/12 : RUN pipenv install --dev
 ---> Running in acd1d847534e
Using /usr/local/bin/python2.7 to create virtualenv…
Creating a virtualenv for this project…
Running virtualenv with interpreter /usr/local/bin/python2.7
New python executable in /root/.local/share/virtualenvs/app-6QS5KGRI/bin/python2.7
Also creating executable in /root/.local/share/virtualenvs/app-6QS5KGRI/bin/python
Installing setuptools, pip, wheel...done.

Virtualenv location: /root/.local/share/virtualenvs/app-6QS5KGRI
No package provided, installing all dependencies.
Installing dependencies from Pipfile.lock…
To activate this project's virtualenv, run the following:
 $ pipenv shell
 ---> ad5f243eaafe
Removing intermediate container acd1d847534e

sorry for the weird bug!

still need to figure out why our wheels are weird, but dropping them doesn't seem to cause any harm in the meantime.

Just for the purpose of future research, here is the log for the same build steps, but for Pipenv version 7.2.8
Building api
Step 1/12 : FROM python:2
 ---> ac9424878b8f
Step 2/12 : RUN apt-get update && apt-get install -qyy     -o APT::Install-Recommends=false -o APT::Install-Suggests=false     git    gcc    openssh-client    libpq-dev    postgresql-client
 ---> Using cache
 ---> ae4adbd69c87
Step 3/12 : WORKDIR /app
 ---> Using cache
 ---> d87878cfaf5d
Step 4/12 : ADD Pipfile /app
 ---> Using cache
 ---> d48275eff145
Step 5/12 : ADD Pipfile.lock /app
 ---> Using cache
 ---> 6e6ca8dc803c
Step 6/12 : RUN pip install "pipenv==7.2.8"
 ---> Running in 629923f1f07f
Collecting pipenv==7.2.8
  Downloading pipenv-7.2.8-py2-none-any.whl (2.5MB)
Collecting requests (from pipenv==7.2.8)
  Downloading requests-2.18.4-py2.py3-none-any.whl (88kB)
Collecting pew>=0.1.26 (from pipenv==7.2.8)
  Downloading pew-0.1.26-py2.py3-none-any.whl
Requirement already satisfied: virtualenv in /usr/local/lib/python2.7/site-packages (from pipenv==7.2.8)
Requirement already satisfied: pip>=9.0.1 in /usr/local/lib/python2.7/site-packages (from pipenv==7.2.8)
Collecting semver (from pipenv==7.2.8)
  Downloading semver-2.7.8.tar.gz
Requirement already satisfied: setuptools>=36.3.0 in /usr/local/lib/python2.7/site-packages (from pipenv==7.2.8)
Collecting pip-tools>=1.9.0 (from pipenv==7.2.8)
  Downloading pip_tools-1.9.0-py2.py3-none-any.whl
Collecting idna<2.7,>=2.5 (from requests->pipenv==7.2.8)
  Downloading idna-2.6-py2.py3-none-any.whl (56kB)
Collecting urllib3<1.23,>=1.21.1 (from requests->pipenv==7.2.8)
  Downloading urllib3-1.22-py2.py3-none-any.whl (132kB)
Collecting certifi>=2017.4.17 (from requests->pipenv==7.2.8)
  Downloading certifi-2<IP_ADDRESS>-py2.py3-none-any.whl (349kB)
Collecting chardet<3.1.0,>=3.0.2 (from requests->pipenv==7.2.8)
  Downloading chardet-3.0.4-py2.py3-none-any.whl (133kB)
Collecting pathlib; python_version == "2.7" (from pew>=0.1.26->pipenv==7.2.8)
  Downloading pathlib-1.0.1.tar.gz (49kB)
Collecting pythonz-bd>=1.10.2 (from pew>=0.1.26->pipenv==7.2.8)
  Downloading pythonz-bd-1.11.4.tar.gz (86kB)
Collecting shutilwhich; python_version == "2.7" (from pew>=0.1.26->pipenv==7.2.8)
  Downloading shutilwhich-1.1.0.tar.gz
Collecting backports.shutil-get-terminal-size; python_version == "2.7" (from pew>=0.1.26->pipenv==7.2.8)
  Downloading backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
Collecting virtualenv-clone>=0.2.5 (from pew>=0.1.26->pipenv==7.2.8)
  Downloading virtualenv-clone-0.2.6.tar.gz
Collecting six (from pip-tools>=1.9.0->pipenv==7.2.8)
  Downloading six-1.11.0-py2.py3-none-any.whl
Collecting click>=6 (from pip-tools>=1.9.0->pipenv==7.2.8)
  Downloading click-6.7-py2.py3-none-any.whl (71kB)
Collecting first (from pip-tools>=1.9.0->pipenv==7.2.8)
  Downloading first-2.0.1-py2.py3-none-any.whl
Building wheels for collected packages: semver, pathlib, pythonz-bd, shutilwhich, virtualenv-clone
  Running setup.py bdist_wheel for semver: started
  Running setup.py bdist_wheel for semver: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/dc/45/11/33c3c46fc699c32f15d4d7e05fc8806af62ad653c6abc9e97d
  Running setup.py bdist_wheel for pathlib: started
  Running setup.py bdist_wheel for pathlib: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/2a/23/a5/d8803db5d631e9f391fe6defe982a238bf5483062eeb34e841
  Running setup.py bdist_wheel for pythonz-bd: started
  Running setup.py bdist_wheel for pythonz-bd: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/04/de/c8/da2d21bb0112bb65bfb28bdf9ee8f2c819c25db143c32435b2
  Running setup.py bdist_wheel for shutilwhich: started
  Running setup.py bdist_wheel for shutilwhich: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/0e/28/70/d5cc6586f26d614b26901485f6f6072d35cbbb5bbeffb6ea43
  Running setup.py bdist_wheel for virtualenv-clone: started
  Running setup.py bdist_wheel for virtualenv-clone: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/24/51/ef/93120d304d240b4b6c2066454250a1626e04f73d34417b956d
Successfully built semver pathlib pythonz-bd shutilwhich virtualenv-clone
Installing collected packages: idna, urllib3, certifi, chardet, requests, pathlib, pythonz-bd, shutilwhich, backports.shutil-get-terminal-size, virtualenv-clone, pew, semver, six, click, first, pip-tools, pipenv
Successfully installed backports.shutil-get-terminal-size-1.0.0 certifi-2<IP_ADDRESS> chardet-3.0.4 click-6.7 first-2.0.1 idna-2.6 pathlib-1.0.1 pew-0.1.26 pip-tools-1.9.0 pipenv-7.2.8 pythonz-bd-1.11.4 requests-2.18.4 semver-2.7.8 shutilwhich-1.1.0 six-1.11.0 urllib3-1.22 virtualenv-clone-0.2.6
 ---> 033042bdf3b0
Removing intermediate container 629923f1f07f
Step 7/12 : RUN pip install --no-cache-dir ipdb
 ---> Running in ab59b55aab77
Collecting ipdb
  Downloading ipdb-0.10.3.tar.gz
Requirement already satisfied: setuptools in /usr/local/lib/python2.7/site-packages (from ipdb)
Collecting ipython<6.0.0,>=0.10.2 (from ipdb)
  Downloading ipython-5.5.0-py2-none-any.whl (758kB)
Collecting simplegeneric>0.8 (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading simplegeneric-0.8.1.zip
Collecting pickleshare (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading pickleshare-0.7.4-py2.py3-none-any.whl
Requirement already satisfied: backports.shutil-get-terminal-size; python_version == "2.7" in /usr/local/lib/python2.7/site-packages (from ipython<6.0.0,>=0.10.2->ipdb)
Collecting pathlib2; python_version == "2.7" or python_version == "3.3" (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading pathlib2-2.3.0-py2.py3-none-any.whl
Collecting pexpect; sys_platform != "win32" (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading pexpect-4.2.1-py2.py3-none-any.whl (55kB)
Collecting traitlets>=4.2 (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading traitlets-4.3.2-py2.py3-none-any.whl (74kB)
Collecting pygments (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading Pygments-2.2.0-py2.py3-none-any.whl (841kB)
Collecting decorator (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading decorator-4.1.2-py2.py3-none-any.whl
Collecting prompt-toolkit<2.0.0,>=1.0.4 (from ipython<6.0.0,>=0.10.2->ipdb)
  Downloading prompt_toolkit-1.0.15-py2-none-any.whl (247kB)
Requirement already satisfied: six in /usr/local/lib/python2.7/site-packages (from pathlib2; python_version == "2.7" or python_version == "3.3"->ipython<6.0.0,>=0.10.2->ipdb)
Collecting scandir; python_version < "3.5" (from pathlib2; python_version == "2.7" or python_version == "3.3"->ipython<6.0.0,>=0.10.2->ipdb)
  Downloading scandir-1.5.tar.gz
Collecting ptyprocess>=0.5 (from pexpect; sys_platform != "win32"->ipython<6.0.0,>=0.10.2->ipdb)
  Downloading ptyprocess-0.5.2-py2.py3-none-any.whl
Collecting enum34; python_version == "2.7" (from traitlets>=4.2->ipython<6.0.0,>=0.10.2->ipdb)
  Downloading enum34-1.1.6-py2-none-any.whl
Collecting ipython-genutils (from traitlets>=4.2->ipython<6.0.0,>=0.10.2->ipdb)
  Downloading ipython_genutils-0.2.0-py2.py3-none-any.whl
Collecting wcwidth (from prompt-toolkit<2.0.0,>=1.0.4->ipython<6.0.0,>=0.10.2->ipdb)
  Downloading wcwidth-0.1.7-py2.py3-none-any.whl
Installing collected packages: simplegeneric, scandir, pathlib2, pickleshare, ptyprocess, pexpect, enum34, ipython-genutils, decorator, traitlets, pygments, wcwidth, prompt-toolkit, ipython, ipdb
  Running setup.py install for simplegeneric: started
    Running setup.py install for simplegeneric: finished with status 'done'
  Running setup.py install for scandir: started
    Running setup.py install for scandir: finished with status 'done'
  Running setup.py install for ipdb: started
    Running setup.py install for ipdb: finished with status 'done'
Successfully installed decorator-4.1.2 enum34-1.1.6 ipdb-0.10.3 ipython-5.5.0 ipython-genutils-0.2.0 pathlib2-2.3.0 pexpect-4.2.1 pickleshare-0.7.4 prompt-toolkit-1.0.15 ptyprocess-0.5.2 pygments-2.2.0 scandir-1.5 simplegeneric-0.8.1 traitlets-4.3.2 wcwidth-0.1.7
 ---> 2ab9aa4b3d40
Removing intermediate container ab59b55aab77
Step 8/12 : RUN pipenv install --dev
 ---> Running in 346cd5bde1c9
Traceback (most recent call last):
  File "/usr/local/bin/pipenv", line 11, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/pipenv/cli.py", line 1404, in install
    ensure_project(three=three, python=python, system=system, warn=True)
  File "/usr/local/lib/python2.7/site-packages/pipenv/cli.py", line 478, in ensure_project
    ensure_virtualenv(three=three, python=python)
  File "/usr/local/lib/python2.7/site-packages/pipenv/cli.py", line 446, in ensure_virtualenv
    python = ensure_python(three=three, python=python)
  File "/usr/local/lib/python2.7/site-packages/pipenv/cli.py", line 339, in ensure_python
    python = project.required_python_version
  File "/usr/local/lib/python2.7/site-packages/pipenv/project.py", line 54, in required_python_version
    required = self.parsed_pipfile.get('requires', {}).get('python_version')
  File "/usr/local/lib/python2.7/site-packages/pipenv/project.py", line 191, in parsed_pipfile
    data[section][package] = toml._get_empty_inline_table(dict)
AttributeError: 'module' object has no attribute '_get_empty_inline_table'
ERROR: Service 'api' failed to build: The command '/bin/sh -c pipenv install --dev' returned a non-zero code: 1

@kennethreitz and contributors, thank you for your time and effort. Pipenv is amazing!

💫✨🍰✨💫

@kennethreitz thanks for the quick turnaround, new build works like a charm and indeed fixing my locale settings to UTF-8 fixed the Unicode error


please ignore when inside code block

Describe the bug
In preview mode, the code inside curly brackets is shown at the top of the code block.
Markdown Source
```powershell
do {
Start-Process "ms-settings:mousetouchpad"
sleep 1
get-process | where-object {$_.MainWindowTitle -eq "Settings"} | % { $_.CloseMainWindow() }
sleep 2
} while ($true)
```

Screenshots

Hey, sorry this took so long, but this should be fixed in version 1.1.0.


uffd: Do pthread_cond_timedwait instead

It is possible that the signal send by the uffd logic to block the applications threads cannot be delivered. For this reason do pthread_cond_timedwait on the condition variable instead of pthread_cond_wait which causes a deadlock in these cases.

CI gfxreconstruct build queued with queue ID 207086.

CI gfxreconstruct build # 4315 running.

CI gfxreconstruct build # 4315 passed.


[3565717884] Added welcome window for Quick start + Analytics panel

3565717884
Description

Added welcome window for quick start sample
also merged the Analytics confirmation panel into this window
If quick start button clicked it will import the sample and open the scene

Changes
Added

Welcome window for quick start and analytics popup
quick start editor UI panel
analytics editor UI panel

Removed

separate analytics window

How to Test

Add steps to locally test these changes

Checklist

[ ] Tests written or updated for the changes.
[ ] Documentation is updated.
[ ] Changelog is updated.
[ ] QA Testing is updated.

QA Testing

Mention any useful test cases for this feature and add to QA Testing documentation.

Details

If more details are necessary to support the description with images and videos add them here.

To test open a fresh or empty unity project and import this
https://github.com/readyplayerme/rpm-unity-sdk-core.git#feature/quick-start-sample
The welcome window should popup (unless you have previously set don't ask again on the project)

After you click enable or disable analytics the window should show the QuickStart panel.

Then click quickstart to open (or import then open) the quick start scene

🟢 Great Job, refactoring of editor window looks really nice. Just one query, I see that IEditorWindowComponent is only inherited but not referenced anywhere, is this intentional?

Good point I guess it's kind of redundant. This interface was there already so I thought I would just use it as with the footer banner.
I will clean-up the unused stuff tomorrow.
Will make a PR tomorrow for the avatar loader (quick start sample)

Importing into fresh Unity 2021 project and getting the error message below:
See "Script Serialization" page in the Unity Manual for further details.
ReadyPlayerMe.Core.Editor.WelcomeWindow..cctor () (at Library/PackageCache/com.readyplayerme.core@36a4d56029/Editor/UI/EditorWindows/WelcomeWindow.cs:18)
Rethrow as TypeInitializationException: The type initializer for 'ReadyPlayerMe.Core.Editor.WelcomeWindow' threw an exception.```

You need to bring back the editor component interface. Interfaces are not useless code pieces they are contracts that other classes comply with. Banner and Footer are classes of similar structure and should follow a certain rule, and if we create other UI elements similar to those they should also do the same - which will be more apparent when we move forward with optional modules with their own UI structure. The only time this will be deprecated is when we move forward with Unity UI Toolkit.


Gump - paperdoll rework

Expected behavior
Paperdoll needs a rework.
What does not work:

wearing of items/clothes when release the item over gump (i think the refresh function is not implemented correctly)
when you have your mouse that holding an item and you are over the paperdoll, draw with alpha 0.5 the preview

done


long runtime and insufficient memory resources

After compiling and linking a module with over 300 cpp files, the pattern detection phase takes too long to run, ultimately resulting in insufficient memory resources and the process being forcefully terminated.

The generated Data.xml file is approximately 83.5 MB in size.
In addition, there are multiple deeply nested loops in the PEGraphX.py file. Could this be the reason for the performance bottleneck?

Hello @J1372628520,
Yes, unfortunately the deeply nested loops are a known performance bottleneck. Sadly, we could not yet find the time to resolve it due to other priorities. Nevertheless, as it is becoming a problem for as as well, we will tackle it rather sooner than later.
Something you might try in the mean time is restricting the entries in the created FileMapping.txt in the .discopop-folder to a smaller sub-set of files, i.e. those that you might expect to contain computationally expensive kernels. However, as the data for the pattern analysis might become incomplete, please treat the generated parallelization suggestions with caution.

Hello @J1372628520, Yes, unfortunately the deeply nested loops are a known performance bottleneck. Sadly, we could not yet find the time to resolve it due to other priorities. Nevertheless, as it is becoming a problem for as as well, we will tackle it rather sooner than later.
Something you might try in the mean time is restricting the set of considered source files to a smaller sub set. For this:

clear the contents of the .discopopdirectory
create the FileMapping.txt manually by execution the script build/scripts/dp-fmap in the projects root folder
restrict the entries in the created FileMapping.txt to source files that might contain computationally expensive kernels
move the modifed FileMapping.txt to the now empty .discopop folder
restart discopop.

Since a FileMapping.txt has been supplied, it will not be created dynamically and thus only the specified set of files will be considered during static and dynamic analysis. However, as the data for the pattern analysis might become incomplete, please treat the generated parallelization suggestions with extra caution.

Thank you for your suggestions. Unfortunately, our project cannot adopt the aforementioned approach. Additionally, we have identified an issue: when the code makes extensive use of the STL standard library, such as smart pointers, if we do not instrument the STL template class libraries, dependency loss occurs. We look forward to your response.


Doesn't work when opening a buffer

Hey,
Using the config from the README it doesn't work unless I type :Neomake flow as a command. I've provided a clip of me opening a buffer with eslint and flow enabled to demonstrate:
https://cl.ly/hJ9i
Any ideas?
Thanks

What is your neomake configuration?
I never consciously thought about it, but I usually open my files and enter :w first, after that my neomake runs flow ... I guess it is possible to configure neomake for an "on-file-open" event?

I have this:
if s:has_plugin('neomake')
  let g:neomake_list_height = 6

  if has('autocmd')
    autocmd! BufWritePost,BufRead * Neomake
    autocmd! QuitPre * let g:neomake_verbose = 0
  endif
endif

I also have the code snippet from the README.
Other makers that I use run on BufRead as you saw with the video. flow doesn't seem to run for me even when I write the buffer.

With further testing I have the same issue when using just the default Flow from Neomake. The problem must be there. Sorry!

Hmm, no worries, the problem has to be neomake since my program doesn't do any essential things but formatting the --json output...
I tried your config and in my case it works...
My NeoVim version: NVIM 0.1.4

I see. I'm running 0.1.5, wonder if that's related. Thanks


Missing map tiles

o	Steps to reproduce
	Select the Star in the upper right hand corner next to Newman 4.0.0
	Select List all Starred
o	Expected the two emails that I starred to be listed instead got 0 entries


chore: adjust css deep selector

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

[ ] Bugfix
[ ] Feature
[x] Refactoring

Context

[x] Fixes [@vue/compiler-sfc] ::v-deep usage as a combinator has been deprecated. Use :deep(<inner-selector>) instead. for nuxt3

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

[x] My DOT address: Payout

Copilot Summary

🤖 Generated by Copilot at 9fd8cf7
This pull request adds the eslint-plugin-vue-scoped-css dependency and its rules to the project to improve the linting and quality of scoped CSS in Vue components. It also updates the syntax and usage of v-deep in several files to follow the recommended argument syntax instead of the combinator syntax. The pnpm-lock.yaml file was updated accordingly.

🤖 Generated by Copilot at 9fd8cf7

Oh we're the coders of the v-deep syntax
We follow the rules and we don't relax
We use the argument and not the combinator
Or else the linter will give us an error

Hmm.. I would do this change on nuxt branch since the config isn't the same for vue3

I think as long as the features/specs still have backward compatibility with nuxt2, it's better to update to our nuxt2 also. If there is an eslint rule for that, it will help us to prevent incoming deprecated rules to nuxt2 PR. And, we don't need to resolve conflicts when updating the nuxt3 branch
I just realized I think I should create this PR again for our nuxt2: https://github.com/kodadot/nft-gallery/pull/7251
We create PR to nuxt3 if the features are not backward compatible with nuxt2. For example, NeoModal or NeoNotification, because that PR is not backward compatibility with our nuxt2

let's go 🚀


Change autofill subfeature names in prep for releasing

Task/Issue URL: https://app.asana.com/0/0/1204370666975082/f
Description
Renames the autofill subfeatures, as is required to prepare for the autofill release.
Steps to test this PR
Start with develop branch.

[x] Checkout develop
[x] Build using play variant, and do a clean install.
[x] Give the app a few seconds after launching to fetch the remote config.
[x] Verify that autofill is NOT visible (e.g., you cannot access the credential management screen)

Use new remote config
Change URL we use for the remote config (it's defined in PrivacyFeatureName.PRIVACY_REMOTE_CONFIG_URL)

[x] change it to https://jsonblob.com/api/1095045267291652096
[x] Make the above change to the URL in develop
[x] Build usingplay variant again, and install the app.
[x] Give the app a few seconds after launching to fetch the remote config.
[x] Verify that autofill is still NOT visible (e.g., you cannot access the credential management screen)

Checkout the branch from this PR

[x] Checkout the branch from this PR, and apply the URL change as above so it's getting the new remote config type
[x] Install using play variant again.
[x] Give the app a few seconds after launching to fetch the remote config.
[x] Verify that autofill IS visible (e.g., you can access the credential management screen - you might need to launch a new tab to see it picked up in the overflow if you were already viewing a tab)
[x] Verify that autofill is DISABLED by default ⚠

Current dependencies on/for this PR:

develop

PR #3053   👈

This comment was auto-generated by Graphite.

@marcosholgado, as discussed, pushed new commits to workaround the issue of autofill remote config block not being processed. re-review plz 🙏


new release

It would be nice to have a new release with the latest updates o the library!
Btw, long term fan!

I do think we have a few more soundness issues to fix before that (i.e. removing the panics crate-wide that we embarked on some time ago), but it's been a bit too long indeed.

It would be nice to do a release now and bug fix releases afterwards :)

Not if those bugfixes imply breaking API changes. It's been so long, we can wait a little longer instead of rush for a release out of nowhere.

Ooouch, I see, thanks for informing about that!


configure script trying to add link to library directory

When mkl_include symlink already exists, the configure script tries to write the new include symlink in the directory pointed to by mkl_include. This is easily fixed by adding the -n option to ln.
diff --git a/configure b/configure
index 23603a9..7605a2c 100755
--- a/configure
+++ b/configure
@@ -252,14 +252,14 @@ if [ "$TF_NEED_MKL" == "1" ]; then # TF_NEED_MKL
       ln -sf $MKL_INSTALL_PATH/${MKL_ML_LIB_PATH} third_party/mkl/
       ln -sf $MKL_INSTALL_PATH/${MKL_ML_OMP_LIB_PATH} third_party/mkl/
       ln -sf $MKL_INSTALL_PATH/include third_party/mkl/
-      ln -sf $MKL_INSTALL_PATH/include third_party/eigen3/mkl_include
+      ln -sfn $MKL_INSTALL_PATH/include third_party/eigen3/mkl_include
       loc=$(locate -e libdl.so.2 | sed -n 1p)
       ln -sf $loc third_party/mkl/libdl.so.2
   elif [ -e "$MKL_INSTALL_PATH/${MKL_RT_LIB_PATH}" ]; then
       ln -sf $MKL_INSTALL_PATH/${MKL_RT_LIB_PATH} third_party/mkl/
       ln -sf $MKL_INSTALL_PATH/${MKL_RT_OMP_LIB_PATH} third_party/mkl/
       ln -sf $MKL_INSTALL_PATH/include third_party/mkl/
-      ln -sf $MKL_INSTALL_PATH/include third_party/eigen3/mkl_include
+      ln -sfn $MKL_INSTALL_PATH/include third_party/eigen3/mkl_include
       loc=$(locate -e libdl.so.2 | sed -n 1p)
       ln -sf $loc third_party/mkl/libdl.so.2
   else

Appologies, this issue is for tensorflow-xsmm, not libxsmm