Don't GC DW_TAG_variant(_part), they are referenced by their respective parents

This goes analogously to #2107.

DW_TAG_variant is referenced by parent DW_TAG_variant_part
DW_TAG_variant_part is referenced by parent DW_TAG_structure_type

Here is a random example from the debug build directory (of wasmtime itself):
0x00000635:       DW_TAG_structure_type
                    DW_AT_name ("Option<usize>")
                    DW_AT_byte_size    (0x10)
                    DW_AT_alignment    (8)

0x0000063c:         DW_TAG_variant_part
                      DW_AT_discr      (0x00000641)

0x00000641:           DW_TAG_member
                        DW_AT_type     (0x000006c7 "u64")
                        DW_AT_alignment        (8)
                        DW_AT_data_member_location     (DW_OP_plus_uconst 0x0)
                        DW_AT_artificial       (0x01)

0x0000064b:           DW_TAG_variant
                        DW_AT_discr_value      (0x00)

0x0000064d:             DW_TAG_member
                          DW_AT_name   ("None")
                          DW_AT_type   (0x0000066c "None")
                          DW_AT_alignment      (8)
                          DW_AT_data_member_location   (DW_OP_plus_uconst 0x0)

0x0000065a:             NULL

0x0000065b:           DW_TAG_variant
                        DW_AT_discr_value      (0x01)

0x0000065d:             DW_TAG_member
                          DW_AT_name   ("Some")
                          DW_AT_type   (0x0000067d "Some")
                          DW_AT_alignment      (8)
                          DW_AT_data_member_location   (DW_OP_plus_uconst 0x0)

0x0000066a:             NULL

0x0000066b:           NULL

@yurydelendik another two.


Delete wallet is not working in next

Description
Delete wallet button does nothing when pressed

Expected Behavior
Should delete wallet

Actual Behavior
Delete button does nothing

Possible Fix
Issue is caused by
https://github.com/LN-Zap/zap-desktop/blob/next/app/reducers/wallet.js#L66
state entry which was recently moved to settings reducer

Steps to Reproduce

Open wallet settings

Press delete wallet

Press delete button

Closed via https://github.com/LN-Zap/zap-desktop/pull/1722


How to create a continuous deployment?

It is a bit unclear from this document how this should be done. Can I just create a build pipeline for the project, then deploy the output to the web app using "web app deploy" action?

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

ID: 9d5bd35d-3178-42cd-2893-3b6a4b7a94ce
Version Independent ID: 1545fd44-d471-d947-f94d-4b5e8d6e853f
Content: Tutorial to create and deploy a basic bot - Bot Service
Content Source: articles/v4sdk/bot-builder-tutorial-basic-deploy.md
Service: bot-service
GitHub Login: @ivorb
Microsoft Alias: kamrani

@support, please let the doc team know if we need to add anything to the docs.

@r3dr4gon This article is more for provisioning/deploying the intial resources. But yes, you can do that approach for (continuously) deploying the bot code to the Web App/App Service. As long as the other bot resources (Web App bot/Bot registration) exist and are already provisioned/deployed, then that will work.
This documentation  is meant to be a very quick and simple example on how to utilize continuous deployment for a bot's App Service with GitHub repo. But of course there are many different options and approaches for continuous deployment with Azure App Services.


i need a fix

can you fix the error Error while saving Prefab: 'Assets/Resources/PhotonVR/Player.prefab'. You are trying to save a Prefab that contains the script '', which does not derive from MonoBehaviour. This is not allowed.
Please change the script to derive from MonoBehaviour or remove it from the GameObject 'ObjectNameHere'.

I am unaware of that issue, try re-importing the player.cs script

ok i will try that

it didnt do anything just made it impossible for it to work

This is strange, try importing the package in a separate project and see if it works there.

ok but the impossible to work is for every script even before that

and it does work in other projects i will just change the project for my game if i get my game i will say and will close it

well im gonna update unity to try and fix

it is fixed


Remove redundant spelling

Summary of the Pull Request
What is this about?
Remove redundant spelling.
PR Checklist

[ ] Applies to #xxx
[X] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

/azp run


Publish to Chromatic

Once documentation is completed, we need to publish the storybook to chromatic.
Objective is to use the published storybook in Github Pages for the project.

Storybook could be published to Chromatic by using the following command from the terminal:
npx chromatic --project-token=************** --storybookBuildDir=dist/storybook/<library_name>
As we have configured the storybook-build command in Nx with its Angular Plugin the built storybook could be found in dist/storybook
In addition to this, we can use github workflows to automatically publish the storybook  to Chromatic which still needs to be done


Fail to connect to camera service

5 19:17:35.800 19929-19949/com.abc.app E/BufferQueueProducer: [unnamed-19929-1] dequeueBuffer: BufferQueue has been abandoned
We are getting continuously getting this above error in logcate and finally getting crashed with following log.
Thanks in advance.
FATAL EXCEPTION: CameraViewWorker                                                              Process: com.abc.app, PID: 30395                                                              java.lang.RuntimeException: Fail to connect to camera service                                                                  at android.hardware.Camera.<init>(Camera.java:497)                                                                  at android.hardware.Camera.open(Camera.java:342)                                                                  at com.flurgle.camerakit.Camera1.openCamera(Camera1.java:378)                                                                  at com.flurgle.camerakit.Camera1.start(Camera1.java:96)                                                                  at com.flurgle.camerakit.CameraView$3.run(CameraView.java:302)                                                                  at android.os.Handler.handleCallback(Handler.java:739)                                                                  at android.os.Handler.dispatchMessage(Handler.java:95)                                                                  at android.os.Looper.loop(Looper.java:135)                                                                  at android.os.HandlerThread.run(HandlerThread.java:61)

5 19:17:35.800 19929-19949/com.abc.app E/BufferQueueProducer: [unnamed-19929-1] dequeueBuffer: BufferQueue has been abandoned

What device does this happen on?

I have a same problem. Device LG K8, Android 6 M

Happening here still on a Samsung Galaxy S7 Edge.
If it is of any help it happens only when I return to the page that the camera is on after accessing a camera on another page. Note that in all the scenarios below, I have properly started and stopped the camera on the initial activity inside onPause(); and onResume();.
Scenario 1 - User receives in-app video call

Application opens up to camera page
User receives video call and accepts which takes them to a different activity
Call is terminated and finsh(); is called which returns user to the initial camera page
App throws error and crashes

Scenario 2 - User access camera for any reason in another Activity/Fragment

Application opens up to camera page
User browses through app and, for example, decides to change their profile pic by taking a photo (video also throws the issue) from the built in camera
User successfully uploads the new image/video and continues their journey through the app
User eventually returns to initial Activity at which point the error is thrown and app crashes

I believe Android apps gain an exclusive lock on the camera while they're using it. This is pure speculation, but my guess is that CameraKit is trying to initialize the camera before the other activity has deconstructed it.
Right now I think CameraKit waits 100ms, but if it is that race condition, maybe CameraKit needs to wait longer or preferably do something to detect if it can initialize the camera.

Did you guys figure anything out here?

Can you test this on the 1.0.0 PR here: #318 -- this issue should be resolved. We are heavily focused on getting 1.0.0 shipped so the goal is integrate all testing around that, if this issue still exists, add a comment in the PR please! =)
Closing as I believe this to be resolved in 1.0.0, but any PR comments will be addressed rapidly!
@Danm72 @jondoes @Pear0 @Xenero

Same problem on 0.13.1
Fatal Exception: java.lang.RuntimeException: Fail to connect to camera service
at android.hardware.Camera.(Camera.java:495)
at android.hardware.Camera.open(Camera.java:341)
at com.wonderkiln.camerakit.Camera1.openCamera(Camera1.java:667)
at com.wonderkiln.camerakit.Camera1.start(Camera1.java:124)
at com.wonderkiln.camerakit.CameraView$2.run(CameraView.java:266)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)
Device LG, Android 6.0.1

Same problem on Android 6.0.1 , LG device
Fatal Exception: java.lang.RuntimeException: Fail to connect to camera service
at android.hardware.Camera.(Camera.java:495)
at android.hardware.Camera.open(Camera.java:341)
at com.wonderkiln.camerakit.Camera1.openCamera(Camera1.java:667)
at com.wonderkiln.camerakit.Camera1.start(Camera1.java:124)
at com.wonderkiln.camerakit.CameraView$2.run(CameraView.java:266)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)

@austinkettner how have you closed this when it is clearly not resolved? There has been no 1.0.0 release so this needs to be left open for all suffering from this issue to have a place to report.

The previous problem seems like fixed with 1.0.0 , but I am getting the following error now :
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.graphics.SurfaceTexture.setDefaultBufferSize(int, int)' on a null object reference
at com.camerakit.CameraKitView$Camera2$1$3.run(CameraKitView.java:1737)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)
Android 6.0.1 LG

Please show us your full log so we can trace what happened before this
error.
On Mon, 28 May 2018 at 10:57 pm, Nandan Dutta<EMAIL_ADDRESS>wrote:

