Introduce the concept of a ETS backed pool of UDP ports

Current implementation uses a single gen server to route every published
metric.
With this new one, the genserver does not route them anymore, and there
is a pool of sockets that can do the work of shipping the metrics.
My original approach at this was to follow the same approach as
https://andrealeopardi.com/posts/process-pools-with-elixirs-registry/
But I realized that I was introducing sweeping changes, completely
changing the suprevision tree and most of the wiring.
So i went back to the drawing board, and tried to accomplish the same
without all that. I did that using a named :ets table
Clients reading can directly go to the :ets.
In case of errors, I'm still using the genserver to serialize the
requests so the port can be re-created a single time
As things stand, this change is backwards compatible with the existing
implementation.
Closes #33

I just noticed based on the test errors that liveness requires elixir 1.7, but test matrix uses 1.6.
Do you want to bump the version constraints?

cleanups addressed.
only outstanding question is about the usage of a named ets table or not

@epilgrim I think we should generate a unique ETS name per reporter process, save that in the event handler, and use it to get the UDP sockets.
When you do this, can you add a test that checks if multiple reporters can be started?

sure, will do it. But unlikely I'll be able to push it today.

changes done. Now there is no harcoded ets name

Great, thanks! I updated Elixir versions on CI on master, can you please rebase on that?

rebased!


Inspector in global gulp

Thanks you sooo much :D 😍

After this merge I'll fix some bugs and create a new tab for Statistics


Add checker for UiAutomator

Check inputs in JSON File to see if they are valid

I have completed this, now when the TranslationEngine finds that a field it needs to get all its information is null, it prints out the StepTestCase that has the missing field.


Minio is not reachable when started before setting credentials

Solution is to create minio credentials during init if not present.

Merged. Closing.


WIP: fix: increase the distance up and down the left panel

Types

[X] 🐛 Bug Fixes

Background or solution
fixed: https://github.com/opensumi/core/issues/2721

Changelog
fix：编辑器左侧面板内容区块上下增加间距

This pr has been closed because it has not had recent activity. Thank you for your contributions.


Add DEB, RPM and maybe other packages

After adding systemd support I propose to add building DEB and RPM packages for Linux distributions.
I plan do fork and prepare PR with configuration for building packages.
But I see what you have no automatic build configuration. By using github actions/workflow you can prepare release from tag.

Yes, this is something I'm planning to do. Thanks for the PRs in advance!


siac: Add --insecure-input flag for wallet unlock

Sometimes you're alone and not worried about anyone peeking over your
shoulder. In such cases, masking and hiding the user input is of little
value. The only non-shoulder-surf security mechanism this would disable
is the Apple Secure Keyboard Entry. This commit does not change the
default behavior.
Other notes, I replaced the "golang.org/x/crypto/ssh/terminal"
dependency with its indirect import, "golang.org/x/term", as the
former is deprecated in favor of the latter.
This feature was requested on Reddit and seemed rather sane: https://www.reddit.com/r/siacoin/comments/mvmq93/feature_request_display_user_input_at_the_wallet/
There may also be a better name than "insecure-input". "no-shoulder-surf" didn't sound as descriptive...

Addressed comments and force-pushed.

Thanks!


Please add information about precedence of pattern matching operators

Hi,
I'm missing the information about how pattern matching operators precedence fits in this table, for example:

what's the priority of or and and, is it lower or higher than is, how about relation to &&?

I find myself writing code like the below more and more often, and I need to be sure how it supposed to work, not only by experimentation, but by being able to reach out to definite source of information. Specification linked on the bottom of the page is also... less than ideal with this respect.
var monthBeginsOnWeekend = (DateTime date) =>
	date.DayOfWeek is DayOfWeek.Saturday or DayOfWeek.Sunday
	&& date.Day == 1;

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

ID: 7eeac581-6235-2192-d909-e7fe3d21197f
Version Independent ID: 9d8e2a57-1c18-8cba-9bd4-eef546fe2dcb
Content: C# operators and expressions - List all C# operators and expression
Content Source: docs/csharp/language-reference/operators/index.md
Product: dotnet-csharp
Technology: csharp-language-reference
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Adding @333fred and @jcouv
I looked at the speclet for the pattern combinators, and I don't see the precedence clearly stated.
That said, I think the and, or, and not combinators are a lower precedence than is or &&. I think these might be a new category that applies only to combining patterns, and is the lowest precedence.
Once clear on the precedence, we'll make the change.

