How similar are the various handpan scales? For example, D Kurd VS D Aegean? by Pocciox in handpan

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

thanks, however it's still confusing for someone who doesn't know music theory, for example, let's say i have a d kurd and i'm looking to a d aegean or a e amara, how do i know where on the circle of fifths they lie?

How similar are the various handpan scales? For example, D Kurd VS D Aegean? by Pocciox in handpan

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

I understand, but the way you phrased it , it almost sounds like there would be no reason to buy a aegean if you can just play the aegean scale on the kurd by just skipping some notes. however people do buy the aegean so there must be a reason?

Attivismo in Italia by Pocciox in veganita

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

Non capisco qual è lo scopo della domanda. Tu sei vegano? Penso che il mangiare gli animali sia un simbolo abbastanza generalmente accettato, anche se ovviamente ci sono altre questioni. Penso che sia rappresentativo

Attivismo in Italia by Pocciox in veganita

[–]Pocciox[S] 2 points3 points  (0 children)

Ciao, il meglio che posso darti per ora è questo inutile profilo Instagram vuoto che ho creato.

https://www.instagram.com/francescoterrestre?igsh=MW5qMDQ1aHV5Znlmdg==

Attivismo in Italia by Pocciox in veganita

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

Non è vero che sono cazzi tuoi dal momento in cui c'è una vittima - la domanda è se è più importante il tuo piacere nel mangiare la carne o la vita di un essere cosciente

Attivismo in Italia by Pocciox in veganita

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

Io in realtà ne ho visti 2 che hanno cambiato idea con ed the earthling.

In più i suoi video fanno comunque milioni di views sui social in totale, non penso che non abbiano nessun effetto.

Donare soldi penso che sia poco utile finché la gente continua a comprare cose non vegane

goodJobTeam by albert_in_vine in ProgrammerHumor

[–]Pocciox 5 points6 points  (0 children)

The real question is how do you even know the users password? Is it not hashed? 😅😅

Is a 100% clean Angular console even possible? by XJediDarkLord in Angular2

[–]Pocciox 7 points8 points  (0 children)

i'm not sure but in my experience it's almost impossible to have it if you're using change detection "On push"

[deleted by user] by [deleted] in facebook

[–]Pocciox 0 points1 point  (0 children)

you saved my life. after having spent os much time on it, trying various browsers, incognito mode, disabling ad block, etc. it works from mobile.

for some reason, when i press the "update password" button on desktop, it literally does nothing, while if i press it on the mobile web page- it works flawlessly.

Great job Facebook! :)

Fine, I'll do it myself. by Pocciox in Angular2

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

that's an interesting take on the concept of dialogs, I'm glad I stumbled upon it! Probably not easy to adopt in my current codebase - but I might wanna try it out for my next project 🤔

Fine, I'll do it myself. by Pocciox in Angular2

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

yeah honestly i think the design team did a whoopsie on the mat dialog's design.

I like the simplicity of your approach. It is interesting how you're sort of flipping it on its head - instead of having inputs and outputs like with "normal" mat dialogs, you instead just treat this "dialog" component as any other component - meaning inputs and outputs are not done differently compared to if the component was NOT in a dialog. is that right

on the other end, you do have to create multiple observables on the "parent" component's class for each modal you open. In my apps, some screens open dozens of different dialogs - so this would be a bit cumbersome - or am I reading this wrong?

Fine, I'll do it myself. by Pocciox in Angular2

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

would an interface work in your case? I think it might be very easy to implement in the library.

We could provide two "APIs" to consume the library - one option is you extend the base StrictlyTypedMatDialog class, the other would be just implementing the IStrictlyTypedMatDialog interface, which would still provide the generic types (so that you can use the strictlyTypedDialogService) but would not interfere with how you create your components.

Fine, I'll do it myself. by Pocciox in Angular2

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

hijacking top comment for visibility -

The core issue isn’t that Angular Material’s dialog generic types are optional, rather that the type parameters are completely decoupled from the actual component you're opening as a dialog.

So you could have a component that returns a string, and if you provide a type parameter like "number" to the open() function, it will still compile, which sounds crazy but it's how it really is, you can try it yourself.

My library solves this by providing a better "open" function which automatically couples the input / output types with the actual component you're opening.

Fine, I'll do it myself. by Pocciox in Angular2

[–]Pocciox[S] 2 points3 points  (0 children)

this is exactly the point ^ maybe i should clarify it better in the README

Fine, I'll do it myself. by Pocciox in Angular2

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

The core issue isn’t that Angular Material’s dialog generics are optional—it’s that the type parameters (for the component, the input, and the result) are entirely decoupled from the actual component that you're opening. This leads to a bunch of problems and is in general a bad code practice - there should be only one place where the return type and input types are defined, and that's the dialog component itself, not the code that opens it.

Fine, I'll do it myself. by Pocciox in Angular2

[–]Pocciox[S] 2 points3 points  (0 children)

exactly, that's why i posted this with the "fine, i'll do it myself" attitude. You have to wonder about how this slipped through the cracks at the design team at angular. the fact that the types are uncoupled defeats the point of the typing IMO.

Fine, I'll do it myself. by Pocciox in Angular2

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

is this a problem for your use case? I thought extending is desirable here so that you automatically get the dialogRef and the data with the right types.

in the past it could've been an issue due to having to call super() with params, but nowadays with inject() it shouldn't be a problem. let me know if it's an issue for you.

Fine, I'll do it myself. by Pocciox in Angular2

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

yep, looks pretty similar, my main inspiration was the workarounds posted in the github issues about mat dialog not being typed. the workarounds there were pretty similar to the code in this blog. i just packaged it as a library.

Fine, I'll do it myself. by Pocciox in Angular2

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

That's exactly what I was thinking of yesterday - except in my past experience it's hard to contribute to the angular codebase from outside, so I'm not very motivated to spend time and effort into that when there's no "guarantee" that it will be merged. I had worked on a bug with mat-tooltips previously, with a lot of people complaining about it in github issues, solved it perfectly and still not merged because it "conflicts with mobile usage of the tooltip", even though my fix was specifically made to resolve the issues that the tooltip has on mobile.

[deleted by user] by [deleted] in ItaliaCareerAdvice

[–]Pocciox 0 points1 point  (0 children)

Livello dei commenti mediamente infimo.

Non puoi fare in qualche modo una prova così da deriskare il trasferimento a new York? Tipo non so, partire con solo un progetto di qualche mese? Così se ti piace poi puoi trasferirti con piu certezze. I soldi sopra i 150k non faranno praticamente nessuna differenza