The previous problem seems like fixed with 1.0.0 , but I am getting the
following error now :
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual
method 'void android.graphics.SurfaceTexture.setDefaultBufferSize(int,
int)' on a null object reference
at com.camerakit.CameraKitView$Camera2$1$3.run(CameraKitView.java:1737)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)
Android 6.0.1 LG
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CameraKit/camerakit-android/issues/158#issuecomment-392520244,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIgngmQgobLVXM4xe2h9gkzd_EHrfVtPks5t2_QpgaJpZM4PCrv3
.

--
Regards
Brandon Stillitano
Project Manager
0401 007 904 <javascript:void(0);>


Added shards support

As of Crystal 0.8.0 shards is the default dependency manager.

:100: for Crystal 0.8.0 support.

:+1:

The latest commit make Amethyst work with 0.8.0 all specs passing :+1:

Meanwhile i don't know why Travis is failing :dart:

:+1:

@sdogruyol according to the travis report. It fails when executing crystal deps the shards dependency manager needs to be installed first.

Ah currently shards is an external executable. How can we make travis happy for this?

@sdogruyol, my PC is currently broken, but I think  Travis.yml should be edited to download and install shards manually first

Thanks @Codcore i'll look into that :)

Thanks to @jhass the build passed :+1:
Can you merge this @Codcore

@sdogruyol Nice job, thanks!!!

:+1:


How i can get base64 image encoding?

I need send base64 encode via input form, how i can get the base64 url of the file?

@jurbatista You can use a helper function in the lib for this purpose. For example:
const base64 = await imageCompression.getDataUrlFromFile(file)


Added new functionality: support for iterating across parameters in simulations

param_iter()
_param_generator()
It may be useful to iterate over specific parameters when generating synthetic power spectra. I have added functions (mentioned above) to do such tasks. Responds to #96

Codecov Report

Merging #99 into master will decrease coverage by 0.8%.
The diff coverage is 23.52%.

@@            Coverage Diff            @@
##           master     #99      +/-   ##
=========================================
- Coverage   97.41%   96.6%   -0.81%
=========================================
  Files          33      33
  Lines        1545    1562      +17
=========================================
+ Hits         1505    1509       +4
- Misses         40      53      +13

Impacted Files
Coverage Δ

fooof/synth.py
79.45% <23.52%> (-16.98%)
:arrow_down:

Continue to review full report at Codecov.

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

@ArcadeShrimp : okay, I left a bunch of review comments in the code, mostly for style, documentation and documentation. Go through and update these things in the code.
Code - we need tests!
Add at least one test case to fooof/tests/test_synth. You can mimic test_param_samples - just add something really basic to test param_iter executes, and seems to do what it's supposed to.

Code Update:
If you don't feed in a np.array, it fails in a sorta confusing way - with an UnboundLocal error, because 'ind' ends up not defined. We should fix this up - and I think the way it currently checks for np.arrays as a way to find the iterated parameter perhaps not the best way to this, overall.
Pulling together everything we've learned from this process, I suggest one final update to the procedure:
Instead of passing in something like np.arange(8, 12, 1), lets use this custom object:
class Stepper():

    def __init__(self, lst):

        dat = np.arange(*lst)
        self._len = len(dat)
        self.data = iter(dat)

    def __len__(self):
        return self._len

    def __next__(self):
        return next(self.data)

    def __iter__(self):
        return self.data

This will change the use, a bit, to something like:
cf_step = Stepper([8, 12, 1])
osc_params = param_iter([cf_steps, 1, 1])
gen_group_power_spectra(len(cf_step), [3, 40], [1, 1], osc_params)

^I've checked, and this works. Does this look like a good idea to you?

Last thing: the version you have doesn't deal with multiple oscillations, right? I couldn't get it to work for something like:
osc_1 = [np.arange(8, 12, 1), 1, 1]
osc_2 = [20, 1, 1]
osc_params = param_iter([osc_1, osc_2])

Am I using it wrong, or is this just not supported yet? If it doesn't do this yet (that's totally fine!), my suggestion above, as is, also doesn't yet support this - but we will need it to be able to do this for some band ratios stuff: so let's update everything from above, and then consider what it needs to support multiple oscillations.

Should the Stepper class be defined inside synth.py?

We were failing on Python3.7, which appears to be due to a change in how StopIteration is handled:
https://www.python.org/dev/peps/pep-0479/
Based on what's written there, it seems we have to have explicit handling of the StopIteration in param_iter, or it will raise a RuntimeError in py37. Adding this (using a try/except to catch the StopIteration and in param_iter, and return None when we hit it - a more explicit end-of-generator procedure), seems to fix this.


Feedback for: engine/reference/commandline/logs.md

File: engine/reference/commandline/logs.md, CC: @mstanleyjones
getting a full dump of the logs should be easy.
"docker logs" only shows a few lines.
"docker logs  --since 0" does NOT show all lines.

If you want to propose a feature to get all the logs for a container, please file it in the docker/docker repository. Thanks!


Cherow's future

Cherow was created because existing parsers were too slow, and none of these parsers would fare any chance against the official Test262 suite.
The goal is reached, although Cherow is far from perfect. But it's time too move on...
During my work on Cherow I used various tools, and I found them all very slow, and they doesn't fit our needs. So in the future Cherow will still exist as it does today as a parser, but we will now focus on developing the packages listed below with the same performance as Cherow:

[ ] TypeScript parsing

[ ] Flow parsing

[ ] Linter

[ ] Minifier

[x] CLI

[ ] Transpiler (long term)

[ ] Module bundler  (long term)

Hi, to improve the perf of eslint, I was considering developing an esprima-compatible JavaScript parser on the top of Cherow, just like espree. Could you share your insights on this? Thanks! ❤

Gitter is a better place for this. You can ping me there

I'm very excited for cherow-minify in the (near?) future!
Also, I'm definitely considering using Cherow as the parser for nebu. It should be easy, because both produce the same AST, correct?
I've made a request for Bublé to adopt Cherow, too. (see here)

I'm out of town ATM, but regarding your questions. Cherow-minify will be done after I'm done with both Flow and TypeScript. And that will happen soon after I'm done with v. 2.0 of Cherow itself.
I can't give any exact date. Sometimes I may run into issues that take longer time than expected to fix or my RL ask for some of my time. Something that has happened now. After my own schedule I'm 5 days delayed on completing v. 2.0 of the parser.
Cherow conforms to the ESTree specs, and there should be no differences between Cherow and Acorn as long as you avoid using the next option. That option enabled Stage 3 proposals and the AST for some of this features are "marked" as experimental in the ESTree repo. This is mostly related to class fields I guess.
I have not thought about the API for the minifier yet, but as a base it will use the same options as Cherow, but it will be extended with it's own options as well similiar to what you mentioned.

I'm curious how you plan to do the code generation for the minifier. 😄 Perhaps you should use magic-string, which does simple string splicing instead of generating the final string from scratch (after mutating the AST). It would save you time, but maybe you're more interested in rolling your own generator for speed's sake. Cheers!

Performance is the most important thing with Cherow, and tbh. the main reason why I'm 5 days after my own schedule. Fixing a regex validator - and I guess over 300 different combos to find the perfect match.
I worked on it now on my laptop, and suddenly it all "clicked" in place, and I can finish it and move on.
And the way I exposed the regex validator API is similar to what I'm going to do for tokenizing, comment attachment and other stuff.

My written English is not good enough. The content is long, you need to take some time.
Avoid ambiguity caused by machine translation, I keep Chinese.
为了避免机器翻译引起的歧义, 我保留中文.
My purpose:
I want to introduce new methods to developers and get support to improve the overall ECMAScript source code ecology.
我的目的:
我想介绍新的方法给开发者, 并得到拥护, 提升整个 ECMAScript 源码生态.
cherow is brand new, this is an opportunity for me.
cherow 是全新的, 这对我是一个机会.
So,,, See https://esdiscuss.org/topic/proposal-static-type-constraints-features
I feel unable to get the support of tc39 members. Then, for convenience, I update the proposal in Chinese.
我感觉无法得到 tc39 成员的支持, 然后, 为了方便, 我用中文更新提案.
Because the void typeExpression has no side effects, I will still use it in reality.
因为 void 类型表达式是无副作用的, 我还是会在现实中使用它.
The proposal is actually a derivative of another project.
该提案其实是另一个项目的衍生品.
The cause is that I cannot tolerate the annotation style of @param
起因是我无法忍受 @param 这种注释风格.
I designed an annotation style that conforms to human reading habits. When watching the source code, the eyeball does not have to roll up or down.
我设计了一种符合人类阅读习惯的注释风格, 看源码时眼球无需上下翻滚.
E.g: cherow parser.ts
/**
 * Creates the parser object
 *
 * @param source The source coode to parser
 * @param sourceFile Optional source file info to be attached in every node
 */
export function createParser(
    source: string,
    sourceFile: string | void,
): Parser {
    return {/*....*/}
}