I couldn't find this in speclets or LDM notes either. Looking at the code, I don't think there is a simple/general answer. It depends on the context where the pattern exists.
In the code, we treat the patterns inside an is with the same precedence as is, namely Precedence.Relational (the precedence of SyntaxKind.IsPatternExpression).
Precedence.Relational is higher than the precedence for logical binary operators (LogicalOr, LogicalXor, LogicalAnd).
But inside a switch statement, in sub-pattern, and in list-pattern, we use Precedence.Conditional.
Inside a switch expression, we use Precedence.Coalescing.
Precedence.Conditional and Precedence.Coalescing are lower than the precedence for logical binary operators.
Tagging @CyrusNajmabadi in case anything to add.
        private CSharpSyntaxNode ParseTypeOrPatternForIsOperator()
        {
            var pattern = ParsePattern(GetPrecedence(SyntaxKind.IsPatternExpression), afterIs: true);
            ...
        }

        private CSharpSyntaxNode ParseExpressionOrPatternForSwitchStatement()
        {
            var pattern = ParsePattern(Precedence.Conditional, whenIsKeyword: true);
            ...
        }

        private SeparatedSyntaxList<SwitchExpressionArmSyntax> ParseSwitchExpressionArms()
        {
            ...
            while (this.CurrentToken.Kind != SyntaxKind.CloseBraceToken)
            {
                // We use a precedence that excludes lambdas, assignments, and a conditional which could have a
                // lambda on the right, because we need the parser to leave the EqualsGreaterThanToken
                // to be consumed by the switch arm. The strange side-effect of that is that the conditional
                // expression is not permitted as a constant expression here; it would have to be parenthesized.
                var switchExpressionCase = _syntaxFactory.SwitchExpressionArm(
                    ParsePattern(Precedence.Coalescing, whenIsKeyword: true),
                    ParseWhenClause(Precedence.Coalescing),
                    this.EatToken(SyntaxKind.EqualsGreaterThanToken),
                    ParseExpressionCore());
                ....
        }

        private static Precedence GetPrecedence(SyntaxKind op)
        {
            switch (op)
            {
                case SyntaxKind.QueryExpression:
                    return Precedence.Expression;
                case SyntaxKind.ParenthesizedLambdaExpression:
                case SyntaxKind.SimpleLambdaExpression:
                case SyntaxKind.AnonymousMethodExpression:
                    return Precedence.Lambda;
                case SyntaxKind.SimpleAssignmentExpression:
                ...
                    return Precedence.Assignment;
                case SyntaxKind.CoalesceExpression:
                case SyntaxKind.ThrowExpression:
                    return Precedence.Coalescing;
                case SyntaxKind.LogicalOrExpression:
                    return Precedence.ConditionalOr;
                case SyntaxKind.LogicalAndExpression:
                    return Precedence.ConditionalAnd;
                case SyntaxKind.BitwiseOrExpression:
                    return Precedence.LogicalOr;
                case SyntaxKind.ExclusiveOrExpression:
                    return Precedence.LogicalXor;
                case SyntaxKind.BitwiseAndExpression:
                    return Precedence.LogicalAnd;
                case SyntaxKind.EqualsExpression:
                case SyntaxKind.NotEqualsExpression:
                    return Precedence.Equality;
                case SyntaxKind.LessThanExpression:
                case SyntaxKind.LessThanOrEqualExpression:
                case SyntaxKind.GreaterThanExpression:
                case SyntaxKind.GreaterThanOrEqualExpression:
                case SyntaxKind.IsExpression:
                case SyntaxKind.AsExpression:
                case SyntaxKind.IsPatternExpression:
                    return Precedence.Relational;
                case SyntaxKind.SwitchExpression:
                case SyntaxKind.WithExpression:
                    return Precedence.Switch;
                case SyntaxKind.LeftShiftExpression:
                case SyntaxKind.RightShiftExpression:
                case SyntaxKind.UnsignedRightShiftExpression:
                    return Precedence.Shift;
                case SyntaxKind.AddExpression:
                case SyntaxKind.SubtractExpression:
                    return Precedence.Additive;
                case SyntaxKind.MultiplyExpression:
                case SyntaxKind.DivideExpression:
                case SyntaxKind.ModuloExpression:
                    return Precedence.Multiplicative;
                case SyntaxKind.UnaryPlusExpression:
                ...
                    return Precedence.Unary;
                case SyntaxKind.CastExpression:
                    return Precedence.Cast;
                case SyntaxKind.PointerIndirectionExpression:
                    return Precedence.PointerIndirection;
                case SyntaxKind.AddressOfExpression:
                    return Precedence.AddressOf;
                case SyntaxKind.RangeExpression:
                    return Precedence.Range;
                case SyntaxKind.ConditionalExpression:
                    return Precedence.Expression;
                ...
                case SyntaxKind.DefaultExpression:
                ...
                case SyntaxKind.FalseLiteralExpression:
                case SyntaxKind.GenericName:
                case SyntaxKind.IdentifierName:
                ...
                    return Precedence.Primary;
                default:
                    throw ExceptionUtilities.UnexpectedValue(op);
            }
        }

        private enum Precedence : uint
        {
            Expression = 0, // Loosest possible precedence, used to accept all expressions
            Assignment = Expression,
            Lambda = Assignment, // "The => operator has the same precedence as assignment (=) and is right-associative."
            Conditional,
            Coalescing,
            ConditionalOr,
            ConditionalAnd,
            LogicalOr,
            LogicalXor,
            LogicalAnd,
            Equality,
            Relational,
            Shift,
            Additive,
            Multiplicative,
            Switch,
            Range,
            Unary,
            Cast,
            PointerIndirection,
            AddressOf,
            Primary,
        }

Defering this for the moment.
I want to discuss with the ECMA committee as we're adding the initial Patterns text in the standard. Moving to the June iteration.

@Hermholtz what confuses you? What experiments did you make to clarify your confusion? I see both and and or as not operators but combinators of patterns which are not related to operators like is or &&, so I cannot grasp your confusion. The code example in the issue is clear and I don't see how it may confuse.

Every decent programming language has a clear specification and written documentation of all its features. If it's not documented, but requires "intuition" or experimentation then how am I supposed to know if it works correctly? How am I supposed to know whether the observed behavior is by design or buggy?


Camel 4.7 - camel-openapi-validator extension

Describe the feature here
Extension that uses the Atlassian Swagger Validator client.
For CSB it was just a basic starter that the
https://github.com/apache/camel-spring-boot/commit/9a8d2fc962f656e65b9b01acb86198e28c47febc
The validator is in core project at
https://github.com/apache/camel/tree/main/components/camel-openapi-validator

Hmm, is it really worth to creat a new extension? There is only one class in camel-openapi-validator and I just wonder if we can just add it in the classpath.


Analytics functioning correctly on FC1?

The numbers do not look correct in comparison to the previous year - they appear 'inflated' much like the issue we encountered on our other sites e.g. cookies being counted more than once. Please check.

@richpomfret To check and see if it is still open or not.


Optional suggestions for preferring Dub releases when no dual-audio available

Apologies if I've done something incorrect here, first time I've done anything other then open an Issue on GitHub.
I noticed I was still getting Erai-raws releases when a dub was available but no dual audio option was. I had followed the initial instruction to not add the last two lines to the Must Not Contain but they were still being outscored due to those lines not being added anywhere in preferred. This was my solution. Dub releases appear to be getting a score of 406 now if they match both of the changes I made plus the +5 score in your optional section, so they're not outscoring a dual audio release with 501 or any of the ones with higher scores, which I assume are likely to be dual-audio if available. Not sure if the scoring should be modified.

@Visorask could you take a look at it and give your opinion about it.

Yeah I'll take a look tomorrow gonna be adding specific profiles for subs/dual-audio/dub, just doing a bunch of research first, also gonna be adding a guide for uncensored/uncut anime, as there are only so many releases and groups that do them.

Closed because of no updates after 3 months,
re-open when needed.


Spyder 5.2.1 connecting to kernel when using the Tk backend

Description
What steps will reproduce the problem?

Using Win10.
Downloaded Spyder 5.2.1 from spyder-ide.org

Create a virtualenv with Python 3.10
pip install spyder-kernels==2.2.*

Hey @trierweiler, thanks for opening this issue! Are you also seeing the error you reported in https://github.com/spyder-ide/spyder/issues/16765#issuecomment-991313431?

Please also describe the steps you followed to

Create a virtualenv with Python 3.10

I observed something similar (see https://github.com/spyder-ide/spyder-kernels/issues/347). Having the backend set to "Automatic" and not having pyqt5 installed, or choosing "Tkinter" as backend causes the console to be stuck on "Connecting to kernel...". @trierweiler Have you tried changing backend under Tools>Preferences>IPython console>Graphics and starting a new console, in case the behavior is similar?

Thank you, it solved the problem. I installed pyqt5 and chose "Automatic"
instead of "Tkinter" as backend.
On Wed, Dec 15, 2021 at 9:42 AM Reinert Huseby Karlsen <
@.***> wrote:

I observed something similar (see spyder-ide/spyder-kernels#347
https://github.com/spyder-ide/spyder-kernels/issues/347). Having the
backend set to "Automatic" and not having pyqt5 installed, or choosing
"Tkinter" as backend causes the console to be stuck on "Connecting to
kernel...". @trierweiler https://github.com/trierweiler Have you tried
changing backend under Tools>Preferences>IPython console>Graphics and
starting a new console, in case the behavior is similar?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spyder-ide/spyder/issues/17024#issuecomment-994755518,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADMDJIFKUQRPVLUUE4IWTSTURCELXANCNFSM5KCIYOWA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Gabriel Trierweiler Ribeiro

Running "%matplotlib tk" in an ipykernel console results in:
C:\ProgramData\Anaconda3\lib\site-packages\ipykernel\eventloops.py:259: RuntimeWarning: coroutine 'Kernel.do_one_iteration' was never awaited
  self.func()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

So it is likely that the tk eventloop is broken in ipykernel since  #632

See: https://github.com/ipython/ipykernel/issues/742

Thanks @impact27 for your help with this!
It seems the fix is relatively simple (just running synchronously the do_one_iteration coroutine). I'll try to take a look at it later today.

Well you can't because then the loops would be nested. Unless you use https://github.com/erdewit/nest_asyncio. But that might be a hard sell for ipykernel. I think the entrire tk eventloop has to be rewritten. THe solutions I see are to:

Force ipykernel<6
Disable tk backend

nest_asyncio is already a dependency of jupyter_client, so we can proceed with that solution:
https://github.com/jupyter/jupyter_client/blob/0eb492726cc279fdb3e2ff690cb62e8a69182d0d/jupyter_client/utils.py#L11-L29
I was thinking to use that run_sync function to fix the problem, but since you seem better acquainted with it, could you give me hand to solve it?

I opened https://github.com/ipython/ipykernel/pull/830

Thanks a lot @impact27!


Processor load info missing

We running Autoware on several different Ubuntu 14.04, ROS Indigo hosts, and none of them display real-time processor load, as seen on demo videos.
Installation done as described in instruction.
Whet we are missing, or this functionality is not included in GitHub source?

Whet we are missing, or this functionality is not included in GitHub source?

Yes it is included in Autoware source tree by default. Did you get any warnings or error messages ?

Launch Runtime Manager by rosrun runtime_manager runtime_manager_dialog.py from terminal emulator
Can you see any warnings or error in terminal emulator ?

[rospack] Error: package 'runtime_manager' not found

How about following steps ? (If you use zsh, please load zsh scripts instead of bash scripts)

source ./devel/setup.bash
cd ~/Autoware/ros
source ./devel/setup.bash
rosrun runtime_manager runtime_manager_dialog.py

Yes,, now its work
Output is: (and GUI window pop-up without processor info)
loading param.yaml
loading qs.yaml
loading setup.yaml
loading map.yaml
loading sensing.yaml
loading computing.yaml
loading interface.yaml
loading data.yaml
loading simulation.yaml
loading status.yaml
creating item node list .cmd_param file is required
cmd_param file is required
cmd_param file is required
cmd_param file is required
cmd_param file is required
...cmd_param CalibrationFile is required
cmd_param file is required
[camera.launch] is neither a launch file in package [pointgrey_camera_driver] nor is [pointgrey_camera_driver] a launch file name
The traceback for the exception was written to the log file
cmd_param CalibrationFile is required
cmd_param calibration is required
cmd_param calibration is required
cmd_param calibration is required
cmd_param calibration is required
.....
loading topics.yaml
Exception in thread Thread-7:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/user/Autoware/ros/src/util/packages/runtime_manager/scripts/runtime_manager_dialog.py", line 1310, in top_cmd_th
fv = float(v)
ValueError: invalid literal for float(): 0,0

Thanks for information.

@rg4444 Could you show us output of env COLUMNS=512 top -b -n 2 -d 0.1 ?

See attached output file:
output.txt

Thanks. This is locale issue. We only assume number expression in English(123.45), not Spanish(123,45).

Sorry I use Japanese in this comment.
@kondoh2 topコマンドの解析箇所が localeにより例外が発生してしまっています. スペイン方式(de_DE.UTF-8等)だと小数点数の表示形式が 123,45(小数点がカンマ)となり, これを Pythonの float関数に与えると例外が発生します(Pythonの float関数は英米方式 123.45しか受け付けない). 解決方法としては下記の URLのようにカンマをピリオドで置き換える, floatでなく localeパッケージの atof関数を使う, topコマンドを LC_ALL=C等で実行する方法が考えられます. floatが使われている箇所が複数存在し, 私では理解が及ばない部分もありますので, 修正案を検討いただければと思います. よろしくお願いします.
http://stackoverflow.com/questions/6633523/how-can-i-convert-a-string-with-dot-and-comma-into-a-float-number-in-python

We change Locale on Ubuntu 14.04 settings to English (United States) and now processor load and list of processes are visible. Thank you!

ご指摘ありがとうございます。
了解です。
検討します。
2016年4月1日 17:31 Syohei YOSHIDA<EMAIL_ADDRESS>
Sorry I use Japanese in this comment.
@kondoh2 https://github.com/kondoh2 topコマンドの解析箇所が
localeにより例外が発生してしまっています. スペイン方式(de_DE.UTF-8等)だと小数点数の表示形式が 123,45(小数点がカンマ)となり,
これを Pythonの float関数に与えると例外が発生します(Pythonの float関数は英米方式 123.45しか受け付けない).
解決方法としては下記の URLのようにカンマをピリオドで置き換える, floatでなく localeパッケージの atof関数を使う, topコマンドを
LC_ALL=C等で実行する方法が考えられます. floatが使われている箇所が複数存在し, 私では理解が及ばない部分もありますので,
修正案を検討いただければと思います. よろしくお願いします.
http://stackoverflow.com/questions/6633523/how-can-i-convert-a-string-with-dot-and-comma-into-a-float-number-in-python
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/CPFL/Autoware/issues/262#issuecomment-204307340

This issue was fixed by #268 change.


revisit --noUnusedLocals with "export types can't be named"

TypeScript Version:
2.1.5 and nightly (2.2.0-dev.20170125)
Code
// actions.ts
export interface FluxStandardAction<Payload, Meta> {
  type: string,
  payload: Payload,
  meta: Meta
}

export function createActionCreator<Payload, Meta>(type: string)
  : (payload?: Payload, meta?: Meta) => FluxStandardAction<Payload, Meta> {
  return (payload: Payload, meta: any) => {
    return createAction(type, payload, meta)
  }
}

export function createAction<Payload, Meta>(type: string, payload?: Payload, meta?: Meta)
  : FluxStandardAction<Payload, Meta> {
  return { type, payload, meta }
}

// consume.ts
import { FluxStandardAction, createActionCreator } from './actions'

interface AuthenticatePayload {
  authenticating: boolean
  authenticated: boolean,
  username?: string,
  errorMessage?: string
}

export const authenticate = createActionCreator<AuthenticatePayload, void>(AuthenticateActionType)

// type of `authenticate()`:
// (payload?: AuthenticatePayload | undefined, meta?: void | undefined)
//   => FluxStandardAction<AuthenticatePayload, void>

I would like to enable --noUnusedLocals but the "export types can't be named" issue keep preventing me from doing so.
Above is a simple scenario that involved a higher order function createActionCreator().
The logic is pretty simple and they function it returns is not hard to understand either.
If I turn on --noUnusedLocals, the consume.ts will fail because FluxStandardAction is not explicitly used.
But if I explicitly define the type of const authenticate, it is very redundant.
On one hand, the author of createActionCreator() may create a type for the return value to fix this:
export type ActionCreator = <Payload, Meta>(payload?: Payload, meta?: Meta)
  => FluxStandardAction<Payload, Meta>

// consume.ts
import { createActionCreator, ActionCreator } from './actions'

...
const authenticate: ActionCreator
  = createActionCreator<AuthenticatePayload, void>(AuthenticateActionType)

However, not all package authors would do that, leaving the consumer with very verbose code with not much value gain, IMO.
As an alternative, maybe we can have an inline comment to disable checks for that particular import?
import {
  // ts:disable-next-line noUnusedLocals
  FluxStandardAction,
  ... } from './actions'

...

Should not this be covered by https://github.com/Microsoft/TypeScript/issues/9944?

If we are going to resolve #9944 by auto-import and eliminating the need for this extra import, then yes. It will be covered.
On the other hand, I think the above code discover a bug. As I think of it, const authenticate: ActionCreator = ... should not work because it internally still uses FluxStandardAction and it is still not named. So I guess this code will blow up when imported as a library.

Suppressing --noUnusedLocals errors based on what the declaration emitter needs seems like a very complicated task. I would say #9944 should solve this.


期望可以设置htmlWebpackPlugin中的模板为pug模板

What problem does this feature solve?
目前的index.html和多页配置的扩展名.html都是写死的，这样不方便迁移项目。因为项目初期都是用pug开发
What does the proposed API look like?
可以增加一个设置模板扩展名的参数。比如：.ext或者.extname之类的

@sodatea you couldn't close this issues, because the last issues you didn't resolve and vue-cli 3.0 still does't support pug template

yarn add -D pug-loader

// vue.config.js
module.exports = {
  pages: {
    app: {
      entry: resolve('./src/main.js'),
      template: 'public/index.pug',
      filename: 'index.html',
      title: 'vuecli3.0'
    }
  },
  chainWebpack: config =>
    config.module
      .rule('pug')
      .test(/\.pug$/)
        .uses
          .delete('pug-plain-loader')
          .end()
        .use('pug-loader')
          .loader('pug-loader')
}

It will be false when using webpack inline loader syntax like template: '!!pug-plain-loader!public/index.pug'. This issue is being tracked at https://github.com/vuejs/vue-cli/issues/2697
But with the above-mentioned config you should have been able to use .pug files as templates.

@sodatea  what's the difference between pug-plain-loader and pug-loader?

pug-plain-loader compiles a pug file to a plain html string while pug-loader compiles it to a js module.
https://github.com/yyx990803/pug-plain-loader/blob/d2bc7c4ee84096fe94dd0c8778f3f6d860c2d6c3/index.js#L13
https://github.com/pugjs/pug-loader/blob/99e7e1240e312d735f8de3e40e70ca5adb6ace7d/index.js#L159-L160


Assigning anything to diffuse light makes the albedo unused

Godot version
v4.0.dev.custom_build [60add98a4]
System information
Linux Arch, Radeon RX 590
Issue description
When assigning anything to diffuse light or specular_light, ALBEDO isn't used anymore.
Might
Mesh in godot4

Mesh in Godot3

Steps to reproduce
Assign this shader, and comment the DIFFUSE_LIGHT line:
shader_type spatial;

uniform float power_diffuse = 2.0;
uniform float glossiness = 1.0;

void fragment(){
	ROUGHNESS = 0.3;
	ALBEDO = vec3(1.0, 0.0, 0.0);
}

void light(){
	float dot_val = dot(LIGHT, normalize(NORMAL));
	dot_val =  clamp(dot_val, 0.0, 1.0);
	dot_val = pow(dot_val, power_diffuse);
	DIFFUSE_LIGHT += dot_val * ATTENUATION * ALBEDO;
}

Minimal reproduction project
see above

Cannot reproduce on 3990152f6b (current master), can you verify that this is still an issue?

I can't reproduce this on 212989d46 (Linux, NVIDIA 510.60.42).
test_shader_light.zip
DIFFUSE_LIGHT unused

DIFFUSE_LIGHT used


use bootstrap .navbar

https://getbootstrap.com/docs/4.4/components/navbar/

nav looks good. (using a .row)


[FLINK-13826][table-planner][hive] Support INSERT OVERWRITE for Hive …

…connector

What is the purpose of the change
Support INSERT OVERWRITE Hive tables.
Brief change log

Pass whether to overwrite from planner to Hive sink
Add test to verify it works

Verifying this change
Added JUnit test case.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? docs

LGTM

cc @bowenli86 @xuefuz @zjuwangg


[view coordination] mouse over highlighting across views

On hover, highlight respective Entities and events in all views.
Maps

dot marker (event)
cluster dot marker (event)
donut segment (events)
entire donut (events)
line (entity)

Timeline
Network
Data panel
React Context, useHoverState
In Visualizations also write mouse event (cursor location) to context hover state

Implemented in network, see #152 .

Issue: highlights in a dot marker map are not always visible because dot markers from other events (at the same place) are occluding them


[feat] Need a better fs permission design

Describe the problem
If I now need to iterate through the filenames to read the files under $HOME/.notes
I need:
const files = await fs.readDir('.note',{dir:fs.BaseDirectory.Home}) // That's fine and dandy
await fs.readTextFile(files[1].path.replace(await path.homeDir(),''),{dir:fs.BaseDirectory.Home}) // but this is so bad he's hard to simplify
Describe the solution you'd like
No more suggestions, just thought maybe it would be appropriate to follow the nodejs fs design and not pass option.dir
Alternatives considered
No response
Additional context
No response

the dir option is not required and absolute paths should work too.


Fixed parrots not spawning.

Using OTG with Biome Bundle for a while I noticed that parrots were not spawning at all in my world.
After fixing Biome Bundle settings and looking the internet up I wasn't able to come across any meaningful information regarding this issue. I have no idea if this was an overlook or intended for any particular reason so I allowed myself to fork OTG and fix this issue.
Thanks for this awesome plugin and keep up the good work ! :)

Sorry about that force push, I'm some kind of maniac and didn't want to make another commit to fix an alphabetical sorting mistake in the mob names list. :p

Hey @Tof-Arei , sorry for the late response and thanks for this! Will be included with v1.12.2_v9.0_r8.


Maintain field order when rendering templates

I suspect this is tied to Decode and maybe Go maps? At some point the fields became lexically ordered.
It would be very helpful if fields maintained their order, like export
Given:
import "text/template"

foo: {
	b: "b"
	a: "a"
}

tpl: """
{{ range $k, $v := . }}
{{ $k }}: {{ $v }}
{{ end }}
"""

txt: template.Execute(tpl, foo)

Output:
$ cue export test.cue -e foo
{
    "b": "b",
    "a": "a"
}

note how a & b swap order in this example
$ cue eval test.cue
foo: {
    b: "b"
    a: "a"
}
tpl: """
    {{ range $k, $v := . }}
    {{ $k }}: {{ $v }}
    {{ end }}
    """
txt: """

    a: a

    b: b

    """

Thanks for raising this, @verdverm.
If you think this is a bug, please can you update the issue to follow the "Bug report" template?
Thanks

I'm not sure if it is a bug, or even something CUE can handle easily. It needs more investigation to find the root cause (Decode implementation or Go map iteration)


Recent Images Image Orientation Incorrect.

*Recent images displayed are not displayed with the correct image orientation. Need to set image orientation.

PR #19

@searchy2 Thanks for improvement.


scala-common-enrich - Spec failure for non-UTC

I get a spec failure when running tests for scala-common-enrich. It appears the test expects UTC. I'm UTC-7.
[info] OutputSpec
[info]
[info] This is a specification to test the Output of SQL Query Enrichment
[info]
[info] + Parse Inetger without type hint
[info] + Parse Double without type hint
[info] + Handle null
[info] x Handle java.sql.Date as ISO8601 string
[error]  'JString(2016-06-10T04:38:47.000-07:00)' is not equal to 'JString(2016-06-10T11:38:47.000Z)' (OutputSpec.scala:45)
[error] Expected: ...6-10T[11]:3...00[Z])
[error] Actual:   ...6-10T[04]:3...00[-07:00])
...
error] Failed tests:
[error] 	com.snowplowanalytics.snowplow.enrich.common.enrichments.registry.sqlquery.OutputSpec

