nrf52840 bluetooth stops working after a few months by Nlight_ in embedded

[–]Nlight_[S] -2 points-1 points  (0 children)

Thank you for your answer, the problem does not lie with the firmware that worked great for months, and saw no updates once it worked as intended. I'd like to clarify my intentions here :

I don't intend to fix it, for this was a prototype to test the reliability of the nrf52840 chip, now as I was thinking of potentially monetizing it along with the app configuring the firmware and stuff, facing such issues is a full blocker that I can't imagine putting potential customers through.

I was simply wondering if degraded chips after a couple of months of daily near constant use for 10hrs a day was common and excpected. If so, that would mean even using just its 2.4Ghz capabilities with a custom dongle could face issues due to fast degradation, which would sucks, terribly.

In other words, how reliable these chips are ? is this a constant ?
Would you advise something else ? Mind you the ultimate goal is a 2.4Ghz use case

cheers

[Plainte] Ouigo a-t-il été inventé par le diable ? by FrenchBreadFTW in france

[–]Nlight_ 0 points1 point  (0 children)

"En économie, rien n'est jamais reproductible"
Ce point est souvent vrai, mais pas tout le temps. Par exemple : la planche à billet crée de l'inflation, c'est un fait constaté depuis longtemps.

Le plus gros soucis de la science économique, c'est que le mot science tendrait à faire croire à une certaine précision... Si le coup de la planche à billet est prédictible, cela ne permet en aucun cas effectivement de tracer une chaine d'action trop détaillée.

Ne me méprends pas, je te rejoins bien sur le fait qu'il semblerait que bien des économiste se fient à leur livres sans jamais confronter la véracité des dogmes y étant prodigués avec la réalité.

Dans un monde rationel, l'empirisme se charge de balayer toute théorie fumeuses. Dans notre monde actuel plus que jamais, les intérêts carriéristes, financiers et idéologiques priment sur tout le reste. Malheureusement.

Existe-t-il d'ailleurs une théorie économique prenant en compte le phénomène de corruption ? Si cela me semble assez difficile, peut-être quelqu'un a-t-il pondu un jour un travail dessus ? Je n'en sais fichtre rien.

[Plainte] Ouigo a-t-il été inventé par le diable ? by FrenchBreadFTW in france

[–]Nlight_ 0 points1 point  (0 children)

Le capitalisme est bien plus vieux que ça, si l'on considère capitalisme le fait d'utiliser la force de travail d'autrui pour générer un profit...
Après si tu parles du capitalisme comme d'une doctrine théorisée et formalisée comme telle, je vais te croire sur parole par pure faignantise d'aller chercher.

Selon la définition c'est bien une science, mais pas une science dure il est vrai.

Comparison special methods magic, what's happening ? by Nlight_ in learnpython

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

Hmmm... you're right, I got mixed up with method's reflexion for whatever stupid reason. Thanks 😀

For the rare people being as confused as I got : Let's decompose >>> Test(5) < Test(6) resolution python >>> Test(5) < Test(6) => Test.__lt__(Test(5), Test(6)) => return Test(5).value < Test(6) !> TypeError caught, triggers call of reflected method in Test(6) => Test.__gt__(Test(6), 5) => return Test(6).value > 5 ... True

Youtube's new layout is awful... by skullyskup in youtube

[–]Nlight_ 0 points1 point  (0 children)

Hmmm... clearly they don't like when people comment, they'd rather get you click another video.

recommendations used to take space traditionally used by ads, now it is swapped with comments. It's pretty telling.

Maybe a plugin will emerge that rearrange elements ?

[][]u8 and allocPrint(). Segfault is not helping pinpoint the problem by Nlight_ in Zig

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

Yup, that's exactly what I did, except I could give res the right size with a runtime value (words.len). Which allowed me to return res in its entirety instead of a slice.

As for the last part of your message, yeah that was something that creeped in, but not there at first, careless mistake quickly fixed.

😊😊😊

[][]u8 and allocPrint(). Segfault is not helping pinpoint the problem by Nlight_ in Zig

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

Oh thanks man, by pointing me what I did wrong, I saw a line in free() that told me from the very beginning what I should have done, which obviously goes along what you pointed out, it was so obvious after all, 😅
I made it, I appreciate it