The void typeExpression:
export function createParser(
    source = void !'',   // source The source coode to parser
    sourceFile = void '' // sourceFile Optional source file info to be attached in every node
) {
    void Parser;  // Creates the parser object
    return {/*....*/}
}

The default document generated by this style is still the source code, but simply extract the source code associated with the type declaration.
这种风格生成的缺省文档依然是源代码, 只是简单提取和类型声明有关的源码.
And it is legal, at least at the grammatical level.
而且是合法的, 至少在语法层面.
Even depending on the position of the tail comment, you can keep all the source code in the document, like:
甚至依据尾注释的位置, 可以保留全部的源码到文档, 就像:
export function parse(
    source = void !'',            // source source code to parse
    options = void Options // options parser options
) {
  void ESTree.Program;
  return options && options.module
    ? parseModule(source, options)
    : parseScript(source, options);
  // Parse either script code or module code
  // see [Link](https://tc39.github.io/ecma262/#sec-scripts)
  // see [Link](https://tc39.github.io/ecma262/#sec-modules)
}

Sometimes, writing a document is not as straightforward as looking at the source code, And it is borderless.
有时候, 写文档还不如直接看源代码更清晰, 而且是无国界的.
Maybe I'm lucky to get your support. Then please support the void typeExpression in cherow 2.0.
或许我很幸运, 能得到你的认同, 那就请在 cherow 2.0 中支持  void typeExpression 吧.
I have to say that until now, I haven’t got a staunch supporter.
不得不说, 到现在为止, 我还没得到一个坚定的支持者.

I have published cherow-eslint which is for ESLint, but it is experimental.

Nice work @g-plane ! Btw. Do you have any deep knowledge about regex?

Can you give an example?

Can you ping me on gitter?

@achun 请问您的想法是不是为了文档？

@achun cherow 仅仅是一个解析器，它不会进行文档提取等类似的工作。如果你有写过 TypeScript 的话，可以使用 TypeDoc 等工具。或者，你也可以根据 cherow 生成的 AST 自己提取信息并生成文档。

@g-plane 误解了, 我没有要求对文档有支持, 那个工作我已经开始.
我想要得到支持的是 void 类型表达式

那对我的误解表示抱歉。
不过，像这种代码已经是合法的 JavaScript，所以没什么需要特别的支持吧？
export function createParser(
    source = void !'',   // source The source coode to parser
    sourceFile = void '' // sourceFile Optional source file info to be attached in every node
) {
    void Parser;  // Creates the parser object
    return {/*....*/}
}

哎呀, 很激动啊, 终于有人可观的提到这个 void 表达式的关键了.
最终目标是要生成 类似 Flow 的 typeAnnotation 类型的, 这样才能进行 ESLint,
实现静态类型检查.
要说与 Flow, TS 的不同, 最大的就是 这个合法了, 不需要 build 就能运行,
进行类型检查只是环节中的一项, 而且可以随时进行, 也可不进行, 也可以剔除 void 表达式, 类似 flow-strip-types. 不剔除也能正常工作.

您的意思是基于这种语法进行类型检查？

是的, 具体过程是这样:
为 void 类型表达式开发一个 cherow 插件, 功能和 Flow 的插件类似.
区别就是类型注解的形式和位置不同. 最终生成的都是 typeAnnotation 节点. 语义也一样.
当然有可能会产生新的类型, 也有可能 Flow 有的类型, void 类型表达式无法表达.
最新的版本在 https://gitlab.com/achun/proposal-static-type-constraints-features

首先 cherow 只是一个解析器，不是编译器。它不会去完成类型检查工作。
其次，静态类型检查是个非常复杂的工作。看看 Flow 或 TypeScript 的源码就知道了。即使是 ESLint 中的 valid-jsdoc 规则也仅仅是检查您的 JSDoc 是否符合语法，而不会检查具体的类型是否匹配。

@achun @g-plane I feel this discussion should be in its own thread. As @g-plane said, there's nothing to be done in Cherow to support your syntax if it's already legal JavaScript.

@g-plane 抱歉, 我有没有表达清楚, 类型检查肯定不是 cherow 要做的, 这样工作就和 ESLint 重复了,
我是说, void 类型表达式和 flow 是一个级别的, 都是用来描述类型的,
希望能支持 void 类型表达式, 就像对 flow 的支持一样.
类型检查的问题有我来完成, 或者寻求社区的帮助完成.

@aleclarson What about a chinese issue ticket? Can you fix it?

@achun 不妨新建一个 issue 讨论？

Just open a new issue in chinese. Or @g-plane and @achun what about moving this discussion to e.g gitter? And be aware only a few understand your language. English is the common one

OK.

I think this issue ticket contains too much chinese language so people will be confused. So I'm closing this now. It's also better to mention this in the docs somewhere rather than a issue ticket.


Remove predicate sort by name

This change removes sorting predicates by name.
Presto's Parquet reader will lazily read column blocks as needed, so ordering predicates by column name has the side effect of potentially increasing the amount of data scanned.
Say a table has a high cardinality column id and a low cardinality column country, and the table is sorted on id. Given a query select * from table where id=123 and country='US', Presto will order predicates by name, so country comes first. The Parquet reader will then load the country column block first, match many row groups, then load the id column block, where only a few match. Thus the country column block was unnecessarily loaded in most cases.
If the predicates are not sorted and are kept in the order defined in the query, then the Parquet reader will load the id column block first, skip most row groups, and only load the country column block if there is an id match.

closing this for now until I have the CLA set up


Blade not handling foreach properly [syntax error, unexpected 'as' (T_AS)]

I am getting an error:
FatalErrorException in 4f842ef4b85bd13e68c94dfcb2ed8d1f44cfeec1.php line 53: syntax error, unexpected 'as' (T_AS)
which is a very reasonable error given that the code generated by blade (shown below) has an 'as' that isn't enclosed in a 'foreach'.
I am currently doing the laravel/quickstart-basic on laravel installations. One I did by hand, the other by git cloning the repository after I had trouble. The git clone works flawlessly. I have it in /Code/quickstart and my original in /Code/Laravel.
The blade generated (I presume) php files in /Laravel/storage/framework/views/, specifically from tasks.blade.php transforms this:
@foreach ($tasks as $task)

@endforeach

Into:
<?php $__currentLoopData = $tasks as $t; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as k): $__env->incrementLoopIndices(); $loop = $__env->getFirstLoop(); ?>

<?php endforeach; $__env->popLoop(); $loop = $__env->getFirstLoop(); ?>

When I replace this ugliness with the code generated by the working installation everything works fine. .
My laravel version from Laravel/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
const VERSION = '5.3.0-Dev';
My laravel version from quickstart/vendor/laravel/framework/src/Illuminate/Foundation/Application.php
const VERSION = '5.2.20';
The following is the diff between the two composer.json.
vagrant@homestead:~/Code$ diff Laravel/composer.json quickstart/composer.json
8,9c8,9
<         "php": ">=5.6.4",
<         "laravel/framework": "5.3.*"
---
>         "php": ">=5.5.9",
>         "laravel/framework": "5.2.*"
14,16c14,16
<         "phpunit/phpunit": "~5.0",
<         "symfony/css-selector": "3.1.*",
<         "symfony/dom-crawler": "3.1.*"
---
>         "phpunit/phpunit": "~4.0",
>         "symfony/css-selector": "2.8.*|3.0.*",
>         "symfony/dom-crawler": "2.8.*|3.0.*"
39c39
<             "Illuminate\\Foundation\\ComposerScripts::postInstall",
---
>             "php artisan clear-compiled",
41a42,44
>         "pre-update-cmd": [
>             "php artisan clear-compiled"
>         ],
43d45
<             "Illuminate\\Foundation\\ComposerScripts::postUpdate",
49,51c51
<     },
<     "minimum-stability": "dev",
<     "prefer-stable": true
---
>     }

This is now fixed https://github.com/laravel/framework/pull/14073

Works for me. Duly impressed. Tips hat*
On a humorous note:

Some people, when confronted with a problem, think
“I know, I'll use regular expressions.”   Now they have two problems. -- Fredrik Lundh.


nft predicates

This PR aims to add full predicates in both root and child for ERC721 and ERC1155 assets.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 148 (0.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-10.7%) to 80.06%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

contracts/root/RootERC1155Predicate.sol
0
33
0.0%

contracts/root/RootERC721Predicate.sol
0
33
0.0%

contracts/child/ChildERC1155Predicate.sol
0
41
0.0%

contracts/child/ChildERC721Predicate.sol
0
41
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-10.7%

Covered Lines:
1127

Relevant Lines:
1354

💛  - Coveralls


Fixes capitalization issue with include eigen numtraits

Summary:
Fixes case insensitive includes.
Intended Effect:
Fixes broken tests.
How to Verify:
You'll have to look if you're on Mac or Windows. Linux can verify by running the changed tests.
Side Effects:
None.
Documentation:
None.
Reviewer Suggestions:
Anyone.

This looks good, thanks Daniel.


[Arrow writer, Trivia_qa] Could not convert TagMe with type str: converting to null type