Thanks for reporting this, however this has been fixed in the next release (#3203)


[Feature] [Master] Use ssh shell command for host link and agent distribution

Search before asking

[X] I had searched in the feature and found no similar feature requirement.

Description
当前使用apache sshd的jar包进行主机链接和agent分发，在部分操作系统上不支持apache sshd，希望使用ssh shell命令进行主机链接和agent分发
Usage Scenario
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I'll do it.

I will improve it


Manga Ship not working

Source information
Manga Ship 1.4.3
Source language
Turkish
Steps to reproduce
1 I opened the repo and came across these

2 I thought it might be a mistake, so I went to the web to see if it could be fixed.

3 but nothing changed

Expected behavior
Series nothing works
Actual behavior
This time the site is working properly, but there seems to be an error in the repo. I thought it would be fixed by accessing the web and it didn't work. I cleared cookies etc. It didn't work. It shows only one series and there is nothing in that episode.
Mihon/Tachiyomi version
Mihon 1.17.7015 (Beta)
Android version
Android 13
Other details
I guess I don't have any more details to give, I can write them if you want, thank you.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Add a :+1: reaction to issues you find important.

Duplicate #1100


[Enhancement] List partition does not support cool down and add a hint

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE Incremental Coverage Report]
:heart_eyes: pass : 8 / 8 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/server/OlapTableFactory.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/sql/ast/SinglePartitionDesc.java
2
2
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

