repo_name
stringlengths
4
136
issue_id
stringlengths
5
10
text
stringlengths
37
4.84M
ebellocchia/bip_utils
921329547
Title: how to add speed Question: username_0: Have you tested with: PYPY NIMBA Answers: username_0: speed was 1.5 times more with ecdsa[gmpy2] username_1: Hello, no I've never tried, but if you want to test them and post the results you're welcome of course. Regards, Emanuele username_0: OK. Rezuls send. username_0: Ubuntu 18.04 cpu: 1 x 2.8 ГГц memory: 1024 Мб ---------------------------- (only ecsda) bip-utils (1.11.1) bitarray (1.9.2) ecdsa (0.17.0) ------------------------------------- BIP44 1.8299272060394287 sec (round(2000)) BIP32 9.162187337875366 sec (round(2000)) BIP44 9.948112964630127 sec (round(10000)) BIP32 49.783501625061035 sec (round(10000)) ------------------------------------- (ecsda[gmpy]) bip-utils (1.11.1) bitarray (1.9.2) ecdsa (0.17.0) gmpy (1.17) --------------------------------- Traceback (most recent call last): File "test_bip_44.py", line 14, in <module> bip_obj_acc = bip_obj_mst.Purpose().Coin().Account(0) File "/usr/local/lib/python3.6/dist-packages/bip_utils/bip/bip44.py", line 135, in Purpose return self._PurposeGeneric(self) File "/usr/local/lib/python3.6/dist-packages/bip_utils/bip/bip44_base.py", line 364, in _PurposeGeneric return cls(bip_obj.m_bip32.ChildKey(cls._GetPurpose()), bip_obj.m_coin_type) File "/usr/local/lib/python3.6/dist-packages/bip_utils/bip/bip32.py", line 236, in ChildKey return self.__CkdPriv(index) if not self.m_is_public else self.__CkdPub(index) File "/usr/local/lib/python3.6/dist-packages/bip_utils/bip/bip32.py", line 421, in __CkdPriv secret = ConvUtils.IntegerToBytes(new_key_int) File "/usr/local/lib/python3.6/dist-packages/bip_utils/utils/conversion.py", line 57, in IntegerToBytes return data_int.to_bytes((data_int.bit_length() + 7) // 8, endianness) AttributeError: 'mpz' object has no attribute 'to_bytes' ------------------------------------- (ecsda[gmpy2]) bip-utils (1.11.1) bitarray (1.9.2) ecdsa (0.17.0) gmpy (1.17) gmpy2 (2.0.8) ------------------------------------- Traceback (most recent call last): File "test_bip_44.py", line 14, in <module> bip_obj_acc = bip_obj_mst.Purpose().Coin().Account(0) File "/usr/local/lib/python3.6/dist-packages/bip_utils/bip/bip44.py", line 135, in Purpose return self._PurposeGeneric(self) File "/usr/local/lib/python3.6/dist-packages/bip_utils/bip/bip44_base.py", line 364, in _PurposeGeneric return cls(bip_obj.m_bip32.ChildKey(cls._GetPurpose()), bip_obj.m_coin_type) File "/usr/local/lib/python3.6/dist-packages/bip_utils/bip/bip32.py", line 236, in ChildKey return self.__CkdPriv(index) if not self.m_is_public else self.__CkdPub(index) File "/usr/local/lib/python3.6/dist-packages/bip_utils/bip/bip32.py", line 421, in __CkdPriv secret = ConvUtils.IntegerToBytes(new_key_int) File "/usr/local/lib/python3.6/dist-packages/bip_utils/utils/conversion.py", line 57, in IntegerToBytes return data_int.to_bytes((data_int.bit_length() + 7) // 8, endianness) AttributeError: 'mpz' object has no attribute 'to_bytes' ------------------------------------------- username_0: (ecsda[gmpy2]) bip-utils (1.6.0) bitarray (1.9.2) ecdsa (0.17.0) gmpy (1.17) gmpy2 (2.1.0b5) BIP44 1.096778154373169 sec (round(2000)) BIP32 4.9470813274383545 sec (round(2000)) BIP44 4.855431795120239 sec (round(10000)) BIP32 24.186437606811523 sec (round(10000)) ------------------------------------------- (ecsda[gmpy]) bip-utils (1.6.0) bitarray (1.9.2) ecdsa (0.17.0) gmpy (1.17) BIP44 0.9768166542053223 sec (round(2000)) BIP32 4.581654071807861 sec (round(2000)) BIP44 4.645848274230957 sec (round(10000)) BIP32 22.78937530517578 sec (round(10000)) (ecsda) bip-utils (1.6.0) bitarray (1.9.2) ecdsa (0.17.0) BIP44 0.9107656478881836 sec (round(2000)) BIP32 4.2871153354644775 sec (round(2000)) BIP44 4.743731260299683 sec (round(10000)) BIP32 23.580677270889282 sec (round(10000)) username_1: Hi, I added a check for mpz class in *IntegerToBytes* function, it should run now with the last repo commit username_0: ok. thx. i check username_0: from bip_utils import Bip32, Bip44, Bip44Coins, Bip44Changes, Bip49, Bip32Utils ImportError: cannot import name 'Bip32' from 'bip_utils' (C:\Python39\lib\site-packages\bip_utils-2.0.0-py3.9.egg\bip_utils\__init__.py) username_0: Package Version ----------------- --------- base58 2.1.0 bip-utils 2.0.0 username_1: Hi, as you can read in the README, in version 2.0.0 there is *Bip32* anymore but 3 different classes: *Bip32Ed25519Slip *, *Bip32Nist256p1 and *Bip32Secp256k1 * username_0: ok. thx VERDICT: version 1.11.1 is twice as fast as version 2.0.0. without GMPY2 username_0: how to get an address from an uncompressed key ? username_1: The compressed/uncompressed public key is selected automatically by the address classes depending on the specific coin. For example: uncompr_key = biniacii.unhexlify(b"<KEY>") # For P2PKH, the compressed key is selected internally P2PKHAddr.EncodeKey(Secp256k1PublicKey(uncompr_key)) # For ETH, the uncompressed key is selected internally EthAddr.EncodeKey(Secp256k1PublicKey(uncompr_key)) username_0: how to do it in version 1.11.1? version 2.0.0 is very slow username_0: Traceback (most recent call last): File "c:\test\test\test_bip_44.py", line 51, in <module> addr2 = P2PKH.ToAddress(bip44_puc) File "C:\Python39\lib\site-packages\bip_utils\addr\P2PKH_addr.py", line 50, in ToAddress raise ValueError("Public compressed key is required for P2PKH") ValueError: Public compressed key is required for P2PKH username_1: In the old version you should do it manually by using the ecdsa library, you can find an example in test_eth_addr.py (always referring to 1.11.1) where it converts from compressed to uncompressed key (you just have to do the opposite). username_1: Can you share the code of your benchmark? When I finish to implement stuff, I can try to check if I can "speed it up". I mean, I'm more focused on the functionalities than the speed, because a wallet doesn't need to generate thousands of keys and addresses, but maybe I can do something for it. username_1: Hi, I think I identified the problem of the "slowness" with respect to the old version. I'll try to fix it in these days. Thanks username_0: Thanks for your work. I also want to ask, is it possible to work with the indication of languages? mnemonic_lang = ['english', 'chinese_simplified', 'french', 'spanish'] to choose only the right ones username_1: So, the problem was that private/public keys were created from bytes each time. This was not a problem for ed25519 but it was a disaster for ecdsa, since it is a pure python implementation. Now I'm directly passing around objects instead of bytes to avoid this and I noticed a huge speed improvement: - Unit tests from 4.5s to 2.1s - A benchmark that I wrote from 10s to 4.7s It's still a little bit slower than 1.11.1 (4s, it's understandable since the code is more complex) but it's not so slow like before. Different languages in BIP39 are already supported, I don't get your question. username_0: I don't understand how to select only a few languages username_1: You can select one language at time. You pass the language type to the constructor of the mnemonic generator and you can use it to generate as many mnemonic as you want: mnemonic = [] # Some mnemonics in italian mnemonic_gen_it = Bip39MnemonicGenerator(Bip39Languages.ITALIAN) for i in range(0, 20): mnemonic.append(mnemonic_gen_it.FromWordsNumber(Bip39WordsNum.WORDS_NUM_12)) # Some mnemonics in french mnemonic_gen_fr = Bip39MnemonicGenerator(Bip39Languages.FRENCH) for i in range(0, 20): mnemonic.append(mnemonic_gen_fr.FromWordsNumber(Bip39WordsNum.WORDS_NUM_12)) username_0: I understand this implementation. but it is not very comfortable. username_0: so you have to use a more flexible system https://github.com/trezor/python-mnemonic username_0: mnemonic_lang = ['english', 'chinese_simplified', 'chinese_traditional', 'french'] mnemo = Mnemonic(mem) mnemonic:str = mnemo.generate(words) seed_bytes:bytes = mnemo.to_seed(mnemonic, passphrase='') for mem in inf.mnemonic_lang: for num in range(20): inf.count_32 = inf.count_32 + 2 bip32_ctx = Bip32.FromSeedAndPath(seed_bytes, "m/0/" + str(num)) # m/0/0 bip32_h160_1 = CryptoUtils.Hash160(bip32_ctx.PublicKey().RawCompressed().ToBytes()).hex() bip32_h160_2 = CryptoUtils.Hash160(bip32_ctx.PublicKey().RawUncompressed().ToBytes()).hex() print('* address Compress - {}'.format(bip32_ctx.PublicKey().ToAddress())) username_0: from mnemonic import Mnemonic username_0: ![image](https://user-images.githubusercontent.com/74019756/124170752-3e146780-dac1-11eb-8f91-4827c1310fd6.png) username_1: I know that library but I don't like that code design, I always prefer to assign a single responsibility to a single class (so one class is the mnemonic generator, one class is the mnemonic validator, one class is the seed generator). That's how I like to code. Anyway, I don't understand what's the problem for what you want to do, you just have to iterate over the languages: for lang in Bip39Languages: mnemonic = Bip39MnemonicGenerator(lang).FromWordsNumber(Bip39WordsNum.WORDS_NUM_12) seed = Bip39SeedGenerator(mnemonic, lang).Generate() username_0: Sorry, I didn't mean to offend you. your code is great. what you do is impressive. As you can see in my code only 5 languages ​​are used using higher code i iterate over all languages username_0: My English very bad. Sorry username_0: for lang in Bip39Languages: mnemonic = Bip39MnemonicGenerator(lang).FromWordsNumber(Bip39WordsNum.WORDS_NUM_12) seed = Bip39SeedGenerator(mnemonic, lang).Generate() All Lang. Need 5 username_1: Don't worry, I wasn't offended at all. Ok I got the point, so you can create a list with the languages you need like this: mnemonic_lang = [Bip39Languages.ENGLISH, Bip39Languages.CHINESE_SIMPLIFIED, Bip39Languages.CHINESE_TRADITIONAL, Bip39Languages.FRENCH] for lang in mnemonic_lang: mnemonic = Bip39MnemonicGenerator(lang).FromWordsNumber(Bip39WordsNum.WORDS_NUM_12) seed = Bip39SeedGenerator(mnemonic, lang).Generate() username_0: this is what you need, thanks Status: Issue closed
gumbey/bluevoice
138512953
Title: Testing Question: username_0: @elgh0019 Goal: - [ ] Passes all verification. For Sunday: - [ ] Browser test - [ ] Code verification - [ ] Accessibility testing Make issues on all your findings Follow this check list by Thomas - https://learn-the-web.algonquindesign.ca/topics/launch-checklist-web-dev-4/ This goes for everyone as well @username_1 @grantjeffery @chan0345 @me Answers: username_1: the login on the footer needs fixing . it's above and off from the donate btn username_0: Done Status: Issue closed
silverstripe/silverstripe-versioned
328326312
Title: Items in GridFields with GridFieldConfig_RecordViewer have 2 status labels Question: username_0: If I have a GridField that uses `GridFieldConfig_RecordViewer`, the GridField has 2 `VersionedGridFieldState` components being added by default, resulting in items receiving 2 status labels i.e. ‘MyPage [Archived][Archived]’<issue_closed> Status: Issue closed
colinaaa/algorithm-course-notes
739880305
Title: 编译出错: ! LaTeX Error: File `pgfornament.sty' not found. Question: username_0: 安装 TexLive2020 时只选择了中午和英文,。 直接make的时候报错 ! LaTeX Error: File `pgfornament.sty' not found. TexLive Live Manager 上查看 只有 pgfornament.sty-han 解决方案: 在终端输入 tlmgr update --self 没问题后再执行如下命令 tlmgr install pgfornament 大功告成 Answers: username_0: 安装 TexLive2020 时只选择了中午和英文,。 直接make的时候报错 ! LaTeX Error: File `pgfornament.sty' not found. TexLive Live Manager 上查看 只有 pgfornament.sty-han 解决方案: 在终端输入 tlmgr update --self 没问题后再执行如下命令 tlmgr install pgfornament 大功告成 username_1: 原因是TeXLive 2020 没有收录这个包,见 https://github.com/ElegantLaTeX/ElegantBook/issues/117#issuecomment-680772539 最新的ElegantBook 去掉了pgfornament,所以只需要更新即可 `tlmgr update --all --self` 当然,更新完后也有了pgfornament包 ``` ❯ tlmgr info pgfornament package: pgfornament category: Package shortdesc: Drawing of Vectorian ornaments with PGF/TikZ longdesc: This package allows the drawing of Vectorian ornaments (196) with PGF/TikZ. The documentation presents the syntax and parameters of the macro "pgfornament". installed: Yes revision: 55326 sizes: doc: 2533k, run: 2565k relocatable: No cat-version: 1.2 cat-license: lppl1.3 cat-topics: graphics-plot decoration cat-related: pgf cat-contact-home: http://altermundus.fr collection: collection-pictures ```
mbkarle/AssassinSite
435944133
Title: Create Game button functionality Question: username_0: The create button looks pretty but it needs to do something! Write the click listener and post request to create a new game. Create a new modal to take in game input. Consider what properties of games need to be stored in the db.
anthonyk1225/anthonyk1225.github.io
724204549
Title: Consider adding your blog to diff.blog Question: username_0: Hello :wave: :wave: Over the past decade, we have seen the rise of centralized publishing platforms like Medium. A lot of self hosted blogs were migrated to these platforms in hope of a bigger audience. Sadly, most of these blogs lost their unique identity and became just another page on them. Our mission is to fight back against monopolies like Medium and promote independent self hosted blogs like yours. We think the best way to make this happen is by improving the visibility and reach of self hosted blogs. And that's why we built [diff.blog](https://diff.blog). diff.blog is an aggregator of developer blogs. It was started in 2019 to improve the visibility of self hosted blogs. Whenever you publish a new blog post on your blog, it would automatically appear in the diff.blog news feed. The title and summary of the post would be visible to the users of diff.blog and they can click on the post to read the full post on your blog. We also have a weekly email digest, which would email the most popular blog posts in our index to all diff.blog users. diff.blog index over 612 blogs at the moment. And our network is growing steadily every day. And we would like to invite you to include your blog in diff.blog as well. Adding your blog to diff.blog is super easy and takes less than a minute. * Go to https://diff.blog * Sign up with your GitHub account. * Go to blog settings https://diff.blog/account/settings/blog/ * Add the URL of your blog We are looking forward to have your blog in diff.blog. Let us know if you have any questions. Happy to answer.
amjadafanah/FX-SAAS-16
356745709
Title: FX-SAAS-16 : ApiV1SkillsTypeTypeGetQueryParamEmptyValuePage Question: username_0: Project : FX-SAAS-16 Job : DEV Env : DEV Region : FXLabs/US_WEST_1 Result : fail Status Code : 500 Headers : {} Endpoint : http://192.168.127.12//api/v1/skills/type/T4Dzq4td?page= Request : Response : I/O error on GET request for "http://192.168.127.12/api/v1/skills/type/T4Dzq4td": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out Logs : Assertion [@StatusCode != 404] passed, not expecting [404] and found [500]Assertion [@StatusCode != 500] failed, not expecting [500] but found [500]Assertion [@StatusCode != 401] passed, not expecting [401] and found [500]Assertion [@StatusCode != 200] passed, not expecting [200] and found [500] --- FX Bot --- Status: Issue closed Answers: username_0: Project : FX-SAAS-16 Job : DEV Env : DEV Region : FXLabs/US_WEST_1 Result : fail Status Code : 500 Headers : {} Endpoint : http://192.168.127.12//api/v1/skills/type/T4Dzq4td?page= Request : Response : I/O error on GET request for "http://13.56.210.25/api/v1/skills/type/T4Dzq4td": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out Logs : Assertion [@StatusCode != 404] passed, not expecting [404] and found [500]Assertion [@StatusCode != 500] failed, not expecting [500] but found [500]Assertion [@StatusCode != 401] passed, not expecting [401] and found [500]Assertion [@StatusCode != 200] passed, not expecting [200] and found [500] --- FX Bot --- username_0: Project : FX-SAAS-16 Job : DEV Env : DEV Region : FXLabs/US_WEST_1 Result : fail Status Code : 500 Headers : {} Endpoint : http://192.168.127.12//api/v1/skills/type/T4Dzq4td?page= Request : Response : I/O error on GET request for "http://192.168.127.12/api/v1/skills/type/T4Dzq4td": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out Logs : Assertion [@StatusCode != 404] passed, not expecting [404] and found [500]Assertion [@StatusCode != 500] failed, not expecting [500] but found [500]Assertion [@StatusCode != 401] passed, not expecting [401] and found [500]Assertion [@StatusCode != 200] passed, not expecting [200] and found [500] --- FX Bot --- username_0: Project : FX-SAAS-16 Job : DEV Env : DEV Region : FXLabs/US_WEST_1 Result : fail Status Code : 500 Headers : {} Endpoint : http://192.168.127.12//api/v1/skills/type/WpdF6Gx6?page= Request : Response : I/O error on GET request for "http://13.56.210.25/api/v1/skills/type/WpdF6Gx6": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out Logs : Assertion [@StatusCode != 404] passed, not expecting [404] and found [500]Assertion [@StatusCode != 500] failed, not expecting [500] but found [500]Assertion [@StatusCode != 401] passed, not expecting [401] and found [500]Assertion [@StatusCode != 200] passed, not expecting [200] and found [500] --- FX Bot --- username_0: Project : FX-SAAS-16 Job : DEV Env : DEV Region : FXLabs/US_WEST_1 Result : pass Status Code : 400 Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Content-Type=[application/json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Mon, 10 Sep 2018 10:27:38 GMT]} Endpoint : http://13.56.210.25//api/v1/skills/type/SAepMGjm?page= Request : Response : null Logs : Assertion [@StatusCode != 404] passed, not expecting [404] and found [400]Assertion [@StatusCode != 500] passed, not expecting [500] and found [400]Assertion [@StatusCode != 401] passed, not expecting [401] and found [400]Assertion [@StatusCode != 200] passed, not expecting [200] and found [400] --- FX Bot --- Status: Issue closed
kubernetes-sigs/controller-tools
473141145
Title: How do I add labels for the generated CRD yaml? Question: username_0: We like to add label to our generated CRD yamls. This gives users a quick way to check the installation process worked or not. The main issue I see is that there is parser for `MapType`. Is this something that can be supported? Answers: username_1: @username_2 @username_3 Is it possible to do this in the `v0.2.0+` releases of `controller-gen`? Plus what would be the marker path for setting object metadata if that's possible? It's not immediately clear from the [marker pkg godocs](https://godoc.org/sigs.k8s.io/controller-tools/pkg/markers). username_0: We use `kubectl` to apply labels to generated crd yamls. https://github.com/stashed/stash/blob/5fb54194c1ff5faf7d7d15176a4107c127319395/Makefile#L227 This workaround is working for us. username_2: Adding a label is not specific to CRD, it can be considered as a customization of an object. One way to add the label is using kustomize. Use either the commonLabel or a patch to add the label. @username_3 WDYT? username_1: @username_2 Fair point. It's not specific to the CRD's API so this probably doesn't need to come from `_types.go`. A kustomize patch would be better, or an additional step after running the crd generator like @username_0's work around. username_3: yeah, either a kustomize patch, kubectl, etc is the right approach. Closing. Status: Issue closed
klaeufer/meetup-client-scala
278797493
Title: web service should handle unauthorized requests more effectively Question: username_0: should behave similarly to Meetup API itself Answers: username_0: Also look under errors near the bottom of https://www.meetup.com/meetup_api/docs/ username_0: In addition, try using refresh token properly, as in https://github.com/shinework/react-oauth2-example, see also https://www.digitalocean.com/community/tutorials/an-introduction-to-oauth-2
Venafi/vcert
802442438
Title: Error 20216 message has application and template names swapped Question: username_0: <!-- Please reserve GitHub issues for bug reports and feature requests. If you believe you have identified a security issue, please notify the Venafi team by sending an email to <EMAIL> rather than by creating a GitHub issue for it. Venafi takes security very seriously. --> **PROBLEM SUMMARY** Error 20216, when application is found, but issuing template isn't, has the names reversed **STEPS TO REPRODUCE** `vcert enroll -z myapp\mytemplate` where myapp exists and mytemplate does not **EXPECTED RESULTS** Error Code: 20216 Error: No certificate issuing template with alias **mytemplate** has been assigned to application with name **myapp** **ACTUAL RESULTS** Error Code: 20216 Error: No certificate issuing template with alias **myapp** has been assigned to application with name **mytemplate** **ENVIRONMENT DETAILS** vcert 4.13 pointing to outagepredict **COMMENTS/WORKAROUNDS** <!-- anything else you think might be helpful for us to know about the problem --> Answers: username_1: Thank you @username_0 This is actually a :bug: on the Venafi Cloud side so I'll need to shepherd it through internally but we'll get it resolved. Status: Issue closed username_1: @username_0 the fix for this was deployed to Venafi Cloud yesterday.
lortabac/versioning
342968579
Title: How should I type a field which was removed and added back? Question: username_0: That does sound fair. Thank you! @username_1 @username_2 Status: Issue closed Answers: username_1: Save you some trouble and use a different field name. I'm not talking about a potential library limitation here but rather more about an event-sourcing standpoint (if you happen to use it in such fashion). This advice also stands if you happen to use that library in a different context. Each versioned data **must** be different from the other, otherwise, there is no point versioning them. username_2: I think it should be easy to implement a type family that takes two types and returns the first, or the second if the first is NA. I might decide to include it in the library at some point (of course contributions are welcome). That said, username_1's suggestion seems reasonable. username_0: That does sound fair. Thank you! @username_1 @username_2 Status: Issue closed
babel/babel
669449970
Title: babel can not transform debug library to es5 Question: username_0: I introduced the debug library into my code. After using webpack, I found that the output file still contains syntax such as let const. webpack.config.js: ```js //webpack.config.js 'use strict'; const path = require('path'); const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin'); const TerserPlugin = require('terser-webpack-plugin'); const config = require('./package.json'); module.exports = { entry: { [config.name]: './src/component/index.js', [config.name + ".min"]: './src/component/index.js', }, output: { path: path.join(__dirname, 'dist'), filename: '[name].js', library: config.name, libraryTarget: 'umd', libraryExport: 'default' }, mode: 'none', externals: { 'antd': 'Components', 'react': 'React', 'react-dom': 'ReactDom', 'moment': 'Moment', '@antv/g2': 'G2', 'react-router': 'ReactRouter', 'd3': 'd3', 'react-monaco-editor': 'ReactMonacoEditor' }, module: { rules: [ { test: /.js$/, use: 'babel-loader' }, { test: /.css$/, use: [ 'style-loader', 'css-loader' ] }, { test: /.less$/, use: [ 'style-loader', 'css-loader', 'less-loader' ] }, { test: /.(png|jpg|gif|jpeg)$/, use: [ [Truncated] "optimize-css-assets-webpack-plugin": "^5.0.1", "postcss-loader": "^3.0.0", "postcss-preset-env": "^6.6.0", "style-loader": "^0.23.1", "terser-webpack-plugin": "^3.0.2", "url-loader": "^1.1.2", "webpack": "^4.31.0", "webpack-cli": "^3.3.2", "webpack-dev-server": "^3.3.1" }, "dependencies": { "antd": "^4.2.5", "react": "^16.13.1", "react-dom": "^16.13.1", "react-router-dom": "^5.2.0" } } ``` output file screenshot: ![image](https://user-images.githubusercontent.com/12910535/89005501-355a6500-d337-11ea-85d6-68aea113587c.png) Status: Issue closed Answers: username_0: By default babel does not transpile the third party codes in node_modules. You may add the ignore config to babel.config.js if you would like to transpile debug module: `ignore: /node_modules\/(?!debug)/`
kubernetes-sigs/cluster-api-provider-aws
604196061
Title: Accept provided VPC infrastructure with only a private subnet Question: username_0: /kind feature As a user, I may want to provide CAPA with a VPC that has no associated public subnets or internet gateways. It is unclear whether CAPA would support this today, even with an `internal` load balancing scheme for the apiserver. **Anything else you would like to add:** The current subnet code may issue an error when reconciling an unmanaged VPC with no public subnets: https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/99349b8abeb34123b2e13d025946a2e66d6d6b40/pkg/cloud/services/ec2/subnets.go#L77-L87 I can't find anywhere else we mandate public subnets outside of points-of-use, and it looks like we may not even hit that check if the VPC has more than one subnet in it. More testing would be required to validate CAPA's behavior in this scenario. Answers: username_1: If I understood this correctly, the fix should be to allow to have unmanaged scenarios to have no public subnets at all. We should basically ignore and not return an error on line 79, unless I missed something? username_2: That sounds correct. username_1: /milestone v0.5.x username_3: The bastion also expects public/private subnets to be available and we may see scenarios of VPC pairing in disconnected environments and it gets more tricky in this case. username_0: I don't believe we spin up a bastion in an unmanaged VPC – the idea is that telling CAPA which VPC to use means you're comfortable with the tradeoffs of setting up and managing a VPC yourself. username_4: I have tested this by removing the public subnet check in #1721 and specifying subnets that are private (i.e. they don't have a route to a IGW). It breaks on ELB creation as the default is to have an internet facing elb: https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/master/pkg/cloud/services/elb/loadbalancer.go#L57 We can specify the internal scheme by using: https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/master/api/v1alpha3/awscluster_types.go#L98 And also we could update the default scheme: https://github.com/kubernetes-sigs/cluster-api-provider-aws/blob/master/pkg/cloud/scope/cluster.go#L178 so that it checks for the number of public subnets. Perhaps something like this: ``` func (s *ClusterScope) ControlPlaneLoadBalancerScheme() infrav1.ClassicELBScheme { if s.ControlPlaneLoadBalancer() != nil && s.ControlPlaneLoadBalancer().Scheme != nil { return *s.ControlPlaneLoadBalancer().Scheme } if len(s.Subnets().FilterPublic()) > 0 { return infrav1.ClassicELBSchemeInternetFacing } return infrav1.ClassicELBSchemeInternal } ``` By making these changes it appears to have created the cluster ok. But on deletion there where a few issues.....which i think would be fairly easy to fix username_0: IMO it's perfectly fine to throw an Event saying "couldn't find public subnets for ELB" if that's what was asked for – even if it was asked implicitly by way of a default. We could consider changing the error message to say "here's the load balancer scheme field you might want to look at"? Changing the default based on the availability of public subnets works well too, though it provides slightly worse feedback in the case where the humans _intended_ to supply public subnets but, for whatever reason, didn't. username_5: @username_4 let me know if I can help with the work you started to address this username_6: @username_0 I just created a PR for spin up a bastion in an unmanaged VPC if it's enabled in the spec, regardless of managed or unmanaged VPC. Check Issue #1748
reactjs/react-transition-group
393660338
Title: ComponentDidMount will perform two times! Question: username_0: **Do you want to request a *feature* or report a *bug*?** bug **What is the current behavior?** When i use TransitionGroup and CSSTransition, all of components's componentDidMount will be executed twice. ![issue_bug_2](https://user-images.githubusercontent.com/33921398/50372945-7abe9880-0612-11e9-9ada-3471cd9fc1bb.jpg) **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via [CodeSandbox](https://codesandbox.io/) or similar (Template: https://codesandbox.io/s/lvnpplww9).** **What is the expected behavior?** <!-- Please be very specific here. Transitions can be complicated, so more words can really help us understand your desired result. --> i just want it to perform once, because it is going to have a big impact on my application. **Which versions, and which browser / OS are affected by this issue? Did this work in previous versions?**
facebook/flow
304640171
Title: Feature request: refining multiple disjoint unions Question: username_0: Hello Flow team! [[Flow try link](https://flow.org/try/#0PTAEAEDMBsHsHcBQiAuBPADgU1AQVALygDeiooKAhgOYBcoA5JQwDSIC+A3KpjgEKESZCjXoMARqw7d02UADFYsQfgA+oPt0QBjWADsAzilDjKAJ0EAKAB71FsFqDR2lASkIA+IeQCWkUDYAdFTUhARETAzupOTkZlgoAK5meozWoD4GoMzc5OygWNAGOH4BaME0YRHM0cJxCcmpDGgZ6TnC+YXFGf5BIVWMkqAAZMNOFaHhEZK1saDxSSmDsCgAFtnxJgy5oJ1FODGxNvRYALYY6K475JbOBeeXO+wcQA)] ```jsx // @flow type A = { tag: 'a', }; type B = { tag: 'b', }; type Foo = A | B; const bar = (x: Foo, y: Foo) => { if (x.tag === 'a') { return 'x is a'; } else if (y.tag === 'a') { return 'y ix a'; } else if (x.tag === 'b' && y.tag === 'b') { return 'both are b'; } else { (x: empty); (y: empty); } } ``` All cases are covered by the first three branches in the if/else, so the `empty` assertions in the last branch should be correct. As an example, Flow correctly identifies this when we assert that `x` and `y` are both `B` ([Flow try link](https://flow.org/try/#0PTAEAEDMBsHsHcBQiAuBPADgU1AQVALygDeiooKAhgOYBcoA5JQwDSIC+A3KpjgEKESZCjXoMARqw7d02UADFYsQfgA+oPt0QBjWAD<KEY>)). Answers: username_1: Update flow type link please username_0: @username_1 how do you mean? The links look okay to me. username_1: @username_0 Sorry, misread :) username_2: [This one works as you expect](https://flow.org/try/#0C4TwDgpgBAglC8UDeAoKVgEMDmAuKA5JgVAD6EBGBANCgL4DcKokUAQgsmhjvg<KEY>Zz<KEY>Ow<KEY>)
yassirh/digitalocean-swimmer
149320421
Title: First Connection with JuiceSSH Question: username_0: Is there a DO-swimmer FAQ? I can connect with DO and when I try to initiate SSH (with juiceSSH, PRO license, with id/pwd already installed for my DO droplet), it just says "Connecting..." Answers: username_1: Hello @username_0 No there is no FAQ but it is certainly something that i need to address. as for why it is not connecting do you have a specific error? or can you add a screenshot ? username_0: Links: 1. https://github.com/username_0 2. https://github.com/username_1/digitalocean-swimmer/issues/61#issuecomment-212452619
twistedfall/opencv-rust
607213733
Title: undefined reference cv::findChessboardCornersSB Question: username_0: When reporting an issue please state: 1. Debian GNU/Linux bullseye/sid x86_64 2. install by apt 3. version: 4.2.0 4. Attach the full output of the following command from your project directory: ```shell script RUST_BACKTRACE=full cargo build -vv ``` = note: /bin/ld: /tmp/test_opencv/target/debug/deps/libopencv-dcd3732e15cb71a5.rlib(calib3d.o): in function `cv::findChessboardCornersSB(cv::_InputArray const&, cv::Size_<int>, cv::_OutputArray const&, int)': $HOME/.cargo/registry/src/github.com-1ecc6299db9ec823/opencv-0.34.0/headers/4/opencv2/calib3d.hpp:1505: undefined reference to `cv::findChessboardCornersSB(cv::_InputArray const&, cv::Size_<int>, cv::_OutputArray const&, int, cv::_OutputArray const&)' [test.zip](https://github.com/username_1/opencv-rust/files/4537384/test.zip) Answers: username_1: That happens because of some changes in the OpenCV API between 4.2.0 and 4.3.0 and default crate binding have been regenerated for 4.3.0. So you need to enable `buildtime-bindgen` feature. username_0: Thank you very much Status: Issue closed
jsdelivr/jsdelivr
699386791
Title: Adding "x-xss-protection" header Question: username_0: **Is your feature request related to a problem? Please describe.** No. **Describe the solution you'd like** Adding a `x-xss-protection` security header to `cdn.jsdelivr.net`. Not enable the XSS protection, but disable it: ``` x-xss-protection: 0 ``` **Describe alternatives you've considered** Not applicable. **Additional context** Google has enabled `x-xss-protection: 0` for following domain: - fonts.googleapis.com - fonts.gstatic.com - s.ytimg.com - i.ytimg.com - www.youtube.com - www.blogger.com - 1.bp.blogspot.com - lh3.googleusercontent.com - www.facebook.com - And so on. I don't know why Google is disabling XSS protection for those static cdn domain (even `www.youtube.com`). And what I found is a question at StackExchange: https://security.stackexchange.com/questions/104508/what-is-the-benefit-of-the-x-xss-protection-0-header-in-a-production-environmen I just assume by disabling the "useless" XSS protection there will be performance benefits. Answers: username_1: I don't think this is applicable to us because we don't serve HTML content. The header is for the main HTML document, not the other resources it loads. username_0: So do those Google static CDN domain like gstatic.com or ytimg.com. They do add those headers. username_1: Those domains serve a lot of content, some of it may be HTML, or they just changed the headers globally for everything regardless of the content. I'm not sure about their motivation but considering there are many other services that set the value to `1` (including GitHub), that the header is not standardized and actually deprecated by all browsers that originally supported it, and that it has no effect on content other than HTML, I don't think we should add it. username_2: Since nobody else has requested it and I don't see what exact value this provides I think its safe to close. Status: Issue closed
atheiman/better-chef-rundeck
173495652
Title: paginate through all results from chef query Question: username_0: ``` chef_nodes = Chef::Search::Query.new.search(:node, query, filter_result: filter_result)[0] ``` should be ``` chef_nodes = [] Chef::Search::Query.new.search(:node, query, filter_result: filter_result) do |n| chef_nodes << n end ```<issue_closed> Status: Issue closed
bricelam/EFCore.SqliteEx
317000651
Title: Reverse Engineering Question: username_0: There are a handful of enhancements that would make reverse engineering a model from a SQLite database better: - aspnet/EntityFrameworkCore#8800 - aspnet/EntityFrameworkCore#8802 - aspnet/EntityFrameworkCore#8824 Answers: username_0: Check constraints username_0: * https://github.com/aspnet/EntityFrameworkCore/issues/13765 * https://github.com/aspnet/EntityFrameworkCore/issues/13766 Status: Issue closed
JuliaGeometry/VoronoiDelaunay.jl
363073145
Title: adopting to the new iterator interface Question: username_0: Upon testing `VoronoiDelaunay.jl` in Julia v1.0, I get a warning that `start`, `next` and `done` cannot be imported from Base. That is correct, since the iterator interface has changed from Julia v0.6 to Julia v0.7 (strangely enough, this has not been deprecated in Julia v0.7; there are no warnings there!). The old iterator interface is abandoned now in Julia v1.0, so I'm confused tests pass anyway, maybe because this iteration is not tested after all? Anyway, I'll leave a link to some explanations, in case anyone feels comfortable of doing it quickly: [Writing Iterators in Julia 0.7](https://julialang.org/blog/2018/07/iterators-in-julia-0.7).<issue_closed> Status: Issue closed
kubernetes/klog
1067361812
Title: logcheck: does not handle slice... as parameter Question: username_0: /kind bug **What steps did you take and what happened:** I wrote test code which does ``` klog.InfoS(msg, kvs...) ``` I.e. the parameters are variables and the key/value pairs are not known at compile time. The tool complained: ``` Additional arguments to InfoS should always be Key Value pairs. Please check if there is any key or value missing. ``` **What did you expect to happen:** That should not trigger an error /sig instrumentation /wg structured-logging Answers: username_0: This blocks https://github.com/kubernetes/kubernetes/pull/106594 username_0: The workaround is okay. However, let's keep this issue open and enhance the error message. username_1: Looks like we need to improve the` logcheck` script. https://github.com/kubernetes/klog/blob/9ad246211af1ed84621ee94a26fcce0038b69cd1/hack/tools/logcheck/main.go#L146-L149 username_0: /assign
ionic-team/ionic-framework
1113012233
Title: bug: probable bug in #24315 Question: username_0: ### Prerequisites - [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue). - [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct). - [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success. ### Ionic Framework Version - [ ] v4.x - [ ] v5.x - [X] v6.x ### Current Behavior The fix in #24315 improves the router behavior by comparing the parameters on top of the ID which makes matchesIDs more robust. I think that a few things could be improved in this CL: https://github.com/ionic-team/ionic-framework/blob/main/core/src/components/router/utils/matching.ts#L72-L80 The code assume that all segments of the chain ((`routeChain.path[j]`)) are parameter segment of the form (`/:param`). It doesn't account for fixed segments. https://github.com/ionic-team/ionic-framework/blob/main/core/src/components/router/utils/matching.ts#L72-L80 The code also assumes that all `routeIdParams` are populated from the parameter segments (i.e. `:params`). It misses the case where the parameters are populated from the `componentProps` of the `<ion-route>`. If we agree on the those 2 points, I'd like to propose a PR. @username_1, what do you think ? ### Expected Behavior Take into account fixed segments and componentProps. ### Steps to Reproduce I modified the tests locally to make sure those 2 cases are not taken into account. ### Code Reproduction URL _No response_ ### Ionic Info _No response_ ### Additional Information _No response_ Answers: username_1: @username_0 thanks for reporting this issue. Can we first establish a reproduction app that identifies the bug? A simple app with the router implementation that uses a mix of fixed path values and parameters. Alternatively if you want to provide the modified test spec that demonstrates the score is incorrectly determined when comparing the routes, that would suffice. I believe the `componentProps` on `ion-route` are indifferent of the browser's location history and is simply a way to assign parameters to the resolved view. The logic being reviewed is used to determine the correct view to resolve when evaluating a location history (typically for back navigation or direct navigation). Can you provide a use case to help me understand when `componentProps` should be taken into consideration when determining the view to resolve? username_0: I think this is only partially true. `matchesIDs()` we be called as a result of `Router.navChanged()` being called. `Router.navChanged()` is called when you change the stack in a `<ion-nav>` or select a tab in a `<ion-tabs>`. So the source is actually not a location history event in this case. What happens is we first update the DOM and `navChanged` will sync the route from the state of the DOM (what I call "backward" in my doc if you have seen it). A simple use case would be: ``` <ion-route url="/cat" component="animal" .componentProps={{type: cat}}></ion-route> <ion-route url="/dog" component="animal" .componentProps={{type: dog}}></ion-route> ``` Here we use the same component to display either a cat or a dog - the way we discriminate is by passing a component prop. You can see in [routerIDstoChain](https://github.com/ionic-team/ionic-framework/blob/034d04920952b081d643e69bdbc66cf24e73a7f4/core/src/components/router/utils/matching.ts#L156) that we merge the router parameters with the segment parameters before calling setRouteId in [writeNavState](https://github.com/ionic-team/ionic-framework/blob/034d04920952b081d643e69bdbc66cf24e73a7f4/core/src/components/router/utils/dom.ts#L25). So when reading back the Ids in [readNavState](https://github.com/ionic-team/ionic-framework/blob/034d04920952b081d643e69bdbc66cf24e73a7f4/core/src/components/router/utils/dom.ts#L57-L61) we will retrieve the merged parameters. Does this make sense ? username_1: That makes sense to me, thanks for the added detail 👍 it's helpful when you want to have explicit routes with a shared component, but wouldn't want to have an open parameter like `url="/:type"`. username_0: I think matchesIDs is an internal function, not a public member ? _(And all those comments will go away with my PR fixing the issue)_ username_2: I know we've been talking about this offline, but wanted to post my thoughts for visibility and further discussion. While I agree that having `ion-tabs` and `ion-nav` notify `ion-router` is incorrect, I do not think that having the router account for component properties is the correct resolution. The way I think of routing is that routing is the act of mapping a path to a component. This means that the router looks at the path (I.e. `/page/abc`) in order to determine the component (I.e. `<my-component>`). Given that properties are set on the component, I do not think it makes sense to have the router also look at the component config too. In this case, navigating to `/page/a` and then `/page/a` again after some time should map to the same instance of a component because the global state (the URL) will be exactly the same. Developers should use route parameters if they want to get a new instance of the same component. Does this address your concern? username_0: No :) It didn't and I hope my explanation helped you understand why it is needed. I am available to answer any of your questions. username_2: I thought this is something we already support? The router will look at the parameters in the URL to determine which component to map to. My understanding of this issue's request is that you want the router to also look at the component properties (I.e. the stuff in `componentProps`) which I do not think is the correct behavior. username_0: You could do `/users/:state` and this is supported but if you do that then you also have to create a hook to make sure that state is in a list of supported value. Overkill in those cases which is why I propose to also take route parameters into consideration. What problem do you have with taking route parameters (/ `componentProps`) into consideration ? username_2: I think this is the part that I am confused on. Route parameters are not the same as `componentProps`. Route parameters are things like `:id` in the route definition. For example: ```html <ion-route url="animals/:id" component="animal"></ion-route> ``` In the example above, the route parameter is `:id`. `componentProps` is an object that is passed to the rendered component and has nothing to do with routing. Consider the following route config: ```html <ion-route url="animals/cat" component="animal" componentProps={{ type: 'cat' }}></ion-route> ``` The above example has no parameters because the url is fixed to `animals/cat`. In other words, that URL cannot vary. The rendered component does receive component properties, but those properties have no tie to the route. I agree that we should account for route parameters (I.e. `:id`) when path matching, but I do not think we should account for `componentProps`. username_0: We should again for the reasons/examples I have mentioned before. You can check the test on my PR too. username_2: Thanks for the issue. After discussing with the team we have decided to close this out because the associated PR was rejected. Please see https://github.com/ionic-team/ionic-framework/pull/24645 for more information. We are currently tracking router infrastructure changes internally, and we will communicate these changes with the community as we have them. Thanks! Status: Issue closed
pantera-digital/yii2-crm-contacts
295166610
Title: Некорректный Exception + grammar error Question: username_0: ![image](https://user-images.githubusercontent.com/642519/35922852-07bb53e6-0c62-11e8-9e1e-27fe690460de.png) Answers: username_0: Codeception\Exception\ConfigurationException - подставил PhpStorm, который отучивает думать.. Status: Issue closed
junegunn/fzf.vim
771575508
Title: Preview Window does not have syntax highlighting Question: username_0: <!-- ISSUES NOT FOLLOWING THIS TEMPLATE WILL BE CLOSED AND DELETED --> <!-- Check all that apply [x] --> - [x] I have fzf 0.23.0 or above - [x] I have read through https://github.com/junegunn/fzf.vim/blob/master/README.md - [x] I have read through https://github.com/junegunn/fzf/blob/master/README-VIM.md - [x] I have read through the manual page of fzf (`man fzf`) - [x] I have searched through the existing issues <!-- Before submitting ================= - Make sure that you have the latest version of fzf and fzf.vim - Check if your problem is reproducible with a minimal configuration Start Vim with a minimal configuration ====================================== vim -Nu <(curl https://gist.githubusercontent.com/junegunn/6936bf79fedd3a079aeb1dd2f3c81ef5/raw) --> I can't seem to get syntax highlighting in my Preview window. |System|Details| |:---: |:---: | |Operating System |Windows10| |Nvim|v0.4.4| |fzf|v0.23.0| |fzf.vim|:PlugUpdate says Already up to date.| |ripgrep|v12.1.1.20200727| |bat|v0.17.1| After testing thoroughly, I can see that vim/fzf/preview.sh is not able to pick up `bat`. However, `bat` is installed, and I can run `bat <file_name>` where I get syntax highlighted output. - bat output with syntax highlight ![bat output with syntax highlight](https://user-images.githubusercontent.com/16764027/102712755-73a5f000-42e9-11eb-8f12-6375e6b7785e.png) - rg preview without syntax highlight ![rg preview without syntax highlight](https://user-images.githubusercontent.com/16764027/102712743-5e30c600-42e9-11eb-8022-d8598776e359.png) - fzf preview without syntax highlight ![fzf preview without syntax highlight](https://user-images.githubusercontent.com/16764027/102712724-2f1a5480-42e9-11eb-9046-6534cc97311b.png) ### Preview.sh I made changes according to [this comment](https://github.com/junegunn/fzf.vim/issues/1104#issuecomment-683937021) and [this PR](https://github.com/junegunn/fzf.vim/pull/1189) to get it working in the first place. ``` #!/usr/bin/env bash REVERSE="\x1b[7m" RESET="\x1b[m" if [ -z "$1" ]; then echo "usage: $0 FILENAME[:LINENO][:IGNORED]" exit 1 fi IFS=':' read -r -a INPUT <<< "$1" FILE=${INPUT[0]} CENTER=${INPUT[1]} [Truncated] " Ripgrep advanced function! RipgrepFzf(query, fullscreen) let command_fmt = 'rg --column --line-number --no-heading --color=always --smart-case %s || true' let initial_command = printf(command_fmt, shellescape(a:query)) let reload_command = printf(command_fmt, '{q}') let spec = {'options': ['--phony', '--query', a:query, '--bind', 'change:reload:'.reload_command]} call fzf#vim#grep(initial_command, 1, fzf#vim#with_preview(spec), a:fullscreen) endfunction command! -nargs=* -bang RG call RipgrepFzf(<q-args>, <bang>0) " Git grep command! -bang -nargs=* GGrep \ call fzf#vim#grep( \ 'git grep --line-number '.shellescape(<q-args>), 0, \ fzf#vim#with_preview({'dir': systemlist('git rev-parse --show-toplevel')[0]}), <bang>0) ``` Any help would be appreciated! Answers: username_0: Closing the issue. The problem was I needed to install `bat` in my bash console (WSL) and not just windows. The solution & journey is here: https://github.com/junegunn/fzf.vim/pull/1189#issuecomment-748650978 Status: Issue closed username_1: yes. if `bat` isnt installed it wont work. but how do i specify to `bat` that i want the fzf preview to match my neovim colorscheme?
DronMDF/zond
393579021
Title: ZoldProtocolEntry.cpp:23: Set server version Question: username_0: The puzzle `111-3bca7abf` from #111 has to be resolved: https://github.com/DronMDF/zond/blob/8e3c774a0a8dc7492f057a3136c6870e57428bfa/http/ZoldProtocolEntry.cpp#L23-L23 The puzzle was created by <NAME> on 21-Dec-18. If you have any technical questions, don't ask me, submit new tickets instead. The task will be \"done\" when the problem is fixed and the text of the puzzle is _removed_ from the source code. Here is more about [PDD](http://www.yegor256.com/2009/03/04/pdd.html) and [about me](http://www.yegor256.com/2017/04/05/pdd-in-action.html). Status: Issue closed Answers: username_0: The puzzle `111-3bca7abf` has disappeared from the source code, that's why I closed this issue. username_0: @username_0 3 puzzles [#145](https://github.com/DronMDF/zond/issues/145), [#146](https://github.com/DronMDF/zond/issues/146), [#147](https://github.com/DronMDF/zond/issues/147) are still not solved.
jupyterhub/kubespawner
474492475
Title: Add configuration on runtime Question: username_0: For one of the requirement , I came across this package and trying to install. Just wanted to know whether we can able set **configuration** of an pod on the fly. for an example when I spawn on image, it should ask for **RAM** or storage etc. Is there any possible to create one pod with given resources from user and spin up that pod. thank you in advance for any and all feedback Answers: username_1: Does the `profile_list` stuff address this? https://github.com/jupyterhub/kubespawner/blob/master/kubespawner/spawner.py#L1032-L1098 I believe that hooks into the spawner 'options form': https://jupyterhub.readthedocs.io/en/latest/reference/spawners.html#spawner-options-form Status: Issue closed username_0: Thanks:)
atk4/data
166705500
Title: hasOne - pass options to field Question: username_0: ``` $this->hasOne('company_id', ['CompanyType', 'default'=>1]); ``` This does not properly pass default to the field. Worakround: ``` $this->hasOne('company_id', 'CompanyType'); $this->getElement('company_id')->default=1; ``` Status: Issue closed Answers: username_0: Addressed in #78
docsifyjs/docsify
531001968
Title: Incorrect position of text between bracket (markdown) Question: username_0: <!-- Please don't delete this template or we'll close your issue --> <!-- Please use English language --> <!-- Before creating an issue please make sure you are using the latest version of Docsify. --> <!-- Please ask questions on StackOverflow: https://stackoverflow.com/questions/ask?tags=docsify --> ## Bug Report #### Steps to reproduce Case 1: 1. https://docsify.js.org/#/more-pages?id=sidebar 2. Look at the `Create the _sidebar.md:` part 3. The part between the bracket is suddenly at the top and on top of each other (See screenshot) Same behavior is happening there: - https://docsify.js.org/#/custom-navbar?id=html - https://docsify.js.org/#/custom-navbar?id=nesting - Probably on other pages too... I'm sure its happening on other pages too. #### What is current behaviour ![image](https://user-images.githubusercontent.com/4269168/69947238-26d85700-14e5-11ea-97aa-ad8518618274.png) #### What is the expected behaviour ![image](https://user-images.githubusercontent.com/4269168/69947287-45d6e900-14e5-11ea-9a73-79f8d72465e5.png) #### Other relevant information Tested on Chromium and Firefox <!-- (Update "[ ]" to "[x]" to check a box) --> - [ ] Bug does still occur when all/other plugins are disabled? - Your OS: - Node.js version: - npm/yarn version: - Browser version: - Docsify version: - Docsify plugins: <!-- Love docsify? Please consider supporting our collective: 👉 https://opencollective.com/docsify/donate --> Answers: username_0: I've got a fix ready if it's ok username_1: Go on 👍 Status: Issue closed
ojwoodford/batch_job
628493498
Title: timeout not working (non deterministic)? Question: username_0: Hey Oliver, with this kind of function call I have some trouble with your toolbox: `batch_job_distrib(goal_function, x, worker, additional_data, '-chunk_lims', [1 1], '-timeout', timeout);` In the past there were no issues without using the timeout option. Now I want to exclude the Master Matlab from number crunching, therefore I use the timeout option (like you suggested). Unfortunately it happens sometimes that all workers are closed/finished but a single mat-file still has a file lock (for example: chunk000001.mat.lock) and the Master Matlab waits endless and no timeout is applied. If I "finish" this situation with Ctrl + c at the command line of the Master Matlab the following error appears: ``` Please wait while the workers are halted. Operation terminated by user during batch_job_collect (line 78) In batch_job_distrib (line 201) output = batch_job_collect(s, co); ... ``` Do you have any idea what's going wrong or suggestions what I can do? Answers: username_1: Thanks. This sounds like a bug. I just pushed a change which seems to work for me. Please test and let me know.
math-dojo/single-page-web-app
710019803
Title: Run e2e tests against deployed application in non-prod and pre-prod Question: username_0: E2E tests run against locally built versions of the app that utilise the in-built mock-backends. The scope of this story is run the e2e tests against the deployed apps, reachable on their respective azure websites addresses.
sveltejs/svelte
311646122
Title: Scope/context not available in event directives (on:...) Question: username_0: [Made a repl here.](https://svelte.technology/repl?version=1.60.2&gist=80289122e1584a7254b3b63c4718f417) Maybe it's due to the interaction in the each block and the handler, But i'm getting key is undefined when i click the li Answers: username_1: Also some undefined defining is happening at line 69: ```javascript // (3:4) {{#each Object.entries(items) as [key, value]}} function create_each_block(component, state) { var key_value = state.key_value, each_value = state.each_value, key_value_index = state.key_value_index, key = state.key, undefined = state.undefined, undefined = state.undefined, value = state.value, undefined = state.undefined, undefined = state.undefined; var li, text_value = value, text;``` username_2: +1 Looks like the last time this worked properly was in v1.55.1 ... REPL based on the animal/vegetable/mineral example: https://svelte.technology/repl?version=1.55.1&gist=3fc7f3b711a1965b1fefa3ccb8267346 username_3: @zzolo carrying #1328 discussion on over here. username_4: Thanks — this is fixed in 2.2.0: https://svelte.technology/repl?version=2.2.0&gist=83fe1c8d35a4d212dfe659a077b0167b Status: Issue closed
networkservicemesh/sdk
938114616
Title: Make logs more grepable Question: username_0: ## Overview <!--- Try to give a general description (optional if it overlaps with the content from the Google Docs file) --> Right now we have automatic trace logs for network services and registries. They have some annoying issues: 1. They use `info` level 2. Different requests are interleaved. These issues make it difficult to read the logs. It's next to impossible to tell what is going on when there are even mere dozens of requests. ## Solution 1. Obviously, we need to change the level for trace logs. The obvious choice would be `trace`. However, our "trace" logs are actually not so detailed. If we were to add a lot of logs inside some chain elements, then we would probably want to be able to distinguish out current trace logs from them, so maybe it would be better to log them at `debug` level. 2. We can add request ID into logger fields, so interleaving lines of logs can be distinguished by IDs. We would still have issues with multiline logs, since they only have logger fields in their first line. Most of our log entries are single lines, and the vast majority of multiline entries are stack traces from errors, so this is not a big problem. The size increase due to adding ID to each line is minor, in comparison to our current logs size. However, we would be able to use, for example, `grep 9763b41a-2ff6-40e3-8475-7d9dae986f13`, reducing the big log file to only the important part. ## Implementation <!--- If present, you can share links to issues, PRs, etc. --> 1. The log level for traces is set here: https://github.com/networkservicemesh/sdk/blob/d4734b5c8e81c4d608572f5db3111b6903bd9877/pkg/tools/log/logruslogger/logruslogger.go#L217 2. We can add field into the context here (same for other trace elements): https://github.com/networkservicemesh/sdk/blob/d4734b5c8e81c4d608572f5db3111b6903bd9877/pkg/networkservice/core/trace/server.go#L75 Answers: username_0: I have actually already implemented it locally for debugging of heal issues found during scalability testing. It helps a lot. username_1: @username_0 Be free to open PR! username_2: The obvious choice would be trace. However, our "trace" logs are actually not so detailed. If we were to add a lot of logs inside some chain elements, then we would probably want to be able to distinguish out current trace logs from them, so maybe it would be better to log them at debug level. As a side note, in the sdk-vpp code, I do my internal logs at `debug` level. That isn't a commentary on what they *should* be ... just what they are. It can be changed if need be. username_2: We would still have issues with multiline logs, since they only have logger fields in their first line. Most of our log entries are single lines, and the vast majority of multiline entries are stack traces from errors, so this is not a big problem. I like this idea very much... but there's one practical corner case... what do we do in the case where we haven't got a Connection ID yet? I suspect this is quite solvable... but will need to be solved :) username_0: When I was doing my testing, I was getting connection ID in 2 ways: 1. When I know that something went wrong on a certain pod, I can search for the pod name and find connection path information containing this pod. The easiest place for it would actually be the diff of the first request, where we change connection path, and that change is logged. 2. When there is an error in the logs, the error line contains connection id, and then I can use grep to see the full history of what happened with the related connection. username_1: PR https://github.com/networkservicemesh/sdk/pull/1012 is not looking great for us and we want to consider a list of improvements for logs in term of the issue. Status: Issue closed username_1: @username_2 Finally, all PRs are merged! @Mixaster995 Thanks!
pingcap/tidb-tools
640918028
Title: change UseCheckpoint from false to true will not use checkpoint actually Question: username_0: ## Bug Report Please answer these questions before submitting your issue. Thanks! 1. What did you do? If possible, provide a recipe for reproducing the error. - change UseCheckpoint from false to true - re-run sync-diff - it will not use checkpoint actually also, need document when it will do use checkpoint. 2. What did you expect to see? 3. What did you see instead? 4. What version of TiDB are you using (`tidb-server -V` or run `select tidb_version();` on TiDB)? 5. which tool are you using? 6. what versionof tool are you using (`pump -V` or `tidb-lightning -V` or `syncer -V`)? Answers: username_1: diff will calculate the config hash and save in the `summary` table, if the hash changed, diff will delete data in checkpoint table, and split chunk and check again. update `use-checkpoint` changed the config hash, and I fix it in https://github.com/pingcap/tidb-tools/pull/355 Status: Issue closed
DataDog/datadog-agent
374619988
Title: [Logging] What is the relationship between journald check and log declarations Question: username_0: What is the relationship between `journald` and `logs:` declaration of type `journald`, should i not be using both? Am i responsible for deduping by using `include_units` and `exclude_units` between service specific checks and the `journald` check? ```yml datadog_checks: journald: logs: - type: journald include_units: - sudo.service - sshd.service - cron.service - awsagent.service - systemd-journald - datadog-agent puma: init_config: logs: - type: journald path: /var/log/journal/ include_units: - puma.service service: api source: ruby sourcecategory: worker shoryuken: init_config: logs: - type: journald path: /var/log/journal/ include_units: - shoryuken.service service: shoryuken source: sqs sourcecategory: worker sidekiq: init_config: logs: - type: journald path: /var/log/journal/ include_units: - sidekiq.service service: sidekiq source: redis sourcecategory: worker ``` Answers: username_0: actually, i think i'm running into this problem https://github.com/DataDog/ansible-datadog/issues/146 username_0: Actually, still don't know what is going on. `sudo datadog-agent status` ``` journald -------- Type: journald IncludeUnits: sudo.service, sshd.service, cron.service, awsagent.service, systemd-journald, datadog-agent Status: OK Inputs: default puma ---- Type: journald IncludeUnits: puma.service Status: Pending shoryuken --------- Type: journald IncludeUnits: shoryuken.service Status: OK Inputs: /var/log/journal/ sidekiq ------- Type: journald IncludeUnits: sidekiq.service Status: Pending ``` But on the machine `journal -f -u sidekiq` there is definitely active logs, so i'm mot quite sure what `Status: Pending` means ``` Oct 29 19:39:51 worker1-073 sidekiq[13434]: {"date":"2018-10-29T19:39:51.860Z","severity":"INFO","message":"2018-10-29T19:39:51.860Z 13434 TID-otifmvcza PushWorker JID-b0aa1de3832eeae44412077f INFO: done: 0.062 sec"} Oct 29 19:39:51 worker1-073 sidekiq[13434]: {"date":"2018-10-29T19:39:51.880Z","severity":"INFO","message":"2018-10-29T19:39:51.880Z 13434 TID-otiegsega PushWorker JID-7cd6bf56992b4a9580d41cc8 INFO: done: 0.06 sec"} ``` username_0: Turns out it was related to this https://github.com/DataDog/ansible-datadog/issues/146 when i was provisioning new machines launched from a spot fleet, the required user permissions weren't setup again. I think the problem might be from related errors being swallowed. It makes it very hard to debug because `journalctl -f -u datadog-agent.service` and `sudo datadog-agent status` didn't give me any indication that something was wrong Status: Issue closed
usnistgov/NISTIR-8149
186226557
Title: User profiling Question: username_0: **Organization**: VASCO Data Security **Type**: 2 - Industry **Reference**: section "5.4. Privacy Requirements" **Comment**: One of the goals of the document is to standardize on wording. In the first paragraph: _"Through federated technologies, an IDP could have insight into a range of transactions a user is conducting online across a variety of RPs, building a narrative about a user that she never anticipated, or wanted, the IDP to have."_ is known as "user profiling" in the EU’s GDPR. **Suggested Change**: Through federated technologies, an IDP could have insight into a range of transactions a user is conducting online across a variety of RPs, building a narrative about a user that she never anticipated, or wanted, the IDP to have. This is known as user profiling.
jlippold/tweakCompatible
343475965
Title: `Eclipse X (iOS 11)` working on iOS 11.3.1 Question: username_0: ``` { "packageId": "me.gmoran.eclipsex", "action": "working", "userInfo": { "arch32": false, "packageId": "me.gmoran.eclipsex", "deviceId": "iPhone6,2", "url": "http://cydia.saurik.com/package/me.gmoran.eclipsex/", "iOSVersion": "11.3.1", "packageVersionIndexed": true, "packageName": "Eclipse X (iOS 11)", "category": "Tweaks", "repository": "Packix", "name": "Eclipse X (iOS 11)", "packageIndexed": true, "packageStatusExplaination": "This package version has been marked as Working based on feedback from users in the community. The current positive rating is 100% with 1 working reports.", "id": "me.gmoran.eclipsex", "commercial": true, "packageInstalled": true, "tweakCompatVersion": "0.0.7", "shortDescription": "System-wide Night Mode and more for iOS 11.", "latest": "5.0.9-2", "author": "<NAME> (fr0st)", "packageStatus": "Working" }, "base64": "<KEY> "chosenStatus": "working", "notes": "" } ```<issue_closed> Status: Issue closed
Chikhareva/Money-Transfer
770791878
Title: Ошибка вычислений в приложении Money Transfer Question: username_0: 1. В IDEA написать код public class Main { public static void main(String[] args) { int balance = 2147483646 ; int transfer = 500_000_000 ; int remainder = balance + transfer; System.out.println(remainder); } } 2. В код подставить значения int balance = 2147483646 ; int transfer = 500_000_000 3. Запустить программу Ожидаемый результат: Значение remainder увеличится на сумму transfer Фактический результат: получаем отрицательное значение -1647483650 Скрин ![image](https://user-images.githubusercontent.com/75243175/102607091-609bf000-4130-11eb-8afc-bdc8fd472588.png) Окружение: - Windows 7 32 bit - openjdk version "172.16.17.32" 2020-11-04 - OpenJDK Runtime Environment AdoptOpenJDK (build 172.16.17.32+1) - OpenJDK Client VM AdoptOpenJDK (build 172.16.17.32+1, mixed mode)
jhipster/generator-jhipster
783864075
Title: Vue dependencies need updating in 7.0 beta 0 Question: username_0: ##### **Overview of the issue** If I create a new reactive Vue monolith and run `ncu` on its `package.json`, there's a lot of dependencies that need updating: ``` @openapitools/openapi-generator-cli 1.0.13-4.3.1 → 2.1.16 axios 0.21.0 → 0.21.1 bootstrap-vue 2.21.1 → 2.21.2 dayjs 1.9.7 → 1.10.3 swagger-ui-dist 3.25.4 → 3.39.0 vue-i18n 8.22.2 → 8.22.3 vue-property-decorator 9.0.2 → 9.1.2 vue2-filters 0.11.0 → 0.11.1 vuex 3.5.1 → 3.6.0 @types/jest 26.0.10 → 26.0.20 @types/node 14.0.4 → 14.14.20 @types/sinon 9.0.8 → 9.0.10 @typescript-eslint/eslint-plugin 4.7.0 → 4.13.0 @typescript-eslint/parser 4.7.0 → 4.13.0 @vue/cli-plugin-eslint 4.5.8 → 4.5.10 @vue/cli-plugin-typescript 4.5.8 → 4.5.10 @vue/cli-service 4.5.8 → 4.5.10 @vue/test-utils 1.1.1 → 1.1.2 autoprefixer 10.0.1 → 10.2.1 browser-sync-webpack-plugin 2.2.2 → 2.3.0 copy-webpack-plugin 6.3.0 → 7.0.0 css-loader 3.5.3 → 5.0.1 cypress 6.1.0 → 6.2.1 eslint 7.13.0 → 7.17.0 eslint-plugin-prettier 3.1.4 → 3.3.1 eslint-plugin-vue 6.2.2 → 7.4.1 fork-ts-checker-webpack-plugin 4.1.6 → 6.1.0 html-webpack-plugin 4.5.0 → 4.5.1 husky 4.3.6 → 4.3.7 jest 26.4.2 → 26.6.3 jest-junit 11.1.0 → 12.0.0 mini-css-extract-plugin 0.9.0 → 1.3.3 node-notifier 8.0.0 → 9.0.0 postcss 8.1.6 → 8.2.4 postcss-import 13.0.0 → 14.0.0 postcss-loader 4.0.4 → 4.1.0 postcss-url 10.1.0 → 10.1.1 sass 1.29.0 → 1.32.4 sass-loader 10.0.5 → 10.1.1 sinon 9.2.1 → 9.2.3 terser-webpack-plugin 4.2.3 → 5.1.1 ts-jest 26.2.0 → 26.4.4 ts-loader 7.0.4 → 8.0.14 tslib 2.0.0 → 2.1.0 wait-on 5.2.0 → 5.2.1 webpack 4.44.2 → 5.13.0 webpack-cli 3.3.11 → 4.3.1 webpack-dev-server 3.11.0 → 3.11.1 webpack-merge 5.3.0 → 5.7.3 ``` ##### **Motivation for or Use Case** Updating dependencies is usually a good idea for security reasons. [Truncated] </details> ##### **Environment and Tools** openjdk version "11.0.8" 2020-07-14 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.8+10) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.8+10, mixed mode) git version 2.24.3 (Apple Git-128) node: v14.15.0 npm: 6.14.11 yeoman: 3.1.1 Docker version 20.10.2, build 2291f61 docker-compose version 1.27.4, build 40524192 Status: Issue closed Answers: username_1: Reopening to track dependencies that failed to update without manual changes: - [email protected] - [email protected] username_1: ##### **Overview of the issue** If I create a new reactive Vue monolith and run `ncu` on its `package.json`, there's a lot of dependencies that need updating: ``` @openapitools/openapi-generator-cli 1.0.13-4.3.1 → 2.1.16 axios 0.21.0 → 0.21.1 bootstrap-vue 2.21.1 → 2.21.2 dayjs 1.9.7 → 1.10.3 swagger-ui-dist 3.25.4 → 3.39.0 vue-i18n 8.22.2 → 8.22.3 vue-property-decorator 9.0.2 → 9.1.2 vue2-filters 0.11.0 → 0.11.1 vuex 3.5.1 → 3.6.0 @types/jest 26.0.10 → 26.0.20 @types/node 14.0.4 → 14.14.20 @types/sinon 9.0.8 → 9.0.10 @typescript-eslint/eslint-plugin 4.7.0 → 4.13.0 @typescript-eslint/parser 4.7.0 → 4.13.0 @vue/cli-plugin-eslint 4.5.8 → 4.5.10 @vue/cli-plugin-typescript 4.5.8 → 4.5.10 @vue/cli-service 4.5.8 → 4.5.10 @vue/test-utils 1.1.1 → 1.1.2 autoprefixer 10.0.1 → 10.2.1 browser-sync-webpack-plugin 2.2.2 → 2.3.0 copy-webpack-plugin 6.3.0 → 7.0.0 css-loader 3.5.3 → 5.0.1 cypress 6.1.0 → 6.2.1 eslint 7.13.0 → 7.17.0 eslint-plugin-prettier 3.1.4 → 3.3.1 eslint-plugin-vue 6.2.2 → 7.4.1 fork-ts-checker-webpack-plugin 4.1.6 → 6.1.0 html-webpack-plugin 4.5.0 → 4.5.1 husky 4.3.6 → 4.3.7 jest 26.4.2 → 26.6.3 jest-junit 11.1.0 → 12.0.0 mini-css-extract-plugin 0.9.0 → 1.3.3 node-notifier 8.0.0 → 9.0.0 postcss 8.1.6 → 8.2.4 postcss-import 13.0.0 → 14.0.0 postcss-loader 4.0.4 → 4.1.0 postcss-url 10.1.0 → 10.1.1 sass 1.29.0 → 1.32.4 sass-loader 10.0.5 → 10.1.1 sinon 9.2.1 → 9.2.3 terser-webpack-plugin 4.2.3 → 5.1.1 ts-jest 26.2.0 → 26.4.4 ts-loader 7.0.4 → 8.0.14 tslib 2.0.0 → 2.1.0 wait-on 5.2.0 → 5.2.1 webpack 4.44.2 → 5.13.0 webpack-cli 3.3.11 → 4.3.1 webpack-dev-server 3.11.0 → 3.11.1 webpack-merge 5.3.0 → 5.7.3 ``` ##### **Motivation for or Use Case** Updating dependencies is usually a good idea for security reasons. [Truncated] </details> ##### **Environment and Tools** openjdk version "11.0.8" 2020-07-14 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.8+10) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.8+10, mixed mode) git version 2.24.3 (Apple Git-128) node: v14.15.0 npm: 6.14.11 yeoman: 3.1.1 Docker version 20.10.2, build 2291f61 docker-compose version 1.27.4, build 40524192 Status: Issue closed
mono/SkiaSharp
717589235
Title: [BUG] SKMatrix IsInvertible property crashes the debugger silently on trying to peek an variable values Question: username_0: 1. Open visual studio 2. Write a simple console app that creates an SKMatrix into a variable and prints it in a second row. 3. Launch app with debugging and try to peek values of SKMatrix. 4. App is crashed. Me and 2 other devs has this issue. I hope you can repro it too. This issue is critical, because it disables any matrix calculation debugging scenarios. Status: Issue closed Answers: username_0: @username_1 This issue is not unit-testable. Here is a screenshot of a problem: ![Screenshot 2020-10-11 at 21 19 28](https://user-images.githubusercontent.com/4997065/95686609-98099000-0c07-11eb-91e5-6c67e07d41ca.png) Here is a bit detailed steps: 1. create empty project in the visual studio and write next thing: ``` var matrix = SkiaSharp.SKMatrix.CreateIdentity(); Console.WriteLine("Hello World!" + matrix); ``` 2. set breakpoint to the second line with writeLine. 3. launch app with debugger attached 4. hover mouse over matrix property declaration and expand properties list 5. observe crash from screenshot above username_0: Disabling property evaluation is not a fix of a problem, because this option is essential for debugging. username_0: I think marking the IsInvertible property with [DebuggerBrowsable(DebuggerBrowsableState.Never)] should do the trick. I'll check this and will provide a PR. username_1: @username_0 sorry I didn't ping you over the weekend. But thought you would have seen my pr I merged. That should fix it and the bits are already out on the preview feed. Unless you saw that already and it didn't fix the issue? It should be fixed in preview 9. You can check out the actual fix https://github.com/mono/skia/commit/a7b3674c74e3b0b5252cc8cc3e41168c5b6b7492 Basically, the managed code was passing null as the dest matrix, but then I didn't check it. username_0: @username_1 I've missed your mono/skia commit. I've seen only unit test. Thought that you did not understand my bug and just added unit test, and closed the issue. It turns out I was wrong :) username_1: ☺ Let me know if the preview works for you! I think I am reaching the first preview of 2.80.3 very soon. A nice bunch of fixes and features. username_0: preview 9 - issue fixed! thanks username_1: Thanks for the feedback!
remyhonig/elfeed-org
107246662
Title: Parse org links Question: username_0: It would be great if, instead of having to start with `http`, elfeed-org would also allow you to specifify an org link on the headline, eg: [[link][description]]. This would make elfeed.org files *much* easier to read. Answers: username_1: I like the idea. In a next iteration of the package I'll add this. It might take a while tough before I'll work on this again. I'll update this issue when I start working on it. Status: Issue closed username_0: Thanks for looking at it. I noticed you reverted #14, I'm assuming because it seemed to break tagging. Any way I can help figure that out? username_1: You're right. I broke it and I didn't notice the tags not being updated anymore. In https://github.com/username_1/elfeed-org/pull/16 I'll re-add the org mode link support but this time with more test coverage. Thanks for offering to help though!
aantron/bisect_ppx
236032290
Title: Ensure good support for Reason Question: username_0: There's no reason (argh) to think that Bisect has a problem with this, but we should at least check it. Answers: username_1: I recently converted a Dune project from OCaml to Reason, and forgot to check if bisect_ppx works with it. But it looks like there are some issues with [`ppx_expect`](https://github.com/janestreet/ppx_expect) when the project is built with `BISECT_ENABLE=YES`: ``` run alias lib/schema/runtest (exit 2) (cd _build/default/lib/schema && .graphql_schema.inline-tests/run.exe inline-test-runner graphql_schema -source-tree-root ../.. -diff-cmd -) File "lib/schema/util.re", line 129, characters 2-394: with_scheme threw (Failure "Trying to run an expect test from the wrong file.\ \n- test declared at lib/schema/util.re:129\ \n- trying to run it from lib/schema/util.re.ml\ \n"). Raised at file "stdlib.ml", line 33, characters 17-33 Called from file "runtime-lib/runtime.ml", line 327, characters 8-12 Re-raised at file "runtime-lib/runtime.ml", line 330, characters 6-13 Called from file "runtime-lib/runtime.ml", line 343, characters 15-52 Called from file "runtime-lib/runtime.ml", line 430, characters 52-83 ``` I'm not sure whether this is something `ppx_expect` or `bisect_ppx` should support. If this doesn't ring a bell I can try to create a small project to reproduce it. username_0: I don't see the exact problem immediately, but the error message strongly suggests that it is an interaction between how Dune runs Reason (outputting `util.re.ml`), perhaps how locations are handled by Bisect_ppx, and how ppx_expect is run. This probably needs a repro project for efficient debugging :/ cc @username_2 in case this is something obvious. username_1: run alias runtest (exit 2) (cd _build/default && .dune_reason_bisect.inline-tests/run.exe inline-test-runner dune_reason_bisect -source-tree-root . -diff-cmd -) File "main.re", line 3, characters 0-81 threw (Failure "Trying to run an expect test from the wrong file.\ \n- test declared at main.re:3\ \n- trying to run it from main.re.ml\ \n"). Raised at file "stdlib.ml", line 33, characters 17-33 Called from file "runtime-lib/runtime.ml", line 327, characters 8-12 Re-raised at file "runtime-lib/runtime.ml", line 330, characters 6-13 Called from file "runtime-lib/runtime.ml", line 343, characters 15-52 Called from file "runtime-lib/runtime.ml", line 430, characters 52-83 FAILED 1 / 1 tests ``` username_2: This seems like a bug in ppx_expect. cc @username_3 username_3: This was in fact a ppxlib issue. It was fixed in 0.4.0. Status: Issue closed
mozilla/sccache
505525407
Title: Support clippy-driver as rustc Question: username_0: # The Preface There is some vague talk of maybe someday integrating `clippy-driver` into `cargo build` and `cargo check` https://github.com/rust-lang/cargo/pull/7382, so I went and tried to test if we could just use `clippy-driver` as a drop in replacement for `rustc` under cargo build and sccache did not play nicely with it. ## The Problem sccache flat out errors out if `clippy-driver` is passed in the place of `rustc` ![Screenshot from 2019-10-10 14-17-16](https://user-images.githubusercontent.com/1993852/66608208-db4f9f80-eb6a-11e9-8796-6bc605173269.png) # The Fix @mystor suggested that someone fix it @ https://github.com/mozilla/sccache/blob/6371211b151c2d889864169d3f842d04b8a6f0d9/src/compiler/compiler.rs#L842 to work with clippy-driver. Answers: username_1: I don't have `clippy-driver` installed locally. If you run `clippy-driver -vV` what does it output? sccache needs some way to determine whether the compiler is rustc or a C/C++ compiler. username_0: It's the same output as rustc. For more details and entertainment check out https://github.com/rust-lang/libc/issues/1544#issuecomment-540929301 --version mentions it is clippy, with --vV clippy pretends to be rustc
netguru/create-react-app
355142998
Title: Consider to add prettier Question: username_0: In my case Im using prettier extension for VScode that formats code automatically on file save so I do not need to spend extra time for that. I've just stumbled upon the conflict between prettier and CRA's eslint code style configuration. Would be nice to have an option that allows to add eslint-config-prettier that eliminates that kind of conflicts for projects that are using prettier. Answers: username_0: Another conflict with eslint vs prettier is the code style for arrow functions parameters. Prettier has only two options for curly braces: `always` or `never`, but eslint considers more complex cases: ``` Expected parentheses around arrow function argument having a body with curly braces arrow-parens ``` username_1: I'd rather we keep full compatibility with projects that just use AirBnB's ESLint rules and don't use Prettier. As you said, in VSCode we may use `eslintIntegration` to conform Prettier's formatting to our ESLint config rather than the other way around. Under the hood, it uses `prettier-eslint`. For usage in the terminal, the package `prettier-eslint-cli` is a replacement for `prettier` that does this as well. I think it's a good idea to include Prettier in CRA by default, even just to ensure that everyone will have it configured correctly (the aforementioned `prettier-eslint-cli` should suffice). The question is, how do we want to include Prettier? Facebook's docs for CRA suggest adding it to a `precommit` hook with `husky`. But we've had some discussions about this in the past and there are problems with this approach. @username_2, do you have any ideas? username_2: I think that the best use of prettier is in the editor. However, if we want to ship it with CRA, then probably a npm script would be ok? The main problem with git hooks is that a) they might fail if the unstaged changes are incorrect in case prettier is just run over everything after commit b) there might be conflicts if you stash the files, run prettier and pop.
tournesol-app/tournesol-meta
919758022
Title: API endpoints for contributor's comparisons Question: username_0: Create endpoints for a contributor to create, update, delete, fetch, and list his/her own comparisons. Updates must be possible with partial data for example a contributor submitted comparisons on multiple criteria, but is now sending to the server that he/she updates a single criteria. The implementation must be careful about handling comparisons between videos X & Y, and comparisons between videos Y & X. This is best done by keeping the API as similar as possible to the previous implementation, unless there are good reasons to change it.<issue_closed> Status: Issue closed
uikit/uikit
54684644
Title: Full URL in Autocomplete source not being handled correctly Question: username_0: For UIKit 2.16.2 When providing a full URL for the source option of Autocomplete (i.e http://www.whatever.com), after the call to UI.Utils.options(ele.attr("data-@-autocomplete")) in boot, the return object is empty. Specifically it seems the ":" character in the url causes the options parsing to fail and return an empty object. My autocompletes worked in UIKit 2.12, so I assume it handled the url correctly before. The options parsing seems to be the same as in UIKit 2.12, so not sure what changed. On a related not, I can't get the select.uk.autocomplete event to fire. It fires when i physically highlight the already selected text in the input, but not when i select from the dropdown. Since my autocompletes or all non-functional now, I can't confirm the behaviour for UIKit 2.16. Answers: username_1: See #808 username_0: Ok, close because of duplicate. Status: Issue closed
SudoPlz/react-native-amplitude-analytics
311066815
Title: Carthage build fails. Question: username_0: `"$(SRCROOT)/../../../ios/Carthage/Checkouts/Amplitude-iOS/Amplitude"` needs to be added to the Header Search Paths just like the already is: `"$(SRCROOT)/../../../ios/Pods/Amplitude-iOS",` Otherwise: `"Amplitude.h"` and `"AMPRevenue.h"` are not found when attempting to build target: **RNAmplitudeSDK**. It must have worked because the build had a Pod install included as well already. But on a straight Carthage build the ios/Pods directory will not exist and these header files cannot be found. Answers: username_1: Got it, I'm not super familiar with Carthage, as I prefer cocoa pods usually, but would you be kind enough to open a PR with that addition? username_0: Will do, thanks. Status: Issue closed
algolia/docsearch
1045654623
Title: The application interface is always blocked Question: username_0: ## Description ## Steps to reproduce 1. Go to `https://docsearch.algolia.com/` 2. Click on `JOIN IN THE PROGRAM` 3. The application interface is always blocked ![image](https://user-images.githubusercontent.com/39938981/140493986-a1f070c3-fbf1-4c66-b951-7868e7a4cc70.png) **Live reproduction:** https://codesandbox.io/s/github/algolia/docsearch/tree/next/examples/js ## Expected behavior I don't know why. Is it because the Chinese mainland can not visit? ## Environment - OS: [e.g. Windows / Linux / macOS / iOS / Android] - Browser: [e.g. Chrome, Safari] - DocSearch version: [e.g. 3.0.0] Answers: username_1: Hey @username_0, I'm not able to reproduce but I'm requesting from France. We never had issue with applications from the Chinese mainland username_0: Thank you. I'll try again username_0: ![image](https://user-images.githubusercontent.com/39938981/140681045-0473dcec-0d93-4f2c-b6e2-220e92816bd2.png) The result remains the same 🙁 username_1: Hey @username_0, can you let me know what is your website URL? If it is compliant with our system, I'll create the application for you username_0: Hey @username_1, Of course, my website is [https://shaozi.vercel.app/](https://shaozi.vercel.app/ ), Is it related to the website? username_1: I'm able to access it and submit it myself, it might indeed be related to your ISP configuration 🤔 username_0: Maybe. I changed the Internet and the computer, but I didn't succeed 🙁, I'll try another way. Thank you for your answer username_1: Closing since the application have been received
PaddlePaddle/Paddle
550727077
Title: 使用save_inference_model保存后的模型进行预测时,结果与用代码直接预测不一致 Question: username_0: 如果您没有查询到相似问题,为快速解决您的提问,建立issue时请提供如下细节信息: - 版本、环境信息:    1)PaddlePaddle版本:1.6.2 同样一个文本,预测出的概率以及对应标签答案不一致 预测代码如下: place = fluid.CUDAPlace(0) if args.use_cuda == True else fluid.CPUPlace() exe = fluid.Executor(place) exe.run(predict_startup) if args.init_checkpoint: #init_pretraining_params(exe, args.init_checkpoint, predict_prog, args.use_fp16) init_checkpoint(exe, args.init_checkpoint, predict_prog, args.use_fp16) else: raise ValueError("args 'init_checkpoint' should be set for prediction!") # Due to the design that ParallelExecutor would drop small batches (mostly the last batch) # So using ParallelExecutor may left some data unpredicted # if prediction of each and every example is needed, please use Executor instead predict_exe = fluid.ParallelExecutor( use_cuda=args.use_cuda, main_program=predict_prog) predict_data_loader.set_batch_generator( processor.data_generator( batch_size=args.batch_size, phase='test', epoch=1, shuffle=False)) predict_data_loader.start() all_results = [] xxx_results = [] time_begin = time.time() while True: try: results = predict_exe.run(fetch_list=[probs.name]) all_results.extend(results[0]) xxx_results.extend(results) except fluid.core.EOFException: predict_data_loader.reset() break   保存模型代码如下: if args.save_inference_model_path: _, ckpt_dir = os.path.split(args.init_checkpoint.rstrip('/')) dir_name = ckpt_dir + '_inference_model' model_path = os.path.join(args.save_inference_model_path, dir_name) print("save inference model to %s" % model_path) fluid.io.save_inference_model( model_path, feed_target_names, [probs], exe, params_filename="params", model_filename="model", main_program=predict_prog) 加载模型代码: def load_model(self): print (os.path.join(self.init_checkpoint, "params")) print (os.path.join(self.init_checkpoint, "model")) self.config = AnalysisConfig(os.path.join(self.init_checkpoint, "model"), os.path.join(self.init_checkpoint, "params")) self.config.enable_use_gpu(20000, 0) print (self.config.gpu_device_id()) # self.config.disable_gpu() # 创建PaddlePredictor self.predictor = create_paddle_predictor(self.config) Answers: username_1: hi 请问使用最新版本预测还存在问题吗
ogcscotts/TC-Meeting-topics
308369075
Title: TC-wide discussion on symbology and annotation Question: username_0: merge with #47 Answers: username_1: I'm not entirely sure what this is getting at or where it comes from. What I can do is give you my perspective of where I think we are at, based on my work on the Portrayal Concept Development Study. * This is a high priority throughout the membership and other stakeholders * OGC is committed to solutions that can be applied across the OGC baseline (W*S, GeoPackage, Vector Tiles, etc.) * The current versions of SLD and SE have some flaws that make them unsuitable for long-term use but an effort to revise them is in progress * Document-based approaches (SLD, etc.) are limited in utility but semantic-based approaches (being developed in OGC Testbeds and other activities) have the potential to mitigate the complexity of multiple sets of styling rules, multiple data sources, multiple possible map products (including thematic maps), etc. username_2: OGC should take a look at CSS for feature styling. CSS is used by SVG today, perhaps it is not too far from being a useful vocabulary for map features? If it is not suitable for geographic feature styling, why not? Can we address those issues with the W3C community? I think it's important to recognize overlapping standards from other domains and not 'reinvent the wheel' where possible, and CSS has global adoption already (maybe that makes it impossible to change, but we should assess that). username_1: This is not a new idea. In fact, in this decade alone MapBox has developed and abandoned CartoCSS, a CSS-based language. https://blog.mapbox.com/the-end-of-cartocss-da2d7427cf1 username_2: Not all old ideas are bad ideas :-) I believe CartoCSS is still in use by [Carto](https://carto.com/docs/carto-engine/cartocss/). Anyway, Tom identifies two issues with CartoCSS: 1. Non-standard CSS syntax was a mistake 2. The need to draw features more than once, whereas CSS which works with HTML, only needs to draw stuff once. I don't know how SVG gets around that, but it must do somehow. I'm sure it doesn't work for vector tiles, but vector tiles are an [evolving thing](https://github.com/mapbox/vector-tile-spec/issues/103) so targeting that could be tricky from a standards POV username_3: Some (UK MOD, for example) find ISO 19117 Portrayal a good way to manage a set of styling 'rules'. Any group should also look at MapML, which has been presented to the OGC/W3C Spatial Data on the Web Interest Group. Terse notes of meetings at https://www.w3.org/2017/sdwig/, MapML usually discussed in their 'plenary meetings'; MapML itself at https://github.com/Maps4HTML/MapML. I haven't personally looked at it much, but more active members of SDWIG have. Status: Issue closed username_0: merge with #47 username_4: Sorry to insist and something like this to start ? It gives a practical solution and maybe we can build from there ... https://github.com/spatialillusions/milsymbol
pysal/segregation
465107012
Title: [ENH] extend segregation profile function to accept more spatial indices Question: username_0: `compute_segregation_profile` calculates SIT for varying distances, but it should be extended to calculate any index that takes a `W` or a `Network` currently, these include SIT or spatial divergence, but this might be a good time to think through which others could be re/written to follow the subclass pattern those use (I think spatialdissim, maybe others). That would help get us on the road to #4 sidenote that I still think `compute_segregation_profile` is a bit verbose, so i'd be open to new name suggestions Answers: username_0: a reasonable option would be to mutate this into a class like `MultiscaleProfile` that could accept different indices. That would be more conformant with the rest of the package username_0: resolved by #161 Status: Issue closed
FormidableLabs/inspectpack
413721926
Title: Report only partially printed in Next Js app Question: username_0: In a Next JS app with a custom webpack config, inpectpack prints the following after build, without the information about the actual bundles: ![screen shot 2019-02-23 at 20 04 26](https://user-images.githubusercontent.com/5658514/53290051-857ae280-37a7-11e9-8f97-114f6d2435e0.png) It is a Next v8.0.1 app, running on node v10.8.0 and Webpack 4.29.0. Relevant part of `next.config.js` is: ```js { // ... webpack: (config, opts) =>{ // ... // Check for duplicate code from dependencies if (!isServer) { config.plugins.push( new DuplicatesPlugin({ verbose: true, }) ); } return config }, } ``` Any insight would be appreciated Answers: username_1: I haven't tried things with next8 specifically yet, but next-pre8 build had a bad habit of hiding all the information. Can you change your config to: ```js new DuplicatesPlugin({ verbose: true, emitHandler: (report) => console.log(report), }) ``` and report back if anything is different? If nothing is different, would it be possible for you to get me a stripped down public repository with just the configuration you have (removing all your actual app code) so I have something to pull down and try to reproduce locally that exhibits some of the errors you're finding? Thanks! username_1: The _other_ debugging steps you can take with your existing private repository is to dump out a full stats object by adding something like: ```js const { StatsWriterPlugin } = require("webpack-stats-plugin"); // ... config.plugins.push( new StatsWriterPlugin({ filename: `stats-${isServer ? "server" : "client"}.json`, fields: ["assets", "modules"], }), ``` Then you'll get two stats files `stats-server.json` and `stats-client.json` which we can run a lot more analysis on with the `inspectpack` CLI tool. With both of those, I'd run the duplicates and versions reports. These two separate reports should provide us with some raw information (that is cobbled together more intelligently in the webpack plugin): ```sh $ inspectpack -b /PATH/TO/stats-TYPE.json -a duplicates $ inspectpack -b /PATH/TO/stats-TYPE.json -a versions ``` username_1: Oh, haha, I saw your project might be open source. If you can get me instructions (and maybe a branch) to install + reproduce what you're seeing, I can jump in and diagnose 😄 username_0: Same outcome with `emitHandler: (report) => console.log(report)`. The repository is https://github.com/Haaretz/htz-frontend. To reproduce, checkout `perf/webpack-bundle-size` and run `yarn && yarn workspace haaretz.co.il build`. Very much appreciate the help username_0: I just realized the setup is a bit complex. The webpack config is in `<ProjectRoot>/packages/libs/htz-react-base/base-next-config/webpack.js` We have `stats-webpack-plugin` installed, not `webpack-stats-plugin`. If you need it, it should be installed to the `@haaretz/htz-react-base` workspace username_1: I've tried to follow the steps, but I'm getting this error: ``` ModuleBuildError: Module build failed (from /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/next/dist/build/webpack/loaders/next-babel-loader.js): TypeError: (0 , _utils.setStateOptions) is not a function at PluginPass.enter (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/styled-jsx/dist/babel.js:289:38) at newFn (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/visitors.js:193:21) at NodePath._call (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/path/context.js:53:20) at NodePath.call (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/path/context.js:40:17) at NodePath.visit (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/path/context.js:88:12) at TraversalContext.visitQueue (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/context.js:118:16) at TraversalContext.visitSingle (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/context.js:90:19) at TraversalContext.visit (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/context.js:146:19) at Function.traverse.node (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/index.js:94:17) at traverse (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/index.js:76:12) at transformFile (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/core/lib/transformation/index.js:88:29) at runSync (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/core/lib/transformation/index.js:45:3) at runAsync (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/core/lib/transformation/index.js:35:14) at process.nextTick (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/core/lib/transform.js:34:34) at process._tickCallback (internal/process/next_tick.js:61:11) at runLoaders (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/webpack/lib/NormalModule.js:301:20) at /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/loader-runner/lib/LoaderRunner.js:364:11 at /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/loader-runner/lib/LoaderRunner.js:230:18 at context.callback (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/loader-runner/lib/LoaderRunner.js:111:13) at loader.call.then.err (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/next/node_modules/babel-loader/lib/index.js:45:103) at process._tickCallback (internal/process/next_tick.js:68:7) ``` I'm using: ``` $ node --version v10.13.0 $ yarn --version 1.13.0 ``` username_0: After which step? username_1: ``` yarn workspace @haaretz/haaretz.co.il build ``` username_1: ✖ Client Compiled with some errors in 2.27s ✖ Server Compiled with some errors in 2.30s ModuleBuildError: Module build failed (from /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/next/dist/build/webpack/loaders/next-babel-loader.js): TypeError: (0 , _utils.setStateOptions) is not a function at PluginPass.enter (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/styled-jsx/dist/babel.js:289:38) at newFn (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/visitors.js:193:21) at NodePath._call (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/path/context.js:53:20) at NodePath.call (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/path/context.js:40:17) at NodePath.visit (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/path/context.js:88:12) at TraversalContext.visitQueue (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/context.js:118:16) at TraversalContext.visitSingle (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/context.js:90:19) at TraversalContext.visit (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/context.js:146:19) at Function.traverse.node (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/index.js:94:17) at traverse (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/traverse/lib/index.js:76:12) at transformFile (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/core/lib/transformation/index.js:88:29) at runSync (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/core/lib/transformation/index.js:45:3) at runAsync (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/core/lib/transformation/index.js:35:14) at process.nextTick (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/@babel/core/lib/transform.js:34:34) at process._tickCallback (internal/process/next_tick.js:61:11) at runLoaders (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/webpack/lib/NormalModule.js:301:20) at /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/loader-runner/lib/LoaderRunner.js:364:11 at /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/loader-runner/lib/LoaderRunner.js:230:18 at context.callback (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/loader-runner/lib/LoaderRunner.js:111:13) at loader.call.then.err (/Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/next/node_modules/babel-loader/lib/index.js:45:103) at process._tickCallback (internal/process/next_tick.js:68:7) # ... and lots more repeats of that error ... ``` username_0: That's very odd. I just cloned a fresh copy of the repo and it all works fine. using: ``` node --version v10.8.0 yarn --version 1.12.3 ``` username_0: Oh, okay - I think I know what it may be. There's a line in `styled-js` that we patch with a postinstall script until it is fixed. Not sure why it didn't work for you, but do you mind running `yarn run postinstall && yarn workspace haaretz.co.il build`? username_0: Actually, that's not it... It's a whole different error that the one we're patching. I'm completely unable to reproduce this error. username_1: I'm using fresh install, and the exact versions of yarn and node you are. Here's the problem: ``` // /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/packages/libs/htz-react-base/scripts/fixStyledJsx.js var _utils = require("./_utils"); // /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/styled-jsx/dist/_utils.js // FILE IS TOTALLY EMPTY ``` I restored it from source here: https://unpkg.com/[email protected]/dist/_utils.js and then on running the build get the error you filed in upstream issue on `styled-jsx`. _Then_, on a hunch I ran the postinstall and _then_ it finally builds. ... so no idea what that means for new users / fresh clones, but I can at least move forward on diagnosis now... username_0: Wow, that's a lot of effort you put into debuging this. Thanks username_1: Side note -- the `styled-jsx/dist/_utils.js` thing appeared to be some weird `yarn` cache issue. A `yarn cache clean` cleared it up... username_1: There's definitely something up. Duplicates are detected, but versions are not being inferred correctly. I made this build change to produce a stats object: ```diff diff --git a/packages/libs/htz-react-base/base-next-config/webpack.js b/packages/libs/htz-react-base/base-next-config/webpack.js index b60e56ba..e4c38729 100644 --- a/packages/libs/htz-react-base/base-next-config/webpack.js +++ b/packages/libs/htz-react-base/base-next-config/webpack.js @@ -6,6 +6,7 @@ const path = require('path'); const StatsPlugin = require('stats-webpack-plugin'); +const { StatsWriterPlugin, } = require('webpack-stats-plugin'); const { DuplicatesPlugin, } = require('inspectpack/plugin'); // ////////////////// // @@ -49,6 +50,10 @@ module.exports = function configWebpack( new DuplicatesPlugin({ verbose: true, emitHandler: report => console.log(report), + }), + new StatsWriterPlugin({ + filename: `stats-${isServer ? "server" : "client"}.json`, + fields: ["assets", "modules"], }) ); } ``` and ran these reports: ## Duplicates Looks correct. ```sh $ inspectpack -s packages/apps/haaretz.co.il/.next/stats-client.json -a duplicates inspectpack --action=duplicates =============================== ## Summary * Extra Files (unique): 10 * Extra Sources (non-unique): 12 * Extra Bytes (non-unique): 15019 ## `static/chunks/commons.b98963a347d35c8a1d80.js` * css-in-js-utils/lib/hyphenateProperty.js * Meta: Files 1, Sources 2, Bytes 958 0. (Files 1, Sources 2, Bytes 958) (479) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/css-in-js-utils/lib/hyphenateProperty.js (479) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/inline-style-prefixer/node_modules/css-in-js-utils/lib/hyphenateProperty.js * fbjs/lib/shallowEqual.js * Meta: Files 2, Sources 2, Bytes 3231 0. (Files 1, Sources 1, Bytes 1616) (1616) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/react-addons-shallow-compare/node_modules/fbjs/lib/shallowEqual.js 1. (Files 1, Sources 1, Bytes 1615) (1615) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/fbjs/lib/shallowEqual.js * hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js * Meta: Files 2, Sources 2, Bytes 5446 [Truncated] 0. (Files 1, Sources 2, Bytes 628) (314) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/prop-types/lib/ReactPropTypesSecret.js (314) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/react-apollo/node_modules/prop-types/lib/ReactPropTypesSecret.js ``` ## Versions Should not be empty. Likely roots aren't inferred right or something. ```sh $ inspectpack -s packages/apps/haaretz.co.il/.next/stats-client.json -a versions inspectpack --action=versions ============================= ## Summary * Packages with skews: 0 * Total resolved versions: 0 * Total installed packages: 0 * Total depended packages: 0 ``` username_0: I assume this has something to do with iur build configuration. We use [`next-transpile-modules`](https://github.com/martpie/next-transpile-modules) to transpile packages internal to the monorepo, so I can imagine it does all sorts of strange things to how modules are resolved username_1: My intuition is that inspectpack: 1. Isn't inferring the root package.json at: https://github.com/Haaretz/htz-frontend/blob/master/packages/apps/haaretz.co.il/package.json 2. I've got review the logic to see if the `versions` `node_modules` traversal algorithm correctly handles flattened `node_modules` higher up in file tree. It needs to do the following: 1. Find and read: `packages/apps/haaretz.co.il/package.json` 2. Assemble installed packages metadata information looking at both: `packages/apps/haaretz.co.il/node_modules` and `node_modules`. In the more general case, it needs to handle anything from starting package to every directory down to project root. I'm guessing this is going to take me a little while to dig into, create regression tests, and get a correct solution (inspectpack doesn't require any inputted information about the roots of an app / project, inferring the app root, project root, etc. And I don't have a ton of free time next. So, I'll definitely dig into this when I get a chance, I'm just not sure of the exact timeline. In the meantime, I'm hoping that the `duplicates` report information gives you enough info to hone down duplicates in your app in a useful way! username_0: The `duplicates` report does help, and you've done plenty. Thanks a lot username_0: If it helps, [duplicate-package-checker-webpack-plugin](https://www.npmjs.com/package/duplicate-package-checker-webpack-plugin) seems to report correctly username_1: Thanks for continuing to research! I'm familiar with the plugin, and duplicate-package-checker doesn't try to infer the logical dependency tree, it just goes off of what's on disk. So, inspectpack gets this already: ``` (314) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/prop-types/lib/ReactPropTypesSecret.js (314) /Users/rye/scm/vendor/inspectpack-next-issue-htz-frontend/node_modules/react-apollo/node_modules/prop-types/lib/ReactPropTypesSecret.js ``` that we could read `package.json:version` and be output all of that. Our `versions` feature goes a lot further by traversing the entire logical tree so you can see what brought in the separate deps irrespective of where they get flattened to on disk. It's worth considering that if it takes me too long to do the versions inference, I could just dump out what that plugin does because the information already is in inspectpack internally... username_1: I have a WIP PR up with a regression test fixture that exhibits the same buggy behavior as the original repository in this issue. I'm working on the actual failing regression tests, then the fix. https://github.com/FormidableLabs/inspectpack/pull/104 username_2: Hey there, we are also experiencing this bug. It happens in our projects within yarn workspace with dependencies installed to a folder higher up (e.g. `../../node_modules`). It works correctly when I move project out of yarn workspace and install dependencies normally (to `./node_modules`). You've already figured this out so this is kinda useless, just wanted add more data. Also, I want to thank you for how fast you are responding to this issue. username_1: Hi folks, just wanted to post an update -- I've made good progress with regression tests and supporting unit tests to isolate the issue and head us towards a solution that still keeps the versions inference blazing fast (the technical challenging is limiting / optimizing the disk i/o to read `node_modules` so that it doesn't make for awful performance). I expect I'll be able to ship a fix this week. Thanks! username_1: Current WIP output: ```sh $ yarn workspace @haaretz/haaretz.co.il build Duplicate Sources / Packages - Duplicates found! ⚠️ * Duplicates: Found 10 similar files across 12 code sources (both identical + similar) accounting for 15019 bundled bytes. * Packages: Found 2 packages with 2 resolved, 2 installed, and 3 depended versions. ## static/chunks/commons.b98963a347d35c8a1d80.js hoist-non-react-statics (Found 1 resolved, 1 installed, 1 depended. Latest 3.2.0.) 3.2.0 ../hoist-non-react-statics * Dependency graph [email protected] -> [email protected] * Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js (S, 2559) prop-types (Found 1 resolved, 1 installed, 2 depended. Latest 15.6.2.) 15.6.2 ../prop-types * Dependency graph [email protected] -> [email protected] [email protected] -> [email protected] -> [email protected] * Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js prop-types/factoryWithThrowingShims.js (S, 1469) prop-types/index.js (S, 956) prop-types/lib/ReactPropTypesSecret.js (I, 314) * Understanding the report: Need help with the details? See: https://github.com/FormidableLabs/inspectpack/#diagnosing-duplicates * Fixing bundle duplicates: An introductory guide: https://github.com/FormidableLabs/inspectpack/#fixing-bundle-duplicates ``` username_0: Thank you so much for putting all this work into it! I think I don't really understand the report. How come `hoist-non-react-statics` is reported as a duplicate if there is only one source for it, and why prop-types is duplicated if both next and next-server include the same version of prop-types? Thanks again for putting in all this work to fix this issue username_1: Yep, good observation -- there's still something fishy. And `react-apollo` isn't being inferred which has the prop-types duplicates. username_1: UPDATE: Package roots aren't being correctly inferred... username_1: There is still some wonkiness (e.g., multiple of the same files reported in the duplicate module section for `prop-types` which is incorrect), but looking a lot better. ```md Error: Duplicate Sources / Packages - Duplicates found! ⚠️ * Duplicates: Found 10 similar files across 12 code sources (both identical + similar) accounting for 15019 bundled bytes. * Packages: Found 4 packages with 8 resolved, 9 installed, and 89 depended versions. ## static/chunks/commons.b98963a347d35c8a1d80.js css-in-js-utils (Found 2 resolved, 3 installed, 60 depended. Latest 3.0.0.) 2.0.1 ../../../~/fela-dom/~/css-in-js-utils * Dependency graph @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> fela-dom@^7.0.7 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> react-fela@^7.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 * Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js ../../../~/inline-style-prefixer/~/css-in-js-utils * Dependency graph @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0 * Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js css-in-js-utils/lib/hyphenateProperty.js (I, 479) 3.0.0 ../../../~/css-in-js-utils * Dependency graph @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-fallback-value@^5.0.17 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-placeholder-prefixer@^5.0.18 -> fela-plugin-custom-property@^7.0.5 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-unit@^5.0.16 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-fallback-value@^5.0.17 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-placeholder-prefixer@^5.0.18 -> fela-plugin-custom-property@^7.0.5 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-unit@^5.0.16 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 [Truncated] prop-types/index.js (S, 956) prop-types/lib/ReactPropTypesSecret.js (I, 314) prop-types/factoryWithThrowingShims.js (S, 1469) prop-types/index.js (S, 956) prop-types/lib/ReactPropTypesSecret.js (I, 314) 15.7.2 ../../../~/react-apollo/~/prop-types * Dependency graph @haaretz/[email protected] -> react-apollo@^2.4.1 -> prop-types@^15.6.0 * Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js prop-types/factoryWithThrowingShims.js (S, 1621) prop-types/index.js (S, 710) prop-types/lib/ReactPropTypesSecret.js (I, 314) * Understanding the report: Need help with the details? See: https://github.com/FormidableLabs/inspectpack/#diagnosing-duplicates * Fixing bundle duplicates: An introductory guide: https://github.com/FormidableLabs/inspectpack/#fixing-bundle-duplicates ``` username_1: OK, now updated... I _think_ I've got everything correctly matched up with what the simple duplicates report has. _side note_: It is fascinating to see what all the `fela`-monorepo released stuff ends up with dependency-wise, but looks like modulo a few duplicates, the lerna package release keeps things pinned so we have a _ton_ of logical dependencies from the abstract dependency tree, but only a handful of actual on-disk installations... ```md Error: Duplicate Sources / Packages - Duplicates found! ⚠️ * Duplicates: Found 10 similar files across 12 code sources (both identical + similar) accounting for 15019 bundled bytes. * Packages: Found 4 packages with 8 resolved, 9 installed, and 89 depended versions. ## static/chunks/commons.b98963a347d35c8a1d80.js css-in-js-utils (Found 2 resolved, 3 installed, 60 depended. Latest 3.0.0.) 2.0.1 ../../../~/fela-dom/~/css-in-js-utils * Dependency graph @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> fela-dom@^7.0.7 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> react-fela@^7.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 * Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js ../../../~/inline-style-prefixer/~/css-in-js-utils * Dependency graph @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0 * Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js css-in-js-utils/lib/hyphenateProperty.js (I, 479) 3.0.0 ../../../~/css-in-js-utils * Dependency graph @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-fallback-value@^5.0.17 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-placeholder-prefixer@^5.0.18 -> fela-plugin-custom-property@^7.0.5 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-unit@^5.0.16 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-tools@^5.1.5 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> fela@^6.2.3 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-extend@^6.0.11 -> fela-utils@^8.1.3 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-fallback-value@^5.0.17 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-placeholder-prefixer@^5.0.18 -> fela-plugin-custom-property@^7.0.5 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-plugin-unit@^5.0.16 -> css-in-js-utils@^3.0.0 [Truncated] @haaretz/[email protected] -> react@^16.8.2 -> prop-types@^15.6.2 * Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js prop-types/factoryWithThrowingShims.js (S, 1469) prop-types/index.js (S, 956) prop-types/lib/ReactPropTypesSecret.js (I, 314) 15.7.2 ../../../~/react-apollo/~/prop-types * Dependency graph @haaretz/[email protected] -> react-apollo@^2.4.1 -> prop-types@^15.6.0 * Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js prop-types/factoryWithThrowingShims.js (S, 1621) prop-types/index.js (S, 710) prop-types/lib/ReactPropTypesSecret.js (I, 314) * Understanding the report: Need help with the details? See: https://github.com/FormidableLabs/inspectpack/#diagnosing-duplicates * Fixing bundle duplicates: An introductory guide: https://github.com/FormidableLabs/inspectpack/#fixing-bundle-duplicates ``` username_1: Oh, and @username_0 , unrelated tip: Remove ```js emitHandler: report => console.log(report), ``` from the options. It looks like modern `next` _does_ correctly capture compilation warnings / errors at the end, while anything that goes to console (like the above setting) spams the terminal competing with the terminal-based progress bars 😉 username_1: @username_0 @username_2 -- I think https://github.com/FormidableLabs/inspectpack/pull/107 is in final shape and should at least address @username_0 issues. (@username_2 I may need a separate reproduction if the branch doesn't solve your issues). I plan to release this tomorrow, so any early feedback is most welcome! (And thanks again for your patience -- solving this required some very deep dives to keep everything efficient I/O-wise...) username_0: Thank you so much @username_1! I fully understand how much work this has been since I tried to take a stab at it before realizeing it will be way more work than I am able to put in at the moment. I checked the the `bug/hidden-app-roots-v2` branch and it indeed seems to work , though there is one issue, which might just be me misunderstanding the report. There were no duplicates found in the server bundles and duplicates were reported in the client bundle. The client report includes the following: ```sh ## static/chunks/commons.afb167054d4db523cce5.js css-in-js-utils (Found 2 resolved, 3 installed, 60 depended. Latest 3.0.0.) 2.0.1 ~/fela-dom/~/css-in-js-utils @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> fela-dom@^7.0.7 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> react-fela@^7.2.0 -> fela-bindings@^2.3.1 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> react-fela@^7.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 2.0.1 ~/inline-style-prefixer/~/css-in-js-utils @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> @haaretz/htz-components@^0.2.0 -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0 @haaretz/[email protected] -> @haaretz/htz-theme@^0.1.0 -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0 3.0.0 ~/css-in-js-utils @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0 @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-tools@^5.1.7 -> css-in-js-utils@^3.0.0 # Report continues... ``` s you can see, there are two separate branches of `css-in-js-utils` version `2.0.1`, which seems wrong, unless I misunderstand something. Thanks again for putting so much work into solving this username_1: Deciphering the report a bit: `(Found 2 resolved, 3 installed, 60 depended. Latest 3.0.0.)` means: - `2` versions were resolved (`2.0.1`, `3.0.0`) - `3` packages were installed for those `2` versions. - `60` dependency paths led to this package. The operative thing is: ``` 2.0.1 ~/fela-dom/~/css-in-js-utils 2.0.1 ~/inline-style-prefixer/~/css-in-js-utils 3.0.0 ~/css-in-js-utils ``` which translates to "on disk" installs, so: ```sh $ cat node_modules/fela-dom/node_modules/css-in-js-utils/package.json | grep version "version": "2.0.1", $ cat node_modules/inline-style-prefixer/node_modules/css-in-js-utils/package.json | grep version "version": "2.0.1", $ cat node_modules/css-in-js-utils/package.json | grep version "version": "3.0.0", ``` What you're seeing is that because `3.0.0` is flattened to the root of `node_modules`, you have **two** separate on-disk installs of `2.0.1` that can't be flattened further. username_0: You mean passing `verbose: true` to the plugin? Because that's what I did username_1: Cool! For verbose, I think I just was confused by the manual editing of the report output (and I've got a ticket #109 to collapse large amounts of dependency graphs for easier reading in the future). Here's what I see and I'm guessing that matches up with you: ```md ## static/chunks/commons.b98963a347d35c8a1d80.js css-in-js-utils (Found 2 resolved, 3 installed, 60 depended. Latest 3.0.0.) 2.0.1 ~/fela-dom/~/css-in-js-utils * Dependency graph @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 # ... SNIPPED LOTS OF DEP TREES ... @haaretz/[email protected] -> react-fela@^7.2.0 -> fela-dom@^7.0.9 -> css-in-js-utils@^2.0.0 * Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js ~/inline-style-prefixer/~/css-in-js-utils * Dependency graph @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0 # ... SNIPPED LOTS OF DEP TREES ... @haaretz/fela-utils@^0.1.0 -> inline-style-prefixer@^5.0.3 -> css-in-js-utils@^2.0.0 * Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js css-in-js-utils/lib/hyphenateProperty.js (I, 479) 3.0.0 ~/css-in-js-utils * Dependency graph @haaretz/[email protected] -> @haaretz/fela-utils@^0.1.0 -> fela-bindings@^2.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0 # ... SNIPPED LOTS OF DEP TREES ... @haaretz/[email protected] -> react-fela@^7.2.0 -> fela-dom@^7.0.9 -> fela-utils@^8.0.8 -> css-in-js-utils@^3.0.0 * Duplicated files in static/chunks/commons.b98963a347d35c8a1d80.js css-in-js-utils/lib/hyphenateProperty.js (I, 479) ``` Status: Issue closed
solo-io/gloo
517391784
Title: DLP standard regex is broken Question: username_0: For example, run through docs written up here https://github.com/solo-io/gloo/pull/1574/files Notice that this: ```json { "fakevisa": "4397945340344828", "ssn": "123-45-6789" } ``` gets transformed into this: ```json { "fakevisa": XXXXXXXXXXXXXX828", "ssn": XXXX-XX-XX89" } ``` by this config: ```yaml virtualHostPlugins: dlp: actions: - actionType: SSN - actionType: ALL_CREDIT_CARDS ``` The standard regex shouldn't be including the opening `"` in the match<issue_closed> Status: Issue closed
jwaldmann/star-exec-presenter
254809954
Title: print total runtime estimate Question: username_0: using * selection parameters a,b,c * number of problems in (sub) families * actual runtime compute an estimate for * difficulty (expected runtime of benchmark per subfamiliy) * total runtime (if using all benchmarks) * runtime for other parameter values (for using subset)
OpenPrinting/cups
999799446
Title: Ubuntu 20.04 usb printers: ippusbxd & AppArmor confusion making printer/scanners defunct Question: username_0: Running (after unplugging & removing printer): sudo ln -s /etc/apparmor.d/usr.sbin.ippusbxd /etc/apparmor.d/disable/ sudo apparmor_parser -R /etc/apparmor.d/disable/usr.sbin.ippusbxd puts usr.sbin.ippusbxd in the /etc/apparmor.d/disable folder. After a reboot & plugging printer back in, it resolves confusion. usb printer/scanner (HP Photosmart 6520) finally works across reboots. Status: Issue closed Answers: username_1: For some reason this bug has no description/comments. If you wish to re-file, please do so in the [cups-filters](https://github.com/OpenPrinting/cups-filters) project which is where the ippusbxd code lives.
github-vet/rangeloop-pointer-findings
775161800
Title: pingcap/tidb-binlog: drainer/sync/syncer_test.go; 34 LoC Question: username_0: [Click here to see the code in its original context.](https://github.com/pingcap/tidb-binlog/blob/3475d287e4da3bd872b90d5386a9918f6fbd7b72/drainer/sync/syncer_test.go#L115-L148) <details> <summary>Click here to show the 34 line(s) of Go which triggered the analyzer.</summary> ```go for idx, syncer := range s.syncers { gen.SetDDL() item := &Item{ Binlog: gen.TiBinlog, PrewriteValue: gen.PV, Schema: gen.Schema, Table: gen.Table, } go func(idx int) { for range syncer.Successes() { atomic.AddInt64(&successCount[idx], 1) } }(idx) err := syncer.Sync(item) c.Assert(err, check.IsNil) // check we can get from Successes() tryNum := 10 i := 0 for ; i < tryNum; i++ { if atomic.LoadInt64(&successCount[idx]) == 1 { break } time.Sleep(time.Millisecond * 100) } if i == tryNum { c.Logf("fail to get from %v", reflect.TypeOf(syncer)) c.FailNow() } c.Logf("success to get from %v", reflect.TypeOf(syncer)) } ``` </details> Leave a reaction on this issue to contribute to the project by classifying this instance as a **Bug** :-1:, **Mitigated** :+1:, or **Desirable Behavior** :rocket: See the descriptions of the classifications [here](https://github.com/github-vet/rangeclosure-findings#how-can-i-help) for more information. commit ID: <PASSWORD><issue_closed> Status: Issue closed
synman/ARPro3_Issues
328871189
Title: ActivityThread.java line 5908 Question: username_0: #### in android.app.ActivityThread.acquireProvider * Number of crashes: 1 * Impacted devices: 1 There's a lot more information about this crash on crashlytics.com: [https://fabric.io/shellware/android/apps/com.shellware.arpro3/issues/5b14769b6007d59fcdcfaf96?utm_medium=service_hooks-github&utm_source=issue_impact](https://fabric.io/shellware/android/apps/com.shellware.arpro3/issues/5b14769b6007d59fcdcfaf96?utm_medium=service_hooks-github&utm_source=issue_impact)
quasarframework/quasar
238910268
Title: q-data-table: responsive columns break when in dist mode though work perfect in 'dev' Question: username_0: Original report: http://forum.quasar-framework.org/topic/493/q-data-table-responsive-columns-break-when-in-dist-mode-though-work-perfect-in-debug ### Software version Quasar: beta 0.14 OS: Windows 8.1 Node: 6.9.11 NPM: 3.10.9 Browsers: Chrome 58.0.3029.110 (64-bit) Android: 7.0 ### What did you get as the error? q-data-table: responsive columns break when in dist mode though work perfect in 'dev', demonstration of the bug https://gist.github.com/username_0/bf96afd7250591be8c07f354d9da567d ### What were you expecting? It should render the same in both versions ### What steps did you take, to get the error? Just build the app Digging a little deeper I've found that the bug is related to the purifycss step in the build script, when I removed it, the build worked as expected Answers: username_1: I can confirm this. Thanks for the tip about purifycss. It'll give it a try and report back. username_2: I can confirm that this error is reproduced on v0.14 username_3: I set purifyCSS to false, then ran npm install again. But then when I ran the cordova emulator, it still showed unresponsive for the data table. Is there anything else I need to do? username_3: Nevermind, I forgot to run quasar build before running the emulator. All good, the fix works! username_2: This issue is reproduced on version 0.14.1 on a production webpage (I have not tested on cordova but I expect the same problem) Is there a plan to fix this on next version? username_4: Yes, it will be fixed. Just got a huge pile of todos at the moment. username_4: No longer an issue in v0.15 datatable revamp. Status: Issue closed
scoobybejesus/cryptools
743159103
Title: Create gain/loss report in similar format to Form 8949 Question: username_0: Notably, the current set of reports don't include the purchase date in the transaction reports. The date is findable in the account reports by pulling the basis date of the lots in question, but it should be automated. Answers: username_0: Resolved by d3c7c8c6a3d Status: Issue closed
chrisp-dev/uwproj3
565972489
Title: Mobile View Question: username_0: AS: user I WANT: a mobile responsive view SO THAT: i can enjoy the app on my phone Acceptance Criteria: - [ ] Sign up - [ ] Login - [ ] Swiper (find matches) - [ ] Settings / Edit Profile / Edit Search Criteria - [ ] Matches (view matched users) - [ ] Messages (chat with users)
wekan/wekan
215438362
Title: Line breaks on cards Question: username_0: Can Wekan be configured to accept line breaks in cards? Answers: username_1: Card titles? username_2: This would be nice, so in card titles and list titles there could be editable markdown similarly like at card description field. username_2: Also board title and title's description could allow markdown. I'm just thinking that does this work, so if those contain only markdown link, is it still possible to both: 1) click link 2) edit titles Status: Issue closed username_3: I'm sure Wekan now desserves a new release with this great added feature. username_2: @username_3 Yes, there's also other great features and bugfixes, I'm just adding most of them before making a release.
bjatkin/KISSjs
782529671
Title: && is not handled correctly by js parser Question: username_0: Lines ending with ```&&``` are not being handled correctly by the js parse ``` if (!currentSection.children[i].checkValidity !== undefined && !currentSection.children[i].checkValidity()) { return } ``` is compiled to ``` if(!currentSection.children[i].checkValidity!==undefined&&;!currentSection.children[i].checkValidity()){return} ``` notice the && is followed by a ; which leads to an error this can be worked around for now by changing all conditions to be on the same line ``` if (!currentSection.children[i].checkValidity !== undefined && !currentSection.children[i].checkValidity()) { return } ``` Status: Issue closed Answers: username_0: This has been fixed. You can see the commit that fixed this bug [here](https://github.com/username_0/KISSjs/commit/8401c8c9bda21f4c0a13e9f813c69898e07cdccb)
okunishinishi/python-stringcase
451578520
Title: constcase of "AAA_BBBB" is "A_A_A__B_B_B_B" Question: username_0: Converting into `constcase` an already constcase string produce and unexpected result: ``` In [3]: stringcase.constcase("AAA_BBBB") Out[3]: 'A_A_A__B_B_B_B' ``` Trivia: `stringcase.constcase("AAA_BBBB").lower()` solves the issue
pietern/goestools
430189666
Title: True Color Question: username_0: Is it possible to get true color images from GOES-16? Something like this https://engelsjk.com/posts/goes-16-true-color-animation-using-python/images/true-color.png Status: Issue closed Answers: username_1: This is not possible. The true color composite requires channels 1, 2, and 13, to my knowledge. The HRIT stream doesn't include channel 1, therefore it is not possible to create the same composite. The false color composite, which is included, is generated by composing only channels 2 and 13.
GerritErpenstein/ionic2-custom-icons
247582051
Title: Unhandled Promise rejection: Template parse errors: 'custom-icon' is not a known element Question: username_0: Hi, I get this error even though `CustomIconsModule ` has been imported in app.module.ts. Does anyone encounter the same problem? Here is the system info: ``` @ionic/cli-plugin-cordova : 1.6.1 @ionic/cli-plugin-ionic-angular : 1.4.1 @ionic/cli-utils : 1.7.0 ionic (Ionic CLI) : 3.7.0 global packages: Cordova CLI : 7.0.1 local packages: @ionic/app-scripts : 2.1.3 Cordova Platforms : android 6.2.3 ios 4.4.0 Ionic Framework : ionic-angular 3.6.0 System: Android SDK Tools : 25.2.5 Node : v7.3.0 OS : macOS Sierra Xcode : Xcode 8.3.3 Build version 8E3004b ios-deploy : 1.9.0 ios-sim : 5.0.13 npm : 3.10.10 ``` Answers: username_1: Hi @username_0 Please verify the example app works for you: https://github.com/username_1/ionic2-custom-icons-example username_2: I encountered the same issue username_1: Hi @username_2 Same question for you: Does the example project work? https://github.com/username_1/ionic2-custom-icons-example Status: Issue closed username_1: I'm closing this issue as there are no more comments or questions. Feel free to reopen the issue if you can provide more information. username_3: Hi Gerrit I have reproduced the error in the demo-project: ```typescript cli packages: (D:\Dokumenter\GitHub\ionic2-custom-icons-example\node_modules) @ionic/cli-utils : 1.9.2 ionic (Ionic CLI) : 3.9.2 global packages: Cordova CLI : 7.0.1 local packages: @ionic/app-scripts : 2.1.4 Cordova Platforms : browser 4.1.0 Ionic Framework : ionic-angular 3.6.1 System: Android SDK Tools : 26.0.2 Node : v6.11.1 npm : 5.3.0 OS : Windows 10 ``` To recreate the error you need to do the following 1 : Add the browser as platform ionic cordova platform add browser 2: start using Ionic3 module.ts for single pages. I created the following : platform.page.module.ts ```typescript import { NgModule } from '@angular/core'; import { PlatformPage } from './platform.page'; import { IonicPageModule } from 'ionic-angular'; @NgModule({ declarations: [ PlatformPage ], imports: [ IonicPageModule.forChild(PlatformPage) ], entryComponents: [ PlatformPage ] }) export class PlatformPageModule {} ``` Now you can issue ionic cordova build browser [Truncated] but when building the browser version for production ionic cordova build browser --prod You will first get an error that PlatformPage is included twice, so you need to remove the definition of PlatformPage from app.module.ts Then when you try again to get the production version you will get the error: ```typescript Error: Template parse errors: 'custom-icon' is not a known element: 1. If 'custom-icon' is an Angular component, then verify that it is part of this module. 2. If 'custom-icon' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. (" <div> [ERROR ->]<custom-icon set="test" name="platform-logo" large></custom-icon> </div> "): ng:///D:/Dokumenter/GitHub/ionic2-custom-icons-example/src/pages/platform/platform.page.html@12:6 ``` username_1: Thanks @username_3! I'll look into it asap. username_1: Hi, I get this error even though `CustomIconsModule ` has been imported in app.module.ts. Does anyone encounter the same problem? Here is the system info: ``` @ionic/cli-plugin-cordova : 1.6.1 @ionic/cli-plugin-ionic-angular : 1.4.1 @ionic/cli-utils : 1.7.0 ionic (Ionic CLI) : 3.7.0 global packages: Cordova CLI : 7.0.1 local packages: @ionic/app-scripts : 2.1.3 Cordova Platforms : android 6.2.3 ios 4.4.0 Ionic Framework : ionic-angular 3.6.0 System: Android SDK Tools : 25.2.5 Node : v7.3.0 OS : macOS Sierra Xcode : Xcode 8.3.3 Build version 8E3004b ios-deploy : 1.9.0 ios-sim : 5.0.13 npm : 3.10.10 ``` username_1: You are correct! This is not a bug, but rather by design. Just add *CustomIconsModule* to the imports of your sub-module. Taking your example it should look like this: ```typescript import {NgModule} from '@angular/core'; import {IonicPageModule} from 'ionic-angular'; import {CustomIconsModule} from 'ionic2-custom-icons'; import {PlatformPage} from './platform.page'; @NgModule({ declarations: [ PlatformPage ], imports: [ IonicPageModule.forChild(PlatformPage), CustomIconsModule // <-This is the important part! ], entryComponents: [ PlatformPage ] }) export class PlatformPageModule { } ``` If you have more than just one module or directive that should be available in multiple sub-modules, a shared module is a good approach: https://angular.io/guide/ngmodule#shared-modules I should probably mention this in the docs. I keep this issue open to remind myself. :wink: username_3: Yes, and quite interesting that the compiler only shows it when using the --prod directive Status: Issue closed
gatsbyjs/gatsby
481254549
Title: How to improve webpack splitChunks heuristics? Question: username_0: [@Gatsby](https://twitter.com/gatsbyjs/status/1162047124764155905) suggested me on Twitter to open an issue on this subject. I think it would be nice to document how an user can enhance gatsby/webpack default code splitting heuristics to achieve better code splitting. The Webpack splitChunks documentation: https://webpack.js.org/plugins/split-chunks-plugin/ The current Gatsby config is: https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby/src/utils/webpack.config.js#L469 ``` splitChunks: { name: false, cacheGroups: { // Only create one CSS file to avoid // problems with code-split CSS loading in different orders // causing inconsistent/non-determanistic styling // See https://github.com/gatsbyjs/gatsby/issues/11072 styles: { name: `styles`, // This should cover all our types of CSS. test: /\.(css|scss|sass|less|styl)$/, chunks: `all`, enforce: true, }, }, }, ``` As we can see, apart from disabling css code splitting, Gatsby does not do much and relies on Webpack defaults. I think it would be nice to document how a user can enhance those heuristics so that webpack can give more optimized outputs. Also it's probably worth discussing what is an optimized webpack output in the first place, in the context of a Gatsby static site. We might favor multiple smaller bundles so that they can be better cached independently, or downloaded/parsed in parallel. Webpack can't really know by himself how our code is going to change over time, and recipes or a plugin to tell him new heuristics could be nice. I've been successful with this kind of config: ``` exports.onCreateWebpackConfig = ({ stage, actions, getConfig }) => { if (stage === `build-javascript`) { const config = getConfig(); // Optimize the default code splitting config by putting heavy things // that changes independently on separate bundles config.optimization.splitChunks.cacheGroups = { ...config.optimization.splitChunks.cacheGroups, vendors: { test: /[\\/]node_modules[\\/]/, enforce: true, chunks: 'all', priority: 1, }, translations: { test: /[\\/]translations[\\/]/, enforce: true, [Truncated] I want to do that because I want separate bundles for my page, my libs and the translations. Generally, not all 3 are going to change together so if only translations are changing, I don't necessarily want users to have to redownload the other 2. If I do a lib upgrade, I don't necessarily want users to redownload the translations and may prefer them to hit the cache. With default heuristics I get a big common bundle that contains both translations and libs. I'd rather get them cached independently and downloaded/parsed in parallel. I'm not an expert with all this, but I think it's worth discussing how we can get better performances by documenting how to fine tune the code splitting with usecases/recipes. Also, maybe it would be nice to create an official plugin to easily do this tunning, and ensuring that we don't enable the css code splitting by mistake (which Gatsby disable on purpose). Like: ``` { resolve: "gatsby-plugin-splitChunks", options: { cacheGroups: ["node_modules","src/something"], }, }, ``` What do you think?
SynBioDex/SBOL-visual
314424608
Title: SEP V012: Stop Codons Question: username_0: This SEP proposes an explicit way of representing stop codons (useful if this feature needs to be highlighted). I have included two variants based on discussions on the mailing list. Full proposal is at: https://github.com/SynBioDex/SBOL-visual/blob/develop/SEPs/SEP_V012.md Answers: username_1: Thank you, Tom. Two questions: 1. Are you recommending that _both_ of these glyphs by adopted, or are you looking for the community to come to consensus on one of the two? Unless there is a strong reason to go for both, I would suggest we aim to come to consensus on one of the two, because it is generally preferable to limit the number of approved variants (increased coherence, reserved alternatives). 2. In the prior discussion, my impression had been that the cross went all the way to the corners, and I personally prefer that to the disconnected cross version that is now being shown. Can we add that as a potential option as well, or do you have a reason to recommend against it? username_0: OK, I'll make the revision. I'd suggest the cross glyph as it is simpler and will extend the ends to reach the box. Apologies about not following branch conventions... I'm new to the GitFlow approach. username_1: No criticism, just gentle adjustment. :-) I like the cross version too; let's see if any voices get raised for the alternatives. username_2: I suppose I will jump in for the alternative. The cross glyph evokes a Cleavage Site stem-top glyph to me (the only difference being the bounding box as far as I can tell). As such, I prefer the asterisk over the cross. I would also lobby for inclusion of a symmetric 8-pointed asterisk alternative, because that how I usually draw asterisks by hand. Also, is there a good reason to employ the DNA stem over the RNA stem for this glyph? username_0: Very good points by all. It makes sense to have it for both DNA and RNA as they are encoded in these substrates. I don't actually have a preference whether it is a cross or asterisk – @username_1 are you happy to go with the asterisk, or are you still in favour of the cross? username_1: On cross vs. asterisk --- I think @username_2 makes a good point, and I am happy to go for the asterisk. I will also note that if we specify that the shape is an asterisk, then we need note consider 5-pointed vs. 6-pointed vs. 8-pointed --- all are "font level style differences" covered by the definition. Regarding DNA vs. RNA stem: again @username_2 brings up a good point. If we follow the general semantics of stem-top glyphs, then RNA stem would make sense as stop codon. DNA stem would then mean Transcription End Site (SO:0000616). No protein stem would be defined at this time. username_1: @username_0 Since we seem to have reached a point of reasonable consensus, can you please update the SEP accordingly? I'd like to then get both this and SEP V011 moved for a vote together. username_1: I was suggesting that we expand to include transcription end site as well as stop codons. How about including that as an option for people to discuss and vote on? I'll be fine if people decide that's a bridge too far and vote not to do transcription, but I think it's a consistent generalization and would like to see if others agree in the wider community. username_0: I've updated the SEP and after checking the biopolymer location symbols, updated them to be compatible. I've also changed the SEP from stop codons, to end points of transcription and translation, which I feel better captures the actual meaning. username_1: Look great! I adjusted slightly for archival purposes (linking the glyphs to the permanent commit since the branch will eventually go away; adding the discarded variants to the discussion section). I believe this should now be ready for a vote, and will propose such on the list. Status: Issue closed username_1: Accepted and integrated, and thus closed per SBOL procedure in updated SEP 001.
razorpay/razorpay-ios-sample-app
361730195
Title: iPhone X design issues Question: username_0: When integrating iOS SDK, the payment options goes beyond the safe area of iPhone X resulting in "Pay X" button not fully visible. Is this something that can be addressed, as there is no way to control the view launched in SDK. Refer the screenshot. ![simulator screen shot - iphone x - 2018-09-19 at 18 11 54](https://user-images.githubusercontent.com/43410178/45753814-8b3c2d00-bc37-11e8-8712-4244679c971c.png) Answers: username_1: Thank you for reporting this issue , we are currently working on it , as of now users have to scroll to access the pay button but we are making a release soon and it will be fixed in that. Status: Issue closed username_0: Is there any time frame when the new release is coming out ? username_1: When integrating iOS SDK, the payment options goes beyond the safe area of iPhone X resulting in "Pay X" button not fully visible. Is this something that can be addressed, as there is no way to control the view launched in SDK. Refer the screenshot. ![simulator screen shot - iphone x - 2018-09-19 at 18 11 54](https://user-images.githubusercontent.com/43410178/45753814-8b3c2d00-bc37-11e8-8712-4244679c971c.png) username_1: We are making a release on 28th September , please wait till then. Status: Issue closed username_1: closing as this issue has been fixed.
RobertFont/AlphaProject
298353223
Title: Implement a info text over the building's icons Question: username_0: Add a text that will appear when the mouse is over the building's icon. *EXPECTED RESULT:* _Implement a text that will appear when the mouse is over a building's icon showcasing what the building does and it's cost._<issue_closed> Status: Issue closed
dnsev-h/x
448789803
Title: mouse-over thumbnails is covered Question: username_0: if num of galleries less than 7, the infinite scroll page header will cover the mouse-over thumbnails ![Sora_2019-05-27_18-45-35](https://user-images.githubusercontent.com/24854146/58414988-a35e2900-80af-11e9-9552-aab45597f6b1.png) Status: Issue closed Answers: username_1: Fixed in [v1.1.1](https://github.com/username_1/x/commit/4dd506a6acf172cbef7d0524b7896047354e2a9d)
Ataeraxia/socialize
310846187
Title: this.props is undefined on page refresh Question: username_0: Unexpected behaviors: - When refreshing the page, ... hold on Behaviors should be: What I tried: What has an effect: Answers: username_0: So currently I'm doing console.log(this.props.contact), and the result is that on page refresh, console is logging undefined once and then the contact object. username_0: Why is my code firing twice? How do I tell it to wait for the right info? username_0: Unexpected behaviors: - When refreshing the page, ... hold on Behaviors should be: What I tried: What has an effect: username_0: Page gets refreshed, either automatically by Meteor/React, or manually by me. Component loads once without props. Then it loads again with props. However, my code tries to execute the first time, not the second. I tried doing the { this.props && } thing again to wrap the deletion button, but it doesn't work this time. I get console logging a Typeerror twice everytime I click the button. username_0: Tried adding { this.props._contact_ && ..., still doesn't work. username_0: Added onClick={this.handleDelClick_.bind(this)_}, it works now, but mongo is giving me an error and I don't know how to redirect. username_0: I _think_ I can close this, but I'm not sure.
t3docs/docker-render-documentation
402239277
Title: It is not possible to render a standalone README.rst / README.md with this Docker image Question: username_0: output: ```ATTENTION: No documentation found! No documentation rendered! Reason: None of the possible starting files (called "masterdoc") could not be found. Please provide at least one of the following. They will be taken into account in this order of preference: 1. Documentation/Index.rst 2. Documentation/index.rst 3. Documentation/Index.md 4. Documentation/index.md 5. README.rst 6. README.md 7. doc/manual.sxw ``` But README.rst (see number 5) does exist! So actually, according to the output it should work, right? What did work was: 1. Documentation/Index.rst 2. Documentation/index.rst Documentation currently also lists standalone readme as option: https://docs.typo3.org/typo3cms/HowToDocument/Appendix/SupportedFilenamesAndFormats.html If this should no longer be supported, we should check how many extensions this affects and update the documentation. Answers: username_0: @username_1 @DanielSiepmann Can someone with write access to this repo please add the label "bug" to this issue? Also, I don't know how many extensions this affects, but can you please consider adding a label "high priority" or "severe" or something else and add it to this issue? I will now close some of the more trivial nice-to-have doc issues (from myself). username_1: This issue is fixed in master >= v2.0.0 username_0: Please also see new issue #64 (menu). As for this issue, I tested locally with v2.1.0 and it works fine. Status: Issue closed
MicrosoftDocs/azure-docs
426619595
Title: AuthenticationType=None Question: username_0: Until late last year the &lt;Item Key="AllowInsecureAuthInProduction"&gt;true&lt;/Item&gt; was not present in this REST API claims provider example. When it was introduced it was to discourage the use of unauthenticated API endpoints and raise awareness with B2C custom policies developers by requiring them to explicitly add this parameter to leverage endpoints with AuthenticationType=None in a Production environment. In this article there is no context nor explanation regarding this rather important setting and I wish you would add that. Perhaps remove the setting from the xml snippet and discuss it below in a section of it's own? Or have a separate snippets for Test and Prod? Anything to address it would be nice :-) My worry is that someone uses this example in a Test environment, not knowing that this setting is in fact an "override" and when they get the API claims provider working they move this configuration to a Production environment, and not surprisingly, it will work there also. Thanks in advance! --- #### Document Details ⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.* * ID: af62e857-35e1-498d-5a8f-49fe9c15ca9c * Version Independent ID: 40e1240b-e79e-f6e8-28c9-c61731fa64cf * Content: [Integrate REST API claim exchanges in your Azure Active Directory B2C user journey](https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-custom-rest-api-netfw) * Content Source: [articles/active-directory-b2c/active-directory-b2c-custom-rest-api-netfw.md](https://github.com/Microsoft/azure-docs/blob/master/articles/active-directory-b2c/active-directory-b2c-custom-rest-api-netfw.md) * Service: **active-directory** * GitHub Login: @username_2 * Microsoft Alias: **davidmu** Answers: username_1: @username_0 Thanks for your feedback! We will investigate and update as appropriate. username_1: @username_0 Apologies for the delay. We have also been able to see the same on our end. @username_2 David, could this be corrected ? username_2: @username_1: Please assign this item to @username_3 who is now supporting Azure AD B2C. username_3: #reassign:username_3 @FrankHu-MSFT Another one that needs the **B2C/subsvc** label when you have a minute, Frank. Thanks! Status: Issue closed
godotengine/godot
304166175
Title: Disable showing editor for selected node on scene tree Question: username_0: Sometimes when I'm editing a script I run the game right away to see the changes, instead of looking at the 3D/2D scene editor, and want to be always on the script editor. The problem is that if I select a different node in the scene tree panel, Godot shows the default editor for that node and I have to be constantly switching back to the script editor. This improvement add an option for editor setting to disable that behavior, so no matter what node I select on the scene tree, the editor that is currently active will remain so. It's useful for live editing too and also for scripts that have exported properties or access other nodes in the hierarchy, so that if one needs to tweak some properties in the attributes editor while still editing the script, Godot won't switch the current editor (related to [this usability issue](https://github.com/godotengine/godot/issues/12721)) The changes that need to be done are in [this commit](https://github.com/username_0/godot/commit/f16e5de099ccda44d857d5f8383b1fa713fd35d4). Answers: username_0: I made [some modifications](https://github.com/username_0/godot/commit/becc9a15f5d41aeb2855dbd0666119c1b8484fa3) so that double-clicking on a node in the scene tree still show the default editor for that node, although showing the editor with only one click can be disabled from the editor settings. username_1: Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated [**Godot Improvement Proposals (GIP)**](https://github.com/godotengine/godot-proposals) ([godotengine/godot-proposals](https://github.com/godotengine/godot-proposals)) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine. The main ([godotengine/godot](https://github.com/godotengine/godot)) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker. If you are interested in this feature proposal, please [**open a new proposal on the GIP tracker**](https://github.com/godotengine/godot-proposals/issues/new/choose) following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance! Status: Issue closed
Agile-and-Adaptive-Robotics/Bipedal_Robot
686713432
Title: Adjust foot design to include bearings and axles Question: username_0: The current foot design by Ty uses 3D printed components as axles and has multiple parts that slide against one another. The design should be updated to include bearings and metal axles to reduce friction.
facebook/redex
1094913350
Title: I noticed my dex version was 39, which isn't supported by Redex (v35). Is there a specific android version cutoff where my dex files are v35? Question: username_0: I noticed my dex version was 39, which isn't supported by Redex (v35). Is there a specific android version cutoff where my dex files are v35? _Originally posted by @nigel in https://github.com/facebook/redex/issues/507#issuecomment-693732156_ Answers: username_1: See [Android Dex documentation](https://source.android.com/devices/tech/dalvik/dex-format#embedded-in-header_item). | Android Version | API Level | Dex Level | | ------------------ | --------- | ----------- | | Before 7 | <24 | 35 | | 7 | 24 | 37 | | 8 | 26 | 38 | | 9 | 28 | 39|
byte-fe/intern-study
327157471
Title: canva以及一些平时用到的坑与知识点 Question: username_0: # canvas操作 1. 关于canvas的变换矩阵 ```javascript this.sector.setTransform( Math.cos(s), Math.sin(s), -1 * Math.sin(s), Math.cos(s), 600 - Math.cos(s) * 600 + Math.sin(s) * 600, 600 - Math.sin(s) * 600 - Math.cos(s) * 600 ) ``` 不改变旋转中心, 2. canvas适配,配合高清屏幕,可以将canva的width和height放大,放大倍数看具体的设备的window.devicepixelradio。最后在将canva的dom的css . 大小width和height设置成ui要求的大小 # 关于viewport的适配 使用的是webpack,在postcss.config.js中设置好,如下: ```JavaScript require('postcss-px-to-viewport')({ viewportWidth: 750, viewportHeight: 1332, unitPrecision: 3, viewportUnit: 'vw', selectorBlackList: ['.nvw', '.hairlines'], minPixelValue: 1, mediaQuery: false }), require('postcss-viewport-units')() ``` #VUE踩坑 1.对象和数组变化时候,ui没监视到,没有触发一定的更新。虽然平时看文档 有见到过 还是在实践中踩坑了。所以不能直接操作对象和数组的改变,可以如下和文档一样的操作: ```javascript Vue.set(vm.items, indexOfItem, newValue) vm.$set(vm.items, indexOfItem, newValue) vm.items.splice(indexOfItem, 1, newValue) vm.userProfile = Object.assign({}, vm.userProfile, { age: 27, favoriteColor: 'Vue Green' }) ``` # git 远程链接 将本地的ssh key放入git上,可以链接该git,查看ssh key: ```ssh cat ~/.ssh/id_rsa.pub ``` 将本地的ssh key添加入远程机子 ```ssh cat ~/.ssh/authoried 具体按tab 忘记是单词了哈 ``` 连接远程机子:用户名和ip ```ssh ssh xiaoyanhui@ip ``` # 收获数据库的2个技巧 1. 因为线上和线下的数据库不用, 所以,可以定义一个alias指向对应的数据库,这样在开发代码中都 只是写alias,如下: ```js psm: 'toutiao.mysql.testdb', alias: 'caijing.cms.stock.read', ``` # 遇到的问题 在vue中 引入某个插件(自定义),其顶层对象是widow吗,在mouted中给window添加原型链方法会 出现意外,引用错误。
nikita36078/J2ME-Loader
314316119
Title: Lag di game tank battle 3D Question: username_0: **Emulator veesion** 1.2.8.7 **Game version:** 1.5.1 **Game resolution:** ``(For example, 240x320 or 640x360)`` 630x360 Toucheren **Device:** ``(For example, Samsung Galaxy S7)`` J120G **Android version:** 5.1 **Description of the issue:** ``(What's the problem? - Screenshots showing the issue if applicable)`` @username_1, Try playing the game (Tank battle). the game is very slow. Answers: username_1: Fixed Status: Issue closed
jpd002/Play-
176295866
Title: Start and select buttons are not mapping on controller. (iOS) Question: username_0: @username_1 hi there. As You see in the title start and select buttons not mapping on the controller so if you please add them. To could use it. Thanks a lot. Answers: username_0: @username_1 it's been long time you didn't answer. If you have a free time just add them please. username_1: I really wish I had more free time! I'll do it at some point, but I can't give any ETAs.
material-theme/vsc-material-theme
597136157
Title: Search accent color Question: username_0: After upgrading to last version of VSCode: ``` Version: 1.44.0 Commit: <PASSWORD> Date: 2020-04-08T08:23:56.137Z (1 day ago) Electron: 7.1.11 Chrome: 78.0.3904.130 Node.js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Darwin x64 19.4.0 ``` Text color of search bar on Material Darker theme become bright white instead light gray. ![Снимок экрана 2020-04-09 в 12 05 43](https://user-images.githubusercontent.com/9008978/78878111-87ab0980-7a5a-11ea-8b60-42189f01d4f8.png)<issue_closed> Status: Issue closed
ultrakiwi/distributeur
124647260
Title: gestion des appuis longs Question: username_0: Gérer les appuis longs afin d'améliorer l'IHM. Cas d'utilisation : * un appui supérieur à un temps défini est considéré comme un appui long * possibilité de déclencher régulièrement un évènement causé par un appui long (ex. incrémentation d'une valeur tant que le bouton est enfoncé ; pratique pour régler l'heure)
socrata/opendatanetwork.com
146768948
Title: Extend Edu Places to metros, counties and states Question: username_0: Any reason we shouldn't include the edu places data at all levels metros/counties/states? the data is fairly rich now, and I think just setting the right zoom on the map's sufficient <img width="937" alt="screen shot 2016-04-07 at 4 13 16 pm" src="https://cloud.githubusercontent.com/assets/1051776/14369655/bb4d4c4a-fcdb-11e5-92bb-d4348f7ecdc2.png"> Answers: username_1: Changed education_places to work for the following regions: ['state', 'county', 'msa', 'place']. Fixed. Status: Issue closed username_0: Any reason we shouldn't include the edu places data at all levels metros/counties/states? the data is fairly rich now, and I think just setting the right zoom on the map's sufficient <img width="937" alt="screen shot 2016-04-07 at 4 13 16 pm" src="https://cloud.githubusercontent.com/assets/1051776/14369655/bb4d4c4a-fcdb-11e5-92bb-d4348f7ecdc2.png"> username_0: Looks like the focus is off for states and metros, seems to work for counties and cities, see: _1 states: http://opendatanetwork-staging.herokuapp.com/region/0400000US25/Massachusetts/education_places note: shows entire US, not a focus on MA. _2 metros: http://opendatanetwork-staging.herokuapp.com/region/310M200US35620/New_York_Metro_Area_(NY-NJ-PA)/education_places username_1: It looks like this is a failing when we try to geocode a metro. The US Gazetteer dataset does not have lat-longs for the NY Metro Area for instance. We can't look up the metro's lat-long so we can't center the map. How difficult is to add geocoding for every place we care about? @username_0 @username_2 username_2: The census does not release gazetteer files for metro areas since they are not census designated areas. We could look up the polygon in the topojson file that we use for rendering the map and compute the centroid from that. username_0: What about counties and states, are they more straightforward?
streamlink/streamlink
1064910361
Title: stream.dash_manifest: range attribute in initialization segment Question: username_0: ### Checklist - [X] This is a bug report and not a different kind of issue - [X] [I have read the contribution guidelines](https://github.com/streamlink/streamlink/blob/master/CONTRIBUTING.md#contributing-to-streamlink) - [X] [I have checked the list of open and recently closed bug reports](https://github.com/streamlink/streamlink/issues?q=is%3Aissue+label%3A%22bug%22) - [X] [I have checked the commit log of the master branch](https://github.com/streamlink/streamlink/commits/master) ### Streamlink version Latest stable release ### Description It seems that `dash_manifest.py` needs to support range attribute of initialization segment. I played mpd made with Bento4 tools: `mp4dash -f -o bento4 --mpd-name=manifest.mpd --no-split --use-segment-list video-frag.mp4 audio-frag.mp4` Video and audio play normally once, but it won't stop there. Playback continues, video stops motion with errors and audio plays. This is the content of mpd: ``` <?xml version="1.0" ?> <MPD xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" minBufferTime="PT10.01S" mediaPresentationDuration="PT30.097S" type="static"> <!-- Created with Bento4 mp4-dash.py, VERSION=2.0.0-639 --> <Period> <!-- Video --> <AdaptationSet mimeType="video/mp4" segmentAlignment="true" startWithSAP="1" maxWidth="768" maxHeight="432"> <Representation id="video-avc1" codecs="avc1.4D401E" width="768" height="432" scanType="progressive" frameRate="30000/1001" bandwidth="699597"> <SegmentList timescale="1000" duration="10010"> <Initialization sourceURL="video-frag.mp4" range="36-746"/> <SegmentURL media="video-frag.mp4" mediaRange="747-876117"/> <SegmentURL media="video-frag.mp4" mediaRange="876118-1466913"/> <SegmentURL media="video-frag.mp4" mediaRange="1466914-1953954"/> <SegmentURL media="video-frag.mp4" mediaRange="1953955-1994652"/> </SegmentList> </Representation> </AdaptationSet> <!-- Audio --> <AdaptationSet mimeType="audio/mp4" startWithSAP="1" segmentAlignment="true"> <Representation id="audio-und-mp4a.40.2" codecs="mp4a.40.2" bandwidth="98808" audioSamplingRate="48000"> <AudioChannelConfiguration schemeIdUri="urn:mpeg:mpegB:cicp:ChannelConfiguration" value="2"/> <SegmentList timescale="1000" duration="10010"> <Initialization sourceURL="audio-frag.mp4" range="32-623"/> <SegmentURL media="audio-frag.mp4" mediaRange="624-124199"/> <SegmentURL media="audio-frag.mp4" mediaRange="124200-250303"/> <SegmentURL media="audio-frag.mp4" mediaRange="250304-374365"/> <SegmentURL media="audio-frag.mp4" mediaRange="374366-374836"/> </SegmentList> </Representation> </AdaptationSet> </Period> </MPD> ``` I tried this mpd directly with mpv: `mpv http://127.0.0.1:8888/bento4/manifest.mpd` Warnings are reported many times (`[ffmpeg] Invalid return value 0 for stream protocol`), but video and audio seem to play fine, just once then stop. ### Debug log ```text streamlink -l debug http://127.0.0.1:8888/bento4/manifest.mpd best [Truncated] [stream.ffmpegmux][debug] Pipe copy complete: /var/tmp/streamlinkpipe-55925-1-9651 [stream.ffmpegmux][debug] Closing ffmpeg thread [stream.ffmpegmux][debug] Closed all the substreams [cli][info] Stream ended AV: 00:00:30 / 00:00:30 (100%) A-V: -0.411 Invalid video timestamp: 30.163000 -> 29.996000 AV: 00:00:30 / 00:00:30 (100%) A-V: -0.244 Invalid video timestamp: 29.996000 -> 29.996000 AV: 00:00:29 / 00:00:30 (99%) A-V: -0.294 Dropped: 1 Invalid video timestamp: 29.996000 -> 29.996000 AV: 00:00:29 / 00:00:30 (99%) A-V: -0.294 Dropped: 2 *** snipped *** Invalid video timestamp: 29.996000 -> 29.996000 AV: 00:00:29 / 00:00:30 (99%) A-V: -0.294 Dropped: 892 Invalid video timestamp: 29.996000 -> 29.996000 AV: 00:00:29 / 00:00:30 (99%) A-V: 0.000 ct: -0.104 Dropped: 896 Exiting... (End of file) [cli][info] Closing currently open stream... ```
myquay/JsonPatch
522704897
Title: Position larger than array size Question: username_0: Consider the following FAKE class and instances examples ``` using System.Collections.Generic; class Program { class Car { public ComplexCarPart ComplexParts { get; set; } } class ComplexCarPart { public CarPart Parts { get; set; } } class CarPart { public List<Property> Properties { get; set; } } class Property { public string Name { get; set; } } static void Main(string[] args) { Car c = new Car(); c.ComplexParts = new ComplexCarPart(); c.ComplexParts.Parts = new CarPart(); c.ComplexParts.Parts.Properties = new List<Property>() { new Property() { Name = "Unique" } }; } } ``` patch document looks like this: { "op": "replace", "path": "/complexparts/parts/properties/0", "value": { "Name": "plain" } } trying to apply the patch document results Marvin.JsonPatch.Exceptions.JsonPatchException`1: 'Patch failed: provided path is invalid for array property type at location path: /complexparts/parts/properties/0: position larger than array size'<issue_closed> Status: Issue closed
Draylar/identity
790255154
Title: 1.11.0 or later keep crashing Question: username_0: 1.11.0 or later keeps crashing. All other mods are compatible, even without other mods and just fabric api it still crashes while loading minecraft. 1.10.2 works fine though Answers: username_0: <img width="558" alt="Screenshot 2021-01-20 at 19 32 56" src="https://user-images.githubusercontent.com/77751062/105225353-59fd0000-5b56-11eb-9c85-0875318a74a2.png"> username_1: What Minecraft version are you attempting to run this on? Identity is compatible with 1.16.4. username_2: Please post your full game log to _https://hastebin.com/_ and upload the link here. username_0: @username_1 i am on fabric 1.16.4, but if they have updated the launcher then i might not have the newer version. i'll see if that is the case username_0: ---- Minecraft Crash Report ---- // Ooh. Shiny. Time: 21/01/21 11:20 Description: Initializing game java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'identity'! at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53) at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36) at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient.start(EntrypointClient.java:32) at net.minecraft.class_310.<init>(class_310.java:437) at net.minecraft.client.main.Main.main(Main.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226) at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:139) at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:27) Caused by: java.lang.BootstrapMethodError: java.lang.NoClassDefFoundError: net/fabricmc/fabric/api/networking/v1/PacketSender at draylar.identity.network.ServerNetworking.registerUseAbilityPacketHandler(ServerNetworking.java:24) at draylar.identity.network.ServerNetworking.init(ServerNetworking.java:20) at draylar.identity.Identity.onInitialize(Identity.java:41) at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:50) ... 11 more Caused by: java.lang.NoClassDefFoundError: net/fabricmc/fabric/api/networking/v1/PacketSender ... 15 more Caused by: java.lang.ClassNotFoundException: net.fabricmc.fabric.api.networking.v1.PacketSender at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at net.fabricmc.loader.launch.knot.KnotClassLoader.loadClass(KnotClassLoader.java:168) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 15 more A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace: at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke0(EntrypointUtils.java:53) at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointUtils.invoke(EntrypointUtils.java:36) at net.fabricmc.loader.entrypoint.minecraft.hooks.EntrypointClient.start(EntrypointClient.java:32) at net.minecraft.class_310.<init>(class_310.java:437) -- Initialization -- Details: Stacktrace: at net.minecraft.client.main.Main.main(Main.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:226) at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:139) at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:27) [Truncated] fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.3.1+facf3bbf3a fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.0+872498413a fabric-structure-api-v1: Fabric Structure API (v1) 1.1.0+f8ac1db23a fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.0.3+ac8e8c593a fabric-textures-v0: Fabric Textures (v0) 1.0.5+a4467d2a3a fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.4+2b4623793a fabricloader: Fabric Loader 0.11.1 identity: Identity 1.11.2-beta-1.16.4 io_github_onyxstudios_cardinal-components-api: Cardinal-Components-API 2.7.9 java: Java HotSpot(TM) 64-Bit Server VM 8 minecraft: Minecraft 1.16.4 playerabilitylib: Pal 1.2.1 Launched Version: fabric-loader-0.11.1-1.16.4 Backend library: LWJGL version 3.2.1 build 12 Backend API: NO CONTEXT GL Caps: Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'fabric' Type: Client (map_client.txt) CPU: <unknown> username_0: @username_2 i found the fix. i needed the the fabric api for 1.16.4 Status: Issue closed
basepom/basepom
67017024
Title: add the moderizr Question: username_0: https://github.com/username_1/modernizer-maven-plugin Answers: username_0: deferred until https://github.com/username_1/modernizer-maven-plugin/pull/31 is applied. username_1: @username_0 1.4.0 released and synced to Maven Central. username_0: Now waiting for username_1/modernizer-maven-plugin#40, username_1/modernizer-maven-plugin#41, username_1/modernizer-maven-plugin#42 and username_1/modernizer-maven-plugin#43 Status: Issue closed
conan-io/conan
207495107
Title: Problems with Python 2.6 encoding and commandlines using codepage 850 Question: username_0: Hi, in my `conanfile.py` I wrapped a compiler call with your `self.run(...)`-method. That works great until my compiler printed some warnings, that contained some German umlauts like ä or ö. Here's the error-code I got: ```ERROR: Unable to build it successfully File "D:\my\project\conanfile.py", line 70, in build self.run(compiler, args) File "C:\Python27\lib\site-packages\conans\model\conan_file.py", line 235, in run retcode = self._runner(command, output, os.path.abspath(RUN_LOG_NAME), cwd) File "C:\Python27\lib\site-packages\conans\client\runner.py", line 44, in __call__ return self._pipe_os_call(command, stream_output, None, cwd) File "C:\Python27\lib\site-packages\conans\client\runner.py", line 66, in _pipe_os_call get_stream_lines(proc.stdout) File "C:\Python27\lib\site-packages\conans\client\runner.py", line 60, in get_stream_lines stream_output.write(decoded_line) File "C:\Python27\lib\site-packages\colorama\ansitowin32.py", line 40, in write self.__convertor.write(text) File "C:\Python27\lib\site-packages\colorama\ansitowin32.py", line 141, in write self.write_and_convert(text) File "C:\Python27\lib\site-packages\colorama\ansitowin32.py", line 169, in write_and_convert self.write_plain_text(text, cursor, len(text)) File "C:\Python27\lib\site-packages\colorama\ansitowin32.py", line 174, in write_plain_text self.wrapped.write(text[start:end]) File "C:\Python27\lib\encodings\cp850.py", line 12, in encode return codecs.charmap_encode(input,errors,encoding_map) UnicodeEncodeError: 'charmap' codec can't encode character u'\u201e' in position 6: character maps to <undefined> ``` Unfortunately, I cant get the compiler to print english warnings and errors and work around this problem. I'm working with German Windows 7 and my console is using codepage 850. I did *not* set the environment variable `PYTHONIOENCODING`. If I set it locally to `Windows-1252` everything works fine. But I can't ensure that it's set on any other system. Answers: username_1: You mean py2.7, right? From the trace it seems so. username_0: Yeah, it's Python 2.7.13, sorry for confusion. Seems like a typo in the topic. username_1: Hi! I have been working on this for a while. As usual with encodings, a total nightmare. I came with a patch in: https://github.com/conan-io/conan/pull/1023 that does aggressive encoding/decoding to latin-1, will loose chars, but at least might work without crashing. As you say, codepage 850, is very common, so this is expected to fail otherwise for more people that do not set the encoding. Actually, the umlauts where not the one failing but the u'\u201e', which is some double low quotes. Hope this fixes the issue. Thanks again for reporting Status: Issue closed username_1: Released in 0.20, please upgrade and report if something fails again. Thanks!
CarterCommunity/Carter
500118299
Title: ASP.NET Core 3 signatures Question: username_0: I have been thinking about what we have in #112 and what we can do there. I have been thinking Carter could expose the ASP.NET Core APIs yet still offer its own features. This means we could offer the same as ASP.NET Core APIs such as `this.Get("/", ctx => ctx.WriteAsync("hi").RequiresAuth().RequiresHost()` however I am currently unsure how to wire this up. We currently do this for ASPNET3 https://github.com/CarterCommunity/Carter/blob/aspnetcore3/src/CarterExtensions.cs#L58 but I'm not sure if CarterModule should expose a list of `IEndpointConventionBuilder` potentially and then wire that up to the endpoint routing middleware. Hoping @username_1 can help point in the right direction Answers: username_1: `UseCarter` should hang off `IEndpointConventionBuilder` instead of hanging off `IApplicationBuilder` (and would be renamed to MapCarter). Middleware can act on selected endpoints when chosen so things like authorization/cors can be moved outside of the framework into middleware. As part of route registration users should have a way to add metadata to their route. ```C# public class ProductsModule : CaterModule { public MyModule() : base("/products") { this.Get("/", ctx => ctx.WriteAsync("hi")).RequireAuthorization(); } } ``` The `CarterModule` would be a mini DSL over routing. Quickly looking at the code I'm not sure how you could expose the `IEndpointConventionBuilder` from the route registration methods without a breaking change. Maybe it could be an argument instead? Here's a strawman: ```C# using System; using System.Collections.Generic; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Routing; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; namespace CarterDemo { public class HelloModule : CarterModule { public HelloModule() { Get("/", context => context.Response.WriteAsync("Hello World")).RequireAuthorization(); } } public class CarterModule { internal readonly Dictionary<(string verb, string path), (RequestDelegate handler, RouteConventions conventions)> Routes = new Dictionary<(string verb, string path), (RequestDelegate handler, RouteConventions conventions)>(); public IEndpointConventionBuilder Get(string path, RequestDelegate handler) { var actions = new RouteConventions(); Routes.Add((HttpMethods.Get, path), (handler, actions)); return actions; } internal class RouteConventions : IEndpointConventionBuilder { private readonly List<Action<EndpointBuilder>> _actions = new List<Action<EndpointBuilder>>(); public void Add(Action<EndpointBuilder> convention) { _actions.Add(convention); } [Truncated] // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IWebHostEnvironment env) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } app.UseRouting(); app.UseAuthorization(); app.UseEndpoints(endpoints => { endpoints.MapCarter(); }); } } } ``` username_0: Awesome, will take a look. I'm fine with a breaking change so if there's anything else you think which might be more appropriate I'm all ears! Thanks again username_0: @username_1 Is there a difference in using `IEndpointConventionBuilder` and `EndpointDataSource` ``` .UseEndpoints(builder => { var dataSource = new DefaultEndpointDataSource( new RouteEndpointBuilder( context => context.Response.WriteAsync(context.Request.Method.ToString()), RoutePatternFactory.Parse("/test"), 0) .Build() ); builder.DataSources.Add(dataSource); ``` username_0: I also can't see when CompositeConventionBuilder.Add would be called? username_1: `CompositeConventionBuilder` implements `IEndpointConventionBuilder` which is where Add comes from. When you call something like `RequireAuthorization` it calls Add on the builder https://github.com/aspnet/AspNetCore/blob/16a47948f80fede807fabe3c291d793590e8fd17/src/Security/Authorization/Policy/src/AuthorizationEndpointConventionBuilderExtensions.cs#L82. It's how all conventions work. username_0: Yup, I see, got it. Got onion layers going on... Thanks Status: Issue closed
saltstack/salt
196007477
Title: salt-minion 2016.11.* does not start as service on Windows 2008R2 Question: username_0: Salt Version: Salt: 2016.11.1 Dependency Versions: cffi: 1.7.0 cherrypy: 7.1.0 dateutil: 2.5.3 gitdb: 0.6.4 gitpython: 2.0.8 ioflo: 1.5.5 Jinja2: 2.8 libgit2: Not Installed libnacl: 1.4.5 M2Crypto: Not Installed Mako: 1.0.4 msgpack-pure: Not Installed msgpack-python: 0.4.8 mysql-python: Not Installed pycparser: 2.14 pycrypto: 2.6.1 pygit2: Not Installed Python: 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:24:40) [MSC v.150 0 64 bit (AMD64)] python-gnupg: 0.3.8 PyYAML: 3.11 PyZMQ: 16.0.1 RAET: Not Installed smmap: 0.9.0 timelib: 0.2.4 Tornado: 4.4.1 ZMQ: 4.1.6 System Versions: dist: machine: AMD64 release: 2008ServerR2 system: Windows version: 2008ServerR2 6.1.7601 SP1 Multiprocessor Free ``` Answers: username_1: Do you have Microsoft Visual C++ 2008 x64 SP1 installed? You will need that for Windows 2008, it is no longer needed for 2012 and 2016. username_0: I don't think this is the issue: I can start salt-minion, it works just fine, but it won't run as a service on the server, that's all. I'll check that as well, you never know. username_2: @username_0 we didn't see this in our windows package tests for either 2016.11.0/1 for 2008 r2. Are you activating debug mode in hte config file? And its still not logging? When you start the service does it show as running or do you see an error? Are there any windows system logs that might indicate what the issue is? thanks username_0: It seems to loop on nssm starting Python.exe, crashing for some reason, returning error code 1 and restarting. Zip of the EVTX (in french sorry I don't have any English-enabled 2008R2): [debug_salt_minion.zip](https://github.com/saltstack/salt/files/658684/debug_salt_minion.zip) username_3: if you change the last line of salt-minion-debug.bat to ``` "%Python%" "%Script%" -l debug >c:\windows\temp\salt-minion-python.log 2>&1 ``` do you get anything in the file : c:\windows\temp\salt-minion-python.log username_2: @username_0 ahhh! you aren't using english windows. I believe this is a duplciate of #38246 then which has been fixed in https://github.com/saltstack/salt/pull/38247. Can you give that fix a try and report back whether its working? username_0: The proposed patch fixed the issue. Thank you very much! Status: Issue closed username_4: I also have the same issue on win server 2012 R2 for a long time so we are unable to debug what kind of modules are failed to run for highstate. even i changed the minion config to debug/error mode and restart minion service and run some states though its not updating minion log. could you please suggest me here. username_2: as this issue has been closed for a while can you please open a new issue with the details @username_4 thanks
joelongstreet/data-forms
442426336
Title: Add an onboarding flow Question: username_0: Come up with a "first time" flow that explains what this tool is and how to use it. This might be a video or a "click here, next click here, next do this..." Answers: username_0: On first opening the page, open the examples view with a centered modal explaining what dataforms is and how it works. username_0: * On opening of webpage, show the examples screen * Show a modal on the top of the example screen explaining how this project works * Add a "fork" button on each example popover * Add additional help details in the data entry section explaining how columns and rows work * Hovering over an example should change it's picture. Mouse outting should restore the image to it's first state. Status: Issue closed
nicokosi/pullpito
335662235
Title: Apply counters to a known time interval (or forever) Question: username_0: Current counters are meaningless because GitHub API's pagination is not currently used (cf. https://developer.github.com/guides/traversing-with-pagination/). Request GitHub API with pagination in order to either: - retrieve all events for a time interval - retrieve all events (forever!)
raspu/Highlightr
508856549
Title: Abandoned? Question: username_0: Is this project abandoned? Have not seen to be any updates last year and no pull requests are merged? Answers: username_1: Definitely abandoned. I'm going to use highlight.js inside of a webview and see how it goes. username_2: I currently use this for my [text editor](https://github.com/username_2/Moped), so I've been keeping a brach/PR (#73) going with updates. Feel free to use the PR or my fork directly (same code). username_3: @username_4 Any update on this? username_2: I can't speak on behalf of @username_4, however I follow the master branch for this repo closely (I have a fork). He has been busy lately merging Pull Requests in December, so I don't believe the project to be abandoned, just slow. username_4: Hi guys, I think it's quite obvious I am no longer maintaining this, I am super sorry about that. I can add contributors if any of you would like to keep it alive, I'd really appreciate it a lot. If not you can use some of the forks that are more up to date. username_2: @username_4 sorry to hear this, I have a fork and I'm willing to contribute on the project - however, I would be unable to lead due to the level of commitments I currently have. username_4: @username_2 That's alright, if you can help maintain it that's more than enough. I will add you as a contributor.
Miere85/prj-rev-bwfs-tea-cozy
270320263
Title: SUBTLETY - flex styling Question: username_0: [header html](https://github.com/Miere85/prj-rev-bwfs-tea-cozy/blob/master/TeaCozy/index.html#L9-L26) [header styling](https://github.com/Miere85/prj-rev-bwfs-tea-cozy/blob/master/TeaCozy/resources/css/style.css#L45-L59) nice job using float to help align the items in the header section. another option you have is to use flex display, which could also be useful for other sections on the page. in this particular section, you would want to include styling like this - header { /*include rest of header styling*/ display: flex; justify-content: space-between; } this would put the maximum amount of space possible between the two elements inside header - logo and nav (as an aside, you are missing the = in class="logo" in the html for logo). more info about display flex can be found [here](https://css-tricks.com/snippets/css/a-guide-to-flexbox/) and [here](https://css-tricks.com/almanac/properties/j/justify-content/) and in previous exercises.
filecoin-project/lotus
652046436
Title: error in deal activation Question: username_0: **Describe the bug** While testing with many concurrent deals, some deals occasionally fail with `error in deal activation: failed to set up called handler: called check error (h: 31): client: failed to look up deal on chain: Index 439 not found in AMT` **To Reproduce** Occurs during deals stress testing; see https://github.com/filecoin-project/oni/pull/81 **Expected behavior** The deal should succeed, damn it! **Version (run `lotus version`):** master, `v0.4.2-0.20200703005127-9d56dabb316f` Answers: username_1: Hi @username_0 This issue has not been updated in some time. Should we close it or keep it open? username_0: this is ancient, probably not relrvant any more.
obi12341/docker-pyload
388880867
Title: omv + docker + pyload 1080p merge problem Question: username_0: I use omv + docker + pyload When I set the Quality Setting to 1080p , pyload download the video and audio desperately. There are two file, one is xxx.video.mp4, the other is xxx.audio.webm. Can they merge to one file? And I install ffmpeg in root command line. Is that something with the docker? Python: | 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609] -- | -- OS: | posix linux2 Linux 4.18.0-0.bpo.1-amd64 #1 SMP Debian 4.18.6-1~bpo9+1 (2018-09-13) x86_64 pyLoad version: | 0.4.9 Installation Folder: | /opt/pyload Config Folder: | /opt/pyload/pyload-config Download Folder: | /opt/pyload/Downloads Free Space: | 5.46 TiB Language: | en Webinterface Port: | 8187 Remote Interface Port: | 7227 Status: Issue closed Answers: username_1: This is not about pyload and omv support. Feel free to contact the pyload devs
codalab/codalab-worksheets
248925896
Title: Account deletion Question: username_0: I cannot find the entry point to make a request to delete my account. Where can I find this? Answers: username_1: Allowing users to delete their own accounts is still a todo. For now, please submit a request using the help button (the big '?' in the lower right corner) when you click on 'My Home' at the top. username_2: Deleted Status: Issue closed
sangupta/esclient
341159446
Title: Newer ES versions Question: username_0: Hi, First of all, what an underappreciated project, well done.Other libraries seem 'stringly' typed. I'd like to use it with newer versions of elasticseach (5), where e.g. the mappings are different. Are you planning on maintaining it going forward, and is there any way in which I could help updating it? Answers: username_1: @username_0 My bad on the delay in coming back to my open world. Let me take a look at what it will take to bring the client up-to-par with latest ES. Would you still be interested in helping? username_0: @username_1 happily. we ended up rolling out a copy and paste version of small parts of this library, and we'd be really keen to get rid of our proprietary stuff. It would initially be only weekends for me though username_0: I think the initial contribution from us could be mapping creation. We've got it decently typed by now, shouldn't take too long to port it over. username_1: @username_0 Thanks. Please feel free to raise a pull-request of the mappings you have. Thanks again!
longhorn/longhorn
1099922695
Title: [FEATURE] Loading http requests on demand Question: username_0: **Describe the Bug** longhorn-ui reloads all the data every time the page is switched. This doesn’t make much sense. It should load http requests on demand to reduce the pressure on the server. The request was loaded as shown below <img width="599" alt="截屏2022-01-12 下午1 22 35" src="https://user-images.githubusercontent.com/27733391/149068785-14e59a2d-3f9c-46f1-8be8-698728fd4dd2.png"> **Expected behavior** Longhorn ui should send requests on demand each time a page is switched. For example when routing to the Recurring Jobs page, only one http request for `v1/recurringjobs` should be sent. The dependencies of longhorn http request data are shown in the following diagram: <img width="987" alt="截屏2022-01-12 下午2 03 42" src="https://user-images.githubusercontent.com/27733391/149072780-8a9501b5-9bfb-412f-9445-8e8d9e186f00.png"> Answers: username_1: cc @longhorn/qa username_1: This has been fixed in https://github.com/longhorn/longhorn-ui/pull/480/commits/d76e056926bb2d77387f3b2f2c704d0b170576aa. username_2: Validation - **PASSED** A rough web page profiling comparison: - Measure for about ~30 seconds with DevTools > Performance - Fresh install + 2 volumes - Test steps: clicking through each main page | Version | XHR load time | Request by visual | | :- | :- | :-: | | v1.2.3 | 966.3ms (29.7%) | <img width="700" alt="Screen Shot 2022-01-21 at 4 58 24 PM" src="https://user-images.githubusercontent.com/602540/150497515-e2f1768f-fe6e-4ef2-af27-512e6331e2a5.png"> | | v1.3.x(master-head) | 779.ms (18.6%) | <img width="700" alt="Screen Shot 2022-01-21 at 4 57 00 PM" src="https://user-images.githubusercontent.com/602540/150497521-2917fab6-0e3f-4ffc-86ad-6313b75e3902.png"> |
Evernest/Evernest
54782905
Title: AccessRight should be treated as a contract Question: username_0: The enumeration `AccessRight` is de-facto a contract because it is used for contract properties. Thus, the enumeration should be moved to the contract folder. Then, in order to avoid surprises when (de)serializing, I strongly suggest to assign the enumeration values by default, see http://msdn.microsoft.com/en-us/library/cc138362.aspx Answers: username_1: The same goes for AccessAction, and FrontError once we keep track of some of them in a stream Status: Issue closed
QuentinLHB/AnimalsArena
963998086
Title: Sérialisation à ajouter à la GUI Question: username_0: La création d'un animal custom doit être sérialiser (reprendre ce qui a été fait sur l'interface console, possiblement l'extraire et la mettre dans la classe Util ou autre) Vérifier si l'affichage du bouton qui ne doit s'afficher que s'il y a qqch à désérialiser.<issue_closed> Status: Issue closed