Running the following code
import nlp
ds = nlp.load_dataset("trivia_qa", "rc", split="validation[:1%]")  # this might take 2.3 min to download but it's cached afterwards...
ds.map(lambda x: x, load_from_cache_file=False)

triggers a ArrowInvalid: Could not convert TagMe with type str: converting to null type error.
On the other hand if we remove a certain column of trivia_qa which seems responsible for the bug, it works:
import nlp
ds = nlp.load_dataset("trivia_qa", "rc", split="validation[:1%]")  # this might take 2.3 min to download but it's cached afterwards...
ds.map(lambda x: x, remove_columns=["entity_pages"], load_from_cache_file=False)

. Seems quite hard to debug what's going on here... @lhoestq @thomwolf - do you have a good first guess what the problem could be?
Note BTW: I think this could be a good test to check that the datasets work correctly: Take a tiny portion of the dataset and check that it can be written correctly.

Here the full error trace:
ArrowInvalid                              Traceback (most recent call last)
<ipython-input-1-7aaf3f011358> in <module>
      1 import nlp
      2 ds = nlp.load_dataset("trivia_qa", "rc", split="validation[:1%]")  # this might take 2.3 min to download but it's cached afterwards...
----> 3 ds.map(lambda x: x, load_from_cache_file=False)

~/python_bin/nlp/arrow_dataset.py in map(self, function, with_indices, batched, batch_size, remove_columns, keep_in_memory, load_from_cache_file, cache_file_name, writer_batch_size, arrow_schema, disable_nullable)
    549
    550         if update_data:
--> 551             writer.finalize()  # close_stream=bool(buf_writer is None))  # We only close if we are writing in a file
    552
    553             # Create new Dataset from buffer or file

~/python_bin/nlp/arrow_writer.py in finalize(self, close_stream)
    182     def finalize(self, close_stream=True):
    183         if self.pa_writer is not None:
--> 184             self.write_on_file()
    185             self.pa_writer.close()
    186         if close_stream:

