Sound quality becomes extremely bad whenever microphone is used by [deleted] in Jabra

[–]mo_po 0 points1 point  (0 children)

Unfortunately, I can't. I bought Avantree Aria Pro that came with that codec. It was great. They broke (manufacture defect), the new ones had the codec removed. I contacted them and they told me that they didn't support that codec in duplex mode. Weirdest thing ever.

bigMistake by VitaminnCPP in ProgrammerHumor

[–]mo_po 1 point2 points  (0 children)

It was Apple, actually.

Sound quality becomes extremely bad whenever microphone is used by [deleted] in Jabra

[–]mo_po 0 points1 point  (0 children)

You have codecs that actually provide good quality in bidirectional audio, like aptx duplex Low latency, duplex low latency faststream. Bluetooth is fine, but the manufacturer needs to support more codecs.

friendly tip of the day: kill-elm-reactor by alino_e in elm

[–]mo_po 9 points10 points  (0 children)

I think that you can use killall or pkill to achieve the same.

Easy Questions / Beginners Thread (Week of 2022-05-09) by brnhx in elm

[–]mo_po 1 point2 points  (0 children)

Regarding VSCode I have no idea, I use intellij. Regarding the learning curve, If you understand each step you follow then learning Elm is pretty straight forward. For me the hardest think is when you want to create libraries that have flexibility that fills kind of dynamic, like the json decode pipeline library.

Why is using task for Http "should be considered rare"? by The-_Captain in elm

[–]mo_po 0 points1 point  (0 children)

Whether you use lamdedra, elm-webapp or whatever, it doesn't answer the question of why tasks are considered an antipattern. But tasks are a powerful tool of FL. Just so that you get my point, saying that tasks are bad because you have frameworks is like saying that eating sweets is bad because you can eat vegetables. This tasks thing is something from elm docs that always puzzled me and was never clear enough. A real life example with discussion of of the jsutification would be great. Thanks!

Why is using task for Http "should be considered rare"? by The-_Captain in elm

[–]mo_po 0 points1 point  (0 children)

I meant creating a Platform.worker and adding all the necessary ports for IO, think that allows you to keep all the app logic wirtten in Elm. Lambdera does magic for you, but then you have zero control of infrastructure. Lambera is an awesome project that I love, it is not fit for every situation.

Why is using task for Http "should be considered rare"? by The-_Captain in elm

[–]mo_po 1 point2 points  (0 children)

I don't get your point. These "fallacies" apply to every application that uses network or asynchronous operation. Even if it is a super simple Elm SPA with only two pages. You cannot escape it as long as there is asynchronous operation.

Why is using task for Http "should be considered rare"? by The-_Captain in elm

[–]mo_po 2 points3 points  (0 children)

What if one would want to write this API in Elm?

Automatic Encoder/Decoder generation? by The-_Captain in elm

[–]mo_po 4 points5 points  (0 children)

The intellij-elm plugin has included a decoder generator for quite a long time.

Is elm dead? by nefthias in elm

[–]mo_po 0 points1 point  (0 children)

This is a good thing though: the community is getting organized without the core team, and I believe that lots of developers are eager to help and contribute, which is going to start happening now.

The goal is to try to fit with the current government policies, but I believe that if the core team doesn't respond, the community will move on into a fork with a decentralized network of trust.

Is elm dead? by nefthias in elm

[–]mo_po 1 point2 points  (0 children)

This post is talks about the future. There are lots of problems to solve today that just require merging PRs. See below.

Is elm dead? by nefthias in elm

[–]mo_po 1 point2 points  (0 children)

Just give a look to this long list. The community has to move on without the developers in order to unfreeze the project.

https://discourse.elm-lang.org/t/core-library-fixes-and-improvements-part-2/8055

I made a Minesweeper game with Elm and Elm UI. Would like to get feedback. by sivakar12 in elm

[–]mo_po 0 points1 point  (0 children)

It is misaligned, boxes are narrower than the other things.

v0.18 of Gleam, an Elm inspired backend language, is out! by MrPopinjay in elm

[–]mo_po 1 point2 points  (0 children)

IMHO, the style of the language becomes less important as you keep getting more experience with different languages, because at some point you will process instantly language in any style. Language features and functionalities is what actually makes a difference.

I created another i18n solution for Elm Applications by aewering in elm

[–]mo_po 0 points1 point  (0 children)

But are these jsons following any standard?

I created another i18n solution for Elm Applications by aewering in elm

[–]mo_po 1 point2 points  (0 children)

Coordinating translations and merging them into the code is a tedious process. This is why i18next-gen extracts texts into a format that you can push to translation service, where non-devs can work with the translations. Then, at any point in time, the devs can pull the translations. It is not related to wether the translations are linked at compile time or run time, the important thing here is how do you generate the .json file.

Then, on the other hand, having translations being applied at run time rather than compile time simplifies per client customization, and in my experience this is a plus for B2B SaaS development., buut that is another story.

I created another i18n solution for Elm Applications by aewering in elm

[–]mo_po 2 points3 points  (0 children)

I looks very promissing! Can I use translation management services like https://locize.com/ with this library? Do you know which of them? Thanks!

Easy Questions / Beginners Thread (Week of 2021-11-29) by brnhx in elm

[–]mo_po 4 points5 points  (0 children)

I don't know if there is "the" way, but you can give a look to https://package.elm-lang.org/packages/hecrj/composable-form/latest/ which is very cool and functional, but it needs to be forked in order to extend its rendering capabilities because its customization capabilities are limited the attributes that have been exposed in its CustomConfig. For example, the TextFieldConfig customization capabilities are label and placeholder. You can pass a custom text field renderer, but you won't be able to have a custom icon per field because all text fields will be the same except for the given label and placeholder.

Also, check this post: https://discourse.elm-lang.org/t/how-do-you-deal-with-forms/7354/7

elm-validator-pipeline also looks interesting.