@Mergifyio backport branch-3.1


Background div is not sync when we press ENTER at starting position of text area.

Enter any 2 or 3 auto-complete words and goto the starting position of the text area then press Enter then background color will remains in the same position.

I see this bug on Sprintly every single day.

please you can check this repo - https://github.com/sunil1293/mention-input.

@djhvscf is this roadmapped to be fixed soon?
Or at the least, is there something we can trigger to redraw the mention highlight, that we can trigger on input change, scroll, etc.


Bluetooth: Controller: CIG: Host reject: LE Reject CIS Request

Is your enhancement proposal related to a problem? Please describe.
A clear and concise description of what the problem is.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or graphics (drag-and-drop an image) about the feature request here.

This is implemented as part of PR43023 and subsequent fixup PRs


Error using getCurrentPosition for geolocation

I am trying to get the geolocation from the users browser for a Flutter web project but I am running into this error and cannot figure out why.  I am able to use other methods of the library such as getting the users locales but geolocation fails.  My guess is perhaps this is a permissions issue as I can get the users location if I use a similar JavaScript method in the Flutter index.html page and then can call the JS method directly using js.context.callMethod("geolocate"); from Flutter class.
import 'package:universal_html/prefer_universal/html.dart' as html;
if(html.window.navigator.geolocation != null) {
        html.window.navigator.geolocation.getCurrentPosition(enableHighAccuracy: false, timeout: Duration(microseconds: 10000))
            .then((position) {
              print("latitude ${position.coords}");
              print("longitude ${position.coords}");
            })
            .catchError((error){
              print("no gelolocation $error");
            });
      } else {
        print("no gelolocation ");
      }

