Add CoroutineHttpService for handle request within Coroutine suspend

Motivation:

Closes https://github.com/line/armeria/issues/5442

Modifications:

Add CoroutineHttpService implements HttpService

Result:

Closes #5442.
You can now use CoroutineHttpService that runs your service in a coroutine scope.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Looks great! How about also adding extension methods in this PR as well? 😆

Does the extension method here refer to the extension function of the Server Builder?

Right. Should we add coroutineService for ServerBuilder, and VirtualHostBuilder?
Server
  .builder()
  .coroutineService("/prefix", myCoroutineService)
  ...

Let's add the extension methods in the next PR. 😉
https://github.com/line/armeria/issues/5671

Great job, @pinest94! 👍


Added Google & GitHub Auth

Description

Added Google & GitHub Sign in buttons
Added Google & GitHub authproviders
Added a separator for separating both the buttons from login form
Added hovering effect for both the buttons

Fixes #973
Screenshots
https://github.com/user-attachments/assets/401834b7-264a-4f0f-9c12-a3edd8c1dab0
Checklist

[X] Tests have been added or updated to cover the changes
[X] Documentation has been updated to reflect the changes
[X] Code follows the established coding style guidelines
[X] All tests are passing

@thestarsahil Everything's done....the only thing remaining from your part is to add Google & GitHub as providers in Firebase Console and the functionality would work fine!!!

@thestarsahil Everything's done....the only thing remaining from your part is to add Google & GitHub as providers in Firebase Console and the functionality would work fine!!!

Add  the functionality and the icon should not in circle form , make a square type

@Asymtode712 Let's talk on VC around 8pm ?

https://app.netlify.com/login

Hey @thestarsahil , looks fine??
https://github.com/user-attachments/assets/811242ee-823b-4caf-a9fb-2e0b73f63cca

Hey @thestarsahil , I have add the functionality so that whenever an user logins with Google/Github and if the user is not an existing one then the user's associated email, username and profile picture will be added in the Profile

@thestarsahil Please review and merge this PR

Auth Funct. not working Error Showing

Can you please share a video demo for it

Screencast from 2024-07-17 20-52-59.webm

Screencast.from.2024-07-17.20-52-59.webm

@thestarsahil It is working fine for me, please check the video below
https://github.com/user-attachments/assets/a57fa969-d208-4fb9-a714-3535511a0092

npm run build error
and path file is incorrect
import googleIcon from "../../assets/googleIcon.png";
import githubIcon from "../../assets/githubIcon.png";
In assests : it is googleicon , githubicon

@thestarsahil Renamed the files, can you please reinitiate the build

@thestarsahil Renamed the files, can you please rerun the build

Same error showing

@thestarsahil ok wait let me close this PR and create a new one


Fix CSR1000v and c8000v

Removed whitespaces from makefile.include and fixed CSR and c8000v which had the VR_NAME variable that were not set.

thanks @Arthur-K-99


[BUG] : The css is not properly applied

Description
In the website the css is not properly applied. i would like to fix this.
@GarimaSingh0109 Please assign this issue to me.
Steps to Reproduce

Check the problem and fix css

Expected Behavior
.
Actual Behavior
.
Additional Information
No response
Browser
Chrome, Microsoft Edge
Checklist

[X] I have checked the existing issues.
[X] I have read the Code Of Conduct
[X] The changes don't break the code
[X] Please attach screenshots and videos of the development work once done

Hi @GarimaSingh0109  , I would like to work on this issue. Could you please assign me this task under the GSSOC-ext and Hacktoberfest-accepted tags? I’m excited to contribute.
Thanks so much!

please assign this issue to me

Hi
I would like to work on this issue. Could you please assign it to me.


editor.guides.bracketPairs causing scroll lag

I've noticed and not sure if this is from last couple of updates or my code is just getting bigger but using editor.guides.bracketPairs when scrolling on lets say tsx document scroll becomes really slow / lagy, but when i scroll to the area where there is only 1-2 of editor.guides.bracketPairs lines it's fine but when it's 5 or more scroll is lagy.
editor.guides.bracketPairs disabling it solves the issuse.
Version: 1.61.2
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin arm64 20.6.0
MacBook Air M1

Closing, as this does not seem to be a common problem. We tried the feature on huge documens and it is sufficient fast.
Please reopen if you can reproduce consistently.


fix(docs): fix theming docs for angular components

Description

Fix the instructions for theming in angular docs

What's included?

Edit the Getting started, Theming docs to make sure they work.
Change external links to point to Angular 17 docs instead of the latest version.
Add web component guides

Test Steps

[ ] npx nx serve docs-app
[ ] then check the Getting started and Theming docs
[ ] ensure the instructions work

General Tests for Every PR

[x] npm run start still works.
[x] npm run lint passes.
[x] npm run stylelint passes.
[x] npm test passes and code coverage is not lower.
[x] npm run build still works.

Screenshots or link to StackBlitz/Plunker

:tada: This PR is included in version 8.23.2 :tada:
The release is available on:

v8.23.2
GitHub release

Your semantic-release bot :package::rocket:


#352 "TODO" placeholder nodes for transpilers

We introduce (and showcase in tests) a simple "todo" marker node for parts of the AST that haven't been covered yet.

I think this is a quite challenging conceptual problem to solve.
I think we want to be sure to explore what the solution would mean in practice.
Perhaps I can start with describing what I expect to happen when building a transpiler.
One start defining some initial transformations. For example, one specifies that an EGL program must be mapped to a Java Class Declaration. To do this he must define the transformation and specify which parts of the EGL program end up producing the parts of the Java Class Declaration. For example, the name of the EGL program will be the name of the Java Class Declaration. Then we can say that each statement of the EGL program will end up in the body of a method named "main" under the Java Class Declaration. Something like:
this.registerNodeFactory(EGLProgram::class) { eglProgram ->
    JClassDeclaration(eglProgram.name,
        declarations=mutableListOf(JMethodDeclaration("main",
            translateList(eglProgram.statements)
        )))
}

Now, if the transpilation is triggered it will fail as we have not specified the translation for each EGL statement into a Java statement.
We would like to change that and to get a partial translation. Ideally, the developer would not need to do any extra work, like creating special node subclasses or define temporary transformations to be later removed. They would just trigger the transpiler and get some code representing a partial transformations. For example:
class aProgram {
    void main() {
        /* Translation of EGL Statement 1 (EglIfStmt) */
        /* Translation of EGL Statement 2 (EglExprStmt) */
        /* Translation of EGL Statement 3 (EglExprStmt) */
    }
}

Later on the developer decides to go back and add the transformation from EglIfStmt into JavaIfStmt:
this.registerNodeFactory(EGLIfStmt::class) { eglStmt ->
    JavaIfStmt(
        translateCasted(elgStmt.condition),
        translateCasted(eglStmt.thenBody,
        translateOptional(eglStmt.elseBody)))
}

After triggering the transpiler once more he will now get this:
class aProgram {
    void main() {
        if (/* Translation of EGL Expression 1 (EglTrueExpr) */) {
            /* Translation of EGL Statement 4 (EglExprStmt) */
        }
        /* Translation of EGL Statement 2 (EglExprStmt) */
        /* Translation of EGL Statement 3 (EglExprStmt) */
    }
}

And so the work will produce, incrementally. It will be possible to involve the Client from the very beginning and show progress without first having to write hundreds of transformations.
The challenge is that we need to define at all times structurally valid ASTs for two reasons:

Because otherwise we cannot instantiate them. For example, we may have AST nodes that requires certain children to be present (for example the thenBody of a JavaIfStmt cannot be null). So we cannot temporarily pass null or something to that effect. We always need to provide "something" to instantiate that AST node and that something is expected to have a given type (JavaStmt in this example)
We need to produce valid AST nodes to pass them to the Code Generator, as it is the only mean we have to get code to display from the AST node we obtained through the transformers

So, yes, we need these sort of "placeholders" to be placed where the future AST nodes will go (once we define the corresponding transformations). In this way the Code Generator knows where to display them. For example, it will now that it needs to add the string representing the placeholder for the statements of our main method between the braces opening and closing the body of the method.
The fact is that, similarly to error nodes or proxy nodes, because of static typing we would need one subclass for each possible kind of node. This is impractical because it requires defining new node types just for the sake of representing these partial transformations, and we may have to define a lot of them. And it may be outright not possible as data classes cannot be extended and we use data classes for most AST classes.
For example, if I am translating an RPG subroutine to a method I may need to translate the body, but also the parameters:
this.registerNodeFactory(RPGSubroutine::class) { sub ->
    JavaMethod(
        sub.name,
        translateList(sub.params),
        translateList(sub.body))
}

With the approach suggested in this PR I would need to either:
1 - Define a subclass of JParameter. That requires changing the original definition of JParameter from a data class to an open, non data class (otherwise it cannot be extended). Then I will need to define a transformation from RPGParameter to TodoJParameter
2 - To reduce the number of Todo* classes, for all classes but expressions and statements we would not define the Todo* class, but we would just write something like:
this.registerNodeFactory(RPGSubroutine::class) { sub ->
    JavaMethod(
        sub.name,
        // change this translateList(sub.params once we have the transformation of params
        emptyList(),
        translateList(sub.body))
}

This is a bit error prone, and it does not work when an empty list or null cannot be used.
So what does it leaves us with?
Well, I don't know.
I can think of three possible alternatives. None seems perfect or ideal to me.
Solution 1 - This solution
We go for this solution, with the idea that we want to create these placeholders-like classes for a few AST classes (expression, statement, and a couple of others). This means that partial transpilation involving other type of AST classes will not be possible. In some cases we will use null or empty list, and for cases in which this is not possible we will have to write right away the transformation, otherwise the transpiler will explode.
For cases where they are possible we will need to refer explicitly to those todo classes in the transformation. For example, we may write a transformation like this one:
this.registerNodeFactory(EGLProgram::class) { eglProgram ->
    JClassDeclaration(eglProgram.name,
        declarations=mutableListOf(JMethodDeclaration("main",
            eglProgram.statements.map { TodoJStmt(it) }
        )))
}

Later on, we will go back and change it to:
this.registerNodeFactory(EGLProgram::class) { eglProgram ->
    JClassDeclaration(eglProgram.name,
        declarations=mutableListOf(JMethodDeclaration("main",
            translateList(eglProgram.statements)
        )))
}

Note also that if we do that, and if we have transformations only for some statements but not for others, we will not get any transformed statement.
Alternatively we could write right away:
this.registerNodeFactory(EGLProgram::class) { eglProgram ->
    JClassDeclaration(eglProgram.name,
        declarations=mutableListOf(JMethodDeclaration("main",
            translateList(eglProgram.statements)
        )))
}

But then we would also need to "intercept" every possible subclass of statements we encounter and do not manage, otherwise the transpiler will crash:
this.registerNodeFactory(EGLIfStmt::class) { TodoJStmt(it) }
this.registerNodeFactory(EGLExprStmt::class) { TodoJStmt(it) }
this.registerNodeFactory(EGLWhileDoStmt::class) { TodoJStmt(it) }
...

Later on we will replace those transformations with the proper ones.
Problems I see:

It provides a solution only for certain nodes but not all

Solution 2 - Kolasu 1.6
We decide we cannot provide a "comfortable" alternative within Kolasu 1.5 and move as quickly as we can to Kolasu 1.6. In Kolasu 1.6 we solve this with a compiler plugin
Problems I see:

It forces us to hurry up the migration to Kolasu 1.6, which may be risky

