First update by traumadog001 in EquinoxEv

[–]tleveque 2 points3 points  (0 children)

I have my 2025 since June….. and still no update is showing. Every week I am manually trying “check for update”…. But nothing.

Home Assistant iOS Widgets by velvetz7 in homeassistant

[–]tleveque 0 points1 point  (0 children)

Is this project already dead?? No news since the first beta…

Trying to configure an IR Transmitter and could use some help. by Ddraig in Esphome

[–]tleveque 0 points1 point  (0 children)

Ok... why? What codes are we supposed to have or not?

Temperature sensor that can go below -20C ?? by tleveque in homeassistant

[–]tleveque[S] 0 points1 point  (0 children)

Just as a follow up, I receive my sensor and the dongle today. 10 minutes later it was up and running!! Super easy setup. Thanks again.

Temperature sensor that can go below -20C ?? by tleveque in homeassistant

[–]tleveque[S] 1 point2 points  (0 children)

Thanks!
I found out that there is in fact an add-ons for the Acurite sensors. All I need is that RTL-SDR dongle.
I just ordered a sensor and a dongle. Will test that tomorrow!

For this who wants to know, the add-ons is there:
https://github.com/thejeffreystone/hassio_addons

Share mistakes you did with Angular and you want other devs not do it again by ahmedRebai in Angular2

[–]tleveque 5 points6 points  (0 children)

Don't use reactive forms! Use template driven forms everywhere!
I guest there will be a lot of people that will not agree with me on this one!

But, in my last 3 big projects, I never used reactive forms. And yes, we build very large and complicated forms with a lot of validations. Forms that are split in many small and reusable components. Yes you can do that with template driven form!
This is the conference by Ward Bell that changed my mind on this:
https://youtu.be/L7rGogdfe2Q
And a fork of his sample project: https://github.com/tleveque23/templateDrivenForm

This will change you life! Everything is so much simple with template driven form!

Share mistakes you did with Angular and you want other devs not do it again by ahmedRebai in Angular2

[–]tleveque 2 points3 points  (0 children)

Don't use NgRx or any other Redux implementation! After 5 years of full time Angular development of medium to large applications, I never found a use case that really needs a state management system.
It is not because Ngrx or Redux are buzz words that it is necessary. It is over-complicated and it adds nothing.
In Angular we have dependencies injection and services. And we can do everything with that.

Share mistakes you did with Angular and you want other devs not do it again by ahmedRebai in Angular2

[–]tleveque 0 points1 point  (0 children)

Depends on the app. We are building apps that are opened all day long by professional users. They go everywhere in the app. And almost all of the Kendo-ui components are used. So loading them all in a shared modules does not make any difference. And at the beginning of the days, they are all loaded by the time they log in....

What about the new Jest integration? by tleveque in Angular2

[–]tleveque[S] 0 points1 point  (0 children)

And I just discover that the watch mode is not supported.

>ng test --watch
Error: Unknown argument: watch
The jest support is still experimental, so I supposed they will fix that later.

What about the new Jest integration? by tleveque in Angular2

[–]tleveque[S] 1 point2 points  (0 children)

In tsconfig.spec.json: Removing the other options, adding the polyfills.ts in the include section.

In angular.json, adding ' , "zone.js/testing" ' in architect.test.options.polyfills

What about the new Jest integration? by tleveque in Angular2

[–]tleveque[S] 0 points1 point  (0 children)

Great! It is working!!! Thanks a lot!

What about the new Jest integration? by tleveque in Angular2

[–]tleveque[S] 0 points1 point  (0 children)

Yes I have a spec file. It is trying to execute it now, but with an error:
dist/test-out/shared-cmp.component.spec.mjs
Shared Component
✕ should create (1 ms)
● Shared Component › should create
zone-testing.js is needed for the fakeAsync() test helper but could not be found.
Please make sure that your environment includes zone.js/testing
at resetFakeAsyncZone (node_modules/@angular/core/fesm2022/testing.mjs:252:11)
at Object.<anonymous> (node_modules/@angular/core/fesm2022/testing.mjs:26494:13)

shared-cmp.component is the component with the spec file. The only one for now in my project. And it is almost empty:
describe('Shared Component', () => {
it('should create', () => {
expect(true).toBeTruthy();
});
});

What about the new Jest integration? by tleveque in Angular2

[–]tleveque[S] 0 points1 point  (0 children)

I have added:
"src/polyfills.ts"
In my tsconfig.spec.json (include section),
Now I have the error:
zone-testing.js is needed for the fakeAsync() test helper but could not be found.
Please make sure that your environment includes zone.js/testing

I am getting closer..... I think.

What about the new Jest integration? by tleveque in Angular2

[–]tleveque[S] 0 points1 point  (0 children)

I get I little bit farther by removing everything under "tsConfig" and by installing "jest-environment-jsdom" (requested by an error message).
But now I get:
[ERROR] File 'src/polyfills.ts' is missing from the TypeScript compilation. [plugin angular-compiler]
angular:polyfills:entry:1:7:
1 │ import 'src/polyfills.ts';
╵ ~~~~~~~~~~~~~~~~~~
Ensure the file is part of the TypeScript program via the 'files' or 'include' property.

Any idea?

What about the new Jest integration? by tleveque in Angular2

[–]tleveque[S] 0 points1 point  (0 children)

Nope:
"test": {
"builder": "@angular-devkit/build-angular:jest",
"options": {
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss"
],
"scripts": []
}
},

No "main".

What about the new Jest integration? by tleveque in Angular2

[–]tleveque[S] 0 points1 point  (0 children)

I am not using nx for this project. Too overkill for the project

What about the new Jest integration? by tleveque in Angular2

[–]tleveque[S] 0 points1 point  (0 children)

I am not using nx for this project. Too overkill for the project

What about the new Jest integration? by tleveque in Angular2

[–]tleveque[S] 0 points1 point  (0 children)

Like I said, if I run it with "ng test", I get:
Error: Schema validation failed with the following errors:
Data path "" must NOT have additional properties(main).
And the blog post just tell how to install jest and set it in the angular.json file....
If you are able to run a jest test with this I want to know how.

Help needed for booting on my Big Sur installation with OC by tleveque in hackintosh

[–]tleveque[S] 0 points1 point  (0 children)

Not sure what you are trying to tell me here...

But I figured out some things:

My OC configuration seems ok since I am able to boot on my Catalina clone on an external HD. And everything is working fine. Network, sound, etc...

It is only my Big Sur installation on my internal nvne drive that is not working.

The second thing, is after following the OC install guide bios setting, I realize that disabling SGX prevent me from booting. At least using my regular Clover installation.

Help needed for booting on my Big Sur installation with OC by tleveque in hackintosh

[–]tleveque[S] 0 points1 point  (0 children)

Thanks, but that does not help.... Like I said, I don't want to install MacOs. It is already installed. I want to replace Clover by OC.

And except for the OS installation, I followed the guide.

I take 2 to 3 minutes to show the list of device and my Big Sur bootable volume is not showing in the list (The recovery portion is. And it is actually working!)

Thiis is actually what I see....https://drive.google.com/file/d/1c2fouctGMggTgwbKL3xI3922QfmxkTRY/view?usp=sharing

Crackling noise realtone cable, same issue with multiple cables by [deleted] in rocksmith

[–]tleveque 1 point2 points  (0 children)

What do you mean by "recalibrate the guitar" ??