The error output from the console is as follows:
longitude NoSuchMethodError: tried to call a non-function, such as null: 'html.window.navigator.geolocation[$getCurrentPosition]'

I can get languages to work
List<String> getLocales() => html.window.navigator.languages;
print("languages ${getLocales()}") ;

This outputs languages [en-US, en]
It seems that the library is working fine for other methods, it's just the geolocation that I cannot seem to get to work.   Here is my flutter doctor output if that provides additional information:
[✓] Flutter (Channel master, v1.12.17-pre.44, on Mac OS X 10.15.1 19B88, locale en-US)
    • Flutter version 1.12.17-pre.44 at /Users/michaelritchie/Development/flutter
    • Framework revision f68cdacdd5 (19 hours ago), 2019-12-03 18:13:01 +0000
    • Engine revision faa11214c0
    • Dart version 2.7.0 (build 2.7.0-dev.2.1 e4344a568f)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/michaelritchie/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2.1, Build version 11B53
    • CocoaPods version 1.8.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 41.1.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.40.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.6.0

[✓] Connected device (3 available)
    • AOSP on IA Emulator • emulator-5554 • android-x86    • Android 9 (API 28) (emulator)
    • Chrome              • chrome        • web-javascript • Google Chrome 78.0.3904.108
    • Web Server          • web-server    • web-javascript • Flutter Tools

• No issues found!

This package has tests for 'navigator.geolocation' so it should work.
If you run 'flutter upgrade', does the error still occur after the upgrade?

Also try upgrading to the latest version of this package:
dependencies:
  universal_html: ^1.1.10

...and run pub get. Does that solve the issue?

@terrier989
dependencies:
  universal_html: ^1.1.10

This did the trick, it is now working, thanks!


[Task]: Resolve Blockhound Callouts for Gsheets plugin (Actions Execute API)

SubTasks
Resolve Blockhound Callouts for Gsheets plugin (Actions Execute API)

Moving this back to sprint backlog as I have to look into two issues post merging the actions API improvements PR last week.

https://theappsmith.slack.com/archives/C024GUDM0LT/p1725964415678489?thread_ts=1725960912.325389&cid=C024GUDM0LT
https://theappsmith.slack.com/archives/C024GUDM0LT/p1725943060293719?thread_ts=1725864964.488269&cid=C024GUDM0LT

CC: @NilanshBansal @rohan-arthur

Checked different operations in Google Sheets for blocking callouts and here are the observations:

Operation
Callout yes or no?
ThreadName

Fetch Details
No
NA

Fetch Many (Spreadsheets)
Yes
reactor-http-nio-4

Fetch Many (Sheet rows)
No
NA

Insert One (Spreadsheet)
No
NA

Insert One (Sheet rows)
No
NA

Insert Many (Sheet rows)
No
NA

Update One (Sheet rows)
No
NA

Update Many (Sheet rows)
No
NA

Delete One (Spreadsheet)
No
NA

Delete One (Sheet)
No
NA

Delete One (Sheet rows)
No
NA

These are the operations that were checked for google sheets, out of which we got a blocking callout for fetchSpreadSheets query which has fetch many operation and entity type selected as spreadsheet, which means this query fetches all the spreadsheets belonging to this specific datasource. We got a blocking callout when passing in GoogleSheetMethodsEnum to the getSpeadsheetData method of SheetUtils. This callout is coming from inside java.net and java.io package when loading the GoogleSheetMethodEnum file. Since this is not coming from our code directly and instead coming from external package, we can ignore this callout.

Note that this blocking operation does not block main thread, so we are good to ignore it for now.
Another thing I checked is replacing this enum with FeatureflagEnum which exists inside appsmith-interfaces package to see if it's an issue with GoogleSheetMethodEnum file specifically but even with FeatureFlagEnum, got the same callout

Since this is not blocking main thread and callout is coming from an external package, we can close this issue safely.
CC: @NilanshBansal


updated with configuration of flowlogs2metrics

We don't want to filter every field based on a white list like proposed here, at least it's not like it currently works in goflow-kube. The reason is that, in the console plugin, we let the user see the whole json flows, even for columns that we are not displaying, which could eventually be useful for debugging, I think. We make a kind of "editorial choice" when displaying columns, and want to leave the full json access available in case there's interesting data not covered.

@KalmanMeth what will happen if we remove the transform generic stage ... will we get all the fields???
https://github.com/jotak/network-observability-operator/pull/1/files#diff-0e93448aad33d45e855f64ad3d30474ea7552dae691a53784c0396d6f27605f1R251

@KalmanMeth what will happen if we remove the transform generic stage ... will we get all the fields???
https://github.com/jotak/network-observability-operator/pull/1/files#diff-0e93448aad33d45e855f64ad3d30474ea7552dae691a53784c0396d6f27605f1R251

@eranra If you use transform none, then it should simply give you everything. If there is no transform generic but there is transform network, then you'll get whatever the transform network outputs.

@jotak I updated the PR

thanks!


Initial Jekyll and GitHub pages setup

Just a placeholder issue for now.

Initial Jekyll config added with 952d1e6...75985d0