Solution 3 - Dummy nodes + flag
We could use this approach for this and for generic nodes.
Basically, in the AST transformer we would define a method to be invoked when no matching transformation is found, the default case.
Let's imagine that, somehow, we can let this method know not only which node we could not transform but also which node class is expected to be produced (this is a big if).
this.registerDefaultCase { untranslatedNode, expectedNodeClass ->
    val translatedNode : Node = instantiate(expectedNodeClass)
    translatedNode.translationOf = unstranslatedNode
    translatedNode
}

The instantiate will instantiate any class we pass, by looking for a matching constructor (a constructor without cycles, see https://github.com/Strumenta/rpg-to-java-transpiler-product/blob/2ef93f6054b37bdb94bbcd5427e0eeaeb24d3c13/src/main/kotlin/com/strumenta/rpgtojava/demo/byexample/NodeCloning.kt#L31). Once a constructor is found it would produce a default value for each parameter:

for lists -> emptyList
for nullable values -> null
for ReferenceByName -> ReferenceByName("", null)
for node -> call instantiate again

The result would be a dummy node, with bogus value but the right type.
We would then change the Node class to have this field:
var translationOf: Node? = null

In the code generator we would check this field. When it is not null we will print:
`/* Translation of ${node.translationOf} */
We may be able to figure out the expected type through type inference, as we do with translateCasted,
whis is defined like:
fun <T> ASTTransformer.translateCasted(original: Any): T

But where we never pass T. Now, if we can make it inline the parameter can be reified wnad we could access T at runtime.
Problems I see:

Not 100% sure it can be implemented
It is a little hacky

Some thoughts.

I think _GenericNode_s were not a good design decision and we should remove them in Kolasu 1.6.
Before this PR I tried adding an "exception handler" to the AST transformers that could do this kind of node substitutions, but it proved to be complicated and didn't solve the problem elegantly anyway (becase you still needed concrete subclasses for each TODO variant). I had planned to provide this exception handler as a second PR on top of this one, but I don't think it's a good idea to add that extra complexity.
I like your third idea of instantiating the desired node anyway but somehow flagging it as "dummy". I wouldn't add a translationOf field, as we have the origin for a similar purpose already; instead I would either do as ANTLR does (adding an Exception field) or using a special marker Origin that represents a failed translation. If we do this, we won't need a special Todo marker interface anyway: the printer could just detect that condition and print a comment appropriate for the language that we're generating. It's true that we don't track the desired target type currently, but I don't think it would be hard to add.

Based on the above, I propose to:

Flag GenericNode as deprecated (to be removed in Kolasu 1.6)
Drop the "exception handler" PR that I would have opened on top of this one
Close this PR and adopt idea number 3.

Some thoughts.

I think _GenericNode_s were not a good design decision and we should remove them in Kolasu 1.6.

I think it is an interesting idea, but hard to concile with static typing. Could you open an issue about removing it and associate it with the milestone for Kolasu 1.6?

Before this PR I tried adding an "exception handler" to the AST transformers that could do this kind of node substitutions,

Clever! I did not think about that

I like your third idea of instantiating the desired node anyway but somehow flagging it as "dummy". I wouldn't add a translationOf field, as we have the origin for a similar purpose already; instead I would either do as ANTLR does (adding an Exception field) or using a special marker Origin that represents a failed translation.

Good idea! It is also much less invasive

If we do this, we won't need a special Todo marker interface anyway: the printer could just detect that condition and print a comment appropriate for the language that we're generating. It's true that we don't track the desired target type currently, but I don't think it would be hard to add.

Perhaps, if we can retrieve the node type, it could be stored as a field of this special Origin subclass?

Based on the above, I propose to:

Flag GenericNode as deprecated (to be removed in Kolasu 1.6)
Drop the "exception handler" PR that I would have opened on top of this one
Close this PR and adopt idea number 3.

It sounds like a plan! Thank you Alessio, and I am always happy to discuss this feature if at any point you consider it useful to do so


Braille characters black dots

Environment
Tested with terminal emulators:

termite
terminator
urxvt

Tested with fonts:

consolata
DejaVu
roboto

Used commands:

gtop
LANG=en_US.utf8 TERM=rxvt-unicode-256color gtop
LANG=en_US.utf8 TERM=xterm-256color gtop
LANG=fr_FR.UTF-8 TERM=xterm-256color gtop

System:

OS: Arch Linux (5.3.10-arch1-1)
Node version: v12.13.0
gtop version: 1.0.1

Description
Braille characters displayed with black dots

Solved by removing gnu-free-font
Found here:
https://github.com/cjbassi/gotop/issues/18#issuecomment-541349775


Improve long name rendering in the group discussion panel

To reproduce: Add a name like "Chrysanthemum".
Perhaps add a max length limit (maybe 13) to the name?

Also in waiting:

If we add a max length for names, let's make sure it's over the average name length.
We could also increase the width for the avatar/participant displays on the waiting screen.


Master -> Development (merging hotfixes)

Description
Motivation
Testing Guidelines
Release Checklist

[ ] This code has unit tests
[ ] I have a plan to verify that these changes are working as expected after deploy
[ ] I have a plan for how to revert, rollback, or disable these changes if things are not working as expected

Security Checklist
This PR creates, modifies, or deletes:

[ ] API routes: API routes, parameters, or user authorization
[ ] Authentication: Authentication mechanism
[ ] Credentials: Server side credentials, or secrets in configuration / source code
[ ] Cryptography: Encryption, hashing, certificates, signatures, random numbers, etc.
[ ] User data: personal information handling, logs, error messages, etc.

Additional Notes

@all-contributors please add @schowdhury8 for code, ideas, planning, review, documentation, project management


fix: empty fn comments

Description
closes #4092
Note that this PR also moves the block indentation logic up one level into the ItemFn level instead of at the CurlyBrace impl.
Checklist

[x] I have linked to any relevant issues.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book).
[x] I have added tests that prove my fix is effective or that my feature works.
[ ] I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
[ ] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
[ ] I have requested a review from the relevant team or maintainers.

utACK. Tests looks great, I wonder what happens if we have something like
fn single_comment_same_line() { /*this is a comment*/ }

This actually pushes it to the next line, but I don't think this is much of a concern, since it's not a breaking format.


RN iOS : crash with Unexpected token '||='

Current Behavior
Working fine on android.
But when trying to run my RN app on iOS, I get the error :
error: index.js: [BABEL]: Unexpected token '||=' (While processing<EMAIL_ADDRESS>I'm on tamagui ^1.43.12 (tried with latest 1.74.15, same issue)
react-native 0.72.4
Here is my babel.config.js if that helps:
process.env.TAMAGUI_TARGET = 'native'

module.exports = {
  presets: ['module:metro-react-native-babel-preset'],
  plugins: [
    [
      '@tamagui/babel-plugin',
      {
        components: ['tamagui'],
        config: './tamagui.config.ts',
        importsWhitelist: ['constants.js', 'colors.js'],
        logTimings: true,
        disableExtraction: process.env.NODE_ENV === 'development',
      }
    ],
    ['transform-inline-environment-variables', {
      include: ['TAMAGUI_TARGET']
    }],
    ["module:react-native-dotenv", {
      "moduleName": "@env",
      "path": ".env",
      "blacklist": null,
      "whitelist": null,
      "safe": false,
      "allowUndefined": true
    }],
    'react-native-reanimated/plugin', // must be listed last
  ],
  env: {
    production: {
      plugins: ["transform-remove-console"], //removing consoles.log from app during release (production) versions
    },
  },
};

Expected Behavior
I just wanna be able to run it on iOS, obviously
Tamagui Version
tamagui ^1.43.12 => same issue with latest 1.74.15
react-native 0.72.4

Platform (Web, iOS, Android)
iOS

Reproduction
I explained everything above

System Info
No response

FYI, fixed with a npx react-native start --reset-cache


TLV320AIC3106: m_read:2221: read error: Input/output error

I'd like to share my problem when I moved device tree and kernel from linux 4.14 to 5.15.
I'm using am335xx as base and have TLV320AIC3106 codec. Previously I was using yocto dunfell with kernel 4.14 I didn't have any problem with these device tree configurations.
/{
...
    regulators {
    	compatible = "simple-bus";

    	vcc3v3: fixedregulator@1 {
    		compatible = "regulator-fixed";
    		regulator-name = "vcc3v3";
    		regulator-min-microvolt = <3300000>;
    		regulator-max-microvolt = <3300000>;
    	};
    };
    sound {
    	compatible = "ti,da830-evm-audio";
    	ti,model = "AM335x-EVM";
    	ti,audio-codec = <&audio_codec>;
    	ti,mcasp-controller = <&mcasp0>;
    	ti,codec-clock-rate = <12000000>;
    	ti,audio-routing =
    		"LINE1L",               "Line In",
    		"LINE2L",               "Line In",
    		"LINE1R",               "Line In",
    		"LINE2R",               "Line In";
    	clocks = <&mcasp0_fck>;
    	clock-names = "mclk";
    };
};

&i2c0 {
	audio_codec: tlv320aic3106@18 {
		compatible = "ti,tlv320aic3106";
		reg = <0x18>;
		ai3x-micbias-vg = <0x0>;
		status = "okay";
	};
};

&am33xx_pinmux {
	audio_pins: pinmux_audio {
		pinctrl-single,pins = <
			AM33XX_IOPAD(0x9AC, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mcasp0_ahclkx.mcasp0_ahclkx */
			AM33XX_IOPAD(0x990, PIN_INPUT_PULLDOWN | MUX_MODE0)  /* mcasp0_aclkx.mcasp0_aclkx */
			AM33XX_IOPAD(0x994, PIN_INPUT_PULLDOWN | MUX_MODE0)  /* mcasp0_fsx.mcasp0_fsx */
			AM33XX_IOPAD(0x998, PIN_INPUT_PULLDOWN | MUX_MODE0)  /* mcasp0_axr0.mcasp0_axr0 */
			AM33XX_IOPAD(0x9A8, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mcasp0_axr1.mcasp0_axr1 */
		>;
	};
};

&mcasp0 {
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&audio_pins>;

	op-mode = <0>;	/* MCASP_ISS_MODE */
	tdm-slots = <2>;
	serial-dir = <
		2 1 0 0
	>;
	tx-num-evt = <2>;
	rx-num-evt = <2>;
};
...

and I can use aplay in order to capture sounds
# aplay -vvv -C -D hw:0,0 -r 16000 -f S16_LE -c 2 /tmp/a.wav

Recording WAVE '/tmp/a.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Stereo
Hardware PCM card 0 'AM335x-EVM' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 16000
  exact rate   : 16000 (16000/1)
  msbits       : 16
  buffer_size  : 8000
  period_size  : 2000
  period_time  : 125000
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 2000
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 8000
  silence_threshold: 0
  silence_size : 0
  boundary     :<PHONE_NUMBER>
  appl_ptr     : 0
  hw_ptr       : 0
Max peak (4000 samples): 0x000000d0 #                    0%
Max peak (4000 samples): 0x000000f1 #                    0%
Max peak (4000 samples): 0x000000d4 #                    0%
Max peak (4000 samples): 0x000000d6 #                    0%
Max peak (4000 samples): 0x000000db #                    0%
Max peak (4000 samples): 0x000000d2 #                    0%
Max peak (4000 samples): 0x0000017d #                    1%
Max peak (4000 samples): 0x0000013e #                    0%
Max peak (4000 samples): 0x00000154 #                    1%
Max peak (4000 samples): 0x00000149 #                    1%
Max peak (4000 samples): 0x00000160 #                    1%

lsmod:

~# lsmod
Module                  Size  Used by
cn                     16384  1
snd_soc_evm            16384  1
snd_soc_davinci_mcasp    24576  2
snd_soc_tlv320aic3x    49152  1
snd_soc_edma           16384  1 snd_soc_davinci_mcasp
snd_soc_omap           16384  1 snd_soc_davinci_mcasp
snd_soc_core          118784  5 snd_soc_davinci_mcasp,snd_soc_edma,snd_soc_evm,snd_soc_omap,snd_soc_tlv320aic3x
snd_pcm_dmaengine      16384  2 snd_soc_omap,snd_soc_core
snd_pcm                81920  6 snd_soc_davinci_mcasp,snd_pcm_dmaengine,snd_soc_omap,snd_soc_core,snd_soc_tlv320aic3x
snd_timer              28672  1 snd_pcm
snd                    49152  4 snd_timer,snd_soc_core,snd_pcm
soundcore              16384  1 snd
cpufreq_dt             16384  0
cryptodev              45056  0

The things are changed when we tried to use latest simple-audio-card driver.

\ {
	regulators {
		compatible = "simple-bus";

		vcc3v3: fixedregulator@1 {
			compatible = "regulator-fixed";
			regulator-name = "vcc3v3";
			regulator-min-microvolt = <3300000>;
			regulator-max-microvolt = <3300000>;
		};
	};

	sound {
		compatible = "simple-audio-card";
		simple-audio-card,name = "snd-ddi";
		simple-audio-card,widgets =
			"Line", "Line In";
		simple-audio-card,routing =
					"LINE1L", "Line In",
					"LINE2L", "Line In",
					"LINE1R", "Line In",
					"LINE2R", "Line In";
		simple-audio-card,format = "i2s";
		simple-audio-card,bitclock-master = <&sound_codec>;
		simple-audio-card,frame-master = <&sound_codec>;
		simple-audio-card,mclk-fs = <32>;

		sound_cpu: simple-audio-card,cpu {
			sound-dai = <&mcasp0>;
		};

		sound_codec: simple-audio-card,codec {
			sound-dai = <&tlv320aic3106>;
			clocks = <&mcasp0_fck>;
		};
	};
};

&i2c0 {
	tlv320aic3106: tlv320aic3106@18 {
		#sound-dai-cells = <0>;
		compatible = "ti,tlv320aic3106";
		reg = <0x18>;
		status = "okay";

		/* Regulators */
		AVDD-supply = <&vcc3v3>;
		IOVDD-supply = <&vcc3v3>;
		DRVDD-supply = <&vcc3v3>;
		DVDD-supply = <&vdig1_reg>;
	};
};

&vdig1_reg {
	regulator-boot-on;
	regulator-always-on;
};

&mcasp0 {
	#sound-dai-cells = <0>;
	status = "okay";
	pinctrl-names = "default";
	pinctrl-0 = <&mcasp0_pins>;

	op-mode = <0>;	/* MCASP_ISS_MODE */
	tdm-slots = <2>;
	serial-dir = <
		2 1 0 0
	>;
	tx-num-evt = <2>;
	rx-num-evt = <2>;
};

for this dts, I always get pcm_read error
~# lsmod

Module                  Size  Used by
snd_soc_simple_card    16384  1
snd_soc_simple_card_utils    20480  1 snd_soc_simple_card
snd_soc_davinci_mcasp    28672  2
snd_soc_ti_udma        16384  1 snd_soc_davinci_mcasp
snd_soc_ti_edma        16384  1 snd_soc_davinci_mcasp
snd_soc_ti_sdma        16384  1 snd_soc_davinci_mcasp
snd_soc_tlv320aic3x_i2c    16384  1
snd_soc_tlv320aic3x    53248  1 snd_soc_tlv320aic3x_i2c
snd_soc_core          147456  7 snd_soc_davinci_mcasp,snd_soc_simple_card_utils,snd_soc_ti_sdma,snd_soc_ti_edma,snd_soc_tlv320aic3x,snd_soc_ti_udma,snd_soc_simple_card
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_pcm                94208  5 snd_soc_davinci_mcasp,snd_pcm_dmaengine,snd_soc_core,snd_soc_tlv320aic3x
snd_timer              28672  1 snd_pcm
snd                    57344  4 snd_timer,snd_soc_core,snd_pcm
soundcore              16384  1 snd
cfg80211              307200  0
cpufreq_dt             16384  0

~# aplay -vvv -C -D hw:0,0 -r 16000 -f S16_LE -c 2 /tmp/a.wav
Recording WAVE '/tmp/a.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Stereo
Hardware PCM card 0 'snd-ddi' device 0 subdevice 0
Its setup is:
  stream       : CAPTURE
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 16000
  exact rate   : 16000 (16000/1)
  msbits       : 16
  buffer_size  : 8000
  period_size  : 2000
  period_time  : 125000
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 2000
  period_event : 0
  start_threshold  : 1
  stop_threshold   : 8000
  silence_threshold: 0
  silence_size : 0
  boundary     :<PHONE_NUMBER>
  appl_ptr     : 0
  hw_ptr       : 0
arecord: pcm_read:2221: read error: Input/output error

What do you suggest in order to investigate problem and solve it? I used here as reference: https://git.phytec.de/linux-mainline/tree/arch/arm/boot/dts/am335x-wega.dtsi?h=v5.15.82-phy

Hello Hasan,
there have been some changes in the regulator framework and regulators should be put in the root node without the "regulators" subnode  ("/"). But I don't think that has any impact on your issue.
What is providing the clocks on your hardware, the codec or the mcasp?

If the codec is providing both bitclock and wordclock you'll need a simple-card configured like this with the mcasp as clock provider:
(I configured our Wega board like this and it needs simple-audio-card,mclk-fs = <512>;)
sound {
		compatible = "simple-audio-card";
		simple-audio-card,name = "snd-ddi";
		simple-audio-card,widgets =
			"Line", "Line In";
		simple-audio-card,routing =
					"LINE1L", "Line In",
					"LINE2L", "Line In",
					"LINE1R", "Line In",
					"LINE2R", "Line In";
		simple-audio-card,format = "i2s";
		simple-audio-card,bitclock-master = <&sound_cpu>;
		simple-audio-card,frame-master = <&sound_cpu>;
		simple-audio-card,mclk-fs = <512>;

		sound_cpu: simple-audio-card,cpu {
			sound-dai = <&mcasp0>;
		};

		sound_codec: simple-audio-card,codec {
			sound-dai = <&tlv320aic3106>;
		};
	};

I'm able to record some data with your change but I see recoded data is not similar with previous dts source.
May I ask why you choose simple-audio-card,mclk-fs = <512>; and removed clocks = <&mcasp0_fck>; since it's part of old device tree.

So in our setup the mcasp provides the bitclock and the wordclock. I2S_MCLK is not used.So there is no need to add the mcasp clock to the codec node because the codec doesn't do anything with the mcasp clock.
simple-audio-card,mclk-fs = <512>; was just the value I needed in order to get the right clock for the sample rate.
Your setup looks similar to our Wega board but you still might have to adjust some values in the devicetree.


Tags and categories

add the  variables, such as  category and tags

Like keywords? What do you mean?

make this more powerful, especially,
for the classification of blog

I'm sorry, @e71828. I can't understand what you mean. What kind of classification are you talking about?


Add source Plot Twist no Fansub please

Source name
Plot Twist No Fansub
Source link
https://www.plotfansub.com/
Source language
Spanish
Other details
No response
Acknowledgements

[X] I have checked that the extension does not already exist by searching the extension listing and verified it does not appear there.
[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 meaningful title with the source name.
[X] I have admitted that I am a clown by having checked this box, as I have not read these acknowledgements.
[X] I will fill out all of the requested information in this form.

Add source please


Github authentication

Optional Github Authentication. Allows login through github and allows user to see repos that they are collaborators on. Note you must now be on the latest Go 1.4.

Overall looks great, I'm really excited about this feature! It's gonna be awesome. My comments are mostly Go style-related.
I'd also like to see some more tests, how is the coverage report looking right now? It seems like some of the new functions and cases are not being covered. What can we do to fix that?

:+1: am rather excited about this!

@hermanschaaf  Check it out.  Still want a few more tests but I think I covered everything else.


Ability to invert feature<>dependency relationship?

Describe the problem you are trying to solve
Not sure if this has been considered already, but with lots of optional features in a library, keeping track & remembering which dependencies are still relevant/in-use over time is complicated. The main traditional approach to this is either labor-intensive (remove all dependencies & start adding things back in one-by-one until things compile again) or error-prone (manually documenting the feature set a dependency applies to & hoping you don't make a mistake).  The labor intensive approach is also made even more challenging for features as removing a dependency now needs to be tested across the entire set of selectable features (combinatorial explosion).
Describe the solution you'd like
Ideally the set of features an optional dependency is relevant can be tied to a list of features so that when a dependency isn't relevant anymore it's easily noticed. Similarly, the labor intensive approach can be made simpler since you know specifically which features you need to test when modifying that list.
[dependencies]
d1 = { version = "~5", optional = true, for_features = ["f1", "f2", f5"] }
d2 = { version = "0.1", optional = true, for_features = ["f2"] }

[features]
f1 = []
f2 = []
f3 = []
f4 = []
f5 = []

Notes
I'm sure there's corner cases to consider (e.g. should the features still list the dependencies & thus the for_features list must be consistent with the other? if not, can you use a mix or is it only one or the other? etc). This is much more ergonomic than doing it manually:
[dependencies]
# Used by f1, f2, f5
d1 = { version = "~5", optional = true }
# Used by f2
d2 = { version = "0.1", optional = true }

[features]
f1 = ["d1"]
f2 = ["d1", "d2"]
f3 = []
f4 = []
f5 = ["d1"]

Ideally at some point Cargo could also warn you when a declared dependency was never even actually used by the code so that it would be easier to note when declared dependencies didn't match the code.
I would think cargo itself should be able to do a much more thorough job than external crates can.

Hm I'm sort of curious, if an optional dependency isn't listed anywhere in features doesn't that mean it's not used? Or are there perhaps sub-features you're not sure if they're used or not.

The latter. If you try do extremely fine-grained feature control, I'm finding maintaining the feature dependency chain for each individual feature challenging. Reversing by itself doesn't solve the combinatorial testing problem but it may slightly improve managing the Cargo side of things. I think there's quite a bit of value in tackling the bigger problem but I don't have any thoughts on how to actually do that right now in a meaningfully elegant way (vs the naiive bruteforce approach).


Make tspin auto complete current dir file paths in zsh

This helps auto complete the current directory files in zsh.

This would be nice to have, but this is the wrong place to fix it. The completions are generated, so this will get blown away. It needs to be done on the Rust side in the Clap CLI setup.

See my pr #158 for how I think it needs to be done. I just so happened to be working on this the other day for a project of my own, hence this PR catching my attention.

Ah, Nice! Then I can close this PR


TabBar's tab should not be clickable

Do you want to disable all the tab items or particular ones not to be clickable? Can you elaborate a bit?

Selected tab should not be clickable

Fixed, PR #803


Add resource_class,owner and lessee filter to node list

I thiiiiink this will be right, but we should hold off on this until the necessary changes are made in esi-leap to apply the filters.

@tzumainn I am testing changes in esi-leap. Will also create PR of that and will commit once both of them looks good.


On-demand plugin size

Feature request

By default, firebasex plugin includes the entire Firebase suite, increasing the application size a lot while maybe only some features are being used actually.
I propose developing an on-demand handler that registers the function calls while running, as the only possible entry point is FirebasePlugin and the class has only an instance. With this in mind, while generating both iOS and Android projects only are included the dependencies for the in-use Firebase suite items.
As this may be difficult, another possibility would be to allow the user to define which libraries he wants to be included during project generation. This way, by default all options are included (as this is easier) and the user can choose which ones to exclude (or which ones to include), so then the final product will have only the required dependencies and the app size will be hugely reduced, as most of the users use only Analytics or Crashlytics.
I hope this is taken into account and I would be glad to help if necessary.

Great propose @Javinator9889 .
I think this is a great feature. But how you propose to do this?
I only imagine do something like this splitting the repo to others, each with your lib and necessary code.

This is covered by #291


Fix casing of file references in csprojs

Building these projects on a case-sensitive file system revealed that the file casing
is different on disk. Fixed the reference in csprojs to match the name on disk.

:+1:  Good catch

lgtm: :+1:

Awesome!


catkin_make in ROS Noetic [Error]

I am trying to install the LIO-SAM in Ubuntu 20.04 and ROS Noetic. However i couldn't get it catkin_make.
Error 1:
GTSAM version: ppa gtsam (4.0.3)
Reason of using ppa GTSAM (4.0.3) is because failed to build GTSAM (4.0.2) from source. It failed at cmake -DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF ..

Is there any solution to this error?
Error 2:
catkin_make ERROR

What's the opencv version needed for LIO-SAM?
Best,
Samuel

For me on Melodic with Opencv4.5 installed I had the change the line in utility.h to opencv2/opencv.hpp.

Hi @Rotoslider
Thanks for the info.
@TixiaoShan
I have successful tried out installing LIO-SAM with ROS Noetic, and we need to do the following changes:
Step 1: Install GTSAM 4.0.3 binary

Reason of doing so, is because failed to install from source using the gtsam 4.0.2
Step 2: Configure the utility.h to use
#include <opencv2/opencv.hpp> instead of #include <opencv/cv.h>
Step 3: Configure CMakeLists.txt to use
set(CMAKE_CXX_FLAGS "-std=c++14") instead of set(CMAKE_CXX_FLAGS "-std=c++11")
With these 3 modifications, LIO-SAM is able to be installed on Ubuntu 20.04 and ROS Noetic. You may try it out.
Best,
Samuel

@HappySamuel  this was very helpful. @TixiaoShan  Can this be added to the documentation?

@HappySamuel Thanks for the post! Supper helpful!

I created a fork that compiles on Ubuntu 20.04 with ROS Noetic

Even with @HappySamuel's changes, I still encountered a strange error:
error: ‘class std::unordered_map<unsigned int, std::vector<unsigned int> >’ has no member named ‘serialize’

which was resolved by moving #include <opencv2/opencv.hpp> after the pcl headers.
Also the stable gtsam-release-4.0 at time of writing is now 4.0.3, so it was not necessary to install GTSAM from source.
This appears to be caused by a incompatibility between FLANN and OpenCV, whereby the USE_UNORDERED_MAP macro leeks from the OpenCV header and is picked by FLANN. Swapping the header order resolves this issue. See https://github.com/flann-lib/flann/issues/214 for more details.

Thanks for providing information for Noetic compiling. To summarize HappySamuel and willat343's comments:
1. Install GTSAM following readme
2. Configure the utility.h to use **#include <opencv2/opencv.hpp>** instead of #include <opencv/cv.h>
3. Configure CMakeLists.txt to use **set(CMAKE_CXX_FLAGS "-std=c++14")** instead of `set(CMAKE_CXX_FLAGS "-std=c++11")`
4. Move #include <opencv2/opencv.hpp> after the pcl headers

According to this all that has to be done to fix the flann serialization error is to include <pcl/kdtree/kdtree_flann.h> before <opencv2/opencv.hpp>. I tested this change locally and it solved the issue.

There are still some compilations issues with this now and ROS Noetic. Can anyone please help me?

Hi All, I still have issues compiling in Noetic. Below is terminal feedback:  Can anyone help?

i have the same problem.Have you sovled it?

Hi All, I still have issues compiling in Noetic. Below is terminal feedback:  Can anyone help?

i have the same problem.Have you sovled it?

I ran catkin make again. The build succeeded the second time. Don't ask me why.

把flann移到opencv前面
#include <pcl/kdtree/kdtree_flann.h>
// #include <opencv/cv.h>
#include <opencv2/opencv.hpp>


Missing pre-built libraries for aarch64 (NVIDIA AGX Orin)

Hi,
I'm trying to interface EVAL-ADTF3175D-NXZ with Nvidia AGX Orin with Ubuntu-22.04 docker.
As mentioned in build instructions we require pre-build libraries (present in libs folder).
I'm not able to find the same for aarch64 (arm64). Can you please provide the reference from where I can get them?

Hi,
The libraries are available via the evaluation software.  If you install the latest eval kit release (4.2.0 - https://github.com/analogdevicesinc/ToF/releases/tag/v4.2.0) you can get the libraries via the highlighted installer shown in the image below.


RFC 1: "triple single-width emoji" category

As ethmoji grows, I think there will be more and more variety in the combinations of emoji that people choose to value in a given ethmoji.  The question of "which categories are more valuable" will ultimately be decided by the market, nonetheless it would be advantageous for early adopters to attempt to write the rules of "which combination of emojis are in which category".  The creation of an  "ethmoji grading system".  To that aim, I propose the following category:

"Triple Pureblood":

3 of the same "single-width" emoji characters

Examples:

"Triple Pureblood": https://app.ens.domains/name/💀💀💀.eth/details
Not a "Triple Pureblood": https://app.ens.domains/name/👨🏭👨🏭👨🏭.eth/register

Width can be checked with https://emojipedia.org/ and https://apps.timwhitlock.info/unicode/inspect
The immutable constraints are as follows:

ENS names must have 3 or more characters.  Minting an ENS domain less than 3 characters is impossible.
Emoji (and all UTF characters) have different "encodings", where sometimes a "single emoji" is encoded with 2 characters in the ENS system.

There are 2396 "triples" of both single_width and double_width within the json posted by @User12987034 here (https://github.com/ethmoji/RemainingPurebloods/blob/main/data/emojis_no_joiner.json).  Of this list, only 1329 are single-width.  Because 3 consecutive "single-width" emojis meets the shortest allowable ENS length requirement, this group of 1329 domains is considered canonical "triple-purebloods".  Because a "double-pureblood" can be created with only  2 consecutive double_width emojis; those double_width emojis are not canonical "triple-purebloods".
The list of 1329 "triple-purebloods" is comitted in this PR.  At time of writing, 559 "triple-purebloods" are unregistered and searchable with the "registered":false field.  The remaining  "registered":true domains have an associated "expiry date".  After this expiry date, there's a 90 day grace period, followed by an auction to buy the expired domain.  This "expiry auction" counts down from $2k USD to the normal price over a period of several days.  If an expiry is only a few days in the future, the domain may soon be available for purchase directly from ENS (these are the rules governing ENS).
Notes:

There will likely be sub-categories of "triple-purebloods" (ie: "triple-zodiac", "triple-face").  Should we add those categories to this document?
Additional categories will be added based on community consensus.  This includes ethmoji containing "double-width" emoji or ethmoji containing "zwj" characters.  Once we have researched the various options, an RFC will be authored documenting the consensus standard.
I haven't thoroughly vetted the "emojis_no_joiner.json" file, so there could be additional "triple-purebloods" that aren't present on this list.  A more formal definition of "triple-pureblood" will be written in the official "Ethmoji Subtle Off-white Paper", to be written shortly.

I agree with the definition of "triple-purebloods".

I haven't thoroughly vetted the "emojis_no_joiner.json" file

The base file I built upon can be found here<EMAIL_ADDRESS>

https://github.com/ethmoji/RemainingPurebloods/tree/main/out
I did a rerun filtering only for triple purebloods and came to the same total amount of 1329.

Referring to them as "purebloods" is terrible marketing, eliciting racial boogeymen. E.g., people were trying to refer to the unvaccinated as purebloods recently. It would be a good idea to replace all mentions of "pureblood" with "pure" or "pure trips".

A quick update on this.  First, the "purebloods" description will no longer be used to refer to ethmoji, and the name will be replaced before this PR is merged.  @leafposter, thanks for pointing that out.  "True triples" or "pure triples" are likely replacements.  If anyone feels strongly about either of those, or would like to propose other alternative descriptions, please speak up.
Regarding the actual list, I propose we adopt the Unicode® Technical Standard #51 ED-20 "basic emoji set" to catalog "canonical emoji".  Specifically, anything labelled with the Basic_Emoji type in this list.  There are 1366 emoji in this list, but there are some considerations

Some emoji in this list (207 of them) allow an optional "text" or "emoji" display option (eg: copyright).  This option increases the character width to 2, which would allow a "double" to be minted.  To be considered "pure triple", these emoji must not include the optional "display" option character: only 3 consecutive single-width emoji would be accepted into this group.
Because new emoji come out every so often, we need to decide whether future single-width emoji will be allowed into this group.  We could either freeze the list at the current Emoji 14.0 Standard (disallowing future new comers), or we could keep growing this group as new emoji are added.  My thinking is that no matter what we do, people will register new ones regardless, so we might as well officially recognize them.  But I also understand the argument for keeping his group limited to 1366.
I've run into a few cases where valid emoji combos aren't mintable in ENS.  Sill looking into exactly why this is, and I don't think it affects any of the ED-20 basic emoji, but the possibility remains.  I suppose these would just be excluded from the canonical list.

Look forward to hearing any additional opinions.

Hi, having a link on the website to the Ethmoji discord should be a plus.
Subcategories are present atm, but inefficient as the market is uneducated and not able to know which emoji enter in which cat. for that 2 solutions are available

enable tags, to make it easier to search, ex. searching space nothing comes out
having all subcategories and categories already present on the website, next to the number of total ethmoji
At the moment, a lot of space on the page is blank and not utilized, this makes the search frustrating and slow, even if it is possible to search 20 ethmoji x page, there are better solutions, as adopting a card style views
instead of a linear one. this will allow a better optimization of the space utilized some subcat. might need a rework, as diamonds is present in the clothing, while it might have a new category, as jewels

Hey, what is 'ethmoji'? A project with this name exists: https://ethmoji.io.

@marcusrbrown, you're right, the "ethmoji" name is already in use by an unrelated NFT project.  Quick description of "this ethmoji project" is provided on our site, https://ethmoji.org.  We've discussed a bit on discord about changing the name, so I opened issue #2 for further discussions on that front.

Reading through additional Unicode documentation, there's already an "emoji categorization" system in place: https://www.unicode.org/emoji/charts-14.0/emoji-counts.html.  This chart has about a dozen different categories (not sure how many of these are compatible with ENS), but they already have a category for "singleton" emojis, of which they count 1354.  This number is from:
1366 from ED-20 "Basic_Emoji" set
-5 skin modifiers (light, medium-light, medium, medium-dark, dark)
-4 hair modifiers (red, curly, white, bald)
-3 gender modifiers (male, female, transgender)
=1354 "singletons"
Because these modifiers are not individually enterable from standard emoji keyboards, I think their ommision from the "singleton" set is justified.
From this set of 1354, 2 are disallowed by the UTS #46 normalization rules (used by ENS for domain normalization).  These are the double-exclamation mark, and the exclamation question mark.  Because these aren't registrable on ENS (and will never resolve), I don't think they should be included in our official classification.
This brings the total to 1352 ENS allowable "triple singletons".
This 1352 number includes the following:

202 singletons are considered "variants", meaning that the symbol is displayable in both text and emoji form (eg: "copyright" is U+00A9).  To force "emoji" display, the U+FE0F variation selector must be added (eg: "copyright" emoji is U+00A9 U+FE0F).  Because ENS strips the U+FE0F character from normalizations, while an emoji character can be used to resolve an ENS domain, the ENS normalization process transforms the emoji into its "text" form.  This property may be undesirable for some "ethmoji" users (more info here)
20 emoji are transformed from their original values via the UTS #46 normalization rules (7 of these are also "variants").  This gives them the same property as variants, where normalization transforms an entered "emoji" into a "text" symbol.  There's also 2 "singleton" emoji which normalize to 2 characters, making "double singletons" possible.

I added a JSON file of all 1352 "triple singletons" to this PR, with the following fields:

runes = triple singleton sequence, as a raw string
unicode = unicode code point of the singleton, in U+FFFF string format
token_id = Labelhash of the domain (used to query ownership and expiry the from ENS registrar), as a big int
is_variant = Whether symbol is displayable as both text and emoji, and requires U+FE0F variation for emoji display, as boolean
ens_normalization = If non-null, this is the normalized string of a single emoji in the singleton sequence

Not sure if we want to stick with the "triple singletons" designation ("triple pures", "true triples", etc have also been used), but personally, I think it's best to defer to the official Unicode standard when making these decisions, and they use "singleton" to describe "single-width" emoji characters.  That said, other opinions on this name are welcome, and name can certainly change it if an alternative is preferred.
Note: Because ENS is still using Unicode 13, some of the newer "singletons" might appear to be illegal, but ENS will be upgrading to Unicode 14 shortly (see here).


Cursor change on bell

If I change default cursor and hit bell (tab or w/e) it switches to block:

This is a23022d5e0a7b9d04552337f057a4ac9489b033b built/run on Sierra.

I'm also experiencing this bug.

I can have a look at this one.

@robindboer Are you on Sierra as well? I haven't upgraded yet, so I'm wondering if the issue is specified to Sierra.

@maxdeviant I'm on Sierra but I have also experienced this issue on El Capitan. Thanks for having a look at this issue. Looking forward to the solution.

I'm able to reproduce consistently in zsh on OSX El Capitan.

The problem appears to be somewhere within hterm, but I have yet to track it down.
If you unfocus and then refocus the pane, the cursor will change back to the config value, since we call this.term.setCursorShape(nextProps.cursorShape); upon receiving props.
Looking inside of the node_modules/hterm-umdjs/dist/index.js, there are some places where it sets the cursor shape by itself:
hterm.VT.OSC['50']:

```js
/**
 * Set the cursor shape.
 *
 * Parameter is expected to be in the form "CursorShape=number", where number is
 * one of:
 *
 *   0 - Block
 *   1 - I-Beam
 *   2 - Underline
 *
 * This is a bit of a de-facto standard supported by iTerm 2 and Konsole.  See
 * also: DECSCUSR.
 *
 * Invalid numbers will restore the cursor to the block shape.
 */
hterm.VT.OSC['50'] = function(parseState) {
  var args = parseState.args[0].match(/CursorShape=(.)/i);
  if (!args) {
    console.warn('Could not parse OSC 50 args: ' + parseState.args[0]);
    return;
  }
switch (args[1]) {
case '1':
this.terminal.setCursorShape(hterm.Terminal.cursorShape.BEAM);
break;
case '2':
  this.terminal.setCursorShape(hterm.Terminal.cursorShape.UNDERLINE);
  break;

default:
  this.terminal.setCursorShape(hterm.Terminal.cursorShape.BLOCK);

}
};
</details>

`hterm.VT.CSI[' q']`:

<details>
```js
/**
 * Set cursor style (DECSCUSR, VT520).
 *
 *   0 - Blinking block.
 *   1 - Blinking block (default).
 *   2 - Steady block.
 *   3 - Blinking underline.
 *   4 - Steady underline.
 */
hterm.VT.CSI[' q'] = function(parseState) {
  var arg = parseState.args[0];

  if (arg == '0' || arg == '1') {
    this.terminal.setCursorShape(hterm.Terminal.cursorShape.BLOCK);
    this.terminal.setCursorBlink(true);
  } else if (arg == '2') {
    this.terminal.setCursorShape(hterm.Terminal.cursorShape.BLOCK);
    this.terminal.setCursorBlink(false);
  } else if (arg == '3') {
    this.terminal.setCursorShape(hterm.Terminal.cursorShape.UNDERLINE);
    this.terminal.setCursorBlink(true);
  } else if (arg == '4') {
    this.terminal.setCursorShape(hterm.Terminal.cursorShape.UNDERLINE);
    this.terminal.setCursorBlink(false);
  } else {
    console.warn('Unknown cursor style: ' + arg);
  }
};

I'm not fully sure what these do, and am having trouble figuring out if they are actually called at all, but they do seem like primary suspects for this bug.

Interestingly enough, it seems like hterm.Terminal.prototype.setCursorShape is only called once during runtime. When the cursor changes to BLOCK in the repro case, that method is not fired 😐

I am also experiencing this issue. One detail though, if you unfocus the window, then refocus it, the cursor will change back.
I may have time to look into it, but I can't make any promises. :)

Encounter this issue on macOS Sierra and Hyper <IP_ADDRESS>3, I change cursor shape to BEAM in hyper.js but it sometime still block


emplace->emplace_back , std::move(unnecessary)

re  pr  2018.06.14

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.3 out of 4 committers have signed the CLA.:white_check_mark: startcode:white_check_mark: lianglia-apollo:white_check_mark: xxxx001:x: rootroot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

have a not diffence ,  Performance not .

have a very difference here , The performance is completely different


Allow parametric encoder via --encoder

This is useful for h264_nvenc encoders and such.
Couldn't test it since I have problems with libcairo on Windows, please test before merging.

Ok, I managed to test with NVENC and it actually works great, went from a 5x to a solid 12x!
I also fixed a bug with files not being found in the concat phase.
I must note however that the output video doesn't play correctly on Windows and audio is muted. It plays correctly on third party software like Media Player Classic Home Cinema or VLC, but anyway I believe this is a bug and should be fixed.

By the way, commit 8b000f7 fixes #5

Tested on Linux, it's good to go! --encoder nvenc on Arch (1660ti) brings 25x, not bad :)

Thank you very much for your PR :) I will merge it later.
I think it does not play in windows media player or similar, because the player is missing the codec. Thats normal, these old playes doesn't support complex mixed up codecs as we use them.  Btw. I recomend mpv player :D

Perhaps I should add my name to the authors list and write some documentation about the new flag. Please feel free to go for it, I will be away this weekend and probably won't have much time to look at it.

That's no problem, I'll take care of the rest. That's the least I can add to such a great contribution :)


jfx-text-field design like gmail login

jfx-text-field css for design like gmail login

Duplicate of #912


Exercise 03

Answer B-1 (Project Topic):
Timothée and I have decided to form a team. For our project, we would like to implement a facial emotion recognition social application based on facial pictures. This app would work as follows on the user's side  :

The customer takes a picture of her face expressing a specific emotion
Our software automatically detects the emotion expressed
The user is asked to confirm the detected emotion
The user chooses who she wants to share her emotion with amongst her friends
The user sends the picture of herself
Her friends receive the labelled picture and can reply with another picture.

We found the following page listing a lot of facial recognition oriented databases :
http://www.face-rec.org/databases/
Amongst them, one stood out for us : the Extended Cohn-Kanade Dataset.
(Database direct link).
There is at leat one associated paper.
See page 4 and after for the methodology used.
The software would probably be divided into two main parts :

Detection of meaningfull "emotion-points" on the picture and computing of there relative distance (normalized to remove size effects)

Method : SVM probably
Test method : do tests on previously cited database (Cohn-Kanade)

Emotion classification based on the relative distance of the different "emotion-points"

Method : K-nearest neighbors ?
Test method : on previously cited database (Cohn-Kanade)

All operations will probably be made on grayscale version of the picture, maybe compressed for perfommance issues.
Notice that both parts of the software can be independently tested and developped, which is a great advantage.
Moreover in case we lack the time to finish the whole project, we can at least finish one or two independent parts which are still usefull on their own.
The face database used for classification will most likely be stored on a remote server which will also do at least the intensive computing part and maybe the communication (sending and receiving pictures) too. On the long term this application could enable smartphone companies to monitor their customer's mood based on images of their camera (with their agreement of course). This way, they can adjust the behaviour of their software depending on how their client is feeling. Another way this application could be usefull would be for autist people who have a hard time reading the emotions of people on their face. This could help them interact better with people around them.
Answer B-2:
The first step is to load the packages ggplot2, dplyr, tidyr, maps, ggmap and scales. Then, we filter only the longitude and the latitude of the crimes occured in 2015, capture the map from google and generate the scatterplot as follows:
remove(list=ls())
if (Sys.getenv("JAVA_HOME")!="")
  Sys.setenv(JAVA_HOME="")
library(rJava)
library(ggplot2)
library(dplyr)
library(tidyr)
library(maps)
library(ggmap)
library(scales)
library(MASS)
library(rgl)
ch <- read.table("https://dl.dropboxusercontent.com/s/c5c6un2m1fv0a37/ch.txt?dl=0", sep = "\t", header = T)
## Selecting only crimes of year 2015:
ch$Year[ch$Year != 2015] <- NA
ch <- na.omit(ch)
## Removing empty locations and splitting Location into Latitude and Longitude:
ch$Location[ch$Location == ''] <- NA
ch <- na.omit(ch)
ch <- ch %>% extract(Location, c('Latitude', 'Longitude'), '\\(([^,]+), ([^)]+)\\)')
ch$Longitude <- round(as.numeric(ch$Longitude), 2)
ch$Latitude <- round(as.numeric(ch$Latitude), 2)
lon <- ch$Longitude
lat <- ch$Latitude
mymap = get_map(location = c(mean(lon), mean(lat)),source = "google",zoom=11)

Next, we extract the frequency of crimes happend in each geographical coordinates of chicago, create the heatmap plot and indicate the crimes by colour red in a 2D pichture saved as a png file format in MTH6312 folder on your desktop:
## Get crime locations:
locationCrimes <- as.data.frame(table(ch$Longitude, ch$Latitude))
names(locationCrimes) <- c('long', 'lat', 'Frequency')
locationCrimes$long <- as.numeric(as.character(locationCrimes$long))
locationCrimes$lat <- as.numeric(as.character(locationCrimes$lat))
locationCrimes <- subset(locationCrimes, Frequency > 0)

## 2D Plotting the location heatmap
png(filename = "C:/Users/User/Desktop/MTH6312/Chicagomap.png", width = 800, height = 600, units = "px")
ggmap(mymap) + geom_tile(data = locationCrimes, aes(x = long, y = lat, alpha = Frequency), fill = "red") + theme(axis.title.y = element_blank(), axis.title.x = element_blank())
dev.off()

The created map is:

Answer B-3:
Here, the univariate density of 2015 crimes over latitude and longitude are given by the following codes:
plot(density(lat),main = "Univariate Density of Lat.")
plot(density(lon),main = "Univariate Density of Lon.")

Answer B-4:
Finally, the 3D plot is generated using the following code:
## 3D Plotting the location heatmap:
z = kde2d(lon, lat, n = 50)
persp(z, xlab = "Longitude", ylab = "Latitude", zlab = "Density", phi = 45, shade = 0.35)

All in all, for overlaying the 3D density on the google map directly using the rgl package we have:
mymap2 = as.matrix(mymap)
nx = dim(mymap2)[2]
ny = dim(mymap2)[1]
xmin = min(lon)
xmax = max(lon)
ymin = min(lat)
ymax = max(lat)
xc = seq(xmin, xmax, len = ny)
yc = seq(ymin, ymax, len = nx)
colours = matrix(mymap2, ny, nx)
m = matrix(0, ny, nx)
surface3d(xc, yc, m, col = colours)
#density
z = kde2d(lon, lat, n = 50)
z$z = z$z/100
surface3d(z$x,z$y,z$z, col = colours)

not related


Extending sap.fe controller, oData V4

OpenUI5 version: 1.85.2
Browser/version (+device/version): Any
I'm trying to extend the controller of a V4 based application. The page map does not seem to support it, and the guided development only lists the options for V2 apps.
Steps to reproduce the problem:

Create a Fiori Elements V4 application List Report / Object page (which I understand is now part of OpenUI5)
Try extending a controller like a V2 app does not work, probably because it doesn't use the old template

"sap.suite.ui.generic.template.ListReport.view.ObjectPage": {
     "controllerName": "namespace.ObjectPage.Extension"
}

Try extending the sap.fe based controller:

"sap.fe.templates.ObjectPage.ObjectPageController": {
    "controllerName": "namespace.ObjectPage.Extension"
}

Errors:

oController in the above is indeed undefined.
The controller:
sap.ui.define(['sap/fe/templates/ObjectPage/ObjectPageController'], function(Controller) {
  'use strict';

  return Controller.extend("namespace.ObjectPage.Extension", {

  });
});

I have tried just declaring it without extending the ObjectPageController too, both in error.

sap.feis not part of OpenUI5.  It has been published as an add-on to OpenUI5, but it is not part of it (see  https://www.npmjs.com/package/@sap/open.fe). Unfortunately, colleagues did not establish a feedback channel for open.fe yet. I can only propose to raise future questions on SAP Community.
Reg. your issue: AFAIK, the sap.fe library does not use the single inheritance mechanism of Controller.extend, but rather relies on controller extensions. They allow to combine multiple, potentially layered extensions for a single controller.
Due to this, inheriting from Controller is not the right way. Your extension should more look like this:
sap.ui.define(["sap/ui/core/mvc/ControllerExtension"], function(ControllerExtension) {
    "use strict";
    return ControllerExtension.extend("SalesOrder.custom.LRExtend", {
        //Place for your custom coding
    });
});

I'm also not sure if this extension mechanism is already a future-proof public offering. At least, I'm aware of discussions regarding the right way to configure controller extensions in the manifest.
As sap.fe is not part of OpenUI5, I close this issue here.

extending sap/ui/core/mvc/ControllerExtension was correct, for the moment.


Get error after installing

ImportError: cannot import name 'DeepFace' from 'deepface' (unknown location)
How can I fix it?

Tried on my macbook:
ImportError: initialization failed

You can find how to install tf dependency for m1 in closed issues.

@serengil not using on m1


Review

A review

Introduction provides a comprehensive context and sets a clear objective. The report successfully identifies the main issue (homeless deaths) and its primary causes. it also poses thought-provoking questions that align well with your research goals. The problem introduction mentions a "Discussion" section which is not present in the paper.
The paper gives detailed explanation of data sources and methodologies and effective use of tables and figures to illustrate data points. but could have different color coding in graph for appealing data set. The stacked bar graphs are well-chosen for displaying data.
Results and Analysis has Clear presentation of findings through figures and narrative. More explanation is needed
The discussion and Conclusion is missing
The conclusion section is marked as "todo." Make sure  to provide a conclusion that summarizes key findings, implications, and potential recommendations based on your data analysis.
Make sure all references are seen through. Cite all possible variables


Add support for show-zero-points-immediately

Description
What?
Add support to rst-tools to enable the show-zero-points-immediately flag for an exercise.
Why?
Was asked by the teachers. Needs the requisite A+ pull request to function correctly A+ pr #1389
How?
Changed revealrule.py parsing
Testing
Remember to add or update unit tests for new features and changes.

How to test your changes in A-plus
How to test accessibility

What type of test did you run?

[ ] Accessibility test using the WAVE extension.
[ ] Django unit tests.
[ ] Selenium tests.
[ ] Other test. (Add a description below)
[x] Manual testing.

[ADD A DESCRIPTION ABOUT WHAT YOU TESTED MANUALLY]
Did you test the changes in

[ ] Chrome
[ ] Firefox
[ ] This pull request cannot be tested in the browser.

Think of what is affected by these changes and could become broken
Translation

[ ] Did you modify or add new strings in the user interface? (Read about how to create translation)

Programming style

[ ] Did you follow our style guides?
[ ] Did you use Python type hinting in all functions that you added or edited? (type hints for function parameters and return values)

Have you updated the README or other relevant documentation?

[ ] documents inside the doc directory.
[ ] README.md.
[ ] Aplus Manual.
[ ] Other documentation (mention below which documentation).

Is it Done?

[ ] Reviewer has finished the code review
[ ] After the review, the developer has made changes accordingly
[ ] Customer/Teacher has accepted the implementation of the feature

Clean up your git commit history before submitting the pull request!

Yep, I'd definitely prefer having it as a separate option to keep the syntax cleaner. I'll modify this to use that instead.

@ihalaij1 I added show-zero-points-immediately as a separate option, and tested it to work locally. Can you check the changes?


Clipboard paste with context menu should add objects at mouse position

Currently the clipboard paste gesture for toolbar, keyboard and context menu all paste the objects onto the target canvas at the x,y coordinate position already stored in the objects meaning the objects appeared in the same relative position to the origin from which they were copied or cut.
When pasting using the context menu it is more likely the user will want the objects to appear the position on the canvas that the context menu was requested. The context menu behavior should be changed to do this.
Issue copied from internal issue by @tomlyn and required by ai-workspace/ai-workspace#198

When the user clicks the 'Paste' option from the context menu, the objects on the clipboard are now pasted at the position where the context menu was requested. If the user uses the toolbar Paste button or presses Cmnd+V the objects on the clipboard are pasted to the position they originally had when they were copied to the clipboard provided that position is visible in the canvas viewport -- if not, the obejcts are pasted to the center of the viewport.


groupby functionality in browsers?

Is it possible to use groupby and the dataframe functionality in a browser, or do I need to use Node?

it is possible to use groupby functionality in both node and in the browser

it is possible to use groupby functionality in both node and in the browser


incompatible with windows 3.0.0

https://github.com/chef-cookbooks/windows V 3.0.0 and higher is not backwards compatible. When running this recipe you now get a
NoMethodError: undefined method "feature" for Custom resource                                  windows_feature_dism from cookbook windows

What version of the cookbook are you running?

Hello,
Please use version 0.5.5 of the windows_ad cookbook to resolve the issue.
Thanks,
Derek


Restraints ToDo

[x] Add a static mode for DAT_restraint. Just: masks, force_constant, and target
[ ] Run simulation with out of order windows, or post-hoc added
[ ] Add a method to retrieve a restraint coordinate value for a specific structure
[ ] Amend restraints.amber_restraint_line to deal with static mode
[ ] Add positional restraint class
[ ] Think through whether we want release to go from 1 --> 0 or keep the current strategy -1*(0-->1)
[ ] raise exception if fraction_list items are <0 or >1
[ ] Do we need clean_restraints_file?
[ ] Deal with case of targets during pull are periodic

I'm clearing out old Issues and merging these with a "future to do" list that we've been batting around in person.


preserve figures

For the figures in the paper, can you take a screenshot (or just extract the figure if it's a well-formatted PDF) and insert it into the mmd file in the right place?

see https://github.com/facebookresearch/nougat/issues/83#issuecomment-1722205050


Color stream cannot work at 1920x1080 resolution, showing "Incomplete video frame detected"

Required Info

Camera Model
D415

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 18.04

Kernel Version (Linux Only)
4.4.143

Platform
nanopi m4 (rockchip RK3399)

SDK Version
2.17.1

Language
c++

Segment
AR

RK3399

RAM
4G

DISK
16G eMMC

CPU
Dual-Core Cortex-A72(up to 2.0GHz) + Quad-Core Cortex-A53(up to 1.5GHz)

GPU
Mali-T864 GPU，supports OpenGL ES1.1/2.0/3.0/3.1

USB Type
four USB 3.0 Type-A ports

Power supply
DC 5V/3A

Issue Description
rs-enumerate-devices

I plug D415 into USB3.0. Using GLESv2 + GBM + DRM to show color stream with Zero-Copy. For the purpose of reducing the transmission bandwidth, I set the format RS2_FORMAT_YUYV to display the color stream.
When set resolution to 1280 x 720 it can running fast with 30fps. However, when the resolution is set to 1920 x 1080, the log shows a lot of Incomplete video frame detected. The problem occurred after the startup program, the entire motherboard and CPU did not overheat.
I have reviewed the description of such a problem in the forum, pointing out that the problem is due to insufficient usb capacity, or the CPU load is too high.
However, the official recommendation of intel to run the D400 device is AAEON UP Board (see link below), its ability is equivalent to RK3399, so I don't think it is the reason for hardware capabilities.
https://click.intel.com/intelr-realsensetm-depth-camera-d415-aaeonr-up-board.html
Also, what is the native format of the D415 color stream? Is it YUYV or UYVY? If it is because of the lack of computing power due to format conversion, or the problem of USB transmission bandwidth, I can directly use the native format and then quickly convert through GPU.
Please give your suggestion.
Code attached below:
rs2::context ctx;
auto devicelist = ctx.query_devices();
if (devicelist.size() > 0)
{
	rs2::log_to_console(RS2_LOG_SEVERITY_DEBUG);
	rs2::device dev = devicelist.front();
	fprintf(stdout, "\nRealsense Device info---\n"
	                "    Name              : %s\n"
			"    Serial Number     : %s\n"
			"    Firmware Version  : %s\n"
			"    USB Type          : %s\n"
			"    Stream Color      : %d, %d, %d\n",
				dev.get_info(RS2_CAMERA_INFO_NAME),
				dev.get_info(RS2_CAMERA_INFO_SERIAL_NUMBER),
				dev.get_info(RS2_CAMERA_INFO_FIRMWARE_VERSION),
				dev.get_info(RS2_CAMERA_INFO_USB_TYPE_DESCRIPTOR),
				RS_WIDTH, RS_HEIGHT, RS_FPS);

	rs2::config cfg;
	cfg.enable_stream(RS2_STREAM_COLOR, 1920, 1080, RS2_FORMAT_YUYV, 30);
	pipe.start(cfg);

	processing_thread = std::thread([&](){
		while (running)
		{
			rs2::frameset fs;
			if (pipe.try_wait_for_frames(&fs, 1000))
			{
				rs2::frame color_frame = fs.get_color_frame();
				update_texture(texture, color_frame.get_data());
			}
		}
	});
}

The log file shows that:
Realsense Device info---
    Name              : Intel RealSense D415
    Serial Number     :<PHONE_NUMBER>38
    Firmware Version  : <IP_ADDRESS>
    USB Type          : 3.2
    Stream Color      : 1920, 1080, 30

 10/01 12:52:49,118 INFO [548547798704] (backend-hid.cpp:1178) Failed to read busnum/devnum. Device Path: /sys/bus/iio/devices/iio:device0
 10/01 12:52:49,118 DEBUG [548547798704] (ds5-factory.cpp:568) try_fetch_usb_device(...) failed.
 10/01 12:52:49,123 INFO [548547798704] (backend-v4l2.cpp:1468) v4l_uvc_meta_device
 10/01 12:52:49,127 INFO [548547798704] (backend-v4l2.cpp:1468) v4l_uvc_meta_device
 10/01 12:52:49,136 INFO [548547798704] (backend-v4l2.cpp:1468) v4l_uvc_meta_device
 10/01 12:52:49,141 DEBUG [548547798704] (backend-v4l2.cpp:1254) Recognized pixel-format Depth data 16-bit (Z16)
 10/01 12:52:49,147 DEBUG [548547798704] (backend-v4l2.cpp:1254) Recognized pixel-format 8-bit Greyscale
 10/01 12:52:49,148 DEBUG [548547798704] (backend-v4l2.cpp:1254) Recognized pixel-format UYVY 4:2:2
 10/01 12:52:49,148 DEBUG [548547798704] (backend-v4l2.cpp:1254) Recognized pixel-format 8-bit Greyscale
 10/01 12:52:49,154 DEBUG [548547798704] (backend-v4l2.cpp:1254) Recognized pixel-format Greyscale 8 L/R (Y8I)
 10/01 12:52:49,160 DEBUG [548547798704] (backend-v4l2.cpp:1254) Recognized pixel-format Greyscale 12 L/R (Y12I)
 10/01 12:52:49,172 DEBUG [548547798704] (backend-v4l2.cpp:1254) Recognized pixel-format YUYV 4:2:2
 10/01 12:52:49,179 WARNING [548547798704] (backend-v4l2.cpp:1248) Pixel format 36315752-1a66-a242-9065-d01814a likely requires patch for fourcc code RW16!
 10/01 12:52:49,180 WARNING [548547798704] (sensor.cpp:338) Unregistered Media formats : [ RW16 ]; Supported: [ ]
 10/01 12:52:49,206 INFO [548547798704] (backend-v4l2.cpp:1460) Trying to configure fourcc YUYV
 10/01 12:52:49,206 DEBUG [548547798704] (backend-v4l2.cpp:1587) Metadata node was successfully configured to D4XX format
 10/01 12:52:49,237 INFO [548170531248] (backend-v4l2.cpp:996) Empty video frame arrived
 10/01 12:52:49,239 INFO [548170531248] (backend-v4l2.cpp:996) Empty video frame arrived
 10/01 12:52:49,239 INFO [548170531248] (backend-v4l2.cpp:996) Empty video frame arrived
 10/01 12:52:49,239 INFO [548170531248] (backend-v4l2.cpp:996) Empty video frame arrived
 10/01 12:52:49,242 INFO [548547798704] (backend-v4l2.cpp:1473) ~v4l_uvc_meta_device
 10/01 12:52:49,242 INFO [548547798704] (backend-v4l2.cpp:1473) ~v4l_uvc_meta_device
 10/01 12:52:49,247 INFO [548547798704] (backend-v4l2.cpp:1473) ~v4l_uvc_meta_device
 10/01 12:52:49,383 WARNING [548170531248] (backend-v4l2.cpp:1007) FD_ISSET returned false - video node is not signalled (md only)
 10/01 12:52:49,386 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 213768 out of 4147455 bytes (5%)
 10/01 12:52:49,416 WARNING [548170531248] (backend-v4l2.cpp:1007) FD_ISSET returned false - video node is not signalled (md only)
 10/01 12:52:49,419 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 181000 out of 4147455 bytes (4%)
 10/01 12:52:49,450 WARNING [548170531248] (backend-v4l2.cpp:1007) FD_ISSET returned false - video node is not signalled (md only)
 10/01 12:52:49,453 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 181000 out of 4147455 bytes (4%)
 10/01 12:52:49,490 WARNING [548170531248] (backend-v4l2.cpp:1007) FD_ISSET returned false - video node is not signalled (md only)
 10/01 12:52:49,491 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 1098504 out of 4147455 bytes (26%)
 10/01 12:52:49,520 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 213768 out of 4147455 bytes (5%)
 10/01 12:52:49,554 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 213768 out of 4147455 bytes (5%)
 10/01 12:52:49,587 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 213768 out of 4147455 bytes (5%)
 10/01 12:52:49,622 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 213768 out of 4147455 bytes (5%)
 10/01 12:52:49,655 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 213768 out of 4147455 bytes (5%)
 10/01 12:52:49,687 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 181000 out of 4147455 bytes (4%)
 10/01 12:52:49,719 INFO [548170531248] (types.h:936) Incomplete video frame detected!
Size 181000 out of 4147455 bytes (4%)
 10/01 12:52:49,752 INFO [548170531248] (types.h:936) Incomplete video frame detected!

@oiramario Can the patch work for you? Looking forward to your result. Thanks!

@oiramario Does it works? Please update. Thanks!

@RealSenseCustomerSupport I just came back from vacation and I will check this out next week.

@oiramario Any update? Thanks!

Sorry, the confirmation of the patch is delayed because of some other work.
There is a problem with the patch content you posted, and it cannot be used directly after copying it. Referring to the code, I re-created the patch and successfully patched it into the kernel. However, I found that in the kernel v4.4.143 used by rockchip, the macro UVC_MAX_STATUS_SIZE is 16, and 32 of the content you sent, I am not very clear about this part, I hope you can help confirm it.
Next week I will confirm the modified kernel on the board of rockchip 3399, thank you.
modify_urb_number_and_uvc_packet.txt
rk3399-irqchip-xhci-irq-142-to-all-cpu.txt

For your reference:
https://github.com/rockchip-linux/kernel/blob/release-4.4/drivers/media/usb/uvc/uvcvideo.h

@oiramario The difference I think is due to different kernel version. You can have a try with your setting of UVC_MAX_STATUS_SIZE

@oiramario How's it going? Any update? Thanks!

@oiramario Any good news?

@oiramario Now unroot android solution is included in 2.19 librealsense. No root needed and no patch needed. Please have a try to see if this can fix your issue. Thanks!
https://github.com/IntelRealSense/librealsense/tree/master/wrappers/android

@oiramario , sorry to hijack this thread... I'm trying to do what you seem to have succeeded in doing, i.e getting a RealSense device to work on a NanoPI M4. Please let me know if you would be happy to outline the basic steps that are required... I have successfully build the realsense libs/tools and I can grab images from some of the /dev/video* devices created, but when trying the rs-enumerate-devices script I'm just getting "No device detected. Is it plugged in?"... I guess I have to patch and rebuild a custom kernel?

@landersson  What's OS you getting the issue, android or linux?

I'm using the the standard Ubuntu 18.04 based "FriendlyDesktop" image for NanoPI M4. Default kernel 4.4.143. Basically the same setup as oiramario initially reported.

@oiramario Sorry, my mistake. I've thought the issue was found on Android. Will check this issue on Ubuntu and update you later.

@oiramario , sorry to hijack this thread... I'm trying to do what you seem to have succeeded in doing, i.e getting a RealSense device to work on a NanoPI M4. Please let me know if you would be happy to outline the basic steps that are required... I have successfully build the realsense libs/tools and I can grab images from some of the /dev/video* devices created, but when trying the rs-enumerate-devices script I'm just getting "No device detected. Is it plugged in?"... I guess I have to patch and rebuild a custom kernel?

Follow these steps:
1. apt-get install git libssl-dev libusb-1.0-0-dev pkg-config
2. git clone --depth 1 https://github.com/IntelRealSense/librealsense.git
3. cd librealsense
4. sudo cp config/99-realsense-libusb.rules /etc/udev/rules.d/
    sudo udevadm control --reload-rules && udevadm trigger
5. mkdir build && cd build
    cmake -DCMAKE_BUILD_TYPE=Release \
             -DBUILD_WITH_TM2=false -DBUILD_GRAPHICAL_EXAMPLES=false -DBUILD_EXAMPLES=false
    make -j$(nproc) && make install
6. rs-enumerate-devices

More detail:
https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md

@oiramario Any good news?

Sorry, I have been stuck in some kernel-related issues recently, but I will take time to verify this issue as soon as possible.

Thanks @oiramario, those are pretty much exactly the steps I took too, but I'm still getting "No device detected..." when running rs-enumerate-devices. Running as sudo doesn't help.
My camera is a 435i, so I guess that must be why we're getting different results. Apart from the camera model, our setups are nearly identical (except you have 4G RAM while I have 2).

@oiramario , did you connect the depth camera via some kind of powered USB hub, or straight to the Nano PI M4?
I'm thinking perhaps the NanoPI can't provide enough power via USB to run the D435i...

I didn't have any USB hub here,  just plug in D415 into NanoPi-M4.
Could you post some logs or shots?

Ok, I tried with a powered USB3 hub, but that didn't change anything. I've attached an strace of rs-enumerate-devices, the output of "lsusb -vvv" and the end of dmesg... Let me know if there's anything else that can help you figure out why this doesn't work. Thanks.
lsusb.txt
dmesg-tail.txt
strace.txt

@oiramario  Did you get chance to try again with the kernel patch?
@landersson  How many USB ports on your NanoPI? Did you try them all? Seen from the result of lsusb, the camera has been connected and recognized and rs-enumerate should work. Please double check if "sudo cp config/99-realsense-libusb.rules /etc/udev/rules.d/ "  executed successfully.

The Nano M4 have 4 USB3 ports.. I've tried them all as well as connecting the D435i using an external, powered USB3 hub.The udev script has been properly installed.

Just took some time to look further into this... With logging enabled, I see this message:
22/03 03:19:33,133 WARNING [547723022352] (ds5-factory.cpp:617) DS5 group_devices is empty.
Looking at src/ds5/ds5-factory.cpp:591, it looks like my D435i is disabled because it's a HID device, but no HID sensors were detected. I assume the HID sensors (gyro and accelerometer) would be detected if with a patched kernel, so I guess I'll just have to go ahead and rebuild the kernel.
@oiramario, if you have any pointers in regards to rebuilding the kernel for the NanoPI M4, that would be great.

@landersson What's the FW version of your D435i? Could you please try to connect it to one PC to see if it's 5.10.13+ and if it can work normally? Please be noted that "D435i requires FW version 5.10.13+ and is currently supported on Linux and Windows 10 only. "

@landersson If need HID related pacth, please refer to https://github.com/IntelRealSense/librealsense/tree/master/scripts
Please select the patch accordingly such as
https://github.com/IntelRealSense/librealsense/blob/master/scripts/realsense-hid-ubuntu-bionic-master.patch

realsense-viewer on my Ubuntu 18.04 PC says: Firmware Version:  <IP_ADDRESS>

In order to end up with a kernel that is going to work well on the NanoPI M4 SOC, I assume I will have to use a custom kernel that have proper support for this board, such as:
https://github.com/friendlyarm/kernel-rockchip
This is based on Linux 4.4, so I guess I have to apply the realsense patches to this kernel manually.

@landersson Yes, you're right. You need apply the patch manually. Any update please let us know. Thanks!

@landersson  Any update? Thanks!

Hi, I just applied the patches to the standard NanoPI M4 RockChip kernel (4.4.154)... I had to fix up a few of the changes manually. After booting with the patched kernel, rs-enumerate-devices finds my D435i and realsense-viewer works pretty well too.  I do get a lot of "Incomplete video frame detected" warnings if I try to use the depth stream in all but the lowest resolutions/frame rates. realsense-viewer also seem to be using up a fair bit of CPU even when no streams are enabled.
I haven't had time to investigate and reduce the number of incomplete frames... any suggestions are welcome. Color seem to be able to run as much higher resolutions without getting incomplete frames... Is the color stream being transferred as compressed video, while depth is uncompressed? Or is it more likely that CPU bottlenecks are causing incomplete depth frames?

@landersson Glad to see the progress! What's the resolution and fps of depth when you see the incomplete video frame detected? Any other streaming at the same time when you get incomplete frames?
@oiramario Any progress from your side? Thanks!

@landersson @oiramario Any update? Thanks!

Regardless of whether the color stream is running or not, the depth stream in only running with out incomplete frames in the lowest resolution.
I have run out of time to work more on this for the moment, but we will probably get back to this at a later stage. As far as I'm concerned, please feel free to close this issue. I will open up a new issue related to NanoPI M4 depth stream issues later on if I'm unable to resolve the incomplete frame problems myself.

@oiramario If no other questions, will close the ticket accordingly. Thanks!

@RealSenseCustomerSupport
I'm back!
I'll into this next week and feed back to you.


Restoring namespace support

Bringing back namespace support, this time to core Atomizer
@renatoi

CLA is valid!


Not able to set servicesPortRange when creating a project.

Server version - Build from master.
Tried to create a project using http://:8080/v1/projects/create and set servicesPortRange to 49153-49156.
When project gets created , we still see the default servicesPortRange being assigned to this project.
                  | NULL        | NULL             |
| 28 | testportrange123      | project    | 8f37601d-2b7b-4e86-9f91-034afaf71868 | testportrange123 | active   | 2015-12-21 18:44:12 | NULL    | NULL        | {"fields":{"servicesPortRange":"49153-65535","defaultNetworkId":30}}                            | NULL        | NULL             |
+----+-----------------------+------------+--------------------------------------+------------------+----------+---------------------+---------+-------------+-------------------------------------------------------------------------------------------------+-------------+------------------+

Tested with latest build from master:
Able to create a project using http://:8080/v1/projects/create by setting servicesPortRange with startPort -49153 and endPort -49156.
| 18 | testportrange         | project    | 6d0eaafe-5150-41a8-918b-e4346d783e1a | testportrange | active   | 2015-12-22 03:36:53 | NULL    | NULL        | {"fields":{"servicesPortRange":{"startPort":49153,"endPort":49156},"members":[],"defaultNetworkId":20}} | NULL        | NULL             |

port range gets saved in accounts table as expected.


Enabling OSX testing on travis

Following https://github.com/PyAbel/PyAbel/issues/323, we should enable testing on MacOS is possible. TravisCI seems to support this.
I think that we just need to edit the .travis.yml file. This is my first attempt. Will probably take a few iterations.

Hello @DanHickstein! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file setup.py:

Line 87:39: W291 trailing whitespace

I tried enabling Windows testing on Travis as well, but it's labeled as experimental, and it took longer than 10 minutes for the build to start, so I gave up. I think that we should have at least one build run as quickly as possible so that people can spot major errors quickly. So, we can just continue to use AppVeyor for our Windows build needs.

Great, nice to see that macOS testing works (and passes)!
As I understand, this is using the default preinstalled Python 2.7. Will it make sense to try testing with the latest Python 3 also?

I was trying to test on python 3.9 on MacOS. Let me see if I can get that to happen.

Huh, I can't figure out how to set the python version on MacOS on Travis.

Well, here they show a red warning that “Python builds are not available on the macOS and Windows environments.” :–) So maybe it's not supposed to work at all. On the other hand, it could be possible to install using Homebrew, although I'm not sure this is really worth investigating (but if yes, perhaps all other builds should better be temporary disabled to avoid overusing them)...

@DanHickstein, maybe we should merge this as is (but squashed) for now? Testing with the built-in Python is still useful and better than nothing, especially before continuing with #327...

Well, I'm going to merge this to see how it works...

Awesome! Thanks for moving this forward.


Basic travis, fix #50

This will require quite some improvements in the future but it's a start

@ellisonbg Could you set up the CI build when you have a chance? I don't think I have that power.

I just turned it on.


Enhancement for expand/flatten function redeclarations checking

This PR updates the checking rules for expand/flatten function redeclarations. Two properties are treated to use a same expand/flatten function as long as

They have the same go_type_name
Their sub-properties are with the same structure and same go_type_name

This PR solves the issue #29.


Metric to keep track of compositions without synthesizers

Additional gauge metric to keep track of composition without synthesizers.

I'll work on this

https://github.com/Azure/eno/pull/249


Search Module: A valid template name was not specified

I'm trying to use Search Module's local search.
I can make it show no result. But when it has results, I got an error as blow:
Search Module: A valid template name was not specified. false

The code I used:

        <input class="prompt" type="text" placeholder="Search...">

var content = [
    {
        title: 'Horse',
        description: 'An Animal'
    },
    {
        title: 'Cow',
        description: 'Another Animal'
    }
];

$('.ui.search').search({
    type   : 'simple',
    source : content,
    searchFields   : [
        'title'
    ],
    searchFullText: false
});

Apologies, there was an issue in documentation.
The available types are standard not simple, and category.
You can initialize as:
$('.ui.search').search({
    source : content,
    searchFields   : [
        'title'
    ],
    searchFullText: false
});

or
$('.ui.search').search({
    type: 'standard',
    source : content,
    searchFields   : [
        'title'
    ],
    searchFullText: false
});

I will adjust the documentation.


fix: missing items that match after update/patch

Could you add a check to some existing test maybe behind line 514 to check that the changed item is still at the same position and not only contained in the array. That is quite important to prevent list from changing their orders after receiving an update.

@anbraten I added a test. Please have a look


ordering relaxed

Signed-off-by: zhangjinpeng1987<EMAIL_ADDRESS>
What have you changed? (mandatory)
Using Relaxed instead of SeqCst for no ordering constraints, only atomic operations.
What are the type of the changes? (mandatory)

Improvement (change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)
No
Does this PR affect documentation (docs) update? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
No

Since these function called very rarely, to make things simple, we will keep SeqCst.


A Extension Back-Up

Hello VSCode...
All of us has the the situation of Uninstalling VScode due to moving to new PC/or resetting current PC
I too had a situation to reset my PC and after i re-install VSCode i lose my all extension which i had install previous,due to that i wanna install previous extensions again
Please Try to Update this feature...
Thank you.

code --list-extensions > extensions.list

Install list of extensions #42994

Duplicate of #2743


Bug fix for reported external buoyancy

Corrects reported external buoyancy in the HydroDyn summary file, issue #202.
For a previous spar example HD reported:
Volume Calculations(m^3)
Structure Volume     :    1.36265E+04
Submerged Volume     :    1.30854E+04
Marine Growth Volume :    0.00000E+00
Ballasted Volume     :    0.00000E+00
External Buoyancy loads summed about ( 0.0, 0.0, 0.0 )
BuoyFzi     = 1.369697E+08
After this bug fix, the code now correctly reports:
External Buoyancy loads summed about ( 0.0, 0.0, 0.0 )
BuoyFzi     = 1.315310E+08

All HydroDyn related regression tests pass as none are testing the HydroDyn output. So with @jjonkman's review, this looks good to merge.
Test project /Users/rmudafor/Desktop/hd/build
    Start 18: 5MW_OC3Mnpl_DLL_WTurb_WavesIrr
    Start 19: 5MW_OC3Trpd_DLL_WSt_WavesReg
    Start 20: 5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth
    Start 21: 5MW_ITIBarge_DLL_WTurb_WavesIrr
1/7 Test #21: 5MW_ITIBarge_DLL_WTurb_WavesIrr ..........   Passed   49.42 sec
    Start 22: 5MW_TLP_DLL_WTurb_WavesIrr_WavesMulti
2/7 Test #22: 5MW_TLP_DLL_WTurb_WavesIrr_WavesMulti ....   Passed   95.47 sec
    Start 23: 5MW_OC3Spar_DLL_WTurb_WavesIrr
3/7 Test #23: 5MW_OC3Spar_DLL_WTurb_WavesIrr ...........   Passed   87.93 sec
    Start 24: 5MW_OC4Semi_WSt_WavesWN
4/7 Test #18: 5MW_OC3Mnpl_DLL_WTurb_WavesIrr ...........   Passed  342.25 sec
5/7 Test #24: 5MW_OC4Semi_WSt_WavesWN ..................   Passed  204.47 sec
6/7 Test #19: 5MW_OC3Trpd_DLL_WSt_WavesReg .............   Passed  962.60 sec
7/7 Test #20: 5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth ...   Passed  1865.73 sec


improve CRD error handling

When an error is encountered listing and reading CRDs we can check the status of the CRD and surface the conditions along side the error message in the status view.
related #72

Are errors like this are covered by this ticket?
2019-08-08T11:15:20.843+0200    ERROR   navigation/navigation.go:125    cephclusters.ceph.rook.io: crd conversion failed: cannot convert int64 to float64
github.com/vmware/octant/pkg/navigation.CustomResourceDefinitions
        /go/src/github.com/vmware/octant/pkg/navigation/navigation.go:125
github.com/vmware/octant/pkg/navigation.CRDEntries
        /go/src/github.com/vmware/octant/pkg/navigation/navigation.go:74
github.com/vmware/octant/internal/octant.(*NavigationFactory).genNode
        /go/src/github.com/vmware/octant/internal/octant/factory.go:115
github.com/vmware/octant/internal/octant.(*NavigationFactory).Generate.func1
        /go/src/github.com/vmware/octant/internal/octant/factory.go:83
github.com/vmware/octant/vendor/golang.org/x/sync/errgroup.(*Group).Go.func1
        /go/src/github.com/vmware/octant/vendor/golang.org/x/sync/errgroup/errgroup.go:57
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x12162e3]

closing in favor of #143


Add proto CI runs

The .github/workflows/ are mostly copied from Parca.

We expect the proto-pr to fail here.
To satisfy the linter, I had to rename ENCODING_UNKNOWN to ENCODING_UNSPECIFIED, and now the other check is complaining about a breaking change.


Rename of spacing tokens

In space semantic tokens, the adaptable word must be replaced by scaled.
The word layout should be removed too.
Fix should be replaced by fixed.

📣 New TestFlight ALPHA uploap available 🚀
Please, get the new build from TestFlight app.

Display name: OUDS Showcase ALPHA (117, 119, 122, 129, 130, 132)
Version: 0.3.0
Build number:<PHONE_NUMBER>
Build tag: 37891af
Build type: ALPHA
Build details (GitHub): 117, 119, 122, 129, 130, 132

This is an automated message sent with love and Fastlane from our CI/CD pipeline 🤘

New version available since version v0.3.0 (see this thread)


why does test_robustness.py program run very slowly？

the valset has 7000  images and this code takes more than 20 hours....

it runs very fast without noise corrupt。

In my practice, the most time-consuming aspect is the execution of the "glass_blur" operation.


Quick and dirty fix to #95 Variables not working on exported projects.

Confirmed to work, even on HTML5.

There was a very recent update with a lot of changes that might fix the HTML5 issue. @arnaudvergnet made some great improvements on how the resources work and I've been testing it and so far so good. Can you test your project with the latest changes and if it is still not working modify this PR so it doesn't have conflicts?
Thanks!

No need. Variables are working.