~/python_bin/nlp/arrow_writer.py in write_on_file(self)
    104         """
    105         if self.current_rows:
--> 106             pa_array = pa.array(self.current_rows, type=self._type)
    107             first_example = pa.array(self.current_rows[0:1], type=self._type)[0]
    108             # Sanity check

~/hugging_face/venv_3.7/lib/python3.7/site-packages/pyarrow/array.pxi in pyarrow.lib.array()

~/hugging_face/venv_3.7/lib/python3.7/site-packages/pyarrow/array.pxi in pyarrow.lib._sequence_to_array()

~/hugging_face/venv_3.7/lib/python3.7/site-packages/pyarrow/error.pxi in pyarrow.lib.check_status()

ArrowInvalid: Could not convert TagMe with type str: converting to null type

Actually thinking a bit more about it, it's probably a data sample that is not correct in trivia_qa. But I'm a bit surprised though that we managed to write it in .arrow format and now cannot write it anymore after an "identity" mapping.

I don't have this error :x

Interesting, maybe I have a very old cache of trivia_qa...thanks for checking

I'm running it right now on colab do double check

Actually, I know what the problem is...I'm quite sure it's a bug. Here we take some test inputs: https://github.com/huggingface/nlp/blob/0e0ef12c14d2175e0b0bd7d8aa814b09e2cd7e1f/src/nlp/arrow_dataset.py#L472
It might be that in the test inputs, a Sequence type value is an emtpy list. So in my case I have ds[0]["entity_pages']["wiki_context"] = []. => this leads to an arrow_schema equal to null  for ["entity_pages']["wiki_context"] => see line: https://github.com/huggingface/nlp/blob/0e0ef12c14d2175e0b0bd7d8aa814b09e2cd7e1f/src/nlp/arrow_dataset.py#L501  instead of list of string which it should for other examples.
Guess it's an edge case, but it can happen.

Good point, I think the schema should be infered at the writing stage where we have a writer_batch_size number of examples (typically 10k) so it's even less likely to run into this scenario.


Docker testing and validation

I'd say that this change doesn't set a new default but just adds another option.


Add LEP for feature automatically upgrade engine for volumes

longhorn/longhorn#2152

Please help to review the logic.
I will correct spelling and add test case later.

Please help to review the logic.
I will correct spelling and add test case later.


Method for resetting fields implemented

To allow reusing of the api-object we need the possibility to reset the post/get Field.
This code-change will help with that.
Example usage:
$json = $this->api->resetFields()->setPostfields($params)
                        ->buildOauth($url, $method)
                        ->performRequest();

Thanks for your PR. The user shouldn't have to call reset() though, it should be automatic. I've opened a new issue for collaboration at #150.


nvim stuck when  repeat dt"

nvim stuck when . repeat dt".
nvim will not jam after I comment flit.nvim. So I thick It is a bug.

See https://github.com/ggandor/flit.nvim/issues/13.


Extra space between time slots

What's the current behavior?
When I create sessions of different time durations, the extra space taken by the longest session is added under the other sessions. This creates an unnecessary gap between two consecutive sessions. Please note that timings are not used, only the session duration is taken into consideration.
What's the expected behavior?
A session should be created right below the previous session, if any, without a gap.

+1


Add Others OS package build method

What type of PR is this?
/kind feature
What this PR does / why we need it:
Add Others OS package build method,
Support manual build os package for uniontech os.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

/lgtm


flutter desktop app crashes

My flutter desktop should crash, but I did not analyze the specific problem from the dump file. Now I upload the dump file, and dll file. Please help me to analyze the specific crash stack? Thanks

Hello @JonathanGit. Thank you for filing this issue. Can you please provide the following information?

A complete and minimal, reproducible code sample. Ideally, a single main.dart file that can be run directly.
The output of flutter doctor -v
The output of flutter run -v

Please provide the information in the form of text. See how to make collapsible sections with Markdown here.


Implement logging features for decompiler

This replaces the standard prints in the decompiler with the spdlog equivalent. Work still needs to be done to log the output to a file.

Pull Request Test Coverage Report for Build 303333251

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.277%

Totals

Change from base Build 301140291:
0.0%

Covered Lines:
14564

Relevant Lines:
17919

💛  - Coveralls

Decompiler now logs 99% of output to logs/decompiler.log while the decompiler lets the end user know the decompilation is taking process and this may take a few minutes. I see benefit behind adding these arguments as a CMake debug config, so we can test the decompiler further on Windows without the need of entering long arguments within Powershell. We still need to address long build times within issue #79. After spdlog is integrated project-wide, I hope to focus on this issue.


change the way EventParticipation status are merged

Fix #25

ping @Taluu

You actually don't have to include phpunit requirements (it should be on the dev responsability to install it, globally (phar or whatever)). Please remove the commits that does that. :}
cf https://github.com/Calendart/Office365Adapter/commit/a923ac1561be77b075576762dc6af72512cb292c

done

Awesome. Merging.


Unknown solver status

Looking at the table with the solver status codes:
There is another reason why the solver might return the UNKNOWN status: It has run, until its time limit or another limit was hit, but without finding a feasible solution or proving infeasibility. In particular, this status can be quite common for limited solves without objective, but it can happen even if there is an objective.

Indeed. Will fix it.


Extend converter to support flexible input, attribute ordering

Extend the converter to support flexible input and attribute ordering, using param_manipulation to classify inputs and attributes.

Suprising that mypy doesn't ask us to assert not None in call sites: https://github.com/microsoft/onnx-script/blob/eb3accb076d45b69109fbe7ef222ea01081c041f/onnxscript/evaluator.py#L283 and https://github.com/microsoft/onnx-script/blob/eb3accb076d45b69109fbe7ef222ea01081c041f/onnxscript/function_libs/torch_aten/graph_building.py#L218. Should we do it?

Oh I see this is changing Op, not OnnxFunction, maybe we don't need the asserts

Yes. The idea is to be able to handle unknown ops (that is, ops without a known schema) during conversion. It can be useful and is possible to handle them for now.

Am I understanding it right that this is what enables custom ops? Will we need similar changes the the graph capturing evaluators? cc @titaiwangms


adding coverage badge

Please try it. Thanks.

Coverage remained the same at 97.73% when pulling a483ec15461703fcb09460f5114d24fa0700290c on imuchnik:master into 01ff48302dffb31f8444290f3a68b6cbbb07d49a on contolini:master.


Add Redux and Auth slice to the Frontend side

[ ] Add auth slice and user state in redux

[x]  Add auth slice and user state in redux


Wrong values with Fronius inverter

Version of the custom_component
0.0.9
Configuration
Describe the bug
The value for AC power for the Fronius inverter are sometimes too high. More than the capacity of the unit.
My panels have a capacity of 1530 Wp.  The values goes as high as 3000 Watt!
It looks the values looks 10 times too high. Also the DC Power values have those spikes.
The DC Voltage and DC Current values seems ok.
What can be wrong?
AC Power

AC Current

DC Power

DC Voltage

DC Current

Debug log

Extra info: I'm using a Fronius Galvo 1.5-1 inverter.

I now see there is a similiar issue #14
with manifest.json: "requirements"<EMAIL_ADDRESS>I've made the suggested change and will examine the values after a day to see if the spikes are gone.

The spikes are gone. So the modified pysunspec2 library seems to solve the problem.

Great, let's hope they merge the fix upstream as well soon!


Issue 48 - Use high resolution assets when possible

Fix https://github.com/hlxsites/franklin-assets-selector/issues/48
Allows higher resolution selections by allowing more mimetypes to be picked as the rendition to use than only PNG.
When a JPEG asset is picked, it is converted into a PNG blog using a canvas.
Currently only JPEG and PNG mimetypes are supported, but the list can be extended in the future as the support for image conversion improves, and once we test and validate that it works.

Thanks! Couple of minor questions: I noticed a bit of latency in the image paste process in the recording. Is it because of the conversion? Also does it retain the image quality as such?
Also please address linting errors and PSI failure before merging.

No, the latency is from the copy and all that happens. I had latency with copying the whole day, before and after those changes. (And loading too, but I managed to make a video in which loading didn't take 5 minutes).


Call super in method_added hook.

There was a little bug when you already have a method_added hook that was defined in the module that was included before MethodHooks module. This patch avoids possible conflicts with other libraries. Check specs for an example.

@iliabylich Thanks for opening a PR! I left a couple comments.

Totally agree with you. I've put this module into before hook because you
had the class definition in it. I'll update PR in a few days
Пт, 12 июня 2015 г. в 21:38, Frank Bonetti<EMAIL_ADDRESS>
@iliabylich https://github.com/iliabylich Thanks for opening a PR! I
left a couple comments.
—
Reply to this email directly or view it on GitHub
https://github.com/fbonetti/method_hooks/pull/1#issuecomment-111583992.

just a one quick notice. Moving the module and its including into the test will change ancestors of the Base class. We have to include the module before method hooks to check that super works. So I'm not hundred percent sure that it's possible. Btw, prepend also doesn't work here

Ah, that's a really good point. I might just merge this without further modification. I'm going to think about this.


unexpected behaviour downloading 'latest' results zip file

Heya,
Has something possibly changed regarding links beginning with 'https://results.openaddresses.io/latest'?
We use links like this in Pelias to ensure that users get the latest copy of the data when downloading, however, some of the links seem to fail to resolve, instead they return the uncompressed message No latest run found.
curl --head -L https://results.openaddresses.io/latest/run/de/hw/city_of_wuppertal.zip

HTTP/1.1 404 NOT FOUND
Content-Length: 19
Content-Type: text/html; charset=utf-8
Date: Wed, 10 Jul 2019 13:03:13 GMT
Server: gunicorn/19.6.0
Connection: keep-alive

curl -L https://results.openaddresses.io/latest/run/de/hw/city_of_wuppertal.zip

No latest run found

There do appear to be versions of city_of_wuppertal available:
curl --head -L https://s3.amazonaws.com/data.openaddresses.io/runs/649781/de/nw/city_of_wuppertal.zip

HTTP/1.1 200 OK
x-amz-id-2: yJ/vkanT8rjn9G+vM0tZs6BAOvb2C4CcRIELNJbB66t4wSiuMGQ6KRn/wfeO4OHpprW5xYJ72Qw=
x-amz-request-id: F0926F7BB97990B0
Date: Wed, 10 Jul 2019 13:04:04 GMT
Last-Modified: Sat, 15 Jun 2019 21:46:48 GMT
ETag: "6a406d02a0b7d91157070d8449e8183f"
x-amz-storage-class: REDUCED_REDUNDANCY
Accept-Ranges: bytes
Content-Type: application/zip
Content-Length: 1296362
Server: AmazonS3

And just to make things more confusing, the latest link works fine for berlin:
curl --head -L https://results.openaddresses.io/latest/run/de/berlin.zip

HTTP/1.1 302 FOUND
Content-Length: 315
Content-Type: text/html; charset=utf-8
Date: Wed, 10 Jul 2019 13:09:02 GMT
Location: http://data.openaddresses.io/runs/535264/de/berlin.zip
Server: gunicorn/19.6.0
Connection: keep-alive

HTTP/1.1 200 OK
Date: Wed, 10 Jul 2019 13:09:03 GMT
Content-Type: application/zip
Content-Length: 8824426
Connection: keep-alive
Set-Cookie: __cfduid=de419561ec73b8cce65b7a6b5d4c7e8821562764143; expires=Thu, 09-Jul-20 13:09:03 GMT; path=/; domain=.openaddresses.io; HttpOnly
x-amz-id-2: ki6hLOE5EOlJGdMMtWzblAzdrCnEtua47rZl/lAaRFB63awCfhKQvTGrY0AFbEC3F/S/qB4x6G8=
x-amz-request-id: 5FF8CA2CEFED5A20
Last-Modified: Sat, 24 Nov 2018 12:31:58 GMT
ETag: "1f4655d935a2f00515c98d61bc5b8641"
x-amz-storage-class: STANDARD_IA
Server: cloudflare
CF-RAY: 4f42c5164f4f2d7b-TXL

agh damn, I think it's just me dumb and mis-typing the URLS ;P


Support for Velocity proxy

Velocity is the next-generation Minecraft: Java Edition proxy. Velocity is built to be highly compatible with server software like Paper, Sponge, and modding platforms such as Minecraft Forge, while also exposing a rich plugin API and providing unparalleled scalability.

https://www.velocitypowered.com/
And I know, this plugin was created for Bungeecord and forks of it. But a port for Velocity would be useful for people using it.

@Patbox Fancy trying the new Skungee remake, it's in Alpha testing, and is the first demo of Velocity support https://github.com/Skungee/Skungee-2.0.0/releases


Question of list_direct_messages

The document says that Returns all Direct Message events (both sent and received) within the last 30 days. Sorted in reverse-chronological order..
But I can not get the all DM within the last 30 days.
When I use api.list_direct_messages() could get less messages. And use api.list_direct_messages(count=50) could get a little more messages but it did not reach 50. What's problem? More than 50 DMs in the last 30 days.
And I can not use the cursor parameter, it will cause error tweepy.error.TweepError: [{'code': 214, 'message': 'invalid cursor'}] . I use it like api.list_direct_messages(count=2, cursor=-1) or api.list_direct_messages(count=2, cursor=1)

The count parameter defaults to 20, and only specifies the max number to be returned.
Twitter's API can very well return less than that number.
See the documentation for the GET direct_messages/events/list endpoint.
As for the error with using a cursor with API.list_direct_messages, see #1261.
This should be fixed with #1262 in the master branch.
In the future, please make sure you're using the latest development version when reporting issues.
Otherwise, you'll have to wait until Tweepy v3.9 is released for the fix.


do not reset handlers if msw is not defined for story, fix #25

Fixes https://github.com/mswjs/msw-storybook-addon/issues/25
Ensuring that api.resetHandlers() is only called if msw is defined as a parameter of a story solves the issue where if any loaded story file didn't have an msw parameter defined the browser window would hang.
While this solves the issue in my storybook, I am not sure if it can have any unintended effects, please let me know!

Turns out this was not the root cause in the end, but rather a conflicting storybook addon.

@gazs which storybook addon was conflicting?


Compiling the files.

Hey man,
I've been studying Astrophysics and Planetology off and on for a while, since they started finding exoplanets. I tried to help Jim Burrows with his Stargen but he didn't want to change anything even though he asked for suggestions, and I think it was mainly that he didn't understand the code he built on.
I really appreciate all the improvements your version seems to have. There are so many ideas, suggestions and improvements I could pass on to you. I am not a programmer, I haven't done any programming for 30 years. I haven't gotten your version complied yet, I've just been trying to get it to run from the command line, using Windows 7. All I seem to be able to get are single planet outputs, mostly a single asteroid.
stargen-100-1.1.zip
The Star Trek planet option worked, but a lot of those don't make much sense. Vulcan came out as an ocean planet for example.
I downloaded Cygwin but I got to open it once to look at it, but then it wouldn't work thereafter.  It's just a batch file that doesn't do anything now.
40-Eri-728286325.zip
I'm not sure what to do at this point. I was going to try to compile the files into something I can run in Windows as an executable, but I don't know where I was reading about that now. I'm going to try to download Cygwin again after trying to find what I read that suggested I should do that in the first place. Any help you could proved would be appreciate. A step by step on how to compile the files to run on Windows would be great.
I have a lot of ideas. I'm curious to know if you are using all 98 natural elements?
https://www.thoughtco.com/how-many-elements-found-naturally-606636
Did you know Mercury has an atmosphere? it is mostly Sodium gas.
https://en.wikipedia.org/wiki/Atmosphere_of_Mercury
Did you know it is possible to have a Neon Ocean planet?
Neon is the 5th most abundant element. There's more Neon than Iron.
Thanks for reading.
Gabriel Velasquez,
<EMAIL_ADDRESS>

33 StarGen.zip

J'ai essayé deux des trois méthodes pour exécuter le programme:

à partir de la ligne de commande, le programme avec les deux autres fichiers que vous avez recommandés, stargen, starnames et stars. Cela n'a pas fonctionné.

à partir de la ligne de commande, le programme avec les fichiers de 2015. Je peux le faire fonctionner à partir de la ligne de commande, avec certaines extensions, mais il ne produit jamais que des planètes/astéroïdes uniques.

Compiler les fichiers pour Windows 64 bits est ce sur quoi je travaille ensuite.
J'ai essayé de comprendre Qt et je ne sais pas quoi utiliser, sauf peut-être Qt Design Studio. Cela nécessite que vous leur donniez vos informations commerciales, et je n'ai pas d'entreprise, et en plus, il semble que ce soit pour créer des graphiques d'interface utilisateur.

J'ai téléchargé Visual Studio directement depuis Microsoft et j'essaierai https://gcc.gnu.org/ si cela ne fonctionne pas.
Non, j'ai installé VS et il a gelé, c'est peut-être un problème de Windows 7.

Vous n'avez fait aucun commentaire sur les images que j'ai partagées.
Je suppose que vous avez terminé avec le programme et que vous n'êtes pas intéressé à apporter des améliorations ?
Une grande partie de ce que j'ai partagé était en fait mon propre travail...
https://commons.wikimedia.org/wiki/User:GabrielVelasquez
Avez-vous entendu parler de ces classifications ?
https://fr.wikipedia.org/wiki/Classification_de_Sudarsky
J'ai trouvé une image qui serait géniale pour une planète de fer.
https://telegra.ph/file/768eb30a864d3cdbd7715.png

Si vous avez n'importe quel type d'organigramme, j'ai fait un peu de programmation pendant 30 ans, et je serais prêt à suggérer des changements de code, comme inclure plus de gaz pour les atmosphères.
J'aimerais vraiment qu'il n'y ait pas que les catégories "vrai ou faux" de la géante gazeuse, car cela donne des résultats de sortie incohérents pour les planètes qui se trouvent au milieu de la géante terrestre et gazeuse, et je veux dire qu'il serait bien de connaître la pression de surface pour une naine gazeuse, si elle est vraiment supérieure à 8 atmosphères, par exemple.
https://www.madsci.org/posts/archives/2008-06/1213715423.Ch.r.html
Il y a probablement beaucoup ici qui peut être utilisé pour créer des paramètres et des variables.
https://en.wikipedia.org/wiki/Planetary_habitability
Eh bien, j'ai utilisé Google-Translate donc j'espère que je suis compréhensible, mais si vous ne voulez pas avoir de conversation, je comprendrai. J'ai des bambins dont je m'occupe, mais je ne suis pas toujours occupée.
Au revoir.
Gabriel.

Hello Gabriel,
Here is the procédure the get and install the Qt Creator compiler.
Goto Qt website : https://www.qt.io/product/development-tools
Download the free version of the development-tool Qt Creator (all down of the page)

click on Download Qt for open source use
Download the QT online installer

Download and run the file qt-unified-windows-x64-4.5.2-online.exe

launch the exe
login or create an account
Select the option MinGW toolchain
Install
Finish

Click on Open project
Go to the path where you have the stargen sources, and select stargen.pro
Click to import project
Compile ou Build
A folder build-stargen-Desktop_Qt_6_4_3_MinGW_64_bit-Release is created, including the compiled exe.

libgcc_s_seh-1.dll
libstdc++-6.dll
libwinpthread-1.dll

To run, the EXE needs some DLLs !
Copy the following DLL from C:\Qt\6.4.3\mingw_64\bin to the folder where is exe file is.
Then you can run the stargen.exe that you have compiled !
Now, concerning the stargen program, you have to known that I am not the original writer of the code.
At this time, I was writing a space game, and I wanted to have procedural realistic solar systems.
I found old source files in C. It seems to be the work of several people (astronom, chemist, ...) I tried to understand my best to make a decent portage to C++, and interfaced it with the Celestia database and that became "Stargen-II".
Stargen-II generates XML data (and commented text document). It does not generate HTML or graphical planets.
Your pictures are very nice, I did not realised that you did them yourself.
Are you using a graphical tool (like photoshop) or procedural generation ?
BR
David

Hello David,
I haven't gotten to following the steps you laid out yet because I get busy, but I will soon.
I still tinker with the command line version trying to get normal outputs and that is still frustrating.
As for the images, I mentioned the first few were mine, that is why I included the gallery link.
For the ones that I created, I did use various programs.
When I converted Burrows GasDwarf into an animated gif I expanded the original into a skin for Celestia,
and then I took screen captures as I rotated the planet in Celestia to be able to create the animation.
The version of the Earth that rotates was very similar, but I used screen captures of the planet Earth
they already had in Celestia if I remember correctly, only I used 32 screen captures to make it smoother
that the 16 that I used for the GasDwarf.
The image of the blue Gas Giant with the cratered habitable moon was also done with swapping skins
in Celestia, that is actually Jupiter with the tint changed, and one of the moons with the skin changed.
The actual skin on that cratered moon was done in a program I don't have anymore, it was map program
where you had various tools to lower and raise the terrain. There are some really good ones out there,
I might have been using a demo version, but all I remember was someone mentioned it in a world
building for RPGs forum, and I had various ones, I can't remember the name now.
So if I understand you correctly, you are not the person who added all the Gas Giant categories, all the other new ones...
TERRESTRIAL
1FacePlanet
AsteroidsPlanet
binaryPlanet
CarbonPlanet
CometPlanet
IcePlanet
IronPlanet
MartianPlanet
OilPlanet
RockPlanet
TerrestrialPlanet
UnknownPlanet
VenusianPlanet
WaterPlanet
GAS GIANTS
AlkaliGasPlanet
AmmoniaGasPlanet
BrownDwarfPlanet
CarbonGasPlanet
CloudlessGasPlanet
GasDwarfPlanet
JovianPlanet
MethaneGasPlanet
SilicateGasPlanet
Sub-JovianPlanet
SulfurGasPlanet
WaterGasPlanet
I would really like to talk to the person who added all the new planets because I still see many of the same errors coming up. For example, the equilibrium temperature of the Earth is -18 °C, so the other 33°C to bring it up to 14°C comes from greenhouse gases, like C02 and water vapor, etc.
Do you know who added all the extra plants?

Incidentally, I have swapped in the following images for the outputs, they are mainly animated gif files replacing gif files:
MethaneGasPlanet

MartianPlanet

AmmoniaGasPlanet

1FacePlanet

GasDwarfPlanet

TerrestrialPlanet

RockPlanet:
https://media.tenor.com/v9XIZ3ZgKvEAAAAd/moon-earths-moon.gif
CarbonPlanet:
https://gifer.com/en/n8K
IcePlanet
https://media.tenor.com/dZNmPSMzv-QAAAAC/mighty-boosh.gif
... just kidding.

They all work as substitutes. I'm still looking for the other planet types, and other animated gifs.


CM3D2 (x64) 1.62 crash when launching the game

So.. The plugin is working through BepInEx (Sybaris loader and UnityInjector loader also installed) framework, that's what I can say. The game is also being ran through NTLEAS.
2018-10-15_234156.zip

Apologies for not having provided feedback to this, now, very old issue. If it is still an issue with newer versions please re-open the issue.
With that being said, this plugin should work just fine in both CM3D2 and COM3D2.


logs flows into login screen (bug/feature request)

so ive attached an image with the problem as it is very hard to describe but error messages will flow into the password field of ly display manager after xorg session close. These messages arent only xorg logs and will typically be anything. This Is a MAJOR issue because a lot of distros will have this behavior and its extremely annoying.  I believe in order to solve this bug you might want to sanitize the input rendered in the password field based on non system accounts or refresh the password field but it is probably best to find this bug at the root source. If there is a way to circumvent this, the feature resquest is to put it in the documentation right away so its not impossible to find a solution and you have time to fix this bug later. this isnt an issue on ly startup but rather when switching ly sessions which i often do.  please dont close this as a duplicate of the guy who had ly in the wrong order on startup because this dosent happen on system startup.

I'm also experiencing this issue, recently it has worsened to the point of covering the entire screen with logs :confused:

@beastr45 @LennyPhoenix You may be able to redirect the stdout and stderr through the config file (e.g. x_cmd = /usr/bin/X > /etc/ly/xstdout.log 2>/etc/ly/xstderr.log, you could even do it inside your xinitrc file if you use that). Though I agree Ly should probably do that automatically.

This is an issue with Ly startup, it happens even before launching the Xorf session

This is an issue with Ly startup, it happens even before launching the Xorg session

Quoting OP:

messages will flow into the password field of ly display manager after xorg session close.

I'm not sure if we can do anything about the logs upon startup. Perhaps changing TTY helps?

Oh my apologies I must have misread 😅
I'll try using a different TTY. If that doesn't work should I file a separate issue?

I am experiencing this issue as well.
I have set the tty to "9", so it does not conflict with the ttys enabled in a default Void Linux install (tty1-tty6).
However, some boot message (seems to be hardware warnings) supposed to be show up in tty1 as usual comes into the ly login screen.


From composer v1.11+ autoloading just works if psr-4 compliant

Affected Version
4.4.4 and 4.5.0-rc2 - most probable all 4.x
Description
If you run composer with --optimize-autoloader it'll throw Deprecation Notices with 1.10-dev like
Deprecation Notice: Class SilverStripe\Versioned\VersionedGridFieldState\VersionedGridFieldState located in ./vendor/silverstripe/versioned/src/VersionedGridFieldState.php does not comply with psr-4 autoloading standard. It will not autoload anymore in Composer v1.11+. in phar:///testcomposer/composer/src/Composer/Autoload/ClassMapGenerator.php:185

this also happens with
SilverStripe\VersionedAdmin\Tests\Controller\HistoryControllerFactory\HistoryControllerFactoryExtension
SilverStripe\ShareDraftContent\Tasks\RemoveExpiredShareTokens
SilverStripe\ORM\FieldType\DBBigInt
SilverStripe\Forms\Tests\SlugSegmentFieldModifierTest
SilverStripe\Forms\Tests\IDSegmentFieldModifierTest
Class SilverStripe\Control\Util\IPUtils

ATM you'll get 1.10-dev with the first link bellow - 1.9.1 is stable.
https://getcomposer.org/composer.phar
https://getcomposer.org/composer-stable.phar
Steps to Reproduce
Create a project and composer install --optimize-autoloader

I've labelled this as a low impact bug, and I'm not quite sure if this would cause a major change - probably could be done as a patch.
It's impact low because (IIRC) using Composer for autoloading is an optimization, not a requirement. I'm pretty sure SilverStripe's old autoloader is still there filling in gaps.
Thanks for the bug report.

DBBigInit fixed https://github.com/silverstripe/silverstripe-framework/pull/9497

This 'll become more relevant with composer 2 which reached rc2. See also
https://github.com/silverstripe/recipe-plugin/issues/15
https://github.com/silverstripe/silverstripe-framework/pull/9742
‘ll 4.7 be compatible with composer 2?

above is fixed - now there are:
SilverStripe\Forms\Tests\IDSegmentFieldModifierTest   located in ./vendor/silverstripe/segment-field/tests/SegmentFieldModifier/IDSegmentFieldModifierTest.php
SilverStripe\Forms\Tests\SlugSegmentFieldModifierTest located in ./vendor/silverstripe/segment-field/tests/SegmentFieldModifier/SlugSegmentFieldModifierTest.php

If, than this should be in https://github.com/silverstripe/silverstripe-segment-field/issues closing, but looks like still relevant.


switch to numba 0.48

latest commit in release0.48 branch

@Hardcode84 no problems after rebase? Cool!
How far this Numba commit from the current Numba master?

I see. It is exactly 0.48.0 tag. So we could update README with recommendation to install numba=0.48 and possibly use Python=3.8. @Hardcode84 is it correct?

Didn't tried with python 3.8, do we have any CI pipelines with it?

It is upgrade b/c ef119bcd is before cc7e7c7c.

Actually IDP does not have Python 3.8 - so suppose SDC should have recommendation to use Python 3.7

@Hardcode84 , could you please update your branch to the latest changes in master?
There are changes in Readme.rst which should be updated


关于starrocks和clickhouse的压缩率对比

在starrocks的官方文档中并没有发现对数据的压缩率对比，请问可以提供一下吗

From the results of our internal tests, the compression ratio between the two is not very different. If conditions are convenient, you can take your real data and test it. Looking forward to your feedback.


Fix required_by updates for runtime required components

Objective
Fixes #16406 (Cart's comment)
#16410 fixed one critical bug with runtime requirements, but there's still another problem: If A requires B, B requires C, and C requires D (several levels of nesting), adding A won't add D!
Turns out, this is just a trivial oversight with how the required_by lists are updated. When C requires D, only C is added to the list of components that require D. However, A and B should also be added, as they also indirectly require D through C.
Solution
Traverse up the inheritance tree and add all requirees to the required_by list of the component being required. We actually already do this traversal to handle inherited requirements, so this adds no extra iteration or recursion.
Testing
I added Cart's test that was previously failing.

Closing in favor of #16436, that also fixes an issue with the inheritance depth


Oracle classic dump imp not-working case found

... by @adamzsolnay. He got a classic Oracle dump from a customer and the import failed/didn't create the tables.
I have investigated it and I found the root cause. It seems to be some kind of edge case which did not come up with other classic dumps so far, while I was implementing and testing this. For some reason, with this particular dump, the same imp command gives a slightly different output, one that I did not count on so far (before I never did get this kind of output).
If you are curious, you can see the abstracted description in my stackoverflow post here: https://stackoverflow.com/questions/48754079/oracle-imp-schema-prefix-used-in-file-generated-by-the-indexfile-option
Anyway, it pretty much looks like nobody will be able to answer it properly, so I will probably go ahead and fix this with a somewhat ugly workaround involving parsing through a large text file and editing it (I am already doing that to some degree anyway).

Implemented and tested with two kinds of classic dumps. The type it was already tested and working with, and the type received by @adamzsolnay. Now both work.
(I think the difference between them is that in the first case exp was run by the Liferay user exporting its own objects, while with the new type received by Adam, exp was run by some other Oracle (admin) user, exporting liferay user's objects. This resulted in different behaviour at import time, and therefore import needed to be handled slightly differently for these two cases)
Pull request: https://github.com/djavorszky/ddn/pull/265

Thank you @sorin-pop and @adamsolnay! I've just merged this.

Thank you. I have copied the modified import_procedure.sql file to the Oracle agent in production, and restarted the agent. So now this should be fine in the production CloudDB as well.


fix: replace favicons

Checklist:

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)

Closes https://github.com/freeCodeCamp/freeCodeCamp/issues/38540

Replaces the remaining green favicons with the indigo version.

Restarted the projects, looks like they're working 👍


go: Bootstrap on RISC-V using gccgo

Description of changes

This PR bootstraps Go on riscv64-linux with gccgo (#207681). 1.18 and 1.19 seem to work fine, but 1.20 currently fails to build.
Tested building tailscale on riscv64-linux.
Ref: #101651

Old iteration which used Gentoo's tarball
https://github.com/zhaofengli/nixpkgs/tree/go-riscv64-old
This PR bootstraps Go on riscv64-linux with Gentoo's tarball. It's not the same version (1.16) that we use to bootstrap other platforms, but it's the only trustworthy source I was able to find. Alternatively, we can also write a derivation and let Hydra build the bootstrap tarball, then have someone upload it to tarballs.nixos.org.

Things done

Built on platform(s)

[x] riscv64-linux

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Can we use gccgo here? See https://github.com/NixOS/nixpkgs/pull/207681.

That seems like a promising route. I'll give that a try, but keeping it working long-term does seem to be an issue.

Cool, seems to work well with 1.18 and 1.19, but 1.20 fails with:
Building Go cmd/dist using /nix/store/22hk540l1ajwlad2zn9jd3d77n7cij92-gccgo-wrapper-11.3.0. (go1.16.5 gccgo (GCC) 11.3.0 linux/riscv64)
found packages main (build.go) and building_Go_requires_Go_1_17_13_or_later (notgo117.go) in /build/go/src/cmd/dist

Let me update this PR to use gccgo. The previous iteration is saved here.

seems to work well with 1.18 and 1.19, but 1.20 fails

Will probably work with newer gcc, I've got an open PR for gccgo12. https://github.com/NixOS/nixpkgs/pull/211850

Just added a patch to support Sv57 addressing to 1.18 and 1.19 (already in 1.20), which fixes Go binaries on QEMU with newer kernels. I think it should be applied unconditionally. Should I open a separate PR targeting staging?

I think it should be applied unconditionally.

Yes, unconditional is preferred.

Should I open a separate PR targeting staging?

Please do.

Ok, I opened https://github.com/NixOS/nixpkgs/pull/212015 and removed the patch from this PR.

Thanks.


Add krb5_cc_retrieve_cred() and krb5_cc_remove_cred()

https://github.com/jborean93/pykrb5/pull/24 should fix up the CI errors, it seems like Ubuntu 22.04 ships with a version of pip which is incompatible with how we test things. That PR moves the project structure back to using the setup.cfg style project definition which improves compatibility. If you rebase your PR it should pick up those changes for the next run.
Looking at the macOS errors it looks like you need to define the enum in the _ccache.pyi file for mypy to be happy. https://github.com/jborean93/pykrb5/blob/main/src/krb5/_principal.pyi#L9-L24 is how I did it for other enums.

Any chance on adding actual tests for these new functions?

I can try to do that.

That PR moves the project structure back to using the setup.cfg style project definition which improves compatibility. If you rebase your PR it should pick up those changes for the next run.

Ok, I'll do that.

Thanks for working on this and filling out the tests and typing stuff, appreciate the work.


something is messing up with the RoboRock status

Normally I ues XiaoMi App(iOS) to control the RoboRock(Model T6) to clean some spacific area, barelly use the Apple Home App to do so.
Last week, I tried to activate RoboRock through Home App, the RoboRock seems messed up, instead of start to clean, it Reported a positioning error and stopped. Because RoboRock can not find the base station(normally it will find and start to charge itself), I put it back to the base station manully, after that, I checked out Home App and found the docked status, battery level, clean status is messed up.
then, the homebridge log proved that:

[12/17/2019, 4:21:04 PM] [RockRoboT6] INF getPauseState | roborock.vacuum.t6 | Pause possible is true
[12/17/2019, 4:21:04 PM] [RockRoboT6] INF getCleaning | roborock.vacuum.t6 | Cleaning is true
[12/17/2019, 4:21:04 PM] [RockRoboT6] INF getSpeed | roborock.vacuum.t6 | Fanspeed is 104 over miIO. Converting to HomeKit
[12/17/2019, 4:21:04 PM] [RockRoboT6] INF getSpeed | roborock.vacuum.t6 | Fanspeed is 104 over miIO "Max" > HomeKit speed 100%
[12/17/2019, 4:21:04 PM] [RockRoboT6] INF getBatteryLow | roborock.vacuum.t6 | Batterylevel is 77%
[12/17/2019, 4:21:04 PM] [RockRoboT6] INF getDocked | roborock.vacuum.t6 | Robot Docked is false (Status is cleaning)

then I did nothing but restart the HomeBridge, interestingly found those logs:

[12/17/2019, 5:00:33 PM] [RockRoboT6] INF getPauseState | roborock.vacuum.t6 | Pause possible is false
[12/17/2019, 5:00:33 PM] [RockRoboT6] INF getCleaning | roborock.vacuum.t6 | Cleaning is false
[12/17/2019, 5:00:33 PM] [RockRoboT6] INF getSpeed | roborock.vacuum.t6 | Fanspeed is 103 over miIO. Converting to HomeKit
[12/17/2019, 5:00:33 PM] [RockRoboT6] INF getSpeed | roborock.vacuum.t6 | Fanspeed is 103 over miIO "Turbo" > HomeKit speed 77%
[12/17/2019, 5:00:33 PM] [RockRoboT6] INF getBatteryLow | roborock.vacuum.t6 | Batterylevel is 100%
[12/17/2019, 5:00:33 PM] [RockRoboT6] INF getDocked | roborock.vacuum.t6 | Robot Docked is true (Status is charging)
[12/17/2019, 5:00:34 PM] [RockRoboT6] INF getPauseState | roborock.vacuum.t6 | Pause possible is false
[12/17/2019, 5:00:34 PM] [RockRoboT6] INF getSpeed | roborock.vacuum.t6 | Fanspeed is 103 over miIO. Converting to HomeKit
[12/17/2019, 5:00:34 PM] [RockRoboT6] INF getSpeed | roborock.vacuum.t6 | Fanspeed is 103 over miIO "Turbo" > HomeKit speed 77%
[12/17/2019, 5:00:34 PM] [RockRoboT6] INF getCleaning | roborock.vacuum.t6 | Cleaning is false
[12/17/2019, 5:00:34 PM] [RockRoboT6] INF getBatteryLow | roborock.vacuum.t6 | Batterylevel is 100%
[12/17/2019, 5:00:34 PM] [RockRoboT6] INF getDocked | roborock.vacuum.t6 | Robot Docked is true (Status is charging)

notice that FanSpeed is messed up with battery level. so to getDocked, getCleaning, getPauseState.
I don't know how that happen and how to fix it.
If help is needed, just reply this issue. I will do my best to help.

Hi @elfive1992,
Ever since the release of iOS13, we have a known issue with the Pause option. Since iOS now merged all the switches into a unique view, it triggers both: "ON/OFF" and "Pause" switches. Leading to the vacuum cleaner to be paused instead of actually finishing the cleaning and returning to the dock.
I need to find some time to get that fixed (help is appreciated, PRs welcomed).
Regarding the messed up statuses. I see there is 40 minutes difference between those 2 logs and the robot is cleaning in the first snapshot and charging on the second one. In those 40 minutes, I would expect the "BatteryLevel" to be lower if the robot was still cleaning or higher if it's been charging for a long enough time. It looks to me like a simple coincidence that the battery was 77% and matches the value for the "Turbo" cleaning mode.
Now we can investigate why it claims "Max" speed during cleaning and "Turbo" during charging. But those should be the values reported by the robot at that point in time (mind it still reports the speed even when it's not cleaning).


Remove sqlite feature from windows build action

Remove sqlite feature from the build dependence and windows build action.
💻 Examples

🚨 Test instructions

✔ PR Todo

[x] Included links to related issues/PRs
#116

The issue #116 wasn't really ready for working on. I renamed the label which was attached to it to make this more clear.
I think we might still want to support sqlite for running tests on windows. So I'd put this on hold until we thought more about that in #127

That sounds good

Lets merge this now as users have problems with sqlite


Fix Building model file (JLD2)

see https://github.com/JuliaReach/ReachabilityAnalysis.jl/blob/master/docs/generate.jl#L16

fixed in https://github.com/JuliaReach/ReachabilityAnalysis.jl/pull/452


license type?

Hello -
There isn't a license file in this repository. Could you clarify if this code is being made available under any specific license?

About the question by @tblong the .NET version was mostly updated to gain access to the new language features and some performance gains. However as these aren't used very much right now it seems fair to keep backward-compatibility by multi-targeting netstandard2.0, netstandard2.1, net5.0 and net6.0. I've created #89 for this.


Support git push <remote> +<tab>

Finishes #174 (by @dan-turner) to close #173. Turns out it's a bit more complicated than I had thought due to tab expansion needing to return the full "word" being expanded (including the +). I think this will do it, though?

Better late than never :)

Better late than never :)

Only two years! Sigh.
Belated thanks for the bug report and start to a fix!


Improve: remove currency hardcoding

Replace all currency symbol and reference to be dynamic as set in settings.

[x] Dashboard
[x] Edit screen
[x] Invoice

Closed via 114f3fe4585eb031e7779f468d40d1ddb0006c5c


DependsOnNot bug fix with strict check

For 'dependsOnNot' - changed 'strict check' to 'check with coercion' cause all form values are always strings.
Error occurs when checking for integer values and they comparing with string equivalents from html form.

Ran into this issue as well, here's a quick repro:

<?php

namespace App\Nova\Actions;

use Epartment\NovaDependencyContainer\NovaDependencyContainer;
use Laravel\Nova\Actions\Action;
use Laravel\Nova\Fields\Select;
use Laravel\Nova\Fields\Text;

class SampleDependsOnNot44 extends Action
{
    const SOME_OPTION_A = 1;
    const SOME_OPTION_B = 2;
    const SOME_OPTION_C = 3;

    public function fields()
    {
        return [
            Select::make('Option', 'option')
                ->options([
                    self::SOME_OPTION_A => 'A, show dependency field',
                    self::SOME_OPTION_B => 'B, hide dependency field',
                    self::SOME_OPTION_C => 'C, show dependency field',
                ]),

            NovaDependencyContainer::make([
                Text::make('Hide me for option B'),
            ])->dependsOnNot('option', self::SOME_OPTION_B),
        ];
    }
}

Expected result:

Expected result:

Have you used code from my fork? Or from epartment/nova-dependency-container itself?

Have you used code from my fork? Or from epartment/nova-dependency-container itself?

Sorry, just from epartment/nova-dependency-container. I'll update my above comment

Have you used code from my fork? Or from epartment/nova-dependency-container itself?

Sorry, just from epartment/nova-dependency-container. I'll update my above comment

That functionality wasnt merged into main repo. So this functionality doesnt work on original epartment/nova-dependency-container package...


paper-filter-dialog: Iron-list gets saved on closing via 'X' button

The iron-list component which shows all the possible values for the filter retains values even when it is closed via the 'X'(Not save filters).
To replicate the issue try this in the demo
Select Age -> select 0-12 -> Back and exit with 'X'
If dialog is opened again, Age list still shows 0-12 selected.

Thanks a lot for reporting the issue, @TheSPD
Feel free to provide a PR an I will merge it.


Support for firstResult and maxResult for Mongo GridFS

Hi,
We've noticed that querying entities that contain LOB fields will always fetch (and populate I think) all the documents in the GridFS collection.
We've tried these changes to fetch only the necessary, limited number of documents.

Hi @rycus86 ,
Thank you for the contribution !
For any suggestion/discussion you can always chat with us.
-Dev
Team Kundera

Hi,
Thanks for merging my PRs!
I might submit a couple more patches around Mongo configuration we've found useful.
Thanks,
Viktor

Hi @rycus86,
Kundera 3.8 is released and your changes are available in 3.8.
We are planning to upgrade MongoDB driver in Kundera 3.9. If you have any Mongo related patches, please create PR. We will merge your PR and then proceed with Upgrade.
-Dev