Initial Jekyll config added with 952d1e6...75985d0


Projectiles behaving funky

Trying to launch projectiles while on a splinetrack causes it to shoot out with additional arbituary rotation

misscilck


fix copy mechanism

Fix the copy code mechanism for the published docs via /docs/theme/static/js/themeExt.js

@SooluThomas looks like you made a broader issue and solved it with a PR. Right? If so, you can close this issue and cancel PR #328.


No full build/UnwrapUV2/Quick Build buttons.

I've created a small test map in Trenchbroom just to look how it will look in Godot. But...
There is no this three buttons:

This is how it looks in my Godot project:

??????

At the top of the README.
You're using the non -mono engine build.


fix(pacmak): fails when package path contains space

Quoting the package path in the sub-shell command so that spaces are not
incorrectly interpreted as argument delimiters.
Fixes #2748

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

For what it's worth, this fix was the only change I needed in order to get jsii working correctly for a JSII project generated by projen.


For Firefox 102.11.0esr outdated geckodriver is being fetched (0.31.0)

The problem
For Firefox 102.11.0esr outdated geckodriver is being fetched (0.31.0).
Based on this page, latest geckodriver supported is 0.33.0: https://firefox-source-docs.mozilla.org/testing/geckodriver/Support.html
Is there an easy way to specify which version of geckodriver to use as a temporary solution?
Tell us about your environment

Selenide Version: 6.9.0
Firefox: 102.11.0esr
Browser Driver Version: 0.31.0

Sure. Selenide uses WebDriverManager to download the proper version of geckodriver.
Something like this should help you:

WebDriverManager.firefoxdriver().driverVersion("0.33.0").setup();

For more details, refer to WebDriverManager documentation.

Thank you @asolntsev, it helps. And thank you for your commit :)


Look at making an OpenGL-specific TextField renderer

We currently use CairoTextField to render TextField, but we should consider writing a hardware-specific renderer, which uses Tilemap (or a similar render technique) with an atlas of glyphs.
This may also enable us to use Harfbuzz more aggressively for complex text layout

May rely upon https://github.com/openfl/lime/issues/368

CairoTextField is slow,the hardware-specific renderer work should complete as soon as possible !


Input type="search" usage

This is more of a question than anything since I assume there's a reason.
Why isn't type="search" used on the input field of this autocomplete?
This would:

Prevent Chrome's Autofill appearing, this seems one of the only ways to disable
Add a little "x" in some browsers to clear the search term
Clear the text when Esc was clicked

Hi Alec,
Good question – thanks for getting in touch.
As you note, the accessible autocomplete is currently hardcoded to use an input of type="text". It's been that way since the start, and the original author is no longer actively involved with the project
https://github.com/alphagov/accessible-autocomplete/blob/0fcf3fd293b6473f174b38e045f6ec7cb93d36bd/src/components/typeahead/index.jsx#L11-L15
It might make sense to make this customisable, so that it can be set to type="search" in certain contexts. We use the component as an actual search interface in the GOV.UK Design System, for example – and it seems like it'd make sense there.
I'm not sure about making it type="search" by default, however. In most contexts (e.g. 'Select a country') the autocomplete is behaving more like an enhanced select box or a datalist than a search interface. I think if we were going to consider such a change we'd need to investigate:

how it'd be presented to assistive technologies – for example, if its role is affected, or if it appears as a search landmark, does this cause confusion to users?
how it'd affect e.g. the keyboard layout on tablet / mobile devices – for example, if the keyboard's action key then appears as 'search' does this cause confusion, as this may not align with the user's mental model of what they're trying to do.

Ollie


First contribution

Heya, I just started by installing Stephanie, so I had to fix stuff as I am on Linux (Ubuntu) and I thought I would contributing.
I added .gitignore for ignoring files after installation, updated the readme file and fixed the requirements.txt as dateutil is actually called python-dateutil and the webbrowser is built-in.
If you would like some additional help, let me know if you need something specific. Otherwise I thought of making some sort of visual interface and improving usability here and there :)

Hey nesh! That's really good! But if you do a quick git pull, you would realize that requirements.txt problem is already fixed, and yes that linux readme is good!  But maybe I am missing something why did you put all of those modules in gitignore?

Ohh man. I must have forked it yesterday and then didn't check anymore. My bad!
About the gitignore, it's because after running python3 install.py, files get compiled and, since they are not ignored, they are shown as changes, which clearly nobody should push :)

Here is the list of changes after installing the required libraries:
Stephanie/AudioManager/__pycache__/__init__.cpython-35.pyc
Stephanie/AudioManager/__pycache__/audio_getter.cpython-35.pyc
Stephanie/AudioManager/__pycache__/audio_manager.cpython-35.pyc
Stephanie/AudioManager/__pycache__/audio_recognizer.cpython-35.pyc
Stephanie/EventDispatcher/__pycache__/__init__.cpython-35.pyc
Stephanie/EventDispatcher/__pycache__/event_dispatcher.cpython-35.pyc
Stephanie/TextManager/__pycache__/__init__.cpython-35.pyc
Stephanie/TextManager/__pycache__/speaker.cpython-35.pyc
Stephanie/TextManager/__pycache__/text_manager.cpython-35.pyc
Stephanie/TextManager/__pycache__/text_recognizer.cpython-35.pyc
Stephanie/TextProcessor/__pycache__/__init__.cpython-35.pyc
Stephanie/TextProcessor/__pycache__/audio_text_manager.cpython-35.pyc
Stephanie/TextProcessor/__pycache__/module_router.cpython-35.pyc
Stephanie/TextProcessor/__pycache__/text_learner.cpython-35.pyc
Stephanie/TextProcessor/__pycache__/text_processor.cpython-35.pyc
Stephanie/TextProcessor/__pycache__/text_sorter.cpython-35.pyc
Stephanie/__pycache__/__init__.cpython-35.pyc
Stephanie/__pycache__/activity.cpython-35.pyc
Stephanie/__pycache__/boot.cpython-35.pyc
Stephanie/__pycache__/commander.cpython-35.pyc
Stephanie/__pycache__/configurer.cpython-35.pyc
Stephanie/__pycache__/updater.cpython-35.pyc
Stephanie/__pycache__/virtual_assistant.cpython-35.pyc
Stephanie/local_libs/__pycache__/__init__.cpython-35.pyc
Stephanie/local_libs/__pycache__/activity_search.cpython-35.pyc

The gitignore hides all those :)

Oh Yes!! I didn't notice there was no .gitignore! but maybe this will be better one? How about you change that .gitignore to this one? and remove requirements.txt and readme.md is good, send me a request of that and I will gladly merge it. :D
# Created by .ignore support plugin (hsz.mobi)
### Python template
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
#  Usually these files are written by a python script from a template
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# dotenv
.env

# virtualenv
.venv
venv/
ENV/

# Spyder project settings
.spyderproject

# Rope project settings
.ropeproject

# Pycharm IDE
.idea

.gitignore

Ok! By the way, the requirements.txt is exactly the same, so it's not a problem :)


How to get access to API?

What is the process to get access to APIkey and Secret. I tired reaching out to support, but they are not sure weather they can provide access or not and have forwarded the request to developer, which I assume is you.
I have good user base and if API access is provided some 1000 odd users will start using the platform.

This is not official API , just tried to program. There is no need of API and Secret just username password and twofa(same answer for all questions). I already told SAS support team but they are not willing to provide any official api since I guess it comes with cost and more support tickets. It is just an use AS IS - for everyone.
Better use it as it is available and do not disturb SAS team unnecessary. Check Readme properly most of the answer available there.