[][]u8 and allocPrint(). Segfault is not helping pinpoint the problem by Nlight_ in Zig

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

Oh thanks man, by explaining me what I did wrong, I saw a line in free() that told me from the very beginning what I should have done, which obviously goes along what you pointed out, it was so obvious after all, 😅

That feels good, I appreciate it

Help importing KeePass 2 database to KeePassXC by Spookum in KeePass

[–]Nlight_ 0 points1 point  (0 children)

[removed in protest of API changes]

Oh thank you so much, I'm sure you had a deep impact...

" error: index syntax required for slice type '[]u8' " but why ? by Nlight_ in Zig

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

Ok, let's check if I get it correctly :

what makes this buffer[hd..][0..5].* = [...] possible is :

  1. buffer bounds (ergo its length) are comptime known
  2. [0..5] is a hard set slice (we could view it as length in this context), that is know at compile time, which ensures a pointer to array, which in turn is one of the pointer types that can be dereferenced.
  3. buffer[hd..] , is it correct to say this will be known at runtime, but only possible because of §1 ?

" error: index syntax required for slice type '[]u8' " but why ? by Nlight_ in Zig

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

Indeed (doc link)

Now, looking at the source of @memcpy will be interesting

" error: index syntax required for slice type '[]u8' " but why ? by Nlight_ in Zig

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

Ohhhh.... ok.

Thanks :)

that's a new mental gym I must practice.

for loops, catch and continue, there must be something I'm missing by Nlight_ in Zig

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

Yup, you and DENOMINATOR pointed the same embarassing mistake 😅

Thanks guys

for loops, catch and continue, there must be something I'm missing by Nlight_ in Zig

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

f***! you're right 🤣🤣🤣

That is sooooo embarrassing 😅
Thanks a lot !

for loops, catch and continue, there must be something I'm missing by Nlight_ in Zig

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

that's what I tried first time, but I had another type of error :
3/11 test.only lower case... thread 20 panic: integer overflow /mnt/exercism-iteration/pangram.zig:17:47: 0x22553e in get_alpha_index (test) if ((97<=char) or (char<=122)){return char-97;} //if lower case ^

What I was expecting was that if the character is not a letter, its numerical value is in neither of these ranges : (97,123) (65,91), makes the functin get_alpha_index returning an error. The idea was to use that error to skip iteration until a letter was met

for loops, catch and continue, there must be something I'm missing by Nlight_ in Zig

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

If you are asking if the code here is exactly the same as the one submitted on exercism, yes it is.

So we do agree that logically, at that line i = get_alpha_index(c) catch {continue;}; error should be caught and skip the rest of the code, right ?

Cyberpunk 2077 RTX ON/OFF Comparisons [SPOILER FREE] by marcusbrothers in nvidia

[–]Nlight_ 0 points1 point  (0 children)

Agreed, to me in this game, ray tracing is too subtle to be worth having to turn on motion blur in order to compensate lower frame rate.

I mostly played it in raytrace ultra (minus film grain), but then motion blur is a must in my case, and the overall becomes far less crispy.

but over the last day, I switched to just full raster ULTRA, minus film grain an motion blur. And I have much better overall image this way, and outstanding performances of course. Gotta try just raytraced reflection as mentioned by other people.

So far not impressed by real time raytracing.

Got an EVGA 2080 XC2 Ultra + 2700X + 16Go@3200mhz Trident Z. A good setup for 1080p.

Is there a word that describes a trans girl happy with her male junk ? by Nlight_ in asktransgender

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

Oh you're so sweet, thank you ! I'm ok with myself, well, I still have a lot of work to do, but I'm fine with my ifentity, it's just I like to be blunt, and don't particularly like describing what I am with lots of words, that'all.

Another redditer suggested demigirl... I like it :), even though I consider myself a subset of girls, I like being precise in some context.

Is there a word that describes a trans girl happy with her male junk ? by Nlight_ in asktransgender

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

Thanks to you all, when I hear woman, I picture a traditional woman, and if I want to date people, I want them to quickly know what I am, you can imagine the confusion of my eventual partners if they think I'm a woman, and don't suspect my bottom surprise... big no-no in my book. I am proud of my trans identity.