Hi, Thank you for your reply.
Just curious, since there is no support, how reliable or scalable is it to develop application around API.
Do not think otherwise, asking this as you are a developer, nothing against the product or efforts.

@qFactorin I would suggest not to use for mission critical projects since SAS team says their APIs are not stable. Since SAS is good in some aspects that is the reason I created this unofficial project. You can say it is Use at your own RISK thing.


Tutorial request

There is too much going on in the app.
I tried to recreate the app from scratch but its not working. I think I have missed to add something.
If you could post tutorial on medium then it would be great.
Thanks either way for this project.

No Problem. I am glad you liked it.
Kindly check out the demo project again and try to work out something from there.
btw Still I'l consider simplifying the read me of the repository. :)

Also because I only know swift & never learned objective C. So I am bit confused.
And learning from your code is my top priority at the moment. I am spending 6-8 hours per day reading your code & Apple documentation.
If you create tutorial then I will learn faster. But one way or the other I will reverse engineer your code.

I appreciate your enthusiasm. Currently I had plans to write how I implemented the sync part. I started it and I think I might complete it in a day or two. Best of luck in learning swift but my advice for you is Think Big, Start Small. First consider doing some small stuff in swift and then build up from there.
I'l post the link to the article (Related to sync) on this issue when I am finished till then best of luck :)

Yeah its frustrating. I studied core data from e book & cloud kit from course I purchased. But they don't teach you how to combine them together.
I was like why the hell did I buy this course. The only reason I bought it so I can use them together in app I am building.
I have been studying swift for about 8 months & core data / cloud kit for last 3 months. Hopefully I will learn this quicker.
Also please don't forget to post link here when you create tutorial.

Your app actually has one issue. When you delete item the app crashes.
When you delete one row you didn't delete from tasks array.
You just need to add following line
self.tasks.removeAtIndex(indexPath.row)

I have found a code that would tell you whether user changed their iCloud account or logged out of iCloud in middle of using the app.
func applicationDidBecameActive(notification:NSNotification) {

    println("Application is active")

    NSNotificationCenter.defaultCenter().removeObserver(self, name: NSUbiquityIdentityDidChangeNotification, object: nil)

}

func applicationBecameInactive(notification:NSNotification) {

    println("Application is inactive")

    NSNotificationCenter.defaultCenter().addObserver(self, selector: "handleIdentityChange:", name: NSUbiquityIdentityDidChangeNotification, object: nil)

}

func handleIdentityChange(notification:NSNotification) {

    println("this is working")

    let fileManager = NSFileManager()

    if let token = fileManager.ubiquityIdentityToken {

        println("New token is \(token)")

    }
    else {

        println("User has logged out of iCloud")

    }

}

Waiting for your sync tutorial. Please create it soon. Its very difficult to understand otherwise.


Error(Client(Backend("GRANDPA DB is corrupted."))

All 3 validators nodes cannot be started with this error.
2019-03-10 21:10:54.819 main INFO substrate::cli  Node name: ANDREA
2019-03-10 21:10:54.819 main INFO substrate::cli  Roles: AUTHORITY
Error: Error(Client(Backend("GRANDPA DB is corrupted.")), State { next_error: None, backtrace: InternalBacktrace { backtrace: None } })

Let me know if you need to access the genesis json file and the db folder

I have fetched&merged the latest version today and still got Error: Error(Client(Backend("GRANDPA DB is corrupted.")),.

got similar error log as
"Error: Service(Client(Backend("GRANDPA DB is corrupted: Error decoding field VoterSetState :: Live.completed_rounds")))
"


DO NOT REVIEW - Test DeprecatePythonPath

Codecov Report

Merging #10813 into master will decrease coverage by 0.17%.
The diff coverage is 66.53%.

@@            Coverage Diff             @@
##           master   #10813      +/-   ##
==========================================
- Coverage   60.64%   60.46%   -0.18%
==========================================
  Files         583      584       +1
  Lines       31558    31729     +171
  Branches     4488     4514      +26
==========================================
+ Hits        19137    19184      +47
- Misses      11449    11570     +121
- Partials      972      975       +3

Impacted Files
Coverage Δ

src/client/activation/serviceRegistry.ts
83.54% <ø> (-0.61%)
:arrow_down:

src/client/common/application/types.ts
100.00% <ø> (ø)

...erpreter/configuration/pythonPathUpdaterService.ts
23.07% <0.00%> (ø)

src/client/interpreter/configuration/types.ts
100.00% <ø> (ø)

src/client/common/interpreterPathService.ts
12.24% <12.24%> (ø)

src/client/common/configuration/service.ts
18.00% <15.38%> (+0.50%)
:arrow_up:

src/client/common/application/workspace.ts
36.66% <40.00%> (+5.89%)
:arrow_up:

...ication/diagnostics/checks/macPythonInterpreter.ts
80.80% <66.66%> (-1.96%)
:arrow_down:

src/client/interpreter/interpreterService.ts
63.24% <73.68%> (+1.97%)
:arrow_up:

...ter/configuration/services/globalUpdaterService.ts
85.71% <80.00%> (+73.21%)
:arrow_up:

... and 24 more

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 0ba42da...9f04158. Read the comment docs.


Sidebar expanded by default

The sidebars define if it's in a collapsed mode based on the value stored in local storage:
https://github.com/jenkinsci/jenkins-design-language/blob/master/components/Sidebar/SidebarBehavior.ts#L42
Which means that it's always initially expanded. I think it should be collapsed by default or even better approach would be to pass a prop with an initial value so that the application controls that.

I've added a default property with an initial value of "expanded".

PR-200


Merge AK/3.2 to CCS/3.2 - 2022-04-12

Manual sync from AK 3.2 to CCS 3.2.
Conflicts were resolved in the following file:
gradle/dependencies.gradle
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

I reviewed the gradle/dependencies.gradle and the changes look good.


Publish to Homebrew cask?

Hi @onivim team.
I am purchased this app through license key and would be nice to see this app on Homebrew (trial version) and later activating it via License Key.
Also would be nice to see this app on

choco / scoop on Windows
apt on Debian / Ubuntu
pacman on Arch Linux / Manjaro

Hi @dalisoft ,
Thanks for the feedback! Agreed - would be nice to have the trial published to these places.
Related #767 (and an unofficial tap mentioned there)

Thanks. I am exciting how fast is editor. You’re developer just a master 😎


Call to docker ps fails due to container injection

sudo docker ps
"docker ps" accepts no arguments.
See 'docker ps --help'.

Usage:  docker ps [OPTIONS]

List containers

injecation seems to add empty string at the end: docker ps ''

looks like we assume there is always an additional non-option argument like image. and if there is none, the string is empty and we still append it


boards: soc: riscv: add QEMU RV64 virt board

This is preparation for RISC-V SMP support. Currently SMP and new task-switch configurations are disabled.

This patch add definitions and settings for QEMU RV64 virt machine.
These are minimal supports only for CPU, Memory, CLINT and UART.
QEMU has supported multiple machine types. It seems virt machine
is most suitable for developing and testing SMP mode on rv32/rv64
both architecture using QEMU.
| Support       | sifive_u | spike | virt  |
+---------------+----------+-------+-------+
| SMP           | yes      | yes   | yes   |
| RV32/64       | 64       | 32/64 | 32/64 |
| UART input    | yes      | no    | yes   |
| Real machine? | yes      | no    | no    |
Signed-off-by: Katsuhiro Suzuki<EMAIL_ADDRESS>

Stack overflow occurred in tests/crypto/mbedtls.
CONFIG_TEST_EXTRA_STACKSIZE is increased to 4096.

Add FPU supports.

#31166 has similar purpose of this PR. So it's better to close this PR and keep going #31166.

#31166 has similar purpose of this PR. So it's better to close this PR and keep going #31166.


[BUG] (flops_profiler) Duplicate registration check for start_time_hook is not working

Describe the bug
I get AttributeError: Can't pickle local object 'FlopsProfiler.start_profile.<locals>. register_module_hooks.<locals>.start_time_hook' when I run torch.save on a model that has been run get_model_profile.
I checked the flops_profiler code and found that the part that should be if not hasattr(module, "__start_time_hook_handle__"): is if not hasattr(module, "__start_time_hook_handle"):.
After correcting the above, the error no longer occurs.
To Reproduce
Run get_model_profile and torch.save on a model that has the same module in several different parts.
My reproduction code is here.
import io
import torch
import torch.nn as nn
from deepspeed.profiling.flops_profiler import get_model_profile

class Foo(nn.Module):
    def __init__(self, submodule=nn.Identity()):
        super().__init__()
        self.submodule = submodule

    def forward(self, x):
        return x

model = nn.Sequential(Foo(), Foo())
get_model_profile(model, args=(1,), print_profile=False)
with io.BytesIO() as buf:
    torch.save(model, buf)

Expected behavior
AttributeError: Can't pickle local object... does not occur in torch.save after get_model_profile
(or all modules do not contain start_time_hook in _forward_pre_hooks)
ds_report output
ds_report could not be complete due to AttributeError: module 'os' has no attribute 'statvfs'
I have installed deepspeed-0.12.7+40342055-py3-none-any.whl to Python 3.12 on Windows 10
System info (please complete the following information):
Collecting environment information...
PyTorch version: 2.2.2+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Microsoft Windows 10 Home
GCC version: (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0
Clang version: Could not collect
CMake version: Could not collect
Libc version: N/A

Python version: 3.12.3 (tags/v3.12.3:f6650f9, Apr  9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)] (64
-bit runtime)
Python platform: Windows-10-10.0.19045-SP0
Is CUDA available: True
CUDA runtime version: 8.0.60
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration: GPU 0: NVIDIA GeForce RTX 4060 Ti
Nvidia driver version: 546.01
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture=9
CurrentClockSpeed=3696
DeviceID=CPU0
Family=198
L2CacheSize=1536
L2CacheSpeed=
Manufacturer=GenuineIntel
MaxClockSpeed=3696
Name=Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
ProcessorType=3
Revision=

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] torch==2.2.2+cu121
[conda] Could not collect

Hi @threewayhandshake - could you confirm if you are still hitting this on the current DeepSpeed released wheel that is build specifically for Windows?
I'll check on the solution you have and create a PR and we can discuss there as well if this is still relevant?


Force scene re render on back action

Using RNRF v3.3.7 and react-native v0.39.0.
When pressing the back button on the navbar, I expect the previous scene to render it's component again. This could be a wrong expectation though, so, is there any way to force the update?

No it shouldn't re-render by default.  There are several ways to achieve this though.

Use Action.pop({ type: ActionConst.REFRESH })

Use the Action.pop({ somedata: 'result' }) with new props and the previous will re-render with the componentWillRecieveProps.

@ddolheguy This did not work for me.  Previous scene was shown but none of the react component lifecycle methods of the component were called.

Thanks @ddolheguy, but it didn't work.
When using Action.[key], the REACT_NATIVE_ROUTER_FLUX_REFRESH action is dispatched, but there isn't a screen render at all, the app mantains the same component.
When using Action.pop, I get the following error message: You are already in the root scene.

Can confirm that the type REFRESH does not has the expected behaviour.
It would be very, very, vey handy if there was a possibility to trigger a (re)render of the scene component when arriving on a specific scene (for refetching data etc.)

When navigating forward, we have a componentWillMount method to hook into.
When navigating back, there is no method to hook into.
A method like componentIsVisible for example, would be great to put inside a scene, where it would execute any code in it whenever it is the top visible item in the scene stack. Including when we pop/back_action from another scene unto it.
This router is good for basic navigation and has an easy to use API, but it is pretty frustrating when it comes to things like this.

@JeroenNelen I've been trying to find a workaround for this for ages and finally found a robust method. My approach is to provide my own "reducer" for the navigation state and pass a prop to every scene that makes it possible in the scene's componentDidMount to indicate that a method should be called on the scene component when the component is brought into focus. I've put my code on github here: https://github.com/leifdenby/react-native-router-flux-focus-hook. Hope this is useful to you.

@leifdenby I tried it out but it doesn't seem to work when navigating back to a scene that has your code's methods via Actions.pop()
I tested with an alert like this:
handleNavigationSceneFocus() {
    alert('focused');
}

and included your setup. The alert only works when I navigate/push to Scene A, then push from there to Scene B where I press something, which takes me to a second instance of Scene A (alerts here).
But when I go back from the second instance of Scene A to Scene B, then pop Scene B, it takes me back to the original Scene A but the alert does not run.
Shouldn't the alert run when popping back to Scene A?

@MovingGifts there might be other actions that I should hook onto when navigating. The easiest way to work this out would be to put in some debugging information in the reducer (https://github.com/leifdenby/react-native-router-flux-focus-hook/blob/master/index.js#L37). Once you find out what is missing I'd be happy to accept a pull request :)

+1

In my case I need to update the title within the NavBar and this part is doing the trick for me. I found the solution in Issue #1381.
Actions.pop({ refresh: { title: props.title } }

I have the same problem. I use tab scene.

@markhaasjes i followed @leifdenby cue and created https://github.com/codeNgamer/react-native-router-flux-hooks , you can hook into all ActionConst events now, just add what event you want.

@leifdenby also, let me know if you wanna merge and I can submit a pr :)

@leifdenby also, let me know if you wanna merge and I can submit a pr :)

Definitely! :)

Hi all, I was wondering if it would be possible to add a forceRenderOnFocus key on the Scene. For example:
<Scene key={HomeKey} component={Home} forceRenderOnFocus={true}/>
At present I'm using @leifdenby react-native-router-flux-focus-hook to solve the "Scene isn't re-rendering onFocus after the back button is pressed" problem.
But it means that I can't upgrade from react-native-router-flux "3.37.0" as that's what @leifdenby's hook uses. It also means I have to add the following code block to every component I want to renderOnFocus:
  componentDidMount() {
    const { navigationStateHandler } = this.props;
    navigationStateHandler.registerFocusHook(this);
  }

  componentWillUnmount() {
    const { navigationStateHandler } = this.props;
    navigationStateHandler.unregisterFocusHook(this);
  }

  handleNavigationSceneFocus() {
    this.forceUpdate();
  }

which bloats my codebase somewhat.

 Actions.sceneA()} component={SceneB} />

@shenders13 's solution is a great one.
If my scene A is Dashboard and my scene B is Profile.
User open Dashboard -> go to Profile -> update Profile (automatically redirected to Dashboard after hitting the Save button).
Now if user press the back button from the Dashboard on Android then it takes them to the previous Profile page without updating the state and it will show old information.
Having the forceRenderOnFocus prop would allow me to have Profile screen refresh whenever user hit the back button and they would see up to date information.


Add dependency on wayland-protocols for cube

Prerequisite for #591 and adding a Wayland build target to cube.

CI Vulkan-Tools build # 599 passed.